:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1b2c33;background:#f6f8fa;font-synthesis:none;--muted:#74818a;--line:#e5eaed;--green:#147d67;--pale:#eaf5f0}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:10px 15px;background:#fff;color:#263b43;font-weight:550;white-space:nowrap}button:hover{background:#f3f7f6}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{background:#0d6855}.quiet{background:transparent;border-color:transparent;padding:7px 9px;color:var(--muted)}.danger{color:#b24242}.small{padding:6px 10px;font-size:12px}.muted{color:var(--muted)}.error{color:#b13c3c;min-height:18px;line-height:1.5}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:650;color:var(--green)}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}[hidden]{display:none!important}.app{display:grid;grid-template-columns:226px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:28px 17px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;margin:0 9px 45px;font-weight:750;color:#20373c;font-size:16px;letter-spacing:-.4px}.brand:hover{text-decoration:none}.brand small{display:block;color:var(--muted);font-size:11px;font-weight:450;letter-spacing:0;margin-top:5px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:11px;background:var(--green);color:#fff;font-size:27px;font-weight:750;letter-spacing:-3px;padding-right:5px;flex-shrink:0}.brand-mark span{color:#a4e4c6}.nav-caption{font-size:9px;letter-spacing:1.2px;color:#919ca4;padding:0 12px;margin-bottom:17px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{padding:13px 14px;color:#687980;display:flex;justify-content:space-between;border-radius:8px;font-weight:550}.sidebar nav a span{font-size:10px;font-weight:400;opacity:.5}.sidebar nav a:hover{background:#f6f9f8;text-decoration:none}.sidebar nav a.active{background:var(--pale);color:var(--green)}.sidebar-bottom{margin-top:auto;padding:22px 10px 0;border-top:1px solid var(--line)}.sidebar-bottom a{font-size:12px;display:flex;justify-content:space-between;color:#425d65}.sidebar-bottom p{color:#a1abb1;font-size:10px;margin-top:15px}main{min-width:0;display:flex;flex-direction:column}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);padding:0 36px;display:flex;align-items:center;justify-content:space-between}.workspace-label{font-size:12px;color:#839199}.topbar-right{display:flex;align-items:center;gap:10px;font-size:12px;color:#63767e}.topbar-right .quiet{margin-left:13px}.live-dot{width:6px;height:6px;border-radius:100%;background:#329b78;display:inline-block}.workspace{padding:37px 36px;max-width:1600px;width:100%;margin:0 auto;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{font-size:27px;font-weight:650;letter-spacing:-1px;margin:0 0 8px}.page-heading p{color:var(--muted);font-size:12px;margin:0;line-height:1.6}.heading-actions,.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:22px;overflow:hidden}.panel-head{padding:20px 23px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2{font-size:14px;letter-spacing:-.1px;margin:0}.panel-head p{margin:6px 0 0;font-size:11px;color:var(--muted)}.panel-body{padding:23px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.stat{border:1px solid var(--line);border-radius:11px;background:#fff;padding:21px 22px}.stat p{color:#7a8b91;font-size:11px;margin:0 0 14px}.stat strong{font-size:29px;letter-spacing:-1px;font-weight:620;display:block}.stat small{font-size:10px;color:#8b999e;margin-top:12px;display:block}.grid-two{display:grid;grid-template-columns:1.25fr 1fr;gap:22px}.grid-two .panel{height:100%}.info-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;gap:14px;border-bottom:1px solid #f0f3f5;font-size:12px}.info-row:first-child{padding-top:0}.info-row:last-child{border:0;padding-bottom:0}.badge{display:inline-flex;align-items:center;border-radius:5px;padding:4px 7px;font-size:10px;background:#edf2f5;color:#697c87;font-weight:550;white-space:nowrap}.badge.good{background:#e9f5ee;color:#287956}.badge.bad{background:#fcf0ee;color:#af5548}.badge.warn{background:#fcf6e8;color:#a17f32}.badge.info{background:#edf2fc;color:#5c79ad}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}th{font-size:10px;letter-spacing:.3px;color:#8b989f;background:#fcfdfd;font-weight:500;padding:14px 22px;border-bottom:1px solid var(--line)}td{padding:17px 22px;border-bottom:1px solid #edf1f3;color:#445e68}tbody tr:last-child td{border:0}td strong{font-weight:550;color:#28424b}td small{display:block;font-size:10px;color:#91a0a6;margin-top:5px}.truncate{max-width:250px;overflow:hidden;text-overflow:ellipsis;display:block}.empty{padding:52px 24px;text-align:center}.empty strong{display:block;font-size:15px;font-weight:550;margin-bottom:9px}.empty p{color:var(--muted);font-size:12px;line-height:1.7;margin:0 0 19px}.filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}.filters input,.filters select{width:auto;min-width:155px;max-width:260px;background:#fff}.filters input{flex:1;min-width:160px}.pager{display:flex;align-items:center;justify-content:space-between;padding:15px 22px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.pager .actions{gap:5px}.context{min-width:210px;max-width:300px}.notice{padding:14px 18px;border:1px solid #e9dfc1;background:#fcf9ef;color:#877547;border-radius:8px;font-size:12px;line-height:1.65;margin-bottom:20px}.progress{height:5px;border-radius:4px;background:#edf2ef;overflow:hidden;margin:15px 0 12px}.progress-meter{height:100%;background:#3d9b7a;width:0}label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#48616b;margin-bottom:17px}input,textarea,select{border:1px solid #dce4e7;border-radius:7px;padding:11px 12px;background:#fff;color:#283e47;width:100%;min-height:40px}input:focus,textarea:focus,select:focus{border-color:#80b7a5;outline:2px solid #e2f0e9}textarea{resize:vertical;min-height:110px;line-height:1.5}input[type=checkbox]{width:16px;height:16px;min-height:0;accent-color:var(--green)}.check{flex-direction:row;align-items:center;gap:10px;margin:12px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-note{font-size:11px;color:var(--muted);line-height:1.65;margin:0 0 18px}.form-actions{border-top:1px solid var(--line);margin-top:22px;padding-top:20px;display:flex;gap:10px;justify-content:flex-end}.login-wrap{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:25px;background:radial-gradient(ellipse at 45% 0,#e9f4ef,transparent 60%),#f5f8f7}.login-card{padding:40px;width:420px;background:#fff;border:1px solid #e2ebe7;border-radius:16px;box-shadow:0 18px 70px #233c3010}.login-card .brand-mark{margin-bottom:19px;width:46px;height:46px;font-size:31px}.login-card h1{font-size:24px;font-weight:650;letter-spacing:-.7px;margin:15px 0}.login-card .muted{font-size:12px;line-height:1.8;margin-bottom:26px}.login-card label{margin-top:27px}.login-card .primary{width:100%;display:flex;justify-content:space-between;padding:13px 15px}dialog{border:1px solid var(--line);border-radius:14px;padding:0;max-width:680px;width:calc(100% - 32px);max-height:88vh;color:#263e47;box-shadow:0 25px 100px #10292f30}dialog::backdrop{background:#1a303c66;backdrop-filter:blur(3px)}dialog>header{display:flex;align-items:center;justify-content:space-between;padding:21px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}dialog h2{font-size:18px;font-weight:600;margin:0}#modal-body{padding:25px}#modal-body .panel{border-radius:8px}#modal-body td,#modal-body th{padding:12px}#modal-body h3{font-size:13px;margin:24px 0 12px}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f8f9;border:1px solid #e8edf0;border-radius:8px;padding:16px;font:11px/1.7 ui-monospace,SFMono-Regular,monospace;max-height:260px;overflow:auto}.mono{font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px}.secret{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;width:100%;overflow-wrap:anywhere}.secret-box{display:flex;gap:10px;align-items:center}.secret-box input{min-width:0}.result-reason{font-size:13px;line-height:1.75;color:#617781}.result-actions{display:flex;gap:10px;margin-top:15px}#toast{position:fixed;bottom:24px;right:25px;max-width:440px;padding:15px 22px;border-radius:9px;background:#203f36;color:white;font-size:12px;line-height:1.6;box-shadow:0 8px 40px #15312522;z-index:10}#toast.error-toast{background:#8c4442}footer{padding:16px 36px;border-top:1px solid var(--line);font-size:10px;color:#9da8ad;display:flex;justify-content:space-between}button.link-button{border:0;background:none;padding:0;color:var(--green);font-size:inherit;text-align:left}.loading{padding:50px;text-align:center;color:var(--muted);font-size:12px}@media(min-width:1500px){.workspace{padding-top:43px}.stat{padding:25px}}@media(max-width:1100px){.app{grid-template-columns:190px 1fr}.workspace{padding:28px 23px}.topbar{padding:0 23px}.sidebar{padding:26px 11px}.brand{font-size:14px;gap:8px}.nav-caption{font-size:8px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-two{grid-template-columns:1fr}td,th{padding:14px 16px}}@media(max-width:700px){.app{display:block}.sidebar{position:static;height:auto;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0 0 17px}.brand small,.nav-caption,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;overflow-x:auto;gap:2px}.sidebar nav a{padding:9px 11px;white-space:nowrap;font-size:12px}.sidebar nav a span{display:none}.topbar{height:52px;padding:0 18px}.workspace-label{font-size:10px}.workspace{padding:25px 16px}.page-heading{align-items:flex-start;flex-direction:column;gap:15px}.page-heading h1{font-size:24px}.heading-actions{width:100%}.context{width:100%;max-width:none}.stats{gap:10px}.stat{padding:17px 15px}.stat strong{font-size:25px}.panel-head,.panel-body{padding:17px}.form-grid{grid-template-columns:1fr}.login-card{padding:28px}.login-card h1{font-size:22px}.filters input,.filters select{max-width:none;flex:1;min-width:125px}footer{padding:16px;font-size:9px}footer span{max-width:190px;text-align:right}#toast{left:16px;right:16px;bottom:16px;max-width:none}}

