/* Irun — "Adire cobalt" theme: warm paper, cobalt ink, hibiscus + saffron accents */
:root {
  --bg: #F3EEE4; --bg-2: #EAE3D5; --surface: #FFFCF6; --surface-2: #F6F0E4;
  --ink: #15130F; --ink-2: #3F3931; --muted: #736A5E; --line: #DCD2C0; --line-2: #E8E0D1;
  --brand: #2B34C9; --brand-ink: #FFFFFF; --brand-soft: #E3E4FB;
  --hibiscus: #E8542A; --saffron: #F2B73A; --leaf: #13764D; --danger: #C22F2F; --warn: #9A6200;
  --ok-bg: #DDF1E6; --warn-bg: #FBEFD2; --bad-bg: #F9DEDA; --info-bg: #E3E4FB;
  --shadow: 0 1px 0 rgba(21,19,15,.04), 0 12px 32px -16px rgba(21,19,15,.18);
  --r: 20px; --r-sm: 12px; --r-lg: 32px;
  --font: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D0E16; --bg-2: #131522; --surface: #171A29; --surface-2: #1E2134;
    --ink: #F4EFE6; --ink-2: #D2CBBE; --muted: #9A94A6; --line: #2C3048; --line-2: #23263A;
    --brand: #8C92FF; --brand-ink: #0D0E16; --brand-soft: #25284A;
    --hibiscus: #FF7A52; --saffron: #F5C45A; --leaf: #52C592; --danger: #FF7B72; --warn: #F2B73A;
    --ok-bg: #16392A; --warn-bg: #3A2E12; --bad-bg: #3E1C1C; --info-bg: #25284A;
    --shadow: 0 1px 0 rgba(0,0,0,.3), 0 18px 40px -20px rgba(0,0,0,.7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D0E16; --bg-2: #131522; --surface: #171A29; --surface-2: #1E2134;
  --ink: #F4EFE6; --ink-2: #D2CBBE; --muted: #9A94A6; --line: #2C3048; --line-2: #23263A;
  --brand: #8C92FF; --brand-ink: #0D0E16; --brand-soft: #25284A;
  --hibiscus: #FF7A52; --saffron: #F5C45A; --leaf: #52C592; --danger: #FF7B72; --warn: #F2B73A;
  --ok-bg: #16392A; --warn-bg: #3A2E12; --bad-bg: #3E1C1C; --info-bg: #25284A;
  --shadow: 0 1px 0 rgba(0,0,0,.3), 0 18px 40px -20px rgba(0,0,0,.7); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); font-optical-sizing: auto; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0 0 .6em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
code, .mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .92em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); } .small { font-size: .86rem; } .center { text-align: center; justify-content: center; }
.row { display: flex; align-items: center; } .between { justify-content: space-between; } .gap { gap: 12px; } .gap-s { gap: 6px; flex-wrap: wrap; } .wrap-gap { gap: 12px; flex-wrap: wrap; }
.ico { display: inline-block; vertical-align: -0.2em; width: 1.15em; height: 1.15em; flex: none; }
.ico.fill { fill: var(--saffron); stroke: var(--saffron); }
.ico.rot90 { transform: rotate(90deg); }
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--hibiscus); margin: 0 0 10px; }
.eyebrow.light { color: var(--saffron); }
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.h3 { font-size: 1.15rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.display { font-size: clamp(2.6rem, 7vw, 5.6rem); letter-spacing: -0.04em; line-height: .95; margin-bottom: 18px; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.section { padding-block: clamp(48px, 7vw, 96px); }
.hot { color: var(--danger); font-weight: 600; } .ok { color: var(--leaf); display: inline-flex; gap: 4px; align-items: center; }

/* buttons */
.btn { --b: var(--surface); display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--b); color: var(--ink); padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; line-height: 1.1; }
.btn:hover { transform: translateY(-1px); border-color: var(--ink-2); }
.btn:active { transform: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: transparent; box-shadow: 0 8px 20px -10px var(--brand); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { background: var(--danger); color: #fff; border-color: transparent; }
.btn.ghost { background: transparent; }
.btn.light { background: #FFFCF6; color: #15130F; border-color: transparent; }
.btn.outline-light { background: transparent; color: #FFFCF6; border-color: rgba(255,255,255,.4); }
.btn.lg { padding: 15px 24px; font-size: 1rem; }
.btn.sm { padding: 8px 14px; font-size: .88rem; }
.btn.xs { padding: 6px 11px; font-size: .8rem; gap: 5px; }
.btn.block { width: 100%; }
.linkish { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: background .15s; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn.sm { width: 32px; height: 32px; }
.icon-btn.glass { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.icon-btn.glass:hover { background: rgba(255,255,255,.3); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; background: var(--surface); white-space: nowrap; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.tiny { padding: 3px 9px; font-size: .74rem; gap: 4px; font-weight: 600; background: var(--surface-2); }
.chip.tiny.light { background: rgba(255,255,255,.18); border-color: transparent; color: #fff; }
.chip.tiny.warn { background: var(--warn-bg); color: var(--warn); }
.avatar { display: inline-grid; place-items: center; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 700; flex: none; width: 40px; height: 40px; font-size: .9rem; }
.avatar.xs { width: 26px; height: 26px; font-size: .68rem; } .avatar.sm { width: 34px; height: 34px; font-size: .78rem; }
.avatar.xl { width: 88px; height: 88px; font-size: 1.8rem; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); font-family: var(--serif); font-style: italic; font-weight: 400; }

/* header / footer */
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line-2); }
.head-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.05em; text-decoration: none; }
.logo .dot { color: var(--hibiscus); }
.logo-mark { width: 26px; height: 26px; border-radius: 50% 50% 50% 8px; background: conic-gradient(from 200deg, var(--brand), var(--hibiscus), var(--saffron), var(--brand)); box-shadow: inset 0 0 0 5px var(--bg); outline: 2px solid var(--ink); outline-offset: -2px; }
.head-nav { display: flex; gap: 22px; font-weight: 500; font-size: .95rem; }
.head-nav a { text-decoration: none; color: var(--ink-2); }
.head-nav a:hover { color: var(--ink); text-decoration: underline; }
.head-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.site-foot { background: var(--bg-2); border-top: 1px solid var(--line); margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 32px; }
.foot-grid h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.foot-grid a, .foot-grid .linkish { display: block; margin-bottom: 8px; text-decoration: none; font-size: .95rem; }
.foot-grid p { max-width: 36ch; margin-top: 12px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px 28px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* generated art + photos */
.art { width: 100%; height: 100%; }
.photo { width: 100%; height: 100%; object-fit: cover; display: block; background: linear-gradient(135deg, var(--surface-2), var(--line)); color: transparent; }
.photo:not(.ready) { opacity: 0; }
.photo.ready { opacity: 1; transition: opacity .5s ease; }
.photo.broken { visibility: hidden; }
.poster > .photo, .vhero > .photo { object-position: 50% 28%; }
.poster, .vhero, .pro-band { background-color: #1B1712; }
.vcard-art, .adcard-art, .adrow-art, .bcard-art, .side-biz .photo, .cell-biz .photo, .sum-v .photo { background: var(--surface-2); }

/* ---------- tickers ---------- */
.ticker { position: relative; width: 100%; overflow: hidden; }
.tk-viewport { overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.tk-viewport.dragging { cursor: grabbing; }
.tk-track { display: flex; width: max-content; will-change: transform; }
.hero-ticker { padding-top: 14px; }
.poster { position: relative; flex: none; width: min(78vw, 1000px); height: clamp(440px, 70vh, 680px); margin-right: 14px; border-radius: var(--r-lg); overflow: hidden; color: #FFFCF6; isolation: isolate; }
.poster > .art, .poster > .photo { position: absolute; inset: 0; z-index: -2; }
.poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,18,.35) 0%, rgba(8,8,18,.1) 30%, rgba(8,8,18,.82) 100%), linear-gradient(90deg, rgba(8,8,18,.6), transparent 70%); }
.poster-in { height: 100%; display: flex; flex-direction: column; padding: clamp(22px, 4vw, 48px); }
.poster-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sponsor { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); font-weight: 600; }
.sponsor.dark { background: var(--surface-2); color: var(--muted); backdrop-filter: none; display: inline-block; margin-bottom: 8px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kicker { font-weight: 600; font-size: .95rem; }
.poster-title { margin-top: auto; font-size: clamp(2.6rem, 7.4vw, 6.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: .92; max-width: 12ch; text-wrap: balance; }
.poster-title em { display: block; font-size: 1.02em; color: var(--saffron); line-height: 1; letter-spacing: -0.02em; }
.poster-sub { font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 44ch; margin: 16px 0 22px; opacity: .92; }
.poster-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.poster-meta { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: .92rem; }
.tk-controls { display: flex; gap: 8px; }
.hero-ticker .tk-controls { justify-content: flex-end; padding: 12px var(--gutter) 0; }
.hero-ticker .icon-btn.glass { background: var(--surface); color: var(--ink); border-color: var(--line); backdrop-filter: none; }
.mid-ticker { padding-block: 40px 56px; background: var(--bg-2); border-block: 1px solid var(--line); margin-block: 24px; }
.mid-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mid-head .eyebrow { margin: 0; }
.mid-ticker .icon-btn.glass { background: var(--surface); color: var(--ink); border-color: var(--line); backdrop-filter: none; }
.adcard { flex: none; width: 380px; margin-right: 14px; display: grid; grid-template-columns: 120px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; align-items: center; }
.adcard-art { width: 120px; height: 120px; border-radius: 14px; overflow: hidden; }
.adcard h3 { font-size: 1.12rem; margin-bottom: 4px; }
.adcard p { margin-bottom: 10px; }

/* search dock */
.search-dock { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; padding-block: 56px 24px; }
.dock-intro h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.04em; line-height: .98; margin-bottom: 14px; }
.dock-intro h1 em { color: var(--brand); }
.dock-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; box-shadow: var(--shadow); }
.dock-f { display: flex; flex-direction: column; gap: 2px; background: var(--surface-2); border-radius: var(--r-sm); padding: 10px 14px; }
.dock-f > span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.dock-f select { border: 0; background: transparent; padding: 2px 0; font-weight: 600; font-size: 1rem; cursor: pointer; }
.dock-f.check-f { flex-direction: row; align-items: center; gap: 10px; font-weight: 600; }
.dock-f.check-f > span { font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--ink); }
.dock-f.check-f input { width: 20px; height: 20px; accent-color: var(--brand); }

/* categories */
.cats { display: grid; grid-template-columns: repeat(8, minmax(92px, 1fr)); gap: 12px; padding-block: 12px 8px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { display: flex; flex-direction: column; gap: 10px; align-items: center; text-decoration: none; font-weight: 600; font-size: .88rem; text-align: center; }
.cat-art { display: block; width: 100%; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: var(--surface-2); transition: border-radius .3s, transform .3s; }
.cat:hover .cat-art { border-radius: 50%; transform: rotate(-4deg); }

/* section head + segmented */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg > * { flex: none; }
.seg > * { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: none; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.seg > [aria-selected="true"] { background: var(--ink); color: var(--bg); }
.seg-n { font-size: .75rem; opacity: .7; }

/* vendor cards */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.vcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.vcard-art { display: block; aspect-ratio: 4/3; overflow: hidden; }
.vcard-art .art, .vcard-art .photo { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.vcard:hover .vcard-art .art, .vcard:hover .vcard-art .photo { transform: scale(1.05); }
.vcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vcard-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vcard h3 { font-size: 1.2rem; }
.vcard h3 a { text-decoration: none; }
.vcard h3 a:hover { text-decoration: underline; }
.vcard p { display: flex; gap: 4px; align-items: center; margin: 0; }
.vcard-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; }
.fav { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 999px; border: 0; background: rgba(255,252,246,.9); color: #15130F; display: grid; place-items: center; cursor: pointer; }
.fav.on .ico, .fav-lg.on .ico { fill: var(--hibiscus); stroke: var(--hibiscus); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; }

/* how it works */
.steps { list-style: none; padding: 0; margin: 36px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 18px; }
.step-n { font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--hibiscus); line-height: 1; display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stats div { background: var(--surface); padding: 22px; display: flex; flex-direction: column; }
.stats b { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.03em; }
.stats span { color: var(--muted); font-size: .9rem; }
.pro-band { background: #15130F; color: #F4EFE6; padding-block: clamp(56px, 8vw, 100px); position: relative; overflow: hidden; }
.pro-band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(43,52,201,.55), transparent 65%); }
.pro-photo { position: absolute; inset: 0; }
.pro-photo .photo { opacity: .5; filter: saturate(.85); -webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 70%); mask-image: linear-gradient(90deg, transparent 5%, #000 70%); }
.pro-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.pro-grid p { color: #CFC7BA; max-width: 50ch; margin: 18px 0 26px; font-size: 1.08rem; }
.pro-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pro-list li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-sm); padding: 16px; }
.pro-list .ico { color: var(--saffron); width: 22px; height: 22px; margin-top: 2px; }
.pro-list b { display: block; }
.pro-list span { color: #CFC7BA; }
.pro-list span b { color: #F4EFE6; }

/* explore */
.searchbar { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 16px; min-width: min(360px, 100%); }
.searchbar input { border: 0; background: transparent; flex: 1; min-width: 0; outline: none; }
.searchbar.sm { min-width: 240px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: thin; }
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; font-size: .9rem; }
.filters label { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.filters select { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.toggle input { width: 18px; height: 18px; accent-color: var(--brand); }
.empty { grid-column: 1/-1; text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--r); display: grid; justify-items: center; gap: 8px; }
.empty > .ico { width: 32px; height: 32px; color: var(--muted); }

/* cards + vendor page */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 2.4vw, 28px); }
.card + .card { margin-top: 18px; }
.vhero { position: relative; height: clamp(260px, 36vw, 380px); display: flex; align-items: flex-end; color: #FFFCF6; isolation: isolate; }
.vhero > .art, .vhero > .photo { position: absolute; inset: 0; z-index: -2; }
.vhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,18,.2) 0%, rgba(8,8,18,.78) 100%); }
.vhero-in { display: flex; align-items: flex-end; gap: 20px; padding-bottom: 28px; flex-wrap: wrap; }
.vhero-in h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -0.04em; margin-bottom: 6px; }
.vhero-in p { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0; }
.vhero-act { margin-left: auto; display: flex; gap: 10px; }
.vlayout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; padding-block: 28px; align-items: start; }
.sticky { position: sticky; top: 88px; }
.svc-cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 18px 0 6px; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.svc p { margin: 2px 0 0; }
.svc-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.portfolio figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 5/6; background: var(--surface-2); }
.portfolio figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; background: rgba(255,252,246,.92); color: #15130F; font-size: .76rem; padding: 5px 9px; border-radius: 8px; font-weight: 600; }
.review { margin: 0; padding: 14px 0; border-top: 1px solid var(--line-2); }
.review p { margin: 6px 0; }
.reply { background: var(--surface-2); border-radius: var(--r-sm); padding: 10px 12px; margin-top: 8px !important; font-size: .92rem; }
.stars-row { color: var(--saffron); letter-spacing: 2px; }
.stars-row .dim { color: var(--line); }
.hours { display: grid; grid-template-columns: 60px 1fr; gap: 6px 10px; margin: 0 0 22px; font-size: .92rem; }
.hours dt { font-weight: 600; } .hours dd { margin: 0; }
.areas { list-style: none; padding: 0; margin: 0 0 22px; }
.areas li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: .92rem; }
.areas.edit li span { flex: 1; }
.team { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.team li { display: flex; gap: 10px; align-items: center; }
.team li > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }

