:root {
  color-scheme: light dark;
  --bg: light-dark(#ffffff, #171e1b);
  --canvas: light-dark(#f8faf8, #121814);
  --rail: light-dark(#f0f4f1, #1e2822);
  --ink: light-dark(#21372b, #e8f0e9);
  --muted: light-dark(#566a5e, #a9bdb0);
  --line: light-dark(#dce5de, #34493b);
  --green: light-dark(#236447, #a4dfbd);
  --soft: light-dark(#e8f3eb, #263f2e);
  --amber: light-dark(#85571d, #ecc68f);
  --warn: light-dark(#fff5e7, #392e1d);
  --red: light-dark(#a33930, #f2aaa0);
  --error-bg: light-dark(#fcf0ee, #3c2723);
  --radius: 12px;
  font: 14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
button, a, input { touch-action: manipulation; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
::selection { background: var(--soft); color: var(--ink); }
input, textarea { caret-color: var(--green); }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h1 { font-size: 29px; font-weight: 500; letter-spacing: -.03em; line-height: 1.25; text-wrap: balance; }
h2 { font-size: 17px; font-weight: 500; line-height: 1.35; letter-spacing: -.015em; }
h3 { font-size: 14px; font-weight: 500; line-height: 1.4; }
strong { font-weight: 500; }
small, .small { font-size: 12px; }
.muted { color: var(--muted); }
.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: absolute; top: -80px; left: 12px; z-index: 5; padding: 10px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--bg); background: var(--green); font-size: 16px; font-weight: 500; }
.brand-mark .icon { width: 21px; height: 21px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 13px; min-height: 40px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); text-decoration: none; color: var(--ink); }
.button:hover:not(:disabled) { background: var(--rail); }
.button-primary { border-color: var(--green); background: var(--green); color: var(--bg); }
.button-primary:hover:not(:disabled) { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.button-quiet { background: none; border-color: transparent; color: var(--muted); }
.button-wide { width: 100%; }
.text-button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; color: var(--green); text-align: left; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.button-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status-waiting { color: var(--amber); }
.status-neutral { color: var(--muted); }
.status-error { color: var(--red); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 3px 7px; background: var(--rail); border-radius: 4px; color: var(--muted); }
.boot { max-width: 620px; margin: 15vh auto; padding: 32px; display: grid; gap: 20px; }
.loading-line { height: 4px; width: 140px; background: var(--line); border-radius: 2px; }
.noscript { margin: 20px auto; padding: 20px; max-width: 640px; }
.welcome { max-width: 1160px; margin: 0 auto; padding: 34px 42px 28px; min-height: 100vh; display: flex; flex-direction: column; }
.welcome-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.welcome-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(310px, .82fr); gap: 86px; align-items: center; padding: 74px 0; }
.welcome-intro { display: grid; gap: 24px; }
.welcome-intro h1 { font-size: 43px; line-height: 1.12; letter-spacing: -.035em; max-width: 15ch; }
.welcome-intro > p { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 43ch; }
.welcome-points { display: grid; gap: 20px; padding-top: 10px; }
.welcome-point { display: flex; gap: 13px; align-items: flex-start; }
.welcome-point .icon { margin-top: 2px; color: var(--green); }
.welcome-point p { color: var(--muted); font-size: 13px; margin-top: 3px; max-width: 45ch; }
.signin-panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 29px; display: grid; gap: 22px; }
.signin-copy { display: grid; gap: 10px; }
.signin-copy h2 { font-size: 22px; letter-spacing: -.025em; }
.signin-copy p { color: var(--muted); }
.setup-checks { display: grid; border-top: 1px solid var(--line); padding-top: 4px; }
.setup-check { padding: 12px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 13px; }
.welcome-footer { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.notice { padding: 13px 15px; border-radius: 8px; background: var(--warn); color: var(--amber); font-size: 13px; }
.notice p + p { margin-top: 7px; }
.notice-error { background: var(--error-bg); color: var(--red); }
.notice-success { background: var(--soft); color: var(--green); }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 211px minmax(0,1fr); }
.sidebar { background: var(--rail); border-right: 1px solid var(--line); padding: 27px 15px 21px; display: flex; flex-direction: column; gap: 31px; position: sticky; top: 0; align-self: start; min-height: 100vh; }
.sidebar .brand { padding: 0 8px; }
.workspace-name { display: grid; gap: 4px; padding: 0 9px; }
.workspace-name span { color: var(--muted); font-size: 12px; }
.navigation { display: grid; gap: 5px; }
.nav-button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 0; border-radius: 7px; background: none; color: var(--muted); text-align: left; }
.nav-button:hover { background: var(--bg); }
.nav-button[aria-current="page"] { background: var(--bg); color: var(--ink); font-weight: 500; }
.sidebar-bottom { margin-top: auto; display: grid; gap: 19px; padding: 0 9px; }
.autonomy-note { display: flex; gap: 9px; align-items: flex-start; color: var(--green); }
.autonomy-note .small { display: block; color: var(--muted); margin-top: 2px; }
.owner { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 17px; min-width: 0; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; background: var(--bg); border-radius: 50%; flex-shrink: 0; font-size: 12px; }
.owner-name { min-width: 0; overflow-wrap: anywhere; }
.app-body { min-width: 0; background: var(--bg); display: flex; flex-direction: column; }
.topbar { min-height: 64px; padding: 15px 33px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); font-size: 13px; }
.breadcrumb { display: flex; gap: 11px; color: var(--muted); align-items: center; min-width: 0; }
.breadcrumb strong { color: var(--ink); overflow-wrap: anywhere; }
.content { padding: 31px 33px 40px; min-width: 0; flex: 1; max-width: 1400px; width: 100%; margin: 0 auto; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 27px; }
.page-heading p { color: var(--muted); margin-top: 7px; max-width: 64ch; }
.content > .notice { margin-bottom: 23px; }
.summary-strip { display: flex; gap: 35px; flex-wrap: wrap; padding: 17px 0; margin-bottom: 27px; border-block: 1px solid var(--line); }
.summary-item { display: flex; gap: 8px; align-items: baseline; font-size: 13px; color: var(--muted); }
.summary-item strong { color: var(--ink); font-size: 20px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 15px; }
.section { margin-top: 31px; }
.portfolio-layout { display: grid; grid-template-columns: minmax(0,1fr) 257px; gap: 32px; align-items: start; }
.project-list { display: grid; }
.project-head, .project-row { display: grid; grid-template-columns: minmax(0,1.7fr) .75fr .7fr 22px; align-items: center; gap: 15px; }
.project-head { padding-bottom: 11px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.project-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.project-row:last-child { border-bottom: 0; }
.project-identity { display: flex; align-items: center; gap: 11px; min-width: 0; }
.project-initial { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; flex-shrink: 0; font-weight: 500; }
.project-link { border: 0; padding: 0; background: none; text-align: left; font-weight: 500; overflow-wrap: anywhere; }
.project-link:hover { color: var(--green); }
.project-domain { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.icon-button { display: grid; place-items: center; background: none; border: 0; padding: 3px; color: var(--muted); }
.aside-section { border-top: 1px solid var(--line); padding-top: 18px; }
.aside-section + .aside-section { margin-top: 28px; }
.aside-section p { color: var(--muted); font-size: 13px; margin-top: 9px; }
.aside-section .text-button { margin-top: 13px; font-size: 13px; }
.small-checks { display: grid; gap: 12px; margin-top: 16px; }
.small-check { display: flex; justify-content: space-between; gap: 12px; align-items: start; font-size: 12px; }
.empty-state { padding: 39px 26px; background: var(--canvas); border-radius: var(--radius); display: grid; gap: 12px; align-content: center; justify-items: start; }
.empty-state > .icon { color: var(--green); width: 25px; height: 25px; margin-bottom: 3px; }
.empty-state h2 { font-size: 20px; letter-spacing: -.02em; }
.empty-state p { color: var(--muted); max-width: 61ch; }
.empty-state .button { margin-top: 8px; }
.empty-state-plain { padding: 23px 0; background: none; }
.empty-state-plain h2 { font-size: 17px; }
.form-panel { background: var(--canvas); padding: 22px; border-radius: var(--radius); margin-bottom: 25px; }
.form-panel h2 { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-bottom: 19px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-size: 13px; font-weight: 500; }
.field input { width: 100%; padding: 10px 11px; min-height: 43px; background: var(--bg); border: 1px solid var(--line); border-radius: 7px; }
.field input::placeholder { color: var(--muted); opacity: 1; }
.field .small { color: var(--muted); }
.form-error { color: var(--red); font-size: 13px; margin-bottom: 14px; }
.form-intro { margin: -5px 0 20px; max-width: 72ch; font-size: 13px; }
.field textarea, .field select { width: 100%; padding: 10px 11px; background: var(--bg); border: 1px solid var(--line); border-radius: 7px; }
.field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.field select { min-height: 43px; }
.permission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 23px 0; padding-top: 19px; border-top: 1px solid var(--line); }
.permission-grid fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.permission-grid legend { padding: 0; margin-bottom: 9px; font-size: 13px; font-weight: 500; }
.choice { display: flex; align-items: flex-start; gap: 9px; padding: 7px 0; font-size: 13px; cursor: pointer; }
.choice input { width: 16px; height: 16px; min-height: 0; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--green); }
.choice input:disabled + span { color: var(--muted); }
.project-choices { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.app-footer { padding: 13px 33px; border-top: 1px solid var(--line); background: var(--canvas); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.project-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-top: -9px; margin-bottom: 24px; }
.tabs { display: flex; gap: 25px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tab { border: 0; border-bottom: 2px solid transparent; padding: 11px 0 12px; background: none; color: var(--muted); }
.tab[aria-selected="true"] { border-bottom-color: var(--green); color: var(--ink); font-weight: 500; }
.coverage-summary { display: grid; grid-template-columns: minmax(0,1fr) 180px; gap: 24px; align-items: center; padding: 18px 0 23px; }
.coverage-summary p { margin-top: 6px; color: var(--muted); }
progress { width: 100%; height: 7px; border: 0; border-radius: 4px; overflow: hidden; accent-color: var(--green); background: var(--rail); }
progress::-webkit-progress-bar { background: var(--rail); border-radius: 4px; }
progress::-webkit-progress-value { background: var(--green); border-radius: 4px; }
progress::-moz-progress-bar { background: var(--green); border-radius: 4px; }
.record { border-bottom: 1px solid var(--line); }
.record summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; padding: 16px 0; cursor: pointer; }
.record summary::-webkit-details-marker { display: none; }
.record summary::after { content: "+"; color: var(--muted); font-size: 18px; width: 14px; flex-shrink: 0; }
.record[open] summary::after { content: "−"; }
.record-title { flex: 1; min-width: 0; }
.record-content { padding: 0 0 21px; display: grid; gap: 17px; max-width: 80ch; }
.claim { display: grid; gap: 7px; }
.claim-meta { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.unknowns { background: var(--warn); color: var(--amber); padding: 13px 15px; border-radius: 7px; }
ul.clean-list { margin: 8px 0 0; padding-left: 18px; }
ul.clean-list li + li { margin-top: 5px; }
.work-row { border-bottom: 1px solid var(--line); padding: 20px 0; }
.work-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.work-title { display: grid; gap: 7px; min-width: 0; }
.work-title p { color: var(--muted); max-width: 75ch; }
.work-meta { display: flex; gap: 8px 15px; flex-wrap: wrap; align-items: center; margin-top: 11px; font-size: 12px; color: var(--muted); }
.handover { background: var(--canvas); border-radius: 8px; padding: 17px; display: grid; gap: 16px; margin-top: 16px; }
.handover .label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.detail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.verification-list { display: grid; gap: 9px; margin-top: 7px; }
.verification { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.connection-row { padding: 24px 0; border-bottom: 1px solid var(--line); display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.connection-row p { margin-top: 6px; color: var(--muted); max-width: 65ch; }
.connection-identity { display: flex; gap: 13px; align-items: flex-start; min-width: 0; }
.connection-identity > .icon { margin-top: 3px; color: var(--muted); }
.connection-text { min-width: 0; overflow-wrap: anywhere; }
.google-provider { padding: 26px 0; border-bottom: 1px solid var(--line); }
.google-provider:first-of-type { padding-top: 0; }
.google-provider-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.google-provider-heading > div { max-width: 65ch; }
.google-provider-heading p { margin-top: 6px; color: var(--muted); font-size: 13px; }
.google-provider-heading > .button { flex-shrink: 0; }
.google-accounts { margin-top: 10px; }
.google-account + .google-account { border-top: 1px solid var(--line); }
.google-account .connection-row { padding: 18px 0; border: 0; }
.google-account .notice { margin-bottom: 13px; }
.google-account .notice .button-row { margin-top: 13px; }
.google-empty { padding: 15px 0 2px; }
.reporting-notice { margin-bottom: 22px; }
.reporting-attention { color: var(--amber); }
.report-source-row { padding: 21px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.report-source-row p { margin-top: 5px; }
.report-source-actions { display: grid; justify-items: end; gap: 12px; flex-shrink: 0; }
.reporting-property { grid-column: 1 / -1; }
.reporting-property .text-button { justify-self: start; }
.resource-websites { overflow-wrap: anywhere; margin: -4px 0 18px; }
.reporting-form .field select { text-overflow: ellipsis; min-width: 0; }
.report-record .record-content > p { overflow-wrap: anywhere; }
.report-totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin: 7px 0; }
.report-totals > div { min-width: 0; }
.report-totals dt { font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.report-totals dd { margin: 0; font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.agent-record { border-bottom: 1px solid var(--line); padding-bottom: 19px; }
.agent-record .connection-row { border-bottom: 0; padding-bottom: 14px; }
.agent-record .notice { margin-top: 16px; }
.agent-record .notice .button-row { margin-top: 13px; }
.client-identity { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; padding-left: 31px; }
.client-identity code { display: block; font-size: 13px; overflow-wrap: anywhere; margin-top: 4px; }
.endpoint-box { border: 1px solid var(--line); border-radius: 9px; padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 20px 0; }
.endpoint-box code { font-size: 13px; overflow-wrap: anywhere; }
.instructions { display: grid; gap: 18px; margin-top: 23px; }
.instructions details { padding: 15px 0; border-bottom: 1px solid var(--line); }
.instructions summary { cursor: pointer; font-weight: 500; }
.instructions p { margin-top: 11px; color: var(--muted); max-width: 70ch; }
.instructions code { display: block; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--canvas); border-radius: 7px; padding: 13px; margin-top: 12px; font-size: 13px; }
.settings-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 37px; }
.settings-block { border-top: 1px solid var(--line); padding-top: 19px; }
.settings-block p { margin-top: 11px; color: var(--muted); max-width: 66ch; }
.settings-list { display: grid; margin-top: 14px; }
.setting { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 17px; flex-wrap: wrap; font-size: 13px; }
.setting dt { color: var(--muted); }
.setting dd { margin: 0; text-align: right; }
.event { display: grid; grid-template-columns: 133px minmax(0,1fr); gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.event time { font-size: 12px; color: var(--muted); }
.event p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.operations > .section-heading p, .website-access-facts + p { margin-top: 6px; }
.operations-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin: 20px 0 13px; padding: 18px 0; border-block: 1px solid var(--line); }
.operations-facts > div { min-width: 0; }
.operations-facts dt { color: var(--muted); font-size: 12px; }
.operations-facts dd { margin: 5px 0 0; font-size: 21px; font-variant-numeric: tabular-nums; }
.operations-dispositions { grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 0; margin-top: 9px; }
.operations-dispositions dd { font-size: 17px; }
.operation-run { padding: 21px 0; border-bottom: 1px solid var(--line); }
.operation-run > .text-button { margin-top: 15px; font-size: 13px; min-height: 32px; }
.operation-run > .reporting-attention { margin-top: 12px; max-width: 75ch; }
.operation-steps { list-style: none; margin: 15px 0 0; padding: 0; display: grid; gap: 15px; }
.operation-steps li { min-width: 0; padding: 0 0 0 15px; border-left: 1px solid var(--line); }
.operation-step-head { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.operation-steps p { margin: 5px 0; color: var(--muted); max-width: 75ch; font-size: 13px; }
.tool-reference { margin-top: 6px; font-size: 12px; color: var(--muted); }
.tool-reference summary { cursor: pointer; }
.tool-reference code { display: block; padding-top: 5px; overflow-wrap: anywhere; }
.operation-detail { border-block: 1px solid var(--line); padding: 22px 0; }
.operation-detail > p { max-width: 75ch; }
.operations-notice { margin: 20px 0; }
.operations-monitor { margin: 10px 0 18px; max-width: 78ch; }
.operations-monitor .operations-notice { margin-top: 10px; }
.due-work-list { list-style: none; margin: 0 0 12px; padding: 0; }
.due-work-list li { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.due-work-list p { margin-top: 5px; }
.website-access-facts { margin: 20px 0; max-width: 840px; }
.website-access-facts .setting dd { max-width: 60ch; overflow-wrap: anywhere; }
.site-agent-grants { margin: 20px 0; padding: 17px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.site-agent-grants legend { padding: 0 0 7px; font-size: 14px; font-weight: 500; }
.site-agent-grants > p { margin-bottom: 9px; }
.site-publish-choice { padding-block: 12px; border-top: 1px solid var(--line); max-width: 75ch; }
#site-access-form > .button-row { margin-top: 20px; }
.pairing-state { display: grid; gap: 12px; }
.pairing-code { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pairing-code label { width: 100%; font-size: 13px; }
.pairing-code input { min-width: 0; width: 240px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); }
.performance-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px; margin-top: 25px; }
.performance-grid > section { min-width: 0; }
.performance-grid .report-totals { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 16px 0; }
.trend { margin: 23px 0; min-width: 0; }
.trend figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 8px; }
.trend > p { margin-top: 7px; }
.trend-chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart-grid { stroke: var(--line); fill: none; stroke-width: 1; }
.chart-label { fill: var(--muted); font-size: 16px; }
.chart-line { stroke: var(--green); fill: none; stroke-width: 2; stroke-linejoin: round; }
.chart-point { fill: var(--green); }
.trend details { margin-top: 9px; }
.trend summary { cursor: pointer; color: var(--green); }
.dataset-notes { margin: 13px 0; }
.dataset-notes summary { cursor: pointer; color: var(--green); }
.report-table-wrap { width: 100%; overflow: auto; overscroll-behavior-inline: contain; margin-block: 13px; }
.report-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.report-table caption { text-align: left; color: var(--muted); font-size: 12px; margin-bottom: 12px; max-width: 75ch; }
.report-table th,.report-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.report-table th { font-weight: 500; }
.report-table thead { color: var(--muted); }
.report-table tbody th { min-width: 190px; max-width: 340px; overflow-wrap: anywhere; }
.report-table td { font-variant-numeric: tabular-nums; min-width: 95px; }
.reporting-overview { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.daily-quality { margin-top: 14px; max-width: 72ch; }
.team-dock-region { position: fixed; z-index: 50; right: 20px; bottom: max(14px,env(safe-area-inset-bottom)); max-width: calc(100vw - 24px); pointer-events: none; }
.team-dock { display: flex; align-items: center; gap: 13px; padding: 8px 10px 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); box-shadow: 0 7px 22px rgb(0 0 0 / .13); pointer-events: auto; }
.team-summary { display: grid; gap: 1px; border: 0; padding: 1px 0; background: none; text-align: left; min-width: 80px; min-height: 44px; }
.team-summary strong { font-size: 13px; }
.team-summary span { font-size: 11px; color: var(--muted); }
.team-members { display: flex; gap: 6px; align-items: center; min-width: 0; }
.team-member { position: relative; }
.robot-avatar { position: relative; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; background: var(--canvas); color: var(--muted); }
.robot-avatar svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.robot-avatar:hover,.robot-avatar[aria-expanded="true"] { color: var(--ink); background: var(--rail); }
.robot-working { color: var(--green); }
.robot-status { position: absolute; bottom: 4px; right: 3px; width: 8px; height: 8px; border: 2px solid var(--bg); border-radius: 50%; background: var(--green); }
.team-tooltip { display: none; position: absolute; bottom: 54px; right: 0; width: 235px; padding: 13px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 9px; font-size: 12px; gap: 4px; pointer-events: none; }
.team-tooltip span { color: var(--muted); }
.team-member:hover .team-tooltip,.team-member:focus-within .team-tooltip { display: grid; }
.team-panel { width: min(430px,calc(100vw - 24px)); max-height: calc(100dvh - 112px); overflow: auto; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--bg); box-shadow: 0 8px 24px rgb(0 0 0 / .14); pointer-events: auto; }
.team-panel > header { display: flex; justify-content: space-between; gap: 14px; align-items: start; margin-bottom: 12px; }
.team-panel header .icon-button { width: 36px; height: 36px; flex-shrink: 0; }
.team-panel header p { margin-top: 5px; }
.team-task { display: grid; gap: 6px; padding-block: 12px; border-block: 1px solid var(--line); margin-bottom: 10px; }
.team-task > .text-button { min-height: 30px; font-size: 13px; }
.team-selects { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 12px; margin: 15px 0 10px; }
.team-selects .field select { text-overflow: ellipsis; min-width: 0; }
.message-history-tools { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.message-history-tools > div { display: flex; gap: 5px; }
.message-history-tools .button { padding: 5px 7px; min-height: 32px; font-size: 12px; }
.agent-messages { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; gap: 15px; max-height: 27dvh; overflow: auto; overscroll-behavior: contain; }
.agent-message { padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.agent-message-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.agent-message-meta time { color: var(--muted); }
.agent-message p { font-size: 13px; margin: 6px 0; white-space: pre-wrap; }
.agent-message-owner .agent-message-meta strong { color: var(--green); }
#agent-message-form { display: grid; gap: 10px; }
#agent-message-form .team-selects { margin-bottom: 0; }
#agent-message-form textarea { min-height: 76px; }
.team-send { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 11px; align-items: end; padding: 12px 0 0; border-top: 1px solid var(--line); }
.team-send > span { flex: 1 1 200px; }
.team-send > button { margin-left: auto; }
.app-footer { padding-bottom: 94px; }
@media (max-width: 600px) {
  .team-dock-region { right: 12px; }
  .team-members { max-width: calc(100vw - 150px); overflow-x: auto; }
  .team-member:hover .team-tooltip,.team-member:focus-within .team-tooltip,.team-tooltip { display: none; }
  .team-panel { padding: 15px; }
  .team-panel header .icon-button { width: 44px; height: 44px; }
  .team-selects { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .agent-messages { max-height: 23dvh; }
}
@media (max-width: 900px) { .performance-grid { grid-template-columns: minmax(0,1fr); gap: 20px; } }
@media (max-width: 600px) {
  .chart-label { font-size: 22px; }
  .operations-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
  .operations-facts dd { font-size: 19px; }
  .due-work-list li { display: grid; gap: 8px; }
  .operation-step-head { gap: 7px; }
  .website-access-facts .setting { display: grid; gap: 5px; }
  .website-access-facts .setting dd { text-align: left; }
}
.skeleton { height: 13px; background: var(--rail); border-radius: 3px; width: 70%; margin: 16px 0; }
.skeleton-short { width: 45%; }
.consent-page { min-height: 100vh; max-width: 1160px; margin: 0 auto; padding: 30px 40px 24px; display: flex; flex-direction: column; }
.consent-main { flex: 1; display: grid; justify-items: center; align-items: center; padding: 45px 0; }
.consent-panel { width: 100%; max-width: 620px; padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); display: grid; gap: 20px; }
.consent-mark { color: var(--green); }
.consent-mark .icon { width: 30px; height: 30px; }
.consent-panel h1 { font-size: 27px; }
.consent-permissions { padding-block: 20px; border-block: 1px solid var(--line); }
.consent-permissions ul { margin: 13px 0 0; padding-left: 20px; }
.consent-permissions li + li { margin-top: 9px; }
.consent-permissions p { margin-top: 15px; }
.consent-destination { display: grid; gap: 5px; }
.consent-destination code { font-size: 13px; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
@media (max-width: 1100px) {
  .portfolio-layout { grid-template-columns: minmax(0,1fr); }
  .portfolio-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 27px; }
  .aside-section + .aside-section { margin-top: 0; }
}
@media (max-width: 850px) {
  .app-shell { grid-template-columns: 181px minmax(0,1fr); }
  .sidebar { padding-inline: 12px; }
  .sidebar .brand { font-size: 15px; gap: 8px; }
  .content { padding: 27px 24px 33px; }
  .topbar, .app-footer { padding-inline: 24px; }
  .welcome { padding: 26px; }
  .welcome-main { gap: 40px; }
  .welcome-intro h1 { font-size: 36px; }
  .signin-panel { padding: 24px; }
  .settings-grid { grid-template-columns: 1fr; gap: 29px; }
}
@media (max-width: 640px) {
  .app-shell { grid-template-columns: minmax(0,1fr); }
  .sidebar { position: static; min-height: auto; gap: 18px; border-right: 0; border-bottom: 1px solid var(--line); padding: 17px; }
  .sidebar .brand { font-size: 17px; padding: 0; }
  .workspace-name, .sidebar-bottom { display: none; }
  .navigation { display: flex; flex-wrap: wrap; gap: 4px; }
  .nav-button { width: auto; font-size: 12px; gap: 6px; padding: 9px; }
  .nav-button .icon { width: 16px; height: 16px; }
  .topbar, .app-footer { padding: 13px 18px; }
  .content { padding: 25px 18px 32px; }
  h1 { font-size: 26px; }
  .page-heading { margin-bottom: 23px; }
  .summary-strip { gap: 15px 25px; }
  .portfolio-aside, .form-grid, .settings-grid, .detail-columns { grid-template-columns: minmax(0,1fr); }
  .permission-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .project-head, .project-row { grid-template-columns: minmax(0,1.5fr) .8fr .7fr; gap: 11px; }
  .project-head > span:last-child, .project-row > .icon-button { display: none; }
  .project-initial { display: none; }
  .project-link { font-size: 13px; }
  .project-domain { font-size: 12px; }
  .welcome { padding: 24px 20px; }
  .welcome-header > .status { display: none; }
  .welcome-main { grid-template-columns: minmax(0,1fr); gap: 35px; padding: 48px 0 37px; }
  .welcome-intro { gap: 18px; }
  .welcome-intro h1 { font-size: 36px; max-width: 17ch; }
  .welcome-intro > p { font-size: 16px; }
  .welcome-points { gap: 16px; }
  .signin-panel { padding: 22px; }
  .welcome-footer { display: grid; gap: 9px; }
  .coverage-summary { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .record summary { gap: 10px; flex-wrap: wrap; }
  .record-title { min-width: 50%; }
  .empty-state { padding: 29px 20px; }
  .event { grid-template-columns: minmax(0,1fr); gap: 5px; }
  .tabs { gap: 22px; }
  .form-panel { padding: 18px; }
  .client-identity { padding-left: 0; }
  .google-provider-heading, .report-source-row { flex-direction: column; align-items: stretch; }
  .google-provider-heading > .button { align-self: flex-start; }
  .report-source-actions { justify-items: start; }
  .google-account .connection-row { gap: 12px; }
  .google-account .connection-row > .button-row { padding-left: 31px; }
  .report-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consent-page { padding: 22px 18px; }
  .consent-main { padding: 31px 0; }
  .consent-panel { padding: 23px 20px; }
  .consent-panel h1 { font-size: 25px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .nav-button, .project-link { transition: background-color 150ms ease-out, color 150ms ease-out; }
}
@media (pointer: coarse) {
  button, .button, input, summary { min-height: 44px; }
  .text-button { padding-block: 8px; }
  .choice { min-height: 44px; align-items: center; }
  .choice input { min-height: 0; margin-top: 0; }
}

.work-inbox-list { list-style: none; padding: 0; margin: 14px 0 0; }
.work-inbox-list li { display: flex; align-items: start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); padding: 14px 0; }
.work-inbox-copy { min-width: 0; display: grid; gap: 5px; }
.work-inbox-copy .text-button { line-height: 1.5; min-height: 24px; overflow-wrap: anywhere; }
.work-inbox-list .status { flex-shrink: 0; padding-top: 3px; }
.work-inbox-paging { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.inbox-empty { padding-top: 16px; font-size: 13px; }
@media (max-width: 600px) { .work-inbox-list li { flex-direction: column; gap: 8px; } .work-inbox-copy .text-button { min-height: 40px; } }
