@charset "UTF-8";

:root {
  --paper: #f6f6f4;
  --ink: #202020;
  --muted: #6d6d6a;
  --line: #e1e1dd;
  --accent: #ee5b3b;
  --dark: #141414;
  --error: #af3427;
  --radius: 6px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Inter", "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input, textarea, select, summary { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: wait; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.045em; }
p { line-height: 1.65; }
input, textarea, select { width: 100%; min-height: 44px; padding: 12px 14px; border: 1px solid #d2d2ce; border-radius: 4px; background: #fff; color: var(--ink); outline: none; font-size: 13px; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { border-color: #333; box-shadow: 0 0 0 3px #2020200b; }
input::placeholder, textarea::placeholder { color: #92928e; }
textarea { resize: vertical; line-height: 1.7; }
label { display: block; margin: 20px 0 8px; font-size: 12px; font-weight: 600; }
summary { cursor: pointer; font-size: 12px; margin: 18px 0; color: var(--muted); }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 20px; top: -60px; padding: 12px 20px; background: #fff; color: #111; z-index: 20; }
.skip-link:focus { top: 15px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 29px; line-height: 1; font-weight: 750; letter-spacing: -.055em; white-space: nowrap; }
.brand img { flex-shrink: 0; }
.brand-byline { display: block; margin-top: 4px; font-size: 9px; font-weight: 400; letter-spacing: .1em; color: #9c9c97; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; min-height: 44px; padding: 13px 19px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 600; line-height: 1.4; transition: background .15s, border-color .15s; }
.button span { font-size: 17px; font-weight: 400; }
.button-dark { background: #202020; color: #fff; }
.button-dark:hover { background: #3a3a3a; }
.button-primary, .button-light { background: var(--accent); color: #141414; }
.button-primary:hover, .button-light:hover { background: #f7775b; }
.button-outline { background: #fff; border-color: #d5d5d1; color: var(--ink); }
.button-outline:hover { border-color: #888; background: #f5f5f2; }
.button.small { min-height: 36px; padding: 8px 13px; }
.button.full { width: 100%; margin-top: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 10px/1.5 var(--mono); font-weight: 500; letter-spacing: .1em; }
.square { width: 6px; height: 6px; background: var(--accent); display: inline-block; }
.caption { font-size: 11px; line-height: 1.75; color: var(--muted); }
.subtle, .muted { color: var(--muted); }
.subtle { font-size: 13px; }
.text-button { border: 0; background: transparent; padding: 8px 0; font-size: 12px; color: inherit; }
.text-button:hover { color: var(--accent); }
.error { color: var(--error); font-size: 12px; }
.break-anywhere { overflow-wrap: anywhere; }

/* Public site */
.public { background: var(--dark); color: #f3f1ec; }
.page-shell { max-width: 1800px; margin: auto; }
.public-header { height: 100px; display: flex; align-items: center; justify-content: space-between; padding: 0 5.5vw; border-bottom: 1px solid #333; }
.public-header nav { display: flex; align-items: center; gap: 42px; font-size: 12px; }
.public-header nav a:hover { color: #f2836a; }
.header-access { display: flex; gap: 36px; align-items: center; padding: 13px 0; }
.header-access span { font-size: 20px; color: var(--accent); }
.hero { display: block; padding: 60px 5.5vw 0; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(55px, 8vw, 138px); font-weight: 500; line-height: 1.06; letter-spacing: -.063em; margin: 0 0 38px; white-space: nowrap; }
.hero h1 em, .closing h2 em, .auth-message h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #f07a5e; letter-spacing: -.055em; }
.hero-intro { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.hero-intro p { font-size: 14px; color: #a7a7a1; margin-bottom: 0; line-height: 1.85; }
.hero .button { min-width: 197px; padding: 16px 21px; }
.hero-bottom { grid-column: 1/-1; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #333; padding: 24px 0; margin-top: 62px; font-size: 11px; color: #8e8e87; }
.hero-bottom a { color: #cecdc5; }
.hero-bottom a span { padding-left: 25px; }
.track-record { background: #f1f0eb; color: #202020; padding: 53px 5.5vw 58px; }
.record-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 42px; }
.record-heading h2 { margin: 0; font-size: 24px; line-height: 1.25; letter-spacing: -.03em; font-weight: 500; }
.record-heading>span { color: #797971; font: 9px/1.6 var(--mono); letter-spacing: .075em; padding-top: 3px; }
.record-metrics { display: grid; grid-template-columns: .9fr 1.1fr 1.25fr; }
.stat { padding: 0 32px; border-left: 1px solid #d3d2ca; }
.stat:first-child { border: 0; padding-left: 0; }
.stat strong { font-size: clamp(35px, 4.4vw, 74px); font-weight: 450; line-height: 1; letter-spacing: -.06em; }
.stat strong span { color: #d75538; }
.stat p { margin: 16px 0 0; color: #66665f; font-size: 12px; }
.approach { padding: 82px 5.5vw 72px; }
.section-heading { display: grid; grid-template-columns: .7fr 1.5fr 1fr; gap: 40px; align-items: start; margin-bottom: 46px; }
.section-heading .eyebrow { color: #8e8e87; padding-top: 9px; }
.section-heading h2 { font-size: clamp(32px, 3.3vw, 52px); font-weight: 450; line-height: 1.12; margin: 0; }
.section-heading p { color: #9c9c95; font-size: 13px; padding-top: 4px; }
.approach-list article { display: grid; grid-template-columns: .15fr 1fr 1.1fr .3fr; gap: 30px; align-items: center; border-top: 1px solid #333; padding: 31px 0; }
.approach-list article:last-child { border-bottom: 1px solid #333; }
.step { color: #8e8e87; font: 10px var(--mono); }
.approach-list h3 { font-size: 24px; letter-spacing: -.035em; font-weight: 450; margin: 0; }
.approach-list p { font-size: 12px; line-height: 1.8; color: #9c9c95; margin: 0; max-width: 400px; }
.approach-tag { font: 8px var(--mono); letter-spacing: .1em; text-align: right; color: #f08065; }
.closing { display: flex; justify-content: space-between; align-items: flex-end; background: #ed6748; padding: 57px 5.5vw; color: #181818; gap: 25px; }
.closing .eyebrow { color: #692f21; }
.closing h2 { font-size: clamp(44px, 5.1vw, 76px); line-height: 1.04; font-weight: 500; margin: 23px 0 0; }
.closing h2 em { color: #181818; }
.closing .button { margin-bottom: 7px; min-width: 238px; }
.public-footer { padding: 38px 5.5vw 25px; }
.footer-wordmark { display: block; font-size: clamp(110px, 25vw, 360px); line-height: .88; letter-spacing: -.085em; font-weight: 700; color: #efeee8; }
.footer-wordmark span { font: 10px var(--mono); letter-spacing: .1em; padding-left: 30px; vertical-align: middle; }
.footer-meta { display: flex; justify-content: space-between; gap: 25px; color: #91918a; font-size: 10px; padding-top: 40px; }

.services { padding: 65px 5.5vw 0; }
.services-heading { display: grid; grid-template-columns: .7fr 1.5fr 1fr; gap: 40px; align-items: start; }
.services-heading .eyebrow { color: #8e8e87; padding-top: 9px; }
.services-heading h2 { font-size: clamp(32px, 3.3vw, 52px); font-weight: 450; line-height: 1.12; margin: 0; }
.services-heading p { color: #9c9c95; font-size: 13px; padding-top: 4px; }
.service-list { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; margin-top: 35px; border-top: 1px solid #333; border-left: 1px solid #333; }
.service-list>span { min-height: 92px; display: flex; align-items: center; padding: 20px; border-right: 1px solid #333; border-bottom: 1px solid #333; font-size: 12px; color: #d0cfc6; }
.service-contact { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; border-bottom: 1px solid #333; font-size: 11px; color: #9c9c95; }
.service-contact strong { display: block; color: #f08065; font-weight: 500; font-size: 21px; letter-spacing: -.025em; margin-top: 6px; }
.service-contact>span:last-child { font-size: 30px; color: #f08065; }
.service-contact:hover strong { color: #f4b5a5; }

/* Sign in */
.auth-page { display: grid; grid-template-columns: 1.06fr 1fr; min-height: 100svh; }
.auth-message { background: var(--dark); color: #efeee8; padding: 46px 4.5vw 34px; display: flex; flex-direction: column; position: relative; overflow: hidden; min-height: 100svh; }
.auth-brand, .auth-statement, .auth-bottom { position: relative; z-index: 1; }
.auth-statement { margin: auto 0; padding: 80px 0 120px; }
.auth-statement .eyebrow { color: #a1a19a; }
.auth-message h1 { font-size: clamp(38px, 4.4vw, 70px); font-weight: 500; line-height: 1.1; margin: 28px 0; letter-spacing: -.055em; }
.auth-message p { font-size: 13px; color: #9c9c95; line-height: 1.9; }
.auth-bottom { display: flex; justify-content: space-between; gap: 20px; font: 9px var(--mono); color: #9c9c95; }
.auth-bottom a:hover { color: #efeee8; }
.auth-decoration { position: absolute; width: 530px; height: 260px; right: -195px; bottom: -110px; transform: rotate(-25deg); }
.auth-decoration span { display: block; height: 40px; margin: 12px 0; border: 1px solid #6b3b30; }
.auth-main { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; padding: 70px 35px; background: #fbfbf9; }
.auth-card { max-width: 350px; width: 100%; }
.auth-card .eyebrow { color: #85857e; }
.auth-card h2 { font-size: 43px; font-weight: 550; margin: 17px 0 9px; }
.auth-card .subtle { margin-bottom: 32px; }
.auth-card label { margin-top: 24px; }
.auth-card input { padding: 14px; min-height: 49px; background: #fff; }
.auth-card #captcha { margin-top: 22px; min-height: 0; }
.auth-card .button.full { min-height: 49px; }
.auth-card .error:empty { display: none; }
.auth-card .error { margin: 17px 0 0; }
.auth-caption { border-top: 1px solid var(--line); padding-top: 23px; margin: 28px 0 0; font-size: 10px; }
.access-icon { margin-right: 6px; color: #6f6f68; }
.auth-page-note { position: absolute; bottom: 30px; color: #92928b; font: 9px var(--mono); }
.mobile-auth-brand { display: none; }
.theme-toggle { position: absolute; right: 28px; top: 28px; display: flex; align-items: center; gap: 10px; background: transparent; border: 1px solid #d7d7d0; color: #686860; border-radius: 5px; padding: 9px 13px; font-size: 10px; }
.auth-caption a { text-decoration: underline; text-underline-offset: 3px; }
html[data-theme="dark"] .auth-page { --ink: #e5e5de; --muted: #909088; --line: #363631; background: #20201e; }
html[data-theme="dark"] .auth-main { background: #20201e; }
html[data-theme="dark"] .auth-card input { background: #282825; color: #e5e5de; border-color: #44443e; }
html[data-theme="dark"] .auth-card input:focus { border-color: #aaa99f; box-shadow: 0 0 0 3px #ffffff08; }
html[data-theme="dark"] .auth-card input::placeholder { color: #72726a; }
html[data-theme="dark"] .auth-card .button-dark { background: #e5694b; color: #171714; }
html[data-theme="dark"] .auth-card .button-dark:hover { background: #f28165; }
html[data-theme="dark"] .theme-toggle { border-color: #48483f; color: #afafa4; }
html[data-theme="dark"] .auth-card .error { color: #f2947c; }

/* Private workspace */
.workspace-body { display: flex; min-height: 100vh; background: #f6f6f4; }
.sidebar { width: 236px; position: fixed; inset: 0 auto 0 0; padding: 31px 18px 22px; display: flex; flex-direction: column; background: #191919; color: #deded7; z-index: 2; }
.sidebar .brand { font-size: 26px; gap: 10px; margin: 0 10px; }
.sidebar .brand-byline { color: #7e7e76; }
.side-label { margin: 50px 13px 19px; font-size: 9px; color: #73736e; }
.nav-item { display: flex; align-items: center; gap: 13px; width: 100%; border: 1px solid transparent; border-radius: 4px; background: transparent; padding: 12px 12px; margin-bottom: 5px; text-align: left; font-size: 12px; font-weight: 450; color: #a2a29c; }
.nav-item svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .8; }
.nav-item.active { color: #faf9f5; background: #30302d; border-color: #3a3a36; }
.nav-item.active svg { color: #f48266; opacity: 1; }
.nav-item:hover { color: #f8f8f1; background: #282825; }
.side-bottom { margin-top: auto; padding: 24px 13px 0; border-top: 1px solid #333; overflow-wrap: anywhere; }
.side-bottom .caption { color: #787870; font-size: 9px; letter-spacing: .06em; }
.owner-email { font-size: 11px; display: block; line-height: 1.6; margin: 10px 0; color: #bcbcb4; }
.side-bottom .text-button { color: #92928b; font-size: 11px; }
.workspace-main { margin-left: 236px; flex: 1; min-width: 0; }
.workspace-top { height: 67px; border-bottom: 1px solid var(--line); padding: 0 38px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #fbfbf9; }
.workspace-top>.eyebrow { font-family: inherit; font-size: 12px; letter-spacing: 0; color: #85857f; }
.top-section { color: #242424; font-weight: 550; }
.top-divider { color: #ccc; padding: 0 8px; }
.workspace-main main { padding: 36px 38px 60px; min-height: calc(100vh - 128px); max-width: 1600px; margin: 0 auto; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.workspace-heading .eyebrow { color: #989890; font-size: 9px; letter-spacing: .09em; }
.workspace-heading h1 { font-size: 34px; margin: 9px 0 8px; font-weight: 600; line-height: 1.15; }
.workspace-heading p { margin: 0; font-size: 12px; color: #85857d; }
.workspace-heading>.button-dark { background: #e95638; color: #fff; }
.workspace-heading>.button-dark:hover { background: #d94a2d; }
.pill { display: inline-flex; align-items: center; padding: 5px 8px; border: 1px solid #deded8; border-radius: 4px; font: 10px/1.5 var(--mono); color: #77776f; background: #f8f8f5; white-space: nowrap; }
.pill.active, .pill.complete, .pill.completed { background: #edf3ef; border-color: #d9e4dc; color: #39734b; }
#worker-state.active::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 8px; background: #478659; }
.pill.attention, .pill.budget_limit { background: #fff3e2; color: #916322; border-color: #efd9b5; }
.pill.High, .pill.Critical { background: #fbebe6; color: #ac4830; border-color: #edcabe; }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 31px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.metrics>div { padding: 22px 24px; border-right: 1px solid var(--line); }
.metrics>div:last-child { border: 0; }
.metrics span { font-size: 11px; color: #85857e; display: block; margin-bottom: 15px; }
.metrics strong { font-size: 30px; font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px; margin-bottom: 18px; }
.panel h2 { font-size: 24px; margin: 15px 0 18px; font-weight: 550; letter-spacing: -.035em; }
.panel h3 { font-size: 16px; margin-bottom: 12px; }
.panel p { font-size: 12px; color: #7e7e76; line-height: 1.75; }
.panel .eyebrow { color: #ac634c; font-size: 9px; }
.empty-state { border: 1px solid var(--line); border-radius: 6px; min-height: 324px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px; background: #fff; }
.empty-icon { width: 48px; height: 48px; background: #f5f4ef; color: #75756c; border: 1px solid #e4e3db; border-radius: 12px; display: grid; place-items: center; font-size: 23px; margin-bottom: 22px; }
.empty-state h2 { font-size: 21px; letter-spacing: -.03em; margin-bottom: 10px; }
.empty-state p { font-size: 12px; color: #929289; max-width: 370px; margin-bottom: 0; }
.empty-state .button { margin-top: 23px; }
.campaign-card { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 25px; text-align: left; background: #fff; border: 1px solid var(--line); padding: 22px 24px; border-radius: 6px; margin-bottom: 10px; }
.campaign-card:hover { border-color: #aaa; }
.campaign-card.selected { border-color: #c27963; box-shadow: inset 3px 0 #ee5b3b; }
.campaign-card h3 { font-size: 16px; margin: 0 0 8px; font-weight: 550; letter-spacing: -.02em; }
.campaign-card p { font-size: 11px; color: var(--muted); margin: 0; }
.campaign-right { display: flex; align-items: center; gap: 22px; font-size: 11px; color: #7a7a72; flex-wrap: wrap; }
.campaign-runtime { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.detail-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; margin-bottom: 18px; }
.detail-heading h2 { font-size: 25px; margin-bottom: 10px; }
.controls { display: flex; gap: 7px; flex-wrap: wrap; }
.controls .button { font-size: 11px; min-height: 34px; padding: 8px 12px; gap: 10px; }
.tabbar { display: flex; gap: 25px; border-bottom: 1px solid var(--line); margin: 24px 0; overflow-x: auto; }
.tabbar button { border: 0; background: transparent; padding: 13px 0; font-size: 12px; color: #87877f; border-bottom: 2px solid transparent; }
.tabbar button.active { color: #202020; border-bottom-color: #e45c3e; font-weight: 600; }
.finding { border: 1px solid var(--line); border-radius: 5px; padding: 24px; margin-bottom: 14px; }
.finding h3 { margin: 14px 0; font-size: 20px; letter-spacing: -.035em; }
.finding p { font-size: 12px; margin-bottom: 14px; color: #72726a; white-space: pre-wrap; }
.finding .tags { display: flex; gap: 7px; flex-wrap: wrap; }
.field-title { font-weight: 600; font-size: 10px; letter-spacing: .05em; display: block; margin: 21px 0 7px; color: #5a5a53; }
.evidence-link { display: block; border: 1px solid #e3e1d9; background: #f7f6f1; color: #775c49; padding: 11px 13px; text-align: left; border-radius: 4px; font: 11px/1.6 var(--mono); overflow-wrap: anywhere; margin: 8px 0; width: 100%; }
.evidence-link:hover { border-color: #b6a89c; background: #f1eee7; }
.timeline-item { padding: 18px 0; border-bottom: 1px solid #ededE7; display: grid; grid-template-columns: 145px 1fr; gap: 20px; font-size: 12px; }
.timeline-item time { font: 10px/1.7 var(--mono); color: #99998f; }
.timeline-item strong { display: block; font-size: 10px; letter-spacing: .04em; color: #57574f; margin-bottom: 6px; }
.timeline-item p { margin: 0; font-size: 11px; color: #87877e; overflow-wrap: anywhere; white-space: pre-wrap; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { text-align: left; font-size: 9px; letter-spacing: .05em; color: #929289; padding: 12px; border-bottom: 1px solid var(--line); font-weight: 500; background: #f9f9f6; }
td { padding: 16px 12px; border-bottom: 1px solid #ecece6; vertical-align: top; }
td p { font-size: 11px; color: var(--muted); margin: 8px 0; max-width: 650px; }
.connection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.profile-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid #ecece6; font-size: 11px; }
.profile-row span { color: #89897f; }
.profile-row strong { font-size: 11px; font-weight: 550; text-align: right; }
.panel form .button { margin-top: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 2fr .65fr; gap: 14px; }
.form-grid .button { align-self: end; width: max-content; }
.code-block { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 65vh; overflow: auto; background: #1c1c1c; color: #d2d0c7; padding: 24px; border-radius: 4px; font: 12px/1.8 var(--mono); }
.search-line { display: flex; gap: 10px; }
.search-line input { flex: 1; }
.search-line select { max-width: 160px; }
.search-line .button { margin: 0 !important; white-space: nowrap; }
.checkbox-label { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 400; color: var(--muted); }
.checkbox-label input { width: 15px; min-height: 15px; accent-color: #303030; }
.knowledge-result h3 { font-size: 19px; margin-top: 15px; }
.knowledge-result pre { font: 12px/1.85 "Segoe UI", Arial, sans-serif; white-space: pre-wrap; color: #72726a; overflow-wrap: anywhere; }
.workspace-footer { display: flex; justify-content: space-between; gap: 20px; padding: 20px 38px; border-top: 1px solid var(--line); font: 9px var(--mono); color: #98988e; }
.notice { padding: 14px 17px; background: #f6f0e6; border: 1px solid #e5d9c5; border-radius: 4px; font-size: 12px; line-height: 1.7; margin-bottom: 24px; color: #716247; }
.notice.error { background: #fff1eb; border-color: #eccbbd; color: #9f422c; }
.exports { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 22px; }
.exports a { padding: 9px 12px; border: 1px solid #ddddd5; border-radius: 4px; font-size: 11px; background: #fafaf7; }
.exports a:hover { border-color: #aaa; }
dialog { border: 1px solid #deded7; border-radius: 8px; max-width: 600px; width: calc(100% - 40px); padding: 32px; background: #fff; color: var(--ink); max-height: 90svh; overflow: auto; box-shadow: 0 25px 100px #0003; }
dialog::backdrop { background: #14141485; }
dialog h2 { font-size: 30px; margin: 19px 0 26px; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; }
.dialog-heading .text-button { padding: 5px 10px; color: #8c8c83; }
#evidence-dialog { max-width: 980px; }
.source-meta { font: 10px/1.8 var(--mono); color: #96968c; overflow-wrap: anywhere; }
.inline-budget { display: flex; gap: 10px; align-items: center; margin: 20px 0; flex-wrap: wrap; }
.inline-budget label { margin: 0; font-size: 11px; }
.inline-budget input { max-width: 110px; padding: 8px; min-height: 34px; }
.inline-budget .button { min-height: 34px; padding: 8px 12px; }
.source-browser { border: 1px solid #deded7; border-radius: 6px; background: #fff; overflow: hidden; margin-bottom: 25px; }
.source-toolbar { display: grid; grid-template-columns: 1fr 1.2fr; align-items: end; gap: 24px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.source-toolbar label { margin-top: 0; font-size: 11px; }
.source-breadcrumb { display: flex; gap: 11px; align-items: center; flex-wrap: wrap; padding: 12px 22px; background: #f9f9f6; border-bottom: 1px solid var(--line); font: 10px var(--mono); min-height: 42px; }
.source-breadcrumb button { padding: 3px 0; border: 0; background: transparent; color: #74746d; font: inherit; max-width: 100%; overflow-wrap: anywhere; }
.source-breadcrumb button:hover { color: #d75d3f; }
.source-breadcrumb>span { color: #b0b0a4; }
.source-breadcrumb .breadcrumb-query { color: #ab6b52; }
.source-split { display: grid; grid-template-columns: 290px minmax(0,1fr); min-height: 460px; }
.file-pane { border-right: 1px solid var(--line); padding: 13px 0 15px; max-height: 650px; overflow-y: auto; }
.file-pane-heading { display: flex; justify-content: space-between; padding: 6px 17px 14px; font: 9px var(--mono); color: #99998c; }
.file-row { display: flex; align-items: center; gap: 9px; padding: 10px 15px; border: 0; background: transparent; text-align: left; width: 100%; color: #616159; min-height: 38px; }
.file-row:hover { background: #f4f3ee; }
.file-row.selected { background: #f8ece5; color: #995438; box-shadow: inset 2px 0 #e26948; }
.file-icon { color: #b3906a; font-size: 16px; flex-shrink: 0; }
.file-name { font: 11px/1.5 var(--mono); overflow-wrap: anywhere; flex: 1; }
.file-row-meta { font: 8px var(--mono); color: #a0a091; white-space: nowrap; }
.file-list-note { padding: 20px 18px; font-size: 11px; color: #989889; line-height: 1.8; }
.file-more { display: block; padding: 13px 17px; border: 0; background: #f6f5ef; width: calc(100% - 24px); margin: 12px; color: #888876; font-size: 10px; text-align: left; }
.source-reader { min-width: 0; background: #1c1c1c; color: #d2d0c7; display: flex; flex-direction: column; }
.source-reader-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 20px; border-bottom: 1px solid #333; min-height: 51px; font: 10px/1.7 var(--mono); }
#file-title { overflow-wrap: anywhere; }
#file-size { color: #77776c; flex-shrink: 0; }
.file-empty { margin: auto; text-align: center; padding: 45px 35px; max-width: 390px; }
.file-empty>span { display: block; margin-bottom: 20px; font: 32px var(--mono); color: #6e6e62; }
.file-empty h3 { font-size: 19px; font-weight: 500; letter-spacing: -.025em; color: #b2b1a7; }
.file-empty p { font-size: 11px; color: #77776b; line-height: 1.8; }
.source-code { margin: 0; border-radius: 0; min-height: 330px; max-height: 540px; font-size: 11px; }
.file-status { margin: 0; padding: 15px 20px; font: 9px/1.8 var(--mono); color: #939381; overflow-wrap: anywhere; }
.file-status:empty { display: none; }
.source-paging { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 20px; border-top: 1px solid #333; font: 9px var(--mono); color: #929280; margin-top: auto; }
.source-paging .button { background: #292924; border-color: #45453a; color: #b6b6a5; font-size: 9px; }
.storage-note { background: transparent; border-style: dashed; }

@media (min-width: 1800px) {
  .public-header, .hero, .track-record, .services, .approach, .closing, .public-footer { padding-left: 100px; padding-right: 100px; }
}
@media (max-width: 1100px) {
  .hero { padding-top: 50px; }
  .hero h1 { font-size: 8.3vw; }
  .hero-intro p { font-size: 12px; }
  .hero-bottom { margin-top: 50px; }
  .approach-list article { grid-template-columns: .12fr 1fr 1.2fr; gap: 25px; }
  .approach-tag { display: none; }
  .sidebar { width: 208px; padding: 28px 14px; }
  .sidebar .brand { font-size: 24px; }
  .workspace-main { margin-left: 208px; }
  .workspace-main main, .workspace-top { padding-left: 28px; padding-right: 28px; }
  .metrics>div { padding: 21px 17px; }
  .metrics span { font-size: 10px; }
  .metrics strong { font-size: 26px; }
  .detail-heading { flex-direction: column; }
  .connection-grid { grid-template-columns: 1fr; gap: 0; }
  .campaign-right { gap: 12px; }
  .source-split { grid-template-columns: 235px minmax(0,1fr); }
  .service-list { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 760px) {
  .public-header { height: 82px; padding: 0 25px; }
  .public-header .brand { font-size: 25px; gap: 9px; }
  .public-header .brand img { width: 30px; height: 30px; }
  .public-header nav>a:first-child { display: none; }
  .header-access { gap: 12px; font-size: 11px; }
  .hero { display: block; padding: 49px 25px 0; }
  .hero h1 { font-size: clamp(35px, 7.5vw, 62px); line-height: 1.1; margin: 31px 0 26px; }
  .hero-intro { display: block; }
  .hero-intro p { font-size: 12px; line-height: 1.9; margin-bottom: 26px; }
  .hero-bottom { margin-top: 34px; font-size: 9px; padding: 20px 0; }
  .hero-bottom>a { white-space: nowrap; }
  .hero-bottom a span { padding-left: 10px; }
  .track-record { padding: 35px 25px; }
  .record-heading { margin-bottom: 30px; }
  .record-heading h2 { font-size: 20px; }
  .record-heading>span { font-size: 7px; max-width: 115px; text-align: right; }
  .record-metrics { grid-template-columns: repeat(3,1fr); gap: 0; }
  .stat { padding: 0 14px; }
  .stat:last-child { padding-right: 0; }
  .stat strong { font-size: clamp(21px, 4.4vw, 35px); letter-spacing: -.06em; white-space: nowrap; }
  .stat p { font-size: 9px; margin-top: 10px; }
  .approach { padding: 52px 25px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 30px; }
  .section-heading h2 { font-size: 34px; }
  .section-heading p { margin-bottom: 0; padding: 0; font-size: 12px; }
  .services { padding: 45px 25px 0; }
  .services-heading { grid-template-columns: 1fr; gap: 20px; }
  .services-heading h2 { font-size: 34px; }
  .services-heading p { margin: 0; font-size: 12px; }
  .service-list { grid-template-columns: repeat(2,1fr); margin-top: 25px; }
  .service-list>span { font-size: 11px; min-height: 74px; padding: 17px; }
  .approach-list article { grid-template-columns: 22px 1fr; padding: 26px 0; gap: 14px; }
  .approach-list h3 { font-size: 22px; }
  .approach-list p { grid-column: 2; font-size: 12px; }
  .closing { padding: 37px 25px; flex-direction: column; align-items: flex-start; gap: 30px; }
  .closing h2 { font-size: 53px; }
  .public-footer { padding: 37px 25px 25px; }
  .footer-wordmark { font-size: 29vw; }
  .footer-wordmark span { display: none; }
  .footer-meta { padding-top: 25px; flex-direction: column; gap: 10px; font-size: 9px; }
  .auth-page { display: block; min-height: 100svh; background: #fbfbf9; }
  .auth-message { display: none; }
  .auth-main { min-height: 100svh; padding: 110px 30px 90px; }
  .mobile-auth-brand { display: inline-flex; position: absolute; top: 32px; left: 30px; font-size: 25px; }
  .auth-card h2 { font-size: 39px; }
  .auth-page-note { bottom: 26px; }
  .sidebar { position: static; width: auto; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 18px; padding: 20px 18px 14px; }
  .sidebar .brand { font-size: 25px; margin: 0 4px; }
  .side-label { display: none; }
  .side-bottom { margin: 0 0 0 auto; padding: 0; border: 0; }
  .side-bottom .caption, .owner-email { display: none; }
  .sidebar nav { display: flex; width: 100%; overflow-x: auto; gap: 5px; order: 3; }
  .nav-item { padding: 10px 11px; font-size: 10px; white-space: nowrap; margin: 0; width: auto; gap: 6px; }
  .nav-item svg { width: 13px; height: 13px; }
  .workspace-body { display: block; }
  .workspace-main { margin-left: 0; }
  .workspace-top { height: 56px; padding: 0 20px; }
  .workspace-top>.eyebrow { font-size: 10px; }
  .workspace-top .pill { font-size: 8px; padding: 5px 7px; }
  .workspace-main main { padding: 27px 20px 45px; }
  .workspace-heading { align-items: flex-start; gap: 12px; margin-bottom: 23px; }
  .workspace-heading h1 { font-size: 29px; }
  .workspace-heading p { font-size: 11px; max-width: 255px; }
  .workspace-heading>.button { padding: 10px 12px; gap: 9px; font-size: 10px; min-height: 37px; margin-top: 24px; flex-shrink: 0; }
  .workspace-heading>.pill { font-size: 8px; white-space: normal; max-width: 100px; margin-top: 24px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics>div { padding: 19px 18px; }
  .metrics>div:nth-child(2) { border-right: 0; }
  .metrics>div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metrics strong { font-size: 27px; }
  .metrics span { font-size: 10px; margin-bottom: 12px; }
  .campaign-card { padding: 20px; align-items: flex-start; flex-direction: column; gap: 15px; }
  .campaign-right { width: 100%; justify-content: space-between; }
  .panel { padding: 20px; }
  .panel h2 { font-size: 23px; }
  .panel p { font-size: 11px; }
  .search-line { flex-wrap: wrap; }
  .search-line input { flex-basis: 100%; }
  .search-line select { flex: 1; max-width: none; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .timeline-item { grid-template-columns: 1fr; gap: 9px; }
  .workspace-footer { flex-direction: column; gap: 10px; padding: 20px; font-size: 8px; }
  .empty-state { min-height: 280px; padding: 30px 20px; }
  .empty-state h2 { font-size: 20px; }
  dialog { padding: 24px; }
  .finding { padding: 18px; }
  .finding h3 { font-size: 18px; }
  .exports { gap: 7px; }
  .exports a { font-size: 10px; }
  .code-block { padding: 17px; font-size: 11px; }
  .source-toolbar { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .source-toolbar .search-line { flex-wrap: nowrap; }
  .source-toolbar .search-line input { flex-basis: auto; min-width: 0; }
  .source-toolbar .search-line button { padding: 10px; gap: 0; }
  .source-breadcrumb { padding: 12px 18px; font-size: 9px; }
  .source-split { grid-template-columns: 1fr; }
  .file-pane { max-height: 275px; border-right: 0; border-bottom: 1px solid var(--line); }
  .source-reader { min-height: 340px; }
  .source-reader-heading { padding: 13px 16px; }
  .source-code { padding: 17px; max-height: 450px; }
  .source-paging { padding: 12px 15px; }
  .theme-toggle { top: 32px; right: 25px; font-size: 9px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 7.4vw; }
  .record-metrics { grid-template-columns: 1fr; gap: 22px; }
  .stat { border: 0; padding: 0; }
  .stat strong { font-size: 38px; }
  .stat p { font-size: 11px; }
  .workspace-heading { flex-direction: column; }
  .workspace-heading>.button { margin-top: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, input, textarea, select { transition: none; }
}

.research-note{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin:14px 0}.tabbar{flex-wrap:wrap}
.plan-workstream{border-top:1px solid var(--line);padding:18px 0}.plan-workstream-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.plan-workstream-heading h3{margin:0;font-size:16px;overflow-wrap:anywhere}.plan-workstream progress{display:block;width:100%;height:7px;margin:10px 0 0;accent-color:var(--accent)}.progress-summary{font-size:13px;font-weight:600}.plan-reason{font-size:12px;color:var(--muted);margin:8px 0 0}.review-plan{margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:4px;background:var(--paper);max-height:390px;overflow:auto}.plan-scope-actions{display:flex;justify-content:flex-end;gap:16px;border-bottom:1px solid var(--line);padding-bottom:8px}.plan-scope-item{display:flex;align-items:flex-start;gap:12px;margin:0;padding:11px 0;border-bottom:1px solid var(--line);cursor:pointer}.plan-scope-item input{width:16px;min-height:16px;margin:2px 0 0;accent-color:var(--accent);flex:none}.plan-scope-copy{display:grid;gap:4px;min-width:0}.plan-scope-copy strong{font-size:12px;line-height:1.45;overflow-wrap:anywhere}.plan-scope-copy small{font-size:11px;line-height:1.5;color:var(--muted)}.notice.provider-wait{color:var(--ink);background:#f6f1e8;border-color:#e2d3b6}.pill.waiting_provider{background:#f6f1e8;color:#78591d}
