/* ============ TOKENS ============ */
:root{
  color-scheme: light;
  --page:#EEEEF1; --surface:#FFFFFF; --surface-2:#F8F8FA; --surface-3:#E6E6EA;
  --ink:#17171A; --ink-2:#67676D; --ink-3:#9A9AA1;
  --border:#E1E1E6; --border-strong:#D1D1D8;
  --accent:#4C6FA5; --accent-hover:#3D5C8C; --accent-wash:#E4EAF3; --accent-ink:#33517A;
  --good:#1F8A54; --good-wash:#E5F5EC; --good-ink:#146B3F;
  --warn:#C6860B; --warn-wash:#FFF2D6; --warn-ink:#8F5E0A;
  --crit:#D64444; --crit-wash:#FDE9E9; --crit-ink:#A32E2E;
  --cat-1:#5B7FA6; --cat-2:#5C8A6B; --cat-3:#B87F94; --cat-4:#AD8B57; --cat-5:#4F9488; --cat-6:#BC7355; --cat-7:#7A6FA0;
  --shadow-sm:0 1px 3px rgba(20,20,26,.05),0 1px 1px rgba(20,20,26,.04);
  --shadow-md:0 16px 40px rgba(20,20,26,.10),0 2px 8px rgba(20,20,26,.05);
  --shadow-lg:0 24px 64px rgba(20,20,26,.16),0 4px 14px rgba(20,20,26,.06);
  --glass-sheen:rgba(255,255,255,.55); --glass-edge:rgba(255,255,255,.75);
  --r-sm:8px; --r-md:12px; --r-lg:20px; --r-xl:28px;
  --font-display:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-mono:ui-monospace,"SF Mono","Cascadia Mono","Roboto Mono",Menlo,Consolas,monospace;
}
@media (prefers-color-scheme: dark){
  :root:where(:not([data-theme="light"])){
    color-scheme: dark;
    --page:#14161C; --surface:#1C2029; --surface-2:#232733; --surface-3:#2B303D;
    --ink:#F5F4EF; --ink-2:#C2C4CC; --ink-3:#8C8F99;
    --border:#333947; --border-strong:#414858;
    --accent:#7FA0D1; --accent-hover:#93B0DA; --accent-wash:#24344A; --accent-ink:#B9CEEA;
    --good:#3CC989; --good-wash:#173420; --good-ink:#8CEBB8;
    --warn:#F0B94A; --warn-wash:#3F2F10; --warn-ink:#F5CE7E;
    --crit:#F07A7A; --crit-wash:#3F1C1C; --crit-ink:#F5A8A8;
    --cat-1:#7B9BC2; --cat-2:#7FAF8E; --cat-3:#D4A0B3; --cat-4:#D0AC7E; --cat-5:#74B3A7; --cat-6:#D19477; --cat-7:#9C90C0;
    --shadow-sm:0 1px 3px rgba(0,0,0,.32); --shadow-md:0 16px 40px rgba(0,0,0,.42); --shadow-lg:0 24px 64px rgba(0,0,0,.5);
    --glass-sheen:rgba(255,255,255,.06); --glass-edge:rgba(255,255,255,.14);
  }
}
:root[data-theme="dark"]{
  color-scheme: dark;
  --page:#14161C; --surface:#1C2029; --surface-2:#232733; --surface-3:#2B303D;
  --ink:#F5F4EF; --ink-2:#C2C4CC; --ink-3:#8C8F99;
  --border:#333947; --border-strong:#414858;
  --accent:#7FA0D1; --accent-hover:#93B0DA; --accent-wash:#24344A; --accent-ink:#B9CEEA;
  --good:#3CC989; --good-wash:#173420; --good-ink:#8CEBB8;
  --warn:#F0B94A; --warn-wash:#3F2F10; --warn-ink:#F5CE7E;
  --crit:#F07A7A; --crit-wash:#3F1C1C; --crit-ink:#F5A8A8;
  --cat-1:#7B9BC2; --cat-2:#7FAF8E; --cat-3:#D4A0B3; --cat-4:#D0AC7E; --cat-5:#74B3A7; --cat-6:#D19477; --cat-7:#9C90C0;
  --shadow-sm:0 1px 3px rgba(0,0,0,.32); --shadow-md:0 16px 40px rgba(0,0,0,.42); --shadow-lg:0 24px 64px rgba(0,0,0,.5);
  --glass-sheen:rgba(255,255,255,.06); --glass-edge:rgba(255,255,255,.14);
}
:root[data-theme="light"]{
  color-scheme: light;
  --page:#EEEEF1; --surface:#FFFFFF; --surface-2:#F8F8FA; --surface-3:#E6E6EA;
  --ink:#17171A; --ink-2:#67676D; --ink-3:#9A9AA1;
  --border:#E1E1E6; --border-strong:#D1D1D8;
  --accent:#4C6FA5; --accent-hover:#3D5C8C; --accent-wash:#E4EAF3; --accent-ink:#33517A;
  --good:#1F8A54; --good-wash:#E5F5EC; --good-ink:#146B3F;
  --warn:#C6860B; --warn-wash:#FFF2D6; --warn-ink:#8F5E0A;
  --crit:#D64444; --crit-wash:#FDE9E9; --crit-ink:#A32E2E;
  --cat-1:#5B7FA6; --cat-2:#5C8A6B; --cat-3:#B87F94; --cat-4:#AD8B57; --cat-5:#4F9488; --cat-6:#BC7355; --cat-7:#7A6FA0;
  --shadow-sm:0 1px 3px rgba(20,20,26,.05),0 1px 1px rgba(20,20,26,.04);
  --shadow-md:0 16px 40px rgba(20,20,26,.10),0 2px 8px rgba(20,20,26,.05);
  --shadow-lg:0 24px 64px rgba(20,20,26,.16),0 4px 14px rgba(20,20,26,.06);
  --glass-sheen:rgba(255,255,255,.55); --glass-edge:rgba(255,255,255,.75);
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background:var(--page); color:var(--ink); font-family:var(--font-body);
  font-size:15px; line-height:1.5; -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{font-family:var(--font-display); font-weight:600; letter-spacing:-.01em; margin:0; text-wrap:balance;}
a{color:inherit;}
button{font-family:inherit; cursor:pointer;}
input,select,textarea{font-family:inherit; font-size:inherit;}
::selection{background:var(--accent-wash); color:var(--accent-ink);}
:focus-visible{outline:2px solid var(--accent); outline-offset:2px; border-radius:4px;}
@media (prefers-reduced-motion: reduce){ *{animation-duration:.001ms !important; transition-duration:.001ms !important;} }

.ico{ stroke-linecap:round; stroke-linejoin:round; }
.u-label{ font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--ink-3); font-weight:600; }
.u-mono{ font-family:var(--font-mono); font-variant-numeric:tabular-nums; }
.u-scroll-x{ overflow-x:auto; overflow-y:hidden; }
.card.u-scroll-x{ overflow:hidden auto; }

