:root{color-scheme:light;--bg:#FFFFFF;--sidebar:#F7FAFC;--panel:#FFFFFF;--raised:#F3F7FC;--line:#DFE6EE;--ink:#1A1C1F;--muted:#637083;--accent:#2563EB;--green:#16A36B;--amber:#996008;--danger:#C93333;--font:"DengXian","Microsoft YaHei",sans-serif;scrollbar-color:#64809B #F5F8FC}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.7 var(--font)}button,input,textarea,select,summary{font:inherit}button,summary{cursor:pointer}button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #E3EAF2;background:#F5F8FC;color:var(--ink);border-radius:9px;padding:9px 17px;transition:background .18s,border-color .18s,color .18s}button:hover{background:#E3EAF2;border-color:#64809B}button:disabled{opacity:.5;cursor:wait}button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.icon{width:21px;height:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.primary{background:var(--accent);color:#FFFFFF;border-color:var(--accent);font-weight:700}.primary:hover{background:#1D4ED8;border-color:#1D4ED8}.danger{color:var(--danger);border-color:#EDC3BF;background:#FFF2F1}.quiet{background:transparent;border-color:transparent;color:var(--muted)}.quiet:hover{background:#F5F8FC}.icon-button{padding:8px;min-width:44px;background:transparent;border-color:var(--line)}[hidden]{display:none!important}
.sidebar{width:254px;position:fixed;inset:0 auto 0 0;background:var(--sidebar);border-right:1px solid var(--line);padding:31px 20px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;padding:0 3px}.brand-mark{display:grid;place-items:center;width:45px;height:45px;background:#526479;color:#F5F8FC;border-radius:12px;font:700 17px var(--font);letter-spacing:2px;box-shadow:0 0 0 5px #2563eb0d}.brand-name{font-size:17px;font-weight:700;white-space:nowrap}.brand-name small{display:block;font:10px/2.1 Consolas,monospace;letter-spacing:1.8px;color:var(--muted)}.nav-caption{font-size:11px;color:#526479;letter-spacing:2px;margin:44px 12px 12px}nav{display:grid;gap:7px}nav button{border:1px solid transparent;background:transparent;justify-content:start;padding:12px;gap:12px;color:#526479;font-size:14px}nav button span{flex:1;text-align:left}nav button small{font:10px Consolas;color:#526479}nav button:hover{background:#F5F8FC;border-color:transparent}nav button.active{color:#1D4ED8;background:#EAF1FF;border-color:#C8D9FD;box-shadow:inset 3px 0 #2563EB}nav button.active .icon{color:#2563EB}.sidebar-note{margin-top:auto;padding:36px 12px;color:#526479}.note-line{display:block;width:24px;height:2px;background:#64809B;margin-bottom:18px}.sidebar-note p{font-size:18px;line-height:1.8;font-weight:300;letter-spacing:1px;margin:0 0 12px}.sidebar-note small{color:#526479;font-size:11px}.aside-bottom{display:flex;align-items:center;gap:9px;padding-top:20px;border-top:1px solid var(--line)}.account-mark{width:32px;height:32px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#F5F8FC;color:#526479;font-size:13px}.account-info{flex:1;min-width:0}.account-info>span{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-info small{font-size:10px;color:var(--muted)}.aside-bottom button{font-size:11px;min-height:36px;padding:6px 9px;background:transparent;border-color:var(--line)}
main{margin-left:254px;max-width:1660px;padding:25px 48px 95px}.topline{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted);padding-bottom:24px;border-bottom:1px solid var(--line)}.slash{margin:0 12px;color:#64809B}.workspace-tag{display:flex;align-items:center;gap:9px;font-size:11px}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);flex-shrink:0}header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:34px 0 24px}.eyebrow{font:10px/1.8 Consolas,monospace;letter-spacing:2px;color:#526479;margin:0}h1{font-size:34px;line-height:1.4;letter-spacing:1px;font-weight:700;margin:10px 0 9px}header p:not(.eyebrow){font-size:14px;color:var(--muted);margin:0}.refresh-button{background:transparent;border-color:#E3EAF2;font-size:12px;white-space:nowrap}.refresh-button .icon{width:16px;height:16px}.sync-line{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:36px;padding:0 0 15px;font-size:11px;color:#526479}#notice{color:#526479;overflow-wrap:anywhere}#notice::before{content:"";display:inline-block;width:5px;height:5px;background:#526479;border-radius:50%;margin-right:8px}#notice.error,#edit-error,#login-error{color:var(--danger)}#notice.error::before{background:var(--danger)}#updated{white-space:nowrap;font:10px/1.7 Consolas,var(--font)}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 32px}.metrics article{position:relative;padding:19px 20px 17px;border:1px solid var(--line);border-radius:11px;background:var(--panel);overflow:hidden}.metrics article::after{content:"";position:absolute;bottom:0;left:20px;width:30px;height:2px;background:#64809B}.metrics article:nth-child(3)::after{background:#64809B}.metric-top{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#526479;font-size:12px}.metric-top .icon{width:17px;height:17px;color:#526479}.metrics strong{display:block;font:34px/1.8 Consolas,monospace;letter-spacing:-1px;color:#526479;white-space:nowrap}.metrics small{font-size:10px;color:#526479;display:block;min-height:18px}
.work-section{border:1px solid var(--line);border-radius:12px;background:#FFFFFF;padding:24px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:22px}.section-heading>div{display:flex;align-items:baseline;gap:13px}.section-heading h2{font-size:17px;margin:0;font-weight:700;letter-spacing:1px}#result-count{font-size:11px;color:var(--muted)}#create{font-size:12px;min-height:40px;padding:8px 17px}#create::before{content:"＋";font-size:18px;line-height:1;font-weight:400}.toolbar{display:flex;align-items:flex-end;gap:12px;padding:17px 0 21px;border-top:1px solid var(--line)}label{display:block;color:#526479;font-size:12px}input,textarea,select{display:block;width:100%;background:#FFFFFF;border:1px solid #E3EAF2;color:var(--ink);border-radius:8px;padding:11px 12px;margin-top:7px;font-size:14px;min-width:0}input::placeholder,textarea::placeholder{color:#526479}input:hover,textarea:hover,select:hover{border-color:#64809B}textarea{resize:vertical;min-height:110px;line-height:1.8}.search{flex:1;min-width:0}.project-field{width:175px}.toolbar button{font-size:12px;white-space:nowrap}.toolbar .quiet{padding-inline:10px}#list{display:grid;gap:12px}.record{border:1px solid #E3EAF2;background:var(--panel);padding:21px 23px;border-radius:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;transition:border-color .18s,background .18s}.record:hover{border-color:#64809B;background:#F5F8FC}.record-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.record h3{font-size:17px;font-weight:700;line-height:1.6;margin:0;overflow-wrap:anywhere}.record-label{display:block;color:#526479;font-size:10px;letter-spacing:1px;margin:14px 0 3px}.record p{color:#526479;margin:4px 0;line-height:1.85;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.record .next-step{color:#216D4A;background:#EDF9F2;border-left:2px solid #64809B;padding:9px 13px;margin:13px 0 14px;border-radius:0 5px 5px 0}.record .next-step .record-label{color:#277B54;margin:0 0 2px}.meta{color:#526479;font:10px/1.9 Consolas,var(--font);overflow-wrap:anywhere;margin-top:13px}.badge{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:5px;font-size:10px;white-space:nowrap;flex-shrink:0;color:#2259B9;background:#EDF3FF;border:1px solid #CCDDF7}.badge::before{content:"";width:4px;height:4px;background:currentColor;border-radius:50%}.badge.waiting{color:#996008;background:#FFF7E8;border-color:#EDD7AA}.badge.running{color:#2259B9;background:#EDF3FF;border-color:#CCDDF7}.badge.done{color:#23764F;background:#EAF8F0;border-color:#BFE2CE}.record>button{font-size:11px;min-height:38px;background:transparent;border-color:#E3EAF2}.empty{padding:60px 20px;border:1px dashed #E3EAF2;border-radius:8px;text-align:center;color:#526479;font-size:14px}.empty b{display:block;color:#526479;font-size:17px;margin-bottom:8px}#more{display:flex;margin:20px auto 0;font-size:12px}footer{display:flex;justify-content:space-between;gap:16px;font-size:10px;color:#526479;margin-top:24px}footer>span:first-child{font:9px Consolas,monospace;letter-spacing:1.5px}
dialog{color:var(--ink);background:#F5F8FC;border:1px solid #64809B;border-radius:16px;padding:30px;width:min(750px,calc(100vw - 32px));max-height:90dvh;box-shadow:0 24px 90px #20354a24}dialog::backdrop{background:#34465d59;backdrop-filter:blur(7px)}dialog h2{font-size:23px;line-height:1.6;font-weight:700;margin:8px 0 18px}dialog p{color:#526479;font-size:13px;overflow-wrap:anywhere}dialog label{margin-bottom:18px}dialog button{font-size:13px}.dialog-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-bottom:1px solid var(--line);margin-bottom:23px}.dialog-top h2{overflow-wrap:anywhere}.dialog-top>div{min-width:0}.dialog-top button{white-space:nowrap}#fields{margin-top:20px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.checkpoint{border-top:1px solid #E3EAF2;padding:16px 0}.checkpoint pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.9 var(--font);color:#526479;margin:8px 0}.credential-box{border:1px solid #E3EAF2;border-radius:9px;background:#F5F8FC;padding:22px}.credential-box h3{margin-top:0;font-size:16px}.credential-box p{font-size:13px;overflow-wrap:anywhere;color:#526479}.credential-box button{margin-top:10px}#new-token,#new-config{font:12px/1.7 Consolas,monospace}#login{width:min(470px,calc(100vw - 32px));padding:38px}#login h2{font-size:28px;margin-top:18px;line-height:1.65}#login .login-mark{width:48px;height:48px;border:1px solid #64809B;border-radius:13px;display:grid;place-items:center;background:#F5F8FC;color:#1D4ED8;font-size:18px;font-weight:700;margin-bottom:23px}#login .eyebrow{font-size:9px}#login button{width:100%;justify-content:space-between;padding:13px 18px;min-height:50px}#login small{display:block;font-size:11px;color:#526479;margin-top:15px;text-align:center}.login-account{border-top:1px solid #E3EAF2;margin:24px 0;padding-top:17px}.login-account span{display:block;font-size:11px;color:#526479}.login-account strong{display:block;font:13px/2 Consolas,monospace;color:#526479;overflow-wrap:anywhere}
.help-widget{position:fixed;right:26px;bottom:24px;z-index:30}.help-widget>summary{list-style:none;display:flex;align-items:center;gap:9px;border:1px solid #64809B;background:#2563EB;color:#FFFFFF;border-radius:30px;padding:12px 18px;min-height:46px;font-size:12px;box-shadow:0 5px 25px #2563eb1c;user-select:none}.help-widget>summary::-webkit-details-marker{display:none}.help-widget>summary:hover{background:#1D4ED8}.help-indicator{font-size:16px;line-height:1;margin-left:4px}.help-widget[open] .help-indicator{transform:rotate(45deg)}.help-panel{position:absolute;bottom:62px;right:0;width:min(420px,calc(100vw - 32px));max-height:min(690px,calc(100dvh - 115px));background:#F5F8FC;border:1px solid #64809B;border-radius:14px;box-shadow:0 22px 65px #20354a2b;overflow:hidden;display:flex;flex-direction:column;animation:panel-in .18s ease-out}.help-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 24px 19px;border-bottom:1px solid #E3EAF2}.help-heading h2{font-size:22px;margin:6px 0 0;letter-spacing:1px}.help-heading .eyebrow{font-size:9px}.help-scroll{padding:0 24px 16px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.help-intro{color:#526479;font-size:13px;line-height:1.9;padding:3px 0 13px}.guide-section{border-top:1px solid #E3EAF2;padding:0}.guide-section>summary{display:flex;align-items:center;gap:11px;min-height:52px;list-style:none;font-size:13px;font-weight:700;color:#526479}.guide-section>summary::-webkit-details-marker{display:none}.guide-section>summary::after{content:"＋";margin-left:auto;color:#526479;font-size:15px}.guide-section[open]>summary::after{content:"−"}.guide-section>summary>span{font:10px Consolas;color:#526479}.guide-section p,.guide-section li{font-size:12px;line-height:1.9;color:#526479}.guide-section ol,.guide-section ul{padding-left:20px;margin:0 0 17px}.guide-section li{padding-left:3px;margin-bottom:9px}.guide-section b{font-weight:700;color:#526479}.guide-section .guide-note{padding:10px 12px;background:#F5F8FC;border-radius:6px;font-size:11px}.help-bottom{display:flex;align-items:center;gap:8px;padding:14px 24px;border-top:1px solid #E3EAF2;color:#526479;font-size:10px;background:#F5F8FC}
@keyframes panel-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1700px){main{max-width:none;padding-right:65px;padding-left:65px}.record p{max-width:1000px}}
@media(max-width:1150px){.sidebar{width:225px;padding:25px 14px 18px}.brand-name{font-size:15px}.brand-name small{font-size:9px}main{margin-left:225px;padding:24px 26px 100px}.metrics{gap:10px}.metrics article{padding:16px 13px}.metrics strong{font-size:29px}.metrics small{font-size:9px}.record{padding:19px;gap:16px}.record-head{flex-wrap:wrap;gap:8px}.record h3{font-size:16px}}
@media(max-width:850px){.sidebar{width:185px;padding:25px 11px 18px}.brand{gap:9px}.brand-mark{width:36px;height:36px;font-size:15px}.brand-name{font-size:13px}.brand-name small{font-size:7px;letter-spacing:1px}nav button{gap:9px;font-size:12px;padding:11px 9px}nav button small{display:none}.account-mark{display:none}.sidebar-note p{font-size:16px}main{margin-left:185px;padding:23px 22px 100px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics strong{font-size:32px}.metrics small{font-size:10px}.toolbar{flex-wrap:wrap}.toolbar .search{flex-basis:100%}.project-field{flex:1;width:auto}.record{grid-template-columns:minmax(0,1fr)}.record>button{justify-self:end}.workspace-tag{display:none}.work-section{padding:20px}.sync-line{align-items:flex-start}.sync-line #updated{font-size:9px}header{gap:14px}h1{font-size:30px}.refresh-button{padding:8px 11px}.refresh-button .icon{width:15px}.section-heading>div{gap:9px}}
@media(max-width:600px){.sidebar{position:relative;inset:auto;width:auto;padding:20px 18px 12px;border-right:0;border-bottom:1px solid var(--line)}.brand-mark{width:36px;height:36px}.brand-name{font-size:15px}.brand-name small{font-size:8px}.nav-caption,.sidebar-note,.account-info small{display:none}nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:20px}nav button{min-height:52px;padding:9px 2px;justify-content:center;flex-direction:column;gap:5px;font-size:11px;line-height:1.5;border-radius:8px}nav button span{flex:initial;text-align:center}nav button .icon{width:18px;height:18px}nav button.active{box-shadow:inset 0 -2px #2563EB}.aside-bottom{position:absolute;top:18px;right:18px;width:auto;border:0;padding:0;max-width:140px}.account-info>span{max-width:90px;font-size:10px}.aside-bottom button{min-height:34px;font-size:10px;padding:5px 8px}.account-mark{display:none}main{margin:0;padding:23px 16px 100px}.topline{font-size:10px;padding-bottom:17px}header{padding:26px 0 18px;align-items:flex-start}header .eyebrow{font-size:7px;letter-spacing:1px}h1{font-size:27px;margin:9px 0}header p:not(.eyebrow){font-size:12px;max-width:225px}.refresh-button{font-size:10px;padding:8px;gap:5px;min-height:38px;margin-top:23px}.refresh-button .icon{width:13px;height:13px}.sync-line{flex-direction:column;gap:3px;padding-bottom:14px;min-height:48px;font-size:10px}.sync-line #updated{align-self:flex-end}.metrics{gap:10px;margin-bottom:20px}.metrics article{padding:15px 12px;border-radius:9px}.metrics strong{font-size:28px;line-height:1.8}.metric-top{font-size:11px}.metric-top .icon{width:14px}.metrics small{font-size:9px}.metrics article::after{left:12px}.work-section{padding:16px 12px;border-radius:10px}.section-heading{gap:10px;padding-bottom:17px}.section-heading>div{gap:7px}.section-heading h2{font-size:15px}#result-count{font-size:10px}#create{font-size:11px;padding:7px 10px;min-height:38px}#create::before{font-size:16px}.toolbar{gap:9px;padding:15px 0 17px}label{font-size:11px}input,textarea,select{font-size:13px;padding:10px}.toolbar button{font-size:11px;min-height:42px;padding:8px 12px}.record{padding:17px 14px;gap:12px}.record-head{flex-direction:column;gap:8px}.record h3{font-size:15px}.record p{font-size:12px}.record .next-step{padding:9px 11px}.meta{font-size:9px}.record>button{min-height:40px;font-size:11px;padding:8px 13px}.empty{padding:42px 14px;font-size:12px}footer{flex-direction:column;gap:7px;font-size:9px;line-height:1.7}.help-widget{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}.help-widget>summary{font-size:11px;padding:11px 14px;min-height:44px}.help-widget>summary .icon{width:18px;height:18px}.help-panel{bottom:57px;width:calc(100vw - 32px);max-height:calc(100dvh - 110px);border-radius:12px}.help-heading{padding:18px 19px 16px}.help-heading h2{font-size:20px}.help-scroll{padding:0 19px 14px}.help-bottom{padding:12px 19px;font-size:9px}dialog{padding:22px 20px;max-height:88dvh}dialog h2{font-size:20px}.dialog-top button{font-size:11px;min-height:38px;padding:7px 11px}.actions button{font-size:12px}.login-account strong{font-size:12px}#login{padding:30px 25px}#login h2{font-size:25px}.credential-box{padding:17px}.credential-box p{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* 柔和绿色光带不参与点击，不遮挡内容。 */
body{isolation:isolate;position:relative;min-height:100vh}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 65% 15% at 72% 4%,#d5f6df80,transparent 78%),linear-gradient(116deg,transparent 48%,#e9faef88 58%,transparent 72%)}
.sidebar{background:linear-gradient(158deg,#f5faf7 0%,#f8fafc 38%,#f5f8fd 100%)}
.brand-mark,#login .login-mark{padding:0;overflow:hidden;border:1px solid #dce5eb;background:#fff;box-shadow:0 3px 12px #20354a12;flex-shrink:0}
.brand-mark img,.login-mark img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 25%}
.primary,.help-widget>summary{color:#fff;background:#2563eb;border-color:#2563eb}
.primary:hover,.help-widget>summary:hover{color:#fff;background:#1d4ed8;border-color:#1d4ed8}
nav button.active{color:#1d4ed8;background:#eaf1ff;border-color:#c8d9fd;box-shadow:inset 3px 0 #2563eb}
nav button.active .icon,.eyebrow{color:#2563eb}
.metrics article{background:linear-gradient(145deg,#fff 65%,#f0faf480);box-shadow:0 4px 18px #20354a04}
.metrics article::after{background:#2563eb}.metrics article:nth-child(3)::after{background:#31b77a}
.metrics strong,.guide-section b,.empty b{color:#1a1c1f}
.record:hover{background:#f8fbff;border-color:#b7cdf0}
.work-section,.help-panel,dialog{box-shadow:0 10px 38px #20354a0a}
.help-panel{background:#fff;box-shadow:0 18px 60px #20354a24}
.help-heading{background:linear-gradient(115deg,#f0faf4,#f6f9ff)}
.guide-section>summary{color:#1a1c1f}.help-bottom{background:#f6faf8}
dialog{background:#fff;border-color:#d9e3ed}.credential-box{background:#f4f8ff}
#login{background:radial-gradient(ellipse at 100% 0,#e4f8e9,transparent 55%),#fff}
.record .next-step{color:#216d4a;background:#edf9f2;border-left-color:#36a571}
.record .next-step .record-label{color:#277b54}
@media(max-width:600px){nav button.active{box-shadow:inset 0 -2px #2563eb}}
.help-widget{right:0;bottom:24px}
.help-widget>summary{width:44px;min-height:44px;padding:10px;gap:0;border-radius:14px 0 0 14px;box-shadow:0 3px 18px #2563eb20}
.help-widget>summary .icon{width:22px;height:22px}
.help-widget>summary>span{display:none}
.help-widget[open]>summary{background:#1d4ed8}
.help-panel{right:56px;bottom:0;width:min(420px,calc(100vw - 76px));max-height:min(690px,calc(100dvh - 48px))}
@media(max-width:600px){.help-widget{right:0;bottom:max(18px,env(safe-area-inset-bottom))}.help-panel{position:fixed;right:12px;bottom:76px;width:calc(100vw - 24px);max-height:calc(100dvh - 100px)}}
#editor{padding:0;overflow:hidden}
#edit-form{display:flex;flex-direction:column;max-height:calc(90dvh - 2px)}
#editor .dialog-top{flex-shrink:0;padding:30px 30px 0;margin:0;background:#fff}
#editor .dialog-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 30px 30px}
@media(max-width:600px){#edit-form{max-height:calc(88dvh - 2px)}#editor .dialog-top{padding:22px 20px 0}#editor .dialog-body{padding:0 20px 22px}}

#open-agents{justify-content:flex-start;gap:10px;margin:0 0 16px;padding:10px 12px;font-size:12px;border:1px solid var(--line)}
#agent-registry{padding:0;overflow:hidden}
#agent-registry[open]{display:flex;flex-direction:column}
#agent-registry>.dialog-top{flex-shrink:0;padding:24px 30px 0;margin:0}
.registry-body{padding:20px 30px 30px;overflow-y:auto;min-height:0}
#agent-list{display:grid;gap:12px}
@media(max-width:600px){nav{grid-template-columns:repeat(3,minmax(0,1fr))}#open-agents{position:fixed;left:0;bottom:18px;margin:0;border-radius:0 12px 12px 0;background:#fff;box-shadow:0 3px 18px #20354a18;z-index:25;font-size:11px;padding:10px}#agent-registry>.dialog-top{padding:22px 20px 0}.registry-body{padding:18px 20px 22px}}

.task-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}.task-filters select{font-size:12px}.checkpoint .meta{word-break:break-word}
@media(max-width:850px){.task-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}

.record-open{display:block;cursor:pointer}.record-open:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.record-open .record-head{display:flex;flex-wrap:wrap;align-items:flex-start}.record-open .record-head h3{flex:1;min-width:140px}
.agent-tags{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-left:auto;max-width:55%;font-size:11px;color:#2563eb}.agent-tag{display:inline-block;padding:3px 8px;border:1px solid #d7e5fa;background:#f0f6ff;border-radius:6px;overflow-wrap:anywhere}.record-open .record-head>.badge{order:0}.record-open .record-head .agent-tags{order:1}
@media(max-width:600px){.record-open .record-head{flex-direction:row}.agent-tags{max-width:100%;justify-content:flex-start}.record-open .record-head h3{flex-basis:100%}.record-open .record-head>.badge{order:0}.record-open .record-head .agent-tags{margin-left:auto;justify-content:flex-end;flex:1}}

.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.sidebar-tools{margin-bottom:18px}#open-agents{width:100%;margin-bottom:12px}
#storage-usage{padding:0 10px;color:var(--muted);font-size:10px}.storage-heading,.storage-caption{display:flex;align-items:center;justify-content:space-between;gap:6px}.storage-heading strong{font:11px Consolas,monospace;color:var(--ink);white-space:nowrap}
#storage-progress{display:block;width:100%;height:5px;margin:9px 0;border:0;border-radius:5px;overflow:hidden;appearance:none;background:#e2eaf2;accent-color:#2563eb}#storage-progress::-webkit-progress-bar{background:#e2eaf2;border-radius:5px}#storage-progress::-webkit-progress-value{background:#2563eb;border-radius:5px}#storage-progress::-moz-progress-bar{background:#2563eb;border-radius:5px}.storage-caption{font-size:9px}
@media(max-width:600px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics article:last-child{grid-column:1/-1}.sidebar-tools{position:fixed;left:0;bottom:max(18px,env(safe-area-inset-bottom));width:164px;padding:0 0 10px;margin:0;background:#fff;border:1px solid var(--line);border-left:0;border-radius:0 12px 12px 0;box-shadow:0 3px 18px #20354a18;z-index:25}#open-agents{position:static;border:0;border-bottom:1px solid var(--line);border-radius:0 12px 0 0;box-shadow:none;margin:0 0 9px}.storage-caption{font-size:8px}main{padding-bottom:160px}}
