@font-face {font-family:'Onest';font-style:normal;font-weight:100 900;src:url(/assets/e8da9414425d12.woff2);unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;font-display:swap;}
@font-face {font-family:'Onest';font-style:normal;font-weight:100 900;src:url(/assets/a74f6a62e52017.woff2);unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;font-display:swap;}
@font-face {font-family:'Onest';font-style:normal;font-weight:100 900;src:url(/assets/8436b6735b03ea.woff2);unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;font-display:swap;}
@font-face {font-family:'Onest';font-style:normal;font-weight:100 900;src:url(/assets/5ea92e2eded57f.woff2);unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;font-display:swap;}
:root{--kl-primary:#00838e;--kl-primary-dark:#00616b;--kl-ink:#193e40;--kl-muted:#627878;--kl-paper:#fbfaf7;--kl-mint:#e8f3ee;--kl-border:#dce7e2;--kl-cream:#f5eee3;--bm-green:#00838e;--bm-dark:#193e40;--bm-line:#dce7e2;--bm-light:#f6f8f5}
html{scroll-behavior:smooth}body{font-family:Onest,"Hanken Grotesk",Arial,sans-serif!important;color:var(--kl-ink)!important;background:var(--kl-paper)!important;-webkit-font-smoothing:antialiased}body.kl-surface{background:var(--kl-paper)!important}a{color:var(--kl-primary)}a:hover{color:var(--kl-primary-dark)}h1,h2,h3,h4{font-family:Onest,"Hanken Grotesk",Arial,sans-serif!important;color:var(--kl-ink);letter-spacing:-.035em}button,input,select,textarea{font-family:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid #61b4b0;outline-offset:4px}body .btn.btn-primary,body .btn-primary:not(:disabled):not(.disabled):active{background:var(--kl-primary)!important;border-color:var(--kl-primary)!important;color:white!important;background-image:none!important;box-shadow:none;border-radius:11px;font-weight:600;padding:14px 21px;line-height:1.45}body .btn.btn-primary:hover{background:var(--kl-primary-dark)!important;border-color:var(--kl-primary-dark)!important}body .btn.btn-secondary{color:var(--kl-ink)!important;border:1px solid #d4e2dc!important;background:white!important;border-radius:11px;padding:13px 19px;line-height:1.45}body .btn.btn-secondary:hover{background:#eef6f1!important;border-color:#a5c7bd!important}body .btn svg{width:20px;height:20px;vertical-align:middle;margin-left:8px}body .btn:before,body .btn:after{border-color:currentColor}body .reference-notice{background:#edf4ef;color:#526c68;border-color:#e3ece4;font-size:10px;min-height:28px;padding:6px 20px;gap:16px}body .reference-notice button{color:#306b69}
.kl-container{max-width:1180px;margin:0 auto;padding:0 28px}.kl-header.reference-header{height:91px;position:relative;display:flex;gap:32px;align-items:center;justify-content:space-between;max-width:none;padding:0 max(28px,calc((100% - 1124px)/2));border-bottom:1px solid var(--kl-border);background:var(--kl-paper);z-index:1250}.kl-header .kl-brand{display:flex;flex-shrink:0}.kl-header .kl-brand img,.kl-footer .kl-brand img{width:176px!important;height:auto!important;max-width:none}.kl-nav{display:flex;gap:30px;align-items:center;margin-left:auto}.kl-header .kl-nav a{font-size:13px!important;font-weight:500;text-decoration:none;color:#516868!important;padding:11px 0;white-space:nowrap}.kl-header .kl-nav a:hover,.kl-header .kl-nav a[aria-current]{color:var(--kl-primary)!important}.kl-header-actions{display:flex;align-items:center;gap:12px}.kl-header #bm-header-account{border:1px solid #b8d1c8;border-radius:10px;padding:10px 16px;font-size:13px!important;color:var(--kl-primary)!important;text-decoration:none;font-weight:600;white-space:nowrap}.kl-menu-toggle{display:none;background:transparent;border:1px solid var(--kl-border);border-radius:9px;width:43px;height:43px;padding:11px}.kl-menu-toggle span{height:2px;background:var(--kl-ink);display:block;margin:4px 0;border-radius:2px}.kl-welcome{padding-top:48px;padding-bottom:42px;text-align:center}.kl-eyebrow,.kl-overline{display:inline-flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.12em;font-weight:650;line-height:1.5;text-transform:uppercase;color:var(--kl-primary)}.kl-eyebrow{padding:7px 12px;border:1px solid #dce9df;border-radius:30px;background:#f1f6ee;letter-spacing:.09em;font-size:10px}.kl-eyebrow i{width:6px;height:6px;border-radius:50%;background:var(--kl-primary)}.kl-welcome h1{font-size:clamp(39px,4.7vw,62px);line-height:1.09;font-weight:650;margin:19px 0 18px}.kl-intro{font-size:16px;line-height:1.8;color:var(--kl-muted);font-weight:400}.kl-welcome>.kl-intro{margin:0 auto 34px;max-width:650px}.kl-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;text-align:left}.kl-entry{border-radius:23px;overflow:hidden;display:flex;flex-direction:column;position:relative;border:1px solid #dae8df;transition:transform .2s,box-shadow .2s;isolation:isolate}.kl-entry:hover{transform:translateY(-3px);box-shadow:0 12px 35px #193e400c}.kl-entry-home{background:#eaf3ed}.kl-entry-pro{background:#f4eee3;border-color:#e9e2d6}.kl-entry-copy{padding:30px 34px 24px;position:relative;z-index:2}.kl-entry-copy h2{font-size:31px;line-height:1.2;font-weight:650;margin:11px 0 12px}.kl-entry-copy p{font-size:14px;line-height:1.75;color:#526c67;margin:0 0 23px}.kl-entry-pro .kl-overline{color:#7c705a}.kl-entry-cta{display:inline-flex;gap:23px;align-items:center;background:var(--kl-primary);border:1px solid var(--kl-primary);color:white!important;border-radius:10px;padding:12px 17px;font-size:13px;font-weight:600;text-decoration:none!important;transition:background .2s}.kl-entry-cta:hover{background:var(--kl-primary-dark)}.kl-entry-cta svg,.kl-section-heading>a svg{width:20px;height:20px}.kl-entry-pro .kl-entry-cta{background:transparent;color:var(--kl-ink)!important;border-color:#b7c9bc}.kl-entry-pro .kl-entry-cta:hover{background:#e9e7d9}.kl-entry-image{height:226px;position:relative;margin-top:auto;overflow:hidden}.kl-entry-image>img{width:100%;height:100%;object-fit:cover;object-position:center 56%;display:block;transition:transform .4s}.kl-entry-home:hover .kl-entry-image>img{transform:scale(1.025)}.kl-photo-note{position:absolute;bottom:16px;left:22px;background:#fffffff2;border:1px solid #ffffffaa;backdrop-filter:blur(6px);border-radius:8px;padding:9px 13px;font-size:11px;color:#355551;box-shadow:0 3px 20px #12351c08}.kl-entry-illustration{height:226px;position:relative;display:flex;justify-content:center;align-items:flex-start;margin-top:auto;overflow:hidden}.kl-entry-illustration>img{width:310px;height:273px;object-fit:contain;position:relative;z-index:1;margin-top:-26px}.kl-art-circle{position:absolute;width:310px;height:310px;border-radius:50%;background:#e1e9d8;bottom:-155px;right:50%;transform:translateX(50%);z-index:0}.kl-reassurance{display:flex;align-items:center;justify-content:center;gap:40px;margin-top:26px;color:#647971;font-size:11px}.kl-reassurance span{display:flex;gap:8px;align-items:center}.kl-reassurance i{font-style:normal;color:var(--kl-primary);font-size:14px}.kl-process{padding:66px 0;background:#f0f4ed;border-top:1px solid #e5ece0;border-bottom:1px solid #e5ece0}.kl-process .kl-container{display:grid;grid-template-columns:.9fr 1.6fr;gap:70px;align-items:start}.kl-section-intro h2,.kl-section-heading h2{font-size:34px;line-height:1.2;font-weight:600;margin:12px 0 16px}.kl-section-intro p{font-size:14px;color:var(--kl-muted);line-height:1.8;max-width:300px;margin:0}.kl-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;padding-top:4px}.kl-steps article>span,.kl-pro-benefits article>span{display:grid;place-items:center;width:38px;height:38px;border:1px solid #b9cec2;background:#f8faf5;border-radius:50%;font-size:12px;color:var(--kl-primary);margin-bottom:22px}.kl-steps h3,.kl-pro-benefits h3{font-size:16px;line-height:1.45;font-weight:600;margin-bottom:12px;letter-spacing:-.02em}.kl-steps p,.kl-pro-benefits p{font-size:12px;line-height:1.8;color:var(--kl-muted)}.kl-trades{padding-top:66px;padding-bottom:70px}.kl-section-heading{display:flex;gap:20px;align-items:end;justify-content:space-between;margin-bottom:25px}.kl-section-heading h2{margin-bottom:0;font-size:30px}.kl-section-heading>a{display:inline-flex;align-items:center;gap:10px;font-size:12px;white-space:nowrap;color:var(--kl-primary);padding-bottom:6px}.kl-trade-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.kl-trade-grid>a{display:flex;align-items:center;gap:14px;border:1px solid var(--kl-border);background:#fffdfa;border-radius:12px;padding:20px 16px;color:var(--kl-ink);font-size:12px;text-decoration:none}.kl-trade-grid>a:hover{border-color:#9dbfb1;background:#f0f6ee}.kl-trade-grid img{width:31px;height:31px;object-fit:contain;opacity:.75;filter:grayscale(.35)}.kl-trade-grid b{font-weight:400;color:#78958b;margin-left:auto}.kl-footer{background:#eef2e9;border-top:1px solid #dde6d8;padding:43px 0 0;color:#62776c}.kl-footer-top{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:70px;padding-bottom:38px}.kl-footer-top>div{display:flex;flex-direction:column;align-items:start;gap:12px}.kl-footer-top p{font-size:12px;margin-top:3px;line-height:1.8}.kl-footer strong{font-size:12px;color:var(--kl-ink);font-weight:650;margin:6px 0}.kl-footer a:not(.kl-brand){font-size:11px;color:#64796f;text-decoration:none}.kl-footer a:hover{color:var(--kl-primary)}.kl-footer-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:10px;padding-top:20px;padding-bottom:24px;border-top:1px solid #dbe4d8}.kl-footer-bottom>div{display:flex;gap:22px}.kl-back{display:inline-block;color:#71857c;font-size:12px;margin:28px 0 35px}.kl-start-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:85px;align-items:start;margin-bottom:70px}.kl-start-grid h1{font-size:clamp(34px,4vw,53px);line-height:1.13;font-weight:650;margin:20px 0}.kl-start-grid>.kl-intro{max-width:470px}.kl-start-panel{background:#fffefb;border:1px solid var(--kl-border);border-radius:21px;padding:32px;box-shadow:0 15px 45px #193e4007;margin-top:4px}.kl-start-panel h2{font-size:26px;line-height:1.25;margin:13px 0;font-weight:600}.kl-start-panel>p{font-size:13px;color:var(--kl-muted);line-height:1.8;margin-bottom:23px}.kl-start-panel .btn{width:100%;display:flex;justify-content:space-between;align-items:center}.kl-panel-note{font-size:11px!important;color:#7a8b7d!important;line-height:1.7;margin-top:20px;margin-bottom:0!important}.kl-panel-note span{color:var(--kl-primary);margin-right:6px}.kl-start-photo{margin-top:28px;border-radius:18px;overflow:hidden;max-width:430px;height:215px}.kl-start-photo img{width:100%;height:100%;object-fit:cover}.kl-pro-portrait{height:260px;position:relative;display:flex;align-items:center;gap:22px;overflow:hidden;border-radius:18px;margin-top:25px;background:#eef2e7;padding:20px 16px 0}.kl-pro-portrait>img{height:260px;width:220px;object-fit:contain;object-position:bottom;position:relative;align-self:end;z-index:1;max-width:52%}.kl-pro-portrait>div{position:relative;z-index:1;font-size:14px;max-width:150px}.kl-pro-portrait>div p{font-size:12px;color:#69806e;line-height:1.8;margin-top:13px}.kl-pro-portrait .kl-art-circle{width:260px;height:260px;bottom:-50px;left:-80px;right:auto;transform:none}.kl-existing{text-align:center;font-size:12px!important;margin-top:20px;margin-bottom:0!important}.kl-existing a{font-weight:600;color:var(--kl-primary)}.kl-pro-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:50px;padding:0 28px 70px}.kl-pro-benefits article{border-top:1px solid var(--kl-border);padding-top:25px}.kl-pro-benefits article>span{margin-bottom:20px}
/* Shared forms and private environments use the same quiet design system. */
body .reference-form{max-width:630px;margin-top:35px;padding:30px 34px;border-radius:20px;background:#fffefb;border:1px solid var(--kl-border);box-shadow:0 12px 40px #193e4005;margin-bottom:60px}body .reference-form h1{font-size:27px;color:var(--kl-ink);font-weight:650}body .reference-progress{height:5px;border-radius:4px;background:#e7eee8}body .reference-progress>div{height:5px;background:var(--kl-primary);border-radius:4px}body .reference-field>label{font-size:16px;font-weight:550;color:var(--kl-ink)}body .reference-field>input,body .reference-field>textarea,body .reference-field>select,body .bm-field>input,body .bm-field>textarea,body .bm-field>select{border-color:#d2dfd7;border-radius:10px;background:#fffefc;font-size:14px;min-height:49px;color:var(--kl-ink)}body .reference-field input:focus,body .reference-field textarea:focus,body .bm-field input:focus,body .bm-field textarea:focus,body .bm-field select:focus{outline:3px solid #00838e26;outline-offset:1px;border-color:#7fb2a8}body .reference-choices{border-color:#d2dfd7;border-radius:11px}body .reference-choice{font-size:14px;border-color:#dfe8df;background:#fffefc;color:var(--kl-ink);padding:15px 17px}body .reference-choice:hover{background:#f2f7f0}body .reference-choice:has(input:checked){background:#e7f3ed;box-shadow:inset 3px 0 var(--kl-primary)}body input[type=radio],body input[type=checkbox]{accent-color:var(--kl-primary)}body .reference-choice input:focus-visible{outline-color:var(--kl-primary)}body .reference-free span{color:var(--kl-primary)}body .reference-actions{border-color:var(--kl-border)}body .reference-dialog{border-radius:18px;border:1px solid var(--kl-border);background:#fffefa;box-shadow:0 20px 90px #153d4026}body .reference-dialog-wrap{background:#173d3e66;backdrop-filter:blur(4px)}body .reference-dialog h2{font-size:24px;font-weight:600}body .reference-success .success-icon{color:var(--kl-primary);background:#e3f1e8}body .bm-auth{max-width:510px;margin-top:45px}body .bm-auth .bm-card{padding:34px;border-radius:20px}body .bm-auth h1{font-weight:650;font-size:29px}body .bm-auth a,body .bm-linkbutton{color:var(--kl-primary)}body .bm-auth-tabs{border-color:var(--kl-border);gap:25px}body .bm-auth-tabs .active{border-color:var(--kl-primary);color:var(--kl-ink)}body .bm-wrap{max-width:1240px;margin-top:35px}body .bm-heading{margin-bottom:30px;align-items:center}body .bm-heading .kl-overline{font-size:9px;margin-bottom:10px;color:#6f8f82;display:block}body .bm-heading h1{font-size:30px;font-weight:600}body .bm-heading p{font-size:13px;color:var(--kl-muted)}body .bm-layout{grid-template-columns:228px minmax(0,1fr);gap:30px}body .bm-sidebar{background:#fffefb;border:1px solid var(--kl-border);border-radius:17px;padding:12px;gap:3px;top:18px}body .bm-sidebar a{font-size:12px;padding:12px;border-radius:9px;color:#6a8075}body .bm-sidebar a span{font-size:15px;width:19px;text-align:center}body .bm-sidebar a.active{background:#e6f1e9;color:var(--kl-primary)}body .bm-sidebar a:hover{background:#f0f6ee}body .bm-card{border-color:var(--kl-border);background:#fffefb;border-radius:16px;padding:26px;box-shadow:0 3px 16px #193e4003;margin-bottom:20px}body .bm-card h2{font-size:22px;font-weight:600}body .bm-card h3{font-size:18px;font-weight:600}body .bm-card p{color:#637b71;font-size:13px}body .bm-stats{gap:16px}body .bm-stat{background:#fffefb;border-color:var(--kl-border);border-radius:14px;padding:23px}body .bm-stat strong{font-weight:550;font-size:32px;color:var(--kl-primary)}body .bm-stat span{font-size:11px;color:#778a7c}body .bm-filter input,body .bm-filter select{border-radius:10px;border-color:var(--kl-border);background:#fffefb;font-size:13px}body .bm-empty{border-radius:16px;border-color:#cbded0;background:#fffefb;padding:45px 25px}body .bm-empty .bm-empty-icon{color:#5f9e8c}body .bm-empty h2{font-weight:600;font-size:23px}body .bm-badge{font-size:10px;padding:6px 10px;background:#e7f3eb;color:#346c56;letter-spacing:.01em}body .bm-badge.pending{background:#fbf1dc;color:#8e7239}body .bm-badge.cancelled,body .bm-badge.rejected,body .bm-badge.suspended{background:#f9eae6;color:#ab6455}body .bm-success-note{background:#edf5eb;border-color:#d3e6d1;color:#4c795b;border-radius:11px}body .bm-warning{border-radius:11px;background:#fbf4e8;border-color:#e9dcc4;color:#8c7756}body .bm-price{color:var(--kl-primary);font-weight:600}body .bm-mobile-nav{border-color:var(--kl-border);background:#fffefbf5;border-radius:17px 17px 0 0}body .bm-mobile-nav a.active{color:var(--kl-primary)}body .bm-toast{background:#164e4d;border-radius:11px}body .bm-section-tabs a{border-radius:10px;font-size:12px;padding:11px 14px;border-color:var(--kl-border);background:#fffefb}body .bm-section-tabs a.active{background:#e6f1e9;border-color:#84afa0;color:var(--kl-primary)}body .bm-initial{color:var(--kl-primary);background:#e4f0e7;border-radius:12px}body .bm-message{background:#eff3ec;border-radius:13px 13px 13px 3px}body .bm-message.mine{background:#e2f0e9;border-radius:13px 13px 3px 13px}body .bm-chat-input textarea{border-radius:10px;border-color:var(--kl-border);background:#fffefb}body .bm-support-message{background:#eff3ec;border-radius:11px}body .bm-support-message.staff{background:#e4f0e7}body .bm-directory{padding-top:5px;max-width:1180px}body .bm-directory>h1{font-size:36px;font-weight:600}.kl-account .kl-footer{display:none}.kl-public-legacy main.main{margin-top:0!important}.kl-public-legacy .hero-container{border-radius:0 0 26px 26px}.kl-public-legacy .bg-success,.kl-public-legacy .bg-primary{background-color:var(--kl-primary)!important}.kl-public-legacy .text-success{color:var(--kl-primary)!important}.kl-public-legacy .background-light-green{background:#eaf3e9!important}.kl-public-legacy table{border-color:var(--kl-border)}body .bm-advice h1{font-size:38px;font-weight:600}body .bm-advice h2{font-size:27px;font-weight:600}
@media(min-width:1500px){.kl-welcome{padding-top:62px}.kl-entry-image,.kl-entry-illustration{height:250px}.kl-entry-illustration>img{width:335px;height:295px}}
@media(max-width:1000px){.kl-header.reference-header{gap:20px}.kl-nav{gap:18px}.kl-start-grid{gap:40px}.kl-process .kl-container{gap:35px;grid-template-columns:.8fr 1.4fr}.kl-steps{gap:18px}.kl-trade-grid{grid-template-columns:repeat(2,1fr)}.kl-entry-copy{padding:28px}.kl-entry-copy h2{font-size:28px}.kl-entry-cta{font-size:12px;gap:14px}.kl-section-heading h2{font-size:28px}}
@media(max-width:800px){.kl-container{padding:0 21px}.kl-header.reference-header{height:76px;padding:0 20px;gap:12px}.kl-header .kl-brand img{width:149px!important}.kl-header #bm-header-account{font-size:11px!important;padding:10px 12px}.kl-menu-toggle{display:block}.kl-header-actions{gap:9px}.kl-nav{display:none;position:absolute;top:calc(100% - 1px);left:0;right:0;margin:0;padding:14px 22px 23px;background:var(--kl-paper);border-bottom:1px solid var(--kl-border);box-shadow:0 14px 25px #193e400a}.kl-nav.is-open{display:grid;gap:3px}.kl-header .kl-nav a{font-size:14px!important;border-bottom:1px solid #e4ece3;padding:15px 2px}.kl-welcome{padding-top:32px;padding-bottom:32px}.kl-welcome h1{font-size:44px;margin:18px 0}.kl-welcome>.kl-intro{font-size:14px;margin-bottom:29px}.kl-desktop-break{display:none}.kl-entry-grid{gap:19px}.kl-entry-copy{padding:24px}.kl-entry-copy h2{font-size:25px}.kl-entry-copy p{font-size:12px}.kl-entry-cta{padding:11px 13px;font-size:11px;gap:12px}.kl-entry-image,.kl-entry-illustration{height:190px}.kl-entry-illustration>img{height:235px;width:265px;margin-top:-20px}.kl-reassurance{gap:16px;font-size:9px;margin-top:24px;flex-wrap:wrap}.kl-process{padding:42px 0}.kl-process .kl-container{display:block}.kl-section-intro h2{font-size:30px}.kl-section-intro p{max-width:450px;font-size:13px}.kl-steps{margin-top:30px;gap:22px}.kl-steps h3{font-size:14px}.kl-steps p{font-size:11px}.kl-steps article>span{margin-bottom:15px}.kl-trades{padding-top:42px;padding-bottom:45px}.kl-section-heading{align-items:start;gap:14px;flex-direction:column}.kl-section-heading h2{font-size:28px}.kl-trade-grid{gap:10px}.kl-trade-grid>a{padding:17px 12px;font-size:11px;gap:10px}.kl-trade-grid img{width:27px;height:27px}.kl-footer{padding-top:32px}.kl-footer-top{gap:25px;grid-template-columns:1fr 1fr}.kl-footer-top>div:first-child{grid-column:1/-1;margin-bottom:2px}.kl-footer-top .kl-brand img{width:160px!important}.kl-footer-top p{font-size:11px}.kl-footer-bottom{flex-direction:column;gap:14px;align-items:start;font-size:9px}.kl-footer-bottom a{font-size:10px!important}.kl-back{margin:23px 0 28px;font-size:11px}.kl-start-grid{gap:35px;grid-template-columns:1fr;margin-bottom:40px}.kl-start-grid h1{font-size:39px;margin:18px 0}.kl-start-grid .kl-intro{font-size:14px;max-width:520px}.kl-start-photo{display:none}.kl-start-panel{padding:25px;border-radius:17px}.kl-start-panel h2{font-size:25px}.kl-pro-portrait{height:200px;max-width:400px;margin-top:22px}.kl-pro-portrait>img{height:225px;width:195px}.kl-pro-benefits{gap:25px;padding-bottom:45px}.kl-pro-benefits h3{font-size:14px}.kl-pro-benefits p{font-size:11px}body .bm-wrap{margin-top:27px;padding-left:18px;padding-right:18px}body .bm-layout{grid-template-columns:1fr;gap:0}body .bm-heading{align-items:start;gap:12px;margin-bottom:24px}body .bm-heading h1{font-size:25px}body .bm-heading p{font-size:11px}body .bm-toplinks{font-size:11px;gap:8px}body .bm-heading .kl-overline{font-size:8px;margin-bottom:8px}body .bm-card{padding:22px;border-radius:14px}body .bm-stats{gap:8px}body .bm-stat{padding:16px 11px;border-radius:12px}body .bm-stat strong{font-size:27px}body .bm-stat span{font-size:9px}body .bm-directory>h1{font-size:29px}body .bm-auth{margin-top:29px}body .bm-auth .bm-card{padding:27px}body .reference-form{max-width:590px;margin:25px auto 45px;padding:28px 24px;border-radius:17px}body .reference-form h1{font-size:25px}body .reference-actions{margin-top:28px}body .bm-advice h1{font-size:29px}}
@media(max-width:600px){.kl-entry-grid{grid-template-columns:1fr}.kl-welcome{padding-left:21px;padding-right:21px}.kl-welcome h1{font-size:43px}.kl-intro{font-size:14px}.kl-entry{border-radius:19px}.kl-entry-copy{padding:26px 26px 22px}.kl-entry-copy h2{font-size:29px;margin-top:10px}.kl-entry-copy p{font-size:13px;margin-bottom:20px}.kl-entry-cta{font-size:12px;padding:12px 15px;gap:25px}.kl-entry-image,.kl-entry-illustration{height:182px}.kl-entry-image img{object-position:center 51%}.kl-entry-illustration>img{width:288px;height:252px;margin-top:-36px}.kl-entry-pro .kl-entry-copy{padding-bottom:8px}.kl-photo-note{left:19px;bottom:15px;font-size:10px}.kl-reassurance{justify-content:flex-start;gap:10px 16px;font-size:9px;margin-left:4px}.kl-reassurance span:last-child{display:none}.kl-steps{grid-template-columns:1fr;gap:23px}.kl-steps article{display:grid;grid-template-columns:38px 1fr;gap:0 17px}.kl-steps article>span{grid-column:1;grid-row:1/3;margin:0}.kl-steps h3{grid-column:2;grid-row:1;font-size:15px;margin-top:0;margin-bottom:7px}.kl-steps p{grid-column:2;grid-row:2;font-size:12px;margin-bottom:0;max-width:260px}.kl-pro-benefits{grid-template-columns:1fr;gap:8px}.kl-pro-benefits article{display:grid;grid-template-columns:38px 1fr;gap:0 17px;padding-top:25px}.kl-pro-benefits article>span{grid-column:1;grid-row:1/3;margin:0}.kl-pro-benefits h3{grid-column:2;font-size:15px;margin-bottom:8px}.kl-pro-benefits p{grid-column:2;font-size:12px}.kl-entry .kl-overline{font-size:10px}.kl-trade-grid>a{gap:8px;font-size:10px;min-width:0}.kl-trade-grid img{width:25px;height:25px}.kl-trade-grid b{font-size:12px}.kl-trade-grid span{min-width:0}.kl-section-intro h2{font-size:30px}.kl-header .kl-brand img{width:140px!important}.kl-header.reference-header{padding-left:17px;padding-right:17px}body .reference-form{margin:22px 16px 40px;width:calc(100% - 32px);padding:26px 22px}body .bm-auth{padding:0 17px}body .bm-auth .bm-card{padding:25px}body .bm-directory{padding-left:18px;padding-right:18px}.kl-professional .kl-back,.kl-customer .kl-back{margin-top:20px}.kl-start-panel .btn{font-size:13px}.kl-pro-portrait>div{font-size:13px}body .bm-toplinks{max-width:110px;justify-content:flex-end}body .bm-heading h1{font-size:24px}body .bm-heading>div:first-child{min-width:0}body .bm-form .bm-field>label{font-size:12px}body .bm-field>input,body .bm-field>select,body .bm-field>textarea{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.kl-legal-brand{display:block;margin-bottom:30px}.kl-legal-brand img{width:176px;height:auto}
@media(max-width:800px){.kl-footer-top{padding-bottom:30px}.kl-footer-bottom{padding-top:20px;padding-bottom:24px}}
:root{--kl-muted:#596f6d}.kl-eyebrow,.kl-overline{color:var(--kl-primary-dark)}body .bm-muted,body .bm-stat span,body .bm-heading p,body .reference-help,body .bm-field small{color:#5d736b}.kl-reassurance,.kl-footer,.kl-footer a:not(.kl-brand){color:#526c62}.kl-footer-bottom,.kl-panel-note{color:#596f64!important}body .bm-heading .kl-overline{color:#58776b}.kl-header .kl-nav a{color:#516868!important}
.bm-sidebar svg{width:18px;height:18px;display:block}.bm-mobile-nav i{display:grid;place-items:center}.bm-mobile-nav svg{width:22px;height:22px}.bm-more-menu a{display:flex;align-items:center;gap:12px}.bm-more-menu svg{width:20px;height:20px;flex-shrink:0}body .bm-mobile-nav a,body .bm-mobile-nav button{color:#597168}body .bm-mobile-nav a.active{color:var(--kl-primary)}
body .btn.btn-primary,body .btn.btn-secondary{font-size:14px}body #bm-content>h2{font-size:24px;font-weight:600;line-height:1.35;margin:0 0 20px}body #bm-content>.bm-row>h2{font-size:22px;font-weight:600;line-height:1.35}

/* Existing members have a separate, visible path. */
.kl-entry-login{display:block;margin-top:16px;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px;color:var(--kl-ink,#193e40)}
.kl-login-callout{padding:16px;background:#e7f3f1;border-radius:12px;margin:0 0 24px!important}
.kl-login-roles{display:flex;gap:8px;margin:22px 0 16px}.kl-login-roles button{flex:1;padding:13px 8px;border:1px solid #b8ceca;background:white;border-radius:10px;color:#193e40;font:600 14px Onest, sans-serif;cursor:pointer}.kl-login-roles button[aria-pressed=true]{background:#00838e;border-color:#00838e;color:white}

/* Quiet turquoise accents shared by all account environments. */
body.kl-account .bm-heading{background:linear-gradient(110deg,#eaf6f4 0%,#f5faf7 72%,#fbfaf7 100%);border:1px solid #d1e8e4;border-left:4px solid #00838e;border-radius:17px;padding:23px 25px}
body.kl-account .bm-heading .kl-overline{color:#00616b}
body.kl-account .bm-sidebar{border-color:#cee4df}
body.kl-account .bm-sidebar a.active{background:#dff1ee;color:#00616b;box-shadow:inset 3px 0 #00838e;font-weight:650}
body.kl-account .bm-sidebar a:hover{background:#eef8f5}
body.kl-account .bm-stat{background:linear-gradient(135deg,#edf8f5,#fffefb);border-color:#cce5df;border-top:3px solid #5baca7}
body.kl-account .bm-stat strong{color:#00838e}
body.kl-account #bm-request-list .bm-card,body.kl-account #bm-jobs-list .bm-card,body.kl-account #bm-unlocked-list .bm-card{border-color:#d4e8e2;border-left:3px solid #acd5cc}
body.kl-account .btn.btn-secondary:not(.bm-danger){border-color:#b8d9d2!important;color:#076c70!important;background:#f5fbf8!important}
body.kl-account .btn.btn-secondary:not(.bm-danger):hover{background:#e4f4ef!important;border-color:#74b4aa!important}
body.kl-account .bm-mobile-nav{border-top-color:#a9d5cc}
body.kl-account .bm-mobile-nav a.active{background:#e4f3ef;border-radius:11px;color:#00616b}
.bm-nav-badge {
  margin-inline-start: auto;
  border-radius: 999px;
  background: #087f83;
  color: #fff;
  padding: 2px 7px;
  font-size: 11px;
  line-height: 1.4;
}
.bm-mobile-nav #bm-mobile-more > i { position:relative; justify-self:center; }
.bm-mobile-nav #bm-mobile-more[data-unread] > i::after {
  content:'';
  position:absolute;
  inset-block-start:0;
  inset-inline-end:-.32rem;
  inline-size:.5rem;
  block-size:.5rem;
  border-radius:50%;
  background:var(--kl-primary);
  box-shadow:0 0 0 2px var(--kl-paper);
}
body.kl-account .bm-field input:focus,body.kl-account .bm-field select:focus,body.kl-account .bm-field textarea:focus{border-color:#4faaa5;box-shadow:0 0 0 3px #00838e14;outline:none}
@media(max-width:600px){body.kl-account .bm-heading{padding:19px 16px;border-radius:14px;gap:10px}body.kl-account .bm-heading h1{font-size:23px}body.kl-account .bm-toplinks{max-width:88px;gap:10px}body.kl-account .bm-stat{border-top-width:2px}}

/* The same restrained palette on public pages, entry forms and administration. */
.kl-eyebrow{background:#e8f5f3;border-color:#c5e3dd}
.kl-home .kl-welcome{background:radial-gradient(ellipse at 50% 14%,#eaf7f580,transparent 64%)}
.kl-entry-home{background:#e5f3f1;border-color:#bdded8}
.kl-entry-pro{background:#f6f0e6;border-color:#c8ded9}
.kl-entry-pro .kl-overline{color:#00616b}
.kl-entry-pro .kl-entry-cta{background:#edf7f5;border-color:#a9cfc8;color:#00616b!important}
.kl-entry-pro .kl-entry-cta:hover{background:#dfeeeb}
.kl-steps article>span,.kl-pro-benefits article>span{background:#e7f4f1;border-color:#b6d9d2;color:#00616b}
.kl-trade-grid>a{border-color:#d0e5df}.kl-trade-grid>a:hover{background:#e9f5f2;border-color:#97c9be}
.kl-start-panel{border-color:#c3dfd9;border-top:3px solid #69aaa6}
.kl-footer{background:#eaf4f1;border-top:1px solid #d0e5df}
body .reference-notice{background:#e7f3f0;border-color:#d3e7e1}
.kl-header #bm-header-account{background:#f0f8f5;border-color:#bad8d0}
body .reference-form{border:1px solid #cce3de;border-top:3px solid #63a9a5}
body .reference-choice:hover{background:#edf7f4}
body .reference-choice:has(input:checked){background:#e0f2ee}
body .bm-auth .bm-card{border-top:3px solid #63a9a5;background:linear-gradient(155deg,#eff8f5,#fffefb 32%)}
body .bm-section-tabs a.active{background:#dff0ec;border-color:#8ec4b9;color:#00616b}
body.kl-account #bm-customer-offers .bm-card,body.kl-account #bm-conversations-list .bm-card,body.kl-account #bm-support-list .bm-card{border-left:3px solid #acd2c9}
body .btn.btn-secondary.bm-danger{background:#fff8f6!important;border-color:#dfbfba!important;color:#973b37!important}

.kl-entry-work-photo>img{object-position:center 25%}

/* UNIBOO homepage */
.kl-home-hero {
  background: #00838e;
  color: #fff;
}
.kl-home-hero .kl-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  padding-block: clamp(36px, 6vw, 82px);
}
.kl-hero-kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 50px;
  background: #082d31;
  color: white;
  font-size: 13px;
  font-weight: 700;
}
.kl-hero-copy h1 {
  margin: 15px 0;
  font-size: clamp(44px, 6.2vw, 82px);
  line-height: .99;
  letter-spacing: -.065em;
  color: #fff;
}
.kl-hero-copy p {
  max-width: 39ch;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.5;
}
.kl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}
.kl-hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border: 2px solid #fff;
  border-radius: 9px;
  font-weight: 750;
  text-decoration: none;
}
.kl-hero-actions svg { width: 17px; height: 17px; flex: none; }
.kl-hero-actions .kl-hero-primary { background: #fff; color: #163942; }
.kl-hero-actions .kl-hero-secondary { color: #fff; }
.kl-hero-actions a:hover { background: white; color: #082d31; }
.kl-hero-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 10px 10px #00646b;
}
.kl-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.kl-home .kl-welcome { padding-block: 38px; background: none; }
.kl-home .kl-entry-grid { margin-top: 0; }
.kl-home .kl-entry-home { background: #dcfaf6; border-color: #67d6cf; }
.kl-home .kl-entry-pro { background: #d0f5f4; border-color: #67d6cf; }
.kl-home .kl-entry-pro .kl-entry-work-photo {
  background: #00838e;
}
.kl-home .kl-entry-pro .kl-entry-work-photo img { object-fit: contain; object-position: center bottom; }
.kl-home .kl-process { background: #e2fbf7; }
.kl-home .kl-steps article > span { background: #00666c; color: white; border-color: #00666c; }
.kl-home .kl-trade-grid > a { border-color: #6bcac5; }
.kl-home .kl-trade-grid > a:hover { background: #baf6ef; }
@media (max-width: 740px) {
  .kl-home-hero .kl-hero-grid { grid-template-columns: 1fr; }
  .kl-hero-photo img { aspect-ratio: 16 / 9; }
}

/* Uniboo brand palette shared by public pages and account screens. */
:root {
  --kl-ink: #081b32;
  --kl-paper: #ffffff;
  --kl-mint: #f1f8f9;
  --kl-cream: #ffffff;
  --kl-primary-dark: #014c53;
  --bm-tone-blue: #285d9e;
  --bm-tone-purple: #68418e;
  --bm-tone-green: #1b754e;
  --bm-tone-amber: #895d0d;
  --bm-tone-orange: #a3542c;
  --bm-tone-red: #9c3545;
  --bm-dark: var(--kl-ink);
  --bm-light: var(--kl-mint);
}
body .kl-header.reference-header {
  min-height: 90px;
  background: var(--kl-paper);
}
@media (max-width: 800px) {
  body .kl-header.reference-header { min-height: 82px; }
}
.kl-home .kl-entry-home {
  background: var(--kl-primary);
  border-color: var(--kl-primary);
}
.kl-home .kl-entry-home .kl-entry-copy :is(h2, p, .kl-overline, .kl-entry-login) {
  color: #ffffff;
}
.kl-home .kl-entry-home .kl-entry-cta {
  background: var(--kl-primary-dark);
  border-color: #ffffff;
}
.kl-home .kl-entry-home .kl-entry-cta:hover { background: var(--kl-ink); }
.kl-home .kl-entry-pro {
  background: #ffffff;
  border-color: var(--kl-primary-dark);
}
.kl-home .kl-entry-pro .kl-entry-copy :is(h2, p, .kl-overline, .kl-entry-login) {
  color: var(--kl-primary-dark);
}
.kl-home .kl-entry-pro .kl-entry-cta {
  background: #ffffff;
  border-color: var(--kl-primary-dark);
  color: var(--kl-primary-dark) !important;
}
.kl-home .kl-entry-pro .kl-entry-cta:hover { background: var(--kl-mint); }
.kl-home .kl-process {
  background: #ffffff;
  border-block: 1px solid var(--kl-border);
}
.kl-home .kl-trades { background: var(--kl-mint); }
.kl-home .kl-trade-grid > a { background: #ffffff; }
body.kl-account .bm-heading { background: var(--kl-mint); }
.kl-footer {
  background: var(--kl-primary);
  border-color: var(--kl-primary);
}
.kl-footer, .kl-footer strong, .kl-footer a:not(.kl-brand),
.kl-footer .kl-footer-bottom { color: #ffffff !important; }
.kl-footer a:not(.kl-brand):hover { text-decoration: underline; }
.kl-footer .kl-brand img { filter: brightness(0) invert(1); }
.kl-footer-bottom { border-color: #ffffff38; }

/* Homepage colors as accents in the professional workspace. */
body.kl-professional-account .bm-heading {
  background: #fff;
  border-color: var(--kl-border);
  border-left-color: var(--kl-primary);
}
.kl-professional-account .bm-sidebar a { color: var(--kl-ink); }
.kl-professional-account :is(.bm-sidebar, .bm-mobile-nav, .bm-section-tabs) a.active {
  background: var(--kl-mint);
  border-color: var(--kl-border);
  color: var(--kl-primary-dark);
}
.kl-professional-account .bm-sidebar a.active {
  box-shadow: inset 3px 0 var(--kl-primary);
}
.kl-professional-account :is(.bm-sidebar, .bm-mobile-nav, .bm-section-tabs) a:not(.active):hover {
  background: var(--kl-mint);
}
body.kl-professional-account .bm-stat {
  background: #fff;
  border-color: var(--kl-border);
  border-top-color: var(--kl-primary);
}
body.kl-professional-account .btn.btn-secondary:not(.bm-danger) {
  color: var(--kl-primary-dark) !important;
  border-color: #b7d6da !important;
  background: #fff !important;
}
body.kl-professional-account .btn.btn-secondary:not(.bm-danger):hover {
  background: var(--kl-mint) !important;
}
.kl-professional-account :is(.bm-message.mine, .bm-initial, .bm-consent, .bm-support-message.staff, .bm-score) {
  background: var(--kl-mint);
  color: var(--kl-primary-dark);
}
.kl-professional-account .bm-empty .bm-empty-icon { color: var(--kl-primary); }
.kl-professional-account .bm-spinner { border-top-color: var(--kl-primary); }

body.kl-professional-account .bm-sidebar {
  background: var(--kl-primary-dark);
  border-color: var(--kl-primary-dark);
}
body.kl-professional-account .bm-sidebar a {
  color: #fff;
}
body.kl-professional-account .bm-sidebar a:is(.active, :hover) {
  background: #ffffff24;
  color: #fff;
}
body.kl-professional-account .bm-sidebar a.active {
  box-shadow: inset 3px 0 #fff;
}
body.kl-professional-account .bm-sidebar .bm-separator {
  border-color: #ffffff40;
}

.bm-dashboard-link {
  display: block;
  color: var(--kl-ink);
  text-decoration: none;
}
@media (max-width: 600px) {
  .bm-dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bm-nav-group {
  margin: 12px 12px 3px;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.kl-professional-account .bm-sidebar .bm-nav-group { color: #fff; }

.kl-professional-account .bm-sidebar .bm-nav-group,
.bm-more-menu .bm-nav-group {
  margin: 12px 0 4px;
  padding: 7px 12px;
  border-radius: 7px;
  background: #d8eef0;
  color: var(--kl-ink);
  font-weight: 750;
}
.kl-professional-account .bm-sidebar .bm-nav-group:first-child,
.bm-more-menu .bm-nav-group:first-child { margin-top: 0; }

body.kl-professional-account :is(
  .bm-card, .bm-stat, .bm-empty, .bm-filter input, .bm-filter select,
  .bm-field input, .bm-field select, .bm-field textarea, .bm-chat-input textarea,
  .bm-section-tabs a:not(.active)
) {
  background: #fff;
  border-color: #d5e3e7;
}
body.kl-professional-account .bm-stat { border-top-color: var(--kl-primary); }
body.kl-professional-account :is(.bm-message.mine, .bm-support-message.staff, .bm-consent, .bm-notification.unread) {
  background: var(--kl-mint);
}

.kl-overline.bm-dashboard-greeting { font-size: 40px; text-transform: none; letter-spacing: normal; }

.bm-profile-required {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: #fce8b3;
  color: #704700;
  font-size: 11px;
  font-weight: 700;
}
.bm-nav-count.bm-profile-required { margin-inline-start: auto; }

.bm-save-request {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
  color: var(--kl-primary-dark);
  background: #fff;
  border: 1px solid var(--kl-border);
  border-radius: 8px;
  cursor: pointer;
}
.bm-save-request[aria-pressed="true"], .bm-save-request:hover { background: var(--kl-mint); }

body.kl-professional-account .bm-wrap {
  max-width: 1440px;
  margin-top: 22px;
}
body.kl-professional-account .bm-heading {
  padding: 10px 0 14px;
  margin-bottom: 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--kl-border);
  border-radius: 0;
}
.kl-professional-account .bm-heading h1 { font-size: 24px; }
.kl-professional-account .bm-heading .kl-overline:not(.bm-dashboard-greeting),
.kl-professional-account .bm-active-identity { display: none; }
.kl-professional-account #bm-content { width: 100%; min-width: 0; }
.kl-professional-account :is(#bm-conversations-list, #bm-notifications-list) {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.kl-professional-account .bm-notification a { display: block; }
.bm-account-menu { position: relative; }
.bm-account-menu summary {
  cursor: pointer;
  padding: 9px 12px;
  color: var(--kl-primary-dark);
  background: var(--kl-mint);
  border: 1px solid var(--kl-border);
  border-radius: 9px;
  white-space: nowrap;
  font-size: 13px;
}
.bm-account-menu-links {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 6px);
  z-index: 2;
  min-width: 185px;
  padding: 5px;
  border: 1px solid var(--kl-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px #081b3224;
}
.bm-account-menu-links :is(a, button) {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 9px 10px;
  color: var(--kl-ink);
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
.bm-account-menu-links :is(a, button):hover { background: var(--kl-mint); }

/* Professional workbench */
.kl-professional-account #kl-primary-nav,
.kl-professional-account #kl-menu-toggle { display: none; }
.bm-lead-tabs { flex-wrap: wrap; }
.bm-lead-tabs [aria-pressed="true"] { background: #014c53; color: white; }
#bm-lead-filters { margin-block: 12px; }
#bm-lead-filters summary { cursor: pointer; font-weight: 700; padding: .55rem 0; }
#bm-lead-filters details[open] { padding: .65rem 1rem; border: 1px solid #cbdfe1; border-radius: 12px; }
.bm-offer-dialog #bm-quote-total { font-weight: 750; }
@media (max-width: 650px) {
 .bm-offer-dialog .bm-offer-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
 .bm-offer-dialog .reference-modal-close { position: sticky; top: 0; margin-inline-start: auto; display: block; z-index: 2; }
 .bm-offer-dialog .bm-price:has(#bm-quote-total) { position: sticky; bottom: 0; z-index: 1; background: white; padding: .45rem; }
 .bm-dashboard-stats .bm-stat { padding: .55rem; min-height: 0; }
}

#bm-lead-filters summary.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1rem; border: 1px solid #014c53; list-style: none; }
#bm-lead-filters summary::-webkit-details-marker { display: none; }
#bm-lead-filters details[open] summary span { transform: rotate(180deg); }

.bm-pagination[hidden] { display: none; }
body.kl-professional-account .bm-sidebar a:hover,
body.kl-professional-account .bm-sidebar a.active:hover,
body.kl-professional-account .bm-sidebar a:focus-visible {
 background: #d8f4f4;
 color: #01434a;
}
body.kl-professional-account .bm-sidebar a svg { color: inherit; }
body.kl-professional-account .bm-sidebar a [data-nav-count] { background: #014c53 !important; color: white !important; border: 1px solid #b3ebec; }
.bm-offer-card .bm-price { font-size: 1.65rem; }
.bm-offer-menu summary { cursor: pointer; list-style: none; }
.bm-offer-pdf { width: 100%; min-height: 60vh; border: 1px solid #cbdfe1; }

body.kl-professional-account .bm-heading .bm-greeting-title {
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.12;
  color: #014c53;
  font-weight: 750;
}
body.kl-professional-account .bm-heading .bm-dashboard-greeting { display: none; }
html:has(> body > .reference-dialog-wrap) { overflow:hidden; }
body .bm-more-dialog { max-height: 88dvh; overflow: auto; }
body .bm-more-dialog .reference-modal-close { position: sticky; top: 0; z-index: 2; display: block; margin-inline-start: auto; }
body .bm-more-dialog h2.bm-nav-group {
  background: none; padding: .65rem .5rem .25rem; color: #406269;
  font-size: .82rem; font-weight: 650; text-transform: none; letter-spacing: normal;
}
.bm-more-menu a { min-height: 44px; padding: .55rem .65rem; border-radius: 9px; overflow-wrap: anywhere; }
.bm-more-menu a[aria-current="page"] { background: #d8f4f4; color: #01434a; font-weight: 700; }
.bm-address-options { margin-block: .4rem 1rem; color: #36545a; }
.bm-address-results { display: grid; gap: .35rem; }
.bm-address-results button { text-align: start; background: white; color: #014c53; border: 1px solid #a6c9ca; border-radius: 8px; padding: .65rem; min-height: 44px; }
.bm-address-results button:is(:hover,:focus-visible) { background: #d8f4f4; }

@media (min-width: 901px) {
  html:has(body.kl-account) { scrollbar-gutter: stable both-edges; }
  body.kl-account .bm-wrap {
    width: 100%;
    max-width: 1440px;
    box-sizing: border-box;
    margin-inline: auto;
    padding-inline: 28px;
  }
  body.kl-account .bm-layout {
    grid-template-columns: 228px minmax(0, 1fr);
    gap: 30px;
  }
  body.kl-account #bm-content { min-width: 0; width: 100%; }
  body.kl-professional-account .bm-heading {
    box-sizing: border-box;
    min-height: 104px;
    align-items: flex-start;
  }
}
body.kl-professional-account .bm-wrap:has(#bm-notifications-list) {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
#bm-notifications-list:has(.bm-list-status-buttons) > .bm-filter { margin-bottom: .55rem; }
#bm-notifications-list:has(.bm-list-status-buttons) > [data-summary] { margin: 0 0 .55rem; }
.bm-list-status-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .3rem;
  width: 100%;
  padding: .3rem;
  border: 1px solid var(--kl-border);
  border-radius: .85rem;
  background: #eef7f7;
}
.bm-list-status-buttons > button {
  min-width: 0;
  min-height: 44px;
  padding: .35rem .2rem;
  border: 0;
  border-radius: .6rem;
  background: transparent;
  color: var(--kl-primary-dark);
  font: inherit;
  font-size: clamp(.8rem, .73rem + .3vw, .95rem);
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
}
.bm-list-status-buttons > button:hover { background: var(--kl-mint); }
.bm-list-status-buttons > button[aria-pressed="true"] { background: var(--kl-primary-dark); color: #fff; }
body.kl-professional-account #bm-notifications-list article.bm-notification.bm-card {
  grid-template-areas: "meta" "title" "preview" "actions";
  gap: .2rem .8rem;
  padding: .7rem .85rem;
  margin-block-end: .5rem;
  border: 1px solid var(--kl-border);
  border-radius: .85rem;
  background: var(--kl-paper);
  box-shadow: none;
}
body.kl-professional-account #bm-notifications-list article.bm-notification.bm-card.unread {
  border-color: var(--kl-primary);
  border-inline-start-width: 3px;
  background: var(--kl-mint);
}
body.kl-professional-account #bm-notifications-list .bm-notification-meta {
  grid-area: meta;
  gap: .25rem .55rem;
  color: var(--work-muted, #48646a);
}
body.kl-professional-account #bm-notifications-list .bm-notification-meta .bm-work-kind { margin: 0; }
:is(.bm-notification-unread-label, .bm-inbox-unread-label) { display: inline-flex; align-items: center; gap: .3rem; color: var(--kl-primary-dark); font-weight: 700; }
:is(.bm-notification-unread-label, .bm-inbox-unread-label)::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; }
body.kl-professional-account #bm-notifications-list .bm-notification-title {
  grid-area: title;
  margin: 0;
  color: var(--kl-ink);
  font-size: 1rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
body.kl-professional-account #bm-notifications-list .bm-notification.unread .bm-notification-title { font-weight: 700; }
body.kl-professional-account #bm-notifications-list .bm-notification > p { grid-area: preview; line-height: 1.4; }
body.kl-professional-account #bm-notifications-list .bm-notification .bm-actions { grid-area: actions; gap: .2rem .7rem; align-self: center; }
body.kl-professional-account #bm-notifications-list .bm-notification-unavailable .bm-actions > .bm-muted { flex-basis: 100%; }
.bm-notification-secondary {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem .7rem;
  min-width: 0;
}
body.kl-professional-account #bm-notifications-list .bm-actions .bm-linkbutton { text-align: start; }
body.kl-professional-account #bm-notifications-list .bm-actions [data-notice-link],
body.kl-professional-account #bm-notifications-list .bm-notification:not(:has([data-notice-link])) [data-show-notice] {
  padding-inline: .6rem;
  border: 1px solid var(--kl-border);
  border-radius: .55rem;
  background: var(--kl-paper);
  color: var(--kl-primary-dark);
  font-weight: 650;
  text-decoration: none;
}
body.kl-professional-account #bm-notifications-list .bm-actions .bm-linkbutton:hover { text-decoration: underline; }
#bm-notifications-list :is(.bm-linkbutton, [data-list-status]):focus-visible { outline: 2px solid var(--kl-primary-dark); outline-offset: 2px; }
@media (max-width: 500px) {
  body.kl-professional-account #bm-notifications-list .bm-actions .bm-linkbutton { font-size: .8125rem; }
}
@media (min-width: 901px) {
  body.kl-professional-account #bm-notifications-list article.bm-notification.bm-card {
    grid-template-columns: minmax(0, 1fr) fit-content(16rem);
    grid-template-areas: "meta actions" "title actions" "preview actions";
  }
  body.kl-professional-account #bm-notifications-list .bm-notification .bm-actions { justify-content: flex-end; }
}

.bm-month-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; margin-top: 12px; text-align: center; }
.bm-month-grid > span { font-size: .85rem; padding-block: .4rem; }
.bm-month-grid button { position: relative; padding: .3rem .1rem; min-height: 42px; background: white; color: #014c53; border: 1px solid #cbdfe1; border-radius: 6px; cursor: pointer; }
.bm-month-dot,.bm-month-events { display:none; }
.bm-month-grid button:focus-visible { outline:2px solid #00838e; outline-offset:2px; }
@media (max-width: 800px) {
  .bm-month-grid button { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:3px; min-height:43px; }
  .bm-month-dot { display:block; width:6px; height:6px; border-radius:50%; background:#c9233c; }
  .bm-month-grid button[aria-pressed="true"] .bm-month-dot { background:#ff5d68; }
}
@media (min-width: 801px) {
  .bm-month-grid button { display:flex; flex-direction:column; align-items:stretch; gap:4px; min-height:83px; min-width:0; padding:.35rem; text-align:left; }
  .bm-month-number { align-self:flex-end; }
  .bm-month-events { display:grid; gap:3px; min-width:0; }
  .bm-month-event { display:grid; grid-template-columns:auto minmax(0,1fr); gap:4px; padding:2px 3px; border-radius:3px; background:#ddf3f4; color:#014c53; font-size:.68rem; line-height:1.25; }
  .bm-month-event span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .bm-month-more { font-size:.68rem; }
}
.bm-month-grid button[aria-pressed="true"], #bm-agenda [data-agenda-mode][aria-pressed="true"] { background: #014c53; color: white; }
.bm-profile-required[hidden] { display: none; }

.bm-password-input { position: relative; }
body .bm-password-input input { width: 100%; padding-inline-end: 50px; }
.bm-password-input button { position: absolute; inset-inline-end: 4px; inset-block-start: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #014c53; cursor: pointer; }
.bm-password-input button:is(:hover,:focus-visible) { background: #e8f4f5; }
.bm-password-input button[aria-pressed="false"] .bm-eye-slash { display: none; }
body .bm-auth input.bm-otp-input { font: 650 1.2rem ui-monospace, monospace; letter-spacing: .45em; }
body.kl-customer-account .bm-sidebar { background: #014c53; border-color: #014c53; }
body.kl-customer-account .bm-sidebar a { color: white; }
body.kl-customer-account .bm-sidebar a:is(.active,:hover,:focus-visible) { background: #d8f4f4; color: #01434a; }
body.kl-customer-account .bm-sidebar .bm-nav-group { font-size: .78rem; font-weight: 700; color: #d8f4f4; margin: .9rem .65rem .25rem; }
body.kl-customer-account #bm-content { min-width: 0; }

body.kl-customer-account .bm-project-progress { border-inline-start: 4px solid #00838e; }
.bm-project-progress h2 { margin-block: .3rem .65rem; }
.bm-project-firms { margin: 0; padding: 0; list-style: none; }
.bm-project-firms li, .bm-project-help details { padding-block: .8rem; border-bottom: 1px solid #d5e3e7; }
.bm-project-help summary { cursor: pointer; font-weight: 650; }
.bm-project-help > a { margin-block-start: 1rem; }
body.kl-customer-account #kl-primary-nav, body.kl-customer-account #kl-menu-toggle { display: none; }

#bm-sales-board { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,235px),1fr)); gap: 14px; align-items: start; }
body #bm-sales-board .bm-sales-column { padding: 16px; margin: 0; min-width: 0; background: #f4fafb; }
#bm-sales-board article { background: white; border: 1px solid #d5e3e7; border-radius: 9px; padding: 12px; margin-top: 10px; overflow-wrap: anywhere; }
#bm-sales-board label { display: grid; gap: 5px; margin-top: 10px; }
#bm-sales-board select { min-height: 42px; }

.bm-robot-avatar { position:relative; display:grid; flex:none; place-items:center; width:3.25rem; height:3.25rem; background:#d9f1f0; border-radius:50%; }
.bm-robot-face { position:absolute; top:1.37rem; width:1.75rem; height:1.2rem; background:#014c53; border-radius:.4rem; }
.bm-robot-face::after { content:""; position:absolute; left:.43rem; top:.41rem; width:.29rem; height:.29rem; border-radius:50%; background:#fff; box-shadow:.59rem 0 #fff; }
.bm-robot-helmet {
  position:absolute;
  top:.35rem;
  width:2rem;
  height:1.26rem;
  z-index:1;
  /* Show the original helm from the logo and clip the wordmark underneath. */
  background:url("/klusser-logo.svg") -4.20rem -.02rem / 6.23rem auto no-repeat;
  clip-path:polygon(0 0, 100% 0, 100% 94%, 92% 93%, 83% 87%, 76% 86%, 65% 91%, 53% 100%, 19% 100%, 0 86%);
}


.bm-help-chat .bm-robot-launcher:not(.btn) {
  display:flex; width:100%; align-items:center; gap:.8rem; padding:0;
  border:0; background:transparent; color:#014c53; text-align:left; font:inherit; cursor:pointer;
}
.bm-robot-launcher strong,.bm-robot-launcher small { display:block; }
.bm-robot-launcher small { margin-top:.2rem; color:#506d68; }
.bm-chat-arrow { margin-left:auto; font-size:1.25rem; }
.bm-help-window {
  position:fixed; inset:auto 1.25rem 1.25rem auto; margin:0; padding:0;
  width:min(26rem,calc(100% - 2.5rem)); height:min(36rem,calc(100dvh - 2.5rem));
  max-width:none; max-height:none; border:1px solid #cbdfe1; border-radius:1.45rem;
  background:#f3f8f8; color:#092a32; box-shadow:0 1rem 3rem #052e3640; overflow:hidden;
}
.bm-help-window[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; }
.bm-help-window::backdrop { background:#072f363b; }
.bm-help-header {
  display:flex; align-items:center; gap:.7rem; padding:.85rem 1rem; color:white; background:#014c53;
}
body .bm-help-header h2 { margin:0; font-size:1.05rem; color:white; }
body .bm-help-header p { margin:.14rem 0 0; font-size:.78rem; color:#dceeee; }
.bm-help-close {
  margin-left:auto; min-width:2.65rem; height:2.65rem; border:0; border-radius:50%;
  background:#ffffff22; color:white; font-size:1.5rem; cursor:pointer;
}
.bm-help-log { overflow:auto; padding:1.05rem .8rem; overscroll-behavior:contain; }
.bm-help-message { display:flex; gap:.5rem; align-items:flex-end; margin:0 0 .75rem; }
.bm-help-message-self { justify-content:flex-end; }
.bm-help-avatar { position:relative; width:2rem; height:2rem; flex:none; }
.bm-help-avatar .bm-robot-avatar { transform:scale(.61); transform-origin:top left; }
.bm-help-bubble {
  max-width:85%; min-width:0; padding:.65rem .8rem; border-radius:1rem 1rem 1rem .25rem;
  background:#e1f2f0; color:#123e44; overflow-wrap:anywhere;
}
.bm-help-message-self .bm-help-bubble { background:#014c53; color:white; border-radius:1rem 1rem .25rem 1rem; }
body .bm-help-bubble p { margin:0; color:inherit; font-size:.9rem; line-height:1.48; white-space:pre-line; }
.bm-help-bubble ul { margin:.5rem 0 0; padding-left:1rem; font-size:.82rem; }
.bm-help-bubble a { color:#014c53; text-decoration:underline; }
.bm-help-footer { background:white; border-top:1px solid #d8e7e7; padding:.7rem .85rem; }
.bm-help-footer form { display:flex; align-items:center; gap:.45rem; }
.bm-help-footer input {
  flex:1; min-width:0; min-height:2.75rem; padding:.55rem .8rem; background:#f3f8f8; color:#092a32;
  border:1px solid #cbdfe1; border-radius:1.4rem; font:inherit; font-size:16px;
}
.bm-help-send {
  width:2.75rem; height:2.75rem; flex:none; border:0; border-radius:50%; background:#007980;
  color:white; font-size:1.2rem; cursor:pointer;
}
.bm-help-send:disabled { opacity:.5; }
.bm-help-ai { border:0; background:transparent; padding:.35rem .25rem 0; color:#014c53; text-decoration:underline; font:inherit; font-size:.75rem; cursor:pointer; }
.bm-help-footer [data-help-status] { margin:.2rem 0 0; }
.bm-help-chat [hidden] { display:none; }
@media(max-width:600px) {
  .bm-help-window { inset:auto 0 0; width:100%; height:min(35rem,calc(100dvh - .7rem)); border-radius:1.2rem 1.2rem 0 0; }
  .bm-help-footer { padding-bottom:max(.7rem,env(safe-area-inset-bottom)); }
}

.bm-partner-nav { margin-bottom:1rem; }
body .bm-partner-intro { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; background:#eaf6f5; }
.bm-partner-intro > div { flex:1 1 16rem; }
.bm-partner-description { white-space:pre-line; overflow-wrap:anywhere; }

.bm-oauth-box { margin:.85rem 0; }

body.kl-professional-account .bm-dashboard-stats .bm-stat span {
  font-size:clamp(.875rem,1.5vw,.975rem);
  line-height:1.4;
  overflow-wrap:anywhere;
}
body.kl-professional-account .bm-lead-tabs button.btn.btn-secondary[aria-pressed="true"],
body.kl-professional-account .bm-market-toolbar .bm-lead-tabs a.btn.btn-secondary[aria-current="page"],
body.kl-professional-account .bm-partner-nav a[aria-current="page"] {
  background:#014c53!important;
  border-color:#014c53!important;
  color:#fff!important;
}
.bm-conversation-actions { margin-top:.8rem; }

#bm-company-report .bm-report-dates { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
#bm-company-report .bm-report-dates input { min-width:0; width:100%; }
.bm-report-kpis { display:grid; gap:.8rem; margin-block:.9rem; grid-template-columns:repeat(2,minmax(0,1fr)); }
.bm-report-kpis .bm-card { margin:0; min-width:0; }
body .bm-report-kpis .bm-card { padding:1rem; background:#edf7f6; }
body .bm-report-kpis p { margin:0 0 .35rem; }
.bm-report-kpis strong { color:#014c53; font-size:clamp(1.15rem,3.4vw,1.8rem); overflow-wrap:anywhere; }
.bm-report-bars { margin:0; padding:0; list-style:none; display:grid; gap:.65rem; }
.bm-report-bars li { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.25rem .5rem; font-size:.88rem; }
.bm-report-track { grid-column:1/-1; height:.45rem; border-radius:1rem; overflow:hidden; background:#e0eceb; }
.bm-report-track span { display:block; height:100%; background:#007f87; border-radius:inherit; }
@media(min-width:1050px){ .bm-report-kpis { grid-template-columns:repeat(4,minmax(0,1fr)); } }

body .bm-partner-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  max-width: 36rem;
  margin-bottom: 1.3rem;
}
body .bm-partner-nav a {
  display: grid;
  place-items: center;
  min-height: 3.4rem;
  padding: .6rem .35rem;
  font-size: clamp(.93rem, 2.6vw, 1.15rem);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-align: center;
}
body .bm-lead-tabs .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 2.6rem;
  padding: .45rem .65rem;
  font-size: .9rem;
}
.bm-dashboard-board { margin-top: 2rem; }
.bm-dashboard-board-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: .8rem; }
.bm-dashboard-board-heading h2 { margin: 0; }
.bm-sales-column summary { display: flex; align-items: center; gap: .55rem; font-weight: 700; cursor: pointer; color: #014c53; }
.bm-sales-column summary::before { content: '›'; font-size: 1.25em; line-height: 1; }
.bm-sales-column[open] summary::before { transform: rotate(90deg); }
.bm-sales-column summary .bm-badge { margin-inline-start: auto; }
.bm-sales-column h3 { margin-top: 0; }

body #bm-content .bm-dashboard-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin: .85rem 0;
}
body #bm-content .bm-dashboard-stats :is(.bm-dashboard-link,.bm-dashboard-matches) {
  --tile-base: #07666e;
  --tile-accent: #008792;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  gap: .35rem .6rem;
  min-height: 6.25rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  background: linear-gradient(132deg, var(--tile-base), var(--tile-accent));
  color: white;
  text-decoration: none;
}
body #bm-content .bm-dashboard-stats .bm-dashboard-link:nth-child(2) { --tile-base: #276044; --tile-accent: #357c5c; }
body #bm-content .bm-dashboard-stats .bm-dashboard-link:nth-child(3) { --tile-base: #563978; --tile-accent: #705093; }
body #bm-content .bm-dashboard-stats .bm-dashboard-link:nth-child(n+4) {
  background: #eef6f6;
  color: #014c53;
  border-color: #cfe1e3;
}
body #bm-content .bm-dashboard-stats :is(.bm-dashboard-link:nth-child(-n+3),.bm-dashboard-matches)::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -1.5rem -1.75rem auto auto;
  width: 7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffffff15;
  box-shadow: -1.6rem 2.4rem 0 #ffffff10;
  pointer-events: none;
}
body #bm-content .bm-dashboard-stats .bm-dashboard-link:focus-visible { outline: 2px solid #014c53; outline-offset: 3px; }
body #bm-content .bm-dashboard-stats .bm-dashboard-link strong { grid-row: 1; grid-column: 1; color: inherit; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; }
body #bm-content .bm-dashboard-stats .bm-dashboard-label { grid-column: 1 / -1; margin: 0; color: inherit; font-size: .9rem; line-height: 1.35; overflow-wrap: anywhere; }
body #bm-content .bm-dashboard-stats .bm-dashboard-matches > .bm-dashboard-label {
  grid-area:1/1;
  align-self:center;
  font-weight:650;
}
.bm-dashboard-matches > .bm-dashboard-icon { grid-area:1/2; }
.bm-dashboard-match-links {
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.4rem;
}
body #bm-content .bm-dashboard-match-links > a {
  display:grid;
  justify-items:center;
  align-content:center;
  gap:.15rem;
  min-inline-size:0;
  min-block-size:44px;
  padding:.35rem .2rem;
  border:1px solid #ffffff65;
  border-radius:.6rem;
  background:#03414680;
  color:white;
  text-align:center;
  text-decoration:none;
}
body #bm-content .bm-dashboard-match-links > a:is(:hover,:focus-visible) { background:#034146d0; }
body #bm-content .bm-dashboard-match-links > a:focus-visible { outline:2px solid white; outline-offset:-2px; }
body #bm-content .bm-dashboard-match-links strong { font-size:clamp(1.2rem,2.7vw,1.65rem); line-height:1.05; color:inherit; }
body #bm-content .bm-dashboard-match-links span { font-size:.77rem; line-height:1.2; color:inherit; overflow-wrap:anywhere; }
.bm-dashboard-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: .6rem;
  background: #ffffff27;
}
.bm-dashboard-icon svg { width: 1.2rem; height: 1.2rem; }
.bm-dashboard-matching > p { margin: .75rem 0 0; }
@media (max-width: 680px) {
  body #bm-content .bm-dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .bm-work-area #bm-content .bm-dashboard-stats :is(.bm-dashboard-link,.bm-dashboard-matches) {
    min-height: 0;
    padding: .65rem .7rem;
  }
}

#bm-company-report #bm-report-form {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  align-items: end;
  padding: 1rem;
  border-radius: 1rem;
  background: #eef7f7;
}
#bm-company-report .bm-report-dates { flex: 1 1 16rem; }
#bm-company-report .bm-report-dates .bm-field { margin: 0; }
#bm-company-report .bm-report-track span { background: var(--report-color, var(--kl-primary-dark)); }
#bm-company-report .bm-report-kpis article {
  background: var(--kl-paper);
  background: color-mix(in srgb, var(--report-color) 7%, var(--kl-paper));
  color: var(--kl-ink);
  border: 1px solid var(--kl-border);
  border-top: 4px solid var(--report-color);
}
#bm-company-report .bm-report-kpis strong { color: var(--report-color); }
.bm-report-icon {
  display:grid;
  place-items:center;
  margin-bottom:.7rem;
  width:2rem;
  height:2rem;
  border-radius:.55rem;
  color:var(--report-color);
  background:var(--kl-mint);
  background:color-mix(in srgb,var(--report-color) 15%,var(--kl-paper));
}
.bm-report-icon svg { width:1.15rem; height:1.15rem; }
.bm-report-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem .75rem; margin-block-end:.8rem; }
.bm-report-tabs {
  display:grid;
  flex:1 1 17rem;
  grid-template-columns:repeat(3,minmax(0,1fr));
  min-width:0;
  gap:.3rem;
  padding:.3rem;
  border:1px solid var(--kl-border);
  border-radius:.85rem;
  background:#eef7f7;
}
.bm-report-tabs > button {
  min-width:0;
  min-height:44px;
  padding:.35rem .25rem;
  border:0;
  border-radius:.6rem;
  background:transparent;
  color:var(--kl-primary-dark);
  font:inherit;
  font-size:clamp(.8rem,.73rem + .3vw,.95rem);
  font-weight:650;
  line-height:1.2;
  cursor:pointer;
}
.bm-report-tabs > button:hover { background:var(--kl-mint); }
.bm-report-tabs > button[aria-selected="true"] { background:var(--kl-primary-dark); color:#fff; }
.bm-report-tabs > button:focus-visible,
.bm-report-panel:focus-visible { outline:2px solid var(--kl-primary-dark); outline-offset:2px; }
.bm-report-panel {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,21rem),1fr));
  align-items:start;
  gap:.8rem;
}
.bm-report-panel[hidden] { display:none; }
.bm-report-panel > .bm-card { min-width:0; margin:0; padding:clamp(.9rem,2vw,1.35rem); }
.bm-report-panel > .bm-card > h2 { margin:0 0 .75rem; font-size:1.16rem; }
.bm-report-panel > .bm-card > h3 { margin-block:1rem .5rem; font-size:1rem; }
.bm-report-breakdown :is(th,td) { padding:.55rem .3rem; }
.bm-report-breakdown :is(th,td):not(:first-child) { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.bm-report-download { display:flex; align-items:center; justify-content:space-between; gap:.55rem .75rem; min-width:0; }
.bm-report-download > p { margin:0; font-size:.8rem; line-height:1.35; }
.bm-report-download > p strong { display:block; color:var(--kl-primary-dark); }
#bm-company-report .bm-report-download > .btn { flex:none; min-height:44px; margin:0; padding-inline:.7rem; font-size:.85rem; }
.bm-report-notes { margin-block-start:.7rem; }
.bm-report-notes > summary { padding:.55rem 0; color:var(--kl-primary-dark); font-size:.9rem; font-weight:650; cursor:pointer; }
.bm-report-notes > p { margin:.25rem 0 .6rem; }
@media(max-width:650px){
  body.kl-professional-account .bm-wrap:has(#bm-company-report) { margin-top:12px; }
  body.kl-professional-account .bm-wrap:has(#bm-company-report) .bm-heading { padding-block:4px 10px; margin-bottom:12px; }
  .bm-report-toolbar > :is(.bm-report-tabs,.bm-report-download) { flex-basis:100%; }
}
@media(max-width:480px){
  .bm-report-breakdown .bm-report-table { font-size:.77rem; }
}
.bm-report-key { display:flex; flex-wrap:wrap; gap:.65rem 1.25rem; }
.bm-report-key span::before,.bm-report-legend i { content:''; display:inline-block; width:.65rem; height:.65rem; border-radius:50%; margin-inline-end:.4rem; background:var(--swatch,var(--kl-primary-dark)); }
.bm-report-key span:first-child { --swatch:var(--bm-tone-blue); }
.bm-report-key span:nth-child(2) { --swatch:var(--bm-tone-purple); }
.bm-report-month-chart { display:flex; gap:.55rem; padding:0 0 .45rem; margin:1rem 0 0; list-style:none; overflow-x:auto; }
.bm-report-month-chart li { display:grid; flex:1 0 3.35rem; gap:.25rem; text-align:center; font-size:.78rem; }
.bm-report-month-columns { display:flex; justify-content:center; align-items:end; gap:.25rem; height:7.5rem; border-bottom:1px solid #d5e3e7; background:repeating-linear-gradient(to top,transparent 0 calc(25% - 1px),#eef3f7 calc(25% - 1px) 25%); }
.bm-report-month-columns i { width:min(26%,1.5rem); height:var(--height); background:var(--bm-tone-blue); border-radius:.25rem .25rem 0 0; }
.bm-report-month-columns i:nth-child(2) { background:var(--bm-tone-purple); }
.bm-report-ring-layout { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; }
.bm-report-ring { width:6.3rem; aspect-ratio:1; border-radius:50%; background:var(--ring); display:grid; place-items:center; }
.bm-report-ring strong { display:grid; place-items:center; width:72%; aspect-ratio:1; background:#fff; border-radius:50%; font-size:1.65rem; }
.bm-report-legend { list-style:none; margin:0; padding:0; display:grid; gap:.42rem; flex:1 1 8rem; }
.bm-report-legend li { display:grid; grid-template-columns:auto 1fr auto; gap:.3rem; align-items:center; }
body #bm-content .bm-dashboard-stats .bm-dashboard-link:nth-child(n+4) { color:white; background:linear-gradient(132deg,var(--tile-base),var(--tile-accent)); }
body #bm-content .bm-dashboard-stats .bm-dashboard-link:nth-child(4) { --tile-base:#234960; --tile-accent:#306c85; }
body #bm-content .bm-dashboard-stats .bm-dashboard-link:nth-child(5) { --tile-base:#854323; --tile-accent:#a3542c; }
body #bm-content .bm-dashboard-stats .bm-dashboard-link:nth-child(6) { --tile-base:#f9d977; --tile-accent:#edc251; color:#493400; }
body #bm-content .bm-dashboard-stats .bm-dashboard-link:nth-child(6) .bm-dashboard-icon { background:#fff6cf; }
body #bm-content .bm-dashboard-stats .bm-dashboard-link:is(:hover,:focus-visible) {
  background: linear-gradient(#0005, #0005), linear-gradient(132deg, var(--tile-base), var(--tile-accent));
  text-decoration: none;
}
body #bm-content :is(.bm-dashboard-link,.bm-dashboard-matches) .bm-dashboard-icon { color:inherit; }
.bm-dashboard-board {
  margin-top: .85rem;
  padding: clamp(1rem, 2.4vw, 1.65rem);
  background: #fff;
  border: 1px solid #d4e3e6;
  border-radius: 1.25rem;
  box-shadow: 0 6px 24px #0d3b4209;
}
.bm-dashboard-board-heading { align-items: center; gap: .6rem 1rem; }
.bm-dashboard-board-heading h2 { font-size: clamp(1.25rem, 2.35vw, 1.65rem); }
.bm-dashboard-board-heading a {
  color: #014c53;
  font-size: .9rem;
  font-weight: 650;
  text-underline-offset: .22em;
}
body .bm-work-area #bm-content .bm-dashboard-attention {
  margin: 0 0 .85rem;
  padding: clamp(.75rem, 1.6vw, 1.05rem);
  border-color: #e8d39f;
  background: #fff7da;
  box-shadow: none;
}
.bm-dashboard-attention h2 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .65rem; font-size: 1.05rem; }
.bm-dashboard-attention .bm-dashboard-icon { flex: 0 0 auto; background: #f9e9ae; color: #604600; }
.bm-dashboard-attention ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bm-dashboard-attention li { min-width: 0; }
.bm-dashboard-attention li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  min-height: 44px;
  height: 100%;
  padding: .5rem .7rem;
  border: 1px solid #e8d39f;
  border-radius: .65rem;
  background: var(--kl-paper);
  color: var(--kl-primary-dark);
  font-size: .875rem;
  line-height: 1.35;
  text-decoration: none;
}
.bm-dashboard-attention li > a:hover strong { text-decoration: underline; }
.bm-dashboard-attention li > a:focus-visible { outline: 2px solid var(--kl-primary-dark); outline-offset: 2px; }
.bm-dashboard-attention small { display: block; margin-block-start: .12rem; color: var(--work-muted); overflow-wrap: anywhere; }
.bm-dashboard-action-arrow { flex: none; font-size: 1.25rem; line-height: 1; }
#bm-sales-board { display: block; }
.bm-workflow-stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #deeaec;
}
@media (min-width: 1050px) {
  .bm-workflow-stages { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.bm-workflow-stages button {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  max-width: 100%;
  min-height: 2.55rem;
  padding: .35rem .42rem .35rem .8rem;
  border: 1px solid #d4e3e6;
  border-radius: 999px;
  background: #fff;
  color: #24444b;
  font: inherit;
  font-size: .86rem;
  text-align: start;
  cursor: pointer;
}
.bm-workflow-stages button strong {
  display: inline-grid;
  place-items: center;
  min-width: 1.5rem;
  min-height: 1.5rem;
  padding-inline: .3rem;
  border-radius: 999px;
  background: #edf4f4;
  color: #355c63;
  font-size: .8rem;
}
body .bm-work-area #bm-content .bm-workflow-stages > button {
  justify-content: space-between;
  min-width: 0;
  padding-inline: .55rem;
  text-align: start;
}
.bm-workflow-stages button > span { min-width: 0; overflow-wrap: anywhere; }
.bm-workflow-stages button strong { flex-shrink: 0; }
.bm-workflow-stages button:hover { background: #edf6f5; }
.bm-workflow-stages button[aria-pressed="true"] { background: #014c53; border-color: #014c53; color: #fff; }
.bm-workflow-stages button[aria-pressed="true"] strong { background: #ffffff24; color: #fff; }
.bm-workflow-stages button:focus-visible { outline: 2px solid #014c53; outline-offset: 2px; }
#bm-sales-board .bm-workflow-jobs article {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem .9rem;
  margin: .75rem 0 0;
  padding: .85rem;
  border-color: #dce9eb;
  border-radius: .9rem;
  background: #fbfdfd;
}
.bm-workflow-jobs > p { margin: .9rem 0 0; }
.bm-workflow-jobs article > div { flex: 1 1 12rem; }
.bm-workflow-jobs article h3 { margin: 0; font-size: 1.02rem; }
.bm-workflow-jobs article p { margin: .2rem 0 0; color: #526d72; font-size: .88rem; }
#bm-sales-board .bm-workflow-jobs label { margin: 0; color: #526d72; font-size: .82rem; }
#bm-sales-board .bm-workflow-jobs select {
  max-width: 100%;
  border: 1px solid #d4e3e6;
  border-radius: .55rem;
  padding: .4rem .55rem;
  background: #fff;
  color: #24444b;
  font: inherit;
}

@media (max-width: 600px) {
  #bm-sales-board .bm-workflow-jobs article {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    column-gap: .65rem;
  }
  #bm-sales-board .bm-workflow-jobs article > div { grid-column: 1 / -1; }
  #bm-sales-board .bm-workflow-jobs article > a,
  #bm-sales-board .bm-workflow-jobs article select {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
  }
  #bm-sales-board .bm-workflow-jobs article > a {
    display: grid;
    place-items: center;
    padding: .45rem;
    text-align: center;
    white-space: normal;
  }
  #bm-sales-board .bm-workflow-jobs article > a:last-child {
    grid-column: 1 / -1;
    justify-self: start;
    width: auto;
    padding-inline: .8rem;
  }
  #bm-sales-board .bm-workflow-jobs article select { display: block; }
}

.bm-partner-metrics { margin-top:1rem; }
.bm-partner-metrics > div { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr)); gap:.65rem; }
.bm-partner-metrics a { display:grid; gap:.2rem; padding:.7rem; background:#eef6f5; border-radius:.75rem; color:#014c53; font-size:.88rem; }
.bm-partner-metrics a strong { font-size:1.35rem; }
.bm-partner-panel-list { margin:0; padding:0; list-style:none; }
.bm-partner-panel-list li { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1rem; justify-content:space-between; padding:.65rem 0; border-bottom:1px solid #e0eceb; }
.bm-partner-panel-list p { margin:.25rem 0 0; }

.bm-report-photos { margin: 0; padding: .8rem; border: 1px solid #d4e3e6; border-radius: .75rem; }
.bm-report-photos legend { padding-inline: .3rem; font-weight: 700; }
.bm-report-photo-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bm-report-photos .bm-actions:focus-within label { outline: 2px solid #014c53; outline-offset: 2px; }
.bm-report-photo-previews { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,6rem),1fr)); gap: .55rem; }
.bm-report-photo-previews figure { margin: 0; min-width: 0; }
.bm-report-photo-previews img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .5rem; }
#bm-report-queued-photos div { display: flex; flex-wrap: wrap; gap: .55rem; }

#bm-crew-planning { min-width:0; }
#bm-crew-planning h2 { margin:0 0 .5rem; font-size:clamp(1.1rem,2vw,1.45rem); }
#bm-crew-planning .bm-row { align-items:center; gap:.6rem; flex-wrap:wrap; }
#bm-crew-planning .bm-row h2 { margin:0; }
#bm-crew-planning .crew-toolbar { display:flex; gap:.8rem; flex-wrap:wrap; align-items:end; background:#eef7f6; }
.crew-toolbar > div { display:grid; gap:.3rem; flex:1 1 8rem; min-width:0; }
.crew-toolbar label { color:#285157; font-size:.86rem; font-weight:650; }
.crew-toolbar :is(input,select) { min-width:0; width:100%; padding:.65rem; border:1px solid #c3dce0; border-radius:.6rem; color:#122d37; background:#fff; font:inherit; }
.crew-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.65rem; margin:0 0 1rem; }
.crew-stats > div { display:grid; align-content:start; gap:.35rem; padding:.8rem; background:#fff; border:1px solid #d4e6e9; border-top:3px solid var(--tone,var(--kl-primary-dark)); border-radius:.8rem; }
.crew-stats [data-tone="due"] { --tone:var(--bm-tone-blue); }
.crew-stats [data-tone="paid"] { --tone:var(--bm-tone-green); }
.crew-stats [data-tone="open"] { --tone:var(--bm-tone-amber); }
.crew-stats span { font-size:.85rem; color:#405e64; }
.crew-stats strong { color:var(--tone,var(--kl-primary-dark)); font-size:clamp(1rem,2.2vw,1.45rem); overflow-wrap:anywhere; }
.crew-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:.25rem; margin-top:1rem; }
.crew-days > span { text-align:center; color:#47656d; font-size:.78rem; font-weight:650; }
.crew-days button { display:flex; flex-direction:column; align-items:start; gap:.2rem; min-width:0; min-height:4rem; padding:.36rem; border:1px solid #e0ecee; border-radius:.55rem; background:#fff; color:#173843; cursor:pointer; text-align:start; font:inherit; font-size:.87rem; }
.crew-days button:hover { background:#f0f8f7; }
.crew-days button[aria-pressed="true"] { border-color:#00626a; outline:1px solid #00626a; background:#eef8f7; }
.crew-days button[aria-current="date"] > span { color:#00626a; font-weight:800; }
.crew-days small,.crew-legend span { border-radius:.3rem; padding:.12rem .28rem; font-size:.7rem; }
.crew-worked { color:#19573e; background:#e1f1e7; }
.crew-planned { color:#254677; background:#e7effb; }
.crew-legend { display:flex; gap:.5rem; margin:.7rem 0 0; }
.crew-day article { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.5rem; border-top:1px solid #deeaec; padding:.65rem 0; margin-top:.55rem; }
.crew-day article p { margin:.2rem 0 0; overflow-wrap:anywhere; }
.crew-table-scroll { overflow-x:auto; }
.crew-summary table { width:100%; border-collapse:collapse; font-size:.86rem; }
.crew-summary :is(th,td) { padding:.65rem .5rem; border-bottom:1px solid #deeaec; text-align:start; white-space:nowrap; }
.crew-summary th small { display:block; color:#526f75; font-weight:400; }
.crew-balance { color:#91461d; }
#crew-entry-form label,#crew-person-form label { display:grid; gap:.25rem; }
#crew-person-form .bm-check { display:flex; align-items:center; }
#crew-entry-form [hidden] { display:none; }
@media(max-width:600px){
 .crew-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .crew-days button { min-height:3.55rem; padding:.25rem; }
 .crew-days small span { display:none; }
}

.bm-oauth-providers { display:flex; gap:.6rem; margin:.6rem 0; }
.bm-oauth-provider { display:grid; place-items:center; width:3.35rem; height:3.35rem; border:1px solid #c9dce0; border-radius:.8rem; background:#fff; color:#014c53; cursor:pointer; }
.bm-oauth-provider svg { width:1.7rem; height:1.7rem; }
.bm-oauth-provider:not(:disabled):hover { background:#eef7f6; border-color:#00838e; }
.bm-oauth-provider:focus-visible { outline:2px solid #014c53; outline-offset:2px; }
.bm-oauth-provider:disabled { opacity:.46; cursor:not-allowed; }

.bm-work-kind { display:inline-flex; align-items:center; width:fit-content; border-radius:999px; padding:.2rem .55rem; margin-bottom:.3rem; background:#e1f2f0; color:#075557; font-size:.77rem; font-weight:700; }
.bm-work-kind[data-kind="partner"] { background:#f1eafa; color:#57377c; }
.bm-agenda-legend { display:flex; gap:.45rem; flex-wrap:wrap; margin:.65rem 0; }
.bm-month-event[data-kind="partner"] { background:#f1eafa; color:#57377c; border-inline-start:2px solid #7e56a3; }
.bm-month-event[data-kind="customer"] { background:#e1f2f0; color:#075557; border-inline-start:2px solid #087f80; }
.bm-month-dots { display:none; gap:.18rem; }
.bm-month-dot[data-kind="partner"] { background:#7e56a3; }
.bm-month-dot[data-kind="customer"] { background:#087f80; }
body #bm-content .bm-dashboard-partner-count { grid-column:1/-1; opacity:.9; font-size:.75rem; }
@media(max-width:600px){ .bm-month-dots { display:flex; } }

.crew-absent { color:#8e3a43; background:#fae8ea; }
#crew-entry-form [data-range][hidden],#crew-person-form [data-rate][hidden] { display:none; }
#crew-payment-form label { display:grid; gap:.25rem; }

/* Person names in the crew calendar */
.crew-days button .crew-person-chip, .crew-week .crew-person-chip {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: .12rem .28rem;
  overflow: hidden;
  border: 1px solid var(--kl-border);
  border-radius: .3rem;
  background: var(--kl-mint);
  color: var(--kl-primary-dark);
  font-size: clamp(.67rem, 1.15vw, .8rem);
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.crew-person-chip[data-status="absent"] { text-decoration: line-through; }
.crew-calendar-hint { margin: .75rem 0 0; }

.crew-person-picker { min-width: 0; border: 1px solid #cddfe3; border-radius: .8rem; padding: .85rem; }
.crew-person-picker legend { padding-inline: .35rem; font-weight: 700; }
.crew-person-picker .bm-muted { margin-block: 0 .6rem; }
.crew-person-choice { padding-block: .45rem; border-top: 1px solid #e0eaec; }
.crew-person-choice > label:first-child { display: flex; align-items: center; gap: .55rem; margin: 0; }
.crew-person-choice label > input[type="checkbox"] { width: 1rem; margin: 0; flex: 0 0 1rem; }
.crew-person-choice small { color: #466267; font-weight: 400; }
.crew-person-choice [data-fixed-price]:not([hidden]) { display: block; margin: .55rem 0 .15rem 1.55rem; }

#crew-entry-form [hidden],
#crew-person-form [hidden] { display: none; }

.bm-work-kind[data-kind="account"] { background:#eef1f6; color:#34445c; }
.bm-notification .bm-work-kind { margin:0 .4rem .25rem 0; }
.crew-team-key { margin: 0 0 1rem; }
.crew-team-key h3 { margin: 0 0 .5rem; font-size:.92rem; }
.crew-team-key ul, .crew-stat-tip ul, .crew-metric-details ul { margin:0; padding:0; list-style:none; }
.crew-team-key ul { display:flex; flex-wrap:wrap; gap:.4rem; }
.crew-team-key .crew-person-chip, .crew-days button .crew-person-chip, .crew-week .crew-person-chip {
  --person-color: var(--crew-person-color,var(--kl-primary-dark));
  background:var(--kl-mint);
  background:color-mix(in srgb,var(--person-color) 10%,var(--kl-paper));
  color:var(--person-color);
  border:0;
  border-inline-start:3px solid var(--person-color);
}
.crew-team-key .crew-person-chip { display:flex; align-items:center; flex-wrap:wrap; gap:.35rem; border-radius:.4rem; padding:.35rem .55rem; font:inherit; font-size:.77rem; cursor:pointer; }
.crew-team-key .crew-person-chip:hover { background:color-mix(in srgb,var(--person-color) 17%,var(--kl-paper)); }
.crew-stats > div { position:relative; padding:0; }
.crew-stats > div > button { display:grid; width:100%; height:100%; gap:.2rem; padding:.7rem .8rem; color:inherit; background:none; border:0; border-radius:inherit; text-align:left; cursor:pointer; font:inherit; }
.crew-stats > div > button:hover { background:#edf7f7; }
.crew-stat-tip { display:none; position:absolute; top:100%; left:0; z-index:4; min-width:min(14rem,70vw); max-width:17rem; padding:.7rem; border-radius:.65rem; border:1px solid #cddfe3; background:white; color:#153940; box-shadow:0 8px 18px #07344326; }
.crew-stats > div:nth-child(even) .crew-stat-tip { right:0; left:auto; }
.crew-stats > div:focus-within .crew-stat-tip, .crew-stats > div:hover .crew-stat-tip { display:block; }
.crew-stat-tip li, .crew-metric-details li { display:flex; justify-content:space-between; gap:.7rem; padding:.22rem 0; }
.crew-metric-details { margin:.5rem 0 1rem; padding:.75rem; background:#eef7f6; border-radius:.6rem; }
#crew-month-summary { scroll-margin-top:1rem; }

@media (max-width: 650px) {
  body.kl-professional-account .bm-wrap:has(#bm-lead-filters, #bm-partner-list) {
    margin-top: 12px;
  }
  body.kl-professional-account .bm-wrap:has(#bm-lead-filters, #bm-partner-list) .bm-heading {
    min-height: 0;
    padding-block: 4px 10px;
    margin-bottom: 12px;
  }
  body #bm-content:has(#bm-lead-filters, #bm-partner-list) .bm-partner-nav {
    gap: .5rem;
    margin-block: 0 .55rem;
  }
  body #bm-content:has(#bm-lead-filters, #bm-partner-list) .bm-partner-nav a,
  body #bm-content:has(#bm-lead-filters, #bm-partner-list) .bm-lead-tabs .btn {
    min-height: 44px;
    padding-block: .35rem;
  }
  #bm-content:has(#bm-lead-filters, #bm-partner-list) .bm-lead-tabs {
    gap: .4rem;
    margin-block: .45rem;
  }
  #bm-lead-filters { margin-block: .45rem; }
  #bm-lead-filters .bm-field { margin-bottom: .5rem; }
  #bm-lead-filters .bm-field > label { margin-bottom: .25rem; }
  #bm-lead-filters summary.btn { min-height: 44px; padding-block: .35rem; }
  #bm-lead-filters details[open] { padding: .5rem .65rem; }
  #bm-lead-filters .bm-filter-panel > .bm-grid { row-gap: .55rem; margin-block: .45rem .55rem; }
  #bm-lead-filters .bm-filter-panel .bm-field { margin-bottom: 0; }
  #bm-content :is(#bm-request-list, #bm-partner-list) .bm-lead-card,
  #bm-content .bm-partner-intro {
    margin-block: .55rem;
    padding: .85rem;
  }
  #bm-content :is(#bm-request-list, #bm-partner-list) .bm-lead-card :is(h3, p) {
    margin-block: .35rem;
  }
}

body.kl-professional-account .bm-wrap:has(.bm-marketplace) { width:100%; min-width:0; box-sizing:border-box; }
body #bm-content .bm-marketplace > .bm-partner-nav {
  max-width:none;
  gap:.35rem;
  margin:0 0 .65rem;
  padding:.3rem;
  border:1px solid var(--kl-border);
  border-radius:.85rem;
  background:#eef7f7;
}
body #bm-content .bm-marketplace > .bm-partner-nav a {
  min-height:44px;
  padding:.35rem .25rem;
  border-radius:.6rem;
  font-size:clamp(.82rem, .72rem + .45vw, 1rem);
  line-height:1.2;
  text-align:center;
}
#bm-content .bm-marketplace #bm-lead-filters { margin:0 0 .65rem; }
.bm-market-toolbar {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:.5rem;
}
#bm-content #bm-lead-filters .bm-market-toolbar > .bm-lead-tabs {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.35rem;
  margin:0;
}
#bm-content #bm-lead-filters .bm-market-toolbar > .bm-customer-lead-tabs {
  grid-template-columns:repeat(2,auto);
  justify-content:start;
}
body #bm-content #bm-lead-filters .bm-customer-lead-tabs > .btn {
  min-height:40px;
  padding:.34rem .75rem;
  font-size:.86rem;
}
#bm-content .bm-market-toolbar > .bm-field { min-width:0; margin:0; }
.bm-market-toolbar > .bm-field > label {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
#bm-content .bm-market-toolbar > .bm-field input { width:100%; min-width:0; min-height:44px; height:44px; padding-block:0; }
.bm-market-toolbar button[aria-expanded="true"] span { transform:rotate(180deg); }
.bm-market-options[hidden] { display:none; }
.bm-market-options {
  padding:.8rem .9rem;
  margin-top:.55rem;
  border:1px solid var(--kl-border);
  border-radius:.85rem;
  background:var(--kl-paper);
}
#bm-content .bm-market-options .bm-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem .7rem; }
#bm-content .bm-market-options .bm-field { min-width:0; margin:0; }
#bm-content .bm-market-options .bm-field > :is(input,select) { min-width:0; max-width:100%; box-sizing:border-box; }
#bm-content .bm-market-options .bm-actions { margin-block-start:.75rem; gap:.4rem .7rem; }
.bm-market-options .bm-actions > a { color:var(--kl-primary-dark); font-size:.875rem; text-decoration:underline; }
.bm-marketplace #bm-partner-list > .bm-filter:empty { display:none; }
.bm-marketplace :is(#bm-request-list > [role="status"], #bm-partner-list > [data-summary]) { margin:0 0 .5rem; }
.bm-market-results,
.bm-marketplace #bm-partner-list > [data-rows]:has(> .bm-market-assignment) {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:.65rem;
}
body .bm-work-area #bm-content .bm-marketplace article.bm-market-assignment {
  display:flex;
  flex-direction:column;
  gap:.45rem;
  min-width:0;
  margin:0;
  padding:.85rem .95rem;
}
#bm-content .bm-market-assignment .bm-lead-card-header { align-items:start; }
#bm-content .bm-market-assignment .bm-work-kind { margin:0; }
#bm-content .bm-market-assignment .bm-save-request { min-width:44px; min-height:44px; }
#bm-content .bm-market-assignment h3 { margin:.2rem 0 0; overflow-wrap:anywhere; }
body.kl-professional-account #bm-content .bm-market-assignment[data-job-id]:not(.bm-lead-unopened) h3 { font-weight:500; }
.bm-market-card-meta { display:flex; flex-wrap:wrap; gap:.1rem .65rem; }
.bm-market-card-meta > strong { color:var(--kl-primary-dark); }
#bm-content .bm-marketplace .bm-market-assignment .bm-lead-description {
  display:block;
  margin:0;
  overflow-wrap:anywhere;
  line-height:1.4;
}
#bm-content .bm-marketplace .bm-market-assignment .bm-lead-card-footer {
  display:flex;
  justify-content:space-between;
  gap:.35rem .55rem;
  margin-block-start:auto;
  padding-top:.15rem;
}
#bm-content .bm-marketplace .bm-market-assignment .bm-lead-card-footer > .btn { margin:0; }
#bm-content .bm-market-assignment .bm-lead-card-footer > .bm-badge { margin-inline-start:0; }
.bm-market-help { margin-block-start:.65rem; }
.bm-market-help > summary { padding:.45rem 0; color:var(--kl-primary-dark); cursor:pointer; font-weight:650; }
.bm-market-help p { margin:.25rem 0 0; }
@media (max-width:680px) {
  .bm-market-toolbar { grid-template-columns:minmax(0,1fr) auto; gap:.4rem; }
  .bm-market-toolbar > .bm-lead-tabs { grid-column:1/-1; }
  body #bm-content .bm-market-toolbar button[aria-controls="bm-market-options"] { padding-inline:.6rem; }
  body .bm-work-area #bm-content .bm-marketplace article.bm-market-assignment { padding:.7rem .75rem; }
  body .bm-work-area #bm-content .bm-market-assignment .bm-lead-card-footer > .btn { padding-inline:.5rem; font-size:.8125rem; }
}
@media (max-width:390px) {
  #bm-content .bm-market-options .bm-grid { grid-template-columns:minmax(0,1fr); }
}

#bm-content .bm-unlocked-market .bm-filter {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:.55rem;
  margin:0 0 .6rem;
}
.bm-unlocked-market .bm-list-status-buttons { grid-template-columns:repeat(4,minmax(0,1fr)); }
.bm-unlocked-market .bm-list-status-buttons > button { overflow-wrap:anywhere; }
.bm-unlocked-market [data-summary] { margin:0 0 .55rem; }
body .bm-work-area #bm-content .bm-unlocked-market .bm-unlocked-card {
  min-width:0;
  padding:.9rem 1rem;
  margin:0 0 .65rem;
}
.bm-unlocked-top {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:.65rem 1rem;
}
#bm-content .bm-unlocked-card .bm-unlocked-heading { min-width:0; margin:0; }
#bm-content .bm-unlocked-card .bm-unlocked-heading h3 { margin:0; overflow-wrap:anywhere; }
#bm-content .bm-unlocked-card .bm-unlocked-name { margin:.15rem 0 0; overflow-wrap:anywhere; }
:is(.bm-unlocked-phase, .bm-offer-card-phase) {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.25rem .55rem;
}
:is(.bm-unlocked-phase, .bm-offer-card-phase) > .bm-muted { font-weight:650; }
#bm-content :is(.bm-unlocked-phase, .bm-offer-card-phase) > .bm-badge { margin:0; }
#bm-content :is(.bm-unlocked-phase, .bm-offer-card-phase) select.bm-badge {
  min-height:44px;
  max-width:100%;
  padding-inline:.65rem 1.65rem;
  border-radius:.6rem;
  font-size:.82rem;
}
.bm-unlocked-meta {
  display:flex;
  flex-wrap:wrap;
  gap:.15rem .8rem;
  margin-block:.6rem;
}
.bm-unlocked-meta > span { min-width:0; overflow-wrap:anywhere; }
#bm-content .bm-unlocked-card .bm-unlocked-footer {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.25rem .8rem;
}
.bm-unlocked-card .bm-unlocked-footer > .bm-linkbutton { min-height:44px; color:var(--kl-primary-dark); }
@media (max-width:640px) {
  .bm-unlocked-top { grid-template-columns:minmax(0,1fr); }
  body .bm-work-area #bm-content .bm-unlocked-market .bm-unlocked-card { padding:.75rem; }
}
@media (max-width:400px) {
  .bm-unlocked-market .bm-list-status-buttons { gap:.2rem; padding:.25rem; }
  .bm-unlocked-market .bm-list-status-buttons > button { padding-inline:.05rem; font-size:.78rem; }
}

body.kl-professional-account .bm-wrap:has(#bm-offers-list) { width:100%; min-width:0; box-sizing:border-box; }
#bm-content #bm-offers-list .bm-filter {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:.55rem;
  margin:0 0 .6rem;
}
#bm-offers-list .bm-list-status-buttons { grid-column:1/-1; grid-template-columns:repeat(5,minmax(0,1fr)); }
#bm-offers-list .bm-filter > [data-search] { width:100%; min-width:0; }
#bm-content #bm-offers-list .bm-card-archive-toggle { margin:0; }
body.kl-account #bm-content #bm-offers-list .bm-card-archive-toggle[aria-pressed="true"] {
  background:var(--kl-primary-dark)!important;
  border-color:var(--kl-primary-dark)!important;
  color:#fff!important;
}
#bm-offers-list [data-summary] { margin:0 0 .55rem; }
body .bm-work-area #bm-offers-list article.bm-offer-card {
  min-width:0;
  margin:0 0 .65rem;
  padding:.85rem 1rem;
}
#bm-offers-list .bm-offer-card-head {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:.5rem 1.1rem;
  align-items:start;
}
#bm-offers-list .bm-offer-card-head > div { min-width:0; overflow-wrap:anywhere; }
#bm-content #bm-offers-list .bm-offer-card :is(h3, p) { margin:0; }
#bm-offers-list .bm-offer-recipient { padding-top:.15rem; }
#bm-offers-list .bm-offer-card-value { text-align:end; }
#bm-offers-list .bm-offer-card-value .bm-price {
  display:block;
  color:var(--kl-primary-dark);
  font-size:clamp(1.25rem,3vw,1.55rem);
  line-height:1.2;
  margin:0 0 .2rem;
}
#bm-content #bm-offers-list .bm-offer-card-excerpt {
  margin-top:.45rem;
  line-height:1.45;
  overflow-wrap:anywhere;
}
#bm-offers-list .bm-offer-card-controls,
#bm-offers-list .bm-offer-card-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.35rem .65rem;
}
#bm-offers-list .bm-offer-card-controls {
  justify-content:space-between;
  margin-top:.7rem;
  padding-top:.6rem;
  border-top:1px solid var(--kl-border);
}
#bm-content #bm-offers-list .bm-offer-card-phase select.bm-badge { padding-inline-end:1.85rem; }
#bm-offers-list .bm-offer-card-actions > .bm-linkbutton {
  min-height:44px;
  color:var(--kl-primary-dark);
}
@media (max-width:640px) {
  #bm-offers-list .bm-list-status-buttons { grid-template-columns:repeat(6,minmax(0,1fr)); }
  #bm-offers-list .bm-list-status-buttons > button { grid-column:span 2; }
  #bm-offers-list .bm-list-status-buttons > button:nth-child(n+4) { grid-column:span 3; }
  #bm-offers-list .bm-offer-card-head { grid-template-columns:minmax(0,1fr); }
  #bm-offers-list .bm-offer-card-value { text-align:start; }
  body .bm-work-area #bm-offers-list article.bm-offer-card { padding:.7rem .75rem; }
  body .bm-work-area #bm-content #bm-offers-list .bm-offer-card-actions > .btn { padding-inline:.55rem; font-size:.82rem; }
}
@media (max-width:360px) {
  #bm-offers-list .bm-offer-card-actions { gap:.35rem .4rem; }
  body .bm-work-area #bm-content #bm-offers-list .bm-offer-card-actions > .btn { padding-inline:.4rem; font-size:.78rem; }
  #bm-offers-list .bm-offer-card-actions > .bm-linkbutton { font-size:.78rem; }
}

body.kl-professional-account .bm-wrap:has(#bm-combined-inbox) { width:100%; min-width:0; box-sizing:border-box; }
#bm-content #bm-combined-inbox .bm-filter {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:.55rem;
  margin:0 0 .6rem;
}
.bm-inbox-filter-row {
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:.55rem;
}
#bm-combined-inbox .bm-filter > input { width:100%; min-width:0; }
#bm-content #bm-combined-inbox .bm-card-archive-toggle { margin:0; }
body.kl-account #bm-content #bm-combined-inbox .bm-filter .btn[aria-pressed="true"] {
  background:var(--kl-primary-dark)!important;
  border-color:var(--kl-primary-dark)!important;
  color:#fff!important;
}
#bm-combined-inbox > [role="status"] { margin:0 0 .55rem; }
body .bm-work-area #bm-combined-inbox article.bm-inbox-card {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:.5rem 1rem;
  min-width:0;
  padding:.8rem 1rem;
  margin:0 0 .65rem;
}
body .bm-work-area #bm-combined-inbox article.bm-inbox-card.is-unread {
  background:#eef7f7;
  border-color:#007680;
  border-inline-start-width:3px;
}
#bm-combined-inbox .bm-inbox-card-copy { min-width:0; overflow-wrap:anywhere; }
.bm-inbox-card-meta { display:flex; align-items:center; flex-wrap:wrap; gap:.2rem .65rem; font-size:.78rem; margin-bottom:.25rem; }
#bm-combined-inbox .bm-inbox-card-meta .bm-work-kind { margin:0; }
#bm-content #bm-combined-inbox .bm-inbox-card :is(h3, p) { margin:0; }
#bm-content #bm-combined-inbox .bm-inbox-card h3 { font-size:1.05rem; }
#bm-content #bm-combined-inbox .bm-inbox-card .bm-inbox-preview {
  margin-top:.4rem;
  color:var(--kl-ink);
  font-size:1.125rem;
  line-height:1.4;
}
.bm-inbox-card-aside { display:flex; flex-direction:column; align-items:flex-end; gap:.3rem; min-width:0; }
.bm-inbox-card-aside time { font-size:.78rem; }
.bm-inbox-card-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.3rem .65rem; }
#bm-combined-inbox .bm-inbox-card-actions > .bm-linkbutton {
  position:relative;
  z-index:1;
  min-height:44px;
  color:var(--kl-primary-dark);
}
#bm-combined-inbox .bm-inbox-open { position:static; }
#bm-combined-inbox .bm-inbox-open::after { content:""; position:absolute; inset:0; border-radius:inherit; }
#bm-combined-inbox .bm-inbox-card:focus-within { outline:2px solid #007680; outline-offset:2px; }
@media (max-width:640px) {
  body .bm-work-area #bm-combined-inbox article.bm-inbox-card { grid-template-columns:minmax(0,1fr); padding:.7rem .75rem; }
  .bm-inbox-card-aside { flex-direction:row; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.25rem .55rem; }
  body .bm-work-area #bm-content #bm-combined-inbox .bm-inbox-card-actions > .btn { padding-inline:.5rem; font-size:.82rem; }
}
@media (max-width:400px) {
  .bm-inbox-filter-row { gap:.35rem; }
  #bm-combined-inbox .bm-list-status-buttons { gap:.2rem; padding:.25rem; }
  #bm-combined-inbox .bm-list-status-buttons > button { padding-inline:.1rem; font-size:.8rem; }
  body .bm-work-area #bm-content #bm-combined-inbox .bm-filter .btn { padding-inline:.5rem; font-size:.8rem; }
}

#bm-content > .bm-partner-intro {
  gap:.65rem 1rem;
  margin:0 0 .85rem;
  padding:.85rem 1rem;
  background:var(--work-tint,var(--kl-mint));
}
#bm-content > .bm-partner-intro h2 { margin:0 0 .22rem; font-size:1.14rem; }
#bm-content > .bm-partner-intro p { margin:0; line-height:1.45; }
#bm-content > .bm-partner-intro .btn { margin:0; }
#bm-content .bm-own-partner-heading { margin:0 0 .55rem; font-size:1.2rem; }
#bm-content .bm-own-partner-board #bm-lead-filters { margin:0 0 .7rem; }
.bm-own-partner-board .bm-market-toolbar { grid-template-columns:minmax(0,1fr) auto auto; }
#bm-content .bm-own-partner-board .bm-card-archive-toggle { margin:0; }
body .bm-work-area #bm-content .bm-own-partner-board .btn[aria-pressed="true"] {
  background:var(--work-primary)!important;
  border-color:var(--work-primary)!important;
  color:#fff!important;
}
.bm-own-partner-board #bm-partner-list > .bm-filter:empty { display:none; }
.bm-own-partner-board #bm-partner-list > [data-summary] { margin:0 0 .55rem; }
body .bm-work-area #bm-content article.bm-own-partner-card {
  margin:0 0 .7rem;
  padding:.9rem 1rem .65rem;
}
body .bm-work-area #bm-content article.bm-own-partner-card.is-unread { border-inline-start:3px solid var(--work-action); }
.bm-own-partner-card-main {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,16rem);
  gap:.65rem 1.1rem;
}
.bm-own-partner-copy { min-width:0; overflow-wrap:anywhere; }
.bm-own-partner-state {
  display:flex;
  flex-wrap:wrap;
  gap:.25rem .5rem;
  margin:0 0 .35rem;
  font-size:.78rem;
  font-weight:650;
  color:var(--work-muted);
}
.bm-own-partner-state > :last-child {
  padding:.05rem .45rem;
  border-radius:999px;
  color:var(--work-primary);
  background:var(--work-tint);
}
#bm-content .bm-own-partner-card h3 { margin:0 0 .2rem; font-size:1.12rem; }
#bm-content .bm-own-partner-card .bm-own-partner-meta { margin:0; font-size:.82rem; }
#bm-content .bm-own-partner-card .bm-own-partner-description { margin:.4rem 0 0; line-height:1.45; }
.bm-own-partner-card-side { display:grid; gap:.35rem; align-content:start; min-width:0; }
.bm-own-partner-facts {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
  gap:.35rem .6rem;
  padding:.45rem .6rem;
  margin:0;
  border-radius:var(--work-control-radius);
  background:var(--work-tint);
}
.bm-own-partner-facts dt,
.bm-own-partner-phase > span { color:var(--work-muted); font-size:.75rem; font-weight:600; }
.bm-own-partner-facts dd { margin:0; color:var(--work-ink); font-size:.88rem; font-weight:650; overflow-wrap:anywhere; }
.bm-own-partner-phase {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:.5rem;
}
#bm-content .bm-own-partner-card .bm-own-partner-phase select {
  width:100%;
  min-width:0;
  min-height:44px;
  margin:0;
  text-overflow:ellipsis;
}
.bm-own-partner-card-footer {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:.35rem .7rem;
  margin:.55rem 0 0;
  padding:.4rem 0 0;
  border-top:1px solid var(--work-line);
}
.bm-own-partner-updates,
.bm-own-partner-card-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.3rem .6rem; min-width:0; }
.bm-own-partner-updates { color:var(--work-muted); font-size:.8rem; }
#bm-content .bm-own-partner-updates .bm-work-kind { min-height:32px; margin:0; text-decoration:underline; text-underline-offset:2px; }
.bm-own-partner-card-actions .bm-linkbutton { min-height:44px; }
.bm-own-partner-create-card #bm-partner-create { margin:0; }
#bm-partner-create section + section {
  margin-top:.9rem;
  padding-top:.9rem;
  border-top:1px solid var(--work-line);
}
#bm-partner-create h2 { margin:0 0 .65rem; font-size:1.12rem; }
#bm-partner-create .bm-field { min-width:0; margin:0 0 .6rem; }
#bm-partner-create .bm-field > :is(input,select,textarea) { width:100%; min-width:0; max-width:100%; box-sizing:border-box; }
#bm-partner-create .bm-muted { margin:.15rem 0 0; }
.bm-own-partner-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 .75rem; }
@media (max-width:640px) {
  .bm-own-partner-card-main { grid-template-columns:minmax(0,1fr); }
  #bm-content .bm-own-partner-heading {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
  }
  body .bm-work-area #bm-content article.bm-own-partner-card { padding:.7rem .75rem .5rem; }
  body .bm-work-area #bm-content .bm-own-partner-board :is(.bm-market-toolbar,.bm-own-partner-card-actions) > .btn { padding-inline:.55rem; font-size:.84rem; }
  .bm-own-partner-form-grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:380px) {
  .bm-own-partner-board .bm-market-toolbar { gap:.3rem; }
  body .bm-work-area #bm-content .bm-own-partner-board .bm-market-toolbar > .btn { padding-inline:.45rem; }
}

#bm-agenda { --agenda-line:#cbdde0; --agenda-text:#48646a; }
#bm-agenda .bm-agenda-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:.55rem;
  margin:0 0 .65rem;
}
#bm-agenda .bm-agenda-mode-switch {
  display:inline-grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.25rem;
  padding:.22rem;
  border:1px solid var(--agenda-line);
  border-radius:.8rem;
  background:var(--kl-mint);
}
#bm-agenda :is(.bm-agenda-toolbar,.bm-agenda-month-actions,.bm-agenda-card-actions,.bm-agenda-export) .btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  max-width:100%;
  padding:.38rem .8rem;
  margin:0;
}
body.kl-account #bm-agenda [data-agenda-mode].btn {
  border-color:transparent!important;
  background:transparent!important;
  color:var(--kl-primary-dark)!important;
}
body.kl-account #bm-agenda [data-agenda-mode].btn[aria-pressed="true"] {
  background:var(--kl-primary-dark)!important;
  color:#fff!important;
}
body.kl-account #bm-agenda [data-agenda-mode].btn[aria-pressed="false"]:hover { background:#e3f0f2!important; }
#bm-agenda .bm-calendar-subscription { padding:0 .85rem; margin:0 0 .9rem; }
#bm-agenda .bm-calendar-subscription[open] { padding-block-end:.85rem; }
#bm-agenda .bm-calendar-subscription > summary { min-height:44px; padding:.65rem .05rem; color:var(--kl-primary-dark); }
#bm-agenda .bm-calendar-subscription > summary span { margin-inline-start:.35rem; font-size:.78rem; font-weight:500; white-space:nowrap; }
#bm-agenda .bm-calendar-subscription > p { margin:0 0 .65rem; }
#bm-agenda .bm-calendar-subscription .bm-actions { margin:.4rem 0 0; }
#bm-agenda .bm-agenda-date-group + .bm-agenda-date-group { margin-block-start:.9rem; }
#bm-agenda .bm-agenda-date-heading { display:flex; align-items:baseline; justify-content:space-between; gap:.3rem .65rem; flex-wrap:wrap; margin:0 0 .4rem; }
#bm-agenda .bm-agenda-date-heading h2 { margin:0; color:var(--kl-ink); font-size:1.12rem; }
#bm-agenda .bm-agenda-date-heading > span { color:var(--agenda-text); font-size:.82rem; }
#bm-agenda .bm-agenda-card {
  display:grid;
  grid-template-columns:4.25rem minmax(0,1fr) auto;
  grid-template-areas:"hour copy actions" ". export export";
  align-items:start;
  gap:.2rem .7rem;
  padding:.75rem .9rem .45rem;
  margin:0 0 .55rem;
}
#bm-agenda .bm-agenda-hour {
  grid-area:hour;
  text-align:center;
  padding:.25rem .3rem;
  border-radius:.6rem;
  background:var(--kl-mint);
  color:var(--kl-primary-dark);
  font-size:1rem;
  line-height:1.5;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
#bm-agenda .bm-agenda-card-copy { grid-area:copy; min-width:0; overflow-wrap:anywhere; }
#bm-agenda .bm-agenda-card-copy .bm-work-kind { margin:0 0 .2rem; }
#bm-agenda .bm-agenda-card-copy h3 { margin:0 0 .13rem; color:var(--kl-ink); font-size:1.05rem; line-height:1.3; }
#bm-agenda .bm-agenda-card-copy p { margin:0; font-size:.82rem; }
#bm-agenda .bm-agenda-card-actions { grid-area:actions; }
#bm-agenda .bm-agenda-export { grid-area:export; min-width:0; margin:0; }
#bm-agenda .bm-agenda-export > summary {
  width:fit-content;
  max-width:100%;
  padding:.3rem 0;
  color:var(--kl-primary-dark);
  font-size:.82rem;
  font-weight:550;
  cursor:pointer;
}
#bm-agenda .bm-agenda-export > .bm-actions { margin:.35rem 0 .3rem; gap:.4rem; }
#bm-agenda .bm-agenda-month-card { margin:0 0 .85rem; padding:.8rem .9rem .9rem; }
#bm-agenda .bm-agenda-month-header { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.4rem .65rem; }
#bm-agenda .bm-agenda-month-header h2 { margin:0; font-size:1.3rem; }
#bm-agenda .bm-agenda-month-actions { display:flex; align-items:center; gap:.35rem; }
#bm-agenda .bm-agenda-month-actions [data-agenda-month] { min-width:44px; font-size:1.15rem; }
#bm-agenda .bm-agenda-legend { margin:.55rem 0 0; gap:.25rem .35rem; }
#bm-agenda .bm-agenda-legend .bm-work-kind { margin:0; }
#bm-agenda .bm-month-grid { margin-block-start:.4rem; }
#bm-agenda .bm-month-number { display:grid; place-items:center; min-width:1.4rem; min-height:1.4rem; line-height:1; border-radius:.35rem; }
#bm-agenda .bm-month-grid [aria-current="date"] .bm-month-number { outline:1px solid currentColor; font-weight:700; }
#bm-agenda .bm-month-grid .bm-month-dot[data-kind="customer"] { background:var(--kl-primary); }
#bm-agenda .bm-month-grid .bm-month-dot[data-kind="partner"] { background:var(--bm-tone-purple); }
#bm-agenda .bm-month-grid .bm-month-dot[data-kind="own"] { background:var(--bm-tone-amber); }
#bm-agenda .bm-month-grid [aria-pressed="true"] .bm-month-dot { box-shadow:0 0 0 1px #fff; }
#bm-agenda .bm-month-grid .bm-month-event[data-kind="own"] { border-inline-start:2px solid var(--bm-tone-amber); }
#bm-agenda .bm-agenda-empty-day,
#bm-agenda #bm-agenda-plan-hint { margin:.35rem 0 .75rem; }
@media (min-width:801px) {
  #bm-agenda .bm-month-grid button[data-agenda-day] { min-height:74px; }
}
@media (max-width:800px) {
  #bm-agenda .bm-month-grid button[data-agenda-day] {
    min-height:44px;
    min-width:0;
    align-items:stretch;
    justify-content:flex-start;
    gap:.14rem;
    padding:.17rem .12rem;
  }
  #bm-agenda .bm-month-grid .bm-month-number { align-self:center; }
  #bm-agenda .bm-month-grid .bm-month-events { display:grid; min-width:0; gap:.13rem; text-align:start; }
  #bm-agenda .bm-month-grid .bm-month-event {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:.08rem;
    min-width:0;
    padding:.12rem .12rem;
    font-size:clamp(.625rem,2.45vw,.71rem);
    font-weight:620;
    line-height:1.18;
  }
  #bm-agenda .bm-month-event > :first-child { font-variant-numeric:tabular-nums; white-space:nowrap; }
  #bm-agenda .bm-month-grid .bm-month-event > :last-child {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  #bm-agenda .bm-month-more > span { display:none; }
}
@media (max-width:600px) {
  #bm-agenda .bm-agenda-card {
    grid-template-columns:minmax(3.25rem,max-content) minmax(0,1fr);
    grid-template-areas:"hour copy" ". actions" ". export";
    gap:.28rem .5rem;
    padding:.62rem .65rem .4rem;
  }
  #bm-agenda .bm-agenda-hour { font-size:.9rem; }
  #bm-agenda .bm-agenda-month-card { padding:.6rem .65rem .7rem; }
  #bm-agenda .bm-agenda-month-header h2 { font-size:1.08rem; }
  #bm-agenda .bm-agenda-month-actions { gap:.25rem; }
  #bm-agenda :is(.bm-agenda-toolbar,.bm-agenda-month-actions,.bm-agenda-card-actions,.bm-agenda-export) .btn { padding-inline:.5rem; font-size:.83rem; }
  #bm-agenda .bm-agenda-month-actions [data-agenda-month] { min-width:38px; font-size:1.05rem; }
  #bm-agenda .bm-agenda-legend .bm-work-kind { padding-inline:.4rem; font-size:.7rem; }
}
@media (max-width:380px) {
  #bm-agenda .bm-agenda-month-card { padding-inline:.4rem; }
  #bm-agenda .bm-month-grid { gap:2px; }
  #bm-agenda .bm-month-grid button[data-agenda-day] { padding-inline:0; }
  #bm-agenda .bm-month-grid .bm-month-event { padding-inline:1px; }
  #bm-agenda .bm-month-event > :first-child { letter-spacing:-.02em; }
}

#bm-crew-planning { --crew-line:#cbdde0; --crew-muted:#48646a; }
#bm-content #bm-crew-planning .crew-view-tabs {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.25rem;
  max-width:36rem;
  margin:0 0 .8rem;
  padding:.23rem;
  border:1px solid var(--crew-line);
  border-radius:.8rem;
  background:var(--kl-mint);
}
#bm-content #bm-crew-planning .crew-view-tabs > .btn {
  display:grid;
  place-items:center;
  min-width:0;
  min-height:44px;
  padding:.35rem .25rem;
  margin:0;
  text-align:center;
  line-height:1.2;
  white-space:normal;
}
body.kl-account #bm-content #bm-crew-planning .crew-view-tabs > .btn[aria-pressed=false] {
  border-color:transparent!important;
  background:transparent!important;
  color:var(--kl-primary-dark)!important;
}
body.kl-account #bm-content #bm-crew-planning .crew-view-tabs > .btn[aria-pressed=false]:hover { background:#e3f0f2!important; }
body.kl-account #bm-content #bm-crew-planning .crew-view-tabs > .btn[aria-pressed=true] {
  border-color:var(--kl-primary-dark)!important;
  background:var(--kl-primary-dark)!important;
  color:#fff!important;
}
#bm-crew-planning :is(.crew-calendar,.crew-selected-day,.crew-team,.crew-summary) {
  min-width:0;
  padding:.85rem 1rem;
  margin:0 0 .75rem;
}
#bm-crew-planning .crew-period-heading {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:.45rem;
}
#bm-crew-planning .crew-period-heading h2 { min-width:0; margin:0; }
#bm-crew-planning :is(.crew-period-nav,.crew-period-switch) { display:flex; gap:.35rem; }
#bm-crew-planning :is(.crew-period-nav,.crew-period-switch,.crew-panel-heading,.crew-row-actions) .btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:.35rem .7rem;
  margin:0;
  line-height:1.2;
  text-align:center;
}
#bm-crew-planning .crew-period-nav :is([data-crew=previous],[data-crew=next]) { min-width:42px; font-size:1.1rem; }
#bm-content #bm-crew-planning .crew-period-tools {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:end;
  gap:.45rem .65rem;
  margin:.45rem 0 .65rem;
}
#bm-content #bm-crew-planning .crew-period-controls[data-view=summary] .crew-period-tools { grid-template-columns:auto minmax(0,1fr) minmax(0,1fr); margin-bottom:0; }
#bm-crew-planning .crew-period-filter { min-width:0; grid-template-columns:minmax(0,1fr); }
#bm-crew-planning .crew-period-filter label { margin:0; font-size:.8rem; }
#bm-content #bm-crew-planning .crew-period-filter > :is(select,input) { width:100%; min-width:0; max-width:100%; min-height:44px; padding-block:.35rem; }
#bm-content #bm-crew-planning :is(.crew-week,.crew-days) { grid-template-columns:repeat(7,minmax(0,1fr)); }
#bm-crew-planning .crew-week-day { align-content:stretch; grid-template-rows:auto 1fr; }
#bm-crew-planning .crew-week-day.is-selected { border-color:var(--kl-primary-dark); }
#bm-crew-planning .crew-week-date button[data-plan-day] { background:#e1f2f0; font-weight:600; }
#bm-crew-planning .crew-week-date button[data-plan-day]:hover:enabled { background:#cce9e7; }
#bm-crew-planning .crew-week-day.is-selected [data-plan-day] { background:var(--kl-primary-dark); color:#fff; }
#bm-crew-planning .crew-week-day.is-selected [data-plan-day]:hover:enabled { background:#006674; }
#bm-crew-planning .crew-week-date button[data-plan-day]:disabled { opacity:.65; cursor:default; }
.crew-week-label { display:flex; align-items:baseline; gap:.2rem; }
.crew-week-plus { font-weight:700; font-size:1rem; line-height:1; }
#bm-crew-planning .crew-week-day.is-today .crew-week-label strong { text-decoration:underline; text-underline-offset:3px; }
#bm-crew-planning .crew-week-open {
  display:grid;
  align-content:start;
  min-width:0;
  min-height:44px;
  padding:.25rem;
  color:var(--kl-primary-dark);
  border:1px solid transparent;
  border-radius:.4rem;
  background:transparent;
  text-align:start;
  font:inherit;
  cursor:pointer;
}
#bm-crew-planning .crew-week-open:hover,
#bm-crew-planning .crew-week-open[aria-pressed=true] { background:var(--kl-mint); border-color:var(--crew-line); }
#bm-crew-planning .crew-calendar-previews { display:grid; gap:.2rem; min-width:0; width:100%; }
#bm-crew-planning .crew-calendar-previews .crew-chip-full { display:block; overflow:hidden; text-overflow:ellipsis; }
#bm-crew-planning :is(.crew-chip-compact,.crew-mini-more) { display:none; }
#bm-crew-planning .crew-week-empty { color:var(--crew-muted); font-size:.74rem; }
#bm-crew-planning .crew-week-count { display:none; }
#bm-crew-planning .crew-panel-heading { justify-content:space-between; margin:0; }
#bm-crew-planning .crew-panel-heading > div { min-width:0; }
#bm-crew-planning .crew-panel-heading p { margin:.17rem 0 0; font-size:.8rem; }
#bm-crew-planning .crew-row-actions { margin:0; gap:.35rem .55rem; }
#bm-crew-planning .crew-row-actions .bm-linkbutton { min-height:44px; }
#bm-crew-planning .crew-empty-day { margin:.45rem 0 0; }
#bm-crew-planning .crew-attendance {
  display:inline-block;
  border-radius:999px;
  padding:.12rem .45rem;
  background:var(--kl-mint);
  color:var(--kl-primary-dark);
  font-size:.75rem;
  font-weight:650;
}
#bm-crew-planning .crew-attendance[data-status=planned] { background:#e7effb; color:var(--bm-tone-blue); }
#bm-crew-planning .crew-attendance[data-status=worked] { background:#e3f3e9; color:var(--bm-tone-green); }
#bm-crew-planning .crew-attendance[data-status=absent] { background:#fae8ea; color:var(--bm-tone-red); }
#bm-crew-planning .crew-team-group { margin-top:.75rem; }
#bm-crew-planning .crew-team-group > h3 {
  display:flex;
  align-items:center;
  gap:.4rem;
  padding:.42rem .6rem;
  font-size:.94rem;
}
#bm-crew-planning .crew-team-group > h3 span {
  padding:.03rem .42rem;
  border:1px solid currentColor;
  border-radius:999px;
  font-size:.75rem;
}
#bm-crew-planning .crew-team-group > article { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) auto; gap:.3rem .8rem; margin-top:0; padding:.6rem .2rem; }
#bm-crew-planning .crew-team-person { min-width:0; overflow-wrap:anywhere; }
#bm-crew-planning .crew-team-person .bm-work-kind { margin:0 .2rem 0 0; }
#bm-crew-planning .crew-team-rate { display:grid; gap:.1rem; min-width:0; overflow-wrap:anywhere; }
#bm-crew-planning .crew-team-rate > span { color:var(--crew-muted); font-size:.75rem; }
#bm-crew-planning .crew-team-rate > strong { font-size:.9rem; }
#bm-content #bm-crew-planning .crew-summary > .crew-stats { margin:.75rem 0; }
#bm-crew-planning .crew-stats > div > button { grid-template-rows:1fr auto; }
#bm-crew-planning .crew-stats > div > button[aria-expanded=true] { background:var(--kl-mint); }
#bm-crew-planning .crew-stats strong { font-variant-numeric:tabular-nums; }
#bm-crew-planning .crew-summary-fold { border:1px solid var(--crew-line); border-radius:.7rem; padding:.5rem .75rem; margin:.65rem 0; }
#bm-crew-planning .crew-summary-fold > summary { color:var(--kl-primary-dark); font-weight:650; cursor:pointer; }
#bm-crew-planning .crew-summary-fold > :is(ul,p) { margin:.55rem 0 .2rem; }
#bm-crew-planning .crew-summary-fold .crew-person-chip { min-height:38px; }
#bm-crew-planning #crew-metric-details h3 { margin:0 0 .25rem; font-size:1rem; }
@media (max-width:800px) {
  #bm-crew-planning .crew-week { gap:.24rem; }
  #bm-crew-planning .crew-week-day { padding:0; border:0; gap:.16rem; }
  #bm-crew-planning .crew-week-date button[data-plan-day] {
    min-height:57px;
    display:grid;
    grid-template-rows:auto auto;
    align-items:center;
    justify-items:center;
    justify-content:stretch;
    gap:.12rem;
    padding:.22rem .1rem;
    font-size:.78rem;
    line-height:1.15;
  }
  #bm-crew-planning .crew-week-label { flex-direction:column; align-items:center; gap:0; }
  #bm-crew-planning .crew-week-label strong { font-size:.94rem; }
  #bm-crew-planning .crew-week-open { align-content:start; border-color:var(--crew-line); padding:.13rem .08rem; font-size:.82rem; }
  #bm-crew-planning .crew-week-open[aria-pressed=true] { border-color:var(--kl-primary-dark); font-weight:700; }
  #bm-crew-planning :is(.crew-week-empty,.crew-chip-full,.crew-calendar-previews .crew-person-chip:nth-child(n+3)) { display:none; }
  #bm-crew-planning :is(.crew-mini-more,.crew-week-count) { display:block; text-align:center; font-size:.68rem; }
  #bm-crew-planning .crew-calendar-previews { gap:.13rem; }
  #bm-crew-planning .crew-calendar-previews .crew-person-chip {
    padding:.12rem .1rem;
    border-inline-start-width:2px;
    white-space:normal;
    font-size:clamp(.625rem,2.45vw,.71rem);
    line-height:1.18;
  }
  #bm-crew-planning .crew-calendar-previews .crew-chip-compact {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    overflow-wrap:anywhere;
  }
  #bm-crew-planning .crew-days { margin:.4rem 0 0; }
  #bm-crew-planning .crew-days button { align-items:center; min-height:44px; padding:.18rem .1rem; }
}
@media (max-width:680px) {
  #bm-crew-planning :is(.crew-calendar,.crew-selected-day,.crew-team,.crew-summary) { padding:.68rem .72rem; }
  #bm-crew-planning .crew-period-controls[data-view=calendar] .crew-period-filter label {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
  }
  #bm-content #bm-crew-planning .crew-period-controls[data-view=summary] .crew-period-tools { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #bm-crew-planning .crew-period-controls[data-view=summary] .crew-period-switch { grid-column:1/-1; justify-self:start; }
  #bm-crew-planning .crew-team-group > article { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); }
  #bm-crew-planning .crew-team-group .crew-row-actions { grid-column:1/-1; }
  #bm-crew-planning .crew-team-group > article { gap:.15rem .5rem; }
  #bm-crew-planning :is(.crew-period-nav,.crew-period-switch,.crew-panel-heading,.crew-row-actions) .btn { padding-inline:.5rem; font-size:.82rem; }
  #bm-crew-planning .crew-period-nav :is([data-crew=previous],[data-crew=next]) { min-width:37px; }
  #bm-crew-planning .crew-stats > div > button { padding:.6rem .55rem; }
}
@media (max-width:380px) {
  #bm-crew-planning .crew-period-heading h2 { font-size:1.06rem; }
  #bm-crew-planning .crew-period-nav { gap:.22rem; }
  #bm-content #bm-crew-planning .crew-period-filter > :is(input,select) { padding-inline:.44rem; font-size:.83rem; }
  #bm-crew-planning .crew-week-open { padding-inline:0; }
  #bm-crew-planning .crew-calendar-previews .crew-person-chip { padding-inline:1px; letter-spacing:-.025em; }
}

#bm-materials [hidden] { display:none; }
#bm-materials .bm-material-search-card { padding:clamp(.85rem,2vw,1.2rem); margin:0 0 .8rem; }
.bm-material-heading { display:flex; align-items:center; justify-content:space-between; gap:.55rem .9rem; }
#bm-materials .bm-material-heading h2 { margin:0; font-size:1.16rem; line-height:1.3; }
#bm-materials .bm-material-cart { display:inline-flex; align-items:center; gap:.35rem; flex:none; min-height:44px; padding-inline:.55rem; font-size:.85rem; }
.bm-material-cart [data-basket-count] { display:grid; place-items:center; min-width:1.4rem; min-height:1.4rem; border-radius:999px; background:var(--kl-mint); font-weight:650; }
.bm-material-feedback { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); margin:0; }
#bm-materials [data-material-search] { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.35rem .6rem; margin:.7rem 0 .6rem; }
#bm-materials [data-material-search] label { grid-column:1/-1; font-size:.85rem; font-weight:600; }
#bm-materials #bm-material-query { width:100%; min-width:0; min-height:44px; padding:.45rem .65rem; border:1px solid var(--kl-border); border-radius:.7rem; color:var(--kl-ink); font:inherit; }
#bm-materials #bm-material-query:focus-visible { outline:2px solid var(--kl-primary-dark); outline-offset:2px; }
.bm-material-direct { display:flex; flex-wrap:wrap; align-items:center; gap:.15rem .65rem; font-size:.84rem; color:var(--kl-muted); }
.bm-material-direct [data-store-links] { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; }
.bm-material-direct a { display:inline-flex; align-items:center; min-height:44px; font-weight:650; }
.bm-material-availability { margin:0 0 .7rem; padding:.6rem .75rem; border-radius:.65rem; background:var(--kl-mint); color:var(--kl-primary-dark); font-size:.84rem; }
.bm-material-results-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:.25rem .6rem; margin:0 0 .55rem; }
.bm-material-results-heading h2,.bm-material-results-heading p { margin:0; }
.bm-material-results-heading h2 { font-size:1.15rem; }
.bm-material-results-heading p { font-size:.84rem; }
#bm-materials .bm-material-stores { grid-template-columns:repeat(4,minmax(0,1fr)); margin:0 0 .65rem; }
.bm-material-stores small { display:block; margin-block-start:.12rem; font-size:.71rem; font-weight:500; }
.bm-material-results-list { display:grid; gap:.7rem; }
.bm-material-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:.7rem; }
#bm-materials .bm-material-product { display:flex; flex-direction:column; min-width:0; margin:0; padding:.8rem; }
.bm-material-product-info { min-width:0; }
.bm-material-product-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:.45rem; }
.bm-material-product-heading > div { min-width:0; }
#bm-materials .bm-material-product-heading h3 { margin:0; font-size:1rem; line-height:1.35; }
.bm-material-product-image { flex:none; width:3.75rem; height:3.75rem; object-fit:contain; background:#fff; border-radius:.5rem; }
#bm-materials .bm-material-product p { margin:.2rem 0; }
#bm-materials .bm-material-product .bm-material-store-label { margin:0 0 .18rem; color:var(--kl-primary-dark); font-size:.78rem; font-weight:650; }
#bm-materials .bm-material-product .bm-material-price { margin:.55rem 0 .12rem; color:var(--kl-primary-dark); font-size:.87rem; }
.bm-material-price strong { font-size:1.32rem; }
.bm-material-product-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.38rem; margin-top:auto; padding-top:.55rem; }
#bm-materials .bm-material-product-actions .btn { display:grid; place-items:center; min-height:44px; padding:.35rem .28rem; font-size:.81rem; line-height:1.2; text-align:center; white-space:normal; overflow-wrap:anywhere; }
.bm-material-match { padding:.6rem; border:1px solid var(--kl-border); border-radius:.8rem; background:var(--kl-mint); }
.bm-material-match > h3 { margin:0 0 .5rem; font-size:.88rem; color:var(--kl-primary-dark); }
.bm-material-no-price > summary,.bm-material-manual > summary { padding:.7rem 0; color:var(--kl-primary-dark); font-weight:650; cursor:pointer; }
#bm-materials .bm-material-basket { width:min(44rem,calc(100% - 1.2rem)); max-height:85dvh; padding:clamp(.8rem,2vw,1.15rem); overflow:auto; margin:auto; color:inherit; }
.bm-material-basket::backdrop { background:rgb(8 39 45 / .48); }
#bm-materials [data-close-basket] { padding-inline:.65rem; min-width:44px; min-height:44px; }
.bm-material-basket-intro { margin:.35rem 0 .75rem; }
.bm-material-shop { margin-block:.7rem; }
.bm-material-shop-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:.2rem .6rem; padding:.45rem .6rem; background:var(--kl-mint); border-radius:.6rem; }
#bm-materials .bm-material-shop-heading h3,#bm-materials .bm-material-shop-heading p { margin:0; }
#bm-materials .bm-material-shop-heading h3 { font-size:1rem; }
.bm-material-line { display:grid; grid-template-columns:minmax(0,1fr) 4rem minmax(4.5rem,auto) auto; gap:.35rem .6rem; align-items:center; padding:.5rem .2rem; border-bottom:1px solid var(--kl-border); }
.bm-material-line strong { font-size:.86rem; overflow-wrap:anywhere; }
.bm-material-line input { min-width:0; width:100%; min-height:44px; padding:.25rem; border:1px solid var(--kl-border); border-radius:.55rem; font:inherit; text-align:center; }
.bm-material-line-price { text-align:right; font-variant-numeric:tabular-nums; }
.bm-material-line button { min-height:44px; }
#bm-materials .bm-material-total { padding:.6rem .65rem; border-radius:.65rem; background:var(--kl-mint); }
#bm-materials [data-manual-material] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:end; gap:.5rem .6rem; }
#bm-materials [data-manual-material] input { display:block; box-sizing:border-box; width:100%; min-height:44px; padding:.35rem .5rem; border:1px solid var(--kl-border); border-radius:.55rem; font:inherit; }
#bm-materials [data-manual-material] button { grid-column:1/-1; justify-self:start; }
#bm-materials .bm-material-basket input:focus-visible { outline:2px solid var(--kl-primary-dark); outline-offset:1px; }
@media(min-width:850px){
  #bm-materials .bm-material-grid > .bm-material-product:only-child { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:.7rem; }
  #bm-materials .bm-material-grid > .bm-material-product:only-child .bm-material-product-actions { min-width:13rem; }
}
@media(max-width:650px){
  body.kl-professional-account .bm-wrap:has(#bm-materials) { margin-top:12px; }
  body.kl-professional-account .bm-wrap:has(#bm-materials) .bm-heading { padding-block:4px 10px; margin-bottom:12px; }
  .bm-material-grid { grid-template-columns:minmax(0,1fr); }
  .bm-material-line { grid-template-columns:4rem minmax(0,1fr) auto; }
  .bm-material-line strong { grid-column:1/-1; }
  .bm-material-stores small { font-size:.66rem; }
}
@media(max-width:420px){
  #bm-materials [data-material-search],#bm-materials [data-manual-material] { grid-template-columns:minmax(0,1fr); }
}

.bm-address-anchor { position: relative; }
.bm-address-anchor > .bm-address-options { display: none; }
.bm-address-anchor.bm-address-open > .bm-address-options:has(.bm-address-results:not(:empty), [role=status]:not(:empty)) {
  display: block;
  position: absolute;
  inset-inline: 0;
  inset-block-start: 100%;
  z-index: 12;
  margin: .3rem 0 0;
  padding: .4rem;
  border: 1px solid #cbdfe2;
  border-radius: .65rem;
  background: white;
  box-shadow: 0 6px 20px #0b374324;
  max-block-size: 15rem;
  overflow: auto;
}
.bm-address-anchor .bm-address-options [role=status]:empty,
.bm-address-anchor .bm-address-options:has(.bm-address-results:not(:empty)) > a { display: none; }
.bm-address-anchor .bm-address-options p { margin: .25rem; font-size: .85rem; }
.bm-address-anchor .bm-address-results button { min-height: 34px; padding: .35rem .5rem; font: inherit; font-size: .85rem; }
.bm-logo-trigger { display: inline-grid; place-items: center; position: relative; padding: 0; border: 0; border-radius: .8rem; background: transparent; cursor: pointer; flex: none; }
.bm-logo-trigger > span { position: absolute; inset-inline-end: -.25rem; inset-block-end: -.25rem; border: 2px solid white; border-radius: 50%; padding: .15rem .35rem; background: #034c54; color: white; font-size: .8rem; line-height: 1.2; }

.bm-report-kpis > .bm-card > small { display:block; margin-block-start:.3rem; color:#486269; }

/* The company account uses one profile card with the two editable sections. */
#bm-content #bm-business-tabs {
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:.3rem;
  margin:0 0 .8rem;
  padding:.27rem;
  border:1px solid #cbdde0;
  border-radius:.8rem;
  background:var(--kl-mint);
}
#bm-content #bm-business-tabs > a {
  min-width:0;
  margin:0;
  padding:.36rem .3rem;
  border-color:transparent;
  background:transparent;
  color:var(--kl-primary-dark);
  font-size:.89rem;
  line-height:1.2;
}
#bm-content #bm-business-tabs > a:hover { background:#e3f0f2; }
#bm-content #bm-business-tabs > a[aria-current="true"] { background:var(--kl-primary-dark); color:#fff; }
#bm-content .bm-owner-business-card { padding:clamp(.85rem,2vw,1.3rem); }
#bm-business-profiel .bm-owner-profile-header { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:.45rem 1rem; }
#bm-business-profiel .bm-owner-profile-header .bm-business-details { flex:1 1 16rem; min-width:0; }
#bm-business-profiel .bm-owner-profile-header h2 { margin:0; line-height:1.2; font-size:clamp(1.3rem,2.2vw,1.9rem); overflow-wrap:anywhere; }
#bm-business-profiel .bm-owner-profile-header p { margin:.22rem 0 0; }
#bm-business-profiel .bm-owner-profile-facts {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.44rem;
  margin:.85rem 0 .7rem;
}
#bm-business-profiel .bm-owner-profile-facts > div { min-width:0; padding:.55rem .65rem; border-radius:.65rem; background:var(--kl-mint); }
#bm-business-profiel .bm-owner-profile-facts dt { color:#48646a; font-size:.77rem; font-weight:650; }
#bm-business-profiel .bm-owner-profile-facts dd { margin:.12rem 0 0; color:var(--kl-ink); font-size:.88rem; font-weight:620; overflow-wrap:anywhere; }
#bm-business-profiel .bm-owner-profile-facts dd .bm-stars { font-size:.92rem; }
#bm-business-profiel .bm-owner-profile-about { margin:.7rem 0 .8rem; }
#bm-business-profiel .bm-owner-profile-about h3 { margin:0 0 .2rem; font-size:1rem; }
#bm-business-profiel .bm-owner-profile-about p {
  display:-webkit-box;
  margin:0;
  overflow:hidden;
  white-space:pre-line;
  overflow-wrap:anywhere;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
#bm-business-profiel .bm-business-editor { border-top:1px solid #cbdde0; }
#bm-business-profiel .bm-business-editor > summary {
  min-height:44px;
  padding:.63rem .08rem;
  cursor:pointer;
  color:var(--kl-primary-dark);
  font-weight:650;
}
#bm-business-profiel .bm-business-editor > .bm-card { padding:.3rem 0 .6rem; border:0; box-shadow:none; margin:0; }
#bm-business-profiel .bm-business-editor > .bm-card > h2 { font-size:1.12rem; margin:.35rem 0; }
.bm-business-category-picker {
  margin:0 0 .8rem;
  padding:.57rem .7rem;
  border:1px solid #cbdde0;
  border-radius:.72rem;
  background:var(--kl-mint);
}
.bm-business-category-picker > summary { cursor:pointer; color:var(--kl-primary-dark); font-weight:650; }
.bm-business-category-picker > summary span { margin-inline-start:.38rem; font-size:.82rem; font-weight:500; }
.bm-business-category-picker > .bm-field { margin:.55rem 0 0; }
#bm-business-specialisaties .bm-business-category-picker .bm-checkgrid { grid-template-columns:repeat(3,minmax(0,1fr)); }
#bm-business-work-form h3 { margin:.9rem 0 .3rem; font-size:1.12rem; }
#bm-business-work-form [data-specialization-status]:not([hidden]) { margin:.35rem 0 .7rem; }
#bm-business-work-form fieldset { min-width:0; scroll-margin-top:1rem; }
.bm-business-category-picker + [data-specialization-status][hidden] { display:none; }
.bm-business-contact-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 .75rem; }
#bm-content #bm-business-controle .bm-checklist { margin-block:0 .75rem; }
#bm-business-controle #bm-identity-verification p { margin:.4rem 0 0; }
@media (max-width:650px) {
  #bm-content #bm-business-tabs { grid-template-columns:repeat(6,minmax(0,1fr)); }
  #bm-content #bm-business-tabs > a { grid-column:span 2; font-size:.85rem; }
  #bm-content #bm-business-tabs > a:nth-child(n+4) { grid-column:span 3; }
  #bm-business-specialisaties .bm-business-category-picker .bm-checkgrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:380px) {
  #bm-business-profiel .bm-owner-profile-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #bm-business-profiel .bm-owner-profile-facts > div:last-child { grid-column:1/-1; }
  .bm-business-contact-row { grid-template-columns:minmax(0,1fr); }
}

/* Keep the combined rating and review request together above the filters. */
#bm-content .bm-review-overview {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:.8rem 1.5rem;
  padding:clamp(.9rem,2vw,1.35rem);
  margin:0 0 1.2rem;
  background:var(--kl-mint);
  border-color:var(--kl-border);
}
#bm-review-overview .bm-review-average > span { font-size:.87rem; }
#bm-review-overview .bm-review-average > span:first-child { font-weight:650; color:var(--kl-primary-dark); }
#bm-review-overview .bm-review-average > p { margin:.16rem 0 .18rem; font-size:1.03rem; color:var(--kl-ink); line-height:1.2; }
#bm-review-overview .bm-review-average strong { font-size:1.15rem; }
#bm-review-overview .bm-review-average p strong { font-size:1.9rem; font-variant-numeric:tabular-nums; }
#bm-review-overview .bm-stars { font-size:1.4rem; }
#bm-review-overview .bm-review-invite-cta { display:grid; justify-items:start; gap:.27rem; }
#bm-review-overview .bm-review-invite-cta p { margin:0; font-size:.8rem; }
#bm-reviews-heading { margin:0 0 .6rem; font-size:clamp(1.13rem,2vw,1.35rem); }
#bm-content #bm-business-reviews > .bm-filter { display:grid; grid-template-columns:minmax(13.5rem,.86fr) minmax(0,1.14fr); gap:.65rem; margin:0 0 .38rem; }
#bm-business-reviews .bm-filter > input { box-sizing:border-box; min-width:0; width:100%; }
#bm-business-reviews > [data-summary] { margin:0 0 .48rem; font-size:.85rem; }
#bm-content #bm-business-reviews .bm-review-entry { padding:clamp(.85rem,2vw,1.25rem); margin:0 0 .65rem; }
.bm-review-entry-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.45rem 1rem; align-items:start; }
.bm-review-entry-heading h3 { margin:.03rem 0 0; font-size:1.05rem; line-height:1.3; overflow-wrap:anywhere; }
.bm-review-entry-rating { display:grid; justify-items:end; gap:.15rem; }
.bm-review-entry-rating .bm-stars { font-size:1.05rem; letter-spacing:.045em; line-height:1.2; white-space:nowrap; }
.bm-review-entry-rating time { font-size:.79rem; white-space:nowrap; }
.bm-review-entry .bm-review-star-empty { color:var(--kl-border); }
#bm-business-reviews .bm-review-comment { margin:.5rem 0; color:var(--kl-ink); white-space:pre-wrap; overflow-wrap:anywhere; }
.bm-review-entry .bm-scores { display:flex; flex-wrap:wrap; gap:.3rem; margin:0; }
.bm-review-entry .bm-scores:empty { display:none; }
.bm-review-entry .bm-scores .bm-score { margin:0; }
.bm-review-entry .bm-review-reply { margin:.7rem 0 0; padding:.5rem .65rem; border-inline-start:3px solid var(--kl-primary); border-radius:.35rem; background:var(--kl-mint); }
.bm-review-entry .bm-review-reply strong { color:var(--kl-primary-dark); font-size:.83rem; }
.bm-review-entry .bm-review-reply p { margin:.16rem 0 0; white-space:pre-wrap; overflow-wrap:anywhere; }
#bm-content .bm-review-entry > .btn { margin-block-start:.65rem; padding-inline:.65rem; min-height:44px; font-size:.85rem; }
@media (max-width:620px) {
  #bm-content #bm-business-reviews > .bm-filter { grid-template-columns:minmax(0,1fr); gap:.45rem; }
  #bm-content .bm-review-overview { grid-template-columns:minmax(0,1fr); row-gap:.6rem; }
  #bm-review-overview .bm-review-average:has(> p) { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:baseline; column-gap:.75rem; }
  #bm-review-overview .bm-review-average > span:first-child { grid-column:1/-1; }
  #bm-review-overview .bm-review-invite-cta { padding-block-start:.65rem; border-top:1px solid var(--kl-border); }
}

/* Keep account settings easy to scan without hiding their forms. */
#bm-professional-settings { display:grid; min-width:0; gap:.8rem; }
.bm-settings-shortcuts {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.3rem;
  padding:.28rem;
  border:1px solid var(--kl-border);
  border-radius:.85rem;
  background:var(--kl-mint);
}
.bm-settings-shortcuts > a {
  display:grid;
  place-items:center;
  min-height:44px;
  padding:.3rem .15rem;
  border-radius:.6rem;
  color:var(--kl-primary-dark);
  font-size:clamp(.76rem,.71rem + .35vw,.92rem);
  font-weight:650;
  text-align:center;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.bm-settings-shortcuts > a:hover { background:#e0efee; }
.bm-settings-shortcuts > a:focus-visible { outline:2px solid var(--kl-primary-dark); outline-offset:1px; }
#bm-professional-settings .bm-settings-card { min-width:0; margin:0; padding:clamp(.8rem,2vw,1.25rem); scroll-margin-top:.8rem; }
#bm-professional-settings .bm-settings-card h2 { margin:0 0 .65rem; font-size:1.16rem; }
#bm-professional-settings .bm-field { min-width:0; margin:0; }
#bm-professional-settings .bm-field > input { min-height:44px; min-width:0; }
#bm-professional-settings .bm-formerror:empty { margin:0; }
#bm-professional-settings .bm-settings-card .btn { min-height:44px; max-width:100%; padding:.45rem .75rem; white-space:normal; }
.bm-settings-personal-fields,.bm-settings-login-email,.bm-settings-section-grid,.bm-settings-privacy-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.65rem .8rem;
}
.bm-settings-login-email { align-items:end; margin-top:.72rem; }
.bm-settings-login-email p { margin:.25rem 0; }
#bm-professional-settings .bm-settings-address { min-width:0; margin:.8rem 0; padding:.55rem .75rem .65rem; border:1px solid var(--kl-border); border-radius:.72rem; }
#bm-professional-settings .bm-settings-address legend { padding:0 .25rem; font-size:1rem; color:var(--kl-ink); }
#bm-professional-settings .bm-settings-address p { margin:.1rem 0 .5rem; }
#bm-professional-settings .bm-settings-address .bm-settings-matching { margin:.45rem 0 0; }
.bm-settings-address-fields { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,.65fr) minmax(0,1fr); gap:.45rem .65rem; }
#bm-password-hint { margin:.3rem 0 .65rem; }
.bm-settings-section-grid { align-items:start; gap:.8rem; }
.bm-settings-privacy-grid > div { display:flex; flex-direction:column; align-items:flex-start; gap:.35rem; padding:.65rem .75rem; border:1px solid var(--kl-border); border-radius:.72rem; }
#bm-professional-settings .bm-settings-privacy-grid h3 { margin:0; font-size:.98rem; }
#bm-professional-settings .bm-settings-privacy-grid p { flex:1; margin:0 0 .25rem; }
@media(max-width:650px) {
  body.kl-professional-account .bm-wrap:has(#bm-professional-settings) { margin-top:12px; }
  body.kl-professional-account .bm-wrap:has(#bm-professional-settings) .bm-heading { padding-block:4px 10px; margin-bottom:12px; }
  .bm-settings-section-grid,.bm-settings-login-email,.bm-settings-personal-fields,.bm-settings-privacy-grid { grid-template-columns:minmax(0,1fr); }
  .bm-settings-login-email { gap:.25rem; }
  .bm-settings-address-fields { grid-template-columns:minmax(0,.65fr) minmax(0,1fr); }
  .bm-settings-address-fields > :first-child { grid-column:1/-1; }
  #bm-professional-settings .bm-field > input { font-size:16px; }
}

#bm-content #bm-free-access {
  padding:clamp(.95rem,2.4vw,1.5rem);
  background:var(--kl-mint);
  border-inline-start:4px solid var(--kl-primary);
}
.bm-free-access-summary { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.8rem 1.2rem; }
#bm-free-access .bm-free-access-summary h2 { margin:0 0 .35rem; font-size:clamp(1.2rem,2.2vw,1.6rem); line-height:1.25; }
#bm-free-access .bm-free-access-summary p { margin:0; }
#bm-free-access .bm-free-access-summary .btn { min-height:44px; max-width:100%; text-align:center; white-space:normal; }
#bm-free-access .bm-free-access-note { margin:.85rem 0 0; padding-top:.7rem; border-top:1px solid var(--kl-border); }
@media(max-width:720px) {
  .bm-free-access-summary { grid-template-columns:minmax(0,1fr); }
  #bm-free-access .bm-free-access-summary .btn { justify-self:start; }
}
@media(max-width:480px) {
  body.kl-professional-account .bm-wrap:has(#bm-free-access) { margin-top:12px; }
  body.kl-professional-account .bm-wrap:has(#bm-free-access) .bm-heading { padding-block:4px 10px; margin-bottom:12px; }
  #bm-free-access .bm-free-access-summary .btn { justify-self:stretch; }
}

.bm-news-overview {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:.45rem .65rem;
  margin-block-end:.75rem;
}
#bm-news-refresh {
  margin:0;
  padding:.5rem .65rem;
  border:1px solid var(--kl-border);
  border-radius:.7rem;
  background:var(--kl-mint);
  color:var(--kl-primary-dark);
  font-size:.83rem;
  line-height:1.45;
}
#bm-news-refresh time { white-space:nowrap; }
#bm-news-refresh > span { display:block; margin-block-start:.15rem; }
#bm-news-refresh[data-feed-state=warning] { border-inline-start:3px solid var(--bm-tone-amber); }
.bm-news-sources { border:1px solid var(--kl-border); border-radius:.7rem; background:var(--kl-paper); }
.bm-news-sources[open] { grid-column:1/-1; }
.bm-news-sources summary {
  min-height:44px;
  padding:.58rem .75rem;
  cursor:pointer;
  color:var(--kl-primary-dark);
  font-size:.89rem;
  font-weight:650;
}
.bm-news-sources p { margin:0 .75rem .25rem; font-size:.84rem; }
.bm-news-sources > ul { display:flex; flex-wrap:wrap; gap:0 .8rem; margin:0; padding:0 .75rem .35rem; list-style:none; }
.bm-news-sources a { display:inline-flex; align-items:center; min-height:44px; font-size:.84rem; }
#bm-news-page #bm-news-list > .bm-filter { display:grid; grid-template-columns:minmax(0,1fr); gap:.55rem; margin:0 0 .38rem; }
#bm-news-list .bm-list-status-buttons { grid-template-columns:repeat(5,minmax(0,1fr)); }
#bm-news-list .bm-list-status-buttons > button { overflow-wrap:anywhere; }
#bm-news-list .bm-filter > input { box-sizing:border-box; width:100%; min-width:0; min-height:44px; }
#bm-news-list > [data-summary] { margin:0 0 .5rem; font-size:.85rem; }
#bm-news-list > [data-rows] { display:grid; gap:.55rem; }
#bm-news-list .bm-news-card {
  --news-accent:var(--kl-primary-dark);
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:.4rem .7rem;
  min-width:0;
  margin:0;
  padding:clamp(.75rem,1.7vw,1.05rem);
}
#bm-news-list .bm-news-card[data-topic=rules] { --news-accent:var(--bm-tone-blue); }
#bm-news-list .bm-news-card[data-topic=grants] { --news-accent:var(--bm-tone-amber); }
#bm-news-list .bm-news-card[data-topic=events] { --news-accent:var(--bm-tone-purple); }
.bm-news-meta { display:flex; flex-wrap:wrap; align-items:center; gap:.25rem .5rem; font-size:.78rem; }
.bm-news-category {
  padding:.2rem .5rem;
  border-radius:999px;
  background:var(--kl-mint);
  background:color-mix(in srgb,var(--news-accent) 10%,var(--kl-paper));
  color:var(--news-accent);
  font-weight:650;
}
#bm-news-list .bm-news-card h2 { margin:.32rem 0 0; font-size:clamp(1rem,1.75vw,1.27rem); line-height:1.3; }
#bm-news-list .bm-news-card .bm-news-official-note { margin:.3rem 0 0; font-size:.8rem; }
#bm-news-list .bm-news-card .btn { min-height:44px; padding:.45rem .63rem; font-size:.85rem; }
#bm-news-list .bm-pagination[hidden] { display:none; }
@media(max-width:650px) {
  body.kl-professional-account .bm-wrap:has(#bm-news-page) { margin-top:12px; }
  body.kl-professional-account .bm-wrap:has(#bm-news-page) .bm-heading { padding-block:4px 10px; margin-bottom:12px; }
  .bm-news-overview { grid-template-columns:minmax(0,1fr); }
  .bm-news-sources > ul { flex-direction:column; align-items:flex-start; }
  #bm-news-list .bm-list-status-buttons { grid-template-columns:repeat(6,minmax(0,1fr)); }
  #bm-news-list .bm-list-status-buttons > button { grid-column:span 2; }
  #bm-news-list .bm-list-status-buttons > button:nth-child(n+4) { grid-column:span 3; }
  #bm-news-list .bm-filter > input { font-size:16px; }
  #bm-news-list .bm-news-card { grid-template-columns:minmax(0,1fr); justify-items:start; }
}

:is(#bm-professional-support,#bm-customer-support), .bm-support-columns {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:start;
  gap:.75rem;
}
.bm-support-shortcuts {
  display:flex;
  gap:.35rem;
  padding:.3rem;
  border:1px solid var(--kl-border);
  border-radius:.8rem;
  background:var(--kl-mint);
}
.bm-support-shortcuts > * { flex:1 1 0; min-width:0; }
.bm-support-shortcuts > #bm-help-chat:not([hidden]) { display:flex; }
:is(#bm-professional-support,#bm-customer-support) .bm-support-shortcuts .btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin:0;
  text-align:center;
  font-weight:650;
}
:is(#bm-professional-support,#bm-customer-support) :is(#bm-support-conversations,#bm-support-contact,#bm-support-faq) { scroll-margin-top:.7rem; }
:is(#bm-professional-support,#bm-customer-support) .bm-card { margin:0; padding:clamp(.8rem,1.8vw,1.22rem); }
:is(#bm-professional-support,#bm-customer-support) h2 { margin:0; font-size:clamp(1.06rem,1.9vw,1.28rem); line-height:1.3; }
:is(#bm-professional-support,#bm-customer-support) #bm-support-replies {
  background:var(--kl-mint);
  border-inline-start:3px solid var(--kl-primary);
}
:is(#bm-professional-support,#bm-customer-support) #bm-support-replies:not([hidden]) {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:.18rem 1rem;
}
:is(#bm-professional-support,#bm-customer-support) #bm-support-replies h2 { color:var(--kl-primary-dark); font-size:1rem; }
:is(#bm-professional-support,#bm-customer-support) #bm-support-replies ul { min-width:0; margin:0; padding:0; list-style:none; }
:is(#bm-professional-support,#bm-customer-support) #bm-support-replies a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.5rem;
  min-height:44px;
  color:var(--kl-primary-dark);
  font-weight:650;
  font-size:.88rem;
}
:is(#bm-professional-support,#bm-customer-support) #bm-support-replies a:hover { text-decoration:underline; }
.bm-support-list-heading, .bm-support-ticket-heading, .bm-support-ticket-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:.28rem .55rem;
}
.bm-support-list-heading { margin-block-end:.65rem; }
:is(#bm-professional-support,#bm-customer-support) .btn { min-height:44px; padding:.46rem .67rem; font-size:.86rem; }
:is(#bm-professional-support,#bm-customer-support) #bm-support-list > .bm-filter {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,8.85rem);
  gap:.44rem;
  margin:0;
}
:is(#bm-professional-support,#bm-customer-support) #bm-support-list .bm-filter > :is(input,select) {
  box-sizing:border-box;
  min-width:0;
  min-height:44px;
  width:100%;
  padding:.45rem .6rem;
}
:is(#bm-professional-support,#bm-customer-support) #bm-support-list .bm-filter > select {
  appearance:none;
  padding-inline-end:1.55rem;
  background-image:linear-gradient(45deg,transparent 50%,var(--kl-primary-dark) 50%),linear-gradient(135deg,var(--kl-primary-dark) 50%,transparent 50%);
  background-position:right 15px center,right 10px center;
  background-size:5px 5px;
  background-repeat:no-repeat;
}
:is(#bm-professional-support,#bm-customer-support) [data-summary] { margin:.38rem 0 .08rem; font-size:.83rem; }
.bm-support-ticket { min-width:0; padding:.7rem 0; border-top:1px solid var(--kl-border); }
.bm-support-ticket:last-child { padding-block-end:0; }
.bm-support-ticket .bm-badge.open { color:var(--bm-tone-blue); background:color-mix(in srgb,var(--bm-tone-blue) 10%,var(--kl-paper)); }
.bm-support-ticket .bm-badge.closed { color:var(--kl-muted); background:color-mix(in srgb,var(--kl-muted) 10%,var(--kl-paper)); }
:is(#bm-professional-support,#bm-customer-support) .bm-support-ticket h3 { margin:0; font-size:1.01rem; line-height:1.32; }
:is(#bm-professional-support,#bm-customer-support) .bm-support-ticket p { margin:.27rem 0 .35rem; font-size:.88rem; line-height:1.45; }
.bm-support-ticket-actions { color:inherit; text-decoration:none; }
.bm-support-ticket-actions:hover .btn, .bm-support-ticket-actions:focus-visible .btn { text-decoration:underline; }
.bm-support-ticket-actions time { font-size:.8rem; }
:is(#bm-professional-support,#bm-customer-support) #bm-support-contact > p { margin:.32rem 0 .7rem; line-height:1.45; }
:is(#bm-professional-support,#bm-customer-support) #bm-support-form .bm-formerror:empty { margin:0; }
:is(#bm-professional-support,#bm-customer-support) #bm-support-form .bm-field { margin-block-end:.65rem; }
:is(#bm-professional-support,#bm-customer-support) #bm-support-form :is(input,textarea) {
  box-sizing:border-box;
  min-width:0;
  min-height:44px;
  width:100%;
  padding:.54rem .66rem;
}
:is(#bm-professional-support,#bm-customer-support) #bm-support-form textarea { min-height:6rem; resize:vertical; }
.bm-support-topics { display:grid; grid-template-columns:minmax(0,1fr); column-gap:1rem; margin-block-start:.65rem; }
.bm-support-topics .bm-help-topic { min-width:0; padding:0; border-color:var(--kl-border); }
.bm-support-topics summary { min-height:44px; padding:.55rem .1rem; color:var(--kl-primary-dark); font-size:.9rem; }
.bm-support-topics .bm-help-topic p { margin:0 0 .75rem; }
@media (min-width:1000px) {
  .bm-support-columns { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); }
  .bm-support-topics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  :is(#bm-professional-support,#bm-customer-support) .bm-support-contact-link { display:none; }
}
@media (max-width:650px) {
  body.kl-professional-account .bm-wrap:has(#bm-professional-support) { margin-top:12px; }
  body.kl-professional-account .bm-wrap:has(#bm-professional-support) .bm-heading { padding-block:4px 10px; margin-bottom:12px; }
  :is(#bm-professional-support,#bm-customer-support) :is(input,textarea,select) { font-size:16px; }
}
@media (max-width:374px) {
  :is(#bm-professional-support,#bm-customer-support) #bm-support-list > .bm-filter { grid-template-columns:minmax(0,1fr); }
}

/* Let the tallest label set the value baseline for every card in its row. */
#bm-company-report .bm-report-kpis > article {
  display:grid;
  grid-template-rows:auto minmax(2lh,auto) auto 1fr;
  align-items:start;
  gap:.35rem;
}
#bm-company-report .bm-report-kpis > article > p,
#bm-company-report .bm-report-kpis > article > small { margin:0; }
#bm-company-report .bm-report-kpis > article > strong {
  font-variant-numeric:tabular-nums;
  line-height:1.2;
}
@supports (grid-template-rows:subgrid) {
  #bm-company-report .bm-report-kpis > article {
    grid-row:span 4;
    grid-template-rows:subgrid;
    row-gap:.35rem;
  }
}

@media (max-width: 700px) {
  #bm-crew-planning .crew-view-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .4rem;
  }
  #bm-crew-planning .crew-view-tabs > .btn {
    display: grid;
    place-items: center;
    min-inline-size: 0;
    min-block-size: 44px;
    padding: .35rem .2rem;
    text-align: center;
    font-size: .8rem;
    line-height: 1.2;
  }
  #bm-crew-planning .crew-period-filter {
    min-inline-size: 0;
    max-inline-size: 100%;
    grid-template-columns: minmax(0, 1fr);
  }
  #bm-crew-planning .crew-period-filter > input {
    max-inline-size: 100%;
    padding-inline: .65rem;
  }
  #bm-company-report .bm-report-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin-block: .75rem;
  }
  #bm-company-report .bm-report-kpis > article {
    padding: .65rem .7rem;
    border-top-width: 3px;
    row-gap: .3rem;
  }
  #bm-company-report .bm-report-icon { display: none; }
  #bm-company-report .bm-report-kpis > article > :is(p, small) {
    font-size: .75rem;
    line-height: 1.3;
  }
  #bm-company-report .bm-report-kpis > article > strong {
    font-size: 1.2rem;
  }
  @supports not (grid-template-rows: subgrid) {
    #bm-company-report .bm-report-kpis > article {
      grid-template-rows: minmax(2lh, auto) auto 1fr;
    }
  }
  @supports (grid-template-rows: subgrid) {
    #bm-company-report .bm-report-kpis > article { grid-row: span 3; }
  }
}

@media (max-width: 800px) {
  #bm-company-report #bm-report-form,
  #bm-company-report .bm-report-dates {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    gap: .65rem;
  }
  #bm-company-report #bm-report-form {
    padding: .75rem;
    row-gap: .375rem;
    align-items: stretch;
  }
  #bm-company-report #bm-report-form > .bm-formerror:empty {
    display: none;
  }
  #bm-company-report .bm-report-dates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
  }
  #bm-company-report .bm-report-dates .bm-field {
    min-width: 0;
  }
  #bm-company-report .bm-report-dates input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    padding-inline: .35rem;
    font-size: 16px;
    text-align: start;
  }
  #bm-company-report .bm-report-dates input::-webkit-date-and-time-value {
    min-width: 0;
    text-align: start;
  }
}
@media (max-width: 650px) {
  #bm-company-report #bm-report-form { padding-block:.625rem; }
}

/* Customer overview uses the professional portal's card and colour system. */
body.kl-customer-account :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) { margin-top:22px; }
body.kl-customer-account :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-heading {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.75rem 1rem;
  margin-bottom:1.1rem;
  padding:.4rem 0 1rem;
  border:0;
  border-bottom:1px solid var(--kl-border);
  border-radius:0;
  background:transparent;
}
:is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-heading > div:first-child { flex:1 1 12rem; min-width:0; }
:is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-heading .kl-overline { display:none; }
body.kl-customer-account :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-heading h1 {
  margin:0 0 .35rem;
  color:var(--kl-primary-dark);
  font-size:clamp(2rem,4vw,3rem);
  font-weight:750;
  line-height:1.12;
}
:is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-heading p { margin:.3rem 0 0; }
:is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-heading .bm-active-identity { font-size:.75rem; }
:is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-heading .bm-customer-page-actions { margin:0; }
:is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-customer-page-actions .btn { display:inline-flex; align-items:center; gap:.4rem; }
:is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-customer-page-actions .btn::before { content:'+'; font-size:1.15em; line-height:1; }
body.kl-customer-account :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-sidebar {
  background:var(--kl-primary-dark);
  border-color:var(--kl-primary-dark);
}
body.kl-customer-account :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-sidebar a { color:white; }
body.kl-customer-account :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-sidebar a.active {
  background:#ffffff24;
  color:white;
  box-shadow:inset 3px 0 white;
}
body.kl-customer-account :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-sidebar a:is(:hover,:focus-visible) { background:#d8f4f4; color:#01434a; }
body.kl-customer-account :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-sidebar .bm-nav-group {
  margin:12px 0 4px;
  padding:7px 12px;
  border-radius:7px;
  background:#d8eef0;
  color:var(--kl-ink);
  font-weight:750;
}
body.kl-customer-account :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-sidebar .bm-nav-group:first-child { margin-top:0; }
:is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-sidebar .bm-separator { border-color:#ffffff40; }
:is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) #bm-content .bm-customer-overview-stats { grid-template-columns:repeat(4,minmax(0,1fr)); margin:0 0 1rem; }
:is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) #bm-content .bm-customer-overview-stats .bm-stat { padding:1rem; min-height:6.8rem; }
.bm-customer-overview-stats .bm-dashboard-icon { grid-row:1; grid-column:2; }
.bm-customer-overview-columns {
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(16rem,1fr);
  grid-template-areas:"projects attention";
  align-items:start;
  gap:1.1rem;
}
.bm-customer-overview-columns.is-quiet { grid-template-columns:minmax(0,1fr); grid-template-areas:"projects"; }
.bm-customer-projects { grid-area:projects; min-width:0; }
.bm-customer-projects > header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.35rem 1rem; margin:0 0 .75rem; }
.bm-customer-projects > header h2 { margin:0; font-size:1.25rem; }
.bm-customer-projects > header a { display:inline-flex; align-items:center; gap:.4rem; min-height:44px; font-size:.85rem; font-weight:650; color:var(--kl-primary-dark); text-decoration:none; }
.bm-customer-projects > header a:hover { text-decoration:underline; }
.bm-customer-project { margin:0 0 .65rem; }
.bm-customer-project > a {
  display:grid;
  gap:.6rem;
  padding:1rem;
  border:1px solid #d4e3e6;
  border-inline-start:3px solid var(--kl-primary);
  border-radius:.9rem;
  background:var(--kl-paper);
  color:var(--kl-ink);
  text-decoration:none;
}
.bm-customer-project > a:hover { background:var(--kl-mint); }
.bm-customer-project > a:focus-visible { outline:2px solid var(--kl-primary); outline-offset:3px; }
.bm-customer-project-top, .bm-customer-project-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.4rem .75rem; font-size:.78rem; color:#48646a; }
.bm-customer-project-top > span:first-child { font-weight:650; color:var(--kl-primary-dark); }
body .bm-customer-project h3 { margin:0; font-size:1.1rem; line-height:1.35; overflow-wrap:anywhere; }
body .bm-customer-project p { margin:0; color:#48646a; line-height:1.5; }
.bm-customer-project-bottom strong { color:var(--kl-primary-dark); font-size:.8rem; }
.bm-customer-project .bm-badge { background:var(--kl-mint); color:var(--kl-primary-dark); }
.bm-customer-project [data-project-status="assigned"] { background:#e7effb; color:var(--bm-tone-blue); }
.bm-customer-project [data-project-status="completed"] { background:#e3f3e9; color:var(--bm-tone-green); }
.bm-customer-project [data-project-status="cancelled"] { background:#f2f4f5; color:#48646a; }
body :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-dashboard-attention {
  grid-area:attention;
  min-width:0;
  margin:0;
  padding:1rem;
  border-color:#e8d39f;
  background:#fff7da;
  box-shadow:none;
}
:is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-dashboard-attention h2 { font-size:1rem; }
:is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-dashboard-attention ul { grid-template-columns:minmax(0,1fr); }
:is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-dashboard-attention small { color:#48646a; }
body .bm-customer-first-project { padding:2rem 1rem; background:var(--kl-paper); }
.bm-customer-first-project .bm-dashboard-icon { margin:0 auto .7rem; background:var(--kl-mint); color:var(--kl-primary); }
.bm-customer-first-project h3 { font-size:1.1rem; margin:0; }
@media (max-width:1000px) {
  .bm-customer-overview-columns { grid-template-columns:minmax(0,1fr); grid-template-areas:"attention" "projects"; }
  .bm-customer-overview-columns.is-quiet { grid-template-areas:"projects"; }
}
@media (max-width:650px) {
  :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) #bm-content .bm-customer-overview-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
  :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) #bm-content .bm-customer-overview-stats .bm-stat { padding:.8rem; min-height:6rem; }
  :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-customer-page-actions .btn { padding:.6rem .75rem; font-size:.85rem; }
  body.kl-customer-account :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-heading { align-items:start; padding-top:0; }
  :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-heading > div:first-child { flex-basis:10rem; }
  :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-heading .bm-active-identity { overflow-wrap:anywhere; }
  .bm-customer-project > a { padding:.85rem; }
  body :is(.bm-customer-overview,.bm-customer-requests,.bm-customer-offers) .bm-dashboard-attention { padding:.8rem; }
}

body.kl-customer-account .bm-customer-requests .bm-heading h1 {
  color:var(--kl-ink);
  font-size:clamp(1.5rem,2.8vw,1.85rem);
  line-height:1.2;
}
.bm-customer-requests .bm-heading > div:first-child { flex-basis:14rem; }
.bm-customer-requests #bm-request-list > .bm-filter {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:.75rem;
  margin:0 0 .65rem;
}
.bm-customer-requests #bm-request-list .bm-list-status-buttons {
  grid-template-columns:repeat(3,minmax(0,1fr));
  width:100%;
}
.bm-customer-requests #bm-request-list .bm-list-status-buttons > button {
  padding:.35rem .15rem;
  font-size:clamp(.7rem,2.5vw,.875rem);
}
.bm-customer-requests #bm-request-list [data-search] {
  width:100%;
  min-width:0;
  min-height:44px;
  margin:0;
  border-color:#b7d6da;
  background:var(--kl-paper);
}
.bm-customer-requests #bm-request-list > [data-summary] { margin:.6rem 0 .8rem; font-size:.85rem; }
body.kl-customer-account :is(#bm-request-list, #bm-active-project-list) .bm-customer-request-card {
  --request-accent:var(--kl-primary);
  display:grid;
  gap:.7rem;
  margin:0 0 .8rem;
  padding:1.1rem 1.2rem;
  border:1px solid #d4e3e6;
  border-inline-start:3px solid var(--request-accent);
  border-radius:1rem;
  background:var(--kl-paper);
  box-shadow:none;
}
body.kl-customer-account :is(#bm-request-list, #bm-active-project-list) .bm-customer-request-card[data-project-status="assigned"] { --request-accent:var(--bm-tone-blue); }
body.kl-customer-account :is(#bm-request-list, #bm-active-project-list) .bm-customer-request-card[data-project-status="completed"] { --request-accent:var(--bm-tone-green); }
body.kl-customer-account :is(#bm-request-list, #bm-active-project-list) .bm-customer-request-card[data-project-status="cancelled"] { --request-accent:#596f6d; }
.bm-customer-request-card > header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.45rem .75rem; }
.bm-customer-request-category { font-size:.82rem; font-weight:650; color:var(--kl-primary-dark); }
.bm-customer-request-card .bm-badge { color:var(--request-accent); background:var(--kl-mint); font-size:.72rem; }
.bm-customer-request-card[data-project-status="assigned"] .bm-badge { background:#e7effb; }
.bm-customer-request-card[data-project-status="completed"] .bm-badge { background:#e3f3e9; }
body :is(#bm-request-list, #bm-active-project-list) .bm-customer-request-card h2 { margin:0; font-size:clamp(1.1rem,2vw,1.3rem); line-height:1.35; overflow-wrap:anywhere; }
body .bm-request-decision .bm-request-decision-meta { margin:0; font-size:.8rem; color:#48646a; line-height:1.4; }
body .bm-request-decision .bm-request-decision-update { margin:.15rem 0 0; font-size:.95rem; line-height:1.45; color:var(--kl-ink); }
.bm-request-decision footer > a { gap:.5rem; }
.bm-customer-intake > .kl-back,#bm-intake-return { display:inline-flex; align-items:center; min-height:44px; margin-bottom:.5rem; }
#bm-intake-draft > a { color:var(--kl-primary-dark); text-underline-offset:.18em; }
#reference-wizard #wizard-back[hidden] { display:none; }

.bm-request-decision footer > details[open] { flex-basis:100%; }
.bm-requests-overview-head { display:flex; gap:.45rem 1rem; align-items:center; justify-content:space-between; flex-wrap:wrap; margin-bottom:.75rem; }
body .bm-requests-overview-head h2 { margin:0; font-size:1.15rem; }
.bm-requests-overview-head a,.bm-closed-requests-link { display:inline-flex; align-items:center; gap:.4rem; min-height:44px; color:var(--kl-primary-dark); font-size:.875rem; text-underline-offset:.18em; }
#bm-active-project-list > .bm-filter:empty,#bm-active-project-list > [data-summary] { display:none; }
#bm-active-project-list [data-rows] > .bm-muted { padding:1rem; background:var(--kl-mint); border-radius:.8rem; }
.bm-customer-request-card > footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.65rem 1rem; padding-top:.7rem; border-top:1px solid var(--kl-border); }
.bm-customer-request-meta { display:grid; gap:.18rem; font-size:.8rem; color:#48646a; }
.bm-customer-request-meta > span { font-weight:600; }
.bm-customer-request-meta > time { font-size:.75rem; }
.bm-customer-request-card footer .btn { min-height:44px; padding:.55rem .75rem; font-size:.85rem; }
.bm-customer-request-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.45rem; }
body .bm-customer-requests .btn.btn-secondary { color:var(--kl-primary-dark)!important; background:var(--kl-paper)!important; border-color:#b7d6da!important; }
body .bm-customer-requests .btn.btn-secondary:hover { background:var(--kl-mint)!important; }
@media (max-width:650px) {
  body.kl-customer-account :is(#bm-request-list, #bm-active-project-list) .bm-customer-request-card { padding:.85rem; gap:.65rem; }
  .bm-customer-requests #bm-request-list [data-search] { font-size:16px; }
}

body.kl-customer-account .bm-customer-offers .bm-heading h1 {
  color:var(--kl-ink);
  font-size:clamp(1.5rem,2.8vw,1.85rem);
  line-height:1.2;
}
.bm-customer-offers #bm-customer-offers > .bm-filter {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:.75rem;
  margin:0 0 .65rem;
}
.bm-customer-offers #bm-customer-offers .bm-list-status-buttons { grid-template-columns:repeat(3,minmax(0,1fr)); }
.bm-customer-offers #bm-customer-offers [data-search] {
  width:100%;
  min-width:0;
  min-height:44px;
  border-color:#b7d6da;
  background:var(--kl-paper);
}
.bm-customer-offers #bm-customer-offers > [data-summary] { margin:.6rem 0 .8rem; font-size:.85rem; }
.bm-customer-offer-card { --offer-tone:var(--bm-tone-purple); }
body.kl-customer-account #bm-customer-offers .bm-customer-offer-card {
  display:grid;
  gap:.85rem;
  margin:0 0 .8rem;
  padding:1.1rem 1.2rem;
  border:1px solid #d4e3e6;
  border-inline-start:3px solid var(--offer-tone);
  border-radius:1rem;
  background:var(--kl-paper);
  box-shadow:none;
}
#bm-customer-offers .bm-customer-offer-card[data-offer-state="accepted"] { --offer-tone:var(--bm-tone-green); }
#bm-customer-offers .bm-customer-offer-card[data-offer-state="expired"] { --offer-tone:var(--bm-tone-amber); }
#bm-customer-offers .bm-customer-offer-card:is([data-offer-state="withdrawn"],[data-offer-state="unavailable"]) { --offer-tone:var(--kl-muted); }
#bm-customer-offers .bm-customer-offer-card[data-offer-state="rejected"] { --offer-tone:var(--bm-tone-red); }
.bm-customer-offer-card > header { display:flex; align-items:start; justify-content:space-between; gap:.5rem .85rem; }
.bm-customer-offer-card > header > div { min-width:0; }
body #bm-customer-offers .bm-customer-offer-project { margin:0 0 .35rem; color:var(--kl-primary-dark); font-size:.82rem; font-weight:600; line-height:1.4; overflow-wrap:anywhere; }
body #bm-customer-offers .bm-customer-offer-card h2 { margin:0; font-size:clamp(1.1rem,2vw,1.3rem); line-height:1.35; overflow-wrap:anywhere; }
.bm-customer-offer-card .bm-badge {
  flex:none;
  color:var(--offer-tone);
  background:color-mix(in srgb,var(--offer-tone) 10%,var(--kl-paper));
  font-size:.72rem;
}
.bm-customer-offer-summary { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.7rem 1rem; }
.bm-customer-offer-price, .bm-customer-offer-date { display:grid; gap:.2rem; }
.bm-customer-offer-price strong { color:var(--kl-primary-dark); font-size:clamp(1.45rem,3vw,1.8rem); line-height:1.2; }
.bm-customer-offer-price > span, .bm-customer-offer-date > span { color:#48646a; font-size:.76rem; }
.bm-customer-offer-date { text-align:end; }
.bm-customer-offer-date > time { color:var(--kl-ink); font-size:.88rem; font-weight:600; }
body #bm-customer-offers .bm-customer-offer-description { margin:0; color:#48646a; font-size:.9rem; line-height:1.55; overflow-wrap:anywhere; }
.bm-customer-offer-card > footer { display:flex; align-items:center; flex-wrap:wrap; gap:.45rem .65rem; padding-top:.8rem; border-top:1px solid var(--kl-border); }
.bm-customer-offer-card footer .btn { min-height:44px; padding:.55rem .75rem; font-size:.85rem; text-align:center; }
.bm-customer-offer-download { min-height:44px; margin-inline-start:auto; padding:.35rem .2rem; font-size:.82rem; text-decoration:underline; text-underline-offset:.2em; }
body .bm-customer-offers .btn.btn-secondary { color:var(--kl-primary-dark)!important; background:var(--kl-paper)!important; border-color:#b7d6da!important; }
body .bm-customer-offers .btn.btn-secondary:hover { background:var(--kl-mint)!important; }
@media (max-width:650px) {
  body.kl-customer-account #bm-customer-offers .bm-customer-offer-card { padding:.85rem; gap:.75rem; }
  .bm-customer-offers #bm-customer-offers [data-search] { font-size:16px; }
  .bm-customer-offer-card footer .btn { flex:1 1 auto; font-size:.82rem; }
  .bm-customer-offer-download { flex-basis:100%; margin-inline-start:0; text-align:start; }
}

/* Customer account */
.bm-customer-skip {
  position: fixed;
  z-index: 1000;
  inset: 12px auto auto 12px;
  clip-path: inset(100%);
  padding: .7rem .95rem;
  border-radius: 8px;
  background: var(--kl-paper);
  color: var(--kl-primary-dark);
  font-weight: 700;
}
.bm-customer-skip:focus {
  clip-path: none;
  outline: 2px solid var(--kl-primary-dark);
  outline-offset: 3px;
}
.bm-customer-page-actions {
  display: flex;
  justify-content: end;
  margin-block-end: .8rem;
}
.bm-customer-page-actions .btn { min-height: 44px; }
.bm-customer-section-head { gap: .5rem 1rem; margin-block: .8rem; }
.bm-customer-section-head h2 { margin: 0; }
.bm-customer-attention h2 { margin-block-start: 0; }
#bm-customer-support #bm-support-faq h2 { margin-block-end: .6rem; }
.bm-customer-section-nav { display: none; }
@media (max-width: 800px) {
  body.kl-customer-account .bm-heading { margin-bottom: 14px; padding-block: 14px; }
  .bm-customer-page-actions { justify-content: start; }
  .bm-customer-section-head .btn { min-height: 44px; }

  body.kl-account .bm-customer-mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .15rem;
    padding: .4rem .32rem max(.48rem, env(safe-area-inset-bottom));
  }
  .bm-customer-mobile-nav > a {
    position: relative;
    min-inline-size: 0;
    min-block-size: 52px;
    align-content: center;
    justify-items: center;
    padding: .25rem .05rem;
    gap: .28rem;
    font-size: .67rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
  .bm-customer-mobile-nav > a.active { font-weight: 650; }
  .bm-customer-mobile-nav .bm-nav-badge {
    position: absolute;
    inset-block-start: .18rem;
    inset-inline-start: calc(50% + .22rem);
    min-inline-size: 1rem;
    border: 1px solid var(--kl-paper);
    padding: 2px 4px;
    font-size: .625rem;
    line-height: 1.05;
  }

  .bm-customer-section-nav {
    display: flex;
    gap: .25rem;
    margin-block-end: .9rem;
    padding: .24rem;
    border: 1px solid var(--kl-border);
    border-radius: 12px;
    background: var(--kl-mint);
  }
  .bm-customer-section-nav > a {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    min-inline-size: 0;
    min-block-size: 44px;
    padding: .26rem .22rem;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--kl-primary-dark);
    font-size: clamp(.72rem, 3.2vw, .875rem);
    line-height: 1.2;
    text-align: center;
  }
  .bm-customer-section-nav > a[aria-current="page"] {
    border-color: var(--kl-border);
    background: var(--kl-paper);
    font-weight: 650;
  }
  .bm-customer-section-nav .bm-nav-badge {
    flex: 0 0 auto;
    margin-inline-start: 0;
    padding: 1px 5px;
  }
}

/* Customer request management and dedicated offer comparison. */
.bm-customer-archive-tools { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:.6rem 1rem; margin:0 0 .8rem; }
.bm-customer-archive-tools > p { flex:1 1 16rem; margin:0; font-size:.85rem; }
.bm-customer-archive-tools > p:empty { display:none; }
.bm-customer-archive-tools[hidden] { display:none; }
.bm-customer-requests .bm-customer-page-actions { flex-wrap:wrap; gap:.5rem; }
#bm-request-archive-toggle::before { content:none; }
.bm-customer-archive-tools .btn { min-height:40px; padding:.45rem .7rem; font-size:.82rem; }
.bm-customer-project-title { color:inherit; text-decoration:none; }
.bm-customer-project-title:hover { color:var(--kl-primary); text-decoration:underline; text-underline-offset:.2em; }
.bm-customer-request-manage { border-top:1px solid var(--kl-border); padding-top:.5rem; }
.bm-customer-request-manage > summary { width:fit-content; color:var(--kl-primary-dark); cursor:pointer; font-size:.82rem; font-weight:600; padding:.35rem 0; }
.bm-customer-request-manage .bm-actions { margin-top:.45rem; gap:.4rem .8rem; }
.bm-customer-request-manage .btn,.bm-customer-request-manage .bm-linkbutton { min-height:40px; padding:.4rem .6rem; font-size:.82rem; }
.bm-customer-documents { margin:0 0 1rem; }
.bm-customer-documents > .bm-card { margin:0; border:0; box-shadow:none; }
.bm-outcome-options { display:grid; gap:.7rem; padding:0; margin:0; border:0; min-width:0; }
.bm-outcome-options > legend { margin-bottom:.75rem; color:var(--kl-ink); font-size:.9rem; }
.bm-outcome-options > label { display:flex; align-items:flex-start; gap:.7rem; padding:.9rem; border:1px solid var(--kl-border); border-radius:12px; cursor:pointer; }
.bm-outcome-options > label:has(input:checked) { border-color:var(--kl-primary); background:var(--kl-mint); }
body .bm-outcome-options input[type="radio"] { width:1.1rem; height:1.1rem; min-width:1.1rem; margin:.2rem 0 0; padding:0; accent-color:var(--kl-primary); }
.bm-outcome-options span { display:grid; gap:.35rem; }
.bm-outcome-options strong { color:var(--kl-ink); font-size:.95rem; }
.bm-outcome-options small { color:#48646a; font-size:.85rem; font-weight:400; line-height:1.5; }
.bm-comparison-back { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.6rem 1rem; margin-bottom:1rem; }
.bm-comparison-back .bm-account-back { margin:0; }
.bm-comparison-back > a:last-child { color:var(--kl-primary-dark); font-size:.85rem; font-weight:600; }
.bm-comparison-intro { border-radius:12px; background:var(--kl-mint); padding:.8rem 1rem; margin-bottom:1rem; }
.bm-comparison-intro p { margin:0; color:#48646a; font-size:.9rem; line-height:1.55; }
.bm-offer-comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; align-items:stretch; }
body.kl-customer-account .bm-offer-comparison > .bm-compare-offer { display:flex; flex-direction:column; gap:1rem; min-width:0; padding:1.2rem; margin:0; border-top:4px solid var(--bm-tone-purple); background:var(--kl-paper); }
body.kl-customer-account .bm-offer-comparison > .bm-compare-offer[data-offer-state="accepted"] { border-top-color:var(--bm-tone-green); }
.bm-compare-offer header { min-height:5.5rem; }
.bm-compare-offer header .bm-badge { margin-bottom:.65rem; color:var(--bm-tone-purple); background:#f0eafa; }
.bm-compare-offer[data-offer-state="accepted"] header .bm-badge { color:var(--bm-tone-green); background:#e3f3e9; }
body .bm-compare-offer h2 { margin:0; font-size:1.2rem; line-height:1.4; overflow-wrap:anywhere; }
.bm-compare-facts { display:grid; gap:.85rem; margin:0; padding:.8rem 0 1rem; border-block:1px solid var(--kl-border); }
.bm-compare-facts div { display:grid; gap:.2rem; }
.bm-compare-facts dt { color:#48646a; font-size:.82rem; }
.bm-compare-facts dd { margin:0; color:var(--kl-ink); font-size:.95rem; font-weight:600; }
.bm-compare-facts .bm-compare-amount { font-size:clamp(1.5rem,3vw,1.9rem); color:var(--kl-primary-dark); font-variant-numeric:tabular-nums; }
.bm-compare-description { flex:1; }
body .bm-compare-description h3 { margin:0 0 .5rem; font-size:.95rem; }
.bm-compare-description p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; font-size:.9rem; line-height:1.6; color:#48646a; }
.bm-compare-offer footer { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem .8rem; padding-top:.8rem; border-top:1px solid var(--kl-border); }
.bm-compare-offer footer .btn { padding:.6rem .75rem; min-height:44px; font-size:.85rem; }
.bm-compare-offer footer .btn-primary { flex-basis:100%; text-align:center; }
.bm-compare-offer footer .bm-linkbutton { min-height:44px; font-size:.82rem; text-decoration:underline; }
.bm-compare-signed { color:var(--bm-tone-green); font-size:.85rem; }
.bm-compare-history { margin-top:1rem; }
.bm-compare-history > summary { cursor:pointer; color:var(--kl-primary-dark); font-weight:600; }
.bm-compare-history ul { padding:0; margin:1rem 0 0; list-style:none; }
.bm-compare-history li { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem 1rem; padding:.7rem 0; font-size:.85rem; }
.bm-compare-history li + li { border-top:1px solid var(--kl-border); }
@media(max-width:700px) {
 .bm-offer-comparison { grid-template-columns:minmax(0,1fr); gap:.85rem; }
 body.kl-customer-account .bm-offer-comparison > .bm-compare-offer { padding:1rem; gap:.85rem; }
 .bm-compare-offer header { min-height:0; }
 .bm-comparison-back > a:last-child { font-size:.8rem; }
 .bm-outcome-options > label { padding:.75rem; }
}

/* A customer's request is the home for its companies, conversations and quotes. */
.bm-customer-project-nav { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1.2rem; margin:0 0 1rem; padding:.25rem 0 .8rem; border-bottom:1px solid var(--kl-border); }
.bm-customer-project-nav a { color:var(--kl-primary-dark); font-size:.85rem; font-weight:600; text-underline-offset:.2em; }
.bm-customer-project-page .bm-project-progress { padding:1rem; }
.bm-customer-project-page .bm-project-progress h2 { margin:.25rem 0; font-size:1.15rem; }
.bm-customer-project-page .bm-project-progress p { margin:.4rem 0; font-size:.88rem; }
.bm-customer-project-page .bm-project-progress > .bm-muted { margin-top:0; font-size:.78rem; }
.bm-customer-project-page .bm-project-progress .bm-actions { margin-top:.8rem; }
.bm-customer-project-page #bm-project-info { margin-bottom:1.4rem; }
.bm-customer-project-photos { margin:1rem 0 0; }
.bm-customer-project-photos > #bm-project-photos { margin:0; border:0; box-shadow:none; }
.bm-customer-project-page .bm-customer-project-extra > .bm-card { border:0; box-shadow:none; margin:0; }
.bm-customer-project-page .bm-project-fold { margin-bottom:.8rem; }
.bm-customer-project-companies { margin:0 0 1.3rem; }
.bm-customer-companies-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.6rem 1rem; margin-bottom:.8rem; }
body .bm-customer-companies-heading h2 { margin:0 0 .35rem; font-size:1.3rem; }
.bm-customer-companies-heading p { margin:0; font-size:.88rem; color:#48646a; }
body.kl-customer-account .bm-customer-project-companies > .bm-customer-company { margin:0 0 .85rem; padding:1rem; border-left:4px solid var(--kl-primary); }
body.kl-customer-account .bm-customer-project-companies > .bm-customer-company.is-chosen { border-left-color:var(--bm-tone-green); }
.bm-customer-company > header { display:flex; align-items:center; gap:.75rem; margin-bottom:1rem; }
.bm-customer-company > header > div { min-width:0; flex:1; }
.bm-company-avatar { display:grid; place-items:center; flex:0 0 44px; height:44px; border-radius:12px; font-size:1.25rem; font-weight:700; color:var(--kl-primary-dark); background:var(--kl-mint); }
body .bm-customer-company h3 { margin:0 0 .2rem; font-size:1.12rem; line-height:1.35; overflow-wrap:anywhere; }
.bm-customer-company-name { color:var(--kl-ink); text-decoration:none; }
.bm-customer-company-name:hover { color:var(--kl-primary); text-decoration:underline; }
.bm-customer-company > header p { color:#48646a; font-size:.78rem; margin:0; }
.bm-customer-company > header > .bm-badge { color:var(--bm-tone-green); background:#e3f3e9; }
.bm-company-project-columns { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:1.2rem; border-top:1px solid var(--kl-border); padding-top:.9rem; }
.bm-company-project-columns > section { min-width:0; }
body .bm-company-project-columns h4 { font-size:.9rem; margin:0 0 .6rem; color:var(--kl-primary-dark); }
.bm-company-project-chat { display:flex; flex-direction:column; align-items:flex-start; }
.bm-company-project-chat > .bm-row { align-self:stretch; align-items:start; }
.bm-company-project-chat [data-project-unread] { color:var(--kl-primary-dark); background:var(--kl-mint); font-size:.72rem; }
.bm-company-project-chat [data-project-unread][hidden] { display:none; }
body .bm-company-last-message { font-size:.95rem; line-height:1.55; margin:.15rem 0 .5rem; color:var(--kl-ink); overflow-wrap:anywhere; }
.bm-company-project-chat time { color:#48646a; font-size:.76rem; margin-bottom:.8rem; }
.bm-company-project-chat > .btn { margin-top:auto; }
.bm-company-project-quote > .bm-row { align-items:start; gap:.4rem; flex-wrap:wrap; }
.bm-company-project-quote > .bm-row strong { color:var(--kl-ink); font-size:.85rem; }
.bm-company-project-quote .bm-badge { color:var(--bm-tone-purple); background:#f0eafa; font-size:.7rem; }
body .bm-company-quote-amount { margin:.5rem 0 .3rem; color:var(--kl-primary-dark); font-size:1.4rem; font-weight:700; font-variant-numeric:tabular-nums; }
.bm-company-quote-amount small { color:#48646a; font-size:.7rem; font-weight:400; white-space:nowrap; }
.bm-company-project-quote > .bm-muted { margin:0 0 .8rem; font-size:.78rem; }
.bm-company-project-quote .bm-actions { margin:0; gap:.45rem; }
.bm-customer-company .btn,.bm-customer-companies-heading .btn { padding:.55rem .75rem; min-height:44px; font-size:.82rem; }
.bm-company-project-quote + .bm-company-project-quote { margin-top:.9rem; padding-top:.9rem; border-top:1px solid var(--kl-border); }
.bm-company-quote-history { margin-top:.85rem; }
.bm-company-quote-history summary { color:var(--kl-primary-dark); font-size:.78rem; font-weight:600; cursor:pointer; padding:.3rem 0; }
.bm-company-quote-history > .bm-company-project-quote { margin-top:.7rem; }
@media(max-width:700px) {
 .bm-company-project-columns { grid-template-columns:minmax(0,1fr); gap:1rem; }
 .bm-company-project-offers { border-top:1px solid var(--kl-border); padding-top:.9rem; }
 .bm-customer-project-nav { gap:.6rem 1rem; }
 .bm-customer-project-nav a { font-size:.8rem; }
 body.kl-customer-account .bm-customer-project-companies > .bm-customer-company { padding:.85rem; }
 .bm-customer-company > header { flex-wrap:wrap; gap:.6rem; }
 .bm-customer-company > header > .bm-badge { margin-left:calc(44px + .6rem); }
 .bm-customer-companies-heading .btn { flex-basis:100%; text-align:center; }
 .bm-customer-project-page .bm-project-progress .btn { padding:.55rem .7rem; font-size:.8rem; }
}
body.kl-customer-account .bm-customer-project-companies .bm-company-quote-amount { font-size:22px!important; line-height:1.25!important; color:var(--kl-primary-dark)!important; }
body.kl-customer-account .bm-customer-project-companies .bm-company-last-message { font-size:16px!important; line-height:1.5!important; color:var(--kl-ink)!important; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }

/* Customer quotes are indexed by project. Each comparison uses the same rows for every supplier. */
body.kl-customer-account #bm-customer-offers .bm-quote-project {
 margin:0 0 .85rem; padding:clamp(.9rem,2vw,1.35rem); border-left:3px solid var(--kl-primary); min-width:0;
}
.bm-quote-project header {display:flex;align-items:baseline;justify-content:space-between;gap:.5rem 1rem;flex-wrap:wrap}
body.kl-customer-account .bm-quote-project h2 {margin:0;font-size:1.2rem;line-height:1.35;overflow-wrap:anywhere}
.bm-quote-project header a,.bm-quote-project small {font-size:.82rem}
.bm-quote-project h3 {margin:1rem 0 .15rem;font-size:.95rem}
body.kl-customer-account .bm-quote-project p {margin:.35rem 0;color:var(--kl-muted)}
.bm-quote-project ul {margin:0;padding:0;list-style:none}
.bm-quote-project li {padding:.65rem 0;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.7rem;border-bottom:1px solid var(--kl-border)}
.bm-quote-project li:last-child {border-bottom:0}
.bm-quote-project li a {font-weight:600;color:var(--kl-primary-dark);overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:.18em}
.bm-quote-project li small {display:block;color:var(--kl-muted)}
.bm-quote-project li strong {font-variant-numeric:tabular-nums;color:var(--kl-ink);white-space:nowrap}
.bm-quote-project .bm-linkbutton {font-size:.82rem;min-height:32px;padding-inline:.2rem}
.bm-quote-project footer {margin-top:.6rem}
.bm-quote-matrix {overflow-x:auto;max-width:100%;min-width:0;border:1px solid var(--kl-border);border-radius:14px;background:var(--kl-paper)}
.bm-quote-matrix:focus-visible {outline:3px solid var(--kl-primary);outline-offset:2px}
.bm-quote-matrix table {border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:calc(8rem + var(--quote-firms)*8.8rem);font-size:.92rem;line-height:1.45}
.bm-quote-matrix caption,.bm-quote-matrix .bm-quote-accessible-heading {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.bm-quote-matrix :is(th,td) {text-align:left;vertical-align:top;overflow-wrap:anywhere;padding:.8rem .9rem}
.bm-quote-matrix tr:not(:last-child) :is(th,td),.bm-quote-matrix thead th {border-bottom:1px solid var(--kl-border)}
.bm-quote-matrix thead th {background:var(--kl-mint);color:var(--kl-primary-dark);font-size:1.02rem}
.bm-quote-matrix thead small {display:block;margin-top:.2rem;font-size:.76rem;font-weight:500}
.bm-quote-matrix :is(thead,tbody) tr > th:first-child {width:8rem}
.bm-quote-matrix tbody th {font-size:.85rem;color:var(--kl-muted);font-weight:600}
.bm-quote-matrix .bm-mobile-quote-label {display:none}
.bm-quote-total {color:var(--kl-primary-dark);font-size:clamp(1.1rem,2vw,1.5rem);font-variant-numeric:tabular-nums}
.bm-quote-prose {white-space:pre-line}
.bm-quote-unspecified {color:var(--kl-muted)}
.bm-quote-long-text {margin:0}
.bm-quote-long-text summary {cursor:pointer;list-style:none}
.bm-quote-long-text summary::-webkit-details-marker {display:none}
.bm-quote-expand,.bm-quote-chat,.bm-quote-doc-links button {color:var(--kl-primary-dark);text-decoration:underline;text-underline-offset:.17em}
.bm-quote-expand {display:block;font-size:.82rem}
.bm-quote-long-text[open] summary .bm-quote-prose {display:none}
.bm-quote-long-text:not([open]) .bm-quote-expand span:last-child,
.bm-quote-long-text[open] .bm-quote-expand span:first-child {display:none}
.bm-quote-matrix .bm-quote-long-text p {margin:.35rem 0 0}
.bm-quote-doc-links,.bm-quote-decision {display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem .9rem}
.bm-quote-matrix .bm-linkbutton,.bm-quote-chat {font-size:.88rem;min-height:32px;text-align:left}
.bm-quote-matrix .btn {height:auto;min-height:44px;padding:.55rem .75rem;white-space:normal;line-height:1.25;font-size:.85rem}
.bm-quote-swipe {display:none}
.bm-quote-back-compare {display:inline-block;margin-top:1rem}
@media(max-width:700px) {
 .bm-quote-matrix table {min-width:calc(var(--quote-firms)*7.7rem);font-size:.86rem}
 .bm-quote-matrix :is(thead,tbody) tr > th:first-child {width:0;max-width:0;padding:0;border:0}
 .bm-quote-matrix :is(thead,tbody) tr > th:first-child > span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .bm-quote-matrix .bm-mobile-quote-label {display:table-row}
 .bm-quote-matrix tr.bm-mobile-quote-label td {color:var(--kl-muted);padding:.6rem .6rem 0;font-size:.76rem;font-weight:600;border-bottom:0}
 .bm-quote-matrix :is(th,td) {padding:.35rem .6rem .7rem}
 .bm-quote-matrix thead th {padding-block:.85rem;font-size:.92rem}
 .bm-quote-matrix .btn {width:100%;padding:.5rem .35rem}
 .bm-quote-matrix .bm-linkbutton,.bm-quote-chat {min-height:32px;padding:.2rem 0}
 .bm-quote-swipe {display:block;margin-bottom:.35rem;color:var(--kl-muted);font-size:.8rem}
}

/* Customer inbox and account */
.bm-customer-inbox [data-rows] {
  display:grid;
  min-width:0;
  border:1px solid var(--kl-border);
  border-radius:1rem;
  background:var(--kl-paper);
}
.bm-customer-inbox [data-rows] > p,
.bm-customer-inbox [data-rows] > [data-retry] { margin:1rem; }
.bm-customer-inbox .bm-filter[hidden],
.bm-customer-inbox [data-summary][hidden] { display:none; }
.bm-customer-inbox .bm-customer-thread {
  position:relative;
  display:grid;
  gap:.3rem;
  padding:1rem 1.12rem;
  color:var(--kl-ink);
  text-decoration:none;
  overflow-wrap:anywhere;
}
.bm-customer-thread:first-child { border-radius:1rem 1rem 0 0; }
.bm-customer-thread:last-child { border-radius:0 0 1rem 1rem; }
.bm-customer-thread:only-child { border-radius:1rem; }
.bm-customer-thread + .bm-customer-thread { border-top:1px solid var(--kl-border); }
.bm-customer-thread:is(:hover,:focus-visible) { background:var(--kl-mint); }
.bm-customer-thread:focus-visible { outline:2px solid var(--kl-primary-dark); outline-offset:2px; }
.bm-thread-heading { display:flex; align-items:center; flex-wrap:wrap; gap:.35rem .65rem; }
.bm-thread-heading strong { font-size:1.03rem; line-height:1.35; }
.bm-thread-unread { padding:.16rem .5rem; border-radius:1rem; background:var(--kl-mint); color:var(--kl-primary-dark); font-size:.75rem; font-weight:700; }
.bm-thread-request,.bm-customer-thread time { color:var(--kl-muted); font-size:.84rem; line-height:1.45; }
.bm-thread-excerpt { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:1rem; line-height:1.45; }
.bm-customer-thread time { margin-top:.15rem; font-size:.76rem; }
.bm-customer-chat-back { display:flex; align-items:center; justify-content:space-between; gap:.5rem 1rem; flex-wrap:wrap; margin-block-end:.5rem; }
.bm-customer-chat-back a { display:inline-flex; align-items:center; min-height:44px; margin:0; }
.kl-customer-account #bm-notifications-list .bm-notification-meta { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem .65rem; font-size:.8rem; color:var(--kl-muted); }
.kl-customer-account #bm-notifications-list .bm-notification-unread-label { font-weight:700; color:var(--kl-primary-dark); }
body.kl-customer-account #bm-notifications-list article.bm-notification {
  margin-block-end:.65rem;
  padding:.85rem 1rem;
  border:1px solid var(--kl-border);
  border-inline-start:3px solid var(--kl-border);
  border-radius:.85rem;
  background:var(--kl-paper);
  box-shadow:none;
}
body.kl-customer-account #bm-notifications-list article.bm-notification.unread {
  border-inline-start-color:var(--kl-primary);
  background:var(--kl-mint);
}
.kl-customer-account #bm-notifications-list .bm-notification-title {
  display:block;
  max-width:100%;
  padding:.4rem 0;
  margin:0;
  border:0;
  background:transparent;
  color:var(--kl-ink);
  font:inherit;
  font-size:1.04rem;
  font-weight:550;
  line-height:1.4;
  text-align:start;
  overflow-wrap:anywhere;
  cursor:pointer;
}
.kl-customer-account #bm-notifications-list .unread .bm-notification-title { font-weight:730; }
.kl-customer-account #bm-notifications-list .bm-notification-title:hover { text-decoration:underline; text-underline-offset:.16em; }
.kl-customer-account #bm-notifications-list .bm-notification-title:focus-visible { outline:2px solid var(--kl-primary-dark); outline-offset:2px; }
.kl-customer-account #bm-notifications-list :is(.bm-notification-read-label,.bm-notification-unread-label) { margin-inline-start:auto; font-size:.78rem; }
.kl-customer-account #bm-notifications-list .bm-notification-unread-label { padding:.18rem .52rem; border-radius:1rem; color:#fff; background:var(--kl-primary-dark); }
.kl-customer-account #bm-notifications-list .bm-notification-read-label { color:var(--kl-muted); }
.kl-customer-account #bm-notifications-list .bm-notification > p { margin:.1rem 0; }
#bm-customer-account-settings { display:grid; gap:.8rem; min-width:0; }
#bm-customer-account-settings .bm-card { margin:0; padding:clamp(.9rem,2vw,1.3rem); border-color:var(--kl-border); box-shadow:none; }
#bm-customer-account-settings h2 { margin:0 0 .65rem; font-size:1.16rem; }
#bm-customer-account-settings dl { display:grid; gap:.6rem; margin:0 0 1rem; }
#bm-customer-account-settings dl div { display:grid; grid-template-columns:minmax(6rem,.38fr) minmax(0,1fr); align-items:baseline; gap:.45rem; }
#bm-customer-account-settings dt { color:var(--kl-muted); font-size:.85rem; }
#bm-customer-account-settings dd { margin:0; overflow-wrap:anywhere; }
#bm-customer-account-settings summary { cursor:pointer; padding:.7rem 0; min-height:44px; font-weight:650; color:var(--kl-primary-dark); }
#bm-customer-account-settings details[open] { padding-bottom:.75rem; }
#bm-customer-account-settings details + details,
#bm-customer-account-settings .bm-customer-contact details,
#bm-customer-account-settings .bm-customer-delete-account { border-top:1px solid var(--kl-border); }
#bm-customer-account-settings .bm-customer-preferences { padding-block:.25rem; }
#bm-customer-account-settings .bm-customer-contact-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); align-items:end; gap:.35rem 1rem; }
#bm-customer-account-settings .bm-customer-delete-account { margin-top:1rem; padding-top:.75rem; }
#bm-customer-account-settings .bm-formerror:empty { display:none; }
#bm-customer-support #bm-support-faq summary { padding:.65rem .1rem; min-height:44px; cursor:pointer; }
@media (min-width:680px) {
  .bm-customer-thread { grid-template-columns:minmax(0,1fr) auto; }
  .bm-customer-thread > span { grid-column:1; }
  .bm-customer-thread time { grid-column:2; grid-row:1; align-self:center; margin:0; }
}

/* A consistent reading order for offers: supplier, price, then supporting details. */
body.kl-customer-account #bm-customer-offers .bm-quote-project {
  padding:0; overflow:hidden; border:1px solid var(--kl-border); border-radius:16px;
  box-shadow:0 3px 13px rgb(8 27 50 / 4%);
}
#bm-customer-offers .bm-quote-project header {
  padding:.95rem 1.15rem .8rem; background:var(--kl-mint); border-bottom:1px solid var(--kl-border);
}
body.kl-customer-account #bm-customer-offers .bm-quote-project h2 {
  color:var(--kl-ink); font-size:clamp(1.12rem,2vw,1.3rem); font-weight:700; letter-spacing:-.025em;
}
#bm-customer-offers .bm-quote-project header a { color:var(--kl-primary-dark); font-weight:600; text-underline-offset:.2em; }
#bm-customer-offers .bm-quote-project > :is(p,h3,ul,footer) { margin-inline:1.15rem; }
#bm-customer-offers .bm-quote-project > p { margin-block:.8rem .2rem; color:var(--kl-muted); font-size:.81rem; }
#bm-customer-offers .bm-quote-project li { min-height:44px; padding:.45rem 0; }
#bm-customer-offers .bm-quote-project li strong { color:var(--kl-primary-dark); font-size:1.08rem; letter-spacing:-.025em; }
#bm-customer-offers .bm-quote-project li a { text-decoration-color:#8db8b9; }
#bm-customer-offers .bm-quote-project li a:is(:hover,:focus-visible) { text-decoration-color:currentColor; }
#bm-customer-offers .bm-quote-project :is(footer,ul):last-child { margin-bottom:.95rem; }

body.kl-customer-account .bm-quote-matrix {
  border-color:#c9dfe0; border-radius:16px; box-shadow:0 3px 13px rgb(8 27 50 / 4%);
}
.bm-quote-matrix thead th {
  background:var(--kl-primary-dark); color:white; line-height:1.35; font-weight:650;
}
.bm-quote-matrix thead th + th { border-inline-start:1px solid rgb(255 255 255 / 16%); }
.bm-quote-matrix tbody td + td { border-inline-start:1px solid var(--kl-border); }
.bm-quote-matrix tbody tr:has(.bm-quote-total) > :is(th,td) { background:var(--kl-mint); }
.bm-quote-matrix .bm-quote-total {
  font-size:clamp(1.18rem,2.65vw,1.7rem); line-height:1.25; font-weight:700; letter-spacing:-.035em;
}
.bm-quote-matrix tbody tr:not(.bm-mobile-quote-label) > th { color:var(--kl-ink); }
.bm-quote-matrix .bm-quote-prose { color:var(--kl-ink); line-height:1.55; }
.bm-quote-matrix .bm-firm-trust { display:inline-block; color:var(--kl-primary-dark); text-underline-offset:.22em; }

body.kl-customer-account #bm-project-messages .bm-firm-decision {
  padding:1rem 1.15rem .65rem; border-radius:16px; border-color:#c9dfe0;
  box-shadow:0 3px 13px rgb(8 27 50 / 4%);
}
#bm-project-messages .bm-firm-decision h3 { color:var(--kl-ink); font-size:1.17rem; letter-spacing:-.025em; }
body.kl-customer-account #bm-project-messages .bm-firm-decision.is-chosen { border-inline-start:3px solid var(--bm-tone-green); }
#bm-project-messages .bm-firm-price a {
  padding:.45rem .65rem; border-radius:.65rem; color:var(--kl-primary-dark); background:var(--kl-mint);
}
#bm-project-messages .bm-firm-price a:is(:hover,:focus-visible) { background:#e1eeee; }
#bm-project-messages .bm-firm-price strong { font-size:1.24rem; font-weight:700; letter-spacing:-.03em; }
#bm-project-messages .bm-firm-conversation { padding-block:.7rem .4rem; }
#bm-project-messages .bm-firm-conversation > span:first-child {
  flex:0 0 2rem; height:2rem; align-items:center; justify-content:center; border-radius:9px;
  color:var(--kl-primary-dark); background:var(--kl-mint);
}
#bm-project-messages .bm-firm-conversation strong { color:var(--kl-ink); font-size:.96rem; }
#bm-project-messages .bm-firm-conversation > span:last-child { color:var(--kl-primary-dark); font-size:1.22rem; }
@media (min-width:701px) {
  #bm-project-messages .bm-firm-conversation > span:first-child { display:inline-flex; }
}
@media (max-width:700px) {
  #bm-customer-offers .bm-quote-project header { padding:.8rem .85rem .7rem; }
  #bm-customer-offers .bm-quote-project > :is(p,h3,ul,footer) { margin-inline:.85rem; }
  body.kl-customer-account #bm-project-messages .bm-firm-decision { padding:.8rem .85rem .55rem; }
  #bm-project-messages .bm-firm-price a { padding:.35rem .48rem; }
  #bm-project-messages .bm-firm-price strong { font-size:1.12rem; }
  .bm-quote-matrix tbody .bm-mobile-quote-label:first-child td { background:var(--kl-mint); }
  .bm-quote-matrix tr.bm-mobile-quote-label td { color:#415d66; letter-spacing:.012em; }
}
/* Keep the same five destinations across the customer portal. */
body.kl-customer-account .bm-heading .kl-overline,
body.kl-customer-account .bm-heading .bm-active-identity { display:none; }
body.kl-customer-account .bm-sidebar { align-self:start; }
@media(min-width:801px){
 .kl-customer-account .bm-customer-section-nav { display:flex; flex-wrap:wrap; gap:.5rem; margin:0 0 1rem; }
 .kl-customer-account .bm-customer-section-nav > a { display:inline-flex; align-items:center; gap:.45rem; padding:.52rem .8rem; border-radius:.6rem; color:var(--kl-primary-dark); }
 .kl-customer-account .bm-customer-section-nav > a[aria-current] { background:var(--kl-mint); font-weight:650; }
}
.bm-request-brief { margin:0 0 1.5rem; }
.bm-request-brief-meta { display:flex; align-items:center; flex-wrap:wrap; gap:.6rem; font-size:.84rem; color:var(--kl-muted); }
.bm-brief-description,.bm-brief-full { white-space:pre-line; overflow-wrap:anywhere; }
.bm-request-brief .bm-brief-description { margin:.55rem 0 .35rem; line-height:1.5; }
.bm-customer-project-page details.bm-brief-details { border:0; border-radius:0; margin:0; padding:0; background:transparent; }
.bm-brief-details summary,.bm-project-extras summary,.bm-company-quote-history summary { min-height:36px; padding:.4rem 0; cursor:pointer; font-size:.88rem; color:var(--kl-primary-dark); }
.bm-brief-details[open] { padding-bottom:.6rem; }
.bm-brief-details #bm-project-photos { margin:.8rem 0; }
.bm-brief-details .bm-form { max-width:35rem; }
.bm-customer-companies-heading { margin:0 0 .8rem; align-items:center; }
.bm-customer-companies-heading h2 { margin:0; }
body.kl-customer-account .bm-firm-decision { min-width:0; margin:0 0 .7rem; padding:1rem 1.1rem .8rem; border:1px solid var(--kl-border); box-shadow:none; }
body.kl-customer-account .bm-firm-decision.is-chosen { border-left:3px solid var(--bm-tone-green); }
.bm-firm-decision > header { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; gap:.65rem 1rem; }
.bm-firm-decision > header > div { min-width:0; max-width:100%; }
body .bm-firm-decision h3 { margin:0 0 .16rem; line-height:1.3; font-size:1.15rem; overflow-wrap:anywhere; }
.bm-firm-trust { font-size:.83rem; font-weight:550; color:var(--kl-primary-dark); text-underline-offset:.18em; }
.bm-firm-trust .bm-stars { font-size:1em; letter-spacing:0; }
.bm-firm-chosen { margin-inline-start:.45rem; color:var(--bm-tone-green); }
.bm-firm-price { text-align:end; }
.bm-firm-price a { display:grid; gap:.12rem; text-decoration:none; color:var(--kl-primary-dark); }
.bm-firm-price a:is(:hover,:focus-visible) small { text-decoration:underline; }
.bm-firm-price strong { font-size:1.25rem; line-height:1.2; font-variant-numeric:tabular-nums; }
.bm-firm-price small,.bm-firm-price > span { font-size:.8rem; }
.bm-firm-conversation { display:flex; align-items:center; gap:.65rem; border-top:1px solid var(--kl-border); margin-top:.8rem; padding-top:.65rem; color:var(--kl-ink); text-decoration:none; }
.bm-firm-conversation > span:nth-child(2) { flex:1; min-width:0; }
.bm-firm-conversation svg { width:1.15rem; height:1.15rem; color:var(--kl-primary); }
.bm-firm-conversation strong { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:.94rem; line-height:1.4; font-weight:500; overflow-wrap:anywhere; }
.bm-firm-conversation small { display:flex; flex-wrap:wrap; gap:.25rem .6rem; color:var(--kl-muted); font-size:.75rem; }
.bm-firm-conversation small > span { color:var(--kl-primary-dark); }
.bm-firm-conversation:is(:hover,:focus-visible) small > span { text-decoration:underline; }
.bm-firm-conversation [hidden] { display:none; }
.bm-firm-conversation .bm-badge { white-space:nowrap; font-size:.72rem; }
.bm-firm-quote-line { display:flex; gap:.5rem; align-items:center; justify-content:space-between; min-height:40px; font-size:.85rem; border-top:1px solid var(--kl-border); }
.bm-firm-quote-line strong { margin-left:auto; }
.bm-firm-wait { background:var(--kl-mint); border-radius:1rem; padding:1rem 1.1rem; }
.bm-firm-wait h3,.bm-running-outcome h2 { margin:0; font-size:1.05rem; }
.bm-firm-wait p,.bm-running-outcome p { margin:.35rem 0 0; color:var(--kl-muted); }
.bm-running-outcome { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.7rem; margin:1.15rem 0; }
.bm-project-extras { margin:1rem 0 0; border-top:1px solid var(--kl-border); }
.bm-customer-project-page .bm-project-extras > details { border:0; border-bottom:1px solid var(--kl-border); margin:0; border-radius:0; padding:0; }
.bm-project-extras > details > summary { padding:.8rem .05rem; min-height:44px; }
.bm-project-extras > details > summary span { color:var(--kl-muted); font-weight:500; }
.bm-project-extras > details[open] { padding-bottom:.75rem; }
.bm-project-extras .bm-appointment-empty { display:block; }
@media(max-width:650px){
 .bm-customer-companies-heading .btn { flex-basis:auto; }
 body.kl-customer-account .bm-firm-decision { padding:.8rem; }
 .bm-firm-price strong { font-size:1.12rem; }
 .bm-firm-conversation { gap:.45rem; }
 .bm-firm-conversation > span:first-child { display:none; }
}

.bm-request-decision { min-width:0; }
.bm-request-decision .bm-customer-request-category {
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  min-width:0;
  color:var(--kl-primary-dark);
  overflow-wrap:anywhere;
}
.bm-request-category-icon {
  display:inline-grid;
  place-items:center;
  flex:none;
  width:1.85rem;
  height:1.85rem;
  border-radius:.55rem;
  background:var(--kl-mint);
  color:var(--kl-primary-dark);
}
.bm-request-category-icon svg { width:1.05rem; height:1.05rem; }
.bm-request-category-icon[data-tone="amber"] { background:#fbefdb; color:var(--bm-tone-amber); }
.bm-request-category-icon[data-tone="blue"] { background:#e8eff9; color:var(--bm-tone-blue); }
.bm-request-category-icon[data-tone="green"] { background:#e4f2eb; color:var(--bm-tone-green); }
.bm-request-category-icon[data-tone="purple"] { background:#eee8f5; color:var(--bm-tone-purple); }
.bm-request-decision .bm-badge {
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.28rem .6rem;
  font-weight:650;
}
.bm-request-decision .bm-badge::before {
  content:'';
  width:.36rem;
  height:.36rem;
  flex:none;
  border-radius:50%;
  background:currentColor;
}
body.kl-customer-account :is(#bm-request-list,#bm-active-project-list) .bm-request-decision h2 {
  font-size:clamp(1.18rem,2.15vw,1.45rem);
  font-weight:680;
  line-height:1.28;
}
.bm-request-decision .bm-request-decision-update.has-quote {
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:.25rem .8rem;
  padding:.6rem .75rem;
  border-radius:.55rem;
  background:var(--kl-mint);
}
.bm-request-decision .bm-request-decision-update strong {
  min-width:0;
  margin-inline-start:auto;
  color:var(--kl-primary-dark);
  font-size:1rem;
  line-height:1.4;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere;
}
@media(max-width:440px){
  .bm-request-decision .bm-request-decision-update strong { margin-inline-start:0; }
}
.bm-customer-firm-profile {display:grid;gap:.85rem;min-width:0}
body.kl-customer-account .bm-customer-firm-profile .bm-card {margin:0;padding:clamp(1rem,2vw,1.4rem);min-width:0}
.bm-customer-firm-profile h2 {margin:0 0 .55rem;font-size:1.15rem;line-height:1.35}
.bm-customer-firm-identity {display:grid;grid-template-columns:auto minmax(0,1fr);gap:.65rem .85rem;align-items:center}
.bm-customer-firm-identity>:nth-child(n+3) {grid-column:1/-1}
.bm-customer-firm-identity h2,.bm-customer-firm-identity p {margin:0}
.bm-customer-firm-mark {width:3rem;height:3rem;overflow:hidden;display:grid;place-items:center;border-radius:10px;background:var(--kl-mint);color:var(--kl-primary-dark);font-size:1.3rem;font-weight:700}
.bm-customer-firm-mark img {width:100%;height:100%;object-fit:contain}
.bm-customer-firm-profile :is(p,dd) {overflow-wrap:anywhere}
.bm-customer-firm-intro,.bm-firm-public-review p {white-space:pre-line}
.bm-customer-firm-identity dl {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.7rem 1rem;margin:0;padding:.8rem 0 0;border-top:1px solid var(--kl-border)}
.bm-customer-firm-identity dt,.bm-firm-public-review time {font-size:.82rem;color:var(--kl-muted)}
.bm-customer-firm-identity dd {margin:0;font-weight:600}
.bm-firm-public-review {padding:.8rem 0;border-top:1px solid var(--kl-border)}
.bm-firm-public-review header {display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .65rem}
.bm-firm-public-review time {margin-left:auto}

.bm-customer-inbox .bm-customer-thread {
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  gap:.25rem .8rem;
  padding:1rem;
}
.bm-customer-inbox .bm-customer-thread > span,
.bm-customer-inbox .bm-customer-thread > time { grid-column:2; }
.bm-customer-inbox .bm-customer-thread > .bm-thread-monogram,
#bm-customer-account-settings .bm-contact-monogram {
  display:grid;
  place-items:center;
  inline-size:2.5rem;
  block-size:2.5rem;
  border-radius:.8rem;
  font-size:.9rem;
  font-weight:700;
  line-height:1;
  color:var(--kl-primary-dark);
  background:var(--kl-mint);
}
.bm-customer-inbox .bm-customer-thread > .bm-thread-monogram { grid-column:1; grid-row:1 / span 2; }
.bm-customer-inbox .bm-thread-monogram svg,
#bm-customer-account-settings .bm-contact-monogram svg { width:1.3rem; height:1.3rem; }
.bm-customer-inbox .bm-thread-heading strong { font-size:1.07rem; line-height:1.35; color:var(--kl-ink); }
.bm-customer-inbox .bm-thread-request { color:var(--kl-primary-dark); font-weight:550; }
.bm-customer-inbox .bm-thread-excerpt { margin-block:.18rem .12rem; color:var(--kl-ink); }
.bm-customer-inbox .is-unread .bm-thread-monogram,
.bm-customer-inbox .bm-thread-unread { background:#e7effb; color:var(--bm-tone-blue); }
.bm-customer-inbox .bm-customer-thread:hover .bm-thread-heading strong { text-decoration:underline; text-underline-offset:.18em; }
#bm-customer-account-settings .bm-contact-heading { display:flex; align-items:center; gap:.75rem; margin-block-end:.9rem; }
#bm-customer-account-settings .bm-contact-heading h2 { margin:0; font-size:1.24rem; }
#bm-customer-account-settings .bm-contact-monogram { color:var(--kl-paper); background:var(--kl-primary-dark); }
#bm-customer-account-settings dl { gap:0; }
#bm-customer-account-settings dl > div { grid-template-columns:minmax(8.2rem,.42fr) minmax(0,1fr); padding:.5rem 0; }
#bm-customer-account-settings dl dt { white-space:nowrap; }
#bm-customer-account-settings dl > div + div { border-top:1px solid var(--kl-mint); }
#bm-customer-account-settings dd { font-weight:550; color:var(--kl-ink); }
#bm-customer-account-settings .bm-customer-preferences summary {
  display:flex;
  align-items:center;
  gap:.65rem;
  padding:.8rem .12rem;
  list-style:none;
  line-height:1.4;
}
#bm-customer-account-settings .bm-customer-preferences summary::-webkit-details-marker { display:none; }
#bm-customer-account-settings .bm-customer-preferences summary > svg { flex:none; width:1.15rem; height:1.15rem; }
#bm-customer-account-settings .bm-customer-preferences summary::after {
  content:"";
  flex:none;
  width:.45rem;
  height:.45rem;
  margin-inline:auto .3rem;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);
}
#bm-customer-account-settings .bm-customer-preferences details[open] > summary::after { transform:rotate(225deg); }
#bm-customer-account-settings summary:focus-visible { outline:2px solid var(--kl-primary-dark); outline-offset:2px; border-radius:.35rem; }
@media (min-width:680px) {
  .bm-customer-inbox .bm-customer-thread { grid-template-columns:auto minmax(0,1fr) auto; padding:1.05rem 1.2rem; column-gap:.9rem; }
  .bm-customer-inbox .bm-customer-thread > time { grid-column:3; grid-row:1; }
  .bm-customer-inbox .bm-customer-thread > .bm-thread-excerpt { grid-column:2 / -1; }
}
@media (max-width:380px) {
  .bm-customer-inbox .bm-customer-thread { column-gap:.55rem; padding:.8rem .7rem; }
  .bm-customer-inbox .bm-customer-thread > .bm-thread-monogram { inline-size:2.1rem; block-size:2.1rem; }
  #bm-customer-account-settings dl > div { grid-template-columns:minmax(0,1fr); gap:.1rem; }
}

.bm-chat-attachments summary { color:var(--kl-primary-dark); padding:.55rem 0; cursor:pointer; font-size:.86rem; }
.bm-chat-attachments input { max-width:100%; }

/* Customer workspace. Keep practical screens compact and give the overview a welcoming entry. */
body.kl-customer-account {
  background-color:#f7faf9;
}
body.kl-customer-account .bm-wrap {
  width:100%;
  max-width:1180px;
  box-sizing:border-box;
  margin-top:clamp(1rem,2.2vw,1.7rem);
}
body.kl-customer-account .bm-wrap .bm-heading[data-customer-section] {
  --section-ink:var(--kl-primary-dark);
  --section-tint:#ddf0eb;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.7rem 1rem;
  padding:clamp(.9rem,2.3vw,1.65rem);
  margin-bottom:clamp(.85rem,2vw,1.45rem);
  border:1px solid #cee1df;
  border-radius:1.15rem;
  background:linear-gradient(105deg,var(--section-tint),#fff 77%);
}
body.kl-customer-account .bm-wrap .bm-heading[data-customer-section="offers"] { --section-tint:#ede7f2; --section-ink:var(--bm-tone-purple); }
body.kl-customer-account .bm-wrap .bm-heading[data-customer-section="messages"] { --section-tint:#e4ecf8; --section-ink:var(--bm-tone-blue); }
body.kl-customer-account .bm-wrap .bm-heading[data-customer-section="settings"] { --section-tint:#e5efe8; --section-ink:var(--bm-tone-green); }
body.kl-customer-account .bm-wrap .bm-heading[data-customer-section] > div:first-child { min-width:0; flex:1 1 12rem; }
body.kl-customer-account .bm-wrap .bm-heading[data-customer-section] h1 {
  display:flex;
  align-items:center;
  gap:clamp(.6rem,1.4vw,1rem);
  margin:0;
  color:var(--kl-ink);
  font-size:clamp(1.45rem,3vw,2.35rem);
  line-height:1.13;
  letter-spacing:-.035em;
}
.kl-customer-account .bm-section-symbol {
  display:grid;
  flex:none;
  place-items:center;
  width:clamp(2.4rem,4.5vw,3.35rem);
  aspect-ratio:1;
  border:1px solid #ffffffdc;
  border-radius:32%;
  color:var(--section-ink);
  background:#ffffffd9;
}
.kl-customer-account .bm-section-symbol svg { display:block; width:52%; height:52%; }
.kl-customer-account .bm-heading[data-customer-section] p:empty { display:none; }
.kl-customer-account .bm-heading[data-customer-section] > div > h1 + p:not(:empty) { margin:.45rem 0 0; color:#425e63; }
body.kl-customer-account .bm-wrap .bm-heading[data-customer-section="dashboard"] {
  position:relative;
  isolation:isolate;
  display:grid;
  align-content:center;
  justify-content:start;
  min-height:10rem;
  padding:clamp(1.25rem,2.9vw,2.3rem);
  border:0;
  background:var(--kl-primary-dark);
}
.kl-customer-account .bm-heading[data-customer-section="dashboard"]::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0 0 0 46%;
  border-radius:0 1.15rem 1.15rem 0;
  background:linear-gradient(90deg,var(--kl-primary-dark),transparent 46%),
             url('/assets/uniboo-raamrenovatie-960.jpg') center 16%/cover;
}
body.kl-customer-account .bm-wrap .bm-heading[data-customer-section="dashboard"] h1 {
  color:white;
  font-size:clamp(1.85rem,3.1vw,2.75rem);
}
.kl-customer-account .bm-customer-overview .bm-heading .bm-customer-page-actions { justify-content:start; }
body.kl-customer-account .bm-customer-overview .bm-heading .bm-customer-page-actions .btn {
  color:var(--kl-primary-dark)!important;
  background:white!important;
  border-color:transparent!important;
}
body.kl-customer-account .bm-customer-overview .bm-heading .bm-customer-page-actions .btn:hover { background:#dff3ee!important; }
body.kl-customer-account .bm-requests-overview-head h2 { font-size:clamp(1.2rem,2vw,1.45rem); letter-spacing:-.025em; }
body.kl-customer-account .bm-requests-overview-head a { gap:.45rem; font-weight:600; }
body.kl-customer-account .bm-requests-overview-head a svg { width:1rem; height:1rem; }
.kl-customer-account :is(.bm-sidebar,.bm-customer-mobile-nav,.bm-customer-section-nav) a:focus-visible,
.kl-customer-account .bm-customer-page-actions :focus-visible { outline:2px solid var(--bm-tone-blue); outline-offset:2px; }
@media(min-width:801px){
  body.kl-customer-account .bm-wrap .bm-sidebar {
    padding:.65rem;
    background:var(--kl-primary-dark);
    border-radius:1.1rem;
  }
  body.kl-customer-account .bm-wrap .bm-sidebar a {
    gap:.65rem;
    border-radius:.7rem;
  }
  body.kl-customer-account .bm-wrap .bm-sidebar a[aria-current="page"] {
    color:var(--kl-primary-dark);
    background:#e0f3ed;
    box-shadow:none;
    font-weight:700;
  }
  body.kl-customer-account .bm-wrap .bm-sidebar .bm-separator { border-color:#ffffff40; }
}
@media(max-width:800px){
  .kl-customer-account .bm-heading[data-customer-section="dashboard"]::before {
    inset-inline-start:45%;
    background-image:linear-gradient(90deg,var(--kl-primary-dark),transparent 57%),url('/assets/uniboo-raamrenovatie-480.jpg');
  }
  body.kl-customer-account .bm-wrap .bm-heading[data-customer-section="dashboard"] { min-height:8rem; }
  body.kl-customer-account .bm-wrap .bm-heading[data-customer-section="dashboard"] > div:first-child { max-width:60vw; }
  body.kl-customer-account .bm-wrap .bm-heading[data-customer-section] > div:first-child { flex-basis:10rem; }
  body.kl-customer-account .bm-wrap .bm-heading[data-customer-section] .bm-customer-page-actions { margin:0; }
  body.kl-customer-account .bm-customer-mobile-nav { border-top-color:#c5dcda; box-shadow:0 -4px 18px #143e4610; background:#fff; }
  body.kl-customer-account .bm-customer-mobile-nav > a.active { color:var(--kl-primary-dark); background:#e1f1ed; }
}
@media(max-width:470px){
  body.kl-customer-account .bm-wrap .bm-heading[data-customer-section="requests"] { gap:.65rem; }
  body.kl-customer-account .bm-wrap .bm-heading[data-customer-section="requests"] > div:first-child { flex-basis:100%; }
}
