:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #17221e; background: #f5f7f6; font-synthesis: none; --green: #0b6b4f; --green-dark: #064837; --green-soft: #e4f3ed; --ink: #17221e; --muted: #62706a; --line: #dce3df; --surface: #fff; --danger: #a83b35; --warning: #9a5c0a; }
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #4aa98c; outline-offset: 2px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; }
h1 { font-size: 2rem; line-height: 1.2; margin-bottom: .45rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 1rem; padding: .75rem 1rem; background: #fff; z-index: 100; }
.skip-link:focus { top: 1rem; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; background: #102b23; color: #fff; padding: 1.5rem 1rem 1rem; display: flex; flex-direction: column; z-index: 30; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand.light { color: #fff; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: #22a277; color: #fff; font: 700 1.1rem Inter; border-radius: 4px; }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 .94rem Inter; }
.brand small { margin-top: .08rem; color: currentColor; opacity: .72; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.sidebar .brand { color: #fff; padding: 0 .5rem 1.8rem; }
.sidebar nav { display: flex; flex-direction: column; gap: .25rem; }
.sidebar nav a { color: #c9d8d3; display: flex; align-items: center; gap: .75rem; padding: .72rem .8rem; border-radius: 5px; font-weight: 500; }
.sidebar nav a:hover, .sidebar nav a.active { color: #fff; background: #1b4035; text-decoration: none; }
.sidebar-foot { margin-top: auto; border-top: 1px solid #315047; padding: 1rem .35rem 0; display: flex; align-items: center; justify-content: space-between; }
.user-block { display: flex; gap: .65rem; align-items: center; min-width: 0; }
.user-block strong, .user-block small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 125px; }
.user-block strong { font-size: .84rem; }.user-block small { color: #a9bdb6; font-size: .73rem; }
.avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; color: #0b5943; background: #bcebd9; font-weight: 700; }
.avatar.small { width: 26px; height: 26px; font-size: .75rem; }
.icon-button { border: 0; background: transparent; color: inherit; width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 4px; }
.icon-button:hover { background: rgba(127,127,127,.12); }
.app-main { min-width: 0; }.topbar { height: 64px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: flex-end; padding: 0 2rem; position: sticky; top: 0; z-index: 20; }
.menu-button, .mobile-brand, .close-menu { display: none; }
.page { max-width: 1280px; margin: 0 auto; padding: 2.3rem 2.5rem 5rem; }
.page-header { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; margin-bottom: 2rem; }
.page-header p { color: var(--muted); margin-bottom: 0; }.page-header h1 { margin-top: .4rem; }
.back-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .87rem; font-weight: 600; }
.button { border: 1px solid transparent; border-radius: 4px; min-height: 42px; padding: .65rem 1rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-weight: 700; transition: background .15s, border .15s, transform .15s; }
.button:hover { text-decoration: none; transform: translateY(-1px); }.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button.primary { background: var(--green); color: #fff; }.button.primary:hover { background: var(--green-dark); }
.button.secondary { background: #fff; color: var(--ink); border-color: #cbd5d0; }.button.secondary:hover { border-color: #87978f; }
.button.wide { width: 100%; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; }
.metric { padding: 1.3rem 1.5rem; display: grid; grid-template-columns: 38px 1fr; column-gap: .85rem; border-right: 1px solid var(--line); }
.metric:last-child { border: 0; }.metric-icon { grid-row: 1 / 3; width: 38px; height: 38px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); border-radius: 4px; }.metric strong { font: 700 1.4rem Inter; line-height: 1; }.metric > span:last-child { color: var(--muted); font-size: .82rem; margin-top: .3rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 2.5rem 0 1rem; }.section-heading h2 { margin-bottom: .25rem; }.section-heading p { margin: 0; color: var(--muted); }.section-heading a { font-weight: 600; }
.work-queue { margin-bottom: 2rem; }.queue-list { background: #fff; border-top: 1px solid var(--line); }
.queue-item { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--line); color: var(--ink); }.queue-item:hover { background: #f9fbfa; text-decoration: none; }.queue-item h3 { display: inline; margin: 0 0 0 .75rem; }.queue-item p { color: var(--muted); margin: .45rem 0 0; font-size: .85rem; }.queue-action { display: flex; color: var(--green); gap: .5rem; align-items: center; font-weight: 600; white-space: nowrap; }
.campaign-table-wrap { overflow-x: auto; background: #fff; border-top: 1px solid var(--line); }.campaign-table { width: 100%; border-collapse: collapse; min-width: 720px; }.campaign-table th { text-align: left; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }.campaign-table td { padding: 1rem; border-bottom: 1px solid var(--line); font-size: .9rem; }.campaign-table tbody tr:hover { background: #fafcfb; }.campaign-table td:first-child a { color: var(--ink); font-weight: 700; }.campaign-table td small { display: block; color: var(--muted); font-weight: 400; margin-top: .2rem; }.icon-link { display: inline-grid; place-items: center; width: 32px; height: 32px; }.icon-link svg { width: 18px; }
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: .2rem; }.icon-button.danger { color: var(--danger); }.icon-button.danger svg { width: 18px; }
.status { display: inline-flex; align-items: center; min-height: 25px; padding: .25rem .55rem; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; background: #edf0ef; color: #53615b; }.status-submitted, .status-in_review { background: #e5eef8; color: #275b8d; }.status-awaiting_material { background: #fff0d8; color: #8b570c; }.status-approved, .status-active { background: var(--green-soft); color: var(--green-dark); }.status-rejected, .status-cancelled { background: #f7e5e3; color: #8b342f; }.status-scheduled { background: #eee9f8; color: #654893; }
.filters { display: flex; gap: .75rem; margin-bottom: 1.25rem; }.search-field, .select-field { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); min-height: 44px; padding: 0 .75rem; border-radius: 4px; }.search-field { flex: 1; max-width: 460px; }.search-field svg, .select-field svg { color: var(--muted); width: 18px; }.search-field input, .select-field select { border: 0; outline: 0; background: transparent; width: 100%; padding: .6rem; color: var(--ink); }
.empty-state { background: #fff; border: 1px dashed #bdc9c3; padding: 3rem; text-align: center; color: var(--muted); }.empty-state svg { color: var(--green); width: 32px; height: 32px; }.empty-state h2 { color: var(--ink); margin: .8rem 0 .4rem; }
.loading, .full-loading { min-height: 50vh; display: flex; align-items: center; justify-content: center; gap: .7rem; color: var(--muted); }.spinner { width: 22px; height: 22px; border: 2px solid #ccd7d2; border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }@keyframes spin { to { transform: rotate(360deg); } }
.notice { display: flex; align-items: flex-start; gap: .75rem; padding: .9rem 1rem; margin: 1rem 0; border-left: 3px solid; background: #fff; }.notice svg { flex: 0 0 20px; }.notice strong { display: block; }.notice ul { margin: .45rem 0 0; padding-left: 1.2rem; }.notice.error { border-color: var(--danger); color: #7b2d29; background: #fdf5f4; }.notice.success { border-color: var(--green); color: var(--green-dark); background: #f0faf6; }.notice.warning { border-color: #d68a20; background: #fff9ed; color: #775018; }.notice.neutral { border-color: #668598; background: #f2f7f9; color: #365463; }
label { display: grid; gap: .42rem; font-weight: 600; font-size: .86rem; }input, textarea, select { width: 100%; border: 1px solid #cbd5d0; border-radius: 4px; padding: .7rem .75rem; background: #fff; color: var(--ink); }input:disabled { background: #edf1ef; color: #5b6963; }textarea { min-height: 96px; resize: vertical; }.required { color: #b23b35; }
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(400px, 1.05fr) minmax(440px, .95fr); }.auth-intro { position: relative; overflow: hidden; background: #0b4938; color: #fff; padding: 3rem clamp(2rem,6vw,6rem); display: flex; flex-direction: column; justify-content: space-between; }.auth-intro::after { content: ""; position: absolute; width: 480px; height: 480px; right: -220px; bottom: 80px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }.auth-copy { position: relative; z-index: 1; max-width: 580px; margin: 5rem 0; }.eyebrow { display: block; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: #a7dbc9; font-weight: 700; }.auth-copy h1 { font-size: clamp(2.5rem,5vw,4.8rem); line-height: 1.02; max-width: 650px; }.auth-copy > p { font-size: 1.2rem; color: #c8ded6; }.auth-copy ul { list-style: none; padding: 1.5rem 0 0; margin: 0; display: grid; gap: .75rem; }.auth-copy li { display: flex; align-items: center; gap: .6rem; }.auth-copy li svg { width: 19px; color: #66d2ad; }.price-promise { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.22); padding-top: 1.3rem; display: flex; align-items: center; gap: 1.2rem; max-width: 590px; }.price-promise strong { font: 700 2rem Inter; white-space: nowrap; }.price-promise span { color: #c8ded6; font-size: .87rem; }.auth-form-wrap { display: grid; place-items: center; padding: 3rem; background: #fff; }.auth-form { width: min(100%, 410px); }.auth-form h2, .auth-form h1 { font-size: 1.8rem; margin: 1.3rem 0 .35rem; }.auth-form > p { color: var(--muted); margin-bottom: 1.8rem; }.auth-form label { margin-top: 1.1rem; }.auth-icon { width: 46px; height: 46px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); border-radius: 5px; }.form-meta { display: flex; justify-content: space-between; align-items: center; margin: 1rem 0 1.3rem; font-size: .83rem; }.checkbox { display: flex; grid-template-columns: unset; flex-direction: row; align-items: flex-start; gap: .65rem; font-weight: 500; cursor: pointer; }.checkbox input { width: 18px; height: 18px; accent-color: var(--green); margin: .08rem 0 0; }.checkbox.compact { margin: 0; }.demo-box { margin-top: 1.5rem; padding: .9rem 1rem; background: #f3f6f4; display: flex; align-items: center; gap: .5rem; font-size: .78rem; }.demo-box strong { margin-right: auto; }.demo-box button { border: 0; padding: .35rem .5rem; background: #fff; color: var(--green); font-weight: 700; }.simple-auth { min-height: 100vh; display: grid; place-items: center; padding: 2rem; background: #edf3f0; }.simple-auth .auth-form { background: #fff; padding: 2rem; box-shadow: 0 14px 50px rgba(22,45,37,.09); }.simple-auth .brand { margin-bottom: 2.5rem; }
.save-state { display: flex; gap: .5rem; align-items: center; color: var(--muted); font-size: .83rem; }.save-state svg { width: 18px; }.save-state.error { color: var(--danger); }.stepper { display: grid; grid-template-columns: repeat(5,1fr); list-style: none; margin: 0 0 2rem; padding: 0; border-bottom: 1px solid var(--line); }.stepper li { position: relative; }.stepper button { width: 100%; border: 0; background: transparent; display: flex; gap: .55rem; align-items: center; color: var(--muted); padding: .75rem .3rem 1rem; }.stepper button > span { width: 27px; height: 27px; border: 1px solid #b9c5bf; display: grid; place-items: center; border-radius: 50%; font-size: .77rem; flex: 0 0 auto; }.stepper button svg { width: 14px; }.stepper em { font-style: normal; font-weight: 600; font-size: .78rem; }.stepper .active::after { content: ""; position: absolute; height: 3px; bottom: -1px; left: 0; right: 0; background: var(--green); }.stepper .active button { color: var(--ink); }.stepper .active button > span, .stepper .done button > span { background: var(--green); color: #fff; border-color: var(--green); }
.wizard-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 2rem; align-items: start; }.wizard-content { background: #fff; border: 1px solid var(--line); padding: 2rem; }.wizard-content h2 { margin-bottom: .35rem; }.lead { color: var(--muted); margin-bottom: 1.8rem; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }.form-grid.dates { margin: 1.8rem 0; }.wizard-aside { position: sticky; top: 88px; background: #eaf4f0; padding: 1.3rem; border-top: 3px solid var(--green); }.wizard-aside > strong { font-family: Inter; }.wizard-aside dl { margin: 1rem 0; }.wizard-aside dl > div { display: flex; justify-content: space-between; padding: .65rem 0; border-bottom: 1px solid #c9ddd5; font-size: .84rem; }.wizard-aside dd { margin: 0; font-weight: 700; text-align: right; }.wizard-aside p { color: #41665a; font-size: .75rem; line-height: 1.45; }.wizard-aside a { font-size: .82rem; font-weight: 700; }.wizard-actions { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.5rem; }
.channel-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .8rem; }.channel-card { position: relative; border: 1px solid var(--line); padding: 1.1rem 1rem 1rem 3.2rem; min-height: 102px; cursor: pointer; }.channel-card:hover { border-color: #8aa79c; }.channel-card.selected { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #f7fcfa; }.channel-card input { position: absolute; opacity: 0; }.channel-card .check-mark { position: absolute; left: 1rem; top: 1.1rem; width: 22px; height: 22px; border: 1px solid #afbeb7; display: grid; place-items: center; border-radius: 3px; }.channel-card .check-mark svg { width: 14px; opacity: 0; }.channel-card.selected .check-mark { color: #fff; background: var(--green); border-color: var(--green); }.channel-card.selected .check-mark svg { opacity: 1; }.channel-card strong, .channel-card small { display: block; }.channel-card small { color: var(--muted); margin-top: .35rem; font-weight: 400; line-height: 1.35; }.budget-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 2rem; align-items: start; }.budget-layout > div > label { margin-bottom: 1rem; }.money-input { display: flex; align-items: center; border: 1px solid #cbd5d0; border-radius: 4px; background: #fff; }.money-input:focus-within { outline: 3px solid #4aa98c; outline-offset: 2px; }.money-input input { border: 0; outline: 0; }.money-input span { color: var(--muted); padding: 0 .8rem; font-size: .78rem; }.price-summary { background: #102b23; color: #fff; padding: 1.4rem; }.price-summary > span { text-transform: uppercase; color: #a7c0b7; letter-spacing: .06em; font-size: .72rem; font-weight: 700; }.price-summary dl { margin: 1rem 0; }.price-summary dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #355047; font-size: .83rem; }.price-summary dd { margin: 0; font-weight: 700; text-align: right; }.price-summary .total { font-size: .95rem; border-bottom: 0; }.price-summary p { font-size: .72rem; color: #b9cdc6; line-height: 1.45; margin-bottom: 0; }.inline-error { display: flex; gap: .5rem; align-items: center; color: var(--danger); font-size: .82rem; }.inline-error svg { width: 17px; }
.channel-card em { display: inline-block; margin-top: .65rem; color: var(--green); font-style: normal; font-size: .72rem; font-weight: 700; }.free-channel-summary { margin-top: 1rem; padding: 1rem; background: #eef6f2; display: grid; gap: .55rem; }.free-channel-summary span { display: flex; justify-content: space-between; color: var(--muted); font-size: .84rem; }.free-channel-summary b { color: var(--green); }.channel-content-fields { margin-bottom: 1rem; }.field-hint { color: var(--muted); font-weight: 400; }
.channel-card.locked { background: #f0f2f1; color: #718078; cursor: not-allowed; }.channel-card.locked em { color: #7b6650; }
.creative-group { margin-top: 1.8rem; }.creative-group h3 { padding-bottom: .7rem; border-bottom: 1px solid var(--line); }.upload-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }.file-icon { width: 40px; height: 40px; display: grid; place-items: center; background: #eef3f1; color: var(--green); border-radius: 4px; }.file-icon svg { width: 20px; }.upload-row strong, .upload-row small, .file-name { display: block; }.upload-row small { color: var(--muted); margin-top: .2rem; }.file-name { color: var(--green); font-size: .76rem; margin-top: .35rem; }.review-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }.review-sections section { background: #fff; padding: 1.2rem; }.review-sections h3 { margin-bottom: .55rem; }.review-sections p { color: var(--muted); line-height: 1.55; margin: 0; }.review-sections strong { color: var(--ink); }.confirmations { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0 0; padding: 1.3rem 0 0; display: grid; gap: .9rem; }.confirmations legend { font: 700 1rem Inter; padding: 0 0 .8rem; }
.uploaded-file { display: flex; align-items: center; gap: .3rem; }.uploaded-file button { border: 0; background: transparent; color: var(--danger); padding: .1rem; display: inline-grid; }.uploaded-file button svg { width: 14px; height: 14px; }
.content-preview-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 1.4rem; align-items: start; }.meta-preview { border: 1px solid #d6ddd9; background: #fff; border-radius: 6px; overflow: hidden; }.preview-label { display: block; padding: .55rem .8rem; background: #eef3f1; color: var(--muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; }.meta-preview-head { display: flex; align-items: center; gap: .55rem; padding: .8rem; }.preview-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; }.meta-preview-head strong, .meta-preview-head small { display: block; }.meta-preview-head small { color: var(--muted); font-size: .7rem; }.preview-primary { padding: 0 .8rem; margin-bottom: .8rem; font-size: .82rem; line-height: 1.45; }.preview-media { aspect-ratio: 1; background: #e8edeb; display: grid; place-items: center; align-content: center; gap: .4rem; color: #77847e; font-size: .75rem; }.preview-media svg { width: 30px; }.preview-copy { display: flex; justify-content: space-between; gap: .7rem; align-items: center; padding: .8rem; background: #f6f7f7; }.preview-copy strong { font-size: .8rem; }.preview-copy p { margin: .2rem 0 0; color: var(--muted); font-size: .7rem; }.preview-action { border: 1px solid #c5ceca; padding: .4rem .55rem; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.youtube-preview, .email-preview { border: 1px solid #d6ddd9; background: #fff; border-radius: 6px; overflow: hidden; }.youtube-media { aspect-ratio: 16/9; display: grid; place-items: center; align-content: center; gap: .4rem; background: #202523; color: #fff; font-size: .75rem; }.play-symbol { width: 38px; height: 38px; display: grid; place-items: center; padding-left: 3px; background: rgba(255,255,255,.18); border-radius: 50%; }.youtube-copy { display: grid; grid-template-columns: 34px 1fr; gap: .65rem; padding: .85rem; }.youtube-copy strong, .youtube-copy small { display: block; }.youtube-copy p { margin: .2rem 0; color: var(--muted); font-size: .72rem; }.youtube-copy small { color: var(--muted); font-size: .68rem; }.email-inbox { padding: .85rem; border-bottom: 1px solid var(--line); }.email-inbox small, .email-inbox strong { display: block; }.email-inbox small { color: var(--muted); }.email-inbox p { margin: .25rem 0 0; color: var(--muted); font-size: .72rem; }.email-body { padding: .85rem; }.email-brand { display: block; margin-bottom: .7rem; }.email-hero-placeholder { aspect-ratio: 3/2; display: grid; place-items: center; align-content: center; gap: .35rem; background: #e8edeb; color: var(--muted); font-size: .72rem; }.email-hero-placeholder svg { width: 25px; }.email-body > p { font-size: .78rem; line-height: 1.5; }.email-supplementary-placeholder { border: 1px dashed #aebbb5; padding: .7rem; text-align: center; color: var(--muted); font-size: .68rem; }
.inbox-row { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: .65rem; align-items: center; padding: .85rem; }.inbox-row > div { min-width: 0; }.inbox-row strong { display: block; font-size: .78rem; }.inbox-row p { margin: .2rem 0 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-size: .72rem; }.inbox-row p b { color: var(--ink); }.inbox-row time { align-self: start; color: var(--muted); font-size: .65rem; }
.inbox-subject { display: block; margin-top: .28rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .76rem; }
.channel-accordion { border: 1px solid var(--line); background: #fff; margin-top: .8rem; }.channel-accordion > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; cursor: pointer; font-weight: 700; }.channel-accordion > summary::-webkit-details-marker { display: none; }.channel-accordion > summary::after { content: "+"; width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #b9c6c0; border-radius: 50%; color: var(--green); }.channel-accordion[open] > summary::after { content: "−"; }.channel-accordion[open] > summary { border-bottom: 1px solid var(--line); }.accordion-content { padding: 1.2rem; }.accordion-summary-meta { color: var(--muted); font-size: .72rem; font-weight: 500; margin-left: auto; }
.field-tooltip { position: relative; display: inline-flex; vertical-align: middle; color: var(--green); cursor: help; }.field-tooltip > span { position: absolute; left: 50%; bottom: calc(100% + .55rem); width: min(280px, 75vw); padding: .7rem; background: #102b23; color: #fff; font-size: .72rem; line-height: 1.45; font-weight: 400; opacity: 0; visibility: hidden; transform: translateX(-50%); z-index: 10; }.field-tooltip:hover > span, .field-tooltip:focus > span { opacity: 1; visibility: visible; }
.campaign-hero { background: #102b23; color: #fff; padding: 1.5rem 1.7rem; display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; margin-bottom: 2rem; }.campaign-hero .status { margin-right: .8rem; }.campaign-hero .muted { color: #a9beb7; font-size: .8rem; }.campaign-hero h2 { margin: 1.3rem 0 .25rem; font-size: .8rem; color: #a9beb7; text-transform: uppercase; letter-spacing: .05em; }.campaign-hero p { margin: 0; font-size: 1.1rem; font-weight: 600; }.hero-price { text-align: right; }.hero-price span, .hero-price small { display: block; color: #a9beb7; }.hero-price strong { display: block; font: 700 1.7rem Inter; margin: .2rem 0; }.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 2rem; align-items: start; }.detail-main { min-width: 0; }.detail-section { background: #fff; border: 1px solid var(--line); padding: 1.5rem; margin-bottom: 1rem; }.detail-section > h2 { border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.2rem; }.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin: 0; }.detail-grid .wide { grid-column: 1/-1; }.detail-grid dt, .price-lines dt { color: var(--muted); font-size: .77rem; }.detail-grid dd { margin: .3rem 0 0; line-height: 1.5; }.channel-summary { display: grid; gap: .55rem; }.channel-summary > div, .price-lines > div { display: flex; justify-content: space-between; gap: 1rem; }.channel-summary > div { background: #f3f6f4; padding: .75rem .9rem; }.price-lines { border-top: 1px solid var(--line); margin: 1rem 0 0; padding-top: .6rem; }.price-lines > div { padding: .5rem 0; }.price-lines dd { margin: 0; font-weight: 600; }.price-lines .total { border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .3rem; }.file-list > div { display: grid; grid-template-columns: 42px 1fr auto; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }.file-list > div:last-child { border: 0; }.file-list strong, .file-list small { display: block; }.file-list small { color: var(--muted); margin-top: .2rem; }.empty-inline { display: flex; align-items: center; gap: .7rem; color: var(--muted); padding: .8rem 0; }.empty-inline svg { width: 20px; }.message-list { display: grid; gap: .7rem; }.message { border-left: 3px solid #b6c4be; background: #f7f9f8; padding: .9rem 1rem; }.message.internal_note { border-color: #795aa6; background: #f6f2fa; }.message.change_request { border-color: #c77b17; background: #fff8ea; }.message > div { display: flex; align-items: center; gap: .55rem; }.message > div > span:not(.avatar) { color: var(--muted); font-size: .75rem; }.message em { display: inline-flex; gap: .25rem; align-items: center; margin-left: auto; font-style: normal; font-size: .7rem; color: var(--muted); }.message em svg { width: 14px; }.message p { margin: .7rem 0 0 2.6rem; line-height: 1.5; }.message-form { border-top: 1px solid var(--line); margin-top: 1.2rem; padding-top: 1.2rem; }.message-form textarea { margin: .7rem 0; }.message-form > .button { margin-left: auto; }.segmented { display: inline-flex; padding: 3px; background: #edf1ef; }.segmented button { border: 0; background: transparent; padding: .5rem .7rem; font-size: .75rem; font-weight: 600; }.segmented button.active { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); }.detail-aside { position: sticky; top: 84px; display: grid; gap: 1rem; }.detail-aside > section { background: #fff; border: 1px solid var(--line); padding: 1.25rem; }.detail-aside h2 { font-size: .95rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }.detail-aside p { color: var(--muted); font-size: .85rem; line-height: 1.6; }.detail-aside p strong { color: var(--ink); }.admin-actions textarea { min-height: 75px; }.status-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }.status-actions .button { padding: .5rem; font-size: .78rem; }.timeline { list-style: none; padding: 0; margin: 0; }.timeline li { position: relative; display: grid; grid-template-columns: 12px 1fr; gap: .7rem; padding-bottom: 1.1rem; }.timeline li::after { content: ""; position: absolute; left: 5px; top: 12px; bottom: 0; width: 1px; background: #cbd6d1; }.timeline li:last-child::after { display: none; }.timeline li > span { margin-top: 4px; width: 11px; height: 11px; border: 2px solid var(--green); background: #fff; border-radius: 50%; z-index: 1; }.timeline strong, .timeline small { display: block; }.timeline small { color: var(--muted); font-size: .72rem; margin-top: .2rem; }.timeline p { margin: .3rem 0 0; }
@media (max-width: 1000px) { .metrics { grid-template-columns: 1fr 1fr; }.metric:nth-child(2) { border-right: 0; }.metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.wizard-layout, .detail-layout, .content-preview-layout { grid-template-columns: 1fr; }.wizard-aside { position: static; }.detail-aside { position: static; grid-template-columns: 1fr 1fr; }.detail-aside .admin-actions { grid-column: 1/-1; }.budget-layout { grid-template-columns: 1fr; }.price-summary { max-width: none; }.meta-preview { max-width: 360px; } }
@media (max-width: 760px) { .app-shell { display: block; }.sidebar { position: fixed; left: 0; transform: translateX(-100%); width: min(86vw, 300px); transition: transform .2s; }.sidebar.is-open { transform: translateX(0); }.close-menu { display: grid; position: absolute; top: 1.1rem; right: .6rem; }.scrim { position: fixed; inset: 0; background: rgba(11,25,20,.5); border: 0; z-index: 25; }.topbar { height: 56px; padding: 0 .8rem; justify-content: space-between; }.menu-button { display: grid; }.mobile-brand { display: block; font: 700 .9rem Inter; }.page { padding: 1.5rem 1rem 4rem; }.page-header { align-items: flex-start; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }.page-header h1 { font-size: 1.55rem; }.page-header > div:last-child, .page-header .button { width: 100%; }.metrics { grid-template-columns: 1fr 1fr; }.metric { grid-template-columns: 1fr; padding: 1rem; }.metric-icon { grid-row: auto; margin-bottom: .65rem; }.queue-item { align-items: flex-start; }.queue-item h3 { display: block; margin: .6rem 0 0; }.queue-action span { display: none; }.filters { flex-direction: column; }.search-field { max-width: none; }.stepper { overflow-x: auto; grid-template-columns: repeat(5, minmax(95px,1fr)); }.stepper em { font-size: .7rem; }.wizard-content { padding: 1.2rem; }.form-grid, .channel-grid, .review-sections, .detail-grid { grid-template-columns: 1fr; }.detail-grid .wide { grid-column: auto; }.wizard-actions .button { padding: .55rem .7rem; }.upload-row { grid-template-columns: 38px 1fr; }.upload-row > .button, .upload-row > .icon-button { grid-column: 2; justify-self: start; }.campaign-hero { align-items: flex-start; flex-direction: column; }.hero-price { text-align: left; }.detail-aside { grid-template-columns: 1fr; }.detail-aside .admin-actions { grid-column: auto; }.segmented { width: 100%; overflow-x: auto; }.segmented button { flex: 1; white-space: nowrap; }.message p { margin-left: 0; }.auth-page { display: block; }.auth-intro { min-height: 42vh; padding: 1.5rem; }.auth-copy { margin: 3rem 0 1.5rem; }.auth-copy h1 { font-size: 2.6rem; }.auth-copy ul { display: none; }.price-promise { align-items: flex-start; }.auth-form-wrap { padding: 2rem 1.2rem 3rem; }.demo-box { flex-wrap: wrap; }.demo-box strong { width: 100%; }.simple-auth { padding: 1rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* v9 commercial UI layer -------------------------------------------------- */
@font-face {
  font-family: "Klavika";
  src: local("Klavika Regular"), local("Klavika-Regular"), local("Klavika");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Klavika";
  src: local("Klavika Medium"), local("Klavika-Medium");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}

:root {
  font-family: "Klavika", "Arial Nova", "Helvetica Neue", Arial, sans-serif;
  color: #183029;
  background: #f4f6f3;
  --green: #087554;
  --green-dark: #123d32;
  --green-deep: #0b2d25;
  --green-soft: #e7f4ee;
  --mint: #9be1c7;
  --ink: #183029;
  --muted: #687870;
  --line: #dbe3de;
  --line-strong: #c2cec8;
  --surface: #ffffff;
  --surface-soft: #f8faf8;
  --danger: #a43d35;
  --warning: #986018;
  --shadow-sm: 0 1px 2px rgba(18, 61, 50, .04), 0 6px 20px rgba(18, 61, 50, .04);
  --shadow-md: 0 18px 48px rgba(18, 61, 50, .10);
}

body {
  background: var(--surface-soft);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3,
.brand strong,
.brand-mark,
.button,
.runtime-kpi strong,
.hero-price strong,
.price-summary dd {
  font-family: "Klavika", "Arial Nova", "Helvetica Neue", Arial, sans-serif;
}

h1 { font-size: clamp(1.85rem, 3vw, 2.5rem); line-height: 1.08; font-weight: 700; }
h2 { font-size: 1.18rem; line-height: 1.25; font-weight: 700; }
h3 { font-size: .98rem; line-height: 1.3; font-weight: 700; }

input, textarea, select {
  min-height: 46px;
  border-color: var(--line-strong);
  border-radius: 6px;
  padding: .76rem .82rem;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

textarea { min-height: 108px; }
input:hover, textarea:hover, select:hover { border-color: #96a9a0; }
input:focus, textarea:focus, select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(8, 117, 84, .13);
  outline: 0;
}

label { color: #2b423b; font-size: .82rem; gap: .5rem; }

.button {
  min-height: 44px;
  border-radius: 6px;
  padding: .7rem 1.05rem;
  font-size: .86rem;
  box-shadow: 0 1px 1px rgba(18, 61, 50, .05);
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.button.primary { background: var(--green); box-shadow: 0 7px 18px rgba(8, 117, 84, .18); }
.button.primary:hover { background: #066649; box-shadow: 0 10px 22px rgba(8, 117, 84, .23); }
.button.secondary { border-color: var(--line-strong); background: #fff; }
.button.secondary:hover { background: #f5f8f6; border-color: #8da198; }
.icon-button { border-radius: 6px; transition: color .16s ease, background .16s ease; }

#runtime { min-height: 100vh; }

.runtime-top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: .8rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(219, 227, 222, .9);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 rgba(18, 61, 50, .02);
}

.runtime-top .brand { color: var(--ink); }
.brand { gap: .78rem; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--green);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.brand strong { font-size: .98rem; line-height: 1.05; }
.brand small { margin-top: .2rem; font-size: .65rem; font-weight: 600; letter-spacing: .06em; }
.runtime-top .user-block { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.runtime-top .avatar { width: 36px; height: 36px; background: #dff2ea; }
.runtime-top .user-block strong { max-width: 180px; }

.runtime-wrap {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 2.35rem clamp(1rem, 3vw, 2.5rem) 5rem;
  animation: page-enter .32s ease both;
}

.runtime-wrap > .notice.warning {
  margin: 0 0 2rem;
  border: 1px solid #ead9ba;
  border-left: 3px solid #b77721;
  border-radius: 6px;
  background: #fffaf0;
  color: #6f4b1d;
  font-size: .8rem;
}

.page-header { align-items: center; margin-bottom: 1.8rem; }
.page-header h1 { margin: 0 0 .5rem; }
.page-header p { max-width: 620px; font-size: .92rem; }
.back-link { margin-bottom: 1rem; color: #45665a; }
.back-link:hover { color: var(--green); }

.runtime-login {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  background: #fff;
}

.runtime-pitch {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(2rem, 7vw, 7.5rem);
  background: var(--green-dark);
  color: #fff;
}

.runtime-pitch::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -18%;
  bottom: 14%;
  width: 52%;
  aspect-ratio: 1;
  border: 1px solid rgba(155, 225, 199, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(155, 225, 199, .035), 0 0 0 144px rgba(155, 225, 199, .025);
}

.runtime-pitch .brand { color: #fff; }
.runtime-pitch > div:last-child { max-width: 660px; margin: auto 0; padding: 5rem 0 2rem; }
.runtime-pitch .eyebrow { margin-bottom: 1.35rem; color: var(--mint); font-size: .72rem; }
.runtime-pitch h1 { max-width: 720px; font-size: clamp(2.8rem, 5.5vw, 5.4rem); line-height: .98; font-weight: 700; }
.runtime-pitch p { max-width: 500px; color: #cfdfd9; font-size: 1.08rem; }
.runtime-price {
  display: grid;
  grid-template-columns: auto minmax(0, 360px);
  align-items: center;
  gap: 1rem 1.25rem;
  max-width: 560px;
  margin-top: 3rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.22);
}
.runtime-price strong { display: block; color: #fff; font-size: 2.35rem; line-height: 1; }
.runtime-price span { color: #c3d6cf; font-size: .84rem; line-height: 1.45; }

.runtime-login-form { display: grid; place-items: center; padding: 3rem clamp(1.5rem, 5vw, 5rem); background: #fff; }
.runtime-login-form form { width: min(100%, 410px); }
.runtime-login-form form > h1 { margin-bottom: .55rem; font-size: 2rem; }
.runtime-login-form form > p { margin-bottom: 2rem; color: var(--muted); }
.runtime-login-form label { margin: 1rem 0; }
.runtime-login-form .button.wide { margin-top: .35rem; }
.demo-box {
  margin-top: 1.5rem;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
}
.demo-box button { border: 1px solid transparent; border-radius: 4px; }
.demo-box button:hover { border-color: var(--line); }

.runtime-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 2.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.runtime-kpi { position: relative; min-height: 118px; padding: 1.35rem 1.45rem; border-right: 1px solid var(--line); }
.runtime-kpi::before { content: ""; display: block; width: 22px; height: 3px; margin-bottom: 1.15rem; background: var(--green); border-radius: 2px; }
.runtime-kpi:nth-child(3)::before { background: #c28432; }
.runtime-kpi:nth-child(4)::before { background: #3e6b8b; }
.runtime-kpi:last-child { border-right: 0; }
.runtime-kpi strong { display: block; margin-bottom: .32rem; font-size: 1.75rem; line-height: 1; }
.runtime-kpi span { color: var(--muted); font-size: .78rem; }

.campaign-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.campaign-table th { padding: .9rem 1.1rem; background: #f6f8f6; color: #63766d; letter-spacing: .035em; }
.campaign-table td { padding: 1.05rem 1.1rem; }
.campaign-table tbody tr { transition: background .15s ease; }
.campaign-table tbody tr:last-child td { border-bottom: 0; }
.campaign-table tbody tr:hover { background: #f7fbf9; }
.link-button {
  display: grid;
  gap: .18rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.link-button:hover strong { color: var(--green); }
.link-button small { color: var(--muted); }

.runtime-editor { display: grid; grid-template-columns: minmax(0, 1fr) 318px; gap: 1.5rem; align-items: start; }
.runtime-panel {
  margin-bottom: 1rem;
  padding: clamp(1.25rem, 3vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.runtime-panel > h2 { margin-bottom: 1.25rem; }
.runtime-panel > h2:not(:first-child) { margin-top: 2.25rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.runtime-panel label { margin-bottom: 1rem; }
.runtime-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.runtime-channel { display: flex; align-items: center; gap: .55rem; padding: .75rem; border: 1px solid var(--line); border-radius: 6px; }
.runtime-channel input { width: auto; }
.runtime-tabs { display: flex; gap: .35rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.runtime-tabs button { padding: .75rem .8rem; border: 0; background: transparent; color: var(--muted); font-weight: 700; }
.runtime-tabs button.active { border-bottom: 2px solid var(--green); color: var(--green); }

.channel-grid { gap: .75rem; }
.channel-card {
  min-height: 112px;
  padding: 1.1rem 1rem 1rem 3.35rem;
  border-color: var(--line);
  border-radius: 7px;
  background: #fff;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.channel-card:hover { border-color: #8ba69a; box-shadow: 0 8px 22px rgba(18, 61, 50, .06); transform: translateY(-1px); }
.channel-card.selected { border-color: var(--green); background: #f3fbf7; box-shadow: inset 0 0 0 1px var(--green); }
.channel-card .check-mark { width: 23px; height: 23px; border-radius: 5px; }
.channel-card strong { font-size: .9rem; }
.channel-card small { font-size: .76rem; }
.channel-card em { margin-top: .7rem; font-size: .7rem; }
.channel-card.locked { background: #f1f3f2; box-shadow: none; transform: none; }

.channel-accordion {
  margin-top: .85rem;
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow: clip;
}
.channel-accordion > summary { min-height: 62px; padding: 1rem 1.15rem; background: #fff; font-size: .92rem; transition: background .16s ease; }
.channel-accordion > summary:hover { background: #f7faf8; }
.channel-accordion > summary::after { width: 28px; height: 28px; border-color: var(--line-strong); border-radius: 6px; font-size: 1.05rem; }
.channel-accordion[open] > summary { background: #f4faf7; }
.channel-accordion[open] .accordion-content { animation: accordion-enter .2s ease both; }
.accordion-content { padding: 0 1.4rem 1.45rem; }
.accordion-content .creative-group { margin-top: 1.4rem; }
.accordion-summary-meta { font-size: .7rem; }

.money-input { border-radius: 6px; border-color: var(--line-strong); }
.free-channel-summary { border-radius: 6px; background: #eef8f3; }
.price-summary {
  position: sticky;
  top: 98px;
  padding: 1.45rem;
  border-radius: 8px;
  background: var(--green-deep);
  box-shadow: var(--shadow-md);
}
.price-summary > span { color: #afd1c5; }
.price-summary dl > div { border-color: rgba(255,255,255,.14); }
.price-summary .total { margin-top: .25rem; padding-top: 1rem; font-size: 1rem; }
.price-summary p { color: #bcd2ca; }

.upload-row {
  min-height: 76px;
  padding: .95rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfb;
}
.upload-row + .upload-row { margin-top: .65rem; }
.file-icon { width: 42px; height: 42px; border-radius: 6px; background: #e9f4ef; }
.upload-row small { line-height: 1.4; }
.file-name { color: #487064; }

.content-preview-layout { grid-template-columns: minmax(0, 1fr) minmax(290px, 340px); gap: 1.5rem; }
.meta-preview, .youtube-preview, .email-preview {
  border-color: #cdd8d3;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(18, 61, 50, .08);
}
.preview-label { padding: .62rem .8rem; background: #edf3f0; color: #526a61; }
.preview-avatar { background: var(--green-dark); }
.preview-media { background: #e7ece9; }
.youtube-media { background: #17241f; }
.preview-copy { background: #f5f7f6; }
.preview-action { border-radius: 4px; background: #fff; }
.inbox-row { min-height: 104px; padding: 1rem; }
.inbox-subject { margin-top: .34rem; font-size: .8rem; }
.inbox-row p { margin-top: .24rem; line-height: 1.35; white-space: normal; }

.campaign-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  padding: 1.7rem 1.8rem;
  border-radius: 8px;
  background: var(--green-deep);
  box-shadow: var(--shadow-md);
}
.campaign-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(155,225,199,.15);
  border-radius: 50%;
}
.campaign-hero > * { position: relative; z-index: 1; }
.runtime-message {
  margin: .65rem 0;
  padding: .85rem 1rem;
  border-left: 3px solid #9fb0a8;
  border-radius: 0 6px 6px 0;
  background: #f3f6f4;
}
.runtime-message.internal_note { border-color: #795aa6; background: #f6f2fa; }
.runtime-message.change_request { border-color: #c77b17; background: #fff8ea; }
.runtime-message small { display: block; margin-bottom: .3rem; color: var(--muted); }
.runtime-history { margin: 0; padding: 0; list-style: none; }
.runtime-history li { padding: 0 0 1rem .8rem; border-left: 2px solid #8bcbb5; }
.runtime-history small { display: block; margin-top: .15rem; color: var(--muted); }
.runtime-history p { margin: .25rem 0 0; color: var(--muted); font-size: .78rem; }
.admin-status-panel > p { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.2rem; color: var(--muted); font-size: .82rem; }
.admin-status-panel select { background: #fff; }
.admin-status-panel .button.wide { margin-top: .25rem; }
.save-state { padding: .45rem .65rem; border-radius: 999px; background: #edf5f1; color: #45685c; }

.status { min-height: 26px; padding: .28rem .62rem; }
.status-submitted, .status-in_review { background: #e8f0f7; color: #285f83; }
.status-awaiting_material { background: #fff1dc; color: #865612; }
.status-approved, .status-active { background: #e2f3eb; color: #126447; }

@keyframes page-enter {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes accordion-enter {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  .runtime-editor, .content-preview-layout { grid-template-columns: 1fr; }
  .price-summary { position: static; }
  .meta-preview, .youtube-preview, .email-preview { width: min(100%, 390px); }
}

@media (max-width: 760px) {
  .runtime-login { display: block; }
  .runtime-pitch { min-height: 48svh; padding: 1.5rem; }
  .runtime-pitch > div:last-child { padding: 4rem 0 1rem; }
  .runtime-pitch h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .runtime-pitch p { font-size: .95rem; }
  .runtime-pitch::after { right: -35%; width: 80%; }
  .runtime-price { grid-template-columns: 1fr; gap: .5rem; margin-top: 2rem; }
  .runtime-login-form { padding: 2.5rem 1.1rem 3.5rem; }
  .runtime-top { min-height: 66px; padding: .65rem 1rem; }
  .runtime-top .brand small { display: none; }
  .runtime-top .user-block { padding-left: .7rem; }
  .runtime-top .user-block > span:nth-child(2) { display: none; }
  .runtime-wrap { padding: 1.3rem 1rem 4rem; }
  .runtime-wrap > .notice.warning { margin-bottom: 1.5rem; }
  .page-header { align-items: stretch; }
  .runtime-kpis { grid-template-columns: 1fr 1fr; }
  .runtime-kpi { min-height: 102px; padding: 1rem; }
  .runtime-kpi:nth-child(2) { border-right: 0; }
  .runtime-kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .runtime-panel { padding: 1.15rem; }
  .accordion-content { padding: 0 .9rem 1rem; }
  .accordion-summary-meta { display: none; }
  .upload-row { grid-template-columns: 40px 1fr; }
  .upload-row > .button { grid-column: 2; justify-self: start; }
  .wizard-actions { gap: .65rem; }
  .wizard-actions .button { flex: 1; }
}

@media (max-width: 420px) {
  .runtime-kpis { grid-template-columns: 1fr; }
  .runtime-kpi, .runtime-kpi:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .runtime-kpi:last-child { border-bottom: 0; }
  .campaign-hero { padding: 1.35rem; }
}
