.candidate-app{height:auto;min-height:100dvh;background:#f3f5f8;color:#182638;overflow:auto}
.candidate-app .app-header{background:#101522;color:#fff;border-bottom:2px solid #b52d43}
.candidate-app .app-header .brand-mark{border-color:#ffffff38;color:#fff}.candidate-app .app-header .brand-mark span{color:#f47483}.candidate-app .app-header nav a[aria-current=page]{color:#ff9ba8}
.candidate-shell{max-width:1120px;margin:auto;padding:38px 26px 48px}.candidate-shell>.eyebrow{color:#a52c3d;letter-spacing:1.7px;font-size:11px;font-weight:750}.candidate-shell h1{font-size:clamp(30px,4vw,46px);letter-spacing:-1px;margin:10px 0 8px;color:#10243b}.candidate-intro{max-width:750px;color:#546478;font-size:14px;line-height:1.65}
.candidate-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:19px;margin:22px 0 12px;background:#fff;border:1px solid #d6dde6;border-radius:13px;box-shadow:0 9px 28px #162a3b0d}.candidate-filters label{font-size:12px;font-weight:650;color:#35485e;min-width:0}.candidate-filters input,.candidate-filters select{display:block;margin-top:6px;min-height:44px;font-size:14px}.candidate-filters .name-filter{grid-column:span 2}.candidate-submit{align-self:end;min-height:46px;color:#fff;background:#a52c3d;border-color:#a52c3d;font-weight:700}.candidate-submit:hover{background:#861f31;color:white}.candidate-status{min-height:28px;padding:5px 2px;color:#4e5f73;font-size:12px}.candidate-results{display:grid;gap:12px}.candidate-card{padding:17px 19px;background:#fff;border:1px solid #d9e0e8;border-left:4px solid #a52c3d;border-radius:10px;box-shadow:0 4px 18px #17283b0b}.candidate-card h2{font-size:17px;color:#142d48;margin:0 0 4px}.candidate-card .candidate-meta{font-size:12px;color:#516579;line-height:1.6}.candidate-card .candidate-occupation{font-size:12px;line-height:1.55;margin:10px 0 3px;color:#28394b}.candidate-card .candidate-occupation small{display:inline-block;margin-left:5px;padding:3px 7px;border-radius:20px;background:#eaf0f6;color:#3b5570;font-size:10px}.candidate-card .candidate-fields{display:flex;flex-wrap:wrap;gap:6px 17px;margin-top:8px;color:#566779;font-size:11px;line-height:1.5}.candidate-card .candidate-links{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px}.candidate-card .candidate-links button,.candidate-card .candidate-links a{min-height:40px;padding:8px 11px;font-size:11px}.candidate-card .candidate-links a{color:#173f73;text-decoration:underline}.candidate-history{margin:12px 0 2px;padding:12px;background:#f3f6f9;border-radius:8px}.candidate-history h3{font-size:13px;margin:0 0 9px}.candidate-history .data-table{font-size:11px}.candidate-history-note{font-size:10px;line-height:1.6;color:#596a7c}.candidate-pagination{display:flex;align-items:center;justify-content:center;gap:16px;padding:17px}.candidate-pagination[hidden]{display:none}.candidate-pagination span{font-size:12px;color:#4b5e72}.candidate-pagination button{min-height:44px}.candidate-method{margin-top:35px;padding:20px;background:#e9eef4;border:1px solid #d2dce7;border-radius:11px}.candidate-method h2{font-size:17px;color:#1a3554}.candidate-method p{font-size:12px;line-height:1.75;color:#4c5e70}.candidate-method a{color:#9c2338;text-decoration:underline;font-size:12px}.candidate-app .simple-footer{margin-top:25px;border-color:#d7dfe7;color:#647386}
@media(max-width:760px){.candidate-app{height:auto;overflow:auto}.candidate-app .app-header{height:auto;min-height:62px;padding:6px 12px;flex-wrap:wrap;gap:4px 10px}.candidate-app .app-header nav{gap:10px;font-size:10px}.candidate-app .app-header nav a{min-height:42px;display:inline-flex;align-items:center}.candidate-app .app-header .brand{font-size:12px}.candidate-app .app-header .back-link{display:none}.candidate-shell{padding:24px 14px 30px}.candidate-intro{font-size:13px}.candidate-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:14px;margin-top:16px}.candidate-filters .name-filter{grid-column:span 2}.candidate-filters label{font-size:11px}.candidate-filters input,.candidate-filters select{font-size:16px}.candidate-submit{grid-column:span 2}.candidate-card{padding:14px}.candidate-card .candidate-fields{display:grid;gap:3px}.candidate-history{overflow-x:auto}.candidate-method{padding:15px}}
@media(max-width:390px){.candidate-app .app-header nav{gap:6px;font-size:9px}.candidate-app .app-header .brand{font-size:10px;gap:6px}.candidate-app .app-header .brand-mark{width:32px;height:32px}.candidate-filters{padding:11px;gap:9px}.candidate-pagination{gap:7px}.candidate-pagination button{padding:8px;font-size:10px}}

/* Našeptávání území a jeden dvouúchytový věkový posuvník. */
.candidate-filters .area-filter{position:relative;z-index:5}
.area-search-wrap{position:relative;display:block;margin-top:6px}
.candidate-filters .area-search-wrap input[type=search]{margin:0}
.area-suggestions{position:absolute;z-index:20;top:calc(100% + 5px);left:0;right:0;max-height:min(330px,45dvh);overflow:auto;padding:5px;background:#fff;border:1px solid #cbd6e1;border-radius:10px;box-shadow:0 12px 28px #12263d26}
.area-suggestions[hidden]{display:none}
.candidate-filters .area-suggestions button{display:block;width:100%;min-height:42px;text-align:left;padding:7px 10px;border:0;border-radius:6px;background:#fff;color:#20364c;font-size:12px}
.candidate-filters .area-suggestions button:hover,.candidate-filters .area-suggestions button[aria-selected=true]{background:#eef3f8}
.area-suggestions small{display:block;margin-top:2px;color:#697b8e;font-size:10px}
.candidate-filters .age-range-field{grid-column:span 2;min-width:0;margin:0;padding:9px 12px 7px;border:1px solid #d9e1e9;border-radius:9px;background:#fff}
.age-range-field legend{padding:0 4px;color:#35485e;font-size:12px;font-weight:650}
.age-range-values,.age-range-ends{display:flex;justify-content:space-between;gap:10px;color:#576a7c;font-size:11px}
.age-range-values output{color:#152f4a;font-weight:750;font-variant-numeric:tabular-nums}
.age-dual-range{position:relative;height:30px;margin:2px 4px 0;--range-start:0%;--range-end:100%}
.age-dual-range::before{content:"";position:absolute;top:13px;left:0;right:0;height:5px;border-radius:6px;background:linear-gradient(to right,#dce4ec 0%,#dce4ec var(--range-start),#ae2c46 var(--range-start),#ae2c46 var(--range-end),#dce4ec var(--range-end),#dce4ec 100%)}
.age-dual-range input[type=range]{position:absolute;inset:0;width:100%;height:30px;margin:0;padding:0;border:0;background:transparent;appearance:none;pointer-events:none}
.age-dual-range input[type=range]::-webkit-slider-runnable-track{height:5px;background:transparent}
.age-dual-range input[type=range]::-moz-range-track{height:5px;background:transparent}
.age-dual-range input[type=range]::-webkit-slider-thumb{width:17px;height:17px;margin-top:-6px;appearance:none;border:3px solid white;border-radius:50%;background:#a52c3d;box-shadow:0 0 0 1px #a52c3d;pointer-events:auto;cursor:grab}
.age-dual-range input[type=range]::-moz-range-thumb{width:12px;height:12px;border:3px solid white;border-radius:50%;background:#a52c3d;box-shadow:0 0 0 1px #a52c3d;pointer-events:auto;cursor:grab}
.age-dual-range input[type=range]:focus-visible{outline:0;z-index:4}
.age-dual-range input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 4px #3d94cb66}
.age-range-ends{font-size:9px;color:#8996a4}
.candidate-filters input[hidden]{display:none!important}
@media(max-width:760px){.candidate-filters .age-range-field{grid-column:1/-1}.area-suggestions{max-height:38dvh}}
.candidate-view-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 12px;padding:8px 10px;background:#fff;border:1px solid #dce3eb;border-radius:10px;color:#5b6b7d;font-size:11px}
.candidate-view-toggle[hidden]{display:none}
.candidate-view-toggle>div{display:flex;gap:3px;padding:3px;background:#eef2f6;border-radius:8px}
.candidate-view-toggle button{min-height:32px;padding:6px 12px;border:1px solid transparent;border-radius:6px;color:#40556c;background:transparent;font-size:11px}
.candidate-view-toggle button[aria-pressed=true]{background:#173c57;color:#fff;box-shadow:0 1px 3px #102c4533}
.candidate-table-wrap{overflow:auto;background:#fff;border:1px solid #dce3eb;border-radius:11px;box-shadow:0 4px 18px #17283b0b}
.candidate-results-table{width:100%;min-width:1020px;border-collapse:collapse;font-size:11px;color:#35495e}
.candidate-results-table th{position:sticky;top:0;padding:10px 9px;background:#eef2f6;color:#354b61;text-align:left;font-size:10px;white-space:nowrap}
.candidate-results-table td{padding:9px;border-bottom:1px solid #e8edf2;vertical-align:top;line-height:1.4}
.candidate-results-table tbody tr:nth-child(4n+1){background:#fbfcfd}
.candidate-results-table td:nth-child(1),.candidate-results-table td:nth-child(6),.candidate-results-table td:nth-child(7),.candidate-results-table td:nth-child(8){white-space:nowrap;font-variant-numeric:tabular-nums}
.candidate-results-table td:nth-child(2){min-width:170px;color:#162f49}
.candidate-results-table td:nth-child(2) small{display:block;max-width:220px;margin-top:3px;color:#728093;font-size:9px}
.candidate-table-actions{white-space:nowrap}
.candidate-table-actions a,.candidate-table-actions button{display:inline-flex;align-items:center;min-height:30px;margin:0 3px;padding:5px 7px;border:1px solid #dbe3eb;border-radius:6px;color:#244c68;background:#fff;font-size:10px;text-decoration:none}
.candidate-results-table .candidate-table-history td{padding:0;border:0;background:#fff}
.candidate-results-table .candidate-history{margin:0 8px 8px}
@media(max-width:760px){.candidate-view-toggle{position:sticky;top:0;z-index:4;box-shadow:0 3px 12px #17283b12}.candidate-results-table{min-width:900px}}

/* Sjednocené, přehledné ovládání vyhledávání kandidátů. */
.candidate-filters{align-items:end;gap:13px;background:linear-gradient(145deg,#fff,#f8fafc);border-color:#d9e1e9;}
.candidate-filters label{display:grid;align-content:start;gap:5px;line-height:1.35;}
.candidate-filters input,.candidate-filters select{margin-top:0;width:100%;border-color:#cbd6e1;border-radius:9px;background:#fff;color:#20364c;}
.candidate-filters input:focus,.candidate-filters select:focus{border-color:#a52c3d;box-shadow:0 0 0 3px #a52c3d18;outline:none;}
.candidate-filters .name-filter{grid-column:span 2;}
.candidate-filters .candidate-submit{min-height:44px;border-radius:9px;box-shadow:0 4px 12px #a52c3d24;}
.candidate-status{padding:8px 2px;color:#536579;}
.candidate-results{gap:14px;}
@media(max-width:760px){.candidate-filters{align-items:stretch;gap:12px;padding:15px;border-radius:12px}.candidate-filters .name-filter{grid-column:1/-1}.candidate-filters label{gap:6px}.candidate-filters .candidate-submit{grid-column:1/-1}}
@media(max-width:390px){.candidate-filters{gap:10px;padding:12px}.candidate-filters label{font-size:10px}}

.app-header .brand-mark,.home-header .brand-mark{display:none!important}
