/* XD Studio / a quiet, result-first workspace. No remote fonts or UI dependencies. */
:root{--bg:#f4f6f8;--paper:#fff;--ink:#192630;--muted:#71808d;--line:#e6ebef;--green:#d9eee6;--dark:#183e35;--accent:#22725a;--radius:16px;--shadow:0 4px 24px #263c4a05}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}a,button{transition:background .15s,border-color .15s,box-shadow .15s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6eb8a1;outline-offset:3px}button:disabled{cursor:not-allowed}h1{font-size:29px;letter-spacing:-.7px;font-weight:650;line-height:1.35}h2{font-size:17px;font-weight:650;line-height:1.45}h3{font-size:14px;line-height:1.5}p{line-height:1.7}small{line-height:1.5}.muted,.subtitle{color:var(--muted)}.subtitle{font-size:12px;line-height:1.8;max-width:900px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#739087;font-weight:650}
.sidebar{width:228px;padding:26px 16px 18px;background:#142c27;color:#d9e6e1;overflow-y:auto}.brand{padding:0 10px;gap:12px;letter-spacing:1px;color:#fff}.brand-logo{width:44px;height:44px;border-radius:11px}.brand small{font-size:10px;letter-spacing:1px;color:#9ab3a9}.workspace{margin:27px 10px 24px;padding:16px 0;border-color:#ffffff12}.workspace small{color:#8da69b}.avatar{background:#294a3f;color:#b7ddca;border-radius:10px}.nav-label{color:#7f9b8f;font-size:10px;letter-spacing:1.5px;margin:16px 13px 8px}nav{gap:5px}nav a{padding:11px 14px;border-radius:9px;font-size:13px;color:#a8beb4;min-height:44px}nav a.active{background:#e1f1e9;color:#164633;font-weight:650}nav a:hover:not(.active){background:#ffffff09;color:#edf8f2}.nav-icon{width:19px;height:20px;display:flex;align-items:center}.nav-icon svg{width:19px;height:19px}.nav-count{font-variant-numeric:tabular-nums;font-size:10px;min-width:20px;text-align:center;padding:1px 5px}.sidebar-bottom{margin:25px 10px 0;border-color:#ffffff16;padding-top:18px}.sidebar-bottom p{color:#77988a;font-size:11px}.sidebar-bottom .text-button{color:#a6c6b7}.server-dot{font-size:11px}.server-dot i{background:#7aa994}.shell{margin-left:228px}header{height:72px;padding:0 36px;background:#ffffffda;backdrop-filter:blur(12px);position:sticky;top:0;z-index:4;border-color:var(--line)}.breadcrumb{gap:12px;font-size:12px}.breadcrumb strong{font-weight:600;color:#273e38}.header-right{gap:14px;font-size:12px}.header-right .text-button{color:#73867d;margin-left:8px;font-size:11px}.local-badge{background:#f5f8f6;border:1px solid #e4ece7;color:#618274;font-size:10px}.avatar.small{background:#eaf1ee;color:#5d8374}.header-right .avatar{display:none}main{max-width:1600px;padding:32px 36px 28px;min-height:calc(100vh - 128px)}footer{max-width:1600px;padding:18px 36px;font-size:10px;color:#93a29c;letter-spacing:.6px}.page-heading{margin-bottom:26px;gap:20px;align-items:center}.page-heading .actions{flex-wrap:wrap;justify-content:flex-end}.actions{gap:8px;flex-wrap:wrap}
.btn{min-height:39px;padding:9px 15px;border-radius:8px;border:1px solid #dde5e1;background:white;color:#354a42;font-size:12px;font-weight:550;white-space:nowrap;line-height:1.5;gap:7px}.btn:hover{filter:none;background:#f4f8f6;border-color:#b6cbc1}.btn.primary{background:#23674f;border-color:#23674f;color:white;box-shadow:0 2px 5px #17422f14}.btn.primary:hover{background:#1b553f}.btn.lime{background:#e7f3e9;border-color:#d4e7d8;color:#2b7141}.btn.subtle{border-color:transparent;background:transparent;color:#658173}.btn.danger{color:#b15050}.btn svg{width:15px;height:15px}.icon-btn{background:#f0f4f2;color:#607a6b;border-radius:7px;min-height:32px;min-width:32px}.link,.top-link{color:#377a60}.inline-actions{flex-wrap:wrap;gap:8px}.inline-actions button{font-size:12px;color:#39745c;white-space:nowrap}.panel,.stat,.result-card,.template-card{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:white}.panel-pad{padding:24px}.panel+.panel{margin-top:20px}.section-head{margin:24px 0 14px}.section-head h2 small{color:#82948a}.notice{background:#f0f6f3;border-color:#e0ebe5;color:#5c7b69;font-size:12px;padding:13px 16px;border-radius:10px;line-height:1.85}.notice.warn{background:#fffaef;border-color:#f0e6cc;color:#947344}.notice p{margin:6px 0}.panel .notice:last-child{margin-bottom:0}
input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea,.field input,.field select,.field textarea{border:1px solid #dce5df;background:#fff;color:#263c32;border-radius:8px;padding:10px 12px;min-height:42px;max-width:100%;outline:none;line-height:1.5;box-shadow:0 1px 2px #1c3e231f;font-size:13px}textarea{resize:vertical;min-height:100px}input[type=checkbox],input[type=radio]{accent-color:#267355;width:16px;height:16px;vertical-align:middle;flex:none}input:focus,select:focus,textarea:focus{border-color:#75ab94!important;box-shadow:0 0 0 3px #75ab941a!important}input::placeholder,textarea::placeholder{color:#a0aca6}.field{gap:7px;margin-bottom:17px}.field label,form>label{font-size:12px;font-weight:550;color:#4a6356}.field small,form small{font-size:11px;color:#819386}.field input,.field select,.field textarea{width:100%}form>label{display:flex;flex-wrap:wrap;align-items:center;gap:8px}form>label:has(select),form>label:has(textarea),form>label:has(input:not([type=checkbox]):not([type=radio])){display:grid;gap:8px}form>label select,form>label textarea,form>label input:not([type=checkbox]):not([type=radio]){width:100%}select[multiple]{min-height:160px;padding:8px}select[multiple] option{padding:9px 10px;border-radius:5px}form .row{gap:16px}form .actions{align-items:flex-end}.check-row{font-size:12px;line-height:1.8}.check-row input{flex:none}.filters{gap:10px;margin-bottom:20px}.filters input,.filters select{font-size:12px;min-height:38px;box-shadow:none}.filters label{display:flex;align-items:center;gap:8px;font-size:12px;color:#67806f}.filters input{min-width:140px}.filters select{min-width:120px}
dialog{width:min(720px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:28px;border:1px solid #e7eee9;border-radius:18px;box-shadow:0 32px 100px #10291a33;overflow:auto}dialog::backdrop{background:#10291b66;backdrop-filter:blur(4px)}.modal-head{gap:16px;margin-bottom:24px;position:relative}.modal-head h2{font-size:20px;margin:0}.modal-head button{width:32px;height:32px;border-radius:50%;background:#f0f5f2;color:#6b8476;font-size:18px;flex:none}.modal-foot{padding-top:18px;border-top:1px solid var(--line);margin-top:24px}.modal-foot .btn{min-width:100px}dialog p{font-size:12px;color:#6d8275}.modal-error{padding:10px 13px;background:#fff0ec;color:#a74e3d;border-radius:8px;font-size:12px;display:none}.modal-error:not(:empty){display:block}dialog code{font-size:11px;word-break:break-all}.spec-list{gap:12px}.spec-list div{padding:8px 0;border-bottom:1px solid var(--line)}.spec-list span{color:#83958a}.spec-list strong{text-align:right}.preview-samples div{background:#f5f8f6;border-radius:8px;font-size:12px}
table{font-size:12px}th{font-size:11px;font-weight:550;color:#84958c;background:#fafcfb;letter-spacing:.2px}th,td{padding:15px 18px;vertical-align:middle;border-color:#edf2ee}td{font-size:12px;line-height:1.8}tbody tr:hover{background:#fafcfb}table .btn{padding:7px 11px;min-height:34px;margin:3px 4px 3px 0;font-size:11px}.status,.pill,.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:6px;font-size:10px;font-weight:550;line-height:1.4;background:#f0f4f1;color:#718176;white-space:nowrap}.badge:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.status.done,.badge.good{background:#eaf5ee;color:#32845b}.status.running,.badge.active{background:#ebf1fb;color:#547dad}.status.failed,.badge.bad{background:#fff0eb;color:#b66c52}.badge.neutral{background:#f1f4f3;color:#89988f}.badge.warn{background:#fff6e3;color:#ac853a}.empty{padding:52px 24px;color:#91a097;font-size:12px}.empty strong{color:#4c6657;font-weight:550;font-size:15px}.empty-icon{color:#a7bfb0}.empty-icon svg{width:34px;height:34px}.progress{background:#edf3ef;height:5px}.progress i{background:#78ac8c}.stat-value{font-variant-numeric:tabular-nums;font-weight:600;font-size:30px;letter-spacing:-.8px;margin:10px 0 6px}.stat-value small{font-size:11px;font-weight:400;letter-spacing:0;color:#94a297}.stat-top{font-size:12px;color:#7b8e82}.stat-note{font-size:11px;color:#95a397}.stat{padding:22px}.stats{gap:16px;margin-bottom:24px}.stat-icon{background:#f0f7f3;color:#7e9d89;border-radius:8px;width:30px;height:30px;display:grid;place-items:center}.stat-icon svg{width:15px;height:15px}
.studio-banner{display:flex;align-items:center;justify-content:space-between;gap:30px;background:linear-gradient(115deg,#1b4135,#2a5d48);padding:30px 32px;border-radius:18px;color:#f2f8f3;margin-bottom:24px;position:relative;overflow:hidden}.studio-banner h2{font-size:25px;font-weight:550;letter-spacing:-.5px;color:#edf6ed}.studio-banner p{color:#a9c4b3;font-size:12px;margin:9px 0 0}.studio-banner .eyebrow{color:#a7c5af;font-size:10px;margin:0 0 12px}.studio-banner .btn{background:#e5f3e2;color:#2b543c;border:0;box-shadow:none;flex:none}.banner-date{font-size:12px;text-align:right;color:#9fbca9;margin:0 0 12px}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr);gap:22px}.panel-title{display:flex;align-items:center;justify-content:space-between;padding:21px 24px;border-bottom:1px solid var(--line);gap:15px}.panel-title h2{font-size:15px}.panel-title .btn{min-height:30px;padding:4px 10px;font-size:11px}.panel-title small{color:#83958a;font-size:11px}.timeline-list{padding:8px 24px}.timeline-item{display:grid;grid-template-columns:55px 1fr auto;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid #edf2ee}.timeline-item:last-child{border-bottom:0}.time-chip{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;color:#4a7960}.timeline-item h3{font-size:12px;font-weight:550;margin:0}.timeline-item p{font-size:11px;color:#94a196;margin:3px 0 0}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}.quick-card{border:1px solid var(--line);border-radius:13px;background:white;padding:19px;display:flex;align-items:center;gap:14px;text-align:left;cursor:pointer}.quick-card:hover{border-color:#b5cebe;box-shadow:0 3px 12px #2b5c3910}.quick-card .quick-icon{width:41px;height:41px;border-radius:12px;display:grid;place-items:center;background:#eff6f1;color:#6a9578;flex:none}.quick-icon svg{width:20px;height:20px}.quick-card strong{font-size:12px;font-weight:600;display:block}.quick-card small{display:block;color:#9aa79f;font-size:11px;margin-top:3px}.quick-card .arrow{margin-left:auto;color:#a5b6ab}
.segmented{display:flex;gap:5px;padding:5px;border:1px solid #e6ece8;background:#edf2ef;border-radius:10px;max-width:100%;overflow:auto}.segmented button{background:transparent;color:#819387;white-space:nowrap;font-size:12px;padding:8px 15px;border-radius:7px;font-weight:550}.segmented button.selected{background:white;color:#315d43;box-shadow:0 2px 5px #2546340c}.view-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 23px;flex-wrap:wrap}.view-toolbar .filters{margin:0}.view-toolbar input{box-shadow:none;font-size:12px}.page-help{font-size:11px;color:#94a397;display:flex;align-items:center;gap:8px}.page-help .live-dot{height:6px;width:6px;background:#6ca081;border-radius:50%}.browser-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.browser-card{border:1px solid var(--line);background:white;border-radius:15px;box-shadow:var(--shadow);padding:22px;min-width:0}.browser-card:hover{border-color:#c4d8ca;box-shadow:0 8px 24px #30493208}.browser-card-top{display:flex;align-items:center;gap:12px;margin-bottom:20px}.browser-number{height:42px;width:42px;border-radius:11px;display:grid;place-items:center;font-size:15px;font-weight:650;letter-spacing:-.5px;background:#f0f5f2;color:#5c8069;flex:none}.browser-card h3{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}.browser-card-top small{display:block;font-size:10px;color:#9ca99f;margin-top:3px}.browser-card-top .badge{margin-left:auto;flex:none}.platform-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px;min-height:24px}.platform-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #e8eeea;border-radius:6px;color:#87998c;padding:4px 7px;font-size:10px;background:#fcfdfc}.platform-chip.ready{color:#3e8158;background:#f5faf5;border-color:#dfede1}.platform-chip .platform-mark{font-weight:700;font-size:10px}.platform-chip.pending{color:#b18e51;background:#fffcf3;border-color:#f2ebd9}.browser-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:16px 0;border-top:1px solid #edf2ee;border-bottom:1px solid #edf2ee}.browser-summary b{display:block;font-size:20px;font-weight:550;line-height:1.3;font-variant-numeric:tabular-nums;color:#375a44}.browser-summary span{font-size:10px;color:#92a094}.browser-next{font-size:11px;color:#8a9a8e;min-height:42px;padding:13px 0 0;display:flex;gap:8px;align-items:flex-start}.browser-next strong{font-weight:550;color:#68826c}.browser-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}.browser-card-actions .btn{font-size:11px;min-height:33px;padding:7px 11px}.browser-progress{font-size:11px;color:#718e79;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:130px}.browser-detail-head{background:white;border:1px solid var(--line);border-radius:16px;padding:26px;display:flex;align-items:center;gap:18px;margin-bottom:20px}.browser-detail-head .browser-number{height:55px;width:55px;font-size:20px}.browser-detail-head h2{font-size:21px}.browser-detail-head p{margin:5px 0 0;font-size:12px;color:#8d9d92}.browser-detail-head .actions{margin-left:auto}.browser-detail-head .platform-row{margin:10px 0 0}.back-link{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#6f8978;background:none;padding:0;margin-bottom:20px}.detail-columns{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.result-line{display:flex;justify-content:space-between;align-items:center;padding:15px 22px;gap:12px;border-bottom:1px solid #edf2ee}.result-line:last-child{border:0}.result-line h3{font-size:12px;font-weight:550}.result-line p{font-size:11px;color:#92a096;margin:3px 0 0}.result-line .btn{min-height:30px;padding:5px 10px;font-size:11px}.result-line-main{min-width:0;flex:1}.result-line-main h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.result-line .badge{flex:none}.result-line small{font-size:10px;color:#96a598}.flow-card{padding:21px;border:1px solid var(--line);border-radius:13px;background:white;margin:0 0 14px}.flow-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.flow-card h3{font-size:13px}.flow-card p{font-size:11px;color:#8b9a90;margin:7px 0 0}.flow-card details{margin-top:13px}.flow-card .progress{margin-top:15px}.flow-card .actions{margin-top:12px}.muted-details{margin:0 0 20px;border:1px solid var(--line);border-radius:12px;padding:15px 18px;background:#fff}.muted-details summary{font-size:12px;color:#7e9485;cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px}.muted-details summary:before{content:'+';font-size:15px;color:#a2b3a8}.muted-details[open] summary:before{content:'−'}.muted-details[open] summary{margin-bottom:17px}.muted-details p{font-size:12px;color:#87988d}.muted-details .notice{margin-bottom:10px}
.schedule-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px;margin-bottom:15px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center}.schedule-name{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:9px}.schedule-name h3{font-size:14px}.schedule-card p{font-size:12px;color:#8b9b90;margin:5px 0}.schedule-card .actions{justify-content:flex-end}.schedule-type{display:inline-flex;background:#f0f5f2;color:#60816c;padding:4px 8px;border-radius:5px;font-size:10px}.schedule-next{margin-top:12px;color:#54785f;font-size:12px}.schedule-targets{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.schedule-targets span{font-size:10px;color:#879c8d;background:#f7faf7;border:1px solid #e7eee8;padding:3px 7px;border-radius:5px}.schedule-section{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.schedule-section h3{font-size:13px;margin-bottom:14px}.schedule-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.schedule-form-grid .wide{grid-column:1/-1}.weekday-picker{display:flex;gap:6px;flex-wrap:wrap}.weekday-picker label{display:flex;align-items:center;gap:5px;border:1px solid #e0e9e1;padding:7px 10px;border-radius:7px;font-size:12px;cursor:pointer}.weekday-picker label:has(:checked){background:#edf7ef;border-color:#91bc9e;color:#36704b}.target-picker{max-height:310px;overflow:auto;border:1px solid var(--line);border-radius:9px}.target-pick{display:flex;align-items:center;gap:10px;padding:11px 12px;border-bottom:1px solid #edf2ef;font-size:12px}.target-pick:last-child{border:0}.target-pick:has(:checked){background:#f8fbf8}.target-pick label{display:flex;align-items:center;gap:9px;min-width:0;flex:1}.target-pick input[type=text]{width:155px;min-height:33px;padding:6px 9px;box-shadow:none;font-size:12px}.target-pick small{font-size:10px;color:#8c9e90}.preview-times{background:#f3f7f3;padding:12px 15px;border-radius:8px;font-size:12px;color:#64806b;margin-top:12px}.form-section-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.form-section-label h3{margin:0}.form-section-label .btn{min-height:30px;font-size:11px;padding:4px 10px}.form-inline{display:flex;gap:10px;align-items:center;font-size:12px;color:#83968a;flex-wrap:wrap}.form-inline input{width:100px}.schedule-warning{font-size:11px;color:#9a8a60;line-height:1.8}.selected-count{font-size:11px;color:#8ca095;margin-top:9px}
.traffic-chart{height:250px;padding:18px 24px 8px;position:relative;display:flex;align-items:stretch}.traffic-chart svg{width:100%;height:100%;overflow:visible}.chart-empty{margin:28px 0;background:repeating-linear-gradient(to bottom,transparent,transparent 49px,#edf2ee 50px);width:100%;display:grid;place-content:center;text-align:center;color:#a1afa5;font-size:12px}.chart-empty strong{display:block;color:#6e8a76;font-weight:550;margin-bottom:7px}.chart-legend{padding:0 24px 18px;color:#8d9e91;font-size:11px}.chart-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#69a481;margin-right:7px}.traffic-table td{font-variant-numeric:tabular-nums}.traffic-table .post-title{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.traffic-info{padding:14px 21px;background:#f9fbf9;border-top:1px solid var(--line);font-size:11px;color:#9aa89d}.traffic-board .stats{margin-top:10px}.traffic-board .stat{padding:26px}.traffic-board .stat-value{font-size:42px}.board-mode .sidebar,.board-mode header,.board-mode footer{display:none}.board-mode .shell{margin:0}.board-mode main{max-width:none;padding:30px 45px}.board-mode .traffic-chart{height:42vh}.board-mode .page-heading h1{font-size:34px}.data-freshness{font-size:11px;color:#95a49a}.metric-dash{color:#bac6be}.publish-copy{padding:16px;background:#f6f9f6;border:1px solid #e7eee7;border-radius:10px;font-size:12px;white-space:pre-wrap;color:#52715c}.receipt-link{color:#377758;font-size:12px}
.result-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.result-card{padding:15px;min-width:0}.result-card video{height:245px;background:#11271e;object-fit:contain;border-radius:11px}.result-card h3{font-size:12px;margin:14px 0 6px;line-height:1.7;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.result-card p{color:#95a197;font-size:11px;margin:5px 0}.result-card .result-meta{display:flex;justify-content:space-between;align-items:center;margin:12px 0}.result-card .actions{border-top:1px solid #eaf0eb;padding-top:12px;margin-top:13px}.result-card .actions .btn{font-size:11px;padding:7px 11px;min-height:34px}.result-card .result-secondary{margin-left:auto}.result-card details{font-size:11px;color:#7c9281;margin-top:10px}.result-card details summary{cursor:pointer}.result-card .qc-detail{font-size:11px;line-height:1.8;color:#7c9281;max-height:220px;overflow:auto}.pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0 4px;font-size:12px;color:#8d9d92}.pagination .actions{gap:8px}.pagination .btn{min-height:34px;font-size:11px}.error-strip{background:#fff3ed;border:1px solid #f1dfd2;color:#a67655;border-radius:9px;padding:11px 15px;margin-bottom:18px;font-size:12px}.loading-skeleton{height:160px;border:1px solid #e7eee8;background:linear-gradient(110deg,#fdfefd 20%,#f3f6f3 35%,#fdfefd 55%);border-radius:16px}.mobile-menu,.mobile-shade{display:none}#toast{background:#203f30;border-color:#48735a;color:#edf8ed;border-radius:10px;font-size:12px;max-width:min(540px,90vw);line-height:1.7;left:calc(50% + 114px)}.template-card .card-body{padding:19px}.template-card .poster{height:180px}.poster-label{font-size:10px}.dropzone{background:#fafcf9;border-color:#cbdccd;border-radius:12px}.template-grid{gap:20px}.card-foot{font-size:11px}.card-foot button{font-size:11px}
@media(min-width:1700px){main{padding-top:38px}.browser-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.result-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1250px){.sidebar{width:200px;padding:22px 12px}.shell{margin-left:200px}header{padding:0 26px}main{padding:28px 26px}.browser-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-columns{grid-template-columns:1.3fr 1fr}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{gap:12px}.stat{padding:18px}.stat-value{font-size:27px}.browser-card h3{max-width:150px}.page-heading{align-items:flex-start}#toast{left:calc(50% + 100px)}}
@media(max-width:950px){.sidebar{width:184px;padding:22px 10px}.shell{margin-left:184px}header{padding:0 22px}main{padding:25px 22px}.workspace{font-size:11px;margin:22px 8px}.workspace .avatar{display:none}nav a{padding:11px 12px;font-size:12px}.brand-logo{width:36px;height:36px}.brand{gap:8px;font-size:11px}.dashboard-columns,.detail-columns{grid-template-columns:1fr}.quick-card{padding:15px;gap:10px}.quick-card .quick-icon{width:34px;height:34px}.quick-card small{font-size:10px}.stat-top{font-size:11px}.stat-icon{display:none}.stats{grid-template-columns:repeat(2,1fr)}.page-heading{flex-wrap:wrap;gap:14px}.browser-card{padding:19px}.browser-detail-head{flex-wrap:wrap}.browser-detail-head .actions{margin-left:0;width:100%}.schedule-card{grid-template-columns:1fr}.schedule-card .actions{justify-content:flex-start}}
@media(max-width:720px){.sidebar{inset:0 auto 0 0;width:246px;height:100dvh;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:24px 18px;transform:translateX(-100%);transition:transform .18s;z-index:21}.sidebar .brand{font-size:13px;padding:0 8px}.sidebar .brand small,.sidebar .workspace,.sidebar .nav-label,.sidebar .sidebar-bottom{display:block}.sidebar .workspace{display:flex;margin:25px 8px 20px}.sidebar .workspace .avatar{display:inline-flex}.sidebar .brand-logo{width:44px;height:44px}.sidebar nav{display:grid;gap:5px}.sidebar nav .nav-text,.sidebar nav .nav-count{display:block}.sidebar nav a{padding:12px 14px;font-size:13px}.sidebar .sidebar-bottom{margin-top:auto}.shell{padding-top:0;margin-left:0}header{height:62px;padding:0 18px;gap:12px}.breadcrumb{font-size:12px;gap:8px;flex:1}.breadcrumb>span:first-child{display:none}.header-right{gap:7px;font-size:11px}.header-right .local-badge{display:none}.header-right .text-button{font-size:10px}.mobile-menu{display:grid;place-items:center;height:34px;width:34px;background:#edf3ef;color:#50715c;border-radius:8px;flex:none}.mobile-menu svg{height:19px;width:19px}.mobile-shade{position:fixed;inset:0;background:#10251966;z-index:20;border:0;backdrop-filter:blur(2px)}body.menu-open .sidebar{transform:translateX(0)}body.menu-open .mobile-shade{display:block}main{padding:25px 18px;min-height:calc(100vh - 100px)}h1{font-size:25px}.eyebrow{font-size:9px;letter-spacing:1.5px}.page-heading{flex-direction:column;align-items:stretch;margin-bottom:21px;gap:14px}.page-heading .actions{justify-content:flex-start}.page-heading .subtitle{font-size:11px}.studio-banner{padding:25px 23px;align-items:flex-start;gap:20px}.studio-banner h2{font-size:22px}.studio-banner p{font-size:11px}.studio-banner .banner-date{display:none}.studio-banner .btn{font-size:11px;padding:8px 12px}.quick-grid{grid-template-columns:1fr;gap:10px}.quick-card{padding:16px 18px}.quick-card small{font-size:11px}.quick-card .quick-icon{height:38px;width:38px}.browser-grid{gap:13px}.browser-card{padding:17px}.browser-card h3{font-size:12px;max-width:100px}.browser-card-top{gap:9px;margin-bottom:14px;flex-wrap:wrap}.browser-number{width:35px;height:35px;font-size:13px}.browser-card-top .badge{font-size:9px;padding:3px 5px}.browser-card-top small{font-size:9px}.platform-row{gap:4px;margin-bottom:14px}.platform-chip{padding:3px 5px;font-size:9px}.platform-chip .platform-mark{display:none}.browser-summary{gap:6px;padding:13px 0}.browser-summary b{font-size:18px}.browser-summary span{font-size:9px}.browser-next{font-size:10px;min-height:43px}.browser-card-actions{gap:6px;flex-wrap:wrap}.browser-card-actions .btn{font-size:10px;padding:6px 9px;min-height:32px}.browser-progress{display:none}.view-toolbar{gap:13px;margin-bottom:18px}.view-toolbar .filters{width:100%}.view-toolbar .filters input{width:100%;min-width:80px}.view-toolbar .segmented{width:100%;flex:1}.segmented button{font-size:11px;flex:1;padding:8px 10px}.stats{gap:11px;margin-bottom:18px}.stat{padding:17px;border-radius:12px}.stat-value{font-size:27px}.stat-top{font-size:11px}.stat-note{font-size:10px}.panel,.result-card{border-radius:12px}.panel-pad{padding:20px}.panel-title{padding:18px 20px}.panel-title h2{font-size:14px}.timeline-list{padding:5px 20px}.timeline-item{gap:10px;padding:14px 0;grid-template-columns:46px 1fr auto}.timeline-item h3{font-size:11px}.timeline-item p{font-size:10px}.time-chip{font-size:12px}.timeline-item .badge{font-size:9px}.quick-grid{margin-bottom:20px}.dashboard-columns,.detail-columns{gap:18px}.browser-detail-head{padding:20px;gap:13px}.browser-detail-head h2{font-size:18px}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.result-card{padding:12px}.result-card video{height:200px}.result-card h3{font-size:11px}.result-card .actions .btn{font-size:10px;padding:6px 8px}.result-card .result-secondary{margin-left:0}.result-card .result-meta{font-size:10px;gap:5px;flex-wrap:wrap}.result-card .badge{font-size:9px}.result-card details summary{font-size:10px}.schedule-card{padding:20px;gap:16px}.schedule-form-grid{grid-template-columns:1fr}.target-pick{padding:10px;gap:8px}.target-pick input[type=text]{width:128px}.target-pick label{font-size:11px}.weekday-picker label{padding:7px 8px;font-size:11px}.traffic-chart{padding:15px 18px 5px;height:230px}.traffic-board .stat{padding:17px}.traffic-board .stat-value{font-size:29px}.traffic-info{padding:13px 18px}.filters label{font-size:11px}.filters{gap:8px}.filters input,.filters select{font-size:11px;min-width:110px}.board-mode main{padding:22px 18px}.board-mode .traffic-chart{height:35vh}.board-mode .page-heading h1{font-size:26px}th,td{padding:13px 15px;white-space:normal}dialog{padding:23px;width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:16px}dialog .modal-head h2{font-size:18px}dialog .row{gap:0}dialog select,dialog input,dialog textarea{font-size:14px}.modal-foot{gap:8px}.modal-foot .btn{min-width:90px}.btn{font-size:11px;min-height:38px}.filters input{flex:1}.row{gap:0}footer{padding:15px 18px;font-size:9px}footer span:last-child{width:auto;margin-left:auto}.pagination{font-size:11px}.pagination .btn{font-size:10px}#toast{left:50%;bottom:22px}.template-grid{grid-template-columns:1fr}.hero{display:none}.form-section-label{gap:10px;flex-wrap:wrap}}
@media(max-width:430px){.brand>span:last-child{display:block}.browser-grid{grid-template-columns:1fr}.browser-card{padding:20px}.browser-card h3{max-width:210px;font-size:13px}.browser-card-top{flex-wrap:nowrap}.browser-card-top .badge{font-size:10px}.browser-card-top small{font-size:10px}.platform-chip{font-size:10px;padding:4px 7px}.browser-summary b{font-size:20px}.browser-summary span{font-size:10px}.browser-card-actions .btn{font-size:11px}.browser-progress{display:block}.browser-next{min-height:34px;font-size:11px}.result-grid{grid-template-columns:1fr}.result-card video{height:270px}.result-card h3{font-size:12px}.result-card .actions .btn{font-size:11px}.studio-banner{display:block}.studio-banner>div:last-child{margin-top:18px}.stats{gap:10px}.stat{padding:16px}.stat-note{font-size:9px}.stat-value{font-size:25px}.header-right .text-button{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}.browser-next>svg{width:14px;height:14px;flex:none;margin-top:2px}.back-link svg{width:15px;height:15px}.sidebar>.nav-label{display:none}.nav-label{pointer-events:none}
@media(min-width:721px) and (max-height:850px){.sidebar{padding-top:20px;padding-bottom:14px}.sidebar .workspace{display:none}.sidebar .brand{margin-bottom:16px}.sidebar nav{gap:2px}.sidebar nav a{min-height:35px;padding:8px 14px}.sidebar .nav-label{margin:12px 13px 7px}.sidebar-bottom{padding-top:14px;margin-top:auto}.sidebar-bottom p,.sidebar-bottom .text-button{display:none}}.recognition-detail summary{font-size:11px;color:#70917a;cursor:pointer}.template-specs{display:flex;gap:12px;font-size:11px;color:#8ea293;margin:13px 0}.template-timeline{display:flex;gap:3px;height:7px;margin:16px 0}.template-timeline span{background:#c3d9c8;border-radius:3px}.template-timeline span:nth-child(2n){background:#84b194}.template-cover{padding:26px;background:linear-gradient(130deg,#eaf3e9,#f4f8ef);min-height:135px;display:flex;align-items:center;justify-content:space-between}.template-cover strong{font-size:34px;font-weight:500;color:#94b49b;letter-spacing:-2px}.template-cover svg{width:46px;height:46px;color:#a0bda4}.template-cover small{display:block;color:#8eac94;font-size:10px;letter-spacing:1.5px}.account-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.account-card{background:white;border:1px solid var(--line);padding:24px;border-radius:14px}.account-card .actions{margin-top:19px}.account-card .spec-list{margin-top:18px}.account-create-grid{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:12px;align-items:end}.account-create-grid .field{margin:0}.settings-links{display:grid;gap:10px;margin-top:18px}.settings-links a{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:#f5f9f5;border-radius:9px;color:#5e7e65;font-size:12px}@media(max-width:1000px){.account-create-grid{grid-template-columns:1fr 1fr}}@media(max-width:720px){.account-card-grid,.account-create-grid{grid-template-columns:1fr}.template-cover{min-height:130px}.account-card{padding:20px}}
.multi-choice{border:1px solid var(--line);border-radius:10px;margin-top:8px;overflow:hidden}.multi-choice-tools{display:flex;gap:5px;align-items:center;background:#f5f8f6;padding:7px 12px}.multi-choice-tools>span{margin-right:auto;font-size:12px;color:var(--muted)}.multi-choice-tools .btn{min-height:30px;padding:5px 9px}.multi-choice-list{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:10px;max-height:250px;overflow:auto}.multi-choice-list label{display:flex!important;align-items:center;gap:9px;margin:0!important;padding:10px!important;background:#fff;border-radius:7px;min-width:0;cursor:pointer}.multi-choice-list label:has(input:checked){background:#edf5ef}.multi-choice-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.multi-choice-list input{flex:none}@media(max-width:620px){.multi-choice-list{grid-template-columns:1fr}}
dialog .multi-choice input[type=checkbox]{width:16px;height:16px;min-height:16px;padding:0;margin:0;flex:0 0 16px;box-shadow:none}dialog .multi-choice-list span{min-width:0;flex:1}

/* Live workstation connection. Text and icon supplement color. */
.connection-control{border:0;background:transparent;padding:0;cursor:pointer;border-radius:20px}
.connection-badge{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:6px 11px;border-radius:20px;font-size:12px;font-weight:650;line-height:1.4;background:#f0f2f5;color:#566576;border:1px solid #e0e5eb}
.connection-badge i{width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.connection-badge.online{color:#176647;background:#e9f6ef;border-color:#c8e8d5}
.connection-badge.offline{color:#ad382f;background:#fff0ed;border-color:#f4cfc8}
.connection-badge.warning,.connection-badge.paused,.connection-badge.unknown,.connection-badge.checking{color:#936011;background:#fff7e7;border-color:#efdfbb}
.connection-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px 22px;margin-bottom:20px}
.connection-overview.online{border-color:#cce6d8;background:#f7fcf9}.connection-overview.offline{border-color:#efd5ce}
.connection-overview strong{font-size:13px;margin-left:12px;color:var(--ink)}.connection-overview p{color:var(--muted);margin:8px 0 0;font-size:12px}
.connection-detail{font-size:11px;line-height:1.65;color:var(--muted);max-width:330px;margin:6px 0;overflow-wrap:anywhere}
.browser-card-top>.connection-badge{margin-left:auto;font-size:11px;padding:4px 8px}
@media(max-width:720px){.connection-overview{padding:16px;align-items:flex-start;flex-wrap:wrap}.connection-overview strong{display:block;margin:9px 0 0}.connection-control .connection-badge{font-size:10px;padding:5px 7px}.header-right{flex-wrap:wrap}.browser-card-top>.connection-badge{font-size:10px}}

/* Workspace UI: overview and operations monitoring */
/* Working overview and patrol. All selectors stay within these two pages. */
:is(.overview-workspace, .patrol-workspace) {
  --workspace-ink: #1b3029;
  --workspace-muted: #52665e;
  --workspace-rule: #dce7e1;
  --workspace-fill: #f6f9f7;
  --workspace-paper: #fff;
  --workspace-accent: #17614a;
  --workspace-radius: 12px;
  --workspace-gap: clamp(14px, 2vw, 22px);
  display: grid;
  gap: var(--workspace-gap);
  min-width: 0;
  color: var(--workspace-ink);
}

:is(.overview-workspace, .patrol-workspace) :is(
  .workspace-status-unit, .workspace-kpi, .workspace-panel, .workspace-list-item, .health-row
) {
  min-width: 0;
  overflow-wrap: anywhere;
}

:is(.overview-workspace, .patrol-workspace) :is(
  .workspace-status-unit, .workspace-kpi
) {
  --workspace-tone: #425a51;
  --workspace-tone-fill: #edf3ef;
  --workspace-tone-rule: #d4e1d9;
}
:is(.overview-workspace, .patrol-workspace) [data-tone="good"] {
  --workspace-tone: #146044;
  --workspace-tone-fill: #eaf5ee;
  --workspace-tone-rule: #9dc9ac;
}
:is(.overview-workspace, .patrol-workspace) [data-tone="warn"] {
  --workspace-tone: #795011;
  --workspace-tone-fill: #f8f0df;
  --workspace-tone-rule: #dfbe77;
}
:is(.overview-workspace, .patrol-workspace) [data-tone="active"] {
  --workspace-tone: #245675;
  --workspace-tone-fill: #edf4f9;
  --workspace-tone-rule: #a4c6db;
}

:is(.overview-workspace, .patrol-workspace) .workspace-status-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr));
  gap: 1px;
  border: 1px solid var(--workspace-rule);
  border-radius: var(--workspace-radius);
  background: var(--workspace-rule);
  overflow: hidden;
}

:is(.overview-workspace, .patrol-workspace) .workspace-status-unit {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 3px 10px;
  align-content: center;
  align-items: center;
  min-height: 72px;
  padding: 11px 14px;
  background: var(--workspace-paper);
}

:is(.overview-workspace, .patrol-workspace) .workspace-status-unit > :is(svg, .workspace-status-icon) {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  color: var(--workspace-tone);
}

:is(.overview-workspace, .patrol-workspace) .workspace-status-unit > svg,
:is(.overview-workspace, .patrol-workspace) .workspace-status-icon {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 8px;
  background: var(--workspace-tone-fill);
}

:is(.overview-workspace, .patrol-workspace) :is(.workspace-status-icon, .workspace-kpi) svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--workspace-tone);
}

:is(.overview-workspace, .patrol-workspace) .workspace-status-unit > :not(svg, .workspace-status-icon) {
  grid-column: 2;
}

:is(.overview-workspace, .patrol-workspace) .workspace-status-unit :is(small, .workspace-status-label) {
  display: block;
  color: var(--workspace-muted);
  font-size: 12px;
  line-height: 1.35;
}

:is(.overview-workspace, .patrol-workspace) .workspace-status-unit :is(strong, .workspace-status-value) {
  display: block;
  margin-top: 2px;
  color: var(--workspace-tone);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.35;
}

:is(.overview-workspace, .patrol-workspace) .workspace-brief {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: clamp(15px, 2vw, 24px);
  border: 1px solid #d9e8e0;
  border-radius: var(--workspace-radius);
  background: linear-gradient(114deg, #eaf3ee, #f7faf8 75%);
}

:is(.overview-workspace, .patrol-workspace) .workspace-brief :is(h2, h3) {
  margin: 0;
  color: var(--workspace-ink);
}

:is(.overview-workspace, .patrol-workspace) .workspace-brief p {
  max-width: 68ch;
  margin: 4px 0 0;
  color: var(--workspace-muted);
}

:is(.overview-workspace, .patrol-workspace) .workspace-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
  gap: 12px;
}

:is(.overview-workspace, .patrol-workspace) .workspace-kpi {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  gap: 8px;
  min-height: 117px;
  margin: 0;
  padding: 13px clamp(12px, 1.45vw, 18px) 15px;
  border: 1px solid var(--workspace-rule);
  border-top: 3px solid var(--workspace-tone-rule);
  border-radius: var(--workspace-radius);
  background: var(--workspace-paper);
  box-shadow: 0 2px 4px #203d2c06;
}

:is(.overview-workspace, .patrol-workspace) .workspace-kpi :is(.stat-top, .workspace-kpi-label, .workspace-kpi-head) {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  color: var(--workspace-muted);
  font-size: 13px;
  font-weight: 640;
}

:is(.overview-workspace, .patrol-workspace) .workspace-kpi :is(.stat-icon, .workspace-kpi-icon) {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--workspace-tone-fill);
}

:is(.overview-workspace, .patrol-workspace) .workspace-kpi :is(.stat-value, .workspace-kpi-value, strong) {
  min-width: 0;
  color: var(--workspace-tone);
  font-size: clamp(26px, 3.1vw, 36px);
  font-variant-numeric: tabular-nums;
  font-weight: 680;
  letter-spacing: -.025em;
  line-height: 1.06;
}

:is(.overview-workspace, .patrol-workspace) .workspace-kpi :is(.stat-note, .workspace-kpi-note, small) {
  margin: 0;
  color: var(--workspace-muted);
  font-size: 12px;
  line-height: 1.55;
}

:is(.overview-workspace, .patrol-workspace) .workspace-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--workspace-gap);
  align-items: start;
}

:is(.overview-workspace, .patrol-workspace) .workspace-panel {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--workspace-rule);
  border-radius: var(--workspace-radius);
  background: var(--workspace-paper);
}

:is(.overview-workspace, .patrol-workspace) .workspace-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-width: 0;
}

:is(.overview-workspace, .patrol-workspace) .workspace-panel > .workspace-section-heading {
  min-height: 58px;
  padding: 12px 17px;
  border-bottom: 1px solid var(--workspace-rule);
  background: var(--workspace-fill);
}

:is(.overview-workspace, .patrol-workspace) .workspace-section-heading :is(h2, h3, p) {
  margin: 0;
}

:is(.overview-workspace, .patrol-workspace) .workspace-section-heading :is(h2, h3) {
  color: var(--workspace-ink);
  font-size: 16px;
  line-height: 1.45;
}

:is(.overview-workspace, .patrol-workspace) .workspace-section-heading :is(p, small) {
  color: var(--workspace-muted);
}

:is(.overview-workspace, .patrol-workspace) .workspace-list {
  display: grid;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

:is(.overview-workspace, .patrol-workspace) .workspace-list-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  min-height: 58px;
  margin: 0;
  padding: 12px 17px;
}

:is(.overview-workspace, .patrol-workspace) .workspace-list-item + .workspace-list-item {
  border-top: 1px solid #e7eeea;
}

:is(.overview-workspace, .patrol-workspace) .workspace-list-item :is(h3, p) {
  margin: 0;
}

:is(.overview-workspace, .patrol-workspace) .workspace-list-item :is(p, small, .subtitle) {
  color: var(--workspace-muted);
  font-size: 12px;
}

:is(.overview-workspace, .patrol-workspace) .workspace-empty {
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 90px;
  padding: 17px;
  color: var(--workspace-muted);
  text-align: left;
}

:is(.overview-workspace, .patrol-workspace) .workspace-empty :is(h3, p) {
  margin: 0;
}

:is(.overview-workspace, .patrol-workspace) .workspace-task-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--workspace-rule);
  border-radius: var(--workspace-radius);
  background: var(--workspace-paper);
}

:is(.overview-workspace, .patrol-workspace) .workspace-task-toolbar .filters {
  display: flex;
  flex: 1 1 430px;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

:is(.overview-workspace, .patrol-workspace) .workspace-task-toolbar input {
  flex: 1 1 240px;
  width: auto;
  max-width: 100%;
}

:is(.overview-workspace, .patrol-workspace) .workspace-task-toolbar :is(input, select, button) {
  min-height: 40px;
}

.patrol-workspace .workspace-table-shell {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--workspace-rule);
  border-radius: var(--workspace-radius);
  background: var(--workspace-paper);
  scrollbar-color: #a3b8ac #f2f6f3;
}

.patrol-workspace .workspace-table-shell > .panel {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.patrol-workspace .workspace-table-shell table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: collapse;
}

.patrol-workspace :is(.workspace-table-shell, .health-devices) th {
  padding: 11px 13px;
  border-bottom: 1px solid var(--workspace-rule);
  background: var(--workspace-fill);
  color: #3e564d;
  font-size: 12px;
  font-weight: 680;
  text-align: left;
}

.patrol-workspace :is(.workspace-table-shell, .health-devices) td {
  padding: 11px 13px;
  border-bottom: 1px solid #e8eeeb;
  color: var(--workspace-ink);
  vertical-align: top;
}

.patrol-workspace :is(.workspace-table-shell, .health-devices) tbody tr:last-child > td {
  border-bottom: 0;
}

.patrol-workspace :is(.workspace-table-shell, .health-devices) tbody tr:hover > td {
  background: #f7faf8;
}

.patrol-workspace .health-row > td:nth-child(4) {
  width: 41%;
  min-width: 215px;
}

.patrol-workspace :is(.health-row, .health-devices) .subtitle {
  margin: 3px 0 0;
  color: var(--workspace-muted);
  font-size: 12px;
  line-height: 1.55;
}

.patrol-workspace :is(.workspace-table-shell, .health-devices) :is(.badge, time) {
  font-variant-numeric: tabular-nums;
}

.patrol-workspace div.health-row {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(90px, .8fr) minmax(120px, 1fr) minmax(165px, 2fr) auto;
  gap: 10px 13px;
  padding: 12px 14px;
}

.patrol-workspace div.health-row + div.health-row {
  border-top: 1px solid var(--workspace-rule);
}

.patrol-workspace .health-devices {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--workspace-rule);
  border-radius: var(--workspace-radius);
  background: var(--workspace-paper);
}

.patrol-workspace .health-devices summary {
  min-height: 46px;
  padding: 12px 15px;
  border-radius: var(--workspace-radius);
  background: var(--workspace-fill);
  color: var(--workspace-ink);
  cursor: pointer;
  font-weight: 650;
}

.patrol-workspace .health-devices[open] > summary {
  border-bottom: 1px solid var(--workspace-rule);
  border-radius: var(--workspace-radius) var(--workspace-radius) 0 0;
}

.patrol-workspace .health-devices > .panel {
  margin: 0;
  border: 0;
  border-radius: 0 0 var(--workspace-radius) var(--workspace-radius);
  box-shadow: none;
}

:is(.overview-workspace, .patrol-workspace) :is(a, button, input, select, summary, [tabindex="0"]):focus-visible {
  outline: 2px solid #257b5e;
  outline-offset: 2px;
}

.patrol-workspace .workspace-table-shell:focus-visible {
  outline-offset: -2px;
}

@media (max-width: 1050px) {
  :is(.overview-workspace, .patrol-workspace) .workspace-panels {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 650px) {
  :is(.overview-workspace, .patrol-workspace) {
    --workspace-gap: 13px;
  }

  :is(.overview-workspace, .patrol-workspace) :is(.workspace-status-bar, .workspace-kpis) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :is(.overview-workspace, .patrol-workspace) .workspace-status-unit {
    padding: 9px 10px;
    gap: 3px 7px;
    grid-template-columns: 27px minmax(0, 1fr);
  }

  :is(.overview-workspace, .patrol-workspace) .workspace-status-unit > :is(svg, .workspace-status-icon) {
    width: 27px;
    height: 27px;
  }

  :is(.overview-workspace, .patrol-workspace) .workspace-kpis {
    gap: 9px;
  }

  :is(.overview-workspace, .patrol-workspace) .workspace-kpi {
    min-height: 105px;
  }

  :is(.overview-workspace, .patrol-workspace) .workspace-list-item {
    padding-inline: 13px;
  }

  .patrol-workspace div.health-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .patrol-workspace div.health-row > :nth-child(4) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  :is(.overview-workspace, .patrol-workspace) .workspace-status-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  :is(.overview-workspace, .patrol-workspace) .workspace-task-toolbar .filters {
    flex-direction: column;
  }

  :is(.overview-workspace, .patrol-workspace) .workspace-task-toolbar input {
    flex: 0 1 auto;
    width: 100%;
  }
}

:is(.overview-workspace, .patrol-workspace) .workspace-kpi-head h3 { margin: 0; font: inherit; }
.overview-workspace .workspace-brief > * { flex: 1 0 100%; }
:is(.overview-workspace, .patrol-workspace) .workspace-table-date { white-space: nowrap; }

.overview-workspace #overview-body, .patrol-workspace #health-body {
  display: grid;
  gap: var(--workspace-gap);
  min-width: 0;
}
.overview-workspace #overview-body > section[aria-labelledby] > .workspace-section-heading {
  margin-bottom: 10px;
}

/* Patrol filters share the workspace surface and keep controls mounted on refresh. */
.patrol-workspace .health-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 17px 20px;
  min-width: 0;
}
.patrol-workspace .health-filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.patrol-workspace .health-filter-title h2 {
  margin: 0;
  font-size: 16px;
}
.patrol-workspace .health-filter-title .btn {
  min-height: 32px;
  padding: 4px 12px;
}
.patrol-workspace .health-filter-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 230px);
  gap: 12px;
}
.patrol-workspace .health-filter-fields .field {
  margin: 0;
  min-width: 0;
}
.patrol-workspace .health-filter-fields :is(input, select) {
  width: 100%;
  min-width: 0;
}
.patrol-workspace .health-reason-field {
  display: grid;
  gap: 8px;
  border-top: 1px solid #e4ece7;
  padding-top: 12px;
}
.patrol-workspace .health-reason-field h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  color: #40594e;
}
.patrol-workspace .health-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.patrol-workspace .health-reasons .health-reason {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  max-width: 100%;
  padding: 5px 9px 5px 11px;
  border: 1px solid #dce6e0;
  border-radius: 8px;
  background: #fbfdfb;
  color: #2f493e;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.patrol-workspace .health-reasons .health-reason:hover {
  border-color: #8aa797;
  background: #f1f7f3;
}
.patrol-workspace .health-reasons .health-reason[aria-pressed="true"] {
  border-color: #37785c;
  background: #e4f2e9;
  color: #164b36;
}
.patrol-workspace .health-reason-count {
  display: inline-grid;
  min-width: 23px;
  min-height: 20px;
  place-items: center;
  padding-inline: 4px;
  border-radius: 6px;
  background: #edf2ef;
  color: #41584d;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.patrol-workspace [aria-pressed="true"] .health-reason-count {
  background: #cee6d6;
  color: #174f38;
}
.patrol-workspace .health-reason:focus-visible {
  outline: 2px solid #216447;
  outline-offset: 2px;
}
.patrol-workspace .workspace-section-heading .health-match-total {
  margin-top: 4px;
  color: #4a6256;
}
@media (max-width: 650px) {
  .patrol-workspace .health-filters { padding: 13px; }
  .patrol-workspace .health-filter-fields { grid-template-columns: minmax(0, 1fr); }
  .patrol-workspace .health-reasons .health-reason { min-height: 44px; }
}

.schedule-run-panel {
  margin-block: 28px 20px;
  border: 1px solid #dfe8e3;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.schedule-run-panel [hidden] {
  display: none;
}

.schedule-run-heading,
.schedule-run-tools,
.schedule-run-list-head,
.schedule-run-pagination {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  padding-inline: 20px;
}

.schedule-run-heading {
  justify-content: space-between;
  padding-block: 20px 16px;
}

.schedule-run-heading h2 {
  margin: 0;
  font-size: 20px;
  color: #18362d;
}

.schedule-run-heading p,
.schedule-run-list-head p,
.schedule-run-pagination > span {
  margin: 4px 0 0;
  color: #567169;
  font-size: 12px;
}

.schedule-run-views button {
  min-height: 36px;
  color: #36594e;
}

.schedule-run-tools {
  align-items: flex-end;
  background: #f5f8f6;
  border-block: 1px solid #e5ede8;
  padding-block: 14px;
}

.schedule-run-search {
  flex: 0 1 260px;
  min-width: 200px;
  margin: 0;
}

.schedule-run-search input {
  width: 100%;
  min-height: 40px;
}

.schedule-run-filter-list {
  display: flex;
  flex: 1 1 410px;
  flex-wrap: wrap;
  gap: 6px;
}

.schedule-run-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid #d9e5de;
  border-radius: 8px;
  background: #fff;
  color: #34564c;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.schedule-run-filter strong {
  color: #4a675e;
  font-variant-numeric: tabular-nums;
}

.schedule-run-filter[aria-pressed="true"] {
  border-color: #286b55;
  background: #e2f0e9;
  color: #194c3c;
  font-weight: 700;
}

.schedule-run-filter[aria-pressed="true"] strong {
  color: #194c3c;
}

.schedule-run-panel :is(button,input,[tabindex]):focus-visible {
  outline: 2px solid #176d50;
  outline-offset: 2px;
}

.schedule-run-list-head {
  min-height: 50px;
  padding-block: 7px;
}

.schedule-run-list-head .schedule-run-note {
  margin-inline-start: auto;
}

.schedule-run-table-shell {
  overflow: auto;
  border-top: 1px solid #e5ede8;
}

.schedule-run-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.schedule-run-table th {
  padding-block: 10px;
  color: #506d63;
  background: #f7faf8;
  font-size: 12px;
}

.schedule-run-table :is(th,td) {
  padding-inline: 14px;
  text-align: start;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.schedule-run-table :is(th,td):first-child {
  padding-inline-start: 20px;
  width: 24%;
}

.schedule-run-table th:nth-child(2) {
  width: 16%;
}

.schedule-run-table :is(th,td):last-child {
  width: 140px;
  padding-inline-end: 20px;
}

.schedule-run-table td {
  padding-block: 14px;
}

.schedule-run-table tbody tr + tr td {
  border-top: 1px solid #e8efeb;
}

.schedule-run-table tbody tr:hover {
  background: #fafcfb;
}

.schedule-run-plan strong,
.schedule-run-plan small {
  display: block;
}

.schedule-run-plan strong {
  color: #18362d;
}

.schedule-run-plan small,
.schedule-run-time,
.schedule-run-result-line > span:not(.badge),
.schedule-run-message {
  color: #506c62;
  font-size: 12px;
  line-height: 1.55;
}

.schedule-run-plan small {
  margin-top: 4px;
}

.schedule-run-time {
  font-variant-numeric: tabular-nums;
}

.schedule-run-result-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 10px;
}

.schedule-run-message,
.schedule-run-proof {
  margin: 6px 0 0;
}

.schedule-run-proof,
.schedule-run-message.needs-attention {
  color: #815012;
}

.schedule-run-proof {
  font-size: 12px;
  font-weight: 700;
}

.schedule-run-actions .actions {
  gap: 4px;
}

.schedule-run-actions button {
  white-space: nowrap;
}

.schedule-run-pagination {
  justify-content: space-between;
  padding-block: 12px;
  border-top: 1px solid #e5ede8;
}

.schedule-run-empty {
  padding-inline: 20px;
}

@media (max-width: 760px) {
  .schedule-run-heading,
  .schedule-run-tools,
  .schedule-run-list-head,
  .schedule-run-pagination {
    padding-inline: 14px;
  }

  .schedule-run-search {
    flex: 1 1 100%;
    min-width: 0;
  }

  .schedule-run-filter-list {
    flex-basis: 100%;
  }

  .schedule-run-list-head .schedule-run-note {
    margin-inline-start: 0;
  }

  .schedule-run-table,
  .schedule-run-table tbody {
    display: block;
  }

  .schedule-run-table thead {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .schedule-run-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(80px, 36%);
    gap: 8px 12px;
    padding: 14px;
  }

  .schedule-run-table tbody tr + tr {
    border-top: 1px solid #e8efeb;
  }

  .schedule-run-table tbody tr td,
  .schedule-run-table tbody tr td:first-child,
  .schedule-run-table tbody tr td:last-child {
    width: auto;
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .schedule-run-time {
    justify-self: end;
    text-align: end;
  }

  .schedule-run-result,
  .schedule-run-actions {
    grid-column: 1 / -1;
  }
}
