/* Photo Garden portal. Visual language: a fine wedding album.
   Garden green, gold foil, warm ivory, soft cards and an elegant serif. */
:root {
  --g-950: #0c2b22; --g-900: #10372c; --g-800: #164636; --g-700: #1e5a46; --g-600: #2a7459;
  --g-200: #c8e0d4; --g-100: #e3f0ea; --g-50: #f1f7f3;
  --gold: #c9a24b; --gold-l: #e6cb87; --gold-s: #f7efdc; --gold-d: #7d5e17;
  --bg: #f6f4ee; --card: #fff; --line: #e9e7df; --line-2: #d8d6cc;
  --t1: #1b2a24; --t2: #4d5c55; --t3: #7f8c85; --t4: #a9b2ad;
  --late: #c0412b; --late-s: #fbe9e5; --risk: #9a6200; --risk-s: #fdf2dc; --today: #2a5aa0; --today-s: #e6eefa;
  --wa-out: #dcf6e3; --wa-bg: #efe9df;
  --f: 'Figtree', 'Noto Sans Tamil', 'Segoe UI', system-ui, sans-serif;
  --s: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --mono: var(--f);
  --ta: 'Noto Sans Tamil', 'Nirmala UI', 'Figtree', sans-serif;
  --rail: 240px; --r: 16px; --r-s: 10px;
  --sh: 0 1px 2px rgba(16, 55, 44, .04), 0 10px 28px -16px rgba(16, 55, 44, .16);
  --sh-l: 0 22px 60px -14px rgba(12, 43, 34, .38);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--t1); font: 400 14px/1.5 var(--f); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