/* ============ WORDMARK ============ */
.mark{ display:inline-flex; align-items:flex-end; gap:2px; height:18px; }
.mark i{ display:block; width:3px; background:var(--accent); border-radius:2px; animation:bar 1.6s ease-in-out infinite; }
.mark i:nth-child(1){height:40%; animation-delay:-1.1s;}
.mark i:nth-child(2){height:100%; animation-delay:-.4s;}
.mark i:nth-child(3){height:65%; animation-delay:-1.4s;}
.mark i:nth-child(4){height:85%; animation-delay:-.7s;}
.mark i:nth-child(5){height:50%; animation-delay:-.2s;}
@keyframes bar{ 0%,100%{transform:scaleY(.5);} 50%{transform:scaleY(1);} }
@media (prefers-reduced-motion: reduce){ .mark i{animation:none;} }
.wordmark{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-size:1.25rem; font-weight:700; letter-spacing:.01em; }
.wordmark small{ display:block; font-family:var(--font-body); font-size:10px; font-weight:600; letter-spacing:.14em; color:var(--ink-3); text-transform:uppercase; margin-top:1px;}

/* ============ BUTTONS ============ */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:6px; border-radius:var(--r-sm); border:1px solid var(--border-strong); background:var(--surface); color:var(--ink); padding:9px 14px; font-size:13.5px; font-weight:600; transition:.16s ease; white-space:nowrap;}
.btn:hover{ border-color:var(--ink-3); }
.btn:active{ transform:scale(.97); }
.btn-primary{ background:var(--accent); border-color:var(--accent); color:#fff; box-shadow:0 1px 2px rgba(20,20,26,.1),0 4px 12px -4px var(--accent); }
.btn-primary:hover{ background:var(--accent-hover); border-color:var(--accent-hover); }
.btn-ghost{ background:transparent; border-color:transparent; }
.btn-ghost:hover{ background:var(--surface-3); }
.btn-danger{ background:transparent; border-color:var(--crit); color:var(--crit); }
.btn-danger:hover{ background:var(--crit-wash); }
.btn-sm{ padding:6px 10px; font-size:12.5px; }
.btn-block{ width:100%; }
.btn:disabled{ opacity:.45; cursor:not-allowed; }
.icon-btn{ display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:var(--r-sm); border:1px solid transparent; background:transparent; color:var(--ink-2); transition:.14s ease; }
.hamburger-btn{ display:none; }
.icon-btn:hover{ background:var(--surface-3); color:var(--ink); transform:scale(1.06); }
.icon-btn:active{ transform:scale(.94); }

/* ============ APP SHELL ============ */
#app{ min-height:100vh; }
.shell{ display:flex; min-height:100vh; background:var(--page); }
.rail{ width:228px; flex:none; background:var(--surface-2); border:1px solid var(--border); border-radius:var(--r-lg); box-shadow:var(--shadow-md); display:flex; flex-direction:column; padding:20px 12px; gap:24px; position:sticky; top:16px; height:calc(100vh - 32px); margin:16px 0 16px 16px; }
.rail-nav{ display:flex; flex-direction:column; gap:2px; position:relative; }
.rail-link{ text-decoration:none; display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:var(--r-md); color:var(--ink-2); font-size:13.5px; font-weight:600; transition:.16s cubic-bezier(.2,.7,.3,1); position:relative; z-index:1; }
.rail-link .ico{ width:17px; height:17px; flex:none; transition:transform .16s ease; }
.nav-icon-wrap{ position:relative; display:inline-flex; flex:none; }
.nav-badge{ position:absolute; top:-5px; right:-7px; background:var(--crit); color:#fff; font-size:9.5px; font-weight:700; line-height:1; min-width:14px; height:14px; border-radius:999px; display:flex; align-items:center; justify-content:center; padding:0 3px; box-shadow:0 0 0 2px var(--surface); }
.rail-link:hover{ background:var(--surface-3); color:var(--ink); }
.rail-link:hover .ico{ transform:scale(1.08); }
.rail-link.active{ color:#fff; }
.rail-link.active:hover{ background:transparent; }
.rail-slider{ position:absolute; left:0; right:0; border-radius:var(--r-md); background:var(--accent); box-shadow:0 1px 2px rgba(20,20,26,.12),0 6px 16px -6px var(--accent); z-index:0; transition:top .22s cubic-bezier(.2,.7,.3,1), height .22s cubic-bezier(.2,.7,.3,1); }
.rail-foot{ margin-top:auto; border-top:1px solid var(--border); padding-top:12px; }
.mobile-menu-panel{ width:250px; max-width:80vw; height:100%; height:100dvh; background:var(--surface); display:flex; flex-direction:column; padding:max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom)); gap:22px; animation:slideinleft .2s ease; overflow-y:auto; }
@keyframes slideinleft{ from{ transform:translateX(-100%); } to{ transform:translateX(0); } }
.main{ flex:1; min-width:0; display:flex; flex-direction:column; }
.topbar{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 28px; padding-top:max(16px, env(safe-area-inset-top)); border-bottom:1px solid var(--border); background:color-mix(in srgb, var(--page) 78%, transparent); backdrop-filter:blur(20px) saturate(180%); -webkit-backdrop-filter:blur(20px) saturate(180%); position:sticky; top:0; z-index:5; }
.topbar h1{ font-size:1.5rem; }
.content{ padding:24px 28px 80px; flex:1; }
.user-chip{ display:flex; align-items:center; gap:8px; padding:5px 8px 5px 5px; border-radius:999px; border:1px solid var(--border); background:var(--surface); font-size:12.5px; font-weight:600; }

.avatar{ display:inline-flex; align-items:center; justify-content:center; border-radius:50%; font-weight:700; color:#fff; flex:none; font-family:var(--font-body); letter-spacing:.02em; }
.avatar[data-slot="1"]{ background:var(--cat-1); } .avatar[data-slot="2"]{ background:var(--cat-2); }
.avatar[data-slot="3"]{ background:var(--cat-3); } .avatar[data-slot="4"]{ background:var(--cat-4); }
.avatar[data-slot="5"]{ background:var(--cat-5); } .avatar[data-slot="6"]{ background:var(--cat-6); } .avatar[data-slot="7"]{ background:var(--cat-7); }
.dot{ width:9px; height:9px; border-radius:50%; flex:none; display:inline-block; }
.dot[data-slot="1"]{ background:var(--cat-1); } .dot[data-slot="2"]{ background:var(--cat-2); }
.dot[data-slot="3"]{ background:var(--cat-3); } .dot[data-slot="4"]{ background:var(--cat-4); }
.dot[data-slot="5"]{ background:var(--cat-5); } .dot[data-slot="6"]{ background:var(--cat-6); } .dot[data-slot="7"]{ background:var(--cat-7); }

/* ============ CARDS / GRID ============ */
.card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); box-shadow:var(--shadow-sm); }
.card-pad{ padding:18px 20px; }
.grid{ display:grid; gap:16px; }
.stat-row{ grid-template-columns:repeat(4,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.section-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:12px; }
.section-head h2{ font-size:1.2rem; }
.stack{ display:flex; flex-direction:column; }

.stat-tile{ padding:18px 20px; display:flex; flex-direction:column; gap:6px; transition:.18s cubic-bezier(.2,.7,.3,1); }
.stat-tile[style*="cursor:pointer"]:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:var(--border-strong); }
.stat-tile .val{ font-family:var(--font-display); font-size:2.1rem; font-weight:700; font-variant-numeric:tabular-nums; letter-spacing:-.02em; }
.stat-tile .sub{ font-size:12px; color:var(--ink-3); }

