:root {
  color-scheme: light;
  --ink: #19323a;
  --muted: #74878b;
  --line: #dce6e4;
  --paper: #f3f7f6;
  --white: #fff;
  --teal: #174b53;
  --teal-2: #22616a;
  --lime: #d8ee77;
  --mint: #e7f4eb;
  --mint-ink: #2b714f;
  --amber: #fff2d8;
  --amber-ink: #9b661d;
  --shadow: 0 20px 52px rgba(24, 54, 61, .08);
  font-family: 'Segoe UI', 'Aptos', sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-size: 14px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(69, 137, 146, .45); outline-offset: 2px; }
[hidden] { display: none !important; }
code, pre { font-family: 'Cascadia Code', Consolas, monospace; }

.login-screen { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 18% 15%, rgba(216,238,119,.12), transparent 27%), var(--teal); }
.login-panel { width: min(100%, 420px); padding: 42px; border-radius: 10px; background: #fff; box-shadow: 0 28px 70px rgba(4,30,36,.28); }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--lime); color: var(--teal); font-weight: 700; letter-spacing: -.08em; border-radius: 7px 7px 7px 2px; }
.login-panel .eyebrow { margin: 28px 0 10px; }
.login-panel h1 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.login-panel > .muted { line-height: 1.65; margin: 12px 0 28px; }
.login-panel form label { display: block; margin-bottom: 8px; font-weight: 600; }
.login-panel input { width: 100%; height: 46px; margin-bottom: 14px; }
.login-foot { margin: 24px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 5; display: flex; flex-direction: column; width: 246px; padding: 26px 17px 18px; color: #e5f0ed; background: var(--teal); }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 9px; color: inherit; text-decoration: none; }
.brand strong { display: block; font-size: 15px; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 2px; color: #a7c0bc; font-size: 11px; }
.brand .brand-mark { width: 38px; height: 38px; font-size: 12px; }
.local-badge { display: flex; align-items: center; gap: 8px; margin: 38px 5px 26px; padding: 10px 11px; border: 1px solid rgba(225,245,236,.12); border-radius: 5px; color: #b9cfcb; font-size: 11px; }
.pulse-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #b5d96d; box-shadow: 0 0 0 3px rgba(181,217,109,.13); }
.side-nav { display: grid; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 0 11px; text-align: left; border: 0; border-radius: 5px; color: #a9c2be; background: transparent; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-item.active { color: #f4f8f2; background: rgba(255,255,255,.115); box-shadow: inset 3px 0 var(--lime); }
.nav-icon { width: 19px; color: var(--lime); font-size: 19px; line-height: 1; text-align: center; }
.nav-count { margin-left: auto; padding: 2px 7px; border-radius: 10px; color: var(--teal); background: var(--lime); font-size: 10px; font-weight: 700; }
.sidebar-bottom { margin-top: auto; }
.security-note { display: flex; gap: 10px; padding: 14px 10px; border-top: 1px solid rgba(225,245,236,.12); border-bottom: 1px solid rgba(225,245,236,.12); }
.shield-icon { color: var(--lime); font-size: 17px; }
.security-note strong { display: block; color: #edf6f2; font-size: 11px; font-weight: 600; }
.security-note p { margin: 5px 0 0; color: #9db9b4; font-size: 10px; line-height: 1.55; }
.logout-button { display: flex; justify-content: space-between; width: 100%; padding: 13px 10px 5px; border: 0; color: #a9c2be; background: transparent; font-size: 12px; }
.logout-button:hover { color: #fff; }

.main-area { min-height: 100vh; margin-left: 246px; padding: 0 42px; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #87999b; font-size: 12px; }
.breadcrumb strong { color: #405b61; font-weight: 600; }
.slash { color: #c2cecc; }
.topbar-status { display: flex; align-items: center; gap: 8px; color: #57746d; font-size: 11px; }
.view { display: none; max-width: 1320px; margin: 0 auto; padding-top: 36px; }
.view.active { display: block; }
.page-intro { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin: 0 0 28px; }
.eyebrow { margin: 0 0 9px; color: #5c8c7a; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.page-intro h1 { margin: 0; color: var(--ink); font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; letter-spacing: -.055em; line-height: 1.12; }
.intro-copy { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 39px; padding: 0 15px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 600; transition: background-color .15s ease, border-color .15s ease; }
.button:disabled { opacity: .65; cursor: wait; }
.button-primary { color: #17383d; background: var(--lime); }
.button-primary:hover { background: #cce45b; }
.button-secondary { color: var(--teal); border-color: #c9d8d6; background: #fff; }
.button-secondary:hover { border-color: #7ba4a2; background: #f8fbfa; }
.button-quiet { color: #557176; border-color: transparent; background: transparent; }
.button-quiet:hover { background: #eff5f3; }
.plus { font-size: 18px; font-weight: 400; line-height: .8; }
.full-width { width: 100%; }

.overview-strip { display: flex; align-items: center; gap: 27px; min-height: 90px; margin-bottom: 38px; padding: 17px 21px; border: 1px solid #d8e5e1; border-radius: 6px; background: #fff; box-shadow: 0 5px 18px rgba(33,75,76,.035); }
.overview-item { display: flex; align-items: center; gap: 12px; min-width: 150px; }
.overview-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 5px; color: #327c71; background: #eff6f1; font-size: 17px; }
.status-icon { color: #729a43; background: #f3f7e9; font-size: 9px; }
.overview-label { display: block; color: #809093; font-size: 10px; }
.overview-item strong { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; }
.overview-divider { width: 1px; height: 38px; background: #e6edeb; }
.overview-tail { margin-left: auto; padding-left: 19px; border-left: 1px solid #e6edeb; color: #8c9a99; font-family: 'Cascadia Code', Consolas, monospace; font-size: 9px; line-height: 1.6; letter-spacing: .04em; text-align: right; }
.overview-tail span { color: #435f61; }

.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 13px; }
.section-heading h2, .activity-panel h2, .usage-panel h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.025em; }
.section-heading p, .activity-panel-head p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.section-note { display: flex; align-items: center; gap: 7px; color: #778c88; font-size: 10px; }
.section-note .pulse-dot { width: 6px; height: 6px; flex-basis: 6px; }
.connection-layout { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(400px, 1.5fr); align-items: stretch; gap: 14px; }
.connection-list, .detail-panel, .usage-panel, .activity-panel { border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 5px 19px rgba(33,75,76,.035); }
.connection-list { min-height: 314px; overflow: hidden; }
.list-header { display: flex; justify-content: space-between; padding: 13px 15px; border-bottom: 1px solid #e9efed; color: #91a09f; font-size: 10px; }
.provider-list { display: grid; }
.provider-row { display: grid; grid-template-columns: 34px minmax(0,1fr) auto 8px; align-items: center; gap: 10px; width: 100%; padding: 15px 13px; border: 0; border-bottom: 1px solid #eef2f1; text-align: left; background: #fff; transition: background .15s; }
.provider-row:hover { background: #f9fbfa; }
.provider-row.selected { position: relative; background: #f4f8f5; }
.provider-row.selected::before { position: absolute; inset: 0 auto 0 0; width: 3px; background: #7f9f51; content: ''; }
.provider-symbol { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 6px; color: #d7ed78; background: var(--teal); font-weight: 700; font-size: 15px; }
.provider-symbol.small-symbol { width: 32px; height: 32px; font-size: 12px; }
.provider-symbol.fiscalia-symbol { color: #fff; background: #567a7b; }
.provider-info { display: block; min-width: 0; }
.provider-info strong { display: block; overflow: hidden; color: #29444a; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.provider-info small { display: block; margin-top: 4px; overflow: hidden; color: #91a09f; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.status-indicator { display: flex; align-items: center; gap: 5px; color: #759079; font-size: 9px; white-space: nowrap; }
.status-indicator i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #81b070; }
.status-indicator.off { color: #a28d69; }
.status-indicator.off i { background: #d4af68; }
.row-chevron { color: #b0bfbc; font-size: 19px; }
.empty-state { display: grid; justify-items: center; padding: 36px 22px; text-align: center; }
.empty-glyph { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 9px; border-radius: 50%; color: #4f8378; background: #edf5f0; font-size: 19px; }
.empty-state strong { font-size: 12px; font-weight: 600; }
.empty-state p { max-width: 260px; margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }

.detail-panel { min-height: 314px; padding: 18px 19px; }
.detail-header { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #edf1ef; }
.detail-heading { min-width: 0; flex: 1; }
.detail-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.detail-title-row h2 { margin: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 600; }
.detail-heading p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.status-pill { padding: 3px 8px; border-radius: 20px; font-size: 9px; font-weight: 600; }
.status-pill.enabled { color: var(--mint-ink); background: var(--mint); }
.status-pill.paused { color: var(--amber-ink); background: var(--amber); }
.icon-button { width: 30px; height: 30px; border: 0; border-radius: 4px; color: #738989; background: transparent; font-weight: 700; letter-spacing: 2px; }
.icon-button:hover { background: #f2f6f5; }
.route-block { padding: 16px 0 11px; }
.route-label { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; color: #8a9a99; font-size: 10px; }
.route-icon { color: #5a8f83; font-size: 14px; }
.route-block code { display: block; overflow: hidden; padding: 9px 10px; border: 1px solid #e4ece8; border-radius: 4px; color: #3c6669; background: #f8faf8; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.credential-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; padding: 8px 0 14px; }
.credential-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #80918f; font-size: 10px; }
.credential-row strong { color: #42615e; font-size: 9px; font-weight: 500; text-align: right; }
.tiny-dot { display: inline-block; width: 5px; height: 5px; margin: 0 5px 1px 0; border-radius: 50%; background: #8ab77c; }
.fiscalia-notice { display: flex; gap: 9px; padding: 9px 11px; border-left: 2px solid #cfac5f; border-radius: 0 3px 3px 0; background: #fbf8ef; }
.fiscalia-notice p { margin: 0; color: #84785c; font-size: 9px; line-height: 1.55; }
.notice-mark { display: grid; place-items: center; width: 14px; height: 14px; flex: 0 0 14px; border: 1px solid #b49b5c; border-radius: 50%; color: #8f7943; font-size: 9px; }
.detail-actions { display: flex; align-items: center; gap: 8px; margin-top: 13px; }
.detail-actions .button { min-height: 34px; font-size: 10px; }
.detail-actions .button-quiet { margin-left: auto; }

.usage-panel { margin-top: 17px; padding: 18px 20px 13px; }
.usage-top { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.usage-top .eyebrow { margin-bottom: 5px; font-size: 9px; }
.usage-panel h2 { font-size: 14px; }
.usage-top p:not(.eyebrow) { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.method-badge { padding: 5px 8px; border-radius: 3px; color: #426b50; background: #edf5e8; font-family: 'Cascadia Code', Consolas, monospace; font-size: 9px; }
.endpoint-line { display: flex; align-items: center; gap: 12px; margin: 14px 0 11px; padding: 9px 11px; border: 1px solid #e4ece8; border-radius: 4px; background: #f8faf8; }
.endpoint-line code { flex: 1; overflow: hidden; color: #3e6868; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.copy-button { padding: 4px 7px; border: 0; border-radius: 3px; color: #527970; background: #edf4ef; font-size: 9px; }
.copy-button:hover { background: #e3efdc; }
.usage-bottom { display: flex; align-items: center; gap: 18px; color: #8a9997; font-size: 9px; }
.usage-bottom .tiny-dot { background: #719984; }
.text-button { margin-left: auto; padding: 4px; border: 0; color: #527870; background: transparent; font-size: 9px; }
.text-button:hover { color: #264c4c; }
.request-example { overflow: auto; margin: 13px 0 0; padding: 13px; border-radius: 4px; color: #dcebe3; background: #173a40; font-size: 10px; line-height: 1.8; }
.request-example code { white-space: pre; }

.browser-query-panel { margin-top: 17px; padding: 20px; border: 1px solid #cddfda; border-radius: 6px; background: #fff; box-shadow: 0 8px 25px rgba(33,75,76,.045); }
.browser-query-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.browser-query-heading .eyebrow { margin-bottom: 5px; font-size: 9px; }
.browser-query-heading h2 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.025em; }
.browser-query-heading p:not(.eyebrow) { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.browser-query-form { display: flex; align-items: end; gap: 12px; margin-top: 18px; }
.browser-query-field { display: grid; gap: 6px; width: min(100%, 360px); }
.browser-query-field label { color: #526d6f; font-size: 10px; font-weight: 600; }
.browser-query-field input { width: 100%; height: 40px; padding: 9px 11px; border: 1px solid #dce6e2; border-radius: 4px; color: var(--ink); background: #fcfdfc; font-size: 13px; letter-spacing: .06em; }
.browser-query-form .button { min-height: 40px; }
.browser-query-note { margin: 11px 0 0; color: #849692; font-size: 10px; line-height: 1.55; }
.browser-query-status { margin: 13px 0 0; padding: 10px 12px; border-left: 2px solid #b3c7bf; color: #5f7771; background: #f5f8f6; font-size: 11px; line-height: 1.5; }
.browser-query-status[data-tone="good"] { border-color: #77a787; color: #376c4b; background: #f0f7f1; }
.browser-query-status[data-tone="warn"] { border-color: #cfac5f; color: #84662f; background: #fbf8ef; }
.browser-query-result { margin-top: 14px; border: 1px solid #e4ece8; border-radius: 4px; overflow: hidden; }
.browser-query-result-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid #e4ece8; color: #55716c; background: #fafcfb; font-size: 10px; }
.browser-query-result-head .text-button { margin: 0; }
.browser-query-result pre { max-height: 420px; overflow: auto; margin: 0; padding: 14px; color: #dcebe3; background: #173a40; font-size: 11px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.browser-query-result code { font-family: 'Cascadia Code', Consolas, monospace; }

.provider-form-wrap { margin-top: 16px; }
.form-heading { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.form-heading h3 { margin: 0; font-size: 14px; }
.form-heading p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.close-form { width: 29px; height: 29px; border: 0; border-radius: 4px; color: #78908e; background: #f1f6f3; font-size: 20px; line-height: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 14px; }
.field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { color: #526d6f; font-size: 10px; font-weight: 600; }
.field small { color: #96a4a1; font-size: 9px; line-height: 1.4; }
.field .clear-secret { display: flex; align-items: center; gap: 6px; color: #8b7770; font-size: 9px; }
.clear-secret input { width: 12px; height: 12px; margin: 0; accent-color: #a05c4c; }
.field input, .field textarea, .field select, .login-panel input { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #dce6e2; border-radius: 4px; color: var(--ink); background: #fcfdfc; font-size: 11px; }
.field input, .field select { height: 36px; }
.field input::placeholder, .field textarea::placeholder, .login-panel input::placeholder { color: #a6b3af; }
.field textarea { resize: vertical; line-height: 1.5; }
.field input[readonly] { color: #80918f; background: #f2f5f3; }
.form-end { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 13px; border-top: 1px solid #edf1ef; }
.form-buttons { display: flex; align-items: center; gap: 5px; }
.form-buttons .button { min-height: 34px; font-size: 10px; }
.toggle-row { display: flex; align-items: center; gap: 8px; color: #65807b; font-size: 10px; cursor: pointer; }
.toggle-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle-track { position: relative; width: 28px; height: 16px; border-radius: 9px; background: #d4deda; transition: background .15s; }
.toggle-track::after { position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); content: ''; transition: transform .15s; }
.toggle-row input:checked + .toggle-track { background: #67977a; }
.toggle-row input:checked + .toggle-track::after { transform: translateX(12px); }
.form-error { min-height: 16px; margin: 8px 0 0; color: #a94444; font-size: 10px; }

.activity-intro { margin-bottom: 30px; }
.activity-panel { overflow: hidden; }
.activity-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 20px; border-bottom: 1px solid #eaf0ed; }
.activity-panel-head h2 { font-size: 15px; }
.retention-badge { padding: 5px 9px; border-radius: 3px; color: #547863; background: #eef5e9; font-size: 9px; }
.activity-table-wrap { overflow-x: auto; }
.activity-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
.activity-table th { padding: 11px 14px; color: #8b9a98; background: #fafcfb; font-size: 9px; font-weight: 500; }
.activity-table td { padding: 12px 14px; border-top: 1px solid #edf1ef; color: #5d7475; font-size: 10px; }
.activity-table td code { color: #639080; font-size: 9px; }
.outcome-tag { padding: 4px 7px; border-radius: 12px; color: #477553; background: #edf5eb; font-size: 9px; }
.outcome-tag.upstream_blocked, .outcome-tag.upstream_error, .outcome-tag.connection_error, .outcome-tag.timeout, .outcome-tag.invalid_upstream_response { color: #976d35; background: #fbf3e4; }
.page-footer { display: flex; justify-content: space-between; gap: 16px; max-width: 1320px; margin: 38px auto 0; padding: 16px 0 23px; border-top: 1px solid var(--line); color: #93a19f; font-size: 9px; }
.footer-version { margin-left: 5px; color: #b0bcba; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 20; max-width: min(420px, calc(100vw - 44px)); padding: 12px 16px; border: 1px solid #d1e1d8; border-radius: 5px; color: #315d4b; background: #f4fbf5; box-shadow: var(--shadow); font-size: 12px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .18s, transform .18s; }
.toast.visible { opacity: 1; transform: translateY(0); }
.toast[data-tone="warn"] { color: #795b2a; border-color: #ead8ad; background: #fff9eb; }

@media (max-width: 1050px) {
  .main-area { padding: 0 25px; }
  .overview-strip { gap: 17px; }
  .overview-item { min-width: 125px; }
  .connection-layout { grid-template-columns: minmax(250px, .9fr) minmax(340px, 1.2fr); }
}
@media (max-width: 800px) {
  .sidebar { width: 64px; align-items: center; padding: 18px 8px; }
  .brand { padding: 0; }
  .brand > span:not(.brand-mark), .local-badge, .nav-item:not(.active)::after, .nav-item { font-size: 0; }
  .brand .brand-mark { width: 38px; height: 38px; }
  .side-nav { width: 100%; margin-top: 34px; }
  .nav-item { justify-content: center; min-height: 42px; padding: 0; }
  .nav-icon { font-size: 19px; }
  .nav-count { display: none; }
  .sidebar-bottom { width: 100%; }
  .security-note { justify-content: center; padding: 12px 0; }
  .security-note > div { display: none; }
  .logout-button { justify-content: center; font-size: 0; }
  .logout-button span { font-size: 15px; }
  .main-area { margin-left: 64px; padding: 0 20px; }
  .connection-layout { grid-template-columns: 1fr; }
  .connection-list { min-height: auto; }
  .overview-strip { flex-wrap: wrap; gap: 14px 20px; }
  .overview-divider { display: none; }
  .overview-item { flex: 1 1 38%; }
  .overview-tail { margin-left: auto; }
}
@media (max-width: 540px) {
  .main-area { padding: 0 14px; }
  .topbar { min-height: 55px; }
  .topbar-status { font-size: 0; }
  .page-intro { align-items: start; flex-direction: column; gap: 17px; margin-bottom: 21px; }
  .page-intro .button { align-self: stretch; }
  .page-intro h1 { font-size: 29px; }
  .intro-copy { max-width: 300px; line-height: 1.55; }
  .overview-strip { margin-bottom: 28px; padding: 14px; }
  .overview-item { min-width: 42%; }
  .overview-label { max-width: 110px; line-height: 1.4; }
  .section-note { font-size: 0; }
  .provider-row { grid-template-columns: 32px minmax(0,1fr) auto; }
  .row-chevron { display: none; }
  .detail-panel { padding: 15px 13px; }
  .credential-summary { grid-template-columns: 1fr; }
  .credential-row { justify-content: flex-start; }
  .credential-row strong { margin-left: auto; }
  .usage-panel { padding: 16px 13px 12px; }
  .browser-query-panel { padding: 16px 13px 14px; }
  .browser-query-form { align-items: stretch; flex-direction: column; }
  .browser-query-field { width: 100%; }
  .browser-query-form .button { align-self: stretch; }
  .usage-bottom { flex-wrap: wrap; gap: 10px; }
  .text-button { margin-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .form-end { align-items: start; flex-direction: column; }
  .form-buttons { width: 100%; justify-content: end; }
  .activity-intro .button { align-self: flex-start; }
  .activity-panel-head { align-items: start; padding: 15px 13px; }
  .page-footer { font-size: 8px; }
  .login-panel { padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