/* booking */
.back { display: inline-flex; gap: 4px; align-items: center; text-decoration: none; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.book-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; margin-top: 26px; align-items: start; }
.book-steps { display: grid; gap: 16px; }
.step { margin: 0 !important; border: 1px solid var(--line); min-width: 0; }
.step legend { font-weight: 700; font-size: 1.1rem; display: flex; gap: 10px; align-items: center; padding: 0 6px; margin-left: -6px; }
.step legend .step-n { font-size: 1.5rem; display: inline; margin: 0; }
.opt-list { display: grid; gap: 8px; margin-top: 8px; }
.opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; transition: border-color .15s, background .15s; }
.opt input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.opt.on { border-color: var(--brand); background: var(--brand-soft); }
.opt-main { flex: 1; display: flex; flex-direction: column; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 10px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-weight: 600; font-size: .92rem; }
.pill input, .day input, .time input, .swatch input { position: absolute; opacity: 0; pointer-events: none; }
.pill:has(input:focus-visible), .day:has(input:focus-visible), .time:has(input:focus-visible), .swatch:has(input:focus-visible) span { outline: 3px solid var(--brand); outline-offset: 2px; }
.pill.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill.disabled { opacity: .45; cursor: not-allowed; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 8px 2px 10px; scrollbar-width: thin; }
.day { position: relative; flex: none; width: 70px; display: flex; flex-direction: column; align-items: center; padding: 10px 0; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; font-size: .76rem; color: var(--muted); }
.day b { font-size: 1.4rem; color: var(--ink); line-height: 1.2; }
.day.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.day.on b { color: var(--brand-ink); }
.day.off { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 8px; }
.time { position: relative; text-align: center; padding: 10px 6px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: .9rem; }
.time.on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.summary .sum-v { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.summary .sum-v .art, .summary .sum-v .photo { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; }
.summary .sum-v > div { display: flex; flex-direction: column; }
.sum-lines { list-style: none; margin: 0; padding: 0; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: .92rem; }
.sum-when { display: flex; gap: 8px; align-items: center; font-weight: 600; margin: 14px 0; font-size: .92rem; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 12px; margin-bottom: 8px; }
.sum-total b { font-size: 1.8rem; letter-spacing: -0.03em; }
.summary .btn { margin-top: 10px; }

/* forms */
.form-stack { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.span-2 { grid-column: 1 / -1; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid2.top { align-items: start; }
.grid2 > .card + .card { margin-top: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field > legend { font-weight: 600; font-size: .9rem; padding: 0; }
.req { color: var(--hibiscus); margin-left: 3px; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea, select.sm {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
select.sm { width: auto; padding: 6px 10px; font-size: .85rem; border-radius: 999px; }
.field textarea { resize: vertical; min-height: 60px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 22%, transparent); }
.field input[readonly] { background: var(--surface-2); color: var(--muted); }
.field.invalid input:not([type=checkbox]):not([type=radio]), .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .hint { font-size: .8rem; color: var(--muted); margin: 0; }
.err { color: var(--danger); font-size: .82rem; margin: 0; font-weight: 500; }
.err:empty { display: none; }
.form-err { color: var(--danger); font-weight: 600; margin: 0; }
.form-err:empty { display: none; }
.field.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.field.check input, .checks input { width: 18px; height: 18px; accent-color: var(--brand); margin-top: 2px; flex: none; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.checks label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.affix { display: flex; align-items: stretch; }
.affix span { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--surface-2); color: var(--muted); font-weight: 600; font-size: .9rem; }
.affix input { border-radius: 0 var(--r-sm) var(--r-sm) 0 !important; }
.pw { position: relative; }
.pw input { padding-right: 48px !important; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; color: var(--muted); border-radius: 8px; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.meter i { height: 4px; border-radius: 4px; background: var(--line); transition: background .2s; }
.meter[data-score="1"] i:nth-child(-n+1) { background: var(--danger); }
.meter[data-score="2"] i:nth-child(-n+2) { background: var(--saffron); }
.meter[data-score="3"] i:nth-child(-n+3) { background: var(--saffron); }
.meter[data-score="4"] i { background: var(--leaf); }
.otp { display: flex; gap: 8px; justify-content: center; }
.otp input { width: 50px; height: 60px; text-align: center; font-size: 1.6rem; font-weight: 700; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.otp input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 22%, transparent); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; }
.swatch span:not(.sr) { display: block; width: 38px; height: 38px; border-radius: 12px; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.swatch input:checked + span { border-color: var(--ink); transform: scale(1.08); }
.star-pick { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-pick input { position: absolute; opacity: 0; }
.star-pick label { font-size: 2.2rem; color: var(--line); cursor: pointer; line-height: 1; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: var(--saffron); }
.star-pick input:focus-visible + label { outline: 3px solid var(--brand); border-radius: 6px; }

/* auth */
.auth { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 420px); gap: 24px; justify-content: center; align-items: start; padding-block: 56px 72px; }
.auth > .auth-card:only-child { grid-column: 1 / -1; justify-self: center; width: min(480px, 100%); }
.auth-card.wide { grid-column: 1 / -1; width: min(680px, 100%); justify-self: center; }
.auth-card h1 { margin: 6px 0 8px; }
.auth-card form { margin: 22px 0 16px; }
.auth-card .seg { margin-bottom: 18px; }
.demo-card { background: var(--brand-soft); border-color: transparent; }
.demo-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.demo-list button { width: 100%; text-align: left; display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px; cursor: pointer; transition: border-color .15s, transform .15s; }
.demo-list button:hover { border-color: var(--brand); transform: translateX(3px); }
.demo-role { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.mfa-ico { width: 56px; height: 56px; border-radius: 18px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 10px; }
.mfa-ico .ico { width: 28px; height: 28px; }

/* modal */
.modal { border: 0; padding: 0; border-radius: var(--r); background: var(--surface); color: var(--ink); width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: 0 40px 80px -20px rgba(0,0,0,.45); }
.modal.wide { width: min(760px, calc(100vw - 32px)); }
.modal.xl { width: min(1180px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(13,14,22,.5); backdrop-filter: blur(4px); }
.m-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px 0; gap: 12px; }
.m-head h2 { font-size: 1.3rem; }
.m-body { padding: 16px 24px 24px; }
.m-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 14px 0 18px; }
.tabs button { background: none; border: 0; padding: 10px 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; margin-bottom: -1px; }
.tabs [aria-selected="true"] { color: var(--ink); border-color: var(--brand); }
.pay-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--surface-2); padding: 14px 16px; border-radius: var(--r-sm); font-size: .9rem; }
.pay-head b { font-size: 1.5rem; letter-spacing: -0.02em; }
.transfer dl, .kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 14px 0 18px; }
.transfer dt, .kv dt { color: var(--muted); } .transfer dd, .kv dd { margin: 0; text-align: right; }
.ussd { background: var(--surface-2); padding: 14px; border-radius: var(--r-sm); margin: 12px 0; text-align: center; }
.ussd b { font-size: 1.2rem; display: block; margin-top: 4px; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .8rem; color: var(--muted); margin: 16px 0 0; }

/* confirmation / errors / pros */
.done-card { max-width: 640px; margin-inline: auto; text-align: center; }
.done-badge { width: 72px; height: 72px; border-radius: 50%; background: var(--leaf); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; }
.done-badge .ico { width: 36px; height: 36px; stroke-width: 2.4; }
.done-card .kv { text-align: left; background: var(--surface-2); border-radius: var(--r-sm); padding: 16px; }
.done-card p { display: flex; gap: 6px; align-items: center; justify-content: center; }
.err-page { text-align: center; display: grid; justify-items: center; gap: 10px; }
.big-code { font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 16vw, 10rem); line-height: .9; margin: 0; color: var(--hibiscus); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0; }
.feature-grid .card { margin: 0; }
.feat .ico { width: 28px; height: 28px; color: var(--brand); margin-bottom: 12px; }
.feat h3 { margin-bottom: 6px; }
.pricing { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--brand-soft); border-color: transparent; }

/* toasts + demo device */
.toasts { position: fixed; top: 16px; right: 16px; z-index: 1000; display: grid; gap: 8px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; gap: 10px; align-items: flex-start; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow); font-size: .92rem; font-weight: 500; animation: tin .25s ease-out; pointer-events: auto; }
.toast.error .ico { color: #FF8F85; } .toast.warn .ico { color: var(--saffron); } .toast.ok .ico { color: #6FE0A8; }
.toast.out { opacity: 0; transform: translateY(-6px); transition: .3s; }
@keyframes tin { from { opacity: 0; transform: translateY(-8px); } }
.device { position: fixed; left: 16px; bottom: 16px; z-index: 1001; width: min(340px, calc(100vw - 32px)); transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.9,.3,1.2); }
.device.show { transform: none; }
.dv-card { background: #111320; color: #F4EFE6; border-radius: 22px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); border: 1px solid #2C3048; }
.dv-top { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: #9A94A6; margin-bottom: 10px; }
.dv-top .icon-btn { margin-left: auto; background: transparent; color: #9A94A6; border-color: #2C3048; }
.dv-msg { background: #1F8A5B; color: #fff; border-radius: 16px 16px 16px 4px; padding: 10px 14px; margin-bottom: 10px; }
.dv-msg p { margin: 2px 0 0; font-size: .9rem; }
.dv-code { font-size: 1.15rem; letter-spacing: .12em; }
.dv-card .btn.ghost { color: #F4EFE6; border-color: #2C3048; width: 100%; }
.dv-note { font-size: .72rem; color: #9A94A6; margin: 8px 0 0; text-align: center; }

/* ---------- panels ---------- */
.panel { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.panel.accent-a { --pa: var(--brand); } .panel.accent-b { --pa: var(--hibiscus); } .panel.accent-c { --pa: var(--leaf); }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 20px 14px; gap: 16px; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 0 8px; }
.side-top .logo { font-size: 1.3rem; }
.side-tag { white-space: nowrap; font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--pa); background: color-mix(in oklab, var(--pa) 14%, transparent); padding: 4px 8px; border-radius: 999px; }
.side-biz { display: flex; gap: 10px; align-items: center; background: var(--surface-2); border-radius: var(--r-sm); padding: 10px; }
.side-biz .art, .side-biz .photo { width: 38px; height: 38px; border-radius: 10px; overflow: hidden; flex: none; }
.side-biz > div { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.side-biz b { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.side-nav a:hover { background: var(--surface-2); color: var(--ink); }
.side-nav a.on { background: var(--ink); color: var(--bg); }
.side-nav a.on .ico { color: var(--pa); }
.badge { margin-left: auto; background: var(--hibiscus); color: #fff; font-size: .7rem; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; }
.side-foot { margin-top: auto; border-top: 1px solid var(--line); padding: 14px 6px 0; display: grid; gap: 12px; }
.me { display: flex; gap: 10px; align-items: center; }
.me > div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.me .small { display: inline-flex; gap: 3px; align-items: center; }
.side-scrim { display: none; }
.pmain { min-width: 0; display: flex; flex-direction: column; }
.ptop { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 14px var(--gutter); background: color-mix(in oklab, var(--bg) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-2); }
.ptop h1 { font-size: 1.5rem; letter-spacing: -0.03em; }
.ptop-act { margin-left: auto; display: flex; gap: 8px; }
.menu-btn { display: none; }
.pbody { padding: 24px var(--gutter) 60px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: start; }
.pbody > .card + .card { margin-top: 0; }
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--r-sm); font-size: .95rem; }
.banner .ico { width: 22px; height: 22px; margin-top: 1px; }
.banner.warn { background: var(--warn-bg); color: var(--ink); } .banner.warn .ico { color: var(--warn); }
.banner.info { background: var(--info-bg); } .banner.info .ico { color: var(--brand); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.kpi-l { font-size: .8rem; color: var(--muted); font-weight: 600; }
.kpi-v { font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.1; }
.kpi-s { font-size: .8rem; color: var(--muted); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar > p { margin: 0; max-width: 60ch; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: color-mix(in oklab, var(--surface-2) 60%, transparent); }
.card .table-wrap { border: 0; border-radius: 0; margin: 0 calc(-1 * clamp(18px, 2.4vw, 28px)); }
.cell-biz { display: flex; gap: 10px; align-items: center; }
.cell-biz .art, .cell-biz .photo { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; flex: none; }
.cell-biz > div { display: flex; flex-direction: column; line-height: 1.3; }
.st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; text-transform: capitalize; white-space: nowrap; background: var(--surface-2); color: var(--ink-2); }
.st-approved, .st-confirmed, .st-active, .st-completed, .st-paid, .st-resolved { background: var(--ok-bg); color: var(--leaf); }
.st-pending, .st-open { background: var(--warn-bg); color: var(--warn); }
.st-suspended, .st-cancelled, .st-no_show, .st-rejected, .st-inactive { background: var(--bad-bg); color: var(--danger); }
.list { list-style: none; margin: 0 0 18px; padding: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: .92rem; }
.list li > span { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.feed li { flex-direction: column; align-items: flex-start; gap: 2px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-2); }
.timeline li > div { display: flex; flex-direction: column; }
.tl-time { font-weight: 700; font-size: .9rem; color: var(--pa); }
.copy { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--surface-2); padding: 10px 14px; border-radius: var(--r-sm); }
.status-line { display: flex; gap: 10px; align-items: center; }
.narrow { max-width: 760px; }

/* chart */
.chart { margin: 0; position: relative; }
.chart-t { font-weight: 700; margin-bottom: 16px; }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; height: 180px; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.bar-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; outline-offset: 0; cursor: default; }
.bar { width: min(22px, 70%); background: var(--brand); border-radius: 4px 4px 0 0; min-height: 2px; transition: opacity .15s; }
.bars:hover .bar { opacity: .45; }
.bar-col:hover .bar, .bar-col:focus .bar { opacity: 1; }
.bar-x { position: absolute; bottom: -22px; font-size: .7rem; color: var(--muted); }
.tip { position: absolute; z-index: 5; background: var(--ink); color: var(--bg); padding: 6px 10px; border-radius: 8px; font-size: .8rem; font-weight: 600; pointer-events: none; white-space: nowrap; }
.chart-table { margin-top: 34px; font-size: .85rem; }
.chart-table summary { cursor: pointer; color: var(--muted); }
.chart-table .table-wrap { margin: 10px 0 0; border: 1px solid var(--line); border-radius: var(--r-sm); max-height: 240px; }

/* tickets */
.split { display: grid; grid-template-columns: 320px 1fr; gap: 18px; align-items: start; }
.tlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tlist a { display: grid; gap: 4px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; }
.tlist a.on { border-color: var(--pa); box-shadow: inset 3px 0 0 var(--pa); }
.msgs { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.msgs li { background: var(--surface-2); border-radius: 14px 14px 14px 4px; padding: 12px 14px; max-width: 85%; }
.msgs li.staff { background: var(--brand-soft); justify-self: end; border-radius: 14px 14px 4px 14px; }
.msgs p { margin: 4px 0; }

/* ads admin */
.adlist { list-style: none; margin: 0; padding: 0; }
.adrow { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-2); }
.adrow-art { width: 96px; height: 64px; border-radius: 10px; overflow: hidden; }
.adrow-main { display: flex; flex-direction: column; min-width: 0; }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + span { background: var(--leaf); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.switch-l { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; cursor: pointer; }
.switch-l input { width: 18px; height: 18px; accent-color: var(--brand); }
.switch-l.big { margin-bottom: 12px; }
.hours-form { display: grid; gap: 8px; }
.pbody .grid2 { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }
.hrow { display: grid !important; grid-template-columns: 72px minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; flex-direction: row !important; }
.hrow input[type=time] { padding: 8px 8px !important; min-width: 0; }
.hrow .err { grid-column: 1 / -1; }
.hrow.invalid input[type=time] { border-color: var(--danger); }
.hours-form .field:not(.hrow) { margin: 8px 0; }
.stack { display: grid; gap: 14px; }
.stack .card + .card { margin: 0; }
.bcard { display: grid; grid-template-columns: 96px 1fr; gap: 18px; }
.bcard-art { width: 96px; height: 96px; border-radius: 18px; overflow: hidden; }
.bcard h3 { font-size: 1.15rem; }
.bcard h3 a { text-decoration: none; }
.bcard p { margin: 4px 0; }
.bcard .muted.small { line-height: 1.7; }
.bcard .ico { display: inline; vertical-align: -3px; margin-right: 4px; }
.review-card p { margin: 8px 0; }
.review-card .reply-f { margin-top: 12px; }

/* responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .search-dock { grid-template-columns: 1fr; gap: 24px; }
  .vlayout, .book-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .split { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .head-nav { display: none; }
  .panel { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 60; transform: translateX(-100%); transition: transform .25s; box-shadow: var(--shadow); }
  .side.open { transform: none; }
  .side.open + .side-scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 55; }
  .menu-btn { display: inline-grid; }
  .grid2, .pro-grid { grid-template-columns: 1fr; }
  .auth { grid-template-columns: minmax(0, 520px); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .head-row { gap: 12px; }
  .poster { width: 86vw; height: clamp(420px, 72vh, 560px); border-radius: 24px; margin-right: 10px; }
  .adcard { width: 300px; grid-template-columns: 84px 1fr; gap: 12px; }
  .adcard-art { width: 84px; height: 84px; }
  .dock-form { grid-template-columns: 1fr; }
  .cats { gap: 10px; grid-template-columns: repeat(8, 84px); }
  .cat { font-size: .74rem; }
  .cat-art { border-radius: 18px; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .portfolio { grid-template-columns: repeat(2, 1fr); }
  .vhero-act { margin-left: 0; }
  .vhero { height: auto; min-height: 420px; padding-top: 170px; }
  .avatar.xl { width: 60px; height: 60px; font-size: 1.3rem; }
  .svc { flex-direction: column; }
  .svc-price { flex-direction: row; align-items: center; justify-content: space-between; }
  .foot-grid { grid-template-columns: 1fr; }
  .otp input { width: 42px; height: 52px; font-size: 1.3rem; }
  .otp { gap: 6px; }
  .adrow { grid-template-columns: 64px 1fr; }
  .adrow-art { width: 64px; height: 48px; }
  .adrow > span, .adrow > .row { grid-column: 2; }
  .searchbar, .searchbar.sm { min-width: 0; width: 100%; }
  .hrow { gap: 6px; }
  .bcard { grid-template-columns: 1fr; }
  .bcard-art { width: 100%; height: 90px; }
}
/* ---------- data tables: sort, paginate, side-scroll ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  background: linear-gradient(90deg, var(--surface) 30%, transparent) left / 32px 100% no-repeat local, linear-gradient(270deg, var(--surface) 30%, transparent) right / 32px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.14), transparent) left / 12px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.14), transparent) right / 12px 100% no-repeat scroll, var(--surface); }
.table-wrap:focus-visible { outline-offset: -3px; }
.table-wrap table { min-width: max(100%, 880px); }
th { padding: 0; }
th:has(.sr) { padding: 12px 14px; }
.th-sort { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 6px; width: 100%; padding: 12px 14px; cursor: pointer; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; white-space: nowrap; }
.th-sort:hover { color: var(--ink); }
.th-sort:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.th-sort.on { color: var(--ink); }
.sort-ind { font-size: .7rem; opacity: .45; }
.th-sort.on .sort-ind { opacity: 1; color: var(--brand); }
.nowrap { flex-wrap: nowrap !important; }
.dt-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 4px 0; font-size: .88rem; }
.card .dt-foot { padding-inline: 0; }
.dt-size { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.dt-size select { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.dt-pager { display: flex; align-items: center; gap: 10px; }

/* ---------- predictive search ---------- */
.predict { position: relative; flex: 1; min-width: 0; display: flex; }
.predict > input { flex: 1; min-width: 0; }
.predict-list { position: absolute; z-index: 70; top: calc(100% + 8px); left: -12px; right: -12px; min-width: 260px; max-height: 340px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(0,0,0,.3); text-transform: none; letter-spacing: 0; font-weight: 400; text-align: left; }
.predict-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; cursor: pointer; font-size: .92rem; }
.predict-list li[aria-selected="true"], .predict-list li:hover { background: var(--brand-soft); }
.predict-list li > span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.predict-list b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.predict-list mark { background: none; color: var(--brand); font-weight: 700; }
.predict-list small { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.predict-list .ico { color: var(--muted); }
.predict-kind { font-style: normal; font-family: var(--font); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--surface-2); padding: 2px 7px; border-radius: 999px; }
.predict-none { color: var(--muted); cursor: default !important; background: none !important; }
.dock-f input:not([type=checkbox]) { border: 0; background: transparent; padding: 2px 0; font-weight: 600; font-size: 1rem; outline: none; width: 100%; }
.dock-f input::placeholder { color: var(--muted); font-weight: 400; }
.dock-f:focus-within { box-shadow: 0 0 0 2px var(--brand); }

/* ---------- ad preview ---------- */
.prev-bar { margin-bottom: 14px; }
.ad-stage { container-type: inline-size; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; justify-content: center; overflow: hidden; }
.ad-stage .ad-frame { width: 100%; }
.ad-stage.phone .ad-frame { width: 375px; max-width: 100%; border: 8px solid #15130F; border-radius: 36px; padding: 14px 0 14px 14px; background: var(--bg); overflow: hidden; }
.ad-stage .poster { width: 100%; height: clamp(320px, 52cqi, 560px); margin: 0; }
.ad-stage.phone .poster { width: 88%; height: 520px; border-radius: 24px; }
.ad-stage .poster-title { font-size: clamp(2rem, 7.2cqi, 5.6rem); }
.ad-stage.phone .poster-title { font-size: 2.5rem; }
.ad-stage .poster-sub { font-size: clamp(.95rem, 1.6cqi, 1.15rem); }
.ad-stage.mid .ad-frame { background: var(--bg-2); padding: 20px; border-radius: var(--r-sm); }
.ad-stage.phone.mid .ad-frame { padding: 20px 12px; }
.ad-stage .adcard { margin: 0; }
.ad-stage.phone .adcard { width: 300px; grid-template-columns: 84px 1fr; gap: 12px; }
.ad-stage.phone .adcard-art { width: 84px; height: 84px; }
.ad-live { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 12px; }
.ad-live .ad-stage { padding: 12px; }

/* ---------- vendor review ---------- */
.doc-links { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.doc-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: .74rem; font-weight: 600; text-decoration: none; white-space: nowrap; border: 1px solid transparent; }
.doc-chip .ico { width: 13px; height: 13px; }
a.doc-chip:hover { border-color: currentColor; }
.ds-verified { background: var(--ok-bg); color: var(--leaf); }
.ds-pending { background: var(--warn-bg); color: var(--warn); }
.ds-rejected, .ds-missing { background: var(--bad-bg); color: var(--danger); }
.vr { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.vr-page { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.vr-cover { position: relative; height: 220px; background: #1B1712; isolation: isolate; color: #FFFCF6; }
.vr-cover > .photo, .vr-cover > .art { position: absolute; inset: 0; z-index: -2; object-position: 50% 30%; }
.vr-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,18,.1), rgba(8,8,18,.78)); }
.vr-cover-in { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; gap: 12px; align-items: flex-end; }
.vr-cover-in h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
.vr-cover-in p { margin: 4px 0 0; font-size: .85rem; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.vr-logo { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; border: 2px solid #FFFCF6; flex: none; }
.vr-body { padding: 18px; }
.vr-body h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 16px 0 6px; }
.vr-svcs { list-style: none; margin: 0; padding: 0; }
.vr-svcs li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-2); font-size: .9rem; }
.vr-side { display: grid; gap: 12px; align-content: start; }
.vr-side .h3 { margin: 0; }
.kv.tight { margin: 0; font-size: .88rem; gap: 6px 14px; }
.kv.tight dd { text-align: left; word-break: break-word; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.doc { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.doc > .ico { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.doc.missing { border-style: dashed; opacity: .8; }
.doc.missing > .ico { color: var(--muted); }
.doc-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.doc-main b { font-size: .9rem; }
.doc-main .muted { word-break: break-all; }
.doc-note { font-size: .8rem; color: var(--danger); background: var(--bad-bg); padding: 4px 8px; border-radius: 8px; margin-top: 4px; }
.doc-act { grid-column: 2; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.doc-reject { grid-column: 1 / -1; display: grid; gap: 8px; margin-top: 6px; }
.vr-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.doc-view { display: grid; gap: 12px; }
.doc-sheet { position: relative; overflow: hidden; background: #FFFEFA; color: #15130F; border: 1px solid #DCD2C0; border-radius: 10px; padding: 26px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.4); min-height: 360px; }
.doc-sheet-head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 2px solid #15130F; margin-bottom: 16px; }
.doc-sheet-head .ico { width: 30px; height: 30px; }
.doc-sheet-head > div { display: flex; flex-direction: column; }
.doc-sheet dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 14px; margin: 0; font-size: .9rem; }
.doc-sheet dt { color: #736A5E; } .doc-sheet dd { margin: 0; word-break: break-word; }
.doc-wm { position: absolute; right: -20px; bottom: 40px; transform: rotate(-24deg); font-size: 5rem; font-weight: 800; color: rgba(232,84,42,.12); letter-spacing: .1em; pointer-events: none; }
.doc-img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.doc-frame { width: 100%; height: 480px; border: 1px solid var(--line); border-radius: 10px; }
.doc-up { border: 1px dashed var(--line) !important; border-radius: var(--r-sm) !important; padding: 14px !important; }
.doc-up legend { display: flex; gap: 6px; align-items: center; padding: 0 6px !important; }
.doc-up input[type=file] { padding: 9px !important; background: var(--surface-2) !important; cursor: pointer; }
.banner.assist { background: var(--ink); color: var(--bg); align-items: center; flex-wrap: wrap; }
.banner.assist .ico { color: var(--saffron); }
.banner.assist .btn { margin-left: auto; background: var(--saffron); color: #15130F; border: 0; }
.banner a { color: inherit; font-weight: 600; }

/* ---------- terms + fair play ---------- */
.fairplay { display: flex; gap: 14px; align-items: flex-start; background: var(--warn-bg); border-radius: var(--r); padding: 16px 20px; margin-bottom: 20px; }
.fairplay .ico { width: 24px; height: 24px; color: var(--warn); margin-top: 2px; }
.fairplay p { margin: 0; }
.terms { max-width: 860px; }
.toc { margin: 24px 0 32px; }
.toc ol { margin: 10px 0 0; padding-left: 20px; columns: 2; column-gap: 24px; }
.toc li { margin-bottom: 4px; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 10px; scroll-margin-top: 90px; }
.legal p { color: var(--ink-2); max-width: 70ch; }
.callout { display: flex; gap: 14px; background: var(--warn-bg); border-left: 4px solid var(--hibiscus); border-radius: var(--r-sm); padding: 18px 20px; }
.callout .ico { width: 26px; height: 26px; color: var(--hibiscus); flex: none; margin-top: 2px; }
.callout p { color: var(--ink); }

/* ---------- analytics + insights ---------- */
.delta { font-size: .78rem; font-weight: 600; color: var(--muted); }
.delta.up { color: var(--leaf); } .delta.down { color: var(--danger); }
.insights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.insights li { display: flex; gap: 10px; align-items: flex-start; background: var(--surface-2); border-radius: var(--r-sm); padding: 12px 14px; font-size: .92rem; }
.insights .ico { color: var(--brand); width: 20px; height: 20px; margin-top: 1px; }
.hbars { margin: 0; display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: minmax(90px, 30%) 1fr auto; gap: 10px; align-items: center; font-size: .88rem; }
.hbar-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar-track { height: 12px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.hbar-fill { display: block; height: 100%; background: var(--brand); border-radius: 0 4px 4px 0; }
.hbar-v { font-size: .82rem; white-space: nowrap; }
.nav-lock { margin-left: auto; opacity: .6; display: inline-flex; }
.nav-lock .ico { width: 14px; height: 14px; }
.locked { text-align: center; display: grid; justify-items: center; gap: 12px; padding: clamp(28px, 5vw, 56px) !important; }
.locked .lead { margin: 0 auto; }
.lock-badge { width: 64px; height: 64px; border-radius: 20px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.lock-badge .ico { width: 30px; height: 30px; }
.pro-list.light { text-align: left; max-width: 460px; width: 100%; }
.pro-list.light li { background: var(--surface-2); border-color: var(--line); }
.pro-list.light span { color: var(--ink-2); }
.pro-list.light .ico { color: var(--leaf); }
.price-tag { display: flex; align-items: baseline; gap: 8px; }
.price-tag b { font-size: 2.4rem; letter-spacing: -0.03em; }
.price-tag span { color: var(--muted); }
.locked .banner { justify-content: center; }

@media (max-width: 900px) { .vr { grid-template-columns: 1fr; } .toc ol { columns: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* table column comfort: tables scroll sideways instead of squeezing */
.toolbar .searchbar { min-width: min(320px, 100%); }
.cell-biz { min-width: 230px; }
.doc-links { min-width: 250px; }
.table-wrap td > div > .row.gap-s { flex-wrap: nowrap; }
.table-wrap .btn { white-space: nowrap; }
.svc-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.svc-checks label { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; background: var(--surface); }
.svc-checks label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
