/* Missing pages inherit the ledger palette and controls. */
.error-document{padding-top:24px}
.error-layout{max-width:760px;margin:clamp(40px,9vh,88px) auto}
.error-surface{color:var(--ink);min-width:0}
.error-code{margin:0;font-size:88px;font-weight:700;line-height:1;letter-spacing:-.02em;color:var(--ink)}
.error-surface h1{margin:20px 0 0;font-size:28px;line-height:38px;font-weight:400}
.error-description{margin:12px 0 0;max-width:56ch;font-size:15px;line-height:26px;color:var(--muted)}
.error-actions{margin-top:24px;display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}
.error-actions>a:not(.cta){display:inline-flex;align-items:center;min-height:44px;color:var(--link);font-size:14px}
.error-a{max-width:560px;padding-bottom:32px;border-bottom:1px solid var(--hair)}
.error-b{display:grid;grid-template-columns:200px minmax(0,1fr);gap:32px;align-items:start;padding-top:28px;border-top:1px solid var(--hair)}
.error-b .error-code{font-size:80px;padding-top:4px}
.error-b h1{margin:0}
.error-c{padding:32px;background:var(--soft)}
.error-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px 20px}
.error-heading h1{margin:0}
.error-stamp{padding:2px 8px;border:1px solid var(--ink);font-size:20px;font-weight:700;line-height:28px;color:var(--ink);letter-spacing:.08em}
.error-d .error-heading{justify-content:space-between;padding-bottom:24px;border-bottom:1px solid var(--hair)}
.error-d .error-code{font-size:56px}
.error-links{list-style:none;margin:24px 0 0;padding:0}
.error-links li{border-bottom:1px solid var(--hair)}
.error-links a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:10px 0;color:var(--link);font-size:15px}
.error-links svg{flex:none}
.error-options{max-width:1100px}
.error-options>h1{font-size:28px;line-height:38px;font-weight:400}
.error-options>.page-sub{margin-top:8px}
.error-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 32px;margin-top:32px}
.error-option{min-width:0;border-top:1px solid var(--hair)}
.error-option-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0 20px}
.error-option-header h2{margin:0;font-size:16px;line-height:24px;font-weight:400}
.error-option-header a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;white-space:nowrap}
.error-option .error-surface{min-height:310px}
.error-option .error-b{grid-template-columns:112px minmax(0,1fr);gap:20px;border:0;padding-top:0}
.error-option .error-b .error-code{font-size:56px}
.error-option .error-c{min-height:300px;padding:24px}
@media(max-width:640px){
 .error-document{padding-top:20px}
 .error-layout{margin-block:40px}
 .error-code{font-size:72px}
 .error-surface h1{font-size:25px;line-height:34px}
 .error-b{grid-template-columns:minmax(0,1fr);gap:24px;padding-top:24px}
 .error-b .error-code{font-size:72px;padding:0}
 .error-c{padding:24px 20px}
 .error-d .error-code{font-size:48px}
 .error-heading{gap:12px}
 .error-comparison{grid-template-columns:minmax(0,1fr);gap:32px}
 .error-option .error-surface{min-height:0;margin-bottom:24px}
 .error-option .error-b{grid-template-columns:minmax(0,1fr);gap:24px}
}

.error-option .error-surface h3{margin:20px 0 0;font-size:28px;line-height:38px;font-weight:400}
.error-option .error-b h3,.error-option .error-heading h3{margin:0}
@media(max-width:640px){.error-option .error-surface h3{font-size:25px;line-height:34px}}

.error-b .error-actions a{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