.pill{ display:inline-flex; align-items:center; gap:5px; padding:3px 9px; border-radius:999px; font-size:11.5px; font-weight:700; letter-spacing:.02em; white-space:nowrap; }
.pill-neutral{ background:var(--surface-3); color:var(--ink-2); }
.pill-warn{ background:var(--warn-wash); color:var(--warn-ink); }
.pill-good{ background:var(--good-wash); color:var(--good-ink); }
.pill-crit{ background:var(--crit-wash); color:var(--crit-ink); }
.pill-accent{ background:var(--accent-wash); color:var(--accent-ink); }

/* ============ TABLE ============ */
table{ width:100%; border-collapse:collapse; font-size:13.5px; }
th{ text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-3); font-weight:700; padding:12px 14px 8px; border-bottom:1px solid var(--border); white-space:nowrap; }
td{ padding:11px 12px; border-bottom:1px solid var(--border); vertical-align:middle; }
tr.row-link{ cursor:pointer; transition:.12s ease; }
tr.row-link:hover td{ background:var(--surface-2); }

/* ============ CALENDAR ============ */
.cal-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; gap:10px; flex-wrap:wrap; }
.cal-nav{ display:flex; align-items:center; gap:6px; }
.cal-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:8px; }
.cal-dow{ font-size:10.5px; text-transform:uppercase; letter-spacing:.09em; color:var(--ink-3); font-weight:700; text-align:center; padding-bottom:6px; }
.cal-cell{ position:relative; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-md); box-shadow:var(--shadow-sm); min-height:92px; padding:8px; display:flex; flex-direction:column; gap:4px; transition:.16s cubic-bezier(.2,.7,.3,1); }
.cal-add-btn{ position:absolute; top:3px; right:3px; width:18px; height:18px; padding:0; border:none; background:transparent; color:var(--accent); display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .12s ease; z-index:2; }
.cal-cell:hover .cal-add-btn{ opacity:1; }
.cal-add-btn svg{ width:14px; height:14px; stroke-width:2.6; }
.cal-cell:hover{ transform:translateY(-1px); box-shadow:var(--shadow-md); }
.cal-cell.out{ opacity:.4; box-shadow:none; }
.cal-cell.today{ border-color:var(--accent); background:var(--accent-wash); }
.cal-date{ font-size:12px; font-weight:700; color:var(--ink-2); font-variant-numeric:tabular-nums; }
.cal-cell.today .cal-date{ display:inline-flex; align-items:center; justify-content:center; width:19px; height:19px; border-radius:50%; background:var(--accent); color:#fff; }
.cal-evt{ display:flex; align-items:center; gap:4px; padding:3px 7px; border-radius:999px; background:var(--surface-3); font-size:10.5px; font-weight:600; cursor:pointer; overflow:hidden; transition:.14s ease; }
.cal-evt:hover{ background:var(--accent-wash); }
.cal-evt:hover{ border-color:var(--ink-3); }
.cal-evt span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cal-more{ font-size:10px; color:var(--ink-2); font-weight:700; padding:3px 7px; border-radius:999px; background:var(--surface-3); cursor:pointer; align-self:flex-start; }
.legend{ display:flex; flex-wrap:wrap; gap:12px; margin-top:14px; }
.legend-item{ display:flex; align-items:center; gap:6px; font-size:12px; color:var(--ink-2); font-weight:600; }

/* ============ MODAL / SLIDEOVER ============ */
.overlay{ position:fixed; inset:0; background:rgba(10,8,4,.42); backdrop-filter:blur(1px); z-index:40; display:flex; justify-content:flex-end; animation:fade .16s ease; }
.overlay.left{ justify-content:flex-start; }
@keyframes fade{ from{opacity:0;} to{opacity:1;} }
.overlay.center{ justify-content:center; align-items:center; padding:20px; }
.sheet{ position:relative; width:560px; max-width:100%; height:100%; background:var(--page); box-shadow:var(--shadow-md); overflow-y:auto; animation:slidein .2s ease; }
.kebab-scrim{ position:absolute; inset:0; background:rgba(20,16,8,.28); z-index:9; }
@keyframes slidein{ from{transform:translateX(24px); opacity:0;} to{transform:translateX(0); opacity:1;} }
@keyframes contentEnterRight{ from{opacity:0; transform:translateX(14px);} to{opacity:1; transform:translateX(0);} }
@keyframes contentEnterLeft{ from{opacity:0; transform:translateX(-14px);} to{opacity:1; transform:translateX(0);} }
.content.view-enter-right{ animation:contentEnterRight .26s cubic-bezier(.16,1,.3,1); }
.content.view-enter-left{ animation:contentEnterLeft .26s cubic-bezier(.16,1,.3,1); }
@keyframes contentExitRight{ from{opacity:1; transform:translateX(0);} to{opacity:0; transform:translateX(14px);} }
@keyframes contentExitLeft{ from{opacity:1; transform:translateX(0);} to{opacity:0; transform:translateX(-14px);} }
.content-exit-clone{ position:fixed; margin:0; pointer-events:none; z-index:6; box-sizing:border-box; overflow:hidden; }
.content-exit-clone.exit-right{ animation:contentExitRight .26s cubic-bezier(.16,1,.3,1) forwards; }
.content-exit-clone.exit-left{ animation:contentExitLeft .26s cubic-bezier(.16,1,.3,1) forwards; }
@media (prefers-reduced-motion: reduce){ .content.view-enter-right, .content.view-enter-left{ animation:none; } .content-exit-clone{ display:none; } }
.modal{ width:520px; max-width:100%; max-height:90vh; overflow-y:auto; background:var(--surface); border-radius:var(--r-lg); box-shadow:var(--shadow-md); animation:pop .16s ease; }
@keyframes pop{ from{transform:scale(.97); opacity:0;} to{transform:scale(1); opacity:1;} }
.sheet-head{ display:flex; align-items:flex-start; justify-content:space-between; padding:20px 22px; padding-top:max(20px, env(safe-area-inset-top)); border-bottom:1px solid var(--border); background:var(--surface); position:sticky; top:0; z-index:15; }
.sheet-body{ padding:20px 22px 40px; display:flex; flex-direction:column; gap:18px; }

/* ============ FORM ============ */
.field{ display:flex; flex-direction:column; gap:5px; }
.field label{ font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-3); }
.field input, .field select, .field textarea{ padding:9px 11px; border-radius:var(--r-sm); border:1px solid var(--border-strong); background:var(--surface); color:var(--ink); font-size:16px; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--accent); }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.artist-pick{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.artist-opt{ display:flex; flex-direction:column; align-items:center; gap:6px; padding:10px 6px; border-radius:var(--r-sm); border:1.5px solid var(--border); cursor:pointer; text-align:center; }
.artist-opt span{ font-size:11px; font-weight:600; line-height:1.2; }
.artist-opt.sel{ border-color:var(--accent); background:var(--accent-wash); }

/* ============ TIMELINE ============ */
.timeline{ display:flex; align-items:flex-start; gap:0; overflow-x:auto; padding-bottom:4px; }
.tl-step{ display:flex; flex-direction:column; align-items:center; gap:6px; min-width:84px; position:relative; }
.tl-dot{ width:22px; height:22px; border-radius:50%; border:2px solid var(--border-strong); background:var(--surface); display:flex; align-items:center; justify-content:center; font-size:11px; color:var(--ink-3); font-weight:700; z-index:1; }
.tl-line{ position:absolute; top:10px; left:calc(-50% + 11px); width:calc(100% - 22px); height:2px; background:var(--border-strong); }
.tl-step:first-child .tl-line{ display:none; }
.tl-label{ font-size:10.5px; text-align:center; color:var(--ink-3); font-weight:600; line-height:1.2; }
.tl-step.done .tl-dot{ background:var(--good); border-color:var(--good); color:#fff; }
.tl-step.done .tl-line{ background:var(--good); }
.tl-step.done .tl-label{ color:var(--ink-2); }
.tl-step.current .tl-dot{ background:var(--accent); border-color:var(--accent); color:#fff; }
.tl-step.current .tl-label{ color:var(--ink); font-weight:700; }

/* ============ LEDGER ============ */
.ledger{ font-family:var(--font-mono); font-size:13px; }
.ledger-row{ display:flex; justify-content:space-between; padding:7px 0; border-bottom:1px dashed var(--border); }
.ledger-row.total{ border-bottom:none; border-top:1px solid var(--border-strong); margin-top:2px; padding-top:10px; font-weight:700; font-size:14.5px; }
.ledger-row .amt{ font-variant-numeric:tabular-nums; }

/* ============ ACTIVITY LOG ============ */
.log{ display:flex; flex-direction:column; gap:0; }
.log-item{ display:flex; gap:10px; padding:9px 0; border-bottom:1px solid var(--border); font-size:12.5px; }
.log-item:last-child{ border-bottom:none; }
.log-ico{ width:22px; height:22px; border-radius:50%; background:var(--surface-3); display:flex; align-items:center; justify-content:center; flex:none; font-size:11px; }
.log-ico.warn{ background:var(--warn-wash); color:var(--warn-ink); }
.log-time{ color:var(--ink-3); font-size:11px; }

/* ============ TOASTS ============ */
.toast-wrap{ position:fixed; bottom:18px; right:18px; z-index:80; display:flex; flex-direction:column; gap:8px; max-width:340px; }
.toast{ background:var(--surface); border:1px solid var(--border-strong); box-shadow:var(--shadow-md); border-radius:var(--r-md); padding:11px 14px; font-size:13px; display:flex; gap:9px; align-items:flex-start; animation:toastin .18s ease; }
@keyframes toastin{ from{transform:translateY(8px); opacity:0;} to{transform:translateY(0); opacity:1;} }

/* ============ LOGIN ============ */
.login-wrap{ min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px; background:
  radial-gradient(circle at 15% 12%, var(--accent-wash), transparent 42%),
  var(--page); }
.login-card{ width:100%; max-width:560px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); box-shadow:var(--shadow-md); padding:34px 32px; }
.login-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:22px; }
.login-card.chooser{ position:relative; padding-top:44px; }
.chooser-back{ position:absolute; top:14px; left:14px; }
.chooser-list{ display:flex; flex-direction:column; gap:2px; max-height:360px; overflow-y:auto; margin-top:6px; }
.chooser-row{ display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:var(--r-sm); border:none; background:transparent; text-align:left; width:100%; cursor:pointer; }
.chooser-row:hover{ background:var(--surface-2); }
.chooser-row strong{ display:block; font-size:13.5px; font-weight:600; }
.chooser-email{ display:block; font-size:11.5px; color:var(--ink-3); }
.chooser-divider{ font-size:10.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--ink-3); font-weight:700; padding:10px 12px 4px; }

