:root{--ink:#142c3b;--accent:#087c72;--muted:#657b86}body{background:#f3f6f7;color:var(--ink);font-family:Inter,"Microsoft YaHei",sans-serif}header{background:#fff;border-bottom:1px solid #e0e8ec}.shell{max-width:1200px}.top{gap:24px;flex-wrap:wrap}.brand{font-size:22px;color:var(--ink);text-decoration:none}.brand span{font-size:14px;font-weight:400;color:var(--muted);margin-left:10px}nav{display:flex;gap:22px;flex:1}nav a{color:#436070;text-decoration:none;font-weight:600}button,.button{background:var(--accent);border-radius:8px;color:white;padding:11px 18px;border:0;text-decoration:none;display:inline-block;cursor:pointer}.secondary{background:#eaf2f2!important;color:#245c59!important}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--accent)}h1{font-size:32px;letter-spacing:-1px}.heading{margin:32px 0 22px}.panel{border:1px solid #dfe8eb;border-radius:14px;box-shadow:0 3px 16px #15374404}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.stat{background:white;border:1px solid #dfe8eb;border-radius:12px;text-decoration:none;color:var(--ink);padding:22px}.stat strong{font-size:30px}.stat span{color:var(--muted)}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-title h2{margin-top:0}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#b9c5ca;margin-right:8px}.dot.online{background:#0aa28a}.pill.completed{background:#ddf3ec;color:#0a6855}.pill.failed,.pill.needs_attention{background:#fff0df;color:#975d16}.pill.running{background:#dfedf9;color:#245f8b}.pill.queued{background:#f0edf9;color:#695090}.item small,td small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:12px;color:var(--muted);font-weight:500;padding:13px 12px;background:#f6f8fa}td{padding:18px 12px;border-bottom:1px solid #edf1f3}td a{white-space:nowrap;color:var(--accent)}.empty{text-align:center;padding:32px;color:var(--muted)}.notice{background:#eaf2f5;color:#496977;border:0;border-left:3px solid #88abbc;border-radius:6px;font-size:12px}.login{max-width:440px;margin:70px auto;padding:36px}.login h1{font-size:28px}.login button{width:100%}footer{color:#80949c;font-size:12px;padding:35px 0 30px}textarea{min-height:90px}input,select,textarea{border-radius:7px;border:1px solid #cedbe1}form .muted{font-size:12px;line-height:1.7}.muted{color:var(--muted)}.event small{display:block}.event p{overflow-wrap:anywhere}@media(max-width:800px){.stats{grid-template-columns:repeat(2,1fr)}.grid.two{grid-template-columns:1fr}.top{padding:16px 0;gap:14px}nav{order:3;flex-basis:100%}.top form span{font-size:11px}.heading{align-items:flex-start;gap:15px}h1{font-size:27px}.shell{width:calc(100% - 28px)}.panel{padding:20px}.login{margin:30px auto}.stat{padding:16px}}

nav{flex-wrap:wrap;gap:12px 18px}.file-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:500px;overflow:auto;background:#f4f7f8;padding:16px;border-radius:8px}.message-text{white-space:pre-wrap}.panel form+form{margin-top:16px}select[multiple]{min-height:120px}
.file-editor{min-height:320px;font-family:Consolas,"Microsoft YaHei",monospace;line-height:1.6;tab-size:2}.heading h1{overflow-wrap:anywhere}
header button.ghost{color:var(--ink)}
.result-task{align-items:flex-start;gap:20px}.result-task-info{flex:1;min-width:0;overflow-wrap:anywhere}.result-task-info strong{font-size:17px;line-height:1.5}.result-task-info .pill{display:inline-block;margin-top:10px}.result-task-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;flex-shrink:0}.result-task-actions a{white-space:nowrap}.result-task-actions>a:not(.button){font-size:14px;color:var(--accent)}.individual-files{margin-top:18px}.individual-files summary{cursor:pointer;color:var(--muted);padding:8px 0}.individual-files .item{margin-top:8px;overflow-wrap:anywhere}
.product-card{align-items:flex-start;gap:16px}.product-card-info{flex:1;min-width:0}.product-title{color:var(--ink);text-decoration:none;line-height:1.45;overflow-wrap:anywhere}.product-title:hover{text-decoration:underline}.product-card-info .pill{display:inline-block;margin-top:10px;white-space:normal}.product-photo{flex:0 0 120px;width:120px;padding:7px;margin:0;display:flex;flex-direction:column;align-items:center;gap:6px;border:1px solid #dfe8eb;border-radius:10px;background:#fff;color:var(--muted);overflow:hidden}.product-photo img{display:block;width:100%;height:120px;object-fit:contain;background:#fff}.product-photo span{font-size:12px;font-weight:400}.photo-missing{min-height:120px;justify-content:center;font-size:13px;background:#f7f9fa}.product-photo:focus-visible,.product-title:focus-visible{outline:3px solid #087c72;outline-offset:3px}.product-photo-panel{margin-bottom:18px}.detail-photo{width:240px}.detail-photo img{height:240px}.image-viewer{border:0;border-radius:14px;padding:18px;width:min(1000px,94vw);max-width:94vw;max-height:94dvh;overflow:auto;background:#fff;color:var(--ink)}.image-viewer::backdrop{background:#10222dd9}.image-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.image-viewer-toolbar a{color:var(--accent)}.image-viewer-toolbar button{margin:0}.image-viewer-stage{display:flex;justify-content:center;align-items:center;background:#fff;min-height:200px}.image-viewer-stage img{display:block;max-width:100%;max-height:70dvh;width:auto;height:auto;object-fit:contain}.image-viewer p{margin:14px 0 0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.image-viewer:not([open]){display:none}@media(max-width:600px){.result-task{flex-direction:column;gap:14px}.result-task-actions{width:100%;flex-direction:row;align-items:center;flex-wrap:wrap}.result-task-actions .button{flex:1;text-align:center}.product-card{gap:12px;padding:12px}.product-photo{flex-basis:96px;width:96px;padding:5px}.product-photo img{height:100px}.photo-missing{min-height:100px}.product-title{font-size:15px}.detail-photo{width:220px}.detail-photo img{height:220px}.image-viewer{padding:14px}.image-viewer-stage img{max-height:65dvh}.individual-files .item{flex-wrap:wrap}}

.selection-layout{display:grid;gap:20px}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.product-grid .product-card{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:14px;min-width:0}.product-grid .product-photo{width:100%;flex:0 0 auto;padding:0 0 8px;border:0;border-bottom:1px solid #edf1f3;border-radius:0}.product-grid .product-photo img{height:300px}.product-grid .product-card-info{width:100%}.product-grid .product-title{font-size:17px}.product-grid .photo-missing{min-height:300px}.product-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px 12px;margin:16px 0 4px;padding-top:14px;border-top:1px solid #edf1f3}.product-facts>div{min-width:0}.product-facts dt{font-size:12px;margin-bottom:5px;color:var(--muted)}.product-facts dd{font-size:17px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}.product-facts .inferred-data{font-size:11px;font-weight:400;color:#9b671c;margin-top:3px}.manual-candidate>summary{font-size:18px;font-weight:650;cursor:pointer}.product-photo-panel{display:flex;align-items:center;gap:32px}.product-photo-panel .detail-photo{width:46%;max-width:480px;flex:0 0 auto;border:0}.product-photo-panel .detail-photo img{height:360px}.detail-product-facts{flex:1;min-width:0}.detail-product-facts .product-facts{border-top:0;margin-top:0}@media(max-width:650px){.candidate-gallery{padding:12px}.candidate-gallery>h2,.candidate-gallery>p{margin-left:4px;margin-right:4px}.product-grid{grid-template-columns:1fr;gap:18px}.product-grid .product-card{padding:12px}.product-grid .product-photo img{height:clamp(250px,76vw,360px)}.product-grid .product-title{font-size:17px}.product-photo-panel{flex-direction:column;align-items:stretch;gap:18px}.product-photo-panel .detail-photo{width:100%;max-width:none}.product-photo-panel .detail-photo img{height:320px}.detail-product-facts{width:100%}}

.task-controls{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin-top:16px}.task-controls form{margin:0}.task-controls.compact{margin-top:8px;gap:8px}.task-controls.compact button,.task-controls.compact summary{font-size:13px;padding:7px 12px}.terminate-confirm{max-width:320px}.terminate-confirm summary{cursor:pointer;color:#a82e2e;border:1px solid #e6b8b8;border-radius:8px;padding:10px 14px;list-style:none}.terminate-confirm[open]{padding:10px;border:1px solid #e6b8b8;border-radius:8px}.confirm-check{display:flex;align-items:center;gap:8px}.confirm-check input{width:auto}.danger{background:#a82e2e;color:white}.pill.paused,.pill.pausing,.pill.resuming{background:#fff1cf;color:#725000}.pill.stopping,.pill.terminated{background:#fbe6e6;color:#8d2222}.stats{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}

.server-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.server-card{border:1px solid #dce6ec;border-radius:12px;padding:18px;min-width:0}.server-card h3{margin:0;font-size:18px}.server-card .section-title{align-items:flex-start;flex-wrap:wrap;gap:8px}.server-card .pill{white-space:normal}.server-resources{padding:12px;border-radius:8px;background:#f1f6f8}.server-resources strong,.server-resources small,.server-card details small{display:block}.server-activities{list-style:none;margin:14px 0;padding:0}.server-activities li{border-left:3px solid #80adbf;padding:4px 0 4px 12px;margin-bottom:14px;overflow-wrap:anywhere}.server-activities p{margin:6px 0;color:#526a78}.pill.verifying{background:#fff1cf;color:#725000}.pill.offline{background:#e9eef1;color:#536571}.pill.idle{background:#e0f3ed;color:#226453}

.server-error-section,.codex-usage{border-top:1px solid #dce6ec;margin-top:16px;padding-top:12px}.server-error-section h4,.codex-usage h4{margin:6px 0}.error-run{border:1px solid #dce6ec;border-radius:8px;padding:10px;margin-bottom:8px}.error-run summary{cursor:pointer;overflow-wrap:anywhere}.error-run summary small{display:block;margin-top:4px}.server-error-list{list-style:none;padding:0;margin:12px 0;max-height:440px;overflow:auto}.server-error-list li{border-left:3px solid #9aaeb9;padding:6px 10px;margin:8px 0;background:#f6f9fa;overflow-wrap:anywhere}.server-error-list .log-error{border-color:#c34f44;background:#fff5f3}.server-error-list .log-warning{border-color:#d4a02a}.server-error-list .log-recovery{border-color:#2b917b}.server-error-list p{white-space:pre-wrap;margin:5px 0}.history-pages{display:flex;gap:20px;justify-content:center}.codex-usage small{display:block}.usage-bucket{margin:12px 0;padding:10px;border:1px solid #dce6ec;border-radius:8px}.usage-window{margin:8px 0}.usage-window p{margin:3px 0}.usage-window progress{width:100%;height:10px;accent-color:#317e9b}

.resource-warning{color:#9a6500!important}.resource-danger{color:#a82e2e!important}
