/* Booking and external portal: scoped additions to the existing Zaezdo design. */
.bk-section{margin:24px 0;padding:20px 0;border-top:1px solid #e8e2dc}
.bk-section h2{font-size:20px;font-weight:600;margin:0 0 15px}
.bk-section h3{font-size:16px;margin:10px 0}
.bk-section summary{font-size:18px;font-weight:500;cursor:pointer;padding:8px 0}
.bk-toolbar{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:end;margin:16px 0}
.bk-toolbar>label,.bk-grid>label,.bk-field{display:flex;flex-direction:column;gap:6px;font-size:14px;min-width:0}
.bk-toolbar>label{min-width:130px}
.bk-toolbar h2{margin-right:auto}
.bk-toolbar .muted{align-self:center}
.bk-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:15px 0;max-width:960px}
.bk-field{margin:14px 0;max-width:720px}
.bk-field input,.bk-grid input,.bk-toolbar input,.bk-field select,.bk-grid select,.bk-toolbar select,.bk-field textarea,.bk-table input,.bk-member-form select,.bk-dialog select,.bk-dialog textarea{box-sizing:border-box;border:1px solid #dcd5ce;border-radius:5px;background:#fff;color:#302d2b;font:inherit;min-height:39px;padding:8px 10px;max-width:100%;width:100%}
.bk-field textarea,.bk-dialog textarea{resize:none}
.bk-field input:focus:not(.visit-field-error),.bk-grid input:focus:not(.visit-field-error),.bk-dialog button:focus-visible{outline:2px solid #8f3b3b;outline-offset:2px}
.bk-checks{display:flex;flex-wrap:wrap;gap:12px 22px;margin:12px 0}
.bk-checks label,.bk-inline-check{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:7px;font-size:14px}
.bk-checks input,.bk-inline-check input{width:17px!important;min-height:17px!important;height:17px;accent-color:#8e3938}
.bk-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-end;margin:18px 0}
.bk-actions .button{white-space:normal}
.bk-tabs{display:flex;gap:24px;flex-wrap:wrap;border-bottom:1px solid #ded7d0;margin:15px 0}
.bk-tabs a{padding:12px 0;text-decoration:none;color:#5d514b}
.bk-tabs a.active{border-bottom:3px solid #8e3938;color:#742f2f}
.bk-table-wrap{overflow:auto}
.bk-table{border-collapse:collapse;width:100%;font-size:14px}
.bk-table th{text-align:left;background:#f1ede8;color:#65574e;font-weight:600;padding:12px}
.bk-table td{padding:12px;border-bottom:1px solid #e9e3dd;vertical-align:middle}
.bk-table small{display:block;color:#7d746c;margin-top:4px}
.bk-table input{min-width:160px}
.bk-empty{padding:24px 0;color:#766a61}
.bk-feedback{white-space:pre-line;margin:14px 0;font-size:14px;color:#386442}
.bk-feedback:empty{display:none}
.bk-feedback.is-error{color:#992f2f}
.bk-feedback textarea{display:block;width:100%;font:13px monospace;padding:10px;box-sizing:border-box}
.bk-feedback textarea + .button{margin-top:16px}
.bk-warning{white-space:pre-line;background:#fff5df;border-left:3px solid #c28d38;border-radius:3px;padding:10px 14px;color:#76541c;font-size:14px;line-height:1.5}
.bk-public-comment{white-space:pre-line;color:#6c625a;font-size:14px}
.bk-summary,.bk-booking-current{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;background:#f4f1ed;border-radius:6px;padding:16px 20px;margin:16px 0}
.bk-summary>div{flex:1}
.bk-summary p{margin:5px 0}
.bk-booking-current{align-items:flex-start;flex-direction:column;gap:6px}
.bk-booking-current .bk-warning{align-self:stretch}
.bk-stats-counters>span{font-size:14px;border-right:1px solid #ddd4cc;padding-right:18px;white-space:nowrap}
.bk-stats b{margin-left:6px}
.bk-slot-time{font-size:11px;color:#70665d}
.bk-filter-muted{opacity:.25!important}
.bk-legend{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0;font-size:12px;color:#74695f}
.bk-legend-free:before,.bk-legend-occupied:before,.bk-legend-warning:before,.bk-legend-error:before,.bk-legend-break:before{content:"";display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;background:#aac2a9}
.bk-legend-free:before{background:var(--schedule-slot-bg,#d1f2cb);border:1px solid var(--schedule-slot-border,#c3e9bb)}
.bk-legend-break:before{background:var(--schedule-break-bg,#f9d3d2)}
.bk-legend-warning:before{background:#d7b469}
.bk-legend-error:before{background:#be7770}
.bk-dialog{padding:0;width:min(900px,94vw);max-height:92vh;border:1px solid #d9cec4;border-radius:10px;background:#fff;color:#322c27;box-shadow:0 12px 60px #0003}
.bk-dialog::backdrop{background:#27211c66}
.bk-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 22px;border-bottom:1px solid #ece4dc}
.bk-dialog-header h2{font-size:21px;margin:0;font-weight:600}
.bk-dialog-close{background:none;border:0;font-size:28px;width:34px;height:34px;cursor:pointer;border-radius:4px}
.bk-dialog-close:hover{background:#eee7df}
.bk-dialog-body{padding:0 22px 18px;max-height:58vh;overflow-y:auto}
.bk-dialog-footer{border-top:1px solid #ece4dc;padding:14px 22px;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.bk-dialog-footer .bk-selection{width:100%;max-height:20vh;overflow:auto}
.bk-dialog-footer .bk-selection:empty{display:none}
.bk-slot-group{border-bottom:1px solid #eee7e0;padding:4px 0 18px}
.bk-slot-group h4{font-size:15px;margin:10px 0}
.bk-slot-buttons{display:flex;flex-wrap:wrap;gap:8px}
.bk-dialog .bk-slot-buttons .button{border-width:2px;min-height:40px}
.bk-dialog .bk-slot-buttons .button:hover:not(.is-selected){background:#eee8df;border-color:#b9a99c}
.bk-dialog .bk-slot-buttons .button.is-selected{background:#faeaec;color:#7f2533;border-color:#9e2634;font-weight:600}
.bk-slot-search-toolbar{display:grid;grid-template-columns:134px 134px max-content;column-gap:18px;align-items:end}
.bk-slot-search-toolbar>.bk-field{margin:0}
.bk-slot-search-toolbar input,.bk-slot-search-toolbar>.button{height:40px;min-height:40px;margin:0}
.bk-dialog .bk-slot-search-toolbar>.button.bk-find-intervals{border-color:#9e2634;color:#842536;background:#fff8f8;font-weight:500}
.bk-dialog .bk-slot-search-toolbar>.button.bk-find-intervals:hover{background:#f4e5e7;border-color:#842536}
.bk-slot-options h3{font-size:18px}
.bk-dialog .button,.bk-external .button,.bk-section .button,.bk-toolbar .button{display:inline-flex;justify-content:center;align-items:center;min-height:38px;padding:8px 14px;box-sizing:border-box;cursor:pointer;text-decoration:none;border:1px solid #8b3d3b;border-radius:5px;background:#8b3d3b;color:white;font:inherit;font-size:14px}
.bk-dialog .button.secondary,.bk-external .button.secondary,.bk-section .button.secondary,.bk-toolbar .button.secondary{border-color:#d6c9bd;background:#faf7f3;color:#6d4c3b}
.bk-dialog button:disabled,.bk-external button:disabled{opacity:.55;cursor:wait}
.bk-search-results{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.bk-dl{display:grid;grid-template-columns:minmax(130px,1fr) 2fr;gap:10px 18px;font-size:14px}
.bk-dl dt{color:#796b60}
.bk-dl dd{margin:0;overflow-wrap:anywhere}
.bk-dl small{display:block;color:#8e8277}
.bk-external{background:#f7f5f2;color:#322d28;font:15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;margin:0}
.bk-external-header{display:flex;gap:30px;align-items:center;padding:16px max(24px,calc((100% - 1250px)/2));background:#fff;border-bottom:1px solid #e9e2dc;flex-wrap:wrap}
.bk-brand{font-size:25px;color:#853b39;text-decoration:none;font-weight:650;line-height:1.15}
.bk-brand span{display:block;font-size:12px;color:#8c7b6e;font-weight:400;margin-top:4px}
.bk-external-header nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.bk-external-header nav a{color:#665348;text-decoration:none}
.bk-external-user{display:flex;gap:12px;align-items:center;margin-left:auto;font-size:13px}
.bk-external-main{max-width:1200px;margin:0 auto;padding:24px}
.bk-external-footer{max-width:1200px;margin:30px auto;padding:20px 24px;border-top:1px solid #e3dcd4;color:#8d8074;font-size:12px}
.bk-organization{display:flex;flex-wrap:wrap;gap:12px 25px;color:#786757;margin-bottom:25px;font-size:13px}
.bk-external h1{font-size:28px;font-weight:600;margin:0 0 8px}
.bk-external .page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin:20px 0;flex-wrap:wrap}
.bk-external .muted{color:#877c71}
.bk-external .field-help{color:#8b7e72;font-size:13px;line-height:1.55}
.bk-external a{color:#8a3c3b}
.bk-external .bk-section{background:white;padding:22px;border:1px solid #e7dfd7;border-radius:7px}
.bk-login{max-width:600px;background:#fff;border:1px solid #e7dfd7;border-radius:8px;padding:32px;margin:35px auto}
.bk-login .button{margin-top:12px}
.bk-fieldset{border:0;padding:0;margin:15px 0;min-width:0}
.bk-fieldset legend{font-size:17px;font-weight:500}
.bk-visit-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:16px}
.bk-visit-card{background:#fff;border:1px solid #e5ddd5;border-radius:7px;padding:18px;min-width:0}
.bk-visit-card-heading{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}
.bk-visit-card-heading strong{font-size:18px}
.bk-visit-card-heading>a{text-decoration:none}
.bk-visit-card-heading>span{color:#95816d;font-size:13px}
.bk-visit-card-body{display:flex;flex-direction:column;gap:7px;font-size:14px}
.bk-visit-card-footer{display:flex;gap:12px;justify-content:space-between;margin-top:16px;padding-top:12px;border-top:1px solid #eee5de;font-size:13px}
.bk-visit-card-footer small{color:#9d8d7f;font-size:11px;max-width:50%;overflow:hidden;text-overflow:ellipsis}
.bk-badge{font-size:13px;color:#766557}
.bk-detail-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}
.bk-detail-grid .bk-section{margin:0}
.bk-cargo-part{border-top:1px solid #e8e0d8;padding:12px 0}
.bk-cargo-part h3{margin:0}
.bk-member-form{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.bk-member-form select{width:auto}
.bk-member-form .bk-feedback{flex-basis:100%;margin:0}
.bk-notification{display:flex;gap:20px;justify-content:space-between;padding:20px;border-bottom:1px solid #e6ded6;background:#fff}
.bk-notification.is-unread{border-left:3px solid #8c3d3b}
.bk-notification h2{font-size:17px;margin:0 0 6px}
.bk-notification p{white-space:pre-line;font-size:14px}
.bk-notification time{color:#948374;font-size:12px}
.bk-notification a{text-decoration:none}
.bk-notification form{flex-shrink:0}
.bk-external-form{max-width:1000px}
.bk-external [hidden],.bk-dialog [hidden],[data-booking-editor] [hidden]{display:none!important}

@media (max-width:760px){
.bk-external-main{padding:16px}
.bk-external-header{padding:14px 16px;gap:16px}
.bk-external-header nav{order:3;width:100%;gap:15px;font-size:14px}
.bk-external-user{font-size:12px;max-width:60%;gap:7px}
.bk-external-user span{max-width:180px}
.bk-visit-list,.bk-detail-grid{grid-template-columns:1fr}
.bk-login{padding:22px 18px;margin:15px auto}
.bk-grid{grid-template-columns:1fr 1fr}
.bk-toolbar{gap:12px}
.bk-toolbar>label{flex:1;min-width:130px}
.bk-tabs{gap:18px;font-size:14px}
.bk-stats>label{margin-left:0}
.bk-slot-time{font-size:12px}
.bk-dialog{width:calc(100vw - 20px);max-height:95vh}
.bk-dialog-header{padding:14px}
.bk-dialog-body{padding:0 14px 15px;max-height:56vh}
.bk-dialog-footer{padding:12px 14px}
.bk-dialog-header h2{font-size:19px}
.bk-dialog-footer .bk-selection{max-height:20vh}
.bk-notification{flex-direction:column;gap:8px;padding:16px}
.bk-dl{grid-template-columns:1fr;gap:3px}
.bk-dl dd{margin-bottom:10px}
.bk-member-form select{width:100%}
.bk-external .bk-section{padding:18px 14px}
.bk-actions{justify-content:stretch}
.bk-actions>*{flex:1;text-align:center}
.bk-summary{padding:14px}
}

@media (max-width:440px){
.bk-grid{grid-template-columns:1fr}
.bk-external h1{font-size:25px}
.bk-tabs{gap:13px}
.bk-table{font-size:13px}
}



.bk-list-summary{margin-top:6px;font-size:12px;line-height:1.4;color:#746457}
.bk-list-summary details{margin-top:4px}
.bk-list-summary summary{color:#8a6325;cursor:pointer}
.bk-list-summary p{white-space:pre-line;margin:5px 0}

/* Shared v0.1.127 booking and self-service validation. */

/* Board filter columns: label is above select, counters centered on the control. */
.bk-toolbar.bk-board-toolbar{display:grid;grid-template-columns:minmax(0,300px) 42px 134px 42px max-content;grid-template-rows:auto auto;column-gap:18px;row-gap:6px;align-items:end}

.bk-board-toolbar>.bk-board-site{grid-column:1;grid-row:1;min-width:0;width:100%}

.bk-board-toolbar>.bk-board-date{grid-column:3;grid-row:1;min-width:0}

.bk-board-previous{grid-column:2;grid-row:1}
.bk-board-next{grid-column:4;grid-row:1}
.bk-board-show{grid-column:5;grid-row:1}

.bk-board-toolbar .bk-board-timezone{grid-column:1;grid-row:2;align-self:start;font-size:13px;line-height:1.45;overflow-wrap:anywhere;min-width:0}

.bk-board-toolbar .custom-select,.bk-board-toolbar .custom-select-button{width:100%;min-width:0}

.bk-board-toolbar>.button{height:40px;min-height:40px;margin:0}

.bk-toolbar.bk-stats{display:grid;grid-template-columns:auto minmax(240px,1fr) 164px;column-gap:24px;row-gap:0;align-items:end}

.bk-stats-counters{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;min-height:40px;min-width:0}

.bk-stats-filter{margin:0;min-width:164px!important;font-size:14px}

.bk-stats-filter select,.bk-stats-filter .custom-select-button{height:40px;min-height:40px}

.bk-point-traits{font-size:12px;line-height:1.4;margin:5px 0 0;display:flex;flex-direction:column;gap:4px;font-weight:400;color:#746457;overflow-wrap:anywhere}

.bk-point-traits div{display:block}
.bk-point-traits dt{display:inline;font-weight:600}
.bk-point-traits dd{display:inline;margin:0 0 0 4px}

.bk-dialog.bk-visit-picker[open]{display:flex;flex-direction:column;height:min(900px,92dvh);max-height:92dvh;overflow:hidden}

.bk-visit-picker .bk-dialog-header,.bk-visit-picker .bk-dialog-footer{flex:none}

.bk-visit-picker .bk-dialog-body{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto}

.bk-picker-context{font-size:14px;line-height:1.5;margin:16px 0 8px;white-space:pre-line}
.bk-picker-help{font-size:12px;color:#7d746c;line-height:1.5;margin:8px 0}
.bk-picker-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:16px 0 12px}
.bk-picker-query-group{display:grid;grid-template-columns:175px minmax(0,1fr);align-items:center;gap:10px;box-sizing:border-box;border:1px solid #d6c9bd;border-radius:5px;background:#fff;padding:3px;height:40px;min-width:0}
.bk-picker-query-group:focus-within{border-color:#9e2634}
.bk-picker-search .bk-field{margin:0;max-width:none}
.bk-picker-query-group>.custom-select,.bk-picker-query-group>.bk-picker-filter{width:175px;min-width:0}
.bk-picker-query-group .custom-select-button,.bk-dialog .bk-picker-filter{height:32px;min-height:32px;background:#f1ece6;border:0;padding:5px 10px;border-radius:4px;font-size:14px}
.bk-picker-query{min-width:0;border-left:1px solid #ded6cd;padding-left:10px}
.bk-dialog .bk-picker-query input{height:32px;min-height:32px;border:0;background:transparent;padding:5px 6px;outline:none;box-shadow:none;font-size:14px}
.bk-dialog .bk-picker-search>.button{height:40px;min-height:40px;margin:0}
.bk-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

.bk-picker-feedback{white-space:pre-line}
.bk-picker-feedback:focus{outline:none}

.bk-picker-footer:empty{display:none}

@media (max-width:760px){

 .bk-toolbar.bk-board-toolbar{grid-template-columns:42px minmax(0,134px) 42px max-content;gap:6px 12px}

 .bk-board-toolbar>.bk-board-site{grid-column:1/-1;grid-row:1}

 .bk-board-toolbar .bk-board-timezone{grid-column:1/-1;grid-row:2}

 .bk-board-toolbar>.bk-board-date{grid-column:2;grid-row:3;margin-top:8px}

 .bk-board-previous{grid-column:1;grid-row:3}
.bk-board-next{grid-column:3;grid-row:3}
.bk-board-show{grid-column:4;grid-row:3}

 
 .bk-toolbar.bk-stats{gap:10px;grid-template-columns:minmax(0,1fr) 164px}

 .bk-stats-counters{gap:4px;flex-direction:column;align-items:flex-start;justify-content:center}

 .bk-stats-counters>span{border:0;padding:0;font-size:12px}

 
}

@media (max-width:400px){

 .bk-toolbar.bk-board-toolbar{grid-template-columns:42px minmax(0,134px) 42px}

 .bk-board-show{grid-column:1/-1;grid-row:4;justify-self:start}

 .bk-picker-search{grid-template-columns:1fr}
.bk-picker-search .button{justify-self:start}



}


/* v137 operational board: independent label layer, exact time bars. */
.bk-board-scalable{--bk-dock-width:120px;border:1px solid #e3dbd4;border-radius:6px;background:#fff;overflow:auto;position:relative;max-width:100%}
.bk-board-scalable .bk-timeline{padding:0;min-width:100%}
.bk-board-scalable .bk-axis,.bk-board-scalable .bk-dock-row{display:grid;grid-template-columns:var(--bk-dock-width) minmax(0,1fr)}
.bk-axis{background:#f5f1ec;min-height:43px;position:relative;z-index:5}
.bk-point-heading{position:sticky;left:0;background:#fff;z-index:6;padding:10px 8px;border-right:1px solid #e2dbd5;border-bottom:1px solid #eee8e2;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.bk-axis .bk-point-heading{background:#f5f1ec;font-size:12px;justify-content:center}
.bk-point-heading small{font-size:12px;color:#83776e;line-height:1.4}
.bk-point-info{display:flex;gap:4px;align-items:center;width:100%;padding:0;border:0;background:none;color:inherit;text-align:left;font:inherit;cursor:pointer}
.bk-point-info strong{font-size:13px;line-height:1.3;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bk-point-info strong.bk-point-unambiguous{-webkit-line-clamp:unset;display:block;font-size:12px}
.bk-point-info:hover strong,.bk-point-info:focus-visible strong{color:#9e2634}
.bk-point-info:focus-visible{outline:2px solid #9e2634;outline-offset:3px;border-radius:3px}
.bk-actual{border:0;background:#eee9e3;color:#615347;padding:3px 5px;text-align:left;font-size:12px;border-radius:3px;cursor:pointer;max-width:100%;overflow-wrap:anywhere}
.bk-scale{position:relative;min-height:43px}
.bk-scale>span{position:absolute;top:14px;font-size:12px;transform:translateX(-50%);color:#786a5e;white-space:nowrap}
.bk-scale>span:first-child{transform:none}.bk-scale>span:last-child{transform:translateX(-100%)}
.bk-track{min-height:88px;position:relative;border-bottom:1px solid #eee8e2;min-width:0;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(var(--bk-hour-width,72px) - 1px),#f2eee9 calc(var(--bk-hour-width,72px) - 1px),#f2eee9 var(--bk-hour-width,72px))}
.bk-slot{position:absolute;top:var(--bk-bar-top,8px);height:var(--bk-bar-height,68px);min-height:0;box-sizing:border-box;border:1px solid #ded6cd;border-radius:4px;color:#594f46;text-align:left;padding:5px 0;display:flex;flex-direction:column;overflow:hidden;font:inherit;cursor:pointer;min-width:0;background:#fff}
.bk-slot-time{font-size:12px;color:#70665d;overflow-wrap:normal;margin:0 5px}
.bk-slot.bk-free{background:var(--schedule-slot-bg,#d1f2cb);border-color:var(--schedule-slot-border,#c3e9bb)}
.bk-slot.bk-occupied,.bk-booking-label.bk-occupied{background:#edf3ed;border-color:#b9cdb9}
.bk-slot.bk-conditional,.bk-slot.bk-no-show,.bk-booking-label.bk-conditional,.bk-booking-label.bk-no-show{background:#fff5df;border-color:#d9bc7b}
.bk-slot.bk-conflict,.bk-booking-label.bk-conflict{background:#fbeceb;border-color:#c17b75}
.bk-slot.bk-disabled{background:repeating-linear-gradient(135deg,#f0ece8,#f0ece8 5px,#f5f2ef 5px,#f5f2ef 10px);color:#9c9188}
.bk-slot:disabled{cursor:default;opacity:1}.bk-slot:not(:disabled):hover{filter:brightness(.97);box-shadow:inset 0 0 0 1px #9e8271}
.bk-booking-label{position:absolute;z-index:2;display:flex;align-items:stretch;flex-direction:column;justify-content:center;box-sizing:border-box;gap:1px;min-width:0;width:104px;min-height:60px;height:auto;padding:4px 6px;border:1px solid transparent;border-radius:4px;color:#302d2b;font:inherit;text-align:left;cursor:pointer;white-space:nowrap}
.bk-booking-label strong{font-size:14px;line-height:18px;font-weight:700;white-space:nowrap}
.bk-booking-label span,.bk-booking-label small{font-size:12px;line-height:15px;display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.bk-booking-label .bk-booking-model{color:#6c6259}
.bk-booking-label:not(.is-outside){background:transparent;border-color:transparent;box-shadow:none}
.bk-booking-label.is-outside{box-shadow:0 1px 3px #0001}
.bk-booking-label.is-outside:hover{border-color:#9e8271}
.bk-booking-label:focus-visible{outline:2px solid #9e2634;outline-offset:1px}
.bk-break{position:absolute;top:var(--bk-bar-top,8px);height:var(--bk-bar-height,68px);box-sizing:border-box;padding:6px 3px;display:flex;align-items:center;justify-content:center;background:var(--schedule-break-bg,#f9d3d2);color:#8b2831;border:1px solid #f1bdbf;border-radius:4px;font-size:12px;overflow:hidden;white-space:nowrap}
.bk-break.is-narrow>span{visibility:hidden}
.bk-label-link{position:absolute;border-left:1px solid #827b74;pointer-events:none;z-index:1}
.bk-label-link::after{content:"";position:absolute;bottom:0;left:-2px;width:4px;height:4px;border-radius:50%;background:#827b74}
.bk-now{position:absolute;top:0;bottom:0;width:1px;background:#a5413a;z-index:1;pointer-events:none}
.bk-no-calendar{display:block;padding:32px 14px;color:#9d9084;font-size:13px}
.bk-zoom-toolbar{display:flex;align-items:center;justify-self:start;gap:10px;font-size:13px;color:#746457;margin:0;min-height:40px;width:min(100%,360px);min-width:0}
.bk-zoom-toolbar label{font-size:13px;white-space:nowrap;flex:none}
.bk-zoom-toolbar output{min-width:38px;font-variant-numeric:tabular-nums;flex:none}
.bk-zoom-range{position:relative;display:flex;align-items:center;flex:1;min-width:80px;height:40px;--bk-zoom-fill:0%}
.bk-zoom-range::before{content:"";position:absolute;left:8px;right:8px;height:4px;top:18px;border-radius:3px;background:linear-gradient(to right,#9e2634 0 var(--bk-zoom-fill),#d5d0ca var(--bk-zoom-fill) 100%);pointer-events:none}
.bk-toolbar .bk-zoom-toolbar input[type="range"]{position:relative;appearance:none;-webkit-appearance:none;display:block;box-sizing:border-box;width:100%;min-width:0;height:24px;min-height:24px;border:0;padding:0;margin:0;background:transparent;cursor:pointer;outline:none;box-shadow:none}
.bk-zoom-toolbar input::-webkit-slider-runnable-track{height:4px;background:transparent;border:0;box-shadow:none}
.bk-zoom-toolbar input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;border:0;border-radius:50%;background:#9e2634;margin-top:-6px;box-shadow:none}
.bk-zoom-toolbar input::-moz-range-track{height:4px;background:transparent;border:0}
.bk-zoom-toolbar input::-moz-range-progress{background:transparent}
.bk-zoom-toolbar input::-moz-range-thumb{width:16px;height:16px;border:0;border-radius:50%;background:#9e2634;box-shadow:none}
.bk-zoom-toolbar input:focus-visible{outline:2px solid #b78b91!important;outline-offset:3px!important;border-radius:4px}
.bk-point-popover{position:fixed;z-index:2000;box-sizing:border-box;width:min(310px,calc(100vw - 16px));padding:16px;background:#fff;border:1px solid #d9cec4;border-radius:6px;box-shadow:0 5px 20px #0002;color:#302d2b;font-size:13px}
.bk-point-popover h3{font-size:15px;margin:0 25px 10px 0;overflow-wrap:anywhere}.bk-point-popover p{margin:5px 0;font-size:12px}.bk-point-popover .bk-point-traits{font-size:13px;gap:8px}
.bk-popover-close{position:absolute;right:8px;top:6px;width:25px;height:25px;border:0;background:transparent;cursor:pointer;font-size:21px;color:#746457}

/* One grid for closed and expanded visit rows; chevron never reserves. */
.bk-visit-picker{--bk-vehicle-width:174px;--bk-plate-width:124px}
.bk-picker-context{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px}
.bk-visit-candidates{display:flex;flex-direction:column;gap:8px}
.bk-visit-picker .bk-dialog-body>.bk-visit-candidates + .button{margin-top:16px;display:inline-flex}
.bk-visit-candidate{border:1px solid #ded6cd;border-radius:6px;background:#fff;color:#302d2b;overflow:hidden}
.bk-candidate-row{background:var(--bk-candidate-row-bg,transparent);display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:center;padding:0 8px}
.bk-candidate-main{display:grid;grid-template-columns:var(--bk-vehicle-width) var(--bk-plate-width) minmax(0,1fr) 30px;align-items:center;column-gap:12px;min-height:62px;width:100%;border:0;background:transparent;color:inherit;padding:0 6px 0 0;font:inherit;text-align:left;cursor:pointer;min-width:0}
.bk-candidate-row:hover,.bk-candidate-row:focus-within{background:#faf7f3}
.bk-candidate-title{font-size:17px;line-height:1.2;white-space:nowrap;border-left:1px solid #e3dcd4;padding-left:12px;font-weight:700}
.bk-candidate-counterparty{font-size:14px;line-height:1.3;border-left:1px solid #e3dcd4;padding-left:12px;min-width:0;overflow-wrap:anywhere}
.bk-candidate-toggle{border:0;width:34px;height:38px;min-height:0;padding:7px;background:transparent;color:#302d2b;cursor:pointer;border-radius:4px;display:flex;align-items:center;justify-content:center}
.bk-candidate-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.bk-candidate-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.bk-candidate-details{padding:12px 16px 14px;border-top:1px solid #e8e1d9;font-size:13px;line-height:1.45}
.bk-visit-candidate.is-expanded{border-color:#b5a598}.bk-visit-candidate.is-expanded[data-suitability="INCOMPATIBLE"]{border-color:#cc8d8c}.bk-visit-candidate.is-expanded[data-suitability="INCOMPATIBLE"]{--bk-candidate-row-bg:#fcf2f1}
.bk-candidate-specs{display:flex;gap:6px 16px;align-items:baseline;flex-wrap:wrap;margin:0 0 10px;min-width:0}.bk-candidate-specs strong{font-size:15px}
.bk-candidate-part{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2fr) minmax(110px,1fr);gap:8px 14px;padding:5px 0;color:#655b53}.bk-part-name{font-weight:500}
.bk-candidate-reason{margin:8px 0 0;padding:9px 12px;background:#fbeceb;color:#8f3030;border-radius:4px;white-space:pre-line}
.bk-visit-candidate[data-suitability="CONDITIONAL"] .bk-candidate-reason{background:#fff5df;color:#76541c}
.bk-visit-candidate[data-suitability="INCOMPLETE"] .bk-candidate-reason{background:#f1ede8;color:#65574e}
.bk-candidate-action{margin:8px 0 0;color:#796b60;font-size:12px}.bk-candidate-booked{margin:8px 0 0;color:#8c6026}.bk-candidate-visit-link{margin-left:auto;max-width:55%;font-size:12px;overflow-wrap:anywhere}
.bk-object-link{color:#9e2634;text-decoration:underline;text-underline-offset:2px}
.bk-object-link:hover{color:#7f1c29}
.bk-object-link:focus-visible{outline:2px solid #9e2634;outline-offset:3px}
.bk-existing-booking{font-size:13px;margin-left:4px;font-weight:400;color:#8b6329}
.bk-vehicle-visual{position:relative;display:block;width:var(--bk-vehicle-width);height:58px;color:#384a59;flex:none}
.bk-vehicle-visual svg{width:100%;height:100%;display:block;fill:#405261;stroke:#405261;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.bk-vehicle-visual circle{fill:#405261;stroke:#fff;stroke-width:1.6}.bk-vehicle-visual .glass{fill:#fff;stroke:#fff;stroke-width:1}.bk-vehicle-visual .bk-trailer-count{position:absolute;bottom:0;transform:translateX(-50%);font:11px/1.1 system-ui,sans-serif;color:#384a59;white-space:nowrap;background:#fff;border-radius:3px;padding:0 2px}
.bk-suitability-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:#567c49;border-radius:3px}
.bk-suitability-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bk-suitability-icon.is-incompatible{color:#ba252c}.bk-suitability-icon.is-conditional{color:#b57b20}.bk-suitability-icon.is-incomplete{color:#80766c}
@media(max-width:760px){
 .bk-board-scalable{--bk-dock-width:112px}.bk-board-scalable .bk-point-heading{position:sticky;left:0}
 .bk-stats .bk-zoom-toolbar{grid-column:1/-1;grid-row:2;width:min(100%,360px);justify-content:flex-start;gap:8px}
 .bk-stats-filter{grid-column:2;grid-row:1}
 .bk-stats-counters{grid-column:1;grid-row:1}
 .bk-visit-picker{--bk-vehicle-width:116px;--bk-plate-width:120px}
 .bk-candidate-row{position:relative;grid-template-columns:minmax(0,1fr) 28px;padding:0 6px}
 .bk-candidate-main{grid-template-columns:116px minmax(0,1fr) 26px;column-gap:6px;row-gap:0;min-height:76px;padding:4px 0}
 .bk-vehicle-visual{height:48px;grid-column:1;grid-row:1}.bk-candidate-title{grid-column:2;grid-row:1;font-size:15px;padding-left:6px;border:0}
 .bk-candidate-main .bk-suitability-icon{grid-column:3;grid-row:1;width:24px;height:24px}
 .bk-candidate-counterparty{grid-column:1/4;grid-row:2;font-size:13px;border:0;padding:0 0 4px}
 .bk-candidate-toggle{width:26px}.bk-candidate-part{grid-template-columns:1fr;gap:2px;padding:6px 0}.bk-candidate-details{padding:10px}
 .bk-visit-picker .bk-dialog-header{padding:12px 14px}.bk-visit-picker .bk-dialog-header h2{font-size:18px}
}
@media(max-width:360px){.bk-visit-picker{--bk-vehicle-width:100px}.bk-candidate-main{grid-template-columns:100px minmax(0,1fr) 24px;gap:4px}.bk-candidate-title{font-size:14px;padding:0}.bk-candidate-row{padding:0 3px;grid-template-columns:minmax(0,1fr) 24px}.bk-candidate-toggle{width:24px}}

/* v138 visit summary: approved reservation strip and primary vehicle identity. */
.bk-dialog-header .bk-visit-heading{display:flex;gap:18px;align-items:center;min-width:0}
.bk-visit-heading .bk-vehicle-visual{--bk-vehicle-width:174px;height:58px}
.bk-visit-identity{display:flex;flex-direction:column;gap:5px;min-width:0}
.bk-visit-identity>strong{font-size:21px;line-height:1.25;white-space:nowrap}
.bk-visit-model{font-size:14px;line-height:1.3;color:#74695f;font-weight:400;overflow-wrap:anywhere}
.bk-reservation-card{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:14px 24px;background:#f4f1ed;border-radius:6px;padding:16px 20px;margin:20px 0 16px}
.bk-reservation-badge{display:inline-flex;align-items:center;gap:12px;padding:12px 16px;border-radius:6px;font-size:16px;line-height:1.3}
.bk-reservation-badge.is-confirmed{background:#def1d5;color:#244d22}
.bk-reservation-icon{display:flex;flex:none;width:34px;height:36px;color:#347a29}
.bk-reservation-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bk-reservation-details{display:flex;flex-direction:column;gap:7px;padding-left:24px;border-left:1px solid #d3cbc3;font-size:15px;line-height:1.4;min-width:0;overflow-wrap:anywhere}
.bk-reservation-card>.bk-warning{grid-column:1/-1;margin:0}
@media(max-width:560px){
 .bk-picker-query-group{grid-template-columns:minmax(0,1fr);height:auto;gap:3px}
 .bk-picker-query{border-left:0;border-top:1px solid #eee7e0;padding-left:0}
 .bk-picker-search{grid-template-columns:minmax(0,1fr);gap:8px}
 .bk-picker-search>.button{justify-self:end}
 .bk-candidate-visit-link{flex-basis:100%;max-width:100%;text-align:right}
 .bk-slot-search-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
 .bk-slot-search-toolbar>.bk-field{min-width:0}
 .bk-slot-search-toolbar>.button{grid-column:1/-1;justify-self:start}
 .bk-dialog-header .bk-visit-heading{gap:10px;flex-wrap:wrap}
 .bk-visit-heading .bk-vehicle-visual{--bk-vehicle-width:140px;height:46px}
 .bk-visit-identity>strong{font-size:19px}
 .bk-reservation-card{grid-template-columns:minmax(0,1fr);gap:12px;padding:14px}
 .bk-reservation-badge{justify-self:start;font-size:14px;padding:9px 12px}
 .bk-reservation-details{padding:0;border:0;font-size:14px}
}

/* v139 · booking board: read widths dynamically, never truncate floating booking labels. */
.bk-booking-label.is-outside{white-space:normal;overflow-wrap:anywhere;min-height:60px;}
.bk-booking-label.is-outside strong,.bk-booking-label.is-outside span,.bk-booking-label.is-outside small{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.3}
.bk-booking-label:not(.is-outside) .bk-booking-model{max-width:100%;text-overflow:ellipsis}
.bk-break{gap:4px;padding:6px 3px}
.bk-break svg{display:block;flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.bk-break.is-narrow>span{display:none}
.bk-break.is-narrow{padding:0;gap:0}
.bk-break.is-very-narrow svg{width:12px;height:12px}
/* v139 · an invited vehicle's actions form a compact, readable vertical rhythm. */
.bk-dialog-body>.bk-section{margin:18px 0 0;padding:16px 0 0;border-top:1px solid #e8e2dc}
.bk-dialog-body>.bk-section>h3{margin:0 0 10px;line-height:1.4}
.bk-dialog-body>.bk-section>summary{padding:0 0 10px;line-height:1.4}
.bk-dialog-body>.bk-section>select,.bk-dialog-body>.bk-section>textarea{display:block;width:100%;margin:0 0 10px;min-height:39px}
.bk-dialog-body>.bk-section>.button{margin:2px 0 0}
.bk-dialog-body>.bk-section>.bk-inline-check{margin:8px 0}
/* v139 · dock settings: descriptive grouping and short numeric inputs. */
.bk-booking-intro{max-width:840px;margin:0 0 18px;line-height:1.5}
.bk-floor-fields{display:grid;grid-template-columns:repeat(2,160px);gap:16px;max-width:336px;margin:16px 0 0}
.bk-floor-fields label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:14px}
.bk-floor-fields input{width:100%;min-height:39px;box-sizing:border-box;border:1px solid #dcd5ce;border-radius:5px;padding:8px 10px;font:inherit}
.bk-floor-help{margin:5px 0 17px}
@media(max-width:400px){.bk-floor-fields{grid-template-columns:repeat(2,minmax(0,1fr));max-width:336px}}

/* v139 · self-service: stable hierarchy, no arbitrary accumulating margins. */
.bk-selfservice-page{max-width:1350px;margin:0 auto}
.bk-selfservice-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:18px 0 22px}
.bk-selfservice-heading h1{margin:0 0 6px}.bk-selfservice-heading p{margin:0}
.bk-return-link{margin-top:8px;flex:none;color:#92313b;font-weight:500;text-decoration:none}
.bk-return-link:hover{text-decoration:underline}
.bk-selfservice-form{display:flex;flex-direction:column;gap:24px}
.bk-settings-card{background:#fff;border:1px solid #ded6cf;border-radius:7px;padding:24px 28px;box-shadow:0 1px 3px #00000008}
.bk-settings-card h2{font-size:20px;font-weight:600;margin:0 0 16px}
.bk-settings-card .field-help{font-size:12px;line-height:1.5;color:#887970}
.bk-settings-card .field-help:last-child{margin-bottom:0}
.bk-selfservice-access{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2.15fr);gap:28px}
.bk-access-description h2{margin:0 0 6px}.bk-access-description .field-help{margin:0;max-width:350px}
.bk-connection-status{font-size:13px;color:#736960;margin:10px 0 0}
.bk-access-controls{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.bk-state-picker{display:grid;grid-template-columns:1fr 1fr;width:min(100%,280px);min-height:44px}
.bk-state-picker button{border:1px solid #bfb1aa;padding:9px 14px;font:inherit;font-size:14px;background:#fff;color:#4a3d36;cursor:pointer;min-width:0}
.bk-state-picker button:first-child{border-radius:5px 0 0 5px}.bk-state-picker button:last-child{border-radius:0 5px 5px 0;border-left:0}
.bk-state-picker button[aria-pressed="true"]{background:#8b323b;color:#fff;border-color:#8b323b;font-weight:600}
.bk-state-picker button:hover:not([aria-pressed="true"]){background:#f8f0ef}
.bk-state-picker button:focus-visible{outline:2px solid #8b323b;outline-offset:2px}
.bk-access-create{display:flex;align-items:center;gap:8px;font-size:14px}
.bk-access-create input{width:17px;height:17px;accent-color:#8b323b}
.bk-access-note{margin:0!important}
.bk-time-fields{display:flex;flex-direction:column;gap:18px}
.bk-time-row{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:18px;align-items:start}
.bk-time-label{font-size:14px;padding-top:9px}
.bk-time-control{max-width:920px;min-width:0}
.bk-time-control>.bk-checks{margin:3px 0 6px;gap:10px 20px}
.bk-time-control>input{width:100%;box-sizing:border-box;min-height:40px;padding:8px 12px;border:1px solid #dcd5ce;border-radius:5px;font:inherit}
.bk-time-control>.field-help{margin:5px 0 0}
.bk-limits-intro{margin:-7px 0 18px}
.bk-limit-row{display:grid;grid-template-columns:minmax(195px,300px) minmax(225px,320px) minmax(0,1fr);gap:18px;align-items:end;padding:18px 0;border-bottom:1px solid #eee9e3}
.bk-limit-row:first-of-type{padding-top:0}
.bk-limit-row:last-of-type{border-bottom:none;padding-bottom:8px}
.bk-limit-title{font-size:14px;line-height:1.45;font-weight:500;padding-bottom:9px}
.bk-mode-field,.bk-limit-field{display:flex;flex-direction:column;gap:7px;font-size:13px;min-width:0}
.bk-mode-field>span,.bk-limit-field>span{font-size:12px;color:#655c55}
.bk-mode-field select,.bk-limit-field select,.bk-limit-field input{box-sizing:border-box;width:100%;min-width:0;height:40px;min-height:40px;background:#fff;border:1px solid #dcd5ce;border-radius:5px;padding:8px 10px;font:inherit;font-size:14px}
.bk-limit-content{min-width:0;display:flex;align-items:flex-end;min-height:40px}
.bk-inherited-value{box-sizing:border-box;background:#f2f4f8;border-radius:5px;margin:0;min-height:40px;padding:10px 12px;font-size:13px;color:#5a5960;line-height:1.4;width:100%;overflow-wrap:anywhere}
.bk-inherited-value strong{font-weight:600;color:#30313a}.bk-info-mark{display:inline-block;vertical-align:-3px;width:16px;height:16px;margin-right:5px;color:#64717d;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bk-limit-custom{width:100%}.bk-min-custom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.bk-limit-custom[hidden],.bk-inherited-value[hidden]{display:none!important}
.bk-limits-footnote{margin:4px 0 0}
.bk-selfservice-save{margin:0;justify-content:flex-end}.bk-selfservice-save>.button{min-height:43px;padding:10px 22px}
.bk-selfservice-form>.bk-feedback{margin:0}
@media(max-width:900px){.bk-selfservice-access{grid-template-columns:1fr;gap:16px}.bk-limit-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.bk-limit-title{grid-column:1/-1;padding:0}.bk-limit-content{grid-column:2}.bk-time-row{grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:620px){.bk-settings-card{padding:18px 14px}.bk-state-picker{grid-template-columns:1fr}.bk-state-picker button:first-child,.bk-state-picker button:last-child{border-radius:4px;border:1px solid #bfb1aa}.bk-state-picker button:last-child{border-top:0}.bk-time-row,.bk-limit-row{grid-template-columns:minmax(0,1fr);gap:8px}.bk-time-label{padding:0}.bk-limit-title{grid-column:auto}.bk-limit-content{grid-column:auto}.bk-selfservice-heading{flex-wrap:wrap;gap:6px}.bk-return-link{margin-top:0}}

/* v140: dock metadata warning, navigable heading, invitation form, compact state control. */
.bk-point-heading{position:sticky}
.bk-point-heading .bk-point-info{width:auto;max-width:calc(100% - 22px)}
.bk-point-alert{display:inline-flex;position:absolute;right:5px;top:9px;width:18px;height:18px;color:#b47614;align-items:center;justify-content:center}
.bk-point-alert svg{width:18px;height:18px;fill:#fff4db;stroke:currentColor;stroke-width:1.65;stroke-linejoin:round;stroke-linecap:round}
.bk-point-detail-link{color:inherit;text-decoration:underline;text-decoration-color:#9e2634;text-underline-offset:3px}
.bk-point-detail-link:hover{color:#9e2634}
.bk-invite-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) max-content;align-items:end;gap:16px;max-width:none;margin:16px 0 0}
.bk-invite-grid>label{display:flex;flex-direction:column;min-width:0;gap:6px;font-size:14px}
.bk-invite-grid select,.bk-invite-grid input{min-height:40px;width:100%;max-width:100%;box-sizing:border-box;border:1px solid #dcd5ce;border-radius:5px;background:#fff;padding:8px 10px;font:inherit}
.bk-invite-submit{align-self:end}
.bk-invite-submit .button{min-height:40px;white-space:nowrap}
@media(max-width:760px){.bk-invite-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.bk-invite-submit{grid-column:1/-1;justify-self:end}}
@media(max-width:480px){.bk-invite-grid{grid-template-columns:minmax(0,1fr)}.bk-invite-submit{grid-column:1}}

/* v140: operational, four-category dispatch queue; compact and accessible. */
.bk-queue{scroll-margin-top:100px}
.bk-queue h2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bk-queue-total{font-size:14px;line-height:1.4;color:#7b3038;background:#f4e7e7;border-radius:12px;padding:2px 9px}
.bk-queue-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.bk-queue-tab{display:inline-flex;align-items:center;gap:10px;border:1px solid #dfd7d0;border-radius:6px;background:#faf8f6;padding:10px 15px;color:#3d3531;text-decoration:none;line-height:1.35;font-weight:500}
.bk-queue-tab:hover{background:#f8eeee;color:#8b323b}
.bk-queue-tab.is-active{background:#8b323b;border-color:#8b323b;color:#fff}
.bk-queue-tab b{font-weight:600;font-size:12px;padding:1px 6px;border-radius:10px;background:#eee6df;color:#524943}
.bk-queue-tab.is-active b{background:#fff2;color:#fff}
.bk-queue-hint{margin:8px 0 14px;padding:10px 12px;border-radius:5px;background:#f6f3ef;color:#6c6159;font-size:13px;line-height:1.5}
.bk-queue-table td{line-height:1.45}
.bk-queue-needs{color:#805200;background:#fff1d0;border-radius:4px;padding:4px 7px;display:inline-block}
.bk-queue-empty{color:#8d4043;background:#faeeeb;border-radius:4px;padding:4px 7px;display:inline-block}
.bk-queue-pages{display:flex;align-items:center;justify-content:center;gap:20px;margin:16px 0 4px;font-size:14px}
.bk-queue-pages a{color:#8b323b;text-decoration:underline}
@media(max-width:660px){.bk-queue-tabs{gap:6px}.bk-queue-tab{padding:9px 10px;font-size:13px}.bk-queue-table{min-width:760px}}

/* v140 sticky time navigation: one fixed, synchronised native scrollbar, only
   while the table spans below the visible browser viewport. */
.bk-floating-scroll{position:fixed;bottom:0;z-index:1200;box-sizing:border-box;height:19px;overflow-x:auto;overflow-y:hidden;background:#f9f6f3;border:1px solid #d5cbc2;box-shadow:0 -2px 5px #00000012;scrollbar-gutter:stable}
.bk-floating-scroll[hidden]{display:none!important}
.bk-floating-scroll-inner{height:1px;pointer-events:none}

/* v141 #3: compact approved visit booking summary, independent of status row */
.bk-visit-summary{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;margin:16px 0 20px;padding:14px 18px;border:1px solid #ded8d1;border-radius:8px;background:#fff;box-shadow:0 1px 3px #00000006;color:#292726}
.bk-visit-summary-main{display:flex;align-items:center;gap:12px 20px;flex:1 1 560px;min-width:0;flex-wrap:wrap}
.bk-visit-summary-title{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.bk-visit-summary-title strong{font-weight:650}
.bk-visit-summary svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:#665f58}
.bk-visit-summary-state{border-radius:5px;background:#f2eee9;padding:4px 10px;font-size:13px;white-space:nowrap}
.bk-visit-summary-state.is-confirmed{background:#e4f1dd;color:#255936}
.bk-visit-summary-fact{border-left:1px solid #e7e0da;padding-left:16px;display:inline-flex;align-items:center;gap:8px;font-size:14px;white-space:nowrap}
.bk-visit-summary-open{flex:none;white-space:nowrap}
.bk-visit-summary-note{flex:1 1 100%;margin:0;padding:8px 10px;font-size:13px}
@media(max-width:720px){.bk-visit-summary{padding:13px 12px}.bk-visit-summary-main{gap:10px 14px;flex-basis:100%}.bk-visit-summary-fact{padding-left:0;border:0}.bk-visit-summary-open{width:100%}}

/* v141 #5: approved expandable dispatch queue, no problem counters. */
.bk-queue-wrap{border:1px solid #d6cec6;border-radius:9px;background:#fff;overflow:auto}
.bk-queue-table{border-collapse:collapse;width:100%;table-layout:fixed;min-width:980px;font-size:14px}
.bk-queue-table th{background:#f5f0ec;text-align:left;color:#2c2927;padding:12px 16px;font-size:13px;font-weight:650;white-space:nowrap}
.bk-queue-table th:nth-child(1){width:32%}.bk-queue-table th:nth-child(2){width:25%}.bk-queue-table th:nth-child(3){width:14%}.bk-queue-table th:nth-child(4){width:11%}.bk-queue-table th:nth-child(5){width:11%}.bk-queue-table th:nth-child(6){width:7%}
.bk-queue-table td{padding:12px 16px;vertical-align:middle;border-top:1px solid #e8e1da}
.bk-queue-table tbody tr:first-child td{border-top:0}
.bk-queue-vehicle{display:flex;align-items:center;gap:12px}
.bk-queue-art{display:block;flex:0 0 150px;min-width:0}.bk-queue-art .bk-vehicle-visual{--bk-vehicle-width:148px;height:50px}
.bk-queue-plate{display:inline-flex;white-space:nowrap;min-height:29px;align-items:center;border:1px solid #6a6a6a;border-radius:3px;box-shadow:inset 0 0 0 2px white;padding:2px 8px;background:#fff;color:#222;font-weight:750;font-size:15px;letter-spacing:.025em;text-decoration:none}
.bk-queue-plate[href]:hover{border-color:#8b323b;color:#8b323b;text-decoration:underline}
.bk-queue-counterparty{overflow-wrap:anywhere}.bk-queue-time time{display:block;font-weight:700;white-space:nowrap;font-size:16px}.bk-queue-time small{display:block;font-weight:400;font-size:11px;color:#766960}
.bk-queue-operation{color:#9b2631;text-align:center}.bk-queue-operation svg{width:44px;height:33px;fill:currentColor;display:inline-block}
.bk-queue-signal{text-align:center}.bk-queue-alert,.bk-queue-ok{display:inline-flex;align-items:center;justify-content:center}.bk-queue-alert{color:#bd2530}.bk-queue-ok{color:#4c8749}
.bk-queue-alert svg,.bk-queue-ok svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.bk-queue-alert svg circle{fill:#bd2530;stroke:#bd2530}.bk-queue-alert svg path{stroke:#fff;stroke-width:2.5}
.bk-queue-expand{text-align:right}.bk-queue-toggle{background:transparent;border:0;color:#48413d;cursor:pointer;padding:10px}.bk-queue-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linejoin:round;transition:transform .16s}.bk-queue-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.bk-queue-detail td{padding:14px 20px 18px;background:#fff}.bk-queue-detail[hidden]{display:none!important}
.bk-queue-detail-top{display:flex;gap:12px 24px;flex-wrap:wrap;align-items:center;padding:4px 0 16px}.bk-queue-visit-link{color:#983037;text-decoration:underline;font-weight:600;overflow-wrap:anywhere}
.bk-queue-driver{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.bk-queue-driver svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.bk-queue-driver a{color:#902c39}.bk-queue-assign{margin-left:auto;white-space:nowrap;color:#8b323b;border-color:#8b323b}
.bk-queue-detail-content{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:18px}
.bk-queue-transport h3{font-size:17px;margin:2px 0 12px}.bk-queue-part{display:grid;grid-template-columns:115px 135px minmax(120px,1fr) minmax(135px,1fr);align-items:start;gap:9px 8px;padding:7px 3px;font-size:13px}.bk-queue-part>span:first-child{font-weight:600;color:#514944}.bk-queue-part a{color:#992c36;text-decoration:underline;font-weight:600;white-space:nowrap}.bk-queue-part>span:nth-child(n+3){color:#524a44}
.bk-queue-issues{border-left:1px solid #e9e2dc;padding-left:18px;display:flex;flex-direction:column;gap:9px}.bk-queue-issue{background:#fff6eb;border-radius:7px;padding:11px 12px;display:flex;gap:11px}.bk-queue-issue.is-alert{background:#fff0ee}.bk-queue-issue-icon{color:#b98523;font-weight:750;font-size:20px}.bk-queue-issue.is-alert .bk-queue-issue-icon{color:#bc343b}.bk-queue-issue strong{font-size:14px}.bk-queue-issue p{margin:4px 0 7px;font-size:13px;color:#554a42}.bk-queue-issue a{color:#8c2b35;text-decoration:underline;font-size:13px}.bk-queue-all-clear{margin:0;color:#687761;font-size:13px}.bk-queue-empty-row{color:#7a7066}
@media(max-width:1250px){.bk-queue-table{min-width:1040px}.bk-queue-detail-content{grid-template-columns:1fr}.bk-queue-issues{padding:0;border:0}.bk-queue-detail-top .bk-queue-assign{margin-left:0}}

.bk-visit-summary-open{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:1px solid #9a7871;background:#fff;color:#8f303b;border-radius:5px;text-decoration:none;font-weight:500}
.bk-visit-summary-open:hover{background:#f8eeee}
.bk-now[hidden]{display:none!important}

.bk-queue-plate .bk-queue-region{border-left:1px solid #777;padding-left:5px;margin-left:5px;display:inline-flex;flex-direction:column;align-items:center;font-size:12px;letter-spacing:0;line-height:1.05}.bk-queue-rus{font-size:7px;font-weight:700}.bk-queue-flag{display:inline-block;width:12px;height:7px;margin-left:2px;border:1px solid #ddd;background:linear-gradient(to bottom,#fff 0 33%,#1857d4 33% 66%,#d62d36 66%)}


/* v0.1.144: approved booking queue placement, no header, fixed columns, static icons. */
.bk-queue-wrap{border-color:#e0d5cb;border-radius:9px}
.bk-queue-table{min-width:1110px;font-size:13px;table-layout:fixed}
.bk-queue-row td{padding:9px 12px;height:61px}
.bk-queue-art{display:inline-flex;align-items:center;min-height:40px;width:100%;flex:none}
.bk-queue-art .bk-vehicle-visual{--bk-vehicle-width:128px;height:42px}
.bk-queue-plate{font-size:15px}
.bk-queue-operation{text-align:center}
.bk-queue-operation img{width:68px;height:41px;object-fit:contain;display:inline-block;vertical-align:middle}
.bk-queue-action-col{text-align:right;white-space:nowrap}
.bk-queue-assign{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 13px;margin:0;border:1px solid #cdb6a8;border-radius:6px;background:#fffaf7;color:#5e3932;font-size:13px;font-weight:550;cursor:pointer;max-width:100%}
.bk-queue-assign:hover{background:#f9ece6;border-color:#b98f84}
.bk-queue-expand{padding-left:0!important;padding-right:6px!important;text-align:right}
.bk-queue-state-tools{display:inline-flex;align-items:center;justify-content:flex-end;gap:2px;white-space:nowrap}
.bk-queue-toggle{padding:7px;display:inline-flex;align-items:center;justify-content:center}
.bk-queue-detail td{padding:15px 20px 19px}
.bk-queue-detail-top{gap:14px 22px;align-items:flex-start;padding:4px 0 16px}
.bk-queue-visit{font-size:13px;color:#3d322d;white-space:nowrap;line-height:1.65}
.bk-queue-driver{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:7px;font-size:13px}
.bk-queue-driver>svg{flex:none;margin-top:1px}
.bk-queue-driver-label{white-space:nowrap;line-height:1.6;color:#4a423b}
.bk-queue-driver-info{display:flex;flex-direction:column;gap:1px;align-items:flex-start;line-height:1.6;min-width:0}
.bk-queue-driver-name{font-weight:650;text-decoration:underline;color:#902c39}
.bk-queue-driver-phone,.bk-queue-driver a.bk-queue-driver-phone{font-size:13px;color:#403833;text-decoration:none!important;font-weight:400}
.bk-queue-driver-phone:hover{text-decoration:none!important}
.bk-queue-detail-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:18px;align-items:start}
.bk-queue-detail-main{min-width:0}
.bk-queue-detail-content,.bk-queue-detail-content.is-clear{display:block}
.bk-queue-detail-content .bk-queue-transport{width:100%;min-width:0}
.bk-queue-detail-top{padding:4px 0 14px}
.bk-queue-driver-info{align-items:stretch;width:max-content;max-width:100%}
.bk-queue-driver-name{white-space:nowrap}
.bk-queue-driver-phone,.bk-queue-driver a.bk-queue-driver-phone{display:block;text-align:right;white-space:nowrap}
.bk-queue-plate-wrap{display:inline-flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:100%;gap:3px}
.bk-queue-vehicle-model{display:block;max-width:100%;font-size:11px;font-weight:400;color:#6f655d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk-queue-part{grid-template-columns:115px 135px minmax(125px,1fr) minmax(135px,1fr)}
.bk-queue-part>span:first-child{font-weight:500}
.bk-queue-part.is-body .bk-queue-part-plate{display:block}
@media(max-width:1250px){.bk-queue-table{min-width:1110px}.bk-queue-detail-layout{gap:12px}.bk-queue-issues{border-left:1px solid #e9e2dc;padding-left:12px}}
@media(max-width:760px){.bk-queue-detail-layout{grid-template-columns:1fr}.bk-queue-issues{border-left:0;padding-left:0}.bk-queue-part{grid-template-columns:100px 110px minmax(120px,1fr) minmax(135px,1fr)}.bk-queue-detail-top{gap:10px 15px}}

/* v0.1.144 #11: compact, queue-scoped issue filters and plate/ID search. */
.bk-queue-controls{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 20px;margin:10px 0 12px}
.bk-queue-issue-filters{display:inline-flex;align-items:center;gap:0;border:1px solid #dfd3c8;border-radius:7px;overflow:hidden;background:#fbf9f7}
.bk-queue-issue-choice{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:7px 14px;font-size:13px;font-weight:500;text-decoration:none;color:#564a41;border-right:1px solid #e7ddd4;white-space:nowrap}
.bk-queue-issue-choice:last-child{border-right:0}
.bk-queue-issue-choice:hover{color:#88313a;background:#f8ecec}
.bk-queue-issue-choice.is-active{color:#fff;background:#8b323b}
.bk-queue-issue-choice.is-active:hover{color:#fff;background:#782831}
.bk-queue-search{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.bk-queue-search-label{font-size:13px;color:#6b5e55;white-space:nowrap}
.bk-queue-search input[type=search]{min-height:37px;width:min(275px,44vw);padding:7px 11px;border:1px solid #d6c8bf;border-radius:6px;background:#fff;color:#342c28;font-size:13px}
.bk-queue-search>.button{min-height:37px;padding:7px 14px}
@media(max-width:650px){.bk-queue-controls{align-items:stretch}.bk-queue-issue-filters{width:100%;justify-content:stretch}.bk-queue-issue-choice{flex:1;padding:8px 7px;font-size:12px}.bk-queue-search{width:100%}.bk-queue-search input[type=search]{width:auto;flex:1;min-width:145px}}

/* v0.1.145 · agreed changes #1-5 and #9, without changing the queue row design. */
.bk-dock-row[hidden],.bk-focus-reset[hidden]{display:none!important}
.bk-point-heading{position:sticky}
.bk-point-focus{position:absolute;right:5px;top:7px;width:24px;height:24px;border:0;border-radius:4px;background:transparent;color:#77716a;display:inline-flex;align-items:center;justify-content:center;padding:3px;cursor:pointer}
.bk-point-focus svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bk-point-focus:hover,.bk-point-focus[aria-pressed=true]{color:#8b323b;background:#f5e9e6}
.bk-focus-reset{min-height:36px;font-size:13px}
.bk-queue-counterparty{font-size:14px;font-weight:400}
.bk-queue-plate[href]:hover{text-decoration:none!important;cursor:pointer}
.bk-queue-detail-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start}
.bk-queue-issue-icon{flex:0 0 18px;width:18px;height:18px;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.bk-queue-issue-icon svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.bk-queue-issue.is-alert .bk-queue-issue-icon svg circle{fill:#bc343b;stroke:#bc343b}
.bk-queue-issue.is-alert .bk-queue-issue-icon svg path{stroke:#fff}
.bk-queue-controls.bk-queue-search{display:flex;justify-content:flex-start;align-items:stretch;flex-wrap:nowrap;gap:11px;margin:10px 0 12px}
.bk-queue-combined{display:flex;align-items:stretch;min-width:0;width:min(756px,calc(100% - 92px));min-height:39px;background:#fff;border:1px solid #d6c8bf;border-radius:6px;overflow:hidden}
.bk-queue-combined .bk-queue-issues-select{flex:0 0 190px;min-width:0;border:0;border-right:1px solid #e1d8d0;background:#f4f0eb;color:#3d322d;font-size:13px;padding:7px 12px;cursor:pointer;outline-offset:-3px}
.bk-queue-combined input[type=search]{flex:1 1 auto;min-width:0;width:100%;border:0!important;border-radius:0!important;min-height:37px;padding:7px 13px;box-shadow:none!important}
.bk-queue-controls.bk-queue-search>.button{flex:none;min-height:39px;padding:7px 16px}
@media(max-width:1250px){.bk-queue-detail-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}.bk-queue-issues{border-left:1px solid #e9e2dc;padding-left:12px}}
@media(max-width:820px){.bk-queue-detail-layout{grid-template-columns:1fr}.bk-queue-issues{border-left:0;padding-left:0}}
@media(max-width:580px){.bk-queue-controls.bk-queue-search{gap:6px}.bk-queue-combined{flex:1}.bk-queue-combined .bk-queue-issues-select{flex-basis:126px;padding:7px 5px}.bk-queue-controls.bk-queue-search>.button{padding:7px 9px}}

/* v0.1.146 #1: separate, accessible dock-title/focus/warning positions. */
.bk-point-header-actions{display:flex;width:100%;min-width:0;align-items:center;gap:3px}
.bk-point-header-actions>.bk-point-info{flex:0 1 auto;min-width:0;width:auto!important;max-width:none!important;overflow:hidden}
.bk-point-header-actions>.bk-point-info strong{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:100%}
.bk-point-header-actions>.bk-point-focus{position:static;flex:0 0 20px;width:20px;height:21px;padding:2px;margin:0}
.bk-point-header-actions>.bk-point-focus svg{width:18px;height:18px}
.bk-point-header-actions>.bk-point-alert{position:static;flex:0 0 18px;margin-left:auto;width:18px;height:18px}
/* v0.1.146 #3: match the approved compact select/search group, not a wide tile. */
.bk-queue-controls.bk-queue-search{gap:11px;justify-content:flex-start;align-items:center}
.bk-queue-combined{width:min(756px,calc(100% - 88px));min-width:0}
.bk-queue-combined select.bk-queue-issues-select{box-sizing:border-box;flex:0 0 185px!important;min-width:0!important;width:185px!important;max-width:185px!important;appearance:auto;background:#f4f0eb;color:#3d322d;border:0;border-right:1px solid #e1d8d0;border-radius:0;padding:8px 12px;font-weight:400}
.bk-queue-combined input[type=search]{min-width:0!important;flex:1 1 auto;width:100%;font-weight:400}
@media(max-width:620px){.bk-queue-combined{flex:1}.bk-queue-combined select.bk-queue-issues-select{flex-basis:138px!important;width:138px!important;max-width:138px!important;padding:7px 4px}.bk-queue-controls.bk-queue-search{gap:6px}}
/* v0.1.146 #7: driver link matches the visit ID (regular weight). */
.bk-queue-driver-name,.bk-queue-driver-name:link,.bk-queue-driver-name:visited{font-size:13px;font-weight:400!important;line-height:1.65;color:#902c39;text-decoration:underline}
.bk-queue-driver{gap:7px}
