:root {
  --canvas: #eef2f8;
  --paper: #ffffff;
  --navy: #17334d;
  --muted: #586d80;
  --line: #dbe5ed;
  --teal: #087a76;
  --teal-soft: #e4f5f1;
  --green: #187344;
  --green-soft: #e5f5eb;
  --green-line: #aedcc2;
  --amber: #96500c;
  --amber-soft: #fff2df;
  --amber-line: #efce9b;
  --red: #b73549;
  --red-soft: #ffedf0;
  --red-line: #f2bbc6;
  --blue: #225bbc;
  --blue-soft: #eaf1ff;
  --blue-line: #b7cdf6;
  --purple: #6943b5;
  --purple-soft: #f2ecff;
  --purple-line: #d5c3f1;
  --chart-input: #3479c9;
  --chart-output: #8054c0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--navy);
  background: var(--canvas);
  font-synthesis: none;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.device-row-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.device-row-actions .button { padding:8px 12px; font-size:12px; }
.device-management-summary { margin-top:10px; font-size:12px; color:var(--muted); }
.device-dialog { width:min(720px,calc(100vw - 32px)); max-height:90vh; overflow:auto; padding:26px; border:1px solid var(--line); border-radius:14px; color:var(--navy); background:var(--paper); box-shadow:0 20px 70px #17334d26; }
.device-dialog::backdrop { background:#10284280; }
.device-dialog-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; }
.device-dialog-heading h2 { font-size:20px; overflow-wrap:anywhere; }
.device-dialog-heading label { display:flex; align-items:center; gap:10px; font-size:12px; color:var(--muted); }
.device-dialog select { max-width:100%; min-height:42px; border:1px solid var(--line); border-radius:7px; padding:8px 12px; color:var(--navy); background:var(--paper); font:inherit; }
.device-dialog select:focus-visible { outline:3px solid #397ec2; outline-offset:3px; }
.device-dialog-message { margin:18px 0; color:var(--muted); }
.device-dialog-message.is-error { color:var(--red); }
.device-dialog-summary { margin-top:12px; font-variant-numeric:tabular-nums; }
.device-dialog-note { margin-top:12px; font-size:12px; color:var(--muted); }
.device-dialog-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; margin-top:24px; padding-top:18px; border-top:1px solid var(--line); }
.device-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:22px 0; }
.device-form-grid label { display:grid; gap:8px; color:var(--muted); font-size:13px; }
.device-form-grid select { width:100%; color:var(--navy); }
.device-config-status { padding:5px 10px; border-radius:6px; font-size:12px; background:var(--blue-soft); color:var(--blue); }
.device-config-status.is-good { background:var(--green-soft); color:var(--green); }
.device-config-status.is-error { background:var(--red-soft); color:var(--red); }
.environment-chart-section { border-top:1px solid var(--line); padding-top:14px; margin-top:18px; }
.environment-chart-section h3 { display:flex; align-items:center; gap:8px; font-size:14px; }
.environment-temperature-key,.environment-humidity-key { display:inline-block; width:20px; height:3px; background:var(--blue); }
.environment-humidity-key { background:var(--teal); }
.environment-chart { display:block; width:100%; height:auto; overflow:visible; }
.environment-temperature-line { stroke:var(--blue); stroke-width:2; stroke-linejoin:round; }
.environment-humidity-line { stroke:var(--teal); stroke-width:2; stroke-linejoin:round; }
.environment-temperature-dot { fill:var(--blue); }
.environment-humidity-dot { fill:var(--teal); }
.environment-chart circle:focus { outline:none; stroke:var(--navy); stroke-width:3; }
@media(max-width:600px) { .device-dialog { padding:18px; } .device-form-grid { gap:14px; } .device-dialog .chart-label { font-size:18px; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #397ec2; outline-offset: 4px; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
strong { font-weight: 650; }
button, input, .badge { border-radius: 7px; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 10; padding: 12px 20px; background: white; }
.skip-link:focus { top: 12px; }
.topbar { min-height: 80px; max-width: 1440px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 48px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; text-decoration: none; flex-shrink: 0; letter-spacing: -.4px; }
.brand-description { font-size: 15px; font-weight: 500; margin-left: 7px; letter-spacing: 0; }
.brand-symbol { display: grid; grid-template-columns: 8px 8px; gap: 4px; transform: rotate(-8deg); }
.brand-symbol i { width: 8px; height: 8px; background: var(--navy); border-radius: 2px; }
.brand-symbol i:nth-child(2) { background: var(--blue); }
.brand-symbol i:nth-child(3) { background: var(--purple); }
.brand-symbol i:last-child { background: var(--teal); }
.private-label { color: var(--muted); font-size: 12px; }
.toolbar { display: flex; align-items: center; gap: 10px; }
.refresh-state { font-size: 12px; color: var(--muted); margin-right: 8px; }
.button { min-height: 40px; padding: 9px 17px; border: 1px solid transparent; font-weight: 550; transition: background-color .15s; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: #18499e; }
.button-secondary { background: var(--blue-soft); border-color: var(--blue-line); color: var(--blue); }
.button-secondary:hover { background: #dce8ff; }
.button-quiet { background: transparent; color: var(--muted); }
.button-quiet:hover { background: #dce7ef; color: var(--navy); }
main { max-width: 1440px; padding: 0 48px 28px; margin: 0 auto; }
.startup-panel { margin: 17vh auto; max-width: 440px; text-align: center; padding: 40px 20px; }
.startup-panel h1 { font-size: 24px; margin: 18px 0 8px; }
.startup-panel p { color: var(--muted); margin-bottom: 20px; }
.loading-ring { display: inline-block; width: 32px; height: 32px; border: 3px solid #c9dce6; border-top-color: var(--teal); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.login-layout { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; background: white; min-height: 550px; max-width: 1100px; margin: 50px auto; border-radius: 20px; border: 1px solid #d8e4ec; }
.login-story { padding: 58px 52px 36px; background: #193a54; color: white; position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.story-mark { display: flex; align-items: flex-end; height: 45px; gap: 6px; margin-bottom: 39px; }
.story-mark span { display: block; width: 8px; border-radius: 3px; background: #5fc1b8; }
.story-mark span:nth-child(1) { height: 16px; }.story-mark span:nth-child(2) { height: 27px; }.story-mark span:nth-child(3) { height: 40px; }.story-mark span:nth-child(4) { height: 30px; }
.login-story h1 { font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -1px; line-height: 1.55; margin-bottom: 21px; }
.login-story > p { color: #c0d4e2; font-size: 14px; line-height: 1.9; max-width: 330px; }
.story-topics { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 30px; color: #d7e6ee; font-size: 12px; }
.story-topics span { border-left: 2px solid #5fc1b8; padding-left: 8px; }
.story-footer { margin-top: auto; padding-top: 48px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: #aac2d3; }
.small-rule { width: 24px; height: 1px; background: #89a9bc; }
.login-form-wrap { padding: 60px 52px 36px; align-self: center; }
.login-emblem { display: none; }
.login-heading h2 { font-size: 27px; letter-spacing: -.7px; margin-bottom: 10px; }
.login-heading p { color: var(--muted); line-height: 1.8; margin-bottom: 30px; }
#login-form { display: flex; flex-direction: column; }
#login-form label { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
#login-form input { width: 100%; min-width: 0; height: 46px; border: 1px solid #c5d3de; background: #fafcfe; color: var(--navy); padding: 10px 13px; margin-bottom: 22px; font-size: 16px; }
.login-button { width: 100%; margin-top: 4px; height: 46px; }
.form-error { color: var(--red); background: var(--red-soft); padding: 11px 13px; margin-bottom: 14px; border-radius: 6px; font-size: 13px; }
.login-note { font-size: 12px; color: var(--muted); margin-top: 24px; line-height: 1.8; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 27px 0 30px; }
.page-heading h1 { font-size: 32px; font-weight: 650; letter-spacing: -1px; margin-bottom: 7px; }
.page-heading p { color: var(--muted); font-size: 13px; }
.snapshot-time { display: grid; justify-items: end; font-size: 11px; color: var(--muted); line-height: 1.9; flex-shrink: 0; }
.snapshot-time strong { color: var(--navy); font-size: 13px; font-variant-numeric: tabular-nums; }
.notice { border: 1px solid #e5c984; border-left: 4px solid #b57913; background: var(--amber-soft); color: #754e0c; border-radius: 8px; padding: 13px 17px; margin-bottom: 20px; line-height: 1.75; }
.notice.is-error { background: var(--red-soft); color: #8c3032; border-color: #e5b5b7; border-left-color: var(--red); }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.details-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 22px; margin-top: 22px; align-items: start; }
.panel { --panel-accent: var(--navy); --panel-tint: #f5f8fc; background: var(--paper); border: 1px solid #d8e3eb; border-top: 3px solid var(--panel-accent); border-radius: 13px; min-width: 0; overflow: hidden; }
.quota-panel { --panel-accent: var(--teal); --panel-tint: #f0faf6; }
.devices-panel { --panel-accent: var(--blue); --panel-tint: #f0f5ff; }
.tokens-panel { --panel-accent: var(--purple); --panel-tint: #f7f3ff; }
.sites-panel { --panel-accent: var(--amber); --panel-tint: #fff8ed; }
.panel-heading { padding: 22px 26px 18px; margin-bottom: 18px; background: var(--panel-tint); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.panel-heading h2 { color: var(--panel-accent); }
.panel-heading h2 { font-size: 18px; font-weight: 650; margin-bottom: 4px; letter-spacing: -.3px; }
.panel-heading p { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.badge { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; padding: 4px 8px; border: 1px solid #d2dbe4; font-size: 11px; font-weight: 650; background: #edf1f5; color: #526579; }
.badge::before { content: ""; width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.badge.is-good { background: var(--green-soft); color: var(--green); border-color: var(--green-line); }
.badge.is-waiting { background: var(--blue-soft); color: var(--blue); border-color: var(--blue-line); }
.badge.is-waiting::before { background: transparent; }
.badge.is-info { background: var(--purple-soft); color: var(--purple); border-color: var(--purple-line); }
.badge.is-warning { background: var(--amber-soft); color: var(--amber); border-color: var(--amber-line); }
.badge.is-error { background: var(--red-soft); color: var(--red); border-color: var(--red-line); }
.quota-windows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 5px 26px 25px; gap: 30px; }
.quota-window { min-width: 0; }
.quota-window h3 { font-size: 13px; font-weight: 500; color: var(--muted); }
.quota-value { font-size: 45px; line-height: 1.3; letter-spacing: -1.8px; font-weight: 600; margin-top: 5px; font-variant-numeric: tabular-nums; }
.quota-value .value-unit { font-size: 18px; margin-left: 3px; letter-spacing: 0; font-weight: 450; }
.quota-value.is-unknown { font-size: 29px; line-height: 1.95; letter-spacing: 0; color: var(--muted); }
.quota-window meter { width: 100%; height: 8px; margin: 12px 0 14px; display: block; border: none; background: #e7eef3; border-radius: 4px; }
.quota-window meter::-webkit-meter-bar { border: none; background: #e7eef3; border-radius: 4px; height: 8px; }
.quota-window meter::-webkit-meter-optimum-value { background: var(--teal); border-radius: 4px; }
.quota-window meter::-moz-meter-bar { background: var(--teal); }
.quota-window meter.is-warning::-webkit-meter-optimum-value { background: #b98423; }
.quota-window meter.is-warning::-moz-meter-bar { background: #b98423; }
.quota-window meter.is-stale::-webkit-meter-optimum-value { background: #8194a3; }
.quota-window meter.is-stale::-moz-meter-bar { background: #8194a3; }
.quota-reset { font-size: 11px; color: var(--muted); line-height: 1.8; }
.quota-reset time { display: block; font-variant-numeric: tabular-nums; color: var(--navy); font-size: 12px; }
.reset-cards { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #fff6e6; border: 1px solid #f2dfba; margin: 0 26px; padding: 17px 18px; border-radius: 8px; }
.reset-count { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.reset-count > span:first-child { flex-basis: 100%; margin-bottom: -5px; }
.reset-count strong { font-size: 28px; color: var(--amber); line-height: 1.4; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.reset-expiry { text-align: right; font-size: 12px; line-height: 1.8; }
.reset-expiry span { font-size: 11px; color: var(--muted); }
.panel-footnote { padding: 16px 26px 19px; color: var(--muted); font-size: 10px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; }
.panel-footnote span { overflow-wrap: anywhere; }
.device-glyph { width: 28px; height: 22px; border: 2px solid #b6ccd9; border-radius: 4px; position: relative; margin-top: 3px; }
.device-glyph::after { content: ""; position: absolute; width: 12px; height: 2px; background: #b6ccd9; bottom: -6px; left: 6px; }
.device-summary { padding: 0 26px 17px; display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: 12px; }
.device-summary strong { font-size: 38px; line-height: 1.4; color: var(--navy); font-weight: 600; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.device-summary strong.is-good { color: var(--green); }
.device-list { list-style: none; padding: 0 26px; margin: 0; }
.device-row { border-top: 1px solid var(--line); padding: 15px 0; }
.device-row-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.device-name { min-width: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 600; }
.device-last { color: var(--muted); font-size: 11px; line-height: 1.9; margin-top: 8px; overflow-wrap: anywhere; }
.device-last time { font-variant-numeric: tabular-nums; }
.device-environment { margin-top: 14px; padding: 14px; background: #f6f9fd; border: 1px solid #e0e9f2; border-radius: 8px; min-width: 0; }
.environment-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.environment-title { color: var(--muted); font-size: 11px; font-weight: 550; }
.environment-readings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 15px 0 10px; }
.environment-metric { min-width: 0; }
.environment-metric dt { color: var(--muted); font-size: 11px; }
.environment-metric dd { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 4px; margin: 3px 0 0; }
.environment-metric strong { color: var(--blue); font-size: clamp(23px, 2vw, 29px); line-height: 1.4; font-variant-numeric: tabular-nums; }
.environment-metric.is-previous strong { color: #61768a; }
.environment-metric strong.is-unknown { font-size: 20px; color: var(--muted); }
.environment-unit { color: var(--muted); font-size: 10px; }
.environment-sampled, .environment-attempt { color: var(--muted); font-size: 10px; line-height: 1.9; overflow-wrap: anywhere; }
.environment-sampled time { display: block; font-variant-numeric: tabular-nums; }
.environment-attempt { margin-top: 5px; color: #8e4d13; }
.environment-explanation { display: block; margin-top: 4px; }
body[data-view="share"] .environment-explanation { display: none; }
.device-explanation { background: #f4f7ff; color: var(--muted); padding: 14px 26px 17px; font-size: 10px; line-height: 1.9; border-top: 1px solid #edf2f6; }
.site-table-wrap { padding: 0 26px; }
.site-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.site-table th { font-size: 10px; font-weight: 500; color: var(--muted); text-align: left; background: #f2f6f9; padding: 9px 10px; }
.site-table th:first-child { width: 46%; border-radius: 5px 0 0 5px; }
.site-table th:nth-child(2) { width: 29%; }
.site-table th:last-child { width: 25%; border-radius: 0 5px 5px 0; text-align: right; }
.site-table td { padding: 13px 10px; border-bottom: 1px solid #edf2f6; vertical-align: middle; }
.site-table tr:last-child td { border-bottom: none; }
.site-table tbody tr:hover { background: #fffaf2; }
.site-name { font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.site-sampled { font-size: 10px; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.site-latency { text-align: right; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.site-latency span { font-size: 10px; color: var(--muted); margin-left: 3px; }
.table-note { padding: 12px 26px 19px; color: var(--muted); font-size: 10px; }
.token-total { padding: 0 26px 23px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; font-size: 11px; color: var(--muted); }
.token-total > span:first-child { flex-basis: 100%; }
.token-total strong { font-size: clamp(28px, 3.1vw, 42px); font-weight: 600; line-height: 1.3; letter-spacing: -1px; color: var(--navy); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; max-width: 100%; }
.token-breakdown { margin: 0 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 11px 15px; font-size: 12px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.token-breakdown dt { color: var(--muted); }.token-breakdown dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.token-breakdown dt.is-subset { padding-left: 12px; font-size: 11px; }.token-breakdown dd.is-subset { font-size: 11px; }
.token-breakdown .metric-input_tokens { color: var(--blue); }
.token-breakdown .metric-cached_input_tokens { color: var(--teal); }
.token-breakdown .metric-output_tokens { color: var(--purple); }
.token-breakdown .metric-reasoning_output_tokens { color: var(--amber); }
.token-coverage { padding: 16px 26px 5px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.token-update { padding: 0 26px 21px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.empty-state { color: var(--muted); padding: 18px 0; font-size: 13px; line-height: 1.8; }
.quota-windows > .empty-state { grid-column: 1 / -1; min-height: 145px; display: flex; align-items: center; }
.dashboard-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 24px 1px 0; font-size: 10px; color: var(--muted); }
.details-grid { grid-template-columns: minmax(0, 1fr); }
.panel-heading-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.panel-action { min-height: 33px; font-size: 11px; padding: 6px 11px; white-space: nowrap; }
.device-refresh-notice { margin: 0 26px 14px; color: var(--blue); background: var(--blue-soft); border-radius: 6px; padding: 9px 11px; font-size: 10px; line-height: 1.8; }
.device-refresh-notice.is-error { background: var(--red-soft); color: var(--red); }
.site-manager { width: min(700px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #cbd9e3; border-radius: 15px; background: var(--paper); color: var(--navy); box-shadow: 0 22px 80px #12334d33; }
.site-manager::backdrop { background: #0d294e6b; }
.site-manager-heading { padding: 25px 28px 12px; }.site-manager-heading h2 { font-size: 24px; margin-bottom: 8px; }.site-manager-heading p { font-size: 12px; color: var(--muted); line-height: 1.9; }
.site-manager-message { margin: 0 28px 14px; font-size: 12px; line-height: 1.8; color: var(--muted); }.site-manager-message.is-error { color: var(--red); background: var(--red-soft); padding: 10px 12px; border-radius: 6px; }
.site-editor-list { list-style: none; padding: 0 28px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.site-editor-row { padding: 15px; background: #f3f7fa; border: 1px solid #dce6ee; border-radius: 9px; }
.site-editor-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; margin-bottom: 13px; }
.site-editor-actions { display: flex; gap: 4px; }.site-editor-actions .button { min-height: 30px; padding: 4px 9px; font-size: 11px; }.danger-button { color: var(--red); background: var(--red-soft); border-color: var(--red-line); }
.danger-button:hover { color: var(--red); background: #fadde3; }
.site-editor-field { display: flex; flex-direction: column; font-size: 11px; color: var(--muted); margin-top: 10px; gap: 6px; }
.site-editor-field input { width: 100%; min-width: 0; border: 1px solid #c4d3df; background: white; color: var(--navy); min-height: 40px; padding: 8px 11px; font-size: 14px; }
.site-manager-add { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 18px 28px 12px; }.site-manager-add span { font-size: 11px; color: var(--muted); }
.site-manager-help { margin: 0 28px 18px; color: var(--muted); font-size: 11px; line-height: 1.9; }.site-reload { margin: 0 28px 18px; }
.site-manager-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 28px; border-top: 1px solid var(--line); background: #fbfdfe; position: sticky; bottom: 0; }
@media (max-width: 580px) { .device-refresh-notice { margin-left: 20px; margin-right: 20px; }.site-manager { max-height: calc(100dvh - 24px); width: calc(100% - 24px); border-radius: 11px; }.site-manager-heading { padding: 22px 18px 12px; }.site-manager-heading h2 { font-size: 22px; }.site-manager-message { margin-left: 18px; margin-right: 18px; }.site-editor-list { padding: 0 18px; }.site-editor-row { padding: 12px; }.site-editor-actions .button { padding: 5px 7px; }.site-editor-field input { font-size: 16px; }.site-manager-add { padding: 18px 18px 12px; }.site-manager-add span { font-size: 10px; }.site-manager-help { margin-left: 18px; margin-right: 18px; }.site-manager-footer { padding: 14px 18px; }.site-reload { margin-left: 18px; margin-right: 18px; }.panel-heading-actions { gap: 7px; }.panel-heading-actions { flex-direction: column; align-items: flex-end; } }
.tokens-panel { order: -1; }
.account-panel { order: -2; --panel-accent: var(--blue); --panel-tint: #f0f5ff; }
.account-stats { display: grid; grid-template-columns: 1.25fr 1.25fr 1fr .9fr .9fr; margin: 0 26px 24px; border-bottom: 1px solid var(--line); padding-bottom: 22px; gap: 20px; }
.account-stat { min-width: 0; border-left: 2px solid var(--blue-line); padding-left: 13px; }
.account-stat:nth-child(2) { border-color: var(--purple-line); }.account-stat:nth-child(3) { border-color: var(--green-line); }.account-stat:nth-child(4) { border-color: var(--amber-line); }
.account-stat dt { font-size: 12px; color: var(--muted); }
.account-stat dd { margin: 9px 0 4px; font-size: clamp(18px, 1.6vw, 24px); font-weight: 650; line-height: 1.5; font-variant-numeric: tabular-nums; color: var(--blue); overflow-wrap: anywhere; }
.account-stat:nth-child(2) dd { color: var(--purple); }.account-stat:nth-child(3) dd { color: var(--green); }.account-stat:nth-child(4) dd { color: var(--amber); }
.account-stat .account-stat-detail { font-size: 10px; color: var(--muted); font-weight: 400; margin: 0; }
.account-trend-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 0 26px 17px; }
.account-trend-heading h3 { font-size: 14px; font-weight: 650; }.account-trend-heading p { font-size: 11px; color: var(--muted); margin-top: 5px; }
.account-ranges { display: flex; flex-wrap: wrap; gap: 5px; }
.account-range-button { border: 1px solid #c8d8ec; background: #f4f7fc; color: var(--blue); padding: 7px 12px; font-size: 11px; min-height: 36px; white-space: nowrap; }
.account-range-button:hover { background: #e4edfc; }.account-range-button[aria-pressed="true"] { color: white; background: var(--blue); border-color: var(--blue); }
.account-chart-wrap { padding: 0 22px; min-height: 160px; }.account-chart { display: block; width: 100%; overflow: visible; }
.account-chart-bar { fill: var(--blue); }.account-chart-zero { stroke: var(--blue); stroke-width: 2; }
.account-chart-note { font-size: 10px; color: var(--muted); padding: 4px 26px 16px; line-height: 1.9; }
.account-updates { padding: 0 26px 15px; display: flex; flex-wrap: wrap; gap: 5px 24px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.account-daily-details { margin: 0 26px; padding: 14px 0; border-top: 1px solid var(--line); }
.account-daily-details summary { cursor: pointer; width: fit-content; color: var(--blue); font-size: 12px; }
.account-daily-details summary:focus-visible { outline: 3px solid #397ec2; outline-offset: 4px; }
.account-daily-table-wrap { margin-top: 14px; max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: 7px; }
.account-daily-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; font-variant-numeric: tabular-nums; }
.account-daily-table th { text-align: left; font-weight: 550; color: var(--muted); background: #f0f5ff; position: sticky; top: 0; }
.account-daily-table th, .account-daily-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.account-daily-table th:first-child { width: 38%; }.account-daily-table th:last-child, .account-daily-table td:last-child { text-align: right; }
.account-daily-table tr:last-child td { border-bottom: 0; }
.account-explanation { border-top: 1px solid var(--line); background: #f5f8ff; padding: 13px 26px 16px; font-size: 10px; color: var(--muted); line-height: 1.9; }
.account-notice { margin: 0 26px 18px; background: var(--amber-soft); color: var(--amber); padding: 10px 13px; font-size: 12px; line-height: 1.8; border-radius: 7px; }
.account-notice.is-error { background: var(--red-soft); color: var(--red); }.account-retry { margin: 0 26px 18px; }
@media (max-width: 1050px) { .account-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }.account-stat { grid-column: span 2; }.account-stat:nth-child(-n+2) { grid-column: span 3; }.account-trend-heading { flex-direction: column; } }
@media (max-width: 580px) { .account-stats { margin: 0 20px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }.account-stat, .account-stat:nth-child(-n+2) { grid-column: auto; }.account-stat:last-child { grid-column: 1 / -1; }.account-stat dd { font-size: 19px; }.account-stat dt { font-size: 11px; }.account-trend-heading { padding: 0 20px 14px; width: 100%; }.account-ranges { width: 100%; }.account-range-button { flex: 1 0 auto; padding: 7px 8px; }.account-chart-wrap { padding: 0 9px; min-height: 130px; }.account-chart { min-height: 130px; }.account-chart-note, .account-updates, .account-explanation { padding-left: 20px; padding-right: 20px; }.account-daily-details { margin-left: 20px; margin-right: 20px; }.account-daily-table td, .account-daily-table th { padding: 10px; }.account-notice { margin-left: 20px; margin-right: 20px; }.account-retry { margin-left: 20px; margin-right: 20px; } }
.token-windows { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 26px 18px; }
.token-window-button { border: 1px solid #d9e3eb; background: #f5f8fa; color: var(--muted); font-size: 12px; padding: 7px 14px; min-height: 36px; }
.token-window-button:hover { background: var(--purple-soft); color: var(--purple); border-color: var(--purple-line); }
.token-window-button[aria-pressed="true"] { color: white; background: var(--purple); border-color: var(--purple); }
.token-history-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); padding: 5px 0 0; }
.token-chart-column { min-width: 0; }
.token-metrics-column { min-width: 0; padding-top: 12px; border-left: 1px solid var(--line); }
.token-chart-wrap { padding: 0 22px; min-height: 140px; }
.token-chart { width: 100%; display: block; overflow: visible; }
.chart-grid { stroke: #e1e9ef; stroke-width: 1; }
.chart-label { fill: #60778b; font-size: 11px; font-variant-numeric: tabular-nums; }
.chart-input { fill: var(--chart-input); }
.chart-output { fill: var(--chart-output); }
.chart-zero { stroke: var(--purple); stroke-width: 2; }
.chart-empty { fill: var(--muted); font-size: 13px; }
.chart-legend { display: flex; gap: 18px; padding: 0 26px 12px; font-size: 11px; color: var(--muted); }
.chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend span::before { content: ""; display: block; width: 9px; height: 9px; border-radius: 2px; background: var(--chart-input); }
.chart-legend .output-legend::before { background: var(--chart-output); }
.chart-note { font-size: 10px; color: var(--muted); padding: 4px 26px 12px; }
.token-ratios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 26px 0; }
.token-ratio { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 13px; border-radius: 8px; background: var(--teal-soft); }
.token-ratio strong { color: var(--teal); }
.token-ratio:nth-child(2) { background: var(--purple-soft); }
.token-ratio:nth-child(2) strong { color: var(--purple); }
.token-ratio > span { color: var(--muted); font-size: 11px; }.token-ratio strong { font-size: 25px; font-variant-numeric: tabular-nums; }.token-ratio small { color: var(--muted); font-size: 10px; }
.token-notice { margin: 0 26px 16px; padding: 10px 13px; border-radius: 7px; color: #6d531c; background: var(--amber-soft); font-size: 12px; line-height: 1.8; }
.token-notice.is-error { color: var(--red); background: var(--red-soft); }
.token-retry { margin: 0 26px 17px; }
.tokens-panel .token-update { padding-bottom: 5px; }
.token-retention { color: var(--muted); font-size: 10px; padding: 0 26px 20px; line-height: 1.8; }
.token-source-details { border-top: 1px solid var(--line); padding: 13px 26px 16px; }
.token-source-details summary { cursor: pointer; font-size: 12px; color: var(--muted); width: fit-content; }
.token-source-details summary:focus-visible { outline: 3px solid #397ec2; outline-offset: 4px; }
.token-sources { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.token-source { padding: 13px 0; border-bottom: 1px solid #edf2f6; }
.token-source-heading { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.token-source-heading strong { font-size: 12px; overflow-wrap: anywhere; min-width: 0; }.token-source p { color: var(--muted); font-size: 10px; margin-top: 6px; }
@media (max-width: 800px) { .token-history-grid { grid-template-columns: 1fr; }.token-metrics-column { border-left: none; }.token-ratios { margin-bottom: 12px; }.token-sources { grid-template-columns: 1fr; } }
@media (max-width: 580px) { .token-windows { padding: 0 20px 17px; gap: 5px; }.token-window-button { font-size: 11px; padding: 7px 9px; flex: 1 0 27%; }.token-chart-wrap { padding: 0 10px; }.token-ratios { margin-left: 20px; margin-right: 20px; }.chart-legend, .chart-note { padding-left: 20px; padding-right: 20px; }.token-notice { margin-left: 20px; margin-right: 20px; }.token-retry { margin-left: 20px; }.token-retention { padding-left: 20px; padding-right: 20px; }.token-source-details { padding-left: 20px; padding-right: 20px; }.token-chart { min-height: 135px; } }
@media (min-width: 1600px) { .topbar, main { max-width: 1500px; } }
@media (max-width: 1050px) { .topbar { padding: 20px 28px; } main { padding-left: 28px; padding-right: 28px; } .overview-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 18px; }.details-grid { gap: 18px; }.panel-heading { padding: 22px 22px 18px; }.quota-windows { padding-left: 22px; padding-right: 22px; gap: 20px; }.login-form-wrap { padding: 46px 34px; }.login-story { padding-left: 36px; padding-right: 36px; }.refresh-state { display: none; } }
@media (max-width: 800px) { .overview-grid, .details-grid { grid-template-columns: 1fr; }.details-grid { margin-top: 18px; }.device-summary { padding-bottom: 12px; }.device-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }.device-list:has(.device-row:only-child) { grid-template-columns: 1fr; }.login-layout { grid-template-columns: 1fr 1fr; margin-top: 25px; min-height: 500px; }.login-story { padding: 40px 28px 30px; }.login-story h1 { font-size: 28px; }.login-form-wrap { padding: 38px 28px; }.story-topics { gap: 12px; }.token-total strong { font-size: 42px; } }
@media (max-width: 580px) { .topbar { min-height: 72px; padding: 18px 18px; gap: 8px; }.brand { font-size: 18px; gap: 10px; }.brand-description { font-size: 12px; margin-left: 3px; }.toolbar { gap: 3px; }.toolbar .button { min-height: 38px; padding: 8px 10px; font-size: 12px; }.private-label { font-size: 11px; }main { padding: 0 16px 24px; }.page-heading { padding: 18px 2px 22px; align-items: flex-start; flex-direction: column; gap: 16px; }.page-heading h1 { font-size: 28px; }.page-heading p { font-size: 12px; max-width: 290px; line-height: 1.9; }.snapshot-time { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 10px; }.snapshot-time strong { font-size: 11px; }.notice { padding: 11px 13px; font-size: 12px; }.panel-heading { padding: 20px 20px 17px; }.panel-heading h2 { font-size: 17px; }.panel-heading p { font-size: 11px; }.quota-windows { padding: 2px 20px 22px; gap: 20px; }.quota-value { font-size: 38px; }.quota-reset, .quota-reset time { font-size: 10px; }.reset-cards { margin: 0 20px; padding: 14px; gap: 10px; }.reset-expiry { font-size: 10px; }.reset-expiry span { font-size: 10px; }.reset-count { font-size: 10px; flex-shrink: 0; }.reset-count strong { font-size: 26px; }.panel-footnote { padding: 14px 20px 18px; font-size: 9px; }.device-summary { padding-left: 20px; padding-right: 20px; }.device-list { display: block; padding: 0 20px; }.device-explanation { padding-left: 20px; padding-right: 20px; }.site-table-wrap { padding: 0 13px; }.site-table th, .site-table td { padding-left: 7px; padding-right: 7px; }.site-table th:first-child { width: 43%; }.site-table th:nth-child(2) { width: 32%; }.site-name { font-size: 12px; }.site-sampled { font-size: 9px; }.site-latency { font-size: 12px; }.badge { font-size: 10px; gap: 5px; padding: 4px 6px; }.table-note { padding-left: 20px; padding-right: 20px; }.token-total { padding-left: 20px; padding-right: 20px; }.token-breakdown { margin-left: 20px; margin-right: 20px; }.token-coverage, .token-update { padding-left: 20px; padding-right: 20px; }.dashboard-footer { padding: 20px 3px 0; font-size: 9px; }.login-layout { display: flex; flex-direction: column; border-radius: 14px; margin: 16px 0; }.login-story { padding: 29px 28px; }.story-mark, .story-footer, .story-topics { display: none; }.login-story h1 { font-size: 25px; line-height: 1.5; margin-bottom: 12px; }.login-story > p { font-size: 12px; max-width: 280px; }.login-form-wrap { width: 100%; padding: 30px 28px 28px; }.login-heading h2 { font-size: 23px; }.login-heading p { font-size: 12px; margin-bottom: 24px; }.login-note { font-size: 11px; margin-top: 18px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

/* The activity calendar follows the supplied graphite-and-blue reference. */
.token-activity { margin: 0 26px 28px; padding: 24px; background: #191c21; border: 1px solid #292f38; border-radius: 12px; color: #eaf0f7; }
.activity-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.activity-heading h3 { margin: 0; font-size: 18px; font-weight: 650; color: #f5f7fb; }
.activity-heading p { margin: 8px 0 0; font-size: 11px; color: #aebbc9; font-variant-numeric: tabular-nums; }
.activity-controls { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.activity-period-label { display: flex; align-items: center; gap: 9px; color: #aebbc9; font-size: 11px; }
.activity-period-label select { color: #eaf0f7; background: #252b34; border: 1px solid #455266; border-radius: 6px; padding: 7px 9px; min-height: 34px; font: inherit; font-size: 12px; }
.activity-modes { display: flex; gap: 16px; }
.activity-mode { border: 0; padding: 7px 0; background: transparent; color: #aebbc9; font: inherit; font-size: 13px; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.activity-mode:hover { color: #fff; }.activity-mode[aria-pressed="true"] { color: #fff; border-bottom-color: #68b8ff; font-weight: 650; }
.activity-scroll { overflow-x: auto; padding: 3px 3px 10px; scrollbar-color: #53647b #252b34; }
.activity-calendar { --activity-columns: 53; --activity-rows: 7; min-width: 700px; }
.activity-months { display: grid; grid-template-columns: repeat(var(--activity-columns),minmax(0,1fr)); gap: 4px; margin-left: 23px; font-size: 11px; color: #aebbc9; margin-bottom: 9px; min-height: 16px; }
.activity-months span { white-space: nowrap; }
.activity-grid { display: grid; grid-template-columns: 19px minmax(0,1fr); gap: 4px; }
.activity-weekdays { display: grid; grid-template-rows: repeat(7,1fr); color: #aebbc9; font-size: 9px; text-align: left; align-items: center; }
.activity-cells { display: grid; grid-auto-flow: column; grid-template-columns: repeat(var(--activity-columns),minmax(0,1fr)); grid-template-rows: repeat(var(--activity-rows),1fr); gap: 4px; }
.activity-cell { width: 100%; min-width: 0; aspect-ratio: 1; padding: 0; border: 1px solid transparent; border-radius: 4px; display: block; cursor: pointer; }
.activity-cell.is-padding { visibility: hidden; pointer-events: none; }.activity-cell.is-missing,.legend-swatch.is-missing { background: #34383f; }
.activity-cell.is-zero,.legend-swatch.is-zero { background: #1c2838; border-color: #8c9fb7; }
.activity-cell.level-1,.legend-swatch.level-1 { background: #07436f; }.activity-cell.level-2,.legend-swatch.level-2 { background: #0869b0; }
.activity-cell.level-3,.legend-swatch.level-3 { background: #168de0; }.activity-cell.level-4,.legend-swatch.level-4 { background: #68b8ff; }
.activity-cell:hover { outline: 2px solid #e1efff; outline-offset: 0; }.activity-cell[aria-pressed="true"] { outline: 2px solid #fff; outline-offset: 1px; }
.token-activity :focus-visible { outline: 2px solid #b3d9ff; outline-offset: 3px; }
.activity-calendar.is-weekly .activity-weekdays { visibility: hidden; }
.activity-empty { text-align: center; color: #aebbc9; font-size: 12px; padding: 10px; }
.activity-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.activity-footer p { margin: 0; font-size: 11px; line-height: 1.7; color: #b7c4d3; overflow-wrap: anywhere; }
.activity-legend { display: flex; align-items: center; gap: 5px; color: #b7c4d3; font-size: 10px; white-space: nowrap; }
.legend-swatch { display: inline-block; width: 11px; height: 11px; border: 1px solid transparent; border-radius: 3px; }
.activity-selection { margin: 16px 0 0; min-height: 38px; padding: 10px 12px; background: #232a34; border-radius: 6px; color: #f0f5fc; font-size: 12px; line-height: 1.8; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.activity-explanation { margin: 10px 0 0; font-size: 10px; color: #aebbc9; line-height: 1.8; }
@media (max-width: 800px) { .activity-heading { flex-direction: column; gap: 12px; }.activity-controls { justify-content: space-between; width: 100%; gap: 12px; }.token-activity { padding: 20px; }.activity-calendar { min-width: 680px; } }
@media (max-width: 580px) { .token-activity { margin: 0 16px 22px; padding: 16px 14px; border-radius: 9px; }.activity-heading h3 { font-size: 17px; }.activity-controls { align-items: flex-start; flex-direction: column; gap: 8px; }.activity-modes { gap: 22px; }.activity-mode { min-height: 38px; }.activity-period-label select { font-size: 16px; }.activity-heading { margin-bottom: 16px; }.activity-selection { font-size: 11px; }.activity-footer { gap: 10px; } }

.reset-cards { display: block; background: #fcf8ef; padding: 18px; }
.reset-card-summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 15px; }
.reset-card-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; max-height: 440px; overflow-y: auto; }
.reset-credit-card { border: 1px solid #e2d3b2; border-top: 3px solid #bd9348; border-radius: 9px; background: #fff; padding: 14px; min-width: 0; }
.reset-credit-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px; color: #674f25; font-size: 12px; }
.reset-credit-tag { border-radius: 4px; padding: 3px 6px; background: #f7f0df; font-size: 10px; line-height: 1.6; color: #755217; }
.reset-credit-label { margin: 14px 0 6px; color: var(--muted); font-size: 10px; }
.reset-credit-date { display: block; margin: 0; color: var(--navy); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 650; line-height: 1.8; overflow-wrap: anywhere; }
.reset-credit-footnote { margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.reset-credit-card.is-soon { border-color: #e5c383; border-top-color: #be7b1d; background: #fff9ee; }.reset-credit-card.is-soon .reset-credit-tag { background: #fff0ce; color: #8c4b0b; }
.reset-credit-card.is-expired { border-color: #eeb9c1; border-top-color: var(--red); background: #fff5f5; }.reset-credit-card.is-expired .reset-credit-tag { color: var(--red); background: var(--red-soft); }
.reset-credit-card.is-never { border-color: #b7dacd; border-top-color: var(--green); }.reset-credit-card.is-never .reset-credit-tag { color: var(--green); background: var(--green-soft); }
.reset-credit-card.is-unknown { border-color: #c7d7eb; border-top-color: var(--blue); }.reset-credit-card.is-unknown .reset-credit-tag { color: var(--blue); background: var(--blue-soft); }
.reset-credit-card.is-stale .reset-credit-footnote { color: #8b602c; }
.reset-credit-placeholder { grid-column: 1/-1; border: 1px dashed #d7c6a5; background: #fffdf8; color: var(--muted); padding: 18px 14px; border-radius: 7px; font-size: 12px; line-height: 1.8; }
.reset-card-notice { font-size: 11px; color: #8b602c; line-height: 1.8; margin: 0 0 12px; }
.reset-card-source { margin: 12px 0 0; color: var(--muted); font-size: 9px; line-height: 1.7; overflow-wrap: anywhere; }
@media (max-width: 800px) { .reset-card-list { grid-template-columns: 1fr; }.reset-credit-date { font-size: 15px; } }
@media (max-width: 580px) { .reset-cards { padding: 14px; }.reset-card-summary { gap: 10px; }.reset-credit-card { padding: 13px; }.reset-credit-date { font-size: 14px; }.reset-card-list { max-height: 540px; } }

[data-view="share"] #share-manage-button, [data-view="share"] #logout-button, [data-view="share"] #site-manage-button, [data-view="share"] #device-refresh-button { display: none !important; }
.share-view-notice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 14px; padding: 14px 18px; margin-bottom: 22px; background: var(--purple-soft); color: var(--purple); border: 1px solid var(--purple-line); border-radius: 9px; font-size: 12px; line-height: 1.8; }
.share-view-notice strong { font-size: 14px; }.share-view-notice #share-view-expiry { margin-left: auto; font-size: 11px; font-variant-numeric: tabular-nums; }
.share-manager { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #c3d4e4; border-radius: 15px; background: var(--paper); color: var(--navy); box-shadow: 0 22px 80px #12334d33; }
.share-manager::backdrop { background: #0d294e6b; }
.share-manager-heading { padding: 25px 28px 16px; background: #f0f5ff; border-bottom: 1px solid var(--line); }.share-manager-heading h2 { font-size: 24px; color: var(--blue); margin: 0 0 7px; }.share-manager-heading p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.share-scope-note { margin: 19px 28px 17px; border-left: 3px solid var(--purple); padding: 2px 0 2px 13px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.share-manager-message { margin: 0 28px 16px; padding: 10px 12px; border-radius: 6px; color: var(--blue); background: var(--blue-soft); font-size: 12px; line-height: 1.8; }.share-manager-message.is-error { color: var(--red); background: var(--red-soft); }
.share-create-form { margin: 0 28px 24px; padding: 18px; background: #f5f8fc; border: 1px solid var(--line); border-radius: 9px; }
.share-create-fields { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; }
.share-field { display: flex; flex-direction: column; min-width: 0; gap: 7px; font-size: 12px; font-weight: 550; }
.share-field input, .share-field select { width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #bccedf; border-radius: 6px; background: white; color: var(--navy); font: inherit; font-size: 14px; font-weight: 400; }
.share-field input:disabled, .share-field select:disabled { background: #edf2f7; color: var(--muted); }
.share-field small { font-size: 10px; font-weight: 400; color: var(--muted); line-height: 1.8; }.share-custom-field { margin-top: 16px; max-width: 340px; }
.share-manager select:focus-visible { outline: 3px solid #397ec2; outline-offset: 4px; }
.share-create-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 19px; }
.share-expiry-preview { color: var(--muted); font-size: 11px; line-height: 1.8; font-variant-numeric: tabular-nums; }.share-create-footer .button { flex-shrink: 0; font-size: 12px; }
.share-list-section { padding: 0 28px 22px; }.share-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }.share-list-heading h3 { font-size: 15px; font-weight: 650; margin-bottom: 5px; }.share-list-heading p { font-size: 11px; color: var(--muted); }
.share-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.share-row { padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: white; min-width: 0; }
.share-row-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }.share-row-heading strong { font-size: 13px; overflow-wrap: anywhere; min-width: 0; }
.share-row-date { font-size: 11px; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.8; }.share-row-remaining { font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.8; }
.share-link-input { display: block; width: 100%; min-width: 0; background: #f7f9fc; border: 1px solid #ccd9e6; color: var(--navy); padding: 10px; font-size: 11px; margin-top: 12px; }
.share-row-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }.share-row-actions .button { min-height: 34px; padding: 7px 12px; font-size: 11px; }
.share-preview { text-decoration: none; display: inline-flex; align-items: center; color: var(--blue); background: var(--blue-soft); border: 1px solid var(--blue-line); }.share-preview:hover { background: #dce8ff; }.share-preview[aria-disabled="true"] { opacity: .6; cursor: default; }
.share-manager-footer { display: flex; justify-content: flex-end; padding: 15px 28px; background: #f7faff; border-top: 1px solid var(--line); position: sticky; bottom: 0; }
@media (max-width: 580px) { .toolbar { flex-wrap: wrap; justify-content: flex-end; }.share-view-notice { padding: 12px 14px; gap: 5px 10px; font-size: 11px; }.share-view-notice #share-view-expiry { margin-left: 0; flex-basis: 100%; }.share-manager { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 11px; }.share-manager-heading { padding: 20px 18px 14px; }.share-manager-heading h2 { font-size: 22px; }.share-scope-note { margin: 17px 18px; font-size: 11px; }.share-manager-message { margin-left: 18px; margin-right: 18px; }.share-create-form { margin: 0 18px 22px; padding: 14px; }.share-create-fields { grid-template-columns: 1fr; gap: 14px; }.share-field input, .share-field select { font-size: 16px; }.share-custom-field { max-width: none; }.share-create-footer { align-items: stretch; flex-direction: column; gap: 12px; }.share-create-footer .button { align-self: flex-start; }.share-list-section { padding: 0 18px 20px; }.share-row { padding: 14px; }.share-manager-footer { padding: 13px 18px; } }
