:root{
  --ink:#25313b;--muted:#697681;--line:#e3e8eb;--soft:#f6f8f9;
  --orange:#ff7959;--red:#eb3e30;--paper:#fff;
  --sans:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif;
  --mono:"Cascadia Mono",Consolas,monospace;
}
*{box-sizing:border-box}
html{scrollbar-gutter:stable}
body{margin:0;background:#fff;color:var(--ink);font:16px/1.55 var(--sans);-webkit-font-smoothing:antialiased}
body:has(.compare-bar:not([hidden])){padding-bottom:112px}
body.dialog-open{overflow:hidden}
button,input,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ef866e;outline-offset:3px}
.wrap{width:100%;max-width:none;margin:0;padding:0 24px}
header{height:64px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}
.brand>b{width:40px;height:40px;display:grid;place-items:center;border-radius:8px;background:linear-gradient(135deg,#ff8850,#ee3026);color:#fff;font-size:23px;font-weight:700}
.brand span{font-size:18px;font-weight:700}
.brand small{display:block;margin-top:2px;color:#7c8993;font:11px var(--mono);letter-spacing:.12em}
.header-meta{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}
.header-meta i{padding:6px 11px;border:1px solid var(--line);border-radius:20px;font-style:normal}
.header-meta i[data-state=ready]{border-color:#cfe4d7;background:#f0f8f3;color:#397653}
.header-meta i[data-state=loading]{border-color:#f2dfd5;background:#fff6f0;color:#ad613f}
main{padding-top:0}
.search-panel{padding:16px 0 12px;border-bottom:1px solid var(--line)}
.db-status{position:relative}
.db-status summary{display:flex;align-items:center;list-style:none;cursor:pointer}
.db-status summary::-webkit-details-marker{display:none}
.db-status summary:hover i{filter:brightness(.97)}
.db-row{position:absolute;z-index:30;top:calc(100% + 10px);right:0;display:flex;align-items:flex-start;gap:10px;width:min(370px,calc(100vw - 28px));padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 12px 28px #20313e24;color:var(--muted)}
.db-symbol{display:grid;place-items:center;width:30px;height:30px;border-radius:5px;background:#fff2eb;color:#d65a40;font-size:20px}
.db-copy{display:grid;gap:2px;min-width:0;flex:1}
.db-copy b{font-size:13px;color:#566773;font-weight:600}
.db-copy small{font-size:12px;overflow-wrap:anywhere;white-space:normal}
/* Fields wrap at their useful reading widths; no fixed column count or stretched action row. */
.filter-grid{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:0}
.field{--filter-width:144px;flex:1 1 var(--filter-width);min-width:min(100%,var(--filter-width));margin:0}
.field-major{--filter-width:244px;flex-grow:1.8}
.field-area{--filter-width:204px;flex-grow:1.3}
.field-fresh{--filter-width:132px}
.field-gender{--filter-width:100px;flex-grow:.7}
.field-language{--filter-width:164px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.field select,.combo>input:not([type=checkbox]){width:100%;height:42px;padding:0 36px 0 12px;border:1px solid #dfe4e7;border-radius:7px;background-color:#fff;color:#34434e;box-shadow:0 2px 5px #1e2c3808;outline:none;font-size:16px;transition:border-color .15s,box-shadow .15s}
.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23757f87' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
.field select:focus,.combo>input:not([type=checkbox]):focus{border-color:#e78a72;box-shadow:0 0 0 3px #f56c5015}
.field select:disabled,.combo>input:disabled{background-color:#f7f9f9;color:#8e999f;cursor:not-allowed}
.combo{position:relative;min-width:0}
.combo>input:not([type=checkbox])::placeholder{color:#75828b}
.combo>input:not([type=checkbox]){text-overflow:ellipsis;white-space:nowrap}
.combo-clear{position:absolute;z-index:2;top:50%;right:12px;width:26px;height:26px;padding:0;border:0;border-radius:50%;background:#f1f3f4;color:#66747e;font-size:22px;line-height:24px;transform:translateY(-50%)}
.combo-clear:hover{background:#fff0eb;color:#d44d37}
.combo:has(.combo-clear:not([hidden]))>input{padding-right:46px}
.area-picker{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-height:42px;padding:5px 7px;border:1px solid #dfe4e7;border-radius:7px;background:#fff;box-shadow:0 2px 5px #1e2c3808;transition:border-color .15s,box-shadow .15s}
.area-picker:focus-within{border-color:#e78a72;box-shadow:0 0 0 3px #f56c5015}
.area-picker:has(input:disabled){background:#f7f9f9}
.area-tokens{display:contents}
.area-token{display:inline-flex;align-items:center;gap:3px;min-width:0;max-width:100%;padding:2px 4px 2px 7px;border:1px solid #f3d9cd;border-radius:4px;background:#fff4ee;color:#9e4b32;font-size:13px;line-height:22px}
.area-token>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.area-token>button{flex:none;width:20px;height:22px;padding:0;border:0;border-radius:3px;background:none;color:#a16a55;font-size:18px;line-height:20px}
.area-token>button:hover{background:#f9ded1;color:#953a20}
.area-picker>input{flex:1 1 120px;min-width:90px;max-width:100%;width:0;height:30px;padding:0 3px;border:0;outline:none;background:transparent;color:#34434e;font-size:16px}
.area-picker>input::placeholder{color:#75828b}
.area-picker>.combo-clear{position:static;flex:none;margin-left:auto;transform:none;width:22px;height:22px;font-size:19px;line-height:20px}
.options{position:absolute;z-index:20;top:calc(100% + 7px);right:0;left:0;max-height:min(460px,68vh);overflow:auto;border:1px solid var(--line);border-radius:9px;background:#fff;box-shadow:0 12px 28px #20313e24}
.option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border:0;border-bottom:1px solid #eef1f3;background:#fff;color:#34434e;text-align:left}
.option:hover,.option[aria-selected=true]{background:#fff4ee}
.option.option-unlimited{background:#fff1ee;color:#ac3227}
.option.option-unlimited b{color:#ba2e22}
.option.option-unlimited em{background:#d93d31;color:#fff}
.option span:first-child{display:grid;gap:5px;min-width:0}
.option b{font-size:15px;overflow-wrap:anywhere}
.option small{overflow:hidden;color:#6c7a84;font:12px/1.5 var(--mono);text-overflow:ellipsis;white-space:nowrap}
.option em{padding:4px 7px;border-radius:4px;background:#fff0e8;color:#ab5a3f;font-size:12px;font-style:normal;white-space:nowrap}
.option-empty{padding:15px;color:var(--muted);font-size:14px}
.search-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-start;gap:8px;margin-left:auto;padding:0}
.search-actions>button#searchButton{display:flex;align-items:center;justify-content:center;gap:6px;width:112px;height:42px;padding:0;border:0;border-radius:7px;background:#ec5b3e;color:#fff;box-shadow:0 3px 8px #d7442918;font-size:15px;font-weight:700;transition:filter .15s}
.search-actions>button#searchButton:hover:not(:disabled){filter:brightness(1.06)}
.search-actions>button#searchButton:disabled{opacity:.43;box-shadow:none}
.search-icon{font:24px/1 var(--sans);transform:rotate(-15deg)}
.optional-note{display:block;margin-top:7px;color:var(--muted);font-size:12px;line-height:1.5}
.major-profile{margin-top:10px;font-size:13px;color:#657581}
.major-profile>summary{cursor:pointer;width:fit-content}
.supplement-panel{margin-top:10px;padding:12px 14px;border:1px solid #e4e8eb;border-radius:7px;background:#fafbfc}
.supplement-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin-bottom:9px;font-size:13px;color:#677580}
.supplement-heading strong{font-size:14px;color:#34434e}
.credential-rows{display:flex;flex-wrap:wrap;gap:9px}
.credential-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:7px;border:1px solid #e4e8eb;border-radius:6px;background:#fff}
.credential-row select,.credential-row input{height:34px;max-width:100%;padding:0 8px;border:1px solid #d9e0e5;border-radius:4px;color:#34434e;background:#fff;font-size:13px}
.credential-row select.credential-kind{max-width:min(330px,65vw)}
.credential-row input{width:91px}
.credential-row .credential-grade{width:80px}
.credential-remove{width:28px;height:28px;border:0;border-radius:4px;background:#f3f5f6;color:#697681}
.text-button{margin-top:8px;padding:3px 0;border:0;background:transparent;color:#b94e38;font-size:13px}
.extra-major-chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:8px}
.extra-major-chips:empty{display:none}
.extra-major-chips button{padding:5px 9px;border:1px solid #edcbbf;border-radius:4px;background:#fff6f1;color:#98513d;font-size:13px}
.major-profile .field{max-width:560px}
.filter-message{margin:10px 0;padding:9px 12px;border:1px solid #ebd6ad;border-radius:5px;background:#fffaf0;color:#775a28;font-size:13px;line-height:1.7}
.filter-error{border-color:#e9b6af;background:#fff3f1;color:#b53f2e}
input[aria-invalid=true]{border-color:#d84d3b!important}
.language-rule-summary{margin-top:5px;color:#71543e;font-size:12px;line-height:1.6}
.clear-button{height:42px;padding:0 11px;border:1px solid #dfe4e7;border-radius:7px;background:#fff;color:#657581;font-size:14px;white-space:nowrap}
.clear-button:hover:not(:disabled){color:#cf442d}
.clear-button:disabled{opacity:.45}
.results{padding:28px 0 32px}
.results-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}
.results-title-wrap{display:flex;align-items:center;gap:12px;min-width:0}
.results-search-icon{color:#e9674a;font:34px/1 var(--sans);transform:rotate(-15deg)}
.results-head h1{margin:0;color:var(--ink);font-size:24px;font-weight:700;white-space:nowrap}
.found-summary{margin-left:10px;color:var(--muted);font-size:15px;white-space:nowrap}
.found-summary b{color:#dc382a;font-size:17px}
.page-info{color:var(--muted);font-size:13px;white-space:nowrap}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 15px}
.chip{padding:5px 10px;border:1px solid #f1dfd6;border-radius:5px;background:#fff6f0;color:#93553d;font-size:13px}
.table-note{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 12px;color:var(--muted);font-size:13px}
.legend-unlimited{display:inline-block;margin-right:6px;padding:4px 8px;border-radius:4px;background:#dc3a2f;color:#fff;font-size:13px;font-weight:700}
.table-shell{width:100%;overflow:visible;border-top:1px solid #e66b4f;background:#fff}
.job-table{width:100%;min-width:0;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:16px;line-height:1.6}
.job-table th,.job-table td{padding:16px 12px;border-right:1px solid #f0f2f3;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;overflow-wrap:anywhere}
.job-table thead th{position:sticky;top:0;z-index:5;padding:12px 6px;background:#f47151;color:#fff;text-align:center;font-size:14px;font-weight:700;line-height:1.4;white-space:nowrap;overflow-wrap:normal;vertical-align:middle}
.job-table th:last-child,.job-table td:last-child{border-right:0}
.job-table tbody tr{background:#fff;transition:background .12s}
.job-table tbody tr:hover{background:#fffaf6}
.job-table tbody tr.row-selected{background:#fff3e9}
.job-table col.col-select{width:52px}
.job-table col.col-identity{width:17%}
.job-table col.col-recruit{width:80px}
.job-table col.col-exam-paper{width:126px}
.job-table col.col-location{width:5%}
.job-table col.col-education{width:6%}
.job-table col.col-major{width:14%}
.job-table col.col-fresh{width:5%}
.job-table col.col-politics{width:5%}
.job-table col.col-gender{width:96px}
.job-table col.col-language{width:7%}
.job-table col.col-restrictions{width:10%}
.job-table col.col-score{width:116px}
.job-table col.col-ratio{width:190px}
.job-table col.col-details{width:88px}
.job-table .col-eligibility-compact,.job-table .col-study-compact,.job-table .col-eligibility-mobile{display:none}
.job-table tbody td{color:#354653}
.job-table th.col-select,.job-table td.col-select,.job-table .col-recruit,.job-table .col-score,.job-table .col-details{text-align:center;vertical-align:middle}
.job-table .col-exam-paper{text-align:center}
.job-table td.col-exam-paper{padding-right:4px;padding-left:4px}
.exam-paper-cell .tag{white-space:nowrap}
.job-table th.col-select{padding-right:4px;padding-left:4px;font-size:14px;white-space:nowrap}
.job-select,.comparison-toolbar input{width:20px;height:20px;margin:0;accent-color:#e95b3c;vertical-align:middle;cursor:pointer}
.job-select:disabled{cursor:not-allowed;opacity:.4}
.job-department{color:#334956;font-size:15px;font-weight:700;line-height:1.6}
.job-office{margin-top:3px;color:#6a7982;font-size:14px;line-height:1.55}
.job-name{display:block;margin-top:8px;padding:0;border:0;background:none;color:#223b4b;text-align:left;font:700 17px/1.6 var(--sans);overflow-wrap:anywhere}
.job-name:hover{color:#c84b30;text-decoration:underline;text-underline-offset:3px}
.job-code{margin-top:6px;color:#677784;font:13px/1.5 var(--mono);overflow-wrap:anywhere}
.identity-mobile-facts,.identity-mobile-summary{display:none}
.cell-value{max-height:156px;overflow:hidden;color:#354653;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6}
.location-text{color:#354653;font-size:15px;line-height:1.65}
.secondary-text{margin-top:7px;color:#6a7982;font-size:13px;line-height:1.55}
.numeric-cell{font:16px/1.6 var(--mono);white-space:nowrap;color:#304957}
.object-cell{min-width:0}
.cell-subtext{margin-top:7px;color:#61727d;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.condition-list{display:grid;gap:8px;text-align:left}
.condition-note{color:#465e6b;font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.condition-label{font-size:12px;font-weight:700}
.condition-note .condition-label{border:0;background:none}
.condition-value strong{color:#314b5d;font-weight:700}
.compact-condition-notes{display:none}
.ratio-list{display:grid;gap:3px;color:#425965;font-size:13px;line-height:1.6}
.ratio-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:10px}
.ratio-label,.ratio-value{white-space:nowrap;overflow-wrap:normal}
.ratio-value{font-family:var(--mono);font-variant-numeric:tabular-nums;color:#36515f}
.compact-degree{color:#3e5664;font-size:14px;font-weight:700;line-height:1.6}
.compact-major{margin-top:9px;color:#455c69;font-size:14px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.compact-major-alert{color:#c3372a;font-weight:800}
.tag-list{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;align-items:flex-start}
.cell-tags{justify-content:flex-start}
.tag{display:inline-flex;align-items:center;max-width:100%;padding:4px 6px;border:1px solid transparent;border-radius:5px;background:#f0f3f5;color:#536875;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.tag-fresh,.tag-male,.tag-female,.col-gender .tag{white-space:nowrap;overflow-wrap:normal}
.tag-education{border-color:#e4e9ec;background:#f3f6f7;color:#425967}
.tag-muted,.tag-none{background:#f0f3f5;color:#637680}
.tag-condition{border-color:#f1dfc9;background:#fff5e9;color:#8b5e2a}
.tag-alert{border-color:#f3d5c5;background:#fff1e7;color:#b24c2e}
.tag-fitness-required{border-color:#edb6aa;background:#ffe9e2;color:#ac3020;font-weight:800}
.tag-fitness-exempt{border-color:#b9dacb;background:#eaf6ef;color:#256447;font-weight:700}
.tag-unlimited{padding:6px 8px;border:1px solid #c52f24;background:#de3f31;color:#fff;font-size:14px;font-weight:800;box-shadow:0 2px 0 #b02c23}
.major-explainer{margin-top:9px;color:#b8402c;font-size:13px;font-weight:700;line-height:1.6}
.major-text{max-width:100%;overflow:hidden;color:#3c5360;font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;text-align:left}
.tag-fresh{border-color:#edcc9d;background:#fff2df;color:#915315;font-weight:700}
.tag-political{border-color:#ddd3e5;background:#f3eef7;color:#704a82;font-weight:700}
.tag-male{border-color:#e8b8b3;background:#ffefeb;color:#ac342b;font-weight:800}
.tag-female{border-color:#e7bad5;background:#fbeaf4;color:#983865;font-weight:800}
.tag-cet4,.tag-cet6,.tag-both{border-color:#e9ce9e;background:#fff4df;color:#88601d;font-weight:700}
.tag-other{border-color:#cbdde4;background:#edf5f8;color:#3d6577}
.tag-score{border-color:#ecc99b;background:#fff4e2;color:#94581f;font-size:17px;font-weight:700}
.tag-paper-provincial{border-color:#cbdce9;background:#eef5fa;color:#37617b;font-weight:700}
.tag-paper-city{border-color:#dbd1e8;background:#f3eef8;color:#6c5182;font-weight:700}
.tag-paper-enforcement{border-color:#bcdbcf;background:#eaf6ef;color:#2a6a4d;font-weight:700}
.detail-button{min-height:36px;padding:6px 11px;border:1px solid #f0d2ba;border-radius:6px;background:#fff4e8;color:#985d27;font-size:14px;font-weight:700;white-space:nowrap}
.detail-button:hover{border-color:#e5926b;background:#ffead8;color:#a04224}
.empty{text-align:center;padding:48px 16px;border:1px dashed #e5c3b6;border-radius:8px;background:#fffaf6}
.empty>b{color:#d87354;font-size:36px}
.empty h3{margin:8px;font-size:20px}
.empty p{color:var(--muted);font-size:15px}
.pagination{display:flex;align-items:center;justify-content:center;gap:20px;padding:24px;color:#546977;font:14px var(--mono)}
.pagination button{padding:10px 16px;border:1px solid #dce4e9;border-radius:6px;background:#fff;color:#405c6d;font-size:15px}
.pagination button:hover:not(:disabled){border-color:#edaa93;color:#c2472a}
.pagination button:disabled{color:#a3afb6}
footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:20px 0 28px;color:#778690;font-size:12px}
.button-primary,.button-quiet{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 18px;border:1px solid transparent;border-radius:7px;line-height:1.5;font-size:15px;font-weight:700;white-space:nowrap}
.button-primary{background:#ec5b3e;color:#fff;box-shadow:0 3px 8px #d7442920}
.button-primary:hover:not(:disabled){background:#db4b30}
.button-primary:disabled{background:#e7ebee;color:#8a98a3;box-shadow:none}
.button-quiet{border-color:#dce3e7;background:#fff;color:#526876}
.button-quiet:hover:not(:disabled){background:#f5f7f8;color:#263f4e}
.button-quiet:disabled{color:#a2adb4}
.compare-bar{position:fixed;z-index:25;bottom:20px;left:50%;display:flex;align-items:center;gap:20px;width:max-content;max-width:calc(100vw - 48px);padding:15px 18px;border:1px solid #ebd1c2;border-radius:12px;background:#fffffff5;box-shadow:0 8px 38px #20303b26;transform:translateX(-50%);backdrop-filter:blur(12px)}
.compare-bar-copy{flex:none;min-width:190px}
.compare-bar-copy strong{display:block;font-size:16px;line-height:1.5}
.compare-bar-copy strong span{margin-left:9px;color:#d14f32;font:700 16px var(--mono)}
.compare-bar-copy small{display:block;margin-top:4px;color:#687a87;font-size:12px}
.selected-jobs{display:flex;gap:8px;min-width:0}
.selected-job{display:flex;align-items:center;gap:6px;min-width:0;max-width:205px;padding:7px 8px 7px 11px;border:1px solid #ead8cc;border-radius:6px;background:#fff8f2;color:#5b5f60}
.selected-job span{min-width:0;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.selected-job button{flex:none;width:24px;height:24px;padding:0;border:0;border-radius:4px;background:none;color:#9b705e;font-size:20px;line-height:20px}
.selected-job button:hover{background:#f9e4d6;color:#9f3c23}
.compare-bar-actions{display:flex;flex:none;gap:10px}
.job-dialog{width:min(1120px,calc(100vw - 48px));height:min(1060px,calc(100dvh - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid #d7dfe4;border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 24px 90px #12232c45;overflow:hidden}
.job-dialog::backdrop{background:#1d2c3866;backdrop-filter:blur(3px)}
.dialog-shell{display:flex;flex-direction:column;height:100%;min-height:0}
.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex:none;padding:24px 28px 20px;border-bottom:1px solid var(--line);background:#fff}
.dialog-heading{min-width:0}
.eyebrow{margin:0 0 6px;color:#c45536;font-size:13px;font-weight:700;letter-spacing:.08em}
.dialog-header h2{margin:0;font-size:23px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.dialog-subtitle{margin:9px 0 0;color:#657987;font-size:14px;line-height:1.6}
.dialog-close{display:grid;place-items:center;flex:none;width:42px;height:42px;padding:0;border:1px solid #e2e8ec;border-radius:8px;background:#f6f8f9;color:#536a79;font-size:29px;line-height:1}
.dialog-close:hover{border-color:#e9bcaa;background:#fff1e9;color:#bb482e}
.dialog-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.detail-dialog .dialog-body{padding:0 28px 30px;scroll-padding-top:80px}
.detail-nav{position:sticky;top:0;z-index:2;display:flex;flex-wrap:wrap;gap:8px;margin:0 -28px;padding:13px 28px;border-bottom:1px solid var(--line);background:#fffffff5;backdrop-filter:blur(10px)}
.detail-nav button{padding:7px 11px;border:1px solid #dce5e9;border-radius:6px;background:#f8fafb;color:#4e6675;font-size:14px}
.detail-nav button:hover{border-color:#f0bd9f;background:#fff3e8;color:#b44829}
.detail-section{margin-top:27px;scroll-margin-top:12px}
.detail-section h3{display:flex;align-items:center;gap:10px;margin:0;padding:0 0 12px;border-bottom:2px solid #e6ecef;color:#294554;font-size:18px}
.detail-section h3::before{content:"";width:4px;height:18px;border-radius:2px;background:#ee7755}
.detail-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:0}
.detail-field{min-width:0;padding:15px 0;border-bottom:1px solid #edf0f2}
.detail-field dt{margin:0 0 6px;color:#71818b;font-size:13px;font-weight:700}
.detail-field dd{margin:0;color:#304b5b;font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.detail-field p,.comparison-row p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.detail-field .tag+p,.comparison-row .tag+p{margin-top:8px}
.detail-missing{color:#8f9da7}
.detail-wide{grid-column:1/-1}
.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;padding:14px 28px;border-top:1px solid var(--line);background:#fafcfc}
.dialog-footer>span{color:#6c7f8b;font-size:12px}
.comparison-dialog{width:min(1760px,calc(100vw - 40px));height:calc(100dvh - 48px)}
.comparison-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;padding:13px 24px;border-bottom:1px solid var(--line);background:#fafcfc;font-size:14px}
.comparison-toolbar label{display:flex;align-items:center;gap:9px;cursor:pointer}
.comparison-toolbar span{color:#6a7d88;font-size:13px}
.comparison-body{padding:0}
.comparison-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:15px;line-height:1.75}
.comparison-table th,.comparison-table td{padding:16px 20px;border-right:1px solid #e5e9ed;border-bottom:1px solid #e2e8ec;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.comparison-table th:last-child,.comparison-table td:last-child{border-right:0}
.comparison-table thead th{position:sticky;top:0;z-index:3;background:#fff;box-shadow:0 2px 0 #dbe4e9}
.comparison-table .comparison-label{width:190px;background:#f5f8fa;color:#6a7e8b;font-size:14px}
.comparison-job{position:relative;font-weight:400}
.comparison-job-number{margin-bottom:8px;color:#c15a38;font-size:13px;font-weight:700}
.comparison-department{padding-right:0;color:#526e7f;font-size:14px}
.comparison-job-name{margin:8px 0;color:#244455;font-size:17px;font-weight:700;line-height:1.65}
.comparison-code{color:#7a8b96;font:13px/1.6 var(--mono)}
.comparison-job-facts{margin-top:9px;color:#617d8d;font-size:13px;line-height:1.6}
.comparison-remove{position:absolute;top:12px;right:12px;padding:4px 8px;border:1px solid #e3e8eb;border-radius:4px;background:#fff;color:#7d8b93;font-size:12px}
.comparison-remove:hover{border-color:#eebda7;color:#c14f32}
.comparison-group-title th{padding:10px 20px;background:#eaf0f4;color:#36576b;font-size:15px;font-weight:700}
.comparison-row>th{background:#f7f9fa;color:#607684;font-size:14px;font-weight:600}
.comparison-row>td{color:#354f5f}
.comparison-row.is-different>td{background:#fff6e9}
.comparison-row.is-different>th{box-shadow:inset 3px 0 #ec9867;color:#8c5e37}
.comparison-mobile-roster{display:none}
.toast{position:fixed;z-index:50;left:50%;bottom:122px;max-width:calc(100vw - 40px);padding:13px 18px;border-radius:7px;background:#293e4b;color:#fff;box-shadow:0 8px 30px #0002;font-size:15px;opacity:0;pointer-events:none;transform:translate(-50%,10px);transition:.2s}
.toast.visible{opacity:1;transform:translate(-50%,0)}
[hidden]{display:none!important}
@media(min-width:2500px){
  body{font-size:18px}
  .field select,.combo>input:not([type=checkbox]){font-size:18px}
  .results-head h1{font-size:28px}
  .job-table{font-size:18px}
  .job-department{font-size:17px}
  .job-name{font-size:20px}
  .job-office,.job-code,.secondary-text,.cell-subtext{font-size:15px}
  .tag,.condition-note,.ratio-list{font-size:14px}
  .condition-label{font-size:13px}
  .tag-unlimited{font-size:15px}
  .major-text,.location-text{font-size:17px}
  .detail-button{font-size:16px}
}
@media(max-width:2499px){
  .job-table{font-size:15px}
  .job-table th,.job-table td{padding:14px 10px}
  .job-table col.col-select{width:44px}
  .job-table col.col-identity{width:22%}
  .job-table col.col-recruit{width:72px}
  .job-table col.col-exam-paper{width:116px}
  .job-table col.col-location{width:120px}
  .job-table col.col-education{width:140px}
  .job-table col.col-major{width:auto}
  .job-table col.col-language{width:150px}
  .job-table col.col-restrictions{width:220px}
  .job-table col.col-score{width:96px}
  .job-table col.col-details{width:80px}
  .job-table .col-fresh,.job-table .col-politics,.job-table .col-gender,.job-table .col-ratio{display:none}
  .job-table col.col-eligibility-compact{width:178px;display:table-column}
  .job-table th.col-eligibility-compact,.job-table td.col-eligibility-compact{display:table-cell}
}
@media(max-width:1799px){
  .job-table .col-restrictions{display:none}
  .compact-condition-notes{display:grid;margin-top:12px;padding-top:10px;border-top:1px solid #e2e8ec}
}
@media(max-width:1599px){
  .job-table col.col-identity{width:300px}
  .job-table col.col-recruit{width:72px}
  .job-table col.col-exam-paper{width:104px}
  .job-table col.col-location{width:110px}
  .job-table col.col-score{width:90px}
  .job-table col.col-details{width:76px}
  .job-table .col-education,.job-table .col-major,.job-table .col-language,.job-table .col-eligibility-compact{display:none}
  .job-table col.col-eligibility-compact,.job-table th.col-eligibility-compact,.job-table td.col-eligibility-compact{display:none}
  .job-table col.col-study-compact{display:table-column;width:auto}
  .job-table col.col-eligibility-mobile{display:table-column;width:220px}
  .job-table th.col-study-compact,.job-table td.col-study-compact,.job-table th.col-eligibility-mobile,.job-table td.col-eligibility-mobile{display:table-cell}
  .table-note{align-items:flex-start;flex-direction:column;gap:8px}
}
@media(max-width:1399px){
  .job-table .col-recruit,.job-table .col-exam-paper,.job-table .col-location,.job-table .col-score{display:none}
  .job-table col.col-identity{width:280px}
  .identity-mobile-facts{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
  .mobile-location{width:100%;font-size:14px;color:#516c7c}
  .compare-bar{gap:14px}
  .selected-jobs{display:none}
}
@media(max-width:1050px){
  .job-table col.col-identity{width:34%}
  .job-table col.col-study-compact{width:33%}
  .job-table col.col-eligibility-mobile{width:auto}
}
@media(max-width:760px){
  .wrap{padding:0 14px}
  header{height:64px}
  .brand span{font-size:16px}
  .brand small{font-size:10px}
  .header-meta{font-size:0;gap:0}
  .header-meta i{font-size:12px}
  .header-meta>span{display:none}
  .field select,.combo>input:not([type=checkbox]){font-size:15px}
  .results{padding-top:24px}
  .results-head{align-items:flex-start}
  .results-title-wrap{flex-wrap:wrap;gap:7px}
  .results-head h1{font-size:21px}
  .found-summary{width:100%;margin-left:35px;font-size:14px}
  .found-summary b{font-size:15px}
  .page-info{font-size:12px;padding-top:8px}
  .chip{font-size:12px}
  .table-note{font-size:12px}
  .job-table th,.job-table td{padding:14px 8px}
  .job-table col.col-select{width:38px}
  .job-table col.col-identity{width:auto}
  .job-table col.col-details{width:68px}
  .job-table .col-study-compact,.job-table .col-eligibility-mobile{display:none}
  .job-table col.col-study-compact,.job-table col.col-eligibility-mobile,.job-table th.col-study-compact,.job-table td.col-study-compact,.job-table th.col-eligibility-mobile,.job-table td.col-eligibility-mobile{display:none}
  .identity-mobile-summary{display:block;margin-top:12px;padding-top:10px;border-top:1px solid #e5e9eb}
  .identity-mobile-summary .compact-eligibility{margin-top:12px}
  .job-name{font-size:16px}
  .job-department{font-size:14px}
  .job-office,.job-code{font-size:13px}
  .job-select{width:20px;height:20px}
  .job-table td.col-select,.job-table td.col-details{vertical-align:top;padding-top:20px}
  .detail-button{padding:6px 8px;font-size:14px}
  footer{flex-direction:column;font-size:12px}
  .compare-bar{bottom:12px;max-width:calc(100vw - 24px);gap:12px;padding:12px;border-radius:10px}
  .compare-bar-copy{min-width:0}
  .compare-bar-copy strong,.compare-bar-copy strong span{font-size:15px}
  .compare-bar-copy small{font-size:11px}
  .compare-bar-actions{gap:6px}
  .compare-bar .button-quiet{padding:9px}
  .compare-bar .button-primary{padding:9px 12px;font-size:14px}
  .job-dialog,.comparison-dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);border-radius:10px}
  .dialog-header{padding:18px;gap:14px}
  .dialog-header h2{font-size:19px}
  .dialog-subtitle{font-size:13px}
  .dialog-close{width:38px;height:38px}
  .detail-dialog .dialog-body{padding:0 18px 24px;scroll-padding-top:112px}
  .detail-nav{margin:0 -18px;padding:10px 18px;gap:6px}
  .detail-nav button{padding:6px 8px;font-size:13px}
  .detail-fields{grid-template-columns:1fr}
  .detail-field dd{font-size:16px}
  .dialog-footer{padding:12px 18px;gap:12px}
  .dialog-footer>span{font-size:11px}
  .comparison-toolbar{padding:12px 18px;flex-wrap:wrap;gap:8px}
  .comparison-table .comparison-label{width:140px}
  .comparison-table th,.comparison-table td{padding:13px 12px}
  .comparison-job-name{font-size:15px}
}
@media(max-width:680px){
  .comparison-mobile-roster{display:grid;gap:10px;padding:16px;background:#f7fafb}
  .comparison-roster-job{padding:12px;border:1px solid #dae4ea;border-radius:6px;background:#fff}
  .comparison-roster-job strong{display:block;color:#bf5936;font-size:13px}
  .comparison-roster-job p{margin:5px 0;font-size:15px;font-weight:700}
  .comparison-roster-job small{color:#647c8b;font-size:13px}
  .comparison-table,.comparison-table tbody,.comparison-table tr{display:block;width:100%}
  .comparison-table thead{display:none}
  .comparison-group-title th{display:block;padding:11px 16px;border:0}
  .comparison-row{border-bottom:1px solid #cddce5}
  .comparison-row>th,.comparison-row>td{display:block;width:100%;padding:13px 16px;border-right:0}
  .comparison-row>th{font-size:15px}
  .comparison-row>td::before{content:attr(data-job-label);display:block;margin-bottom:5px;color:#8a684c;font-size:12px;font-weight:700}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