/* Theme selection is applied by theme.js before this stylesheet is loaded. */
:root[data-theme=dark]{color-scheme:dark;color:#e2eaf0;background:#0e141b;--muted:#94a5b3;--line:#283641;--green:#75ccb1;--pale:#17382f}
[data-theme=dark] button{background:#1a2530;color:#dae6eb}
[data-theme=dark] button:hover{background:#253541}
[data-theme=dark] .primary{background:#67bfa2;color:#0b2019;border-color:#67bfa2}
[data-theme=dark] .primary:hover{background:#86d8ba}
[data-theme=dark] .quiet{background:transparent;color:#9cadb9}
[data-theme=dark] .quiet:hover{background:#24313c}
[data-theme=dark] .danger,[data-theme=dark] .error{color:#f2938f}
[data-theme=dark] .sidebar,[data-theme=dark] .topbar,[data-theme=dark] .panel,[data-theme=dark] .stat,[data-theme=dark] dialog,[data-theme=dark] dialog>header{background:#141e27;color:#e2eaf0}
[data-theme=dark] .brand{color:#e6f0ef}
[data-theme=dark] .brand-mark{background:#24644f;color:#e2f6ed}
[data-theme=dark] .sidebar nav a{color:#a8b9c4}
[data-theme=dark] .sidebar nav a:hover{background:#1d2c35}
[data-theme=dark] .sidebar nav a.active{color:#90ddbf;background:#1b3b32}
[data-theme=dark] .sidebar-bottom a{color:#acbec9}
[data-theme=dark] .sidebar-bottom p{color:#879aa7}
[data-theme=dark] .topbar-right,[data-theme=dark] .workspace-label,[data-theme=dark] .stat p,[data-theme=dark] .stat small{color:#96aab9}
[data-theme=dark] .info-row{border-color:#25323e}
[data-theme=dark] .badge{background:#273540;color:#b5c7d3}
[data-theme=dark] .badge.good{background:#1c3c30;color:#95dbb3}
[data-theme=dark] .badge.bad{background:#462b2b;color:#f4b0a6}
[data-theme=dark] .badge.warn{background:#433d26;color:#e8ce89}
[data-theme=dark] .badge.info{background:#25394d;color:#a4c8f1}
[data-theme=dark] th{background:#17232e;color:#a3b4c0}
[data-theme=dark] td{border-color:#263440;color:#bfd0db}
[data-theme=dark] td strong{color:#e2ecf0}
[data-theme=dark] td small{color:#92a6b4}
[data-theme=dark] input,[data-theme=dark] textarea,[data-theme=dark] select,[data-theme=dark] .filters input,[data-theme=dark] .filters select{background:#111a22;border-color:#344653;color:#e4eef3}
[data-theme=dark] input:focus,[data-theme=dark] textarea:focus,[data-theme=dark] select:focus{border-color:#75ccb1;outline-color:#294e43}
[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#7f95a5}
[data-theme=dark] label{color:#bdcdd8}
[data-theme=dark] .notice{border-color:#665b35;background:#322d1f;color:#e2cd96}
[data-theme=dark] .progress{background:#263d34}
[data-theme=dark] .login-wrap{background:radial-gradient(ellipse at 45% 0,#18352e,transparent 65%),#0e141b}
[data-theme=dark] .login-card{background:#151f28;border-color:#2d4149;box-shadow:0 18px 70px #0004}

[data-theme=dark] dialog::backdrop{background:#02080db5}
[data-theme=dark] pre{background:#0f1821;border-color:#2a3b47;color:#c9d9e4}
[data-theme=dark] .result-reason{color:#b0c3cf}
[data-theme=dark] #toast{background:#245640;color:#e2f6e9}
[data-theme=dark] #toast.error-toast{background:#773c3b}
[data-theme=dark] footer{color:#92a4b1}
.theme-toggle{font-size:11px;padding:7px 10px;line-height:1.4}.login-theme{position:absolute;right:24px;top:24px}.login-wrap{position:relative}
@media(max-width:700px){.topbar-right{gap:7px}.topbar-right .quiet{margin-left:0}.operator-label{display:none}.theme-toggle{font-size:10px;padding:6px 8px}.login-theme{right:16px;top:16px}}

:root[data-theme=light]{color-scheme:light}
