@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/static/fonts/InterVariable.woff2') format('woff2');
}
:root {
  --bg: #fafafa; --surface: #ffffff; --fg: #111111; --muted: #6b6b6b;
  --line: #e5e5e5; --field: #8a8a8a; --primary: #2f6feb; --link: #1d4ed8;
  --success: #15803d; --error: #dc2626; --radius: 8px; --surface-radius: 12px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 10; padding: 12px 16px; border-radius: var(--radius); background: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 Inter, -apple-system, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: #dbeafe; color: var(--fg); }
a { color: var(--link); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h1 { font-size: 32px; line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; font-weight: 650; }
h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.02em; font-weight: 650; }
h3 { font-size: 16px; }
p + p { margin-top: 8px; }
.container { width: 100%; max-width: 808px; margin-inline: auto; padding-inline: 24px; min-width: 0; }
.wide { max-width: 1148px; }
.topnav { border-bottom: 1px solid var(--line); background: var(--surface); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; padding-block: 12px; }
.brand { display: inline-flex; min-height: 44px; align-items: center; }
.brand img { width: 112px; height: auto; display: block; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 14px; margin-left: auto; }
.nav-links a, .session-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover, .session-link:hover { color: var(--fg); text-decoration: underline; }
main { padding-block: 32px 48px; }
.account-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; overflow-wrap: anywhere; }
.account-identity { min-width: 0; }
.account-identity strong { font-size: 16px; font-weight: 600; }
.account-identity p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.membership { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; flex-shrink: 0; font-size: 14px; color: var(--muted); margin: 0; }
.account-nav { display: flex; flex-wrap: wrap; gap: 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 14px; }
.account-nav a { min-height: 48px; display: inline-flex; align-items: center; padding-block: 12px; border-bottom: 2px solid transparent; text-decoration: none; color: var(--muted); }
.account-nav a:hover { color: var(--fg); }
.account-nav a[aria-current="page"] { color: var(--link); font-weight: 600; border-bottom-color: var(--link); }
.section ~ .section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.section { min-width: 0; scroll-margin-top: 24px; }
.stack { display: grid; gap: 16px; min-width: 0; }
.stack > p + p { margin-top: 0; }
.helper { color: var(--muted); font-size: 14px; }
.error { color: var(--error); font-size: 14px; }
.success { color: var(--success); }
.notice { margin-block: 16px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, .button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--field); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; max-width: 100%; text-align: center; }
button:hover, .button:hover { border-color: var(--fg); background: var(--bg); }
.primary { border-color: var(--primary); background: var(--primary); color: #fff; }
.primary:hover { background: #255bc4; border-color: #255bc4; }
button:active, .button:active { filter: brightness(.94); }
button:disabled { cursor: wait; opacity: .65; }
input, select, textarea { min-height: 44px; border: 1px solid var(--field); border-radius: var(--radius); background: var(--surface); padding: 10px 12px; width: 100%; min-width: 0; caret-color: var(--link); }
textarea { min-height: 144px; resize: vertical; line-height: 1.5; }
textarea[aria-invalid="true"] { border-color: var(--error); }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset:disabled textarea, fieldset:disabled select { opacity: .7; }
.field-error:not(:empty) { margin-top: 8px; }
.field-hint { margin-top: 8px; }
.category-field { min-width: 0; }
details { min-width: 0; }
summary { min-height: 44px; cursor: pointer; padding-block: 10px; overflow-wrap: anywhere; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); flex: 0 0 7px; margin: 0 4px 4px 0; }
details[open] > summary::after { transform: rotate(225deg); margin-bottom: 0; }
summary:hover { color: var(--link); }
details[open] > summary { margin-bottom: 8px; }
.section-disclosure > summary { font-size: 16px; font-weight: 600; line-height: 1.5; }
.section-disclosure.section { padding-top: 0; }
.section-disclosure.section + .section-disclosure { margin-top: 0; padding-top: 0; }
.section-disclosure > summary { padding-block: 20px; }
.section-disclosure[open] { padding-bottom: 24px; }
.copy-block { display: grid; gap: 8px; min-width: 0; }
.copy-block textarea { height: 256px; font-size: 14px; }
.copy-button { min-height: 48px; }
.control-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.copy-status:empty { display: none; }
.connection-surface { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--surface-radius); padding: 32px 32px 16px; }
.connection-heading p { color: var(--muted); margin-top: 12px; max-width: 48ch; }
.connection-controls { min-width: 0; }
.connection-controls .copy-button { width: 100%; }
.connection-surface .copy-block { gap: 24px; }
.connection-surface details { border-top: 1px solid var(--line); }
.connection-surface summary { min-height: 52px; font-size: 14px; font-weight: 500; }
.connection-surface details[open] { padding-bottom: 16px; }
.connection-surface .copy-status:not(:empty):not(.sr-only) { margin-top: -8px; }
.feedback-section { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; }
.account-page .feedback-section { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 32px; }
.feedback-intro p { margin-top: 12px; max-width: 35ch; }
.feedback-compose { align-content: start; }
.feedback-compose > :empty { display: none; }
#feedback-receipt { padding-block: 8px; }
#feedback-receipt-text { overflow-wrap: anywhere; }
#feedback-status:not(:empty):not(.sr-only) { padding: 12px 0; border-top: 1px solid var(--line); }
.recovery-surface { padding-block: 32px; max-width: 60ch; }
code { font: 14px/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }
.manual-value { display: block; padding: 12px; background: var(--bg); border-radius: var(--radius); }
.quota { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 600px; margin: 0; }
.quota dt { color: var(--muted); font-size: 14px; }
.quota dd { display: grid; gap: 4px; margin: 8px 0 0; }
.quota strong { font-size: 24px; line-height: 1.3; font-weight: 650; font-variant-numeric: tabular-nums; }
.quota dd span { color: var(--muted); font-size: 14px; }
.activity-description { max-width: 75ch; }
.activity-surface { border: 1px solid var(--line); border-radius: var(--surface-radius); background: var(--surface); }
.activity-list { list-style: none; margin: 0; padding: 0; }
.activity-columns, .activity-entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; padding: 16px 24px; }
.activity-columns { padding-block: 14px; font-size: 14px; color: var(--muted); }
.activity-entry { border-top: 1px solid var(--line); }
.activity-entry > * { min-width: 0; }
.activity-action summary { font-weight: 500; }
.activity-action code { display: block; padding-bottom: 8px; }
.activity-facts, .activity-fact-headings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr) minmax(0, 1.2fr); gap: 16px; margin: 0; }
.activity-facts > div { min-width: 0; }
.activity-facts dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.activity-facts dd { display: flex; align-items: center; min-height: 44px; margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.activity-result { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid currentColor; border-radius: var(--radius); font-size: 14px; font-weight: 600; white-space: nowrap; }
.result-ok { color: var(--success); }
.result-error { color: var(--error); }
time, .numeric { font-variant-numeric: tabular-nums; }
.timestamp { display: flex; flex-direction: column; font-size: 14px; }
.message { white-space: pre-wrap; overflow-wrap: anywhere; }
.inbox { gap: 24px; }
.inbox-heading > p { margin-top: 12px; }
.inbox-heading > p + p { margin-top: 4px; }
.filters { display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.filters a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; border-radius: 5px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.filters a:hover { color: var(--fg); background: var(--bg); }
.filters a[aria-current="page"] { color: #fff; background: var(--primary); font-weight: 600; }
.inbox-caption { margin-top: -8px; }
.inbox-surface { border: 1px solid var(--line); border-radius: var(--surface-radius); background: var(--surface); }
.inbox-columns, .feedback-entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 160px; gap: 24px; padding: 24px; }
.inbox-columns { padding-block: 14px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.feedback-list { list-style: none; margin: 0; padding: 0; }
.feedback-entry + .feedback-entry { border-top: 1px solid var(--line); }
.feedback-entry > * { min-width: 0; }
.sender-email { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.sender time { color: var(--muted); margin-top: 8px; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.source-label { padding: 2px 6px; border-radius: 4px; background: var(--bg); color: var(--muted); }
.message-detail summary { display: block; padding: 0; }
.message-detail summary::after { display: none; }
.message-preview { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--fg); }
.read-label { display: flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--link); gap: 8px; }
.read-label::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-bottom: 3px; }
.message-detail[open] .read-label::after { transform: rotate(225deg); margin-bottom: 0; }
.message-detail summary:hover .read-label { text-decoration: underline; text-underline-offset: 3px; }
.when-open, details[open] .when-closed { display: none; }
details[open] .when-open { display: inline; }
.message-detail[open] .message-preview { display: none; }
.message-body { padding-top: 8px; }
.status-form { display: grid; gap: 8px; align-content: start; }
.status-form select { font-size: 14px; }
.mobile-status-label { display: none; }
.inbox-empty { border-block: 1px solid var(--line); padding: 40px 0; display: grid; justify-items: start; gap: 12px; }
.inbox-empty a { display: inline-flex; align-items: center; min-height: 44px; }
.result-notice { padding: 16px 0; border-block: 1px solid var(--line); margin: 0; }
.pagination { display: flex; align-items: center; gap: 16px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.pagination a { min-height: 44px; display: inline-flex; align-items: center; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: setup; }
.steps > li { counter-increment: setup; }
.steps h2::before { content: counter(setup) '. '; }
.steps + .section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.help-links { display: flex; flex-wrap: wrap; gap: 0 24px; padding: 0; margin: 0; list-style: none; }
.help-links a { min-height: 44px; display: inline-flex; align-items: center; }
footer { padding-block: 20px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.footer-links img { width: 106px; height: auto; }
@media (max-width: 760px) {
  .connection-surface { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .account-page .feedback-section { grid-template-columns: minmax(0, 1fr); padding-inline: 0; }
  .activity-columns { display: none; }
  .activity-entry { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px 20px; }
  .activity-entry:first-child { border-top: 0; }
  .activity-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .activity-facts > div:last-child { grid-column: 1 / -1; }
  .activity-facts dt { position: static; width: auto; height: auto; clip-path: none; white-space: normal; font-size: 14px; color: var(--muted); }
  .activity-facts dd { min-height: 36px; }
  .timestamp { flex-direction: row; flex-wrap: wrap; gap: 4px 8px; }
  .inbox-columns { display: none; }
  .feedback-entry { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; }
  .sender time { margin-top: 4px; }
  .status-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding-top: 16px; border-top: 1px solid var(--line); }
  .mobile-status-label { display: block; grid-column: 1 / -1; margin: 0; }
  .status-form select { grid-column: 1; }
}
@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .nav { column-gap: 16px; padding-block: 8px; }
  .nav-links { column-gap: 20px; order: 1; flex-basis: 100%; }
  main { padding-block: 24px 32px; }
  .account-summary { align-items: start; flex-wrap: wrap; gap: 8px 20px; }
  .account-nav { gap: 0 20px; }
  .connection-surface { padding: 24px 20px 8px; }
  .connection-surface .copy-button { width: 100%; padding-inline: 10px; }
  .feedback-section { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .feedback-intro p { max-width: none; }
  .inbox { gap: 20px; }
  .filters a { padding-inline: 12px; }
}
@media (max-width: 359px) {
  .filters { gap: 2px; flex-wrap: nowrap; width: 100%; justify-content: space-between; }
  .filters a { padding-inline: 4px; min-width: 44px; }
  .connection-surface { padding-inline: 16px; }
  .feedback-entry { padding-inline: 16px; }
  .activity-entry { padding-inline: 16px; }
}
