:root { --ink:#20252c; --muted:#59616d; --line:#d7dce2; --accent:#2264a5; --accent-hover:#184d83; --paper:#fff; --canvas:#f3f5f7; --dark:#242a32; --error:#a32222; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--canvas); font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
a { color:var(--accent); text-underline-offset:3px; }
button,input,select { font:inherit; }
button,.button { cursor:pointer; border:1px solid #a9b2be; border-radius:4px; background:#fff; color:var(--ink); padding:9px 15px; min-height:42px; font-weight:600; }
button:hover { background:#f0f3f6; border-color:#788594; }
button:focus-visible,a:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
button:disabled { cursor:default; opacity:.5; }
.primary { background:var(--accent); color:white; border-color:var(--accent); }
.primary:hover { background:var(--accent-hover); border-color:var(--accent-hover); }
input:not([type=checkbox]),select { display:block; width:100%; max-width:560px; border:1px solid #98a2af; border-radius:4px; background:var(--paper); color:var(--ink); padding:10px 11px; min-height:44px; }
input:focus,select:focus { outline:0; border-color:var(--accent); box-shadow:0 0 0 1px var(--accent); }
input[type=file] { max-width:100%; font-size:14px; }
input[type=file]::file-selector-button { font:inherit; padding:5px 10px; margin-right:10px; border:1px solid var(--line); border-radius:3px; background:var(--canvas); cursor:pointer; }
input[type=checkbox] { accent-color:var(--accent); width:17px; height:17px; margin:4px 8px 0 0; flex-shrink:0; }
input::placeholder { color:#727b88; opacity:1; }
label { display:block; font-weight:600; margin:20px 0 6px; }
h1 { font-size:27px; line-height:1.25; letter-spacing:-.4px; font-weight:600; margin:0 0 12px; overflow-wrap:anywhere; }
h2 { font-size:19px; line-height:1.35; font-weight:600; margin:26px 0 10px; }
p { max-width:72ch; margin:10px 0 16px; }
.muted,.help,.footnote { color:var(--muted); }
.help,.small,.footnote { font-size:13px; }
.help { margin:7px 0 15px; }
.intro { font-size:16px; }
.footnote { border-top:1px solid var(--line); margin-top:30px; padding-top:17px; }
.topbar { min-height:66px; display:flex; align-items:center; justify-content:space-between; gap:20px; background:var(--dark); padding:14px 28px; color:#fff; }
.brand { font-size:21px; font-weight:650; text-decoration:none; color:inherit; }
.brand span { font-weight:400; color:#cbd3de; margin-left:5px; }
.topbar nav { display:flex; gap:24px; align-items:center; font-size:14px; }
.topbar a { color:#fff; }
.quiet { border:0; color:#e0e5ed; background:transparent; padding:5px 0; min-height:32px; font-weight:400; }
.quiet:hover { background:transparent; color:#fff; text-decoration:underline; }
.workspace { display:grid; grid-template-columns:260px minmax(0,1fr); max-width:1400px; min-height:calc(100vh - 66px); margin:auto; }
aside { padding:27px 20px; border-right:1px solid var(--line); }
.aside-title { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:18px; }
.aside-title h2 { margin:0; font-size:15px; }
.text-button { color:var(--accent); padding:0; border:0; min-height:32px; background:transparent; font-size:13px; }
.text-button:hover { background:transparent; text-decoration:underline; }
.job { display:block; width:100%; text-align:left; margin:0 0 8px; padding:11px 12px; border:1px solid transparent; background:transparent; font-weight:500; overflow-wrap:anywhere; }
.job small { display:block; font-weight:400; color:var(--muted); margin-top:3px; }
.job[aria-current=true] { border-color:#b5c7d9; background:#e7eef6; color:#164a7a; }
main { min-width:0; background:var(--paper); padding:38px 44px; }
#prepare-form button { display:block; margin-top:24px; }
select { max-width:200px; }
.restore-heading { display:flex; justify-content:space-between; gap:16px; align-items:start; }
.restore-heading p { margin-bottom:0; }
.badge { border:1px solid var(--line); border-radius:4px; padding:4px 9px; font-size:12px; white-space:nowrap; }
.steps { display:flex; list-style:none; padding:0; margin:25px 0; border-bottom:1px solid var(--line); gap:24px; }
.steps li { font-size:13px; padding:0 0 10px; color:var(--muted); }
.steps li.current { color:var(--accent); border-bottom:2px solid var(--accent); font-weight:600; }
.status { max-width:72ch; }
.status:not(:empty) { margin:0 0 20px; }
progress { width:100%; height:16px; accent-color:var(--accent); margin:0 0 20px; }
.actions { display:flex; flex-wrap:wrap; gap:10px; margin:24px 0 16px; }
dl { display:grid; grid-template-columns:minmax(130px,1fr) 2fr; gap:9px 20px; margin:20px 0; max-width:650px; }
dt { color:var(--muted); }
dd { margin:0; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.confirmation { display:flex; align-items:start; font-weight:400; max-width:65ch; margin:24px 0 18px; }
.error { background:#fff3f3; color:var(--error); border:1px solid #e6b5b5; border-radius:4px; padding:12px 15px; margin:0 0 24px; max-width:75ch; }
.error:empty { display:none; }
.login-shell { width:min(100% - 40px,460px); margin:8vh auto; padding:34px; border:1px solid var(--line); border-radius:6px; background:var(--paper); }
.login-shell .brand { color:var(--accent); display:inline-block; margin-bottom:25px; }
.login-shell h1 { font-size:26px; }
.login-shell button { width:100%; margin:25px 0 10px; }
.login-shell .small { margin-top:18px; margin-bottom:0; }
[hidden] { display:none !important; }
::selection { background:#cde2f6; color:#122f4d; }
@media(max-width:850px) { .workspace { grid-template-columns:210px minmax(0,1fr); } main { padding:30px 26px; } aside { padding:22px 14px; } }
@media(max-width:640px) { .topbar { padding:13px 18px; gap:12px; } .topbar nav { gap:16px; font-size:13px; } .brand { font-size:19px; } .workspace { display:block; } aside { border-right:0; border-bottom:1px solid var(--line); padding:15px 18px; } .aside-title { margin:0 0 6px; } #jobs { display:flex; gap:7px; overflow-x:auto; } #jobs .job { min-width:170px; max-width:230px; margin:0; font-size:13px; } #jobs>p { font-size:13px; margin:3px 0; } main { padding:27px 20px; min-height:65vh; } h1 { font-size:24px; } .restore-heading { display:block; } .badge { display:inline-block; margin-top:12px; } .steps { gap:20px; } dl { grid-template-columns:1fr; gap:3px; } dd { margin-bottom:9px; } .login-shell { padding:26px 24px; } }
@media(prefers-reduced-motion:no-preference) { button,input,select { transition:background-color .15s,border-color .15s; } }