h1, h2, h3, h4, h6, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
small { font-size: 12px; color: var(--t3); }
b { font-weight: 600; }
.i { flex: none; display: block; }
.mono { font-weight: 600; color: var(--g-800); }
.muted { color: var(--t2); } .faint { color: var(--t4); font-weight: 400; } .r { color: var(--late); }
.nw { white-space: nowrap; } .blk { display: block; } .ta { font-family: var(--ta); }
.vh { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.boot { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.boot i { width: 10px; height: 10px; border-radius: 50%; background: var(--g-700); animation: boot .9s infinite alternate; }
.boot i:nth-child(2) { animation-delay: .15s; } .boot i:nth-child(3) { animation-delay: .3s; background: var(--gold); } .boot i:nth-child(4) { animation-delay: .45s; background: var(--gold); }
@keyframes boot { from { opacity: .2; transform: scale(.7); } to { opacity: 1; transform: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-s); font-weight: 600; font-size: 13.5px; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { border-color: var(--g-700); color: var(--g-800); }
.btn.p { background: var(--g-800); border-color: var(--g-800); color: #fff; }
.btn.p:hover { background: var(--g-700); border-color: var(--g-700); color: #fff; box-shadow: 0 8px 18px -8px rgba(22, 70, 54, .6); }
.btn.gold { background: linear-gradient(135deg, var(--gold-l), var(--gold)); border: 0; color: var(--g-950); }
.btn.gold:hover { color: var(--g-950); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(201, 162, 75, .9); }
.btn.dgr { background: var(--late); border-color: var(--late); }
.btn.dgr:hover { background: #a83520; border-color: #a83520; }
.btn.sm { height: 31px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn.w { width: 100%; }
.btn.inv { background: rgba(255, 255, 255, .14); border-color: transparent; color: #fff; }
.btn.inv:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.btn:disabled { opacity: .45; cursor: default; }
.ib { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--t3); border-radius: 8px; }
.ib:hover { color: var(--g-800); background: var(--g-100); }
.ib.sm { width: 22px; height: 22px; }
.ib.tx { width: auto; padding: 0 11px; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--t2); }
.lnk { color: var(--g-700); font-size: 12.5px; font-weight: 600; }
.lnk:hover { text-decoration: underline; }

/* Brand */
.logo { flex: none; display: grid; place-items: center; border-radius: 30%; background: linear-gradient(145deg, var(--gold-l), var(--gold)); color: var(--g-950); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font: 400 22px/1 var(--s); }
.brand.dark { color: var(--g-900); }
.brand.big { font-size: 28px; }
.sav { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 700; }

/* Shell */
.shell { display: flex; min-height: 100vh; }
.rail { position: fixed; inset: 0 auto 0 0; width: var(--rail); background: linear-gradient(175deg, var(--g-800), var(--g-950)); color: #bcd2c8; display: flex; flex-direction: column; padding: 22px 14px 14px; z-index: 30; }
.rail .brand { padding: 0 8px 14px; }
.rail nav { flex: 1; overflow-y: auto; }
.nav-g { margin-top: 14px; }
.nav-g h6 { font-size: 11px; font-weight: 600; color: #7fa394; padding: 6px 12px; letter-spacing: .02em; }
.nav-g a { position: relative; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; margin-bottom: 2px; border-radius: 11px; font-size: 14px; font-weight: 500; transition: background .15s, color .15s; }
.nav-g a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-g a.on { background: rgba(255, 255, 255, .13); color: #fff; font-weight: 600; }
.nav-g a.on::before { content: ''; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--gold); }
.nav-g a.on .i { color: var(--gold-l); }
.rail-b { padding-top: 10px; }
.rail-l { display: flex; align-items: center; gap: 12px; width: 100%; height: 36px; padding: 0 12px; color: #a6c0b4; font-size: 13px; text-align: left; border-radius: 10px; }
.rail-l:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.rail-l:first-child { color: var(--gold-l); font-weight: 600; }
.me { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px; background: rgba(255, 255, 255, .08); border-radius: 13px; }
.me > div { flex: 1; min-width: 0; line-height: 1.25; }
.me b { display: block; color: #fff; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me small { color: #9ab7aa; font-size: 11.5px; }
.av { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: linear-gradient(145deg, var(--gold-l), var(--gold)); color: var(--g-950); font-size: 12px; font-weight: 700; border-radius: 50%; }
.rail-ib { color: #9ab7aa; } .rail-ib:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.main { flex: 1; min-width: 0; margin-left: var(--rail); }
.page { padding: 28px 32px 56px; max-width: 1500px; margin: 0 auto; }
.mtop { display: none; }
.scrim { display: none; }

/* Page head */
.ph { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; }
.ph h1 { font: 400 34px/1.1 var(--s); color: var(--g-900); }
.ph p { color: var(--t3); margin-top: 3px; font-size: 14px; }
.ph-r { display: flex; gap: 8px; flex: none; }
.crumb { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--t3); margin-bottom: 10px; }
.crumb a:hover { color: var(--g-700); }
.kick { font-size: 13px; font-weight: 500; color: var(--t3); }
.demo-note { font-size: 12.5px; color: var(--t3); }

/* Overview */
.hero { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 30px 32px; border-radius: 22px; color: #fff; background: radial-gradient(900px 340px at 92% -30%, rgba(201, 162, 75, .34), transparent 62%), linear-gradient(120deg, var(--g-800), var(--g-950)); }
.hero .kick { color: var(--gold-l); }
.hero h1 { font: 400 40px/1.1 var(--s); margin-top: 4px; }
.hero p { color: #c6d9d0; margin: 5px 0 16px; font-size: 15px; }
.hero-s { display: flex; gap: 10px; flex: none; }
.hero-s > div { min-width: 104px; padding: 15px 18px; background: rgba(255, 255, 255, .1); border-radius: 15px; }
.hero-s .alert { background: rgba(232, 112, 88, .28); }
.hero-s dt { font-size: 12.5px; color: #c6d9d0; }
.hero-s dd { font: 400 34px/1.15 var(--s); }
.hero-s .money dd { font-size: 25px; line-height: 1.6; }
.line { display: grid; grid-template-columns: repeat(9, 1fr); background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 22px 8px 16px; margin-top: 18px; }
.ln { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; padding: 0 3px; }
.ln::before { content: ''; position: absolute; top: 25px; left: -50%; width: 100%; height: 2px; background: var(--g-200); }
.ln:first-child::before { display: none; }
.ln-n { position: relative; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--g-50); border: 2px solid var(--g-200); color: var(--g-800); font: 400 23px/1 var(--s); transition: transform .15s, background .15s; }
.ln:hover .ln-n { transform: scale(1.08); background: var(--g-100); }
.ln:nth-child(3) .ln-n { background: var(--today-s); border-color: #bfd2ef; color: var(--today); }
.ln:nth-child(8) .ln-n { background: var(--gold-s); border-color: var(--gold-l); color: var(--gold-d); }
.ln:nth-child(9) .ln-n { background: #eef0ee; border-color: #d3d9d5; color: var(--t2); }
.ln-s { font-weight: 600; font-size: 13px; margin-top: 8px; white-space: nowrap; }
.ln-d { font-size: 11.5px; color: var(--t3); white-space: nowrap; }
.ln-d .r { font-weight: 600; }
.cols-7-5 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 18px; }
.sec { margin-top: 18px; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 18px 20px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; }
.sec-h h2 { font: 400 21px/1.2 var(--s); color: var(--g-900); }
.sec-h a { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 500; color: var(--g-700); }
.sec-h a:hover { text-decoration: underline; }
.ct { display: inline-block; font: 600 12px/1.6 var(--f); color: var(--g-700); background: var(--g-100); border-radius: 20px; padding: 0 8px; margin-left: 5px; vertical-align: 3px; }
.rows li { border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; }
.rows li > a { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 10px 8px; margin: 0 -8px; border-radius: 10px; transition: background .12s; }
.rows li > a:hover { background: var(--g-50); }
.r-main { min-width: 0; line-height: 1.3; }
.r-main b, .r-main small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows li.dv { display: flex; align-items: center; gap: 12px; }
.rows li.dv > a { flex: 1; min-width: 0; grid-template-columns: 74px minmax(0, 1fr) auto auto; }
.stg { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap; width: fit-content; background: var(--g-100); color: var(--g-700); }
.st-received, .st-design { background: #e9eefb; color: #3b5a9e; }
.st-proof { background: #f1eafa; color: #6a4aa3; }
.st-ready { background: var(--gold-s); color: var(--gold-d); }
.st-dispatched { background: #e1f1f4; color: #1d6a78; }
.st-delivered { background: #eef0ee; color: var(--t2); }
.hl { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.hl-late { color: var(--late); background: var(--late-s); } .hl-today { color: var(--today); background: var(--today-s); } .hl-risk { color: var(--risk); background: var(--risk-s); } .hl-ok, .hl-done { color: var(--g-700); background: var(--g-100); }
.due { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 500; white-space: nowrap; color: var(--t2); }
.due-late { color: var(--late); font-weight: 600; } .due-risk { color: var(--risk); font-weight: 600; } .due-today { color: var(--today); font-weight: 600; }
.feed li { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; }
.fi { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--wa-out); color: #128c54; }
.fm { min-width: 0; line-height: 1.3; }
.fm b, .fm small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.fm small { font-size: 12px; }
.ft { font-size: 12px; color: var(--t3); white-space: nowrap; }
.kv3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kv3 > div { padding: 12px 14px; background: var(--g-50); border-radius: 12px; }
.kv3 dt { font-size: 12px; color: var(--t3); }
.kv3 dd { font: 400 28px/1.2 var(--s); color: var(--g-900); }
.empty { padding: 18px 2px; color: var(--t3); font-size: 13.5px; }
.more, .filter-note { font-size: 13px; color: var(--t3); padding: 8px 0 0; }
.filter-note a { font-weight: 600; color: var(--g-700); }

/* Delivery chart */
.chart { padding-top: 22px; }
.plot { position: relative; display: grid; grid-template-columns: repeat(14, 1fr); height: 176px; padding-bottom: 36px; }
.capline { position: absolute; left: 0; right: 0; border-top: 1.5px dashed var(--gold); pointer-events: none; z-index: 1; height: 0; }
.capline span { position: absolute; right: 0; bottom: 3px; font-size: 11.5px; font-weight: 500; color: var(--gold-d); background: var(--card); padding: 0 0 0 6px; }
.cc { position: relative; display: flex; flex-direction: column; align-items: center; height: 100%; }
.cb-wrap { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--line-2); min-height: 0; }
.cb { position: relative; display: block; width: min(24px, 62%); background: var(--g-700); border-radius: 6px 6px 0 0; transition: background .12s; }
.cb.over { background: var(--late); }
.cb em { position: absolute; left: 50%; transform: translateX(-50%); top: -19px; font-size: 12px; font-style: normal; font-weight: 600; color: var(--t1); }
.cc:hover .cb { background: var(--g-600); } .cc:hover .cb.over { background: #a83520; }
.cc.sel .cb { outline: 2px solid var(--gold); outline-offset: 1px; }
.cl { height: 36px; flex: none; margin-bottom: -36px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; line-height: 1.25; font-weight: 500; color: var(--t2); }
.cl b { font-weight: 400; font-size: 11px; color: var(--t3); }
.cc.sun .cl { opacity: .5; }
.cc.sel .cl { color: var(--g-800); font-weight: 700; }
.tip { position: absolute; bottom: calc(100% - 18px); left: 50%; transform: translateX(-50%); background: var(--g-950); color: #fff; padding: 7px 11px; font-size: 12px; line-height: 1.35; white-space: nowrap; border-radius: 9px; opacity: 0; pointer-events: none; z-index: 5; transition: opacity .1s; }
.tip b { display: block; }
.cc:hover .tip, .cc:focus-visible .tip { opacity: 1; }
.cc:first-child .tip { left: 0; transform: none; }
.cc:last-child .tip, .cc:nth-last-child(2) .tip { left: auto; right: 0; transform: none; }

/* Toolbar, tabs, search */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.tabs { display: flex; gap: 3px; flex-wrap: wrap; background: #ebe8df; padding: 4px; border-radius: 12px; }
.tabs > * { height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 13px; font-size: 13.5px; color: var(--t2); border-radius: 9px; font-weight: 500; }
.tabs > *:hover { color: var(--g-800); }
.tabs > [aria-selected=true] { background: var(--card); color: var(--g-900); font-weight: 600; box-shadow: 0 1px 3px rgba(16, 55, 44, .13); }
.tabs span { font-size: 12px; color: var(--t3); }
.search { display: flex; align-items: center; gap: 8px; height: 40px; width: 300px; max-width: 100%; padding: 0 13px; background: var(--card); border: 1px solid var(--line); border-radius: 11px; color: var(--t3); }
.search:focus-within { border-color: var(--g-600); box-shadow: 0 0 0 3px var(--g-100); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--t1); font-size: 14px; }

/* Tables */
.tbl-wrap { overflow-x: auto; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { font-size: 12px; font-weight: 600; color: var(--t3); text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr[data-href] { cursor: pointer; }
.tbl tbody tr:hover td { background: var(--g-50); }
.tbl .n { text-align: right; }
.tbl a:hover { text-decoration: underline; }
.tbl .msg { max-width: 460px; font-size: 13px; color: var(--t2); }
.al { display: flex; align-items: center; gap: 11px; }
.al > div { min-width: 0; line-height: 1.3; }
.al small { display: block; }
.stcell { display: flex; flex-direction: column; gap: 5px; min-width: 110px; }
.exp { display: inline-block; font-size: 10px; font-weight: 700; color: var(--gold-d); background: var(--gold-s); padding: 0 6px; border-radius: 10px; line-height: 1.7; }
.ticks { display: flex; gap: 2px; }
.ticks i { width: 10px; height: 4px; border-radius: 2px; background: var(--line-2); }
.ticks i.on { background: var(--g-600); } .ticks i.cur { background: var(--gold); }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; font-size: 13px; color: var(--t3); }
.pager > div { display: flex; align-items: center; gap: 10px; }

/* Cover swatches */
.sw { position: relative; flex: none; display: inline-block; width: 26px; height: 32px; border-radius: 3px 6px 6px 3px; box-shadow: inset 3px 0 0 rgba(0, 0, 0, .2), 0 1px 3px rgba(0, 0, 0, .2); overflow: hidden; }
.sw.md { width: 36px; height: 44px; }
.sw.lg { width: 100%; height: 60px; border-radius: 6px 10px 10px 6px; }
.sw::after, .alb::after { content: ''; position: absolute; inset: 0; opacity: .3; pointer-events: none; }
.tex-grain::after { background: radial-gradient(#0006 .5px, transparent .8px) 0 0/3px 3px, radial-gradient(#fff5 .5px, transparent .8px) 1.5px 1.5px/3px 3px; }
.tex-weave::after { background: repeating-linear-gradient(0deg, #0003 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, #fff4 0 1px, transparent 1px 3px); }
.tex-wood::after { background: repeating-linear-gradient(92deg, #0005 0 1px, transparent 1px 6px, #fff2 6px 7px, transparent 7px 11px); opacity: .55; }

/* Forms */
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld > span { font-size: 13px; font-weight: 600; color: var(--t2); }
.fld input, .fld select, .fld textarea, .in-sel { width: 100%; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 0 12px; height: 42px; outline: 0; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.fld textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--g-600); box-shadow: 0 0 0 3px var(--g-100); }
.in-sel { height: 32px; font-size: 13px; padding: 0 8px; width: auto; max-width: 170px; border-radius: 8px; }
.err { font-style: normal; font-size: 12.5px; color: var(--late); }
.err:empty { display: none; }
.hint { font-style: normal; font-size: 12.5px; color: var(--t3); }
.hint.warn { color: var(--risk); font-weight: 600; }
.chk { display: flex; align-items: center; gap: 8px; font-size: 13.5px; accent-color: var(--g-700); }

.entry { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 20px; align-items: start; }
.frm { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 22px 24px; }
.frm fieldset { border: 0; padding: 0 0 24px; margin: 0; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px 14px; }
.frm legend { grid-column: 1 / -1; float: left; width: 100%; font: 400 21px/1.2 var(--s); color: var(--g-900); padding: 0; }
.f2 { grid-column: span 2; } .f4 { grid-column: span 4; }
.covers { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.cov, .seg label { position: relative; }
.cov { display: block; cursor: pointer; }
.cov input { position: absolute; opacity: 0; }
.cov .sw { display: block; outline: 2px solid transparent; outline-offset: 2px; transition: transform .15s; }
.cov:hover .sw { transform: translateY(-2px); }
.cov small { display: block; font-size: 11.5px; line-height: 1.25; margin-top: 7px; }
.cov input:checked + .sw { outline-color: var(--gold); }
.cov input:checked ~ small { color: var(--g-900); font-weight: 600; }
.cov input:focus-visible + .sw { outline-color: var(--g-600); }
.seg { display: flex; background: #eeece4; padding: 4px; border-radius: 12px; }
.seg label { flex: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg b { display: flex; align-items: center; justify-content: center; height: 34px; padding: 0 12px; border-radius: 9px; font-weight: 600; font-size: 13.5px; white-space: nowrap; color: var(--t2); }
.seg input:checked + b { background: var(--g-800); color: #fff; }
.seg input:focus-visible + b { outline: 2px solid var(--gold); }
.seg.sm { width: 230px; margin: 12px 0; } .seg.sm b { height: 30px; }
.frm-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); gap: 14px; }
.tot span { display: block; font-size: 12.5px; color: var(--t3); }
.tot b { font: 400 29px/1.1 var(--s); color: var(--g-900); }
.combo { position: relative; }
.combo-list { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; background: var(--card); border-radius: 12px; margin-top: 4px; box-shadow: var(--sh-l); max-height: 330px; overflow: auto; padding: 4px; }
.combo-list button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 9px 11px; text-align: left; border-radius: 8px; font-size: 13.5px; }
.combo-list button:hover { background: var(--g-50); }
.combo-none { padding: 10px; color: var(--t3); font-size: 13.5px; }
.entry-prev { position: sticky; top: 20px; }
.prev-l { font-size: 13px; font-weight: 600; color: var(--t3); margin-bottom: 8px; }

/* Job card */
.ticket { position: relative; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.tk-slug { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 500; color: #d3e2db; background: linear-gradient(110deg, var(--g-800), var(--g-950)); padding: 11px 22px; }
.tk-exp { color: var(--g-950); background: var(--gold-l); padding: 0 9px; border-radius: 10px; font-weight: 700; font-size: 11px; line-height: 1.7; }
.tk-h { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px 14px; }
.tk-no { font: 400 36px/1 var(--s); color: var(--g-800); }
.tk-title { font-size: 18px; font-weight: 600; margin-top: 8px; line-height: 1.2; word-break: break-word; }
.tk-studio { font-size: 13px; color: var(--t3); margin-top: 2px; }
.tk-bar { flex: none; width: 112px; align-self: stretch; min-height: 54px; }
.bar { display: block; width: 100%; height: 100%; fill: var(--g-950); }
.tk-spec { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 22px; border-top: 1px solid var(--line); }
.tk-spec > div { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.tk-spec .wide { grid-column: span 2; }
.tk-spec .full { grid-column: span 4; }
.tk-spec dt, .tk-stub dt { font-size: 11.5px; font-weight: 500; color: var(--t3); margin-bottom: 1px; }
.tk-spec dd { font-size: 14px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.tk-spec .promise dd { color: var(--g-800); font-size: 15px; font-weight: 700; }
.sm-t { font-size: 12.5px !important; font-weight: 400 !important; color: var(--t2); }
.tk-cov { display: flex; align-items: center; gap: 8px; }
.tk-sign { width: calc(100% - 44px); margin: 12px 22px 0; border-collapse: collapse; font-size: 13px; }
.tk-sign th { font-size: 11.5px; font-weight: 500; text-align: left; color: var(--t3); padding: 4px 8px 6px 0; border-bottom: 1px solid var(--line-2); }
.tk-sign td { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); height: 32px; white-space: nowrap; }
.tk-sign tr.cur td { font-weight: 700; color: var(--g-800); background: var(--gold-s); }
.tk-sign tr.cur td:first-child { box-shadow: -10px 0 0 var(--gold-s); }
.tk-sign .ini { font: 400 15px var(--s); color: var(--g-700); }
.tk-stub { display: grid; grid-template-columns: 1fr 1.6fr 1fr 1fr; gap: 10px; margin: 16px 22px 0; padding-top: 12px; border-top: 2px dashed var(--line-2); }
.tk-stub dd { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 9px 22px; background: var(--g-50); font-size: 12px; color: var(--t3); }
.tk-foot span:first-child { font: 400 14px var(--s); color: var(--g-800); }

/* Board */
#view[data-view=board] { max-width: none; padding-bottom: 14px; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: 262px; gap: 12px; overflow-x: auto; height: calc(100vh - 128px); min-height: 440px; padding-bottom: 8px; }
.col { display: flex; flex-direction: column; background: #ece9e0; border-radius: var(--r); min-height: 0; transition: background .15s; }
.col.over { background: var(--g-100); box-shadow: inset 0 0 0 2px var(--g-600); }
.col header { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px 10px; }
.col h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--g-900); }
.col h3::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--g-600); }
[data-stage=received] h3::before, [data-stage=design] h3::before { background: #5b7ac0; }
[data-stage=proof] h3::before { background: #8a68c4; }
[data-stage=ready] h3::before { background: var(--gold); }
.col header .mono { font-size: 12px; color: var(--t2); background: rgba(255, 255, 255, .75); padding: 0 8px; border-radius: 10px; }
.col-b { flex: 1; overflow-y: auto; padding: 0 8px 8px; display: flex; flex-direction: column; gap: 8px; }
.col-empty { font-size: 13px; color: var(--t3); padding: 8px 6px; }
.card { background: var(--card); padding: 12px 13px 10px; border-radius: 13px; box-shadow: 0 1px 2px rgba(16, 55, 44, .07); flex: none; transition: box-shadow .15s, transform .15s; }
.card[draggable=true] { cursor: grab; }
.card:hover { box-shadow: 0 10px 22px -12px rgba(16, 55, 44, .4); transform: translateY(-1px); }
.card.drag { opacity: .45; }
.card-top { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.card-top:hover .mono { text-decoration: underline; }
.card h4 { font-size: 15px; font-weight: 600; margin-top: 6px; line-height: 1.25; }
.card p { font-size: 12.5px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-spec { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--t2); margin-top: 8px; }
.card-spec .sw { width: 16px; height: 20px; }
.card footer { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--line); }
.op { width: 26px; height: 26px; display: grid; place-items: center; background: var(--g-100); font-size: 10.5px; font-weight: 700; border-radius: 50%; color: var(--g-700); }
.op.none { color: var(--t4); background: #f0efe9; }
.adv { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 600; color: var(--g-700); }
.adv:hover { color: var(--gold-d); }

/* Job page */
.job { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 20px; align-items: start; }
.job-l { max-width: 800px; }
.pnl { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 16px 18px; margin-bottom: 14px; }
.pnl-h { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--t2); }
.pnl-p { font-size: 13.5px; color: var(--t3); padding: 8px 0; }
.now { font: 400 32px/1.15 var(--s); color: var(--g-900); margin: 3px 0 8px; }
.pnl-a { margin-top: 13px; }
.pnl-a:empty { display: none; }
.pnl-a.row { display: flex; gap: 6px; flex-wrap: wrap; }
.kv { margin-top: 10px; }
.kv > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13.5px; min-height: 42px; }
.kv dt { color: var(--t3); flex: none; }
.kv dd { text-align: right; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.minilog { margin-top: 8px; font-size: 12px; color: var(--t3); }
.minilog li { display: flex; justify-content: space-between; padding: 3px 0; }
.tl { margin-top: 12px; }
.tl li { position: relative; padding: 0 0 12px 18px; border-left: 2px solid var(--g-100); margin-left: 5px; font-size: 13.5px; line-height: 1.3; }
.tl li::before { content: ''; position: absolute; left: -6px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--g-600); box-shadow: 0 0 0 3px #fff; }
.tl li:first-child::before { background: var(--gold); }
.tl li:last-child { padding-bottom: 0; border-color: transparent; }
.tl small { display: block; }

/* WhatsApp */
.thread { background: var(--wa-bg); border-radius: 12px; padding: 12px; margin-top: 10px; display: flex; flex-direction: column; gap: 9px; max-height: 390px; overflow-y: auto; }
.tm small { display: block; font-size: 11px; color: var(--t3); margin-bottom: 3px; }
.bbl { background: var(--wa-out); padding: 8px 11px 6px; border-radius: 12px 3px 12px 12px; font-size: 13.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.bbl footer { text-align: right; font-size: 10.5px; color: var(--t3); margin-top: 1px; }
.ticksend { font-size: 11px; letter-spacing: -2px; margin-left: 3px; color: #83918a; }
.rc-read { color: #1c8fd6; }
.voice { display: flex; align-items: center; gap: 10px; padding: 9px 11px; cursor: pointer; }
.vbtn { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: #128c54; color: #fff; border-radius: 50%; }
.wave { flex: 1; height: 26px; display: flex; align-items: center; gap: 2px; min-width: 0; overflow: hidden; }
.wave i { flex: 1 1 0; min-width: 1px; background: #8fb5a2; border-radius: 2px; }
.voice.playing .wave i { animation: pl var(--dur, 6s) linear both; }
@keyframes pl { to { background: #128c54; } }
.vtime { font-size: 11.5px; color: var(--t3); }
.vtrans { font-size: 12px; color: var(--t3); line-height: 1.4; padding: 4px 3px 0; }

/* Notification and toast */
#notify { position: fixed; right: 18px; bottom: 18px; z-index: 1200; display: flex; flex-direction: column; gap: 10px; width: 350px; max-width: calc(100vw - 36px); }
.ntf { background: var(--card); border-radius: var(--r); box-shadow: var(--sh-l); padding: 11px 14px 14px; animation: nin .3s cubic-bezier(.2, .8, .2, 1); transition: opacity .3s, transform .3s; }
.ntf.out { opacity: 0; transform: translateY(8px); }
@keyframes nin { from { opacity: 0; transform: translateY(14px); } }
.ntf header { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; color: #128c54; }
.ntf header span { display: flex; gap: 6px; align-items: center; }
.ntf-to { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 3px 0 8px; font-size: 14px; }
.ntf-to span { font-size: 12px; color: var(--t3); white-space: nowrap; }
#toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1300; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; }
.toast { background: var(--g-950); color: #fff; padding: 11px 18px; font-size: 13.5px; font-weight: 500; border-radius: 12px; box-shadow: var(--sh-l); animation: nin .2s; transition: opacity .25s; }
.toast.bad { background: var(--late); }
.toast.out { opacity: 0; }

/* Delivery aside */
.bay li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.bay li:first-child { border-top: 0; }
.bay a { min-width: 0; line-height: 1.3; }
.bay b, .bay small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Automations */
.wa { display: grid; grid-template-columns: 350px minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.rules { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 6px; }
.rules li { display: flex; align-items: center; gap: 8px; padding-right: 10px; border-radius: 11px; }
.rules li.sel { background: var(--g-100); }
.r-b { flex: 1; min-width: 0; text-align: left; padding: 10px 6px 10px 12px; line-height: 1.3; }
.r-b b { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.r-b small { display: block; }
.vt { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--gold-d); background: var(--gold-s); padding: 0 7px; border-radius: 10px; line-height: 1.7; }
.sw-t { position: relative; flex: none; display: block; cursor: pointer; }
.sw-t input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sw-t i { display: block; width: 38px; height: 22px; background: var(--line-2); border-radius: 11px; position: relative; transition: background .15s; pointer-events: none; }
.sw-t i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; background: #fff; border-radius: 50%; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: left .15s; }
.sw-t input:checked + i { background: var(--g-600); }
.sw-t input:checked + i::after { left: 18px; }
.sw-t input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.editor { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 18px 20px; }
.editor .pnl-h { font: 400 21px/1.2 var(--s); color: var(--g-900); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 11px 0 15px; }
.chips button { font-size: 12px; font-weight: 500; padding: 3px 9px; background: var(--g-100); color: var(--g-700); border-radius: 12px; }
.chips button:hover { background: var(--g-700); color: #fff; }
.phone { background: var(--wa-bg); border: 7px solid var(--g-950); border-radius: 30px; overflow: hidden; box-shadow: var(--sh-l); }
.ph-top { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--g-800); color: #fff; line-height: 1.2; }
.ph-top small { color: #b6cec3; font-size: 11.5px; display: block; }
.ph-b { min-height: 300px; padding: 14px 10px; }

/* Team */
.matrix { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.matrix th { padding: 14px 10px; text-align: center; border-bottom: 1px solid var(--line); min-width: 106px; }
.matrix th b, .matrix th small { display: block; }
.matrix th b { font-size: 14px; }
.matrix th small { font-weight: 400; }
.matrix td { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.matrix td:first-child { white-space: nowrap; }
.matrix tr:last-child td { border-bottom: 0; }
.matrix tr.grp td { font-size: 12px; font-weight: 700; color: var(--g-700); background: var(--g-50); padding: 6px 12px; }
.matrix td.c { text-align: center; font-size: 12.5px; }
.studio-col { background: #faf9f5; border-left: 1px solid var(--line); }
.tick { display: inline-block; position: relative; cursor: pointer; vertical-align: middle; }
.tick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tick i { display: block; width: 20px; height: 20px; border: 1.5px solid var(--t4); border-radius: 6px; background: #fff; pointer-events: none; transition: background .12s; }
.tick input:checked + i { background: var(--g-700); border-color: var(--g-700); }
.tick input:checked + i::after { content: ''; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(42deg); }
.tick input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.tick.locked, .tick.locked input { cursor: not-allowed; }
.tick.locked input:checked + i { background: var(--g-200); border-color: var(--g-200); }
.table-note { font-size: 13px; color: var(--t3); margin-top: 11px; max-width: 72ch; }

/* Dialog */
.dlg { border: 0; padding: 0; width: 440px; max-width: calc(100vw - 32px); box-shadow: var(--sh-l); border-radius: 20px; color: var(--t1); }
.dlg::backdrop { background: rgba(12, 43, 34, .5); backdrop-filter: blur(2px); }
.dlg header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 0; }
.dlg h3 { font: 400 24px/1.2 var(--s); color: var(--g-900); }
.dlg-b { padding: 10px 20px 18px; display: flex; flex-direction: column; gap: 13px; }
.dlg-p { font-size: 14px; color: var(--t2); }
.dlg footer { display: flex; justify-content: flex-end; gap: 8px; padding: 13px 20px; background: var(--g-50); }
.cred { background: var(--g-50); border-radius: 12px; padding: 2px 14px; }
.cred > div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--g-100); }
.cred > div:last-child { border: 0; }
.cred dt { color: var(--t3); font-size: 13.5px; }
.cred dd { font-size: 15px; font-weight: 700; }
.missing { padding: 80px 0; max-width: 480px; }
.missing h1 { font: 400 38px/1.1 var(--s); color: var(--g-900); }
.missing p { color: var(--t3); margin: 8px 0 18px; }

/* Sign-in */
.login { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 100vh; }
.sheet { position: relative; overflow: hidden; color: #fff; padding: 40px 52px; display: flex; flex-direction: column; background: radial-gradient(760px 480px at 82% 22%, rgba(201, 162, 75, .32), transparent 66%), linear-gradient(150deg, var(--g-800), var(--g-950)); }
.albums { position: relative; flex: 1; min-height: 250px; margin: 16px 0; }
.alb { position: absolute; top: 50%; left: 50%; width: 208px; height: 268px; border-radius: 5px 12px 12px 5px; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: inset 10px 0 0 rgba(0, 0, 0, .2), inset 12px 0 0 rgba(255, 255, 255, .08), 0 34px 60px -18px rgba(0, 0, 0, .65); }
.alb span { position: relative; z-index: 1; font: 400 30px var(--s); background: linear-gradient(120deg, #f4e0a9, #c9a24b 50%, #f0d999); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a1 { background: #5e1a1d; transform: translate(-118%, -50%) rotate(-11deg) scale(.9); }
.a3 { background: #e9e0cc; transform: translate(18%, -50%) rotate(11deg) scale(.9); }
.a3 span { background: linear-gradient(120deg, #a57d2b, #7d5e17 50%, #b48d3d); -webkit-background-clip: text; background-clip: text; }
.a2 { background: #18243b; transform: translate(-50%, -50%); z-index: 2; }
.sheet h1 { font: 400 clamp(36px, 3.6vw, 54px)/1.1 var(--s); max-width: 14em; }
.sheet-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sheet-list li { padding: 7px 14px; border-radius: 20px; background: rgba(255, 255, 255, .11); font-size: 13.5px; color: #dbe8e2; }
.signin { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(28px, 7vw, 104px); }
.signin form { display: flex; flex-direction: column; gap: 14px; }
.signin h2 { font: 400 40px/1.1 var(--s); color: var(--g-900); }
.signin .sub { color: var(--t3); margin: -9px 0 6px; font-size: 15px; }
.demo { margin-top: 26px; }
.demo h6 { font-size: 13px; font-weight: 600; color: var(--t3); padding-bottom: 8px; }
.demo button { display: flex; gap: 11px; align-items: center; width: 100%; padding: 8px 12px 8px 8px; margin-bottom: 6px; background: var(--card); border-radius: 12px; box-shadow: var(--sh); text-align: left; transition: transform .15s; }
.demo button:hover { transform: translateX(3px); }
.demo button > div { flex: 1; min-width: 0; line-height: 1.25; }
.demo b, .demo span:not(.sav) { display: block; }
.demo b { font-size: 14px; }
.demo button > div span { color: var(--t3); font-size: 12.5px; }
.demo .i { color: var(--g-700); }

/* Studio portal */
.asbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 24px; background: var(--gold-d); color: #fff; font-size: 13.5px; }
.asbar span { display: flex; align-items: center; gap: 7px; }
.p-top { display: flex; align-items: center; gap: 30px; height: 66px; padding: 0 30px; background: var(--card); box-shadow: 0 1px 0 var(--line); position: sticky; top: 0; z-index: 20; }
.p-top nav { display: flex; gap: 4px; flex: 1; }
.p-top nav a { padding: 7px 15px; font-size: 14.5px; font-weight: 500; color: var(--t2); border-radius: 10px; }
.p-top nav a:hover { color: var(--g-800); }
.p-top nav a.on { color: var(--g-800); background: var(--g-100); font-weight: 600; }
.p-top-r { display: flex; gap: 2px; }
.page.portal { max-width: 1180px; }
.p-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 32px; border-radius: 22px; color: #fff; background: radial-gradient(760px 300px at 90% -20%, rgba(201, 162, 75, .36), transparent 64%), linear-gradient(120deg, var(--g-800), var(--g-950)); }
.p-hero .kick { color: var(--gold-l); }
.p-hero h1 { font: 400 48px/1.08 var(--s); margin-top: 3px; }
.p-hero p { color: #c6d9d0; margin-top: 5px; font-size: 15px; }
.p-hero .btn.p { background: linear-gradient(135deg, var(--gold-l), var(--gold)); border: 0; color: var(--g-950); }
.p-act { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 16px 22px; background: var(--gold-s); border: 1px solid var(--gold-l); border-radius: var(--r); }
.p-act .kick { color: var(--gold-d); font-weight: 600; }
.p-act h2 { font: 400 23px/1.2 var(--s); color: var(--g-900); }
.p-act p { font-size: 13.5px; color: var(--t2); }
.p-card { display: block; padding: 15px 0 17px; border-top: 1px solid var(--line); }
.p-card:first-of-type { border-top: 0; }
.p-card:hover .p-card-h b { color: var(--g-700); }
.p-card-h { display: flex; align-items: center; gap: 13px; }
.p-card-h > div:nth-child(2) { flex: 1; min-width: 0; line-height: 1.3; }
.p-card-h b { display: block; font-size: 16px; }
.p-due { text-align: right; line-height: 1.2; }
.p-due small { display: block; }
.p-due b { font: 400 21px var(--s); color: var(--g-800); }
.trk { display: flex; margin-top: 15px; }
.trk li { flex: 1; position: relative; font-size: 11.5px; color: var(--t4); text-align: center; min-width: 0; line-height: 1.2; }
.trk li::before { content: ''; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: var(--line-2); }
.trk li:first-child::before { display: none; }
.trk i { position: relative; z-index: 1; display: block; width: 16px; height: 16px; margin: 0 auto 6px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); }
.trk .done i { background: var(--g-600); border-color: var(--g-600); }
.trk .done::before, .trk .cur::before { background: var(--g-600); }
.trk .cur i { background: var(--gold); border-color: #fff; box-shadow: 0 0 0 3px var(--gold-l); }
.trk .done { color: var(--t2); } .trk .cur { color: var(--g-900); font-weight: 700; }
.trk span { display: block; padding: 0 2px; }
.p-trackwrap { padding: 8px 18px 18px; margin-top: 0; }
.p-spec { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 6px 20px; margin-top: 18px; }
.p-spec + aside .pnl, .cols-7-5 > aside > .pnl:first-child { margin-top: 18px; }
.spreads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 8px; }
.sp > div { display: grid; gap: 4px; aspect-ratio: 2.3; padding: 8px; background: #f7f5ef; border-radius: 10px; position: relative; }
.sp > div::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(0, 0, 0, .14); }
.sp i { border-radius: 3px; background: linear-gradient(140deg, #c7d5cd, #7f9a8c); }
.sp.l1 > div { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; } .sp.l1 i:first-child { grid-row: span 2; }
.sp.l2 > div { grid-template-columns: 1fr 1fr 1fr; }
.sp.l3 > div { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; } .sp.l3 i:first-child { grid-row: span 2; }
.sp.l4 > div { grid-template-columns: 1fr 2fr; grid-template-rows: 1fr 1fr; } .sp.l4 i:nth-child(2) { grid-row: 1 / span 2; grid-column: 2; }
.sp figcaption { font-size: 12px; color: var(--t3); margin-top: 5px; }
.proof-a { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.kv.big { margin-top: 0; }
.kv.big > div:first-child { border-top: 0; }

/* Tour */
.tour { position: fixed; inset: 0; z-index: 1100; }
.t-catch { position: absolute; inset: 0; }
.t-spot { position: fixed; border-radius: 14px; box-shadow: 0 0 0 200vmax rgba(12, 43, 34, .62); outline: 2px solid var(--gold-l); transition: left .3s cubic-bezier(.3, .8, .3, 1), top .3s cubic-bezier(.3, .8, .3, 1), width .3s cubic-bezier(.3, .8, .3, 1), height .3s cubic-bezier(.3, .8, .3, 1); pointer-events: none; }
.t-pop { position: fixed; width: 360px; max-width: calc(100vw - 24px); background: var(--card); border-radius: 18px; padding: 16px 20px 16px; box-shadow: var(--sh-l); transition: left .25s, top .25s, opacity .15s; }
.tour.moving .t-pop { opacity: .55; }
.t-top { display: flex; justify-content: space-between; align-items: center; }
.t-n { font-size: 12.5px; font-weight: 600; color: var(--gold-d); }
.t-skip { font-size: 13px; color: var(--t3); }
.t-skip:hover { color: var(--g-800); }
.t-pop h3 { font: 400 25px/1.15 var(--s); color: var(--g-900); margin-top: 6px; }
.t-pop p { font-size: 14px; line-height: 1.55; color: var(--t2); margin-top: 7px; }
.t-prog { height: 4px; border-radius: 2px; background: var(--g-100); margin-top: 14px; overflow: hidden; }
.t-prog i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--g-600), var(--gold)); transition: width .25s; }
.t-nav { display: flex; justify-content: space-between; margin-top: 12px; }

/* Responsive */
@media (max-width: 1280px) {
  .wa { grid-template-columns: 310px minmax(0, 1fr); } .phone { grid-column: 2; max-width: 320px; }
  .entry { grid-template-columns: minmax(0, 1fr) 350px; }
  .covers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .job { grid-template-columns: minmax(0, 1fr) 330px; }
  .line { grid-template-columns: repeat(9, minmax(96px, 1fr)); overflow-x: auto; }
  .hero { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-s { flex-wrap: wrap; }
}
@media (max-width: 960px) {
  .rail { transform: translateX(-100%); transition: transform .22s; }
  .rail.open { transform: none; }
  .shell:has(.rail.open) + .scrim { display: block; position: fixed; inset: 0; background: rgba(12, 43, 34, .5); z-index: 25; }
  .main { margin-left: 0; }
  .mtop { display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 10px; background: var(--card); box-shadow: 0 1px 0 var(--line); position: sticky; top: 0; z-index: 15; }
  .page { padding: 16px 16px 44px; }
  .cols-7-5, .entry, .job, .wa { grid-template-columns: minmax(0, 1fr); }
  .phone { grid-column: 1; }
  .entry-prev { position: static; }
  .board { height: calc(100vh - 190px); grid-auto-columns: 250px; }
  .login { grid-template-columns: 1fr; }
  .sheet { padding: 24px; }
  .albums { min-height: 190px; transform: scale(.68); margin: 0; }
  .signin { padding: 26px 22px; }
}
@media (max-width: 640px) {
  .ph { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ph h1 { font-size: 30px; }
  .hero, .p-hero { padding: 22px; border-radius: 18px; }
  .hero h1 { font-size: 32px; }
  .hero-s { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .hero-s > div { min-width: 0; padding: 11px 13px; }
  .hero-s .money { grid-column: span 3; }
  .sec { padding: 15px; }
  .frm { padding: 16px; }
  .frm fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f4 { grid-column: span 2; }
  .search { width: 100%; }
  .rows li > a, .rows li.dv > a { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; }
  .rows li > a > .mono { grid-column: 1; font-size: 12px; }
  .rows li > a .r-main { grid-column: 1; grid-row: 2; }
  .rows li > a .stg { grid-column: 1; grid-row: 3; }
  .rows li > a .hl, .rows li > a .muted { grid-column: 2; grid-row: 1; justify-self: end; }
  .rows li > a .due { grid-column: 2; grid-row: 2; justify-self: end; }
  .tk-slug, .tk-h, .tk-foot { padding-left: 16px; padding-right: 16px; }
  .tk-spec, .tk-stub { margin-left: 16px; margin-right: 16px; }
  .tk-sign { margin-left: 16px; margin-right: 16px; width: calc(100% - 32px); }
  .tk-spec { grid-template-columns: repeat(2, 1fr); } .tk-spec .full, .tk-spec .wide { grid-column: span 2; }
  .tk-sign th:nth-child(2), .tk-sign td:nth-child(2) { display: none; }
  .tk-stub { grid-template-columns: 1fr 1fr; }
  .tk-no { font-size: 30px; } .tk-bar { width: 84px; }
  .plot { grid-template-columns: repeat(14, minmax(24px, 1fr)); overflow-x: auto; }
  .capline span { display: none; }
  .p-top { padding: 0 12px; gap: 8px; }
  .p-top nav a { padding: 6px 9px; }
  .p-top .brand span:last-child { display: none; }
  .p-top .ib.tx span { display: none; }
  .p-hero { flex-direction: column; align-items: stretch; }
  .p-hero h1 { font-size: 36px; }
  .p-act { flex-direction: column; align-items: stretch; }
  .trk span { font-size: 0; height: 0; }
  .trk .cur span { font-size: 11.5px; height: auto; white-space: nowrap; }
  .spreads { grid-template-columns: repeat(2, 1fr); }
  .t-pop { left: 12px; right: 12px; bottom: 12px; width: auto; position: fixed; }
  .asbar { padding: 7px 14px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff; }
  .rail, .mtop, .ph, .crumb, .job-r, #notify, #toasts, .scrim { display: none !important; }
  .main { margin: 0 !important; }
  .page { padding: 0; }
  .job { display: block; }
  .job-l { max-width: none; }
  .ticket { box-shadow: 0 0 0 .5pt #999; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
