:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans TC,sans-serif;color:#173b36;background:#f6f4ed;font-synthesis:none;text-rendering:optimizeLegibility;line-height:1.6;font-weight:400;--green: #123b36;--muted: #687a72;--line: #dce2d7;--cream: #f6f4ed;--orange: #c9652e}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);background:#fff;color:var(--green);border-radius:9px;padding:9px 14px;min-height:44px;font-weight:600;transition:background .15s,transform .15s}button:hover{background:#edf2e8}button:active{transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #c9652e;outline-offset:3px}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(26px,3vw,38px);line-height:1.4;letter-spacing:-1.2px;font-weight:750;margin-bottom:12px}h2{font-size:19px;margin-bottom:0;letter-spacing:-.4px}h3{font-size:17px;margin-bottom:8px}small{font-size:12px;color:var(--muted)}input:not([type=checkbox]):not([type=file]),select{border:1px solid #cbd6ca;border-radius:8px;padding:10px 12px;color:var(--green);background:#fff;font-size:16px;min-width:0}input[type=checkbox]{width:19px;height:19px;accent-color:var(--green);flex-shrink:0}fieldset{border:0;padding:0;margin:20px 0}legend{font-weight:700;margin-bottom:5px}.masthead{height:93px;max-width:1280px;padding:0 48px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:23px;font-weight:750;letter-spacing:-.7px;line-height:1.2}.brand small{display:block;font-size:10px;letter-spacing:3px;font-weight:500;margin-top:6px}.brand-icon{display:grid;place-items:center;width:44px;height:46px;color:#faf7ee;background:var(--green);border-radius:12px;font-size:36px;font-weight:400}.local-badge{font-size:12px;display:flex;gap:7px;align-items:center;color:var(--muted)}.local-badge i{width:7px;height:7px;background:#589b72;border-radius:50%}main{max-width:1280px;padding:44px 48px 20px;margin:auto}.title-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:10px;letter-spacing:2.6px;color:var(--orange);font-weight:800;margin-bottom:12px}.intro{color:var(--muted);font-size:14px;margin-bottom:0}.edition{font-size:11px;border-left:1px solid #cdd4c9;padding-left:22px;white-space:nowrap;color:var(--muted);letter-spacing:1px}.edition b{display:block;font-size:10px;margin-top:8px;color:#9aa196}.tabs{display:flex;border-bottom:1px solid var(--line);gap:22px;margin:34px 0 26px}.tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:none;color:var(--muted);padding:13px 3px;display:flex;align-items:center;gap:8px;font-size:14px}.tabs button.selected{color:var(--green);border-bottom-color:var(--green)}.tabs button>span{font-size:10px;color:#8c9a8b}.tabs em{font-size:10px;font-style:normal;background:#e5eadf;border-radius:20px;min-width:20px}.workspace-grid{display:grid;grid-template-columns:370px 1fr;gap:24px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:17px;padding:25px;box-shadow:0 4px 12px #173b3603;min-width:0}.section-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.step{display:inline-grid;place-items:center;background:#edf2e8;width:25px;height:25px;border-radius:50%;font-size:12px;margin-right:5px}.tag{font-size:10px;white-space:nowrap;color:#6a7c6e;background:#f2f5ef;border:1px solid #e4e9df;border-radius:5px;padding:3px 7px}.mode-switch{display:flex;background:#f1f3ec;border-radius:8px;padding:4px}.mode-switch button{flex:1;border:0;font-size:13px;background:none;min-height:36px;padding:6px}.mode-switch button.active{background:#fff;box-shadow:0 2px 5px #123b3610;color:var(--green)}.hint{font-size:12px;line-height:1.8;color:var(--muted);margin:12px 0}.upload-zone{text-align:center;border:1px dashed #bfccbb;border-radius:12px;background:#fafbf7;padding:25px 16px 20px;margin:20px 0}.upload-zone h3{margin:21px 0 5px}.upload-zone p{font-size:12px;color:var(--muted);margin-bottom:20px;line-height:1.9}.upload-zone button{display:block;width:100%;margin:9px 0}.upload-zone small{display:block;font-size:10px;margin-top:16px}.primary{background:var(--green);color:#fff;border-color:var(--green)}.primary:hover{background:#23594c}.secondary{background:#fff;font-size:13px}.wide{width:100%;margin-top:15px}.card-illustration{position:relative;width:89px;height:119px;margin:0 auto;background:#fff;border:1px solid #c4cfc2;border-radius:3px;transform:rotate(-7deg);box-shadow:7px 8px #e9eddf;padding:14px 10px}.card-illustration>span{display:block;font-size:7px;letter-spacing:1px;border-bottom:1px solid #dce2d7;margin-bottom:8px;padding-bottom:5px}.card-illustration>div{display:flex;justify-content:space-between;margin:7px 0}.card-illustration i{display:block;width:8px;height:8px;border:1px solid #9aaa97;border-radius:50%}.card-illustration .filled{background:#23594c;border-color:#23594c}.card-illustration b{position:absolute;right:-15px;bottom:4px;background:#e4ebbc;border-radius:50%;height:32px;width:32px;font-size:26px;transform:rotate(7deg);line-height:30px}.note{border-left:2px solid #c5cdab;padding:0 0 0 12px;margin-top:20px}.note b{font-size:12px}.note p{font-size:12px;line-height:1.9;color:var(--muted);margin:5px 0 0}.review-panel{min-height:640px}.empty-review{text-align:center;display:flex;min-height:490px;flex-direction:column;align-items:center;justify-content:center}.viewfinder{font-size:64px;color:#8b9e88;background:#f4f6ee;width:100px;height:100px;border-radius:28px;line-height:95px;margin-bottom:25px}.empty-review p{font-size:13px;color:var(--muted);line-height:1.9}.workflow{display:flex;gap:12px;align-items:center;margin-top:20px;font-size:10px;color:#7b8e79}.workflow span{border:1px solid #e3e8db;background:#fbfcf8;border-radius:5px;padding:7px}.workflow b{font-weight:400;color:#abb7a4}.alert{background:#fff8e8;color:#75561c;border:1px solid #edddba;border-radius:9px;padding:12px 15px;font-size:13px;margin:16px 0;overflow-wrap:anywhere}.alert.error{background:#fff0ee;border-color:#f0ccc7;color:#91352b}.alert.success{background:#edf6e9;border-color:#c5ddbc;color:#285538}.text-button{border:0;background:transparent;font-size:12px;text-decoration:underline}.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.toolbar button{font-size:12px}details{border:1px solid var(--line);border-radius:9px;padding:10px;margin-top:12px}summary{cursor:pointer;font-size:12px;font-weight:600;padding:4px}.scan-image{display:block;max-width:100%;width:auto;max-height:800px;margin:10px auto;object-fit:contain;height:auto}.scan-image.picking{cursor:crosshair;touch-action:manipulation;max-height:none;width:100%}.field{display:flex;flex-direction:column;font-size:13px;gap:8px;margin:22px 0 14px;font-weight:600}.assessment-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.assessment-list label{display:flex;align-items:center;gap:6px;font-size:12px;border:1px solid var(--line);padding:8px;border-radius:7px;overflow-wrap:anywhere}.assessment-list b{font-size:14px}.review-heading{display:flex;justify-content:space-between;align-items:center;margin-top:28px}.review-heading h3{margin:0}.review-heading span{font-size:12px;color:var(--orange)}.answer-table{border:1px solid var(--line);border-radius:10px;overflow:hidden}.answer-head,.answer-row{display:grid;grid-template-columns:38px 1fr 105px;gap:8px;padding:9px 12px;align-items:center}.answer-head{font-size:10px;color:var(--muted);background:#f3f5ee}.answer-head span:last-child{text-align:right}.answer-row{border-top:1px solid #edf0e7}.answer-row>b{font-size:13px;color:var(--muted)}.bubbles{display:flex;gap:6px}.bubbles button{padding:0;width:35px;min-height:35px;height:35px;border:1px solid #c6d1c2;border-radius:50%;font-weight:500;font-size:12px}.bubbles button.marked{background:var(--green);color:#fff;border-color:var(--green)}.row-status{border:0;background:none;font-size:10px;color:var(--muted);padding:4px;min-height:36px;text-align:right}.uncertain{background:#fff9e9}.uncertain .row-status{color:#a46711}.confirm-all{display:flex;align-items:flex-start;gap:10px;font-size:12px;padding:15px 0}.confirm-all input{margin-top:2px}.score-box{padding:18px;background:#f1f5e9;margin:20px 0;border-radius:8px;font-weight:700}.score-box small{display:block;font-weight:400;margin-top:4px}.processing{display:flex;gap:10px;align-items:center;justify-content:center;padding:35px 0;font-size:13px}.spinner{display:inline-block;border:2px solid #d9e5d2;border-top-color:#123b36;width:20px;height:20px;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.settings-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;align-items:start}.label-input{flex-direction:row;align-items:center;gap:15px}.label-input input{flex:1}.key-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:20px 0}.key-grid label{font-size:12px;display:flex;align-items:center;gap:5px}.key-grid select{padding:8px 4px;width:100%}.import-button{position:relative;display:block;text-align:center;cursor:pointer;background:#f1f5e9;border:1px solid var(--line);padding:12px;margin:15px 0;border-radius:8px;font-size:13px;font-weight:600}.import-button input{display:block;width:100%;margin-top:8px;font-size:12px}.settings-grid .panel>p{font-size:13px;color:var(--muted)}.assessment-tabs{display:flex;gap:10px}.assessment-tabs button{flex:1;background:#f8faf4;min-width:0}.assessment-tabs button small{display:block;font-size:11px;overflow-wrap:anywhere}.assessment-tabs button.active{background:var(--green);color:#fff}.assessment-tabs button.active small{color:#c9d8cb}.stats-summary{display:flex;align-items:center;gap:30px;padding:28px 0;border-bottom:1px solid var(--line);margin-bottom:24px}.stats-summary strong{font-size:48px;line-height:1;display:block}.stats-summary span{display:block;font-size:12px;color:var(--muted);margin-top:8px}.stats-summary p{font-size:12px;color:var(--muted);margin:0}.chart-row{display:grid;grid-template-columns:70px 1fr 110px;gap:14px;font-size:12px;align-items:center;margin:14px 0}.chart-row>span{text-align:right;color:var(--muted)}.bar-track{height:13px;background:#f1f4eb;border-radius:3px;overflow:hidden}.bar-track span{display:block;height:100%;background:#577f59;border-radius:3px}.chart-row:first-child .bar-track span{background:#c9652e}.empty-state{padding:65px 20px;text-align:center;font-size:14px;color:var(--muted)}.record-list article{display:flex;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.record-list h3{margin:8px 0 2px}.record-list p{font-size:12px;color:var(--muted);margin-bottom:4px}.record-list small{overflow-wrap:anywhere}.record-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.record-actions button{font-size:12px}.danger{color:#a64439}footer{display:flex;justify-content:space-between;font-size:10px;color:#81907d;border-top:1px solid var(--line);margin-top:36px;padding-top:20px;gap:12px}footer b{padding:0 8px;font-weight:400}@media(min-width:1050px){.capture-panel{position:sticky;top:20px}}@media(max-width:900px){.masthead{padding:0 24px}main{padding:30px 24px}.workspace-grid{grid-template-columns:310px 1fr;gap:16px}.panel{padding:20px}.edition{display:none}.answer-head,.answer-row{grid-template-columns:27px 1fr;gap:8px;padding:9px}.answer-head span:last-child{display:none}.row-status{grid-column:2;text-align:left;min-height:25px}.bubbles{gap:5px}.bubbles button{width:33px;min-height:33px;height:33px}.settings-grid{grid-template-columns:1fr 1fr}.key-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:680px){.masthead{height:78px;padding:0 20px}.brand{font-size:21px}.brand-icon{width:37px;height:40px;font-size:31px}.local-badge{font-size:10px}main{padding:27px 16px 20px}.eyebrow{font-size:9px;letter-spacing:2px}h1{font-size:27px;letter-spacing:-1px}.intro{font-size:12px}.tabs{gap:0;justify-content:space-between;margin:25px 0 20px}.tabs button{font-size:12px;gap:5px;padding:12px 4px}.tabs button>span{font-size:9px}.tabs em{display:none}.workspace-grid,.settings-grid{grid-template-columns:1fr;gap:16px}.panel{padding:20px 17px;border-radius:13px}.upload-zone{padding:20px 16px}.upload-zone h3{margin-top:16px}.review-panel{min-height:360px}.empty-review{min-height:330px}.empty-review h3{font-size:16px}.capture-panel .upload-zone{margin-bottom:16px}.section-top{margin-bottom:18px}h2{font-size:17px}.answer-head,.answer-row{grid-template-columns:29px 1fr 79px;gap:5px;padding:9px 7px}.answer-head span:last-child{display:block}.bubbles{gap:4px}.bubbles button{width:32px;height:36px;min-height:36px;border-radius:18px}.row-status{grid-column:auto;text-align:right;font-size:9px}.assessment-list{grid-template-columns:1fr}.scan-image{max-height:none}.assessment-tabs{gap:5px}.assessment-tabs button{padding:9px 4px}.assessment-tabs button small{font-size:9px}.stats-summary{gap:20px}.stats-summary p{font-size:11px}.chart-row{grid-template-columns:55px 1fr 90px;gap:8px;font-size:11px}.record-list article{flex-direction:column;gap:12px}.record-actions{justify-content:flex-end}.key-grid{grid-template-columns:repeat(5,1fr);gap:8px}.key-grid label{display:flex;flex-direction:column;gap:4px}.key-grid select{padding:7px}.settings-grid .panel h2{margin-bottom:15px}footer{font-size:9px;flex-direction:column;gap:5px}.section-top .secondary{font-size:11px;padding:8px}.workflow{gap:7px}.workflow span{font-size:9px}.confirm-all{font-size:12px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.iphone-guide{margin:24px 0 0;background:#eff3e7;border-color:#d6dfcc;padding:10px 14px}.iphone-guide>summary{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;list-style:disclosure-closed}.iphone-guide>summary>span:first-child:before{content:"＋ ";font-weight:400}.iphone-guide[open]>summary>span:first-child:before{content:"− "}.pwa-status{font-size:10px;font-weight:400;color:#667858;text-align:right}.guide-content{font-size:13px;padding:12px 4px 0;line-height:1.9}.guide-content ol{padding-left:20px}.guide-content li{margin:8px 0}@media(max-width:680px){.iphone-guide>summary{align-items:flex-start;flex-direction:column;gap:3px}.pwa-status{text-align:left;padding-left:16px}.guide-content{font-size:12px}}body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}main{padding-bottom:max(20px,env(safe-area-inset-bottom))}
