@font-face{font-family:NotoTC;src:url(/NotoSansTC.woff2) format("woff2");font-display:swap;font-weight:100 900}:root{font-family:Inter,Segoe UI,NotoTC,Microsoft JhengHei,sans-serif;color:#103b59;background:#f3f6f8;font-synthesis:none;font-size:14px;--green:#103b59;--muted:#6c8293;--border:#d7e3ec}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button,select,input,textarea{transition:border-color .15s,background .15s,box-shadow .15s}h1,h2,h3,p{margin:0}button svg,.button svg{flex-shrink:0}.topbar{height:86px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 44px;position:relative;z-index:2}.brand{display:flex;align-items:center;gap:13px;font-size:19px;font-weight:700;letter-spacing:1px}.brand-icon{width:43px;height:43px;background:var(--green);color:#fff;border-radius:12px;display:grid;place-items:center}.brand small{display:block;font-size:9px;color:#6c8293;font-weight:500;letter-spacing:2px;margin-top:4px}.top-meta{display:flex;align-items:center;gap:8px;color:#526f85;font-size:12px}.dot{width:6px;height:6px;border-radius:50%;background:#72a27b}.dot.offline{background:#d7a256}.version{border-left:1px solid var(--border);margin-left:16px;padding-left:23px;color:#98a196}.layout{max-width:1500px;margin:auto;display:grid;grid-template-columns:285px minmax(0,1fr);min-height:calc(100vh - 86px)}aside{padding:38px 28px 24px 35px;border-right:1px solid var(--border);background:#103049;display:flex;flex-direction:column;position:sticky;top:0;height:calc(100vh - 1px);max-height:1000px}.workspace-label{font-size:11px;color:#8b988a;letter-spacing:1.4px}aside h2{font-size:23px;line-height:1.65;font-weight:600;margin:25px 0 12px;letter-spacing:.7px}.aside-note{font-size:12px;line-height:1.9;color:#889382;max-width:205px}nav{display:flex;flex-direction:column;gap:10px;margin-top:35px}.step{border:none;background:transparent;display:flex;text-align:left;align-items:center;gap:13px;padding:15px 12px;border-radius:9px;color:#788573;font-weight:500;width:100%}.step-index{height:27px;width:27px;display:grid;place-items:center;background:#e3e9de;color:#7b8873;border-radius:50%;font-size:12px}.step small{font-size:10px;display:block;color:#9aa292;margin-top:5px;font-weight:400}.step.active{background:#fff;color:var(--green);box-shadow:0 3px 10px #233d2710}.step.active .step-index{background:var(--green);color:#fff}.step.active small{color:#899581}.step:hover:not(:disabled){background:#e6ece2}.aside-bottom{margin-top:auto;padding-top:35px}.completion-label{display:flex;justify-content:space-between;font-size:11px;color:#87927f}.completion-label strong{color:#4c6846}.progress-track{height:5px;background:#d6e3ec;border-radius:8px;margin:12px 0 17px;overflow:hidden}#progress{background:#698d56;height:100%;transition:width .3s}.aside-bottom p{display:flex;align-items:center;gap:6px;font-size:10px;color:#8e9a87;line-height:1.7}main{padding:42px 44px 50px;min-width:0;max-width:1150px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:2px;color:#008b9b;font-weight:600;margin-bottom:13px}.eyebrow span{color:#8aa0af}h1{font-size:29px;font-weight:650;letter-spacing:1px;line-height:1.45}.page-heading>div>p:last-child{font-size:12px;color:#668092;line-height:1.9;margin-top:9px}.draft-badge,.submitted-badge{white-space:nowrap;background:#e8f2f5;border:1px solid #cfdee7;color:#1c6270;border-radius:6px;padding:6px 11px;font-size:11px;display:flex;align-items:center;gap:5px}.summary-strip{display:flex;align-items:center;gap:22px;border-block:1px solid var(--border);padding:15px 2px;margin-bottom:30px;font-size:11px;color:#647f93;flex-wrap:wrap}.summary-strip span{display:flex;align-items:center;gap:8px}.summary-strip b{font-weight:500;color:#244b65}.summary-strip span:nth-child(2){margin-right:auto}.panel{background:#fff;border:1px solid var(--border);border-radius:12px;padding:29px 30px;margin-bottom:22px;box-shadow:0 2px 4px #1c392502}.section-heading{display:flex;align-items:center;gap:12px;padding-bottom:23px;margin-bottom:24px;border-bottom:1px solid #e8eef3}.section-icon{display:grid;place-items:center;color:#145c70;background:#eaf2f6;width:37px;height:37px;border-radius:9px}h3{font-size:15px;font-weight:600;line-height:1.6}.section-heading p{font-size:11px;color:#6e8596;margin-top:3px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.field{display:flex;flex-direction:column;gap:9px;font-size:12px;min-width:0}.field>span{font-weight:500;color:#244b65}.field small{font-size:10px;color:#7890a0;margin-left:5px}.field input,.field select,.field textarea,.photo-card input{border:1px solid #cfdee7;border-radius:6px;background:#fff;padding:12px 13px;color:#163e59;width:100%;min-height:43px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#0e8494;box-shadow:0 0 0 3px #78976a15;outline:none}.field textarea{resize:vertical;line-height:1.8}.field input::placeholder,.field textarea::placeholder{color:#9aacba}.field input[type=date]{color-scheme:light}.spaced{margin-top:24px}.check-row{display:flex;flex-wrap:wrap;gap:12px}.check-chip{display:flex;align-items:center;gap:8px;border:1px solid #d7e3ec;border-radius:6px;padding:10px 15px;font-size:12px;background:#fafcfd}.check-chip:has(input:checked){background:#e8f3f6;border-color:#138698}.check-inline{display:flex;align-items:center;gap:8px;font-size:12px;color:#536f85}.form-grid>.check-inline{padding-top:22px}input[type=checkbox]{accent-color:var(--green);width:15px;height:15px}.info-panel{background:#e9f2f6;border:1px solid #d2e2eb;border-radius:10px;padding:25px 27px;display:flex;align-items:flex-start;gap:18px;color:#1b6478}.info-panel>svg{margin-top:3px;flex-shrink:0}.info-panel h3{font-size:14px;color:#174d67}.info-panel p{color:#627e91;font-size:12px;line-height:1.9;margin-top:8px}.tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.tags span{font-size:10px;color:#47748a;background:#fff9;border:1px solid #d3e3ec;border-radius:4px;padding:5px 8px}.help-line{display:flex;gap:7px;align-items:center;font-size:11px;color:#6a8598;margin:20px 0 28px}.bottom-actions{display:flex;align-items:center;gap:16px;margin-top:30px;padding-top:24px;border-top:1px solid var(--border)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;border:1px solid #cddfe9;border-radius:7px;padding:12px 18px;font-size:12px;font-weight:500;min-height:43px;white-space:nowrap}.primary{color:#fff;background:var(--green);border-color:var(--green)}.primary:hover{background:#0d5064}.ghost{background:transparent;color:#285b77}.ghost:hover{background:#e5f0f5}.white{background:#fff;color:var(--green);border-color:#fff}.bottom-hint{font-size:10px;color:#768c9d;margin-left:auto}.bottom-actions>.primary{margin-left:auto}.section-caption{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#35647d;margin-bottom:15px}.section-caption span:last-child{color:#768c9d}.question-card{background:#fff;border:1px solid var(--border);border-radius:10px;padding:22px;margin-bottom:16px}.question-top{display:flex;align-items:flex-start;gap:12px}.item-number{font-size:11px;letter-spacing:1px;color:#1f6a82;background:#eaf2f6;border:1px solid #d5e5ee;border-radius:5px;padding:5px 7px;margin-top:2px}.question-top h3{font-size:14px}.question-top p{font-size:11px;color:#6e8596;margin-top:5px;line-height:1.7}.question-top>div:first-of-type{flex:1}.status-options{display:flex;gap:5px;flex-shrink:0;flex-wrap:wrap}.status{display:inline-flex;gap:4px;align-items:center;background:#fff;border:1px solid #d6e3ec;color:#607e93;border-radius:5px;font-size:11px;padding:8px 9px;min-height:35px}.status.ok.selected{color:#3c704b;background:#e9f3e6;border-color:#7ca779}.status.issue.selected{color:#a35838;background:#fff0e7;border-color:#d6a082}.status.na.selected{color:#6e7381;background:#edf0f5;border-color:#a8b0be}.question-detail{display:flex;gap:18px;align-items:center;margin-top:18px;padding-top:16px;border-top:1px solid #e5edf3}.note-field{flex:1}.note-field>span{font-size:10px;color:#55788f}.note-field textarea{padding:8px 11px;font-size:12px}.photo-action{display:flex;flex-direction:column;align-items:center;gap:8px}.photo-action small{font-size:9px;color:#7491a4}.upload{position:relative;background:#f2f7fa;border-style:dashed;color:#34748e;padding:10px 13px;cursor:pointer}.upload input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.extra-grid{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px;background:#f3f7fa;padding:12px;border-radius:6px}.extra-grid .field{flex:1;min-width:140px}.extra-grid .field>span{font-size:10px;color:#57788d}.extra-grid input,.extra-grid select{font-size:11px;min-height:37px;padding:8px}.extra-grid input[type=checkbox]{min-height:0}.photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.photo-card{position:relative;min-width:0}.photo-card img{width:100%;height:115px;object-fit:cover;background:#eef4f7;border:1px solid var(--border);border-radius:6px 6px 0 0}.photo-card>button{position:absolute;top:6px;right:6px;border:none;border-radius:50%;background:#0008;color:#fff;width:24px;height:24px}.photo-card input{font-size:10px;border-radius:0 0 6px 6px;min-height:35px;padding:8px}.signature-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.signature-panel{padding:23px}.signature-panel h3{display:flex;gap:8px;align-items:center;margin-bottom:20px}.canvas-wrap{position:relative;border:1px dashed #9db8cb;border-radius:7px;background:#fbfdfe;margin-top:18px;overflow:hidden;height:150px}.canvas-wrap canvas{width:100%;height:100%;touch-action:none;position:relative;z-index:1;cursor:crosshair}.canvas-wrap>span{position:absolute;bottom:8px;left:0;right:0;text-align:center;color:#a0b7c6;font-size:10px;pointer-events:none}.signature-footer{display:flex;align-items:center;justify-content:space-between;margin-top:12px}.signature-footer small{font-size:10px;color:#39728b}.text-button{border:0;background:none;color:#47768d;font-size:11px;padding:4px}.compact{padding:20px}.errors{background:#fff4ec;color:#975c3f;border:1px solid #e4bfa6;border-radius:8px;padding:20px;margin-top:20px;font-size:12px;line-height:1.9}.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:10;background:#103b59;color:#fff;border-radius:9px;box-shadow:0 5px 25px #0002;padding:14px 22px;font-size:13px;max-width:90vw;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%)}.toast.error{background:#8d4932}.download-panel{background:#e5f0f6;border:1px solid #cbdfe9;padding:32px;border-radius:12px;display:flex;gap:23px;align-items:flex-start;margin-bottom:22px}.large-icon{padding:14px;background:#fff9;border-radius:14px;color:#24738a}.download-panel h2{font-size:23px;font-weight:600}.download-panel p{font-size:12px;color:#5b7b90;line-height:1.8;margin-top:8px}.download-buttons{display:flex;gap:12px;margin-top:23px}.share-panel{display:flex;justify-content:space-between;align-items:center;gap:18px}.share-panel p{font-size:11px;line-height:1.8;color:#6e8697;margin-top:7px}.review-info{display:flex;flex-wrap:wrap;gap:20px;margin:25px 0;font-size:11px;color:#658197}.review-info b{font-weight:500;color:#225d78;margin-left:7px}.review-row{display:flex;align-items:center;gap:13px;padding:14px 0;border-top:1px solid #e5eef4;font-size:12px}.review-number{color:#7196ab;font-size:10px}.review-row>div{flex:1}.review-row b{font-weight:500}.review-row p{font-size:10px;color:#63849a;line-height:1.7;margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}.result-pill{font-size:10px;padding:5px 8px;border-radius:4px;background:#edf4e7;color:#678557;white-space:nowrap}.result-pill.issue{background:#fff0e7;color:#a45f3b}.result-pill.na{background:#eef0f4;color:#7d8592}.review-signatures{display:flex;gap:20px;border-top:1px solid var(--border);padding-top:24px;margin-top:15px}.review-signatures>div{width:50%;font-size:11px;color:#39728d}.review-signatures img{display:block;width:100%;height:85px;object-fit:contain;margin-top:10px}@media(min-width:1550px){main{padding-inline:60px}.layout{border-inline:1px solid var(--border)}}@media(max-width:1150px){.layout{grid-template-columns:235px minmax(0,1fr)}aside{padding:30px 20px}main{padding:32px 26px}.question-top{flex-wrap:wrap}.status-options{margin-left:43px;width:100%}.question-top>div:first-of-type{min-width:180px}.summary-strip{gap:14px}.bottom-hint{display:none}}@media(max-width:780px){.topbar{height:72px;padding:0 20px}.brand{font-size:16px;gap:9px}.brand-icon{width:36px;height:36px}.brand small{font-size:8px}.version{display:none}.top-meta{font-size:10px}.layout{display:block}aside{position:static;height:auto;padding:14px 16px;border-right:0;border-bottom:1px solid var(--border);background:#103049}aside h2,.workspace-label,.aside-note,.aside-bottom{display:none}nav{flex-direction:row;margin:0;gap:5px;overflow-x:auto}.step{min-width:70px;flex:1;flex-direction:column;gap:6px;padding:9px 5px;font-size:10px;align-items:center;text-align:center;border-radius:6px}.step-index{width:22px;height:22px;font-size:10px}.step small{display:none}main{padding:28px 18px 35px}.page-heading{margin-bottom:20px}h1{font-size:25px}.page-heading>div>p:last-child{font-size:11px}.eyebrow{font-size:9px;margin-bottom:8px}.summary-strip{gap:12px;font-size:10px;margin-bottom:22px;padding:13px 0}.summary-strip span:nth-child(2){margin-right:0}.panel{padding:23px 20px}.form-grid{gap:20px}.info-panel{padding:20px;gap:12px}.signature-grid{grid-template-columns:1fr;gap:0}.question-card{padding:18px 15px}.question-top{gap:9px}.question-top h3{font-size:13px}.status-options{margin-left:39px}.question-detail{gap:10px}.upload{font-size:10px;padding:10px}.photo-grid{grid-template-columns:repeat(2,1fr)}.section-caption{font-size:10px}.section-caption span:last-child{display:none}.download-panel{padding:25px 20px;gap:15px}.large-icon{display:none}.download-panel h2{font-size:22px}.share-panel{align-items:flex-start;flex-direction:column}.download-buttons{flex-wrap:wrap}.review-info{gap:12px}.bottom-actions{margin-top:22px}.canvas-wrap{height:165px}}@media(max-width:440px){.form-grid{grid-template-columns:1fr}.form-grid>.check-inline{padding-top:0}.check-row{gap:8px}.check-chip{padding:9px 11px}.field input,.field select,.field textarea{font-size:16px}.extra-grid input,.extra-grid select{font-size:14px}.top-meta{max-width:85px;font-size:9px}.topbar{padding:0 14px}.info-panel p{font-size:11px}.tags{gap:6px}.question-detail{align-items:stretch;flex-direction:column}.photo-action{flex-direction:row}.photo-action .upload{align-self:flex-start}.extra-grid{gap:12px}.extra-grid .field{min-width:100%}.review-signatures{gap:12px}.step{min-width:59px}.step-index{display:none}}:root{--green:#103b59;--border:#d7e3ec;--muted:#688196;color:#103b59;background:#f3f6f8}body{background:#f3f6f8}.layout{max-width:none;grid-template-columns:239px minmax(0,1fr)}aside{background:#103049;color:#fff;border:0;padding:28px 14px;height:calc(100vh - 86px);max-height:none;top:0}aside h2{font-size:19px;margin:23px 12px 10px;line-height:1.6}.workspace-label{color:#72c7d8;margin-left:12px}.aside-note{color:#adc4d2;margin-left:12px}.step{color:#fff;padding:15px 12px}.step-index{background:#224861;color:#a5e4ee}.step small{color:#9dbccb}.step.active{background:#fff;color:#103049;box-shadow:none}.step.active .step-index{background:#103b59}.step.active small{color:#658597}.step:hover:not(:disabled){background:#21465d}.step.active:hover:not(:disabled){background:#eef5f9}.completion-label,.completion-label strong,.aside-bottom p{color:#b9d4e3}.aside-bottom{padding:25px 12px 0}.progress-track{background:#2a4a60}#progress{background:#f5ca66}main{max-width:none;padding:34px 32px}.management-nav{display:grid;gap:7px;margin-top:25px}.management-nav button{background:transparent;border:0;color:#e5f6ff;padding:15px 14px;text-align:left;border-radius:9px;font-weight:600}.management-nav button:first-child{background:#fff;color:#103049}.management-nav button:hover{background:#dfeef5;color:#103049}nav{margin-top:22px}.editor-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:23px}.editor-toolbar>span{font-size:11px;color:#6b8496;margin-left:auto}.primary{background:#103b59;border-color:#103b59}.primary:hover{background:#16566d}.panel,.question-card{border-color:#d5e4ee;box-shadow:0 3px 13px #10304904}.question-top p,.question-top h3{white-space:pre-line}.info-panel{background:#e9f4f7}.section-icon{color:#007b8b}.draft-badge,.result-pill.pending{background:#fff3d6;border-color:#efd293;color:#906a1e}.download-panel{background:linear-gradient(110deg,#103049,#105958);color:#fff}.download-panel p{color:#c1e2e7}.download-panel .primary{background:#f5ca66;color:#103049;border-color:#f5ca66}.dashboard-banner{background:linear-gradient(110deg,#103049,#105958);color:#fff;border-radius:16px;padding:29px 30px;margin-bottom:18px}.dashboard-banner>p{font-size:13px;color:#e0f5fa;line-height:1.8}.dashboard-banner h2{font-size:24px;margin:12px 0;font-weight:650}.gold-track{height:12px;background:#ffffff25;border-radius:9px;overflow:hidden;margin-top:18px}.gold-track span{display:block;height:100%;background:#f5ca66;border-radius:9px;min-width:8px}.dashboard-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.dashboard-stats>div{border:1px solid #d3e4ee;background:#fff;border-radius:16px;padding:22px}.dashboard-stats span{display:block;font-size:12px;color:#617d91}.dashboard-stats strong{display:block;font-size:30px;margin-top:13px;font-weight:600}.dashboard-stats small{font-size:17px}.records-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.search-row{display:flex;gap:10px;margin-bottom:20px}.search-row input,.search-row select{padding:11px 12px;border:1px solid #cddfea;border-radius:7px;background:#fff;color:#103b59;font:inherit;min-width:0}.search-row input{flex:1}.records-scroll{overflow-x:auto}.records-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}.records-table th{text-align:left;background:#eef5f9;color:#4c748b;font-weight:500;padding:13px 12px}.records-table td{padding:16px 12px;border-bottom:1px solid #e2edf3;vertical-align:middle}.records-table td small{display:block;font-size:10px;color:#7d95a6;margin-top:6px}.records-table .button{font-size:11px;padding:8px 11px;min-height:34px}.records-table .text-button{display:block;margin-top:6px}.empty-records{text-align:center;padding:45px!important;white-space:normal;color:#758fa0}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:20px}.pagination span{margin-right:auto;font-size:11px;color:#7590a2}.login-panel{max-width:480px}.login-panel>.button{margin-top:18px}.login-error{color:#aa4037;font-size:12px;margin-top:14px}.preview-dialog{width:min(1100px,96vw);height:94vh;border:1px solid #cbdfea;border-radius:14px;padding:22px;background:#f3f6f8;color:#103b59;max-height:96vh}.preview-dialog::backdrop{background:#0b263bcc}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.preview-heading h2{font-size:21px}.preview-heading p{font-size:12px;color:#6c8699;margin-top:7px}.preview-actions{display:flex;gap:10px;margin:18px 0;flex-wrap:wrap}.preview-dialog iframe{width:100%;height:calc(100% - 160px);border:1px solid #cadce8;background:#fff;border-radius:6px;min-height:220px}.preview-help{font-size:11px;color:#688398;margin-top:8px}@media(max-width:1100px){.layout{grid-template-columns:220px minmax(0,1fr)}main{padding:28px 23px}.editor-toolbar>span{width:100%;margin-left:0}.dashboard-stats{gap:10px}}@media(max-width:780px){.layout{display:block}aside{height:auto;padding:12px 14px;position:static}.management-nav{display:flex;margin:0 0 10px;gap:10px}.management-nav button{flex:1;padding:11px 14px}nav{margin-top:0}.step:hover:not(:disabled){background:#24485e}.step.active:hover:not(:disabled){background:#fff}main{padding:25px 17px}.dashboard-banner{padding:24px 20px}.dashboard-banner h2{font-size:20px}.dashboard-stats>div{padding:16px 12px}.dashboard-stats strong{font-size:24px}.search-row{flex-wrap:wrap}.search-row input{flex-basis:100%}.search-row select{flex:1}.preview-dialog{padding:14px}.editor-toolbar .button{flex:1}.editor-toolbar>span{font-size:10px}}.editor-toolbar{position:sticky;top:0;z-index:4;background:#f3f6f8f5;padding:12px 0;border-bottom:1px solid #d7e3ec;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.draft-footer{margin-top:24px;background:#e9f2f6;border:1px solid #d0e1eb;border-radius:10px;padding:19px 22px}.draft-footer p{font-size:12px;color:#52758b;margin-bottom:13px}.draft-footer>div{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:780px){.draft-footer{padding:16px}.draft-footer .button{flex:1;min-width:42%}.editor-toolbar{gap:7px;padding:9px 0}.editor-toolbar .button{padding:10px 12px;min-width:42%}.editor-toolbar>span{width:100%}}html{scroll-padding-top:130px}body{padding-bottom:env(safe-area-inset-bottom)}.page-jump{position:fixed;right:14px;bottom:calc(20px + env(safe-area-inset-bottom));display:grid;gap:8px;z-index:7}.page-jump button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:62px;min-height:44px;border:1px solid #c4dce9;background:#fff;color:#103b59;border-radius:24px;box-shadow:0 3px 15px #10304920;font-size:21px}.page-jump span{font-size:11px}.date-control{display:flex;position:relative;align-items:center;justify-content:space-between;border:1px solid #cfdee7;border-radius:6px;background:#fff;padding:12px 13px;min-height:45px;min-width:0;width:100%;font-weight:400!important}.date-control input[type=date]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;min-width:0;opacity:0;cursor:pointer;box-sizing:border-box}.date-control:focus-within{outline:2px solid #138698;outline-offset:2px}.date-display{font-variant-numeric:tabular-nums;white-space:nowrap;color:#163e59;font-size:16px}.signature-launch{display:grid;place-items:center;width:100%;height:150px;margin-top:18px;border:1px dashed #8bb0c7;border-radius:9px;background:#f8fcfe;color:#23617d;font-size:14px;cursor:pointer}.signature-launch img{width:100%;height:100%;object-fit:contain}.signature-dialog{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:calc(16px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#f3f7fa;color:#103b59;overflow:hidden}.signature-dialog[open]{display:flex;flex-direction:column;gap:15px}.signature-dialog::backdrop{background:#103049}.signature-dialog header{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;flex-shrink:0}.signature-dialog h2{font-size:21px}.signature-dialog header p{font-size:12px;color:#69869a;margin-top:7px;line-height:1.5}.fullscreen-ink{position:relative;flex:1;min-height:0;background:#fff;border:1px solid #b6cfdc;border-radius:12px;overflow:hidden}.fullscreen-ink canvas{display:block;width:100%;height:100%;touch-action:none;position:absolute;top:0;right:0;bottom:0;left:0;cursor:crosshair}.fullscreen-ink>span{position:absolute;bottom:16px;left:0;right:0;text-align:center;font-size:12px;color:#afbfcb;pointer-events:none}.signature-dialog footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;flex-shrink:0}.signature-dialog footer [data-status]{font-size:12px;color:#a0572d;flex:1}.signature-dialog footer .primary{margin-left:auto}.signature-dialog footer button{min-height:46px}.danger{background:#fff6f3;border:1px solid #e9c9bf;color:#a04431}.history-list{display:grid;gap:16px;margin-bottom:20px}.history-card{border:1px solid #d6e4ed;border-radius:12px;padding:20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.history-card p{color:#68889b;font-size:12px;margin:9px 0}.record-actions{display:flex;gap:7px;flex-wrap:wrap}.records-table .record-actions{max-width:270px;min-width:220px}.field input,.field select,.field textarea{max-width:100%}.records-table td{white-space:normal}.records-table td:nth-child(2){min-width:110px}@media(max-width:780px){.management-nav{flex-wrap:wrap}.management-nav button{font-size:12px;flex:1 1 28%;white-space:nowrap;padding:10px 8px}.signature-grid{grid-template-columns:1fr}.field input,.field select,.field textarea{font-size:16px}.form-grid{grid-template-columns:1fr}.history-card{align-items:flex-start;flex-direction:column;padding:17px}.history-card .record-actions{width:100%}.history-card .button{flex:1 1 40%}.signature-dialog header h2{font-size:18px}.signature-dialog header p{font-size:11px}.signature-dialog footer{gap:8px}.signature-dialog footer [data-status]{flex-basis:100%;order:5}.signature-dialog footer .button{padding:11px 13px}.records-scroll{overflow:visible}.records-table,.records-table tbody,.records-table tr,.records-table td{display:block;width:100%}.records-table thead{display:none}.records-table tr{border:1px solid #d5e4ee;border-radius:10px;margin-bottom:14px;padding:13px}.records-table td{border:none;padding:6px 0}.records-table td:nth-child(2):before{content:"稽核日期：";color:#7290a3}.records-table td:nth-child(4):before{content:"點檢進度：";color:#7290a3}.records-table td:nth-child(5):before{content:"最後更新：";color:#7290a3}.records-table .record-actions{max-width:none;min-width:0}.records-table .record-actions .button{flex:1 1 42%;min-height:43px}.bottom-actions{flex-wrap:wrap}.bottom-actions .button{max-width:100%;white-space:normal}main{padding-bottom:110px}.page-jump{right:10px;bottom:calc(12px + env(safe-area-inset-bottom))}.page-jump button{min-width:57px;min-height:42px}.page-heading{align-items:flex-start;flex-wrap:wrap}.date-control{min-height:48px}}@media(max-height:500px)and (orientation:landscape){.signature-dialog{padding:8px;gap:7px}.signature-dialog header p{display:none}.signature-dialog header h2{font-size:16px}.signature-dialog footer .button,.signature-dialog header .button{min-height:36px;padding:7px 12px}.signature-dialog footer [data-status]{flex-basis:auto;order:0}}input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;display:inline-block;flex:0 0 18px;width:18px;height:18px;min-height:18px;padding:0;border:2px solid #000;border-radius:0;background:#fff;vertical-align:middle;cursor:pointer}input[type=checkbox]:checked{background:#000;border-color:#000}input[type=checkbox]:focus-visible{outline:3px solid #138698;outline-offset:3px}.check-chip,.check-inline{position:relative;cursor:pointer}.check-chip input[type=checkbox],.check-inline input[type=checkbox]{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0;margin:0;overflow:hidden;clip-path:inset(50%)}.selection-square{display:inline-block;flex:0 0 18px;width:18px;height:18px;border:2px solid #000;background:#fff;pointer-events:none}.check-chip input:checked+.selection-square,.check-inline input:checked+.selection-square{background:#000}.check-chip input:focus-visible+.selection-square,.check-inline input:focus-visible+.selection-square{outline:3px solid #138698;outline-offset:3px}.check-chip input:checked+.selection-square,.check-inline input:checked+.selection-square{position:relative}.check-chip input:checked+.selection-square:after,.check-inline input:checked+.selection-square:after{content:"✓";position:absolute;color:#fff;font-size:15px;font-weight:900;line-height:14px;left:1px;top:-1px}.schedule-controls{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.schedule-week h3{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.schedule-week h3 small{color:#5b7487;font-weight:500}.schedule-entry{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #dae5ed;padding:14px 0}.schedule-entry small{display:block;color:#668092;margin-top:5px}.schedule-warning{color:#a04e32;margin-top:8px}@media(max-width:780px){.editor-toolbar{display:none!important}.schedule-entry{align-items:flex-start;flex-direction:column}.schedule-entry .record-actions{width:100%}.management-nav button{flex-basis:42%}}.layout{width:100%;grid-template-columns:260px minmax(0,1fr)}main{width:100%;max-width:none;min-width:0}aside{overflow-y:auto}.management-nav{display:flex;flex-direction:column;gap:8px}.management-nav button{width:100%;flex:none}.history-card{min-width:0}.history-card>div{min-width:0;overflow-wrap:anywhere}.record-actions{display:flex;flex-wrap:wrap;gap:7px;min-width:0}.search-row{display:flex;flex-wrap:wrap}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #cddce6;border-left:1px solid #cddce6;background:#fff}.calendar-heading{text-align:center;padding:12px;background:#103049;color:#fff}.calendar-day{min-height:135px;border-right:1px solid #cddce6;border-bottom:1px solid #cddce6;padding:7px;min-width:0}.calendar-day.outside{background:#eef2f5}.calendar-day.drag-over{background:#c6e9ed}.calendar-event{display:block;width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left;border:1px solid #b6d5df;background:#e7f2f7;color:#103049;border-radius:5px;padding:6px;margin-top:5px;font-size:12px;cursor:grab}.calendar-event.done{background:#dceee1}#calendar-detail{margin-top:20px}@media(max-width:780px){.layout{display:block}.layout aside{position:relative;height:auto;max-height:none;width:100%;overflow:visible;padding:18px}.management-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.management-nav button{min-width:0}main{padding:22px 14px 100px}.calendar-day{padding:3px;min-height:100px}.calendar-event{font-size:11px;padding:4px 2px}.history-card .record-actions{min-width:0;max-width:100%}.history-card .button{white-space:normal}.panel{padding:18px}.page-heading h1{font-size:24px}}:root{font-size:16px}.topbar{height:68px;padding:0 24px}.layout{min-height:calc(100vh - 68px)}aside{padding:18px 16px;height:calc(100dvh - 68px);top:0}.workspace-label{font-size:13px}aside h2{font-size:21px;line-height:1.35;margin:14px 0 8px}.aside-note{font-size:13px;line-height:1.5}.management-nav{gap:3px;margin-top:16px}.management-nav button{font-size:16px;padding:10px 12px;min-height:40px}nav{margin-top:14px;gap:3px}.step{padding:9px 10px;gap:10px;font-size:16px}.step small{font-size:12px;margin-top:3px}.aside-bottom{padding-top:16px}.completion-label{font-size:13px}.aside-bottom p{font-size:12px}main{padding:22px 24px 30px}.page-heading{margin-bottom:12px}.eyebrow{margin-bottom:5px;font-size:12px}.page-heading>div>p:last-child{font-size:14px;margin-top:4px}.button{font-size:14px;padding:9px 12px}.field{font-size:14px}.panel{padding:20px;margin-bottom:14px}.history-card{padding:14px}.schedule-controls{margin-bottom:12px;gap:6px}.four-months{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.month-card{min-width:0;background:#fff;border:1px solid #cfdee7;border-radius:8px;overflow:hidden}.month-card h2{font-size:18px;padding:10px 12px;margin:0}.four-months .calendar-heading{padding:6px 0;font-size:14px}.four-months .calendar-day{height:78px;min-height:0;padding:3px;overflow:hidden}.four-months .calendar-day>b{font-size:14px;line-height:18px}.day-events{max-height:53px;overflow-y:auto;scrollbar-width:thin}.four-months .calendar-event{font-size:12px;line-height:16px;padding:1px 2px;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:19px}.four-months .outside{color:#a0afba}.four-months .calendar-day.drag-over{outline:2px solid #008b9b;outline-offset:-2px}@media(max-width:1250px){.four-months{grid-template-columns:repeat(2,minmax(0,1fr))}.four-months .calendar-day{height:48px}.day-events{max-height:25px}.month-card h2{padding:6px 10px}}@media(max-width:780px){aside{height:auto;padding:12px 14px}aside h2,.aside-note{display:none}.management-nav{margin-top:8px}.management-nav button{font-size:15px;min-height:40px}.layout main{padding:16px 12px 80px}.four-months{gap:8px}.month-card h2{font-size:16px}.four-months .calendar-heading{font-size:12px}.four-months .calendar-day{height:48px;padding:2px}.four-months .calendar-event{font-size:11px}.step{font-size:15px}}.mobile-menu{display:none}@media(max-width:780px){.topbar{position:sticky;top:0;z-index:20;height:60px;padding:8px 12px;gap:10px;justify-content:flex-start}.mobile-menu{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border:1px solid #cbdce7;border-radius:7px;background:#fff;color:#103049;font-size:25px}.brand{font-size:16px;gap:8px;letter-spacing:0}.brand-icon{width:32px;height:32px}.brand small{font-size:8px;letter-spacing:1px}.top-meta{display:none}.layout #main-navigation{display:none;position:fixed;top:60px;left:0;bottom:0;width:min(310px,88vw);height:calc(100dvh - 60px);overflow-y:auto;z-index:19;box-shadow:6px 0 22px #10304933;padding:16px}.menu-open .layout #main-navigation{display:flex}.layout #main-navigation .management-nav{display:flex;flex-direction:column}.layout #main-navigation nav{display:flex;flex-direction:column;overflow:visible}.layout #main-navigation .step{width:100%;flex:none}.layout #main-navigation .aside-bottom{display:block;margin-top:auto}.layout #main-navigation .workspace-label{display:block}.menu-open main{opacity:.55}.layout{min-height:calc(100dvh - 60px)}}@media(max-width:780px){.topbar{padding-right:96px}.topbar .brand{min-width:0;font-size:15px}.topbar .brand small{font-size:7px;letter-spacing:.5px}.topbar .brand-icon{display:none}.page-jump{position:fixed;top:8px;right:8px;bottom:auto;z-index:21;display:flex;flex-direction:row;gap:5px}.page-jump button{width:38px;min-width:38px;height:44px;min-height:44px;padding:4px;border-radius:7px;box-shadow:none;font-size:20px}.page-jump button span{display:none}.bottom-actions{padding-bottom:env(safe-area-inset-bottom);gap:10px}.bottom-actions #next{min-width:110px}.layout main{padding-bottom:calc(32px + env(safe-area-inset-bottom))}}@media(max-width:780px){.topbar{padding-right:12px}.topbar .brand-icon{display:grid}.topbar .brand{font-size:16px}.topbar .brand small{font-size:8px;letter-spacing:1px}.page-jump{top:auto;bottom:calc(160px + env(safe-area-inset-bottom));right:8px;flex-direction:column;gap:8px;z-index:18}.page-jump button{width:58px;min-width:58px;height:42px;min-height:42px;padding:5px;border-radius:22px;box-shadow:0 3px 12px #10304920;font-size:18px}.page-jump button span{display:inline;font-size:11px}.menu-open .page-jump{display:none}}.four-months .calendar-day{height:auto;min-height:54px;overflow:visible}.four-months .day-events{max-height:none;overflow:visible}.four-months .calendar-event{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.4;padding:4px 3px;font-size:13px}.month-card{overflow:hidden}.four-months{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:780px){.four-months{grid-template-columns:minmax(0,1fr);gap:16px}.four-months .calendar-event{font-size:13px}.four-months .calendar-day{min-height:52px}.month-card h2{font-size:18px;padding:10px}}.four-months .calendar-day{padding:3px;min-height:38px}.four-months .calendar-event{padding:3px 4px;font-size:13px;line-height:1.3;margin-top:3px}.four-months .calendar-heading{padding:6px 0}.four-months .day-events{padding-bottom:2px}@media(max-width:780px){.four-months .calendar-day{min-height:38px}.four-months .calendar-event{font-size:13px}}.page-jump button span{display:none!important}.page-jump button{min-width:42px;width:42px;padding:6px;justify-content:center}.four-months{align-items:stretch}.month-card{display:flex;flex-direction:column}.month-card h2{flex:none}.month-card .calendar-grid{flex:1}.four-months .calendar-heading{display:flex;align-items:center;justify-content:center;padding:0}@media(max-width:780px){.month-card .calendar-grid{flex:initial}}.four-months{align-items:start}.month-card .calendar-grid{flex:none}.four-months .calendar-day{min-height:34px}.month-card{align-self:start}@media(min-width:781px){.layout{position:relative;min-height:calc(100dvh - 68px);background:linear-gradient(to right,#103049 0,#103049 260px,transparent 260px)}.layout>aside{position:sticky;top:0;height:100dvh;max-height:none;align-self:start;overflow-y:auto;margin:0;padding-bottom:18px}.layout>main{min-height:calc(100dvh - 68px)}}.four-months .calendar-event.done{background:#197347;color:#fff;border-color:#125633;font-weight:600}.calendar-completed{display:block;font-size:11px;line-height:1.3}.dorm-history-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-bottom:1px solid #dae5ed;padding:12px 0}.dorm-history-row>div{flex:1;min-width:140px}.dorm-history-row span{display:block;font-size:13px;margin-top:4px}#calendar-detail{scroll-margin-top:76px}#calendar-detail .panel>p{font-size:14px;margin:8px 0 14px}.four-months .calendar-event.done{background:#b42332;color:#fff;border-color:#951c29;font-weight:600}.calendar-event .completion-check{font-weight:900;font-size:15px;line-height:1}
