:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --panel: #fffdf7;
  --ink: #242821;
  --muted: #5d6459;
  --line: #dddcd0;
  --green: #2d4c3b;
  --sidebar: #202b24;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font: 15px/1.55 var(--sans);
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .58; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid #986834;
  outline-offset: 4px;
}
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); letter-spacing: -.06em; }
h2 { font-size: 2rem; letter-spacing: -.048em; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.muted, .section-note { color: var(--muted); }
.section-note { margin-top: 1rem; font-size: .87rem; }
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100dvh; }
.sidebar { display: flex; flex-direction: column; gap: 2.9rem; position: sticky; top: 0; height: 100dvh; padding: 30px 18px 18px; color: #f5f0e2; background: var(--sidebar); }
.brand { display: flex; align-items: center; gap: 10px; width: fit-content; margin-left: 9px; text-decoration: none; font: 1.95rem/1 var(--serif); letter-spacing: -.055em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #a6a983; border-radius: 50%; color: #e9d3a2; font: 19px/1 var(--sans); }
.nav-group { display: grid; gap: 4px; }
.nav-group + .nav-group { border-top: 1px solid #414c40; margin-top: 1.45rem; padding-top: 1.15rem; }
.nav-label { padding: 0 11px 5px; text-transform: uppercase; letter-spacing: .15em; font-size: .69rem; font-weight: 700; color: #aab7a9; }
nav button { color: #dce1d5; display: flex; align-items: center; gap: 11px; text-align: left; border: 1px solid transparent; border-radius: 7px; background: transparent; padding: 9px 10px; }
nav button:hover { background: #2d392f; }
nav button[aria-current="page"] { background: #344239; color: #fff9eb; border-color: #47554a; }
nav button span { width: 16px; text-align: center; font-size: 1rem; color: #dcc798; }
.identity { margin-top: auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: center; border-top: 1px solid #414c40; padding: 12px 1px 2px; }
.identity-mark { display: grid; place-items: center; border-radius: 50%; width: 33px; height: 33px; background: #e0cda6; font: 1.1rem var(--serif); color: #2c3b31; }
.identity strong { display: block; font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.identity button { display: block; white-space: nowrap; border: 0; background: transparent; color: #bcc6b7; padding: 0; font-size: .72rem; text-decoration: underline; text-underline-offset: 2px; }
.sign-out { color: #d8c59e; text-decoration: none; padding: 4px; }
.workspace { min-width: 0; display: flex; flex-direction: column; }
.workspace-header { height: 65px; flex: 0 0 65px; display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 0 4.5%; border-bottom: 1px solid var(--line); color: #4f574b; font-size: .79rem; font-weight: 650; }
#header-detail { font-weight: 400; color: var(--muted); }
.content { padding: clamp(31px, 5vw, 69px) 4.5% 64px; width: min(100%, 1250px); margin: 0 auto; }
.page-header { margin-bottom: 31px; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; }
.page-header p { margin-top: 9px; color: var(--muted); }
.button { min-height: 39px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 7px; border: 1px solid transparent; white-space: nowrap; font-size: .84rem; line-height: 1.32; font-weight: 650; }
.primary { color: #fffdf5; background: var(--green); border-color: var(--green); }
.primary:hover:not(:disabled) { background: #203d2e; }
.secondary { color: var(--ink); background: transparent; border-color: #d4d7ca; }
.secondary:hover:not(:disabled) { background: #eeeee4; border-color: #bfc3b5; }
.danger { color: #fffaf5; background: #8c3830; border-color: #8c3830; }
.danger:hover:not(:disabled) { background: #702b24; }
.danger-outline { color: #843d31; background: transparent; border-color: #e2c5b9; }
.danger-outline:hover:not(:disabled) { background: #f7e9e1; }
.character-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 248px), 1fr)); max-width: 1080px; gap: 19px; }
.character-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 3px 13px #22362b08; }
.portrait {
  --portrait-color: #283e32; --portrait-highlight: #698272; --portrait-ink: #ece0be;
  height: clamp(155px, 25vw, 285px);
  background: radial-gradient(ellipse at 50% 4%, var(--portrait-highlight), transparent 70%), var(--portrait-color);
  position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate; color: var(--portrait-ink);
}
.portrait[data-accent="plum"], .mini-portrait[data-accent="plum"] { --portrait-color: #433141; --portrait-highlight: #967991; --portrait-ink: #f2dbc8; }
.portrait[data-accent="rust"], .mini-portrait[data-accent="rust"] { --portrait-color: #62392b; --portrait-highlight: #ac795d; --portrait-ink: #f8e0ac; }
.portrait[data-accent="navy"], .mini-portrait[data-accent="navy"] { --portrait-color: #253447; --portrait-highlight: #647c95; --portrait-ink: #dbe4e9; }
.portrait::before { content: ''; position: absolute; inset: 12px; border: 1px solid #fff7dd55; border-radius: 6px; pointer-events: none; z-index: 2; }
.portrait::after { content: ''; position: absolute; inset: 13% 33%; border: 1px solid #f2e5be5c; border-radius: 50% 50% 44% 44%; box-shadow: 0 0 0 8px #fcf2d111, 0 0 0 24px #fcf2d10a; pointer-events: none; z-index: -1; }
.portrait span { font: clamp(4.4rem, 10vw, 8.75rem)/1 var(--serif); text-shadow: 0 4px 24px #0003; }
.portrait img, .mini-portrait img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 1; }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 19px 20px 20px; }
.card-body h2 { font-size: 1.9rem; }
.card-body p { color: var(--muted); margin: 8px 0 20px; overflow-wrap: anywhere; min-height: 1em; }
.card-body .button { margin-top: auto; }
.empty { padding: 32px 21px; background: var(--panel); border: 1px dashed #cacdbf; border-radius: 10px; color: var(--muted); }
.empty strong { display: block; font: 1.45rem var(--serif); color: var(--ink); margin-bottom: 4px; }
.record-list { display: grid; gap: 8px; }
.record { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 13px; align-items: center; border: 1px solid var(--line); background: var(--panel); border-radius: 9px; padding: 11px 14px; }
.record-title { font-size: .96rem; font-weight: 700; overflow-wrap: anywhere; }
.record-meta { color: var(--muted); font-size: .81rem; overflow-wrap: anywhere; }
.record .button { justify-self: end; }
.record-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 5px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.library-requests { margin-top: 42px; max-width: 1080px; }
.library-requests h2 { margin-bottom: 13px; font-size: 1.6rem; }
#character-email-note { margin: 0 0 14px; }
.mini-portrait { --portrait-color: #2d4a3c; --portrait-ink: #f9eccb; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: var(--portrait-ink); background: var(--portrait-color); font: 1.35rem/1 var(--serif); position: relative; overflow: hidden; flex: 0 0 auto; }
.more { display: block; margin: 15px 0; }
.error-banner { margin: 12px 4.5% 0; padding: 8px 12px; border: 1px solid #e9c1b6; color: #7a2e23; border-radius: 7px; background: #fff0eb; }
.form-error { margin: 0; padding: 4px 0; color: #842f23; font-size: .85rem; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 19px; }
.filters label { min-width: min(100%, 200px); }
.conversation { height: calc(100dvh - 65px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.conversation-heading { display: flex; align-items: center; gap: 16px; padding: 12px 4.5%; border-bottom: 1px solid var(--line); }
.chat-heading-inner { display: flex; align-items: center; gap: 10px; }
.chat-heading-inner h1 { font-size: 1.65rem; letter-spacing: -.045em; }
.chat-heading-inner p { color: var(--muted); font-size: .75rem; margin-top: 2px; }
.chat-data-action { margin-left: auto; font-size: .78rem; }
.message-scroll { min-height: 0; overflow-y: auto; }
.message-inner, .composer { max-width: 790px; width: 100%; margin: 0 auto; padding-inline: 22px; }
.message-inner { padding-top: 18px; padding-bottom: 18px; }
.messages { display: grid; gap: 17px; }
.message { min-width: 0; max-width: min(94%, 620px); justify-self: start; }
.message.user { justify-self: end; }
.speaker { display: block; color: var(--muted); margin: 0 0 5px 2px; font-size: .74rem; font-weight: 700; overflow-wrap: anywhere; }
.user .speaker { text-align: right; margin-inline: 0 2px; }
.bubble { border: 1px solid var(--line); border-radius: 5px 13px 13px 13px; background: var(--panel); padding: 12px 15px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .98rem; }
.user .bubble { background: #e2e9dd; border-color: #d0dccc; border-radius: 13px 5px 13px 13px; }
.reply-report { background: transparent; border: 0; padding: 4px 1px; color: var(--muted); font-size: .72rem; text-decoration: underline; }
.reported { display: block; margin: 4px 1px; color: var(--muted); font-size: .72rem; }
.request-excerpt { margin: 0; padding: 8px 12px; border-left: 2px solid var(--line); color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.record.request-record { align-items: start; padding: 16px; }
.request-note { margin: 7px 0; font-size: .85rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.request-record blockquote { margin-top: 8px; font-size: .85rem; }
.progress { margin: 13px 0 0; color: var(--muted); font-size: .84rem; font-style: italic; }
.composer { background: var(--paper); padding-block: 9px 12px; }
.compose-box { display: flex; align-items: flex-end; padding: 8px; gap: 7px; border: 1px solid #c8ccbe; border-radius: 10px; background: var(--panel); }
.compose-box textarea { border: 0; flex: 1; width: 0; min-width: 0; resize: vertical; max-height: 160px; padding: 5px 6px; outline-offset: 0; }
.composer p, .read-only { margin: 6px 0 0; color: var(--muted); text-align: center; font-size: .75rem; }
.edit-notice { margin-bottom: 7px; padding: 6px 10px; border-radius: 6px; background: #e2e9dd; color: var(--ink); font-size: .83rem; }
.read-only { padding: 12px; }
.transcript-heading { margin: 20px 0; display: block; }
.transcript-heading h1 { font-size: clamp(1.85rem, 5vw, 3.2rem); overflow-wrap: anywhere; }
.transcript-messages { max-width: 800px; margin-top: 20px; }
.theme-preview { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.theme-preview .bubble { padding: 7px 11px; }
.themed-chat[data-chat-theme="field-notes"] {
  --paper: #e8ede2; --panel: #f8faf3; --ink: #28382c; --muted: #465d4e; --line: #b5c7b2;
  --theme-user: #d3e0cb; --green: #39533f; --theme-action-ink: #fffef5;
  --theme-voice: 'Courier New', monospace; --theme-heading: Georgia, serif;
  --theme-start: 2px 6px 6px 6px; --theme-end: 6px 2px 6px 6px;
}
.themed-chat[data-chat-theme="noir"] {
  color-scheme: dark;
  --paper: #171d27; --panel: #242d39; --ink: #f3e9d9; --muted: #c0b7a9; --line: #465064;
  --theme-user: #393748; --green: #e5c68c; --theme-action-ink: #211c17;
  --theme-voice: Georgia, serif; --theme-heading: 'Arial Narrow', Arial, sans-serif;
  --theme-start: 2px; --theme-end: 2px;
}
.themed-chat[data-chat-theme="storybook"] {
  --paper: #f1e6d5; --panel: #fff9ed; --ink: #3f2930; --muted: #715151; --line: #d3b7a3;
  --theme-user: #efd9cc; --green: #7a3e49; --theme-action-ink: #fffdf5;
  --theme-voice: Palatino, 'Palatino Linotype', Georgia, serif; --theme-heading: Palatino, Georgia, serif;
  --theme-start: 8px 18px 18px 18px; --theme-end: 18px 8px 18px 18px;
}
.themed-chat[data-chat-theme="signal"] {
  color-scheme: dark;
  --paper: #102526; --panel: #193436; --ink: #ecf9f4; --muted: #b5d0cb; --line: #456861;
  --theme-user: #27484a; --green: #96e7d1; --theme-action-ink: #122c29;
  --theme-voice: ui-monospace, 'Courier New', monospace; --theme-heading: var(--sans);
  --theme-start: 3px 9px 3px 9px; --theme-end: 9px 3px 9px 3px;
}
.themed-chat[data-chat-theme]:not([data-chat-theme="standard"]) { color: var(--ink); background: var(--paper); }
.transcript-messages.themed-chat[data-chat-theme]:not([data-chat-theme="standard"]) { padding: 16px; border-radius: 8px; }
.themed-chat[data-chat-theme]:not([data-chat-theme="standard"]) .chat-heading-inner h1 { font-family: var(--theme-heading); letter-spacing: -.025em; }
.themed-chat[data-chat-theme]:not([data-chat-theme="standard"]) .bubble {
  font-family: var(--theme-voice); border-radius: var(--theme-start);
}
.themed-chat[data-chat-theme]:not([data-chat-theme="standard"]) .user .bubble {
  background: var(--theme-user); border-color: var(--line); border-radius: var(--theme-end);
}
.themed-chat[data-chat-theme]:not([data-chat-theme="standard"]) .secondary,
.themed-chat[data-chat-theme]:not([data-chat-theme="standard"]) .compose-box { border-color: var(--line); }
.themed-chat[data-chat-theme]:not([data-chat-theme="standard"]) .secondary:hover:not(:disabled),
.themed-chat[data-chat-theme]:not([data-chat-theme="standard"]) .compose-box textarea { background: var(--panel); }
.themed-chat[data-chat-theme]:not([data-chat-theme="standard"]) .primary { color: var(--theme-action-ink); background: var(--green); }
.themed-chat[data-chat-theme]:not([data-chat-theme="standard"]) .primary:hover:not(:disabled) { filter: brightness(.92); }
.themed-chat[data-chat-theme]:not([data-chat-theme="standard"]) .form-error { color: var(--ink); }
.themed-chat[data-chat-theme]:not([data-chat-theme="standard"]) .edit-notice { background: var(--theme-user); }
dialog { width: min(620px, calc(100% - 24px)); max-height: min(90dvh, 900px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); color: var(--ink); box-shadow: 0 15px 75px #1a271d35; }
dialog::backdrop { background: #19271f8c; }
.dialog-form { display: flex; flex-direction: column; max-height: min(90dvh, 900px); }
.dialog-header, .dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: #f5f3ea; }
.dialog-header { border-bottom: 1px solid var(--line); }
.dialog-footer { border-top: 1px solid var(--line); justify-content: flex-end; }
.dialog-body { overflow-y: auto; padding: 17px 20px; display: grid; gap: 13px; }
.icon-button { width: 34px; height: 34px; background: transparent; border: 1px solid var(--line); border-radius: 6px; font-size: 1.4rem; line-height: 1; color: var(--muted); }
label { display: grid; gap: 5px; font-size: .82rem; font-weight: 650; }
input:not([type="checkbox"]), textarea, select { min-width: 0; border-radius: 6px; border: 1px solid #cdd0c3; padding: 7px 8px; color: var(--ink); background: #fffefa; font-size: .9rem; font-weight: 400; }
textarea { resize: vertical; }
input[type="checkbox"] { accent-color: var(--green); }
.check-label { display: flex; flex-wrap: nowrap; align-items: center; gap: 7px; }
.paired { display: grid; grid-template-columns: minmax(0, 2fr) minmax(93px, 1fr); gap: 13px; }
.editor-portrait-row { display: flex; align-items: center; gap: 12px; }
.editor-portrait-row .mini-portrait { width: 58px; height: 70px; }
.editor-portrait-row input { width: 100%; max-width: 100%; }
.field-note { color: var(--muted); font-size: .83rem; }
.wizard-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.wizard-steps li { border-bottom: 2px solid var(--line); padding: 3px 0 8px; color: var(--muted); font-size: .79rem; }
.wizard-steps li[aria-current="step"] { border-color: var(--green); color: var(--ink); font-weight: 700; }
.wizard-fields { display: grid; gap: 12px; }
.wizard-fields h3 { font-size: 1.1rem; }
.wizard-fields label .field-note { font-size: .75rem; font-weight: 400; }
#character-dialog .dialog-footer { flex-wrap: wrap; }
.import-image-zone { display: grid; gap: 8px; padding: 12px; border: 1px dashed #cacdbf; border-radius: 8px; }
.import-image-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.import-image-list li { display: flex; gap: 8px; justify-content: space-between; overflow-wrap: anywhere; font-size: .83rem; }
.character-edit-history { border-top: 1px solid var(--line); padding-top: 12px; }
.character-edit-history summary { cursor: pointer; font-size: .9rem; font-weight: 700; }
.character-edit-history > .field-note { margin: 8px 0; }
.edit-entry { padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; }
.edit-instruction { margin-top: 5px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .87rem; }
.text-button { border: 0; background: transparent; color: var(--green); padding: 4px 0 0; text-decoration: underline; font-size: .78rem; }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: 7px; padding: 8px 9px; }
legend { font-size: .82rem; font-weight: 700; }
.grant-list { display: grid; gap: 5px; margin-top: 5px; max-height: 180px; overflow-y: auto; }
.expiration-fields { display: grid; gap: 6px; margin-top: 9px; }
.expiration-fields p { font-size: .77rem; }
.time-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.time-presets .button { min-height: 30px; padding-block: 4px; }
.notice-dialog { max-width: 465px; }
.notice-dialog .dialog-body { color: var(--muted); }
.entry-notice { max-width: 560px; }
.entry-notice .dialog-body { gap: 10px; }
.notice-checks { display: grid; gap: 9px; color: var(--ink); }
.notice-checks .check-label { align-items: flex-start; }
.notice-checks input { margin: .27em 1px 0; flex: 0 0 auto; }
.dialog-footer a.button { text-decoration: none; }
.entry-notice .dialog-footer { flex-wrap: wrap; }
.policy { width: min(100% - 2.5rem, 720px); margin: 0 auto; padding: 40px 0 56px; }
.policy h1 { margin: 28px 0 15px; }
.policy h2 { margin: 28px 0 7px; font-size: 1.65rem; }
.policy p + p { margin-top: 9px; }
.policy ul { padding-left: 1.4rem; }
.policy-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--green); }
.policy a, .policy-links a { text-underline-offset: 3px; }
@media (max-width: 760px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; height: auto; padding: 12px 12px 8px; gap: 8px; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .brand { margin: 0; align-self: center; font-size: 1.6rem; }
  .brand-mark { width: 28px; height: 28px; font-size: 15px; }
  nav { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 6px; overflow-x: auto; }
  .nav-group { display: flex; }
  .nav-group + .nav-group { border-top: 0; border-left: 1px solid #414c40; margin: 0; padding: 0 0 0 6px; }
  .nav-label, nav button span { display: none; }
  nav button { white-space: nowrap; font-size: .8rem; padding: 6px 7px; }
  .identity { margin: 0; padding: 0; border: 0; }
  .identity-mark { display: none; }
  .workspace-header { height: 42px; flex-basis: 42px; }
  .content { padding-inline: 4%; }
  .conversation { height: calc(100dvh - 135px); min-height: 390px; }
  .character-gallery { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; }
  .card-body { padding: 13px; }
  .card-body h2 { font-size: 1.55rem; }
  .card-body p { font-size: .85rem; }
}
@media (max-width: 400px) {
  .page-header { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .workspace-header #header-detail { display: none; }
  .record { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .record > .mini-portrait { display: none; }
  .message-inner, .composer { padding-inline: 11px; }
}
@media (max-width: 565px) {
  .record-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .conversation-heading { flex-wrap: wrap; gap: 8px; }
  .chat-data-action { margin-left: 0; }
}

.login-page { min-height: 100dvh; background: var(--paper); }
.login-brand { display: flex; align-items: center; min-height: 76px; padding: 15px clamp(18px, 5vw, 68px); background: var(--sidebar); color: #f5f0e2; }
.login-brand .brand { margin-left: 0; }
.login-main { width: min(100% - 36px, 450px); margin: clamp(40px, 11vh, 130px) auto 44px; }
.login-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: clamp(23px, 5vw, 40px); box-shadow: 0 12px 32px #252a2010; }
.login-panel h1 { margin-bottom: 12px; font-size: clamp(2.65rem, 8vw, 3.75rem); }
.login-panel p { overflow-wrap: anywhere; }
.login-form { display: grid; gap: 10px; margin-top: 25px; }
.login-form label { font-weight: 650; }
.login-form input { width: 100%; padding: 12px; border: 1px solid #aaac9d; border-radius: 7px; background: #fff; color: var(--ink); }
#code { letter-spacing: .2em; }
.login-form .button { min-height: 46px; margin-top: 7px; font-size: .94rem; }
.login-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 7px; }
.login-link { border: 0; padding: 4px 0; background: transparent; color: var(--green); text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.login-link:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.login-error { margin-top: 15px; color: #8b2e29; }
.login-note, .login-footer { margin: 16px auto 0; color: var(--muted); text-align: center; font-size: .87rem; }
.login-footer { display: flex; justify-content: center; gap: 17px; margin-top: 8px; text-underline-offset: 3px; }
