/* Billix personal workflow: red details, navy actions, generous reading space. */
.hb-board{--board-navy:#192d4b;--board-red:#e51e59;margin:28px 0 32px;min-width:0;color:var(--board-navy);scroll-margin-top:20px}
.hb-board-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px}
.hb-board-eyebrow{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--board-red);margin-bottom:10px}
.hb-board-eyebrow>span{width:18px;height:3px;background:var(--board-red);border-radius:4px}
.hb-board-head h2{font-size:28px;line-height:1.2;font-weight:700;letter-spacing:-.035em;color:var(--board-navy)}
.hb-board-head p{font-size:14px;line-height:1.6;color:#667080;margin-top:9px;max-width:580px}
.hb-board-head-actions{display:none}
.hb-board-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;padding:18px 0;border-top:1px solid #e7ebf0;border-bottom:1px solid #e7ebf0}
.hb-board-tabs{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.hb-board-tabs>button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border:0;border-radius:10px;padding:11px 14px;background:transparent;color:#5d6879;font-size:13px;line-height:1.4;font-weight:700}
.hb-board-tabs>button[aria-pressed=true]{background:#192d4b;color:white}
.hb-board-tabs>button>span{display:inline-grid;place-items:center;min-width:23px;min-height:23px;padding:2px 6px;border-radius:7px;font-size:11px;background:var(--hb-button-soft);color:#192d4b;border-color:var(--hb-button-soft-border)}
.hb-board-tabs>button[aria-pressed=true]>span{background:#fff2;color:white}
.hb-board-day{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.hb-board-day>.field{margin:0;display:block;width:210px;align-self:center}
.hb-board-day>.field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.hb-board-day input[type=date]{min-height:44px;max-width:100%;padding:10px 12px;font-size:13px;border:1px solid #dce2ea;border-radius:10px;color:#192d4b}
.hb-board .btn,.hb-board-review .btn,.hb-board-review .form-actions>.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 16px;border:1px solid #192d4b;border-radius:10px;background:#192d4b;color:white;font-size:13px;line-height:1.5;font-weight:700;white-space:normal;text-align:center;overflow-wrap:anywhere;box-shadow:none;transform:none;margin:0}
.hb-board .btn.secondary,.hb-board-review .btn.secondary{background:white;color:#192d4b;border-color:#dce2ea}
.hb-board .btn:enabled:hover,.hb-board-review .btn:enabled:hover{background:#263f62;color:white;border-color:#263f62;transform:none}
.hb-board .btn.secondary:enabled:hover,.hb-board-review .btn.secondary:enabled:hover{background:var(--hb-button-soft);color:#192d4b;border-color:#b5c1d1;border-color:var(--hb-button-soft-border)}
.hb-board button:disabled,.hb-board-review button:disabled{cursor:default}
.hb-board button:focus-visible,.hb-board-review button:focus-visible,.hb-board-alert:focus-visible{outline:2px solid #192d4b;outline-offset:3px}
.hb-board-help{display:flex;justify-content:space-between;gap:16px;font-size:12px;line-height:1.65;color:#6b7686;margin:16px 0 20px;max-width:100%}
.hb-board-help>span{flex-shrink:0;font-size:11px}
.hb-board-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}
.hb-board-column{min-width:0;background:#f5f7fa;border:1px solid #edf0f4;border-radius:16px;padding:14px 12px 16px;min-height:260px;transition:background .15s,border-color .15s}
.hb-board-column>header{display:flex;align-items:center;gap:8px;padding:3px 2px 16px;min-height:52px}
.hb-board-column>header>h3{font-size:21px;line-height:1.3;letter-spacing:-.02em;color:#192d4b;font-weight:800;overflow-wrap:normal}
.hb-board-step{font-size:11px;letter-spacing:.02em;font-weight:700;color:#7d8ba0}
.hb-board-column[data-board-column=running] .hb-board-step{color:#e51e59}
.hb-board-count{margin-left:auto;background:white;min-width:26px;min-height:26px;border-radius:8px;display:grid;place-items:center;padding:3px 6px;color:#536278;font-size:12px;font-weight:700}
.hb-board-stack{display:grid;gap:14px}
.hb-board-card{min-width:0;background:#fff;border:1px solid #e1e7ef;border-radius:12px;padding:16px;box-shadow:0 3px 12px #192d4b05;overflow-wrap:anywhere}
.hb-board-card[draggable=true]{cursor:grab}.hb-board-card.is-dragging{opacity:.45;cursor:grabbing}
.hb-board-column.can-drop{background:#edf2f8;border-color:#718aab;outline:2px dashed #8d9fb7;outline-offset:-7px}
.hb-board-card-top{display:flex;align-items:center;gap:8px;min-height:20px;margin-bottom:13px;font-size:12px;color:#63728a}
.hb-board-card-top time{font-weight:700;color:#192d4b;font-variant-numeric:proportional-nums}
.hb-board-date{font-size:11px}.hb-board-grip{margin-left:auto;font-size:20px;line-height:1;color:#abb5c4;user-select:none}
.hb-board-card h3{font-size:16px;line-height:1.45;color:#192d4b;font-weight:700;letter-spacing:-.02em;margin:0 0 7px}
.hb-board-service{font-size:13px;line-height:1.6;color:#536278;margin:0 0 5px}
.hb-board-person{font-size:11px;line-height:1.6;color:#7c8798;margin-bottom:12px}
.hb-board-status{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 8px;border-radius:6px;background:#f2f4f8;color:#576981;font-size:10px;line-height:1.5;font-weight:700;margin-top:2px}
.hb-board-status.is-running{background:#fff1f2;color:#e51e59}.hb-board-status.is-running:before{content:'';width:5px;height:5px;background:#e51e59;border-radius:50%;flex-shrink:0}
.hb-board-invoice-number{display:block;font-size:11px;color:#657288;margin-top:8px}
.hb-board-card-note{margin-top:12px;padding:10px 11px;background:#fff5f5;border-radius:8px;font-size:11px;line-height:1.6;color:#e51e59}
.hb-board-card.is-late{border-top:3px solid #e51e59;padding-top:14px}
.hb-board-card-foot{display:grid;gap:16px;margin-top:18px;padding-top:14px;border-top:1px solid #edf0f4}
.hb-board-card-foot>strong{font-size:16px;color:#192d4b;font-weight:700;font-variant-numeric:proportional-nums}
.hb-board-card-actions{display:flex;flex-wrap:wrap;gap:8px}.hb-board-card-actions>.btn{flex:1 1 100%;width:100%}
.hb-board-column-empty{font-size:12px;line-height:1.8;color:#7b8899;padding:20px 12px;text-align:center;border:1px dashed #dce3ec;border-radius:12px;min-height:115px;display:grid;place-items:center}
.hb-board-empty{padding:36px 24px;border:1px dashed #dce3ec;border-radius:14px;text-align:center}.hb-board-empty h3{font-size:18px;margin-bottom:10px;color:#192d4b}.hb-board-empty p{color:#657288;font-size:14px;line-height:1.7}
.hb-board-closed{margin-top:22px;border-top:1px solid #e7ebf0;padding-top:18px}.hb-board-closed summary{font-size:13px;line-height:1.6;font-weight:700;color:#657288;cursor:pointer}
.hb-board-closed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.hb-board-closed-grid>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border:1px solid #e7ebf0;border-radius:12px;min-width:0}.hb-board-closed-grid strong{display:block;overflow-wrap:anywhere}.hb-board-closed-grid small{display:block;margin-top:5px}
.hb-board-more{display:flex;justify-content:center;align-items:center;gap:16px;padding:24px;font-size:13px;color:#657288}.hb-board-feedback:empty{display:none}.hb-board-loading{padding:32px;font-size:14px;color:#657288}
.hb-board-alert{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:9px 12px;border:1px solid #f1d4e1;border-radius:10px;background:#fff7f7;color:#e51e59;line-height:1.4;font-size:12px;font-weight:700;white-space:nowrap}
.hb-board-alert[hidden]{display:none}.hb-board-dot{width:6px;height:6px;background:#e51e59;border-radius:50%}.hb-board-alert strong{font-size:11px;background:#e51e59;color:white;border-radius:6px;min-width:22px;padding:2px 5px;text-align:center}
.hb-board-review{gap:22px}.hb-board-review-client{padding:4px 0 0}.hb-board-review-client small{font-size:12px;color:#657288}.hb-board-review-client h3{font-size:22px;color:#192d4b;margin:8px 0;line-height:1.35}.hb-board-review-client p{font-size:14px;line-height:1.6;color:#657288;overflow-wrap:anywhere}
.hb-board-review-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;background:#f5f7fa;border-radius:12px;padding:18px;margin:0}.hb-board-review-values dt{font-size:12px;color:#657288;margin-bottom:9px}.hb-board-review-values dd{font-size:18px;font-weight:700;color:#192d4b;margin:0;overflow-wrap:anywhere}
.hb-board-review-help{font-size:14px;line-height:1.75;color:#536278}.hb-board-review .form-actions,.hb-board-review-billing{display:flex;flex-wrap:wrap;gap:12px}.hb-board-review .form-actions{padding-top:18px;border-top:1px solid #e7ebf0}.hb-board-review .error>.btn{margin-top:12px}.hb-board-review .hb-accepted-work:empty{display:none}
@media(min-width:1500px){.hb-board-card-actions>.btn{flex-basis:42%;width:auto}}
@media(max-width:1180px){.hb-board-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-board-card-actions>.btn{flex-basis:42%;width:auto}}
@media(max-width:650px){.hb-board{margin-top:24px}.hb-board-head h2{font-size:25px}.hb-board-toolbar{gap:16px}.hb-board-tabs{width:100%;gap:4px}.hb-board-tabs>button{flex:1 1 auto;font-size:12px;padding:10px}.hb-board-day{display:grid;grid-template-columns:auto minmax(0,1fr) auto;width:100%;gap:8px}.hb-board-day>.field{width:100%;min-width:0}.hb-board-day>.btn:last-child{grid-column:1/-1}.hb-board-day>.btn{font-size:11px;padding:10px}.hb-board-help{display:block}.hb-board-help>span{display:block;margin-top:7px}.hb-board-grid{grid-template-columns:minmax(0,1fr);gap:20px}.hb-board-column{min-height:140px;padding:16px}.hb-board-card{padding:18px}.hb-board-card-actions>.btn{flex-basis:42%}.hb-board-closed-grid{grid-template-columns:1fr}.hb-board-alert{gap:5px;padding:8px;font-size:11px}.hb-board-alert>span:not(.hb-board-dot){display:none}.hb-board-review-values{gap:12px;padding:16px}.hb-board-review .form-actions>.btn{flex:1 1 40%}}
@media(prefers-reduced-motion:reduce){.hb-board-column{transition:none}}
.hb-board-summary{display:flex;flex-wrap:wrap;gap:12px 24px;margin:0 0 24px;padding:16px 20px;background:#fafbfc;border:1px solid #edf0f4;border-radius:12px}.hb-board-summary>div{display:flex;align-items:center;gap:9px;line-height:1.5}.hb-board-summary strong{font-size:18px;font-weight:700;color:#192d4b}.hb-board-summary span{font-size:12px;color:#657288}.hb-board-summary .needs-action strong,.hb-board-summary .needs-action span{color:#e51e59}.hb-board-feedback:not(:empty){padding:16px;margin-top:16px;border-radius:10px;background:#fff4f4;color:#e51e59;font-size:13px;line-height:1.7;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.hb-board-grid:has(>.hb-board-column:only-child){grid-template-columns:minmax(0,1fr)}.hb-board-grid>.hb-board-column:only-child .hb-board-stack{grid-template-columns:repeat(3,minmax(0,1fr))}.hb-board-grid>.hb-board-column:only-child .hb-board-column-empty{grid-column:1/-1}
@media(max-width:1180px){.hb-board-grid>.hb-board-column:only-child .hb-board-stack{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.hb-board-grid>.hb-board-column:only-child .hb-board-stack{grid-template-columns:minmax(0,1fr)}}
.hb-board-card-reference{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px;margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid #edf0f4;font-variant-numeric:proportional-nums}.hb-board-card-reference>strong{font-size:14px;font-weight:700;letter-spacing:.02em;color:#192d4b}.hb-board-card-reference>span{font-size:10px;color:#78869a}.hb-short-reference{display:block;font-size:12px!important;font-weight:700;color:#192d4b!important;letter-spacing:.025em;line-height:1.6;margin:0 0 9px!important;overflow-wrap:anywhere}.hb-booking-order{min-width:48px;padding:0 8px;flex-shrink:0;font-variant-numeric:proportional-nums}.hb-booking-reference code{font-family:inherit;font-size:17px;font-weight:700;letter-spacing:.03em;color:#192d4b}.hb-booking-reference small:last-child{font-size:12px;line-height:1.65;margin-top:5px}
.hb-invoice-booking-reference{padding:13px 16px;margin:0 0 20px;background:#f5f7fa;border-radius:10px;font-size:13px;line-height:1.7;color:#657288}.hb-invoice-booking-reference strong{color:#192d4b;font-weight:700;white-space:nowrap}

/* v0.3.513: readable hierarchy and compact card details, scoped to the board. */
.hb-board .hb-board-column>header{gap:10px;padding-bottom:14px}
.hb-board .hb-board-step{font-size:12px;flex-shrink:0}
.hb-board .hb-board-count{flex-shrink:0;font-size:14px}
.hb-board .hb-board-day>.field{flex:0 0 210px}
.hb-board .hb-board-day .hb-date-button{min-height:46px;gap:10px;padding:10px 12px;font-size:16px;white-space:nowrap}
.hb-board .hb-board-day .hb-date-button>span{white-space:nowrap;flex-shrink:0}
.hb-board .hb-board-tabs>button,.hb-board .btn{font-size:14px}
.hb-board .hb-board-card{padding:14px}
.hb-board .hb-board-card-reference{margin-bottom:9px;padding-bottom:8px}
.hb-board .hb-board-card-reference>span{font-size:12px}
.hb-board .hb-board-card-top{margin-bottom:8px;font-size:14px}
.hb-board .hb-board-date{font-size:12px}
.hb-board .hb-board-card h3{font-size:19px;font-weight:800;margin-bottom:3px}
.hb-board .hb-board-service{font-size:14px;line-height:1.45;margin-bottom:3px}
.hb-board .hb-board-person{font-size:13px;line-height:1.45;margin-bottom:8px}
.hb-board .hb-board-document{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.hb-board .hb-board-status{font-size:11px;margin:0}
.hb-board .hb-board-invoice-number{font-size:12px;margin:0}
.hb-board .hb-board-card-foot{margin-top:10px;padding-top:10px;gap:10px}
.hb-board .hb-board-card-foot>strong{font-size:19px;font-weight:800}
.hb-board .hb-board-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hb-board .hb-board-card-actions>.btn{width:100%;padding:9px 10px;overflow-wrap:normal}
.hb-board .hb-board-column-empty{font-size:14px;min-height:90px;padding:16px 10px}
.hb-board .hb-board-column{min-height:210px}
.hb-board .hb-board-help,.hb-board .hb-board-summary span{font-size:14px}
@media(max-width:650px){.hb-board .hb-board-day{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-board .hb-board-day>.field{grid-column:1/-1;grid-row:1;width:100%}.hb-board .hb-board-day>.btn:last-child{grid-column:1/-1}.hb-board .hb-board-card{padding:14px}.hb-board .hb-board-column>header>h3{font-size:21px}}

.hb-board-touch-target{position:fixed;z-index:10000;bottom:100px;left:50%;transform:translateX(-50%);width:min(320px,calc(100vw - 40px));min-height:90px;display:grid;place-items:center;padding:20px;border:2px dashed #e51e59;border-radius:16px;background:#fff4f5;color:#192d4b;font-size:21px;font-weight:800;box-shadow:0 8px 32px #192d4b26;pointer-events:none}
.hb-board-touch-target.is-over{background:#192d4b;color:white;border-color:#192d4b}
@media(pointer:coarse){.hb-board .hb-board-grip{display:grid;place-items:center;min-width:44px;min-height:44px;margin-top:-8px;margin-bottom:-8px;touch-action:none;user-select:none;-webkit-user-select:none;border-radius:8px;background:#f5f7fa;color:#192d4b}}
@media(max-width:650px){.hb-board .hb-board-column{min-height:0;padding:14px}.hb-board .hb-board-column-empty{min-height:64px;padding:12px;margin:0}.hb-board .hb-board-grid{gap:12px}}

/* Attention count remains red in both selected and unselected tabs. */
.hb-board .hb-board-tabs>button[data-board-mode="attention"]>span{background:#e51e59;color:#fff;font-weight:800}

/* Keep feedback and its recovery action on separate rows. */
#hb-board-review>.error:not(:empty){display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:14px 16px 14px 49px;color:#e51e59;font-size:13px;font-weight:400;line-height:1.6;text-align:left}
#hb-board-review>.error>.btn{display:flex;flex:none;align-self:flex-start;margin:0;max-width:100%;font-size:14px;white-space:normal;overflow-wrap:normal}

/* Readable appointment data, with smaller type reserved for guidance. */
.hb-board .hb-board-column>header>h3{font-size:24px;font-weight:800}
.hb-board .hb-board-card h3{font-size:21px;line-height:1.4;margin-bottom:7px}
.hb-board :is(.hb-board-service,.hb-board-person,.hb-board-card-top,.hb-board-date,.hb-board-invoice-number){font-size:16px;line-height:1.5}
.hb-board .hb-board-service{font-weight:700;color:#192d4b}
.hb-board .hb-board-person{margin-bottom:12px}
.hb-board .hb-board-card-top{flex-wrap:wrap;gap:7px 10px}
.hb-board :is(.hb-board-card-reference>strong,.hb-board-card-reference>span){font-size:15px;font-weight:700}
.hb-board .hb-board-invoice-number{font-weight:700;color:#192d4b}
.hb-board .hb-board-status{font-size:14px;padding:6px 9px}
.hb-board .hb-board-card-foot>strong{font-size:22px}
.hb-board .hb-board-card{padding:18px}
.hb-board :is(.btn,.hb-board-tabs>button){font-size:15px;min-height:44px;padding:11px 14px}
.hb-board .hb-board-card-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:10px}
.hb-board-review .hb-board-review-client h3{font-size:26px;font-weight:800}
.hb-board-review .hb-board-review-client p{font-size:18px;font-weight:700;color:#192d4b}
.hb-board-review :is(.hb-board-review-client small,.hb-board-review-values dt){font-size:14px;font-weight:600;line-height:1.5}
.hb-board-review .hb-board-review-values dd{font-size:22px;font-weight:800;line-height:1.4}
.hb-board-review .btn,.hb-board-review .form-actions>.btn{font-size:16px;min-height:46px;padding:12px 18px}
.hb-board-review .hb-board-review-help{font-size:14px;line-height:1.7}
@media(max-width:380px){.hb-board-review-values{grid-template-columns:minmax(0,1fr)}.hb-board .hb-board-card{padding:15px}}

.hb-board .hb-booking-client-identity{margin:2px 0 10px}.hb-board .hb-booking-client-identity h3{margin:0;font-size:20px}.hb-board .hb-board-person.hb-booking-specialist-line{font-size:13px;line-height:1.4;margin:8px 0 12px}.hb-board-review .hb-booking-client-identity{margin:9px 0}.hb-board-review .hb-booking-client-identity h3{margin:0}

/* Reversible workflow: compact action and separate touch destinations. */
.hb-board-back{border:0;background:transparent;color:#52617b;font:inherit;font-size:12px;cursor:pointer;padding:9px 6px;border-radius:10px;white-space:nowrap}
.hb-board-back:hover,.hb-board-back:focus-visible{background:#f0f2f7;color:#192d4b}
.hb-board-touch-target{padding:8px;gap:8px;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));font-size:16px}
.hb-board-touch-target>[data-touch-target]{display:grid;place-items:center;min-height:80px;padding:12px;border:1px dashed #e51e59;border-radius:10px;text-align:center}
.hb-board-touch-target>[data-touch-target].is-over{background:#192d4b;color:white;border-color:#192d4b}

/* 0.3.546: mobile board summaries and closed appointments. */
@media(max-width:650px){
 .hb-board .hb-board-head{flex-wrap:wrap;gap:12px}
 .hb-board .hb-board-head>div{min-width:0;max-width:100%}
 .hb-board .hb-board-tabs>button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
 .hb-board .hb-board-tabs>button>span{flex-shrink:0}
 .hb-board .hb-board-column>header{flex-wrap:wrap}
 .hb-board .hb-board-column>header>h3{min-width:0;overflow-wrap:anywhere}
 .hb-board .hb-board-closed-grid>div{flex-wrap:wrap;gap:12px}
 .hb-board .hb-board-closed-grid>div>div{min-width:0;flex:1 1 160px;overflow-wrap:anywhere}
 .hb-board .hb-board-closed-grid .btn{max-width:100%;min-width:0}
 .hb-board .hb-board-summary>div{min-width:0;max-width:100%;flex-wrap:wrap}
 .hb-board .hb-board-back{min-height:44px;white-space:normal;max-width:100%}
 .hb-board .hb-board-day .hb-date-button>span{min-width:0;flex-shrink:1;white-space:normal}
}

/* Solitaire stack: every exposed spine is an accessible card selector. */
.hb-board-stack{display:flex;flex-direction:column;gap:0;isolation:isolate}
.hb-board-stack>.hb-board-card{position:relative;padding:0;border-top:4px solid #6835b5;box-shadow:0 -2px 7px #192c4b0a;cursor:default}
.hb-board-stack>.hb-board-card+.hb-board-card{margin-top:-8px}
.hb-board-column:is([data-board-column=running],[data-board-column=done]) .hb-board-card{border-top-color:#087d89}
.hb-board-stack>.hb-board-card.is-late{border-top-color:#e51e59}
.hb-board .hb-board-card-reference{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;width:100%;min-height:58px;margin:0;padding:9px 12px 14px;border:0;border-radius:8px 8px 0 0;background:transparent;color:#192c4b;text-align:left;touch-action:pan-x;user-select:none;cursor:grab;font:inherit}
.hb-board .hb-board-card-reference:disabled{opacity:1;cursor:default}
.hb-board .hb-board-card-reference>strong{font-size:12px}
.hb-board .hb-board-card-reference>span{font-size:11px;font-weight:400;text-align:right}
.hb-board .hb-board-card-reference>.hb-board-spine-name{grid-column:1/-1;font-size:12px;font-weight:600;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hb-board .hb-board-card-reference:is(:hover,.is-pulling){background:#f4f1fa}
.hb-board .hb-board-card-reference:disabled:hover{background:transparent}
.hb-board-card-body{padding:0 14px 16px}
.hb-board-card-body[hidden]{display:none}
.hb-board-card.is-front .hb-board-card-reference{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #edf0f4}
.hb-board-card.is-front .hb-board-spine-name{display:none}
.hb-board-card.is-front .hb-board-card-reference{min-height:44px}

/* Keep counts geometrically centered, including multi-digit totals. */
.hb-board .hb-board-tabs>button>span,.hb-board-alert strong{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:24px;height:24px;min-height:24px;padding:0 6px;line-height:1;font-variant-numeric:proportional-nums;text-align:center;flex-shrink:0}
@media(hover:hover){.hb-board .hb-board-tabs>button[aria-pressed="false"]:hover{background:var(--hb-button-soft);color:#192d4b;border-color:var(--hb-button-soft-border)}}
.hb-board .hb-board-tabs>button[aria-pressed="false"]:focus-visible{background:var(--hb-button-soft);border-color:var(--hb-button-soft-border)}

/* Waiting information stays inside existing cards and wraps on small screens. */
.hb-board-timing{display:grid;gap:4px;margin:8px 0 12px;font-size:.86rem;line-height:1.45;font-variant-numeric:proportional-nums}
.hb-board-timing p{margin:0;overflow-wrap:anywhere}.hb-board-timing [data-board-countdown]{font-weight:700;color:#47376a}
.hb-board-timing .hb-board-waiting{color:#e51e59;font-weight:600}.hb-board-timing [hidden]{display:none}.hb-board-booked{margin:0;font-size:.9rem}
.hb-board-start-conflicts{padding:14px;border:1px solid #efaecb;border-radius:14px;background:#fff8f6}.hb-board-start-conflicts>p{margin:0 0 12px;color:#e51e59}.hb-board-start-conflicts>div{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px 0}.hb-board-start-conflicts>div>span{flex:1 1 150px;font-size:.85rem}

.hb-board-start-conflicts .hb-start-conflict-info{display:grid;gap:5px;flex:1 1 200px;min-width:0;overflow-wrap:anywhere}.hb-start-conflict-info>span{font-size:.88rem;line-height:1.5}.hb-start-conflict-info>small{font-size:.85rem;line-height:1.5;font-weight:600;color:#e51e59}.hb-board-start-conflicts .hb-start-conflict-row+.hb-start-conflict-row{border-top:1px solid #efdad5;margin-top:8px;padding-top:14px}

/* Header-only back control; existing board styles remain unchanged. */
.hb-board-reference-row{display:grid;grid-template-columns:max-content 28px minmax(0,1fr)}
.hb-board .hb-board-reference-row .hb-board-card-reference{grid-column:1/-1;grid-row:1;grid-template-columns:subgrid;column-gap:6px}
.hb-board .hb-board-reference-row .hb-board-card-reference>strong{grid-column:1;padding-right:0}
.hb-board .hb-board-reference-row .hb-board-card-reference>span:not(.hb-board-spine-name){grid-column:3}
.hb-board .hb-board-reference-row .hb-board-back{position:relative;grid-column:2;grid-row:1;align-self:stretch;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:28px;height:auto;min-height:0;margin:0 0 10px;padding:9px 0 11px;box-sizing:border-box;color:#adb5c2;line-height:1;touch-action:manipulation}
.hb-board .hb-board-reference-row .hb-board-back:hover,.hb-board .hb-board-reference-row .hb-board-back:focus-visible{background:transparent;color:#adb5c2}
.hb-board .hb-board-reference-row .hb-board-back svg{width:16px;height:16px;flex:none}
.hb-board-card.is-folded .hb-board-back{display:none}

/* Outstanding work stays red in every board column. */
.hb-board .hb-board-stack>.hb-board-card.needs-attention{border-top-color:#e51e59}

/* Reserve touch gestures on the active card header for drag, not browser scrolling. */
.hb-board-card.is-front :is(.hb-board-card-top,.hb-board-reference-row,.hb-board-card-reference,.hb-board-grip){touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}
.hb-board-card.is-dragging :is(.hb-board-card-top,.hb-board-reference-row){cursor:grabbing}

/* Tap-to-choose remains open after releasing a stationary touch. */
.hb-board-touch-target{pointer-events:auto}
.hb-board-touch-target>button{font:inherit;color:inherit;background:transparent;cursor:pointer;touch-action:manipulation}
.hb-board-touch-target>[data-touch-cancel]{grid-column:1/-1;border:0;padding:7px;min-height:36px;font-size:12px;font-weight:500;color:#63728a}
.hb-board-touch-target>button:focus-visible{outline:2px solid #192d4b;outline-offset:2px}
.hb-board-card.is-front :is(.hb-board-card-top,.hb-board-reference-row,.hb-board-card-reference,.hb-board-grip){-webkit-touch-callout:none}

/* Equal pockets; white touch tray with equal pale-grey destinations. */
.hb-board .hb-board-grid{align-items:stretch;grid-auto-rows:1fr}
.hb-board .hb-board-column{height:100%;box-sizing:border-box;background:#f5f7fa}
.hb-board-touch-target{background:#fff;border:1px solid #e1e7ef;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;justify-items:stretch;padding:12px;gap:10px;box-sizing:border-box}
.hb-board-touch-target>[data-touch-target]{width:100%;height:88px;min-height:88px;min-width:0;box-sizing:border-box;background:#f5f7fa;border:1px solid #e1e7ef;border-radius:12px;padding:10px;font-size:15px;overflow-wrap:anywhere}
.hb-board-touch-target>[data-touch-target]:only-of-type{grid-column:1/-1}
.hb-board-touch-target>[data-touch-target].is-over{background:#192d4b;color:#fff;border-color:#192d4b}
@media(max-width:650px){body:has([data-booking-board]),body:has([data-booking-board]) #app,.hb-board{background:#fff}.hb-board .hb-board-grid{grid-auto-rows:1fr}}

/* Compact empty mobile pockets; retain equal touch targets. */
@media(max-width:650px){
 .hb-board .hb-board-grid{grid-auto-rows:auto;align-items:start}
 .hb-board .hb-board-column{height:auto;min-height:0}
 .hb-board .hb-board-column:has(.hb-board-column-empty){padding:12px 14px}
 .hb-board .hb-board-column:has(.hb-board-column-empty)>header{min-height:0;padding-bottom:10px}
 .hb-board .hb-board-column-empty{min-height:54px;padding:10px;margin:0}
}
.hb-board-touch-target{border:1.5px dashed #7c8798}
.hb-board-touch-target>[data-touch-target]{border:1.5px dashed #7c8798}
.hb-board-touch-target>[data-touch-cancel]{font-weight:700}

/* Freeze the source card while choosing a mobile destination. */
html.hb-board-scroll-locked{overflow:hidden;overscroll-behavior:none}
html.hb-board-scroll-locked body{position:fixed;top:var(--hb-board-lock-top);left:var(--hb-board-lock-left);width:100%;overflow:hidden;overscroll-behavior:none}
html.hb-board-scroll-locked #app{touch-action:none}
.hb-board-touch-target{overscroll-behavior:none;touch-action:none}

/* Mobile move destinations echo the board pockets. */
.hb-board-touch-target{border:1px solid #e1e7ef;border-radius:20px;background:#fff;padding:12px;gap:12px;bottom:max(24px,env(safe-area-inset-bottom));width:min(360px,calc(100vw - 24px));box-shadow:0 8px 28px #192d4b1a;font-weight:500}
.hb-board-touch-target>[data-touch-target]{position:relative;display:flex;align-items:flex-start;justify-content:flex-start;height:112px;min-height:112px;padding:16px 13px;border:1px solid #899bb8;border-radius:16px;background:#f5f7fa;color:#192d4b;text-align:left;font-size:16px;font-weight:500;line-height:1.3;overflow-wrap:normal}
.hb-board-touch-target>[data-touch-target]::after{content:"";position:absolute;inset:5px;border:1.5px dashed #7c8798;border-radius:11px;pointer-events:none}
.hb-board-touch-target>[data-touch-target].is-over{background:#192d4b;color:#fff;border-color:#192d4b}
.hb-board-touch-target>[data-touch-target].is-over::after{border-color:#dce4f0}
.hb-board-touch-target>[data-touch-cancel]{font-weight:500}
@media(max-height:480px){.hb-board-touch-target{bottom:12px;gap:8px;padding:10px}.hb-board-touch-target>[data-touch-target]{height:72px;min-height:72px}}

/* Soft, solid move pockets with centered labels. */
.hb-board-touch-target{border:1px solid #dfe5ed;border-radius:24px;gap:12px;background:#fff}
.hb-board-touch-target>[data-touch-target]{align-items:center;justify-content:center;text-align:center;border:2px solid #96a5bb;border-radius:22px;background:#f4f6f9;font-size:17px;font-weight:700;line-height:1.3;padding:14px;box-shadow:0 2px 5px #192d4b06}
.hb-board-touch-target>[data-touch-target]::after{content:none}
.hb-board-touch-target>[data-touch-target="collect"]{background:#edf5f4;border-color:#789b99}
.hb-board-touch-target>[data-touch-target].is-over{background:#192d4b;border-color:#192d4b;color:#fff;box-shadow:0 3px 10px #192d4b24}
.hb-board-touch-target>[data-touch-cancel]{font-weight:600}

/* Flat move palette: clear edges, balanced spacing, no shadows. */
.hb-board-touch-target{gap:14px;padding:16px;border:1px solid #e0e5ec;border-radius:28px;background:#fff;box-shadow:none}
.hb-board-touch-target>[data-touch-target]{height:108px;min-height:108px;border:3px solid #aeb8c6;border-radius:22px;background:#f7f8fa;color:#192d4b;box-shadow:none;font-size:16px;font-weight:700;letter-spacing:-.2px;line-height:1.25;text-align:center;padding:12px;transition:background-color .12s ease,border-color .12s ease,color .12s ease}
.hb-board-touch-target>[data-touch-target="collect"]{border-color:#aeb8c6;background:#f7f8fa}
.hb-board-touch-target>[data-touch-target].is-over{background:#192d4b;color:#fff;border-color:#192d4b;box-shadow:none}
.hb-board-touch-target>[data-touch-cancel]{margin:0;padding:8px;min-height:38px;border-radius:12px;background:#f2f4f7;color:#627087;font-size:13px;font-weight:600;box-shadow:none}
@media(max-height:480px){.hb-board-touch-target{padding:12px;gap:10px}.hb-board-touch-target>[data-touch-target]{height:72px;min-height:72px}}
@media(prefers-reduced-motion:reduce){.hb-board-touch-target>[data-touch-target]{transition:none}}
/* Empty pockets end just below their message on desktop and mobile. */
.hb-board .hb-board-column:has(.hb-board-column-empty){align-self:start;height:auto;min-height:0;padding-bottom:12px}
.hb-board .hb-board-column:has(.hb-board-column-empty) .hb-board-stack{min-height:0;flex-grow:0}
.hb-board .hb-board-column:has(.hb-board-column-empty) .hb-board-column-empty{min-height:0;height:auto;margin:0;padding:12px 10px}

/* Shared document-state colors, independent of pocket. */
.hb-board .hb-board-stack>.hb-board-card.is-ok{border-top-color:#7044b5}
.hb-board .hb-board-stack>.hb-board-card.is-problem{border-top-color:#e51e59}
.hb-board .hb-board-stack>.hb-board-card.is-credit{border-top-color:#279574}

/* Glass pockets and more opaque headers, matching Archives. */
.hb-board .hb-board-column:not(.can-drop){background:#F7F9FC;border-color:#e7ebf1}
.hb-board .hb-board-column>header{background:#EEF0F3;border-radius:10px;padding:10px;margin-bottom:12px}


/* Clearly readable empty-pocket messages. */
.hb-board .hb-board-column-empty{color:#17181b;font-weight:700}

/* Full-card stack dragging, shared with the invoice archive. */
.hb-board-stack{overflow-anchor:none}
.hb-board-stack>.hb-board-card.is-folded:focus-within{height:var(--hb-fold-height,48px);min-height:0}
.hb-board-card.is-folded [data-board-front]{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}
.hb-card-drag-layer,.hb-card-drag-layer *{pointer-events:none!important}
.hb-card-drag-layer .hb-card-drag-copy{box-shadow:0 14px 35px #192d4b30;transition:none!important;animation:none!important;opacity:1}
.hb-card-drag-layer .hb-board-card-body{display:block!important}

/* The header always supports lifting, including a single or front card. */
.hb-board-card [data-board-front]{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}

.hb-board-card .hb-board-reference-row{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}

/* Pointer-driven header/grip drops share the native destination feedback. */
.hb-board-column.can-drop.is-over{background:#e1eaf4;border-color:#192d4b;outline-style:solid}

/* Floating glass destinations sit above the lifted card, without an outer panel. */
.hb-board-touch-target{z-index:2147483001;background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;padding:0;border-radius:0;min-height:0;width:min(320px,calc(100vw - 32px));grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;bottom:max(76px,calc(env(safe-area-inset-bottom) + 60px));pointer-events:none}
.hb-board-touch-target>[data-touch-target]{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center;grid-column:auto;width:100%;height:auto;min-height:0;aspect-ratio:1;box-sizing:border-box;padding:12px;border:1px solid rgba(255,255,255,.85);border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.45),rgba(255,255,255,.12) 44%,rgba(236,240,245,.25));color:#192d4b;backdrop-filter:blur(4px) saturate(115%);-webkit-backdrop-filter:blur(4px) saturate(115%);box-shadow:0 5px 18px #192d4b14,inset 1px 1px 2px #ffffffcc,inset -1px -2px 5px #192d4b16;font-size:16px;font-weight:700;text-align:center;transition:box-shadow .15s ease}
/* Curved highlights and different blur zones suggest a softly frosted lens. */
.hb-board-touch-target>[data-touch-target]::before{content:"";position:absolute;inset:5px;border-radius:20px;background:radial-gradient(ellipse at 25% 5%,#ffffff5c,transparent 55%),radial-gradient(ellipse at 95% 95%,#ffffff38,transparent 50%);box-shadow:inset 0 1px 0 #ffffffa6,inset 0 -1px 2px #ffffff66;pointer-events:none}
.hb-board-touch-target>[data-touch-target]::after{content:"";position:absolute;inset:14%;border:0;border-radius:38%;background:radial-gradient(ellipse,rgba(255,255,255,.03) 55%,rgba(255,255,255,.14));backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);pointer-events:none}
.hb-board-touch-target>[data-touch-target]:only-of-type{grid-column:2}
.hb-board-touch-target .hb-drop-label{position:relative;z-index:1;text-shadow:0 1px 5px #ffffffcc}
.hb-board-touch-target>[data-touch-target].is-over{background:linear-gradient(135deg,rgba(255,255,255,.45),rgba(255,255,255,.12) 44%,rgba(236,240,245,.25));color:#e51e59;border-color:rgba(255,255,255,.95);box-shadow:0 5px 20px #192d4b1c,inset 1px 1px 3px #ffffffed,inset -1px -2px 5px #192d4b16}
.hb-board-touch-target>[data-touch-target].is-over .hb-drop-label{color:#e51e59;animation:hb-drop-label-pulse 1.1s ease-in-out infinite}
@keyframes hb-drop-label-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.65;transform:scale(1.06)}}
@media(prefers-reduced-motion:reduce){.hb-board-touch-target>[data-touch-target].is-over .hb-drop-label{animation:none}}
.hb-board-touch-target>button{pointer-events:auto}
@media(max-height:480px){.hb-board-touch-target{width:240px;gap:10px;bottom:max(12px,env(safe-area-inset-bottom))}.hb-board-touch-target>[data-touch-target]{padding:10px;border-radius:20px}}

/* Borderless glass: retain soft refraction, remove white edge lines. */
.hb-board-touch-target>[data-touch-target],.hb-board-touch-target>[data-touch-target].is-over{border:0;box-shadow:0 5px 18px #192d4b14}
.hb-board-touch-target>[data-touch-target]::before{box-shadow:none}

/* Keep touch destinations within quick reach at the viewport midpoint. */
.hb-board-touch-target{top:50%;bottom:auto;transform:translate(-50%,-50%)}

/* Keep the pocket edge crisp after board-specific state styles. */
.hb-board .hb-board-column:not(.can-drop){border-color:#e7ebf1;box-shadow:none}

/* Appointment date is secondary to the time. */
.hb-board .hb-board-card .hb-board-card-top .hb-board-date{font-size:12px;font-weight:700;line-height:1.35;color:#77808e;letter-spacing:0}

.hb-board .hb-board-card .hb-board-card-top:has(>.hb-board-date){align-items:baseline}
.hb-board .hb-board-card .hb-board-card-top>.hb-board-date{margin-left:auto;text-align:right}
.hb-board .hb-board-card .hb-board-card-top>.hb-board-date+.hb-board-grip{margin-left:0;align-self:center;flex-shrink:0}

/* Keep history separate from collection notes in every board pocket. */
.hb-board .hb-board-card .hb-board-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:4px}
.hb-board .hb-board-card .hb-board-history-row>.hb-collection-note-link{min-width:0;margin:0}
.hb-board .hb-board-card .hb-board-history-row>.hb-card-history-link{flex:0 0 auto;width:auto;min-height:0;margin:0 0 0 auto;padding:5px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#68758a;font:inherit;font-size:12px;font-weight:650;line-height:1.5;text-align:right}
.hb-board .hb-board-card .hb-board-history-row>.hb-card-history-link:hover{color:#e51e59;background:transparent;text-decoration:underline;text-decoration-color:#e51e59}
/* Finance uses the same pockets, glass, stripes and stacked cards as Today. */
.hb-finance-pockets>.hb-board-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.hb-finance-pockets .hb-board-card-reference{width:100%;border:0;background:transparent;text-align:left;display:flex;gap:10px;align-items:center;color:inherit}
.hb-finance-pockets .hb-board-reference-row{touch-action:pan-y;cursor:pointer}
.hb-finance-pockets .hb-board-client,.hb-finance-pockets .hb-board-service{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hb-finance-pockets .hb-board-card-foot>strong,.hb-fp-balance{text-align:right}
.hb-fp-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}.hb-fp-toolbar h3{font-size:18px;font-weight:700;margin-right:auto}.hb-fp-toolbar>.field{margin:0;max-width:200px}
.hb-fp-links{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;font-weight:700}.hb-fp-links>a,.hb-fp-links>button{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:#192d4b;font:inherit}.hb-fp-links svg{width:17px;height:17px}.hb-fp-links>button:hover,.hb-fp-links>a:hover{color:#e51e59}
.hb-fp-red,.hb-fp-error{color:#e51e59}.hb-fp-balance{font-size:12px}.hb-finance-pockets .hb-board-count{font-weight:700}
@media(max-width:770px){.hb-finance-pockets>.hb-board-grid{grid-template-columns:1fr}}
.hb-finance-pockets .hb-board-card.is-front :is(.hb-board-reference-row,.hb-board-card-reference){touch-action:pan-y;cursor:pointer}
.hb-finance-pockets .hb-board-preview>.hb-board-card{padding:0;border-top:4px solid #7044b5}
.hb-finance-pockets .hb-board-preview>.hb-board-card.is-problem{border-top-color:#e51e59}.hb-finance-pockets .hb-board-preview>.hb-board-card.is-credit{border-top-color:#279574}

/* Compact finance cards follow Today's full-width header and lower grip. */
.hb-finance-pockets .hb-board-reference-row{display:block;padding:0}
.hb-finance-pockets .hb-board-reference-row .hb-board-card-reference{display:flex;width:100%;margin:0;box-sizing:border-box;padding:12px 14px}
.hb-finance-pockets .hb-board-card.is-front .hb-board-card-reference{touch-action:none;cursor:grab}
.hb-finance-pockets .hb-board-card-body{position:relative;padding:12px 14px}
.hb-finance-pockets .hb-fp-grip{position:absolute;right:8px;top:4px;color:#929aa7;margin:0;padding:4px 10px;background:transparent}
.hb-finance-pockets .hb-board-client{margin:0 35px 8px 0;font-size:16px;line-height:1.4}
.hb-finance-pockets .hb-board-service{margin:6px 0;font-size:15px;line-height:1.4}
.hb-finance-pockets .hb-board-card-foot{margin-top:10px;padding-top:10px;gap:10px}
.hb-finance-pockets .hb-board-card-foot>strong{font-size:23px}
.hb-finance-pockets .hb-board-card-actions{gap:8px}

@media(min-width:771px){.hb-board-touch-target.hb-fp-drag-targets{display:none!important}}

/* Planned invoice: header preview, centered total, two compact actions. */
.hb-finance-pockets .hb-fp-planned .hb-board-reference-row{display:flex;align-items:center}
.hb-finance-pockets .hb-fp-planned .hb-board-card-reference{flex:1 1 auto;min-width:0;width:auto}
.hb-finance-pockets .hb-fp-preview-eye{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin:0 4px 0 0;padding:10px;border:0;border-radius:0;background:transparent;color:#e51e59;box-shadow:none;cursor:pointer}
.hb-finance-pockets .hb-fp-preview-eye:hover,.hb-finance-pockets .hb-fp-preview-eye:active{background:transparent;color:#e51e59;box-shadow:none}
.hb-finance-pockets .hb-fp-preview-eye:focus-visible{outline:2px solid #e51e59;outline-offset:-5px;border-radius:8px}
.hb-finance-pockets .hb-fp-preview-eye svg{width:24px;height:24px;pointer-events:none}
.hb-finance-pockets .hb-fp-planned .hb-board-card-foot>strong{display:block;width:100%;text-align:center}
.hb-finance-pockets .hb-fp-planned .hb-board-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
.hb-finance-pockets .hb-fp-planned .hb-board-card-actions>.btn{width:100%;min-width:0;margin:0;padding:9px 8px;justify-content:center}

/* Large pockets keep scrolling on touch, keyboard and desktop. */
.hb-board-browser,.hb-vault-browser,.hb-board-preview,.hb-vault-preview{min-width:0;max-width:100%}
:is(.hb-board,.hb-invoice-register) .hb-vault-index{min-height:104px;max-height:min(35dvh,260px);overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:auto;touch-action:pan-y pinch-zoom}
:is(.hb-board,.hb-invoice-register) .hb-vault-load{display:grid;gap:8px;padding:10px;min-height:70px;box-sizing:border-box;overflow:hidden}
:is(.hb-board,.hb-invoice-register) .hb-vault-load i{display:block;width:100%;height:24px;border-radius:7px;background:linear-gradient(90deg,#f0edf5 25%,#faf9fc 50%,#f0edf5 75%);background-size:200% 100%;animation:hb-pocket-skeleton 1.4s linear infinite}
:is(.hb-board,.hb-invoice-register) .hb-vault-load i:last-child{width:72%}
@keyframes hb-pocket-skeleton{to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){:is(.hb-board,.hb-invoice-register) .hb-vault-load i{animation:none}}

/* Paint the whole planned-card header, including the preview icon area. */
.hb-finance-pockets .hb-fp-planned .hb-board-reference-row{border-radius:10px 10px 0 0}
.hb-finance-pockets .hb-fp-planned .hb-board-reference-row:is(:hover,:focus-within){background:#f4f1fa}
.hb-finance-pockets .hb-fp-planned .hb-board-reference-row .hb-board-card-reference:is(:hover,.is-pulling){background:transparent}

/* Consistent typography for booking action reviews, including conflicts and errors. */
#modal #hb-board-review{font-size:16px;line-height:1.6;gap:20px}
#modal #hb-board-review :is(.hb-board-review-client p,.hb-board-review-client small,.hb-board-review-values dt,.hb-board-booked,.hb-board-review-help,.hb-start-conflict-info>strong,.hb-start-conflict-info>span,.hb-start-conflict-info>small,.hb-accepted-work small,.hb-accepted-work p,.hb-accepted-work strong,.hb-accepted-work span,.hb-board-start-conflicts>p,.error:not(:empty),.error p,.error small,.btn){font-size:16px;line-height:1.6}
#modal #hb-board-review :is(strong,.hb-specialist-message,.hb-start-conflict-info>small){font-weight:700}
#modal #hb-board-review .hb-booking-client-identity h3{font-size:22px;line-height:1.35;font-weight:750}
#modal #hb-board-review .hb-board-review-values dd{font-size:18px;line-height:1.5;font-weight:750}
#modal #hb-board-review :is(.hb-board-review-client small,.hb-board-review-values dt,.hb-accepted-work small){color:#686872;font-weight:400}
#modal #hb-board-review .hb-accepted-work{margin:0;gap:18px}
#modal #hb-board-review .hb-accepted-work :is(strong,span){color:#252529}
#modal #hb-board-review .hb-board-review-help{margin:0;padding:16px;background:#f4f4f5;border-radius:12px;color:#536178}
#modal #hb-board-review :is(.hb-board-start-conflicts,.error:not(:empty)){background:#f4f4f5;border:0;border-left:3px solid #e51e59;border-radius:13px;color:#e51e59;box-shadow:none}
#modal #hb-board-review .hb-board-start-conflicts{padding:16px}
#modal #hb-board-review :is(.hb-board-start-conflicts>p,.error:not(:empty)){font-weight:600}
#modal #hb-board-review .hb-start-conflict-info{gap:6px;color:#252529}
#modal #hb-board-review .hb-start-conflict-info>small{color:#e51e59}
#modal #hb-board-review .hb-start-conflict-row{gap:14px;align-items:center}
#modal #hb-board-review .hb-start-conflict-row+.hb-start-conflict-row{border-color:#dedee3}
#modal #hb-board-review .btn{min-height:46px;padding:10px 16px}

/* Rear playing-card edges continue beneath the next card's rounded shoulders.
   Used by Today, invoice vault and financial pockets. Keep the exposed step. */
.hb-board-stack>.hb-board-card.is-folded:not(:last-child),
.hb-vault-stack>.hb-vault-card:not(.is-front):not(:last-child),
.hb-board-stack>.hb-board-card.is-folded:not(:last-child):focus-within,
.hb-vault-stack>.hb-vault-card:not(.is-front):not(:last-child):focus-within{
 height:calc(var(--hb-fold-height,48px) + 18px)!important;
 min-height:0!important;max-height:none!important;margin-bottom:-18px!important;
 border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;
 border-bottom-color:transparent!important;box-shadow:none!important;
}
.hb-board-stack>.hb-board-card.is-folded:not(:last-child)>.hb-board-reference-row,
.hb-vault-stack>.hb-vault-card:not(.is-front):not(:last-child)>.hb-board-reference-row{
 border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;
}

/* Temporary drag state stays out of inline styles and preserves pointer capture. */
.hb-stack-lifted{position:absolute!important;opacity:0!important}

/* Lifted project cards leave the flow; the remaining stack is measured again. */
.hb-applicant-board-card.hb-stack-lifted{position:absolute!important}
