
.error-shell{width:min(1120px,calc(100% - 40px));margin:0 auto;padding:22px 0 34px}
.error-standalone{min-height:100vh}
.error-brand{margin-top:2px}
.error-page{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,430px);gap:44px;align-items:center;padding:42px 0 46px;min-height:calc(100vh - 220px)}
.error-page--simple .error-copy{max-width:700px}
.error-code-wrap{margin-bottom:10px}.error-code{display:inline-block;font:700 clamp(52px,9vw,110px)/0.9 Georgia,serif;letter-spacing:-2px;color:var(--accent);opacity:.95}
.error-copy h1{font:clamp(42px,6vw,72px)/0.97 Georgia,serif;letter-spacing:-2.1px;margin:0 0 14px;color:var(--ink)}
.error-copy .lead{font-size:20px;line-height:1.45;max-width:58ch;margin:0 0 10px}.error-copy .muted{max-width:58ch;color:var(--muted)}
.error-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.error-art{display:flex;justify-content:center;align-items:center}.error-art--plain{background:none;border:none;box-shadow:none;min-height:420px}
.error-illustration{display:block;max-width:min(100%,360px);height:auto;filter:drop-shadow(0 10px 18px rgba(48,43,67,.10))}
.error-illustration--404{max-width:350px}.error-illustration--403{max-width:350px}.error-illustration--400{max-width:340px}.error-illustration--csrf{max-width:320px}.error-illustration--500{max-width:390px}
@media (prefers-color-scheme: dark){body.error-standalone{background:#242231;color:#f4eddf}body.error-standalone .brand{color:#f4eddf}body.error-standalone .brand .small{color:#b9afcf}body.error-standalone .error-copy h1{color:#f4eddf}body.error-standalone .error-copy .lead{color:#e2d9c5}body.error-standalone .error-copy .muted{color:#b9afcf}}
@media(max-width:900px){.error-page{grid-template-columns:1fr;gap:18px;padding:26px 0 34px}.error-copy{order:2}.error-art{order:1;min-height:auto}.error-illustration{max-width:min(100%,300px)}.error-code{font-size:clamp(40px,14vw,84px)}.error-copy h1{font-size:clamp(34px,9vw,56px)}.error-copy .lead{font-size:18px}}
@media(max-width:560px){.error-shell{width:min(100%,calc(100% - 24px))}.error-page{gap:12px;padding-top:18px}.error-actions .btn{width:100%;justify-content:center}.error-illustration{max-width:240px}}
