/* Separate workstation layout for variant B. */
body.theme-b{--bg:#151a20;--paper:#1e252e;--ink:#edf0f4;--muted:#a7b2c0;--line:#384451;--accent:#e0bd7a;--soft:#3d3526;--light:#262e38;background:var(--bg);color:var(--ink);font-family:Arial,sans-serif;overflow:hidden;color-scheme:dark}
.theme-b .app-shell{max-width:none;padding:0 16px 16px}
.theme-b .header{height:54px;justify-content:flex-start;gap:28px;border-bottom:1px solid var(--line);margin-bottom:14px}
.theme-b .header .text-button{height:54px;padding:0 4px;color:var(--muted);border-bottom:2px solid transparent;font-size:13px}
.theme-b .header .text-button[aria-pressed=true]{color:var(--accent);border-bottom-color:var(--accent)}
.theme-b .count{background:#35404a;color:#e8ecf1;border-radius:4px}
.theme-b .workspace{height:calc(100dvh - 84px);display:grid;grid-template-columns:240px minmax(0,1fr) 330px;grid-template-rows:auto minmax(0,1fr);grid-template-areas:'profile filters detail' 'profile results detail';gap:12px;align-items:stretch}
.theme-b .search-panel{grid-area:profile;display:flex;flex-direction:column;gap:0;min-height:0;overflow:auto;padding:18px 16px;border:1px solid var(--line);border-radius:3px;background:var(--paper)}
.theme-b .b-workgrid{display:flex;flex-direction:column;gap:18px}
.theme-b .search-panel__top{margin:0 0 9px;order:initial}
.theme-b .search-panel__top>label{font-size:13px;font-weight:600;color:var(--ink)}
.theme-b .search-panel textarea{order:initial;min-height:154px;height:154px;max-height:300px;padding:10px;font-size:13px;line-height:1.6;border:1px solid #4b5764;border-radius:2px;background:#171d24;color:var(--ink)}
.theme-b .search-panel textarea:focus{border-color:var(--accent);outline:1px solid var(--accent)}
.theme-b .upload{position:relative;order:initial;min-height:96px;height:auto;margin:0;background:#171d24;border:1px dashed #64717e;border-radius:2px}
.theme-b .upload.has-file{background:#292b25;border-color:var(--accent)}
.theme-b .upload__button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:96px;padding:14px 26px;font-size:12px}
.theme-b .upload__button small{width:auto;margin:0;color:#a7b2c0;font-size:10px}
.theme-b .upload__button svg{width:19px;height:19px;color:var(--accent)}
.theme-b #file-label{max-width:100%;overflow-wrap:anywhere}
.theme-b #remove-file{position:absolute;top:0;right:0;width:36px;height:36px;padding:0;color:var(--ink)}
.theme-b .search-panel__bottom{order:initial;display:flex;flex-direction:column;align-items:stretch;gap:18px;padding:18px 0 0;margin:18px 0 0;border-top:1px solid var(--line)}
.theme-b .consents{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.theme-b .check{min-height:32px;display:flex;align-items:flex-start;gap:8px;color:#d1d8e1;font-size:11px;line-height:1.55}
.theme-b .check input{width:15px;height:15px;flex:0 0 15px;margin:2px 0 0;accent-color:var(--accent)}
.theme-b .consent{max-width:none;font-size:10px}
.theme-b .primary-button{align-self:stretch;min-height:44px;padding:10px 12px;gap:9px;border-radius:2px;font-size:12px;color:#221e17;background:var(--accent);white-space:normal}
.theme-b .primary-button svg{flex:0 0 16px}
.theme-b .filters{grid-area:filters;padding:14px;border:1px solid var(--line);border-radius:3px;background:var(--paper);overflow:visible}
.theme-b #filter-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;align-items:end}
.theme-b .field{min-width:0;margin:0;gap:5px;color:#bcc6d2;font-size:10px}
.theme-b input:not([type=checkbox]),.theme-b select{height:38px;padding:0 9px;border:1px solid #4b5764;border-radius:2px;color:var(--ink);background:#171d24;font-size:11px}
.theme-b input:focus,.theme-b select:focus{border-color:var(--accent);outline:1px solid var(--accent)}
.theme-b .salary-inputs{grid-template-columns:minmax(0,1fr) 70px;gap:5px}
.theme-b .salary-field select{padding:0 3px;font-size:10px}
.theme-b #filter-form>.check{grid-column:auto;grid-row:auto;margin:0;align-items:center;min-height:38px;font-size:10px}
.theme-b #reset{min-height:38px;padding:8px 10px;border:1px solid #59616a;border-radius:2px;background:transparent;color:#d3dce6;font-size:11px;text-align:center}
.theme-b .area-field{overflow:visible;position:relative}
.theme-b .area-options{z-index:30;background:#262f3a;border-color:#65717e;border-radius:2px;box-shadow:0 10px 24px #0007}
.theme-b .area-options button{min-height:38px;padding:10px;font-size:12px;color:var(--ink)}
.theme-b .area-options button:hover{background:#3c4b58}
.theme-b .content{grid-area:results;min-width:0;min-height:0;overflow:auto;padding-right:2px;scrollbar-color:#647181 #171d24;scrollbar-width:thin}
.theme-b .results-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:0 0 12px;background:var(--bg)}
.theme-b .results-toolbar>div{gap:8px}
.theme-b .results-toolbar h2{color:var(--ink);font-size:14px}
.theme-b .results-toolbar>div>span{max-width:none;color:var(--muted);font-size:10px}
.theme-b .sort-label{min-width:0}
.theme-b .sort-label select{height:34px;padding:0 22px 0 8px;max-width:180px;width:auto;font-size:10px;border-color:var(--line);background:#171d24;color:var(--ink)}
.theme-b .results{display:block;border-top:1px solid var(--line)}
.theme-b .card{display:grid;grid-template-columns:minmax(0,1fr) 146px;gap:14px;padding:14px 12px;border:0;border-left:3px solid transparent;border-bottom:1px solid #35404c;border-radius:0;background:#1e252e;transform:none;transition:background .15s}
.theme-b .card:hover{border-color:#526271;background:#27303b}
.theme-b .card.is-selected{border-left-color:var(--accent);background:#2c302e}
.theme-b .card h3{margin:0 0 6px;padding:0;color:var(--ink);font-size:14px;font-weight:600;letter-spacing:0;line-height:1.45;overflow-wrap:anywhere}
.theme-b .company{font-size:11px;line-height:1.5;color:#bac4d0}
.theme-b .company>span:last-child{max-width:none;white-space:normal;overflow-wrap:anywhere}
.theme-b .card__tags{gap:4px 9px;margin:9px 0 0}
.theme-b .tag{padding:0;color:#adb9c7;background:none;border-radius:0;font-size:10px;line-height:1.5}
.theme-b .tag+.tag:before{content:'·';margin-right:8px;color:#7d8b9b}
.theme-b .b-card-side{display:flex;flex-direction:column;gap:10px;min-width:0;border:0;padding:0}
.theme-b .b-card-pay{display:block}
.theme-b .salary{margin:0;text-align:right;font-size:12px;line-height:1.5;font-weight:600;color:#f2d49e;letter-spacing:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.theme-b .card__bottom{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:5px 6px;padding:0;border:0;margin-top:auto;align-items:center}
.theme-b .card__action{display:flex;justify-content:center;gap:5px;min-height:36px;padding:7px 8px;border:1px solid #65717e;border-radius:2px;color:#dbe4ee;background:none;font-size:10px}
.theme-b .card__action svg{width:12px;height:12px}
.theme-b .save-button{width:36px;height:36px;padding:8px;flex-basis:36px;color:#a5b2c1;grid-column:2;grid-row:1}
.theme-b .save-button.active{color:var(--accent)}
.theme-b .save-button.active svg{fill:var(--soft)}
.theme-b .match{grid-column:1/-1;grid-row:2;text-align:right;color:#a6b5c3;font-size:9px}
.theme-b .show-more{margin-top:10px;min-height:40px;border-color:#596674;background:var(--paper);color:#dce5ed;font-size:11px;border-radius:2px}
.theme-b .message{margin:0 0 12px;background:#3b3022;border-color:#7d6949;color:#f4d8ad;font-size:11px}
.theme-b .interpretation{margin:0 0 12px;background:#2e3840;color:#d9e4ed;font-size:11px}
.theme-b .b-detail-pane{grid-area:detail;min-width:0;min-height:0;overflow:hidden;border:1px solid var(--line);border-radius:3px;background:var(--paper)}
.theme-b .b-detail-empty{padding:24px;color:var(--muted);font-size:13px}
.theme-b .b-detail-pane:has(dialog[open]) .b-detail-empty{display:none}
.theme-b dialog{position:static;width:100%;height:100%;max-height:none;margin:0;padding:18px;border:0;border-radius:0;overflow:auto;background:var(--paper);color:var(--ink);scrollbar-color:#647181 var(--paper);scrollbar-width:thin}
.theme-b .dialog-head{margin-bottom:16px;gap:12px}
.theme-b .dialog-head .eyebrow{font-size:11px;color:#b9c5d0;letter-spacing:0;text-transform:none}
.theme-b .close-button{min-width:36px;min-height:36px;padding:0;color:#c1cbd7}
.theme-b dialog h2{font-size:18px;line-height:1.4;letter-spacing:0;overflow-wrap:anywhere}
.theme-b #detail-company{color:#b7c2cf;font-size:11px;line-height:1.7;margin:10px 0 20px;overflow-wrap:anywhere}
.theme-b #detail-body>p{font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.theme-b #detail-body h3{font-size:12px;color:#f2d49e;margin:20px 0 8px}
.theme-b #detail-body ul{padding-left:17px;color:#d0dae6;font-size:11px;line-height:1.65}
.theme-b .dialog-consent{margin-top:18px;min-height:44px;font-size:10px}
.theme-b .dialog-actions{display:flex;flex-direction:column;gap:9px;margin-top:18px}
.theme-b .secondary-button{min-height:40px;padding:9px 10px;border-color:#647181;border-radius:2px;color:#dce5ed;font-size:11px}
.theme-b .letter{padding:12px;background:#151c23;color:#e0e7ef;font-size:11px;line-height:1.8;border:1px solid var(--line);border-radius:2px}
.theme-b .empty{padding:30px 12px;color:#bdc9d5}
.theme-b .empty h3{color:var(--ink)}
.theme-b .loading{color:var(--muted);font-size:12px}
@media(max-width:1119px){body.theme-b{overflow:auto}.theme-b .workspace{height:auto;min-height:calc(100dvh - 84px);grid-template-columns:240px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:'profile filters' 'profile results';align-items:start}.theme-b .search-panel{height:auto;position:sticky;top:14px}.theme-b .b-detail-pane{display:contents}.theme-b .b-detail-empty{display:none}.theme-b .content{overflow:visible}.theme-b dialog{position:fixed;width:min(640px,calc(100% - 28px));height:auto;max-height:88dvh;margin:auto;border:1px solid #65717e;border-radius:4px;padding:24px}.theme-b dialog::backdrop{background:#070b11c9;backdrop-filter:blur(3px)}}
@media(max-width:760px){.theme-b .app-shell{padding:0 12px 20px}.theme-b .header{height:50px;margin-bottom:12px;gap:24px}.theme-b .header .text-button{height:50px}.theme-b .workspace{display:flex;flex-direction:column;gap:12px;min-height:0;height:auto}.theme-b .search-panel{position:static;width:100%;padding:16px}.theme-b .b-workgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.theme-b .search-panel textarea{height:110px;min-height:110px}.theme-b .upload,.theme-b .upload__button{min-height:137px}.theme-b .search-panel__bottom{flex-direction:row;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding-top:14px}.theme-b .consents{flex:1}.theme-b .search-panel__bottom>.primary-button{align-self:center;width:auto}.theme-b .filters{width:100%;padding:14px}.theme-b #filter-form{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-b .content{width:100%;padding:0}.theme-b .results-toolbar{position:static;flex-wrap:nowrap;margin:2px 0 0}.theme-b .results-toolbar>div{width:auto;justify-content:flex-start}.theme-b .sort-label,.theme-b .sort-label select{width:auto}.theme-b .card{display:grid;grid-template-columns:minmax(0,1fr) 146px;gap:14px;padding:14px 12px}.theme-b .b-card-side{border:0;margin:0;padding:0}.theme-b .card__bottom{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:5px 6px}.theme-b .salary{margin:0}.theme-b .card__action{flex:initial}.theme-b .match{flex:initial}}
@media(max-width:480px){.theme-b .b-workgrid{display:flex;flex-direction:column;gap:14px}.theme-b .search-panel textarea{min-height:94px;height:94px}.theme-b .upload,.theme-b .upload__button{min-height:76px}.theme-b .upload__button{padding:12px 30px}.theme-b .search-panel__bottom{flex-direction:column;align-items:stretch}.theme-b .search-panel__bottom>.primary-button{width:100%;align-self:stretch}.theme-b .consent{font-size:11px}.theme-b .check{min-height:38px;font-size:12px}.theme-b input:not([type=checkbox]),.theme-b select{height:44px;font-size:12px}.theme-b #filter-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.theme-b .field{font-size:11px}.theme-b #filter-form>.check{grid-column:auto;min-height:44px;font-size:10px}.theme-b #reset{min-height:44px}.theme-b .salary-inputs{grid-template-columns:minmax(0,1fr) 64px;gap:4px}.theme-b .salary-field select{font-size:10px}.theme-b .results-toolbar{flex-wrap:wrap;padding-bottom:10px;gap:10px}.theme-b .results-toolbar>div{width:100%;justify-content:space-between}.theme-b .sort-label,.theme-b .sort-label select{width:100%;max-width:none}.theme-b .card{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px 14px}.theme-b .card h3{font-size:16px}.theme-b .b-card-side{display:grid;grid-template-columns:minmax(0,1fr) 146px;gap:12px;align-items:start}.theme-b .salary{text-align:left;font-size:13px;line-height:1.6}.theme-b .card__action,.theme-b .save-button{min-height:44px;height:44px}.theme-b .save-button{width:36px}.theme-b dialog{padding:20px}.theme-b .close-button{min-height:44px;min-width:44px}.theme-b .secondary-button{min-height:44px}}
