/* Astrona: calm workspaces, clear financial records, accessible controls. */
:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #253d38; background: #f5f6f2; font-synthesis: none;
  --ink: #253d38; --muted: #5d6d66; --accent: #235c4c; --accent-dark: #174332;
  --line: #dce3da; --paper: #fffefa; --soft: #eaf0e8; --gold: #85601f;
  --danger: #8a3a2e; --radius: 12px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button, a, input, select, summary { touch-action: manipulation; }
button, input, select, textarea { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
:is(input, select, textarea):focus-visible { outline-offset: 0; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 24px; padding: 12px 18px; border-radius: 7px; background: var(--accent-dark); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; color: white; }
.site-header, main, footer { width: min(1440px, calc(100% - 64px)); margin: auto; }
.site-header { position: sticky; top: 0; z-index: 30; background: #f5f6f2; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font: 600 29px Georgia, serif; letter-spacing: -1px; }
.brand:hover { text-decoration: none; }
.mark { display: grid; place-items: center; width: 36px; height: 40px; background: var(--accent); color: #fff5dc; border-radius: 12px 4px; font: italic 31px Georgia, serif; }
.language-form { display: flex; align-items: center; gap: 8px; }
.language-form label { font-size: 11px; color: var(--muted); }
.language-form select { min-height: 36px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-size: 12px; color: var(--ink); }
main { scroll-margin-top: 96px; min-height: calc(100vh - 165px); padding-bottom: 48px; }
.workspace-context { padding: 0 10px 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.workspace-context small { display: block; color: var(--muted); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px; }
.workspace-context strong { display: block; font-size: 14px; line-height: 1.5; }
.workspace-context a { display: inline-block; color: var(--muted); font-size: 11px; margin-top: 9px; }
.nav-group { margin-bottom: 14px; }
.nav-label { display: block; margin: 0 12px 9px; color: #78877f; font-size: 9px; text-transform: uppercase; letter-spacing: 1.3px; font-weight: 650; }
.nav-group a { display: flex; align-items: center; gap: 11px; min-height: 36px; padding: 8px 12px; margin: 2px 0; border-radius: 7px; color: #61736a; font-size: 12px; line-height: 1.4; }
.nav-group a:hover { background: #edf1e9; color: var(--accent); text-decoration: none; }
.nav-group .selected { background: #e0ebdf; color: var(--accent-dark); font-weight: 650; }
.nav-icon { display: inline-flex; align-items: center; flex: 0 0 17px; opacity: .8; }
.nav-icon svg { width: 17px; height: 17px; }
.page-head, .heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 38px 0 27px; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
h1 { font: normal 42px/1.13 Georgia, "Times New Roman", serif; letter-spacing: -1.3px; margin: 0 0 13px; overflow-wrap: anywhere; }
.lede { font-size: 13px; line-height: 1.75; color: var(--muted); max-width: 680px; margin: 0; }
h2 { font-size: 16px; font-weight: 650; letter-spacing: -.25px; margin: 0 0 20px; }
h3 { font-size: 14px; }
p { line-height: 1.65; }
.panel, .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin: 22px 0; padding: 26px; box-shadow: 0 3px 12px #17372703; min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 23px; }
.panel-head h2, .panel-title { margin: 0; }
.panel-description { color: var(--muted); font-size: 12px; line-height: 1.65; margin: 7px 0 0; max-width: 680px; }
.section-count { color: var(--muted); font-size: 11px; font-weight: 500; padding: 3px 8px; background: #f0f3ec; border-radius: 5px; font-variant-numeric: tabular-nums; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 4px 0 24px; }
.metric { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 23px; overflow: hidden; }
.metric::before { content: ""; position: absolute; width: 25px; height: 3px; background: #91aa8b; top: 0; left: 23px; border-radius: 0 0 2px 2px; }
.metric p { font-size: 11px; margin: 0 0 17px; color: var(--muted); }
.metric strong { display: block; font-size: clamp(20px, 2vw, 29px); letter-spacing: -.85px; font-weight: 550; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric span { display: block; font-size: 11px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.badge { display: inline-flex; align-items: center; white-space: nowrap; font-size: 10px; font-weight: 550; padding: 5px 8px; border-radius: 5px; background: #eef1e9; color: #52654e; line-height: 1.5; }
.badge.finalized, .badge.posted, .badge.active, .badge.completed, .badge.applied { background: #e4eee0; color: #396034; }
.badge.draft, .badge.queued, .badge.running { background: #faf0d8; color: #83611f; }
.badge.failed, .badge.void, .badge.cancelled, .badge.inactive { background: #f6e8e1; color: #904b39; }
.badge.archived, .badge.reversal { background: #eceeea; color: #677169; }
.workspace-form label, .book-form label, .auth-card label, .card label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: #465e50; font-weight: 550; line-height: 1.4; }
.workspace-form input:not([type=hidden]):not([type=checkbox]), .workspace-form select, .workspace-form textarea,
.book-form input:not([type=hidden]), .book-form select, .auth-card input, .card input:not([type=hidden]):not([type=checkbox]), .card select {
  width: 100%; min-width: 0; min-height: 43px; border: 1px solid #d4dfd1; border-radius: 6px; padding: 10px 12px; background: #fff; font-size: 13px; color: var(--ink); box-shadow: 0 1px 2px #253d3803;
}
input:focus, select:focus, textarea:focus { border-color: #7b9e77; }
input::placeholder, textarea::placeholder { color: #8a958e; }
input[aria-invalid=true] { border-color: #b7644d !important; }
input[type=checkbox] { accent-color: var(--accent); width: 17px; height: 17px; }
input[inputmode=decimal] { font-variant-numeric: tabular-nums; }
input[type=date], input[type=month] { color-scheme: light; }
.workspace-form > .button { margin-top: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; align-items: end; }
.form-grid > .button { margin: 0; }
.form-section { margin: 0; border: 0; padding: 0; min-width: 0; }
.form-section + .form-section { border-top: 1px solid var(--line); padding-top: 23px; margin-top: 25px; }
.form-section-title { font-size: 12px; font-weight: 650; margin: 0 0 17px; padding: 0; color: var(--ink); }
.form-actions, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.form-actions { border-top: 1px solid var(--line); padding-top: 20px; }
.form-actions .button { margin: 0; }
.actions form, .form-actions form { margin: 0; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 11px 19px; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 6px; font-size: 12px; line-height: 1.4; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; }
.button:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.button-quiet { background: var(--paper); color: var(--accent); border-color: #ced9c9; }
.button-quiet:hover { background: #eaf0e5; color: var(--accent); border-color: #afc3a8; }
.button-danger { color: var(--danger); border-color: #dfbbae; background: #fff8f3; }
.button-danger:hover { color: #fff; background: var(--danger); border-color: var(--danger); }
.text-button { display: inline-flex; align-items: center; min-height: 32px; border: 0; background: transparent; padding: 6px 3px; font-size: 12px; font-weight: 550; color: var(--accent); cursor: pointer; }
.text-button:hover { text-decoration: underline; }
button:disabled { opacity: .4; cursor: not-allowed; }
button:disabled:hover { text-decoration: none; }
.table-scroll { overflow-x: auto; overscroll-behavior-x: contain; border-radius: 6px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { font-size: 10px; color: #6c7a6d; text-transform: uppercase; letter-spacing: .75px; font-weight: 650; background: #f7f8f2; }
th, td { border-bottom: 1px solid #e6e9e0; padding: 14px 13px; vertical-align: middle; }
th { padding-top: 12px; padding-bottom: 12px; }
td { font-size: 12px; font-variant-numeric: tabular-nums; line-height: 1.55; }
tbody tr:hover { background: #fafbf6; }
tr:last-child td { border-bottom: 0; }
td form { display: inline-block; margin: 2px 8px 2px 0; }
td a { color: var(--accent); }
td .muted { margin: 4px 0 0; font-size: 10px; }
.number { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-actions { white-space: nowrap; text-align: right; }
.table-actions .text-button { font-size: 11px; }
.muted { font-size: 12px; color: var(--muted); line-height: 1.7; }
.empty-state { text-align: center; padding: 30px 20px; border: 1px dashed #dce3d4; border-radius: 8px; color: var(--muted); font-size: 13px; background: #fafbf6; margin: 15px 0 0; }
.errors, .error { margin: 20px 0; border: 1px solid #e3c5b4; border-left: 3px solid #b26343; background: #fff3e9; border-radius: 7px; padding: 17px 20px; color: #873e26; font-size: 13px; }
.errors p { margin: 7px 0 0; }
.field-error { font-size: 12px; color: var(--danger); margin: 3px 0; }
.callout { padding: 16px 19px; background: #f2f5ec; border: 1px solid #e0e7d7; border-radius: 8px; font-size: 12px; line-height: 1.7; color: #5a6e4f; }
.callout p { margin: 0; }
.callout strong { color: #395832; }
.setup-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 0 0 12px; margin-bottom: 5px; border-bottom: 1px solid var(--line); }
.setup-tabs a { font-size: 12px; padding: 10px 14px; border-radius: 6px; white-space: nowrap; color: var(--muted); }
.setup-tabs a:hover { background: #ebf0e6; text-decoration: none; }
.setup-tabs .selected { background: var(--accent); color: white; font-weight: 550; }
.share-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; margin: 16px 0; }
.book-form { display: grid; gap: 20px; margin-top: 26px; }
.book-form .form-field { display: grid; gap: 8px; }
.book-form .actions { margin-top: 2px; }
.form-page, .detail { max-width: 740px; margin: 45px auto; }
.form-page > .panel { margin-top: 28px; }
.back, .page-back { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 3px; padding: 5px 0; font-size: 12px; color: var(--muted); }

.page-head + .page-back { margin-bottom: 15px; }
.welcome-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1020px; }
.welcome-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 29px; position: relative; min-height: 225px; transition: border-color .15s, box-shadow .15s; }
.welcome-card:hover { border-color: #adc29e; box-shadow: 0 8px 22px #21482d08; }
.welcome-card h2 { font: 26px/1.3 Georgia, serif; margin: 22px 0 9px; }
.welcome-card p { font-size: 12px; color: var(--muted); }
.welcome-card .card-link { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--accent); font-size: 12px; font-weight: 600; }
.welcome-card .card-link::after { content: "↗"; font-size: 20px; }
.workspace-welcome { padding-top: 66px; padding-bottom: 40px; }
.auth-shell { display: grid; grid-template-columns: 1fr 1fr; max-width: 1030px; margin: 72px auto; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper); }
.auth-intro { padding: 55px 42px; background: #e8eee1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.auth-intro h2 { font: 36px/1.25 Georgia, serif; letter-spacing: -.7px; max-width: 360px; }
.auth-intro .lede { font-size: 13px; }
.auth-illustration { display: grid; gap: 11px; border: 1px solid #c5d2bc; border-radius: 12px; padding: 22px; background: #ffffff42; }
.auth-illustration span { display: block; height: 9px; background: #c2d3b8; border-radius: 5px; }
.auth-illustration span:first-child { width: 44%; background: #799b6c; }
.auth-illustration span:nth-child(2) { width: 82%; }
.auth-illustration span:last-child { width: 65%; }
.auth-card { padding: 55px 42px; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.auth-card h1 { font-size: 34px; }
.auth-card > p { font-size: 13px; color: var(--muted); }
.auth-card form { display: grid; gap: 21px; margin-top: 30px; }
.auth-card .button { margin-top: 3px; width: 100%; }
pre { font-size: 11px; line-height: 1.65; background: #f2f4ec; border: 1px solid var(--line); padding: 16px; overflow: auto; border-radius: 7px; }
footer { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; color: #77846d; font-size: 10px; gap: 25px; line-height: 1.6; }
.statement-note { max-width: 760px; font-size: 12px; color: var(--muted); line-height: 1.8; }
.filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; }
.filters label { min-width: 150px; flex: 1; }
.filters .button { margin: 0; }
.record-edit, .disclosure, .form-disclosure { border: 1px solid var(--line); border-radius: 8px; margin-top: 18px; background: #fcfdf8; }
/* Native disclosures share a full-row target and a clear, decorative chevron. */
:is(.record-edit, .disclosure, .form-disclosure, .fx-details) > summary {
  position: relative; display: list-item;
  min-height: 48px; margin: 0; padding: 13px 58px 13px 16px;
  list-style: none; cursor: pointer; border-radius: 8px;
  background: #f7f9f2; color: var(--accent); font-size: 13px;
  font-weight: 600; line-height: 1.6; overflow-wrap: anywhere;
  transition: background .15s;
}
:is(.record-edit, .disclosure, .form-disclosure, .fx-details) > summary::-webkit-details-marker { display: none; }
:is(.record-edit, .disclosure, .form-disclosure, .fx-details) > summary::marker { content: ""; }
:is(.record-edit, .disclosure, .form-disclosure, .fx-details) > summary::before {
  content: ""; position: absolute; inset-inline-end: 14px; top: 50%;
  width: 28px; height: 28px; translate: 0 -50%;
  border: 1px solid #d5dfcf; border-radius: 7px; background: var(--paper);
}
:is(.record-edit, .disclosure, .form-disclosure, .fx-details) > summary::after {
  content: ""; position: absolute; inset-inline-end: 24px; top: 50%;
  width: 7px; height: 7px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg);
  transition: transform .15s;
}
:is(.record-edit, .disclosure, .form-disclosure, .fx-details) > summary:hover { background: #eaf0e4; }
:is(.record-edit, .disclosure, .form-disclosure, .fx-details) > summary:focus-visible { outline-offset: -2px; }
:is(.record-edit, .disclosure, .form-disclosure, .fx-details)[open] > summary { background: var(--soft); }
:is(.record-edit, .disclosure, .form-disclosure, .fx-details)[open] > summary::after { transform: translateY(-25%) rotate(225deg); }
:is(.record-edit, .disclosure, .form-disclosure, .fx-details) > summary > :is(strong, .panel-title) { display: inline; overflow-wrap: anywhere; }
:is(.record-edit, .disclosure, .form-disclosure) > summary > :is(.badge, .section-count) { margin-inline-start: 10px; vertical-align: middle; }
:is(.record-edit, .disclosure, .form-disclosure)[open] > summary { border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; margin-bottom: 17px; }
.record-edit > form, .form-disclosure > .form-grid, .form-disclosure > .panel-description, .disclosure > :not(summary) { margin: 0 18px 18px; }
.disclosure.panel { padding: 0; }
.disclosure.panel > summary { padding: 18px 58px 18px 25px; font-size: 14px; }
.disclosure.panel > :not(summary) { margin: 0 25px 25px; }
.journal-lines { display: grid; gap: 0; margin: 14px 0 10px; }
.line-columns, .line-main { display: grid; grid-template-columns: 2rem minmax(0, 1.1fr) minmax(0, 1.9fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, .6fr) 2rem; gap: 10px; align-items: start; }
.line-columns { padding: 0 12px 6px; font-size: 10px; font-weight: 650; letter-spacing: .7px; text-transform: uppercase; color: #647956; }
.journal-line { border-top: 1px solid #dce4d5; padding: 10px 12px; background: transparent; }
.journal-line[aria-invalid="true"] { background: #fdf3ee; border-top-color: #e3c5b4; }
.line-number { padding-top: 9px; font-size: 12px; color: #647956; }
.line-cell { display: grid; gap: 3px; min-width: 0; font-size: 12px; }
.line-cell-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.line-cell.numeric input { text-align: right; }
.line-description { display: block; min-height: 1.1em; font-size: 11px; line-height: 1.35; }
.line-currency { padding-top: 9px; font-size: 12px; }
.line-currency select { padding-top: 0; }
.line-remove { width: 2rem; height: 2rem; border: 1px solid transparent; border-radius: 6px; background: transparent; font-size: 18px; line-height: 1; color: #647956; cursor: pointer; }
.line-remove:hover:not(:disabled) { border-color: #dce4d5; background: var(--paper); }
.line-remove:disabled { opacity: .35; cursor: default; }
.line-foreign-toggle { margin: 4px 0 0 calc(2rem + 10px); font-size: 11px; }
.line-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 8px 0 0 calc(2rem + 10px); }
.line-fx { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 0 calc(2rem + 10px); }
.line-fx[hidden], .line-foreign-toggle[hidden], [data-currency-text][hidden], .line-currency select[hidden] { display: none; }
.journal-line .field-error { margin: 6px 0 0 calc(2rem + 10px); }
.line-add { margin-top: 8px; }
.journal-line label { font-size: 10px; font-weight: 550; }
.journal-line input, .journal-line select { min-width: 0; background: var(--paper); font-size: 12px; }
.fx-details { margin-top: 16px; border-top: 1px solid #e2e8da; padding-top: 12px; }
.fx-details > summary { border: 1px solid #dce4d5; background: var(--paper); }
.fx-details[open] > summary { border-color: #b7cbb2; }
.fx-details .form-grid { margin-top: 16px; }
@media (max-width: 1150px) {
  .site-header, main, footer { width: calc(100% - 48px); }
  .panel { padding: 22px; }
}
@media (max-width: 900px) {
  .page-head { padding-top: 29px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric strong { font-size: 25px; }
  .auth-shell { margin-top: 45px; }
  .auth-intro, .auth-card { padding: 35px 28px; }
  .auth-intro h2 { font-size: 30px; }
}
@media (max-width: 600px) {
  .site-header, main, footer { width: calc(100% - 32px); margin: auto; }
  .site-header { gap: 12px; min-height: 77px; padding: 16px 0; align-items: center; }
  .brand { font-size: 23px; gap: 8px; }
  .mark { width: 29px; height: 33px; font-size: 25px; border-radius: 9px 3px; }
  .page-head, .heading { flex-direction: column; gap: 13px; padding: 28px 0 21px; }
  h1 { font-size: 35px; }
  .eyebrow { font-size: 9px; }
  .lede { font-size: 12px; }
  .panel, .card { padding: 18px; margin: 17px 0; }
  .metric-grid { gap: 10px; }
  .metric { padding: 18px 15px; }
  .metric::before { left: 15px; }
  .metric strong { font-size: 22px; }
  .metric p { font-size: 10px; margin-bottom: 14px; }
  .form-grid { grid-template-columns: 1fr; gap: 17px; }
  .form-actions .button, .workspace-form > .button { width: 100%; }
  .button { min-height: 44px; }
  .quick-actions .button { flex-grow: 1; }
  th, td { padding: 12px 10px; }
  td { font-size: 11px; }
  .table-scroll { margin: 0 -5px; }
  .filters { align-items: stretch; gap: 15px; }
  .filters label { flex: 1 1 100%; }
  .filters .button { width: 100%; }
  .auth-shell { display: block; margin: 28px 0; }
  .auth-intro { padding: 26px; gap: 0; }
  .auth-intro h2 { font-size: 27px; margin-bottom: 12px; }
  .auth-illustration { display: none; }
  .auth-card { padding: 28px 26px; margin: 0; }
  .auth-card h1 { font-size: 30px; }
  .form-page { margin: 26px auto; }
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-card { padding: 24px; }
  .workspace-welcome { padding-top: 35px; }
  .journal-line { padding: 14px 10px; }
  .line-columns { display: none; }
  .line-main { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .line-remove { grid-column: 2; grid-row: 1; justify-self: end; }
  .line-main > label.line-cell:first-of-type, .line-main > .line-account, .line-main > .line-currency { grid-column: 1 / -1; }
  .line-cell-label { position: static; width: auto; height: auto; clip: auto; white-space: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: #647956; }
  .line-currency { padding-top: 0; }
  .line-foreign-toggle, .line-extra, .line-fx, .journal-line .field-error { margin-left: 0; }
  .journal-line input, .journal-line select { font-size: 16px; }
  .disclosure.panel > summary { padding: 15px 58px 15px 17px; }
  .disclosure.panel > :not(summary) { margin: 0 17px 17px; }
  footer { align-items: flex-start; font-size: 9px; padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .workspace-nav, .actions, .quick-actions, .filters, .report-controls, .page-back, footer, .skip-link { display: none !important; }
  body { background: white; color: #222; }
  main, main:has(.workspace-nav) { width: 100%; margin: 0; padding: 0; }
  .panel { border: 0; padding: 0; break-inside: avoid; box-shadow: none; }
  .page-head { padding: 15px 0; }
  .table-scroll { overflow: visible; }
  .metric { break-inside: avoid; }
}

.record-meta { margin: 0; align-items: start; }
.record-meta dt { color: var(--muted); font-size: 11px; }
.record-meta dd { margin: 6px 0 0; font-size: 13px; font-weight: 550; line-height: 1.6; overflow-wrap: anywhere; }

@media (max-width: 600px) { .workspace-form input:not([type=hidden]), .workspace-form select, .workspace-form textarea, .auth-card input, .book-form input, .book-form select { font-size: 16px; } }

.form-grid > label:has(input[name="description"]) { grid-column: 1 / -1; }

.report-context { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 22px 0 -4px; }

/* Headless workspace navigation; styling remains owned by Astrona. */
.navigator-trigger { margin: 0; gap: 12px; font-size: 12px; min-height: 40px; }
.navigator-trigger kbd { font-family: inherit; font-size: 10px; line-height: 1.5; color: var(--muted); padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; white-space: nowrap; }
.navigator-dialog[aria-hidden="true"], .navigator-dialog [hidden] { display: none; }
.navigator-dialog { position: fixed; z-index: 100; inset: 0; display: grid; place-items: start center; padding: min(12vh, 100px) 24px 24px; }
.navigator-overlay { position: absolute; inset: 0; background: #163b32a8; backdrop-filter: blur(3px); }
.navigator-panel { position: relative; width: min(560px, 100%); max-height: 100%; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #d7e0d1; border-radius: 14px; padding: 25px; background: var(--paper); box-shadow: 0 24px 90px #10251e55; }
.navigator-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 23px; }
.navigator-heading .eyebrow { margin: 0 0 9px; }
.navigator-heading h2 { margin: 0; font: 29px/1.2 Georgia, serif; }
.navigator-heading .text-button { min-height: 40px; }
.navigator-search-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.navigator-search { width: 100%; min-height: 46px; border: 1px solid #abbfaa; border-radius: 7px; padding: 11px 13px; background: #fff; color: var(--ink); font-size: 16px; }
.navigator-hint { font-size: 11px; line-height: 1.6; color: var(--muted); margin: 9px 0 20px; }
.navigator-group { margin: 19px 0 0; }
.navigator-group h3 { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 0 10px 7px; }
.navigator-group ul { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.navigator-group a { padding: 12px 10px; border-radius: 7px; font-size: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 43px; }
.navigator-group a:hover, .navigator-group a:focus-visible, .navigator-group a[aria-current="page"] { background: var(--soft); color: var(--accent-dark); text-decoration: none; }
.navigator-group a span { color: var(--muted); }
.navigator-empty { font-size: 13px; color: var(--muted); line-height: 1.6; }
.navigator-empty:empty { display: none; }
html:has(.navigator-dialog:not([aria-hidden="true"])) { overflow: hidden; scrollbar-gutter: stable; }
@media (max-width: 600px) {
  .navigator-trigger kbd { display: none; }
  .navigator-dialog { padding: 16px; align-items: start; }
  .navigator-panel { padding: 20px; max-height: calc(100dvh - 32px); }
  .navigator-heading h2 { font-size: 26px; }
}
@media print { caramel-island[component="WorkspaceNavigator"] { display: none; } }

/* One application sidebar: identity, workspace navigation and preferences. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sidebar-container { position: fixed; inset: 0 auto 0 0; width: 248px; z-index: 50; }
.sidebar-panel { height: 100dvh; padding: 24px 16px max(16px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; background: #edf1e8; border-right: 1px solid #dbe2d4; }
.sidebar-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 10px 18px; flex-shrink: 0; }
.sidebar-brand .brand { font-size: 28px; }
.sidebar-close, .sidebar-backdrop, .mobile-header { display: none; }
.sidebar-panel .workspace-context { margin: 0 10px 12px; padding: 0 0 12px; flex-shrink: 0; overflow-wrap: anywhere; }
.sidebar-panel .workspace-context small { display: none; }
.sidebar-panel .workspace-context a { margin-top: 6px; }
.sidebar-search { margin: 0 0 12px; flex-shrink: 0; }
.sidebar-search:empty { display: none; }
.sidebar-search .navigator-trigger { width: 100%; padding: 10px; justify-content: space-between; gap: 6px; background: #fafcf7; }
.sidebar-search .navigator-trigger kbd { font-size: 9px; }
.workspace-nav {
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  scrollbar-color: #b7c6b2 transparent; min-height: 120px; flex: 1;
  padding: 3px 3px 14px; margin: -3px -3px 0; scroll-padding-block: 12px;
  background: linear-gradient(#edf1e8 30%, #edf1e800) center top / 100% 24px local,
    linear-gradient(#edf1e800, #edf1e8 70%) center bottom / 100% 24px local,
    linear-gradient(#253d3810, #253d3800) center top / 100% 9px scroll,
    linear-gradient(#253d3800, #253d3810) center bottom / 100% 9px scroll;
  background-repeat: no-repeat;
}
.nav-group { margin-bottom: 8px; }
.sidebar-panel .nav-label { margin-bottom: 4px; }
.nav-group a { min-height: 32px; padding: 6px 10px; margin: 0; font-size: 12px; border: 1px solid transparent; }
.nav-group .selected { background: #dce8d7; border-color: #cedfc9; color: #244d34; }
.sidebar-account { margin-top: auto; padding: 14px 4px 0; border-top: 1px solid #d4ded0; flex-shrink: 0; }
.sidebar-account form { margin: 0; }
.sidebar-account .language-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 132px); align-items: center; gap: 8px; }
.sidebar-account .language-form label { font-size: 12px; margin: 0; color: var(--muted); }
.sidebar-account .language-form select { width: 100%; min-height: 40px; background-color: #fafcf7; font-size: 13px; }
.sidebar-account noscript { grid-column: 1 / -1; }
.account-identity { display: flex; align-items: flex-start; gap: 10px; padding: 16px 4px 10px; }
.account-details { min-width: 0; flex: 1; }
.account-name, .account-email, .account-scope { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-name { font-size: 13px; font-weight: 650; line-height: 1.5; }
.account-email, .account-role, .account-scope { font-size: 12px; line-height: 1.5; color: var(--muted); }
.account-role { display: block; margin-top: 2px; overflow-wrap: anywhere; }
.account-scope { color: #627260; }
.avatar { display: grid; place-items: center; border: 1px solid #cbdac4; border-radius: 10px; width: 34px; height: 34px; flex: 0 0 34px; background: #dfead9; color: var(--accent-dark); font-size: 13px; font-weight: 650; }
.sidebar-sign-out { display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 550; cursor: pointer; }
.sidebar-sign-out svg { width: 17px; height: 17px; flex-shrink: 0; }
.sidebar-sign-out:hover { background: #e2e9dd; color: var(--accent-dark); }
.sidebar-sign-out:active { background: #d7e2d1; }
body:has(.sidebar-container) main, body:has(.sidebar-container) footer { width: calc(100% - 320px); margin-left: 284px; margin-right: 36px; }
body:has(.sidebar-container) main { min-height: calc(100dvh - 70px); scroll-margin-top: 24px; }
body:has(.sidebar-container) .page-head { padding-top: 45px; }
.page-head > .badge { margin-top: 8px; flex-shrink: 0; }
@media (min-width: 1750px) {
  body:has(.sidebar-container) main, body:has(.sidebar-container) footer { width: min(1390px, calc(100% - 360px)); margin-left: auto; margin-right: auto; transform: translateX(124px); }
}
@media (max-width: 900px) {
  body:has(.sidebar-container) main, body:has(.sidebar-container) footer { width: calc(100% - 48px); margin: auto; }
  body:has(.sidebar-container) main { min-height: calc(100dvh - 145px); }
  body:has(.sidebar-container) .page-head { padding-top: 29px; }
  .sidebar-container { position: static; width: 100%; }
  .sidebar-container[data-drawer-ready] .nav-group a { min-height: 44px; }
  .sidebar-panel { height: auto; max-height: none; border-right: 0; padding: 24px; }
  .sidebar-container[data-drawer-ready] { position: fixed; inset: 0; width: 100%; }
  .sidebar-container[data-drawer-ready][aria-hidden="true"] { display: none; }
  .sidebar-container[data-drawer-ready] .sidebar-panel { position: relative; width: min(320px, calc(100vw - 44px)); height: 100dvh; padding: 24px 20px max(16px, env(safe-area-inset-bottom)); box-shadow: 12px 0 40px #132e2630; }
  .sidebar-container[data-drawer-ready] .sidebar-backdrop { display: block; position: absolute; inset: 0; background: #173d35a3; backdrop-filter: blur(2px); }
  .sidebar-container[data-drawer-ready] .sidebar-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper); border-radius: 8px; font-size: 22px; }
  body:has([data-drawer-ready]) .mobile-header { display: flex; position: sticky; top: 0; z-index: 30; padding: 14px 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #f5f6f2; }
  .mobile-header .brand { font-size: 24px; }
  .mobile-header .mark { width: 29px; height: 33px; font-size: 25px; border-radius: 9px 3px; }
  .sidebar-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; padding: 8px 12px; color: var(--ink); font-size: 12px; }
  .sidebar-toggle::before { content: "☰"; font-size: 17px; }
  html:has(.sidebar-container[data-drawer-ready]:not([aria-hidden="true"])) { overflow: hidden; scrollbar-gutter: stable; }
}
@media (max-width: 600px) {
  body:has(.sidebar-container) main, body:has(.sidebar-container) footer { width: calc(100% - 32px); }
  body:has([data-drawer-ready]) .mobile-header { padding: 12px 16px; }
  .page-head > .badge { margin-top: 0; }
  .sidebar-account .language-form select { font-size: 16px; min-height: 44px; }
}
@media (max-height: 620px) {
  .sidebar-panel { overflow-y: auto; overscroll-behavior: contain; }
  .sidebar-panel .workspace-nav { flex: 0 0 auto; overflow: visible; background: none; }
  .sidebar-account { margin-top: 16px; }
}
@media print {
  .sidebar-container, .mobile-header { display: none !important; }
  body:has(.sidebar-container) main { width: 100%; margin: 0; padding: 0; transform: none; }
}

/* Themed native dropdowns; unsupported pickers retain browser behavior. */
select:not([multiple]):not([size]) {
  appearance: none;
  width: 100%; min-width: 0; min-height: 44px;
  padding: 10px 36px 10px 12px;
  border: 1px solid #ccd8c8; border-radius: 8px;
  background-color: var(--paper);
  background-image: linear-gradient(45deg, transparent 50%, #687871 50%), linear-gradient(135deg, #687871 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
  color: var(--ink); font-size: 13px; font-weight: 400; line-height: 1.5;
  box-shadow: 0 1px 2px #253d3805; cursor: pointer;
}
select:not([multiple]):not([size]):hover:not(:disabled) { border-color: #91aa8b; }
select:not([multiple]):not([size]):focus-visible { border-color: var(--accent); }
select:not([multiple]):not([size]):disabled { cursor: not-allowed; opacity: .55; }
.language-form select:not([multiple]):not([size]) { min-height: 40px; }
@supports (appearance: base-select) and selector(select::picker(select)) {
  select:not([multiple]):not([size]), select:not([multiple]):not([size])::picker(select) { appearance: base-select; }
  select:not([multiple]):not([size]) { background-image: none; padding-inline-end: 12px; gap: 12px; align-items: center; }
  select:not([multiple]):not([size]):open { border-color: var(--accent); background-color: #fafcf7; }
  select:not([multiple]):not([size])::picker-icon {
    content: ""; width: 7px; height: 7px; flex-shrink: 0;
    margin-inline-start: auto; margin-inline-end: 2px;
    border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
    rotate: 45deg; translate: 0 -2px;
  }
  select:not([multiple]):not([size]):open::picker-icon { rotate: 225deg; translate: 0 2px; }
  select:not([multiple]):not([size])::picker(select) {
    min-inline-size: anchor-size(width); max-inline-size: calc(100vw - 32px);
    max-block-size: min(320px, calc(100dvh - 32px));
    margin-block: 6px; padding: 5px;
    border: 1px solid #ccd8c8; border-radius: 10px;
    background: var(--paper); color: var(--ink);
    box-shadow: 0 12px 32px #17372724, 0 2px 6px #1737270a;
    font-family: inherit; font-size: 13px; font-weight: 400;
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
    scrollbar-color: #b2c3aa var(--paper);
  }
  select:not([multiple]):not([size]) option {
    display: flex; align-items: center; gap: 12px;
    min-height: 40px; padding: 10px 12px; margin: 2px 0;
    border: 0; border-radius: 6px; background: transparent;
    color: var(--ink); line-height: 1.5; font-weight: 400;
    white-space: normal; overflow-wrap: anywhere; cursor: pointer;
  }
  select:not([multiple]):not([size]) option:checked { background: var(--soft); color: var(--accent-dark); font-weight: 600; }
  select:not([multiple]):not([size]) option:hover:not(:disabled) { background: #e0ebda; color: var(--accent-dark); }
  select:not([multiple]):not([size]) option:focus-visible { background: #e0ebda; outline: 2px solid var(--accent); outline-offset: -2px; }
  select:not([multiple]):not([size]) option:disabled { color: var(--muted); opacity: .55; cursor: not-allowed; }
  select:not([multiple]):not([size]) option::checkmark { order: 1; margin-inline-start: auto; color: var(--accent); content: "✓"; }
}
@media (max-width: 600px) {
  select:not([multiple]):not([size]) { font-size: 16px; }
  @supports (appearance: base-select) and selector(select::picker(select)) {
    select:not([multiple]):not([size])::picker(select) { font-size: 16px; }
    select:not([multiple]):not([size]) option { min-height: 44px; }
  }
}
@media (forced-colors: active) {
  select:not([multiple]):not([size]) { appearance: auto; background-image: none; }
  @supports (appearance: base-select) and selector(select::picker(select)) {
    select:not([multiple]):not([size])::picker(select) { appearance: auto; }
  }
}

/* A quiet live status; financial forms sit outside the refreshed region. */
.rate-progress { display: flex; align-items: center; gap: 9px; margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.rate-progress::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #91aa8b; }
.rate-progress.is-pending { color: var(--accent); }
.rate-progress.is-pending::before { background: var(--accent); box-shadow: 0 0 0 4px var(--soft); }

/* Design.pdf: shared readable scale, semantic states, and responsive workspaces. */
:root { --ground: #f5f6f2; --history: #2f4f6b; --history-bg: #e5edf4; --waiting: #7a5a1c; --waiting-bg: #faf0d8; font-size: 15px; line-height: 1.55; }
body { font-size: 15px; }
h1 { font-size: 38px; line-height: 1.15; letter-spacing: -1.1px; }
h2 { font-size: 19px; font-weight: 650; line-height: 1.4; }
h3 { font-size: 16px; line-height: 1.45; }
.lede, .panel-description, .callout, .errors, .statement-note { font-size: 15px; line-height: 1.55; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.55; }
.eyebrow { color: var(--gold); font-size: 12px; letter-spacing: 1px; }
.panel, .card { padding: 26px; box-shadow: 0 2px 7px #17372703; }
.panel-head { margin-bottom: 19px; }
.metric p, .metric span { font-size: 14px; }
.metric strong, .amount { font-family: system-ui, sans-serif; font-size: clamp(28px, 2.4vw, 36px); font-variant-numeric: tabular-nums; }
.badge, .section-count { font-size: 12px; }
.badge.waiting, .badge.draft { color: var(--waiting); background: var(--waiting-bg); }
.badge.adjusted, .badge.history { color: var(--history); background: var(--history-bg); }
.badge.shared { color: var(--accent-dark); background: var(--soft); }
.callout.waiting { background: var(--waiting-bg); color: var(--waiting); }
.loss { color: var(--danger); }
th { font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; }
td { font-size: 14px; }
td .muted { font-size: 13px; }
.button, .text-button, .table-actions .text-button { font-size: 14px; min-height: 44px; }
.workspace-form label, .book-form label, .auth-card label, .card label, .form-section-title { font-size: 14px; }
.workspace-form input:not([type=hidden]):not([type=checkbox]), .workspace-form select, .workspace-form textarea, .book-form input:not([type=hidden]), .book-form select, .auth-card input, .card input:not([type=hidden]):not([type=checkbox]), .card select { font-size: 15px; min-height: 44px; }
input[type=radio], input[type=checkbox] { accent-color: var(--accent); }
input[type=radio] { width: 17px !important; min-height: 17px !important; flex: 0 0 17px; }
:is(input, select, textarea):focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.field-error { font-size: 14px; color: var(--danger); }
:is(.record-edit, .disclosure, .form-disclosure, .fx-details) > summary { font-size: 15px; }
select:not([multiple]):not([size]) { font-size: 15px; }
.setup-tabs a { font-size: 14px; }
.sidebar-panel .nav-label { font-size: 11px; font-weight: 600; text-transform: none; letter-spacing: .1px; color: var(--muted); margin: 14px 11px 5px; }
.sidebar-panel .nav-group a { font-size: 14px; min-height: 40px; gap: 10px; border-radius: 8px; overflow-wrap: anywhere; }
.sidebar-panel .nav-group a > span:not(.nav-icon):not(.nav-count) { min-width: 0; }
.sidebar-panel .nav-group a:hover { background: #e3ebde; }
.sidebar-panel .nav-icon { opacity: 1; }
.sidebar-panel .nav-group a.selected { background: #dfead9; }
.sidebar-panel .workspace-context a { font-size: 13px; }
.business-context { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.nav-count { background: var(--accent); color: white; border-radius: 20px; padding: 0 7px; margin-left: auto; font-size: 11px; }
.waiting-section { margin-bottom: 24px; }
.pending-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 22px 24px; margin: 10px 0; }
.pending-card .badge { margin-left: 12px; }
.pending-card p { margin: 8px 0 0; color: var(--muted); }
.pending-card .button { flex-shrink: 0; }
.home-bottom-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.home-bottom-grid .panel { margin-top: 0; }
.month-overview tbody th { background: transparent; width: 24%; min-width: 180px; }
.month-overview tbody th strong { font-size: 17px; }
.month-overview .muted { margin: 7px 0 0; font-weight: 400; }
.month-money { font-family: system-ui, sans-serif; font-variant-numeric: tabular-nums; font-size: 14px; margin: 8px 0 0; }
.activity-feed { padding: 0; margin: 0; list-style: none; }
.activity-feed li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.activity-date { font-size: 12px; color: var(--muted); }
.activity-feed .badge { margin: 5px 0 0 7px; }
.glossary-panel { background: #edf3e8; }
.glossary-panel > p { font-size: 14px; }
.glossary-row { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 20px; }
.glossary-row h3 { margin: 0; }
.glossary-row p { font-size: 14px; margin: 5px 0 0; }
.number-disc { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: white; background: var(--accent); font-size: 12px; }
.glossary-popover { max-width: min(430px, calc(100vw - 32px)); padding: 24px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 40px #17372720; }
.glossary-popover::backdrop { background: #253d3810; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 12px; margin: 24px 0; }
.workspace-form .choice-card { flex-direction: row; align-items: center; gap: 9px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; }
.choice-card:has(input:checked) { border-color: var(--accent); background: var(--soft); }
.wording-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.wording-language { display: grid; gap: 12px; }
.wording-language h3 { margin-bottom: 0; }
.wording-preview { margin-top: 24px; padding: 18px; background: var(--soft); border-radius: 8px; }
.wording-preview h3, .wording-preview p { margin: 0 0 8px; }
.access-summary { max-width: 360px; font-size: 14px; }
.access-explanation { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 1100px) { .home-bottom-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  h1 { font-size: 30px; }
  .panel, .card { padding: 20px; }
  .pending-card { align-items: stretch; flex-direction: column; padding: 20px; gap: 16px; }
  .pending-card .badge { display: table; margin: 8px 0 0; }
  .wording-grid, .access-explanation { grid-template-columns: 1fr; }
  .month-overview table, .month-overview tbody, .month-overview tr, .month-overview td, .month-overview tbody th { display: block; width: 100%; }
  .month-overview thead { display: none; }
  .month-overview tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .month-overview td::before { content: attr(data-label); display: block; font-weight: 600; margin-bottom: 7px; }
  .workspace-form input:not([type=hidden]), .workspace-form select, .workspace-form textarea, .auth-card input, .book-form input, .book-form select, select:not([multiple]):not([size]) { font-size: 16px; }
}
@media print { .waiting-section, .wording-form, .glossary-popover { display: none; } .home-bottom-grid { display: block; } }

/* Quiet business-date context; the configured zone remains available as a title. */
.workspace-date-context { margin-top:8px; max-width:230px; flex-shrink:0; color:var(--muted); font-size:13px; line-height:1.5; }
body:has(.sidebar-container) .page-back + .page-head { padding-top:12px; }
@media(max-width:760px) { .workspace-date-context { margin-top:0; max-width:none; } }

/* Confirmation banner shown after a redirect (saved, posted, returned...). */
.notice-banner { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; padding: 14px 18px; border: 1px solid #b9d3b4; border-radius: 12px; background: #eef6ea; color: var(--ink, #1f2a1f); }
.notice-banner .notice-icon { width: 22px; height: 22px; flex-shrink: 0; color: #2f6b3a; }
.notice-banner .notice-text { flex: 1; min-width: 0; }
.notice-banner strong { display: block; font-size: 14px; }
.notice-banner p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.notice-banner .notice-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; font-size: 13px; font-weight: 600; }
@media (max-width: 600px) { .notice-banner { flex-wrap: wrap; } .notice-banner .notice-links { justify-content: flex-start; margin-left: 36px; } }

/* "You can't record activity" page. */
.cannot-record { max-width: 640px; margin: 48px auto; text-align: left; }
.cannot-record-icon { width: 44px; height: 44px; margin-bottom: 14px; color: var(--gold); }
.cannot-record-icon svg { width: 100%; height: 100%; }
.cannot-record h1 { font-size: 32px; }
.cannot-record-box { margin: 20px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.cannot-record-box h2 { font-size: 14px; margin: 0 0 8px; }
.cannot-record-box ul { margin: 0; padding-left: 18px; line-height: 1.7; }
