:root{--blue:#1456a8;--ink:#1d2633;--muted:#667085;--line:#d8dee8;--bg:#f5f7fb;--green:#14804a;--red:#c03434;--amber:#a06100}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:15px;line-height:1.65}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}.wrap{width:min(1180px,calc(100% - 32px));margin:0 auto}.top{background:#fff;border-bottom:1px solid var(--line)}.top-inner{display:flex;align-items:center;gap:16px;padding:22px 0}.top h1{margin:0;font-size:26px}.top p{margin:2px 0 0;color:var(--muted)}.site-logo{max-height:58px;max-width:180px;object-fit:contain}.top nav{margin-left:auto;display:flex;gap:12px;flex-wrap:wrap}.top nav a{padding:7px 10px;border:1px solid var(--line);border-radius:6px;background:#fff}.hero{margin:24px 0;display:grid;grid-template-columns:1fr minmax(300px,420px);gap:20px;align-items:stretch;background:#fff;border:1px solid var(--line);border-radius:8px;padding:24px}.home-intro{min-height:92px;padding:6px 0;color:var(--ink);line-height:1.8;font-size:15px}.home-intro.empty{min-height:92px}.hero h2{margin:0 0 8px;font-size:30px}.hero p{margin:0;color:var(--muted)}.search{display:flex;gap:8px}.search input,.form input,.form select,.form textarea,.inline-form input,select{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:#fff;font:inherit}.search button,.form button,.inline-form button,.btn,button{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid var(--blue);border-radius:6px;background:var(--blue);color:#fff;font:inherit;cursor:pointer;text-decoration:none}.btn.ghost,.project-action .muted,button.ghost{background:#fff;color:var(--blue)}.btn.small{padding:7px 10px}.grid{display:grid;grid-template-columns:1fr 320px;gap:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px;margin-bottom:20px}.panel.wide{min-width:0}.panel.narrow{max-width:520px;margin:32px auto}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel h2,.panel-title h2{margin:0;font-size:22px}.project{display:grid;grid-template-columns:1fr auto;gap:16px;padding:16px 0;border-top:1px solid var(--line)}.project:first-of-type{border-top:0}.project h3{margin:0 0 4px;font-size:18px}.meta{color:var(--muted);font-size:13px}.project-action{display:flex;flex-direction:column;gap:10px;align-items:flex-end}.badge{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;padding:3px 9px;background:#eef4ff;color:var(--blue);font-size:13px}.badge.open,.badge.ticket{background:#e9f8ef;color:var(--green)}.badge.closed{background:#f2f4f7;color:#475467}.badge.pending,.badge.muted{background:#fff4e5;color:var(--amber)}.notice-list{padding-left:18px}.notice-list li{margin:8px 0}.pager{margin-top:16px;color:var(--muted);display:flex;gap:10px;flex-wrap:wrap}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.article .content{border-top:1px solid var(--line);padding-top:18px;margin-top:16px}.form{display:grid;gap:14px}.form.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form label{display:grid;gap:6px;color:#344054}.form textarea{min-height:120px}.form .full{grid-column:1/-1}.inline-form{display:flex;gap:8px;margin:10px 0}.sub-panel{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.table-wrap{width:100%;overflow:auto}table{width:100%;border-collapse:collapse}th,td{border-bottom:1px solid var(--line);padding:10px;text-align:left;vertical-align:top}th{background:#f8fafc}.ops{display:flex;gap:8px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.stats div{border:1px solid var(--line);border-radius:8px;padding:14px;background:#fbfcff}.stats b{display:block;font-size:24px}.stats span{color:var(--muted)}.danger{color:var(--red)}.empty{padding:24px;text-align:center;color:var(--muted)}.qr{max-width:180px;border:1px solid var(--line);padding:8px}.pay-box{border:1px solid var(--line);border-radius:8px;padding:16px;background:#fbfcff}.footer{text-align:center;color:var(--muted);padding:28px}.print-body{background:#ddd}.print-actions{position:sticky;top:0;background:#fff;border-bottom:1px solid #ccc;padding:10px;display:flex;gap:10px;z-index:5}.print-page{background:#fff;width:210mm;min-height:297mm;margin:12px auto;padding:18mm;box-shadow:0 2px 12px #999}.print-page.landscape{width:297mm;min-height:210mm}.print-page h1{text-align:center;margin:0 0 18px}.resume-head{display:grid;grid-template-columns:1fr 110px;gap:18px;align-items:start}.photo{width:105px;height:140px;object-fit:cover;border:1px solid #333}.photo.blank{display:grid;place-items:center;color:#777}.print-table th,.print-table td{border:1px solid #333}.attach{break-inside:avoid;margin-top:14px}.attach img{max-width:100%;border:1px solid #333}.door{display:grid;place-items:center;text-align:center}.door h1{font-size:64px}.door h2{font-size:34px}.door p{font-size:28px}.desk-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10mm}.desk-tag{border:1px dashed #333;padding:8px;height:52mm;display:grid;grid-template-columns:42px 1fr;gap:8px;align-items:center}.desk-tag img,.desk-tag div{width:42px;height:54px;border:1px solid #333;object-fit:cover}.desk-tag b,.desk-tag span,.desk-tag small{display:block}.mini-photo{width:38px;height:48px;object-fit:cover}@media print{.no-print{display:none}.print-page{box-shadow:none;margin:0}}@media (max-width:800px){.top-inner,.project{display:block}.top nav{margin:14px 0 0}.hero,.grid,.form.two{grid-template-columns:1fr}.search{display:grid}.project-action{align-items:flex-start;margin-top:12px}.stats{grid-template-columns:repeat(2,1fr)}.wrap{width:min(100% - 20px,1180px)}.panel,.hero{padding:16px}.print-page{width:100%;min-height:auto;margin:0;padding:16px}.resume-head{grid-template-columns:1fr}}

.qr-svg{display:grid;place-items:center;margin:16px 0}.qr-svg svg{width:min(260px,100%);height:auto;border:1px solid var(--line);padding:10px;background:#fff}

.upload-field{display:grid;gap:6px;color:#344054}.upload-box{position:relative;display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:center;min-height:92px;padding:16px;border:1px dashed #98a2b3;border-radius:8px;background:#fbfcff;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s}.upload-box:hover,.upload-box.dragging{border-color:var(--blue);background:#f3f8ff;box-shadow:0 0 0 3px rgba(20,86,168,.08)}.upload-box input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:8px;background:#e9f1ff;color:var(--blue);font-weight:700}.upload-copy{display:grid;gap:2px;color:var(--ink)}.upload-copy b{font-size:15px}.upload-copy small{color:var(--muted);font-size:12px;line-height:1.45}.upload-box.has-file .upload-icon{background:#e9f8ef;color:var(--green)}.upload-box.has-file [data-file-name]{color:var(--green);font-weight:600}

td input,td select{width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;font:inherit}


.desk-page{width:297mm;min-height:210mm;padding:8mm 9mm;overflow:hidden}.desk-page header{display:flex;align-items:center;justify-content:space-between;margin:0 0 5mm;border-bottom:1px solid #222;padding-bottom:2mm}.desk-page h1{font-size:18px;margin:0;text-align:left}.desk-page header span{font-size:12px;color:#333}.desk-grid.compact{display:grid;grid-template-columns:repeat(3,1fr);gap:4mm;align-content:start}.desk-tag.compact{height:40mm;padding:4mm;border:1px dashed #333;display:grid;grid-template-columns:26mm 1fr;gap:4mm;align-items:center;break-inside:avoid;page-break-inside:avoid}.desk-tag.compact img,.desk-tag.compact .desk-photo-empty{width:24mm;height:30mm;border:1px solid #333;object-fit:cover;display:grid;place-items:center;color:#777;font-size:12px}.desk-info{min-width:0;display:grid;gap:1.5mm}.desk-info b{font-size:16px;line-height:1.25}.desk-info span{font-size:14px;line-height:1.25;word-break:break-all}.desk-info small{font-size:11px;line-height:1.2;color:#333;word-break:break-all}@media print{.print-body{background:#fff}.desk-page{box-shadow:none;margin:0;width:297mm;height:210mm;min-height:210mm}.desk-grid.compact,.desk-tag.compact{break-inside:avoid;page-break-inside:avoid}}


.door-page{width:297mm;min-height:210mm;padding:10mm 12mm;overflow:hidden}.door-page .door-main{width:100%;height:100%;min-height:186mm;border:0;display:grid;grid-template-rows:1.1fr .55fr .35fr .45fr .35fr;align-items:center;justify-items:center;text-align:center;padding:8mm}.door-page h1{font-size:74px;line-height:1.05;margin:0;font-weight:900;letter-spacing:0}.door-page h2{font-size:34px;line-height:1.25;margin:0;font-weight:800}.door-page p{font-size:26px;line-height:1;margin:0;font-weight:700}.door-page strong{font-size:36px;line-height:1.15;margin:0;font-weight:900}.door-page em{font-style:normal;font-size:28px;line-height:1;margin:0;font-weight:800}@media print{.door-page{box-shadow:none;margin:0;width:297mm;height:210mm;min-height:210mm}.door-page .door-main{height:186mm;min-height:186mm}}


/* Desk tag print overrides */
.desk-tag.compact .desk-info{width:auto;height:auto;border:0;display:grid;min-width:0;gap:1.2mm;object-fit:initial}.desk-tag.compact .desk-info b,.desk-tag.compact .desk-info span,.desk-tag.compact .desk-info small{width:auto;height:auto;border:0;display:block;overflow-wrap:anywhere}.desk-tag.compact .desk-info b{font-size:15px;line-height:1.2;font-weight:800}.desk-tag.compact .desk-info span{font-size:13px;line-height:1.2}.desk-tag.compact .desk-info small{font-size:10px;line-height:1.15;color:#333}.desk-tag.compact>img,.desk-tag.compact>.desk-photo-empty{width:22mm;height:28mm;border:1px solid #333;object-fit:cover}.desk-page{width:297mm;height:210mm;min-height:210mm;padding:7mm 8mm;overflow:hidden}.desk-page header{height:12mm;margin:0 0 4mm;padding-bottom:2mm}.desk-grid.compact{grid-template-columns:repeat(3,1fr);gap:3mm}.desk-tag.compact{height:39mm;padding:3mm;grid-template-columns:24mm minmax(0,1fr);gap:3mm;align-items:center;overflow:hidden}@media print{@page{size:A4 landscape;margin:0}html,body{margin:0!important;padding:0!important;background:#fff!important}.no-print,.print-actions{display:none!important}.print-page.desk-page{width:297mm!important;height:210mm!important;min-height:210mm!important;margin:0!important;padding:7mm 8mm!important;box-shadow:none!important;break-after:page;page-break-after:always;overflow:hidden!important}.print-page.desk-page:last-child{break-after:auto;page-break-after:auto}.desk-page header{height:12mm;margin:0 0 4mm!important}.desk-grid.compact{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:3mm!important}.desk-tag.compact{height:39mm!important;break-inside:avoid!important;page-break-inside:avoid!important}.desk-tag.compact .desk-info{width:auto!important;height:auto!important;border:0!important}.desk-tag.compact .desk-info *{width:auto!important;height:auto!important;border:0!important}}


.seat-sheet-page{width:210mm;min-height:297mm;padding:10mm 9mm;overflow:hidden}.seat-sheet-page header{margin-bottom:7mm}.seat-sheet-page h1{text-align:center;font-size:20px;line-height:1.3;margin:0 0 5mm;font-weight:800}.seat-sheet-meta{display:grid;grid-template-columns:1fr auto auto auto;gap:8mm;align-items:center;font-size:12px;line-height:1.5}.invigilator{display:flex;justify-content:flex-end;align-items:center;gap:3mm;margin-top:7mm;font-size:12px}.invigilator i,.sign-row i{display:inline-block;border-bottom:1px solid #999;height:1em}.invigilator i{width:45mm}.seat-sheet-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #333;border-left:1px solid #333}.seat-card{height:58mm;border-right:1px solid #333;border-bottom:1px solid #333;display:grid;grid-template-columns:23mm 1fr;gap:4mm;padding:3mm;overflow:hidden;break-inside:avoid;page-break-inside:avoid}.seat-card img,.seat-photo-empty{width:21mm;height:29mm;border:1px solid #999;object-fit:cover;display:grid;place-items:center;color:#777;font-size:11px;background:#fff}.seat-card-main{min-width:0;display:grid;align-content:start;gap:1.4mm;font-size:11px;line-height:1.25}.seat-card-main p{margin:0;word-break:break-all}.seat-card-main p:last-child{display:flex;justify-content:space-between;gap:4mm}.seat-card-main b{font-weight:400;white-space:nowrap}.sign-row{display:grid;grid-template-columns:auto 1fr;gap:3mm;align-items:end;margin-bottom:4mm}.sign-row span{white-space:nowrap}.sign-row i{width:100%}@media print{.seat-sheet-page{width:210mm!important;height:297mm!important;min-height:297mm!important;margin:0!important;padding:10mm!important;box-shadow:none!important;overflow:hidden!important}.seat-card{break-inside:avoid!important;page-break-inside:avoid!important}}


/* Seat sheet compact overrides */
.seat-sheet-page{padding:8mm 9mm}.seat-sheet-page header{margin-bottom:4mm}.seat-sheet-page h1{font-size:18px;margin:0 0 4mm}.seat-sheet-meta{font-size:11px;gap:5mm}.invigilator{margin-top:4mm;font-size:11px}.seat-card{height:45mm;grid-template-columns:19mm minmax(0,1fr);gap:3mm;padding:2.5mm}.seat-card img,.seat-photo-empty{width:18mm;height:25mm}.seat-card-main{font-size:9.5px;line-height:1.18;gap:1mm}.seat-card-main p{white-space:nowrap;overflow:visible;word-break:normal}.seat-card-main p:last-child{display:grid;grid-template-columns:1fr auto;gap:2mm}.seat-card-main b{font-weight:400;white-space:nowrap}.sign-row{grid-template-columns:auto 1fr;gap:2mm;margin-bottom:2mm}.seat-sheet-grid{grid-template-columns:repeat(3,1fr)}@media print{.print-page.seat-sheet-page{padding:8mm 9mm!important}.seat-sheet-page header{margin-bottom:4mm!important}.seat-card{height:45mm!important;grid-template-columns:19mm minmax(0,1fr)!important;padding:2.5mm!important}.seat-card-main{font-size:9.5px!important;line-height:1.18!important}.seat-card-main p{white-space:nowrap!important;overflow:visible!important}.seat-card img,.seat-photo-empty{width:18mm!important;height:25mm!important}}


/* Seat sheet denser print overrides */
.seat-card{height:43mm;grid-template-columns:17mm minmax(0,1fr);gap:2mm;padding:2mm}.seat-card img,.seat-photo-empty{width:16mm;height:22mm}.seat-card-main{font-size:8.6px;line-height:1.15;gap:.8mm}.seat-card-main p{letter-spacing:0}.sign-row{gap:1.5mm;margin-bottom:1.5mm}.seat-sheet-page h1{font-size:17px}.seat-sheet-page header{margin-bottom:3mm}.seat-sheet-meta,.invigilator{font-size:10.5px}@media print{.seat-card{height:43mm!important;grid-template-columns:17mm minmax(0,1fr)!important;gap:2mm!important;padding:2mm!important}.seat-card img,.seat-photo-empty{width:16mm!important;height:22mm!important}.seat-card-main{font-size:8.6px!important;line-height:1.15!important}.seat-sheet-page header{margin-bottom:3mm!important}}


/* Seat sheet landscape reference layout */
.seat-sheet-page{width:297mm;min-height:210mm;height:210mm;padding:5mm 9mm;overflow:hidden}.seat-sheet-page h1{font-size:17px;margin:0 0 4mm}.seat-sheet-page header{margin-bottom:3mm}.seat-sheet-meta{grid-template-columns:1fr auto auto auto;font-size:10.5px;gap:8mm}.invigilator{margin-top:3mm;font-size:10.5px}.seat-sheet-grid{grid-template-columns:repeat(3,1fr);border-top:1px solid #333;border-left:1px solid #333}.seat-card{height:31mm;display:block;padding:2mm 3mm;border-right:1px solid #333;border-bottom:1px solid #333;overflow:hidden}.seat-top{display:grid;grid-template-columns:18mm 1fr;gap:4mm;align-items:start}.seat-card img,.seat-photo-empty{width:17mm;height:23mm}.seat-sign{height:14mm;padding-top:1mm}.sign-row{display:grid;grid-template-columns:auto 1fr;gap:2mm;align-items:end;margin:0;font-size:9px}.seat-card-main{margin-top:1mm;padding-left:21mm;font-size:8.2px;line-height:1.13;display:grid;gap:.4mm}.seat-card-main p{margin:0;white-space:nowrap;overflow:visible;word-break:normal}.seat-card-main p:last-child{display:grid;grid-template-columns:1fr auto;gap:2mm}.seat-card-main b{font-weight:400;white-space:nowrap}@media print{@page{size:A4 landscape;margin:0}.print-page.seat-sheet-page{width:297mm!important;height:210mm!important;min-height:210mm!important;margin:0!important;padding:5mm 9mm!important;box-shadow:none!important;overflow:hidden!important}.seat-card{height:31mm!important;padding:2mm 3mm!important}.seat-card img,.seat-photo-empty{width:17mm!important;height:23mm!important}.seat-card-main{font-size:8.2px!important;line-height:1.13!important}}


/* Seat sheet 3x4 readability overrides */
.seat-card{height:38mm;display:grid;grid-template-rows:19mm 1fr;padding:2.4mm 3mm}.seat-top{grid-template-columns:19mm 1fr;gap:4mm}.seat-card img,.seat-photo-empty{width:18mm;height:24mm}.seat-sign{height:17mm}.seat-card-main{margin-top:0;padding-left:0;font-size:9.5px;line-height:1.2;gap:.7mm;align-content:end}.seat-card-main p{white-space:nowrap}.seat-card-main p:last-child{display:grid;grid-template-columns:1fr auto;gap:3mm}.sign-row{font-size:9.5px}.seat-sheet-page h1{font-size:18px}@media print{.seat-card{height:38mm!important;display:grid!important;grid-template-rows:19mm 1fr!important;padding:2.4mm 3mm!important}.seat-card img,.seat-photo-empty{width:18mm!important;height:24mm!important}.seat-card-main{font-size:9.5px!important;line-height:1.2!important;padding-left:0!important;align-content:end!important}.seat-sign{height:17mm!important}}


/* Seat sheet force lower info area */
.seat-card{height:38mm!important;display:grid!important;grid-template-rows:21mm 1fr!important;padding:2.4mm 3mm!important}.seat-top{height:21mm!important;display:grid!important;grid-template-columns:19mm 1fr!important;gap:4mm!important;align-items:start!important}.seat-card img,.seat-photo-empty{width:18mm!important;height:24mm!important}.seat-sign{height:18mm!important;padding-top:1mm!important}.seat-card-main{grid-row:2!important;margin-top:1.8mm!important;padding-left:0!important;font-size:9.3px!important;line-height:1.18!important;align-content:start!important;display:grid!important;gap:.6mm!important}.seat-card-main p{margin:0!important;white-space:nowrap!important}.seat-card-main p:last-child{display:grid!important;grid-template-columns:1fr auto!important;gap:3mm!important}.sign-row{font-size:9.3px!important}@media print{.seat-card{height:38mm!important;grid-template-rows:21mm 1fr!important}.seat-top{height:21mm!important}.seat-card-main{grid-row:2!important;margin-top:1.8mm!important;align-content:start!important}}


/* Desk tag large 3x3 reference layout */
.desk-page{padding:9mm 16mm;width:297mm;height:210mm;min-height:210mm}.desk-page header{height:11mm;margin:0 0 5mm;padding:0;border:0;justify-content:center;position:relative}.desk-page h1{font-size:16px;font-weight:400;text-align:center}.desk-page header span{position:absolute;right:0;top:1mm;font-size:11px}.desk-grid.compact{grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid #bbb;border-left:1px solid #bbb}.desk-tag.compact{height:48mm;border:0;border-right:1px solid #bbb;border-bottom:1px solid #bbb;padding:5mm 2mm 4mm 10mm;display:grid;grid-template-columns:1fr 29mm;gap:5mm;align-items:start;overflow:hidden}.desk-tag.compact>img,.desk-tag.compact>.desk-photo-empty{width:28mm;height:37mm;border:0;object-fit:cover}.desk-tag.compact .desk-info{display:grid;gap:3mm;border:0;width:auto;height:auto;align-content:start;font-family:SimSun,'Songti SC','Microsoft YaHei',serif;color:#000}.desk-tag.compact .desk-info p{margin:0;font-size:15px;line-height:1.2;white-space:nowrap}.desk-tag.compact .desk-info b{font-size:16px;font-weight:400}.desk-tag.compact .desk-info strong{font-size:14px;font-weight:400;line-height:1.2;white-space:nowrap}@media print{.print-page.desk-page{padding:9mm 16mm!important;width:297mm!important;height:210mm!important;min-height:210mm!important}.desk-page header{height:11mm!important;margin:0 0 5mm!important}.desk-grid.compact{gap:0!important}.desk-tag.compact{height:48mm!important;padding:5mm 2mm 4mm 10mm!important;grid-template-columns:1fr 29mm!important}.desk-tag.compact>img,.desk-tag.compact>.desk-photo-empty{width:28mm!important;height:37mm!important}.desk-tag.compact .desk-info p{font-size:15px!important}.desk-tag.compact .desk-info b{font-size:16px!important}.desk-tag.compact .desk-info strong{font-size:14px!important}}


/* Seat sheet portrait 3x5 preview override */
.seat-sheet-page{width:210mm!important;height:297mm!important;min-height:297mm!important;padding:8mm 9mm!important;overflow:hidden}.seat-sheet-page h1{font-size:18px;margin:0 0 4mm}.seat-sheet-page header{margin-bottom:4mm}.seat-sheet-meta{font-size:10.5px;gap:5mm}.invigilator{margin-top:4mm;font-size:10.5px}.seat-sheet-grid{display:grid;grid-template-columns:repeat(3,1fr)!important;border-top:1px solid #333;border-left:1px solid #333}.seat-card{height:43mm!important;display:grid!important;grid-template-rows:21mm 1fr!important;padding:2.3mm 2.5mm!important;border-right:1px solid #333;border-bottom:1px solid #333;overflow:hidden}.seat-top{height:21mm!important;display:grid!important;grid-template-columns:17mm 1fr!important;gap:2.5mm!important}.seat-card img,.seat-photo-empty{width:16mm!important;height:22mm!important}.seat-sign{height:18mm!important}.seat-card-main{grid-row:2!important;margin-top:1.4mm!important;padding-left:0!important;font-size:8.4px!important;line-height:1.15!important;display:grid!important;gap:.45mm!important;align-content:start!important}.seat-card-main p{white-space:nowrap!important;margin:0!important}.seat-card-main p:last-child{display:grid!important;grid-template-columns:1fr auto!important;gap:1.5mm!important}.sign-row{font-size:8.5px!important;gap:1.5mm!important}@media print{@page{size:A4 portrait;margin:0}.print-page.seat-sheet-page{width:210mm!important;height:297mm!important;min-height:297mm!important;margin:0!important;padding:8mm 9mm!important;box-shadow:none!important;overflow:hidden!important}.seat-card{height:43mm!important;break-inside:avoid!important;page-break-inside:avoid!important}}


/* Desk tag flow pagination */
.desk-page.flow header{height:6mm;margin:0 0 3mm;padding:0;border:0;display:block;position:relative}.desk-page.flow header span{position:absolute;right:0;top:0;font-size:10px}.desk-grid.compact.flow{grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid #bbb;border-left:1px solid #bbb}.desk-room-title{grid-column:1/-1;height:12mm;display:grid;place-items:center;border-right:1px solid #bbb;border-bottom:1px solid #bbb;font-size:16px;font-family:SimSun,'Songti SC','Microsoft YaHei',serif}.desk-grid.compact.flow .desk-tag.compact{height:43mm}@media print{.desk-page.flow header{height:6mm!important;margin:0 0 3mm!important}.desk-room-title{height:12mm!important}.desk-grid.compact.flow .desk-tag.compact{height:43mm!important}}

/* Seat sheet readability bump */
.seat-card-main{font-size:9.4px!important;line-height:1.22!important}.sign-row{grid-template-columns:1fr 2fr!important;align-items:end!important;font-size:9.4px!important}.sign-row span{text-align:center!important;display:block!important}.seat-card-main p:last-child{gap:2mm!important}@media print{.seat-card-main{font-size:9.4px!important;line-height:1.22!important}.sign-row{grid-template-columns:1fr 2fr!important;font-size:9.4px!important}.sign-row span{text-align:center!important}}

/* Seat sheet centered signature label */
.seat-sign{display:grid!important;align-items:start!important;justify-items:stretch!important}.seat-sign .sign-row{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto 1fr!important;gap:2mm!important;width:100%!important;height:100%!important}.seat-sign .sign-row span{text-align:center!important;justify-self:stretch!important;width:100%!important}.seat-sign .sign-row i{width:100%!important;align-self:end!important}@media print{.seat-sign .sign-row{grid-template-columns:1fr!important;grid-template-rows:auto 1fr!important}.seat-sign .sign-row span{text-align:center!important;width:100%!important}.seat-sign .sign-row i{width:100%!important}}

/* Seat sheet hard-centered signature area */
.seat-card .seat-top .seat-sign{position:relative!important;width:100%!important;height:18mm!important;display:block!important}.seat-card .seat-top .seat-sign .sign-row{position:relative!important;display:block!important;width:100%!important;height:100%!important}.seat-card .seat-top .seat-sign .sign-row span{position:absolute!important;top:0!important;left:0!important;right:0!important;width:100%!important;text-align:center!important;display:block!important}.seat-card .seat-top .seat-sign .sign-row i{position:absolute!important;left:12%!important;right:12%!important;bottom:4mm!important;width:auto!important;height:0!important;border-bottom:1px solid #999!important}@media print{.seat-card .seat-top .seat-sign{position:relative!important;width:100%!important}.seat-card .seat-top .seat-sign .sign-row span{left:0!important;right:0!important;text-align:center!important}.seat-card .seat-top .seat-sign .sign-row i{left:12%!important;right:12%!important;width:auto!important}}


.attachment-list{display:grid;gap:6px;color:#344054}.attachment-list ul{list-style:none;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fbfcff;display:grid;gap:8px}.attachment-list li{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.inline-delete{display:inline;margin:0}.link-delete{padding:0;border:0;background:transparent;color:var(--red);font-weight:800;line-height:1;min-width:18px;text-decoration:none;position:relative;z-index:2}.link-delete:hover{text-decoration:underline;background:transparent;color:var(--red)}.upload-box.rich{display:grid;grid-template-columns:1fr;gap:12px;align-items:stretch}.upload-pick{position:relative;display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:center;min-height:64px}.upload-pick input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-files{border-top:1px dashed var(--line);padding-top:10px;display:grid;gap:8px;cursor:default}.upload-files-title{font-size:13px;color:var(--muted)}.upload-files ul{list-style:none;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap}.upload-files li{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 8px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font-size:13px}.upload-files li span,.upload-files li a{max-width:min(360px,100%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-files li em{font-style:normal;color:var(--green);font-size:12px}.upload-files li.meta{color:var(--muted)}


@media (max-width:800px){.upload-box{min-height:auto;padding:12px;cursor:default}.upload-box:hover{box-shadow:none}.upload-pick{grid-template-columns:1fr;gap:10px;min-height:auto}.upload-icon{width:100%;height:42px;border-radius:6px;background:var(--blue);color:#fff}.upload-copy{gap:4px}.upload-copy b{font-size:15px}.upload-copy small{font-size:12px}.upload-pick input[type=file]{height:42px;bottom:auto;z-index:1}.upload-files{padding-top:12px}.upload-files ul{display:grid;grid-template-columns:1fr;gap:8px}.upload-files li{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px;align-items:center;width:100%;padding:8px 10px}.upload-files li[data-selected-file],.upload-files li.meta{grid-template-columns:1fr}.upload-files li span,.upload-files li a{max-width:100%}.link-delete{min-width:40px;height:36px;border:1px solid #f0c4c4;border-radius:6px;background:#fff7f7}.link-delete:hover{background:#fff0f0}.upload-field{gap:8px}}


.check-group{display:grid;gap:8px;color:#344054}.check-group>div{display:flex;gap:10px;flex-wrap:wrap}.check-option{display:inline-flex!important;grid-template-columns:auto!important;align-items:center;gap:6px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink)}.check-option input{width:auto}.modal-backdrop{position:fixed;inset:0;background:rgba(16,24,40,.42);display:none;align-items:center;justify-content:center;padding:18px;z-index:100}.modal-backdrop.is-visible{display:flex}.app-modal{width:min(420px,100%);background:#fff;border-radius:8px;border:1px solid var(--line);box-shadow:0 18px 60px rgba(16,24,40,.24);padding:22px}.app-modal h2{margin:0 0 10px;font-size:20px}.app-modal p{margin:0;color:#475467;line-height:1.7}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}@media (max-width:800px){.modal-backdrop{align-items:flex-end;padding:12px}.app-modal{padding:18px}.modal-actions{display:grid;grid-template-columns:1fr;gap:8px}.modal-actions .btn{width:100%}.check-group>div{display:grid;grid-template-columns:1fr}.check-option{width:100%;min-height:42px}}
.success-follow-box{display:grid;justify-items:center;gap:12px;margin-top:16px}.success-follow-qr{width:min(210px,100%);height:auto;max-height:210px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#fff;padding:8px}.success-follow-notice{width:100%;padding:11px 12px;border:1px solid #cfe0f7;border-radius:8px;background:#f5f9ff;color:#1d4f8f;line-height:1.65;word-break:break-word}.success-qr-preview{grid-column:1/-1;display:inline-grid;justify-items:center;gap:6px;width:max-content;max-width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fbfcff}.success-qr-preview img{width:120px;height:120px;object-fit:contain}


.pending-delete{padding:0;border:0;background:transparent;color:var(--red);font-weight:800;line-height:1;min-width:18px;text-decoration:none;cursor:pointer}.pending-delete:hover{text-decoration:underline}@media (max-width:800px){.upload-files li[data-selected-file]{grid-template-columns:minmax(0,1fr) auto 40px}.pending-delete{min-width:40px;height:36px;border:1px solid #f0c4c4;border-radius:6px;background:#fff7f7}.pending-delete:hover{background:#fff0f0}}


/* Application batch operation row */
.batch-actions{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}.batch-actions select{flex:1 1 360px;min-width:260px;max-width:560px}.batch-actions .meta{white-space:nowrap;align-self:center}@media (max-width:800px){.batch-actions{display:grid;grid-template-columns:1fr;gap:8px}.batch-actions button,.batch-actions select{width:100%;max-width:none;min-width:0}.batch-actions .meta{white-space:normal;font-size:12px}}


/* Exam room form inline layout */
.room-form{grid-template-columns:minmax(120px,1fr) minmax(180px,1.25fr) minmax(110px,.8fr) minmax(180px,1fr);align-items:end}.room-form button{height:47px;width:100%}@media (max-width:900px){.room-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:520px){.room-form{grid-template-columns:1fr}}
.room-manual-form{grid-template-columns:minmax(160px,1.2fr) minmax(150px,1fr) minmax(100px,.7fr) minmax(140px,.9fr) minmax(140px,.9fr) minmax(110px,.7fr) minmax(110px,.7fr) auto;align-items:end}.room-manual-form button{height:47px;white-space:nowrap}@media (max-width:1300px){.room-manual-form{grid-template-columns:repeat(4,minmax(0,1fr))}.room-manual-form button{width:100%}}@media (max-width:760px){.room-manual-form{grid-template-columns:1fr}}
.written-room-card table th,.written-room-card table td{text-align:center!important;vertical-align:middle!important;font-size:15px}.written-room-card table th{font-weight:700}.written-room-card table input,.written-room-card table select{text-align:center;font-size:15px}.written-room-card .room-manual-form label{font-size:15px}.written-room-card .room-manual-form input,.written-room-card .room-manual-form select{text-align:center;font-size:15px}
.interview-room-card table th,.interview-room-card table td{text-align:center!important;vertical-align:middle!important;font-size:15px}.interview-room-card table th{font-weight:700}.interview-room-card table input,.interview-room-card table select{text-align:center;font-size:15px}.interview-room-card .room-form label{font-size:15px}.interview-room-card .room-form input,.interview-room-card .room-form select{text-align:center;font-size:15px}

/* Payment management */
.payment-filter{grid-template-columns:minmax(160px,1.1fr) minmax(220px,1.4fr) minmax(120px,.8fr) minmax(120px,.8fr) minmax(110px,.7fr) auto auto;align-items:end}.payment-row-form{display:inline-flex;margin:0}.payment-row-form button{white-space:nowrap}@media (max-width:1100px){.payment-filter{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:700px){.payment-filter{grid-template-columns:1fr}.payment-filter button,.payment-filter .btn{width:100%}}
/* Project list alignment */
.project-stat{white-space:nowrap}.project-ops-cell{min-width:360px}.project-ops{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;margin:0}.project-ops a{display:inline-flex;align-items:center;height:28px;line-height:1;white-space:nowrap}@media (max-width:900px){.project-stat{white-space:normal}.project-ops-cell{min-width:280px}}

/* Admin application attachment replacement */
.admin-attach-thumb{width:54px;height:72px;object-fit:cover;border:1px solid var(--line);border-radius:4px;background:#fff}.replace-image-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0}.replace-image-form input[type=file]{max-width:260px;padding:8px;border:1px solid var(--line);border-radius:6px;background:#fff;font:inherit}.replace-image-form button{white-space:nowrap}@media (max-width:700px){.replace-image-form{display:grid;grid-template-columns:1fr}.replace-image-form input[type=file]{max-width:none;width:100%}.replace-image-form button{width:100%}.admin-attach-thumb{width:48px;height:64px}}

/* Admin application detail */
.application-detail-table td:first-child{width:120px;min-width:120px;white-space:nowrap;word-break:keep-all;font-weight:600;color:#344054}.application-detail-table td:nth-child(2){word-break:break-word}

/* Unified upload UI */
.upload-field>span{font-weight:600;color:#344054}.upload-box{border-color:#9db7df;background:#f8fbff}.upload-box.rich{padding:14px;border-radius:8px}.upload-pick{grid-template-columns:56px minmax(0,1fr);min-height:68px}.upload-icon{width:56px;height:56px;border-radius:8px;background:#eaf3ff;color:var(--blue);font-weight:700}.upload-copy b{font-size:15px;color:var(--ink)}.upload-copy small{color:var(--muted);white-space:normal}.upload-box.has-file{border-color:#71b58b;background:#f7fffa}.upload-box.has-file .upload-icon{background:#e8f7ee;color:var(--green)}.upload-box.has-file [data-file-name]{color:var(--green);font-weight:700}.upload-files{margin-top:2px;border-top:1px dashed #c8d4e6}.upload-files li{min-height:34px;border-color:#d5deec;border-radius:7px;background:#fff}.upload-files li em{font-weight:600}.replace-image-form{display:grid;grid-template-columns:minmax(280px,1fr) auto;align-items:center;gap:10px;margin:0}.replace-image-form .upload-box.compact{min-height:0;padding:10px;cursor:pointer}.replace-image-form .upload-pick{grid-template-columns:44px minmax(0,1fr);min-height:50px;gap:10px}.replace-image-form .upload-icon{width:44px;height:44px}.replace-image-form .upload-copy small{font-size:12px}.replace-image-form button{height:46px;white-space:nowrap}.replace-image-form input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;max-width:none;padding:0;border:0}.admin-attach-thumb{border-radius:6px}@media (max-width:800px){.upload-box.rich{padding:12px}.upload-pick{grid-template-columns:1fr}.upload-icon{width:100%;height:42px;background:var(--blue);color:#fff}.replace-image-form{grid-template-columns:1fr}.replace-image-form button{width:100%;height:42px}.replace-image-form .upload-pick{grid-template-columns:1fr}.replace-image-form .upload-icon{width:100%;height:40px}}

/* Audit reject reason placeholder */
select option.placeholder-option{color:#98a2b3}

/* Ensure conditional form fields really disappear */
[hidden]{display:none!important}

/* Admin reference layout */
.admin-top{background:var(--blue);border-bottom:0;box-shadow:0 2px 8px rgba(16,24,40,.12)}
.admin-bar{width:100%;padding:0 14px}
.admin-nav{display:flex;align-items:center;gap:2px;min-height:52px;white-space:nowrap;overflow-x:auto}
.admin-nav a,.admin-nav .admin-user{display:inline-flex;align-items:center;height:52px;padding:0 10px;color:rgba(255,255,255,.78);border:0;background:transparent;text-decoration:none;border-radius:0}
.admin-nav a:hover{color:#fff;background:rgba(255,255,255,.08);text-decoration:none}
.admin-brand{font-size:22px;color:#fff;font-weight:700;margin-right:14px;white-space:nowrap}
.admin-user{margin-left:auto;color:rgba(255,255,255,.75)!important}
.admin-wrap{width:100%;max-width:none;padding:14px;background:#f4f6fb;min-height:calc(100vh - 108px)}
.admin-page-title{margin:0 0 14px;font-size:28px;font-weight:500;color:#111827}
.admin-card{border:0;border-radius:6px;box-shadow:0 2px 12px rgba(16,24,40,.06);padding:0;overflow:hidden}
.admin-card>h2,.admin-card>.panel-title{padding:14px 16px;border-bottom:1px solid #e5e7eb;margin:0;font-size:18px;font-weight:500}
.admin-card>.panel-title h2{font-size:18px;font-weight:500}
.admin-card>.table-wrap,.admin-card>.form,.admin-card>.actions,.admin-card>p,.admin-card>.stats{padding:16px}
.admin-card table th,.admin-card table td{border:1px solid #d9dee8;padding:9px 10px}
.admin-card table th{background:#f8fafc;font-weight:700}
.admin-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin:0 0 26px}
.admin-stat-card{border-radius:6px;padding:18px 20px;color:#fff;min-height:88px;box-shadow:0 2px 8px rgba(16,24,40,.12)}
.admin-stat-card b{display:block;font-size:22px;line-height:1.1;margin-bottom:10px}
.admin-stat-card span{font-size:15px;color:#fff}
.admin-stat-card.slate{background:var(--blue)}.admin-stat-card.green{background:#188b55}.admin-stat-card.amber{background:#ffc107}.admin-stat-card.cyan{background:#2f80c7}.admin-stat-card.red{background:#df3145}.admin-stat-card.yellow{background:#ffc107}
.count-badge{display:inline-flex;min-width:22px;height:20px;align-items:center;justify-content:center;border-radius:5px;padding:0 7px;color:#fff;font-size:12px;font-weight:700}
.count-badge.slate{background:#6b7785}.count-badge.green{background:#14804a}.count-badge.amber,.count-badge.yellow{background:#ffc107}.count-badge.red{background:#df3145}.count-badge.cyan{background:#2f80c7}
.badge.rejected{background:#ffe9ec;color:#c03434}.badge.open{background:#e6f6ee;color:#14804a}.badge.muted{background:#edf0f5;color:#667085}
.admin-tabs{display:flex;gap:0;border-bottom:1px solid #d8dee8;margin:0 0 14px;overflow:auto}
.admin-tabs a{padding:12px 18px;border:1px solid transparent;border-bottom:0;background:transparent;color:#1470bd;text-decoration:none;white-space:nowrap}
.admin-tabs a.active{background:#fff;border-color:#d8dee8;color:#111827;border-radius:4px 4px 0 0}
.admin-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
.form.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.admin-filter{grid-template-columns:1.6fr 1.2fr .8fr 1.2fr;align-items:end}
.admin-select-form{grid-template-columns:minmax(260px,620px);align-items:end}
.rule-form{grid-template-columns:1fr 1fr 1.5fr .8fr;align-items:end;padding:16px}
.btn.tiny{height:34px;padding:6px 10px;font-size:13px;border-radius:5px}
.btn.warn{background:#ffc107;border-color:#ffc107;color:#1d2633}.btn.cyan{background:#2f80c7;border-color:#2f80c7;color:#fff}.btn.green{background:#188b55;border-color:#188b55}.btn.slate{background:#6b7785;border-color:#6b7785}.btn.danger{background:#df3145;border-color:#df3145;color:#fff}
.admin-table-actions{gap:6px;min-width:520px}
@media (max-width:1200px){.admin-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-two-col{grid-template-columns:1fr}.admin-filter,.form.three,.rule-form{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-table-actions{min-width:420px}}
@media (max-width:760px){.admin-wrap{padding:10px}.admin-page-title{font-size:24px}.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-nav{min-height:48px}.admin-nav a,.admin-nav .admin-user{height:48px}.admin-brand{font-size:20px}.admin-filter,.form.three,.rule-form,.admin-select-form{grid-template-columns:1fr}.admin-card{border-radius:4px}.admin-table-actions{min-width:320px}.admin-user{margin-left:0}}


/* Admin color rollback: keep original system palette */
.admin-top{background:#fff!important;border-bottom:1px solid var(--line)!important;box-shadow:none!important}
.admin-bar{width:min(1180px,calc(100% - 32px))!important;margin:0 auto!important;padding:0!important}
.admin-nav{min-height:64px!important;gap:12px!important;flex-wrap:wrap!important;overflow:visible!important;padding:10px 0!important}
.admin-brand{font-size:26px!important;color:var(--ink)!important;margin-right:8px!important}
.admin-nav a,.admin-nav .admin-user{height:auto!important;padding:7px 10px!important;border:1px solid var(--line)!important;border-radius:6px!important;background:#fff!important;color:var(--blue)!important}
.admin-nav a:hover{background:#f8fafc!important;color:var(--blue)!important;text-decoration:underline!important}
.admin-user{margin-left:auto!important;color:var(--muted)!important;border-color:transparent!important}
.btn.warn,.btn.cyan,.btn.green,.btn.slate,.btn.danger{background:var(--blue)!important;border-color:var(--blue)!important;color:#fff!important}
.admin-table-actions .btn.ghost{background:#fff!important;color:var(--blue)!important;border-color:var(--line)!important}
@media (max-width:760px){.admin-bar{width:min(100% - 20px,1180px)!important}.admin-nav{display:flex!important;gap:8px!important}.admin-brand{width:100%;font-size:24px!important}.admin-user{margin-left:0!important}}


/* Dashboard no-color counters */
.admin-stat-card,.admin-stat-card.slate,.admin-stat-card.green,.admin-stat-card.amber,.admin-stat-card.cyan,.admin-stat-card.red,.admin-stat-card.yellow{background:#fff!important;color:var(--ink)!important;border:1px solid var(--line)!important;box-shadow:0 2px 8px rgba(16,24,40,.04)!important}
.admin-stat-card b{color:var(--blue)!important}
.admin-stat-card span{color:var(--muted)!important}
.count-badge,.count-badge.slate,.count-badge.green,.count-badge.amber,.count-badge.yellow,.count-badge.red,.count-badge.cyan{display:inline!important;min-width:0!important;height:auto!important;border-radius:0!important;padding:0!important;background:transparent!important;color:var(--ink)!important;font-size:inherit!important;font-weight:400!important}


/* Logo, candidate flow, payment reminders */
.site-logo{width:291px!important;height:80px!important;max-width:min(291px,42vw)!important;max-height:80px!important;object-fit:contain!important}
.form-section-title{margin:4px 0 0;font-size:17px;color:var(--ink)}
.candidate-flow{list-style:none;margin:16px 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.candidate-flow li{border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px;display:flex;align-items:center;gap:8px;min-height:48px;color:var(--muted)}
.candidate-flow li span{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;border:1px solid var(--line);font-size:12px;color:var(--muted);background:#f8fafc;flex:0 0 auto}
.candidate-flow li.done{color:var(--ink);border-color:#bfd0ea;background:#fbfdff}
.candidate-flow li.done span{border-color:var(--blue);background:var(--blue);color:#fff}
.candidate-flow a{font-weight:600}
.payment-alert{border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px 12px;margin:0 0 14px;color:var(--muted)}
@media (max-width:800px){.site-logo{max-width:100%!important;width:auto!important;height:64px!important}.candidate-flow{grid-template-columns:1fr}.candidate-flow li{min-height:44px}}

/* Keep operation table cells aligned */
td.ops,td.admin-table-actions{display:table-cell!important;vertical-align:middle!important;white-space:nowrap}
td.ops .btn,td.admin-table-actions .btn,td.ops>a,td.admin-table-actions>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:34px!important;margin:2px 3px 2px 0!important;vertical-align:middle!important;line-height:1!important;white-space:nowrap!important}
td.admin-table-actions{min-width:620px!important}
@media (max-width:900px){td.admin-table-actions{min-width:460px!important;white-space:normal}td.ops .btn,td.admin-table-actions .btn,td.ops>a,td.admin-table-actions>a{margin-bottom:5px!important}}

/* Interview notice address line */
.interview-site-line{width:172mm;margin:-8mm auto 9mm;border:0.3mm solid #333;min-height:8mm;padding:1.8mm 2.5mm;font-size:10.5pt;line-height:1.35}

/* Admin current page highlight */
.admin-nav a.active{background:#eef5ff!important;color:var(--blue)!important;border-color:#b7cbed!important;font-weight:700!important;text-decoration:none!important}
.admin-nav a.active:hover{background:#e7f0ff!important;text-decoration:none!important}

.field-add-form{grid-template-columns:1.1fr 1.1fr .9fr .55fr repeat(4,auto) auto;align-items:end}.checkline{display:flex!important;align-items:center;gap:6px;white-space:nowrap}.checkline input{width:auto}.field-manager-table table{min-width:980px}.field-manager-table td,.field-manager-table th{padding:7px 8px;vertical-align:middle}.field-manager-table input,.field-manager-table select{width:100%;padding:6px 8px;border:1px solid var(--line);border-radius:4px;background:#fff;font:inherit}.field-manager-table input[type=checkbox]{width:16px;height:16px}.field-manager-table .center{text-align:center}.field-manager-table .sort-input{width:72px}.link-action{white-space:nowrap}
@media (max-width:1000px){.field-add-form{grid-template-columns:repeat(2,minmax(0,1fr))}.field-add-form button{grid-column:1/-1}}

/* Application statistics table */
.stats-table{min-width:1420px}
.stats-table th,.stats-table td{text-align:center;white-space:nowrap}
.stats-table th:first-child,.stats-table td:first-child,.stats-table th:nth-child(2),.stats-table td:nth-child(2){text-align:center;white-space:normal;min-width:130px}
.stats-table .strong-red,.strong-red{color:#d40000!important;font-weight:700}
.stats-table .summary-row td{font-weight:700;background:#f8fbff}

.field-manager-table .field-options-input{min-width:150px;height:54px;resize:vertical;padding:6px 8px;border:1px solid var(--line);border-radius:4px;font:inherit}.field-manager-table table{min-width:1120px}

.job-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}.job-item{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:6px;padding:8px 10px;background:#fff}.job-item form{margin:0}

.deleted-job-box{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}.deleted-job-box h4{margin:0 0 8px;color:var(--muted);font-size:15px}.job-item.deleted{background:#f8fafc;color:var(--muted)}

/* Job recruit count editor */
.job-edit-row{display:flex!important;align-items:flex-end!important;gap:10px!important;flex-wrap:wrap!important;padding:10px 0!important}
.job-edit-form{display:grid!important;grid-template-columns:minmax(220px,1fr) 130px auto!important;align-items:end!important;gap:10px!important;flex:1 1 520px!important}
.job-edit-form label{display:block!important;font-size:13px;color:var(--muted)}
.job-edit-form input,.job-add-form input[type=number]{width:100%!important;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;font:inherit;color:var(--ink)}
.job-add-form{gap:10px!important;align-items:center!important}.job-add-form input[type=number]{max-width:140px}
@media (max-width:700px){.job-edit-form{grid-template-columns:1fr!important}.job-edit-row{align-items:stretch!important}.job-add-form input[type=number]{max-width:none}}

.room-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.room-actions form {
    margin: 0;
}

.seat-warning {
    margin: 12px 0 0;
    color: var(--red);
    font-weight: 700;
}

.home-notices {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.home-notices li {
    display: grid;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.home-notices li:last-child {
    border-bottom: 0;
}

.home-notices span {
    color: var(--muted);
    font-size: 13px;
}

.home-notices .empty-notice {
    color: var(--muted);
}

/* Announcement rich text editor */
.rich-editor-field{display:grid!important;gap:6px}.rich-editor-field>[data-rich-source]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.rich-editor{border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}.rich-toolbar{display:flex;gap:6px;flex-wrap:wrap;padding:8px;border-bottom:1px solid var(--line);background:#f8fafc}.rich-toolbar button{height:32px;padding:0 10px;border-color:#cbd5e1;background:#fff;color:var(--blue);font-size:13px}.rich-toolbar button:hover{background:#eef4ff;text-decoration:none}.rich-editable{min-height:260px;padding:14px 16px;outline:0;background:#fff;color:var(--ink);line-height:1.8}.rich-editable:focus{box-shadow:inset 0 0 0 2px rgba(20,86,168,.14)}.rich-editable h2{font-size:22px;margin:12px 0 8px}.rich-editable p{margin:0 0 10px}.rich-editable ul,.rich-editable ol{margin:0 0 10px 22px;padding:0}@media (max-width:800px){.rich-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rich-toolbar button{width:100%}.rich-editable{min-height:220px;padding:12px}}

/* Field explanation text */
.field-help-input{min-width:240px;min-height:72px;white-space:pre-wrap}.apply-field{align-content:start}.field-label-text{display:inline-flex;align-items:center;gap:4px;line-height:1.4}.required-star{color:#d92d20;font-style:normal;font-weight:700}.field-help{margin:2px 0 0;color:var(--muted);font-size:13px;line-height:1.55;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.field-manager-table textarea{width:100%;resize:vertical}@media (max-width:800px){.field-help{font-size:12px}.field-help-input{min-width:180px}}

/* Rich text editor upgrade */
.rich-editor-field{gap:8px!important}
.rich-editor-field.is-source-mode>[data-rich-source]{position:static!important;width:100%!important;height:300px!important;opacity:1!important;pointer-events:auto!important;display:block!important;font-family:Consolas,'Courier New',monospace;font-size:13px;line-height:1.6}
.rich-editor-field.is-source-mode .rich-editable{display:none!important}
.rich-editor{box-shadow:0 1px 2px rgba(16,24,40,.04)!important}
.rich-toolbar{gap:7px!important;align-items:center!important;padding:10px!important}
.rich-toolbar button,.rich-toolbar select,.rich-toolbar input[type=url]{height:34px;padding:0 10px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:var(--blue);font-size:13px;font:inherit}
.rich-toolbar select{min-width:92px;color:var(--ink)}
.rich-toolbar input[type=url]{min-width:190px;color:var(--ink)}
.rich-toolbar input[type=color]{width:40px;height:34px;padding:3px;border:1px solid #cbd5e1;border-radius:6px;background:#fff}
.rich-editable{min-height:340px!important;padding:18px 20px!important;line-height:1.9!important;font-size:15px!important}
.rich-editable h2{font-size:24px!important;margin:16px 0 10px!important}
.rich-editable h3{font-size:19px;margin:14px 0 8px}
.rich-editable p{margin:0 0 12px!important}
.rich-editable blockquote{margin:0 0 12px;padding:8px 12px;border-left:4px solid var(--blue);background:#f8fbff;color:#344054}
.rich-editable ul,.rich-editable ol{margin:0 0 12px 24px!important;padding:0!important}
.rich-editable hr{border:0;border-top:1px solid var(--line);margin:16px 0}
@media (max-width:800px){.rich-toolbar button,.rich-toolbar select,.rich-toolbar input[type=url],.rich-toolbar input[type=color]{width:100%;min-width:0}.rich-editable{min-height:260px!important;padding:14px!important}}

/* Local Quill rich text editor */
.quill-rich-editor{border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}
.quill-rich-editor .ql-toolbar.ql-snow{border:0;border-bottom:1px solid var(--line);background:#f8fafc}
.quill-rich-editor .ql-container.ql-snow{border:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:15px}
.quill-rich-editor .ql-editor{min-height:360px;line-height:1.85;padding:18px 20px}
.quill-rich-editor .ql-editor h1{font-size:26px}.quill-rich-editor .ql-editor h2{font-size:22px}.quill-rich-editor .ql-editor h3{font-size:18px}
.rich-editor-field>[data-rich-source]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
@media (max-width:800px){.quill-rich-editor .ql-editor{min-height:260px;padding:14px}.quill-rich-editor .ql-toolbar.ql-snow{overflow-x:auto;white-space:nowrap}}

/* Local wangEditor rich text editor */
.wang-rich-editor{border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}
.wang-rich-editor .wang-toolbar{border-bottom:1px solid var(--line);background:#f8fafc}
.wang-rich-editor .w-e-toolbar{background:#f8fafc!important;border:0!important;flex-wrap:wrap!important}
.wang-rich-editor .w-e-text-container{min-height:380px!important;border:0!important}
.wang-rich-editor .w-e-scroll{min-height:380px!important}
.wang-rich-editor .w-e-text-placeholder{font-style:normal;color:var(--muted)}
.wang-rich-editor .wang-editable{min-height:380px}
.rich-editor-field>[data-rich-source]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
@media (max-width:800px){.wang-rich-editor .w-e-text-container,.wang-rich-editor .w-e-scroll,.wang-rich-editor .wang-editable{min-height:280px!important}.wang-rich-editor .w-e-toolbar{overflow-x:auto!important}}

.candidate-notices {
    display: grid;
    gap: 12px;
}

.candidate-notice-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fbfcff;
}

.candidate-notice-item h3 {
    margin: 6px 0 4px;
    font-size: 17px;
}

.candidate-notice-item p {
    margin: 0;
    color: #344054;
}

@media (max-width:800px) {
    .candidate-notice-item {
        grid-template-columns: 1fr;
    }
}

.more-link {
    font-size: 13px;
    white-space: nowrap;
}

/* Rich editor fixed height */
.wang-rich-editor .w-e-text-container{height:420px!important;min-height:420px!important;max-height:420px!important;overflow:hidden!important}
.wang-rich-editor .w-e-scroll{height:420px!important;min-height:0!important;max-height:420px!important;overflow-y:auto!important}
.wang-rich-editor .wang-editable{min-height:0!important;height:420px!important;max-height:420px!important;overflow-y:auto!important}
.rich-editor-field.is-source-mode>[data-rich-source]{height:420px!important;max-height:420px!important;overflow:auto!important}
@media (max-width:800px){.wang-rich-editor .w-e-text-container{height:320px!important;min-height:320px!important;max-height:320px!important}.wang-rich-editor .w-e-scroll,.wang-rich-editor .wang-editable{height:320px!important;max-height:320px!important}.rich-editor-field.is-source-mode>[data-rich-source]{height:320px!important;max-height:320px!important}}

/* Rich editor single scrollbar fix */
.wang-rich-editor .w-e-text-container{height:420px!important;min-height:420px!important;max-height:420px!important;overflow:hidden!important}
.wang-rich-editor .w-e-scroll{height:420px!important;min-height:0!important;max-height:420px!important;overflow-y:auto!important;overflow-x:hidden!important}
.wang-rich-editor .wang-editable,.wang-rich-editor [data-rich-editable]{height:auto!important;min-height:100%!important;max-height:none!important;overflow:visible!important}
@media (max-width:800px){.wang-rich-editor .w-e-text-container{height:320px!important;min-height:320px!important;max-height:320px!important}.wang-rich-editor .w-e-scroll{height:320px!important;max-height:320px!important}.wang-rich-editor .wang-editable,.wang-rich-editor [data-rich-editable]{height:auto!important;max-height:none!important;overflow:visible!important}}

/* Candidate auth title actions */
.candidate-auth-title{margin-bottom:10px}.candidate-auth-title h2{font-size:22px}.candidate-auth-title .btn{white-space:nowrap}

/* Candidate arrow flow */
.candidate-flow-wrap{margin:0 0 18px;overflow-x:auto;padding-bottom:2px}.candidate-flow.arrow-flow{list-style:none;margin:0;padding:0;display:flex;gap:0;min-width:max-content}.candidate-flow.arrow-flow li{position:relative;display:flex;align-items:center;gap:7px;min-height:36px;padding:0 24px 0 18px;border:0;border-radius:0;background:#e9edf2;color:#667085;font-size:13px;font-weight:700;white-space:nowrap}.candidate-flow.arrow-flow li+li{margin-left:4px}.candidate-flow.arrow-flow li::after{content:"";position:absolute;right:-14px;top:0;border-top:18px solid transparent;border-bottom:18px solid transparent;border-left:14px solid #e9edf2;z-index:2}.candidate-flow.arrow-flow li::before{content:"";position:absolute;right:-18px;top:0;border-top:18px solid transparent;border-bottom:18px solid transparent;border-left:14px solid #fff;z-index:1}.candidate-flow.arrow-flow li span{width:22px;height:22px;border-radius:999px;border:0;background:rgba(255,255,255,.75);color:inherit;display:inline-flex;align-items:center;justify-content:center;font-size:12px;flex:0 0 auto}.candidate-flow.arrow-flow li b{font-weight:700}.candidate-flow.arrow-flow li a{color:inherit;text-decoration:none}.candidate-flow.arrow-flow li.done,.candidate-flow.arrow-flow li.current{background:#d71920;color:#fff}.candidate-flow.arrow-flow li.done::after,.candidate-flow.arrow-flow li.current::after{border-left-color:#d71920}.candidate-flow.arrow-flow li.current{box-shadow:inset 0 -3px 0 rgba(0,0,0,.12)}@media (max-width:800px){.candidate-flow-wrap{overflow:visible}.candidate-flow.arrow-flow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}.candidate-flow.arrow-flow li{border-radius:6px;padding:8px 10px;min-height:40px}.candidate-flow.arrow-flow li::before,.candidate-flow.arrow-flow li::after{display:none}.candidate-flow.arrow-flow li+li{margin-left:0}.candidate-flow.arrow-flow li b{white-space:normal;line-height:1.35}}

/* Candidate flow system palette */
.candidate-flow.arrow-flow li.done,.candidate-flow.arrow-flow li.current{background:var(--blue)!important;color:#fff!important}.candidate-flow.arrow-flow li.done::after,.candidate-flow.arrow-flow li.current::after{border-left-color:var(--blue)!important}.candidate-flow.arrow-flow li.current{box-shadow:inset 0 -3px 0 rgba(0,0,0,.12)!important}

/* Wider candidate panels for flow */
.candidate-auth-panel{max-width:980px!important}.candidate-dashboard-panel{max-width:none!important}.candidate-auth-panel .candidate-flow-wrap,.candidate-dashboard-panel .candidate-flow-wrap{margin-top:12px}.candidate-flow.arrow-flow li{font-size:12px!important;padding:0 18px 0 12px!important;gap:5px!important}.candidate-flow.arrow-flow li span{width:20px!important;height:20px!important;font-size:11px!important}@media (min-width:1100px){.candidate-auth-panel .candidate-flow-wrap,.candidate-dashboard-panel .candidate-flow-wrap{overflow-x:visible}.candidate-auth-panel .candidate-flow.arrow-flow,.candidate-dashboard-panel .candidate-flow.arrow-flow{min-width:0;width:100%}.candidate-auth-panel .candidate-flow.arrow-flow li,.candidate-dashboard-panel .candidate-flow.arrow-flow li{flex:1 1 0;justify-content:center;padding-left:8px!important;padding-right:18px!important}}@media (max-width:800px){.candidate-auth-panel{max-width:none!important}.candidate-flow.arrow-flow li{font-size:12px!important;padding:8px 10px!important}}

/* Candidate pledge and job selection */
.pledge-panel{max-width:920px;margin-left:auto;margin-right:auto}.pledge-title{text-align:center;color:#d71920;font-size:22px!important}.pledge-tip{text-align:center;color:#d71920;font-size:13px;line-height:1.8}.pledge-card{margin:18px 0;padding:26px 32px;background:#f5f5f5;color:#344054;line-height:1.9}.pledge-card h3{text-align:center;margin:0 0 18px;font-size:20px;color:#1d2633}.pledge-card p{margin:8px 0}.pledge-card .meta strong{font-weight:800;color:#1d2633}.pledge-actions{display:flex;justify-content:center;gap:18px;align-items:center;margin-top:18px}.pledge-actions .btn{min-width:128px}.pledge-actions button{min-width:280px}.btn.is-disabled,button.is-disabled,button:disabled{opacity:.72;cursor:not-allowed;background:#cfd5dd!important;border-color:#cfd5dd!important;color:#fff!important}.selected-job-summary{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:8px;background:#f8fbff;padding:14px}.selected-job-summary span{display:block;color:var(--muted);font-size:13px}.selected-job-summary b{display:block;color:var(--ink);font-size:15px;margin-top:2px}@media (max-width:800px){.pledge-card{padding:18px}.pledge-actions{display:grid;grid-template-columns:1fr}.pledge-actions .btn,.pledge-actions button{width:100%;min-width:0}.selected-job-summary{grid-template-columns:1fr}.selected-job-summary .btn{width:100%}}

/* Pledge page system color override */
.pledge-title,.pledge-tip{color:var(--blue)!important}

/* Candidate flow extra wide layout */
.panel:has(.candidate-flow-wrap){max-width:1280px!important;width:min(1280px,calc(100vw - 32px))!important;margin-left:auto!important;margin-right:auto!important}.candidate-auth-panel{max-width:1280px!important;width:min(1280px,calc(100vw - 32px))!important}.candidate-dashboard-panel{width:min(1280px,calc(100vw - 32px))!important;margin-left:auto!important;margin-right:auto!important}.panel:has(.candidate-flow-wrap) .candidate-flow-wrap{overflow-x:visible!important}.panel:has(.candidate-flow-wrap) .candidate-flow.arrow-flow{width:100%!important;min-width:0!important}.panel:has(.candidate-flow-wrap) .candidate-flow.arrow-flow li{flex:1 1 0!important;justify-content:center!important;font-size:12px!important;padding-left:6px!important;padding-right:16px!important}@media (max-width:1080px){.panel:has(.candidate-flow-wrap) .candidate-flow-wrap{overflow-x:auto!important}.panel:has(.candidate-flow-wrap) .candidate-flow.arrow-flow{min-width:max-content!important}.panel:has(.candidate-flow-wrap) .candidate-flow.arrow-flow li{flex:0 0 auto!important;padding-left:12px!important;padding-right:18px!important}}@media (max-width:800px){.panel:has(.candidate-flow-wrap),.candidate-auth-panel,.candidate-dashboard-panel{width:calc(100vw - 20px)!important;max-width:none!important}.panel:has(.candidate-flow-wrap) .candidate-flow-wrap{overflow:visible!important}.panel:has(.candidate-flow-wrap) .candidate-flow.arrow-flow{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0!important}.panel:has(.candidate-flow-wrap) .candidate-flow.arrow-flow li{flex:initial!important;justify-content:flex-start!important}}

/* Candidate dashboard balanced layout */
.candidate-dashboard-panel,.candidate-notice-panel{width:min(1280px,calc(100vw - 32px))!important;max-width:1280px!important;margin-left:auto!important;margin-right:auto!important}.candidate-summary{margin:4px 0 14px;color:var(--ink)}.candidate-dashboard-grid{display:grid;grid-template-columns:minmax(280px,420px) 1fr;gap:16px;align-items:stretch;margin-top:16px}.candidate-dashboard-panel .stats{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin:0!important}.candidate-dashboard-panel .stats div{min-height:94px;display:grid;align-content:center}.candidate-action-box{border:1px solid var(--line);border-radius:8px;background:#fbfcff;padding:16px;display:grid;align-content:center;min-height:94px}.candidate-action-box .actions{margin:0;align-items:center}.candidate-action-box .badge{min-height:34px}.candidate-notice-panel{padding:20px!important}.candidate-notices{display:grid;gap:12px}.candidate-notice-item{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:14px 16px;background:#fbfcff}.candidate-notice-item h3{margin:8px 0 3px}.candidate-notice-item p{margin:0}@media (max-width:900px){.candidate-dashboard-grid{grid-template-columns:1fr}.candidate-notice-item{grid-template-columns:1fr}.candidate-notice-item .btn{width:100%}}@media (max-width:800px){.candidate-dashboard-panel,.candidate-notice-panel{width:calc(100vw - 20px)!important;max-width:none!important}.candidate-action-box{padding:12px}}
.candidate-dashboard-panel .stats div{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:18px!important;min-height:94px!important;min-width:0!important;overflow:hidden!important;flex-wrap:nowrap!important}
.candidate-dashboard-panel .stats b{font-size:24px!important;line-height:1.2!important;white-space:nowrap!important;min-width:0!important;flex:0 1 auto!important}
.candidate-dashboard-panel .stats span{font-size:15px!important;white-space:nowrap!important;flex:0 0 auto!important}
@media (max-width:420px){.candidate-dashboard-panel .stats div{gap:14px!important;padding-left:12px!important;padding-right:12px!important}}
@media (max-width:800px){.candidate-action-box.wait-audit-box{display:none!important}}

/* Candidate six-step flow */
.candidate-flow.arrow-flow.six-flow li{font-size:14px!important;min-height:42px!important;padding-left:16px!important;padding-right:28px!important}.candidate-flow.arrow-flow.six-flow li::after{border-top-width:21px!important;border-bottom-width:21px!important}.candidate-flow.arrow-flow.six-flow li::before{border-top-width:21px!important;border-bottom-width:21px!important}.candidate-flow.arrow-flow.six-flow li span{font-size:20px!important;font-style:italic;font-weight:800!important;background:transparent!important;color:inherit!important;width:auto!important;height:auto!important;min-width:22px!important}.candidate-flow.arrow-flow.six-flow li b{font-size:14px!important}.panel:has(.six-flow) .candidate-flow.arrow-flow li{flex:1 1 0!important}@media (max-width:800px){.candidate-flow.arrow-flow.six-flow{grid-template-columns:1fr!important}.candidate-flow.arrow-flow.six-flow li{min-height:42px!important;padding:9px 12px!important}.candidate-flow.arrow-flow.six-flow li span{font-size:18px!important}}

/* Application selected job confirmation */
.apply-confirm-summary{grid-template-columns:1fr auto!important;align-items:start!important;background:#fff7f7!important;border-color:#f3d1d1!important;padding:18px 22px!important}.apply-confirm-summary .summary-lines{display:grid;gap:7px}.apply-confirm-summary p{margin:0;color:var(--ink);font-size:15px;line-height:1.7}.apply-confirm-summary p b{display:inline-block;min-width:86px;color:var(--ink)}@media (max-width:800px){.apply-confirm-summary{grid-template-columns:1fr!important}.apply-confirm-summary .btn{width:100%}}

/* Center selected application summary */
.apply-confirm-summary{align-items:center!important;min-height:128px!important}.apply-confirm-summary .summary-lines{justify-self:center!important;width:min(640px,100%)!important}.apply-confirm-summary .btn{align-self:center!important}
@media (max-width:800px){.apply-confirm-summary .summary-lines{justify-self:stretch!important;width:100%!important}.apply-confirm-summary .btn{justify-self:stretch!important}}
/* Center the selected application confirmation block as a compact group. */
.apply-confirm-summary{
    grid-template-columns:minmax(0, auto) auto!important;
    justify-content:center!important;
    align-items:center!important;
    gap:28px 56px!important;
}
.apply-confirm-summary .summary-lines{
    width:max-content;
    max-width:100%;
    justify-self:center;
}
.apply-confirm-summary .btn{
    justify-self:center;
    align-self:center;
}
@media (max-width:800px){
    .apply-confirm-summary{
        grid-template-columns:1fr!important;
        justify-content:stretch!important;
    }
    .apply-confirm-summary .summary-lines{
        width:100%;
        justify-self:stretch;
    }
}

/* Submit waiting modal */
.submit-wait-modal{text-align:center}.submit-wait-modal h2{color:var(--blue)}.submit-wait-modal::before{content:"";display:block;width:34px;height:34px;margin:0 auto 14px;border:3px solid #d8e4f7;border-top-color:var(--blue);border-radius:50%;animation:submitSpin .8s linear infinite}@keyframes submitSpin{to{transform:rotate(360deg)}}
.candidate-exam-detail{display:block!important}.candidate-exam-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.candidate-exam-head h3{margin:0!important;font-size:20px}.candidate-exam-detail .actions{margin:12px 0}.candidate-exam-detail h4{margin:14px 0 6px;font-size:17px}.candidate-project-notices{margin:0}.candidate-project-notices li{display:flex;justify-content:space-between;gap:12px}.candidate-project-notices span{color:var(--muted);font-size:13px;white-space:nowrap}@media (max-width:700px){.candidate-exam-head{align-items:flex-start;flex-direction:column}.candidate-project-notices li{display:block}.candidate-project-notices span{display:block;margin-top:2px}}
.home-notice-groups{display:grid;gap:20px}.notice-group h3{margin:0 0 10px;color:var(--blue);font-size:18px;font-weight:700;display:inline-block;border-bottom:3px solid var(--blue);padding-bottom:6px}.notice-group ul{list-style:none;margin:0;padding:0;border-top:1px dashed var(--line)}.notice-group li{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px dashed var(--line)}.notice-group li a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}.notice-group li span{color:var(--muted);font-size:13px;white-space:nowrap}.notice-group .empty-notice{display:block;color:var(--muted);text-align:left}
/* Candidate application confirmation actions. */
.apply-confirm-summary p b{min-width:120px!important}
.apply-confirm-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
    justify-self:center;
    align-self:center;
}
.apply-confirm-actions .btn{
    white-space:nowrap;
    text-align:center;
}
@media (max-width:800px){
    .apply-confirm-actions{
        width:100%;
        flex-direction:row;
        justify-content:center;
        flex-wrap:wrap;
    }
    .apply-confirm-actions .btn{
        width:auto!important;
        min-width:128px;
    }
}
.admin-attach-preview{padding:0;border:0;background:transparent;cursor:pointer;display:inline-flex}.admin-attach-preview:hover{background:transparent}.admin-attach-preview:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.image-preview-modal{width:min(960px,calc(100vw - 36px));max-height:calc(100vh - 36px);display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px}.image-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.image-preview-head h2{margin:0;font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-preview-full{max-width:100%;max-height:calc(100vh - 150px);object-fit:contain;border:1px solid var(--line);border-radius:6px;background:#f8fafc;justify-self:center}.image-preview-backdrop{z-index:120}.admin-attach-thumb{max-width:68px;max-height:88px;object-fit:cover;border:1px solid var(--line);background:#f8fafc}.application-photo-row td{vertical-align:middle!important}.application-photo-box{display:grid;grid-template-columns:auto minmax(320px,1fr);gap:16px;align-items:center}.application-photo-preview{display:inline-flex!important}.application-photo-thumb{width:96px;height:128px;object-fit:cover;border:1px solid var(--line);border-radius:4px;background:#f8fafc}.application-photo-replace{max-width:720px}@media (max-width:800px){.application-photo-box{grid-template-columns:1fr}.application-photo-replace{max-width:none}}
.home-notices li{grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:12px}.home-notices a{white-space:normal;overflow:visible;text-overflow:clip;word-break:break-word}.home-notices span{white-space:nowrap;text-align:right}@media (max-width:800px){.home-notices li{grid-template-columns:1fr}.home-notices span{text-align:left}}
.home-notices li{grid-template-columns:1fr}.home-notices span{text-align:left;white-space:normal}
.stat-count-link{color:var(--blue);font-weight:700;text-decoration:none;display:inline-block;min-width:18px}.stat-count-link:hover{text-decoration:underline}
/* Center project management table content. */
.admin-exams-card table th,
.admin-exams-card table td{
    text-align:center!important;
    vertical-align:middle!important;
}
.admin-exams-card table th{
    font-size:16px;
    font-weight:700;
}
.admin-exams-card .ops{
    justify-content:center;
    align-items:center;
}
.admin-exams-card .meta{
    display:block;
    text-align:center;
}
/* Center dashboard overview text. */
.admin-dashboard-page .admin-stat-card{
    text-align:center;
    display:grid;
    place-content:center;
}
.admin-dashboard-page a.admin-stat-card{
    text-decoration:none;
    color:inherit;
}
.admin-dashboard-page a.admin-stat-card:hover{
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    transform:translateY(-1px);
}
.admin-dashboard-page table th,
.admin-dashboard-page table td{
    text-align:center!important;
    vertical-align:middle!important;
}
.admin-dashboard-page table th{
    font-weight:700!important;
}
.admin-dashboard-page .link-action{
    display:inline-flex;
    justify-content:center;
}
.inline-action-form{display:inline-flex;align-items:center;gap:8px;margin:0;vertical-align:middle}.inline-action-form .inline-field{display:inline-flex;align-items:center;gap:6px;margin:0;color:var(--ink);white-space:nowrap}.inline-action-form .inline-field input{width:88px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;font:inherit}
/* Center notice management table content. */
.admin-notices-table table th,
.admin-notices-table table td{
    text-align:center!important;
    vertical-align:middle!important;
}
.admin-notices-table .ops{
    justify-content:center;
    align-items:center;
}
/* Keep candidate registration row actions in one line. */
td.candidate-ops{
    min-width:300px!important;
    white-space:nowrap!important;
}
td.candidate-ops form{
    display:inline-flex!important;
    margin:0!important;
    vertical-align:middle!important;
}
td.candidate-ops .btn,
td.candidate-ops button{
    white-space:nowrap!important;
}
/* Candidate registration filter: keep controls in one row on wide screens. */
.candidate-filter{
    grid-template-columns:minmax(260px,2fr) minmax(150px,.8fr) minmax(120px,.6fr) minmax(90px,.45fr) minmax(90px,.45fr);
    align-items:end;
}
.candidate-filter .btn,
.candidate-filter button{
    width:100%;
    min-height:42px;
}
@media (max-width:1100px){
    .candidate-filter{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width:760px){
    .candidate-filter{
        grid-template-columns:1fr;
    }
}
.admin-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 16px;border-top:1px solid #e5e7eb;background:#fbfcff}.pager-summary{color:var(--muted);font-size:13px}.pager-pages{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}.pager-page{min-width:34px;height:34px;padding:0 10px;border:1px solid #d6e0ef;border-radius:6px;background:#fff;color:var(--blue);display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:14px}.pager-page:hover{text-decoration:none;border-color:var(--blue);background:#f3f8ff}.pager-page.current{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:700}.pager-page.disabled{color:#98a2b3;background:#f8fafc;border-color:#e5e7eb;cursor:not-allowed}.pager-ellipsis{color:#98a2b3;padding:0 4px}.pager-size{margin:0;display:flex;align-items:center}.pager-size label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.pager-size select{width:auto;min-width:104px;height:34px;padding:4px 26px 4px 10px;border:1px solid #d6e0ef;border-radius:6px;background:#fff;color:var(--ink)}@media (max-width:760px){.admin-pager{align-items:stretch}.pager-summary,.pager-pages,.pager-size{width:100%;justify-content:center}.pager-size label{width:100%;justify-content:center}.pager-size select{flex:0 0 auto}}
/* Center candidate registration table content. */
.candidate-table table th,
.candidate-table table td{
    text-align:center!important;
    vertical-align:middle!important;
}
.candidate-table input[type="checkbox"]{
    margin-left:auto;
    margin-right:auto;
}
.candidate-table .candidate-ops{
    text-align:center!important;
}
/* Center application management list content. */
.application-list-table table th,
.application-list-table table td{
    text-align:center!important;
    vertical-align:middle!important;
}
.application-list-table table th{
    font-weight:700!important;
}
.application-list-table .ops{
    justify-content:center;
    align-items:center;
}
.application-list-table .status-stack{
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
}
.audit-title{font-size:20px;font-weight:700;margin:12px 0 4px;color:var(--ink)}
.family-view-table{width:100%;border-collapse:collapse;margin:2px 0}
.family-view-table th,.family-view-table td{border:1px solid var(--line);padding:8px;text-align:center}
.family-edit-wrap{margin-top:6px}
.family-edit-table th,.family-edit-table td{text-align:center;vertical-align:middle}
.family-edit-table input{width:100%;min-width:120px}
.family-field>span{display:block;margin-bottom:6px;font-weight:600}
.family-field>span em{color:#d33;font-style:normal;margin-left:3px}
.panel .form.two{min-width:0}
.apply-field,.upload-field,.selected-job-summary,.apply-confirm-summary{min-width:0}
.apply-field input,.apply-field select,.apply-field textarea{min-width:0;max-width:100%}
@media (max-width:800px){
    html,body{max-width:100%;overflow-x:hidden}
    .top-inner{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px!important;padding:14px 0!important}
    .top h1{font-size:21px!important;line-height:1.25}
    .top p{font-size:12px!important;line-height:1.35}
    .top nav{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin:8px 0 0!important}
    .top nav a{min-width:0;text-align:center;padding:7px 6px!important;white-space:nowrap}
    .site-logo{width:auto!important;max-width:74px!important;height:54px!important}
    .panel:has(form[data-apply-draft]){width:calc(100vw - 20px)!important;max-width:none!important;padding:14px!important;overflow:hidden}
    form[data-apply-draft].form.two{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
    form[data-apply-draft] .full{grid-column:1/-1!important}
    form[data-apply-draft] label,
    form[data-apply-draft] .apply-field,
    form[data-apply-draft] .upload-field{width:100%;min-width:0}
    form[data-apply-draft] input,
    form[data-apply-draft] select,
    form[data-apply-draft] textarea{width:100%!important;max-width:100%!important;min-width:0!important}
    .apply-confirm-summary{padding:14px!important;min-height:0!important}
    .apply-confirm-summary p{display:grid!important;grid-template-columns:98px minmax(0,1fr);gap:4px;font-size:14px!important;line-height:1.55!important;word-break:break-word}
    .apply-confirm-summary p b{min-width:0!important;width:auto!important}
    .apply-confirm-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%}
    .apply-confirm-actions .btn{width:100%!important}
    .upload-box.rich{max-width:100%;overflow:hidden}
    .upload-copy,.upload-copy small{min-width:0;word-break:break-word;overflow-wrap:anywhere}
    .family-edit-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
    .family-edit-table{min-width:620px}
    .family-edit-table input{min-width:0}
}
.job-add-form textarea{min-width:280px;min-height:42px}
.job-edit-form .job-requirement-field{min-width:320px;flex:1 1 320px}
.job-edit-form .job-requirement-field textarea{width:100%;min-height:54px}
.job-item.deleted small{display:block;color:var(--muted);margin-top:4px;line-height:1.5}
.admission-page,.interview-page{position:relative!important;min-height:297mm!important;padding-bottom:18mm!important;box-sizing:border-box!important}.ticket-print-time{position:absolute!important;top:-13mm!important;right:0!important;font-size:8px!important;line-height:1.2!important;text-align:right!important;color:#333!important;margin:0!important}
.admission-center-cell{text-align:center!important}
.print-footer-url{position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;text-align:left;font-size:11px;color:#333;line-height:1.4}
.job-publish-panel .panel-title{margin-bottom:12px}.job-publish-panel .panel-title h3{margin:0}.job-publish-rows{display:grid;gap:12px}.job-publish-row{border:1px solid var(--line);border-radius:6px;padding:12px;background:#fbfcff}.job-row-actions{margin:0;justify-content:flex-end}.job-save-actions{justify-content:flex-end;margin-top:12px}.job-edit-form{grid-template-columns:minmax(220px,1fr) 130px minmax(320px,1.4fr)!important}.job-edit-form textarea{width:100%;min-height:54px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;font:inherit;color:var(--ink)}@media (max-width:700px){.job-publish-panel .panel-title{display:grid;align-items:start}.job-publish-panel .panel-title .btn,.job-save-actions .btn{width:100%}.job-row-actions{justify-content:stretch}.job-row-actions .btn{width:100%}.job-edit-form{grid-template-columns:1fr!important}}
