:root { color-scheme: light; --ink: #172033; --muted: #5b6474; --blue: #2457d6; --line: #dce1e8; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f7f8fa; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px max(20px, calc((100% - 1000px)/2)); background: #fff; border-bottom: 1px solid var(--line); }
header a { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 750; text-decoration: none; color: var(--ink); }
header span { color: var(--muted); font-size: 14px; }
main { max-width: 820px; margin: 36px auto; padding: 0 20px; }
h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.2; }
h2 { font-size: 1.35rem; } h3 { font-size: 1.05rem; margin-bottom: 4px; }
a { color: var(--blue); overflow-wrap: anywhere; }
section { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin: 24px 0; }
label { display: block; margin: 16px 0 6px; font-weight: 650; }
input[type=text], select, textarea { width: 100%; border: 1px solid #69758a; border-radius: 6px; padding: 10px; font: inherit; color: var(--ink); background: #fff; }
textarea { resize: vertical; }
input[readonly] { font-size: 14px; }
button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--blue); border-radius: 6px; background: #fff; color: #173f9e; cursor: pointer; font: inherit; font-weight: 650; margin-top: 12px; }
button:hover { background: #edf3ff; }
button:disabled { cursor: wait; opacity: 0.6; }
:where(a,button,input,select,textarea):focus-visible { outline: 3px solid #b45309; outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.check { display: flex; gap: 10px; font-weight: 450; align-items: flex-start; }
.check input { margin-top: 7px; flex-shrink: 0; }
.danger { color: #991b1b; border-color: #991b1b; }
.plain, #ars-messages p { white-space: pre-wrap; overflow-wrap: anywhere; }
#ars-messages { padding-left: 22px; }
#ars-messages li { border-top: 1px solid var(--line); margin-block: 14px; padding-top: 10px; }
#ars-messages p { margin: 5px 0; }
#ars-status:not(:empty) { border-left: 4px solid var(--blue); background: #edf3ff; padding: 12px 16px; }
#ars-status[data-error] { border-color: #b45309; background: #fff7ed; }
#ars-queue { padding-left: 24px; }
[hidden] { display: none !important; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; top: -80px; left: 16px; background: #fff; padding: 10px; z-index: 2; }
.skip:focus { top: 0; }
footer { border-top: 1px solid var(--line); margin-top: 28px; padding: 18px 0; }
@media (max-width: 580px) { header span { display: none; } main { margin-top: 24px; } section { padding: 16px; } }
@media print { .secret, button, textarea, select, input, .check, .trap, #ars-status { display: none !important; } }
