/* PDT operator console: clear state, persistent controls, quiet surfaces. */
:root{--ink:#23364d;--muted:#687990;--nav:#172b43;--teal:#345fd3;--line:#e0e6ef;--paper:#f4f6fa;--blue:#345fd3;--body:"PingFang SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,sans-serif}
body{font-size:14px;line-height:1.65}button,input,textarea,select{min-height:42px}button{font-weight:550;transition:background .12s,border-color .12s}button.primary{box-shadow:0 2px 4px #345fd315}button:hover:not(:disabled){background:#f5f7fc}button.primary:hover:not(:disabled){background:#294fb7;color:#fff}.layout{grid-template-columns:232px minmax(0,1fr)}
.sidebar{padding:28px 20px;background:#172b43}.brand{display:flex;align-items:center;gap:12px;font:600 21px/1.2 var(--body);letter-spacing:0}.brand-mark{display:grid;place-items:center;background:#375fc9;border:1px solid #5a7ed9;border-radius:10px;width:38px;height:42px;color:#fff;font:650 24px/1 var(--body)}.brand small{font:9px/1.5 var(--mono);letter-spacing:.8px;margin-top:7px;color:#afc0dc}.sidebar nav{margin-top:34px;gap:5px}.sidebar nav button{border-radius:8px;min-height:44px;padding:10px 12px;color:#c1cde0;font-size:14px}.sidebar nav button.active{border-left:0;background:#2d4260;box-shadow:inset 3px 0 #7e9fe9;color:#fff}.sidebar nav button:hover{background:#233b57!important;color:#fff}.navicon{color:#a9bbd9;font-size:17px}.sidebar footer{font-size:11px;line-height:1.9;color:#9fb0cb}.statusdot{background:#93a8cb}.topbar{position:sticky;top:0;z-index:10;min-height:66px;background:#ffffffee;backdrop-filter:blur(12px);padding:0 34px}.topbar>div{display:flex;gap:14px;align-items:center}.session-state{border:0;background:transparent;color:var(--muted);font-size:12px;min-height:36px;padding:4px 8px}.content{padding:32px 34px 56px;max-width:1460px}.eyebrow{font:11px var(--body);color:#7a8ba1;letter-spacing:1px;margin-bottom:5px}.heading{margin-bottom:22px}.heading h1{font-size:29px;letter-spacing:-.4px;font-weight:650}.heading p{font-size:13px;margin-top:5px}.notice{padding:10px 14px;background:#edf2fb;border-color:#dfe7f7;color:#526785;margin-bottom:22px;border-radius:8px}.notice strong{font-weight:600;color:#3a5175}.stats{gap:14px}.stat{padding:20px 22px;border-radius:10px;box-shadow:0 2px 5px #1a355003}.stat .number{font:500 32px/1.4 var(--body);font-variant-numeric:tabular-nums;margin:10px 0 5px}.stat .label{font-size:13px;color:#52647e}.stat .foot{font-size:11px}.panel,.card{border-radius:10px;box-shadow:0 2px 7px #233c5603}.panel-title{padding:17px 22px}.panel-title h2{font-size:15px;font-weight:650}.panel-body{padding:22px}.card h2{line-height:1.5}.card .heading{margin-bottom:14px}.device-avatar{background:#edf2fa;color:#4c6696}.table-wrap{scrollbar-width:thin}th{font-size:12px;background:#f7f9fc;color:#677a94}td{font-size:13px;padding-top:17px;padding-bottom:17px}td .sub{font-size:11px;max-width:300px}.badge{font-size:11px;border-radius:5px;line-height:1.7}.badge.blue{color:#365da9;background:#eef3ff}.scope{background:#f5f7fb;border:1px solid #e5eaf3;line-height:1.8}.warning{line-height:1.8;border-radius:0 6px 6px 0}.empty{padding:48px 24px;line-height:1.9}.formgrid label{font-size:13px;font-weight:550}.formgrid input,.formgrid select,.formgrid textarea{font-size:14px;font-weight:400}input,textarea,select{border-color:#cdd7e4;border-radius:7px}textarea{line-height:1.75}input[type=checkbox]{min-height:0;accent-color:var(--teal);width:17px;height:17px;vertical-align:middle}.error:empty{display:none}.error{padding:8px 0;line-height:1.8}.kv{gap:11px 16px;font-size:13px}.kv dt{color:#76859c}.mono{font-size:11px;line-height:1.8}.timeline{margin-top:16px}.timeline div{font-size:12px}.login-oidc{display:grid;grid-template-columns:1fr;background:#f3f6fb}.login-oidc .login-entry{min-height:100dvh}.login-oidc .login-box{max-width:440px;padding:36px;background:#fff;border:1px solid #dfe6f0;border-radius:14px;box-shadow:0 12px 40px #1a365012}.login-symbol{font:650 13px var(--mono);letter-spacing:3px;color:var(--teal);margin-bottom:22px}.login-oidc h1{font-size:29px;line-height:1.35;letter-spacing:-.6px;margin:0 0 15px}.login-primary{display:flex;justify-content:center;align-items:center;min-height:46px;margin:24px 0 18px;border-radius:8px;background:var(--teal);color:#fff;text-decoration:none;font-weight:600}.login-primary:hover{background:#294fb7}.login-note{font-size:12px;line-height:1.8}.modal-open{overflow:hidden}
dialog{width:min(760px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 64px);padding:0;border:1px solid #d9e1ec;border-radius:12px;overflow:hidden;box-shadow:0 24px 88px #152b4850}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#172b4366;backdrop-filter:blur(2px)}dialog .dialog-header{flex:0 0 auto;background:#fff;padding:18px 24px;min-height:72px;gap:20px;border-bottom:1px solid var(--line);z-index:2}dialog .dialog-header h2{font-size:18px;font-weight:650;line-height:1.45;min-width:0;overflow-wrap:anywhere}dialog .dialog-header button{flex:0 0 auto;width:38px;height:38px;min-height:38px;padding:0;font:24px/1 var(--body);border:0;border-radius:8px;color:#6a7e98;background:#f2f5fa}dialog .dialog-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:24px;line-height:1.8}dialog .dialog-body>p:first-child{margin-top:0}dialog .dialog-body h3{font-size:15px;margin-top:22px}dialog .dialog-body textarea{width:100%;max-height:42dvh}dialog .dialog-body input:not([type=checkbox]),dialog .dialog-body select{max-width:100%}.dialog-footer{flex:0 0 auto;display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 24px;background:#f8faff;border-top:1px solid var(--line);z-index:2}.dialog-footer button{min-width:112px;min-height:43px}.dialog-footer .primary,#decide,#sensitive-submit,#workspace-save,#policy-save,#make-invite,#review-next{background:var(--teal);border-color:var(--teal);color:#fff}#auth-dialog{width:min(480px,calc(100vw - 32px))}#auth-dialog .dialog-body p{font-size:14px}#auth-dialog .scope{font-size:13px}#auth-dialog .dialog-footer{justify-content:space-between}#toast{font-size:13px;line-height:1.7;border-radius:9px;box-shadow:0 8px 25px #172b4322;z-index:10000}
@media(max-width:1050px){.layout{grid-template-columns:196px minmax(0,1fr)}.sidebar{padding:24px 14px}.brand{font-size:18px;gap:8px}.brand-mark{width:31px;height:36px;font-size:20px}.brand small{font-size:8px;letter-spacing:.2px}.content{padding:26px 24px 44px}.topbar{padding:0 24px}}
@media(max-width:700px){.layout{display:block}.sidebar{position:static;padding:16px 16px 12px}.brand{font-size:19px}.brand-mark{width:30px;height:32px}.brand small{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:15px;overflow:visible}.sidebar nav button{padding:8px 3px;justify-content:center;font-size:12px;min-height:40px;white-space:nowrap}.sidebar nav button.active{box-shadow:none;background:#354d6d}.sidebar footer{display:none}.topbar{position:sticky;top:0;padding:10px 16px;min-height:54px;height:auto;gap:5px}.topbar>span{font-size:11px}.topbar>div{gap:5px}.session-state{font-size:10px;padding:3px;min-height:32px}#logout{min-height:32px;padding:3px 9px;font-size:12px}.content{padding:24px 16px 40px}.heading{gap:12px;align-items:flex-start}.heading h1{font-size:25px}.heading p{font-size:12px}.heading>button{padding:8px 11px;font-size:12px;min-height:40px}.notice{font-size:11px;padding:10px 12px}.stats{gap:10px}.stat{padding:15px}.stat .number{font-size:29px}.stat .foot{line-height:1.6}.grid{gap:14px}.panel-title,.panel-body{padding:16px}.card{padding:18px}.kv{grid-template-columns:84px minmax(0,1fr);gap:10px;font-size:12px}.login-oidc .login-entry{padding:20px}.login-oidc .login-box{padding:28px 24px}.login-oidc h1{font-size:26px}dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:11px}dialog .dialog-header{min-height:64px;padding:14px 16px}dialog .dialog-header h2{font-size:17px}dialog .dialog-body{padding:18px 16px}.dialog-footer{padding:12px 16px;gap:10px}.dialog-footer button{min-width:0;min-height:44px;flex:1;font-size:13px}.formgrid .two{grid-template-columns:1fr}#auth-dialog .dialog-footer button{min-width:0}#toast{left:16px;right:16px;bottom:16px;max-width:none}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
.task-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.task-filters input,.task-filters select{width:auto;min-width:125px;max-width:100%}.task-filters #search{flex:1;min-width:180px}.task-filters label{font-size:11px;display:grid;gap:4px;color:var(--muted)}@media(max-width:700px){.task-filters>input,.task-filters>select,.task-filters>label{flex:1 1 calc(50% - 10px);min-width:0}.task-filters label input{width:100%;min-width:0}.task-filters #search{flex-basis:100%}}
