.bf-shell{max-width:1440px;margin:0 auto;display:grid;gap:20px;color:var(--text,#122033)}
.bf-shell .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.bf-hero,.bf-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.bf-hero h1{margin:6px 0 8px;font-size:clamp(1.75rem,2.5vw,2.25rem);letter-spacing:-.035em}
.bf-hero p{margin:0;max-width:760px;color:var(--muted,#52637a);line-height:1.6}
.bf-hero>a{white-space:nowrap;margin-top:10px}.bf-shell h2{font-size:1.2rem;margin:4px 0 8px}
.bf-date-form{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:18px 22px}
.bf-date-form label,.bf-candidate-filters label{display:grid;gap:6px;font-size:.83rem;font-weight:650}
.bf-date-form [role=status]{font-size:.82rem;color:var(--muted,#52637a);align-self:center;margin-left:auto}
.bf-shell input:not([type=checkbox]),.bf-shell select,.bf-shell textarea{border:1px solid var(--line,#ccd5df);border-radius:8px;background:var(--surface,#fff);color:inherit;font:inherit;padding:9px 11px;min-width:0}
.bf-shell input:focus,.bf-shell select:focus,.bf-shell textarea:focus{outline:3px solid #146c9429;outline-offset:1px;border-color:#1674a4}
.bf-shell textarea{resize:vertical;line-height:1.45}.bf-shell input[type=checkbox]{accent-color:#095d84;width:17px;height:17px;flex-shrink:0}
.bf-shell button:disabled{opacity:.5;cursor:not-allowed}.bf-shell [data-bf-body]{display:grid;gap:20px}
.bf-review,.bf-values,.bf-summary,.bf-actions{padding:22px}
.bf-rule{margin:10px 0 8px;padding:11px 14px;background:#edf5fb;border-left:3px solid #176993;border-radius:0 8px 8px 0;font-size:.9rem;line-height:1.5}
.bf-calendar-note{display:block;margin-top:5px;font-size:.74rem;color:var(--muted,#59697d)}
.bf-muted{color:var(--muted,#59697d);font-size:.83rem;line-height:1.55;margin:8px 0 14px}.bf-concession{color:var(--muted,#59697d);font-size:.78rem;white-space:nowrap}
.bf-candidate-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:14px;margin:18px 0 12px}.bf-candidate-filters label{min-width:0}
.bf-candidate-filters select,.bf-candidate-filters input{width:100%;max-width:100%;box-sizing:border-box}.bf-candidate-filters>button{justify-self:start}.bf-candidate-table-wrap{overflow:auto;max-height:590px;border:1px solid var(--line,#dce3eb);border-radius:10px}
.bf-filter-help{font-size:.76rem;color:var(--muted,#59697d);line-height:1.5;margin:8px 0}.bf-filter-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:.8rem;padding:10px 0}.bf-filter-summary>span:first-child{font-weight:650}.bf-filter-summary button{font-size:.78rem}.bf-advisor{display:block;font-weight:600;font-size:.76rem;margin-top:7px;line-height:1.4}
@media(max-width:820px){.bf-candidate-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.bf-candidate-filters{grid-template-columns:1fr}}
.bf-candidate-table{width:100%;border-collapse:collapse;font-size:.82rem;min-width:820px}
.bf-candidate-table thead th{position:sticky;top:0;z-index:1;background:#f2f5f8;text-align:left;padding:12px 14px;color:#47576b;font-size:.76rem;letter-spacing:.01em;border-bottom:1px solid #d9e1e9}
.bf-candidate-table td,.bf-candidate-table tbody th{vertical-align:top;padding:13px 14px;border-bottom:1px solid var(--line,#e3e8ee);text-align:left}
.bf-candidate-table tbody th{font-weight:400;width:23%}.bf-candidate-table tbody th strong,.bf-candidate-table tbody th span,.bf-candidate-table td small{display:block}
.bf-candidate-table tbody th strong{font-weight:650;margin-bottom:4px}.bf-candidate-table tbody th span{line-height:1.4;color:var(--muted,#59697d)}
.bf-candidate-table tbody tr:last-child>*{border-bottom:0}.bf-candidate-table td:nth-child(2){width:24%}.bf-candidate-table td:nth-child(3){width:23%}.bf-candidate-table td:nth-child(4){width:30%}
.bf-candidate-table select,.bf-candidate-table textarea{width:100%;font-size:.8rem;padding:7px 8px}.bf-candidate-table select+select{margin-top:7px}
.bf-candidate-table textarea{min-height:60px}.bf-stage{display:inline-block;padding:3px 7px;border-radius:5px;background:#edf2f6;font-weight:650;font-size:.74rem;margin-bottom:5px}
.bf-review-reasons{padding-left:15px;margin:4px 0 0;color:#69778b;font-size:.75rem;line-height:1.5}.bf-review-reasons li+li{margin-top:3px}
.bf-checkbox{display:flex;align-items:center;gap:8px;font-size:.85rem;line-height:1.4}.bf-candidate-table .bf-checkbox{font-size:.76rem;margin-top:7px}
.bf-candidate-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 0;font-size:.78rem;color:var(--muted,#59697d)}
.bf-candidate-footer>div{display:flex;gap:16px}.bf-candidate-footer button{font-size:.8rem}.bf-apply-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:14px;border-top:1px solid var(--line,#dce3eb)}
.bf-apply-row>span{font-size:.84rem;flex:1}.bf-apply-row>small{width:100%;font-size:.76rem;color:var(--muted,#59697d)}
.bf-form-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.bf-value-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:18px}
.bf-values fieldset{margin:0;padding:0;border:0;min-width:0}.bf-values legend{font-size:.94rem;font-weight:700;width:100%;border-bottom:1px solid var(--line,#dce3eb);padding-bottom:9px;margin-bottom:10px}
.bf-values legend small{display:block;font-size:.74rem;font-weight:400;color:var(--muted,#59697d);margin-top:4px}.bf-field{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:8px;align-items:center;font-size:.85rem;margin:12px 0}
.bf-field>span>small{display:block;font-weight:400;font-size:.68rem;margin-top:3px;color:var(--muted,#59697d)}.bf-field input{text-align:right;max-width:100%;background:#f5fbff!important}
.bf-field-hint{grid-column:1/-1;color:var(--muted,#59697d);font-size:.72rem;line-height:1.4}.bf-stock-hint{padding:11px 13px;background:#f6f8fa;border-radius:8px;font-size:.79rem;line-height:1.5;margin:16px 0}
.bf-optional{margin-top:22px}.bf-optional summary,.bf-sources summary{cursor:pointer;font-weight:650;font-size:.86rem;padding:8px 0}.bf-optional-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.bf-vo-note{font-size:.8rem;color:var(--muted,#59697d);border-top:1px solid var(--line,#dce3eb);padding-top:15px;margin:18px 0}.bf-general-notes{display:grid;gap:8px;font-size:.83rem;font-weight:650}.bf-general-notes textarea{font-size:.82rem;font-weight:400;width:100%;box-sizing:border-box}
.bf-summary{position:sticky;top:22px}.bf-totals{margin:16px 0}.bf-totals>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line,#e1e7ee)}
.bf-totals dt{font-size:.8rem;line-height:1.4}.bf-totals dd{margin:0;font-size:1.3rem;font-weight:700;font-variant-numeric:tabular-nums}.bf-totals .bf-total-primary{background:#eef5fa;padding:14px;border-radius:8px;border:0;margin-bottom:4px}.bf-total-primary dd{font-size:1.8rem;color:#0a4a72}
.bf-warning{color:#865414;font-size:.76rem;line-height:1.5}.bf-summary .bf-warning{padding:9px 11px;background:#fff8e9;border-radius:7px}.bf-sources{border-top:1px solid var(--line,#dce3eb);padding-top:10px;margin-top:16px;font-size:.77rem}
.bf-sources ul{list-style:none;padding:0;margin:8px 0}.bf-sources li{display:grid;gap:3px;padding:7px 0}.bf-sources li span,.bf-sources li small{color:var(--muted,#59697d)}.bf-source-warning{color:#856324;line-height:1.5}
.bf-definitions{border-top:1px solid var(--line,#dce3eb);margin-top:16px;padding-top:15px;font-size:.77rem;line-height:1.5;color:var(--muted,#59697d)}.bf-definitions strong{color:var(--text,#122033)}.bf-definitions p{margin:8px 0 0}
.bf-actions{display:flex;align-items:center;justify-content:space-between;gap:22px}.bf-actions .bf-muted{margin:7px 0 0;font-size:.76rem}.bf-action-buttons{display:flex;gap:10px;flex-shrink:0}.bf-message{font-size:.82rem;color:#276247;line-height:1.45;margin:8px 0 0}.bf-message:empty{display:none}.bf-message.is-error{color:#a2372c}
.bf-error{border:1px solid #f0c9c4;background:#fff5f3;border-radius:10px;padding:18px 22px;color:#923c32}.bf-loading,.bf-empty{padding:22px;color:var(--muted,#59697d);font-size:.88rem;line-height:1.5}.bf-empty{background:#f6f8fa;border-radius:8px}
@media(max-width:1100px){.bf-form-grid{grid-template-columns:minmax(0,1fr) 280px}.bf-actions{align-items:flex-start;flex-direction:column}.bf-action-buttons{align-self:flex-end}.bf-concession{white-space:normal;text-align:right;max-width:150px}.bf-field{grid-template-columns:minmax(0,1fr) 84px}}
@media(max-width:820px){.bf-hero{flex-direction:column;gap:6px}.bf-hero>a{margin-top:0}.bf-form-grid{grid-template-columns:1fr}.bf-summary{position:static}.bf-summary .bf-totals{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px}.bf-summary .bf-total-primary{margin-bottom:0}.bf-date-form [role=status]{width:100%;margin-left:0}.bf-review,.bf-values,.bf-summary,.bf-actions{padding:18px}.bf-section-heading{gap:10px}.bf-section-heading>button{max-width:180px;font-size:.76rem}}
@media(max-width:560px){.bf-value-columns,.bf-optional-grid{grid-template-columns:1fr;gap:0}.bf-value-columns fieldset+fieldset{margin-top:20px}.bf-candidate-filters{align-items:stretch;flex-direction:column}.bf-candidate-filters label:first-child{min-width:0}.bf-section-heading{flex-direction:column}.bf-concession{text-align:left;max-width:none}.bf-action-buttons{flex-direction:column;width:100%}.bf-action-buttons>button{width:100%}.bf-apply-row>button{width:100%}.bf-summary .bf-totals{grid-template-columns:1fr}.bf-date-form{padding:16px}.bf-date-form label{flex:1}.bf-date-form [data-bf-load]{font-size:.8rem}.bf-candidate-footer{font-size:.73rem}.bf-shell .bf-field{grid-template-columns:minmax(0,1fr) 110px}}