/* ============ SPARKBAR ============ */
.sparkbar{ display:flex; align-items:flex-end; gap:2px; height:36px; }
.sparkbar b{ flex:1; background:var(--accent); border-radius:2px 2px 0 0; opacity:.85; min-width:3px; }

/* ============ PROJECT FOLDERS ============ */
.grid-folders{ grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); }
.project-folder{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); box-shadow:var(--shadow-sm); overflow:hidden; cursor:pointer; transition:.16s cubic-bezier(.2,.7,.3,1); }
.project-folder:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.project-folder-cover{ position:relative; aspect-ratio:16/10; background-size:cover; background-position:center; display:flex; align-items:center; justify-content:center; }
.project-folder-cover-fallback{ font-family:var(--font-display); font-size:2.2rem; font-weight:700; color:rgba(255,255,255,.85); }
.project-folder-cover-upload{ position:absolute; bottom:6px; right:6px; width:26px; height:26px; border-radius:50%; background:rgba(0,0,0,.5); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:.14s ease; }
.project-folder-cover-upload:hover{ background:rgba(0,0,0,.7); }
.project-folder-cover-remove{ position:absolute; top:6px; right:6px; background:rgba(0,0,0,.5); color:#fff; }
.project-folder-cover-remove:hover{ background:rgba(0,0,0,.7); color:#fff; }
.project-folder-body{ padding:12px 14px 14px; }

/* ============ STICKY BOARD ============ */
.sticky-board{ display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:16px; align-items:start; padding:4px 2px; }
.sticky-card{ background:color-mix(in srgb, var(--card-accent, var(--accent)) 16%, var(--surface)); border:1px solid color-mix(in srgb, var(--card-accent, var(--accent)) 30%, var(--border)); border-radius:var(--r-md) var(--r-md) 3px var(--r-md); box-shadow:var(--shadow-sm); padding:10px 12px 12px; display:flex; flex-direction:column; transition:transform .16s ease, box-shadow .16s ease; }
.sticky-card:nth-child(3n+1){ transform:rotate(-.6deg); }
.sticky-card:nth-child(3n+2){ transform:rotate(.5deg); }
.sticky-card:nth-child(3n){ transform:rotate(-.3deg); }
.sticky-card:hover{ box-shadow:var(--shadow-md); }
.sticky-card:focus-within{ transform:rotate(0deg); box-shadow:var(--shadow-md); position:relative; z-index:2; }
.sticky-card-head{ display:flex; align-items:center; gap:4px; margin-bottom:4px; }
.sticky-card-items{ display:flex; flex-direction:column; gap:1px; }
.sticky-card-item{ display:flex; align-items:center; gap:8px; padding:4px 0; font-size:12.5px; }
.sticky-card-item span{ flex:1; min-width:0; word-break:break-word; }
.sticky-card-item button{ border:none; background:none; cursor:pointer; color:var(--ink-3); padding:0; display:flex; flex:none; }
.sticky-card-empty{ font-size:11.5px; color:var(--ink-3); margin:2px 0; }
.blend-input{ border:none; background:transparent; color:var(--ink); padding:2px 0; width:100%; font-size:13px; font-weight:700; }
.blend-input::placeholder{ color:var(--ink-3); font-weight:600; }
.blend-input:focus{ outline:none; background:var(--surface-2); border-radius:6px; padding:2px 6px; }

/* ============ KEBAB MENU ============ */
.kebab-dropdown{ position:absolute; top:38px; right:0; background:var(--surface); border:1px solid var(--border-strong); border-radius:var(--r-md); box-shadow:var(--shadow-md); min-width:170px; z-index:10; overflow:hidden; }
.kebab-item{ display:flex; align-items:center; gap:9px; width:100%; padding:10px 14px; font-size:13px; font-weight:600; color:var(--ink); background:transparent; border:none; text-align:left; }
.kebab-item:hover{ background:var(--surface-2); }
.kebab-item.danger{ color:var(--crit); }
.kebab-item.danger:hover{ background:var(--crit-wash); }

/* ============ INSTALL BANNER ============ */
.install-banner{ position:fixed; left:0; right:0; bottom:0; z-index:75; background:var(--ink); color:var(--page); padding:12px 14px calc(12px + env(safe-area-inset-bottom)); display:flex; align-items:flex-start; gap:10px; box-shadow:0 -4px 16px rgba(0,0,0,.18); }
.install-banner .ib-icon{ width:36px; height:36px; border-radius:9px; flex:none; background:var(--accent); display:flex; align-items:center; justify-content:center; color:#fff; font-family:var(--font-display); font-weight:700; font-size:13px; }
.install-banner .ib-text{ flex:1; min-width:0; font-size:12px; line-height:1.4; color:var(--page); opacity:.92; }
.install-banner .ib-text strong{ display:block; font-size:13.5px; margin-bottom:2px; color:var(--page); opacity:1; }
.install-banner .ib-steps{ display:inline-flex; align-items:center; gap:3px; vertical-align:-2px; }
.install-banner .btn{ flex:none; }
.install-banner .ib-close{ flex:none; background:transparent; border:none; color:var(--page); opacity:.65; padding:2px; }
body:has(.bottom-nav) .install-banner{ bottom:80px; }

/* ============ MISC ============ */
.empty{ text-align:center; padding:40px 20px; color:var(--ink-3); font-size:13px; }
.chip-row{ display:flex; flex-wrap:wrap; gap:8px; }
.filter-chip{ padding:6px 12px; border-radius:999px; border:1px solid var(--border-strong); background:var(--surface); font-size:12px; font-weight:600; display:flex; align-items:center; gap:6px; }
.filter-chip.sel{ background:var(--ink); color:var(--page); border-color:var(--ink); }
.artist-filter-select, .tab-select{ display:none; width:100%; padding:10px 12px; border-radius:var(--r-sm); border:1px solid var(--border-strong); background:var(--surface); font-size:14px; font-weight:600; color:var(--ink); margin-bottom:14px; }
.tabbar{ display:flex; gap:4px; border-bottom:1px solid var(--border); }
.tab{ padding:10px 4px; margin-right:18px; font-size:13.5px; font-weight:700; color:var(--ink-3); border-bottom:2px solid transparent; }
.tab.active{ color:var(--ink); border-color:var(--accent); }
.bottom-nav{ display:none; }

/* ============ SETTINGS ============ */
.settings-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0; border-bottom:1px solid var(--border); }
.settings-row:last-child{ border-bottom:none; }
.settings-row h4{ font-size:13.5px; margin:0 0 2px; }
.settings-row p{ font-size:12px; color:var(--ink-3); margin:0; }
.switch{ position:relative; display:inline-flex; width:42px; height:24px; flex:none; cursor:pointer; }
.switch input{ opacity:0; width:0; height:0; position:absolute; }
.switch-track{ position:absolute; inset:0; background:var(--surface-3); border-radius:999px; transition:.18s ease; }
.switch-track::before{ content:""; position:absolute; width:18px; height:18px; left:3px; top:3px; background:#fff; border-radius:50%; transition:.2s cubic-bezier(.2,.7,.3,1); box-shadow:0 1px 2px rgba(0,0,0,.25); }
.switch input:checked + .switch-track{ background:var(--accent); }
.switch input:checked + .switch-track::before{ transform:translateX(18px); }
.switch input:focus-visible + .switch-track{ outline:2px solid var(--accent); outline-offset:2px; }
.seg{ position:relative; display:inline-flex; background:var(--surface-3); border-radius:999px; padding:3px; gap:2px; }
.seg button{ position:relative; z-index:1; width:36px; height:32px; display:flex; align-items:center; justify-content:center; border-radius:999px; background:transparent; color:var(--ink-3); transition:color .18s ease; }
.seg button.active{ color:var(--ink); }
.seg-thumb{ position:absolute; top:3px; left:3px; width:36px; height:32px; background:var(--surface); border-radius:999px; box-shadow:var(--shadow-sm); transition:transform .22s cubic-bezier(.2,.7,.3,1); z-index:0; }
.passkey-row{ display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); }
.passkey-row:last-child{ border-bottom:none; }
.passkey-ico{ width:36px; height:36px; border-radius:var(--r-md); background:var(--surface-3); display:flex; align-items:center; justify-content:center; flex:none; color:var(--ink-2); }

/* ============ CONTRACT DOC ============ */
.doc{ width:640px; max-width:100%; max-height:92vh; overflow-y:auto; background:var(--surface); border-radius:var(--r-lg); box-shadow:var(--shadow-md); animation:pop .16s ease; }
.doc-body{ padding:36px 44px 44px; }
.doc-letterhead{ display:flex; align-items:center; justify-content:space-between; padding-bottom:18px; border-bottom:2px solid var(--ink); margin-bottom:22px; }
.doc-title{ font-family:var(--font-display); font-size:1.7rem; font-weight:700; text-align:center; margin:6px 0 2px; }
.doc-sub{ text-align:center; font-size:11.5px; color:var(--ink-3); margin-bottom:26px; }
.doc-parties{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:22px; }
.doc-party h4{ font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:var(--ink-3); font-weight:700; margin-bottom:6px; }
.doc-party p{ margin:0; font-size:13.5px; line-height:1.5; }
.doc-section h3{ font-family:var(--font-display); font-size:1.05rem; margin-bottom:10px; padding-top:4px; }
.doc-facts{ display:grid; grid-template-columns:1fr 1fr; gap:10px 20px; font-size:13px; margin-bottom:22px; }
.doc-facts div span{ display:block; }
.doc-facts .k{ font-size:10.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-3); font-weight:700; margin-bottom:2px; }
.doc-terms{ font-size:12.5px; line-height:1.7; color:var(--ink-2); padding-left:18px; margin:0 0 24px; }
.doc-sign{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:30px; }
.doc-sign-line{ border-top:1px solid var(--ink); padding-top:8px; font-size:12px; color:var(--ink-2); }
.doc-sign-line strong{ display:block; font-size:13.5px; color:var(--ink); font-family:var(--font-display); }
.doc-signature{ display:inline-block; font-family:"Snell Roundhand","Segoe Script","Brush Script MT",cursive; font-size:1.9rem; font-weight:400; color:var(--ink); line-height:1.1; transform:rotate(-2deg); margin-bottom:2px; }
.doc-foot{ margin-top:28px; padding-top:14px; border-top:1px solid var(--border); font-size:10.5px; color:var(--ink-3); text-align:center; }
@media print{
  body > *:not(#contractPrintHost):not(#itineraryPrintHost):not(#invoicePrintHost):not(#documentPrintHost):not(#gigInfoPrintHost):not(#contractBuilderPrintHost){ display:none !important; }
  #contractPrintHost, #contractPrintHost .overlay, #itineraryPrintHost, #itineraryPrintHost .overlay, #invoicePrintHost, #invoicePrintHost .overlay, #documentPrintHost, #documentPrintHost .overlay, #gigInfoPrintHost, #gigInfoPrintHost .overlay, #contractBuilderPrintHost, #contractBuilderPrintHost .overlay{ position:static !important; background:transparent !important; inset:auto !important; display:block !important; padding:0 !important; }
  #contractPrintHost .doc, #itineraryPrintHost .doc, #invoicePrintHost .doc, #documentPrintHost .doc, #gigInfoPrintHost .doc, #contractBuilderPrintHost .doc{ box-shadow:none; max-height:none; width:100%; animation:none; }
  #contractPrintHost .sheet-head, #itineraryPrintHost .sheet-head, #invoicePrintHost .sheet-head, #documentPrintHost .sheet-head, #gigInfoPrintHost .sheet-head, #contractBuilderPrintHost .sheet-head{ display:none; }
}
@media (max-width: 860px){
  body{ font-size:14px; }
  .rail{ display:none; }
  .content{ padding:12px 12px 100px; }
  .topbar{ padding:8px 10px; padding-top:max(8px, env(safe-area-inset-top)); gap:6px; }
  .topbar h1{ font-size:1.1rem; }
  .hamburger-btn{ display:inline-flex; }
  .artist-top-tabs{ display:none; }
  .user-chip{ display:none; }
  .stat-row{ display:flex; flex-direction:column; gap:8px; }
  .stat-row > *{ min-width:0; }
  .table-cards{ overflow-x:visible; }
  .timeline{ overflow-x:visible; gap:0; }
  .tl-step{ min-width:0; flex:1; gap:4px; }
  .tl-dot{ width:19px; height:19px; font-size:9px; }
  .tl-line{ left:calc(-50% + 10px); width:calc(100% - 20px); }
  .tl-label{ font-size:8px; }
  .sticky-board{ grid-template-columns:1fr; gap:10px; }
  .sticky-card{ padding:8px 10px 10px; }
  .fin-chart{ gap:6px !important; }
  .table-cards table, .table-cards tbody, .table-cards tr, .table-cards td{ display:block; width:100%; }
  .table-cards thead{ display:none; }
  .table-cards tr{ padding:10px 12px; border-bottom:1px solid var(--border); }
  .table-cards tr:last-child{ border-bottom:none; }
  .table-cards td{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:3px 0; border-bottom:none; font-size:12px; }
  .table-cards td::before{ content:attr(data-label); font-size:9.5px; text-transform:uppercase; letter-spacing:.04em; color:var(--ink-3); font-weight:700; flex:none; }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .field-row{ grid-template-columns:1fr; }
  .artist-pick{ grid-template-columns:repeat(2,1fr); }
  .sheet{ width:100%; }
  .doc-body{ padding:18px 14px 24px; }
  .doc-parties, .doc-facts, .doc-sign{ grid-template-columns:1fr; gap:12px; }
  .doc-title{ font-size:1.25rem; }
  .cal-nav{ flex-wrap:wrap; row-gap:8px; }
  .cal-nav strong{ min-width:0 !important; flex:1 1 auto; font-size:.9rem !important; }
  .cal-nav .chip-row{ margin-left:0 !important; width:100%; }
  .cal-grid{ gap:3px; }
  /* Was aspect-ratio:1 (his 2026-08-02 "square out the calendar" ask) + overflow:hidden +
     min-height:0 -- that combination forced every cell in a row to the SAME square size, which
     breaks the moment any one cell in that row needs more height for 3 events + "+N more" (grid
     rows auto-size to their tallest cell, so a busy day stretches the whole row; aspect-ratio:1
     then tries to re-derive THAT CELL's width from its new, taller height, overflowing past its
     own column -- confirmed live, horizontal overflow at 390px, test_mobile.py). A real calendar
     (Google/Apple, the apps this UI was already modeled on) doesn't force true square cells under
     variable content either -- width stays column-driven, height grows per row as needed. Keeping
     a min-height here instead gives light days a reasonably square FLOOR without forcing busy
     days to match it. */
  .cal-cell{ min-height:46px; padding:4px 3px; gap:2px; min-width:0; overflow-x:hidden; }
  .cal-date{ font-size:10px; }
  .cal-evt{ font-size:8.5px; padding:1px 3px; }
  .cal-dow{ font-size:8.5px; }
  .card-pad{ padding:11px 13px; }
  .stat-tile{ padding:11px 13px; gap:3px; }
  .stat-tile .val{ font-size:1.25rem; }
  .stat-tile .sub{ font-size:10px; }
  .section-head{ margin-bottom:8px; }
  .section-head h2{ font-size:.95rem; }
  .bottom-nav{ display:flex; position:fixed; left:max(12px, env(safe-area-inset-left)); right:max(12px, env(safe-area-inset-right)); bottom:max(12px, env(safe-area-inset-bottom)); border-radius:999px; background:linear-gradient(180deg, color-mix(in srgb, var(--page) 94%, var(--glass-sheen)) 0%, color-mix(in srgb, var(--page) 97%, transparent) 60%); backdrop-filter:blur(28px) saturate(130%); -webkit-backdrop-filter:blur(28px) saturate(130%); border:1px solid var(--border); box-shadow:0 10px 30px -10px rgba(20,20,26,.28), 0 2px 10px rgba(20,20,26,.08), inset 0 1px 0 var(--glass-edge); padding:5px 6px; justify-content:space-around; z-index:30; box-sizing:border-box; }
  .bn-item{ text-decoration:none; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; font-size:10px; font-weight:600; color:var(--ink-3); padding:6px 4px; min-height:52px; border-radius:999px; flex:1; min-width:0; position:relative; z-index:1; }
  .bn-item .ico{ width:18px; height:18px; }
  .bn-item span{ max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .bn-item.active{ color:var(--accent-ink); font-weight:700; }
  .bn-item.active .ico{ color:var(--accent-ink); }
  .bn-slider{ position:absolute; top:5px; bottom:5px; border-radius:999px; background:color-mix(in srgb, var(--accent) 55%, transparent); backdrop-filter:blur(8px) saturate(160%); -webkit-backdrop-filter:blur(8px) saturate(160%); border:1px solid color-mix(in srgb, var(--accent) 70%, transparent); box-shadow:0 1px 2px rgba(20,20,26,.12),0 4px 14px -4px var(--accent), inset 0 1px 0 rgba(255,255,255,.35); z-index:0; transition:left .22s cubic-bezier(.2,.7,.3,1), width .22s cubic-bezier(.2,.7,.3,1); }
  .bn-item[data-view="artists"], .bn-item[data-view="travel"], .bn-item[data-view="pricing"], .bn-item[data-view="messages"], .bn-item[data-view="outside_bookings"], .bn-item[data-view="documents"], .bn-item[data-view="contracts"], .bn-item[data-view="contract_builder"]{ display:none; }
  /* Artist bottom nav: Dashboard sits centered and slightly larger than the other
     4 items (reordered visually via flex `order`, not DOM order, so the desktop
     top-tabs and slide-direction logic — both driven by ARTIST_NAV_ITEMS' real
     order — are untouched). Projects moves to the hamburger slide-out menu only. */
  .bn-item[data-view="a_calendar"]{ order:1; }
  .bn-item[data-view="a_gigs"]{ order:2; }
  .bn-item[data-view="a_dashboard"]{ order:3; min-height:58px; }
  .bn-item[data-view="a_dashboard"] .ico{ width:22px; height:22px; }
  .bn-item[data-view="a_travel"]{ order:4; }
  .bn-item[data-view="a_financials"]{ order:5; }
  .bn-item[data-view="a_projects"]{ display:none; }
  /* No horizontal scrolling anywhere on mobile: wrap instead of scroll, and swap
     any wide chip-row/tabbar for a single-line dropdown. */
  .tabbar{ flex-wrap:wrap; overflow-x:visible; row-gap:4px; }
  .tab{ white-space:nowrap; margin-right:14px; }
  .tabbar-row, .artist-filter-chips{ display:none; }
  .artist-filter-select, .tab-select{ display:block; }
  .sheet-body{ padding:14px 12px 26px; gap:12px; }
  .grid-folders{ grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:10px; }
  .project-folder-cover{ aspect-ratio:2/1; }
  .project-folder-cover-fallback{ font-size:1.6rem; }
  .project-folder-body{ padding:9px 11px 11px; }
  .project-folder-body strong{ font-size:13px !important; }
}
@media (max-width: 480px){
  .grid-3{ grid-template-columns:1fr 1fr; }
  .newlead-btn{ padding:9px 12px; flex:none; }
  .askai-btn{ padding:9px 10px; flex:none; }
  .chip-name{ display:none; }
  .user-chip{ padding:4px; }
  .cal-cell{ min-height:40px; padding:3px 2px; }
  .cal-evt span{ max-width:34px; }
  .stat-tile .val{ font-size:1.15rem; }
  .bn-item span{ font-size:8.5px; }
  .bn-item .ico{ width:19px; height:19px; }
  .bn-item{ padding:6px 2px; min-height:46px; }
  .bn-item[data-view="a_dashboard"]{ min-height:52px; }
  .bn-item[data-view="a_dashboard"] .ico{ width:23px; height:23px; }
  .grid-folders{ grid-template-columns:1fr 1fr; }
}

/* ============ OPENER ============ */
#opener{ position:fixed; inset:0; z-index:200; background:#12151C; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; transition:transform .85s cubic-bezier(.76,0,.24,1), opacity .5s ease .3s; cursor:pointer; }
#opener.leaving{ transform:translateY(-100%); }
.opener-mark{ display:flex; align-items:flex-end; gap:7px; height:56px; position:relative; }
.opener-mark i{ display:block; width:9px; border-radius:5px; background:#7FA0D1; transform:scaleY(0); transform-origin:bottom; animation:openerBar .5s cubic-bezier(.3,1.6,.5,1) forwards; }
.opener-mark i:nth-child(1){height:40%; animation-delay:.15s;}
.opener-mark i:nth-child(2){height:100%; animation-delay:.25s;}
.opener-mark i:nth-child(3){height:65%; animation-delay:.35s;}
.opener-mark i:nth-child(4){height:85%; animation-delay:.45s;}
.opener-mark i:nth-child(5){height:50%; animation-delay:.55s;}
@keyframes openerBar{ to{ transform:scaleY(1); } }
.opener-mark.activate{ animation:openerDip .4s ease; }
.opener-mark.activate i{ animation:openerBar .5s cubic-bezier(.3,1.6,.5,1) forwards, openerGlow 1.4s ease; }
@keyframes openerDip{ 0%{transform:scale(1);} 40%{transform:scale(.93);} 100%{transform:scale(1);} }
@keyframes openerGlow{ 0%{filter:drop-shadow(0 0 0 transparent);} 20%{filter:drop-shadow(0 0 18px #7FA0D1);} 55%{filter:drop-shadow(0 0 16px #7FA0D1);} 100%{filter:drop-shadow(0 0 0 transparent);} }
.opener-word{ font-family:var(--font-display); font-weight:600; font-size:2.5rem; letter-spacing:-.01em; color:#F1F3F7; opacity:0; transform:translateY(10px); animation:openerFadeUp .6s ease forwards; animation-delay:.85s; }
.opener-tag{ font-family:-apple-system,sans-serif; font-size:11px; letter-spacing:.28em; text-transform:uppercase; color:#7C8698; opacity:0; animation:openerFadeUp .6s ease forwards; animation-delay:1.05s; }
@keyframes openerFadeUp{ to{opacity:1; transform:translateY(0);} }
.opener-skip{ position:absolute; bottom:28px; font-family:-apple-system,sans-serif; font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:#5C6270; opacity:0; animation:openerFadeUp .5s ease forwards; animation-delay:1.6s; }
@media (prefers-reduced-motion: reduce){ #opener{ display:none; } }
