:root {
    --paper: #fcfcfc;
    --white: #ffffff;
    --blush: #ffcfcf;
    --blush-soft: #fff1f1;
    --orange: #ff8300;
    --orange-dark: #d86400;
    --ink: #181716;
    --ink-soft: #34312e;
    --muted: #706c67;
    --line: #e8e4df;
    --panel: #f5f3f0;
    --sage: #d8e4d7;
    --teal: #235c58;
    --success: #237a4b;
    --danger: #b63838;
    --warning: #9a5a00;
    --shadow: 0 18px 50px rgba(35, 29, 24, 0.1);
    --shadow-small: 0 8px 24px rgba(35, 29, 24, 0.08);
    --radius: 8px;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4, .brand, button { font-family: "Manrope", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { width: 20px; height: 20px; stroke-width: 1.8; }
.container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.section { padding: 104px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--orange-dark); font-family: "Manrope", sans-serif; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.eyebrow.light { color: var(--blush); }
.eyebrow svg { width: 16px; height: 16px; }
.muted-copy { color: var(--muted); }

.button { min-height: 46px; border: 1px solid transparent; border-radius: 6px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; font-weight: 800; cursor: pointer; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--orange); }
.button-primary:hover { background: var(--orange-dark); }
.button-secondary { color: var(--ink); background: var(--white); border-color: var(--line); }
.button-secondary:hover { border-color: var(--ink); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: #000; }
.button-light { color: var(--ink); background: var(--white); }
.button-outline-light { color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.button-outline-light:hover { color: var(--ink); background: var(--white); }
.button-wide { width: 100%; }
.button-small { min-height: 38px; padding: 0 13px; font-size: 12px; }
.icon-button { width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; position: relative; transition: 180ms ease; }
.icon-button:hover, .icon-button.active { border-color: var(--orange); color: var(--orange-dark); }

.site-header { position: sticky; top: 0; z-index: 80; background: rgba(252, 252, 252, 0.94); border-bottom: 1px solid rgba(232, 228, 223, 0.9); backdrop-filter: blur(16px); }
.nav-shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 20px; font-weight: 800; white-space: nowrap; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand > span > span { color: var(--orange); }
.brand-light { color: var(--white); }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { padding: 24px 0 21px; border-bottom: 3px solid transparent; color: #5c5752; font-size: 14px; font-weight: 700; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--ink); border-color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-selector { height: 42px; padding: 0 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; position: relative; cursor: pointer; }
.language-selector:focus-within { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,131,0,.12); }
.language-selector > svg { width: 15px; color: var(--orange-dark); pointer-events: none; }
.language-selector > svg:last-child { width: 12px; color: var(--muted); }
.language-selector > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.language-selector select { min-width: 76px; height: 100%; padding: 0 2px; border: 0; outline: 0; appearance: none; background: transparent; color: var(--ink); font-size: 10px; font-weight: 800; cursor: pointer; }
.language-selector-workspace { height: 34px; border-color: #ddd9d4; background: #f7f6f5; }
.language-selector-workspace select { min-width: 68px; font-size: 9px; }
.auth-page .language-selector { border-color: rgba(255,255,255,.35); background: rgba(24,23,22,.28); color: var(--white); backdrop-filter: blur(10px); }
.auth-page .language-selector select { color: var(--white); }
.auth-page .language-selector option { color: var(--ink); }
.auth-page .language-selector > svg:last-child { color: rgba(255,255,255,.7); }
.text-link { padding: 10px; font-size: 14px; font-weight: 700; }
.cart-button span { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid var(--paper); border-radius: 10px; background: var(--orange); color: var(--white); display: grid; place-items: center; font: 700 10px "DM Sans", sans-serif; }
.account-chip { min-height: 42px; padding: 4px 11px 4px 4px; border: 1px solid var(--line); border-radius: 6px; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.account-chip > span, .top-avatar { width: 32px; height: 32px; border-radius: 4px; background: var(--blush); display: grid; place-items: center; color: #5a2424; font-size: 11px; font-weight: 800; }
.menu-toggle, .mobile-nav { display: none; }
.setup-notice { background: #fff4e8; border-bottom: 1px solid #ffd4a6; color: #704012; font-size: 13px; }
.setup-notice .container { min-height: 42px; display: flex; align-items: center; gap: 10px; }
.setup-notice svg { width: 16px; }
.flash { position: fixed; top: 88px; left: 50%; z-index: 120; width: min(520px, calc(100% - 32px)); min-height: 52px; padding: 10px 10px 10px 16px; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 6px; background: var(--white); box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; transform: translateX(-50%); }
.flash-success { border-left-color: var(--success); }
.flash-error { border-left-color: var(--danger); }
.flash span { flex: 1; font-size: 14px; font-weight: 600; }
.flash button { width: 34px; height: 34px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }

.home-hero { height: calc(100vh - 104px); min-height: 590px; max-height: 900px; position: relative; overflow: hidden; background: #1c1a18; }
.hero-image { position: absolute; inset: 0; background: var(--hero-art) center 45% / cover no-repeat; transform: scale(1.02); animation: heroSettle 1.5s ease-out both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 11, 10, 0.94) 0%, rgba(12, 11, 10, 0.78) 42%, rgba(12, 11, 10, 0.18) 78%), linear-gradient(0deg, rgba(12, 11, 10, 0.72) 0%, transparent 42%); }
.hero-content { height: 100%; padding-bottom: 80px; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: var(--white); }
.hero-content h1 { max-width: 760px; margin-bottom: 22px; font-size: 76px; line-height: 0.99; font-weight: 800; }
.hero-content h1 em { color: var(--orange); font-style: normal; }
.hero-content > p { max-width: 620px; margin-bottom: 30px; color: rgba(255,255,255,.76); font-size: 19px; line-height: 1.65; }
.hero-search { width: min(690px, 100%); min-height: 66px; padding: 7px 7px 7px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); background: rgba(252,252,252,.96); display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.hero-search > svg { color: var(--muted); flex: 0 0 auto; }
.hero-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); }
.hero-search button { min-height: 50px; padding: 0 20px; border: 0; border-radius: 5px; background: var(--orange); color: var(--white); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; cursor: pointer; }
.hero-suggestions { margin-top: 12px; display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.66); font-size: 12px; }
.hero-suggestions span { color: var(--blush); font-weight: 800; text-transform: uppercase; }
.hero-suggestions a { border-bottom: 1px solid rgba(255,255,255,.35); }
.hero-suggestions a:hover { color: var(--white); border-color: var(--orange); }
.hero-trust { margin-top: 22px; display: flex; gap: 24px; color: rgba(255,255,255,.76); font-size: 13px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; color: var(--blush); }
.hero-now { width: 280px; min-height: 126px; padding: 20px 54px 20px 22px; position: absolute; right: 30px; top: 30px; z-index: 3; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); background: rgba(24,23,22,.72); color: var(--white); display: flex; flex-direction: column; justify-content: center; backdrop-filter: blur(14px); transition: background 180ms ease, transform 180ms ease; }
.hero-now:hover { background: rgba(24,23,22,.9); transform: translateY(-3px); }
.hero-now span { color: var(--blush); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.hero-now strong { margin: 4px 0 1px; font: 800 16px "Manrope", sans-serif; }
.hero-now small { color: rgba(255,255,255,.62); font-size: 11px; }
.hero-now > svg { position: absolute; right: 20px; top: 20px; width: 17px; }
.hero-scroll { position: absolute; right: 38px; bottom: 34px; z-index: 3; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; writing-mode: vertical-rl; }
.signal-strip { background: var(--blush); border-bottom: 1px solid #f0baba; }
.signal-grid { min-height: 118px; display: grid; grid-template-columns: 150px 170px 180px 1fr; align-items: center; gap: 28px; }
.signal-grid > div { display: flex; flex-direction: column; border-right: 1px solid rgba(24,23,22,.16); }
.signal-grid strong { font: 800 25px "Manrope", sans-serif; }
.signal-grid span { color: #6d4646; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.signal-grid p { max-width: 390px; margin: 0 0 0 auto; font: 700 19px/1.45 "Manrope", sans-serif; }
.section-heading { margin-bottom: 38px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-heading h2 { margin: 0; font-size: 38px; line-height: 1.12; }
.section-heading.compact { margin-bottom: 24px; }
.section-heading.compact h2 { font-size: 28px; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; font-size: 14px; font-weight: 800; }
.matcher-section { background: var(--paper); }
.matcher-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 76px; align-items: center; }
.matcher-copy h2 { margin-bottom: 20px; font-size: 48px; line-height: 1.08; }
.matcher-copy > p { max-width: 500px; color: var(--muted); font-size: 17px; }
.matcher-assurances { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.matcher-assurances span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.matcher-assurances svg { width: 16px; color: var(--orange-dark); }
.matcher-tool { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: grid; grid-template-columns: 1.03fr .97fr; overflow: hidden; box-shadow: var(--shadow); }
.matcher-controls { padding: 30px; display: flex; flex-direction: column; gap: 26px; }
.matcher-step { display: grid; grid-template-columns: 32px 1fr; gap: 13px; }
.matcher-step > span { width: 28px; height: 28px; border-radius: 4px; background: var(--blush); color: #632f2f; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.matcher-step label { display: block; margin-bottom: 10px; color: var(--ink); font: 800 12px "Manrope", sans-serif; }
.matcher-options { display: flex; flex-wrap: wrap; gap: 7px; }
.matcher-options button { min-height: 35px; padding: 0 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); color: var(--muted); font-size: 11px; font-weight: 800; cursor: pointer; }
.matcher-options button:hover, .matcher-options button.active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.matcher-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.matcher-selects label { margin: 0; }
.matcher-selects .field { min-width: 0; height: 44px; margin-top: 7px; font-size: 12px; }
.matcher-submit { min-height: 49px; margin-top: auto; border: 0; border-radius: 6px; background: var(--orange); color: var(--white); display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; font-weight: 800; cursor: pointer; transition: background 180ms ease, transform 180ms ease; }
.matcher-submit:hover { background: var(--orange-dark); transform: translateY(-2px); }
.matcher-submit.loading svg { animation: matcherSpin 650ms linear infinite; }
.matcher-result { min-width: 0; background: var(--ink); color: var(--white); display: grid; grid-template-rows: 245px 1fr; }
.matcher-result.refreshing { animation: matchSwap 350ms ease; }
.match-image { position: relative; overflow: hidden; }
.match-image:after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, rgba(24,23,22,.7), transparent); }
.match-image img { width: 100%; height: 100%; object-fit: cover; }
.match-image span { position: absolute; left: 15px; bottom: 15px; z-index: 1; padding: 6px 9px; border-radius: 4px; background: var(--blush); color: #542b2b; font-size: 10px; font-weight: 800; }
.match-details { min-width: 0; padding: 25px; display: flex; flex-direction: column; }
.match-details > div:first-child { display: flex; justify-content: space-between; gap: 12px; color: var(--blush); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.match-details > div:first-child small { color: rgba(255,255,255,.48); font-size: inherit; }
.match-details h3 { margin: 7px 0 8px; font-size: 23px; }
.match-details > p { color: rgba(255,255,255,.64); display: -webkit-box; font-size: 12px; line-height: 1.5; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.match-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.match-footer strong { font: 800 18px "Manrope", sans-serif; }
.match-footer .button { min-height: 39px; padding-inline: 12px; font-size: 11px; }
.featured-layout { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(360px, .62fr); gap: 22px; }
.featured-lead { min-height: 590px; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--ink); }
.featured-lead > img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.featured-lead:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,9,8,.94) 0%, rgba(10,9,8,.1) 70%); }
.featured-overlay { position: absolute; left: 34px; right: 34px; bottom: 34px; z-index: 1; color: var(--white); }
.featured-overlay > span, .stack-story > div > span { color: var(--blush); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.featured-overlay h3 { margin: 5px 0 8px; font-size: 34px; }
.featured-overlay p { max-width: 600px; color: rgba(255,255,255,.76); }
.featured-stack { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.stack-story { min-height: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: grid; grid-template-columns: 110px 1fr 24px; align-items: center; gap: 16px; transition: 180ms ease; }
.stack-story:hover { border-color: var(--orange); transform: translateX(4px); box-shadow: var(--shadow-small); }
.stack-story img { width: 110px; height: 100%; max-height: 150px; border-radius: 5px; object-fit: cover; }
.stack-story h3 { margin: 4px 0 6px; font-size: 18px; }
.stack-story p { margin-bottom: 10px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.stack-story small { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.stack-story small svg { width: 14px; }
.trust-section { padding: 104px 0; background: var(--ink); color: var(--white); }
.trust-heading { margin-bottom: 48px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.trust-heading h2 { max-width: 690px; margin: 0; font-size: 45px; line-height: 1.1; }
.trust-heading > p { max-width: 410px; margin: 0; color: rgba(255,255,255,.6); font-size: 16px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid rgba(255,255,255,.15); }
.trust-grid article { min-height: 310px; padding: 28px 24px; border-right: 1px solid rgba(255,255,255,.15); display: flex; flex-direction: column; }
.trust-grid article:last-child { border-right: 0; }
.trust-grid article > span { color: rgba(255,255,255,.38); font-size: 10px; font-weight: 800; }
.trust-grid article > svg { width: 33px; height: 33px; margin: auto 0 25px; color: var(--orange); }
.trust-grid h3 { margin-bottom: 8px; font-size: 19px; }
.trust-grid p { margin: 0; color: rgba(255,255,255,.57); font-size: 13px; line-height: 1.55; }
.side-switch-section { padding: 104px 0; background: var(--blush-soft); border-block: 1px solid #f4dddd; }
.side-switch { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.switch-copy h2 { margin-bottom: 36px; font-size: 48px; line-height: 1.08; }
.audience-tabs { display: inline-flex; padding: 4px; border: 1px solid #e9cccc; border-radius: 6px; background: var(--white); }
.audience-tabs button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 800; cursor: pointer; }
.audience-tabs button.active { background: var(--ink); color: var(--white); }
.audience-stage { min-height: 510px; position: relative; }
.audience-panel { min-height: 510px; padding: 54px; border-radius: var(--radius); background: var(--orange); color: var(--ink); display: none; grid-template-columns: 90px 1fr; gap: 24px; }
.audience-panel.active { display: grid; animation: panelIn 350ms ease both; }
.audience-panel:nth-child(2) { background: var(--sage); }
.audience-number { font: 800 72px/1 "Manrope", sans-serif; opacity: .2; }
.audience-panel > div:last-child > svg { width: 42px; height: 42px; margin-bottom: 18px; }
.audience-panel h3 { max-width: 570px; margin-bottom: 16px; font-size: 34px; line-height: 1.18; }
.audience-panel p { max-width: 630px; }
.audience-panel ul { margin: 26px 0 30px; padding: 0; list-style: none; display: grid; gap: 10px; }
.audience-panel li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.audience-panel li svg { width: 17px; }
.genre-track { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.genre-track a { min-height: 260px; padding: 28px; border-right: 1px solid var(--line); background: var(--white); position: relative; display: flex; flex-direction: column; justify-content: flex-end; transition: 180ms ease; }
.genre-track a:last-child { border-right: 0; }
.genre-track a:hover { background: var(--blush); }
.genre-track a > span { position: absolute; top: 20px; right: 22px; color: var(--muted); font-size: 11px; font-weight: 800; }
.genre-track a > svg { width: 34px; height: 34px; margin-bottom: auto; color: var(--orange-dark); }
.genre-track h3 { margin-bottom: 2px; font-size: 25px; }
.genre-track p { margin: 0; color: var(--muted); font-size: 13px; }
.creator-section { background: var(--paper); }
.creator-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 76px; align-items: center; }
.creator-image { min-height: 590px; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.creator-image:after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, rgba(13,12,11,.88), transparent); }
.creator-image img { width: 100%; height: 590px; object-fit: cover; }
.creator-image > div { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; color: var(--white); display: flex; flex-direction: column; }
.creator-image span { color: var(--blush); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.creator-image strong { max-width: 410px; margin-top: 5px; font: 800 25px/1.2 "Manrope", sans-serif; }
.creator-copy h2 { max-width: 570px; margin-bottom: 20px; font-size: 45px; line-height: 1.1; }
.creator-copy > p { max-width: 590px; color: var(--muted); font-size: 17px; }
.creator-metrics { margin: 34px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.creator-metrics > div { min-height: 120px; padding: 20px 15px 18px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.creator-metrics > div:not(:first-child) { padding-left: 18px; }
.creator-metrics > div:last-child { border-right: 0; }
.creator-metrics svg { width: 17px; margin-bottom: 8px; color: var(--orange-dark); }
.creator-metrics strong { font: 800 22px "Manrope", sans-serif; }
.creator-metrics span { color: var(--muted); font-size: 11px; }
.journey-section { padding: 104px 0; background: var(--teal); color: var(--white); }
.journey-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; }
.journey-intro { position: sticky; top: 110px; align-self: start; }
.journey-intro h2 { margin-bottom: 18px; font-size: 48px; line-height: 1.08; }
.journey-intro p { max-width: 380px; margin-bottom: 28px; color: rgba(255,255,255,.67); }
.journey-steps { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.2); list-style: none; }
.journey-steps li { min-height: 150px; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.2); display: grid; grid-template-columns: 42px 1fr 40px; gap: 20px; align-items: center; }
.journey-steps li > span { color: var(--blush); font-size: 11px; font-weight: 800; }
.journey-steps b { display: block; margin-bottom: 5px; font: 800 19px "Manrope", sans-serif; }
.journey-steps p { max-width: 540px; margin: 0; color: rgba(255,255,255,.62); font-size: 13px; }
.journey-steps li > svg { width: 28px; height: 28px; color: var(--orange); }
.voices-section { background: var(--blush-soft); }
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #edd2d2; border-radius: var(--radius); overflow: hidden; }
.voice-grid blockquote { min-height: 315px; margin: 0; padding: 34px; background: var(--white); display: flex; flex-direction: column; }
.voice-grid blockquote + blockquote { border-left: 1px solid #edd2d2; }
.voice-grid blockquote > svg { width: 34px; height: 34px; margin-bottom: 35px; color: var(--orange); }
.voice-grid blockquote > p { max-width: 530px; font: 700 21px/1.5 "Manrope", sans-serif; }
.voice-grid footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.voice-grid footer > span { width: 40px; height: 40px; border-radius: 4px; background: var(--blush); display: grid; place-items: center; color: #6d3535; font-size: 11px; font-weight: 800; }
.voice-grid footer div { display: flex; flex-direction: column; }
.voice-grid footer b { font-size: 12px; }
.voice-grid footer small { color: var(--muted); font-size: 11px; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; align-items: start; }
.faq-layout > div:first-child { position: sticky; top: 110px; }
.faq-layout h2 { margin-bottom: 16px; font-size: 45px; line-height: 1.1; }
.faq-layout > div:first-child p { max-width: 380px; color: var(--muted); }
.faq-layout .arrow-link { margin-top: 15px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list article { border-bottom: 1px solid var(--line); }
.faq-list button { width: 100%; min-height: 82px; padding: 20px 3px; border: 0; background: transparent; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 25px; text-align: left; font-size: 16px; font-weight: 800; cursor: pointer; }
.faq-list button svg { flex: 0 0 auto; transition: transform 180ms ease; }
.faq-list article.open button svg { transform: rotate(45deg); color: var(--orange-dark); }
.faq-list article > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 240ms ease; }
.faq-list article > div > p { min-height: 0; margin: 0; overflow: hidden; color: var(--muted); font-size: 14px; }
.faq-list article.open > div { grid-template-rows: 1fr; }
.faq-list article.open > div > p { padding: 0 45px 24px 3px; }
.brief-banner { padding: 88px 0; background: var(--teal); color: var(--white); }
.brief-banner-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.brief-banner h2 { margin: 0; font-size: 48px; line-height: 1.08; }
.brief-banner p { max-width: 540px; color: rgba(255,255,255,.72); font-size: 18px; }

.market-hero { padding: 90px 0 70px; background: var(--blush-soft); border-bottom: 1px solid #f2dddd; }
.market-hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.market-hero h1 { margin: 0; font-size: 58px; line-height: 1.02; }
.market-hero p { max-width: 480px; margin: 0; color: var(--muted); font-size: 18px; }
.market-content { padding: 48px 0 110px; }
.market-toolbar { display: flex; justify-content: space-between; gap: 20px; }
.market-search { width: min(580px, 100%); height: 52px; padding: 0 13px 0 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); display: flex; align-items: center; gap: 12px; }
.market-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,131,0,.12); }
.market-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; }
.market-search kbd { min-width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); display: grid; place-items: center; color: var(--muted); font-size: 11px; }
.view-controls { display: flex; gap: 7px; }
.compact-select { min-height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: 0 34px 0 12px; background: var(--white); color: var(--ink); outline: none; font-size: 13px; font-weight: 700; }
.filter-row { margin-top: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.filter-row button { min-height: 37px; padding: 0 14px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); color: var(--muted); font-size: 12px; font-weight: 800; cursor: pointer; }
.filter-row button:hover, .filter-row button.active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.results-line { margin: 42px 0 20px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.results-line p { margin: 0; }
.results-line a { display: flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 700; }
.results-line svg { width: 15px; }
.script-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.script-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.script-card:hover { border-color: #d4cec8; box-shadow: var(--shadow-small); transform: translateY(-5px); }
.script-cover { height: 340px; position: relative; overflow: hidden; background: var(--panel); display: block; }
.script-cover > img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.script-card:hover .script-cover > img { transform: scale(1.035); }
.script-cover:after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgba(15,14,13,.55), transparent); }
.format-chip { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 9px; border-radius: 4px; background: rgba(252,252,252,.92); color: var(--ink); font-size: 10px; font-weight: 800; text-transform: uppercase; backdrop-filter: blur(8px); }
.cover-action { position: absolute; right: 15px; bottom: 14px; z-index: 1; color: var(--white); display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; opacity: 0; transform: translateY(5px); transition: 180ms ease; }
.script-card:hover .cover-action { opacity: 1; transform: none; }
.cover-action svg { width: 16px; }
.script-card-body { padding: 20px; }
.card-byline { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 700; }
.save-button { width: 31px; height: 31px; padding: 0; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.save-button svg { width: 17px; }
.save-button.saved { color: var(--orange-dark); }
.save-button.saved svg { fill: var(--orange); }
.script-card h3 { margin: 8px 0 8px; font-size: 21px; line-height: 1.25; }
.script-card h3 a:hover { color: var(--orange-dark); }
.script-card-body > p { min-height: 59px; margin-bottom: 16px; color: var(--muted); font-size: 13px; line-height: 1.5; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.script-facts { padding-top: 14px; border-top: 1px solid var(--line); display: flex; gap: 15px; color: var(--muted); font-size: 11px; font-weight: 600; }
.script-facts span { display: flex; align-items: center; gap: 5px; }
.script-facts svg { width: 14px; }
.card-footer { margin-top: 17px; display: flex; align-items: center; justify-content: space-between; }
.card-footer strong { font: 800 20px "Manrope", sans-serif; }
.card-footer .add-cart { background: var(--ink); border-color: var(--ink); color: var(--white); }
.script-grid.list-view { grid-template-columns: 1fr; }
.script-grid.list-view .script-card { display: grid; grid-template-columns: 210px 1fr; }
.script-grid.list-view .script-cover { height: 220px; }
.empty-results { display: none; padding: 90px 20px; text-align: center; }
.empty-results > svg { width: 48px; height: 48px; color: var(--orange); }

.script-detail-hero { min-height: 660px; padding: 64px 0; position: relative; overflow: hidden; background: #171513; color: var(--white); }
.detail-backdrop { position: absolute; inset: 0; opacity: .18; filter: blur(22px); transform: scale(1.12); }
.detail-backdrop img { width: 100%; height: 100%; object-fit: cover; }
.detail-backdrop:after { content: ""; position: absolute; inset: 0; background: rgba(17,16,15,.55); }
.script-detail-grid { position: relative; display: grid; grid-template-columns: 310px 1fr 320px; gap: 52px; align-items: center; }
.detail-cover { height: 470px; position: relative; }
.detail-cover > img { width: 100%; height: 100%; border-radius: var(--radius); object-fit: cover; box-shadow: 0 25px 70px rgba(0,0,0,.35); }
.save-pill { position: absolute; right: 12px; top: 12px; min-height: 38px; padding: 0 12px; border: 0; border-radius: 5px; background: rgba(252,252,252,.92); display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; cursor: pointer; }
.save-pill.saved svg { fill: var(--orange); color: var(--orange-dark); }
.back-link { margin-bottom: 38px; display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.68); font-size: 13px; font-weight: 700; }
.back-link svg { width: 17px; }
.detail-kicker { display: flex; gap: 9px; flex-wrap: wrap; }
.detail-kicker span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.26); border-radius: 4px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.detail-copy h1 { margin: 16px 0 16px; font-size: 56px; line-height: 1.04; }
.detail-logline { max-width: 610px; color: rgba(255,255,255,.74); font-size: 18px; }
.writer-line { margin-top: 28px; display: flex; align-items: center; gap: 11px; }
.writer-line > span { width: 42px; height: 42px; border-radius: 5px; background: var(--blush); color: #662f2f; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.writer-line div { display: flex; flex-direction: column; }
.writer-line small { color: rgba(255,255,255,.55); font-size: 10px; }
.detail-stats { margin-top: 32px; display: flex; gap: 25px; color: rgba(255,255,255,.62); font-size: 11px; }
.detail-stats span { display: flex; align-items: center; gap: 6px; }
.detail-stats svg { width: 15px; }
.detail-stats b { color: var(--white); }
.license-card { padding: 26px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(252,252,252,.09); backdrop-filter: blur(14px); }
.license-card > span { color: var(--blush); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.license-card > strong { margin: 5px 0 8px; display: block; font: 800 36px "Manrope", sans-serif; }
.license-card > p { color: rgba(255,255,255,.68); font-size: 13px; }
.license-card .button { margin-top: 10px; }
.license-card > small { margin-top: 17px; color: rgba(255,255,255,.56); display: flex; align-items: center; gap: 7px; font-size: 10px; }
.license-card > small svg { width: 15px; }
.script-body-section { background: var(--white); }
.script-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 90px; align-items: start; }
.script-main { min-width: 0; }
.detail-section { margin-bottom: 82px; }
.detail-section h2 { margin-bottom: 20px; font-size: 34px; }
.synopsis-copy { max-width: 820px; color: #4f4a46; font-size: 20px; line-height: 1.8; }
.video-frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.reader-head { padding: 22px 26px; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; display: flex; justify-content: space-between; align-items: center; }
.reader-head h2 { margin: 0; }
.reader-head > span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.reader-head > span svg { width: 15px; }
.script-reader pre { min-height: 360px; margin: 0; padding: 44px; border: 1px solid var(--line); background: #fffdfa; white-space: pre-wrap; overflow-wrap: anywhere; color: #2d2a27; font: 15px/1.9 "Courier New", monospace; }
.reader-lock { padding: 34px; border: 1px solid #efcfac; border-top: 0; border-radius: 0 0 var(--radius) var(--radius); background: #fff7ee; text-align: center; }
.reader-lock > svg { width: 32px; height: 32px; color: var(--orange-dark); }
.reader-lock h3 { margin: 8px 0 3px; }
.reader-lock p { color: var(--muted); }
.section-intro { color: var(--muted); }
.suggestion-form { margin: 24px 0 34px; padding: 22px; border-radius: var(--radius); background: var(--panel); }
.suggestion-form .button { margin-top: 10px; }
.signin-prompt { margin: 24px 0 34px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; gap: 14px; }
.signin-prompt > svg { color: var(--orange); }
.signin-prompt p { flex: 1; margin: 0; color: var(--muted); }
.signin-prompt p b { color: var(--ink); }
.public-suggestions { display: grid; gap: 18px; }
.public-suggestions article { padding-top: 18px; border-top: 1px solid var(--line); display: flex; gap: 13px; }
.public-suggestions article > span { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 5px; background: var(--blush); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.public-suggestions article > div { flex: 1; }
.public-suggestions small { margin-left: 8px; color: var(--muted); }
.public-suggestions p { margin: 6px 0; color: #4e4945; }
.writer-response { margin-top: 12px; padding: 12px; border-left: 3px solid var(--orange); background: var(--blush-soft); color: var(--muted); font-size: 13px; }
.writer-response b { margin-right: 8px; color: var(--ink); }
.script-sidebar { display: grid; gap: 18px; position: sticky; top: 100px; }
.script-sidebar > div { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.script-sidebar dl { margin: 0; }
.script-sidebar dl > * { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.script-sidebar dt { float: left; clear: left; color: var(--muted); font-size: 12px; }
.script-sidebar dd { text-align: right; font-size: 12px; font-weight: 700; }
.writer-profile > span { width: 46px; height: 46px; border-radius: 5px; background: var(--blush); display: grid; place-items: center; color: #632d2d; font-size: 12px; font-weight: 800; }
.writer-profile h3 { margin: 12px 0 5px; }
.writer-profile p { margin: 0; color: var(--muted); font-size: 13px; }
.related-section { background: var(--panel); }

.request-hero { padding: 100px 0 84px; background: var(--teal); color: var(--white); }
.request-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: end; }
.request-hero h1 { margin-bottom: 20px; font-size: 60px; line-height: 1.04; }
.request-hero p { max-width: 660px; margin: 0; color: rgba(255,255,255,.72); font-size: 18px; }
.request-hero ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.24); }
.request-hero li { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.24); display: flex; gap: 13px; color: rgba(255,255,255,.75); }
.request-hero li b { color: var(--blush); }
.request-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.request-aside { position: sticky; top: 108px; }
.request-aside h2 { font-size: 35px; line-height: 1.15; }
.request-aside > p { color: var(--muted); }
.request-aside blockquote { margin: 38px 0; padding: 24px 0; border-block: 1px solid var(--line); font: 700 20px/1.55 "Manrope", sans-serif; }
.request-aside cite { margin-top: 12px; display: block; color: var(--muted); font: normal 12px "DM Sans", sans-serif; }
.request-assurance { display: flex; gap: 12px; }
.request-assurance > svg { color: var(--orange-dark); }
.request-assurance div { display: flex; flex-direction: column; }
.request-assurance span { color: var(--muted); font-size: 12px; }
.request-form-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-small); }
.request-form-head { height: 64px; padding: 0 26px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.request-form-head span { font-weight: 800; text-transform: uppercase; }
.request-form-head strong { color: var(--muted); }
.brief-form { padding: 30px; }
.form-gate { min-height: 500px; padding: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.form-gate > svg { width: 46px; height: 46px; color: var(--orange); }
.form-gate h2 { margin: 17px 0 8px; }
.form-gate p { max-width: 430px; color: var(--muted); }
.form-gate .button { width: min(310px, 100%); margin-top: 8px; }
.field-group { min-width: 0; margin-bottom: 20px; }
.field-group label, .form-stack > label, .brief-form label, .editor-settings label, .order-summary label { margin-bottom: 7px; display: block; color: #403c38; font-size: 12px; font-weight: 800; }
.field { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #dcd7d1; border-radius: 5px; outline: 0; background: var(--white); color: var(--ink); transition: border 150ms ease, box-shadow 150ms ease; }
.field:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,131,0,.12); }
textarea.field { resize: vertical; line-height: 1.6; }
.field-large { min-height: 56px; font: 700 18px "Manrope", sans-serif; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-row > .field-group { margin-bottom: 20px; }
.character-count { margin-top: -2px; color: var(--muted); text-align: right; font-size: 11px; }

.cart-heading { padding: 64px 0 42px; background: var(--blush-soft); }
.cart-heading .back-link { margin-bottom: 32px; color: var(--muted); }
.cart-heading h1 { margin-bottom: 6px; font-size: 48px; }
.cart-heading p { margin: 0; color: var(--muted); }
.cart-section { padding: 46px 0 110px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 34px; align-items: start; }
.cart-column-head { padding: 0 16px 10px; display: grid; grid-template-columns: 1fr 170px 100px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.cart-column-head span:nth-child(2), .cart-column-head span:nth-child(3) { text-align: right; }
.cart-items { display: grid; gap: 10px; }
.cart-item { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: grid; grid-template-columns: 88px minmax(0, 1fr) 170px 100px; gap: 16px; align-items: center; }
.cart-item img { width: 88px; height: 104px; border-radius: 5px; object-fit: cover; }
.cart-info span { color: var(--orange-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.cart-info h3 { margin: 3px 0; font-size: 17px; }
.cart-info small { color: var(--muted); }
.cart-license { color: var(--muted); text-align: right; font-size: 12px; }
.cart-price { text-align: right; }
.cart-price strong { display: block; font-size: 18px; }
.remove-line { padding: 4px 0; border: 0; background: transparent; color: var(--danger); font-size: 11px; font-weight: 700; cursor: pointer; }
.cart-empty { min-height: 420px; border: 1px dashed #d9d4ce; border-radius: var(--radius); display: none; place-items: center; align-content: center; text-align: center; }
.cart-empty > svg { width: 48px; height: 48px; color: var(--orange); }
.cart-empty h2 { margin: 13px 0 2px; }
.cart-empty p { color: var(--muted); }
.order-summary { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); position: sticky; top: 96px; box-shadow: var(--shadow-small); }
.order-summary h2 { margin-bottom: 24px; }
.order-summary > div { padding: 10px 0; display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.order-summary .summary-total { margin: 10px 0 20px; padding-top: 18px; border-top: 1px solid var(--line); align-items: center; color: var(--ink); }
.summary-total strong { font-size: 27px; }
.order-summary form label { margin: 13px 0; }
.secure-note { margin: 18px 0 0; color: var(--muted); display: flex; align-items: flex-start; gap: 8px; font-size: 10px; line-height: 1.5; }
.secure-note svg { width: 15px; flex: 0 0 auto; }

.about-hero { min-height: 560px; padding: 130px 0 90px; background: linear-gradient(90deg, rgba(19,17,16,.92), rgba(19,17,16,.4)), url("https://images.unsplash.com/photo-1452626038306-9aae5e071dd3?auto=format&fit=crop&w=2000&q=85") center / cover; color: var(--white); }
.about-hero h1 { margin-bottom: 24px; font-size: 64px; line-height: 1.04; }
.about-hero p { max-width: 670px; color: rgba(255,255,255,.72); font-size: 19px; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.about-grid h2 { font-size: 42px; line-height: 1.12; }
.about-grid > div:last-child { color: var(--muted); font-size: 18px; }
.principles { background: var(--blush-soft); border-block: 1px solid #f2dddd; }
.principles .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.principles article { min-height: 300px; padding: 30px; border-right: 1px solid #ebd2d2; position: relative; }
.principles article:first-child { border-left: 1px solid #ebd2d2; }
.principles article > span { position: absolute; right: 20px; top: 18px; color: #a58080; font-size: 11px; font-weight: 800; }
.principles article > svg { width: 34px; height: 34px; margin: 50px 0 50px; color: var(--orange-dark); }
.principles h3 { margin-bottom: 8px; }
.principles p { margin: 0; color: var(--muted); font-size: 13px; }
.process-line { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: steps; }
.process-line article { min-height: 180px; padding: 26px 24px; border-top: 3px solid var(--ink); counter-increment: steps; position: relative; }
.process-line article:before { content: counter(steps, decimal-leading-zero); position: absolute; top: -34px; right: 10px; color: var(--orange); font: 800 18px "Manrope", sans-serif; }
.process-line b { font: 800 19px "Manrope", sans-serif; }
.process-line p { margin-top: 10px; color: var(--muted); font-size: 13px; }
.about-cta { padding: 80px 0; background: var(--orange); }
.about-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.about-cta h2 { margin: 0; font-size: 38px; }
.about-cta .container > div { display: flex; gap: 10px; }
.not-found { min-height: 70vh; display: grid; place-items: center; align-content: center; text-align: center; }
.not-found > svg { width: 60px; height: 60px; color: var(--orange); }

.auth-page .site-header { position: absolute; inset: 0 0 auto; background: transparent; border: 0; }
.auth-page .site-header .brand, .auth-page .desktop-nav, .auth-page .cart-button, .auth-page .text-link, .auth-page .nav-join { display: none; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-visual { min-height: 760px; padding: 110px 8% 70px; background: linear-gradient(0deg, rgba(21,18,16,.84), rgba(21,18,16,.32)), url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=1600&q=85") center / cover; color: var(--white); display: flex; }
.auth-visual-content { max-width: 650px; margin-top: auto; }
.auth-visual .brand { margin-bottom: 80px; }
.auth-visual h1 { margin-bottom: 22px; font-size: 58px; line-height: 1.04; }
.auth-visual p { max-width: 590px; color: rgba(255,255,255,.74); font-size: 17px; }
.auth-proof { margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); display: flex; gap: 46px; }
.auth-proof div { display: flex; flex-direction: column; }
.auth-proof strong { font: 800 22px "Manrope", sans-serif; }
.auth-proof span { color: rgba(255,255,255,.58); font-size: 11px; text-transform: uppercase; }
.auth-form-side { padding: 105px 8% 60px; display: flex; align-items: center; justify-content: center; }
.auth-card { width: min(470px, 100%); }
.auth-tabs { margin-bottom: 42px; border-bottom: 1px solid var(--line); display: flex; gap: 26px; }
.auth-tabs a { padding: 12px 0; border-bottom: 3px solid transparent; color: var(--muted); font-size: 13px; font-weight: 800; }
.auth-tabs a.active { border-color: var(--orange); color: var(--ink); }
.auth-heading > span { color: var(--orange-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.auth-heading h2 { margin: 5px 0 7px; font-size: 36px; }
.auth-heading p { margin-bottom: 28px; color: var(--muted); }
.form-stack { display: grid; gap: 16px; }
.form-stack > label { margin: 0; }
.form-stack label .field { margin-top: 6px; }
.role-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.role-picker input { position: absolute; opacity: 0; }
.role-picker label > span { min-height: 116px; padding: 15px; border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; cursor: pointer; }
.role-picker input:checked + span { border-color: var(--orange); background: #fff8f0; box-shadow: 0 0 0 2px rgba(255,131,0,.12); }
.role-picker svg { width: 23px; margin-bottom: 9px; color: var(--orange-dark); }
.role-picker b { font-size: 13px; }
.role-picker small { color: var(--muted); font-size: 10px; }
.demo-access { margin-top: 22px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); display: flex; gap: 6px; align-items: center; }
.demo-access span { margin-right: auto; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.demo-access button { padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: 10px; font-weight: 800; cursor: pointer; }
.auth-terms { margin-top: 23px; color: var(--muted); font-size: 10px; text-align: center; }
.auth-page .site-footer, .auth-page .mobile-dock { display: none; }

.dashboard-page { background: #f5f5f4; }
.dashboard-page .site-header, .dashboard-page .site-footer, .dashboard-page .mobile-dock { display: none; }
.workspace { min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.workspace-sidebar { height: 100vh; padding: 20px 14px; border-right: 1px solid #272523; background: #171615; color: var(--white); position: sticky; top: 0; display: flex; flex-direction: column; }
.workspace-brand { padding: 0 8px 24px; display: flex; align-items: center; gap: 9px; font: 800 18px "Manrope", sans-serif; }
.workspace-brand img { width: 38px; height: 38px; object-fit: contain; }
.workspace-person { margin-bottom: 18px; padding: 14px 9px; border-block: 1px solid #302e2b; display: flex; align-items: center; gap: 10px; }
.workspace-person > span { width: 34px; height: 34px; border-radius: 4px; background: var(--blush); color: #5f2b2b; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.workspace-person div { min-width: 0; display: flex; flex-direction: column; }
.workspace-person b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.workspace-person small { color: #9d9994; font-size: 10px; }
.workspace-nav { display: grid; gap: 4px; }
.workspace-nav button, .workspace-sidebar-bottom a { width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 5px; background: transparent; color: #bdb9b4; display: flex; align-items: center; gap: 11px; text-align: left; font-size: 12px; font-weight: 700; cursor: pointer; }
.workspace-nav button:hover, .workspace-nav button.active, .workspace-sidebar-bottom a:hover { background: #2a2825; color: var(--white); }
.workspace-nav button.active { box-shadow: inset 3px 0 var(--orange); }
.workspace-nav button > span { min-width: 20px; height: 20px; margin-left: auto; border-radius: 10px; background: var(--orange); color: var(--white); display: grid; place-items: center; font-size: 9px; }
.workspace-nav svg, .workspace-sidebar-bottom svg { width: 17px; }
.workspace-sidebar-bottom { margin-top: auto; padding-top: 12px; border-top: 1px solid #302e2b; }
.workspace-main { min-width: 0; }
.workspace-topbar { height: 64px; padding: 0 26px; border-bottom: 1px solid var(--line); background: var(--white); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.workspace-topbar > div { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.workspace-topbar strong { color: var(--ink); }
.workspace-topbar .icon-button { width: 36px; height: 36px; background: transparent; }
.notification-dot { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border: 1px solid var(--white); border-radius: 50%; background: var(--orange); }
.workspace-menu { display: none; }
.workspace-content { padding: 34px; }
.workspace-panel { display: none; }
.workspace-panel.active { display: block; animation: panelIn 220ms ease both; }
.workspace-welcome { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.workspace-welcome h1 { margin: 0 0 5px; font-size: 30px; }
.workspace-welcome p { margin: 0; color: var(--muted); font-size: 13px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.metric-card { min-height: 156px; padding: 19px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); display: flex; flex-direction: column; }
.metric-card.accent { background: var(--blush); border-color: #efbbbb; }
.metric-card > span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 700; }
.metric-card > span svg { width: 16px; }
.metric-card strong { margin-top: auto; font: 800 30px "Manrope", sans-serif; }
.metric-card small { color: var(--muted); font-size: 10px; }
.dashboard-grid { margin-top: 14px; display: grid; grid-template-columns: 1.45fr .75fr; gap: 14px; }
.data-panel { min-height: 300px; padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.panel-title { margin-bottom: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.panel-title > div { display: flex; flex-direction: column; }
.panel-title span { color: var(--orange-dark); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.panel-title h2 { margin: 3px 0 0; font-size: 19px; }
.chart { height: 220px; padding: 20px 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; align-items: end; }
.chart > div { height: var(--h); min-height: 20px; background: var(--orange); position: relative; animation: growBar 700ms ease both; transform-origin: bottom; }
.chart > div:nth-child(2n) { background: var(--blush); }
.chart span { position: absolute; bottom: -25px; left: 50%; color: var(--muted); font-size: 9px; transform: translateX(-50%); }
.feedback-preview { display: grid; gap: 16px; }
.feedback-preview article { display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.feedback-preview article > span { width: 34px; height: 34px; border-radius: 4px; background: var(--blush); display: grid; place-items: center; font-size: 9px; font-weight: 800; }
.feedback-preview b { font-size: 11px; }
.feedback-preview p { margin: 2px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.empty-mini { padding: 30px; color: var(--muted); font-size: 12px; text-align: center; }
.empty-mini a { color: var(--orange-dark); font-weight: 700; }
.library-strip { display: grid; gap: 8px; }
.library-strip > a { padding: 9px; border: 1px solid var(--line); border-radius: 5px; display: grid; grid-template-columns: 44px 1fr 20px; gap: 10px; align-items: center; }
.library-strip img { width: 44px; height: 50px; border-radius: 3px; object-fit: cover; }
.library-strip div { min-width: 0; display: flex; flex-direction: column; }
.library-strip b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.library-strip span { color: var(--muted); font-size: 9px; }
.responsive-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.responsive-table table { width: 100%; min-width: 830px; border-collapse: collapse; }
.responsive-table th { padding: 12px 16px; border-bottom: 1px solid var(--line); background: #f9f8f7; color: var(--muted); text-align: left; font-size: 9px; text-transform: uppercase; }
.responsive-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 11px; }
.responsive-table tr:last-child td { border-bottom: 0; }
.table-script { display: flex; align-items: center; gap: 10px; }
.table-script img { width: 40px; height: 48px; border-radius: 3px; object-fit: cover; }
.table-script div { display: flex; flex-direction: column; }
.table-script b { font-size: 12px; }
.table-script span { color: var(--muted); font-size: 9px; }
.status { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 4px; background: #eee; color: #555; font-style: normal; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.status-published, .status-paid, .status-delivered, .status-planned { background: #dff1e7; color: #226240; }
.status-review, .status-considering, .status-quoted, .status-writing { background: #fff0da; color: #885000; }
.status-draft, .status-new, .status-submitted { background: #eae9f5; color: #514c75; }
.status-archived, .status-closed { background: #eee; color: #68635f; }
.table-actions { display: flex; justify-content: flex-end; gap: 5px; }
.table-actions .icon-button { width: 33px; height: 33px; }
.editor-form { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.editor-main, .editor-settings { padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.editor-main .field-row { grid-template-columns: 1.2fr 1fr .6fr; }
.screenplay-field { font-family: "Courier New", monospace; }
.field-group small { color: var(--muted); font-size: 10px; }
.editor-settings { position: sticky; top: 84px; }
.settings-block { margin-bottom: 23px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.settings-block h3 { margin-bottom: 16px; font-size: 14px; }
.settings-block label { margin-top: 12px; }
.switch-row { min-height: 54px; display: flex !important; align-items: center; gap: 10px; cursor: pointer; }
.switch-row > span { flex: 1; display: flex; flex-direction: column; }
.switch-row small { color: var(--muted); font-weight: 400; }
.switch-row input { position: absolute; opacity: 0; }
.switch-row > i { width: 38px; height: 21px; border-radius: 11px; background: #bbb7b2; position: relative; transition: 180ms ease; }
.switch-row > i:after { content: ""; width: 15px; height: 15px; border-radius: 50%; background: var(--white); position: absolute; left: 3px; top: 3px; transition: 180ms ease; }
.switch-row input:checked + i { background: var(--orange); }
.switch-row input:checked + i:after { transform: translateX(17px); }
.form-note { margin: 15px 0 0; color: var(--muted); display: flex; gap: 7px; font-size: 9px; }
.form-note svg { width: 14px; }
.feedback-list { display: grid; gap: 12px; }
.feedback-list article { padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.feedback-meta { display: flex; align-items: center; gap: 10px; }
.feedback-meta > span { width: 36px; height: 36px; border-radius: 4px; background: var(--blush); display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.feedback-meta > div { display: flex; flex-direction: column; }
.feedback-meta b { font-size: 12px; }
.feedback-meta small { color: var(--muted); font-size: 10px; }
.feedback-meta em { margin-left: auto; }
.feedback-list article > p { margin: 15px 0 0; color: #4c4844; font-size: 13px; }
.writer-reply { margin-top: 14px; padding: 12px; border-left: 3px solid var(--orange); background: #fff7ee; color: var(--muted); font-size: 11px; }
.writer-reply b { margin-right: 8px; color: var(--ink); }
.empty-panel { min-height: 260px; padding: 35px; border: 1px dashed #d8d3cd; border-radius: 6px; display: grid; place-items: center; align-content: center; text-align: center; }
.empty-panel > svg { width: 42px; height: 42px; color: var(--orange); }
.empty-panel h3 { margin: 12px 0 3px; }
.empty-panel p { color: var(--muted); }
.review-grid, .purchase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.review-grid article, .purchase-grid article { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.review-grid img, .purchase-grid img { width: 110px; height: 145px; border-radius: 4px; object-fit: cover; }
.review-grid article > div > span, .purchase-grid article > div > span { color: var(--orange-dark); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.review-grid h3, .purchase-grid h3 { margin: 4px 0; font-size: 16px; }
.review-grid p, .purchase-grid p { margin: 0 0 10px; color: var(--muted); font-size: 10px; }
.review-grid article > div > div, .purchase-grid article > div > div { margin-top: 14px; display: flex; gap: 7px; }
.review-grid form { display: inline-flex; }
.timeline-list { display: grid; gap: 8px; }
.timeline-list article { min-height: 72px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; }
.timeline-list h3 { margin: 0; font-size: 13px; }
.timeline-list p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.timeline-list > article > small { color: var(--muted); font-size: 9px; }
.modal { position: fixed; inset: 0; z-index: 130; padding: 28px; background: rgba(18,17,16,.68); display: none; place-items: center; backdrop-filter: blur(5px); }
.modal.open { display: grid; }
.modal-dialog { width: min(620px, 100%); max-height: calc(100vh - 56px); padding: 28px; border-radius: var(--radius); background: var(--white); overflow-y: auto; position: relative; box-shadow: var(--shadow); }
.modal-wide { width: min(920px, 100%); }
.modal-close { position: absolute; right: 18px; top: 18px; }
.modal-dialog h2 { font-size: 26px; }
.modal-dialog .field-row { grid-template-columns: repeat(3, 1fr); }
.modal-dialog .align-end { align-items: end; }

.site-footer { padding: 70px 0 20px; border-top: 1px solid #2c2927; background: #181716; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr 1fr; gap: 55px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid b { margin-bottom: 8px; color: var(--white); font-size: 12px; }
.footer-grid a, .footer-grid p { color: #9e9994; font-size: 12px; }
.footer-brand p { max-width: 270px; margin-top: 16px; }
.footer-note { padding-left: 24px; border-left: 1px solid #383532; }
.footer-bottom { margin-top: 55px; padding-top: 18px; border-top: 1px solid #302e2b; color: #77726e; display: flex; justify-content: space-between; font-size: 10px; }
.mobile-dock { display: none; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 140; max-width: 340px; padding: 13px 16px; border-radius: 6px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transform: translateY(12px); transition: 180ms ease; }
.toast.show { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.visible { opacity: 1; transform: none; transition: opacity 500ms ease, transform 500ms ease; }

@keyframes heroSettle { from { transform: scale(1.09); opacity: .65; } to { transform: scale(1.02); opacity: 1; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes growBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes matcherSpin { to { transform: rotate(360deg); } }
@keyframes matchSwap { 50% { opacity: .25; transform: translateY(7px); } }

@media (max-width: 1100px) {
    .desktop-nav { gap: 17px; }
    .nav-join { display: none; }
    .featured-layout { grid-template-columns: 1.15fr .85fr; }
    .matcher-layout { grid-template-columns: 1fr; gap: 42px; }
    .matcher-copy { max-width: 680px; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid article:nth-child(2) { border-right: 0; }
    .trust-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
    .creator-layout { gap: 45px; }
    .faq-layout { gap: 60px; }
    .script-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .script-detail-grid { grid-template-columns: 250px 1fr; gap: 35px; }
    .detail-cover { height: 390px; }
    .license-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
    .license-card > span, .license-card > strong, .license-card > p { grid-column: 1; }
    .license-card .button, .license-card > small { grid-column: 2; }
    .license-card .button { grid-row: auto; }
    .workspace { grid-template-columns: 220px minmax(0, 1fr); }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .review-grid, .purchase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .container { width: min(100% - 36px, 1240px); }
    .section { padding: 76px 0; }
    .desktop-nav, .nav-actions .text-link, .nav-join { display: none; }
    .menu-toggle { display: inline-grid; }
    .mobile-nav { position: fixed; left: 18px; right: 18px; top: 78px; z-index: 90; padding: 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
    .mobile-nav.open { display: grid; animation: panelIn 180ms ease; }
    .mobile-nav a { padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
    .mobile-nav a:last-child { border-bottom: 0; }
    .hero-content h1 { font-size: 58px; }
    .hero-now { display: none; }
    .signal-grid { padding: 22px 0; grid-template-columns: repeat(3, 1fr); }
    .signal-grid p { grid-column: 1 / -1; margin: 0; }
    .featured-layout { grid-template-columns: 1fr; }
    .matcher-tool { grid-template-columns: 1fr 1fr; }
    .featured-stack { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
    .stack-story { grid-template-columns: 1fr; align-content: start; }
    .stack-story > svg { display: none; }
    .stack-story img { width: 100%; height: 140px; }
    .side-switch { grid-template-columns: 1fr; gap: 36px; }
    .trust-heading, .creator-layout, .journey-layout, .faq-layout { grid-template-columns: 1fr; gap: 42px; }
    .trust-heading { align-items: start; }
    .creator-copy { order: -1; }
    .creator-image { min-height: 500px; }
    .creator-image img { height: 500px; }
    .journey-intro, .faq-layout > div:first-child { position: static; }
    .audience-stage, .audience-panel { min-height: 470px; }
    .genre-track { grid-template-columns: 1fr 1fr; }
    .voice-grid blockquote > p { font-size: 18px; }
    .genre-track a:nth-child(2) { border-right: 0; }
    .genre-track a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .brief-banner-inner, .market-hero-inner, .request-hero-grid, .request-layout, .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .market-hero h1, .request-hero h1 { font-size: 48px; }
    .script-detail-grid { grid-template-columns: 220px 1fr; }
    .detail-copy h1 { font-size: 42px; }
    .license-card { grid-template-columns: 1fr; }
    .license-card > span, .license-card > strong, .license-card > p, .license-card .button, .license-card > small { grid-column: 1; }
    .script-body-grid { grid-template-columns: 1fr; gap: 20px; }
    .script-sidebar { position: static; grid-template-columns: 1fr 1fr; }
    .request-aside { position: static; }
    .cart-layout { grid-template-columns: 1fr; }
    .order-summary { position: static; }
    .principles .container { grid-template-columns: 1fr 1fr; }
    .principles article:nth-child(2) { border-right: 0; }
    .principles article:nth-child(-n+2) { border-bottom: 1px solid #ebd2d2; }
    .process-line { grid-template-columns: 1fr 1fr; row-gap: 30px; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-visual { min-height: 560px; }
    .workspace { display: block; }
    .workspace-sidebar { width: 250px; position: fixed; left: 0; top: 0; z-index: 90; transform: translateX(-100%); transition: transform 200ms ease; }
    .workspace-sidebar.open { transform: none; box-shadow: var(--shadow); }
    .workspace-menu { display: inline-grid !important; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .editor-form { grid-template-columns: 1fr; }
    .editor-settings { position: static; }
}

@media (max-width: 620px) {
    body { padding-bottom: 68px; }
    .container { width: min(100% - 28px, 1240px); }
    .section { padding: 62px 0; }
    .site-header { top: 0; }
    .nav-shell { min-height: 64px; }
    .brand { font-size: 18px; }
    .brand img { width: 36px; height: 36px; }
    .nav-actions { gap: 7px; }
    .nav-actions > .account-chip b { display: none; }
    .account-chip { padding-right: 4px; }
    .mobile-nav { top: 70px; }
    .setup-notice .container { padding-block: 9px; line-height: 1.35; }
    .home-hero { height: calc(100svh - 84px); min-height: 570px; max-height: 760px; }
    .hero-image { background-position: 58% center; }
    .hero-shade { background: linear-gradient(0deg, rgba(12,11,10,.9), rgba(12,11,10,.16)), linear-gradient(90deg, rgba(12,11,10,.52), transparent); }
    .hero-content { padding-top: 60px; padding-bottom: 80px; justify-content: flex-end; }
    .hero-content h1 { font-size: 46px; line-height: 1.02; }
    .hero-content > p { font-size: 16px; }
    .hero-suggestions { width: 100%; gap: 8px 11px; flex-wrap: wrap; }
    .hero-search { min-height: 58px; padding: 6px 6px 6px 14px; }
    .hero-search button { width: 48px; min-height: 46px; padding: 0; font-size: 0; justify-content: center; }
    .hero-trust { gap: 10px 16px; flex-wrap: wrap; }
    .hero-trust span { font-size: 10px; }
    .hero-scroll { display: none; }
    .signal-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
    .signal-grid > div { border-right: 0; }
    .signal-grid > div:nth-child(3) { grid-column: 1 / -1; }
    .signal-grid p { font-size: 16px; }
    .matcher-copy h2, .trust-heading h2, .creator-copy h2, .journey-intro h2, .faq-layout h2 { font-size: 35px; }
    .matcher-tool { grid-template-columns: 1fr; }
    .matcher-controls { padding: 22px 18px; }
    .matcher-selects { grid-template-columns: 1fr; }
    .matcher-result { grid-template-rows: 230px auto; }
    .match-details { min-height: 260px; padding: 22px 18px; }
    .section-heading { margin-bottom: 25px; align-items: flex-start; flex-direction: column; }
    .section-heading h2 { font-size: 30px; }
    .featured-lead { min-height: 510px; }
    .featured-overlay { left: 20px; right: 20px; bottom: 20px; }
    .featured-overlay h3 { font-size: 28px; }
    .featured-stack { display: grid; grid-template-columns: 1fr; }
    .stack-story { grid-template-columns: 92px 1fr; }
    .stack-story img { width: 92px; height: 112px; }
    .switch-copy h2, .brief-banner h2 { font-size: 35px; }
    .audience-tabs { width: 100%; }
    .audience-tabs button { flex: 1; padding: 0 8px; }
    .audience-stage, .audience-panel { min-height: 0; }
    .audience-panel { padding: 28px 22px; grid-template-columns: 1fr; }
    .audience-number { font-size: 42px; }
    .audience-panel h3 { font-size: 27px; }
    .trust-section, .journey-section { padding: 72px 0; }
    .trust-heading { margin-bottom: 32px; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-grid article { min-height: 235px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
    .trust-grid article:last-child { border-bottom: 0; }
    .trust-grid article > svg { margin: 35px 0 24px; }
    .creator-image, .creator-image img { min-height: 430px; height: 430px; }
    .creator-metrics { grid-template-columns: 1fr 1fr; }
    .creator-metrics > div { min-height: 105px; }
    .creator-metrics > div:nth-child(2) { border-right: 0; }
    .creator-metrics > div:last-child { grid-column: 1 / -1; padding-left: 0; border-top: 1px solid var(--line); }
    .journey-steps li { min-height: 170px; grid-template-columns: 34px 1fr; }
    .journey-steps li > svg { display: none; }
    .voice-grid { grid-template-columns: 1fr; }
    .voice-grid blockquote { min-height: 300px; padding: 27px 22px; }
    .voice-grid blockquote + blockquote { border-left: 0; border-top: 1px solid #edd2d2; }
    .faq-list button { min-height: 72px; font-size: 14px; }
    .genre-track { grid-template-columns: 1fr; }
    .genre-track a { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--line); }
    .genre-track a:last-child { border-bottom: 0; }
    .brief-banner-inner { gap: 28px; }
    .market-hero { padding: 62px 0 50px; }
    .market-hero h1, .request-hero h1 { font-size: 39px; }
    .market-toolbar { flex-direction: column; }
    .view-controls .icon-button { display: none; }
    .view-controls .compact-select { flex: 1; }
    .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
    .filter-row button { white-space: nowrap; }
    .results-line { align-items: flex-start; flex-direction: column; }
    .script-grid, .script-grid.list-view { grid-template-columns: 1fr; }
    .script-grid.list-view .script-card { display: block; }
    .script-cover, .script-grid.list-view .script-cover { height: 390px; }
    .script-detail-hero { padding: 34px 0 46px; }
    .script-detail-grid { grid-template-columns: 1fr; gap: 26px; }
    .detail-cover { width: min(290px, 86%); height: 420px; margin: auto; }
    .back-link { margin-bottom: 24px; }
    .detail-copy h1 { font-size: 39px; }
    .detail-stats { gap: 13px; flex-wrap: wrap; }
    .script-body-section { padding-top: 64px; }
    .detail-section { margin-bottom: 60px; }
    .synopsis-copy { font-size: 17px; }
    .script-reader pre { min-height: 300px; padding: 24px 18px; font-size: 13px; }
    .reader-head { align-items: flex-start; flex-direction: column; }
    .reader-lock { padding: 27px 18px; }
    .signin-prompt { align-items: flex-start; flex-wrap: wrap; }
    .script-sidebar { grid-template-columns: 1fr; }
    .request-hero { padding: 62px 0; }
    .request-hero ol { grid-template-columns: 1fr 1fr; }
    .brief-form, .form-gate { padding: 20px; }
    .field-row, .editor-main .field-row, .modal-dialog .field-row { grid-template-columns: 1fr; gap: 0; }
    .cart-heading h1 { font-size: 38px; }
    .cart-column-head { display: none; }
    .cart-item { grid-template-columns: 82px 1fr; }
    .cart-item img { width: 82px; height: 98px; }
    .cart-license { grid-column: 2; text-align: left; }
    .cart-price { grid-column: 2; text-align: left; }
    .order-summary { padding: 21px; }
    .about-hero { min-height: 580px; padding: 120px 0 70px; }
    .about-hero h1 { font-size: 43px; }
    .about-grid h2 { font-size: 34px; }
    .principles .container, .process-line { grid-template-columns: 1fr; }
    .principles article { min-height: 230px; border-right: 1px solid #ebd2d2; border-bottom: 1px solid #ebd2d2; }
    .principles article > svg { margin: 35px 0 28px; }
    .process-line { row-gap: 28px; }
    .about-cta .container { align-items: flex-start; flex-direction: column; }
    .about-cta h2 { font-size: 30px; }
    .about-cta .container > div { width: 100%; flex-direction: column; }
    .auth-page { padding-bottom: 0; }
    .auth-page .site-header { display: none; }
    .auth-visual { min-height: 520px; padding: 55px 24px; }
    .auth-visual .brand { margin-bottom: 70px; }
    .auth-visual h1 { font-size: 42px; }
    .auth-proof { gap: 18px; justify-content: space-between; }
    .auth-form-side { padding: 56px 20px; }
    .role-picker { grid-template-columns: 1fr; }
    .demo-access { flex-wrap: wrap; }
    .demo-access span { width: 100%; }
    .dashboard-page { padding-bottom: 0; }
    .workspace-content { padding: 22px 14px; }
    .workspace-topbar { padding: 0 14px; }
    .workspace-welcome { align-items: flex-start; flex-direction: column; }
    .workspace-welcome .button { width: 100%; }
    .workspace-welcome h1 { font-size: 26px; }
    .metric-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .metric-card { min-height: 132px; padding: 15px; }
    .metric-card strong { font-size: 25px; }
    .data-panel { padding: 16px; }
    .chart { gap: 6px; }
    .editor-main, .editor-settings { padding: 17px; }
    .review-grid article, .purchase-grid article { grid-template-columns: 86px 1fr; }
    .review-grid img, .purchase-grid img { width: 86px; height: 116px; }
    .timeline-list article { grid-template-columns: 1fr; gap: 7px; }
    .modal { padding: 10px; }
    .modal-dialog { max-height: calc(100vh - 20px); padding: 22px 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
    .footer-brand, .footer-note { grid-column: 1 / -1; }
    .footer-note { padding: 20px 0 0; border-left: 0; border-top: 1px solid #383532; }
    .site-footer { padding-bottom: 88px; }
    .mobile-dock { height: 66px; padding: 5px 12px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(252,252,252,.96); display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; backdrop-filter: blur(14px); }
    .mobile-dock a { color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 9px; font-weight: 700; }
    .mobile-dock svg { width: 19px; }
    .mobile-dock .dock-create { width: 48px; height: 48px; align-self: center; justify-self: center; border-radius: 50%; background: var(--orange); color: var(--white); transform: translateY(-13px); box-shadow: 0 8px 20px rgba(216,100,0,.28); }
    .toast { left: 14px; right: 14px; bottom: 82px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Professional workspace */
.dashboard-page { --workspace-topbar-height: 60px; background: #f4f3f1; }
.dashboard-page .workspace { grid-template-columns: 264px minmax(0, 1fr); transition: grid-template-columns 180ms ease; }
.dashboard-page .workspace-sidebar { width: 264px; padding: 16px 12px; border-right: 0; background: #201f1d; transition: width 180ms ease, transform 200ms ease; }
.dashboard-page .workspace-sidebar:before { content: ""; height: 3px; position: absolute; inset: 0 0 auto; background: var(--orange); }
.workspace-sidebar-head { display: flex; align-items: flex-start; gap: 8px; }
.workspace-sidebar-head .workspace-brand { min-width: 0; flex: 1; }
.workspace-sidebar-close, .workspace-sidebar-backdrop { display: none; }
.dashboard-page .workspace-brand { min-height: 48px; padding: 2px 8px 14px; gap: 10px; }
.dashboard-page .workspace-brand > span { display: flex; flex-direction: column; line-height: 1.1; }
.dashboard-page .workspace-brand small { margin-top: 5px; color: #8e8983; font: 600 9px "DM Sans", sans-serif; text-transform: uppercase; }
.dashboard-page .workspace-person { margin: 6px 0 18px; padding: 13px 9px; border: 1px solid #35322f; border-radius: 6px; background: #282624; }
.dashboard-page .workspace-person > span { position: relative; flex: 0 0 auto; }
.dashboard-page .workspace-person > span i { width: 9px; height: 9px; position: absolute; right: -2px; bottom: -2px; border: 2px solid #282624; border-radius: 50%; background: #43a56d; }
.workspace-nav-label { margin: 2px 12px 7px; color: #726d67; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.dashboard-page .workspace-nav { gap: 2px; }
.dashboard-page .workspace-nav button, .dashboard-page .workspace-sidebar-bottom a { min-height: 42px; border-radius: 4px; }
.dashboard-page .workspace-nav button:hover, .dashboard-page .workspace-nav button.active, .dashboard-page .workspace-sidebar-bottom a:hover { background: #34312e; }
.dashboard-page .workspace-nav button.active { background: #3a332c; box-shadow: inset 3px 0 var(--orange); }
.workspace-main { position: relative; }
.dashboard-page .workspace-topbar { height: var(--workspace-topbar-height); padding: 0 20px; display: grid; grid-template-columns: minmax(210px, auto) minmax(260px, 560px) minmax(210px, auto); gap: 22px; z-index: 70; box-shadow: 0 1px 0 rgba(24,23,22,.04); }
.workspace-breadcrumb, .workspace-top-actions { min-width: 0; display: flex; align-items: center; gap: 8px; }
.workspace-breadcrumb > span { color: var(--muted); }
.workspace-collapse { display: inline-grid; }
.workspace-search { width: 100%; height: 36px; padding: 0 8px 0 12px; border: 1px solid #ddd9d4; border-radius: 4px; background: #f7f6f5; display: flex; align-items: center; gap: 9px; position: relative; }
.workspace-search:focus-within { border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 2px rgba(255,131,0,.12); }
.workspace-search > svg { width: 16px; color: var(--muted); }
.workspace-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 12px; }
.workspace-search kbd { width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 3px; background: var(--white); color: var(--muted); display: grid; place-items: center; font-size: 10px; }
.workspace-search-results { max-height: 320px; position: absolute; top: 42px; left: 0; right: 0; z-index: 90; border: 1px solid var(--line); border-radius: 6px; background: var(--white); box-shadow: var(--shadow); overflow-y: auto; }
.workspace-search-results button { width: 100%; min-height: 48px; padding: 8px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.workspace-search-results button:last-child { border-bottom: 0; }
.workspace-search-results button:hover { background: #fff7ef; }
.workspace-search-results svg { width: 16px; color: var(--orange-dark); }
.workspace-search-results span { display: flex; flex-direction: column; }
.workspace-search-results b { font-size: 11px; }
.workspace-search-results small { color: var(--muted); font-size: 9px; }
.workspace-top-actions { justify-content: flex-end; }
.workspace-health { margin-right: 4px; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 700; }
.workspace-health i { width: 7px; height: 7px; border-radius: 50%; background: #43a56d; box-shadow: 0 0 0 3px #e5f4eb; }
.dashboard-page .top-avatar { border: 0; cursor: pointer; }
.notification-trigger { position: relative; }
.notification-count { min-width: 17px; height: 17px; padding: 0 4px; position: absolute; right: -3px; top: -4px; border: 2px solid var(--white); border-radius: 9px; background: var(--orange); color: var(--white); display: grid; place-items: center; font-size: 8px; font-weight: 800; }
.notification-count[hidden] { display: none; }
.workspace-user-trigger { min-width: 136px; height: 42px; padding: 4px 7px 4px 5px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--ink); display: grid; grid-template-columns: 32px 1fr 15px; gap: 8px; align-items: center; text-align: left; cursor: pointer; }
.workspace-user-trigger:hover, .workspace-user-trigger[aria-expanded="true"] { border-color: var(--line); background: #f7f5f3; }
.workspace-user-trigger > span:first-child { width: 32px; height: 32px; border-radius: 3px; background: var(--blush); color: #663232; display: grid; place-items: center; font-size: 9px; font-weight: 900; }
.workspace-user-trigger > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.workspace-user-trigger b, .workspace-user-trigger small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-user-trigger b { font-size: 10px; }
.workspace-user-trigger small { color: var(--muted); font-size: 8px; }
.workspace-user-trigger > svg { width: 14px; color: var(--muted); }
.workspace-popover { width: 330px; position: absolute; right: 20px; top: 54px; z-index: 95; border: 1px solid var(--line); border-radius: 6px; background: var(--white); box-shadow: 0 18px 48px rgba(30,26,22,.16); }
.dashboard-page .workspace-topbar > .workspace-popover { display: block; color: var(--ink); font-size: 12px; }
.dashboard-page .workspace-topbar > .workspace-popover[hidden] { display: none; }
.workspace-popover[hidden] { display: none; }
.popover-head { padding: 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.popover-head > div { display: flex; flex-direction: column; }
.popover-head span { color: var(--orange-dark); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.popover-head strong { font-size: 15px; }
.popover-head .icon-button { width: 30px; height: 30px; }
.notification-popover article { padding: 18px 16px; display: grid; grid-template-columns: 38px 1fr; gap: 11px; }
.notification-popover article > svg { width: 38px; height: 38px; padding: 9px; border-radius: 5px; background: var(--blush-soft); color: var(--orange-dark); }
.notification-popover article b { font-size: 12px; }
.notification-popover article p { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.notification-popover > a { min-height: 42px; padding: 0 16px; border-top: 1px solid var(--line); color: var(--orange-dark); display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 800; }
.notification-popover > a svg { width: 15px; }
.notification-popover { width: 400px; padding: 0; overflow: hidden; }
.notification-toolbar { min-height: 48px; padding: 7px 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.notification-toolbar > div { height: 30px; padding: 2px; border-radius: 4px; background: #f0eeeb; display: flex; }
.notification-toolbar button { padding: 0 9px; border: 0; border-radius: 3px; background: transparent; color: var(--muted); font-size: 9px; font-weight: 800; cursor: pointer; }
.notification-toolbar > div button.active { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(30,26,22,.12); }
.notification-toolbar button span { margin-left: 3px; color: var(--orange-dark); }
.notification-toolbar > button { color: var(--orange-dark); }
.notification-toolbar > button:hover { background: var(--blush-soft); }
.notification-list { max-height: 390px; overflow-y: auto; }
.notification-item { width: 100%; min-height: 88px; padding: 13px 14px; border: 0; border-bottom: 1px solid #eeeae6; background: var(--white); color: var(--ink); display: grid; grid-template-columns: 36px 1fr 15px; gap: 10px; align-items: start; text-align: left; cursor: pointer; position: relative; }
.notification-item:hover { background: #fff9f3; }
.notification-item.unread { background: #fff8f3; }
.notification-item.unread:before { content: ""; width: 3px; position: absolute; inset: 0 auto 0 0; background: var(--orange); }
.notification-item[hidden] { display: none; }
.notification-item > svg { width: 14px; margin-top: 11px; color: #aaa39c; }
.notification-icon { width: 36px; height: 36px; border-radius: 4px; background: #f1eeeb; color: var(--orange-dark); display: grid; place-items: center; }
.notification-icon svg { width: 17px; }
.notification-item.unread .notification-icon { background: var(--blush); }
.notification-copy { min-width: 0; display: flex; flex-direction: column; }
.notification-copy b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.notification-copy small { margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.notification-copy time { margin-top: 5px; color: #9b7560; font-size: 8px; font-weight: 700; }
.notification-footer { min-height: 38px; padding: 0 14px; background: #faf9f7; color: var(--muted); display: flex; align-items: center; font-size: 8px; }
.notification-footer span { display: flex; align-items: center; gap: 6px; }
.notification-footer svg { width: 13px; color: var(--success); }
.notification-empty { min-height: 220px; padding: 30px; color: var(--muted); display: grid; place-items: center; align-content: center; text-align: center; }
.notification-empty svg { width: 34px; height: 34px; margin-bottom: 9px; color: var(--orange); }
.notification-empty b { color: var(--ink); font-size: 12px; }
.notification-empty span { font-size: 9px; }
.profile-popover { width: 270px; padding: 8px; }
.profile-summary { margin-bottom: 7px; padding: 10px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.profile-summary > span { width: 38px; height: 38px; border-radius: 4px; background: var(--blush); color: #612f2f; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.profile-summary > div { min-width: 0; display: flex; flex-direction: column; }
.profile-summary b, .profile-summary small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-summary b { font-size: 12px; }
.profile-summary small { color: var(--muted); font-size: 9px; }
.profile-popover > a { min-height: 38px; padding: 0 10px; border-radius: 4px; display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; }
.profile-popover > a:hover { background: var(--panel); }
.profile-popover > a svg { width: 15px; }
.profile-popover { width: 330px; padding: 0; overflow: hidden; }
.profile-cover { min-height: 112px; padding: 20px 17px; background: #282624; color: var(--white); display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; position: relative; }
.profile-cover:before { content: ""; height: 3px; position: absolute; inset: 0 0 auto; background: var(--orange); }
.profile-cover > span { width: 48px; height: 48px; border-radius: 4px; background: var(--blush); color: #663232; display: grid; place-items: center; font-size: 12px; font-weight: 900; }
.profile-cover > div { min-width: 0; display: flex; flex-direction: column; }
.profile-cover b, .profile-cover small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-cover b { font-size: 13px; }
.profile-cover small { color: #bbb6b0; font-size: 9px; }
.profile-cover em { width: fit-content; margin-top: 7px; padding: 3px 6px; border: 1px solid #514c48; border-radius: 3px; color: #dedad6; font-size: 7px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.profile-stats { min-height: 64px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.profile-stats span { min-width: 0; padding: 12px 7px; border-right: 1px solid var(--line); color: var(--muted); display: flex; flex-direction: column; align-items: center; font-size: 8px; }
.profile-stats span:last-child { border-right: 0; }
.profile-stats b { max-width: 100%; color: var(--ink); font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.profile-menu { padding: 7px; }
.profile-menu > a, .profile-menu > button { width: 100%; min-height: 49px; padding: 6px 9px; border: 0; border-radius: 4px; background: transparent; color: var(--ink); display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; text-align: left; cursor: pointer; }
.profile-menu > a:hover, .profile-menu > button:hover { background: #f5f3f1; }
.profile-menu > a > svg, .profile-menu > button > svg { width: 16px; color: var(--orange-dark); }
.profile-menu > a > span, .profile-menu > button > span { display: flex; flex-direction: column; }
.profile-menu b { font-size: 10px; }
.profile-menu small { color: var(--muted); font-size: 8px; }
.profile-toggle-switch { width: 26px; height: 14px; border-radius: 8px; background: #c7c2bd; position: relative; }
.profile-toggle-switch:after { content: ""; width: 10px; height: 10px; position: absolute; left: 2px; top: 2px; border-radius: 50%; background: var(--white); transition: transform 160ms ease; }
.workspace-density-compact .profile-toggle-switch { background: var(--orange); }
.workspace-density-compact .profile-toggle-switch:after { transform: translateX(12px); }
.profile-popover > .profile-signout { min-height: 42px; margin: 0; padding: 0 16px; border-top: 1px solid var(--line); border-radius: 0; color: #934141; }
.profile-popover > .profile-signout:hover { background: #fff4f4; }
.workspace-actionbar { min-height: 48px; padding: 5px 22px; position: sticky; top: var(--workspace-topbar-height); z-index: 60; border-bottom: 1px solid var(--line); background: rgba(252,252,252,.96); display: flex; align-items: center; justify-content: space-between; gap: 15px; backdrop-filter: blur(12px); }
.workspace-actionbar > div { display: flex; align-items: center; gap: 3px; }
.command-button { min-height: 34px; padding: 0 10px; border: 0; border-radius: 3px; background: transparent; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; cursor: pointer; }
.command-button:hover { background: #ece9e5; }
.command-button.primary { background: var(--orange); color: var(--white); }
.command-button.primary:hover { background: var(--orange-dark); }
.command-button svg { width: 15px; }
.workspace-sync { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; }
.workspace-sync svg { width: 15px; color: var(--success); }
.workspace-sync b { font-weight: 700; }
.dashboard-page .workspace-content { width: min(1540px, 100%); margin-inline: auto; padding: 30px 34px 50px; }
.dashboard-page .workspace-welcome { margin-bottom: 24px; align-items: center; }
.dashboard-page .workspace-welcome h1 { font-size: 28px; }
.dashboard-page .metric-grid { gap: 12px; }
.dashboard-page .metric-card { min-height: 148px; padding: 18px; border-radius: 5px; position: relative; overflow: hidden; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.dashboard-page .metric-card:before { content: ""; height: 3px; position: absolute; inset: 0 0 auto; background: #d9d5d0; }
.dashboard-page .metric-card.accent { border-color: #edc4c4; background: #fff6f6; }
.dashboard-page .metric-card.accent:before { background: var(--orange); }
.dashboard-page .metric-card:hover { border-color: #cfc9c3; box-shadow: 0 8px 24px rgba(35,29,24,.07); transform: translateY(-2px); }
.dashboard-page .metric-card > span svg { width: 28px; height: 28px; padding: 6px; border-radius: 4px; background: #f0eeeb; color: var(--orange-dark); }
.dashboard-page .metric-card strong { font-size: 29px; }
.dashboard-page .data-panel { border-radius: 5px; box-shadow: 0 1px 2px rgba(35,29,24,.03); }
.panel-title small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.dashboard-page .chart { height: 212px; padding-top: 30px; background: repeating-linear-gradient(to top, transparent 0, transparent 49px, #f0eeeb 50px); }
.dashboard-page .chart > div { border-radius: 3px 3px 0 0; cursor: help; transition: height 300ms ease, filter 180ms ease; }
.dashboard-page .chart > div:hover { filter: saturate(1.2) brightness(.96); }
.dashboard-page .chart > div:before { content: attr(data-value); padding: 3px 5px; position: absolute; left: 50%; top: -25px; border-radius: 3px; background: var(--ink); color: var(--white); font-size: 8px; opacity: 0; transform: translate(-50%, 4px); transition: 160ms ease; }
.dashboard-page .chart > div:hover:before { opacity: 1; transform: translate(-50%, 0); }
.chart-legend { margin-top: 27px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; }
.chart-legend span { display: flex; align-items: center; gap: 7px; }
.chart-legend i { width: 9px; height: 9px; border-radius: 2px; background: var(--orange); }
.chart-legend strong { color: var(--ink-soft); font-weight: 700; }
.entity-commandbar { min-height: 54px; padding: 8px; border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--white); display: flex; align-items: center; gap: 8px; }
.entity-search { width: min(360px, 100%); height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: 4px; display: flex; align-items: center; gap: 8px; }
.entity-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,131,0,.1); }
.entity-search svg { width: 15px; color: var(--muted); }
.entity-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 11px; }
.entity-commandbar > span { margin-left: auto; padding-right: 8px; color: var(--muted); font-size: 10px; }
.entity-heading { margin-bottom: 17px !important; }
.entity-summary { margin-bottom: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.entity-summary button { min-height: 92px; padding: 14px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); color: var(--ink); display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; text-align: left; cursor: pointer; position: relative; }
.entity-summary button:before { content: ""; width: 3px; position: absolute; inset: -1px auto -1px -1px; border-radius: 5px 0 0 5px; background: transparent; }
.entity-summary button:hover { border-color: #c9c3bd; box-shadow: 0 3px 10px rgba(35,29,24,.05); }
.entity-summary button.active { border-color: #e5bfa9; background: #fff9f3; }
.entity-summary button.active:before { background: var(--orange); }
.entity-summary span { display: flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 800; }
.entity-summary span svg { width: 15px; color: var(--orange-dark); }
.entity-summary strong { grid-row: span 2; align-self: center; font: 700 24px "Manrope", sans-serif; }
.entity-summary small { color: var(--muted); font-size: 8px; }
.entity-commandbar .command-button { flex: 0 0 auto; }
.entity-divider { width: 1px; height: 24px; margin: 0 2px; padding: 0 !important; background: var(--line); }
.entity-commandbar .entity-search { margin-left: auto; }
.entity-commandbar > .entity-record-count { margin-left: 0; white-space: nowrap; }
.entity-select-all, .entity-checkbox { width: 24px; height: 30px; display: grid; place-items: center; cursor: pointer; }
.entity-select-all input, .entity-checkbox input { position: absolute; opacity: 0; }
.entity-select-all span, .entity-checkbox span { width: 15px; height: 15px; border: 1px solid #aaa49e; border-radius: 2px; background: var(--white); position: relative; }
.entity-select-all input:checked + span, .entity-checkbox input:checked + span { border-color: var(--orange); background: var(--orange); }
.entity-select-all input:checked + span:after, .entity-checkbox input:checked + span:after { content: ""; width: 7px; height: 4px; position: absolute; left: 3px; top: 3px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg); }
.entity-selection { min-height: 38px; padding: 0 12px; border: 1px solid #e7c4b1; border-bottom: 0; background: #fff5eb; display: flex; align-items: center; gap: 8px; }
.entity-selection[hidden] { display: none; }
.entity-selection span { margin-right: auto; color: #75401d; font-size: 9px; }
.entity-selection button { min-height: 28px; padding: 0 8px; border: 0; border-radius: 3px; background: transparent; color: var(--orange-dark); display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 800; cursor: pointer; }
.entity-selection button:hover { background: #ffe8d6; }
.entity-selection svg { width: 13px; }
.entity-table table { min-width: 1060px; }
.entity-table .selection-column { width: 42px; padding-right: 4px; }
.entity-table th { height: 42px; padding-block: 7px; }
.entity-table th button { padding: 0; border: 0; background: transparent; color: inherit; display: inline-flex; align-items: center; gap: 5px; font: inherit; text-transform: inherit; cursor: pointer; }
.entity-table th button:hover { color: var(--orange-dark); }
.entity-table th button svg { width: 12px; }
.entity-table td { height: 76px; padding-block: 9px; }
.entity-table tr.selected { background: #fff4e9 !important; box-shadow: inset 3px 0 var(--orange); }
.entity-table .table-script { min-width: 230px; }
.entity-table .table-script img { width: 38px; height: 52px; }
.table-script div { min-width: 0; }
.table-script a { max-width: 230px; color: var(--ink); overflow: hidden; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.table-script a:hover { color: var(--orange-dark); text-decoration: underline; }
.table-script small { margin-top: 3px; color: #a39d97; font-size: 7px; font-weight: 700; }
.entity-table .status { gap: 6px; }
.entity-table .status > i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.license-cell, .updated-cell { display: flex; flex-direction: column; }
.license-cell b, .updated-cell b { font-size: 10px; }
.license-cell small, .updated-cell small { color: var(--muted); font-size: 8px; }
.performance-cell { min-width: 175px; }
.performance-cell > span { color: var(--muted); font-size: 8px; }
.performance-cell > span b { color: var(--ink); font-size: 10px; }
.performance-cell > span i { width: 2px; height: 2px; margin: 0 3px; border-radius: 50%; background: #b5afa9; display: inline-block; }
.performance-cell > div { width: 100%; height: 4px; margin: 6px 0 4px; border-radius: 2px; background: #ece9e5; overflow: hidden; }
.performance-cell > div i { width: var(--value); height: 100%; display: block; background: var(--orange); }
.performance-cell small { color: var(--muted); font-size: 8px; }
.entity-footer { min-height: 45px; padding: 0 12px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 5px 5px; background: #faf9f7; color: var(--muted); display: flex; align-items: center; justify-content: space-between; font-size: 9px; }
.entity-footer > div { display: flex; align-items: center; gap: 8px; }
.entity-footer .icon-button { width: 27px; height: 27px; }
.workspace-density-compact .entity-table td { height: 56px; padding-block: 5px; }
.workspace-density-compact .entity-table .table-script img { width: 29px; height: 40px; }
.workspace-density-compact .table-script small, .workspace-density-compact .performance-cell small { display: none; }
.workspace-density-compact .entity-summary button { min-height: 75px; }
.dashboard-page [data-script-table] { border-radius: 0 0 6px 6px; }
.dashboard-page .responsive-table tbody tr { transition: background 150ms ease; }
.dashboard-page .responsive-table tbody tr:hover { background: #fffaf5; }
.table-empty { min-height: 260px; padding: 30px; display: grid; place-items: center; align-content: center; color: var(--muted); text-align: center; }
.table-empty[hidden] { display: none; }
.table-empty svg { width: 36px; height: 36px; margin-bottom: 10px; color: var(--orange); }
.table-empty b { color: var(--ink); font-size: 13px; }
.table-empty span { font-size: 10px; }
.review-heading { margin-bottom: 17px !important; }
.review-service-level { min-width: 180px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); display: flex; align-items: center; gap: 9px; }
.review-service-level > svg { width: 21px; color: var(--orange-dark); }
.review-service-level span { display: flex; flex-direction: column; }
.review-service-level b { font-size: 10px; }
.review-service-level small { color: var(--muted); font-size: 8px; }
.review-commandbar { min-height: 53px; padding: 8px; border: 1px solid var(--line); border-radius: 5px 5px 0 0; background: var(--white); display: flex; align-items: center; gap: 8px; }
.review-commandbar > span { margin-left: auto; padding: 0 8px; color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: 9px; }
.review-commandbar > span svg { width: 13px; }
.review-workbench { min-height: 650px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 5px 5px; background: var(--white); display: grid; grid-template-columns: 340px minmax(0, 1fr); overflow: hidden; }
.review-queue { min-width: 0; border-right: 1px solid var(--line); background: #faf9f7; }
.review-queue-head { min-height: 61px; padding: 11px 13px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.review-queue-head > div { display: flex; flex-direction: column; }
.review-queue-head span { color: var(--orange-dark); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.review-queue-head b { margin-top: 2px; font-size: 10px; }
.review-queue-head .icon-button { width: 30px; height: 30px; }
.review-records { max-height: 660px; overflow-y: auto; }
.review-record { width: 100%; min-height: 108px; padding: 11px 10px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; grid-template-columns: 47px 1fr 15px; gap: 10px; align-items: center; text-align: left; cursor: pointer; position: relative; }
.review-record:hover { background: #fff; }
.review-record.active { background: #fff6ee; box-shadow: inset 3px 0 var(--orange); }
.review-record[hidden] { display: none; }
.review-record > img { width: 47px; height: 66px; border-radius: 3px; object-fit: cover; }
.review-record > svg { width: 14px; color: #aaa39c; }
.review-record-copy { min-width: 0; display: flex; flex-direction: column; }
.review-record-copy > span:first-child { display: flex; justify-content: space-between; gap: 6px; }
.review-record-copy b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.review-record-copy em { color: var(--orange-dark); font-size: 8px; font-style: normal; font-weight: 800; }
.review-record-copy small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.review-record-copy > span:nth-child(3) { margin-top: 7px; color: #918a84; font-size: 7px; }
.review-record-copy > i { height: 3px; margin-top: 6px; border-radius: 2px; background: #e5e1dd; overflow: hidden; }
.review-record-copy > i span { width: var(--value); height: 100%; display: block; background: var(--orange); }
.review-empty-filter { min-height: 230px; padding: 25px; color: var(--muted); display: grid; place-items: center; align-content: center; text-align: center; }
.review-empty-filter[hidden] { display: none; }
.review-empty-filter svg { width: 30px; margin-bottom: 8px; color: var(--orange); }
.review-empty-filter b { color: var(--ink); font-size: 11px; }
.review-empty-filter span { font-size: 8px; }
.review-details { min-width: 0; background: var(--white); }
.review-details article { min-height: 100%; }
.review-details article[hidden] { display: none; }
.review-detail-head { min-height: 200px; padding: 22px 25px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; }
.review-cover { width: 112px; height: 152px; position: relative; }
.review-cover img { width: 100%; height: 100%; border-radius: 4px; object-fit: cover; }
.review-cover span { padding: 4px 6px; position: absolute; left: 6px; bottom: 6px; border-radius: 3px; background: rgba(32,31,29,.88); color: var(--white); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.review-detail-head h2 { margin: 5px 0 6px; font-size: 23px; }
.review-detail-head p { max-width: 690px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.review-byline { margin-top: 15px; display: flex; align-items: center; gap: 8px; }
.review-byline > span { width: 30px; height: 30px; border-radius: 3px; background: var(--blush); display: grid; place-items: center; font-size: 8px; font-weight: 800; }
.review-byline > div { display: flex; flex-direction: column; }
.review-byline b { font-size: 9px; }
.review-byline small { color: var(--muted); font-size: 8px; }
.review-detail-metrics { min-height: 76px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.review-detail-metrics > span { padding: 14px 17px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.review-detail-metrics > span:last-child { border-right: 0; }
.review-detail-metrics small { color: var(--muted); font-size: 8px; }
.review-detail-metrics b { margin-top: 2px; font-size: 13px; }
.review-inspection { padding: 23px 25px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
.section-label { margin-bottom: 9px; color: var(--orange-dark); display: block; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.review-inspection > div:first-child p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
.review-inspection > div:first-child a { margin-top: 15px; color: var(--orange-dark); display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 800; }
.review-inspection > div:first-child a svg { width: 13px; }
.review-checklist { border: 1px solid var(--line); border-radius: 4px; }
.review-checklist > span { min-height: 47px; padding: 8px 10px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 17px 1fr; gap: 8px; align-items: center; }
.review-checklist > span:last-child { border-bottom: 0; }
.review-checklist > span > svg { width: 16px; }
.review-checklist .passed > svg { color: var(--success); }
.review-checklist .attention > svg { color: #b76a16; }
.review-checklist > span > span { display: flex; flex-direction: column; }
.review-checklist b { font-size: 9px; }
.review-checklist small { color: var(--muted); font-size: 7px; }
.review-decision { min-height: 80px; padding: 13px 18px; border-top: 1px solid var(--line); background: #faf9f7; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.review-decision > div { display: flex; align-items: center; gap: 9px; }
.review-decision > div:first-child > svg { width: 22px; color: var(--success); }
.review-decision > div:first-child > span { display: flex; flex-direction: column; }
.review-decision b { font-size: 10px; }
.review-decision small { color: var(--muted); font-size: 8px; }
.review-decision form { display: inline-flex; }
.review-cleared > span { width: 58px; height: 58px; border-radius: 50%; background: #e5f4eb; color: var(--success); display: grid; place-items: center; }
.review-cleared > span svg { width: 28px; }
.draft-state { min-width: 205px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); display: flex; align-items: center; gap: 9px; }
.draft-state > svg { width: 20px; color: var(--success); }
.draft-state > span { display: flex; flex-direction: column; }
.draft-state b { font-size: 10px; }
.draft-state small { color: var(--muted); font-size: 9px; }
.dashboard-page .editor-form { grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; }
.dashboard-page .editor-main, .dashboard-page .editor-settings { border-radius: 5px; }
.dashboard-page .editor-main { padding: 28px; }
.editor-section-head { margin: 0 0 25px; padding-bottom: 18px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.editor-section-head > span { width: 30px; height: 30px; border-radius: 4px; background: var(--blush); color: #683737; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.editor-section-head h2 { margin: 0; font-size: 17px; }
.editor-section-head p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.editor-section-head.document-heading { margin-top: 34px; }
.settings-overview { margin: -4px -4px 24px; padding: 15px; border-radius: 5px; background: #282624; color: var(--white); display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.settings-overview > span { color: #c9c5c0; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.settings-overview > strong { font-size: 12px; }
.settings-overview > div { height: 4px; grid-column: 1 / -1; border-radius: 2px; background: #4a4642; overflow: hidden; }
.settings-overview i { width: var(--progress); height: 100%; display: block; background: var(--orange); transition: width 220ms ease; }
.publishing-checks { margin: -5px 0 22px; display: grid; gap: 8px; }
.publishing-checks span { color: var(--muted); display: flex; align-items: center; gap: 8px; font-size: 10px; }
.publishing-checks span.complete { color: var(--success); font-weight: 700; }
.publishing-checks svg { width: 15px; }
.rich-text-source { width: 100%; min-height: 520px; padding: 28px; border: 1px solid #d7d2cc; border-radius: 5px; background: var(--white); color: var(--ink); font: 13px/1.7 "Courier New", monospace; resize: vertical; }
.rich-editor-group.editor-ready .rich-text-source { width: 1px; height: 1px; min-height: 0; padding: 0; position: absolute; opacity: 0; pointer-events: none; }
.rich-editor-title { margin-bottom: 7px; display: flex; align-items: center; justify-content: space-between; }

html[lang="fr"] .ql-snow .ql-picker.ql-header .ql-picker-label:before,
html[lang="fr"] .ql-snow .ql-picker.ql-header .ql-picker-item:before { content: "Normal"; }
html[lang="fr"] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,
html[lang="fr"] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before { content: "Titre 2"; }
html[lang="fr"] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,
html[lang="fr"] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before { content: "Titre 3"; }
html[lang="fr"] .ql-snow .ql-tooltip:before { content: "Adresse :"; }
html[lang="fr"] .ql-snow .ql-tooltip a.ql-action:after { content: "Modifier"; }
html[lang="fr"] .ql-snow .ql-tooltip.ql-editing a.ql-action:after { content: "Enregistrer"; }
html[lang="fr"] .ql-snow .ql-tooltip a.ql-remove:before { content: "Retirer"; }

html[lang="sw"] .ql-snow .ql-picker.ql-header .ql-picker-label:before,
html[lang="sw"] .ql-snow .ql-picker.ql-header .ql-picker-item:before { content: "Kawaida"; }
html[lang="sw"] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,
html[lang="sw"] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before { content: "Kichwa 2"; }
html[lang="sw"] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,
html[lang="sw"] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before { content: "Kichwa 3"; }
html[lang="sw"] .ql-snow .ql-tooltip:before { content: "Anwani:"; }
html[lang="sw"] .ql-snow .ql-tooltip a.ql-action:after { content: "Hariri"; }
html[lang="sw"] .ql-snow .ql-tooltip.ql-editing a.ql-action:after { content: "Hifadhi"; }
html[lang="sw"] .ql-snow .ql-tooltip a.ql-remove:before { content: "Ondoa"; }

html[lang="rw"] .ql-snow .ql-picker.ql-header .ql-picker-label:before,
html[lang="rw"] .ql-snow .ql-picker.ql-header .ql-picker-item:before { content: "Bisanzwe"; }
html[lang="rw"] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,
html[lang="rw"] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before { content: "Umutwe 2"; }
html[lang="rw"] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,
html[lang="rw"] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before { content: "Umutwe 3"; }
html[lang="rw"] .ql-snow .ql-tooltip:before { content: "Aderesi:"; }
html[lang="rw"] .ql-snow .ql-tooltip a.ql-action:after { content: "Hindura"; }
html[lang="rw"] .ql-snow .ql-tooltip.ql-editing a.ql-action:after { content: "Bika"; }
html[lang="rw"] .ql-snow .ql-tooltip a.ql-remove:before { content: "Kuraho"; }
.rich-editor-title label { font-size: 12px; font-weight: 700; }
.rich-editor-title .icon-button { width: 34px; height: 34px; }
.rich-editor-shell { border: 1px solid #d7d2cc; border-radius: 5px; background: #f0eeeb; overflow: hidden; }
.rich-editor-shell:focus-within { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,131,0,.11); }
.rich-editor-shell .ql-toolbar.ql-snow { padding: 9px 10px; border: 0; border-bottom: 1px solid var(--line); background: #faf9f7; font-family: "DM Sans", sans-serif; }
.rich-editor-shell .ql-toolbar button, .rich-editor-shell .ql-toolbar .ql-picker-label { border-radius: 3px; }
.rich-editor-shell .ql-toolbar button:hover, .rich-editor-shell .ql-toolbar button.ql-active { background: var(--blush-soft); color: var(--orange-dark); }
.rich-editor-shell .ql-container.ql-snow { min-height: 620px; max-height: 720px; border: 0; background: #efedea; font-family: "Courier New", monospace; font-size: 14px; overflow-y: auto; }
.rich-editor-shell .ql-editor { width: min(760px, calc(100% - 40px)); min-height: 580px; margin: 20px auto; padding: 54px 58px; background: var(--white); color: #24211f; box-shadow: 0 2px 12px rgba(35,29,24,.12); line-height: 1.75; }
.rich-editor-shell .ql-editor.ql-blank:before { left: 58px; right: 58px; color: #aaa49d; font-style: normal; }
.rich-editor-shell .ql-editor h2, .rich-editor-shell .ql-editor h3 { font-family: "Courier New", monospace; }
.rich-editor-shell .ql-editor h2 { margin: 1.5em 0 .8em; font-size: 17px; text-transform: uppercase; }
.rich-editor-shell .ql-editor blockquote { border-left-color: var(--orange); color: #5d5853; }
.editor-document-status { min-height: 38px; padding: 8px 4px; display: flex; align-items: center; gap: 17px; color: var(--muted); font-size: 9px; }
.editor-document-status b { color: var(--ink); }
.editor-document-status em { margin-left: auto; color: var(--success); font-style: normal; font-weight: 700; }
.rich-editor-group.compact .ql-container.ql-snow { min-height: 410px; max-height: 520px; }
.rich-editor-group.compact .ql-editor { min-height: 370px; }
.rich-editor-group.is-fullscreen { padding: 18px; position: fixed; inset: 10px; z-index: 300; border: 1px solid var(--line); border-radius: 6px; background: var(--white); box-shadow: 0 30px 80px rgba(20,18,16,.28); display: flex; flex-direction: column; }
.rich-editor-group.is-fullscreen .rich-editor-shell { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.rich-editor-group.is-fullscreen .ql-container.ql-snow { min-height: 0; max-height: none; flex: 1; }
.rich-editor-group.is-fullscreen .ql-editor { min-height: calc(100vh - 190px); }
.dashboard-page .modal-wide { width: min(1080px, 100%); }
.modal-heading p { margin: -12px 0 22px; color: var(--muted); font-size: 11px; }
.script-document { min-height: 420px; padding: 42px 48px; background: var(--white); color: #262321; font: 14px/1.75 "Courier New", monospace; white-space: normal; }
.script-document h2, .script-document h3 { font-family: "Courier New", monospace; text-transform: uppercase; }
.script-document blockquote { margin-left: 0; padding-left: 18px; border-left: 3px solid var(--orange); color: var(--muted); }
.script-document li { margin-bottom: 6px; }
.dashboard-page .workspace.sidebar-collapsed { grid-template-columns: 72px minmax(0, 1fr); }
.dashboard-page .workspace.sidebar-collapsed .workspace-sidebar { width: 72px; padding-inline: 10px; }
.sidebar-collapsed .workspace-brand { justify-content: center; padding-inline: 0; }
.sidebar-collapsed .workspace-brand img { width: 38px; }
.sidebar-collapsed .workspace-brand > span, .sidebar-collapsed .workspace-person > div, .sidebar-collapsed .workspace-nav-label, .sidebar-collapsed .workspace-nav button:not(.active) > span, .sidebar-collapsed .workspace-sidebar-bottom a { font-size: 0; }
.sidebar-collapsed .workspace-person { justify-content: center; padding-inline: 0; }
.sidebar-collapsed .workspace-nav button, .sidebar-collapsed .workspace-sidebar-bottom a { padding: 0; justify-content: center; gap: 0; }
.sidebar-collapsed .workspace-nav button > span { position: absolute; right: 4px; }
.sidebar-collapsed .workspace-sidebar-bottom a svg { width: 18px; }

@media (max-width: 1100px) {
    .dashboard-page .workspace-topbar { grid-template-columns: auto minmax(220px, 1fr) auto; gap: 12px; }
    .workspace-health { display: none; }
    .dashboard-page .editor-form { grid-template-columns: 1fr; }
    .dashboard-page .editor-settings { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
    .settings-overview, .editor-settings > .button, .editor-settings > .form-note { grid-column: 1 / -1; }
    .review-workbench { grid-template-columns: 300px minmax(0, 1fr); }
    .review-inspection { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .dashboard-page .workspace { display: block; }
    .dashboard-page .workspace-sidebar { width: min(300px, calc(100vw - 40px)); height: 100dvh; overflow-y: auto; box-shadow: none; }
    .workspace-sidebar-close { width: 36px; height: 36px; margin-top: 1px; border: 1px solid #45413d; background: #2b2926; color: var(--white); display: grid; flex: 0 0 auto; }
    .workspace-sidebar-close:hover { border-color: #625c56; background: #37332f; }
    .workspace-sidebar-backdrop { padding: 0; border: 0; position: fixed; inset: 0; z-index: 85; background: rgba(18, 16, 14, .54); backdrop-filter: blur(3px); display: block; opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
    .workspace-sidebar.open + .workspace-sidebar-backdrop { opacity: 1; pointer-events: auto; }
    .workspace-collapse { display: none; }
    .dashboard-page .workspace-topbar { padding-inline: 14px; grid-template-columns: auto minmax(170px, 1fr) auto; }
    .workspace-breadcrumb > span, .workspace-breadcrumb > b { display: none; }
    .workspace-actionbar { padding-inline: 14px; }
    .dashboard-page .workspace-content { padding: 25px 20px 40px; }
    .workspace-popover { right: 14px; }
    .workspace-user-trigger { min-width: 38px; width: 38px; padding: 3px; grid-template-columns: 32px; }
    .workspace-user-trigger > span:nth-child(2), .workspace-user-trigger > svg { display: none; }
    .entity-summary { grid-template-columns: repeat(2, 1fr); }
    .review-workbench { min-height: 0; grid-template-columns: 1fr; overflow: visible; }
    .review-queue { border-right: 0; border-bottom: 1px solid var(--line); }
    .review-records { max-height: 330px; }
}

@media (max-width: 620px) {
    .dashboard-page { --workspace-topbar-height: 100px; }
    .dashboard-page .workspace-topbar { padding: 10px 14px; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 36px 34px; grid-template-areas: "breadcrumb actions" "search search"; gap: 8px 10px; }
    .workspace-breadcrumb { grid-area: breadcrumb; }
    .workspace-breadcrumb strong { max-width: 120px; display: block; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
    .workspace-search { height: 34px; }
    .dashboard-page .workspace-search { grid-area: search; }
    .workspace-search kbd { display: none; }
    .workspace-top-actions { grid-area: actions; gap: 4px; }
    .workspace-top-actions .icon-button { display: none; }
    .workspace-top-actions .notification-trigger { display: grid; }
    .language-selector { width: 54px; padding: 0 6px; gap: 3px; }
    .language-selector select { width: 28px; min-width: 0; padding: 0; font-size: 9px; }
    .language-selector > svg:first-child { width: 13px; }
    .language-selector > svg:last-child { display: none; }
    .dashboard-page .language-selector { width: 82px; gap: 4px; }
    .dashboard-page .language-selector select { width: 54px; }
    .workspace-actionbar { min-height: 46px; overflow-x: auto; }
    .workspace-actionbar > div { min-width: max-content; }
    .dashboard-page .workspace-popover { top: calc(100% - 2px); }
    .workspace-sync { display: none; }
    .command-button { min-height: 32px; }
    .dashboard-page .workspace-content { padding: 20px 14px 34px; }
    .dashboard-grid, .dashboard-grid > *, .data-panel, .panel-title > div { min-width: 0; }
    .panel-title .compact-select { min-width: 0; max-width: 48%; }
    .dashboard-page .editor-form { min-width: 0; grid-template-columns: minmax(0, 1fr); }
    .dashboard-page .editor-main, .dashboard-page .editor-settings, .rich-editor-group, .rich-editor-shell { min-width: 0; }
    .dashboard-page .workspace-welcome { gap: 14px; }
    .draft-state { width: 100%; }
    .entity-commandbar { align-items: stretch; flex-direction: column; }
    .entity-search { width: 100%; }
    .entity-commandbar > span { margin-left: 0; }
    .entity-commandbar .entity-search { margin-left: 0; }
    .entity-commandbar .command-button { justify-content: center; }
    .entity-commandbar .entity-divider, .entity-commandbar .entity-select-all { display: none; }
    .entity-summary button { min-height: 78px; padding: 11px; }
    .entity-summary strong { font-size: 20px; }
    .entity-selection { flex-wrap: wrap; padding-block: 6px; }
    .entity-selection span { width: 100%; }
    .entity-table { overflow: visible; }
    .entity-table table, .entity-table tbody { min-width: 0; display: block; }
    .entity-table thead { display: none; }
    .entity-table tbody { padding: 0 11px; }
    .entity-table tbody tr { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px 9px; }
    .entity-table tbody tr:last-child { border-bottom: 0; }
    .entity-table td { width: auto; height: auto; padding: 0; border: 0; }
    .entity-table td.selection-column { width: 24px; grid-column: 1; grid-row: 1 / span 2; }
    .entity-table td:nth-child(2) { grid-column: 2; grid-row: 1; }
    .entity-table td:nth-child(3) { grid-column: 3; grid-row: 1; }
    .entity-table td:nth-child(4) { grid-column: 2; grid-row: 2; }
    .entity-table td:nth-child(5) { grid-column: 1 / -1; grid-row: 3; }
    .entity-table td:nth-child(6) { grid-column: 3; grid-row: 2; text-align: right; }
    .entity-table td:nth-child(7) { grid-column: 1 / -1; grid-row: 4; padding-top: 8px; border-top: 1px solid #eeeae6; }
    .entity-table .table-script { min-width: 0; }
    .entity-table .table-script img { width: 35px; height: 48px; }
    .entity-table .table-script a { max-width: 155px; }
    .entity-table .performance-cell { min-width: 0; }
    .entity-table .table-actions { justify-content: flex-start; }
    .dashboard-page .editor-main, .dashboard-page .editor-settings { padding: 17px 14px; }
    .dashboard-page .editor-settings { display: block; }
    .rich-editor-shell .ql-toolbar.ql-snow { white-space: nowrap; overflow-x: auto; }
    .rich-editor-shell .ql-formats { margin-right: 7px; }
    .rich-editor-shell .ql-container.ql-snow { min-height: 500px; }
    .rich-editor-shell .ql-editor { width: calc(100% - 18px); min-height: 470px; margin: 9px auto; padding: 34px 24px; font-size: 12px; }
    .rich-editor-shell .ql-editor.ql-blank:before { left: 24px; right: 24px; }
    .editor-document-status { gap: 8px 13px; flex-wrap: wrap; }
    .editor-document-status em { width: 100%; margin-left: 0; }
    .rich-editor-group.is-fullscreen { inset: 0; padding: 10px; border: 0; border-radius: 0; }
    .workspace-popover { width: calc(100% - 28px); top: 52px; }
    .notification-popover { max-height: calc(100vh - 68px); }
    .notification-list { max-height: calc(100vh - 210px); }
    .profile-popover { width: min(330px, calc(100% - 28px)); }
    .review-heading { align-items: stretch !important; }
    .review-service-level { width: 100%; }
    .review-commandbar { align-items: stretch; flex-direction: column; }
    .review-commandbar .entity-search { width: 100%; }
    .review-commandbar > span { margin-left: 0; }
    .review-detail-head { padding: 18px 15px; grid-template-columns: 76px minmax(0, 1fr); gap: 13px; }
    .review-cover { width: 76px; height: 108px; }
    .review-detail-head h2 { font-size: 18px; }
    .review-detail-metrics { grid-template-columns: repeat(2, 1fr); }
    .review-detail-metrics > span:nth-child(2) { border-right: 0; }
    .review-detail-metrics > span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .review-inspection { padding: 18px 15px; gap: 20px; }
    .review-decision { align-items: stretch; flex-direction: column; }
    .review-decision > div:last-child { width: 100%; display: grid; grid-template-columns: 1fr; }
    .review-decision .button { width: 100%; }
    .script-document { padding: 28px 18px; font-size: 12px; }
}

@media (max-width: 360px) {
    .site-header .nav-actions > .account-chip { display: none; }
    .workspace-breadcrumb strong { max-width: 76px; }
    .dashboard-page .language-selector { width: 58px; }
    .dashboard-page .language-selector select { width: 31px; }
}

/* Editorial public experience */
.home-page, .marketplace-page { background: #fcfcfc; }
.home-page .site-header, .marketplace-page .site-header { border-bottom-color: rgba(24,23,22,.12); }
.home-page .button, .marketplace-page .button { border-radius: 3px; }

.premiere-hero { height: calc(100svh - 126px); min-height: 660px; max-height: 780px; position: relative; overflow: hidden; background: #171513; color: var(--white); }
.premiere-art { position: absolute; inset: 0; background: var(--premiere-art) center 42% / cover no-repeat; opacity: .58; transform: scale(1.015); transition: opacity 240ms ease, transform 700ms ease; }
.premiere-art.is-changing { opacity: .2; transform: scale(1.035); }
.premiere-shade { position: absolute; inset: 0; background: rgba(10,9,8,.62); box-shadow: inset 52vw 0 160px rgba(10,9,8,.48), inset 0 -180px 140px rgba(10,9,8,.52); }
.premiere-layout { height: 100%; padding-top: 56px; padding-bottom: 128px; position: relative; z-index: 2; display: grid; grid-template-columns: minmax(420px, 1.15fr) minmax(220px, .48fr) 300px; gap: 40px; align-items: end; }
.premiere-kicker { margin-bottom: 22px; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 10px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.premiere-kicker span:first-child { color: var(--orange); font-size: 11px; }
.premiere-kicker i { width: 28px; height: 1px; background: rgba(255,255,255,.32); }
.premiere-copy h1 { max-width: 700px; margin-bottom: 20px; font-size: 66px; line-height: 1.01; }
.premiere-copy h1 em { color: var(--blush); font-style: normal; }
.premiere-copy > p { max-width: 580px; margin-bottom: 26px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.65; }
.premiere-actions { display: flex; align-items: center; gap: 22px; }
.premiere-brief-link { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.84); font-size: 11px; font-weight: 800; }
.premiere-brief-link:hover { color: var(--blush); }
.premiere-brief-link svg { width: 15px; color: var(--orange); }
.premiere-search { width: min(540px, 100%); margin-top: 29px; }
.premiere-search > label { margin-bottom: 7px; color: rgba(255,255,255,.5); display: block; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.premiere-search > div { height: 49px; border-bottom: 1px solid rgba(255,255,255,.5); display: flex; align-items: center; gap: 10px; }
.premiere-search > div > svg { width: 17px; color: var(--blush); }
.premiere-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--white); font-size: 12px; }
.premiere-search input::placeholder { color: rgba(255,255,255,.52); }
.premiere-search button { width: 38px; height: 38px; border: 0; background: var(--orange); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.premiere-search button:hover { background: var(--blush); color: var(--ink); }
.premiere-search button svg { width: 16px; }
.premiere-current { padding: 18px 0; border-block: 1px solid rgba(255,255,255,.28); align-self: end; }
.premiere-current > span, .premiere-selector > div > span { color: var(--blush); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.premiere-current > strong { margin: 7px 0; display: block; font: 800 22px/1.18 "Manrope", sans-serif; }
.premiere-current > p { margin-bottom: 15px; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.55; }
.premiere-current > div { margin-bottom: 15px; display: flex; justify-content: space-between; gap: 8px; color: rgba(255,255,255,.52); font-size: 8px; text-transform: uppercase; }
.premiere-current > div b { color: var(--white); }
.premiere-current > a { color: var(--white); display: inline-flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 800; }
.premiere-current > a:hover { color: var(--orange); }
.premiere-current svg { width: 14px; }
.premiere-selector { align-self: center; border-top: 1px solid rgba(255,255,255,.28); }
.premiere-selector > div { min-height: 47px; border-bottom: 1px solid rgba(255,255,255,.28); display: flex; align-items: center; justify-content: space-between; }
.premiere-selector > div small { color: rgba(255,255,255,.45); font-size: 8px; }
.premiere-selector > div small b { color: var(--white); }
.premiere-selector > button { width: 100%; min-height: 66px; padding: 8px 3px; border: 0; border-bottom: 1px solid rgba(255,255,255,.18); background: transparent; color: rgba(255,255,255,.55); display: grid; grid-template-columns: 23px 1fr 16px; gap: 9px; align-items: center; text-align: left; cursor: pointer; }
.premiere-selector > button:hover, .premiere-selector > button.active { color: var(--white); }
.premiere-selector > button.active { box-shadow: inset 3px 0 var(--orange); }
.premiere-selector > button > span:first-child { color: var(--orange); font-size: 8px; font-weight: 900; }
.premiere-selector > button > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.premiere-selector > button b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.premiere-selector > button small { color: inherit; font-size: 8px; }
.premiere-selector > button svg { width: 13px; opacity: 0; transform: translate(-3px, 3px); transition: 160ms ease; }
.premiere-selector > button:hover svg, .premiere-selector > button.active svg { opacity: 1; transform: none; }
.premiere-ledger { position: absolute; inset: auto 0 0; z-index: 3; border-top: 1px solid rgba(255,255,255,.2); background: rgba(18,16,14,.76); backdrop-filter: blur(14px); }
.premiere-ledger .container { min-height: 90px; display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; }
.premiere-ledger span { min-height: 42px; padding: 0 24px; border-right: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.48); display: grid; grid-template-columns: 18px 1fr; gap: 0 8px; align-content: center; font-size: 8px; }
.premiere-ledger span:first-child { padding-left: 0; }
.premiere-ledger span svg { width: 15px; grid-row: span 2; color: var(--orange); }
.premiere-ledger span b { color: var(--white); font-size: 9px; }
.premiere-ledger a { padding-left: 24px; color: var(--blush); display: flex; align-items: center; gap: 8px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.premiere-ledger a svg { width: 15px; }
.home-page .signal-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.home-page .signal-grid { min-height: 96px; grid-template-columns: repeat(3, 1fr) 1.5fr; }
.home-page .signal-grid > div { padding-right: 20px; }
.home-page .signal-grid > div span { color: var(--orange-dark); font-size: 8px; order: -1; }
.home-page .signal-grid > div strong { margin-top: 2px; font-size: 15px; }
.home-page .signal-grid > p { max-width: 430px; color: var(--ink-soft); display: flex; align-items: center; gap: 9px; font-size: 13px; }
.home-page .signal-grid > p svg { width: 17px; color: var(--orange); }
.home-page .matcher-section { position: relative; background-color: #f7f5f2; background-image: linear-gradient(#ebe7e2 1px, transparent 1px), linear-gradient(90deg, #ebe7e2 1px, transparent 1px); background-size: 42px 42px; }
.home-page .matcher-section:before { content: "STORY FINDER / 01"; position: absolute; left: 22px; top: 50%; color: #a9a19a; font-size: 8px; font-weight: 900; writing-mode: vertical-rl; }
.home-page .matcher-tool { border-radius: 2px; box-shadow: 12px 12px 0 var(--blush); }
.home-page .matcher-controls { background: rgba(252,252,252,.96); }
.home-page .featured-lead, .home-page .creator-image, .home-page .voice-grid, .home-page .genre-track, .home-page .audience-panel { border-radius: 2px; }
.home-page .featured-section { background: var(--white); }
.home-page .section-heading { padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.home-page .stack-story { border-width: 0 0 1px; border-radius: 0; }
.home-page .stack-story:hover { padding-left: 18px; box-shadow: none; transform: none; }

.catalog-hero { min-height: 480px; position: relative; overflow: hidden; background: #171513; color: var(--white); }
.catalog-art { position: absolute; inset: 0; background: var(--catalog-art) center 42% / cover no-repeat; opacity: .5; transform: scale(1.02); }
.catalog-veil { position: absolute; inset: 0; background: rgba(12,11,10,.68); box-shadow: inset 55vw 0 160px rgba(12,11,10,.5); }
.catalog-hero-inner { min-height: 480px; padding-top: 55px; padding-bottom: 82px; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 90px; align-items: center; }
.catalog-route { margin-bottom: 33px; color: rgba(255,255,255,.48); display: flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.catalog-route a:hover { color: var(--orange); }
.catalog-route svg { width: 12px; }
.catalog-hero-copy h1 { max-width: 720px; margin-bottom: 18px; font-size: 56px; line-height: 1.03; }
.catalog-hero-copy > p { max-width: 650px; margin-bottom: 25px; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.65; }
.catalog-hero-actions { display: flex; align-items: center; gap: 22px; }
.catalog-hero-actions > a:not(.button) { color: rgba(255,255,255,.84); display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 800; }
.catalog-hero-actions > a:not(.button):hover { color: var(--blush); }
.catalog-hero-actions svg { width: 15px; }
.catalog-spotlight { padding: 22px 0 22px 24px; border-left: 1px solid rgba(255,255,255,.35); position: relative; display: block; }
.catalog-spotlight > span { color: var(--blush); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.catalog-spotlight > strong { max-width: 260px; margin: 8px 0; display: block; font: 800 23px/1.15 "Manrope", sans-serif; }
.catalog-spotlight > p { margin-bottom: 18px; color: rgba(255,255,255,.6); font-size: 10px; line-height: 1.55; }
.catalog-spotlight > div { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; color: rgba(255,255,255,.55); font-size: 8px; text-transform: uppercase; }
.catalog-spotlight > div b { color: var(--white); }
.catalog-spotlight > svg { width: 18px; position: absolute; right: 0; top: 20px; transition: transform 180ms ease; }
.catalog-spotlight:hover > svg { transform: translate(3px, -3px); }
.catalog-edition { position: absolute; inset: auto 0 0; z-index: 2; border-top: 1px solid rgba(255,255,255,.2); background: rgba(18,16,14,.72); }
.catalog-edition .container { min-height: 52px; display: flex; align-items: center; }
.catalog-edition span { padding: 0 24px; border-right: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.catalog-edition span:first-child { padding-left: 0; color: var(--orange); }
.marketplace-page .market-content { padding: 42px 0 110px; background: #f7f5f2; }
.market-shell { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 42px; align-items: start; }
.catalog-index { position: sticky; top: 96px; }
.catalog-index-head { min-height: 62px; padding-bottom: 13px; border-bottom: 1px solid var(--ink); display: flex; flex-direction: column; justify-content: flex-end; }
.catalog-index-head span { color: var(--orange-dark); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.catalog-index-head b { font-size: 14px; }
.catalog-index .filter-row { margin: 0; display: block; }
.catalog-index .filter-row button { width: 100%; min-height: 47px; padding: 0 3px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: space-between; text-align: left; }
.catalog-index .filter-row button:hover { color: var(--ink); background: transparent; }
.catalog-index .filter-row button.active { padding-inline: 9px; background: var(--ink); color: var(--white); }
.catalog-index .filter-row button small { min-width: 24px; height: 20px; border: 1px solid currentColor; display: grid; place-items: center; font-size: 8px; opacity: .66; }
.catalog-standard { margin-top: 25px; padding: 17px 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: 24px 1fr; gap: 9px; }
.catalog-standard > svg { width: 19px; color: var(--success); }
.catalog-standard b { font-size: 9px; }
.catalog-standard p { margin: 3px 0 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.catalog-brief { margin-top: 18px; padding: 17px; background: var(--blush); display: flex; flex-direction: column; position: relative; }
.catalog-brief span { color: #794545; font-size: 8px; }
.catalog-brief b { max-width: 150px; margin-top: 3px; font-size: 11px; line-height: 1.35; }
.catalog-brief svg { width: 15px; position: absolute; top: 15px; right: 14px; }
.catalog-results { min-width: 0; }
.marketplace-page .market-toolbar { min-height: 63px; padding-bottom: 13px; border-bottom: 1px solid var(--ink); align-items: flex-end; }
.marketplace-page .market-toolbar .eyebrow { margin-bottom: 2px; font-size: 8px; }
.marketplace-page .market-toolbar h2 { margin: 0; font-size: 24px; }
.marketplace-page .market-toolbar h2 strong { color: var(--orange-dark); }
.catalog-tools { min-height: 68px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.marketplace-page .market-search { height: 42px; flex: 1; border: 0; border-radius: 0; background: var(--white); }
.marketplace-page .market-search:focus-within { box-shadow: inset 0 -2px var(--orange); }
.catalog-sort { display: flex; align-items: center; gap: 7px; }
.catalog-sort > span { color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.marketplace-page .compact-select { min-height: 42px; border-radius: 0; background-color: var(--white); font-size: 10px; }
.marketplace-page .results-line { margin: 0 0 15px; min-height: 49px; border-bottom: 1px solid var(--line); align-items: center; font-size: 9px; }
.marketplace-page .results-line p { display: flex; align-items: center; gap: 7px; }
.marketplace-page .results-line svg { width: 13px; color: var(--orange-dark); }
.marketplace-page .results-line button { padding: 0; border: 0; background: transparent; color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 800; cursor: pointer; }
.marketplace-page .results-line button:hover { color: var(--orange-dark); }
.marketplace-page .script-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.marketplace-page .script-card { border-radius: 2px; box-shadow: none; display: grid; grid-template-rows: auto 1fr; }
.marketplace-page .script-card:hover { border-color: #c9c1ba; box-shadow: 8px 8px 0 var(--blush); transform: translate(-3px, -3px); }
.marketplace-page .script-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.marketplace-page .cover-action { min-height: 32px; padding: 0 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 3px; background: rgba(20,18,16,.72); opacity: 1; transform: none; backdrop-filter: blur(8px); }
.marketplace-page .script-card-body { min-width: 0; padding: 20px; display: flex; flex-direction: column; }
.marketplace-page .script-card h3 { margin: 9px 0 3px; font-size: 21px; line-height: 1.2; }
.marketplace-page .script-writer { margin-top: 2px; display: block; font-size: 10px; }
.marketplace-page .script-card-body > p { height: 56px; min-height: 56px; margin: 12px 0 16px; font-size: 12px; line-height: 1.55; -webkit-line-clamp: 3; }
.marketplace-page .card-footer { margin-top: auto; padding-top: 17px; }
.marketplace-page .script-grid.single-result .script-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(290px, .75fr) minmax(0, 1.25fr); }
.marketplace-page .script-grid.single-result .script-cover { height: 420px; }
.marketplace-page .script-grid.single-result .script-card-body { padding: 30px; display: flex; flex-direction: column; }
.marketplace-page .script-grid.single-result .script-card h3 { margin-top: 20px; font-size: 32px; }
.marketplace-page .script-grid.single-result .script-card-body > p { max-width: 600px; min-height: 0; margin-top: 18px; font-size: 14px; line-height: 1.65; -webkit-line-clamp: 4; }
.marketplace-page .script-grid.single-result .script-facts { margin-top: auto; }
.marketplace-page .script-grid.list-view { grid-template-columns: 1fr; }
.marketplace-page .script-grid.list-view .script-card { grid-column: auto; display: grid; grid-template-columns: 220px 1fr; grid-template-rows: 1fr; }
.marketplace-page .script-grid.list-view .script-cover { height: auto; min-height: 245px; aspect-ratio: auto; align-self: stretch; }
.script-index { padding: 4px 6px; position: absolute; right: 12px; top: 12px; z-index: 1; background: rgba(24,23,22,.84); color: var(--white); font-size: 7px; font-weight: 800; }
.format-chip { display: flex; align-items: center; gap: 5px; }
.format-chip i, .card-byline span i { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.card-byline > span { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.script-writer { color: var(--muted); font-size: 9px; }
.script-facts { flex-wrap: wrap; }
.card-footer > span { display: flex; flex-direction: column; }
.card-footer > span small { color: var(--muted); font-size: 7px; text-transform: uppercase; }
.card-footer > div { display: flex; align-items: center; gap: 6px; }
.quick-look-button { min-height: 38px; padding: 0 9px; border: 1px solid var(--line); background: var(--white); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; font-size: 8px; font-weight: 800; cursor: pointer; }
.quick-look-button:hover { border-color: var(--ink); }
.quick-look-button svg { width: 14px; }
.marketplace-page .empty-results { min-height: 420px; padding: 50px 20px; border: 1px dashed #cbc3bc; background: var(--white); }
.marketplace-page .empty-results > span { width: 54px; height: 54px; margin: 0 auto 14px; background: var(--blush); display: grid; place-items: center; }
.marketplace-page .empty-results > span svg { width: 25px; color: var(--orange-dark); }
.marketplace-page .empty-results h3 { margin-bottom: 5px; }
.marketplace-page .empty-results p { color: var(--muted); font-size: 11px; }
.marketplace-page .empty-results > div { margin-top: 19px; display: flex; justify-content: center; gap: 7px; }
.market-drawer-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(16,14,12,.56); backdrop-filter: blur(3px); opacity: 0; transition: opacity 200ms ease; }
.market-drawer-backdrop[hidden] { display: none; }
.market-drawer-backdrop.open { opacity: 1; }
.market-drawer { width: min(460px, 100%); position: fixed; inset: 0 0 0 auto; z-index: 111; background: var(--white); box-shadow: -20px 0 60px rgba(20,17,14,.2); overflow-y: auto; transform: translateX(102%); transition: transform 260ms ease; }
.market-drawer.open { transform: none; }
.market-drawer-close { position: absolute; right: 14px; top: 14px; z-index: 2; }
.market-drawer-art { height: 44vh; min-height: 300px; max-height: 440px; position: relative; background: var(--ink); }
.market-drawer-art:after { content: ""; position: absolute; inset: auto 0 0; height: 80px; background: rgba(16,14,12,.42); }
.market-drawer-art img { width: 100%; height: 100%; object-fit: cover; }
.market-drawer-art span { padding: 5px 8px; position: absolute; left: 18px; bottom: 17px; z-index: 1; background: var(--blush); color: #653333; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.market-drawer-copy { padding: 25px 27px 34px; }
.market-drawer-copy .eyebrow { margin-bottom: 5px; font-size: 8px; }
.market-drawer-copy h2 { margin-bottom: 9px; font-size: 30px; }
.market-drawer-copy > p { color: var(--muted); font-size: 12px; line-height: 1.65; }
.market-drawer-facts { margin: 22px 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, 1fr); }
.market-drawer-facts span { min-height: 65px; padding: 11px 0; display: flex; flex-direction: column; }
.market-drawer-facts span:nth-child(odd) { border-right: 1px solid var(--line); }
.market-drawer-facts span:nth-child(even) { padding-left: 15px; }
.market-drawer-facts span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.market-drawer-facts small { color: var(--muted); font-size: 8px; }
.market-drawer-facts b { font-size: 11px; }
.market-drawer-actions { display: grid; gap: 7px; }
.market-drawer-copy > small { margin-top: 17px; color: var(--muted); display: flex; gap: 7px; font-size: 8px; }
.market-drawer-copy > small svg { width: 14px; color: var(--success); }

@media (max-width: 1100px) {
    .premiere-layout { grid-template-columns: minmax(0, 1fr) 280px; }
    .premiere-current { display: none; }
    .premiere-ledger .container { grid-template-columns: repeat(3, 1fr); }
    .premiere-ledger a { display: none; }
    .catalog-hero-inner { gap: 45px; }
    .market-shell { grid-template-columns: 190px minmax(0, 1fr); gap: 26px; }
    .marketplace-page .script-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .premiere-hero { height: calc(100svh - 108px); min-height: 680px; max-height: 760px; }
    .premiere-art { background-position: 62% center; opacity: .42; }
    .premiere-shade { background: rgba(10,9,8,.66); box-shadow: inset 0 -260px 180px rgba(10,9,8,.48); }
    .premiere-layout { padding-top: 46px; padding-bottom: 105px; grid-template-columns: 1fr; align-items: end; }
    .premiere-copy h1 { font-size: 45px; }
    .premiere-copy > p { max-width: 480px; font-size: 14px; }
    .premiere-selector, .premiere-current { display: none; }
    .premiere-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
    .premiere-search { margin-top: 20px; }
    .premiere-ledger .container { min-height: 75px; grid-template-columns: repeat(3, 1fr); }
    .premiere-ledger span { min-height: 35px; padding: 0 8px; display: flex; justify-content: center; }
    .premiere-ledger span:first-child { padding-left: 0; }
    .premiere-ledger span svg { flex: 0 0 auto; }
    .premiere-ledger span b { display: none; }
    .home-page .signal-grid { padding-block: 16px; grid-template-columns: repeat(3, 1fr); gap: 9px; }
    .home-page .signal-grid > div { padding-right: 8px; }
    .home-page .signal-grid > div strong { font-size: 11px; }
    .home-page .signal-grid > div span { font-size: 7px; }
    .home-page .signal-grid > p { display: none; }
    .home-page .matcher-section:before { display: none; }
    .home-page .matcher-tool { box-shadow: 7px 7px 0 var(--blush); }
    .catalog-hero { min-height: 520px; }
    .catalog-art { background-position: 62% center; opacity: .4; }
    .catalog-veil { background: rgba(12,11,10,.7); box-shadow: inset 0 -180px 150px rgba(12,11,10,.4); }
    .catalog-hero-inner { min-height: 520px; padding: 45px 0 82px; grid-template-columns: 1fr; }
    .catalog-hero-copy h1 { font-size: 39px; }
    .catalog-hero-copy > p { font-size: 13px; }
    .catalog-spotlight { display: none; }
    .catalog-edition .container { overflow-x: auto; }
    .catalog-edition span { flex: 0 0 auto; }
    .market-shell { min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 21px; }
    .catalog-index, .catalog-results { width: 100%; min-width: 0; }
    .catalog-index { position: static; }
    .catalog-index-head, .catalog-standard, .catalog-brief { display: none; }
    .catalog-index .filter-row { display: flex; overflow-x: auto; scrollbar-width: none; }
    .catalog-index .filter-row button { width: auto; min-width: max-content; padding: 0 12px; border: 1px solid var(--line); }
    .catalog-index .filter-row button.active { padding-inline: 12px; }
    .catalog-index .filter-row button small { margin-left: 12px; }
    .marketplace-page .market-toolbar h2 { font-size: 20px; }
    .catalog-tools { padding: 10px 0; align-items: stretch; flex-direction: column; }
    .catalog-sort { width: 100%; min-width: 0; justify-content: space-between; }
    .catalog-sort .compact-select { min-width: 0; flex: 1; }
    .marketplace-page .results-line p { max-width: 210px; }
    .marketplace-page .script-grid.single-result .script-card, .marketplace-page .script-grid.list-view .script-card { display: block; }
    .marketplace-page .script-grid.single-result .script-cover, .marketplace-page .script-grid.list-view .script-cover { height: 330px; }
    .marketplace-page .script-grid.single-result .script-card-body { padding: 18px; }
    .marketplace-page .script-grid.single-result .script-card h3 { margin-top: 8px; font-size: 23px; }
    .marketplace-page .script-grid.single-result .script-card-body > p { margin-top: 10px; font-size: 12px; }
    .market-drawer { width: 100%; top: 54px; }
    .market-drawer-art { height: 35vh; min-height: 240px; }
}

@media (max-width: 430px) {
    .premiere-copy h1 { font-size: 39px; }
    .premiere-kicker { margin-bottom: 15px; }
    .premiere-copy > p { margin-bottom: 20px; }
    .premiere-actions .button { width: 100%; }
    .premiere-brief-link { width: 100%; justify-content: center; }
    .premiere-ledger span { font-size: 7px; text-align: center; }
    .premiere-ledger span svg { display: none; }
    .catalog-hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
    .marketplace-page .market-toolbar { align-items: flex-start; }
    .marketplace-page .view-controls { padding-top: 20px; }
    .marketplace-page .results-line { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
    .marketplace-page .results-line p { max-width: none; }
    .quick-look-button span { display: none; }
    .market-drawer-copy { padding: 21px 18px 30px; }
}