:root{--ink:#152638;--muted:#66788a;--line:#dbe4eb;--blue:#0b6bcb;--navy:#123d64;--green:#16825d;--amber:#a76500;--red:#b42318;--bg:#f3f6f8;--card:#fff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 Inter,Segoe UI,Arial,sans-serif}header{background:linear-gradient(120deg,#102f4b,#145f93);color:#fff;padding:30px max(24px,calc((100vw - 1220px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}h1,h2,h3,p{margin:0}h1{font-size:clamp(25px,4vw,38px);letter-spacing:-.035em}h2{font-size:21px}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:800;color:#93d4ff;margin-bottom:5px}.health{padding:8px 13px;border:1px solid #ffffff55;border-radius:999px;background:#ffffff12}.health.ok:before{content:"";display:inline-block;width:8px;height:8px;background:#55e0a4;border-radius:50%;margin-right:8px}main{max-width:1220px;margin:0 auto;padding:28px 24px 60px}.intro,.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}.intro p,.section-head p,.subtle{color:var(--muted)}button,select,input{font:inherit}button{border:0;border-radius:8px;padding:10px 14px;font-weight:700;cursor:pointer;background:var(--blue);color:#fff}button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:not-allowed}.secondary{background:#fff;color:var(--navy);border:1px solid var(--line)}.danger{background:var(--red)}#notice{min-height:0;margin-bottom:12px}.notice{padding:10px 14px;border-radius:8px;background:#e8f4ff;color:#164c75}.notice.error{background:#fdecea;color:#8e1c13}.targets{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:18px}.target{background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 18px #243a4f0a;overflow:hidden}.target-head{padding:20px 20px 15px;display:flex;justify-content:space-between;gap:15px}.target h3{font-size:20px}.path{font-size:12px;color:var(--muted);word-break:break-all;margin-top:4px}.badge{font-size:12px;font-weight:800;padding:4px 9px;height:max-content;border-radius:99px;background:#e8f6f0;color:var(--green)}.badge.disabled{background:#eef1f3;color:#667}.usage{padding:0 20px 18px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.metric{border:1px solid var(--line);border-radius:10px;padding:13px}.metric span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);display:block}.metric strong{font-size:21px;display:block;margin-top:2px}.metric small{color:var(--muted)}.quota{grid-column:1/-1;background:#f7fafc}.archive-activity{border-top:1px solid var(--line);padding:16px 20px;background:#fbfcfd}.activity-head,.progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.activity-head>div{display:flex;flex-direction:column}.activity-head span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.activity-head strong{font-size:14px}.recent-files{list-style:none;padding:0;margin:10px 0 0}.recent-files li{display:flex;justify-content:space-between;gap:14px;padding:7px 0;border-top:1px solid #e9eef2}.recent-files li>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.recent-files small,.empty,.live-progress small{color:var(--muted);font-size:12px}.empty{margin-top:9px}.live-progress{background:#edf7ff;border:1px solid #cce5f7;border-radius:10px;padding:12px;margin-bottom:14px}.progress-head span{font-weight:800;color:var(--blue)}.progress-track{height:8px;border-radius:99px;background:#d6e4ef;overflow:hidden;margin:9px 0 6px}.progress-track span{display:block;height:100%;background:linear-gradient(90deg,#0b6bcb,#22a06b);transition:width .35s ease}.settings{border-top:1px solid var(--line);padding:16px 20px;display:flex;align-items:end;gap:10px}.settings label{font-size:12px;font-weight:700;flex:1}.settings input{display:block;width:100%;padding:9px;border:1px solid #b9c7d1;border-radius:7px;margin-top:5px}.actions{border-top:1px solid var(--line);padding:16px 20px;display:flex;flex-wrap:wrap;gap:8px}.history{margin-top:32px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}.section-head select{padding:9px 12px;border:1px solid var(--line);border-radius:7px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:760px}th,td{text-align:left;border-top:1px solid var(--line);padding:11px 9px;vertical-align:top}th{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}td:nth-child(5){max-width:420px}.status{font-weight:800;font-size:12px}.status.succeeded{color:var(--green)}.status.failed,.status.rejected{color:var(--red)}.status.running{color:var(--amber)}dialog{border:0;border-radius:14px;padding:0;max-width:500px;box-shadow:0 24px 80px #0005}dialog::backdrop{background:#0b2236aa}dialog form{padding:25px}dialog p{color:var(--muted);margin:8px 0 18px}dialog label{font-weight:700}dialog input{display:block;width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;margin-top:6px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}@media(max-width:600px){header,.intro,.section-head{align-items:flex-start;flex-direction:column}.targets{grid-template-columns:1fr}.usage{grid-template-columns:1fr}.quota{grid-column:auto}.settings{align-items:stretch;flex-direction:column}.recent-files li{align-items:flex-start;flex-direction:column;gap:2px}}
.empty-target{padding:20px}.empty-target p{color:var(--muted);margin-top:5px}.plan-results{border-top:1px solid var(--line);padding:18px 20px;background:#f8fafc}.plan-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.plan-head>div{display:flex;flex-direction:column}.plan-head span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.plan-head strong{font-size:15px}.plan-error{color:var(--red)}.plan-summary{color:var(--muted);font-size:12px;margin-top:7px}.plan-empty{padding:12px;background:#fff;border:1px solid var(--line);border-radius:8px}.plan-table-wrap{overflow:auto;margin-top:12px}.plan-table{min-width:720px;background:#fff;border:1px solid var(--line)}.plan-table td:first-child{max-width:380px;overflow-wrap:anywhere}.plan-table td:last-child small{display:block;color:var(--muted)}.plan-result{font-size:10px;font-weight:800}.plan-result.eligible{color:var(--green)}.plan-result.blocked{color:var(--red)}
.cleanup-whitelist{border-top:1px solid var(--line);padding:16px 20px;display:flex;align-items:center;gap:12px}.cleanup-whitelist>div{flex:1;min-width:0}.cleanup-whitelist strong,.cleanup-whitelist small{display:block}.cleanup-whitelist small{color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.wide-dialog{max-width:680px;width:min(680px,calc(100vw - 30px))}
.progress-controls{display:flex;align-items:center;gap:9px}.stop-cleanup{padding:5px 9px;font-size:12px}.status.cancelled{color:var(--muted)}@media(max-width:600px){.progress-head{align-items:flex-start}.progress-controls{align-items:flex-end;flex-direction:column}}
.pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px}.pager span{color:var(--muted);font-size:12px}.pager button{padding:7px 11px}.plan-results .pager{justify-content:space-between}@media(max-width:600px){.pager{justify-content:space-between}.pager span{text-align:center}}
