:root{--ink:#202d40;--muted:#8792a5;--blue:#5264e8;--line:#edf0f6;--bg:#f6f8fc;--green:#19a487;--red:#e76673}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:14px -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;background:var(--bg)}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit;transition:.18s}button:hover{filter:brightness(.96)}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--blue);text-decoration:none}input,select,textarea{width:100%;border:1px solid #e3e7ef;border-radius:8px;padding:11px 12px;background:white;outline:0;color:var(--ink)}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #5264e813}textarea{min-height:90px;resize:vertical}h1,h2,h3,p{margin:0}small,.muted{color:var(--muted)}.shell{display:grid;grid-template-columns:228px 1fr;min-height:100vh}.sidebar{background:white;border-right:1px solid var(--line);position:fixed;top:0;bottom:0;width:228px;display:flex;flex-direction:column;z-index:20;padding:30px 18px 20px}.brand{display:flex;align-items:center;gap:11px;padding:0 12px 34px;font-size:20px;font-weight:750;letter-spacing:1px}.brand small{font-size:10px;letter-spacing:2px;font-weight:500;display:block;margin-top:4px}.brandmark{background:var(--blue);color:white;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-size:24px;box-shadow:0 5px 12px #5264e833}.nav-label{font-size:11px;color:#a2aabc;letter-spacing:2px;margin:9px 16px 14px}.nav{display:flex;align-items:center;gap:13px;padding:13px 16px;width:100%;text-align:left;border-radius:8px;color:#707d92;margin-bottom:6px}.nav.active{background:#eef0ff;color:var(--blue);font-weight:650}.nav svg{width:19px;height:19px}.sidebar-foot{margin-top:auto;padding:18px 10px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.8}.workspace{grid-column:2;min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:15px}.breadcrumbs{font-size:13px;color:#93a0b2}.breadcrumbs b{color:#556176;font-weight:500}.top-right{display:flex;align-items:center;gap:16px;font-size:12px}.avatar{height:34px;width:34px;border-radius:50%;background:#edf0ff;color:var(--blue);display:grid;place-items:center;font-weight:700}.main{padding:30px 34px 40px;max-width:1700px;margin:auto}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:16px}.page-title h1{font-size:24px;letter-spacing:.4px;margin-bottom:8px}.page-title p{font-size:12px;color:var(--muted)}.btn{padding:10px 16px;background:#fff;border:1px solid #e5e9f1;border-radius:7px;display:inline-flex;gap:7px;align-items:center;justify-content:center;white-space:nowrap;font-size:13px}.btn.primary{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 3px 8px #5264e818}.btn.danger{color:var(--red)}.btn.small{padding:6px 10px;font-size:12px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.cards{display:grid;grid-template-columns:repeat(5,1fr);gap:17px;margin-bottom:22px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;position:relative;text-align:left}.stat .icon{position:absolute;right:17px;top:19px;padding:9px;background:#eef0ff;color:var(--blue);border-radius:9px;display:grid;place-items:center}.icon svg{width:19px;height:19px}.stat:nth-child(2) .icon{background:#e9f8f4;color:var(--green)}.stat:nth-child(3) .icon{background:#fff4e7;color:#df9b38}.stat:nth-child(4) .icon{background:#edf5ff;color:#4091de}.stat:nth-child(5) .icon{background:#f4eeff;color:#9767d3}.stat label{display:block;color:#8290a5;font-size:12px;margin-bottom:15px}.stat strong{font-size:30px;letter-spacing:1px;font-weight:650}.stat p{margin-top:12px;color:#9aa4b5;font-size:10px}.stat p span{color:var(--green);margin-right:5px}.dashboard-grid{display:grid;grid-template-columns:1fr 1.35fr .9fr;gap:20px}.panel{background:white;border:1px solid var(--line);border-radius:12px;min-width:0}.panel-head{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-head h2{font-size:14px;font-weight:650}.panel-body{padding:0 22px 22px}.panel-head .muted{font-size:11px}.tabs{display:flex;gap:3px;background:#f6f7fb;padding:3px;border-radius:6px}.tabs button{padding:5px 8px;font-size:10px;color:#929bad;white-space:nowrap}.tabs button.active{color:var(--blue);background:white;box-shadow:0 1px 4px #1925390b;border-radius:4px}.rank{display:flex;gap:11px;align-items:center;margin:22px 0}.rank-number{font-style:italic;color:#a5adbd;font-weight:650;min-width:17px}.rank:first-child .rank-number{color:#e5ac46}.rank .avatar{border-radius:9px;background:#f0f3f9;color:#677c98;width:30px;height:30px;font-size:12px}.rank-content{flex:1}.rank-name{display:flex;justify-content:space-between;font-size:12px;margin-bottom:9px}.track{height:5px;background:#f0f2fb;border-radius:6px;overflow:hidden}.track i{display:block;height:100%;background:var(--blue);border-radius:6px}.quick{background:linear-gradient(135deg,#f0f2ff,#fafbff);border-color:#e7eaff}.quick .panel-body{display:grid;gap:12px}.quick-button{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #eef0fa;padding:15px;border-radius:8px;text-align:left}.quick-button .icon{padding:9px;background:#eef0ff;border-radius:8px;color:var(--blue)}.quick-button b{display:block;font-size:12px;font-weight:600}.quick-button small{font-size:10px;display:block;margin-top:6px}.quick-tip{font-size:10px;line-height:1.8;color:#9da7bf;margin-top:3px}.chart{height:206px;display:flex;align-items:flex-end;gap:28px;padding:15px 20px 27px;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 49px,#f3f5fa 50px);justify-content:center;margin:10px 0 28px}.bar-group{height:100%;display:flex;align-items:flex-end;gap:6px;position:relative;min-width:38px}.bar{width:20px;background:#586bed;border-radius:4px 4px 0 0;min-height:2px;position:relative}.bar.second{background:#a7b7ff}.bar span{position:absolute;top:-19px;font-size:10px;color:#8c98b0;width:100%;text-align:center}.bar-group label{position:absolute;bottom:-24px;left:-20px;right:-20px;text-align:center;font-size:10px;color:#8994a8}.legend{display:flex;gap:18px;justify-content:center;font-size:10px;color:#8590a5}.legend i{display:inline-block;width:7px;height:7px;border-radius:2px;background:var(--blue);margin-right:5px}.legend i.light{background:#a7b7ff}.activity{display:flex;gap:12px;margin-top:19px;font-size:11px}.activity .dot{width:7px;height:7px;background:#b5c0f7;border-radius:50%;margin-top:5px;flex-shrink:0}.activity p{line-height:1.7}.activity small{font-size:10px}.project-row,.job-row{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px;gap:10px}.project-row:last-child,.job-row:last-child{border:0}.project-row strong{font-size:17px;font-weight:600}.project-row small,.job-row small{display:block;font-size:10px;margin-top:6px}.badge{display:inline-flex;border-radius:4px;padding:4px 7px;font-size:10px;background:#eef0ff;color:#6875cd;white-space:nowrap;font-weight:500}.badge.green{background:#e9f7f2;color:#2caa88}.badge.orange{background:#fff3e4;color:#cc974b}.badge.red{background:#fff0f1;color:#de7680}.badge.gray{background:#f0f2f6;color:#98a2b2}.filters{display:flex;gap:12px;padding:17px 20px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:20px;align-items:center}.filters input{max-width:350px;background:#fafbfe}.filters select{width:160px}.filters .count{margin-left:auto;font-size:12px;color:var(--muted)}.list{display:grid;gap:16px}.record{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden}.record-main{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px}.record-title{font-size:16px;display:flex;align-items:center;gap:9px;margin-bottom:12px;flex-wrap:wrap}.record-title b{font-weight:600}.record-sub{color:#96a0b0;font-size:12px;line-height:1.9}.record-numbers{display:flex;gap:32px;margin-left:auto;margin-right:20px}.record-numbers strong{display:block;font-size:22px;font-weight:600;text-align:center}.record-numbers small{display:block;margin-top:7px;font-size:10px;text-align:center}.record-foot{padding:14px 24px;border-top:1px solid #f0f2f7;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#929eb0;gap:12px;background:#fdfdff}.salary{color:var(--blue);font-size:14px;font-weight:600}.link{color:var(--blue);font-size:12px;padding:4px}.link.red{color:var(--red)}.slots{display:flex;gap:15px;flex-wrap:wrap}.slot{display:flex;align-items:center;gap:10px}.ring{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--blue) var(--progress),#e8ecfa 0);position:relative}.ring:before{content:'';position:absolute;inset:4px;background:white;border-radius:50%}.ring span{position:relative;font-size:8px;color:var(--blue)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;background:white}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px}th{text-align:left;background:#fafbfe;color:#8b97aa;font-size:11px;font-weight:500;padding:15px 18px}td{padding:17px 18px;border-top:1px solid var(--line)}td small{display:block;margin-top:6px;font-size:10px}td input[type=checkbox]{width:15px}.empty{padding:65px 20px;text-align:center;color:#a1aabb;background:white;border-radius:10px}.empty b{display:block;color:#68758a;font-size:16px;margin-bottom:10px}.banner{padding:12px 34px;background:#fff3d9;color:#a07628;font-size:12px;display:flex;justify-content:space-between;align-items:center}.banner.blue{background:#eaf0ff;color:#4f67bc}.modal-backdrop{position:fixed;inset:0;background:#182c4866;z-index:100;display:flex;align-items:center;justify-content:center;padding:25px;backdrop-filter:blur(3px)}.modal{background:white;max-width:710px;width:100%;max-height:90vh;border-radius:15px;box-shadow:0 20px 100px #14234738;display:flex;flex-direction:column}.modal header{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;border-bottom:1px solid var(--line)}.modal header h2{font-size:18px}.modal header button{font-size:24px;color:#8c98ad}.modal form{overflow:auto;padding:25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px}.field.full{grid-column:1/-1}.field label{color:#68778e}.field input[type=checkbox]{width:auto}.form-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.form-error{color:var(--red);font-size:12px;line-height:1.8;margin-top:15px}.slot-input{display:grid;grid-template-columns:1.5fr 1fr .8fr 32px;gap:8px;margin-bottom:8px}.checkboxes{display:flex;flex-wrap:wrap;gap:14px;padding:10px 0}.checkboxes label{display:flex;align-items:center;gap:5px}.checkboxes input{width:auto}.login{min-height:100vh;display:grid;grid-template-columns:1.15fr 1fr;background:white}.login-art{background:#edf0fe;display:flex;flex-direction:column;justify-content:center;padding:10%;position:relative;overflow:hidden}.login-art:after{content:'';position:absolute;width:450px;height:450px;right:-100px;bottom:-200px;border:70px solid #dce2fc;border-radius:50%}.login-art .brand{padding:0;margin-bottom:55px}.login-art h1{font-size:38px;line-height:1.5;letter-spacing:2px;margin-bottom:22px}.login-art p{color:#7f8aab;line-height:2;font-size:14px}.mini-preview{margin-top:45px;background:#ffffffbb;border:1px solid white;border-radius:15px;padding:25px;display:flex;gap:35px;z-index:1;width:max-content}.mini-preview strong{font-size:27px;color:var(--blue);display:block;margin-bottom:8px}.mini-preview small{font-size:11px}.login-form{display:flex;flex-direction:column;justify-content:center;max-width:400px;width:100%;margin:auto;padding:30px}.login-form h2{font-size:25px;margin-bottom:10px}.login-form p{font-size:12px;color:var(--muted);margin-bottom:30px}.login-form .field{margin-bottom:20px}.login-form .btn{width:100%;padding:13px}.demo-box{margin-top:25px;padding:16px;background:#f7f8fd;font-size:11px;color:#8a94aa;line-height:1.9;border-radius:8px}.demo-box button{color:var(--blue);padding:3px 5px}.mobile-toggle{display:none}#toast{position:fixed;top:calc(24px + env(safe-area-inset-top, 0px));left:50%;transform:translateX(-50%) translateY(calc(-100% - 40px - env(safe-area-inset-top, 0px)));opacity:0;pointer-events:none;background:#28344c;color:white;padding:12px 24px;border-radius:8px;font-size:13px;z-index:200;transition:.25s;max-width:90vw}#toast.show{transform:translateX(-50%) translateY(0);opacity:1}.thumb{width:65px;height:65px;border-radius:8px;object-fit:cover}.footer-note{margin-top:24px;color:#a6afc0;text-align:center;font-size:10px}.detail-pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.8 inherit;background:#f7f8fc;padding:15px;border-radius:8px}.record-check{width:16px!important}.loading{padding:100px;text-align:center;color:#9ba5b8}@media(min-width:1600px){.dashboard-grid{grid-template-columns:1fr 1.35fr 1fr}}@media(max-width:1200px){.dashboard-grid{grid-template-columns:1fr 1fr}.quick{grid-column:1/-1}.quick .panel-body{grid-template-columns:1fr 1fr}.cards{gap:10px}.stat{padding:17px 12px}.stat .icon{display:none}.record-numbers{gap:15px;margin:0}.record-main{flex-wrap:wrap}.main{padding:25px}.topbar{padding:0 25px}}@media(max-width:800px){.shell{display:block}.sidebar{transform:translateX(-100%);transition:.2s;box-shadow:10px 0 40px #1f305522}.sidebar.open{transform:translateX(0)}.workspace{width:100%}.mobile-toggle{display:block;font-size:22px}.topbar{height:64px;padding:0 16px}.top-right .company{display:none}.main{padding:22px 16px}.page-title{align-items:flex-start}.page-title h1{font-size:22px}.cards{grid-template-columns:repeat(2,1fr)}.cards .stat:last-child{grid-column:1/-1}.stat strong{font-size:27px}.dashboard-grid{grid-template-columns:1fr}.quick{grid-column:auto}.quick .panel-body{grid-template-columns:1fr}.filters{flex-wrap:wrap;padding:12px}.filters input{max-width:none;flex:1;min-width:150px}.filters select{width:120px}.record-main{padding:18px}.record-numbers{width:100%;justify-content:flex-start;gap:30px;margin:5px 0}.record-foot{padding:14px 18px;align-items:flex-start;flex-direction:column}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.modal-backdrop{padding:12px}.modal form{padding:18px}.slot-input{grid-template-columns:1.3fr 1fr .7fr 26px;gap:3px}.slot-input input{padding:9px 4px;font-size:11px}.login{grid-template-columns:1fr}.login-art{display:none}.login-form{padding:30px}.banner{padding:10px 16px}.page-title>.actions .btn{padding:9px;font-size:11px}}

.panel-head h2{flex-shrink:0}.panel-head{flex-wrap:wrap}.panel-head .tabs{margin-left:auto}.sidebar .brand small{font-size:9px;letter-spacing:1px}.mini-select{padding:4px 6px;font-size:10px;width:100px;background:#fafbfe}
@media(max-width:800px){.topbar>.actions{flex-wrap:nowrap;gap:8px}.topbar .breadcrumbs{font-size:0;white-space:nowrap}.topbar .breadcrumbs b{font-size:12px}.top-right{gap:10px;flex-shrink:0}.top-right .link{white-space:nowrap}.top-right>span{white-space:nowrap}}
/* Keep larger recruitment rankings readable without stretching the dashboard. */
.dashboard-grid>.panel:first-child .panel-body{max-height:360px;overflow-y:auto;scrollbar-gutter:stable}
.chart{justify-content:flex-start;overflow-x:auto;overflow-y:hidden;gap:28px;padding-left:24px;padding-right:24px}
.bar-group{flex-shrink:0}
/* A quiet, slim scrollbar for the recruitment leaderboard. */
.dashboard-grid>.panel:first-child .panel-body{scrollbar-width:thin;scrollbar-color:#e2e6ef transparent}
.dashboard-grid>.panel:first-child .panel-body:hover,
.dashboard-grid>.panel:first-child .panel-body:focus-within{scrollbar-color:#b9c2d4 transparent}
.dashboard-grid>.panel:first-child .panel-body::-webkit-scrollbar{width:5px}
.dashboard-grid>.panel:first-child .panel-body::-webkit-scrollbar-track{background:transparent}
.dashboard-grid>.panel:first-child .panel-body::-webkit-scrollbar-thumb{background:#e2e6ef;border-radius:99px}
.dashboard-grid>.panel:first-child .panel-body:hover::-webkit-scrollbar-thumb,
.dashboard-grid>.panel:first-child .panel-body:focus-within::-webkit-scrollbar-thumb{background:#b9c2d4}
.dashboard-grid>.panel:first-child .panel-body::-webkit-scrollbar-button{display:none;width:0;height:0}
.panel-head .chart-metrics{margin-left:0}
.panel-head .chart-metrics button{padding:6px 13px;font-size:12px}
.panel-head .chart-periods{margin-left:auto}
/* Fill the comparison card with a responsive plot area. */
.comparison-panel{display:flex;flex-direction:column;height:420px}
.comparison-panel .panel-head{padding-bottom:14px;gap:12px}
.comparison-panel .panel-body{flex:1;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px;padding-bottom:18px}
.comparison-panel .chart{height:100%;min-height:0;margin:0;padding:24px 8px 32px;gap:18px;scrollbar-width:thin;scrollbar-color:#d3d9e6 transparent}
.comparison-panel .bar-group{flex:1 0 42px;min-width:42px;justify-content:center}
.comparison-panel .bar{width:26px;max-width:100%;border-radius:5px 5px 0 0}
.comparison-panel .bar span{font-size:11px;top:-20px}
.comparison-panel .bar-group label{font-size:11px;bottom:-23px;left:-8px;right:-8px;white-space:nowrap}
.comparison-panel .legend{min-height:16px;align-items:center}
.comparison-panel .chart::-webkit-scrollbar{height:5px}
.comparison-panel .chart::-webkit-scrollbar-track{background:transparent}
.comparison-panel .chart::-webkit-scrollbar-thumb{background:#d3d9e6;border-radius:99px}
@media(max-width:800px){.comparison-panel{height:400px}.comparison-panel .chart{gap:14px}}
.dashboard-grid>.panel:first-child{height:420px;display:flex;flex-direction:column}
.dashboard-grid>.panel:first-child .panel-body{flex:1;min-height:0;max-height:none}
/* Reserve an independent column for interview plan actions. */
.record-foot.plan-foot{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(0,1.6fr);gap:20px;align-items:center}
.plan-foot .record-foot-info{min-width:0;overflow-wrap:anywhere}
.plan-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-width:0}
.plan-controls .slots{min-width:0;flex-wrap:nowrap;overflow-x:auto;gap:18px;padding:4px 0 8px;scrollbar-width:thin;scrollbar-color:#d3d9e6 transparent}
.plan-controls .slot{flex:0 0 auto;white-space:nowrap}
.plan-buttons{display:flex;flex-wrap:nowrap;gap:8px;align-items:center;justify-content:flex-end}
.plan-buttons .btn{flex-shrink:0}
.plan-controls .slots:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:5px}
@media(max-width:1000px){.record-foot.plan-foot{grid-template-columns:minmax(0,1fr);gap:10px}.plan-controls{width:100%}}
@media(max-width:480px){.plan-controls{gap:10px}.plan-buttons{gap:5px}.plan-buttons .btn{padding:7px 8px;font-size:11px}.plan-controls .slot{gap:7px}}
#position-permissions .field{margin-top:16px}
#position-permissions .checkboxes{padding:12px;background:#f8f9fd;border-radius:8px;gap:12px 18px}
.positions-table table{min-width:760px;table-layout:fixed}
.positions-table th:nth-child(1),.positions-table th:nth-child(2){width:13%}
.positions-table th:nth-child(3),.positions-table th:nth-child(4){width:25%}
.positions-table th:nth-child(5){width:9%}
.positions-table th:nth-child(6){width:15%}
.positions-table td{white-space:normal;overflow-wrap:anywhere;line-height:1.8}
.positions-table td:last-child{white-space:nowrap}
/* Consolidated account actions and compact global refresh. */
.top-refresh{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;color:#8290a5;font-size:23px;background:#fafbfe}
.top-refresh:hover{color:var(--blue);background:#eef0ff}
.account-menu{position:relative}
.account-menu summary{list-style:none;display:flex;align-items:center;gap:10px;cursor:pointer;padding:5px 8px;border-radius:9px}
.account-menu summary::-webkit-details-marker{display:none}
.account-menu summary:hover,.account-menu[open] summary{background:#f6f8fc}
.account-menu summary small{display:block;margin-top:4px;font-size:10px}
.account-chevron{color:#98a3b5;transition:transform .15s}
.account-menu[open] .account-chevron{transform:rotate(180deg)}
.account-dropdown{position:absolute;right:0;top:calc(100% + 10px);width:160px;padding:6px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 35px #23345820;z-index:60}
.account-dropdown button{display:block;width:100%;padding:12px;text-align:left;border-radius:6px;font-size:13px}
.account-dropdown button:hover{background:#f4f6fc}
.account-dropdown .logout-action{color:var(--red);border-top:1px solid var(--line)}
.dashboard-quick-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.recruitment-activity{height:420px;display:flex;flex-direction:column}
.recruitment-activity .panel-body{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d3d9e6 transparent}
.recruitment-activity .activity:first-child{margin-top:0}
.project-overview,.project-status{grid-column:1/-1}
.project-cards{display:flex;gap:14px;overflow-x:auto;padding-bottom:20px;scrollbar-width:thin;scrollbar-color:#d3d9e6 transparent}
.project-cards .project-row{flex:0 0 190px;display:flex;flex-direction:column;align-items:flex-start;padding:18px;border:1px solid var(--line);border-radius:10px;background:#fafbfe;gap:20px}
.project-cards .project-row .actions{flex-wrap:nowrap;align-items:flex-start;gap:10px;font-size:12px;line-height:1.6}
.project-cards .project-row .avatar{flex-shrink:0;width:28px;height:28px;font-size:10px}
.project-cards .project-row strong{font-size:28px;color:var(--blue);padding-left:38px}
.project-status .panel-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:26px;max-height:340px;overflow-y:auto;scrollbar-width:thin}
@media(max-width:1200px){.recruitment-activity{grid-column:1/-1;height:auto;max-height:300px}.recruitment-activity .panel-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}.recruitment-activity .activity{margin:0}.project-status .panel-body{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.account-menu summary{gap:7px;padding:3px}.account-menu summary small{display:none}.top-right{gap:8px}.dashboard-quick-actions{gap:7px}.dashboard-grid .recruitment-activity{grid-column:auto;max-height:300px}.recruitment-activity .panel-body{grid-template-columns:1fr}.project-cards .project-row{flex-basis:170px}.project-status .panel-body{grid-template-columns:1fr}.page-title{flex-wrap:wrap}.page-title>.actions{margin-left:auto}}
/* Position status above, project results and registration feed side by side. */
.dashboard-grid .project-status{grid-column:auto;height:420px;display:flex;flex-direction:column}
.dashboard-grid .project-status .panel-body{display:block;flex:1;min-height:0;max-height:none;overflow-y:auto}
.dashboard-grid .project-overview{grid-column:1 / 3;height:440px;display:flex;flex-direction:column}
.project-overview .panel-body{flex:1;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}
.project-metric-note{font-size:10px;line-height:1.6}
.project-chart{height:100%;min-height:0;margin:0;padding:24px 10px 52px;gap:22px;scrollbar-width:thin;scrollbar-color:#d3d9e6 transparent}
.project-chart .bar-group{flex:1 0 116px;min-width:116px;justify-content:center;gap:8px}
.project-chart .bar{width:27px}
.project-chart .bar-group label{left:0;right:0;bottom:-43px;height:32px;font-size:10px;line-height:16px;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.dashboard-grid .recruitment-activity{grid-column:3;height:440px;max-height:none;display:flex;flex-direction:column}
.dashboard-grid .recruitment-activity .panel-body{display:block;flex:1;min-height:0;overflow-y:auto}
.registration-event{padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}
.registration-event:first-child{padding-top:0}
.registration-summary{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.registration-summary time{font-size:10px;color:var(--muted);white-space:nowrap}
.registration-event p{font-size:12px;line-height:1.7;margin-bottom:4px}
.registration-event small{font-size:10px}
.activity-caption{padding:10px 22px 15px;color:var(--muted);font-size:10px}
@media(max-width:1200px){.dashboard-grid .project-status{grid-column:1/-1;height:260px}.dashboard-grid .project-overview{grid-column:1;height:440px}.dashboard-grid .recruitment-activity{grid-column:2}.project-overview .panel-head{gap:10px}.project-overview .panel-head .tabs{margin-left:0}}
@media(max-width:800px){.dashboard-grid .project-status,.dashboard-grid .project-overview,.dashboard-grid .recruitment-activity{grid-column:1}.dashboard-grid .recruitment-activity{height:360px}.project-chart .bar-group{flex-basis:98px;min-width:98px}}
/* Compact header and dashboard panels. */
.topbar{height:51px}
.account-menu summary{padding:2px 6px;gap:8px}
.account-menu summary .avatar{width:28px;height:28px}
.account-menu summary small{margin-top:2px}
.top-refresh{width:29px;height:29px;font-size:21px}
.dashboard-grid .project-status .panel-body{scrollbar-width:thin;scrollbar-color:#e2e6ef transparent;scrollbar-gutter:stable}
.dashboard-grid .project-status .panel-body:hover,.dashboard-grid .project-status .panel-body:focus-within{scrollbar-color:#b9c2d4 transparent}
.dashboard-grid .project-status .panel-body::-webkit-scrollbar{width:5px}
.dashboard-grid .project-status .panel-body::-webkit-scrollbar-track{background:transparent}
.dashboard-grid .project-status .panel-body::-webkit-scrollbar-thumb{background:#e2e6ef;border-radius:99px}
.dashboard-grid .project-status .panel-body:hover::-webkit-scrollbar-thumb{background:#b9c2d4}
.dashboard-grid .project-status .panel-body::-webkit-scrollbar-button{display:none;width:0;height:0}
@media(max-width:800px){.topbar{height:43px}}

/* Keep full card heights; compact only their title and control strips. */
.dashboard-grid .panel-head{padding:6px 22px;gap:4px 10px;flex-shrink:0}
.dashboard-grid .panel-head .chart-metrics button{padding:4px 11px}
.dashboard-grid .panel-head .tabs{padding:2px}
@media(max-width:800px){.dashboard-grid .panel-head{padding:6px 18px}}
.dashboard-grid .panel-head{padding-top:14px;padding-bottom:14px}
.dashboard-grid>.panel:first-child .panel-head,.dashboard-grid .comparison-panel .panel-head{padding-top:12px;padding-bottom:12px;row-gap:2px}
.dashboard-grid .comparison-panel .panel-head{padding-top:13px;padding-bottom:13px}
.dashboard-grid .project-overview .panel-head{padding-top:15px;padding-bottom:15px}
@media(max-width:1200px){.dashboard-grid .project-overview .panel-head{padding-top:19.5px;padding-bottom:19.5px}}
.dashboard-grid .comparison-panel .chart-metrics button{padding-top:2px;padding-bottom:2px}
.dashboard-grid .project-overview .panel-head .mini-select{padding-top:3px;padding-bottom:3px}

/* Job editor: compact pay unit, separate requirements and image preview. */
.salary-input{display:flex;gap:8px}.salary-input input{min-width:0;flex:1}.salary-input select{width:94px;flex-shrink:0}
.requirements-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px;background:#f8f9fc;border-radius:10px}.requirements-grid .field{min-width:0}.requirements-grid label{font-size:12px}
.job-image-upload{display:flex;align-items:center;gap:18px;padding:14px;border:1px solid var(--line);border-radius:12px}.job-image-preview{width:108px;height:88px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px dashed #cbd1e5;border-radius:9px;background:#f8f9ff;cursor:pointer;overflow:hidden;margin:0!important}.job-image-preview span{font-size:25px;color:var(--primary)}.job-image-preview img{width:100%;height:100%;object-fit:contain}.job-image-copy{display:grid;gap:8px;min-width:0}.job-image-copy b{font-size:13px}.job-image-copy small{font-size:11px;color:var(--muted)}.job-image-copy #job-image-error{color:#dc4545}.job-image-copy .actions{gap:14px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.job-image-upload:focus-within{outline:2px solid #dddfff;outline-offset:2px}
@media(max-width:800px){.requirements-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.job-image-upload{gap:12px}.job-image-preview{width:90px;height:82px}}

.salary-input{align-items:center}.salary-values{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.salary-values input{width:0;min-width:0;flex:1}.salary-separator{flex-shrink:0;color:var(--muted)}.salary-suffix{font-size:12px;white-space:nowrap;color:var(--muted)}

.job-editor-modal>header{padding-top:14.5px;padding-bottom:14.5px}

/* Consistent inset arrows for single-choice dropdowns throughout the app. */
select:not([multiple]):not([size]),select[size="1"]{appearance:none;-webkit-appearance:none;background-image:url("/DCIM/chevron.svg");background-repeat:no-repeat;background-position:right 12px center;background-size:12px 12px;padding-right:34px}
.salary-input select{width:108px}.mini-select{width:120px}

.system-icon{display:inline-block;width:1em;height:1em;flex-shrink:0;background:currentColor;mask:var(--icon) center/contain no-repeat;-webkit-mask:var(--icon) center/contain no-repeat;vertical-align:-.12em}.nav .system-icon{width:19px;height:19px}.brandmark .system-icon{width:25px;height:25px}.company-logo{background:transparent;box-shadow:none}.company-logo img{width:38px;height:38px;object-fit:contain;border-radius:8px}.logo-settings{display:flex;gap:20px;align-items:center}.logo-settings>img{width:96px;height:96px;object-fit:contain;border:1px solid var(--line);border-radius:12px}.logo-settings p{margin-bottom:8px}.logo-settings input{margin:12px 0}.top-refresh .system-icon{width:22px;height:22px}

.status-dot{width:12px;height:12px;vertical-align:-2px}.job-image-preview .system-icon{font-size:25px}

.company-code{display:block;font-size:10px;margin-top:3px;color:var(--muted)}.notification-bell{position:relative;display:grid;place-items:center;width:32px;height:32px;font-size:21px}.notification-bell>span:not(.system-icon){position:absolute;right:-4px;top:-4px;background:#e76673;color:white;border:2px solid white;border-radius:20px;font-size:9px;min-width:17px;padding:1px 3px}.notification-bell [hidden],[hidden]{display:none!important}.company-search{display:flex;gap:10px}.company-search input{min-width:0;flex:1}#supplier-company-result{margin-top:12px;line-height:1.8}#supplier-company-result small{display:block}.notification-item{padding:16px 0;border-bottom:1px solid var(--line)}.notification-item>div:first-child{display:flex;gap:12px;justify-content:space-between}.notification-item p{font-size:12px;line-height:1.7;margin:9px 0}.notification-item .actions{margin-top:12px}.notification-item small{font-size:11px}

/* Center the refresh icon without native button padding shifting the grid. */
.top-refresh{padding:0;line-height:1;flex-shrink:0}
.top-refresh .system-icon{display:block;width:18px;height:18px;vertical-align:initial}

.plan-project-name{font-size:13px;color:var(--muted);font-weight:400}.plan-company-source{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px}.plan-location{display:inline-flex;align-items:center;gap:4px;overflow-wrap:anywhere}.plan-location svg{width:13px;height:13px;flex-shrink:0}

.company-combobox{position:relative}.company-options{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:4;max-height:190px;overflow-y:auto;background:white;border:1px solid var(--line);border-radius:9px;box-shadow:0 8px 24px #202d4018;padding:5px}.company-options [role=option]{display:flex;justify-content:space-between;gap:12px;padding:10px;border-radius:6px;cursor:pointer;font-size:13px}.company-options [role=option]:hover,.company-options [aria-selected=true]{background:#eef0ff;color:var(--blue)}#project-company-hint{display:block;margin-top:7px;font-size:11px}

#supplier-company-hint{display:block;margin-top:7px;font-size:11px;line-height:1.6}.company-options [aria-disabled=true]{color:var(--muted);cursor:not-allowed;opacity:.65}

.job-summary{flex:1;min-width:0}
.job-title{font:inherit;font-weight:600;color:inherit;text-align:left;padding:0;overflow-wrap:anywhere;cursor:pointer}
.job-title:hover{color:var(--blue);text-decoration:underline}
.job-title:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:3px}
.job-company-location{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;color:#929eb0;font-size:12px;margin-top:6px}
.job-location{display:inline-flex;align-items:center;gap:5px;overflow-wrap:anywhere}
.job-record .record-sub{overflow-wrap:anywhere}
.job-record .record-numbers{flex-shrink:0}
.job-editor-modal input::placeholder,.job-editor-modal textarea::placeholder{color:#a8b1c1;opacity:1}
.job-detail dl{margin:22px 0;display:grid;gap:18px}
.job-detail dt{font-size:12px;color:var(--muted);margin-bottom:7px}
.job-detail dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}
.job-detail-image h3{font-size:13px;margin-bottom:12px}
.job-detail-image img{display:block;max-width:100%;height:auto;border-radius:8px}

.job-detail-modal>header{height:50px;min-height:50px;flex:0 0 50px;padding:0 26px;box-sizing:border-box}
.job-detail-modal>header h2{line-height:24px}
.job-detail-modal>header button{height:28px;display:flex;align-items:center;justify-content:center;padding:0}

.job-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.job-image-thumbnail{display:block;width:100%;padding:0;aspect-ratio:4/3;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#f7f8fc;cursor:zoom-in}
.job-detail-image .job-image-thumbnail img{width:100%;height:100%;object-fit:contain;border-radius:0}
.job-image-thumbnail:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.job-image-viewer{position:fixed;inset:0;margin:auto;width:fit-content;max-width:94vw;max-height:94vh;padding:42px 12px 12px;border:0;border-radius:12px;background:#182132;overflow:auto}
.job-image-viewer::backdrop{background:#101725cc}
.job-image-viewer>img{display:block;max-width:calc(94vw - 24px);max-height:calc(94vh - 54px);width:auto;height:auto;object-fit:contain;margin:auto}
.image-viewer-close{position:absolute;right:8px;top:5px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:white;border-radius:6px}
.image-viewer-close:hover{background:#ffffff22}

/* Simple underline tabs integrated with the search panel. */
.filters.project-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,1fr);align-items:center;gap:24px;padding:10px 20px;border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden}
.project-status-tabs{grid-column:1;max-width:320px;width:100%;display:flex;align-items:center;gap:8px;margin:0;padding:0;background:white}
.project-status-tab{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;flex:1;height:48px;padding:0 8px;border:0;background:transparent;color:#8b919d;font-size:14px;white-space:nowrap}
.project-status-tab strong{font-size:11px;font-weight:400;min-width:12px;text-align:center;color:#a0a7b3}
.project-status-tab.active{color:var(--ink);font-weight:650}
.project-status-tab.active::after{content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:24px;height:4px;border-radius:4px;background:#3478f6}
.project-status-tab.active strong{color:var(--ink);font-weight:600}
.project-status-tab:focus-visible{outline:2px solid var(--blue);outline-offset:-5px;border-radius:8px}
.filters.project-filters input{grid-column:2;justify-self:end;min-width:0;width:100%;max-width:360px}
.filters.project-filters .count{display:none}
@media(max-width:600px){.filters.project-filters{grid-template-columns:1fr;padding:6px 12px 14px;gap:12px}.filters.project-filters input{grid-column:1;max-width:none}.project-status-tabs{gap:8px}.project-status-tab{min-width:0;flex:1;padding:0 8px;font-size:13px;height:50px;gap:5px}}

.partner-applications{margin-top:24px}.partner-applications h2{font-size:15px;margin:0 0 12px;color:var(--ink)}.partner-applications h2 span{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}

.job-action-popover{position:fixed;z-index:150;width:280px;max-width:calc(100vw - 24px);padding:16px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 6px 28px #20314a26;font-size:13px}
.job-action-popover>b{display:block;font-weight:600}
.job-action-popover>p{margin:10px 0 16px;color:var(--muted);font-size:12px;line-height:1.6}
.job-action-popover>.actions{justify-content:flex-end;gap:8px}

/* Interview session calendar: Monday-first month grid. */
.slot-date-picker{cursor:pointer;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%238792a5' stroke-width='1.5'%3E%3Crect x='2' y='4' width='14' height='12' rx='2'/%3E%3Cpath d='M2 8h14M6 2v4M12 2v4'/%3E%3C/svg%3E") no-repeat right 10px center;padding-right:34px}
.slot-calendar{position:fixed;margin:0;width:330px;max-width:calc(100vw - 24px);padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);box-shadow:0 14px 45px #202d4026;overflow:auto;max-height:calc(100dvh - 24px)}
.slot-calendar::backdrop{background:transparent}
.calendar-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:12px}
.calendar-heading strong{font-size:17px;font-weight:650}.calendar-heading button{width:32px;height:32px;border-radius:8px;font-size:26px;color:var(--muted);display:grid;place-items:center;line-height:1}
.calendar-heading button:hover{background:var(--bg);color:var(--blue)}
.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.calendar-week{margin-bottom:8px;text-align:center;color:var(--muted);font-size:12px}.calendar-week span{padding:4px 0}
.calendar-day{height:36px;min-width:0;border-radius:10px;font-size:14px;border:1px solid transparent;padding:0}.calendar-day.outside{color:#bac1cd}.calendar-day:hover{background:#eef0ff;color:var(--blue)}.calendar-day.today{border-color:var(--blue);color:var(--blue);font-weight:650}.calendar-day.selected{background:var(--blue);color:white;font-weight:650}.calendar-day:focus-visible,.calendar-heading button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.registration-section{font-size:14px;font-weight:650;margin:4px 0 0;padding:10px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.registration-smart{padding:16px;background:#f6f7ff;border:1px solid #e5e8ff;border-radius:12px}.registration-smart textarea{min-height:80px;margin-bottom:10px}.registration-smart small{line-height:1.6}.registration-details{margin:12px 0 20px}.registration-details>div{display:grid;grid-template-columns:110px 1fr;padding:8px 0;gap:12px}.registration-details dt{color:var(--muted)}.registration-details dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}#candidate-hint{display:block;margin-top:6px;color:var(--muted);font-size:11px}

/* Sidebar menu groups follow the recruitment workflow. */
.sidebar-nav{min-height:0;overflow-y:auto;flex-shrink:1}
.nav-group+.nav-group{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.nav-group .nav:last-child{margin-bottom:0}
.sidebar .brand,.sidebar .nav-label,.sidebar-foot{flex-shrink:0}

/* 企业微信接入：沿用 OA 的模态框与表格样式。 */
.wecom-settings{min-width:0}.wecom-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.wecom-settings h3{margin:24px 0 12px}.wecom-table{overflow:auto;max-height:300px}.wecom-table table{width:100%;border-collapse:collapse}.wecom-table th,.wecom-table td{padding:10px;text-align:left;border-bottom:1px solid #e8edf2}.wecom-table small{display:block;max-width:260px;overflow-wrap:anywhere;color:#788394}.wecom-departments{display:flex;gap:8px;flex-wrap:wrap}.wecom-login{margin-top:12px;text-decoration:none;justify-content:center}.wecom-settings .muted{font-size:12px;color:#788394}
