:root { --bg:#FBF8F9; --surface:#fff; --surface-2:#F3ECF0; --fg:#231A20; --muted:#6B5A64; --line:#E6DBE1; --plum:#6E2548; --plum-deep:#4A1731; --orange:#E8862A; --orange-hover:#D4741C; --good:#2F7D4F; --good-bg:#E6F3EA; --warn:#9A6A10; --warn-bg:#FBF0D6; --bad:#A33A3A; --bad-bg:#F8E4E4; --display:"Sora",system-ui,sans-serif; --body:"Instrument Sans","Helvetica Neue",Arial,sans-serif; --radius:12px; }
* { box-sizing:border-box; }
html { color-scheme:light; }
body { margin:0; background:var(--bg); color:var(--fg); font:16px/1.5 var(--body); }
h1,h2,h3 { font-family:var(--display); margin:0; line-height:1.15; }
h1 { font-size:clamp(1.5rem,3vw,2.1rem); } h2 { font-size:1.15rem; margin-bottom:10px; }
a { color:var(--plum); }
.wrap { max-width:1120px; margin:0 auto; padding-inline:20px; }
.top { position:sticky; top:0; z-index:10; background:color-mix(in srgb,var(--bg) 90%,transparent); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); }
.nav { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-block:12px; flex-wrap:wrap; }
.brand { display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--fg); font-family:var(--display); font-weight:700; } .brand svg { width:30px; height:30px; } .brand b { color:var(--plum); }
.links { display:flex; gap:16px; align-items:center; font-weight:500; font-size:.95rem; flex-wrap:wrap; } .links a { text-decoration:none; color:var(--muted); } .links a:hover { color:var(--plum); }
main { padding-block:24px 48px; display:grid; gap:20px; }
.page-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; flex-wrap:wrap; }
.eyebrow { font-size:.75rem; letter-spacing:.12em; text-transform:uppercase; color:var(--plum); font-weight:600; margin:0 0 4px; }
.muted { color:var(--muted); } .fine { color:var(--muted); font-size:.85rem; margin:4px 0 12px; } .num { font-variant-numeric:tabular-nums; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:22px; } .card.narrow { max-width:480px; margin:40px auto; }
.stack { display:grid; gap:16px; } .stack-sm { display:grid; gap:8px; } .inline { display:inline; }
.grid2,.grid3,.grid4 { display:grid; gap:12px 16px; } .grid2 { grid-template-columns:repeat(2,1fr); } .grid3 { grid-template-columns:repeat(3,1fr); } .grid4 { grid-template-columns:repeat(4,1fr); } .align-end { align-items:end; }
@media (max-width:900px) { .grid3,.grid4 { grid-template-columns:1fr 1fr; } } @media (max-width:600px) { .grid2,.grid3,.grid4 { grid-template-columns:1fr; } }
label { display:grid; gap:4px; font-size:.85rem; font-weight:600; color:var(--fg); min-width:0; }
input,select,textarea { font:inherit; font-size:1rem; font-weight:400; padding:10px 12px; border:1.5px solid var(--line); border-radius:10px; background:var(--bg); color:var(--fg); width:100%; min-width:0; } textarea { resize:vertical; }
input:disabled,select:disabled,textarea:disabled { background:var(--surface-2); color:var(--muted); }
fieldset { border:1px solid var(--line); border-radius:var(--radius); padding:16px 18px 18px; margin:0; background:var(--surface); display:grid; gap:12px; } legend { font-family:var(--display); font-weight:600; padding-inline:6px; }
.btn { display:inline-flex; align-items:center; justify-content:center; padding:11px 18px; border-radius:999px; border:1.5px solid var(--orange); background:var(--orange); color:#1F1208; font:600 .95rem var(--display); cursor:pointer; text-decoration:none; white-space:nowrap; } .btn:hover { background:var(--orange-hover); border-color:var(--orange-hover); }
.btn.ghost { background:transparent; color:var(--fg); border-color:var(--line); } .btn.ghost:hover { border-color:var(--plum); color:var(--plum); } .btn.danger { color:var(--bad); }
.linkish { background:none; border:0; padding:0; font:inherit; color:var(--plum); cursor:pointer; text-decoration:underline; } .linkish.danger { color:var(--bad); }
.actions { display:flex; gap:10px; flex-wrap:wrap; } .actions.sticky { position:sticky; bottom:12px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:12px; box-shadow:0 8px 24px rgba(74,23,49,.12); justify-content:flex-end; }
.flash { padding:12px 16px; border-radius:10px; font-weight:500; } .flash.ok { background:var(--good-bg); color:var(--good); } .flash.warn { background:var(--warn-bg); color:var(--warn); } .notice { background:var(--warn-bg); color:var(--warn); padding:10px 12px; border-radius:10px; word-break:break-all; }
.pill { display:inline-block; padding:3px 10px; border-radius:999px; font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; vertical-align:middle; background:var(--surface-2); color:var(--plum); }
.pill.s-live,.pill.s-approved { background:var(--good-bg); color:var(--good); } .pill.s-submitted,.pill.s-in_review { background:var(--warn-bg); color:var(--warn); } .pill.s-changes_requested,.pill.s-withdrawn { background:var(--bad-bg); color:var(--bad); } .pill.s-reserved { background:#E9E2F5; color:#4B2E83; }
.table-wrap { overflow-x:auto; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); } table { width:100%; border-collapse:collapse; min-width:640px; } th,td { text-align:left; padding:12px 14px; border-bottom:1px solid var(--line); } th { font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); background:var(--surface-2); } tr:last-child td { border-bottom:0; } tr.inactive td { color:var(--muted); text-decoration:line-through; }
.thumbs { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:12px; } .thumb { margin:0; display:grid; gap:6px; } .thumb img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:10px; border:1px solid var(--line); display:block; } .thumb figcaption { font-size:.8rem; color:var(--muted); display:flex; flex-wrap:wrap; gap:6px 10px; align-items:center; }
.docbox { display:grid; place-items:center; aspect-ratio:4/3; border:1px dashed var(--line); border-radius:10px; background:var(--surface-2); text-align:center; font-weight:700; color:var(--plum); text-decoration:none; padding:8px; font-size:.9rem; } .docbox small { font-weight:400; color:var(--muted); word-break:break-all; }
.check { display:flex; align-items:center; gap:6px; font-weight:500; } .check input { width:auto; } .check.small { font-size:.8rem; }
.upload { display:grid; grid-template-columns:160px 1fr auto; gap:12px; align-items:end; margin-bottom:16px; } @media (max-width:700px) { .upload { grid-template-columns:1fr; } }
.drop { border:2px dashed var(--line); border-radius:12px; padding:18px; text-align:center; color:var(--muted); font-weight:500; cursor:pointer; background:var(--surface-2); } .drop.over { border-color:var(--orange); color:var(--plum); } .drop input { position:absolute; opacity:0; width:1px; height:1px; }
.timeline { margin:0; padding-left:18px; display:grid; gap:6px; font-size:.92rem; }
.tiles-edit { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:12px 0; } @media (max-width:700px) { .tiles-edit { grid-template-columns:1fr; } } .tile-edit { display:grid; gap:6px; padding:10px; border:1px solid var(--line); border-radius:10px; background:var(--surface-2); }
.foot { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; padding-block:20px 40px; color:var(--muted); font-size:.85rem; }
.modal { position:fixed; inset:0; background:rgba(35,26,32,.7); display:grid; place-items:center; z-index:50; padding:16px; } .modal[hidden] { display:none; }
.modal-box { background:var(--surface); border-radius:var(--radius); max-width:min(1000px,100%); width:100%; max-height:100%; display:grid; grid-template-rows:auto 1fr auto; overflow:hidden; }
.modal-head,.modal-foot { display:flex; gap:14px; align-items:center; padding:12px 16px; border-bottom:1px solid var(--line); flex-wrap:wrap; } .modal-foot { border-bottom:0; border-top:1px solid var(--line); }
.mask-stage { position:relative; overflow:auto; background:#111; display:grid; place-items:center; } .mask-stage img { max-width:100%; max-height:70vh; display:block; user-select:none; -webkit-user-drag:none; } .mask-stage canvas { position:absolute; left:0; top:0; cursor:crosshair; }
