:root { font-family: system-ui, sans-serif; color: #17243a; background: #f2f5f9; line-height: 1.5; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { max-width: 1120px; margin: auto; padding: 24px clamp(16px, 4vw, 42px) 48px; }
a { color: #1553a5; }
.back { display: inline-block; margin-bottom: 16px; font-weight: 650; text-decoration: none; }
.hero { background: #11243e; color: #fff; border-radius: 16px; padding: 28px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(26px, 4vw, 40px); margin: 0; letter-spacing: -.025em; }
.hero p { color: #c8ddfa; margin-bottom: 0; overflow-wrap: anywhere; }
.panels { display: grid; grid-template-columns: 1fr .7fr; gap: 16px; }
.card { background: white; border: 1px solid #dce4ee; border-radius: 14px; padding: 20px; margin: 0 0 16px; }
h2 { font-size: 20px; margin: 0 0 12px; }
label { display: block; font-weight: 650; margin: 12px 0 6px; }
input:not([type=checkbox]),select { display: block; width: 100%; padding: 10px; margin-bottom: 10px; color: inherit; background: white; border: 1px solid #a9b9cd; border-radius: 7px; font: inherit; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: #214fa2; vertical-align: middle; }
button { background: #174994; color: white; border: 1px solid transparent; padding: 9px 14px; border-radius: 7px; font: inherit; font-weight: 650; cursor: pointer; }
button.secondary { background: white; color: #174994; border-color: #a9b9cd; }
button.small { margin-top: 7px; padding: 4px 8px; font-size: .88rem; }
button:disabled { opacity: .56; cursor: default; }
:focus-visible { outline: 3px solid #3683da; outline-offset: 2px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 620px; }
th,td { text-align: left; padding: 10px; vertical-align: top; border-bottom: 1px solid #dce4ee; }
th { background: #f3f6fa; font-size: .9rem; }
td input:not([type=checkbox]) { min-width: 140px; margin: 0; }
#plan-rows td:nth-child(4) input { min-width: 210px; }
.confirm { margin: 14px 0; }
.run-heading { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; justify-content: space-between; }
.status { display: inline-block; font-size: .84rem; font-weight: 700; padding: 3px 8px; border-radius: 5px; background: #e9eef6; }
.running,.ready { background: #e7f0ff; color: #194884; }
.review,.uncertain { background: #fcebd2; color: #75410d; }
.draft { background: #e4f4ea; color: #155530; }
.muted,.detail { font-size: .88rem; margin-top: 4px; color: #435770; overflow-wrap: anywhere; }
progress { accent-color: #2264ad; width: 100%; margin-bottom: 10px; }
.alert,.notice { padding: 12px 16px; border-radius: 8px; background: #e5edf9; }
.alert { background: #ffede9; color: #802c1f; }
@media (max-width: 700px) { .panels { grid-template-columns: 1fr; gap: 0; } }
h1 { font-size: clamp(24px, 4vw, 34px); letter-spacing: -.025em; margin: 0 0 14px; line-height: 1.15; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px clamp(16px, 4vw, 48px); background: #fff; border-bottom: 1px solid #dce4ee; }
.top nav,.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.top nav a { text-decoration: none; padding: 5px 9px; border-radius: 6px; color: #314963; }
.top nav a[aria-current] { background: #e3edff; color: #174994; font-weight: 650; }
.brand { font-size: 1.05rem; font-weight: 800; color: #17243a; text-decoration: none; }
.login { width: min(100%, 470px); padding-top: 12vh; }
.login-card { padding: 30px; }
.settings { max-width: 670px; }
.hero { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 22px; align-items: center; }
.hero form { min-width: min(100%, 230px); }
.hero form label { margin-top: 0; }
.actions input:not([type=checkbox]), .actions select { width: auto; flex: 1 1 150px; margin: 0; min-width: 140px; }
.site-list { margin: 0 0 12px; padding: 0; list-style: none; }
.site-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #dce4ee; }
.site-list .muted { display: block; }
footer { font-size: .83rem; color: #546477; margin-top: 16px; }
@media(max-width:560px) {
    .top { flex-wrap: wrap; }
    .top nav { order: 3; width: 100%; }
    .hero { padding: 21px; }
}
