:root{font-family:Inter,"Microsoft YaHei",sans-serif;color:#243346;background:#f5f7fa;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dce3ea;background:white;padding:9px 15px;border-radius:7px;color:#344458}button:hover{background:#eff5f7}.primary{background:#087e70;color:white;border-color:#087e70}.primary:hover{background:#086c61}aside{position:fixed;inset:0 auto 0 0;width:240px;background:#fff;border-right:1px solid #e4e9ef;padding:32px 20px}.brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:700}.brand img{width:40px;height:40px}.brand small{display:block;font-size:10px;letter-spacing:1px;color:#8a97a5;margin-top:7px}.workspace{font-size:11px;color:#99a4b1;margin:46px 10px 16px}.workspace span{float:right;color:#168274}nav button{display:block;border:0;width:100%;text-align:left;margin:7px 0;padding:14px 12px;color:#738094}.selected{background:#e8f4f0;color:#087e70;font-weight:600}nav b{float:right;background:#daeae4;border-radius:4px;padding:1px 5px;font-size:11px}.sidefoot{position:absolute;bottom:25px;font-size:12px;color:#6c7d89}.sidefoot small{display:block;font-size:10px;margin-top:8px;color:#a1aab6}i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#13a57e;margin-right:5px}main{margin-left:240px}header{height:76px;background:#fff;border-bottom:1px solid #e5eaf0;display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:12px;color:#8a96a6}header span{padding:0 15px}header strong{color:#4a596c;font-weight:500}.user{background:#f3f6f9;border-radius:20px;padding:9px 14px;color:#5b6b7c}section{padding:34px 38px;min-height:calc(100vh - 125px)}.titlebar{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}h1{font-size:27px;margin:0 0 9px;letter-spacing:-.5px}h2{font-size:19px;margin:0 0 18px}p{line-height:1.8}.muted{color:#8a97a6;font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:25px}.stat{background:#fff;border:1px solid #e4e9ef;border-radius:10px;padding:20px 23px}.stat small{color:#7b8898}.stat strong{display:block;font-size:31px;margin:13px 0 7px;font-weight:600}.stat em{font-style:normal;font-size:11px;color:#95a0ad}.stat:nth-child(2) strong{color:#d08428}.stat:nth-child(3) strong{color:#087e70}.notice{background:#edf5f8;border:1px solid #dce9ef;color:#4b7485;padding:13px 17px;border-radius:8px;line-height:1.7;font-size:12px;margin-bottom:23px}.panel{background:#fff;border:1px solid #e4e9ef;border-radius:10px;overflow:hidden}.toolbar{display:flex;gap:10px;align-items:center;padding:18px 20px;border-bottom:1px solid #edf0f4}.toolbar input{flex:1;max-width:300px}.toolbar label{margin-left:auto;font-size:12px;color:#8a97a6}input,select,textarea{border:1px solid #dce3ea;border-radius:6px;padding:10px;background:white;color:#344458;max-width:100%}textarea{min-height:95px;resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid #9ed4c7;outline-offset:1px}table{width:100%;border-collapse:collapse}th{text-align:left;background:#fafbfd;color:#8591a0;font-size:11px;font-weight:500;padding:14px 18px}td{padding:20px 18px;border-bottom:1px solid #edf0f4;font-size:12px;vertical-align:top}td:first-child{min-width:210px}td strong{display:block;font-size:14px;margin-bottom:6px}td small{display:block;color:#8d99a6;margin-top:6px}.pill{display:inline-block;padding:4px 8px;border-radius:5px;background:#eaf3ff;color:#5283af;font-size:11px;white-space:nowrap}.review{background:#fff3de;color:#b27b26}.done{background:#e9f5ef;color:#248762}.overdue{color:#c66056}.actions{display:flex;gap:6px;flex-wrap:wrap}.actions button{font-size:11px;padding:6px 9px}.empty{text-align:center;padding:70px 20px;color:#8c99a6}.empty strong{display:block;color:#45566b;font-size:18px;margin-bottom:12px}.settingsgrid{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.card{background:#fff;border:1px solid #e4e9ef;border-radius:10px;padding:25px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:19px}.field label{font-size:12px;color:#66758a}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:15px}.check{display:flex;gap:8px;align-items:center;font-size:12px;margin-bottom:20px}.log{padding:15px 20px;border-bottom:1px solid #edf0f4;font-size:12px;line-height:1.8}.log time{display:block;color:#97a1ad;font-size:10px}.approval{margin-bottom:15px}.approval p{color:#697a8e;font-size:13px}footer{padding:15px 38px;border-top:1px solid #e4e9ef;color:#a3adba;font-size:10px}footer span{float:right}dialog{border:0;border-radius:12px;width:570px;max-width:94vw;padding:26px;box-shadow:0 20px 100px #172c4240}dialog::backdrop{background:#192c4666}.dialoghead{display:flex;justify-content:space-between;align-items:start}.close{border:0;font-size:23px;padding:0 5px}.dialogfoot{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#203b37;color:#fff;border-radius:8px;padding:13px 24px;display:none;z-index:99}.history{font-size:12px;line-height:1.9;color:#708091;border-top:1px solid #e5ebef;margin-top:18px;padding-top:12px}.detail{white-space:pre-wrap;line-height:1.8;color:#5b6b7c}@media(max-width:1000px){aside{width:195px;padding:25px 12px}main{margin-left:195px}section{padding:25px 20px}.settingsgrid{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:17px}header{padding:0 20px}.tablewrap{overflow:auto}}@media(max-width:650px){aside{position:static;width:auto;padding:16px}.brand{font-size:18px}.brand small,.workspace,.sidefoot{display:none}nav{display:flex;margin-top:15px;gap:4px}nav button{font-size:11px;text-align:center;padding:10px 4px;margin:0}nav b{display:none}main{margin:0}header{height:50px}.user{font-size:9px;padding:6px}section{padding:24px 14px}.stats{grid-template-columns:repeat(2,1fr)}h1{font-size:23px}.toolbar{flex-wrap:wrap}.toolbar input{width:100%;max-width:none}.toolbar label{display:none}footer span{display:none}.titlebar{gap:10px}.twocol{grid-template-columns:1fr}}

.phoneguide{font-size:13px;line-height:1.85}.phoneguide h3{margin:24px 0 10px;font-size:15px;color:#087e70}.phoneguide ol{padding-left:22px}.phoneguide dt{font-weight:600;margin-top:16px}.phoneguide dd{margin:6px 0 15px;color:#627185}.phoneguide code{background:#eef5f3;border-radius:4px;padding:3px 6px;color:#086f62;overflow-wrap:anywhere}.phoneguide pre{white-space:pre-wrap;background:#f5f7fa;padding:13px;border-radius:7px;font:inherit;color:#344458}

.c-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0 20px}.c-reason{min-height:180px}.changebox{border:1px solid #e0e7e5;border-radius:10px;padding:18px;background:#fbfdfc}.changebox h3{margin:0 0 15px}.changebox textarea{width:100%;min-height:160px}.upload{display:block;border:1px dashed #9fbbb2;border-radius:7px;padding:12px;color:#087e70;margin-top:12px;font-size:12px;cursor:pointer}.upload input{display:block;margin-top:8px;width:100%;font-size:11px}.imagegrid{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.imagegrid img{max-width:180px;max-height:150px;object-fit:contain;border:1px solid #dce7e1;border-radius:5px}.imagegrid figure{margin:0;display:flex;flex-direction:column;gap:5px}.imagegrid button{font-size:10px;padding:3px}.formbottom{display:flex;gap:12px;margin-top:25px}.baseview{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:15px 0}.baseview small{display:block;color:#91a093;font-size:11px;margin-bottom:7px}.baseview strong{font-size:13px;font-weight:500}.c-pre{white-space:pre-wrap;line-height:1.9;color:#65776c}.role-row{border-bottom:1px solid #edf0ee;padding:20px 0;display:grid;grid-template-columns:160px 1fr;gap:15px}.role-row label{display:inline-flex;align-items:center;gap:8px;margin:0 20px 8px 0}.card h3{font-size:14px}.card summary{cursor:pointer;color:#718678}aside nav{max-height:calc(100vh - 250px);overflow:auto}@media(max-width:800px){.c-grid,.baseview{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.c-grid,.baseview{grid-template-columns:1fr}.role-row{grid-template-columns:1fr}aside nav{max-height:none;overflow:auto;flex-wrap:wrap}aside nav button{width:30%}.imagegrid img{max-width:130px}}

.exportbar{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:18px}.exportlink{display:inline-block;text-decoration:none;border:1px solid #d6e2dc;border-radius:6px;padding:10px 16px;color:#176f60;background:white;font-size:12px}.exportlink.primary{background:#087e70;color:white}.a4-screen{box-sizing:border-box;width:210mm;min-height:297mm;max-width:none;margin:0 auto;padding:12mm;background:white;box-shadow:0 4px 24px #193b3214;border:1px solid #dce5e0}.paperhead{border-bottom:2px solid #477e6c;padding-bottom:12px;margin-bottom:22px;color:#33564c}.paperhead>div{font-size:12px;letter-spacing:1px}.paperhead h2{text-align:center;font-size:22px;margin:12px 0}.paperhead small{font-size:11px}.a4-screen .card,.a4-screen .panel{border-radius:0;box-shadow:none}.a4-screen .card{padding:16px}.a4-screen .titlebar h1{font-size:19px}.a4-screen .c-grid{gap:0 12px}.a4-screen td{padding:10px 8px}.a4-screen th{padding:12px 8px}.a4-screen td:first-child{min-width:0}.a4-screen .imagegrid img{max-width:140px}.a4-screen .stats{grid-template-columns:repeat(3,1fr)}#content:has(.a4-screen){overflow-x:auto}@media print{@page{size:A4 portrait;margin:14mm}aside,header,footer,.exportbar,.dialogfoot,button,.formbottom{display:none!important}main{margin:0}section{padding:0}.a4-screen{width:auto;min-height:0;border:0;box-shadow:none;padding:0}.paperhead{break-after:avoid}tr,figure{break-inside:avoid}thead{display:table-header-group}.changebox{break-inside:auto}.imagegrid img{max-height:110mm}}

.a4-screen .paperhead{text-align:center;border:1px solid #42594e;padding:10px;margin-bottom:0}.a4-screen .paperhead>div{font-family:SimSun,serif;font-weight:700;font-size:20px;letter-spacing:1px}.a4-screen .paperhead h2{font-family:SimSun,serif;margin:6px 0;font-size:21px}.a4-screen .titlebar{margin:12px 0}.a4-screen .titlebar h1{font-size:15px}.a4-screen #baseForm{padding:0;border:0}.ecr-base,.ecr-review,.sheet-result{width:100%;border-collapse:collapse;table-layout:fixed;color:#152b23}.a4-screen .ecr-base th,.a4-screen .ecr-base td,.a4-screen .ecr-review th,.a4-screen .ecr-review td,.sheet-result th,.sheet-result td{border:1px solid #52675b;padding:5px;font-size:11px;vertical-align:middle;overflow-wrap:anywhere;min-width:0;background:#fff}.a4-screen .ecr-base th{font-weight:600;text-align:center}.ecr-base .field{margin:0;gap:0}.ecr-base .field>label{display:none}.ecr-base input,.ecr-base select{border:0;border-radius:0;padding:5px;width:100%;background:#f4faf7;font-size:12px}.ecr-base textarea{width:100%;border:0;border-radius:0;background:#fbfdfc}.ecr-base #temporary .field>label,.ecr-base #switch .field>label{display:block;font-size:10px}.ecr-base .c-reason{min-height:110px}.ecr-base .changebox{border:0;padding:5px;background:white}.ecr-base .changebox textarea{min-height:150px}.ecr-base .upload{font-size:10px;padding:6px}.ecr-review .sheet-section,.ecr-base .sheet-section{background:#f0f5f2!important;text-align:center;font-size:13px!important;font-weight:700}.ecr-review th{text-align:center}.ecr-review td:first-child{text-align:center}.ecr-review td small{font-size:9px;line-height:1.5;margin-top:3px}.ecr-review td button{padding:3px 6px;font-size:10px;margin-top:3px}.sheet-option{display:inline-block;margin:3px 6px 3px 0}.draft-reviews .muted{padding:10px;margin:0;font-size:10px}.sheet-result{margin-top:0}.sheet-result th{width:18%}.a4-screen .formbottom{padding:15px 0}.a4-screen .panel{border:0}.a4-screen .panel .toolbar{padding:12px 0}.a4-screen .panel .toolbar h2{font-size:15px}

/* Full-HD desktop workspace: fixed navigation, centered compact paper. */
@media(min-width:1400px){aside{width:218px;padding:25px 16px}main{margin-left:218px}header{height:58px;padding:0 28px}section{padding:18px 28px}nav button{padding:11px 10px;margin:4px 0}.workspace{margin-top:32px}.a4-screen{width:210mm;padding:6mm 7mm;min-height:297mm}.exportbar{max-width:210mm;margin:0 auto 10px}.a4-screen .paperhead{padding:5px}.a4-screen .paperhead>div{font-size:17px}.a4-screen .paperhead h2{font-size:18px;margin:3px 0}.a4-screen .titlebar{margin:6px 0}.a4-screen .titlebar .muted{font-size:10px}.a4-screen .ecr-base th,.a4-screen .ecr-base td,.a4-screen .ecr-review th,.a4-screen .ecr-review td{padding:3px 4px;font-size:10.5px}.ecr-base input,.ecr-base select{padding:2px 4px;font-size:11px}.ecr-base .c-reason{min-height:55px}.ecr-base .changebox textarea{min-height:65px}.ecr-base .upload{padding:4px;margin-top:4px}.ecr-base .upload input{font-size:9px;margin-top:3px;padding:1px}.a4-screen .imagegrid{margin:4px 0;gap:5px}.a4-screen .imagegrid img{max-width:90px;max-height:55px}.a4-screen .sheet-option{margin:1px 4px 1px 0}.draft-reviews .muted{padding:5px}.a4-screen .ecr-review .sheet-section{font-size:11px!important}}
.imagegrid img{cursor:zoom-in}#imageZoom{width:94vw;max-width:1700px;height:92vh;max-height:94vh;padding:15px;background:#f4f7f5}#imageZoom .zoomtools{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;font-size:12px;color:#63776e}#imageZoom .zoomcanvas{overflow:auto;height:calc(100% - 50px);display:grid;place-items:start center;background:#dce3df;padding:18px}#imageZoom img{max-width:100%;height:auto;max-height:none;object-fit:contain;background:white}

nav button[hidden]{display:none!important}.review-pending{background:#ffdd57!important;border-color:#d8ad1c!important;color:#654d00!important}.review-modify{background:#ffae55!important;border-color:#e18b2e!important;color:#713b00!important}

.a4-screen .imagegrid img,.imagegrid img{width:100%;max-width:300px;max-height:220px;object-fit:contain}.a4-screen .imagegrid figure{width:100%;max-width:300px}.plan-date{color:#a36708!important;font-weight:600}#expectedDateWrap[hidden]{display:none}

.confirmation-status{display:inline-block;padding:2px 6px;border-radius:4px;font-size:11px;font-weight:700;white-space:nowrap}.confirmation-pending{color:#b91c1c;background:#fee2e2;border:1px solid #fca5a5}.confirmation-done{color:#15803d;background:#dcfce7;border:1px solid #86efac}
