:root {
  font-family: Inter, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  color: #292d28;
  background: #dce1ce;
  font-synthesis: none;
  --ink: #292d28;
  --muted: #778073;
  --line: #e6e9df;
  --paper: #f7f7f3;
  --lime: #bee262;
  --lime-ink: #54721b;
}
* { box-sizing: border-box; }
body { margin: 0; padding: clamp(0px, 3vw, 42px); background: radial-gradient(circle at 4% 0%, #e8edda, transparent 42%), #dce1ce; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #8cb937; outline-offset: 3px; }
.app-frame { width: min(1540px, 100%); min-height: calc(100vh - clamp(0px, 6vw, 84px)); margin: 0 auto; overflow: hidden; background: var(--paper); border-radius: 20px; box-shadow: 0 32px 80px #4c563b18; }
.site-header { min-height: 90px; padding: 0 clamp(24px, 4vw, 58px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; white-space: nowrap; font-size: 17px; font-weight: 760; letter-spacing: -.045em; }
.brand em { font-style: normal; font-weight: 430; }
.brand-mark { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #a5d334, #d5ef82); color: #fff; font-size: 18px; box-shadow: 0 0 0 4px #e6f2c9; }
.main-nav { display: flex; align-items: center; gap: 9px; }
.nav-item { position: relative; border: 0; background: transparent; color: #797f76; padding: 12px 15px; border-radius: 30px; font-size: 12px; font-weight: 620; }
.nav-item:hover { color: var(--ink); background: #eef2e5; }
.nav-item.active { color: var(--ink); background: #eaf2d7; }
.nav-item.active::before { content: ""; position: absolute; left: 6px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: #90bc2d; transform: translateY(-50%); }
.header-side { justify-self: end; }
.local-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #ebeee4; border-radius: 30px; padding: 10px 15px; color: #687462; font-size: 11px; font-weight: 670; }
.workspace-identity { display: flex; align-items: center; gap: 10px; color: #64705e; font-size: 11px; font-weight: 650; white-space: nowrap; }
.workspace-identity span { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.dot { width: 7px; height: 7px; background: #95c632; border-radius: 50%; box-shadow: 0 0 0 3px #e7f4cb; }
.content { max-width: 1480px; margin: 0 auto; padding: 28px clamp(24px, 4vw, 58px) 64px; }
.section-kicker, .eyebrow { display: block; margin-bottom: 8px; color: #7c9b37; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.section-heading { margin-bottom: 22px; }
.section-heading h2 { margin: 0 0 6px; font-size: 21px; font-weight: 720; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.section-heading.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }

/* Workspace sign-in */
.login-frame { display: flex; flex-direction: column; }
.login-header { display: flex; justify-content: space-between; }
.login-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(350px, .9fr); align-items: center; gap: clamp(40px, 8vw, 130px); max-width: 1260px; width: 100%; margin: 0 auto; padding: 70px clamp(30px, 5vw, 75px) 110px; }
.login-intro h1 { margin: 27px 0 20px; font-size: clamp(54px, 5.8vw, 88px); font-weight: 630; line-height: 1.04; letter-spacing: -.085em; }
.login-intro h1 em { color: #91b83d; font-style: normal; }
.login-intro > p { max-width: 510px; margin: 0; color: #727a70; font-size: 16px; line-height: 1.65; }
.login-privacy { display: flex; align-items: flex-start; gap: 15px; max-width: 490px; margin-top: 48px; padding: 20px 22px; border-radius: 23px 23px 23px 8px; background: #fff; color: #65705f; font-size: 13px; line-height: 1.55; box-shadow: 0 12px 30px #3b483710; }
.login-card { padding: clamp(28px, 4vw, 52px); border: 1px solid #edf0e7; border-radius: 28px; background: #fff; box-shadow: 0 25px 60px #3b48370c; }
.login-card h2 { margin: 0 0 10px; font-size: clamp(29px, 3vw, 41px); font-weight: 680; line-height: 1.12; letter-spacing: -.055em; }
.login-card > p { margin: 0 0 26px; color: #7a8475; font-size: 13px; line-height: 1.6; }
.login-card .login-error { padding: 11px 13px; border-radius: 11px; background: #fbe9e6; color: #a35045; }
.login-button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 13px 17px; border-radius: 14px; background: #b9df5f; color: #26361c; font-size: 13px; font-weight: 760; text-decoration: none; transition: background .15s, transform .15s; }
.login-button:hover { background: #a7d04d; transform: translateY(-1px); }
.login-button span:last-child { margin-left: auto; font-size: 17px; }
.google-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #fff; color: #4f8b53; font-size: 17px; font-weight: 800; }
.login-card small { display: block; margin-top: 20px; color: #98a194; font-size: 11px; line-height: 1.6; }

/* Dashboard summary */
.overview-hero { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(560px, 1.15fr); align-items: stretch; gap: clamp(28px, 4vw, 64px); margin: 10px 0 38px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 12px 0 16px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 30px; background: #eaf1d9; color: #678337; font-size: 11px; font-weight: 700; }
.hero-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #a6d249; box-shadow: 0 0 0 3px #dcecbf; }
.hero-copy h1 { margin: 20px 0 16px; max-width: 600px; font-size: clamp(48px, 5vw, 76px); font-weight: 620; letter-spacing: -.085em; line-height: 1.04; }
.hero-copy h1 em { font-style: normal; color: #89ad38; }
.hero-copy > p { margin: 0; max-width: 360px; color: #727a70; line-height: 1.62; font-size: 14px; }
.hero-message { display: flex; align-items: flex-start; gap: 14px; max-width: 455px; margin-top: 36px; padding: 20px 22px; border-radius: 24px 24px 24px 8px; background: #fff; box-shadow: 0 12px 30px #3b483710; color: #666f62; font-size: 15px; line-height: 1.48; }
.message-icon { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #acd444; box-shadow: 0 0 0 4px #edf6d5; color: #fff; font-size: 17px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(142px, auto) minmax(220px, auto); gap: 12px; }
.metric-card, .watch-card { background: #fff; border-radius: 25px; box-shadow: 0 12px 28px #3b483708; }
.metric-card { min-width: 0; display: flex; flex-direction: column; padding: 20px 20px 18px; }
.metric-label { color: #7a8276; font-size: 11px; font-weight: 610; }
.metric-card strong { display: block; margin: auto 0 2px; font-size: clamp(30px, 3vw, 42px); font-weight: 650; letter-spacing: -.065em; line-height: 1.05; white-space: nowrap; }
.metric-card small { display: block; min-height: 28px; color: #92998d; line-height: 1.4; font-size: 10px; overflow-wrap: anywhere; }
.metric-reset { background: #f0f5e5; }
.watch-card { grid-column: 1 / -1; padding: 22px 26px; }
.watch-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-bottom: 12px; }
.watch-heading h2 { margin: 5px 0 0; font-size: 22px; letter-spacing: -.045em; }
.watch-key { color: #8e9885; font-size: 10px; }
.watch-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.watch-row { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-width: 0; padding: 14px 10px; border-radius: 15px; background: #f7f9f2; }
.watch-dot { width: 7px; height: 7px; border-radius: 50%; background: #9bc542; }
.watch-dot.low { background: #d7a257; }
.watch-row strong, .watch-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.watch-row strong { font-size: 11px; font-weight: 680; }
.watch-row small { margin-top: 3px; color: #8d9687; font-size: 9px; }
.watch-row b { font-size: 18px; font-weight: 700; letter-spacing: -.05em; }
.watch-empty { margin: 32px 0 0; color: #8c9587; font-size: 12px; }

/* Main workspace */
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .82fr); gap: 18px; align-items: start; }
.workspace-side { display: grid; gap: 18px; min-width: 0; }
.panel, .account, .connection-panel { background: #fff; border: 1px solid #edf0e7; border-radius: 25px; box-shadow: 0 10px 30px #3b483707; }
.panel { padding: 26px; margin-bottom: 18px; }
.workspace-grid > .panel { margin-bottom: 0; }
.member-intro { margin-bottom: 18px; }
.member-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 23px; }
.member-facts span { padding: 10px 14px; border-radius: 13px; background: #eaf2d7; color: #56742e; font-size: 11px; font-weight: 640; }
.member-facts strong { font-size: 15px; }
.self-delete { margin-top: 22px; }
.self-delete h2 { margin: 0 0 7px; font-size: 19px; letter-spacing: -.04em; }
.self-delete p { max-width: 700px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.self-delete > .ghost { margin-top: 12px; }
.admin-own { margin-top: 18px; }
.admin-own-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .75fr); gap: 24px; align-items: start; }
.admin-own-grid .panel { margin-bottom: 16px; }
.admin-own-grid .collector-setup { margin-top: 16px; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.account { min-width: 0; padding: 21px; background: #fcfdfa; border-color: #edf0e8; border-radius: 20px; box-shadow: none; }
.account-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.account-identity { display: flex; align-items: center; min-width: 0; gap: 11px; }
.account-identity > div { min-width: 0; }
.account .eyebrow { margin: 0 0 3px; font-size: 9px; letter-spacing: .07em; }
.account h3 { margin: 0; font-size: 15px; font-weight: 690; letter-spacing: -.03em; overflow-wrap: anywhere; }
.provider-icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-size: 21px; font-style: normal; }
.provider-icon.claude { background: #f2eadf; color: #ba845a; }
.provider-icon.codex { background: #e3f1e6; color: #397a52; }
.provider-icon.copilot { background: #e8ebf6; color: #6a75ab; }
.status, .pill { display: inline-block; flex: none; padding: 6px 9px; border-radius: 30px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status.ok, .pill.ok { background: #e7f2d8; color: #5f8b26; }
.status.warn, .pill.warn { background: #faf0df; color: #a57730; }
.status.bad, .pill.bad { background: #fbe9e6; color: #ae6357; }
.meter { margin: 16px 0; }
.meter-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 11px; }
.meter-head strong { font-size: 12px; font-weight: 710; white-space: nowrap; }
.track { height: 8px; overflow: hidden; border-radius: 10px; background: #e9eee2; }
.track i { display: block; height: 100%; border-radius: 10px; background: #a6d649; transition: width .25s ease; }
.meter.low .track i { background: #dbaa55; }
.meter.critical .track i { background: #d97969; }
.meter small { display: block; margin-top: 6px; color: #939c8e; font-size: 10px; }
.detail { margin: 8px 0; color: #6f796b; font-size: 11px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 13px; border-top: 1px solid #e8ece3; color: #9aa397; font-size: 10px; }
.text-button { border: 0; background: transparent; color: #62872d; padding: 5px 6px; font-size: 11px; font-weight: 660; }
.text-button:hover { color: #344e16; text-decoration: underline; }
.text-button.danger, .ghost.danger { color: #b3675e; }
.empty { padding: 55px 20px; border: 1px dashed #dce6cd; border-radius: 20px; background: #fbfcf8; text-align: center; }
.empty-icon { font-size: 32px; color: #a9c37d; }
.empty h3 { margin: 10px 0 6px; font-size: 16px; }
.empty p { margin: 0; color: var(--muted); font-size: 12px; }

/* Connection choices */
.provider-grid { display: grid; gap: 9px; }
.provider { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 65px; padding: 11px 12px; border: 1px solid #e8ede1; border-radius: 16px; background: #fafcf7; text-align: left; transition: background .15s, border-color .15s, transform .15s; }
.provider:hover { border-color: #c0da93; background: #f2f8e5; transform: translateY(-1px); }
.provider strong, .provider small { display: block; }
.provider strong { color: var(--ink); font-size: 12px; }
.provider small { margin-top: 2px; color: #899486; font-size: 10px; }
.arrow { margin-left: auto; color: #8eac61; font-size: 17px; }
.collector-setup { position: relative; overflow: hidden; min-width: 0; padding: 25px; border-radius: 25px; background: linear-gradient(145deg, #c4e46e 0%, #b7df56 65%, #d4efa0 100%); color: #324326; }
.collector-setup::after { content: ""; position: absolute; width: 210px; height: 210px; right: -90px; bottom: -120px; border: 25px solid #e7f7bc8c; border-radius: 50%; pointer-events: none; }
.collector-setup > * { position: relative; z-index: 1; }
.collector-setup .section-kicker { color: #577a27; }
.collector-setup h2 { margin: 0 0 8px; max-width: 240px; font-size: 24px; line-height: 1.1; letter-spacing: -.05em; }
.collector-setup > p { max-width: 300px; margin: 0 0 22px; color: #5a7440; font-size: 12px; line-height: 1.55; }
.collector-downloads { display: flex; flex-wrap: wrap; gap: 7px; margin: -6px 0 18px; }
.collector-downloads a, .collector-downloads span { padding: 8px 10px; border-radius: 10px; background: #f5fbe9bd; color: #4c6934; font-size: 10px; font-weight: 700; text-decoration: none; }
.collector-downloads a:hover { background: #fff; }
.collector-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.collector-controls select, .setting select, .setting input[type=number], .rename input, .connection-panel input { min-width: 0; padding: 11px 12px; border: 1px solid #dce5d2; border-radius: 11px; background: #fff; color: var(--ink); outline: 0; }
.collector-controls select { flex: 1 1 115px; max-width: 170px; font-size: 11px; }
.primary, .ghost { display: inline-flex; justify-content: center; align-items: center; min-height: 39px; padding: 10px 14px; border: 0; border-radius: 12px; font-size: 11px; font-weight: 740; text-decoration: none; }
.primary { background: #a3cf48; color: #26361c; }
.primary:hover { background: #92bd3b; }
.collector-setup .primary { background: #364b25; color: #fff; }
.collector-setup .primary:hover { background: #263b18; }
.ghost { border: 1px solid #dce6d1; background: #fff; color: #4b6140; }
.ghost:hover { background: #f3f8e9; }
.ghost.danger:hover { border-color: #e8c6bd; background: #fff7f5; }
.pair-instructions { margin-top: 18px; padding: 16px; border-radius: 16px; background: #f6fbead9; font-size: 11px; line-height: 1.5; }
.pair-instructions p { margin: 0 0 9px; }
.pair-instructions code { padding: 3px 5px; border-radius: 4px; background: #e4efcc; }
.pair-code { display: block; margin: 8px 0; font-size: 22px; letter-spacing: .12em; }
.pair-instructions small { display: block; color: #667f4a; line-height: 1.5; }
.connection-panel { padding: 23px; }
.panel-top { display: flex; justify-content: space-between; gap: 10px; }
.panel-top h2 { margin: 3px 0 12px; font-size: 20px; letter-spacing: -.04em; }
.connection-panel p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.close { border: 0; background: transparent; color: #84917e; font-size: 26px; line-height: 1; }
.link-button { margin: 6px 0; }
.device-code { display: block; width: fit-content; margin: 12px 0; padding: 14px 20px; border-radius: 13px; background: #eff5e3; font-size: 22px; font-weight: 730; letter-spacing: .14em; }
.connection-panel form { display: grid; gap: 13px; margin-top: 15px; }
.connection-panel label { font-size: 11px; font-weight: 650; }
.connection-panel input { display: block; width: 100%; margin-top: 5px; font-size: 12px; }
.optional { color: #9aa295; font-weight: 400; }

/* Local admin table and settings */
.title-row { margin: 18px 0 30px; }
.title-row h1 { margin: 17px 0 10px; font-size: clamp(38px, 4vw, 60px); font-weight: 630; line-height: 1.08; letter-spacing: -.075em; }
.title-period { color: #96c745; }
.title-row p { margin: 0; color: var(--muted); font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { min-width: 0; min-height: 140px; padding: 20px 22px; border-radius: 23px; background: #fff; box-shadow: 0 10px 26px #3b483707; }
.stat span { color: #7f897a; font-size: 11px; }
.stat strong { display: block; margin: 19px 0 3px; font-size: 35px; font-weight: 660; letter-spacing: -.06em; }
.stat small { display: block; color: #98a194; font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.bulk { display: flex; gap: 8px; flex-wrap: wrap; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid #edf0e8; border-radius: 16px; }
table { width: 100%; min-width: 800px; border-collapse: collapse; font-size: 11px; }
th { padding: 14px 15px; border-bottom: 1px solid #e6ebdf; background: #f6f8f1; color: #889384; font-size: 10px; font-weight: 720; letter-spacing: .065em; text-align: left; white-space: nowrap; }
td { padding: 15px; border-bottom: 1px solid #edf0e8; color: #596355; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:not(.detail-row):hover td { background: #fafcf5; }
td small { display: block; margin-top: 4px; color: #9ba597; font-size: 10px; }
.provider-cell { display: flex; align-items: center; gap: 8px; font-weight: 670; white-space: nowrap; }
.provider-icon.small { width: 27px; height: 27px; border-radius: 9px; font-size: 15px; }
.name-cell strong { color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
.usage-cell { min-width: 170px; line-height: 1.6; }
.actions { white-space: nowrap; }
.actions .text-button { padding: 4px 5px; }
.rename { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.rename input { min-width: 120px; font-size: 11px; }
.detail-row td { background: #f8faf3; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 22px; }
.detail-grid div { min-width: 0; }
.detail-grid span { display: block; margin-bottom: 4px; color: #929d8d; font-size: 10px; }
.detail-grid strong { color: #45513e; font-size: 11px; font-weight: 650; overflow-wrap: anywhere; }
.detail-row .muted { margin-top: 17px; }
.settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 34px; }
.setting { min-width: 0; }
.setting > label { display: block; color: #374034; font-size: 12px; font-weight: 690; }
.setting p { margin: 7px 0 0; color: #929b8f; font-size: 11px; line-height: 1.5; }
.setting select { display: block; width: min(100%, 250px); margin-top: 8px; font-size: 12px; }
.setting input[type=number] { width: 80px; margin: 7px 7px 0 0; font-size: 12px; }
.setting .suffix { display: flex; align-items: center; color: #6f7b69; font-size: 11px; font-weight: 450; }
.switch { display: flex !important; align-items: center; gap: 10px; cursor: pointer; }
.switch input { width: 17px; height: 17px; margin: 0; accent-color: #92be38; }
.setting-actions { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.setting-actions .muted { font-size: 10px; }

/* Local audit and deletion */
.privacy-controls { margin-top: 18px; }
.audit-note { margin: -3px 0 17px; color: #8c9885; font-size: 11px; }
.audit-table { max-height: 380px; overflow: auto; }
.audit-table table { min-width: 560px; }
.audit-table td:first-child { white-space: nowrap; }
.audit-empty { padding: 28px 18px; border: 1px dashed #dce6cd; border-radius: 15px; background: #fbfcf8; color: #929d8f; font-size: 12px; text-align: center; }
.delete-zone { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 18px; margin-top: 24px; padding: 20px; border: 1px solid #efdcd6; border-radius: 17px; background: #fffaf8; }
.delete-zone > div:first-child { max-width: 530px; }
.delete-zone h3 { margin: 0 0 6px; color: #854e46; font-size: 14px; }
.delete-zone p { margin: 0; color: #907d77; font-size: 11px; line-height: 1.55; }
.delete-form { display: grid; gap: 10px; min-width: min(100%, 255px); }
.delete-form label { color: #854e46; font-size: 11px; font-weight: 650; }
.delete-form input { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #e7cfc7; border-radius: 10px; background: #fff; color: var(--ink); }
.delete-form > div { display: flex; gap: 8px; flex-wrap: wrap; }

/* Feedback and responsive layout */
.notice { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding: 13px 16px; border-radius: 13px; background: #ebf4d6; color: #557522; font-size: 12px; }
.notice button { border: 0; background: transparent; color: inherit; font-size: 18px; }
.privacy { margin-top: 30px; padding: 21px 4px 0; border-top: 1px solid #e4e9dc; color: #858e81; font-size: 11px; line-height: 1.6; }
.privacy strong { color: #5c7250; }
.error { color: #b2655e; font-size: 11px; }
.muted { color: #929d8f; font-size: 11px; }
@media (max-width: 1220px) {
  .overview-hero { grid-template-columns: 1fr; gap: 25px; }
  .hero-copy { align-items: flex-start; }
  .hero-copy h1 { margin-bottom: 10px; }
  .hero-message { margin-top: 22px; }
  .workspace-grid { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); }
  .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .login-main { grid-template-columns: 1fr; gap: 45px; padding-top: 45px; }
  .login-privacy { margin-top: 28px; }
  .admin-own-grid { grid-template-columns: 1fr; }
  .workspace-grid { grid-template-columns: 1fr; }
  .workspace-side { grid-template-columns: 1fr 1fr; }
  .workspace-side .connection-panel { grid-column: 1 / -1; grid-row: 2; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .login-main { padding: 42px 20px 65px; }
  .login-intro h1 { font-size: clamp(49px, 11vw, 65px); }
  .login-card { padding: 29px; }
  body { padding: 0; }
  .app-frame { min-height: 100vh; border-radius: 0; }
  .site-header { grid-template-columns: 1fr auto; gap: 8px; min-height: 92px; padding: 16px 20px 8px; }
  .workspace-identity { gap: 3px; flex-direction: column; align-items: flex-end; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .header-side { grid-column: 2; grid-row: 1; }
  .local-badge { padding: 7px 9px; font-size: 9px; }
  .content { padding: 24px 20px 44px; }
  .overview-hero { margin-top: 0; }
  .hero-copy h1 { font-size: clamp(45px, 11vw, 64px); }
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-reset { grid-column: 1 / -1; }
  .watch-rows { grid-template-columns: 1fr; }
  .watch-row { padding: 10px; }
  .workspace-side, .account-grid, .stats, .settings, .detail-grid { grid-template-columns: 1fr; }
  .workspace-side .connection-panel { grid-column: auto; grid-row: auto; }
  .section-heading.row { flex-direction: column; align-items: flex-start; }
  .panel { padding: 21px; }
  .setting-actions { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.billing-form { display: flex; gap: 7px; align-items: center; min-width: 230px; }
.billing-form input { width: 95px; }
.billing-form select { width: 70px; }
.cost-total { font-size: 27px !important; }
.health-list > div { padding: 12px 0; border-bottom: 1px solid #e5ebdd; }
.health-list p { margin: 5px 0; color: #7a856f; font-size: 13px; }
.history-panel { margin-top: 22px; }
.history-table { max-height: 380px; overflow: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.connection-panel > a.text-button { display: block; margin-top: 12px; }
