:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17211d;
  background: #f2f5f1;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.shell { width: min(100% - 32px, 720px); margin: 0 auto; padding: 28px 0 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #146c51; color: white; }
.card { margin: 58px auto 0; padding: 32px; background: white; border: 1px solid #dce5df; border-radius: 18px; box-shadow: 0 12px 36px #243c2f0d; }
.narrow { max-width: 460px; }
.eyebrow { margin: 0 0 10px; color: #146c51; font-size: .75rem; font-weight: 750; letter-spacing: .1em; }
h1 { margin: 0 0 10px; font-size: clamp(1.65rem, 6vw, 2.2rem); line-height: 1.12; letter-spacing: -.04em; }
.muted { color: #5b6b62; line-height: 1.55; }
.small { font-size: .875rem; }
form { display: grid; gap: 10px; margin-top: 24px; }
label { margin-top: 6px; font-size: .92rem; font-weight: 650; }
input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #bac9bf; border-radius: 9px; background: white; color: inherit; font: inherit; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #83c7a9; outline-offset: 2px; }
button, .button-link { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; margin-top: 10px; padding: 0 18px; border: 0; border-radius: 9px; background: #146c51; color: white; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
button:hover, .button-link:hover { background: #0e573f; }
.secondary { background: #e9f0eb; color: #17211d; }
.secondary:hover { background: #dce8df; }
.alert { padding: 12px 14px; border: 1px solid #f2c5bd; border-radius: 9px; background: #fff4f1; color: #802a1d; line-height: 1.45; }
.qr-wrap { display: grid; place-items: center; width: 220px; height: 220px; margin: 20px auto; padding: 12px; border: 1px solid #dce5df; border-radius: 12px; }
.qr-wrap img { width: 100%; height: 100%; image-rendering: pixelated; }
.secret-key { display: block; overflow-wrap: anywhere; padding: 12px; border-radius: 8px; background: #f2f5f1; font-size: .9rem; }
.recovery-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; }
.recovery-list li { padding: 10px; background: #f2f5f1; border-radius: 7px; text-align: center; }
.status-row { display: flex; align-items: center; gap: 9px; margin-top: 24px; color: #315c49; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #2d9a64; }
.logout-form { max-width: 130px; }
footer { margin-top: 28px; color: #718078; font-size: .82rem; text-align: center; }
@media (max-width: 520px) { .card { margin-top: 34px; padding: 24px 20px; } .recovery-list { grid-template-columns: 1fr; } }

/* Email accounts (D-058) */
.wide { max-width: 720px; }
.eyebrow a { color: inherit; text-decoration: none; }
select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #bac9bf; border-radius: 9px; background: white; color: inherit; font: inherit; }
fieldset { display: grid; gap: 8px; margin: 14px 0 4px; padding: 16px; border: 1px solid #dce5df; border-radius: 12px; min-width: 0; }
legend { padding: 0 6px; font-weight: 700; }
.choice { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 12px; border: 1px solid #dce5df; border-radius: 10px; font-weight: 400; cursor: pointer; }
.choice:has(input:checked) { border-color: #146c51; background: #f2f8f4; }
.choice > span { display: grid; gap: 3px; }
.choice input, .check input { width: 18px; min-height: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: #146c51; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 450; }
.example { font-style: italic; }
details summary { cursor: pointer; margin: 6px 0; font-weight: 600; }
.grid2 { display: grid; grid-template-columns: 1fr 110px; gap: 0 12px; }
.notice { padding: 12px 14px; border: 1px solid #b9dcc8; border-radius: 9px; background: #eff8f2; color: #1d5a40; line-height: 1.45; }
.box-list { display: grid; gap: 12px; margin: 22px 0; padding: 0; list-style: none; }
.box { padding: 16px; border: 1px solid #dce5df; border-radius: 12px; }
.box p { margin: 8px 0 0; }
.box-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.box-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.box-actions form { display: block; margin: 0; }
.box-actions .button-link, .box-actions button { min-height: 40px; margin-top: 10px; padding: 0 14px; font-size: .92rem; }
.tag { flex: none; padding: 3px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #e9f0eb; }
.tag-personal { background: #f3ecfa; color: #5b2f86; }
.tag-business_personal { background: #e7f0fb; color: #1f4f86; }
.tag-business { background: #e6f4ec; color: #146c51; }
.danger { color: #8a2a1c; }
.danger-solid { background: #a33220; }
.danger-solid:hover { background: #862717; }
.empty { margin: 22px 0; padding: 18px; border: 1px dashed #bac9bf; border-radius: 12px; color: #5b6b62; }
.desk-nav { display: grid; gap: 10px; margin-top: 24px; }
.desk-link { display: grid; gap: 4px; padding: 16px; border: 1px solid #dce5df; border-radius: 12px; color: inherit; text-decoration: none; }
.desk-link:hover { border-color: #146c51; background: #f7faf8; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }
