:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#233c34;background:#f4f6f2;font-synthesis:none;--green:#185744;--muted:#75877d;--line:#e1e7df;--orange:#c67d25}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #d5b849;outline-offset:3px}input,textarea,select{border:1px solid #d5dfd6;border-radius:9px;padding:12px;background:white;color:#233c34;width:100%;min-width:0}textarea{resize:vertical;min-height:96px}label{display:block;font-size:13px;font-weight:600;margin:18px 0 8px}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:650;letter-spacing:-.7px}h2{font-size:20px;letter-spacing:-.3px}h3{font-size:16px}p{line-height:1.75}small,.muted{color:var(--muted)}small{font-size:12px}.app-shell{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.sidebar{background:#173e34;color:#e8f0e9;padding:30px 20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:700;letter-spacing:2px}.brand-mark{background:#d6e5aa;color:#173e34;border-radius:12px;width:42px;height:42px;display:grid;place-items:center;letter-spacing:0;font-size:22px}.brand-sub{font-size:10px;letter-spacing:2px;color:#99b5a7;margin:5px 0 0 54px}.nav-caption{font-size:11px;color:#9eb6a9;letter-spacing:2px;margin:42px 12px 12px}.nav a{display:flex;gap:12px;align-items:center;padding:13px 15px;border-radius:8px;text-decoration:none;margin-bottom:6px;color:#b8cec1;font-size:14px}.nav a.active{background:#dce7bd;color:#193e31;font-weight:650}.nav a:hover{background:#35614c;color:#fff}.nav a.active:hover{background:#dce7bd;color:#193e31}.nav-icon{font-size:20px;width:20px;text-align:center}.side-bottom{margin-top:auto;border-top:1px solid #38594c;padding:22px 10px 0;font-size:12px;color:#acc3b6;line-height:1.7}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#c5d998;margin-right:6px}.topbar{height:82px;padding:0 40px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fafbf8;gap:16px}.breadcrumb{font-size:13px;color:#829086}.user-area{display:flex;align-items:center;gap:12px;font-size:13px}.avatar{height:34px;width:34px;background:#dfe8d4;border-radius:50%;display:grid;place-items:center;color:#40633e;font-weight:600}.main{max-width:1450px;margin:auto;padding:35px 40px 50px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.eyebrow{font-size:11px;letter-spacing:2px;color:#7f937e;margin-bottom:10px}.subtitle{font-size:13px;color:#7b8b80;margin-top:8px}.btn{border:1px solid var(--line);border-radius:8px;background:white;color:#345445;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap}.btn.primary{background:var(--green);border-color:var(--green);color:white}.btn.soft{background:#e8eedf;border-color:#e8eedf}.btn.danger{color:#a44936;background:#fff3ec;border-color:#efd7ca}.btn.small{padding:7px 11px;font-size:12px}.text-btn{border:0;background:transparent;color:#587361;font-size:12px;cursor:pointer;padding:7px}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.spread{justify-content:space-between}.hero{background:#e6ecd9;border-radius:15px;display:flex;align-items:center;justify-content:space-between;padding:27px 30px;margin-bottom:24px;overflow:hidden}.hero h2{font-size:25px;margin:9px 0}.hero p{font-size:13px;color:#6b7b62;max-width:550px}.hero-graphic{width:160px;height:115px;position:relative;flex-shrink:0;margin-left:20px}.hero-graphic .ring{position:absolute;border:1px solid #bbca9f;width:130px;height:130px;border-radius:50%;top:-7px;left:15px}.hero-graphic .shield{position:absolute;left:50px;top:12px;width:70px;height:85px;background:#3d6c51;clip-path:polygon(50% 0,100% 17%,94% 67%,50% 100%,6% 67%,0 17%);color:#e0eab7;text-align:center;padding-top:20px;font-size:33px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:20px 22px}.stat-title{font-size:12px;color:#77887a;display:flex;justify-content:space-between}.stat strong{font-size:33px;font-weight:600;display:block;margin:10px 0 5px;line-height:1.1}.stat small{font-size:11px}.grid2{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:23px}.card{background:white;border:1px solid var(--line);border-radius:13px;padding:24px;min-width:0}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px;gap:12px}.card-head h2{font-size:17px}.badge{display:inline-flex;padding:5px 9px;border-radius:5px;font-size:11px;line-height:1.2;background:#edf2e8;color:#55734a;white-space:nowrap}.badge.orange{background:#fbf0dc;color:#a7742d}.badge.red{background:#faeae4;color:#b25d47}.badge.blue{background:#e9f0f3;color:#4c7788}.badge.gray{background:#eff1ee;color:#7a877b}.badge.demo{background:#f1ece1;color:#958251}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{font-weight:500;color:#819083;padding:12px 10px;border-bottom:1px solid var(--line);background:#fafbf8;white-space:nowrap}td{padding:17px 10px;border-bottom:1px solid #edf0e9}td:first-child{padding-left:0}td p{font-size:13px;font-weight:500}td small{font-size:10px}tbody tr:last-child td{border-bottom:0}.empty{text-align:center;padding:35px 15px;color:#829180;font-size:13px}.empty .empty-icon{font-size:32px;margin-bottom:15px;color:#9bae96}.step{display:flex;gap:13px;position:relative;padding-bottom:24px}.step:last-child{padding-bottom:0}.step-dot{width:28px;height:28px;border-radius:50%;background:#edf1e8;color:#69805d;flex-shrink:0;display:grid;place-items:center;font-size:12px}.step p{font-size:13px;font-weight:550;margin-top:3px}.step small{font-size:11px;display:block;margin-top:3px}.notice{background:#f1f4eb;border:1px solid #e0e7d5;border-radius:8px;padding:12px 15px;font-size:12px;line-height:1.7;color:#718162;margin:14px 0}.notice.warning{background:#fdf4e7;border-color:#f0dfc5;color:#966e3d}.notice.error{background:#fff0eb;color:#ab5543;border-color:#f2d5cb}.footer{font-size:11px;color:#93a08e;margin-top:30px;text-align:center}.upload-zone{border:1.5px dashed #c5d3bd;background:#f7f9f3;border-radius:12px;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;text-align:center;padding:30px;gap:12px;cursor:pointer}.upload-zone input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.upload-zone .upload-icon{font-size:38px;color:#7e9770}.photo{width:100%;border-radius:10px;max-height:420px;object-fit:contain;background:#eef2e9}.checkbox{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:400}.checkbox input{width:auto}.scenario-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.scenario{display:flex;flex-direction:column;min-height:210px}.scenario .number{font-size:12px;letter-spacing:2px;color:#8da177;margin-bottom:20px}.scenario p{font-size:12px;color:#7e8d7f;margin:13px 0 20px}.scenario .btn{align-self:flex-start;margin-top:auto}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.filter{border:1px solid var(--line);border-radius:7px;padding:8px 13px;background:#fff;color:#788773;font-size:12px}.filter.active{background:#e2ebd5;color:#30543b;border-color:#cedbbc}.hazard{border:1px solid var(--line);border-radius:10px;padding:18px;margin:14px 0}.hazard p{font-size:13px;margin:10px 0}.hazard dt{font-size:11px;color:#84907d;margin-top:12px}.hazard dd{margin:5px 0 0;font-size:13px;line-height:1.75}.reference{background:#f7f9f3;border-radius:6px;padding:10px 12px;margin:7px 0;font-size:11px;color:#738367;white-space:pre-wrap;overflow-wrap:anywhere}.reference summary{cursor:pointer;color:#557245}.timeline{border-left:1px solid #dbe3d3;margin:10px 0 0 6px;padding-left:22px}.event{position:relative;margin:0 0 23px}.event:before{content:'';position:absolute;left:-27px;top:6px;width:8px;height:8px;background:#91aa79;border-radius:50%;border:1px solid #fff}.event p{font-size:12px;margin-top:6px}.event small{font-size:10px}.detail-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;font-size:13px;margin:20px 0}.detail-meta small{display:block;margin-bottom:7px}.progress{height:4px;background:#e4ebdc;border-radius:4px;overflow:hidden;margin:17px 0}.progress:after{content:'';display:block;background:#66905c;width:40%;height:4px;animation:move 2s infinite}@keyframes move{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:#173e34;color:#e7efd9;padding:60px 10%;display:flex;flex-direction:column;justify-content:center}.login-story h1{font-size:46px;line-height:1.5;margin:60px 0 20px}.login-story p{color:#b4c8b7;font-size:15px}.login-form{display:flex;align-items:center;justify-content:center;padding:40px}.login-inner{width:min(440px,100%)}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:20px 0}.account-btn{background:white;border:1px solid var(--line);border-radius:9px;padding:14px;text-align:left;font-size:12px;color:#698064}.account-btn.selected{border-color:#5f8052;background:#eaf0e1}.account-btn strong{display:block;color:#36513c;font-size:13px;margin-bottom:6px}.full{width:100%}.loading{padding:70px;text-align:center;color:#7b9075}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#233e33;color:#fff;padding:13px 22px;border-radius:8px;z-index:100;box-shadow:0 6px 25px #0002;display:none;max-width:90%;font-size:13px}#toast.visible{display:block}dialog{border:1px solid var(--line);border-radius:15px;padding:28px;max-width:600px;width:calc(100% - 32px);max-height:90vh;color:#2c4635}dialog::backdrop{background:#122c2188}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.kb-item{margin-bottom:13px}.kb-item h3{margin:8px 0}.kb-item p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.answer{white-space:pre-wrap;font-size:14px;line-height:1.9;margin:18px 0}.hidden{display:none!important}.stack>*+*{margin-top:17px}.role-help{font-size:12px;line-height:1.7;color:#829077}.error-inline{color:#ad5542;margin:12px 0;font-size:13px}.code{font-family:Consolas,monospace;font-size:11px}.nowrap{white-space:nowrap}
@media(min-width:1500px){.main{padding-top:45px}.hero{padding:35px}.topbar{padding:0 50px}}
@media(max-width:1050px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:25px 14px}.main{padding:28px 24px}.topbar{padding:0 24px}.grid2{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:16px}.hero-graphic{width:135px}.user-area .user-role{display:none}}
@media(max-width:650px){.app-shell{display:block}.sidebar{height:auto;position:static;padding:17px 18px}.brand{font-size:20px}.brand-mark{width:34px;height:34px;border-radius:9px;font-size:19px}.brand-sub,.nav-caption,.side-bottom{display:none}.nav{display:flex;gap:4px;overflow-x:auto;margin-top:17px}.nav a{padding:9px 11px;white-space:nowrap;font-size:12px;margin:0}.nav-icon{display:none}.topbar{height:62px;padding:0 18px}.breadcrumb{font-size:11px}.user-area{gap:6px;font-size:11px}.avatar{width:28px;height:28px}.main{padding:23px 16px}.page-head{gap:12px;align-items:flex-start}h1{font-size:25px}.page-head .btn{padding:9px 11px}.subtitle{font-size:12px}.hero{padding:22px}.hero h2{font-size:21px}.hero-graphic{display:none}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0}.stat strong{font-size:29px}.stat{padding:17px}.card{padding:19px}.scenario-grid{grid-template-columns:1fr}.detail-meta{gap:15px}.login{grid-template-columns:1fr}.login-story{padding:30px}.login-story h1{font-size:29px;margin:25px 0 10px}.login-story p{font-size:12px}.login-form{padding:28px 22px}.login-story .brand-sub{display:none}.table-wrap{margin:0 -4px}td{padding:14px 7px}.footer{line-height:1.8}.row .btn{white-space:normal}.upload-zone{min-height:210px}}

.eval-toolbar{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:20px;margin-bottom:20px}.eval-toolbar label{margin-top:0}.eval-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.eval-metric small{display:block;margin:8px 0 15px;line-height:1.6}.eval-metric-line{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--line);font-size:12px}.eval-metric-line strong{font-size:22px}.eval-delta,.eval-block{display:block;line-height:1.6;margin-top:5px}.eval-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.eval-controls select{width:180px}.eval-controls input[type=text],.eval-controls input:not([type]){width:230px}.eval-controls label{margin:0}.eval-problem{color:#a65d3f}.eval-pair{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:20px 0}.eval-pair section{min-width:0;overflow-wrap:anywhere}.eval-modal{max-width:1100px}.eval-modal .photo{max-height:400px}.eval-trace{margin:15px 0}.eval-trace summary{cursor:pointer;font-size:13px;color:#557245}.eval-pair h3{margin-bottom:14px}#main>.card+ .card{margin-top:20px}.eval-version-link{text-align:left}.eval-block{max-width:380px;white-space:normal}.eval-toolbar small{overflow-wrap:anywhere}@media(max-width:1100px){.eval-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.eval-toolbar,.eval-pair{grid-template-columns:1fr}.eval-cards{gap:10px}.eval-metric{padding:15px}.eval-metric h3{font-size:14px}.eval-metric-line strong{font-size:19px}.eval-controls select,.eval-controls input:not([type]){width:100%}.eval-modal{padding:20px}.eval-toolbar{gap:14px}.eval-toolbar label{margin-bottom:6px}}

.eval-meter{display:block;width:100%;height:7px;margin-top:7px;accent-color:#185744}.eval-meter.review{accent-color:#b58a4c}.eval-effect-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:18px}.eval-effect-grid small{display:block}.eval-effect-grid strong{display:block;font-size:30px;margin-top:10px}@media(max-width:650px){.eval-effect-grid{grid-template-columns:1fr 1fr}}

.prompt-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;margin-bottom:22px}.prompt-sidebar{align-self:start;position:sticky;top:15px}.prompt-sidebar h2{font-size:16px;margin:0 0 16px}.prompt-sidebar h2:not(:first-child){margin-top:26px}.prompt-entry{display:block;width:100%;text-align:left;border:1px solid var(--line);background:#fff;border-radius:9px;padding:12px;margin-bottom:10px;color:#2d4f40}.prompt-entry.selected{background:#e8eedb;border-color:#91ab7b}.prompt-entry small{display:block;margin-top:7px;overflow-wrap:anywhere}.prompt-section,.prompt-diff{margin:18px 0;border:1px solid var(--line);border-radius:8px;padding:13px}.prompt-section summary,.prompt-diff summary,.eval-more>summary{cursor:pointer;font-weight:600;color:#345741}.prompt-section .role-help{margin:12px 0}.prompt-source{font-family:Consolas,'Microsoft YaHei',monospace;font-size:12px;line-height:1.8;min-height:180px}.prompt-actions{position:sticky;bottom:0;background:#fff;padding-top:16px}.prompt-readonly{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.prompt-diff-code{max-height:450px;overflow:auto;margin-top:14px;font-size:12px;line-height:1.8}.prompt-diff-code>div{display:grid;grid-template-columns:55px minmax(0,1fr);gap:8px;padding:6px;white-space:pre-wrap;overflow-wrap:anywhere}.prompt-diff-code span{color:#84927e}.diff-add{background:#e4efdb}.diff-remove{background:#f9e7df}.diag-summary{padding:21px 24px;border:1px solid #d8e1cc;background:#eaf0e1;border-radius:13px;margin-bottom:22px;line-height:1.8}.diag-summary>small{display:block;margin-top:10px}.diag-priority{border:1px solid #c8d7b8;background:#fff;color:#36573b;border-radius:8px;padding:9px 12px;margin:6px 7px;font-size:13px}.diag-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:22px 0}.diag-legend{display:flex;gap:9px;align-items:center;font-size:12px;margin-bottom:18px;color:#667b64}.diag-legend i{width:9px;height:9px;border-radius:2px}.legend-single{background:#27664f}.legend-review{background:#c0904b}.diag-bar-row{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;margin:13px 0;align-items:center;font-size:13px}.diag-bar-button{width:100%;border:0;background:none;display:flex;align-items:center;gap:14px;padding:4px 0;color:#426046;font-size:13px}.diag-bar-button b{width:25px;text-align:right}.diag-bar-button:hover{background:#f1f5eb;border-radius:4px}.diag-bar-svg{height:12px;flex:1;min-width:0}.bar-bg{fill:#eef1e9}.bar-single{fill:#27664f}.bar-review{fill:#c0904b}.diag-deltas{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:10px 0 20px}.diag-deltas small{display:block;margin-bottom:9px}.diag-deltas strong{font-size:20px}.diag-good{color:#2f744d}.diag-bad{color:#b55f43}.diag-transition-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}.diag-transition{border:1px solid #dce6d3;background:#f4f8ef;border-radius:10px;padding:17px;text-align:left;color:#326443}.diag-transition.bad{border-color:#efded0;background:#fcf5eb;color:#a56a3c}.diag-transition strong{display:block;font-size:30px;margin:8px 0}.diag-transition span{font-size:11px}.diag-source{border:0;border-bottom:1px solid var(--line);background:#fff;padding:14px 0;width:100%;display:flex;justify-content:space-between;gap:12px;text-align:left;font-size:12px;color:#4a654e}.diag-source:hover{background:#f4f7ee}.diag-source strong{white-space:nowrap}.diag-heatmap th,.diag-heatmap td{text-align:center}.diag-heatmap th:first-child,.diag-heatmap td:first-child{text-align:left;white-space:nowrap}.diag-heatmap button{border:0;border-radius:6px;min-width:55px;padding:10px;width:100%;font-weight:600}.heat-0{background:#f1f3ee;color:#a6b09e}.heat-1{background:#f7ecdb;color:#a37335}.heat-2{background:#eccd9b;color:#805225}.heat-3{background:#dba96b;color:#67401d}.heat-4{background:#a76e39;color:#fff}.diag-description{max-width:450px;line-height:1.8}.diag-evidence{border:1px solid #ddcdae;background:#fcf8ee;padding:20px;border-radius:10px;margin-bottom:22px}.diag-evidence p{font-size:13px;margin-top:12px}.eval-more{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;margin:20px 0}.eval-more>.card{margin-top:20px}.diag-grid .card .role-help{margin-top:20px}#diag-mode{width:135px}#diag-selection{margin:22px 0;scroll-margin-top:20px}@media(max-width:1050px){.diag-grid{grid-template-columns:1fr}.prompt-layout{grid-template-columns:1fr}.prompt-sidebar{position:static}.prompt-sidebar .prompt-entry{display:inline-block;width:auto;margin-right:10px;vertical-align:top}.diag-deltas{grid-template-columns:1fr 1fr}}@media(max-width:650px){.diag-summary{padding:18px}.diag-priority{margin:5px 0;width:100%;text-align:left}.diag-bar-row{grid-template-columns:80px minmax(0,1fr)}.diag-deltas{gap:14px}.diag-deltas strong{font-size:18px}.diag-heatmap button{min-width:40px}.prompt-section{padding:10px}.diag-grid{gap:16px}.prompt-source{font-size:12px}.prompt-diff-code>div{grid-template-columns:40px minmax(0,1fr)}}

.prompt-layout .role-help,.prompt-entry strong{overflow-wrap:anywhere}.prompt-layout .card-head{flex-wrap:wrap}.prompt-layout .row{overflow-wrap:anywhere}

.manual-finding-panel{border:1px solid #cfdcbd;background:#f7faf2;border-radius:10px;padding:20px;margin:22px 0}.manual-finding-panel>details{margin-top:18px}.manual-finding-panel dl{font-size:13px}.manual-finding-panel dt{color:#7d8e71;margin-top:12px}.manual-finding-panel dd{margin:6px 0;line-height:1.8}.manual-finding-panel summary{cursor:pointer;color:#385d42;font-weight:600}#manual-review-list{margin:22px 0;scroll-margin-top:20px}

.notebook-version{margin-bottom:22px}.notebook-version label{margin-top:0}.notebook-version select{max-width:650px}.notebook-intro{padding:22px;background:#eaf0df;border:1px solid #d9e3ce;border-radius:12px;margin-bottom:20px}.notebook-intro h2{margin-bottom:8px}.notebook-intro p{font-size:13px}.notebook-intro small{display:block;margin-top:7px}.notebook-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.notebook-filters select{width:160px}.notebook-filters input{width:230px}.notebook-layout{display:grid;grid-template-columns:285px minmax(0,1fr);gap:20px;align-items:start}.notebook-list{position:sticky;top:18px;padding:17px;max-height:90vh;overflow:auto}.notebook-item{display:block;width:100%;border:1px solid var(--line);background:#fff;text-align:left;padding:13px;margin-bottom:10px;border-radius:8px;color:#36513d}.notebook-item.selected{border-color:#77986a;background:#edf3e5}.notebook-item strong{font-size:12px;overflow-wrap:anywhere}.notebook-item small{display:block;font-size:11px;margin-top:9px}.notebook-item p{font-size:11px;margin-top:7px;color:#9a664b;line-height:1.6}.notebook-photo{max-height:550px}.notebook-verdict{padding:15px;background:#f9f3e6;border-radius:8px;font-size:12px;line-height:1.8}.notebook-notes{padding:22px;background:#f3f7ec;border:1px solid #d8e2ca;border-radius:10px;margin-top:22px}.notebook-notes h2{margin-bottom:10px}.notebook-notes textarea{background:#fff;line-height:1.9;font-size:14px}.notebook-notes details{margin-top:12px}.notebook-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;font-size:13px}.notebook-legacy{margin-top:24px;color:#778973;font-size:12px}.notebook-legacy summary,.notebook-notes summary{cursor:pointer}.notebook-detail .eval-pair{grid-template-columns:1fr}.notebook-detail{min-width:0}#book-detail{scroll-margin-top:20px}@media(max-width:1050px){.notebook-layout{grid-template-columns:1fr}.notebook-list{position:static;max-height:300px}.notebook-notes{padding:18px}}@media(max-width:650px){.notebook-filters select,.notebook-filters input{width:100%}.notebook-detail{padding:18px}.notebook-detail .card-head{flex-wrap:wrap}.notebook-notes{padding:15px}.notebook-list{max-height:260px}.notebook-intro{padding:18px}}

.entry-mode-group{margin-top:28px;min-width:0}.entry-mode-group>h2{margin:18px 0}.review-entry{border:1px solid #dce5d5;border-radius:13px;padding:20px;margin:18px 0;background:#fff;min-width:0;overflow-wrap:anywhere}.review-entry .card-head{align-items:flex-start;flex-wrap:wrap;margin-bottom:8px}.review-entry-error{border:2px solid #cb3f42;background:#fff0f0;box-shadow:0 0 0 3px #cb3f420a}.review-entry-error>small,.review-entry-error h3{color:#9d292c}.review-entry-pending{border:2px solid #c89541;background:#fff8e9}.review-entry-ungraded{border:2px solid #9aa6b5;background:#f5f7fa}.review-entry-ok{border-color:#dce5d5;background:#fbfdf8}.entry-reference{padding:13px;background:#ffffffa6;border:1px solid #e7dada;border-radius:8px;margin:14px 0;font-size:13px}.entry-reference p{margin:8px 0}.review-entry dl{font-size:13px;line-height:1.9}.review-entry dt{margin-top:12px;font-size:12px;color:#8e6663}.review-entry dd{margin:5px 0}.entry-issues{padding:12px 0;color:#9d292c;font-size:13px}.entry-issues p{margin-top:7px}.entry-checks{margin:15px 0;font-size:12px}.entry-checks summary{cursor:pointer}.book-item-form{padding-top:17px;margin-top:18px;border-top:1px solid #dba7a7}.book-item-form h4{font-size:14px;margin:0 0 9px}.book-item-form textarea{background:#fff;line-height:1.9;font-size:14px}.book-item-form>small{display:block}.review-entry-error .book-item-form .btn.primary{background:#ad363c;border-color:#ad363c}.review-entry-error .badge.red{background:#f7d9da;color:#94262c}.review-entry-error .book-item-form label{color:#873438}.item-additional-note{margin-top:15px;font-size:12px}.item-additional-note summary{cursor:pointer}.review-entry .answer{font-size:14px}.review-entry-error .notice{background:#fffafa;border-color:#e7c1c1;color:#81464a}@media(max-width:650px){.review-entry{padding:15px}.review-entry h3{font-size:15px}.book-item-form .btn{width:100%}.review-entry .card-head{gap:9px}.entry-mode-group>h2{font-size:18px}.review-entry .badge{white-space:normal}}

/* Visual reference: local ui参考. Original artwork and existing application flows. */
:root{
  color-scheme:light;
  --primary:#2c75fe;--primary-dark:#175bd4;--primary-soft:#eaf2ff;--green:var(--primary);
  --text:#24324b;--muted:#76849b;--line:#e7edf6;--page:#f3f7fd;--surface:#fff;
  --success:#289764;--danger:#cb3f42;--warning:#b77c23;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Segoe UI","Microsoft YaHei",sans-serif;
  background:var(--page);color:var(--text);font-size:14px;
}
html{scroll-padding-top:92px;min-height:100%;-webkit-text-size-adjust:100%}
body{background:var(--page);color:var(--text);overflow-wrap:break-word}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation}
button:disabled{cursor:not-allowed;opacity:.48}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #83b5ff;outline-offset:3px}
input,textarea,select{border:1px solid #dce5f1;background:#f8faff;color:var(--text);border-radius:14px;padding:13px 15px;line-height:1.5;min-height:46px;box-shadow:none}
input:focus,textarea:focus,select:focus{border-color:#8cb9ff;background:#fff}
input[type=checkbox]{accent-color:var(--primary);min-height:20px;width:20px;height:20px;padding:0;flex-shrink:0}
input[type=file]{background:#f7faff;padding:10px;max-width:100%}
input::file-selector-button{border:0;border-radius:999px;background:#e7f0ff;color:#2767cd;padding:9px 14px;font:inherit;margin-right:10px}
input::placeholder,textarea::placeholder{color:#939fb0}
textarea{line-height:1.85}
label{font-size:13px;color:#4c5d79;margin-top:20px}
h1{font-size:28px;letter-spacing:-.6px;font-weight:700;color:#1e2e4b}
h2{font-size:19px;font-weight:650;color:#24354f}
h3{font-size:15px;color:#304463}
p{line-height:1.8}
small,.muted,.role-help{color:var(--muted)}
.role-help{line-height:1.8;font-size:12px}
.ui-icon{width:22px;height:22px;display:inline-block;vertical-align:middle;flex-shrink:0}
.app-shell{grid-template-columns:224px minmax(0,1fr);min-height:100dvh}
.workspace{min-width:0}
.sidebar{height:100dvh;background:#fff;color:#566782;border-right:1px solid var(--line);padding:30px 16px 22px;z-index:40;overflow:auto;overscroll-behavior:contain}
.sidebar-head{display:flex;justify-content:space-between;align-items:center;padding:0 8px}
.brand{gap:12px;color:#20447e;font-size:25px;letter-spacing:1px;line-height:1.3}
.brand-mark{background:linear-gradient(145deg,#5b9dff,#2c75fe);border-radius:15px;width:45px;height:45px;display:grid;place-items:center;color:#fff;box-shadow:0 6px 16px #2c75fe25}
.brand-mark .ui-icon{width:29px;height:29px;stroke-width:1.5}
.brand small{display:block;font-size:10px;color:#9aa7bc;font-weight:400;letter-spacing:1px;margin-top:5px}
.brand-sub{color:#a2afc3;font-size:9px;letter-spacing:2.5px;margin:17px 10px 0}
.nav-caption{color:#9ba8bd;font-size:11px;letter-spacing:2px;margin:30px 12px 12px}
.nav a{color:#6a7992;border-radius:13px;margin:5px 0;padding:12px;gap:12px;font-size:13px;min-height:47px}
.nav a.active,.nav a.active:hover{background:#eaf2ff;color:#2c75fe;font-weight:600}
.nav a:hover{background:#f5f8fd;color:#2c75fe}
.nav-icon{width:23px;height:23px;color:#8596b1;font-size:0}
.nav a.active .nav-icon{color:#2c75fe}
.nav-chevron{margin-left:auto;font-size:21px;color:#b0bdd0}
.side-bottom{border-top:1px solid var(--line);padding:20px 10px 0;color:#8a98ac;font-size:11px;margin-top:30px}
.side-project{display:flex;align-items:center;gap:9px;margin-bottom:16px;color:#687c9a;font-size:12px}
.side-project .ui-icon{width:18px;height:18px;color:#7daafa}
.side-project small{display:block;font-size:10px;margin-top:4px;color:#9ba6b9}
.nav-close,.nav-overlay,.mobile-tabs,#nav-toggle,.mobile-brand{display:none}
.icon-button{border:1px solid #e4ebf5;background:#fff;color:#6c7f9e;width:38px;height:38px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;padding:0}
.sidebar .nav-close{display:none}
.icon-button:hover{background:#eef5ff;color:var(--primary)}
.icon-button .ui-icon{width:19px;height:19px}
.topbar{height:78px;background:#ffffffed;border-bottom:1px solid #e6edf8;padding:0 34px;position:sticky;top:0;z-index:25;backdrop-filter:blur(16px)}
.appbar-left{display:flex;gap:12px;align-items:center;min-width:0}
.breadcrumb{color:#8c9ab0;font-size:12px;white-space:nowrap}
.breadcrumb span{color:#c1ccdb;margin:0 8px}
.user-area{gap:12px;color:#425a7f}
.avatar{width:36px;height:36px;background:#e6f0ff;color:#3476dd;border-radius:50%;font-size:13px}
.user-info{font-size:12px;line-height:1.4}
.user-info strong{font-weight:600;display:block}
.user-info small{font-size:10px;color:#95a2b6;display:block;margin-top:3px}
.user-area .text-btn{color:#7b8ca7;gap:7px;display:flex;align-items:center;font-size:12px}
.user-area .text-btn .ui-icon{width:16px;height:16px}
.main{max-width:1370px;padding:32px 34px 48px;margin:auto;min-width:0}
.page-head{margin-bottom:25px;align-items:center}
.eyebrow{font-size:10px;color:#91a9ce;letter-spacing:2.4px;margin-bottom:9px;line-height:1.7}
.subtitle{font-size:13px;color:#8493ac;line-height:1.8}
.btn{border:1px solid #dfe8f6;background:#fff;color:#55739b;border-radius:999px;min-height:42px;padding:10px 19px;font-size:13px;line-height:1.5;gap:8px;font-weight:500;transition:background .15s,box-shadow .15s,transform .15s}
.btn:hover{background:#f5f9ff;border-color:#c7dbfc}
.btn:active{transform:translateY(1px)}
.btn.primary{background:linear-gradient(110deg,#3784ff,#2c75fe);border-color:#2c75fe;color:#fff;box-shadow:0 5px 13px #2c75fe22}
.btn.primary:hover{background:#2368ed}
.btn.soft{background:#edf4ff;color:#3275de;border-color:#edf4ff}
.btn.danger{color:#b74a4f;background:#fff0f0;border-color:#f3d2d4}
.btn.small{padding:8px 14px;font-size:12px;min-height:36px}
.btn .ui-icon{width:18px;height:18px}
.text-btn{color:#5284cc;display:inline-flex;align-items:center;gap:6px;font-size:12px;min-height:34px;text-decoration:none;border-radius:8px;line-height:1.6}
.text-btn .ui-icon{width:15px;height:15px}
.hero{background:linear-gradient(120deg,#2c75fe,#428aff 66%,#5aa7ff);color:#fff;border-radius:24px;min-height:252px;position:relative;isolation:isolate;padding:30px 34px;margin-bottom:22px;box-shadow:0 12px 24px #2c75fe14}
.hero::after{content:'';position:absolute;width:340px;height:340px;border:50px solid #ffffff08;border-radius:50%;right:-85px;top:-100px;z-index:-1}
.hero-copy{position:relative;z-index:1}
.hero-project{display:flex;align-items:center;gap:6px;font-size:11px;letter-spacing:.5px;color:#d9eaff}
.hero-project .ui-icon{width:14px;height:14px}
.hero h2{color:#fff;font-size:29px;line-height:1.5;margin:12px 0 9px;letter-spacing:.5px;font-weight:650}
.hero p{color:#dceaff;font-size:12px;line-height:1.7}
.hero-cta{margin-top:20px;background:#fff;color:#2d74ea;border:0;min-height:41px;font-size:12px;padding:10px 17px;box-shadow:0 4px 12px #0d57d51c}
.hero-cta .ui-icon:last-child{width:15px;margin-left:8px}
.site-illustration{width:268px;height:auto;display:block;position:absolute;right:35px;bottom:9px;z-index:0;pointer-events:none}
.stats{gap:14px;margin:0 0 22px}
.stat{border:1px solid #e6edf7;border-radius:19px;background:#fff;padding:20px;box-shadow:0 5px 18px #213a6508}
.stat-title{color:#7b8ba5;font-size:12px;align-items:center;gap:8px}
.stat-symbol{display:grid;place-items:center;width:29px;height:29px;border-radius:10px;background:#edf4ff;color:#568fee}
.stat-symbol .ui-icon{width:17px;height:17px}
.stat-1 .stat-symbol{background:#fff1e4;color:#f19a3e}
.stat-2 .stat-symbol{background:#f1eaff;color:#a278e8}
.stat-3 .stat-symbol{background:#e6f7f0;color:#38ae8b}
.stat strong{font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:35px;color:#2d74e6;margin:12px 0 8px;letter-spacing:-.6px}
.stat strong small{display:inline;font:400 11px -apple-system,"Microsoft YaHei",sans-serif;color:#9daac0;margin-left:7px;letter-spacing:0}
.stat>small{font-size:10px;color:#a2aec0;line-height:1.6}
.grid2{grid-template-columns:minmax(0,1.6fr) minmax(285px,1fr);gap:22px}
.card{border:1px solid #e5ecf6;border-radius:20px;padding:24px;background:#fff;box-shadow:0 5px 18px #27476f03}
.card-head{margin-bottom:21px;gap:12px;align-items:center}
.card-head h2{font-size:17px;font-weight:650;color:#2d405f}
.section-caption{font-size:11px;color:#9aabc3}
.shortcuts-card{margin-bottom:22px}
.shortcut-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px 12px;padding:3px 0 6px}
.shortcut{text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:11px;text-align:center;color:#617493;font-size:12px;min-width:0}
.shortcut-symbol{width:47px;height:47px;border-radius:17px;display:grid;place-items:center;color:#fff;box-shadow:0 6px 12px #438dff12;background:linear-gradient(145deg,#72b6ff,#3382ff)}
.shortcut-symbol .ui-icon{width:25px;height:25px;stroke-width:1.55}
.shortcut-color-1{background:linear-gradient(145deg,#b199ff,#8559ee)}
.shortcut-color-2{background:linear-gradient(145deg,#ffd078,#ffa839)}
.shortcut-color-3{background:linear-gradient(145deg,#67dfbc,#26b990)}
.shortcut-color-4{background:linear-gradient(145deg,#86c8ff,#549af3)}
.shortcut-color-5{background:linear-gradient(145deg,#ffb19c,#f17c72)}
.shortcut:hover .shortcut-symbol{box-shadow:0 7px 15px #347eff25;transform:translateY(-1px)}
.badge{border-radius:7px;padding:5px 9px;background:#eaf3ff;color:#4c83ca;font-weight:400;white-space:normal;line-height:1.5;max-width:100%}
.badge.orange{background:#fff2df;color:#bd8431}.badge.red{background:#fff0ef;color:#ce5f59}.badge.blue{background:#e9f2ff;color:#4a88e5}.badge.gray{background:#f0f3f8;color:#8795aa}.badge.demo{background:#f5f0e8;color:#a79578}
.badge.green,.badge[data-status="已闭环"],.badge[data-status="启用"]{background:#e9f8f0;color:#319e72}
.notice{background:#f0f6ff;border:1px solid #dfebfc;color:#6d87ac;border-radius:13px;padding:13px 16px;line-height:1.8;font-size:12px}
.notice.warning{background:#fff8ed;border-color:#f5e8d0;color:#966e30}.notice.error{background:#fff0ef;border-color:#f2d5d4;color:#bf6263}
.step{padding-bottom:25px;gap:13px}.step-dot{background:#edf4ff;color:#5d91e4;width:29px;height:29px;font-size:11px;border-radius:10px}.step p{font-size:13px;color:#4c6286}.step small{font-size:11px;color:#a2afc1;line-height:1.7}
.process-card .notice{margin-bottom:0}
.table-wrap{border-radius:10px;scrollbar-width:thin;scrollbar-color:#d5e0f0 transparent;overscroll-behavior-x:contain}
table{font-size:12px;color:#627493}th{background:#f6f9fe;color:#8b9bb4;font-size:11px;padding:13px 10px;border-bottom-color:#edf1f7}td{padding:17px 10px;border-color:#edf2f8;vertical-align:middle}td p{font-size:13px;color:#455c80}td small{color:#a4afc0}td:first-child{padding-left:10px}.code{color:#98a6bc;font-size:10px;overflow-wrap:anywhere}
.empty{color:#9aa8bd;font-size:12px;line-height:1.8}.empty-icon{color:#b3c9eb!important;display:flex;justify-content:center}.empty-icon .ui-icon{width:36px;height:36px;stroke-width:1.2}
.footer{color:#a8b4c7;font-size:10px;line-height:1.8;margin-top:28px}
.photo{background:#f0f4fa;border-radius:16px;max-width:100%}
.upload-zone{background:linear-gradient(150deg,#f4f9ff,#edf4ff);border:1.5px dashed #b2d0fd;border-radius:20px;min-height:260px;margin-top:0;padding:30px;color:#517cb8}
.upload-zone strong{font-size:15px;font-weight:600;color:#4b74b0}.upload-zone small{color:#98adcc;font-size:11px}.upload-icon{width:68px;height:68px;background:#e2eeff;border-radius:23px;color:#4385ed;display:grid;place-items:center;margin-bottom:5px}.upload-icon .ui-icon{width:36px;height:36px;stroke-width:1.3}
.checkbox{font-size:13px;color:#7588a5;line-height:1.7}
.hazard{border-color:#e4ecf7;border-radius:15px;padding:18px;background:#fcfdff}.hazard p{font-size:13px;color:#536d92}.hazard dt{color:#8ea0ba}.hazard dd{color:#4f6485;line-height:1.9}
.reference{background:#f3f7ff;color:#8093b1;border-radius:10px;padding:12px;font-size:11px}.reference summary{color:#5688ce;line-height:1.8}.reference p{color:#7285a4;margin-top:10px}
.detail-meta{font-size:13px;color:#547199;gap:20px;padding:18px;background:#f6f9ff;border-radius:14px}.detail-meta small{color:#99a9c0;font-size:11px}
.timeline{border-color:#dfeafa;margin-top:20px}.event{margin-bottom:24px}.event:before{background:#81aef2;border:2px solid #fff;width:10px;height:10px;left:-28px}.event strong{font-size:12px;color:#577193}.event p{font-size:12px;color:#6c82a3}.event small{color:#a8b4c6}
.progress{background:#e6effc}.progress:after{background:#5193ff}
.filter{border-radius:999px;border-color:#e4ecf7;padding:9px 16px;color:#8b9cb5;font-size:12px;min-height:38px}.filter.active{background:#2c75fe;border-color:#2c75fe;color:#fff;box-shadow:0 4px 10px #2c75fe15}.filter.active small{color:#cfe3ff}
.scenario-grid{gap:20px}.scenario{min-height:220px}.scenario .number{color:#85a7dc;font-size:10px}.scenario h2{color:#3f608e;font-size:18px}.scenario p{color:#94a2b8;font-size:12px}
.scenario:before{content:'';width:37px;height:4px;background:#c6dbff;border-radius:4px;margin-bottom:18px}
.loading{color:#91a4c0}
dialog{border:1px solid #e2eafa;border-radius:24px;color:#415a7e;padding:28px;max-height:calc(100dvh - 36px);background:#fff;box-shadow:0 30px 100px #193d7833}
dialog::backdrop{background:#1e366559;backdrop-filter:blur(3px)}
.modal-head{margin-bottom:20px}.modal-head h2{font-size:19px}.modal-head [data-close]{border-radius:50%;width:34px;height:34px;justify-content:center;background:#f4f7fc;color:#8396b4;flex-shrink:0}
#toast{background:#263f68eb;border-radius:15px;box-shadow:0 8px 32px #24436926;font-size:13px;line-height:1.7;max-width:min(500px,90vw);text-align:center}
.login{background:var(--page);min-height:100dvh;grid-template-columns:1fr 1fr}
.login-story{position:relative;overflow:hidden;background:linear-gradient(145deg,#2c75fe,#4798ff);padding:60px 13%;color:#fff}
.login-story .brand{color:#fff;position:relative;z-index:1}.login-story .brand-mark{background:#ffffff22;border:1px solid #ffffff52;box-shadow:none}.login-story .brand-sub{color:#c1ddff;margin-left:0}
.login-story .site-illustration{width:80%;max-width:360px;right:-25px;bottom:35px;opacity:.65}
.login-story h1{font-size:38px;color:#fff;line-height:1.6;margin-top:65px;position:relative;z-index:1;font-weight:600;letter-spacing:.5px}
.login-story p{color:#d7eaff;font-size:13px;position:relative;z-index:1}.login-story .notice{background:#ffffff15;border-color:#ffffff20;color:#d3e7ff;position:relative;z-index:1;font-size:11px;max-width:370px}
.login-form{padding:45px}.login-inner{width:min(440px,100%);background:#fff;padding:30px;border:1px solid #e7edf8;border-radius:24px;box-shadow:0 15px 50px #3262a00a}
.login-form h2{font-size:24px;color:#314e77}.login-form .eyebrow{color:#9bb3d5;font-size:9px}.login-form .subtitle{font-size:12px}
.account-grid{gap:9px;margin:22px 0}.account-btn{border-radius:13px;border-color:#e6edf7;background:#fafdff;padding:12px 13px;color:#99a7bf;font-size:10px;min-height:67px}.account-btn strong{color:#627c9f;font-size:12px;font-weight:500}.account-btn.selected{background:#edf5ff;border-color:#9fc3ff}.account-btn.selected strong{color:#3578df}
.login-form input{background:#f6f9fe}.login-form .notice{font-size:11px}.error-inline{color:#c65c60;font-size:12px}
.kb-item p{color:#6b80a0;line-height:1.9}.kb-item small{font-size:10px;color:#9baec8}.answer{color:#546d91;font-size:14px}
/* Developer tools share the visual system; semantic errors retain strong red frames. */
.eval-toolbar{border-radius:20px}.eval-toolbar label{font-size:11px;color:#8da0bd}.eval-toolbar small{color:#9faec3}
.eval-metric h3{font-size:15px;color:#557399}.eval-metric small{font-size:11px}.eval-metric-line{border-color:#edf1f8;color:#8094b2}.eval-metric-line strong{color:#3978dd;font-size:25px}.eval-meter{accent-color:#2c75fe}.eval-meter.review{accent-color:#f3a34a}
.eval-problem{color:#c76468}.eval-trace summary{color:#5b87c5}.eval-delta{font-size:10px!important;color:#9aadc8}.eval-block{font-size:10px;color:#9baac1}
.diag-summary{background:#edf5ff;border-color:#dceafb;border-radius:20px;color:#527cbb}.diag-priority{border-radius:999px;border-color:#cfe1ff;color:#4c7bc1;padding:9px 15px;font-size:12px}
.diag-legend{color:#8c9db7}.legend-single{background:#2c75fe}.legend-review{background:#ffa648}.bar-bg{fill:#edf3fc}.bar-single{fill:#4b91fb}.bar-review{fill:#ffb357}.diag-bar-button{color:#7792b9;min-height:30px}.diag-bar-button:hover{background:#f3f7ff}
.diag-transition{border-radius:16px;background:#ecf8f1;border-color:#d6eddf;color:#3f9c76;padding:18px}.diag-transition.bad{background:#fff4ec;border-color:#f5dfd0;color:#cf8951}.diag-transition small{color:inherit}.diag-transition strong{font-size:32px}.diag-transition span{font-size:10px}
.diag-source{color:#7189ad;border-color:#eaf0f8;background:#fff;min-height:44px}.diag-source:hover{background:#f5f9ff}.diag-source strong{font-size:11px;color:#5f80af}.diag-good{color:#27875e}.diag-bad{color:#b95d52}
.diag-heatmap button{border-radius:9px;min-height:40px}.heat-0{background:#f3f6fb;color:#c1cbdb}.heat-1{background:#fff2df;color:#c58b42}.heat-2{background:#ffdfaf;color:#a97032}.heat-3{background:#ffbf75;color:#915a27}.heat-4{background:#ef9c47;color:#fff}
.diag-evidence{border-radius:18px;border-color:#f0d6b5;background:#fffaef;color:#7b6b51}.eval-more{border-color:#e5edf8;border-radius:18px}.eval-more>summary{color:#6286b7;font-size:13px}
.prompt-entry{border-color:#e4ecf7;border-radius:13px;color:#6180aa;background:#fff}.prompt-entry.selected{background:#edf5ff;border-color:#9dc3ff}.prompt-section,.prompt-diff{border-color:#e4ecf7;border-radius:14px;background:#fff}.prompt-section summary,.prompt-diff summary{color:#6083b1;font-size:13px}.prompt-source{background:#f8faff;font-size:12px}.diff-add{background:#e9f8ee}.diff-remove{background:#fff0ee}
.prompt-actions{background:#fff;border-top:1px solid #e8eff8;padding-bottom:4px}.prompt-sidebar{top:96px}.prompt-readonly{color:#647e9e}.prompt-diff-code{line-height:1.9}
.notebook-intro{background:#edf5ff;border-color:#dceafd;color:#6285b8;border-radius:18px}.notebook-list{border-radius:18px;top:94px;max-height:calc(100dvh - 112px)}
.notebook-item{border-color:#e6edf8;border-radius:13px;background:#fff;color:#6180a7;padding:14px}.notebook-item.selected{border-color:#9fc3fa;background:#f0f6ff}.notebook-item p{color:#c38176}.notebook-item small{color:#a6b3c6}.notebook-notes{background:#f0f6ff;border-color:#d5e5fb;border-radius:17px}
.notebook-verdict{background:#fff7e9;color:#aa8251;border-radius:13px}.notebook-version{border-radius:20px}.notebook-legacy{color:#9aabc2}.notebook-notes textarea{background:#fff}.notebook-filters select,.notebook-filters input{background:#fff}
.review-entry{border-radius:18px}.review-entry-ok{background:#fbfdfb;border-color:#dceade}.review-entry-ok dt{color:#849e8c}.review-entry-ok h3{color:#4d8970}
.review-entry-error{background:#fff0f0;border:2px solid #cb3f42;box-shadow:0 0 0 3px #cb3f4207}.review-entry-error h3,.review-entry-error>small{color:#a1363b}.review-entry-error .book-item-form .btn.primary{background:#ad363c;border-color:#ad363c;box-shadow:none}.review-entry-error .book-item-form label{color:#873438}.review-entry-error .badge.red{background:#f7d9da;color:#94262c}
.review-entry-pending{background:#fff8e9;border-color:#c89541}.review-entry-ungraded{background:#f5f7fa;border-color:#a7b3c8}.entry-reference{border-radius:12px}.book-item-form textarea{background:#fff}.entry-mode-group>h2{color:#557aa9}.entry-issues{color:#a1363b}.item-additional-note{color:#7995a1}
@media(min-width:1500px){.main{padding:40px 44px 55px}.topbar{padding:0 44px}}
@media(max-width:1150px){.shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.app-shell{grid-template-columns:205px minmax(0,1fr)}.main{padding:28px 25px 45px}.topbar{padding:0 25px}.hero .site-illustration{width:220px;right:15px}.hero h2{font-size:25px}.grid2{grid-template-columns:1fr}.hero{min-height:240px}.stat{padding:17px}.diag-deltas{gap:14px}}
@media(max-width:760px){
  html{scroll-padding-top:80px;scroll-padding-bottom:100px}
  .app-shell{display:block;min-height:100dvh}
  .sidebar{position:fixed;inset:0 auto 0 0;width:min(305px,85vw);height:100dvh;visibility:hidden;transform:translateX(-102%);transition:transform .2s ease;z-index:70;padding:24px 17px;box-shadow:14px 0 40px #294d7a17;border:0;display:flex;flex-direction:column}
  .nav-open{overflow:hidden}.nav-open .sidebar{visibility:visible;transform:translateX(0)}
  .nav-overlay{display:none;position:fixed;inset:0;border:0;background:#20385b59;backdrop-filter:blur(3px);width:100%;height:100%;z-index:65}
  .nav-open .nav-overlay{display:block}.sidebar .nav-close{display:inline-flex}.nav-caption{display:block;margin-top:27px}.side-bottom{display:block;margin-top:auto}.brand-sub{display:block}.sidebar .brand{font-size:24px}.sidebar .brand-mark{width:43px;height:43px}
  .nav{display:block;overflow:visible;margin-top:0}.nav a{display:flex;padding:13px 14px;white-space:normal;font-size:14px;margin:5px 0;min-height:49px}.nav-icon{display:inline-block;width:23px}.nav-icon .ui-icon{width:22px;height:22px}
  .topbar{height:68px;padding:0 16px;background:#fff;backdrop-filter:none;position:sticky;top:0;border-bottom:1px solid #edf2fb;gap:10px}
  #nav-toggle{display:inline-flex;background:#f3f7fe;border:0;border-radius:12px;width:34px;height:34px;color:#7091be}
  .mobile-brand{display:flex;align-items:center;gap:7px;color:#316cc9;font-size:19px;font-weight:700;letter-spacing:1px;white-space:nowrap}.mobile-brand .ui-icon{width:24px;height:24px;color:#4285ee}
  .appbar-left{gap:10px}.breadcrumb{display:none}.user-area{gap:7px}.user-info{display:none}.avatar{width:29px;height:29px;font-size:11px}.user-area .text-btn{font-size:11px;padding:6px;min-height:36px;gap:4px}.user-area .text-btn .ui-icon{width:14px;height:14px}.user-area #logout{width:29px;height:32px;border:0;color:#a6b5cc;background:transparent}.user-area #logout .ui-icon{width:17px;height:17px}
  .main{padding:23px 17px calc(98px + env(safe-area-inset-bottom,0px));max-width:100%;margin:0}
  .page-head{margin-bottom:20px;align-items:flex-start;gap:12px;flex-wrap:wrap}.page-head h1{font-size:24px;line-height:1.4}.page-head .subtitle{font-size:12px;line-height:1.8;margin-top:6px;max-width:100%}.eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:7px}
  .page-head>.row{width:100%;gap:8px}.page-head>.row .btn{font-size:11px;padding:9px 12px;flex:1;min-height:39px}.page-head>.btn{padding:9px 14px;font-size:12px}.page-head .desktop-new{display:none}
  .mobile-tabs{position:fixed;bottom:0;left:0;right:0;z-index:50;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:#ffffffed;backdrop-filter:blur(18px);padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid #e9eff9;box-shadow:0 -6px 24px #2f65a408;min-height:72px}
  .mobile-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#9aaac3;text-decoration:none;border:0;background:transparent;font-size:10px;line-height:1.5;min-height:53px;padding:1px 3px;border-radius:13px;cursor:pointer}
  .mobile-tab .tab-symbol{width:33px;height:28px;display:grid;place-items:center}.mobile-tab .ui-icon{width:23px;height:23px;stroke-width:1.55}.mobile-tab.active{color:#2c75fe}.mobile-tab.active .tab-symbol{background:#edf4ff;border-radius:10px}.mobile-tab.capture-tab .tab-symbol{background:#2c75fe;color:#fff;width:36px;height:31px;border-radius:11px;box-shadow:0 4px 10px #2c75fe25}.mobile-tab.capture-tab .ui-icon{width:22px;height:22px}
  .hero{border-radius:22px;padding:23px 22px;min-height:224px;margin-bottom:17px;overflow:hidden;box-shadow:0 8px 20px #2c75fe12}.hero h2{font-size:23px;line-height:1.5;letter-spacing:.2px;margin-top:12px}.hero-project{font-size:10px}.hero p{font-size:10px;line-height:1.7}.hero-cta{font-size:11px;padding:9px 13px;min-height:38px;margin-top:18px;gap:6px}.hero-cta .ui-icon{width:15px;height:15px}.hero-cta .ui-icon:last-child{width:13px;margin-left:4px}
  .hero .site-illustration{width:145px;right:-4px;bottom:1px;opacity:.7}.hero-copy{max-width:88%}.hero p{max-width:210px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:0 0 18px}.stat{padding:15px 16px;border-radius:17px}.stat-title{font-size:11px;gap:5px}.stat-symbol{width:25px;height:25px;border-radius:9px}.stat-symbol .ui-icon{width:15px;height:15px}.stat strong{font-size:32px;margin:10px 0 6px}.stat>small{font-size:9px}.stat strong small{font-size:10px}
  .card{padding:20px 18px;border-radius:18px}.card-head{margin-bottom:17px;flex-wrap:wrap;align-items:center}.card-head h2{font-size:16px}.card-head>small{font-size:10px;line-height:1.7}.section-caption{font-size:10px}
  .shortcuts-card{margin-bottom:18px;padding-bottom:22px}.shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:21px 8px;padding:2px 0}.shortcut{gap:10px;font-size:10px;line-height:1.6}.shortcut-symbol{width:43px;height:43px;border-radius:15px}.shortcut-symbol .ui-icon{width:24px;height:24px}
  .grid2{grid-template-columns:minmax(0,1fr);gap:18px}.process-card{margin-top:0}.step{padding-bottom:23px}.step-dot{width:27px;height:27px}
  .btn{min-height:44px;padding:11px 17px;font-size:13px;border-radius:999px}.btn.small{min-height:38px;font-size:11px;padding:9px 13px}.text-btn{min-height:36px}.checkbox{font-size:12px;gap:10px}
  input,textarea,select{font-size:16px;min-height:47px;padding:12px 13px;border-radius:13px}label{font-size:12px;margin-top:19px}textarea{line-height:1.8}
  input[type=file]{font-size:12px;padding:9px}
  table{font-size:11px}.table-wrap{margin:0;max-width:100%}th{font-size:10px;padding:12px 8px}td{padding:15px 8px}td p{font-size:12px;line-height:1.7}td small{font-size:9px}.nowrap{white-space:nowrap}
  .work-list-table,.job-list-table{overflow:visible}.work-list-table table,.job-list-table table{display:block}.work-list-table thead,.job-list-table thead{display:none}.work-list-table tbody,.job-list-table tbody{display:grid;gap:12px}.work-list-table tr,.job-list-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:15px;background:#f8fbff;border:1px solid #e8eff9;border-radius:15px}.work-list-table td,.job-list-table td{display:block;border:0;padding:0;min-width:0;white-space:normal}.work-list-table td:first-child,.job-list-table td:first-child{padding:0;grid-column:1/-1}.work-list-table td:first-child p,.job-list-table td:first-child p{font-size:13px;font-weight:600;color:#4f6c95}.work-list-table td:first-child small,.job-list-table td:first-child small{font-size:9px}.work-list-table td:last-child,.job-list-table td:last-child{grid-column:2;grid-row:2/5;align-self:center}.work-list-table .badge,.job-list-table .badge{font-size:10px}.work-list-table td:nth-child(3){font-size:11px;color:#8099b9}.work-list-table td:nth-child(3)::before{content:'责任岗位 · ';color:#adbbd0}.work-list-table td:nth-child(4):not(:last-child){font-size:10px;color:#96a8c2}.job-list-table td:nth-child(3){font-size:10px;color:#9bacc5}.work-list-table .text-btn,.job-list-table .text-btn{padding:8px 10px;border-radius:999px;background:#eaf3ff;color:#5288d3}
  .upload-zone{min-height:230px;border-radius:18px;padding:26px 18px}.upload-icon{width:63px;height:63px;border-radius:22px}.upload-zone strong{font-size:14px}.upload-zone small{font-size:10px}.photo{max-height:430px;border-radius:14px}.notice{font-size:11px;padding:12px 14px;border-radius:12px;line-height:1.85}.hazard{padding:16px;border-radius:14px}.hazard p,.hazard dd{font-size:12px}.hazard h3{font-size:14px}.reference{font-size:10px}.detail-meta{padding:15px;gap:17px;font-size:12px}.detail-meta small{font-size:10px}
  .scenario-grid{grid-template-columns:1fr;gap:16px}.scenario{min-height:200px}.scenario h2{font-size:18px}.scenario p{font-size:12px}.scenario .number{font-size:9px}
  .footer{font-size:9px;margin-top:25px;line-height:1.9}
  dialog{border-radius:24px 24px 16px 16px;width:calc(100% - 20px);max-width:calc(100% - 20px);max-height:calc(100dvh - 26px);padding:22px 20px;margin:auto}.eval-modal{padding:20px 17px}.modal-head h2{font-size:18px;line-height:1.6}.modal-head{align-items:flex-start}.modal-head .text-btn{min-height:34px}.modal-head [data-close]{width:32px;height:32px}
  #toast{bottom:calc(85px + env(safe-area-inset-bottom,0px));font-size:12px;border-radius:13px;padding:12px 17px}
  .login{display:block;background:#f4f8ff;padding-bottom:25px}.login-story{padding:31px 25px 58px;min-height:295px;border-radius:0 0 34px 34px;justify-content:flex-start}.login-story .brand{font-size:24px}.login-story .brand-mark{width:40px;height:40px;border-radius:14px}.login-story .brand-sub{display:none}.login-story h1{font-size:24px;margin:27px 0 12px;line-height:1.6;max-width:300px}.login-story p{font-size:10px;max-width:280px}.login-story .notice{font-size:9px;border:0;background:none;padding:0;margin:12px 0 0;color:#bddbff;max-width:250px}.login-story .site-illustration{width:185px;right:-33px;bottom:27px;opacity:.34}.login-form{padding:0 18px;position:relative;margin-top:-31px}.login-inner{padding:26px 21px 22px;border-radius:23px;box-shadow:0 10px 30px #2a6abe0c;border:1px solid #e3edfb}.login-form h2{font-size:22px}.login-form .eyebrow{font-size:8px;letter-spacing:1.9px}.account-grid{gap:8px;margin:18px 0}.account-btn{padding:11px 12px;min-height:62px;font-size:10px;border-radius:13px}.account-btn strong{font-size:12px}.login-form .notice{font-size:10px}.login-form .subtitle{font-size:11px}.login-form label{font-size:12px}.login-form .btn.full{margin-top:8px}
  .eval-toolbar{display:grid;grid-template-columns:1fr;gap:15px}.eval-toolbar label{margin:0 0 6px}.eval-toolbar small{font-size:10px}.eval-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.eval-metric{padding:16px 14px}.eval-metric h3{font-size:13px}.eval-metric small{font-size:10px;line-height:1.7}.eval-metric-line{font-size:10px;gap:5px}.eval-metric-line strong{font-size:23px}.eval-delta{font-size:9px!important}.eval-meter{max-width:75px}
  .diag-summary{padding:17px;border-radius:18px;font-size:12px}.diag-priority{font-size:11px;padding:11px 13px;min-height:42px;margin:6px 0;width:100%;text-align:left}.diag-summary small{font-size:10px}.diag-grid{grid-template-columns:1fr;gap:18px}.diag-bar-row{grid-template-columns:77px minmax(0,1fr);gap:7px;font-size:11px}.diag-bar-button{min-height:29px;font-size:11px}.diag-deltas{grid-template-columns:1fr 1fr;gap:17px 11px}.diag-deltas strong{font-size:17px}.diag-deltas small{font-size:10px}.diag-transition{padding:15px;border-radius:14px}.diag-transition strong{font-size:30px}.diag-transition small{font-size:11px}.diag-transition span{font-size:9px}.diag-source{font-size:11px;min-height:47px;line-height:1.7}.diag-source strong{font-size:10px}.diag-heatmap td,.diag-heatmap th{padding:12px 6px}.diag-heatmap button{min-width:42px;min-height:40px}.diag-heatmap td:first-child{font-size:10px}.eval-more{padding:17px;border-radius:16px}.eval-more>summary{font-size:12px;line-height:1.8}.eval-more>.card{padding:16px 0;border:0;box-shadow:none}.eval-controls select,.eval-controls input:not([type]){width:100%}.eval-controls{gap:10px}.diag-evidence{padding:17px}.diag-evidence p{font-size:12px}.eval-pair{grid-template-columns:1fr;gap:20px}.answer{font-size:13px}
  .prompt-layout{grid-template-columns:1fr;gap:16px}.prompt-sidebar{position:static;max-width:100%;display:block;padding:18px}.prompt-sidebar .prompt-entry{display:block;width:100%;margin:0 0 10px}.prompt-sidebar h2{font-size:15px}.prompt-entry{padding:13px}.prompt-section,.prompt-diff{padding:13px;border-radius:13px}.prompt-section summary,.prompt-diff summary{font-size:12px;line-height:1.8}.prompt-source{font-size:16px;line-height:1.8;min-height:230px}.prompt-actions{position:static;gap:10px;flex-wrap:wrap}.prompt-actions .btn{flex:1;font-size:12px}.prompt-diff-code{font-size:11px}.prompt-readonly{font-size:11px}
  .notebook-layout{grid-template-columns:1fr;gap:18px}.notebook-list{position:static;max-height:260px;padding:16px;border-radius:17px}.notebook-item{padding:14px;font-size:12px}.notebook-item strong{font-size:12px}.notebook-item p{font-size:10px}.notebook-intro{padding:18px;border-radius:17px}.notebook-intro h2{font-size:17px}.notebook-intro p{font-size:12px}.notebook-intro small{font-size:10px}.notebook-filters{gap:10px}.notebook-filters select,.notebook-filters input{width:100%}.notebook-filters .btn{width:100%}.notebook-version{padding:18px}.notebook-detail{padding:18px 15px}.notebook-detail>.card-head{flex-wrap:wrap}.notebook-detail>.card-head h2{font-size:16px}.notebook-notes{padding:17px;border-radius:15px}.notebook-legacy{font-size:11px;line-height:1.9}.notebook-photo{max-height:480px}.notebook-verdict{font-size:11px;padding:13px}
  .review-entry{padding:16px 14px;border-radius:17px;margin:18px 0}.review-entry h3{font-size:14px}.review-entry>small{font-size:10px;line-height:1.8}.review-entry .badge{font-size:9px}.review-entry dl{font-size:12px;line-height:1.9}.review-entry dd{font-size:12px}.review-entry dt{font-size:11px}.entry-reference{padding:12px;border-radius:10px;font-size:11px}.entry-issues{font-size:12px;line-height:1.8}.entry-mode-group>h2{font-size:17px}.book-item-form textarea{font-size:16px;line-height:1.85}.book-item-form h4{font-size:13px}.book-item-form>small{font-size:10px}.book-item-form label{font-size:12px}.book-item-form .btn{width:100%;min-height:44px}.entry-checks{font-size:11px;line-height:1.8}.item-note-status{font-size:10px}
}
@media(max-width:360px){.topbar{padding:0 12px}.main{padding-left:13px;padding-right:13px}.mobile-brand{font-size:18px}.user-area .text-btn{font-size:10px;padding:4px}.hero{padding:21px 19px}.hero h2{font-size:21px}.hero .site-illustration{width:140px;right:-19px;opacity:.65}.hero-project{font-size:9px}.shortcut{font-size:9px}.shortcut-symbol{width:40px;height:40px}.stat{padding:13px}.stat-title{font-size:10px}.stat strong{font-size:29px}.login-story h1{font-size:22px}.eval-metric-line strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.sidebar,.topbar,.mobile-tabs,.nav-overlay{display:none!important}.app-shell{display:block}.main{padding:0}.card,.hero{box-shadow:none;break-inside:avoid}}

.upload-zone .upload-icon{color:#4385ed}

@media(max-width:760px){.main .table-wrap table{min-width:620px}.main .diag-heatmap{min-width:510px}.main .work-list-table table,.main .job-list-table table{min-width:0}.notice{color:#577398}.role-help{color:#71829b}.hazard p,.hazard dd{color:#526b8c}.btn.small{min-height:42px}.table-wrap{scroll-padding-left:10px}.login-form .notice{color:#6a82a4}.notebook-item p{color:#af6e64}.review-entry-error .role-help{color:#9c7878}}

.review-model-table table{min-width:1080px}.review-model-table td{height:auto}.review-model-table td:last-child{min-width:125px}

.main .review-model-table table{min-width:1080px}

.photo-box-viewer{margin:10px 0 20px;border:1px solid #e0e9f8;border-radius:18px;padding:14px;background:#fbfdff;min-width:0}.pb-heading{display:flex;justify-content:space-between;gap:8px;color:#244b83}.pb-counter{font-size:12px;color:#687e9d}.pb-message{font-size:12px;color:#6c7e94;padding:10px 0;line-height:1.7}.pb-controls,.pb-options,.pb-zoom{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.pb-options label{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:400;margin:0}.pb-options input{width:16px;height:16px;margin:0}.pb-zoom{font-size:12px;color:#647c99}.pb-zoom>span:last-child{font-size:11px}.pb-viewport{max-height:65vh;overflow:auto;background:#e9eff6;border-radius:12px;position:relative;overscroll-behavior:contain;touch-action:pan-y}.pb-stage{position:relative;width:100%;line-height:0}.pb-image{width:100%;height:auto;display:block;max-width:none;user-select:none;-webkit-user-drag:none}.pb-overlay{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.pb-overlay g{cursor:pointer}.pb-overlay g:focus{outline:none}.pb-overlay g:focus rect{stroke:#1a61e2;stroke-width:4}.pb-editing{touch-action:none}.pb-editing .pb-overlay{touch-action:none;cursor:crosshair}.pb-editing .pb-overlay g{cursor:move}.pb-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;color:#61718a;margin:10px 0}.pb-dot:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px}.pb-dot.red:before{background:#d93645}.pb-dot.amber:before{background:#d5790a}.pb-dot.green:before{background:#16865b}.pb-item-list{display:flex;gap:7px;overflow:auto;padding:5px 0 10px}.pb-chip{border:1px solid #d9e5f5;background:#fff;border-radius:12px;min-width:140px;max-width:210px;text-align:left;padding:10px;color:#42618c}.pb-chip.selected{border-color:#2c75fe;background:#edf4ff;box-shadow:0 0 0 1px #2c75fe}.pb-chip span,.pb-chip small{display:block;line-height:1.7}.pb-chip small{font-size:11px;color:#7a8da7}.pb-selected{font-size:13px;line-height:1.8;color:#455f80}.pb-selected small{display:block;color:#6b809c;overflow-wrap:anywhere}.pb-selected p{margin:6px 0}.pb-editor{margin-top:12px;border-top:1px solid #e2eaf5;padding-top:12px}.pb-editor[hidden]{display:none}.pb-edit-actions{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.pb-editor label{font-size:12px}.pb-editor input{font-size:14px;background:#fff}.pb-edit-hint{display:block;color:#6482a4;margin-top:8px}.pb-footnote{font-size:11px;line-height:1.7;color:#6d809b;margin-top:12px}.pb-history{margin-top:12px;font-size:12px;color:#6c7f9a}.pb-history p{padding:8px;border-bottom:1px solid #e5edf8;line-height:1.7}.photo-card-selected{outline:3px solid #6fa2ff;outline-offset:3px;scroll-margin-top:90px}.photo-item-number{display:inline-flex;align-items:center;justify-content:center;background:#eaf2ff;color:#2b6ce5;border-radius:8px;min-width:25px;min-height:25px;margin-right:7px;font-size:12px}.photo-jump{margin-top:8px}.pb-viewport:focus{outline:2px solid #a8c8ff}.pb-controls .btn,.pb-edit-actions .btn{min-height:40px}@media(max-width:760px){.photo-box-viewer{padding:10px;border-radius:15px}.pb-heading{font-size:13px}.pb-counter{font-size:10px}.pb-controls .btn{padding:9px 10px;font-size:11px}.pb-options{gap:10px}.pb-options label{font-size:11px}.pb-viewport{max-height:60vh}.pb-editor input{font-size:16px}.pb-chip{min-width:125px}.pb-selected{font-size:12px}.pb-selected .badge{font-size:10px}.pb-editor .pb-save{width:100%}.pb-editor .row{gap:8px}}

.pb-viewport.pb-zoomed{touch-action:none}

.pb-viewport{touch-action:none}

.pb-tools{margin:0 0 10px;color:#526b89;font-size:13px}
.pb-tools summary,.pb-scene-details summary{cursor:pointer}
.pb-tools .pb-controls{margin:8px 0}
.pb-workbench{display:grid;gap:8px;margin-top:10px;min-width:0}
.pb-workbench .pb-item-list{padding:3px 1px}
.pb-workbench .pb-add-hazard{justify-self:start;min-height:42px}
.pb-workbench [hidden]{display:none}
.pb-workbench .pb-editor{margin:0;padding:8px 0 0}
.pb-workbench .pb-edit-actions{margin-bottom:4px}
.pb-workbench .pb-edit-hint{margin-top:4px}
.pb-new-hazard{min-width:0;background:#eef5ff;border:1px solid #c4d8fc;border-radius:12px;padding:12px}
.pb-new-heading{display:flex;justify-content:space-between;align-items:baseline;gap:6px;flex-wrap:wrap}
.pb-new-status{font-size:12px;color:#305c91}
.pb-new-row{display:flex;align-items:end;gap:8px;margin:8px 0}
.pb-new-row label{flex:1;min-width:0;margin:0}
.pb-new-hazard label{display:grid;gap:4px;font-size:13px}
.pb-new-hazard :is(input,select,textarea){margin:0;width:100%;min-width:0;font-size:16px;background:#fff}
.pb-new-fields{display:grid;gap:8px}
.pb-new-fields textarea{min-height:62px}
.pb-new-hazard .row{margin-top:10px}
.pb-new-hazard .btn{min-height:40px}
.pb-scene-details{padding:4px 0;color:#526b89;font-size:13px}
.pb-scene-details label{margin:8px 0 0}
@media(max-width:760px){.pb-workbench .pb-add-hazard{justify-self:stretch}.pb-new-row{flex-wrap:wrap}.pb-new-row label{min-width:130px}}

.clause-suggestions{display:grid;gap:4px;margin:4px 0 8px;padding:6px;background:#f3f7ff;border:1px solid #c4d8fc;border-radius:10px;max-height:230px;overflow:auto}
.clause-suggestions[hidden]{display:none}
.clause-suggestion{display:grid;gap:3px;padding:7px 8px;width:100%;text-align:left;background:#fff;color:#244b83;border:1px solid #e0e9f8;border-radius:7px;cursor:pointer;overflow-wrap:anywhere}
.clause-suggestion strong{font-size:12px}
.clause-suggestion small{font-size:11px;line-height:1.45;color:#526b89}
.clause-suggestion:is(:hover,:focus-visible){border-color:#4585eb;background:#eaf2ff}
.pb-photo-status,.photo-recovery{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:16px 10px;background:#edf3fb;color:#436283;border-radius:12px;font-size:13px}
.pb-photo-status{min-height:85px}
.pb-photo-status[hidden],.pb-retry-photo[hidden],.pb-open-original[hidden],.pb-viewport[hidden],.pb-image[hidden],img[data-photo-original][hidden]{display:none}
.pb-open-original{white-space:nowrap}

.notification-button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;color:#4676bf;text-decoration:none;border-radius:13px;background:#f0f6ff}.notification-count{position:absolute;top:-3px;right:-4px;min-width:16px;padding:1px 4px;border-radius:10px;background:#e54350;color:white;font-size:10px;font-weight:600;line-height:15px;text-align:center}.notification-count:empty{display:none}.nav .nav-count{margin-left:auto;background:#e8f0ff;border-radius:10px;padding:2px 7px;font-size:11px}.my-inbox{margin:20px 0}.my-inbox .card-head{align-items:flex-start}.my-inbox .role-help{margin:8px 0 0;max-width:650px}.my-inbox-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.my-inbox-counts a{background:#f5f9ff;border:1px solid #e4edf9;border-radius:15px;padding:15px;color:#426aa8;text-decoration:none}.my-inbox-counts strong{display:block;font-size:26px;color:#2c75fe}.my-inbox-counts span{font-size:12px}.todo-item{display:flex;gap:12px;align-items:flex-start;padding:16px 0;border-bottom:1px solid #edf1f8;text-decoration:none;color:#45617f}.todo-item>div{min-width:0;flex:1}.todo-item strong{font-size:14px;color:#2e507b}.todo-item p{font-size:13px;margin:6px 0;line-height:1.7;overflow-wrap:anywhere}.todo-item small{font-size:11px;line-height:1.7;color:#778aa2}.todo-kind{flex:none;padding:5px 9px;background:#edf4ff;color:#4a7cbe;border-radius:9px;font-size:11px}.todo-item.priority-4 .todo-kind,.todo-item.priority-5 .todo-kind{background:#ffeded;color:#bc3746}.todo-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:6px}.notice-item{border:1px solid #e5edf9;padding:17px;border-radius:15px;margin:12px 0;background:#fbfcff}.notice-item.unread{border-left:4px solid #2c75fe;background:#f1f7ff}.notice-item.priority-3.unread,.notice-item.priority-4.unread{border-left-color:#e15051}.notice-item>div:first-child{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}.notice-item strong{font-size:14px;color:#315783}.notice-item time{font-size:11px;color:#7e91aa}.notice-item p{font-size:13px;line-height:1.8;overflow-wrap:anywhere;margin:10px 0}.overdue-panel{margin:16px 0;padding:15px;border:1px solid #f0c8ce;background:#fff5f5;border-radius:14px;color:#9c3c48;font-size:13px;line-height:1.9}.overdue-panel.history{background:#fff9ef;border-color:#e9d6b0;color:#9c7639}.overdue-panel strong{display:block}.overdue-panel p{margin:6px 0}.due-countdown{color:#9d6f29;font-size:12px}.work-list-table .badge.red,.work-list-table .badge.orange{margin-top:4px}.rectify-late-reason{border:1px solid #edbdc5;border-radius:14px;padding:12px;background:#fff6f6}.rectify-late-reason textarea{background:#fff}.my-todo-preview .todo-item:last-child{border:0}@media(max-width:760px){.notification-button{min-width:33px;min-height:33px;margin-right:1px}.notification-count{font-size:9px;min-width:14px;line-height:13px}.my-inbox{padding:17px 14px}.my-inbox-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.my-inbox-counts a{padding:12px}.my-inbox-counts strong{font-size:25px}.my-inbox-counts span{font-size:11px}.my-inbox .card-head{gap:10px}.my-inbox h2{font-size:16px}.todo-item{gap:8px;padding:15px 0}.todo-kind{padding:5px 6px;font-size:10px}.todo-item strong{font-size:13px}.todo-item p{font-size:12px}.todo-item small{font-size:10px}.notice-item{padding:14px}.notice-item p{font-size:12px}.notice-item strong{font-size:13px}.notice-item .btn{min-height:42px}.overdue-panel{font-size:12px;padding:13px}.overdue-panel .row{flex-wrap:wrap}.user-area{gap:7px!important}.topbar .user-info{max-width:90px}.my-inbox .role-help{font-size:11px}}

.rectification-panel {
  margin-block: 1rem;
  display: grid;
  gap: 1.1rem;
}
.rectification-panel h3 { margin: 0 0 .6rem; font-size: 1rem; }
.rectification-photos, .rectification-items {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .8rem;
}
.rectification-photos figure {
  min-width: 0;
  border: 1px solid #dde6f4;
  border-radius: 14px;
  margin: 0;
  overflow: hidden;
  background: #f4f8ff;
}
.rectification-photos figcaption { padding: .6rem .8rem; font-weight: 650; }
.rectification-photos a { display: block; }
.rectification-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #eaf0f9;
}
.rectification-item {
  min-width: 0;
  padding: .8rem;
  border: 1px solid #dce7f5;
  border-radius: 14px;
  overflow-wrap: anywhere;
}
.rectification-item p, .rectification-history p { margin: .5rem 0; }
.rectification-item small, .rectification-history small {
  display: block;
  color: #526783;
}
.rectification-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .35rem .8rem;
}
.rectification-item-head h3 { margin-bottom: .2rem; }
.rectification-missing, .rectification-concern { background: #fff9ef; }
.rectification-missing { padding: .45rem .6rem; border-radius: 8px; }
.rectification-item fieldset {
  border: 0;
  padding: 0;
  margin: .6rem 0 0;
  min-width: 0;
}
.rectification-legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.rectification-human-form { display: grid; gap: .7rem; margin-top: .5rem; }
.rectification-human-form .btn { justify-self: start; }
.rectification-human-form .role-help { margin: 0; }
.rectification-round {
  border: 1px solid #dce7f5;
  border-radius: 12px;
  margin-top: .55rem;
  overflow-wrap: anywhere;
}
.rectification-round summary { padding: .7rem .8rem; cursor: pointer; font-weight: 600; }
.rectification-round-body { padding: 0 .8rem .8rem; }
.rectification-history-event { border-top: 1px solid #dce7f5; margin-top: .6rem; padding-top: .6rem; }
.rectification-history-event .rectification-item { margin-top: .5rem; }
@media (max-width:760px) {
  .rectification-photos, .rectification-items { grid-template-columns: minmax(0,1fr); }
  .rectification-human-form .btn { justify-self: stretch; }
}
.photo-demo-card {
  overflow: hidden;
  padding: 0;
  min-width: 0;
}
.photo-demo-image {
  width: 100%;
  height: clamp(150px,19vw,210px);
  display: block;
  object-fit: contain;
  background: #edf3fb;
}
.photo-demo-content { padding: 1rem; }
.photo-demo-content > a { margin-top: .6rem; }
.photo-demo-content h2 { font-size: 1.05rem; }
.photo-demo-pending { margin-block: 1rem; }
.photo-demo-pending li { margin-top: .45rem; }
.photo-demo-pending li span { display: block; color: #526783; }
.work-flow-links { margin: .65rem 0; }
.work-flow-links .btn { min-height: 2.4rem; }

.op-filters,.op-metrics,.op-charts{display:grid;gap:12px}
.op-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
.op-filters label{margin:0}
.op-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 0 16px}
.op-metric{background:#fff;border:1px solid #dae5f2;border-radius:17px;padding:16px;display:grid;gap:7px;color:#24496c}
.op-metric strong{font-size:clamp(21px,3vw,32px);line-height:1.2;color:#164d90}
.op-metric small,#op-time{color:#566c81;font-size:13px}
.op-charts{grid-template-columns:repeat(2,minmax(0,1fr))}
.op-bar{display:grid;grid-template-columns:minmax(5em,auto) 1fr 2.2em;gap:10px;align-items:center;font-size:15px;margin:8px 0}
.op-bar b{text-align:right}.op-bar progress,.op-trend progress{width:100%;height:10px;accent-color:#3579d7}
.op-person{display:block;width:100%;background:transparent;border:0;text-align:left;color:inherit;cursor:pointer;border-bottom:1px solid #e5edf6}
.op-trend{width:100%;min-width:0;border-collapse:collapse}.op-trend th,.op-trend td{padding:6px;text-align:left}.op-trend progress{width:65%;max-width:95px}.op-trend td:last-child progress{accent-color:#198364}
.due-info{display:grid;gap:2px;margin:6px 0;white-space:normal;font-variant-numeric:tabular-nums}
.due-info>span{font-size:13px;color:#526781}.due-info time{font-size:17px;font-weight:700;color:#233e5b}.due-info b{font-size:16px;color:#176cb1}.due-info .due-late{color:#ad373b}
.hazard .badge,.detail-meta .badge,.badge.hazard-level{font-size:15px;line-height:1.4;padding:4px 10px;font-weight:700}
.badge[data-status="待整改"]::before,.badge[data-status="待复核"]::before,.badge[data-status="正在处理"]::before,.badge[data-status="待确认"]::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:currentColor;margin-right:5px}
.agent-face{--helmet:#ffca49;display:inline-block;width:52px;height:47px;border-radius:18px 18px 14px 14px;position:relative;flex:none;background:linear-gradient(#fdfefe,#bfdef2);border:2px solid #3b6790;box-shadow:inset 0 -4px #9ebfd7}
.agent-hat{position:absolute;left:-3%;top:-10%;width:106%;height:40%;border-radius:32px 32px 7px 7px;background:var(--helmet);border-bottom:3px solid #335774}
.agent-hat::before{content:"";position:absolute;left:43%;top:0;width:14%;height:75%;border-radius:4px;background:#fff8}
.agent-visor{position:absolute;left:13%;top:38%;width:74%;height:30%;border-radius:11px;background:#22495f}
.agent-visor::before,.agent-visor::after{content:"";position:absolute;top:25%;left:22%;width:13%;height:48%;border-radius:3px;background:#9af4f7}.agent-visor::after{left:66%}
.agent-mouth{position:absolute;left:40%;width:20%;bottom:13%;height:3px;border-radius:50%;background:#335774}
.agent-review{--helmet:#62c9b3}.agent-qa{--helmet:#81a8ff}
.agent-team{display:flex;gap:18px;flex-wrap:wrap;align-items:center}.agent-team>span{display:grid;justify-items:center;gap:8px;color:#28466a;font-weight:650}
.agent-working{display:flex;align-items:center;gap:12px;padding:12px;background:#edf5ff;border-radius:14px;margin:8px 0;color:#234466}
.running-duration{font-variant-numeric:tabular-nums;color:#3d5977}.agent-working .ui-spinner{margin-left:auto}
.thinking .agent-visor::before,.thinking .agent-visor::after{animation:agent-think 1.6s ease-in-out infinite}
@keyframes agent-think{50%{transform:translateX(28%) scaleY(.65)}}
.ui-spinner,.loading::before,.pb-photo-status:not([hidden]):has(.pb-retry-photo[hidden])::before{content:"";display:inline-block;vertical-align:middle;width:18px;height:18px;flex:none;border:3px solid #bbd9f8;border-top-color:#216acf;border-radius:50%;animation:ui-spin .85s linear infinite;margin-right:8px}
@keyframes ui-spin{to{transform:rotate(360deg)}}
button[aria-busy="true"]::after{content:"";display:inline-block;width:13px;height:13px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;margin-left:6px;vertical-align:middle;animation:ui-spin .85s linear infinite}
@media(max-width:760px){.work-list-table .badge,.job-list-table .badge{font-size:13px;padding:4px 8px}.hazard .badge.hazard-level{font-size:16px}.work-list-table td:first-child p{font-size:15px}}
@media(prefers-reduced-motion:reduce){button[aria-busy="true"]::after{animation:none}}
@media(max-width:760px){.op-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.op-filters label:first-child{grid-column:1/-1}.op-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.op-metric{padding:12px}.op-charts{grid-template-columns:minmax(0,1fr)}.op-bar{grid-template-columns:5em 1fr 2em}.work-list-table .due-info time{font-size:16px}.op-trend{min-width:0}}
@media(prefers-reduced-motion:reduce){.ui-spinner,.loading::before,.pb-photo-status::before,.thinking .agent-visor::before,.thinking .agent-visor::after{animation:none!important}}

.speech-input{margin:10px 0 18px;--voice-blue:#2c75fe}
.speech-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.speech-hold{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;flex:1;min-width:190px;padding:12px 18px;border:1px solid #bed5ff;border-radius:16px;background:#edf4ff;color:#235fce;font:inherit;font-weight:650;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;transition:background .16s,border-color .16s}
.speech-hold svg{width:21px;height:24px;flex-shrink:0}
.speech-hold:focus-visible{outline:3px solid #aac8ff;outline-offset:3px}
.speech-hold:disabled{opacity:.6;cursor:default}
.speech-time{font-variant-numeric:tabular-nums;min-width:0}
.speech-time:not(:empty){min-width:44px}
.speech-status{margin:8px 0 0;font-size:14px;line-height:1.55;color:#526780}
.speech-feedback{display:none;align-items:center;justify-content:center;gap:13px;margin-top:10px;padding:14px;border-radius:16px;background:#edf4ff;color:#235fce}
.speech-input[data-state=recording] .speech-feedback{display:flex}
.speech-input[data-state=recording] .speech-hold{background:#2c75fe;color:white;border-color:#2c75fe;opacity:1}
.speech-input.is-cancel .speech-feedback{background:#fff0f0;color:#c43d47}
.speech-input.is-cancel .speech-hold{background:#c43d47;border-color:#c43d47}
.speech-input[data-state=error] .speech-status{color:#b2423d}
.speech-input[data-state=transcribing] .speech-hold svg{animation:speech-pulse 1s ease-in-out infinite}
.speech-wave{height:30px;display:flex;align-items:center;gap:4px}
.speech-wave i{width:4px;height:12px;background:currentColor;border-radius:4px;animation:speech-wave .8s ease-in-out infinite alternate}
.speech-wave i:nth-child(2){animation-delay:-.2s}.speech-wave i:nth-child(3){animation-delay:-.4s}.speech-wave i:nth-child(4){animation-delay:-.6s}.speech-wave i:nth-child(5){animation-delay:-.3s}
@keyframes speech-wave{to{height:29px}}@keyframes speech-pulse{50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.speech-wave i,.speech-input[data-state=transcribing] .speech-hold svg{animation:none}}
