:root{--ink:#17202a;--muted:#667085;--line:#d9e0e7;--bg:#f4f7fa;--panel:#fff;--brand:#083c5d;--brand2:#0b6e75;--accent:#f4b942;--ok:#177245;--warn:#a15c00;--bad:#b42318;--info:#2458a6;--shadow:0 8px 24px rgba(16,24,40,.08);font-family:"Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif;color:var(--ink)}
.external-matrix.external-dropdown-matrix{min-width:1180px}.external-candidate-cell{min-width:245px;vertical-align:middle!important}.external-candidate-select{width:100%;min-width:215px;padding:9px 11px;border:1px solid #b8c5cf;border-radius:8px;background:#fff;color:#243b4a;font-weight:700}.external-candidate-select:focus{outline:3px solid rgba(37,99,235,.16);border-color:#4d7fb8}.external-candidate-select:disabled{background:#f3f4f6;color:#667085;cursor:not-allowed}.external-dropdown-matrix .external-result{min-width:140px}
.nom-submitted-bar{position:sticky;bottom:8px;z-index:8;display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;margin:12px 0 0 auto;padding:5px 9px;border:1px solid #b9d9c4;border-radius:9px;background:rgba(248,253,250,.96);box-shadow:0 2px 8px rgba(16,24,40,.08);color:#52625a;font-size:12px;line-height:1.35}.nom-submitted-bar .status{padding:3px 7px;font-size:11px;white-space:nowrap}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);line-height:1.55}button,input,select,textarea{font:inherit}button{cursor:pointer}.preview-ribbon{background:#ffefc7;color:#5c3b00;text-align:center;padding:7px 16px;font-weight:800;font-size:13px}.topbar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}.toprow{max-width:1440px;margin:auto;padding:13px 24px;display:flex;align-items:center;gap:18px}.brand{display:flex;align-items:center;gap:12px;min-width:270px}.brand-mark{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;display:grid;place-items:center;font-weight:900}.brand h1{font-size:18px;margin:0}.brand small{color:var(--muted)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.role-select{border:1px solid var(--line);border-radius:9px;padding:8px 10px;background:#fff}.navrow{border-top:1px solid #edf0f3;overflow:auto}.nav{max-width:1440px;margin:auto;padding:0 24px;display:flex;gap:3px;white-space:nowrap}.nav a{padding:11px 13px;color:#445;text-decoration:none;border-bottom:3px solid transparent;font-size:14px}.nav a.active{color:var(--brand);border-color:var(--brand);font-weight:800}.main{max-width:1440px;margin:auto;padding:26px 24px 60px}.page-head{display:flex;gap:20px;align-items:flex-start;margin-bottom:20px}.page-head h2{margin:0 0 4px;font-size:27px}.page-head p{margin:0;color:var(--muted)}.page-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}.demo-note{background:#eef8fb;border:1px solid #b8dfe7;border-radius:10px;padding:11px 14px;color:#244b54;margin-bottom:18px}.grid{display:grid;gap:16px}.grid.metrics{grid-template-columns:repeat(5,minmax(150px,1fr))}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:0 1px 2px rgba(16,24,40,.03)}.card h3{margin:0 0 12px;font-size:17px}.metric{position:relative;overflow:hidden}.metric strong{font-size:30px;display:block;margin:4px 0}.metric span{color:var(--muted);font-size:13px}.metric[data-route]{cursor:pointer}.metric:after{content:"";position:absolute;right:-20px;bottom:-25px;width:70px;height:70px;border-radius:50%;background:#e9f5f6}.status{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800;background:#eef2f6;color:#455}.status.ok{background:#e7f6ec;color:var(--ok)}.status.warn{background:#fff2d8;color:var(--warn)}.status.bad{background:#feeceb;color:var(--bad)}.status.info{background:#eaf1ff;color:var(--info)}.btn{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:9px;padding:9px 14px;font-weight:700}.btn:hover{border-color:#94a3b8}.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn.secondary{background:var(--brand2);border-color:var(--brand2);color:#fff}.btn.danger{color:var(--bad);border-color:#f3b5b0}.btn.ghost{border-color:transparent;background:transparent}.btn.small{padding:6px 10px;font-size:13px}.btn:disabled{opacity:.45;cursor:not-allowed}.task{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f3}.task:last-child{border:0}.task-main{flex:1}.task-main b{display:block}.task-main small{color:var(--muted)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff}.table{width:100%;border-collapse:collapse;min-width:860px}.table th,.table td{padding:12px 13px;border-bottom:1px solid #e7ebef;text-align:left;vertical-align:top}.table th{background:#f8fafb;color:#475467;font-size:13px;position:sticky;top:0}.table tr:last-child td{border-bottom:0}.table tr:hover td{background:#fbfdff}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field label{font-weight:800;font-size:14px}.req:after{content:" *";color:var(--bad)}.field input,.field select,.field textarea{width:100%;border:1px solid #bfc8d2;border-radius:9px;padding:10px 11px;background:#fff}.field textarea{min-height:110px;resize:vertical}.help{font-size:12px;color:var(--muted)}.error-text{font-size:12px;color:var(--bad)}.progress{height:9px;border-radius:99px;background:#e7ebef;overflow:hidden}.progress>i{display:block;height:100%;background:linear-gradient(90deg,var(--brand2),#3bb5a2);border-radius:99px}.stepper{display:flex;gap:4px;margin:16px 0;overflow:auto}.step{min-width:150px;padding:10px;background:#eef2f6;color:#667085;text-align:center}.step:first-child{border-radius:9px 0 0 9px}.step:last-child{border-radius:0 9px 9px 0}.step.active{background:var(--brand);color:#fff}.step.done{background:#dff3e8;color:var(--ok)}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:14px 0}.toolbar .spacer{flex:1}.section{margin-top:20px}.section-title{display:flex;align-items:center;gap:10px;margin:0 0 12px}.section-title h3{margin:0}.timeline{border-left:2px solid #cbd5df;margin-left:9px;padding-left:20px}.timeline-item{position:relative;margin:0 0 18px}.timeline-item:before{content:"";position:absolute;left:-27px;top:5px;width:12px;height:12px;border-radius:50%;background:var(--brand2);border:3px solid #fff}.timeline-item small{color:var(--muted)}.source-panels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.source-panel{border-radius:12px;padding:15px;border:1px solid var(--line);background:#fff}.source-panel.raw{border-top:4px solid #6b7280}.source-panel.ai{border-top:4px solid #845ec2;background:#fbf9ff}.source-panel.verified{border-top:4px solid var(--ok);background:#f7fcf9}.source-panel h4{margin:0 0 9px}.score-grid{display:grid;grid-template-columns:1fr 180px;gap:10px;align-items:center}.score-grid>div{padding:10px;border-bottom:1px solid #edf0f3}.radio-cards{display:flex;gap:10px}.radio-card{flex:1;border:2px solid var(--line);border-radius:11px;padding:14px;text-align:center}.radio-card:has(input:checked){border-color:var(--brand2);background:#ecf9f8}.calendar{display:grid;grid-template-columns:repeat(5,minmax(180px,1fr));gap:13px}.calendar-item{border-top:5px solid #aab7c4}.calendar-item.active{border-top-color:var(--brand2)}.calendar-item h3{font-size:16px}.month{font-size:26px;font-weight:900;color:var(--brand)}.path-box{display:flex;gap:8px;align-items:center;padding:11px;background:#14202b;color:#e9f3f8;border-radius:9px;font-family:Consolas,monospace;word-break:break-all}.path-box code{flex:1}.compare-controls{display:flex;gap:8px;flex-wrap:wrap}.email-preview{background:#eef1f4;padding:22px;border-radius:11px}.email-canvas{max-width:680px;background:#fff;margin:auto;border:1px solid #ddd}.email-banner{background:var(--brand);color:#fff;padding:20px 24px;font-size:20px;font-weight:900}.email-body{padding:24px}.codebox{white-space:pre-wrap;word-break:break-word;background:#16212b;color:#d9edf2;border-radius:10px;padding:16px;max-height:360px;overflow:auto;font-family:Consolas,monospace;font-size:13px}.empty-state{text-align:center;padding:34px 18px}.empty-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#eef2f6;margin:0 auto 13px;font-size:25px}.login{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 15% 20%,#dceef1,transparent 35%),linear-gradient(135deg,#f8fafc,#e9eff4)}.login-card{width:min(460px,100%);background:#fff;border-radius:18px;padding:30px;box-shadow:var(--shadow)}.login-card h1{margin:12px 0 5px}.footer-note{color:var(--muted);font-size:12px;margin-top:18px}.modal-backdrop{position:fixed;inset:0;background:rgba(17,24,39,.55);display:grid;place-items:center;z-index:100;padding:20px}.modal{background:#fff;border-radius:15px;padding:22px;width:min(600px,100%);max-height:85vh;overflow:auto}.modal h3{margin-top:0}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.toast{position:fixed;right:22px;bottom:22px;z-index:200;background:#14202b;color:#fff;border-radius:10px;padding:12px 16px;box-shadow:var(--shadow)}.warning-box{border-left:4px solid var(--warn);background:#fff7e8;padding:12px 14px;border-radius:8px}.success-box{border-left:4px solid var(--ok);background:#edf9f1;padding:12px 14px;border-radius:8px}.split{display:grid;grid-template-columns:250px 1fr;gap:18px}.side-menu a{display:block;padding:10px;border-radius:8px;text-decoration:none;color:var(--ink)}.side-menu a.active{background:#e9f1f4;color:var(--brand);font-weight:800}.review-method{background:#f8fafb;border:1px solid #e7ebef;border-radius:9px;padding:10px 12px;margin:12px 0}.rank-rule-preview{min-height:44px;border:1px solid #bfc8d2;border-radius:9px;padding:10px 11px;background:#f8fafb;font-weight:800;color:var(--brand)}.rank-allocation{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px}.rank-allocation-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #cfd8e1;border-radius:10px;padding:12px;background:#f8fafb}.rank-allocation-item strong{font-size:21px;color:var(--brand)}.ranking-matrix .table{min-width:2600px}.ranking-matrix .table th:first-child,.ranking-matrix .table td:first-child{position:sticky;left:0;z-index:3;background:#f8fafb;min-width:170px;max-width:170px}.ranking-matrix .table thead th:first-child{z-index:5}.ranking-matrix .rank-row th,.ranking-matrix .rank-row td{background:#eaf5f6}.ranking-matrix .rank-row th:first-child{background:#dcedef}.award-rank-select{width:100%;min-width:112px;border:2px solid var(--brand2);border-radius:9px;padding:9px;background:#fff;font-weight:800;color:var(--brand)}
.gas-review{--gas-navy:#163f62;--gas-teal:#0d7180;--gas-ink:#263844;--gas-muted:#687a86;--gas-line:#d6e1e7;--gas-bg:#f2f6f9;--gas-green:#e1f2e5;--gas-red:#f9e7e7;--gas-gold:#fff1c8;margin:-26px -24px -60px;background:var(--gas-bg);color:var(--gas-ink);padding-bottom:145px;min-height:100vh}.gas-hero{background:linear-gradient(125deg,var(--gas-navy),var(--gas-teal));color:#fff;padding:30px max(20px,calc((100vw - 1420px)/2)) 65px}.gas-hero small{letter-spacing:.1em;color:#cce5ec;font-weight:800}.gas-hero h1{font-size:30px;margin:4px 0}.gas-hero p{margin:0;color:#e1eff3}.gas-card{background:#fff;border:1px solid var(--gas-line);border-radius:15px;box-shadow:0 5px 16px rgba(22,63,98,.05)}.gas-gate{max-width:980px;margin:-40px auto 20px;padding:21px 24px;box-shadow:0 12px 30px rgba(18,52,76,.1)}.gas-gate h2{display:inline;margin:0;color:var(--gas-navy);font-size:21px}.gas-step{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e7f2f4;color:var(--gas-teal);font-weight:900;margin-right:8px}.gas-identity{font-size:13px;color:var(--gas-muted);margin:7px 0 13px}.gas-gate-grid{display:grid;grid-template-columns:1fr 1.25fr auto;gap:11px}.gas-gate select,.gas-gate input{width:100%;padding:11px;border:1px solid #c8d7df;border-radius:9px;font:inherit;background:#fff}.gas-proxy{margin:12px 0 0;background:#fff7dd;border-left:4px solid #d29a00;padding:9px 12px;font-size:13px}.gas-btn{border:0;border-radius:9px;padding:10px 15px;font:inherit;font-weight:800;cursor:pointer}.gas-btn.primary{background:var(--gas-teal);color:#fff}.gas-btn.secondary{background:#e5edf1;color:#36505f}.gas-btn:disabled{opacity:.48;cursor:not-allowed}.gas-intro,.gas-section,.gas-awards,.gas-drive{width:min(1420px,calc(100% - 36px));margin-left:auto;margin-right:auto}.gas-intro{padding:21px 23px;margin-top:18px}.gas-intro h2,.gas-section h2{color:var(--gas-navy);margin:0 0 8px}.gas-intro ul{margin:8px 0 0;padding-left:22px}.gas-intro li{margin:6px 0}.written-review-instructions li,.written-industry-review-items li{line-height:1.65}.written-industry-review-items{margin:6px 0 12px;padding-left:24px}.gas-private{margin-top:12px;background:#eef4f7;border-left:5px solid var(--gas-navy);padding:10px 13px;font-size:14px}.gas-drive{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 18px;margin-top:14px;background:#edf7f8;border:1px solid #b9d8dc;border-radius:12px}.gas-drive b{color:var(--gas-navy)}.gas-note{font-size:13px;color:var(--gas-muted)}.gas-awards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.gas-award{padding:19px 21px}.gas-award h3{font-size:20px;color:var(--gas-navy);margin:0 0 9px}.gas-award p{margin:7px 0}.gas-reward{display:inline-block;background:var(--gas-gold);color:#6c5000;padding:6px 10px;border-radius:8px;font-size:13px;font-weight:800}.gas-section{margin-top:22px}.gas-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:9px}.gas-section-head p{margin:0;color:var(--gas-muted)}.gas-rank{display:inline-block;background:#e7f2f4;color:#0a6774;border-radius:7px;padding:3px 7px;font-weight:800;white-space:nowrap}.gas-quota-grid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:9px;margin:10px 0}.gas-quota-grid>div{display:flex;justify-content:space-between;gap:10px;background:#fff;border:1px solid var(--gas-line);border-radius:9px;padding:9px 11px}.gas-quota-grid strong{font-size:18px;color:var(--gas-teal)}.gas-rule-message{background:#e8f5ed;color:#215d2e;border-left:4px solid #72a77e;border-radius:7px;padding:9px 12px;margin:9px 0;font-size:13px;font-weight:700}.gas-rule-message.warn{background:#fff7dd;color:#704f00;border-left-color:#d29a00}.gas-table-wrap{overflow:auto;border:1px solid var(--gas-line);border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(22,63,98,.04)}.gas-table{border-collapse:separate;border-spacing:0;width:100%;min-width:1940px}.gas-table th,.gas-table td{padding:9px 10px;border-bottom:1px solid #e3eaee;border-right:1px solid #edf1f3;text-align:left;vertical-align:top;font-size:13px}.gas-table th{position:sticky;top:0;z-index:3;background:var(--gas-navy);color:#fff;white-space:nowrap}.gas-table tbody tr:hover td{background:#f5fafb}.gas-table tr:last-child td{border-bottom:0}.gas-sticky-decision{position:sticky;left:0;z-index:2;background:#fff;min-width:180px;width:180px}.gas-sticky-case{position:sticky;left:180px;z-index:2;background:#fff;min-width:82px;width:82px}.gas-table th.gas-sticky-decision,.gas-table th.gas-sticky-case{z-index:5;background:var(--gas-navy)}.gas-case-id{font-weight:900;color:var(--gas-teal);white-space:nowrap}.gas-contrib{display:inline-block;font-weight:900;color:#805b00;background:#fff4d8;padding:3px 7px;border-radius:7px;white-space:nowrap}.gas-title-cell{min-width:250px;font-weight:700}.gas-venue{min-width:130px;font-weight:800}.gas-standing{min-width:230px}.gas-highlight{min-width:275px}.gas-money{min-width:190px;font-weight:700;color:#704f00}.gas-rank-select{width:100%;min-width:155px;border:1px solid #9ab4bf;border-radius:8px;padding:8px;background:#fff;font-weight:800;color:var(--gas-navy)}.gas-decision{white-space:nowrap}.gas-choice{display:inline-block;margin:2px}.gas-choice input{position:absolute;opacity:0}.gas-choice span{display:inline-block;padding:7px 9px;border:1px solid #cbd8df;border-radius:8px;background:#fff;cursor:pointer;font-weight:800}.gas-choice input:checked+.yes{background:var(--gas-green);border-color:#72a77e;color:#215d2e}.gas-choice input:checked+.no{background:var(--gas-red);border-color:#ce8585;color:#833232}.gas-industry .gas-table{min-width:1540px}.gas-bottom-note{padding:11px 13px;margin-top:10px;background:#fff;border:1px solid var(--gas-line);border-radius:10px;font-size:13px;color:var(--gas-muted)}.gas-sticky{position:fixed;z-index:40;left:0;right:0;bottom:0;background:rgba(255,255,255,.98);border-top:1px solid var(--gas-line);padding:11px 18px;box-shadow:0 -4px 18px rgba(18,52,76,.08)}.gas-sticky-inner{max-width:1460px;margin:auto;display:flex;gap:10px;align-items:center;justify-content:flex-end}.gas-progress{margin-right:auto;min-width:300px}.gas-progress small{display:block;color:var(--gas-muted);font-weight:400}.gas-bar{display:inline-block;width:180px;height:8px;background:#dfe8ed;border-radius:99px;overflow:hidden;margin-left:8px;vertical-align:middle}.gas-bar span{display:block;height:100%;background:var(--gas-teal);transition:.2s}.gas-quota,.gas-approval{border:1px solid var(--gas-line);background:#f8fbfc;border-radius:12px;padding:8px 11px;font-size:13px}.gas-approval b{color:var(--gas-navy)}.gas-approval small{display:block;color:var(--gas-muted)}
.identity-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:13px}.identity-summary>div{background:#f4f8fa;border:1px solid #d6e1e7;border-radius:9px;padding:10px 12px}.identity-summary small{display:block;color:#687a86}.identity-summary b{display:block;margin-top:2px;color:#163f62}.supervisor-hero{display:flex;align-items:center;gap:24px;padding:22px}.supervisor-hero h2{margin:8px 0 2px}.supervisor-next{margin-left:auto;min-width:330px;border-left:4px solid var(--warn);background:#fff7e8;border-radius:9px;padding:13px 15px}.supervisor-next small,.supervisor-next b{display:block}.supervisor-next .btn{margin-top:10px}.cycle-list{display:grid;gap:10px}.cycle-row{display:grid;grid-template-columns:125px 1fr 250px;gap:18px;align-items:center;padding:16px 18px}.cycle-row.current{border:2px solid #e0a43c;background:#fffcf5}.cycle-month{font-size:21px;font-weight:900;color:var(--brand)}.cycle-main h3,.cycle-main p{margin:0}.cycle-main small{color:var(--muted)}.cycle-state{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.award-process{display:grid;grid-template-columns:repeat(7,minmax(130px,1fr));gap:0;overflow:auto}.award-process-step{position:relative;min-width:135px;padding:10px 12px 12px;border-top:4px solid #cbd5df;background:#f8fafb}.award-process-step.done{border-color:var(--ok);background:#f2faf5}.award-process-step.active{border-color:#d18a00;background:#fff8e8}.award-process-step:not(:last-child):after{content:"→";position:absolute;right:-7px;top:14px;z-index:2;color:#94a3b8;font-weight:900}.process-dot{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#e7ebef;font-weight:900;margin-bottom:7px}.award-process-step.done .process-dot{background:#dff3e8;color:var(--ok)}.award-process-step.active .process-dot{background:#fff0c7;color:#8b5900}.award-process-step small{display:block;color:var(--muted)}.award-process-step p{font-size:12px;min-height:55px}.work-item{min-height:215px}.work-item.current{border:2px solid #e0a43c}.work-item.current-task-attention{border-color:#c77800;background:#fff8e8;box-shadow:0 0 0 5px rgba(224,164,60,.24),0 12px 30px rgba(130,84,12,.18);animation:current-task-pulse .8s ease-in-out 2}.work-item.completed{border-top:5px solid var(--ok)}.work-item.future{background:#f8fafb;color:#667085}.work-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e7f6ec;color:var(--ok);font-weight:900;font-size:18px}.work-item.current .work-icon{background:#fff2d8;color:var(--warn)}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.permission-summary strong{font-size:30px}.permission-example{display:flex;align-items:center;gap:18px}.permission-example>div:not(.permission-arrow){flex:1;background:#f8fafb;border:1px solid var(--line);border-radius:10px;padding:13px}.permission-example b,.permission-example span,.permission-example small{display:block}.permission-example span{color:var(--brand);font-weight:800}.permission-example small{color:var(--muted)}.permission-arrow{font-size:25px;color:var(--brand2)}.annual-calendar-table .current-row td{background:#fff8e8}@keyframes current-task-pulse{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.hr-external-pool .grid .card{box-shadow:none}.hr-external-pool strong{font-size:28px}.external-matrix-wrap{max-height:72vh;overflow:auto;border:1px solid #cbd8df;border-radius:13px;background:#fff;box-shadow:0 4px 16px rgba(16,24,40,.05)}.external-matrix{border-collapse:separate;border-spacing:0;min-width:1850px;width:100%}.external-matrix th,.external-matrix td{padding:10px 11px;border-right:1px solid #e3eaee;border-bottom:1px solid #e3eaee;text-align:left;vertical-align:top;font-size:13px}.external-matrix th{position:sticky;top:0;z-index:4;background:var(--brand);color:#fff}.external-matrix tbody tr:hover td{background:#f5fafb}.external-matrix .external-month-sticky{position:sticky;left:0;z-index:2;min-width:72px;width:72px;background:#f8fafb}.external-matrix .external-award-sticky{position:sticky;left:72px;z-index:2;min-width:245px;width:245px;background:#fff}.external-matrix thead .external-month-sticky,.external-matrix thead .external-award-sticky{z-index:6;background:var(--brand)}.external-award-sticky small,.external-award-sticky .status{display:block;margin-top:4px}.external-qualification{min-width:280px}.external-history{min-width:190px}.external-winner{display:block;background:#eef5ff;color:#244e7a;border-radius:7px;padding:4px 7px;margin-bottom:5px}.external-candidate-head{min-width:135px;text-align:center!important}.external-candidate-head small,.external-candidate-head span{display:block}.external-candidate-head span{margin-top:3px;color:#ffe39a}.external-choice-cell{text-align:center!important;vertical-align:middle!important;min-width:130px}.matrix-radio{display:inline-block}.matrix-radio input{position:absolute;opacity:0}.matrix-radio span{display:inline-block;min-width:76px;padding:7px 9px;border:1px solid #b8c5cf;border-radius:8px;background:#fff;color:#445;cursor:pointer;text-align:center;font-weight:800}.matrix-radio input:checked+span{background:#dff3e8;border-color:#6ca27a;color:#205b2f}.external-none .matrix-radio input:checked+span{background:#f3f4f6;border-color:#8a96a3;color:#475467}.matrix-radio input:disabled+span{opacity:.55;cursor:not-allowed}.matrix-row-chosen td{background:#fbfffc}.external-result{min-width:120px;vertical-align:middle!important}.external-matrix-footer{position:sticky;bottom:0;z-index:10;display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.98);border:1px solid #cbd8df;border-radius:12px;padding:12px 14px;margin-top:10px;box-shadow:0 -4px 16px rgba(16,24,40,.08)}.external-matrix-footer>div:first-child{display:flex;gap:8px;align-items:center}.external-matrix-footer small{color:var(--muted)}.external-matrix-footer .spacer{flex:1}
@media(max-width:1100px){.grid.metrics{grid-template-columns:repeat(3,1fr)}.calendar{grid-template-columns:repeat(3,1fr)}.source-panels{grid-template-columns:1fr}.grid.three,.grid.four{grid-template-columns:1fr 1fr}.rank-allocation{grid-template-columns:repeat(2,minmax(130px,1fr))}.gas-awards{grid-template-columns:1fr}.gas-sticky-inner{align-items:stretch;flex-wrap:wrap}.gas-progress{width:100%}.gas-quota,.gas-approval{flex:1}.gas-gate-grid{grid-template-columns:1fr}.cycle-row{grid-template-columns:100px 1fr}.cycle-state{grid-column:2;justify-content:flex-start}.award-process{grid-template-columns:repeat(7,150px)}}@media(max-width:760px){.toprow{padding:10px 14px;flex-wrap:wrap}.brand{min-width:0}.brand small{display:none}.top-actions{width:100%;margin:0}.role-select{flex:1}.nav{padding:0 10px}.main{padding:18px 13px 50px}.page-head{display:block}.page-actions{margin:12px 0}.grid.metrics,.grid.two,.grid.three,.grid.four,.calendar,.form-grid,.rank-allocation,.gas-quota-grid,.identity-summary{grid-template-columns:1fr}.field.full{grid-column:auto}.score-grid{grid-template-columns:1fr}.score-grid>div:nth-child(even){padding-top:0}.split{grid-template-columns:1fr}.side-menu{display:flex;overflow:auto}.table{min-width:760px}.radio-cards{flex-direction:column}.gas-review{margin:-18px -13px -50px}.gas-hero h1{font-size:24px}.gas-drive{align-items:flex-start;flex-direction:column}.gas-quota,.gas-approval{width:100%}.gas-bar{width:100px}.supervisor-hero{display:block}.supervisor-next{margin:15px 0 0;min-width:0}.cycle-row{grid-template-columns:1fr}.cycle-state{grid-column:1}.permission-example{display:block}.permission-arrow{text-align:center;transform:rotate(90deg)}}

/* 115 年期中獎勵案：實際書審與簡報複審 */
.gas-vote-summary{min-width:112px}.gas-vote-summary b,.gas-vote-summary small{display:block}.gas-vote-summary small{margin-top:4px;color:var(--muted);font-size:11px}.final-review-page .gas-section{margin-top:18px}.final-review-page .gas-table{min-width:1180px}.final-review-page .gas-table th:first-child{min-width:145px}.final-rank-cell{background:#f8fbfd}.final-rank-select{width:126px;border:2px solid #9ab5c3;border-radius:9px;padding:9px 10px;background:#fff;color:var(--brand);font-weight:900}.final-rank-select:focus{outline:3px solid rgba(11,110,117,.16);border-color:var(--brand2)}.final-quota{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.final-quota-chip{display:inline-flex;border:1px solid #d7b56a;border-radius:999px;padding:5px 9px;background:#fff7e5;color:#7b5100;font-size:12px;font-weight:900}.final-quota-chip.done{border-color:#8fc7a3;background:#e7f6ec;color:var(--ok)}.final-review-page .gas-decision{min-width:210px}.final-review-page .gas-sticky{z-index:18}
@media(max-width:760px){.final-quota{justify-content:flex-start}.final-review-page .gas-table{min-width:980px}}

/* 歷年得獎紀錄：複審結果帶入操作視窗 */
.modal:has(.final-history-handoff){width:min(1280px,calc(100vw - 40px));max-height:92vh;padding:24px 26px}
.final-history-handoff .table-wrap{max-height:62vh;overflow:auto}
.final-history-handoff .table{min-width:1080px}
.final-history-handoff .table th,.final-history-handoff .table td{padding:11px 12px;vertical-align:middle}
.final-history-handoff .table th:first-child,.final-history-handoff .table td:first-child{width:58px;text-align:center}
.final-history-handoff .history-handoff-select{width:20px;height:20px}
.final-history-handoff .history-handoff-result{width:138px;min-width:138px;padding:9px 10px;border:1px solid #aeb9c5;border-radius:8px;background:#fff;font-weight:800;color:var(--brand)}
.final-history-handoff .review-admin-title{min-width:310px;max-width:460px}
@media(max-width:760px){.modal:has(.final-history-handoff){width:calc(100vw - 16px);padding:16px;max-height:95vh}.final-history-handoff .table-wrap{max-height:68vh}}
/* 簡報複審：獎項說明與議程序號 */
.gas-award-detail{margin-top:18px;border-top:5px solid var(--brand2)}.industry-award-detail{border-top-color:#d48400}.award-detail-title{display:flex;align-items:flex-start;gap:12px}.award-detail-title>span{font-size:30px;line-height:1}.award-detail-title h2{margin:0 0 4px}.award-detail-title p{margin:0;color:var(--muted)}.award-detail-grid{display:grid;grid-template-columns:1fr 1.35fr 1fr 1fr;gap:12px;margin-top:16px}.award-detail-grid article{border:1px solid #dbe4e9;border-radius:10px;background:#f8fbfc;padding:14px}.award-detail-grid h3{margin:0 0 8px;color:var(--brand);font-size:15px}.award-detail-grid p{margin:0}.award-detail-grid ol{margin:0;padding-left:20px}.award-detail-grid .award-reward{background:#fff8e8;border-color:#e7c975}.award-detail-grid .award-reward small{display:block;margin-top:8px;color:#725100}.final-seq-cell{text-align:center!important;vertical-align:middle!important}.final-seq-badge{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--brand);color:#fff;font-size:15px;font-weight:900}.final-review-page .gas-table th:first-child{min-width:88px}.final-review-page .gas-table th:nth-child(2){min-width:145px}
@media(max-width:1100px){.award-detail-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.award-detail-grid{grid-template-columns:1fr}}
/* 簡報複審：縮小底部填答狀態列 */
.final-review-page .gas-sticky.compact-marker,.final-review-page .gas-sticky{left:auto;right:16px;bottom:12px;width:min(650px,calc(100% - 32px));padding:6px 8px;border:1px solid #cbd8df;border-radius:10px;box-shadow:0 3px 12px rgba(18,52,76,.14)}
.final-review-page .gas-sticky-inner{max-width:none;gap:6px;align-items:center;flex-wrap:nowrap}
.final-review-page .gas-progress{display:flex;align-items:center;gap:5px;flex:1;width:auto;min-width:0;margin:0}
.final-review-page .gas-progress b{font-size:12px;white-space:nowrap}
.final-review-page .gas-progress small{display:none}
.final-review-page .gas-bar{width:84px;height:5px;margin:0}
.final-review-page .gas-sticky .gas-btn{padding:6px 9px;border-radius:7px;font-size:12px;white-space:nowrap}
@media(max-width:760px){.final-review-page .gas-sticky{left:8px;right:8px;bottom:8px;width:auto}.final-review-page .gas-progress b{font-size:11px}.final-review-page .gas-bar{width:46px}.final-review-page .gas-sticky .gas-btn{padding:5px 7px;font-size:11px}}
/* 複審比較矩陣：單畫面緊湊版 */
.award-detail-list{margin:12px 0 0;padding-left:22px}.award-detail-list li{margin:6px 0}.award-detail-list b{color:var(--brand)}.award-detail-list .award-detail-note{color:#725100;font-size:12px}
.final-paper-table.compact-matrix-marker,.final-review-page .final-paper-table{width:100%;min-width:1260px;table-layout:fixed}
.final-review-page .final-paper-table th:nth-child(1){width:60px}.final-review-page .final-paper-table th:nth-child(2){width:92px}.final-review-page .final-paper-table th:nth-child(3){width:70px}.final-review-page .final-paper-table th:nth-child(4){width:82px}.final-review-page .final-paper-table th:nth-child(5){width:102px}.final-review-page .final-paper-table th:nth-child(6){width:185px}.final-review-page .final-paper-table th:nth-child(7){width:72px}.final-review-page .final-paper-table th:nth-child(8){width:52px}.final-review-page .final-paper-table th:nth-child(9){width:155px}.final-review-page .final-paper-table th:nth-child(10){width:190px}.final-review-page .final-paper-table th:nth-child(11){width:190px}
.final-review-page .final-journal-table th:nth-child(2){width:170px}
.final-review-page .final-industry-table{width:100%;min-width:1100px;table-layout:fixed}.final-review-page .final-industry-table th:nth-child(1){width:60px}.final-review-page .final-industry-table th:nth-child(2){width:92px}.final-review-page .final-industry-table th:nth-child(3){width:72px}.final-review-page .final-industry-table th:nth-child(4){width:82px}.final-review-page .final-industry-table th:nth-child(5){width:88px}.final-review-page .final-industry-table th:nth-child(6){width:190px}.final-review-page .final-industry-table th:nth-child(7){width:205px}.final-review-page .final-industry-table th:nth-child(8){width:205px}.final-review-page .final-industry-table th:nth-child(9){width:106px}
.final-review-page .gas-table th,.final-review-page .gas-table td{padding:6px 6px;font-size:11.5px;line-height:1.42;overflow-wrap:anywhere}.final-review-page .gas-title-cell,.final-review-page .gas-standing,.final-review-page .gas-highlight{min-width:0}.final-review-page .gas-section-head{margin-bottom:8px}
.final-review-page .final-rank-select{width:82px;padding:6px 3px;border-width:2px;border-color:#346f91;font-size:11px}.final-review-page .final-rank-select:required:invalid{background:#fff4d6;border-color:#bd7200;color:#7a4700}.final-review-page .final-rank-select:valid{background:#e9f7ee;border-color:#21834c;color:#155e36}.final-review-page .final-rank-select option:disabled{background:#ffd9d6;color:#9e1510;font-weight:900}.final-review-page .final-rank-select option:not(:disabled){background:#fff;color:#173b52}
.final-review-page .final-journal-table .gas-decision{min-width:0;gap:3px;flex-wrap:wrap}.final-review-page .final-journal-table .gas-choice span{padding:5px 7px;font-size:11px}.final-review-page .final-seq-badge{width:28px;height:28px;font-size:12px}
@media(max-width:1300px){.final-review-page .final-paper-table{min-width:1180px}.final-review-page .gas-table th,.final-review-page .gas-table td{font-size:11px;padding:5px 4px}}
/* 評審草稿：重新開啟與續填提示 */
.review-draft-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0;padding:10px 14px;border:1px solid #e0b95c;border-left:5px solid #bd7200;border-radius:10px;background:#fff8e7;color:#694300}.review-draft-banner div{display:flex;align-items:center;gap:10px}.review-draft-banner b{font-size:14px}.review-draft-banner span,.review-draft-banner small{font-size:12px}.review-draft-resume{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;border:2px solid #e0b95c;background:#fffaf0}.review-draft-resume h3{margin:7px 0 2px}.review-draft-resume p{margin:0;color:var(--muted)}.review-draft-resume .toolbar{flex-wrap:nowrap}
.review-draft-banner.requires-reevaluation{border-color:#d96b63;border-left-color:#b42318;background:#fff1f0;color:#7a271a}.review-draft-resume.requires-reevaluation{border-color:#d96b63;background:#fff6f5}
.history-admin-control{display:flex;align-items:center;justify-content:space-between;gap:24px;border-left:6px solid var(--brand2);padding:18px 20px}.history-admin-control h3{margin:7px 0 2px}.history-admin-control p{margin:0;color:var(--muted)}.history-switch-state{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.history-filter-bar{align-items:end}.history-filter-bar label{font-size:12px;font-weight:800;color:var(--muted)}.history-filter-bar select{min-width:130px}.history-filter-bar input{min-width:260px;flex:1}.history-table{min-width:1320px}.history-table th{white-space:nowrap}.history-maintenance{max-width:660px;margin:70px auto;text-align:center;padding:48px 34px;border:2px dashed #b8c5cf;background:#fbfcfd}.history-maintenance-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 18px;border-radius:50%;background:#e8eef2;color:var(--brand);font-size:28px;font-weight:900}.history-maintenance h2{font-size:28px;margin:0 0 10px}.history-maintenance p{color:var(--muted);margin:0 0 22px}.history-record-form textarea{min-height:88px}
@media(max-width:760px){.review-draft-banner,.review-draft-resume{align-items:flex-start;flex-direction:column}.review-draft-banner div{align-items:flex-start;flex-direction:column;gap:2px}.review-draft-resume .toolbar{width:100%}}

/* 簡報複審：精簡說明、統一獎項格式與內容適寬矩陣 */
.final-review-page .identity-summary-compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.final-review-page .final-meeting-only{margin-top:10px}
.final-review-page .final-meeting-only p{margin:0;line-height:1.65}
.final-review-page .award-detail-list{margin-bottom:0}
.final-review-page .award-detail-list li{line-height:1.65}
.final-review-page .award-detail-list b{font-weight:800}
.final-review-page .award-detail-note{margin:8px 0 0 22px;color:#111;font-size:12px;line-height:1.6}
.final-review-page .final-seq-cell{min-width:58px;width:58px;max-width:58px}
.final-review-page .final-rank-cell{left:58px;min-width:120px;width:120px;max-width:120px}
.final-review-page .final-paper-table{min-width:1320px;table-layout:fixed}
.final-review-page .final-paper-table th:nth-child(1){width:58px}
.final-review-page .final-paper-table th:nth-child(2){width:120px}
.final-review-page .final-paper-table th:nth-child(3){width:70px}
.final-review-page .final-paper-table th:nth-child(4){width:88px}
.final-review-page .final-paper-table th:nth-child(5){width:220px}
.final-review-page .final-paper-table th:nth-child(6){width:95px}
.final-review-page .final-paper-table th:nth-child(7){width:90px}
.final-review-page .final-paper-table th:nth-child(8){width:170px}
.final-review-page .final-paper-table th:nth-child(9){width:204px}
.final-review-page .final-paper-table th:nth-child(10){width:205px}
.final-review-page .final-journal-table th:nth-child(2){width:150px}
.final-review-page .final-industry-table{min-width:1000px;table-layout:fixed}
.final-review-page .final-industry-table th:nth-child(1){width:58px}
.final-review-page .final-industry-table th:nth-child(2){width:120px}
.final-review-page .final-industry-table th:nth-child(3){width:72px}
.final-review-page .final-industry-table th:nth-child(4){width:88px}
.final-review-page .final-industry-table th:nth-child(5){width:150px}
.final-review-page .final-industry-table th:nth-child(6){width:190px}
.final-review-page .final-industry-table th:nth-child(7){width:202px}
.final-review-page .final-industry-table th:nth-child(8){width:120px}
.final-review-page .gas-table th,.final-review-page .gas-table td{padding:6px 5px;font-size:11px;line-height:1.45}
.final-review-page .gas-title-cell{min-width:0;width:auto;max-width:none;white-space:normal;word-break:break-word;overflow-wrap:anywhere;font-weight:700;text-align:left}
.final-review-page .gas-standing,.final-review-page .gas-highlight{min-width:0;width:auto;max-width:none;white-space:normal;word-break:break-word;overflow-wrap:anywhere}
.final-review-page .gas-venue{min-width:0;width:auto;max-width:none;white-space:normal;word-break:break-word;overflow-wrap:anywhere}
.final-review-page .final-person-cell{min-width:0;width:auto;max-width:none}
.final-review-page .gas-money{min-width:0;width:auto;max-width:none}
@media(min-width:1180px){
 .final-review-page .final-paper-table,.final-review-page .final-industry-table{width:100%;min-width:100%!important}
 .final-review-page .final-paper-table th:nth-child(1){width:4.5%}.final-review-page .final-paper-table th:nth-child(2){width:8%}.final-review-page .final-paper-table th:nth-child(3){width:6%}.final-review-page .final-paper-table th:nth-child(4){width:7%}.final-review-page .final-paper-table th:nth-child(5){width:17%}.final-review-page .final-paper-table th:nth-child(6){width:7%}.final-review-page .final-paper-table th:nth-child(7){width:7%}.final-review-page .final-paper-table th:nth-child(8){width:14%}.final-review-page .final-paper-table th:nth-child(9){width:14.5%}.final-review-page .final-paper-table th:nth-child(10){width:15%}
 .final-review-page .final-journal-table th:nth-child(2){width:12%}.final-review-page .final-journal-table th:nth-child(5){width:15%}.final-review-page .final-journal-table th:nth-child(10){width:14%}
 .final-review-page .final-industry-table th:nth-child(1){width:5.5%}.final-review-page .final-industry-table th:nth-child(2){width:8%}.final-review-page .final-industry-table th:nth-child(3){width:7%}.final-review-page .final-industry-table th:nth-child(4){width:8%}.final-review-page .final-industry-table th:nth-child(5){width:16.5%}.final-review-page .final-industry-table th:nth-child(6){width:21%}.final-review-page .final-industry-table th:nth-child(7){width:22%}.final-review-page .final-industry-table th:nth-child(8){width:12%}
 .final-review-page .gas-scroll-top{display:block}
}
@media(max-width:760px){.final-review-page .identity-summary-compact{grid-template-columns:1fr}}

/* 組長／評審登入：代理人共用入口 */
.proxy-login-note{padding:11px 13px;border:1px solid #b9d4df;border-left:5px solid var(--brand2);border-radius:9px;background:#f2f9fb;color:#284e5d;font-size:13px;line-height:1.65}
.preview-proxy-account{display:block;margin-top:7px;padding-top:7px;border-top:1px dashed #9dbfcb;color:#16485b}
.leader-entry-card #leader-entry-name{font-size:16px;letter-spacing:.02em}
/* 複審矩陣：兩列表頭與申請表備註 */
.final-matrix-note.wrapped-note-marker,.final-review-page .gas-table th{white-space:normal;line-height:1.25;text-align:center;vertical-align:middle;word-break:keep-all}
.final-review-page .final-paper-table th:nth-child(8){width:66px}.final-review-page .final-paper-table th:nth-child(9){width:148px}
.final-review-page .final-matrix-note{margin:0;border-top:1px solid #d7e1e6;border-radius:0;padding:9px 11px;background:#f8fbfc;color:#425466;font-size:11.5px;line-height:1.65}.final-review-page .final-matrix-note a{color:#075e79;text-decoration:underline}.final-review-page .final-matrix-note strong{font-weight:900}
@media(min-width:1180px){.final-review-page .gas-table-wrap{overflow-x:hidden}}@media(max-width:1179px){.final-review-page .gas-table-wrap{overflow-x:auto}}
/* 桌機：比較矩陣百分比欄寬，單頁完整顯示 */
@media(min-width:1180px){
 .desktop-fit-matrix-marker,.final-review-page .final-paper-table,.final-review-page .final-industry-table{min-width:100%;width:100%}
 .final-review-page .final-paper-table th:nth-child(1){width:4.5%}.final-review-page .final-paper-table th:nth-child(2){width:7%}.final-review-page .final-paper-table th:nth-child(3){width:5%}.final-review-page .final-paper-table th:nth-child(4){width:6%}.final-review-page .final-paper-table th:nth-child(5){width:8%}.final-review-page .final-paper-table th:nth-child(6){width:15%}.final-review-page .final-paper-table th:nth-child(7){width:6%}.final-review-page .final-paper-table th:nth-child(8){width:5%}.final-review-page .final-paper-table th:nth-child(9){width:12%}.final-review-page .final-paper-table th:nth-child(10){width:15.5%}.final-review-page .final-paper-table th:nth-child(11){width:16%}
 .final-review-page .final-journal-table th:nth-child(1){width:4.5%}.final-review-page .final-journal-table th:nth-child(2){width:12%}.final-review-page .final-journal-table th:nth-child(3){width:5%}.final-review-page .final-journal-table th:nth-child(4){width:6%}.final-review-page .final-journal-table th:nth-child(5){width:7%}.final-review-page .final-journal-table th:nth-child(6){width:13%}.final-review-page .final-journal-table th:nth-child(7){width:5%}.final-review-page .final-journal-table th:nth-child(8){width:4.5%}.final-review-page .final-journal-table th:nth-child(9){width:11%}.final-review-page .final-journal-table th:nth-child(10){width:15%}.final-review-page .final-journal-table th:nth-child(11){width:17%}
 .final-review-page .final-industry-table th:nth-child(1){width:5%}.final-review-page .final-industry-table th:nth-child(2){width:8%}.final-review-page .final-industry-table th:nth-child(3){width:6%}.final-review-page .final-industry-table th:nth-child(4){width:7%}.final-review-page .final-industry-table th:nth-child(5){width:8%}.final-review-page .final-industry-table th:nth-child(6){width:17%}.final-review-page .final-industry-table th:nth-child(7){width:18%}.final-review-page .final-industry-table th:nth-child(8){width:18%}.final-review-page .final-industry-table th:nth-child(9){width:13%}
}
/* 組長／評審作業入口 */
.leader-entry-card{width:min(640px,100%)}.leader-entry-card>p{color:var(--muted)}.leader-entry-card .form-grid{align-items:end}

/* 期中獎勵案時程與簡報複審矩陣：2026-07-21 */
.award-process-step{display:grid;grid-template-rows:auto 1fr auto;align-items:start}
.award-process-step>div:nth-child(2){display:flex;min-height:0;flex-direction:column}
.award-process-step p{min-height:0;margin:8px 0 0;flex:1}
.award-process-step>span{align-self:end;justify-self:start;margin-top:10px}
.final-review-instructions .section-title{justify-content:space-between;align-items:center;margin-bottom:14px}
.final-review-instructions .section-title h2{margin:0}
.final-instruction-block{border-top:1px solid var(--gas-line);padding-top:10px}
.final-instruction-block h3{font-size:17px;color:var(--gas-navy);margin:12px 0 5px}
.final-instruction-block p{margin:0 0 12px 25px}
.final-instruction-block ol{margin:6px 0 0;padding-left:45px}
.final-instruction-block li{padding-left:3px;margin:9px 0;line-height:1.6}
.gas-scroll-top{height:18px;overflow-x:auto;overflow-y:hidden;margin:0 2px 6px;border:1px solid var(--gas-line);border-radius:8px;background:#e9eff3}
.gas-scroll-top>div{height:1px}
.final-review-page .gas-scroll-top,.final-review-page .gas-table-wrap{overflow-x:scroll!important;scrollbar-gutter:auto;scrollbar-color:#55758a #dfe8ed;scrollbar-width:auto}
.final-review-page .gas-scroll-top{margin-left:0;margin-right:0}
.final-review-page .gas-scroll-top::-webkit-scrollbar,.final-review-page .gas-table-wrap::-webkit-scrollbar{height:15px}
.final-review-page .gas-scroll-top::-webkit-scrollbar-track,.final-review-page .gas-table-wrap::-webkit-scrollbar-track{background:#dfe8ed;border-radius:8px}
.final-review-page .gas-scroll-top::-webkit-scrollbar-thumb,.final-review-page .gas-table-wrap::-webkit-scrollbar-thumb{background:#55758a;border:3px solid #dfe8ed;border-radius:8px;min-width:48px}
.final-review-page .gas-scroll-top::-webkit-scrollbar-thumb:hover,.final-review-page .gas-table-wrap::-webkit-scrollbar-thumb:hover{background:#294f68}
.final-review-page .gas-table th,.final-review-page .gas-table td{text-align:center;vertical-align:middle}
.final-review-page .gas-title-cell,.final-review-page .gas-standing,.final-review-page .gas-highlight{text-align:left;line-height:1.5}
.final-review-page .final-person-cell{min-width:96px;width:96px}
.final-review-page .gas-venue{min-width:100px}
.final-review-page .final-seq-cell{position:sticky;left:0;z-index:5;min-width:58px;width:58px;max-width:58px;background:#fff}
.final-review-page .final-rank-cell{position:sticky;left:58px;z-index:5;min-width:148px;width:148px;max-width:148px;background:#fff;box-shadow:5px 0 8px rgba(22,63,98,.08)}
.final-review-page thead .final-seq-cell,.final-review-page thead .final-rank-cell{z-index:8;background:var(--gas-navy)}
.final-review-page .final-rank-cell .gas-rank-select{min-width:108px;width:108px;padding:7px 6px}
.final-review-page tbody tr:hover .final-seq-cell,.final-review-page tbody tr:hover .final-rank-cell{background:#f5fafb}
.final-review-page .gas-decision{white-space:normal}
@media(max-width:760px){.gas-scroll-top{height:15px}.final-review-page .final-rank-cell{min-width:132px;width:132px;max-width:132px}.final-instruction-block p{margin-left:0}.final-instruction-block ol{padding-left:25px}}

/* 2026-07-21：複審矩陣欄寬與排序欄置中 */
.award-detail-list .award-rule-lines span{display:block;margin-top:5px;padding-left:1.25em}
.final-review-page .final-paper-table,.final-review-page .final-industry-table{table-layout:fixed}
.final-review-page .final-paper-table .final-seq-cell,.final-review-page .final-industry-table .final-seq-cell{min-width:52px;width:52px;max-width:52px}
.final-review-page .final-paper-table .final-rank-cell,.final-review-page .final-industry-table .final-rank-cell{left:52px;min-width:80px;width:80px;max-width:80px}
.final-review-page .final-journal-table .final-rank-cell{min-width:118px;width:118px;max-width:118px}
.final-review-page .final-rank-cell .final-rank-select,.final-review-page .final-rank-cell .gas-rank-select{display:block;min-width:0!important;width:72px!important;margin:auto;padding:6px 3px;text-align:center;text-align-last:center}
.final-review-page .final-journal-table .gas-decision{display:grid;grid-template-columns:1fr;gap:4px;min-width:0;width:100%;justify-items:center}
.final-review-page .final-journal-table .gas-choice{width:92px;margin:0;text-align:center}
.final-review-page .final-journal-table .gas-choice span{display:block;padding:5px 4px;font-size:11px}
.final-review-page .final-paper-table td:nth-child(2),.final-review-page .final-paper-table td:nth-child(3),.final-review-page .final-paper-table td:nth-child(4),.final-review-page .final-paper-table td:nth-child(6),.final-review-page .final-paper-table td:nth-child(7){text-align:center}
@media(min-width:1180px){
 .final-review-page .final-paper-table th:nth-child(1){width:4%!important}.final-review-page .final-paper-table th:nth-child(2){width:6%!important}.final-review-page .final-paper-table th:nth-child(3){width:5%!important}.final-review-page .final-paper-table th:nth-child(4){width:6%!important}.final-review-page .final-paper-table th:nth-child(5){width:16%!important}.final-review-page .final-paper-table th:nth-child(6){width:7%!important}.final-review-page .final-paper-table th:nth-child(7){width:6%!important}.final-review-page .final-paper-table th:nth-child(8){width:18%!important}.final-review-page .final-paper-table th:nth-child(9){width:16%!important}.final-review-page .final-paper-table th:nth-child(10){width:16%!important}
 .final-review-page .final-journal-table th:nth-child(2){width:9%!important}.final-review-page .final-journal-table th:nth-child(5){width:14%!important}.final-review-page .final-journal-table th:nth-child(8){width:18%!important}.final-review-page .final-journal-table th:nth-child(9){width:15%!important}.final-review-page .final-journal-table th:nth-child(10){width:16%!important}
 .final-review-page .final-industry-table th:nth-child(1){width:5%!important}.final-review-page .final-industry-table th:nth-child(2){width:6%!important}.final-review-page .final-industry-table th:nth-child(3){width:7%!important}.final-review-page .final-industry-table th:nth-child(4){width:8%!important}.final-review-page .final-industry-table th:nth-child(5){width:16%!important}.final-review-page .final-industry-table th:nth-child(6){width:21%!important}.final-review-page .final-industry-table th:nth-child(7){width:23%!important}.final-review-page .final-industry-table th:nth-child(8){width:14%!important}
}

/* 2026-07-22：研討會地位優先閱讀，重新分配研討會論文矩陣欄寬 */
.final-review-page .final-paper-table:not(.final-journal-table) .final-rank-cell{min-width:64px;width:64px;max-width:64px}
.final-review-page .final-paper-table:not(.final-journal-table) .final-rank-cell .final-rank-select{width:58px!important;font-size:11px}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(1){width:4%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(2){width:5%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(3){width:5%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(4){width:5%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(5){width:12%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(6){width:6%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(7){width:5%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(8){width:28%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(9){width:15%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(10){width:15%!important}

/* 2026-07-22：長文字三欄等寬，內容靠左 */
.final-review-page .final-paper-table th:nth-child(1){width:4%!important}
.final-review-page .final-paper-table th:nth-child(2){width:5%!important}
.final-review-page .final-paper-table th:nth-child(3){width:4%!important}
.final-review-page .final-paper-table th:nth-child(4){width:5%!important}
.final-review-page .final-paper-table th:nth-child(5){width:8%!important}
.final-review-page .final-paper-table th:nth-child(6){width:4%!important}
.final-review-page .final-paper-table th:nth-child(7){width:4%!important}
.final-review-page .final-paper-table th:nth-child(8),
.final-review-page .final-paper-table th:nth-child(9),
.final-review-page .final-paper-table th:nth-child(10){width:22%!important}
.final-review-page .final-paper-table td:nth-child(8),
.final-review-page .final-paper-table td:nth-child(9),
.final-review-page .final-paper-table td:nth-child(10){text-align:left!important;vertical-align:top;line-height:1.55}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(1){width:4%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(2){width:5%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(3){width:5%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(4){width:5%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(5){width:7%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(6){width:4%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(7){width:4%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(8),
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(9),
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(10){width:22%!important}

/* 2026-07-22：避免矩陣內容超出儲存格 */
.final-review-page .gas-table th,.final-review-page .gas-table td{overflow-wrap:anywhere;word-break:break-word}
.final-review-page .gas-table td:nth-child(3) .gas-rank{display:block;max-width:100%;white-space:normal;word-break:break-all;line-height:1.35}
.final-review-page .final-rank-select,.final-review-page .gas-decision,.final-review-page .gas-choice{box-sizing:border-box;max-width:100%}
.final-review-page .final-journal-table th:nth-child(1){width:4%!important}
.final-review-page .final-journal-table th:nth-child(2){width:10%!important}
.final-review-page .final-journal-table th:nth-child(3){width:5%!important}
.final-review-page .final-journal-table th:nth-child(4){width:5%!important}
.final-review-page .final-journal-table th:nth-child(5){width:5%!important}
.final-review-page .final-journal-table th:nth-child(6){width:4%!important}
.final-review-page .final-journal-table th:nth-child(7){width:4%!important}
.final-review-page .final-journal-table th:nth-child(8),
.final-review-page .final-journal-table th:nth-child(9),
.final-review-page .final-journal-table th:nth-child(10){width:21%!important}
.final-review-page .final-journal-table .final-rank-cell{min-width:118px;width:118px;max-width:118px}
.final-review-page .final-journal-table .gas-decision{width:100%;min-width:0}
.final-review-page .final-journal-table .gas-choice{width:88px;max-width:100%}
.final-review-page .final-industry-table .final-rank-select{width:64px!important;min-width:0!important}

/* 2026-07-23：複審論文名稱加寬，完整標題以三列內顯示 */
.final-review-page .final-paper-table{min-width:1600px!important;table-layout:fixed}
.final-review-page .final-paper-table th:nth-child(5),
.final-review-page .final-paper-table td:nth-child(5){width:31%!important;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.5}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(1){width:4%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(2){width:5%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(3),
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(4){width:4%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(6),
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(7){width:3%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(8),
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(9),
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(10){width:15.333%!important}
.final-review-page .final-journal-table th:nth-child(1){width:4%!important}
.final-review-page .final-journal-table th:nth-child(2){width:8%!important}
.final-review-page .final-journal-table th:nth-child(3),
.final-review-page .final-journal-table th:nth-child(4){width:4%!important}
.final-review-page .final-journal-table th:nth-child(6),
.final-review-page .final-journal-table th:nth-child(7){width:3%!important}
.final-review-page .final-journal-table th:nth-child(8),
.final-review-page .final-journal-table th:nth-child(9),
.final-review-page .final-journal-table th:nth-child(10){width:14.333%!important}
.final-review-page .final-paper-table:not(.final-journal-table) th:nth-child(5),
.final-review-page .final-paper-table:not(.final-journal-table) td:nth-child(5){width:31%!important}

/* 2026-07-23：簡報複審矩陣欄寬可由評審拖曳調整 */
.final-review-page .gas-table th:not(.final-seq-cell):not(.final-rank-cell){position:relative}
.final-review-page .column-resizer{
 position:absolute;top:0;right:-5px;z-index:36;width:10px;height:100%;
 cursor:col-resize;touch-action:none
}
.final-review-page .column-resizer::after{
 content:"";position:absolute;top:18%;bottom:18%;left:4px;width:2px;
 border-radius:2px;background:rgba(255,255,255,.38);transition:background .15s,box-shadow .15s
}
.final-review-page .gas-table th:hover .column-resizer::after,
.final-review-page .column-resizer.is-active::after{
 background:#ffd166;box-shadow:0 0 0 2px rgba(255,209,102,.22)
}
.column-resizing,.column-resizing *{cursor:col-resize!important;user-select:none!important}
.final-review-page .column-resize-toolbar{
 display:flex;align-items:center;justify-content:flex-end;gap:10px;
 min-height:30px;margin:5px 2px 4px;color:#526577;font-size:12px
}
.final-review-page .column-resize-toolbar b{color:#173f5f}
.final-review-page .column-resize-reset{
 min-height:28px!important;padding:4px 9px!important;border-radius:7px!important;font-size:12px!important
}
@media(max-width:760px){
 .final-review-page .column-resize-toolbar{justify-content:space-between}
}

/* 2026-07-23：HR 評審進度與結果 */
.review-admin-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:18px 20px}
.review-admin-controls .field{min-width:min(520px,100%);margin:0}
.review-admin-tabs{display:flex;gap:8px;flex-wrap:wrap}
.review-admin-metrics .card{min-height:126px}
.review-admin-metrics .card>span{display:block;color:#597083;font-size:13px;font-weight:700}
.review-admin-metrics .card>strong{display:block;margin:7px 0 3px;color:#173f5f;font-size:31px;line-height:1}
.review-admin-metrics .card>small{color:#687d8e}
.review-admin-table th{white-space:nowrap}
.review-admin-table td{vertical-align:middle}
.review-admin-table .status{white-space:nowrap}
.review-admin-table th:last-child,.review-admin-table td:last-child{width:1%;white-space:nowrap}
.review-admin-delete-btn{min-width:92px;padding:7px 10px}
.review-admin-title{min-width:260px;max-width:440px;line-height:1.5}
.review-result-table td:nth-child(n+6){text-align:center}
.final-review-statistics .final-stat-actions{align-items:flex-start;gap:10px}
.final-review-statistics .final-stat-readiness .status{font-size:14px}
.final-review-statistics .final-stat-category{overflow:hidden}
.final-review-statistics .formula-box{border:1px solid #b9d9ee;border-left:5px solid #2daed6;border-radius:10px;background:#eef8fd;padding:13px 16px;color:#244b63;line-height:1.6}
.final-review-statistics .formula-box b{color:#173f5f}
.final-review-statistics .review-result-table th:nth-child(n+5),
.final-review-statistics .review-result-table td:nth-child(n+5){text-align:center}
.final-ballot-details summary{cursor:pointer}
.final-ballot-table{min-width:1200px}
.final-ballot-table th,.final-ballot-table td{text-align:center;white-space:nowrap}
.warn-text{color:#9a6500;font-weight:700}
@media(max-width:760px){
 .review-admin-controls{align-items:stretch;flex-direction:column}
 .review-admin-controls .field{min-width:0;width:100%}
 .review-admin-tabs .btn{flex:1}
}
@media print{
 .topbar,.review-admin-controls,.final-stat-actions .btn,.final-ballot-details,.toast{display:none!important}
 .main{max-width:none;margin:0;padding:0}
 .final-review-statistics .card{break-inside:avoid;box-shadow:none}
 .final-review-statistics .table-wrap{overflow:visible}
 .final-review-statistics .table{min-width:0;font-size:10px}
}

/* 2026-07-23：HR 主功能收斂、獎項規則與行事曆維護 */
.award-rule-filters,.calendar-admin-toolbar{display:flex;align-items:flex-end;gap:18px;padding:18px 20px}
.award-rule-filters .field{flex:1;min-width:260px}
.award-process-strip{display:flex;gap:8px;margin-top:16px;padding:4px 1px 8px;overflow:auto}
.award-process-step{display:flex;flex-direction:column;align-items:flex-start;min-width:155px;padding:12px 14px;border:1px solid #cfd8e1;border-radius:11px;background:#fff;color:#32495a;text-align:left}
.award-process-step span{display:grid;place-items:center;width:24px;height:24px;margin-bottom:5px;border-radius:50%;background:#e8eef3;color:#38566b;font-size:12px;font-weight:900}
.award-process-step b{font-size:14px}
.award-process-step small{color:#6b7f8e}
.award-process-step.active{border:2px solid var(--brand2);background:#edf8f8;color:var(--brand)}
.award-process-step.active span{background:var(--brand2);color:#fff}
.calendar-admin-toolbar .field{min-width:180px}
.calendar-admin-toolbar .success-box{flex:1}
.calendar-maintain-card{display:flex;flex-direction:column;gap:7px;min-height:190px}
.calendar-maintain-card .month{font-size:18px}
.calendar-maintain-card h3,.calendar-maintain-card p{margin:0}
.calendar-maintain-card small{margin-top:auto;color:var(--muted)}
.calendar-maintain-table td:nth-child(1),.calendar-maintain-table td:nth-child(2){background:#fbfcfd}
.review-admin-status-text{font-size:20px!important;line-height:1.2!important}
@media(max-width:760px){
 .award-rule-filters,.calendar-admin-toolbar{align-items:stretch;flex-direction:column}
 .award-rule-filters .field,.calendar-admin-toolbar .field{min-width:0;width:100%}
}

/* 2026-07-23：每年度本次評審單彈性設定 */
.award-rule-filters .award-year-field{flex:0 0 150px;min-width:150px}
.review-form-builder{border-top:5px solid var(--brand2)}
.review-form-config-table{min-width:980px}
.review-form-config-table th:nth-child(1){min-width:240px}
.review-form-config-table th:nth-child(2){width:115px}
.review-form-config-table th:nth-child(3){width:150px}
.review-form-config-table th:nth-child(4){min-width:260px}
.review-form-config-table th:nth-child(5){width:135px}
.review-form-config-table th:nth-child(6){width:95px}
.review-form-config-table input,.review-form-config-table select{width:100%;min-width:0;border:1px solid #bfc8d2;border-radius:8px;padding:8px 9px;background:#fff}
.review-form-config-table input:disabled,.review-form-config-table select:disabled{background:#f2f4f6;color:#526273}
.review-config-preview{display:grid;gap:9px;margin-top:15px}
.review-preview-section{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #d4dee6;border-radius:10px;background:#f8fbfc}
.review-preview-section b,.review-preview-section small{display:block}
.review-preview-section small{margin-top:3px;color:var(--muted)}
.review-preview-section select{min-width:145px;border:1px solid #bfc8d2;border-radius:8px;padding:7px 9px;background:#fff}
.review-workflow-strip{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 8px
}
.review-workflow-step{
 display:flex;align-items:flex-start;gap:10px;min-height:82px;padding:13px;
 border:1px solid #cfd8e1;border-radius:11px;background:#f7f9fb;color:#526273;
 font:inherit;text-align:left;width:100%
}
.review-workflow-step[data-action]{cursor:pointer}
.review-workflow-step[data-action]:hover{border-color:#4d8a78;box-shadow:0 4px 12px rgba(30,80,67,.12);transform:translateY(-1px)}
.review-workflow-step[data-action]:focus-visible{outline:3px solid rgba(20,126,101,.22);outline-offset:2px}
.review-workflow-step>span{
 display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;
 border-radius:50%;background:#dfe6ec;color:#526273;font-weight:900
}
.review-workflow-step b,.review-workflow-step small{display:block}
.review-workflow-step small{margin-top:4px;line-height:1.35;color:#718391}
.review-workflow-step em{display:block;margin-top:7px;color:#276b59;font-size:12px;font-style:normal;font-weight:800}
.review-workflow-step.current{border:2px solid var(--brand2);background:#eef9f8;color:var(--brand)}
.review-workflow-step.current>span{background:var(--brand2);color:#fff}
.review-workflow-step.done{border-color:#97c9b2;background:#f0faf5;color:#185b43}
.review-workflow-step.done>span{background:#24855f;color:#fff}
.review-workflow-actions{
 display:flex;align-items:center;gap:9px;min-height:48px;padding:12px 14px;
 border:1px solid #c9d6df;border-radius:10px;background:#f7fafc
}
.review-workflow-actions .spacer{flex:1}
.review-version-history summary{cursor:pointer;color:var(--brand);padding:7px 0}
.review-version-history table{min-width:720px}
.matrix-maintenance-panel{
 margin:18px 20px;padding:18px;border:2px solid #d39b19;
 background:#fffdf4;box-shadow:0 8px 24px rgba(92,67,9,.09)
}
.matrix-maintenance-panel .section-title{align-items:flex-start}
.matrix-stage-flow{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0
}
.matrix-stage-flow span{
 display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #e3cf91;
 border-radius:9px;background:#fff;color:#664d12;font-size:13px;font-weight:800
}
.matrix-stage-flow b{
 display:grid;place-items:center;width:24px;height:24px;border-radius:50%;
 background:#8a650e;color:#fff
}
.matrix-maintenance-tabs{flex-wrap:wrap;margin:14px 0}
.matrix-pattern-editor{
 display:grid;grid-template-columns:minmax(320px,1fr) auto auto;align-items:end;gap:12px;
 padding:14px;border:1px solid #e3cf91;border-radius:10px;background:#fff
}
.matrix-pattern-editor .field{margin:0}
.matrix-pattern-inline-notice{margin-top:9px;padding:11px 13px;border-radius:9px;font-size:13px}
.matrix-pattern-inline-notice.is-empty{border:1px dashed #c7b36f;background:#fffdf5;color:#776528}
.matrix-maintenance-table{min-width:980px}
.matrix-maintenance-table th:nth-child(1){width:65px}
.matrix-maintenance-table th:nth-child(2){width:125px}
.matrix-maintenance-table th:nth-child(3){width:125px}
.matrix-maintenance-table th:nth-child(4){width:130px}
.matrix-maintenance-table th:last-child{min-width:285px}
.matrix-maintenance-title{min-width:300px;white-space:normal}
.matrix-maintenance-table .toolbar.compact{flex-wrap:nowrap;gap:5px}
.matrix-case-form textarea{min-height:88px}
.written-review-picker{display:grid;gap:9px}
.written-review-option{
 display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:flex-start;padding:12px;
 border:1px solid #cfd8e1;border-radius:10px;background:#fff;cursor:pointer
}
.written-review-option:has(input:checked){border-color:var(--brand2);background:#eefafa;box-shadow:0 0 0 2px rgba(0,126,134,.12)}
.written-review-option input{width:18px;height:18px;margin-top:3px}
.written-review-option span{display:grid;grid-template-columns:1fr auto;gap:3px 10px;min-width:0}
.written-review-option b,.written-review-option strong{grid-column:1}
.written-review-option small{grid-column:1;color:var(--muted)}
.written-review-option em{grid-column:2;grid-row:1/3;align-self:center;font-style:normal}
.written-review-option strong{margin-top:4px;font-size:13px;font-weight:600;line-height:1.45}
@media(max-width:760px){
 .award-rule-filters .award-year-field{flex:auto;min-width:0}
 .review-preview-section{align-items:flex-start;flex-direction:column}
 .review-workflow-strip{grid-template-columns:1fr}
 .review-workflow-step{min-height:0}
 .review-workflow-actions{align-items:stretch;flex-direction:column}
 .review-workflow-actions .spacer{display:none}
 .review-workflow-actions .btn{width:100%}
 .matrix-maintenance-panel{margin:12px 8px;padding:13px}
 .matrix-stage-flow{grid-template-columns:1fr}
 .matrix-pattern-editor{grid-template-columns:1fr;align-items:stretch}
 .written-review-option span{grid-template-columns:1fr}
 .written-review-option em{grid-column:1;grid-row:auto;justify-self:start}
}

/* 2026-07-23：登入驗證名單批次刪除 */
.credential-batch-bar{
 display:flex;align-items:center;gap:14px;margin-top:14px;padding:10px 13px;
 border:1px solid #c9d6df;border-radius:10px;background:#f6f9fb
}
.credential-batch-bar label{display:flex;align-items:center;gap:7px;font-weight:800;color:#284b63}
.credential-batch-bar input,.credential-select{width:17px;height:17px;accent-color:var(--brand2)}
.credential-select-cell{width:58px!important;min-width:58px;text-align:center!important}
.credential-row-selected td{background:#fff8df!important}
.credential-batch-bar .btn{min-height:32px;padding:6px 11px}
.danger-box{
 padding:12px 14px;border:1px solid #e5a7a7;border-left:5px solid #b42318;
 border-radius:9px;background:#fff2f1;color:#7a271a
}
.danger-box ul,.warning-box ul{margin:8px 0 0;padding-left:21px}
@media(max-width:760px){
 .credential-batch-bar{align-items:flex-start;flex-wrap:wrap}
}

/* 2026-07-23：HR 直接文字校對草稿 */
.content-review-toolbar{
 display:flex;align-items:center;justify-content:space-between;gap:18px;
 padding:10px max(18px,calc((100vw - 1440px)/2));border-bottom:1px solid #dfbd59;
 background:#fff6cf;color:#5b4613;box-shadow:0 2px 8px rgba(64,48,8,.08)
}
.content-review-toolbar>div:first-child{display:flex;align-items:baseline;gap:10px;min-width:0}
.content-review-toolbar b{white-space:nowrap;color:#654b08}
.content-review-toolbar span{font-size:13px}
.content-review-editable{
 position:relative;outline:2px dashed #d39b19!important;outline-offset:4px;
 border-radius:3px;background:#fffdf2!important;cursor:text
}
.content-review-editable:hover,.content-review-editable:focus{
 outline:3px solid #e0a51d!important;background:#fff8d9!important;
 box-shadow:0 0 0 5px rgba(224,165,29,.14)
}
.final-review-page th.content-review-editable{color:#5b4613!important}
.final-review-page .gas-bottom-note.content-review-editable{padding:10px 12px}
.content-review-draft-table{max-height:58vh}
.content-review-draft-table table{min-width:980px}
.content-review-draft-table th:nth-child(1){width:150px}
.content-review-draft-table th:nth-child(2){width:220px}
.content-review-draft-table td{vertical-align:top;white-space:pre-wrap}
@media(max-width:760px){
 .content-review-toolbar{align-items:flex-start;flex-direction:column;padding:10px 14px}
 .content-review-toolbar>div:first-child{align-items:flex-start;flex-direction:column;gap:3px}
}
.matrix-save-notice{margin:12px 0 16px;border:2px solid #71a984;box-shadow:0 3px 10px rgba(32,111,63,.08)}
.matrix-case-just-saved td{background:#eaf8ef!important;animation:matrix-saved-highlight 1.8s ease-out}
@keyframes matrix-saved-highlight{0%{background:#bfe9cd}100%{background:#eaf8ef}}
#matrix-case-form-error{margin-top:0}

/* 組長工作台：期中獎勵案時程以一致卡片呈現，狀態固定在卡片底部。 */
.award-process{
 gap:8px;
 padding:2px;
 align-items:stretch;
 overflow-x:auto;
 overflow-y:visible;
}
.award-process-step{
 display:grid;
 grid-template-rows:auto 1fr auto;
 min-width:145px;
 min-height:190px;
 padding:12px;
 border:1px solid #d9e2e8;
 border-top-width:4px;
 border-radius:10px;
 box-sizing:border-box;
 overflow:visible;
}
.award-process-step>div:nth-child(2){min-width:0}
.award-process-step b,.award-process-step small,.award-process-step p{overflow-wrap:anywhere}
.award-process-step p{min-height:0;margin:8px 0 10px;line-height:1.5}
.award-process-step>span{display:block;align-self:end;justify-self:stretch;width:100%;margin-top:8px}
.award-process-step>span>.status{
 display:flex;
 width:100%;
 min-height:28px;
 box-sizing:border-box;
 align-items:center;
 justify-content:center;
 text-align:center;
 white-space:normal;
 line-height:1.25;
}
.award-process-step:not(:last-child):after{right:-11px;top:50%;transform:translateY(-50%)}

/* 複審單在表格前與頁面右下角都提供暫存，避免長矩陣中找不到操作鈕。 */
.final-review-top-actions{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:16px;
 margin-top:12px;
 padding:12px 16px;
 border-left:5px solid var(--gas-teal);
}
.final-review-top-actions b,.final-review-top-actions small{display:block}
.final-review-top-actions small{margin-top:3px;color:var(--gas-muted)}
.final-review-top-actions .review-active-version{margin-top:7px;color:#176b57;font-weight:900}
.final-review-action-buttons{display:flex;gap:8px;flex:0 0 auto}
@media(max-width:760px){
 .award-process-step{min-height:175px}
 .final-review-top-actions{align-items:stretch;flex-direction:column}
 .final-review-action-buttons{width:100%}
 .final-review-action-buttons .gas-btn{flex:1}
}

/* 正式作業站：與本機預覽清楚區隔。 */
.production-ribbon{
 background:linear-gradient(90deg,#0b5b4f,#117967);
 color:#fff;
 letter-spacing:.04em;
}
.production-note{
 border-color:#8ecbbd;
 background:#effbf7;
 color:#174c42;
}
.award-rule-filters select:disabled{
 opacity:1;
 border-color:#c9d6dc;
 background:#eef3f5;
 color:#39515c;
 cursor:not-allowed;
}

.content-review-removed{display:none!important}

.gas-hero:has(> small.content-review-removed):has(> h1.content-review-removed):has(> p.content-review-removed){display:none!important}

.content-review-custom-list{display:grid;gap:10px;margin-bottom:14px}
.content-review-custom-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}
.content-review-custom-row .content-review-custom{margin:0;min-height:44px}
@media(max-width:720px){.content-review-custom-row{grid-template-columns:1fr}.content-review-custom-row .btn{justify-self:end}}

.content-review-editable.content-review-insert-anchor{outline:3px solid rgba(37,99,235,.42);outline-offset:3px}
.content-review-custom-row{scroll-margin-block:120px 80px;margin-block:10px}

.identity-summary>div:has(> b.content-review-removed){display:none!important}

.content-review-context-menu{position:fixed;z-index:10050;width:190px;padding:8px;background:#fff;border:1px solid #b8c5cf;border-radius:12px;box-shadow:0 14px 34px rgba(15,39,57,.24);display:grid;gap:3px}
.content-review-context-title{padding:5px 8px 7px;font-size:12px;font-weight:800;color:#526675}
.content-review-context-menu>button{border:0;background:transparent;border-radius:7px;padding:8px 10px;text-align:left;color:#183747;font:inherit;cursor:pointer}
.content-review-context-menu>button:hover{background:#edf5f8}
.content-review-context-separator{height:1px;background:#dce5ea;margin:4px 2px}
.content-review-context-label{padding:3px 8px;font-size:12px;color:#657885}
.content-review-color-row{display:flex;gap:9px;padding:5px 8px 7px}
.content-review-color-row button{width:26px;height:26px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #aebdc6;cursor:pointer}
.content-review-color-row button:hover{transform:scale(1.12)}
.content-review-color-row .color-black{background:#111827}.content-review-color-row .color-red{background:#c62828}.content-review-color-row .color-blue{background:#1557a0}.content-review-color-row .color-teal{background:#00695c}

.content-review-custom.content-review-transparent{background:transparent!important;border:0!important;color:inherit!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}


.editable-review-number-list{list-style:none!important;padding-left:0!important}
.editable-review-number-list>li{display:grid!important;grid-template-columns:2.1em minmax(0,1fr);align-items:start;column-gap:4px}
.editable-review-list-number{display:inline-block;min-width:2em;font-weight:800;color:#234f69;cursor:text;user-select:text}
.content-review-editable:focus .editable-review-list-number{color:#0b6f86}

.gas-award .gas-reward.content-review-editable{cursor:text;min-height:38px;padding:10px 12px!important}

.content-review-version-list{display:grid;gap:10px;max-height:56vh;overflow:auto;margin-top:10px}
.content-review-version-item{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px;border:1px solid #d5e0e6;border-radius:10px;background:#f8fbfc}
.content-review-version-item small{display:block;margin-top:4px;color:#667984}

.content-review-save-success{position:fixed;inset:0;z-index:20000;background:rgba(15,35,48,.48);display:grid;place-items:center;padding:20px}
.content-review-save-success-card{width:min(520px,100%);background:#fff;border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.25);padding:24px;display:grid;grid-template-columns:auto 1fr;gap:14px 16px;align-items:start}
.content-review-save-check{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#dff5e8;color:#167347;font-size:24px;font-weight:900}
.content-review-save-success-card h3{margin:2px 0 7px;color:#173c50}.content-review-save-success-card p{margin:0;color:#596f7c;line-height:1.65}
.content-review-save-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px;margin-top:5px}

.content-review-editable a,.content-review-custom a{color:#1034a6!important;text-decoration:underline!important;text-decoration-thickness:1.5px!important;text-underline-offset:2px}

/* Final-review section title and quota alignment */
.final-review-page .gas-section-head{display:grid;grid-template-columns:minmax(280px,1fr) auto;align-items:center;gap:14px;padding:12px 14px;background:#fff;border:1px solid var(--gas-line);border-radius:12px}
.final-review-page .gas-section-head>div:first-child{min-width:0}
.final-review-page .gas-section-head h2{margin:0!important;line-height:1.35}
.final-review-page .final-quota{display:grid;grid-auto-flow:column;grid-auto-columns:max-content;gap:8px;justify-content:end;align-items:center;white-space:nowrap}
.final-review-page .final-quota-chip{justify-content:center;min-width:92px;padding:6px 10px}
@media(max-width:900px){.final-review-page .gas-section-head{grid-template-columns:1fr}.final-review-page .final-quota{grid-auto-flow:row;grid-template-columns:repeat(3,max-content);justify-content:start;white-space:normal}}
/* HR text-proofreading blocks can be resized from the lower-right corner. */
.content-review-editable:not(th){resize:both;overflow:auto;min-width:96px;min-height:28px;max-width:100%;box-sizing:border-box}
.content-review-editable:not(th):focus{resize:both}

/* HR first-use workflow guide */
.hr-operation-guide{border:1px solid #bfd4ea;background:linear-gradient(180deg,#f8fbff 0%,#fff 100%)}
.hr-guide-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px}
.hr-guide-step{position:relative;min-height:112px;padding:14px 12px;border:1px solid #d8e1ea;border-radius:10px;background:#fff;color:#667587}
.hr-guide-step span{display:inline-grid;place-items:center;width:27px;height:27px;margin-bottom:8px;border-radius:50%;background:#e8edf3;color:#526274;font-weight:800}
.hr-guide-step b,.hr-guide-step small{display:block}.hr-guide-step b{color:#26384a;margin-bottom:5px}.hr-guide-step small{line-height:1.45}
.hr-guide-step.active{border:2px solid #1034a6;background:#eef4ff;box-shadow:0 4px 12px rgba(16,52,166,.12)}
.hr-guide-step.active span{background:#1034a6;color:#fff}.hr-guide-step.done{border-color:#9ac9ad;background:#f3fbf6}.hr-guide-step.done span{background:#24864b;color:#fff}
.hr-change-policy{margin-top:14px;border-top:1px solid #d8e1ea;padding-top:12px}.hr-change-policy summary{cursor:pointer;color:#1034a6;font-weight:700}.hr-change-policy .task{align-items:flex-start}
.hr-operation-guide.compact .hr-guide-step{min-height:94px;padding:11px}.hr-operation-guide.compact .section-title{margin-bottom:0}
@media(max-width:900px){.hr-guide-steps{grid-template-columns:1fr 1fr}.hr-guide-step:last-child{grid-column:1/-1}}
@media(max-width:560px){.hr-guide-steps{grid-template-columns:1fr}.hr-guide-step:last-child{grid-column:auto}}

.hr-guide-step{font:inherit;text-align:left;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.hr-guide-step:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(31,58,86,.13)}
.hr-guide-step em{display:block;margin-top:8px;color:#1034a6;font-size:12px;font-style:normal;font-weight:700}
.hr-guide-focus{outline:3px solid rgba(16,52,166,.25);outline-offset:4px;transition:outline-color .4s ease}

.leader-entry-card select:required:invalid{color:rgb(117,117,117)}
.leader-entry-card select option{color:var(--ink)}

.leader-entry-card p:empty,.leader-entry-card .demo-note:empty,.leader-entry-card .help:empty,.leader-entry-card .warning-box:empty,.leader-entry-card .footer-note:empty{display:none}

body.auth-transition{overflow:hidden}
body.auth-transition::before{content:"";position:fixed;inset:0;z-index:9998;background:rgba(248,250,252,.94);backdrop-filter:blur(2px)}
body.auth-transition::after{content:"登入中，正在載入作業資料…";position:fixed;left:50%;top:50%;z-index:9999;transform:translate(-50%,-50%);min-width:260px;padding:18px 22px;border:1px solid #cbd5df;border-radius:12px;background:#fff;color:#163f62;text-align:center;font-weight:800;box-shadow:0 12px 32px rgba(16,24,40,.14)}

/* 主委：免辦階段與書審結果唯讀矩陣 */
.work-item.exempt{border-top:5px solid #94a3b8;background:#f8fafc}.work-item.result-view{border-top:5px solid var(--info);background:#fbfdff}.work-item.result-view .work-icon{background:#eaf1ff;color:var(--info)}
.chair-result-hero{border-left:5px solid var(--info)}.chair-result-hero h2{color:var(--brand)}.chair-result-section{padding:18px}.chair-result-wrap{scrollbar-gutter:stable}.chair-result-table{min-width:2280px}.chair-result-table th,.chair-result-table td{text-align:center;vertical-align:middle}.chair-result-table .chair-case-id{position:sticky;left:0;z-index:3;width:76px;min-width:76px;max-width:76px;background:#f8fafb}.chair-result-table .chair-case-title{position:sticky;left:76px;z-index:3;width:320px;min-width:320px;max-width:320px;background:#fff;text-align:left;box-shadow:5px 0 8px rgba(22,63,98,.08)}.chair-result-table thead .chair-case-id,.chair-result-table thead .chair-case-title{z-index:6;background:#eef3f6}.chair-result-table .chair-case-title small{display:block;margin-top:4px;color:var(--muted);font-weight:400}.chair-result-table .chair-group-head{min-width:104px;text-align:center}.chair-result-table .chair-group-head small{display:block;margin-top:3px;color:#697b88;font-weight:400}.chair-result-table .chair-choice-cell{min-width:104px;white-space:nowrap}.chair-result-table .chair-total{min-width:105px;white-space:nowrap}
/* 共用作業邏輯：列點與序號整齊對齊 */
#app ol:not(.editable-review-number-list),#app ul:not(.editable-review-number-list),#modal-root ol:not(.editable-review-number-list),#modal-root ul:not(.editable-review-number-list){margin:.45rem 0 .8rem;padding-inline-start:1.75rem}
#app ol:not(.editable-review-number-list)>li,#app ul:not(.editable-review-number-list)>li,#modal-root ol:not(.editable-review-number-list)>li,#modal-root ul:not(.editable-review-number-list)>li{margin:.38rem 0;padding-inline-start:.22rem;line-height:1.65}
#app ol:not(.editable-review-number-list)>li::marker,#modal-root ol:not(.editable-review-number-list)>li::marker{font-weight:800;color:currentColor}
#app ul:not(.editable-review-number-list)>li::marker,#modal-root ul:not(.editable-review-number-list)>li::marker{color:var(--brand2)}
.review-item-label{margin-bottom:0!important}.review-item-list{margin-top:.25rem!important;padding-inline-start:1.65rem!important}.review-item-list>li{padding-inline-start:.35rem!important}.review-item-list>li::marker{font-weight:900!important;color:var(--gas-navy,currentColor)!important}
@media(max-width:760px){#app ol:not(.editable-review-number-list),#app ul:not(.editable-review-number-list),#modal-root ol:not(.editable-review-number-list),#modal-root ul:not(.editable-review-number-list){padding-inline-start:1.45rem}.review-item-list{padding-inline-start:1.5rem!important}}
/* 簡報複審：草稿提示維持在共用內容寬度內 */
.final-review-page .review-draft-banner{width:min(1420px,calc(100% - 36px));margin:14px auto;box-sizing:border-box}
@media(max-width:760px){.final-review-page .review-draft-banner{width:calc(100% - 24px)}}


/* 2026-07-30：全站明亮清爽配色 */
:root{--ink:#203047;--muted:#62738a;--line:#d8e7f2;--bg:#f6fbff;--panel:#fff;--brand:#2563d9;--brand2:#087f8c;--accent:#fbbf24;--ok:#16865a;--warn:#b86500;--bad:#c93b55;--info:#2563d9;--shadow:0 12px 32px rgba(70,125,175,.12)}
body{background:linear-gradient(180deg,#f4faff 0,#fbfdff 46%,#f7fcff 100%);color:var(--ink)}
.preview-ribbon{background:linear-gradient(90deg,#fff7cc,#ffefad);color:#705000;border-bottom:1px solid #f3d979}
.topbar{background:rgba(255,255,255,.97);border-bottom-color:#cfe3f2;box-shadow:0 5px 18px rgba(63,125,173,.08)}
.brand-mark{background:linear-gradient(135deg,#3b82f6,#22b8ad);box-shadow:0 7px 18px rgba(59,130,246,.24)}
.brand h1,.page-head h2{color:#174f91}
.navrow{border-top-color:#e4f0f8;background:linear-gradient(90deg,#fbfdff,#f2f9ff,#fbfdff)}
.nav a{color:#4c6680;border-radius:9px 9px 0 0}
.nav a:hover{background:#edf7ff;color:#1d5fae}
.nav a.active{color:#1d63c4;border-color:#36a3dc;background:#e9f5ff}
.main{background:transparent}
.card,.table-wrap,.source-panel{border-color:#d6e7f3;box-shadow:0 5px 18px rgba(66,126,173,.07)}
.card{background:rgba(255,255,255,.98)}
.metric:after{background:linear-gradient(135deg,#dff3ff,#ddfaf4)}
.status{background:#edf4fa;color:#49647b;border:1px solid #dbe8f1}
.status.ok{background:#e8f9f0;color:#16744e;border-color:#bfe9d2}
.status.warn{background:#fff6d9;color:#9a5b00;border-color:#f4dda0}
.status.bad{background:#fff0f2;color:#b52f49;border-color:#f2c3cc}
.status.info{background:#eaf3ff;color:#245fb6;border-color:#c8ddfb}
.btn{border-color:#cbddea;background:#fff;color:#29445d;box-shadow:0 2px 7px rgba(50,111,158,.05)}
.btn:hover{border-color:#69a7d2;background:#f5fbff}
.btn.primary{background:linear-gradient(135deg,#317be4,#2563d9);border-color:#2563d9;color:#fff;box-shadow:0 6px 16px rgba(37,99,217,.22)}
.btn.secondary{background:linear-gradient(135deg,#10a0a6,#087f8c);border-color:#087f8c;color:#fff;box-shadow:0 6px 16px rgba(8,127,140,.18)}
.btn.danger{background:#fff7f8;color:#c53650;border-color:#efb6c1}
.table th{background:#edf7ff;color:#31536f;border-bottom-color:#d1e5f3}
.table tr:hover td{background:#f4faff}
.field input,.field select,.field textarea,.role-select{border-color:#bdd5e6;background:#fff;color:#203047}
.field input:focus,.field select:focus,.field textarea:focus,.role-select:focus{outline:3px solid rgba(59,130,246,.15);border-color:#4a91df}
.demo-note{background:#eaf8ff;border-color:#b8e0f4;color:#28556e}
.warning-box{border-left-color:#e3a21a;background:#fff9df;color:#6f5100}
.success-box{border-left-color:#35a66f;background:#ecfbf3;color:#236744}
.side-menu a.active{background:#e7f4ff;color:#1d5fae}
.step.active{background:linear-gradient(135deg,#3b82f6,#2563d9)}
.step.done{background:#e6f8ee;color:#17764f}
.progress>i{background:linear-gradient(90deg,#3b82f6,#22b8ad)}
.login{background:radial-gradient(circle at 14% 16%,#dff4ff,transparent 34%),radial-gradient(circle at 86% 12%,#e2fff8,transparent 31%),linear-gradient(135deg,#f7fcff,#edf8ff)}
.login-card{border:1px solid #d5e8f4;box-shadow:0 18px 50px rgba(48,112,165,.16)}
.toast{background:#245f9a;color:#fff;box-shadow:0 12px 28px rgba(36,95,154,.25)}
.gas-review{--gas-navy:#2468ad;--gas-teal:#087f8c;--gas-ink:#29445a;--gas-muted:#647b8d;--gas-line:#d5e7f1;--gas-bg:#f4faff;--gas-green:#e5f8ee;--gas-red:#fff0f2;--gas-gold:#fff5c9;background:linear-gradient(180deg,#eff8ff 0,#f7fbff 260px,#f4faff 100%)}
.gas-hero{background:linear-gradient(120deg,#3b82f6 0%,#2878d6 52%,#16a6ad 100%);box-shadow:inset 0 -1px rgba(255,255,255,.22)}
.gas-hero small{color:#e7f6ff}.gas-hero p{color:#f2fbff}
.gas-card{border-color:#d4e7f3;box-shadow:0 8px 24px rgba(48,112,165,.09)}
.gas-step{background:#e4f4ff;color:#236ab4}
.identity-summary>div{background:linear-gradient(135deg,#f3f9ff,#f0fcfa);border-color:#d2e7f2}
.identity-summary b{color:#1e5f9f}
.gas-btn.primary{background:linear-gradient(135deg,#2787d9,#087f8c);box-shadow:0 6px 16px rgba(8,127,140,.18)}
.gas-btn.secondary{background:#e8f4fb;color:#2d607c;border:1px solid #c9e0ee}
.gas-drive{background:linear-gradient(135deg,#eaf8ff,#edfcf8);border-color:#bfe2e8}
.gas-private{background:#edf7ff;border-left-color:#3b82f6}
.gas-rank{background:#e5f7f7;color:#08717b}
.gas-rule-message{background:#e9f9f0;color:#246846;border-left-color:#46ad77}
.gas-rule-message.warn{background:#fff8db;color:#775300;border-left-color:#e5ad2e}
.gas-table-wrap{border-color:#cfe3ef;box-shadow:0 7px 20px rgba(48,112,165,.08)}
.gas-table th{background:linear-gradient(180deg,#347fc3,#2468ad);color:#fff;border-right-color:rgba(255,255,255,.17)}
.gas-table th.gas-sticky-decision,.gas-table th.gas-sticky-case,.final-review-page thead .final-seq-cell,.final-review-page thead .final-rank-cell{background:linear-gradient(180deg,#347fc3,#2468ad)}
.gas-table tbody tr:nth-child(even) td{background:#fbfdff}
.gas-table tbody tr:hover td,.final-review-page tbody tr:hover .final-seq-cell,.final-review-page tbody tr:hover .final-rank-cell{background:#edf7ff}
.gas-sticky{background:rgba(250,253,255,.98);border-top-color:#cfe3ef;box-shadow:0 -7px 24px rgba(48,112,165,.12)}
.gas-bar{background:#d9eaf3}.gas-bar span{background:linear-gradient(90deg,#3b82f6,#22b8ad)}
.final-review-page .final-rank-select{border-color:#3989c7;color:#225f93;background:#fff}
.final-review-page .final-rank-select:required:invalid{background:#fff8dc;border-color:#d69517;color:#805100}
.final-review-page .final-rank-select:valid{background:#e8f9f0;border-color:#2c9a64;color:#176b46}
.final-review-page .gas-scroll-top,.final-review-page .gas-table-wrap{scrollbar-color:#5da4ce #dcecf5}
.final-review-page .gas-scroll-top::-webkit-scrollbar-track,.final-review-page .gas-table-wrap::-webkit-scrollbar-track{background:#dcecf5}
.final-review-page .gas-scroll-top::-webkit-scrollbar-thumb,.final-review-page .gas-table-wrap::-webkit-scrollbar-thumb{background:#5da4ce;border-color:#dcecf5}
.final-review-page .gas-scroll-top::-webkit-scrollbar-thumb:hover,.final-review-page .gas-table-wrap::-webkit-scrollbar-thumb:hover{background:#337fb3}
@media(max-width:760px){.toprow{background:rgba(255,255,255,.98)}.navrow{background:#f4faff}.gas-hero{background:linear-gradient(135deg,#3b82f6,#178baf)}}
/* 2026-07-30：天青藍＋海軍藍主色 */
:root{--ink:#18324b;--muted:#60778c;--line:#d2e5f2;--bg:#f4faff;--panel:#fff;--brand:#25a9e8;--brand2:#123f68;--info:#218bc4;--shadow:0 12px 32px rgba(18,63,104,.12)}
.brand-mark{background:linear-gradient(135deg,#39bdf2,#168fcf);box-shadow:0 7px 18px rgba(37,169,232,.25)}
.brand h1,.page-head h2{color:#123f68}
.nav a:hover{background:#eaf7ff;color:#155f91}.nav a.active{color:#123f68;border-color:#27aae1;background:#e7f6ff}
.btn.primary{background:linear-gradient(135deg,#31b8ef,#178fc9);border-color:#178fc9;box-shadow:0 6px 16px rgba(23,143,201,.22)}
.btn.secondary{background:linear-gradient(135deg,#194f7b,#123f68);border-color:#123f68;box-shadow:0 6px 16px rgba(18,63,104,.2)}
.table th{background:#e8f6ff;color:#123f68;border-bottom-color:#c8e2f2}
.side-menu a.active{background:#e6f6ff;color:#125f91}
.step.active{background:linear-gradient(135deg,#28afe8,#123f68)}
.progress>i,.gas-bar span{background:linear-gradient(90deg,#32b9ef,#168fcf)}
.login{background:radial-gradient(circle at 14% 16%,#d8f3ff,transparent 34%),radial-gradient(circle at 86% 12%,#e9f7ff,transparent 31%),linear-gradient(135deg,#f8fcff,#eef8ff)}
.toast{background:#123f68;color:#fff;box-shadow:0 12px 28px rgba(18,63,104,.25)}
.gas-review{--gas-navy:#123f68;--gas-teal:#178fc9;--gas-ink:#25455f;--gas-muted:#657d91;--gas-line:#d2e5f2;--gas-bg:#f3f9fd;background:linear-gradient(180deg,#eef8ff 0,#f8fcff 260px,#f3f9fd 100%)}
.gas-hero{background:linear-gradient(120deg,#123f68 0%,#176a9f 52%,#2eb7ed 100%)}
.gas-step{background:#def3ff;color:#145f91}
.identity-summary>div{background:linear-gradient(135deg,#f2f9ff,#eaf7ff);border-color:#cde4f2}
.identity-summary b{color:#123f68}
.gas-btn.primary{background:linear-gradient(135deg,#2db4eb,#167fae);box-shadow:0 6px 16px rgba(22,127,174,.2)}
.gas-btn.secondary{background:#e8f4fb;color:#123f68;border:1px solid #c6deed}
.gas-table th,.gas-table th.gas-sticky-decision,.gas-table th.gas-sticky-case,.final-review-page thead .final-seq-cell,.final-review-page thead .final-rank-cell{background:linear-gradient(180deg,#194f7b,#123f68)}
.gas-rank{background:#e0f4ff;color:#125f91}
.final-review-page .final-rank-select{border-color:#299fd4;color:#125f91}
@media(max-width:760px){.gas-hero{background:linear-gradient(135deg,#123f68,#269fd3)}}

/* 2026-07-30：複審簡報摘要與產業四欄矩陣 */
.final-review-page .gas-standing,.final-review-page .gas-highlight{white-space:pre-line;text-align:left;vertical-align:top}
.final-review-page .final-industry-table{width:1580px!important;min-width:1580px!important;table-layout:fixed}
.final-review-page .final-industry-table th:nth-child(1){width:58px}
.final-review-page .final-industry-table th:nth-child(2){width:100px}
.final-review-page .final-industry-table th:nth-child(3){width:76px}
.final-review-page .final-industry-table th:nth-child(4){width:90px}
.final-review-page .final-industry-table th:nth-child(5){width:180px}
.final-review-page .final-industry-table th:nth-child(6){width:250px}
.final-review-page .final-industry-table th:nth-child(7){width:250px}
.final-review-page .final-industry-table th:nth-child(8){width:270px}
.final-review-page .final-industry-table th:nth-child(9){width:306px}
.final-review-page .final-industry-table td:nth-child(n+6){white-space:pre-line;text-align:left;vertical-align:top;line-height:1.58}
@media(max-width:760px){.final-review-page .final-industry-table{width:1580px!important;min-width:1580px!important}}

/* 2026-07-30：比較矩陣摘要列點使用一致懸掛縮排 */
.matrix-summary-list{list-style:none;margin:0;padding:0;display:grid;gap:0;text-align:left}
.matrix-summary-list>li{display:grid;grid-template-columns:6px minmax(0,1fr);column-gap:3px;align-items:start;margin:0;padding-left:0!important;line-height:1;text-align:left;white-space:normal;word-break:break-word;overflow-wrap:anywhere}
.matrix-summary-list>li::before{content:none}
.matrix-summary-bullet{display:block;grid-column:1;width:6px;color:#0b3b66;font-weight:800;line-height:1;visibility:visible;opacity:1}
.matrix-summary-text{display:block;grid-column:2;min-width:0}

.matrix-summary-cell{padding-left:0!important}
.matrix-summary-list>li+li{margin-top:.5em}

/* 2026-07-30：矩陣列點與儲存格緊湊排版 */
.final-review-page .gas-table tbody tr,.final-review-page .gas-table tbody td{height:auto!important;min-height:0!important}
.final-review-page .gas-table tbody td{padding-top:3px!important;padding-bottom:3px!important}
.final-review-page .gas-table tbody td.matrix-summary-cell{padding-top:1px!important;padding-right:2px!important;padding-bottom:1px!important;padding-left:0!important;vertical-align:top!important}
.matrix-summary-list{margin:0!important;padding:0!important;row-gap:0!important;line-height:1!important}
.matrix-summary-list>li{margin:0!important;padding-top:0!important;padding-right:0!important;padding-bottom:0!important;padding-left:0!important;min-height:0!important;line-height:1!important}
.matrix-summary-list>li+li{margin-top:.5em!important}

/* HR 文字校對：列點採懸掛縮排，換行與第一行文字對齊 */
.content-review-bullet-line{display:grid!important;grid-template-columns:.72em minmax(0,1fr);column-gap:.28em;align-items:start;width:100%;margin:0!important;padding:0!important;line-height:inherit;text-indent:0!important;white-space:normal}
.content-review-bullet-marker{display:block;grid-column:1;font-weight:800;color:var(--brand2,#123f68);line-height:inherit;text-align:left}
.content-review-bullet-text{display:block;grid-column:2;min-width:0;line-height:inherit;white-space:pre-wrap;overflow-wrap:anywhere;text-indent:0!important}
/* 2026-07-31：比較矩陣系統列點與 HR 新增列點採完全相同格式 */
.matrix-summary-list>li,.content-review-bullet-line{display:grid!important;grid-template-columns:6px minmax(0,1fr)!important;column-gap:3px!important;align-items:start!important;margin:0!important;padding:0!important;min-height:0!important;line-height:1!important;text-align:left!important;white-space:normal!important;word-break:break-word;overflow-wrap:anywhere;text-indent:0!important}
.matrix-summary-list>li+li,.content-review-bullet-line+.content-review-bullet-line{margin-top:.5em!important}
.matrix-summary-bullet,.content-review-bullet-marker{display:block!important;grid-column:1!important;width:6px!important;color:#0b3b66!important;font-weight:800!important;line-height:1!important;text-align:left!important;visibility:visible!important;opacity:1!important}
.matrix-summary-text,.content-review-bullet-text{display:block!important;grid-column:2!important;min-width:0!important;margin:0!important;padding:0!important;line-height:1!important;white-space:normal!important;overflow-wrap:anywhere!important;text-indent:0!important}
br[data-content-review-placeholder="1"]{display:none!important}


/* 2026-07-31：矩陣列點編輯器—層級、普通文字與表格邊界保護 */
.matrix-summary-list>li,.content-review-bullet-line{align-self:start!important;height:auto!important;max-height:none!important;overflow:visible!important}
.matrix-summary-bullet,.content-review-bullet-marker,.matrix-summary-text,.content-review-bullet-text{align-self:start!important;vertical-align:top!important}
.matrix-summary-text,.content-review-bullet-text{min-height:1em!important;outline-offset:1px}
.matrix-summary-list>li[data-bullet-level="1"],.content-review-bullet-line[data-bullet-level="1"]{margin-left:12px!important}
.matrix-summary-list>li[data-bullet-level="2"],.content-review-bullet-line[data-bullet-level="2"]{margin-left:24px!important}
.matrix-summary-list>li[data-bullet-level="3"],.content-review-bullet-line[data-bullet-level="3"]{margin-left:36px!important}
.matrix-summary-list>li[data-bullet-level="4"],.content-review-bullet-line[data-bullet-level="4"]{margin-left:48px!important}
.matrix-summary-list>li[data-bullet-level="5"],.content-review-bullet-line[data-bullet-level="5"]{margin-left:60px!important}
.matrix-summary-list>li[data-bullet-plain="true"],.content-review-bullet-line[data-bullet-plain="true"]{grid-template-columns:0 minmax(0,1fr)!important;column-gap:0!important}
.matrix-summary-list>li[data-bullet-plain="true"]>.matrix-summary-bullet,.content-review-bullet-line[data-bullet-plain="true"]>.content-review-bullet-marker{display:none!important}
.matrix-summary-list>li[data-bullet-plain="true"]>.matrix-summary-text,.content-review-bullet-line[data-bullet-plain="true"]>.content-review-bullet-text{grid-column:2!important}
.final-review-page .gas-table td.matrix-summary-cell,.award-review-page .gas-table td.matrix-summary-cell{height:auto!important;max-height:none!important;overflow:visible!important}


/* 2026-07-31：簡報複審全部比較矩陣採統一列點排版 */
.final-review-page td.matrix-summary-cell{padding:2px 3px 2px 0!important;vertical-align:top!important;height:auto!important;max-height:none!important;overflow:visible!important}
.final-review-page .matrix-summary-list{display:block!important;list-style:none!important;margin:0!important;padding:0!important;width:100%!important;line-height:1!important;text-align:left!important}
.final-review-page .matrix-summary-list>li{display:grid!important;grid-template-columns:6px minmax(0,1fr)!important;column-gap:3px!important;align-items:start!important;margin:0!important;padding:0!important;min-height:0!important;height:auto!important;line-height:1!important;text-align:left!important;white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important}
.final-review-page .matrix-summary-list>li+li{margin-top:.5em!important}
.final-review-page .matrix-summary-bullet{display:block!important;grid-column:1!important;align-self:start!important;width:6px!important;margin:0!important;padding:0!important;color:#0b3b66!important;font-weight:800!important;line-height:1!important;text-align:left!important}
.final-review-page .matrix-summary-text{display:block!important;grid-column:2!important;align-self:start!important;min-width:0!important;min-height:1em!important;margin:0!important;padding:0!important;line-height:1!important;text-align:left!important;white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important}


/* 複審簡報收件狀態 */
.presentation-status-missing{display:block;width:max-content;max-width:100%;margin-top:5px;padding:2px 7px;border:1px solid #d97706;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:12px;font-weight:800;line-height:1.35;white-space:nowrap}

/* 2026-07-31：複審研討會／期刊組內排序統一藍底 */
.final-review-page .final-paper-table tbody td:nth-child(7)>span{
 display:inline-block;padding:3px 8px;border-radius:999px;
 background:#e0f4ff;color:#125f91;font-weight:800;line-height:1.35
}

/* 2026-08-03：期中獎勵案審查流程調整意見調查與 HR 問卷編輯器 */
.survey-font-scope,.survey-font-scope button,.survey-font-scope input,.survey-font-scope select,.survey-font-scope textarea{font-family:"Microsoft JhengHei","Microsoft JhengHei UI","微軟正黑體",Arial,sans-serif}
.survey-page{width:min(1040px,100%);margin:0 auto;display:grid;gap:20px}
.survey-page svg,.survey-work-card svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.survey-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 220px;min-height:310px;padding:48px 52px;border:0;border-radius:28px;color:#fff;background:radial-gradient(circle at 82% 22%,rgba(63,209,255,.48),transparent 24%),linear-gradient(128deg,#071d49 0%,#0b3d76 54%,#17a8db 100%);box-shadow:0 24px 60px rgba(6,37,79,.24)}
.survey-hero:before,.survey-hero:after{content:"";position:absolute;z-index:-1;border-radius:50%;border:1px solid rgba(255,255,255,.18)}
.survey-hero:before{width:360px;height:360px;right:-115px;top:-170px}.survey-hero:after{width:250px;height:250px;right:68px;bottom:-188px}
.survey-hero-copy{align-self:center}.survey-kicker{display:inline-flex;align-items:center;gap:8px;letter-spacing:.17em;font-size:11px;font-weight:800;color:#9eeaff}.survey-kicker:before{content:"";width:34px;height:2px;background:#4dd8ff}
.survey-hero h2{max-width:760px;margin:18px 0 14px;color:#fff;font-size:clamp(30px,3.6vw,42px);line-height:1.16;letter-spacing:-.035em}
.survey-hero p{max-width:680px;margin:0;color:#d8edff;font-size:17px;line-height:1.75;white-space:pre-line}
.survey-hero-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}.survey-hero-meta span{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.1);font-size:12px}.survey-hero-meta svg{width:16px;height:16px}
.survey-hero-art{position:relative;display:grid;place-items:center;min-height:220px}.survey-hero-play:before{content:"";position:absolute;inset:20px 4px 4px 18px;border-radius:38% 62% 58% 42%/46% 38% 62% 54%;background:radial-gradient(circle,rgba(255,255,255,.38) 0 2px,transparent 3px) 0 0/18px 18px,linear-gradient(145deg,rgba(111,226,255,.22),rgba(255,255,255,.04));transform:rotate(-8deg)}.survey-play-blob{position:absolute;width:158px;height:158px;border-radius:48% 52% 38% 62%/58% 38% 62% 42%;background:linear-gradient(145deg,rgba(255,219,108,.95),rgba(255,147,113,.85));box-shadow:0 18px 42px rgba(3,29,72,.22);transform:rotate(16deg)}.survey-play-ring{position:absolute;width:196px;height:196px;border:2px dashed rgba(255,255,255,.42);border-radius:50%;transform:rotate(-14deg)}.survey-float-card{position:absolute;display:grid;place-items:center;box-shadow:0 12px 28px rgba(3,31,76,.24);font-weight:900}.survey-float-chat{right:38px;top:58px;width:82px;height:82px;border-radius:24px;color:#075181;background:linear-gradient(145deg,#fff,#c7f1ff);transform:rotate(-8deg)}.survey-float-chat svg{width:42px;height:42px;stroke-width:1.7}.survey-float-star{left:24px;top:32px;width:52px;height:52px;border-radius:18px;color:#9b5400;background:#ffe586;font-size:28px;transform:rotate(12deg)}.survey-float-check{left:42px;bottom:28px;width:48px;height:48px;border-radius:50%;color:#fff;background:#ff826d;font-size:24px;transform:rotate(-7deg)}.survey-confetti{position:absolute;width:9px;height:24px;border-radius:999px;background:#fff}.survey-confetti.c1{right:12px;top:30px;background:#ffe173;transform:rotate(38deg)}.survey-confetti.c2{right:20px;bottom:42px;height:10px;background:#ff8d77;transform:rotate(-22deg)}.survey-confetti.c3{left:4px;top:108px;height:12px;background:#7ee8ff;transform:rotate(70deg)}.survey-confetti.c4{right:74px;bottom:4px;width:12px;height:12px;background:#fff;border-radius:50%}
/* 電光星球問卷背板：所有標題與副標題仍為可維護的網頁文字。 */
.survey-hero{grid-template-columns:minmax(0,1.28fr) minmax(330px,.72fr);min-height:370px;padding:52px 54px;border:1px solid rgba(111,203,255,.3);background:radial-gradient(circle at 80% 45%,rgba(0,168,255,.34),transparent 30%),radial-gradient(circle at 60% 15%,rgba(43,112,238,.2),transparent 24%),linear-gradient(128deg,#03143e 0%,#06255b 47%,#064f9f 78%,#087bd0 100%);box-shadow:0 24px 64px rgba(1,24,70,.3)}
.survey-hero:before{inset:0;width:auto;height:auto;right:0;top:0;border:0;border-radius:inherit;z-index:0;opacity:.58;background-image:radial-gradient(circle,#fff 0 1px,transparent 1.6px),radial-gradient(circle,#76dcff 0 1px,transparent 1.7px),radial-gradient(circle,#ffe98e 0 1px,transparent 1.7px);background-position:7px 11px,23px 29px,41px 4px;background-size:54px 51px,79px 73px,101px 89px;mask-image:linear-gradient(90deg,transparent 12%,#000 52%)}
.survey-hero:after{width:720px;height:210px;right:-130px;bottom:-166px;border:0;border-radius:50%;z-index:0;background:radial-gradient(ellipse at 50% 0,#38b9ff 0,#0a63b6 25%,#03255a 58%,transparent 60%);box-shadow:0 -18px 52px rgba(56,188,255,.34)}
.survey-hero-copy{position:relative;z-index:2}.survey-kicker{font-size:12px;color:#65e7ff;text-shadow:0 0 12px rgba(66,219,255,.45)}.survey-kicker:before{width:42px;background:#4be9ff;box-shadow:0 0 10px rgba(75,233,255,.8)}.survey-hero h2{max-width:690px;margin:22px 0 16px;font-size:clamp(34px,4vw,48px);line-height:1.17;letter-spacing:.01em;text-shadow:0 5px 22px rgba(0,15,50,.42)}.survey-hero p{max-width:680px;color:#e0efff;font-size:18px}.survey-hero-meta{margin-top:30px;gap:12px}.survey-hero-meta span{padding:9px 14px;border-color:rgba(129,209,255,.35);background:rgba(4,25,73,.42);box-shadow:inset 0 0 18px rgba(51,166,255,.08);font-size:13px}.survey-hero-meta .survey-heart-meta{color:#ffe2e8}
.survey-space-scene{z-index:2;min-height:270px}.survey-play-blob{position:absolute;width:228px;height:228px;border-radius:50%;z-index:2;transform:none;background:radial-gradient(circle at 32% 23%,#c2fbff 0 2%,#38d0ff 13%,#087fd4 34%,#0650a2 62%,#042c70 100%);border:1px solid rgba(187,244,255,.75);box-shadow:inset -26px -24px 55px rgba(1,16,61,.62),inset 18px 13px 34px rgba(144,245,255,.32),0 0 18px #49d8ff,0 0 55px rgba(0,137,255,.85)}
.survey-play-blob:before{content:"電光星球";position:absolute;left:50%;top:87px;transform:translateX(-50%) rotate(-4deg);white-space:nowrap;color:#d8fbff;font-size:25px;font-weight:900;letter-spacing:.08em;text-shadow:0 0 9px #39dcff,0 2px 6px #00346e}.survey-play-blob:after{content:"EOSL PLANET";position:absolute;left:50%;top:124px;transform:translateX(-50%) rotate(-4deg);white-space:nowrap;color:#fff;font-size:9px;font-weight:800;letter-spacing:.22em;opacity:.85}
.survey-play-ring{position:absolute;width:330px;height:94px;border:7px solid rgba(71,204,255,.78);border-left-color:rgba(146,242,255,.95);border-right-color:#187bff;border-radius:50%;z-index:3;transform:rotate(-9deg);box-shadow:0 0 8px #58dcff,0 0 22px rgba(27,129,255,.95),inset 0 0 9px rgba(103,226,255,.55)}
.survey-space-star{position:absolute;z-index:5;color:#fff8a1;font-size:18px;text-shadow:0 0 8px #fff,0 0 15px #ffc928}.survey-space-star.s1{left:2%;top:18%}.survey-space-star.s2{right:4%;top:5%;font-size:13px}.survey-space-star.s3{right:0;bottom:30%;font-size:12px}.survey-space-star.s4{left:18%;bottom:9%;font-size:14px}
.survey-space-bubble{position:absolute;z-index:6;padding:10px 14px;border:1px solid rgba(255,255,255,.5);border-radius:18px;color:#fff;white-space:nowrap;font-size:12px;font-weight:900;backdrop-filter:blur(7px);box-shadow:0 0 22px currentColor}.bubble-insight{left:-6px;top:23px;color:#b9ffbe;background:linear-gradient(135deg,rgba(19,197,123,.7),rgba(11,115,101,.58))}.bubble-feedback{right:-20px;top:2px;color:#d7e8ff;background:linear-gradient(135deg,rgba(61,137,255,.75),rgba(44,67,190,.56))}.bubble-wellbeing{right:-14px;bottom:26px;color:#ffd8e3;background:linear-gradient(135deg,rgba(255,99,132,.7),rgba(143,47,130,.54))}
.survey-space-astronaut{position:absolute;left:2px;bottom:-21px;z-index:6;font-size:67px;filter:drop-shadow(0 10px 10px rgba(1,15,51,.42));transform:rotate(-7deg)}.survey-space-astronaut span{position:absolute;right:-7px;top:20px;color:#ffe177;font-size:32px;text-shadow:0 0 12px #ffcf2f;transform:rotate(12deg)}
/* 問卷 Banner 直接沿用核定參考圖的電光星球，不再以 CSS 重畫。左側以可維護網頁文字覆蓋原稿文字。 */
.survey-hero.survey-reference-planet{grid-template-columns:minmax(0,1fr);aspect-ratio:2048/681;min-height:0;padding:clamp(30px,4.7vw,52px) clamp(30px,5vw,54px);border-color:rgba(102,218,255,.42);background-image:linear-gradient(106deg,rgba(3,17,59,1) 0%,rgba(4,41,99,.995) 37%,rgba(5,80,143,.995) 56%,rgba(6,116,170,.99) 65%,rgba(5,100,157,.8) 68%,rgba(4,73,140,.28) 72%,rgba(3,24,63,0) 77%),url("assets/survey-planet-banner-reference-v1.png");background-repeat:no-repeat;background-size:100% 100%;background-position:center;box-shadow:0 24px 64px rgba(1,24,70,.32),0 0 0 1px rgba(101,220,255,.1)}
.survey-hero.survey-reference-planet:before{content:"";display:block;position:absolute;inset:0;width:auto;height:auto;right:0;top:0;z-index:1;border:0;border-radius:inherit;pointer-events:none;opacity:.44;background-image:radial-gradient(circle,#fff 0 1.1px,transparent 1.7px),radial-gradient(circle,#7ee9ff 0 .9px,transparent 1.6px),radial-gradient(circle,#ffe995 0 1.1px,transparent 1.8px);background-position:18px 21px,69px 11px,7px 83px;background-size:127px 113px,181px 157px,233px 199px;mask-image:linear-gradient(90deg,#000 0%,#000 45%,rgba(0,0,0,.65) 57%,transparent 69%)}
.survey-hero.survey-reference-planet:after{display:none}
.survey-reference-planet .survey-hero-copy{max-width:60%;align-self:center}
.survey-reference-planet .survey-reference-art{display:none}
.survey-reference-planet .survey-kicker,.survey-reference-planet h2,.survey-reference-planet p,.survey-reference-planet .survey-hero-meta{position:relative;z-index:2}
.survey-reference-planet h2{max-width:620px;font-size:clamp(31px,3.65vw,45px)}
.survey-reference-planet p{max-width:600px}
.survey-story-card{padding:30px 34px;border:1px solid #cbdce9;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(9,55,94,.08)}
.survey-story-title{display:flex;gap:13px;align-items:center}.survey-story-title>span{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(135deg,#0b3d76,#17a8db)}.survey-story-title small{letter-spacing:.14em;color:#168ebd;font-weight:800}.survey-story-title h3{margin:2px 0;color:#0b2f5b;font-size:23px}.survey-story-card>p{margin:18px 0;color:#40566c;line-height:1.75;white-space:pre-line}.survey-story-card h4{margin:24px 0 12px;color:#0b3d76}
.survey-reason-card{border-top:5px solid #1aa9d8;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}.survey-reason-card .survey-reason-copy{margin:20px 0 0;color:#173e5f;font-size:18px;font-weight:700;line-height:1.9}.survey-evidence{margin-top:24px;padding-top:18px;border-top:1px solid #d9e6ed}.survey-evidence h4{margin:0 0 8px;font-size:15px}.survey-evidence-intro{margin:0 0 6px;color:#526a7d;font-size:13px;line-height:1.65}.survey-current-flow{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;margin:0;color:#526a7d;font-size:13px;line-height:1.7}.survey-current-flow strong{color:#234c6c}.survey-current-flow span{margin:0 3px;color:#159fcf;font-weight:900}.survey-evidence-list{display:grid;gap:5px;margin:10px 0 0;padding-left:22px;color:#526a7d;font-size:13px;line-height:1.65}.survey-evidence-list li{padding-left:2px}.survey-evidence-list li::marker{color:#159fcf}.survey-evidence-list strong{color:#234c6c}
.survey-preamble{margin-top:18px;padding:16px 18px;border-left:4px solid #18a8d8;border-radius:0 12px 12px 0;background:#f1f9fd}.survey-preamble h4{margin:0 0 7px;color:#0b4f8a;font-size:15px}.survey-preamble p{margin:0;color:#385b73;font-size:14px;line-height:1.7;white-space:pre-line}
.survey-context-lead{font-size:16px}.survey-context-section{margin-top:22px;padding-top:20px;border-top:1px solid #dce8ef}.survey-context-section h4{margin:0 0 12px}.survey-process-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:8px 10px;list-style:none;counter-reset:none;border-radius:14px;background:#f3f8fb}.survey-process-flow li{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:center;min-height:60px;padding:8px 18px 8px 10px;border-right:1px solid #d4e3ec}.survey-process-flow li:last-child{border-right:0}.survey-process-flow li:not(:last-child):after{content:"›";position:absolute;right:-10px;z-index:2;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#18a7d7;font-weight:900}.survey-process-flow li>span{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;color:#fff;background:#0b4f8a;font-weight:900}.survey-process-flow b{font-size:13px;line-height:1.4;color:#183f61}
.survey-stats{display:grid;gap:0;margin:0;border:1px solid #d5e3ec;border-radius:14px;overflow:hidden;background:#fbfdff}.survey-stats article{display:grid;grid-template-columns:42px 180px minmax(0,1fr);gap:13px;align-items:center;padding:13px 16px}.survey-stats article+article{border-top:1px solid #dce8ef}.survey-stat-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:#0a80b4;background:#e6f8ff}.survey-stats small{display:block;color:#516c83;font-weight:800}.survey-stats strong{display:block;margin:2px 0 0;color:#0b3d76;font-size:24px;line-height:1}.survey-stats p{margin:0;color:#486176;line-height:1.55}
.survey-rationale{display:grid;grid-template-columns:24px minmax(0,1fr);gap:9px;margin-top:18px;padding:4px 0 4px 14px;border-left:4px solid #18a7d7;color:#304d63}.survey-rationale>span{color:#0d8fbd;font-size:18px}.survey-rationale p{margin:0;line-height:1.7;white-space:pre-line}
.survey-context-card .survey-instruction{display:flex;align-items:center;gap:10px;margin-top:20px;padding:16px 0 0;border:0;border-top:1px solid #dce8ef;border-radius:0;color:#174765;background:transparent}.survey-instruction>span{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:10px;color:#fff;background:#159fcf}.survey-instruction p{margin:0;line-height:1.6;white-space:pre-line}.survey-main-question{margin:6px 0 -4px;padding-left:16px;border-left:5px solid #18a8d8;color:#0b315f;font-size:24px}
.survey-identity{display:flex;align-items:center;gap:14px;padding:18px 20px}.survey-identity-icon{width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;border-radius:14px;color:#fff;background:#0b4f8a}.survey-identity>div:nth-child(2){min-width:0;flex:1}.survey-identity small{color:#6a7e8e}.survey-identity h3{margin:2px 0;color:#123f68}.survey-identity p{margin:0;color:#5f7282}
.survey-question-list{display:grid;gap:18px}.survey-question-card{position:relative;overflow:hidden;background:#fff;border:1px solid #d3e0e9;border-radius:20px;padding:24px 26px;box-shadow:0 7px 24px rgba(10,49,86,.07)}.survey-question-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#17a7d7}.survey-question-rocket:before{background:#0c4e87}.survey-question-chat:before{background:#f2b43b}
.survey-question-heading{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:start}.survey-question-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;color:#0a7ead;background:#e9f8ff}.survey-question-rocket .survey-question-icon{color:#0b467b;background:#e9f1fb}.survey-question-chat .survey-question-icon{color:#a96a00;background:#fff5d6}.survey-section-label{margin:0 0 3px;color:#0b4f8a;font-size:17px;font-weight:900}.survey-question-heading h3{margin:0 0 7px;font-size:15px;line-height:1.5;color:#52687a;font-weight:600}.survey-question-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#728392;font-size:12px}.survey-question-help{margin:10px 0 0;padding:10px 12px;border-left:3px solid #52b6db;color:#3d5e73;background:#f3f9fc;font-size:13px;line-height:1.65}.survey-question-help strong{color:#123e64}.survey-required,.survey-optional{display:inline-flex;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:900}.survey-required{background:#ffede9;color:#b42318}.survey-optional{background:#edf3f7;color:#526477}
.survey-answer-options{display:grid;gap:10px;margin:18px 0 0 62px}.survey-answer-option{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;padding:14px 15px;border:1px solid #d9e4ec;border-radius:14px;background:#fbfdff;cursor:pointer;line-height:1.65;transition:.18s ease}.survey-answer-option:hover{transform:translateY(-1px);border-color:#6fc4e2;background:#f2fbff;box-shadow:0 5px 14px rgba(20,115,157,.08)}.survey-answer-option:has(input:checked){border-color:#129dce;background:#eaf9ff;box-shadow:0 0 0 2px rgba(18,157,206,.13)}.survey-answer-option input{margin-top:5px;accent-color:#0c8fc3}.survey-answer-option>span{display:block}.survey-option-index{display:inline-block;margin-right:9px;color:#0b75a5;font-size:11px;font-weight:900;letter-spacing:.08em}.survey-answer-option strong{color:#123e64}.survey-answer-text{width:calc(100% - 62px);margin:18px 0 0 62px;border:1px solid #c4d3de;border-radius:14px;padding:14px;resize:vertical;min-height:130px;line-height:1.65;background:#fbfdff}.survey-answer-text:focus{outline:0;border-color:#159fce;box-shadow:0 0 0 3px rgba(21,159,206,.14)}
.survey-closing{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:19px 22px;border-color:#b8ddec;background:linear-gradient(90deg,#effbff,#f8fcff)}.survey-closing-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:50%;color:#fff;background:#16a0cf;font-size:20px;font-weight:900}.survey-closing p{flex:1;margin:0;line-height:1.6;white-space:pre-line}.survey-closing .btn{min-width:132px}
.survey-response-summary{width:min(1040px,100%);margin:0 auto 16px;display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;align-items:center}.survey-response-summary strong{display:block;margin:5px 0;color:#0b3d76;font-size:34px}.survey-response-summary p{margin:0;color:#5b7182}.survey-response-chips{display:flex;gap:7px;flex-wrap:wrap}.survey-response-chips span{padding:6px 9px;border:1px solid #cfe2ec;border-radius:999px;background:#f4fbff;color:#28516e;font-size:12px}
.survey-admin-results{width:min(1180px,100%);margin:0 auto;display:grid;gap:20px}.survey-admin-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:23px 26px;border-radius:20px;color:#fff;background:linear-gradient(125deg,#082d61,#0c5f98 65%,#19acd7);box-shadow:0 14px 34px rgba(8,55,96,.18)}.survey-admin-intro h3{margin:9px 0 4px;color:#fff;font-size:25px}.survey-admin-intro p{margin:0;color:#dff4ff}.survey-result-updated{color:#d8effb;font-size:12px;white-space:nowrap}.survey-result-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.survey-result-kpis article{min-height:118px;padding:18px;border:1px solid #cfe0ea;border-radius:17px;background:#fff;box-shadow:0 7px 20px rgba(11,58,91,.06)}.survey-result-kpis small{display:block;color:#64798a}.survey-result-kpis strong{display:block;margin-top:10px;color:#0b3d76;font-size:31px;line-height:1.1}.survey-result-kpis strong span{font-size:17px;color:#62798b}.survey-result-kpis .survey-latest{font-size:19px;line-height:1.35}.survey-completion-card{padding:24px}.survey-completion-track{height:11px;margin:16px 0 18px;border-radius:999px;background:#e5eef3;overflow:hidden}.survey-completion-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b5591,#1bb3dc)}.survey-progress-table th,.survey-progress-table td{vertical-align:middle}.survey-progress-table td:nth-child(1),.survey-progress-table td:nth-child(3),.survey-progress-table td:nth-child(4){text-align:center}.survey-result-section{display:grid;gap:12px}.survey-result-question-list{display:grid;gap:14px}.survey-result-question{padding:22px 24px;border:1px solid #d3e1ea;border-radius:18px;background:#fff;box-shadow:0 7px 22px rgba(10,51,84,.06)}.survey-result-question-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:15px;border-bottom:1px solid #e1eaf0}.survey-result-question-head span{color:#168ab8;font-size:13px;font-weight:900}.survey-result-question-head h4{margin:4px 0 0;color:#173f61;font-size:17px;line-height:1.55}.survey-result-question-head>b{flex:0 0 auto;padding:5px 9px;border-radius:999px;color:#0a668f;background:#e8f8ff;font-size:12px}.survey-option-stats{display:grid;gap:13px;margin-top:17px}.survey-option-stat>div:first-child{display:grid;grid-template-columns:32px minmax(0,1fr) 92px;gap:10px;align-items:start}.survey-option-stat>div>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;color:#0a6f9e;background:#e8f7fd;font-size:11px;font-weight:900}.survey-option-stat p{margin:2px 0;color:#314f66;line-height:1.55}.survey-option-stat p strong{color:#153f61}.survey-option-stat>div>strong{padding-top:4px;color:#0b4f80;font-size:13px;text-align:right}.survey-stat-track{height:7px;margin:7px 102px 0 42px;border-radius:999px;background:#e9f0f4;overflow:hidden}.survey-stat-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#19acd7,#0c5d98)}.survey-comment-list{display:grid;gap:8px;margin:16px 0 0;padding:0;list-style:none}.survey-comment-list li{padding:13px 15px;border-radius:12px;background:#f5fafc}.survey-comment-list strong{color:#0b5684}.survey-comment-list p{margin:4px 0 0;color:#39566c;line-height:1.6;white-space:pre-wrap}.survey-result-empty{margin-top:15px;padding:14px;border-radius:12px;color:#667b8b;background:#f5f8fa}.survey-response-details{display:grid;gap:10px}.survey-response-detail{padding:0;overflow:hidden}.survey-response-detail summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;cursor:pointer;list-style:none}.survey-response-detail summary::-webkit-details-marker{display:none}.survey-response-detail summary span{display:grid;gap:3px}.survey-response-detail summary b{color:#143f62}.survey-response-detail summary small{color:#667b8b}.survey-response-detail summary em{color:#0b78a6;font-size:12px;font-style:normal;font-weight:900}.survey-response-detail[open] summary{border-bottom:1px solid #dce7ed;background:#f3fbff}.survey-response-detail ol{display:grid;gap:0;margin:0;padding:0 20px;list-style:none;counter-reset:survey-detail}.survey-response-detail li{counter-increment:survey-detail;display:grid;grid-template-columns:minmax(200px,34%) minmax(0,1fr);gap:18px;padding:14px 0;border-bottom:1px solid #e6edf1}.survey-response-detail li:last-child{border-bottom:0}.survey-response-detail li>span{color:#416077;font-size:13px;font-weight:800;line-height:1.55}.survey-response-detail li>span:before{content:counter(survey-detail) ". ";color:#1599c7}.survey-response-detail li p{margin:0;color:#183e5c;line-height:1.6;white-space:pre-wrap}
.survey-center-guide{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:26px;align-items:center;padding:24px 26px;border-color:#a9d7e8;background:linear-gradient(115deg,#f3fbff,#fff)}.survey-center-guide h3{margin:9px 0 4px;color:#153f61}.survey-center-guide p{margin:0;color:#617687}.survey-center-flow{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.survey-center-flow span{padding:9px 11px;border-radius:11px;color:#0b5684;background:#e7f7fd;font-size:12px;font-weight:900}.survey-center-flow i{color:#18a8d5;font-style:normal;font-weight:900}.survey-center-metrics{margin-top:16px}.survey-center-metrics article{padding:18px}.survey-center-metrics small,.survey-center-metrics span{display:block;color:#677d8d}.survey-center-metrics strong{display:block;margin:7px 0 2px;color:#0b3d76;font-size:30px}.survey-center-list{padding:22px}.survey-center-filters{display:flex;gap:6px;flex-wrap:wrap}.survey-center-filter{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #c9d9e3;border-radius:999px;color:#4c6578;background:#fff;cursor:pointer;font:inherit;font-size:12px;font-weight:800}.survey-center-filter span{display:grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#edf3f6;color:#486275}.survey-center-filter.active{border-color:#0d94c4;color:#fff;background:#0c6698}.survey-center-filter.active span{color:#0c6698;background:#fff}.survey-center-table td{vertical-align:middle}.survey-center-table th:nth-child(1),.survey-center-table td:nth-child(1),.survey-center-table th:nth-child(4),.survey-center-table td:nth-child(4),.survey-center-table th:nth-child(5),.survey-center-table td:nth-child(5){text-align:center}.survey-center-title{min-width:240px;text-align:left!important}.survey-center-title small{display:block;margin-top:4px;color:#708493;font-family:Consolas,monospace}.survey-center-actions{min-width:280px}.survey-retention-policy ul{display:grid;gap:7px;margin:12px 0 0;padding-left:22px}.survey-retention-policy li{padding-left:2px;line-height:1.6}.survey-retention-policy li::marker{color:#159dcb}
.survey-trash-batch-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0;padding:12px 14px;border:1px solid #f0c7c4;border-radius:12px;background:#fff8f7}.survey-trash-batch-bar>div:first-child{display:grid;gap:2px}.survey-trash-batch-bar b{color:#7a302d}.survey-trash-batch-bar small{color:#785f5d}.survey-trash-select-cell,.survey-trash-view td:first-child{width:46px;min-width:46px;text-align:center!important}.survey-trash-view th:nth-child(2),.survey-trash-view td:nth-child(2),.survey-trash-view th:nth-child(5),.survey-trash-view td:nth-child(5),.survey-trash-view th:nth-child(6),.survey-trash-view td:nth-child(6){text-align:center}
.survey-work-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:15px;align-items:center;border-color:#addbea;background:linear-gradient(105deg,#f1fbff,#fff)}.survey-work-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;color:#fff;background:linear-gradient(135deg,#0b3d76,#20b7e2);font-size:24px}.survey-work-card h3{margin:5px 0 3px;color:#123e64}.survey-work-card p{margin:0;color:#5f7282}
.survey-builder-toolbar{width:min(1040px,100%);margin:0 auto 16px;border-color:#98cde7;background:#f2fbff}.survey-builder-toolbar h3{margin:8px 0 3px}.survey-builder-toolbar p{margin:0;color:#526477}.survey-settings-editor{border-top:5px solid #1d91c9}.survey-settings-editor h3{color:#123f68}.survey-builder-head{display:flex;align-items:center;gap:8px;padding-bottom:12px;border-bottom:1px solid #e4ebf1}.survey-builder-head .spacer{flex:1}.survey-builder-fields{margin-top:14px}.survey-question-builder{border-left:5px solid #299fd4}.survey-question-number{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#1d91c9;color:#fff;font-weight:900;line-height:1}.survey-required-toggle-row{height:43px;display:flex;align-items:center;border:1px solid #bfc8d2;border-radius:9px;padding:8px 11px;background:#fff;font-weight:600!important}.survey-required-toggle-row input{width:auto;margin:0 7px 0 0;accent-color:#167fb5}.survey-option-editor{display:grid;gap:8px;margin-top:14px;padding:14px;border-radius:11px;background:#f7fafc;border:1px solid #e1e8ee}.survey-option-editor-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;align-items:center}.survey-option-editor-row>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#dff3ff;color:#125f91;font-weight:800}.survey-option-editor-row textarea{width:100%;min-height:52px;border:1px solid #bdcbd7;border-radius:8px;padding:9px 10px;resize:vertical}.survey-save-footer{position:sticky;bottom:12px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border:1px solid #a9cfe2;border-radius:12px;background:rgba(255,255,255,.96);box-shadow:0 8px 28px rgba(16,57,87,.14);backdrop-filter:blur(8px)}
.survey-activity-description{margin:18px 0 0;color:#244d67;line-height:1.75;white-space:pre-line}.survey-audience-editor{border-top:5px solid #25a7d9}.survey-audience-editor>.toolbar{justify-content:flex-end;margin:4px 0 12px}.survey-audience-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}.survey-audience-list li{margin:0;padding:0;border:1px solid #d9e6ee;border-radius:10px;background:#fbfdff}.survey-audience-list label{display:flex;align-items:center;gap:10px;min-height:58px;padding:10px 12px;cursor:pointer}.survey-audience-list input{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#168fc5}.survey-audience-list span{display:grid;gap:2px;min-width:0}.survey-audience-list b{color:#173f5f}.survey-audience-list small{color:#647a8b}.survey-audience-list li:has(input:checked){border-color:#50afd5;background:#eef9fe;box-shadow:inset 4px 0 #168fc5}.survey-audience-list .empty{grid-column:1/-1;padding:18px;color:#687d8c;text-align:center}
.survey-audience-maintained-list{display:block;border:1px solid #d9e6ee;border-radius:9px;overflow:hidden}.survey-audience-maintained-list li{display:block;border:0;border-bottom:1px solid #e4edf2;border-radius:0;background:#fff}.survey-audience-maintained-list li:last-child{border-bottom:0}.survey-audience-person{display:grid;grid-template-columns:minmax(150px,1fr) minmax(90px,150px) auto;align-items:center;gap:10px;min-height:38px;padding:5px 8px}.survey-audience-person>b{color:#173f5f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.survey-audience-person>small{color:#647a8b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.survey-audience-person .btn{justify-self:end;padding:3px 8px;line-height:1.35}.survey-audience-search-empty{margin-top:12px;padding:16px;border:1px dashed #c7d9e3;border-radius:9px;background:#f8fbfd;color:#647a8b;text-align:center}.survey-audience-search-results{margin:12px 0 0;padding:0;list-style:none;border:1px solid #d9e6ee;border-radius:9px;overflow:hidden}.survey-audience-search-results li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border-bottom:1px solid #e4edf2}.survey-audience-search-results li:last-child{border-bottom:0}.survey-audience-search-results span{display:grid;gap:1px;min-width:0}.survey-audience-search-results b{color:#173f5f}.survey-audience-search-results small{color:#647a8b}
@media(max-width:720px){.survey-audience-list{grid-template-columns:1fr}.survey-audience-person{grid-template-columns:minmax(0,1fr) auto}.survey-audience-person>small{grid-column:1}.survey-audience-person>.btn{grid-column:2;grid-row:1/3}}
@media(max-width:860px){.survey-hero{grid-template-columns:1fr;min-height:0;padding:34px}.survey-hero-art{display:none}.survey-process-flow{grid-template-columns:1fr 1fr}.survey-process-flow li:nth-child(2){border-right:0}.survey-process-flow li:nth-child(2):after{display:none}.survey-stats article{grid-template-columns:42px 150px minmax(0,1fr)}.survey-response-summary{grid-template-columns:1fr}.survey-work-card{grid-template-columns:48px minmax(0,1fr)}.survey-work-card>.btn{grid-column:2;justify-self:start}}
@media(max-width:860px){.survey-hero.survey-reference-planet{aspect-ratio:auto;min-height:390px;background-image:linear-gradient(100deg,rgba(3,18,63,.995) 0%,rgba(5,55,125,.97) 58%,rgba(6,126,184,.66) 100%),url("assets/survey-planet-banner-reference-v1.png");background-position:right center}.survey-hero.survey-reference-planet:before{opacity:.54;mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.75) 68%,transparent 100%)}.survey-reference-planet .survey-hero-copy{max-width:100%}.survey-reference-planet h2{max-width:620px}}
@media(max-width:620px){.survey-hero{padding:28px 22px;border-radius:20px}.survey-hero h2{font-size:30px}.survey-story-card{padding:22px 18px}.survey-process-flow{grid-template-columns:1fr;padding:4px 12px}.survey-process-flow li{border-right:0;border-bottom:1px solid #d8e5ed}.survey-process-flow li:last-child{border-bottom:0}.survey-process-flow li:after{display:none!important}.survey-stats article{grid-template-columns:38px minmax(0,1fr);gap:10px}.survey-stats p{grid-column:2}.survey-stat-icon{width:38px;height:38px}.survey-question-card{padding:19px 16px}.survey-question-heading{grid-template-columns:40px minmax(0,1fr)}.survey-question-icon{width:40px;height:40px}.survey-answer-options{margin-left:0}.survey-answer-text{width:100%;margin-left:0}.survey-builder-head{align-items:flex-start;flex-wrap:wrap}.survey-builder-head .spacer{display:none}.survey-option-editor-row{grid-template-columns:24px minmax(0,1fr)}.survey-option-editor-row .btn{grid-column:2}.survey-closing{align-items:stretch;flex-wrap:wrap}.survey-closing .btn{width:100%}.survey-save-footer{bottom:6px;align-items:stretch;flex-direction:column}}
@media(max-width:620px){.survey-hero.survey-reference-planet{min-height:430px;background-position:78% center}.survey-reference-planet .survey-hero-meta{margin-top:20px}.survey-reference-planet .survey-hero-meta span{padding:7px 10px;font-size:11px}}
@media(max-width:900px){.survey-result-kpis{grid-template-columns:1fr 1fr}.survey-admin-intro{align-items:flex-start;flex-direction:column}.survey-result-updated{white-space:normal}.survey-response-detail li{grid-template-columns:1fr;gap:5px}.survey-center-guide{grid-template-columns:1fr}.survey-center-flow{justify-content:flex-start}}
@media(max-width:620px){.survey-admin-intro{padding:20px}.survey-result-kpis{grid-template-columns:1fr 1fr;gap:8px}.survey-result-kpis article{min-height:100px;padding:14px}.survey-result-kpis strong{font-size:25px}.survey-result-question{padding:18px 15px}.survey-result-question-head{flex-direction:column;gap:8px}.survey-option-stat>div:first-child{grid-template-columns:28px minmax(0,1fr)}.survey-option-stat>div>strong{grid-column:2;text-align:left}.survey-stat-track{margin:6px 0 0 38px}.survey-response-detail summary{align-items:flex-start;padding:15px}.survey-response-detail ol{padding:0 15px}.survey-center-guide{padding:19px 16px}.survey-center-flow{display:grid;grid-template-columns:1fr}.survey-center-flow i{display:none}.survey-center-metrics{grid-template-columns:1fr 1fr}.survey-center-filters{justify-content:flex-start}.survey-center-actions{min-width:220px}}
@media(max-width:620px){.survey-trash-batch-bar{align-items:stretch;flex-direction:column}.survey-trash-batch-bar .toolbar{display:grid;grid-template-columns:1fr 1fr}.survey-trash-batch-bar .btn{width:100%}}

/* HR midyear award workflow */
.midyear-admin-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:17px 19px;border-left:5px solid var(--brand2)}
.midyear-admin-controls>.field{min-width:150px;margin:0}.midyear-admin-tabs{display:flex;gap:8px;flex-wrap:wrap}
.midyear-metrics article{min-height:126px}.midyear-metrics span,.midyear-metrics small{display:block;color:#667b8b}.midyear-metrics strong{display:block;margin:8px 0 3px;color:#173f5f;font-size:28px;line-height:1.15}
.midyear-stage-list{display:grid;gap:12px}.midyear-stage{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;padding:17px;border:1px solid #d6e3eb;border-radius:12px;background:#fff}.midyear-stage.active{border:2px solid var(--brand2);background:#f2faf9;box-shadow:0 7px 20px rgba(22,102,93,.08)}
.midyear-stage-number{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;color:#fff;background:#607788;font-weight:900}.midyear-stage.active .midyear-stage-number{background:var(--brand2)}.midyear-stage-main{min-width:0}.midyear-stage .section-title{align-items:flex-start;justify-content:space-between}.midyear-stage .section-title h3{margin:0 0 3px;color:#173f5f}.midyear-stage .section-title p{margin:0;color:#657887;font-size:13px}.midyear-stage textarea{min-height:70px}
.midyear-criteria{display:grid;gap:8px;margin:10px 0 0;padding-left:28px}.midyear-criteria li{padding-left:4px;line-height:1.65}.midyear-criteria li::marker{color:var(--brand2);font-weight:900}
.midyear-import-band{padding:19px 0}.midyear-import-band>.section-title{padding:0 2px}.midyear-import-band>.form-grid{max-width:760px}.midyear-import-band input[type=file]{padding:12px;border:1px dashed #9db3c1;border-radius:10px;background:#fff}
.midyear-top10-table{min-width:1040px}.midyear-top10-table td:nth-child(1),.midyear-top10-table td:nth-child(2),.midyear-top10-table td:nth-child(3),.midyear-top10-table td:nth-child(4),.midyear-top10-table td:nth-child(6),.midyear-top10-table td:nth-child(7){text-align:center}.midyear-top10-table th{white-space:nowrap}.midyear-top10-table td:nth-child(5){min-width:270px;max-width:430px;overflow-wrap:anywhere}.midyear-top10-table .toolbar{margin:0;white-space:nowrap}
.midyear-publication-table{min-width:1100px}.midyear-publication-table th{white-space:nowrap}.midyear-publication-table td:nth-child(1),.midyear-publication-table td:nth-child(2),.midyear-publication-table td:nth-child(3){text-align:center}.midyear-publication-table td:nth-child(4){min-width:330px;max-width:520px}.midyear-publication-table td:nth-child(5){min-width:300px;max-width:470px}.midyear-publication-table td{overflow-wrap:anywhere;vertical-align:top}
@media(max-width:900px){.midyear-admin-controls{align-items:stretch;flex-direction:column}.midyear-admin-controls>.field{width:100%}.midyear-admin-tabs .btn{flex:1}.midyear-stage .form-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.midyear-admin-tabs{display:grid;grid-template-columns:1fr 1fr}.midyear-admin-tabs .btn{width:100%}.midyear-stage{grid-template-columns:36px minmax(0,1fr);padding:13px 11px}.midyear-stage-number{width:32px;height:32px}.midyear-stage .form-grid{grid-template-columns:1fr}.midyear-stage .section-title{display:grid}.midyear-stage .section-title .status{margin-top:7px}.midyear-metrics article{min-height:104px}.midyear-metrics strong{font-size:24px}}

/* Schema-driven workflow form builder */
.workflow-form-card{display:flex;min-width:0;flex-direction:column}.workflow-form-card .section-title{align-items:flex-start}.workflow-form-card h3{margin:8px 0 4px;overflow-wrap:anywhere}.workflow-form-card ul{display:grid;gap:6px;margin:12px 0 18px;padding-left:22px}.workflow-form-card li{padding-left:2px;line-height:1.55}.workflow-form-card .toolbar{margin-top:auto}
.workflow-preview-persona{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:13px 15px;border:1px solid #9fcfd0;border-radius:12px;background:#eefafa}.workflow-preview-persona>div{display:grid;gap:3px;min-width:0}.workflow-preview-persona b{color:#174f49}.workflow-preview-persona small{color:#5d7377;overflow-wrap:anywhere}.workflow-preview-source h4{margin:0 0 8px;color:#173f5f}.workflow-preview-source ul{display:grid;gap:6px;margin:0;padding-left:22px}.workflow-preview-source li{padding-left:2px;line-height:1.55}.workflow-live-form input:disabled,.workflow-live-form textarea:disabled,.workflow-live-form select:disabled{color:#27485f;opacity:1;background:#f7fafb}
.workflow-builder-meta{border-left:5px solid var(--brand2)}.workflow-builder-layout{display:grid;grid-template-columns:210px minmax(360px,1fr) 300px;gap:14px;align-items:start}.workflow-toolbox,.workflow-properties{position:sticky;top:16px}.toolbar.vertical{display:flex;align-items:stretch;flex-direction:column}.toolbar.vertical .btn{width:100%;justify-content:flex-start}.workflow-canvas{min-width:0}.workflow-canvas-field{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-top:9px;padding:13px;border:1px solid #d4e0e8;border-radius:11px;background:#fbfdff;cursor:pointer}.workflow-canvas-field:hover{border-color:#71b8b0;background:#f4fbfa}.workflow-canvas-field.selected{border:2px solid var(--brand2);background:#eff9f7}.workflow-canvas-field>div:first-child{display:grid;min-width:0;gap:3px}.workflow-canvas-field small{color:#6d7f8c}.workflow-canvas-field b,.workflow-canvas-field span{overflow-wrap:anywhere}.workflow-canvas-field .toolbar{flex:0 0 auto;flex-wrap:nowrap}.workflow-properties .form-grid{grid-template-columns:1fr}.workflow-properties label:not(.field label){display:flex;align-items:center;gap:7px;line-height:1.5}.workflow-live-form{overflow:hidden;border:1px solid #cddce5;border-radius:13px;padding:16px;background:#fbfdff}.workflow-schema-section{grid-column:1/-1;margin-top:4px;padding:10px 0 5px;border-bottom:2px solid #d7e6e4}.workflow-schema-section h3{margin:0;color:#174f49}.workflow-rendered-field{min-width:0}.workflow-rendered-field small{display:block;margin-top:5px;color:#647783;white-space:pre-line}.readonly-box{padding:12px;border:1px solid #d1dde4;border-radius:9px;background:#f4f7f9;line-height:1.65;overflow-wrap:anywhere}.workflow-builder-footer{position:sticky;z-index:10;bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding:12px 15px;border:1px solid #9dc9c3;border-radius:12px;background:rgba(255,255,255,.97);box-shadow:0 10px 26px rgba(15,60,55,.15);backdrop-filter:blur(8px)}.workflow-approval-actions{grid-column:1/-1}
.prize-allocation-table{min-width:850px}.prize-allocation-table th{white-space:nowrap}.prize-allocation-table td{vertical-align:middle}.prize-allocation-table td:nth-child(1){min-width:135px}.prize-allocation-table td:nth-child(2){min-width:130px}.prize-allocation-table td:nth-child(3),.prize-allocation-table td:nth-child(4){text-align:center}.prize-allocation-table td:nth-child(5){min-width:130px}.prize-allocation-table td:nth-child(6){min-width:190px}.prize-dispatch-cell label{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.prize-dispatch-cell input{width:18px;height:18px;margin:0;accent-color:var(--brand2)}.prize-total-panel{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:12px}.prize-total-panel span{padding:9px 12px;border-radius:9px;background:#edf3f6;color:#3d5668}.prize-total-panel span.balanced{background:#e6f6ee;color:#17633e}.prize-total-panel span.remaining{background:#fff5dc;color:#795500}.prize-total-panel span.over{background:#ffe9e7;color:#9a241d}.prize-total-panel b{margin-left:5px}
.prize-outside-row{background:#f5f7f8;color:#6d7b84}.prize-outside-row input:disabled{color:#74818a;background:#edf1f3}.prize-ineligible-note{display:block;margin-top:4px;color:#8a4c45;font-size:11px;white-space:nowrap}
@media(max-width:1100px){.workflow-builder-layout{grid-template-columns:180px minmax(330px,1fr)}.workflow-properties{position:static;grid-column:1/-1}.workflow-toolbox{top:10px}}
@media(max-width:760px){.workflow-builder-layout{grid-template-columns:1fr}.workflow-toolbox,.workflow-properties{position:static}.toolbar.vertical{display:grid;grid-template-columns:1fr 1fr}.workflow-canvas-field{align-items:flex-start;flex-direction:column}.workflow-canvas-field .toolbar{width:100%;flex-wrap:wrap}.workflow-builder-footer{align-items:stretch;flex-direction:column}.workflow-builder-footer .toolbar{display:grid;grid-template-columns:1fr 1fr}.workflow-builder-footer .btn{width:100%}.workflow-live-form{padding:12px}}
