/* Sales calendar (sales-calendar.js). Hotel colour comes in through --hotel
 * on each chip; demand level through .sig-* on each cell. */
#bpSalesCalendarRoot{--sc-line:#d9e1e8;--sc-ink:#17304a;--sc-muted:#5b6b7b;--sc-bg:#fff;--sc-soft:#f4f7fa;--sc-hot:#d9342b;--sc-warm:#e39b12;--sc-some:#7f9db9;font-size:14px;color:var(--sc-ink)}
#bpSalesCalendarRoot .btn{white-space:nowrap}
.bp-sc-banner{padding:10px 14px;border-radius:10px;background:#eef4fb;margin:0 0 12px}
.bp-sc-banner.warn{background:#fdf1e8;color:#8a3b12}
.bp-sc-link{background:none;border:0;padding:0;color:#0d78cc;text-decoration:underline;cursor:pointer;font:inherit}
.bp-sc-toolbar{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin-bottom:10px}
.bp-sc-nav{display:flex;align-items:center;gap:6px}
.bp-sc-title{margin:0 0 0 8px;font-size:18px;font-weight:700}
.bp-sc-loading{font-size:12px;color:var(--sc-muted);margin-left:8px}
.bp-sc-views{display:inline-flex;border:1px solid var(--sc-line);border-radius:999px;overflow:hidden}
.bp-sc-viewbtn{border:0;background:var(--sc-bg);padding:7px 14px;font:inherit;cursor:pointer;color:var(--sc-muted)}
.bp-sc-viewbtn.on{background:var(--sc-ink);color:#fff}
.bp-sc-actions{display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}
.bp-sc-count{display:inline-block;min-width:18px;padding:0 5px;border-radius:999px;background:var(--sc-hot);color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}
.bp-sc-legend{flex-basis:100%;display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;font-size:12px;color:var(--sc-muted)}
.bp-sc-legend-group{display:inline-flex;flex-wrap:wrap;gap:6px 12px;align-items:center}
.bp-sc-hotel{display:inline-flex;align-items:center;gap:5px}
.bp-sc-hotel i{width:10px;height:10px;border-radius:3px;display:inline-block}
.bp-sc-hotel.off{opacity:.4}
.bp-sc-hint{font-style:italic}
.bp-sc-kind{display:inline-flex;align-items:center;gap:4px;cursor:pointer}
.bp-sc-kind input{margin:0;width:auto;height:auto;min-height:0}
.bp-sc-sig{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--sc-some);vertical-align:middle;margin-right:4px}
.bp-sc-sig.warm{background:var(--sc-warm)}
.bp-sc-sig.hot{background:var(--sc-hot);box-shadow:0 0 0 3px rgba(217,52,43,.18)}
.bp-sc-upcoming{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 12px;border:1px solid var(--sc-line);border-radius:10px;background:var(--sc-soft);margin-bottom:10px;font-size:13px}
.bp-sc-stretch{border:1px solid var(--sc-warm);background:#fff7e6;color:#7a4e00;border-radius:999px;padding:3px 10px;font:inherit;font-size:12px;cursor:pointer}
.bp-sc-stretch.hot{border-color:var(--sc-hot);background:#fdecea;color:#8a1c14;font-weight:600}
.bp-sc-body{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start}
.bp-sc-body.has-panel{grid-template-columns:minmax(0,1fr) minmax(300px,380px)}
.bp-sc-main{min-width:0}
.bp-sc-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--sc-muted);padding:0 0 4px}
.bp-sc-weekdays span{padding:0 6px}
.bp-sc-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.bp-sc-cell{min-height:104px;border:1px solid var(--sc-line);border-radius:8px;background:var(--sc-bg);padding:4px;cursor:pointer;display:flex;flex-direction:column;gap:3px;min-width:0}
.bp-sc-grid.view-week .bp-sc-cell{min-height:220px}
.bp-sc-cell.out{background:var(--sc-soft);opacity:.65}
.bp-sc-cell.today{border-color:#0d78cc;box-shadow:inset 0 0 0 1px #0d78cc}
.bp-sc-cell.sig-hot{background:#fff5f4;border-color:#f1b6b2}
.bp-sc-cell.sig-warm{background:#fffaf0}
.bp-sc-cellhead{display:flex;align-items:center;gap:4px;font-size:12px}
.bp-sc-daynum{font-weight:700}
.bp-sc-n{margin-left:auto;font-size:11px;color:var(--sc-muted)}
.bp-sc-chips{display:flex;flex-direction:column;gap:2px;min-width:0}
.bp-sc-chip{--hotel:#334e6b;display:flex;align-items:center;gap:4px;width:100%;border:1px solid transparent;border-left:4px solid var(--hotel);border-radius:5px;background:color-mix(in srgb,var(--hotel) 10%,#fff);color:var(--sc-ink);padding:2px 6px;font:inherit;font-size:12px;line-height:1.25;text-align:left;cursor:pointer;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@supports not (background:color-mix(in srgb,#000 10%,#fff)){.bp-sc-chip{background:#f1f5f9}}
.bp-sc-chip small{color:var(--sc-muted);margin-left:4px}
.bp-sc-chip.kind-event{border-style:dashed;border-left-style:solid;background:#fff;--hotel:#9aa7b4}
.bp-sc-chip.kind-event.impact-critical{--hotel:#6d1fc9;background:#f3ebfd;border-color:#6d1fc9;border-style:solid;font-weight:700}
.bp-sc-chip.kind-event.impact-high{--hotel:#d9342b;background:#fdecea;border-color:#d9342b;font-weight:600}
.bp-sc-chip.kind-event.impact-medium{--hotel:#e39b12;background:#fff7e6;border-color:#e39b12}
.bp-sc-chip.kind-event.impact-low{--hotel:#9aa7b4;color:var(--sc-muted)}
.bp-sc-impact{display:inline-block;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:600;margin-right:4px}
.bp-sc-impact.impact-critical{background:#f3ebfd;color:#5a17a8;border:1px solid #6d1fc9}
.bp-sc-impact.impact-high{background:#fdecea;color:#8a1c14;border:1px solid #d9342b}
.bp-sc-impact.impact-medium{background:#fff7e6;color:#7a4e00;border:1px solid #e39b12}
.bp-sc-impact.impact-low{background:#eceff2;color:#5b6b7b;border:1px solid #c7d0d8}
.bp-sc-chip.kind-rate{font-weight:600}
.bp-sc-chip.won{background:#e6f6f1}
.bp-sc-chip.lost{opacity:.5;text-decoration:line-through}
.bp-sc-more{font-size:11px;color:var(--sc-muted);padding-left:6px}
.bp-sc-daylist{display:flex;flex-direction:column;gap:6px;max-width:720px}
.bp-sc-daylist .bp-sc-chip{white-space:normal;padding:8px 10px;font-size:14px}
.bp-sc-empty{color:var(--sc-muted);font-size:13px;margin:6px 0}
.bp-sc-dayactions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;align-items:center}
.bp-sc-panel{border:1px solid var(--sc-line);border-radius:12px;background:var(--sc-bg);position:sticky;top:8px;max-height:calc(100vh - 24px);overflow:auto}
.bp-sc-panelhead{display:flex;align-items:flex-start;gap:8px;padding:12px 14px;border-bottom:1px solid var(--sc-line);position:sticky;top:0;background:var(--sc-bg);z-index:1}
.bp-sc-panelhead h4{margin:0;font-size:16px}
.bp-sc-panelhead p{margin:3px 0 0;font-size:12px;color:var(--sc-muted)}
.bp-sc-close{margin-left:auto;border:0;background:none;font-size:22px;line-height:1;cursor:pointer;color:var(--sc-muted)}
.bp-sc-panelbody{padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.bp-sc-panelbody .bp-sc-chip{white-space:normal}
.bp-sc-kv{display:grid;grid-template-columns:110px 1fr;gap:8px;font-size:13px}
.bp-sc-kv span{color:var(--sc-muted)}
.bp-sc-kv b{font-weight:500;word-break:break-word}
.bp-sc-stage{display:flex;align-items:center;gap:6px;font-size:13px}
.bp-sc-stage select{min-height:32px}
.bp-sc-req{--hotel:#334e6b;display:flex;flex-direction:column;gap:3px;border:1px solid var(--sc-line);border-left:4px solid var(--hotel);border-radius:8px;background:#fff;padding:8px 10px;text-align:left;font:inherit;cursor:pointer;width:100%}
.bp-sc-req-top{display:flex;justify-content:space-between;gap:8px;align-items:center}
.bp-sc-req-sub{font-size:12px;color:var(--sc-muted)}
.bp-sc-status{font-size:11px;border-radius:999px;padding:2px 8px;background:#e8eef4;color:#334e6b;white-space:nowrap}
.status-open .bp-sc-status,.bp-sc-status.status-open{background:#fdecea;color:#8a1c14}
.status-quoted .bp-sc-status,.bp-sc-status.status-quoted{background:#fff3d6;color:#7a4e00}
.status-awarded .bp-sc-status,.bp-sc-status.status-awarded{background:#e6f6f1;color:#0f5f4f}
.status-lost .bp-sc-status,.bp-sc-status.status-lost,.status-closed .bp-sc-status,.bp-sc-status.status-closed{background:#eceff2;color:#5b6b7b}
.bp-sc-reqmeta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px}
.bp-sc-msg{border-radius:10px;background:var(--sc-soft);padding:8px 10px;font-size:13px;max-width:92%}
.bp-sc-msg.mine{background:#e8f1fb;align-self:flex-end}
.bp-sc-msg-head{font-size:11px;color:var(--sc-muted);margin-bottom:3px}
.bp-sc-rate{font-weight:700;font-size:15px}
.bp-sc-reply{display:flex;flex-direction:column;gap:6px;margin-top:4px;padding-top:8px;border-top:1px dashed var(--sc-line)}
.bp-sc-reply label{display:flex;flex-direction:column;font-size:12px;gap:2px}
.bp-sc-reply label.grow{flex:1}
.bp-sc-reply input{min-height:34px}
.bp-sc-reply [name="rate"]{width:110px}
.bp-sc-row{display:flex;flex-wrap:wrap;gap:8px}
.bp-sc-row>label{flex:1;min-width:140px}
.bp-sc-row.end{justify-content:flex-end;align-items:center}
.bp-sc-decide{display:flex;flex-wrap:wrap;gap:6px;padding-top:8px;border-top:1px dashed var(--sc-line)}
.bp-sc-modal{position:fixed;inset:0;background:rgba(15,30,45,.45);z-index:2000;display:flex;align-items:center;justify-content:center;padding:16px}
.bp-sc-modal-card{background:#fff;border-radius:14px;width:min(640px,100%);max-height:92vh;overflow:auto;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.bp-sc-modal-head{display:flex;align-items:center;gap:8px;padding:14px 18px;border-bottom:1px solid var(--sc-line)}
.bp-sc-modal-head h4{margin:0;font-size:17px}
.bp-sc-modal-body{padding:14px 18px}
.bp-sc-form{display:flex;flex-direction:column;gap:10px}
.bp-sc-form label{display:flex;flex-direction:column;gap:3px;font-size:13px}
.bp-sc-form input,.bp-sc-form select,.bp-sc-form textarea{font:inherit;min-height:36px;border:1px solid var(--sc-line);border-radius:8px;padding:6px 9px}
.bp-sc-form textarea{min-height:60px;resize:vertical}
.bp-sc-fieldset{border:1px solid var(--sc-line);border-radius:8px;padding:8px 10px;display:flex;flex-wrap:wrap;gap:6px 14px}
.bp-sc-fieldset legend{font-size:12px;color:var(--sc-muted);padding:0 4px}
.bp-sc-check{flex-direction:row!important;align-items:center;gap:6px!important}
.bp-sc-check input{width:auto;min-height:0;margin:0}
@media (max-width:900px){
  .bp-sc-body.has-panel{grid-template-columns:minmax(0,1fr)}
  .bp-sc-panel{position:fixed;inset:auto 0 0 0;max-height:80vh;border-radius:14px 14px 0 0;z-index:1500;box-shadow:0 -10px 40px rgba(0,0,0,.25)}
  .bp-sc-actions{margin-left:0;width:100%}
  .bp-sc-actions .btn{flex:1 1 auto}
}
@media (max-width:640px){
  .bp-sc-cell{min-height:64px;padding:3px}
  .bp-sc-grid.view-month .bp-sc-chip{display:none}
  .bp-sc-grid.view-month .bp-sc-chips::after{content:"";display:block}
  .bp-sc-grid.view-month .bp-sc-more{display:none}
  .bp-sc-grid.view-week{grid-template-columns:minmax(0,1fr)}
  .bp-sc-grid.view-week .bp-sc-cell{min-height:0}
  .bp-sc-weekdays{display:none}
  .bp-sc-title{font-size:16px}
}

/* Rate desk */
.bp-sc-actions .btn.on{background:var(--sc-ink);color:#fff;border-color:var(--sc-ink)}
.bp-sc-count.hot{background:var(--sc-hot)}
.bp-sc-count{background:var(--sc-warm)}
.bp-sc-desk{display:flex;flex-direction:column;min-height:420px}
.bp-sc-deskbar{display:flex;flex-direction:column;gap:6px;padding:8px 12px;border-bottom:1px solid var(--sc-line);background:var(--sc-soft)}
.bp-sc-filters{display:flex;flex-wrap:wrap;gap:4px}
.bp-sc-filter{border:1px solid var(--sc-line);background:#fff;border-radius:999px;padding:3px 10px;font:inherit;font-size:12px;cursor:pointer;color:var(--sc-muted)}
.bp-sc-filter.on{background:var(--sc-ink);color:#fff;border-color:var(--sc-ink)}
.bp-sc-search{font:inherit;font-size:13px;min-height:32px;border:1px solid var(--sc-line);border-radius:8px;padding:4px 10px;width:100%}
.bp-sc-desklist{gap:6px}
.bp-sc-req-rates{font-size:13px;font-weight:600;color:#0f5f4f}
.bp-sc-req.status-open{border-color:#f1b6b2;background:#fff8f7}
.bp-sc-back{border:0;background:none;font-size:24px;line-height:1;cursor:pointer;color:var(--sc-muted);padding:0 6px 0 0}
.bp-sc-threadwrap{display:flex;flex-direction:column;flex:1;min-height:0}
.bp-sc-asked{padding:10px 14px;border-bottom:1px solid var(--sc-line);display:flex;flex-direction:column;gap:6px;font-size:13px}
.bp-sc-muted{color:var(--sc-muted)}
.bp-sc-types{border-collapse:collapse;font-size:13px;width:100%}
.bp-sc-types th{text-align:left;font-weight:500;color:var(--sc-muted);font-size:11px;text-transform:uppercase;letter-spacing:.03em;padding:2px 6px 2px 0}
.bp-sc-types td{padding:3px 6px 3px 0;border-top:1px solid var(--sc-line)}
.bp-sc-thread{flex:1;overflow:auto;padding:12px 14px;display:flex;flex-direction:column;gap:8px;background:#fbfcfd;min-height:160px;max-height:48vh}
.bp-sc-msg.quote{border:1px solid #bfe3d6;background:#eef9f4}
.bp-sc-msg.mine.quote{background:#e2f3ec}
.bp-sc-reply{padding:10px 14px;border-top:1px solid var(--sc-line);margin:0}
.bp-sc-quote-grid{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}
.bp-sc-quote-grid label{display:flex;flex-direction:column;font-size:11px;color:var(--sc-muted);gap:2px;flex:1;min-width:88px}
.bp-sc-quote-grid input{min-height:32px;border:1px solid var(--sc-line);border-radius:8px;padding:4px 8px;font:inherit;font-size:14px;width:100%}
.bp-sc-reply .grow{flex:1;min-height:36px;border:1px solid var(--sc-line);border-radius:8px;padding:6px 9px;font:inherit}
.bp-sc-decide{padding:8px 14px 12px;border-top:0}
.bp-sc-chip.rate-open{border-color:var(--sc-hot);background:#fff1ef;font-weight:600}
.bp-sc-chip.rate-quoted{border-color:var(--sc-warm);background:#fff7e6}
.bp-sc-chip.rate-responded{background:#eef4fb}
.bp-sc-types-field{flex-direction:column;align-items:stretch}
.bp-sc-typerow{display:flex;gap:6px;align-items:center}
.bp-sc-typerow select{flex:1 1 160px;min-width:160px;width:auto}
.bp-sc-typerow input{width:130px}
.bp-sc-typerow .bp-sc-close{font-size:18px}
.bp-sc-modal .bp-sc-daylist .bp-sc-chip{white-space:normal}
.bp-sc-chip.multi{border-left-style:double;border-left-width:6px}
.bp-sc-chip.kind-opp{--hotel:#0e7490;background:#e6f6fb;border-style:dotted;border-left-style:solid}
.bp-sc-oppbadge{display:inline-block;margin-left:4px;font-size:10px;font-weight:700;color:#0e7490;background:#e6f6fb;border-radius:999px;padding:0 5px}
.bp-sc-opp{--hotel:#0e7490;display:flex;flex-direction:column;gap:4px;border:1px solid var(--sc-line);border-left:4px solid var(--hotel);border-radius:8px;background:#fff;padding:8px 10px;font-size:13px}
.bp-sc-opp.status-new{background:#f3fbfd;border-color:#9ad4e4}
.bp-sc-opp.status-won{background:#e6f6f1}
.bp-sc-opp.status-dismissed,.bp-sc-opp.status-lost{opacity:.6}
.bp-sc-opp-pitch{font-size:13px}
.bp-sc-opp-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:2px}
.bp-sc-opp-actions .btn{padding:3px 9px;font-size:12px;min-height:28px}
.bp-sc-opplist{display:flex;flex-direction:column;gap:6px}
.bp-sc-status.status-new{background:#e6f6fb;color:#0e5a70}
.bp-sc-status.status-contacted{background:#fff3d6;color:#7a4e00}
.bp-sc-status.status-won{background:#e6f6f1;color:#0f5f4f}
.bp-sc-status.status-dismissed{background:#eceff2;color:#5b6b7b}

/* Sales section tabs and pages */
.bp-sc-tabs{display:flex;flex-wrap:wrap;gap:4px;align-items:center;border-bottom:1px solid var(--sc-line);margin:0 0 12px;padding:0 0 8px}
.bp-sc-tab{border:1px solid transparent;background:none;border-radius:999px;padding:7px 14px;font:inherit;font-size:14px;cursor:pointer;color:var(--sc-muted);width:auto;display:inline-flex;align-items:center;gap:4px;text-align:left}
.bp-sc-tab.on{background:var(--sc-ink);color:#fff}
.bp-sc-tab:not(.on):hover{background:var(--sc-soft);color:var(--sc-ink)}
.tabmode .bp-sc-close[data-sc="close-desk"]{display:none}
.bp-sc-split{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:14px;align-items:start}
.bp-sc-split .bp-sc-panel{position:static;max-height:none}
.bp-sc-threadpane .bp-sc-thread{max-height:none;min-height:260px;flex:1}
.bp-sc-wide .bp-sc-panel{position:static;max-height:none}
.bp-sc-wide .bp-sc-desklist{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:8px;align-items:start}
.bp-sc-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-bottom:14px}
.bp-sc-tile{display:flex;flex-direction:column;gap:2px;border:1px solid var(--sc-line);border-radius:12px;background:#fff;padding:12px 14px;text-align:left;font:inherit;cursor:pointer;color:var(--sc-ink)}
.bp-sc-tile.hot{border-color:#f1b6b2;background:#fff5f4}
.bp-sc-tile.warm{border-color:#f3d28a;background:#fffaf0}
.bp-sc-tile.teal{border-color:#9ad4e4;background:#f3fbfd}
.bp-sc-tile-v{font-size:26px;font-weight:700;line-height:1.1}
.bp-sc-tile-l{font-size:13px}
.bp-sc-tile-s{font-size:12px;color:var(--sc-muted)}
.bp-sc-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px;margin-bottom:12px}
.bp-sc-card{border:1px solid var(--sc-line);border-radius:12px;background:#fff;padding:12px 14px}
.bp-sc-card h4{margin:0 0 8px;font-size:15px}
.bp-sc-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px;font-size:13px}
.bp-sc-list small{color:var(--sc-muted)}
.bp-sc-table{width:100%;border-collapse:collapse;font-size:13px}
.bp-sc-table th{text-align:left;font-weight:500;color:var(--sc-muted);font-size:11px;text-transform:uppercase;letter-spacing:.03em;padding:4px 6px}
.bp-sc-table td{padding:6px;border-top:1px solid var(--sc-line);vertical-align:top}
.bp-sc-rowactions{white-space:nowrap}
.bp-sc-mode{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:start;border:1px solid var(--sc-line);border-radius:10px;padding:8px 10px;cursor:pointer}
.bp-sc-mode.on{border-color:var(--sc-ink);background:var(--sc-soft)}
.bp-sc-mode input{margin-top:3px;width:auto;min-height:0}
.bp-sc-mode b{grid-column:2}
.bp-sc-mode span{grid-column:2;font-size:12px;color:var(--sc-muted)}
.bp-sc-mode input{grid-row:1 / span 2}
.bp-sc-details summary{cursor:pointer;font-size:13px;color:var(--sc-muted);margin:4px 0}
@media (max-width:900px){.bp-sc-split{grid-template-columns:minmax(0,1fr)}}
.bp-sc-kindsel{width:auto;min-width:150px}
.bp-sc-deskbar .bp-sc-row{gap:6px}
.bp-sc-deskbar .bp-sc-row .bp-sc-search:first-child{flex:1}
.bp-sc-accbar .bp-sc-row{align-items:center;flex-wrap:wrap}
.bp-sc-accbar .bp-sc-search:first-child{flex:1;min-width:220px}
.bp-sc-acctable td{font-size:13px}
.bp-sc-acctable tr.overdue td{background:#fff5f4}
.bp-sc-overdue{color:#8a1c14}
.bp-sc-acc h4{margin:12px 0 6px;font-size:14px}
.bp-sc-inline{margin:6px 0}
.bp-sc-inline .bp-sc-row{align-items:flex-end}
.bp-sc-inline label{font-size:12px}
.bp-sc-inline label.grow{flex:2}
.bp-sc-timeline li{border-left:2px solid var(--sc-line);padding-left:8px}
.bp-sc-actbody{font-size:12px;color:var(--sc-muted);margin-top:2px}
.bp-sc-rooms{font-size:11px;font-weight:700;color:#0f5f4f;background:#e6f6f1;border-radius:999px;padding:0 5px}
.bp-sc-demand{border:1px solid #bfe3d6;background:#eef9f4;border-radius:8px;padding:6px 10px;font-size:13px;margin-bottom:6px}
.bp-sc-paste{border:1px dashed #9ad4e4;background:#f3fbfd;border-radius:10px;padding:10px 12px;margin-bottom:10px}
.bp-sc-paste label{display:flex;flex-direction:column;gap:4px;font-size:13px}
.bp-sc-paste textarea{font:inherit;min-height:80px;border:1px solid var(--sc-line);border-radius:8px;padding:6px 9px;resize:vertical}
.bp-sc-review{border:1px solid #f3d28a;background:#fff7e6;color:#7a4e00;border-radius:8px;padding:6px 10px;font-size:13px}
.bp-sc-msg.original{background:#fff7e6;border:1px dashed #e39b12;max-width:100%}
.bp-sc-msg.original.email{background:#eef4ff;border-color:#4a7bd0;overflow-wrap:anywhere;word-break:break-word}
.bp-sc-contact{font-size:12px;margin-bottom:4px;color:#2c4a7a}
.bp-sc-find{margin-left:auto;display:flex;gap:4px;align-items:center}
.bp-sc-find input{font:inherit;font-size:13px;min-height:32px;border:1px solid var(--sc-line);border-radius:999px;padding:4px 12px;width:220px}
.bp-sc-find .btn{min-height:32px;padding:0 10px}
.bp-sc-hits li{padding:4px 0;border-bottom:1px solid var(--sc-line)}
@media (max-width:900px){.bp-sc-find{margin-left:0;width:100%}.bp-sc-find input{flex:1;width:auto}}

/* Shared portal green, regular lettering, and a compact sales work surface. */
#bpSalesCalendarRoot,.bp-sc-modal{--sc-line:#d8e3dd;--sc-ink:#214b3e;--sc-muted:#566d63;--sc-bg:#fff;--sc-soft:#f3f7f4;color:var(--sc-ink);font-weight:400}
#bpSalesCalendarRoot *, .bp-sc-modal *{box-sizing:border-box}
#bpSalesCalendarRoot :is(h3,h4,b,strong,button,th),.bp-sc-modal :is(h4,b,strong,button,th){font-weight:400}
#bpSalesCalendarRoot .btn,.bp-sc-modal .btn{border-radius:8px;font-size:13px;min-height:36px;padding:7px 12px}
#bpSalesCalendarRoot .btn.primary,.bp-sc-modal .btn.primary{background:#1b5845;border-color:#1b5845;color:#fff}
#bpSalesCalendarRoot :is(input,select,textarea),.bp-sc-modal :is(input,select,textarea){color:#244d3f;background:#fff;max-width:100%}
#bpSalesCalendarRoot :is(button,a,input,select,textarea):focus-visible,.bp-sc-modal :is(button,a,input,select,textarea):focus-visible{outline:2px solid #bd761d;outline-offset:3px}
#view-sales .bp-sales-hero{background:#174c3b;color:#fff;border:0;border-radius:12px;padding:18px 22px;margin-bottom:14px;min-height:0}
#view-sales .bp-sales-hero h2{font-size:24px;line-height:1.25;color:#fff;font-weight:400;margin:4px 0}
#view-sales .bp-sales-hero .bp-workspace-kicker{font-size:11px;letter-spacing:.11em;color:#d2e6da;font-weight:400}
#view-sales .bp-sales-hero p{color:#d2e6da;font-size:13px;margin:0}
.bp-sc-navstrip{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;border-bottom:1px solid var(--sc-line);padding-bottom:10px;min-width:0}
.bp-sc-tabs{border:0;padding:0;margin:0;gap:3px;min-width:0}
.bp-sc-tab{white-space:nowrap;flex:none;gap:6px;padding:8px 11px;font-size:13px;min-height:38px;border-radius:8px}
.bp-sc-tab.on{background:#e7f2eb;color:#174c3b;border-color:#bad5c5}
.bp-sc-count{flex:none;min-width:20px;height:20px;line-height:20px;background:#e3eae5;color:#244d3f;font-weight:400}
.bp-sc-count.hot{background:#f7e1cb;color:#7a4216}
.bp-sc-find{margin-left:auto;min-width:0}
.bp-sc-find input{border-radius:8px;width:190px}
.bp-sc-workhead,.bp-sc-sectionhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.bp-sc-workhead h3{font-size:20px;margin:0 0 3px}
.bp-sc-workhead p,.bp-sc-sectionhead p{font-size:12px;color:var(--sc-muted);margin:0;line-height:1.5}
.bp-sc-workhead .bp-sc-dayactions{margin:0}
.bp-sc-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}
.bp-sc-tile{padding:10px 12px;border-radius:10px;gap:4px;min-width:0}
.bp-sc-tile-v{font-size:24px;font-weight:400;line-height:1.2}
.bp-sc-tile-l{font-size:12px;line-height:1.35}
.bp-sc-tile-s{font-size:11px;line-height:1.4}
.bp-sc-tile.hot{background:#fff9f3;border-color:#e7d2bb}
.bp-sc-tile.teal{background:#eff7f1;border-color:#c3dcca}
.bp-sc-actioncard,.bp-sc-pipeline{border:1px solid var(--sc-line);border-radius:12px;background:#fff;padding:14px;margin-bottom:14px;min-width:0}
.bp-sc-sectionhead{align-items:flex-start}
.bp-sc-sectionhead h4{margin:0 0 4px;font-size:16px}
.bp-sc-total{font-size:12px;white-space:nowrap;padding:4px 8px;border-radius:6px;background:var(--sc-soft)}
.bp-sc-filters{gap:5px}
.bp-sc-filter{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:4px 10px;border-radius:7px;white-space:nowrap}
.bp-sc-filter.on{background:#215b47;border-color:#215b47;color:white}
.bp-sc-filter span{font-size:11px;min-width:15px}
.bp-sc-actionlist{margin-top:10px}
.bp-sc-actionrow{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(120px,.5fr);align-items:center;gap:12px;border:0;border-top:1px solid var(--sc-line);background:transparent;text-align:left;color:var(--sc-ink);padding:11px 4px;width:100%;font:inherit;cursor:pointer;line-height:1.45}
.bp-sc-actionrow:hover{background:#f2f7f3}
.bp-sc-actionmain,.bp-sc-actionmeta{display:flex;flex-direction:column;min-width:0;gap:3px}
.bp-sc-actiontitle{font-size:14px;overflow-wrap:anywhere}
.bp-sc-actiondetail{font-size:12px;color:var(--sc-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bp-sc-actionmeta{font-size:12px;align-items:flex-start}
.bp-sc-actiondue{font-size:12px;display:flex;justify-content:space-between;gap:6px}
.bp-sc-actiondue>span{font-size:20px;line-height:18px}
.bp-sc-showmore{margin-top:8px}
.bp-sc-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bp-sc-card{padding:12px;border-radius:10px;min-width:0}
.bp-sc-card h4{color:#214b3e}
.bp-sc-list{gap:0}
.bp-sc-list>li{padding:8px 0;border-bottom:1px solid #e8eeea;line-height:1.55;overflow-wrap:anywhere}
.bp-sc-list>li:last-child{border-bottom:0}
.bp-sc-link{color:#24664e;text-underline-offset:3px;line-height:1.5}
.bp-sc-pipelinebar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:8px}
.bp-sc-pipelinebar>.bp-sc-search{max-width:300px;margin-left:auto;min-height:36px}
.bp-sc-resultcount{font-size:12px;color:var(--sc-muted);margin:8px 0}
.bp-sc-leadrow{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(130px,.65fr) minmax(160px,.8fr);gap:14px;padding:13px 4px;border-top:1px solid var(--sc-line);align-items:center;font-size:13px}
.bp-sc-leadrow>div{min-width:0;overflow-wrap:anywhere}
.bp-sc-leadrow small{display:block;color:var(--sc-muted);font-size:12px;margin-top:5px}
.bp-sc-leadmain>.bp-sc-link{font-size:14px;text-align:left}
.bp-sc-leadnext{display:flex;flex-direction:column;gap:3px;align-items:flex-start}
.bp-sc-nextform{margin-top:14px;padding:12px;border:1px solid var(--sc-line);background:var(--sc-soft);border-radius:10px}
.bp-sc-nextform h4{margin:0}
.bp-sc-nextform textarea{min-height:100px}
.bp-sc-modal{padding:16px;background:rgba(16,42,33,.48)}
.bp-sc-modal-card{max-height:calc(100dvh - 32px)}
.bp-sc-modal-head{position:sticky;top:0;z-index:2;background:#174c3b;color:white;border:0}
.bp-sc-modal-head .bp-sc-close{color:white;min-width:36px;min-height:36px}
.bp-sc-modal .bp-sc-kv{padding:7px 0;border-bottom:1px solid #edf1ee}
.bp-sc-threadpane .bp-sc-thread{min-height:120px;max-height:42vh}
.bp-sc-msg.mine{background:#eaf4ee}
.bp-sc-panelhead{background:#f1f7f3}
.bp-sc-panelhead p{line-height:1.5}
.bp-sc-back{min-width:34px;min-height:34px}
.bp-sc-req-top{flex-wrap:wrap;align-items:flex-start}
.bp-sc-req-top>b{flex:1;min-width:120px}
.bp-sc-wide .bp-sc-desklist{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))}
.bp-sc-acctable td{overflow-wrap:anywhere}
.bp-sc-acctable th:first-child{width:20%}
.bp-sc-opp-pitch{line-height:1.5}
.bp-sc-empty{padding:8px 0;line-height:1.6}
@media(min-width:1600px){.bp-sc-tiles{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:1100px){.bp-sc-leadrow{grid-template-columns:1.2fr 1fr}.bp-sc-leadvalue,.bp-sc-leadnext{font-size:12px}.bp-sc-navstrip>.bp-sc-find{width:100%;margin-left:0}.bp-sc-find input{flex:1;width:auto}}
@media(max-width:900px){.bp-sc-split .bp-sc-panel,.bp-sc-wide .bp-sc-panel{inset:auto;box-shadow:none;z-index:auto;border-radius:10px;min-height:0}.bp-sc-split:not(.has-selection) .bp-sc-threadpane{display:none}.bp-sc-split.has-selection>.bp-sc-panel:first-child{display:none}.bp-sc-threadpane .bp-sc-thread{max-height:40dvh}.bp-sc-cols{grid-template-columns:1fr}.bp-sc-actionrow{grid-template-columns:minmax(0,1fr) 140px}.bp-sc-actionmeta{grid-column:1;grid-row:2;flex-direction:row;flex-wrap:wrap}.bp-sc-actiondue{grid-column:2;grid-row:1 / span 2;align-items:center}.bp-sc-acctable{display:block}.bp-sc-acctable thead{display:none}.bp-sc-acctable tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bp-sc-acctable tr{display:flex;flex-direction:column;border:1px solid var(--sc-line);border-radius:10px;padding:10px;min-width:0}.bp-sc-acctable td{display:block;border:0;padding:3px;background:none!important}.bp-sc-acctable tr.overdue{border-color:#e7c9b4;background:#fffaf6}.bp-sc-acctable td::before{display:inline-block;font-size:11px;color:var(--sc-muted);margin-right:5px}.bp-sc-acctable td:nth-child(2)::before{content:'Type ·'}.bp-sc-acctable td:nth-child(3)::before{content:'Hotel ·'}.bp-sc-acctable td:nth-child(4)::before{content:'Status ·'}.bp-sc-acctable td:nth-child(5)::before{content:'Contacts ·'}.bp-sc-acctable td:nth-child(6)::before{content:'Last contact ·'}.bp-sc-acctable td:nth-child(7)::before{content:'Next action ·'}}
@media(max-width:600px){
 #view-sales .bp-sales-hero{padding:14px;border-radius:10px;margin-bottom:10px}#view-sales .bp-sales-hero h2{font-size:21px}#view-sales .bp-sales-hero p{font-size:12px}
 .bp-sc-navstrip{gap:7px;margin-bottom:12px}.bp-sc-tabs{flex-wrap:nowrap;overflow-x:auto;width:100%;padding:0 0 5px;scrollbar-width:thin}.bp-sc-tab{min-height:44px;padding:8px 10px}.bp-sc-find input{min-height:40px}
 .bp-sc-workhead{align-items:flex-start;flex-wrap:wrap;gap:10px}.bp-sc-workhead h3{font-size:19px}.bp-sc-workhead .bp-sc-dayactions{width:100%}.bp-sc-workhead .bp-sc-dayactions .btn{flex:1}
 .bp-sc-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.bp-sc-tile{padding:10px}.bp-sc-tile-v{font-size:24px}.bp-sc-tile:last-child{grid-column:1/-1;display:grid;grid-template-columns:45px 1fr;align-items:center}.bp-sc-tile:last-child .bp-sc-tile-v{grid-row:1 / span 2}.bp-sc-tile:last-child .bp-sc-tile-s{grid-column:2}
 .bp-sc-actioncard,.bp-sc-pipeline{padding:11px}.bp-sc-sectionhead p{font-size:11px}.bp-sc-total{padding:4px;font-size:11px}
 .bp-sc-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.bp-sc-filter{min-height:40px;flex:none}
 .bp-sc-actionrow{grid-template-columns:minmax(0,1fr);gap:5px;padding:12px 0}.bp-sc-actionmeta{grid-row:auto;grid-column:auto;align-items:center;gap:7px;font-size:11px}.bp-sc-actiondue{grid-row:auto;grid-column:auto;font-size:11px}.bp-sc-actiondetail{font-size:12px}.bp-sc-actiontitle{font-size:14px}
 .bp-sc-pipelinebar{display:block}.bp-sc-pipelinebar>.bp-sc-search{max-width:none;margin-top:8px;font-size:16px}.bp-sc-leadrow{grid-template-columns:1fr 1fr;gap:10px;padding:13px 0}.bp-sc-leadmain{grid-column:1 / -1}.bp-sc-leadnext{grid-column:1/-1;flex-direction:row;justify-content:space-between}
 .bp-sc-acctable tbody{grid-template-columns:1fr}.bp-sc-accbar{padding:10px}.bp-sc-accbar .bp-sc-row>*{min-width:0;max-width:100%}.bp-sc-accbar .bp-sc-search:first-child{min-width:0;flex-basis:100%}
 #bpSalesCalendarRoot .btn,.bp-sc-modal .btn{min-height:44px;white-space:normal}.bp-sc-opp-actions .btn{font-size:12px}
 .bp-sc-modal{padding:8px}.bp-sc-modal-card{max-height:calc(100dvh - 16px);width:100%;border-radius:10px}.bp-sc-modal-head{padding:10px 12px}.bp-sc-modal-head h4{font-size:16px;overflow-wrap:anywhere}.bp-sc-modal-head .bp-sc-close{min-width:44px;min-height:44px}.bp-sc-modal-body{padding:12px}.bp-sc-modal input:not([type=checkbox]):not([type=radio]),.bp-sc-modal select,.bp-sc-modal textarea{font-size:16px;min-height:44px}.bp-sc-kv{grid-template-columns:88px minmax(0,1fr)}.bp-sc-typerow{flex-wrap:wrap}.bp-sc-typerow select{flex:1;min-width:120px}.bp-sc-typerow input{width:90px}.bp-sc-typerow .bp-sc-close{min-width:32px;min-height:44px}
 .bp-sc-reply input{font-size:16px;min-height:44px}.bp-sc-reply .grow{min-width:0;width:100%}.bp-sc-reply .bp-sc-row .btn{flex:none}.bp-sc-row>label{min-width:min(140px,100%)}.bp-sc-threadpane .bp-sc-thread{max-height:35dvh}.bp-sc-panelhead{padding:10px}.bp-sc-back{min-width:44px;min-height:44px}.bp-sc-kindsel{min-width:0}
 .bp-sc-wide>.bp-sc-table:not(.bp-sc-acctable){display:block;max-width:100%;overflow:auto}.bp-sc-chip{min-height:32px}.bp-sc-grid.view-month .bp-sc-cell{min-height:64px}.bp-sc-daylist .bp-sc-chip{min-height:44px}
}
/* Portal theme uses important hero colours; keep this section's green header. */
#view-sales .hero.bp-sales-hero{background:#174c3b!important;background-image:none!important}
#view-sales .hero.bp-sales-hero h2{color:#fff!important}
#view-sales .hero.bp-sales-hero :is(p,.bp-workspace-kicker){color:#d2e6da!important}
@media(min-width:1200px){.bp-sc-tiles{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:600px){.bp-sc-tiles{display:flex;overflow-x:auto;padding-bottom:7px;scroll-snap-type:x proximity}.bp-sc-tile,.bp-sc-tile:last-child{display:flex;flex-direction:column;align-items:flex-start;flex:0 0 154px;min-height:110px;scroll-snap-align:start}.bp-sc-tile:last-child .bp-sc-tile-v{grid-row:auto}.bp-sc-tile:last-child .bp-sc-tile-s{grid-column:auto}}
#bpSalesCalendarRoot .bp-sc-types{min-width:0!important;width:100%;table-layout:fixed}
#bpSalesCalendarRoot .bp-sc-types th:first-child{width:48%}
#bpSalesCalendarRoot .bp-sc-acctable{min-width:0!important;max-width:100%}
@media(max-width:600px){.bp-sc-accbar .bp-sc-row>.bp-sc-kind{flex:0 0 100%;width:100%;white-space:nowrap}.bp-sc-accbar .bp-sc-row>.btn{flex:1}.bp-sc-acctable tbody{width:100%}.bp-sc-acctable tr{width:100%}}
/* Assigned Sales work: compact owner labels and direct team drilldowns. */
.bp-sc-leadowner{display:inline-flex;max-width:100%;margin-top:7px;padding:3px 7px;border-radius:5px;background:#edf5ef;color:#245a45;font-size:12px;font-weight:400;overflow-wrap:anywhere}
.bp-sc-leadowner.unassigned{background:#fff3df;color:#805415}
.bp-sc-owner-filter{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--sc-muted);min-width:0}
.bp-sc-owner-filter select{max-width:300px;min-width:140px;min-height:36px;font:inherit;color:var(--sc-ink);background:#fff;border:1px solid var(--sc-line);border-radius:7px;padding:6px 10px}
.bp-sc-team-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 16px}
.bp-sc-team-totals>button,.bp-sc-person-stats>button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:12px;border:1px solid var(--sc-line);border-radius:8px;background:#f2f7f3;color:var(--sc-ink);font:inherit;font-weight:400;text-align:left;cursor:pointer;min-width:0}
.bp-sc-team-totals>button:hover,.bp-sc-person-stats>button:hover{background:#e4f0e8;border-color:#a6c2b1}
.bp-sc-team-totals span{font-size:26px;font-weight:400}
.bp-sc-team-totals small,.bp-sc-person-stats small{font-size:12px;line-height:1.4;color:#52685c}
.bp-sc-team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:10px}
.bp-sc-person{padding:14px;border:1px solid var(--sc-line);border-radius:10px;min-width:0}
.bp-sc-person h4{margin:0 0 4px;font-size:16px;font-weight:400;overflow-wrap:anywhere}
.bp-sc-person h4 small{font-size:12px;color:var(--sc-muted)}
.bp-sc-person p{margin:0;color:var(--sc-muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.bp-sc-person-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:12px 0}
.bp-sc-person-stats>button{padding:9px 6px;background:#fff;border-color:#e4ece6}
.bp-sc-person-stats span{font-size:22px}
.bp-sc-person-stats small{font-size:11px}
.bp-sc-assignment-fields>label{flex:1;min-width:0}
.bp-sc-assignment-fields select{width:100%;min-width:0}
.bp-sc-pipeline>.bp-sc-filters{max-width:100%}
@media(max-width:600px){
 .bp-sc-team-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}.bp-sc-team-totals>button{padding:10px}
 .bp-sc-team-grid{grid-template-columns:1fr}.bp-sc-person{padding:11px}.bp-sc-person-stats>button{min-height:66px}.bp-sc-person-stats small{font-size:11px}
 .bp-sc-owner-filter{display:block;font-size:12px}.bp-sc-owner-filter select{display:block;max-width:none;width:100%;min-height:44px;font-size:16px;margin:4px 0 8px}
 .bp-sc-assignment-fields{display:grid;grid-template-columns:1fr;gap:10px}.bp-sc-assignment-fields>label{width:100%;min-width:0}
 .bp-sc-leadnext{flex-wrap:wrap;gap:7px}.bp-sc-leadnext .bp-sc-link{min-height:36px;display:inline-flex;align-items:center}
}

@media(max-width:600px){#view-sales .bp-sales-hero{padding:10px 12px}#view-sales .bp-sales-hero h2{font-size:19px}#view-sales .bp-sales-hero p{display:none}.bp-sc-nextform{margin-top:0}}

.bp-sc-unassigned-note{display:flex;flex-wrap:wrap;gap:6px;font-size:12px;padding:9px 11px;background:#fff7e9;border-radius:7px;color:#72532b;margin:8px 0 12px}.bp-sc-unassigned-note .bp-sc-link{font-size:12px}

/* Accounts: keep the contact and next step together, with compact phone cards. */
.bp-sc-accounts{border:1px solid var(--sc-line);border-radius:12px;background:#fff;padding:16px;min-width:0}
.bp-sc-account-filters{display:flex;gap:6px;margin:12px 0}
.bp-sc-account-toolbar{display:grid;grid-template-columns:minmax(200px,2fr) minmax(130px,1fr) minmax(160px,1fr);gap:10px;align-items:end}
.bp-sc-account-toolbar label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--sc-muted);min-width:0}
.bp-sc-account-toolbar :is(input,select){width:100%;min-width:0;min-height:38px;border:1px solid var(--sc-line);border-radius:8px;padding:7px 10px;font:inherit;font-size:13px}
.bp-sc-accounts .bp-sc-acctable{table-layout:fixed;width:100%;margin:0}
.bp-sc-accounts .bp-sc-acctable th:first-child{width:35%}
.bp-sc-accounts .bp-sc-acctable th:nth-child(2){width:30%}
.bp-sc-accounts .bp-sc-acctable td{vertical-align:top;padding:14px 12px;font-size:13px;line-height:1.5;background:#fff;overflow-wrap:anywhere}
.bp-sc-accounts .bp-sc-acctable tr.overdue td{background:#fffdf9}
.bp-sc-accounts .bp-sc-acctable tr:hover td{background:#f5f9f6}
.bp-sc-accounts .bp-sc-acctable td:first-child{padding-left:4px}
.bp-sc-accounts .bp-sc-acctable small{display:block;color:var(--sc-muted);font-size:11px;margin-top:4px}
.bp-sc-account-name{display:block;font-size:15px;text-align:left;text-decoration:none}
.bp-sc-account-name:hover{text-decoration:underline}
.bp-sc-account-meta,.bp-sc-account-state,.bp-sc-account-action,.bp-sc-account-links{display:block;margin:5px 0 0;overflow-wrap:anywhere}
.bp-sc-account-meta,.bp-sc-account-state{font-size:12px;color:var(--sc-muted)}
.bp-sc-account-state:empty{display:none}
.bp-sc-account-links{font-size:12px;line-height:1.7}
.bp-sc-account-links a,.bp-sc-account-detail a{color:#24664e;text-underline-offset:3px;overflow-wrap:anywhere}
.bp-sc-account-due{font-size:12px;display:block;color:#3d6653}
.bp-sc-account-action{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:5px}
.bp-sc-account-error{padding:9px 11px;border-radius:7px;background:#fff4e7;color:#814617;font-size:13px;line-height:1.5;margin:8px 0 0}
.bp-sc-account-modal .bp-sc-modal-card{width:min(900px,100%)}
.bp-sc-account-detail{font-size:13px;line-height:1.5;min-width:0}
.bp-sc-account-subtitle{margin:0 0 10px;color:var(--sc-muted);overflow-wrap:anywhere}
.bp-sc-account-detail>.bp-sc-dayactions{margin:0 0 14px;gap:7px}
.bp-sc-account-detailgrid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px;align-items:start}
.bp-sc-account-next,.bp-sc-account-contactcard{min-width:0;padding:14px;border:1px solid var(--sc-line);border-radius:10px}
.bp-sc-account-next{background:#f2f8f4}
.bp-sc-account-detail h4{margin:0 0 8px;font-size:16px;font-weight:400}
.bp-sc-account-next>p{margin:0 0 12px}
.bp-sc-account-next .bp-sc-row{align-items:flex-end}
.bp-sc-account-next .bp-sc-row>label{flex:1;min-width:0}
.bp-sc-account-contacts{list-style:none;margin:0;padding:0}
.bp-sc-account-contacts li{padding:10px 0;border-bottom:1px solid var(--sc-line);overflow-wrap:anywhere}
.bp-sc-account-contacts li:first-child{padding-top:0}.bp-sc-account-contacts li:last-child{border-bottom:0;padding-bottom:0}
.bp-sc-account-contacts li>small{display:block;color:var(--sc-muted);margin-top:3px}
.bp-sc-account-disclosure{border-top:1px solid var(--sc-line);padding:12px 0;margin-top:12px;min-width:0}
.bp-sc-account-disclosure summary{cursor:pointer;font-size:13px;padding:3px 0;min-height:30px;color:#245e46}
.bp-sc-account-disclosure summary>span{margin-left:5px;color:var(--sc-muted)}
.bp-sc-account-disclosure[open]>summary{margin-bottom:10px}
.bp-sc-account-disclosure .bp-sc-row>label{min-width:0;flex:1}
.bp-sc-account-detail .bp-sc-kv>div{min-width:0;overflow-wrap:anywhere}
.bp-sc-account-activity{margin-top:18px}
.bp-sc-account-log{border:1px solid var(--sc-line);border-radius:9px;padding:12px;background:#fafcfb;margin-bottom:12px}
.bp-sc-account-log>.btn{align-self:flex-end}.bp-sc-account-log .bp-sc-row{align-items:flex-start}.bp-sc-account-log .bp-sc-row>label:first-child{flex:0 0 130px;min-width:0}.bp-sc-account-log .bp-sc-row>.grow{min-width:0;flex:1}
.bp-sc-account-timeline{list-style:none;margin:0;padding:0}
.bp-sc-account-timeline>li{padding:12px 0;border-bottom:1px solid #e8eeea;overflow-wrap:anywhere}
.bp-sc-account-timeline>li:last-child{border-bottom:0}.bp-sc-account-timeline p{margin:5px 0;white-space:pre-wrap}.bp-sc-account-timeline small{display:block;color:var(--sc-muted);font-size:11px;margin-top:4px}
.bp-sc-account-eventmeta{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--sc-muted)}
.bp-sc-account-eventmeta>span{color:#2a6148}.bp-sc-account-timeline details summary{cursor:pointer;color:#24664e;padding:5px 0}.bp-sc-account-detail .bp-sc-actbody{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px}
.bp-sc-account-modal summary:focus-visible{outline:2px solid #bd761d;outline-offset:3px}
@media(max-width:900px){
 .bp-sc-accounts .bp-sc-acctable tbody{gap:10px}.bp-sc-accounts .bp-sc-acctable tr{padding:12px;gap:10px}.bp-sc-accounts .bp-sc-acctable td,.bp-sc-accounts .bp-sc-acctable td:first-child{padding:0}.bp-sc-accounts .bp-sc-acctable td::before{content:none}.bp-sc-accounts .bp-sc-acctable td:not(:first-child)::before{content:attr(data-label);display:block;font-size:11px;color:var(--sc-muted);margin:0 0 4px}.bp-sc-accounts .bp-sc-acctable tr.overdue{background:#fffdf9}
}
@media(max-width:600px){
 .bp-sc-accounts{padding:11px}.bp-sc-account-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.bp-sc-account-toolbar .bp-sc-account-search{grid-column:1/-1}.bp-sc-account-toolbar :is(input,select){font-size:16px;min-height:44px}
 .bp-sc-account-detailgrid{grid-template-columns:minmax(0,1fr)}.bp-sc-account-next,.bp-sc-account-contactcard{padding:12px}.bp-sc-account-detail>.bp-sc-dayactions{gap:6px}.bp-sc-account-detail>.bp-sc-dayactions>.btn{flex:1;font-size:12px;padding:7px 8px}
 .bp-sc-account-next .bp-sc-row{flex-wrap:wrap}.bp-sc-account-next .bp-sc-row>label{flex:1 1 140px}.bp-sc-account-next .bp-sc-row>.btn{flex:1 1 110px}
 .bp-sc-account-log .bp-sc-row{display:block}.bp-sc-account-log .bp-sc-row>label{margin-bottom:8px}.bp-sc-account-log>.btn{width:100%}
 .bp-sc-account-disclosure summary{min-height:40px;display:list-item;padding:8px 0}.bp-sc-account-eventmeta{font-size:11px;flex-wrap:wrap}.bp-sc-account-links a{display:inline-block;padding:4px 0}.bp-sc-account-name{min-height:30px}
}
/* Assigned account follow-ups stay beside the next action on every screen. */
.bp-sc-account-owner{display:block;color:#315f48;font-size:12px;line-height:1.5;margin:4px 0 8px;overflow-wrap:anywhere}
.bp-sc-account-owner.unassigned{color:#8a5b20}
.bp-sc-account-ownerbar{display:flex;align-items:center;justify-content:flex-end;margin:10px 0}
.bp-sc-account-ownerbar label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--sc-muted)}
.bp-sc-account-ownerbar select{font:inherit;font-size:13px;padding:7px 10px;min-height:38px;max-width:260px;border:1px solid var(--sc-line);border-radius:8px;background:#fff}
.bp-sc-account-assignment-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 12px;border:1px solid #e4d5b9;border-radius:8px;background:#fffaf0;color:#785423;text-align:left;font:inherit;font-size:13px;cursor:pointer}
.bp-sc-account-assignment-notice span{font-size:12px;white-space:nowrap}
.bp-sc-account-next .bp-sc-account-done{background:transparent;border-color:#b7d0c0;color:#245e46}
.bp-sc-account-done[hidden]{display:none!important}
@media(max-width:600px){.bp-sc-account-ownerbar{justify-content:flex-start}.bp-sc-account-ownerbar label{width:100%;justify-content:space-between}.bp-sc-account-ownerbar select{min-width:0;max-width:75%;font-size:16px;min-height:44px}.bp-sc-account-assignment-notice{align-items:flex-start;flex-direction:column;gap:5px}.bp-sc-account-next .bp-sc-account-done{width:100%}}

/* The whole year remains a readable set of months, including on a phone. */
.bp-sc-year-hint{font-size:12px;color:var(--sc-muted);padding:10px 14px 0}
.bp-sc-yeargrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:0;min-width:0}
.bp-sc-year-month{border:1px solid var(--sc-line);border-radius:10px;padding:10px;background:#fff;min-width:0}
.bp-sc-year-monthhead{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}
.bp-sc-year-monthhead>button{border:0;background:transparent;color:#245e46;font:inherit;font-size:15px;font-weight:400;text-align:left;cursor:pointer;padding:6px 2px}
.bp-sc-year-monthhead>button>span{font-size:12px;color:var(--sc-muted)}
.bp-sc-year-monthhead>small{font-size:11px;color:var(--sc-muted);white-space:nowrap}
.bp-sc-year-weekdays,.bp-sc-year-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.bp-sc-year-weekdays>span{text-align:center;font-size:10px;color:var(--sc-muted);padding:5px 0}
.bp-sc-year-day{position:relative;border:1px solid transparent;border-radius:6px;background:#f7f9f7;color:#355947;font:inherit;font-size:12px;font-weight:400;min-width:0;min-height:35px;padding:4px 2px;cursor:pointer}
.bp-sc-year-day.has-items{background:#edf5ef;border-color:#d8e7dc}
.bp-sc-year-day.warm{background:#fff5de;border-color:#eed7a4}.bp-sc-year-day.hot{background:#ffe5dc;border-color:#efc1b0}
.bp-sc-year-day.today{box-shadow:inset 0 0 0 1px #226149;color:#164f39}
.bp-sc-year-day>small{display:block;font-size:9px;line-height:1.1;color:#427258}
.bp-sc-year-day:hover,.bp-sc-year-monthhead>button:hover{background:#e8f1eb}
.bp-sc-year-day:focus-visible,.bp-sc-year-monthhead>button:focus-visible{outline:2px solid #bd761d;outline-offset:2px}
@media(max-width:1100px){.bp-sc-yeargrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.bp-sc-yeargrid{grid-template-columns:minmax(0,1fr);padding:8px;gap:10px}.bp-sc-year-day{min-height:44px;font-size:13px}.bp-sc-year-monthhead>button{min-height:44px}.bp-sc-year-weekdays>span{font-size:11px}}

.bp-sc-extra-actions{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.bp-sc-selected-day{scroll-margin-block-start:80px;padding:8px 0;outline:none}
.bp-sc-selected-day:focus-visible{outline:2px solid #bd761d;outline-offset:4px;border-radius:6px}
.bp-sc-selected-day h3{font-size:18px;margin:8px 0 0;line-height:1.4;font-weight:400}
.bp-sc-day-rates,.bp-sc-day-other{display:flex;flex-direction:column;gap:6px;padding:12px;border:1px solid var(--sc-line);border-radius:10px;background:#fff}
.bp-sc-day-rates{background:#f4f8f5;border-color:#c5d9cc}
.bp-sc-day-sectionhead{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bp-sc-daylist h4{font-size:14px;font-weight:400;margin:0;line-height:1.4}
.bp-sc-daylist h4 span{font-size:12px;color:var(--sc-muted);margin-left:5px}
.bp-sc-daylist .bp-sc-empty{padding:8px 0;margin:0;font-size:13px}
.bp-sc-daylist .bp-sc-chip{text-align:left}
.bp-sc-daylist .btn.primary{background:#1d5e44!important;border-color:#1d5e44!important;color:#fff!important;font-weight:400!important}
@media(max-width:700px){.bp-sc-selected-day{scroll-margin-block-start:92px}.bp-sc-selected-day>.bp-sc-link{display:inline-flex;align-items:center;min-height:44px}.bp-sc-day-sectionhead{flex-wrap:wrap}.bp-sc-day-sectionhead>.btn{min-height:44px!important}.bp-sc-day-rates,.bp-sc-day-other{padding:10px}}

/* Chat-first rate requests use the same green, regular-weight portal style. */
.bp-sc-rate-chat-modal .bp-sc-modal-card{width:min(640px,100%)}
.bp-sc-rate-chat-form .bp-sc-rate-hotel{display:flex;flex-direction:row;align-items:center;gap:10px;font-size:12px}.bp-sc-rate-hotel select{flex:1;min-width:0}
.bp-sc-rate-chat-form .bp-sc-paste{background:#f2f8f4;border:1px solid #c9ddcf;margin:0;padding:12px}.bp-sc-rate-chat-form .bp-sc-paste label{font-size:15px;font-weight:400;gap:10px}
.bp-sc-rate-chat-form .bp-sc-paste textarea{min-height:160px;max-height:45vh;line-height:1.6;background:#fff;padding:10px}
.bp-sc-rate-chat-form .bp-sc-paste>.bp-sc-muted{font-size:11px;display:block;margin-top:6px}
.bp-sc-request-details{border-top:1px solid var(--sc-line);padding-top:9px}.bp-sc-request-details summary{padding:7px 0;cursor:pointer;color:#386a51;font-size:13px}.bp-sc-request-details[open]>summary{margin-bottom:10px}.bp-sc-request-details>label,.bp-sc-request-details>.bp-sc-row,.bp-sc-request-details>fieldset{margin-bottom:10px}
.bp-sc-request-details [hidden],.bp-sc-rate-chat-form [data-sc-review][hidden]{display:none!important}
.bp-sc-reply textarea{font:inherit;font-size:14px;font-weight:400;line-height:1.55;width:100%;min-height:90px;max-height:40vh;resize:vertical;border:1px solid #bfd3c6;border-radius:9px;background:#fff;padding:10px;color:#284e3b}
.bp-sc-reply .bp-sc-chatlabel{gap:6px;font-size:12px;color:#416751}
.bp-sc-reply-footer{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}.bp-sc-manual-rates{min-width:0;flex:1}.bp-sc-manual-rates summary{color:#4c715c;padding:8px 0;font-size:12px;cursor:pointer}.bp-sc-manual-rates[open] summary{margin-bottom:5px}.bp-sc-reply-footer>.btn{flex:none;white-space:nowrap}
.bp-sc-quote-preview{background:#eaf5ed;color:#245e46;padding:9px 10px;border-radius:7px;border:1px solid #c3dec9;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.bp-sc-quote-preview.needs-review{background:#fff7e9;border-color:#e9d4af;color:#7d5a24}.bp-sc-quote-preview[hidden]{display:none!important}
.bp-sc-shared-note{color:#5e786a;font-size:11px;line-height:1.5}.bp-sc-msg{overflow-wrap:anywhere}.bp-sc-msg.original{background:#f3f7f3;border:1px solid #d7e4d9}
.bp-sc-modal .bp-sc-rate-chat-form .btn.primary,#bpSalesCalendarRoot .bp-sc-reply .btn.primary,#bpSalesCalendarRoot .bp-sc-actions .btn.primary{background:#1d5e44!important;border-color:#1d5e44!important;color:#fff!important;font-weight:400!important}
.bp-sc-calendar-options{grid-column:1/-1;min-width:0;border-top:1px solid var(--sc-line);padding-top:4px;width:100%}.bp-sc-calendar-options>summary{font-size:12px;color:#406951;cursor:pointer;padding:8px 0}.bp-sc-calendar-options .bp-sc-upcoming{padding:9px 0 0;margin-top:6px;border-top:1px solid var(--sc-line)}
@media(max-width:600px){.bp-sc-rate-chat-modal .bp-sc-modal-body{padding:12px}.bp-sc-rate-chat-form .bp-sc-paste textarea{font-size:16px;min-height:150px}.bp-sc-reply textarea{font-size:16px;min-height:96px}.bp-sc-reply-footer>.btn{min-height:44px}.bp-sc-manual-rates summary{min-height:44px;display:list-item;padding-top:12px}.bp-sc-calendar-options>summary{min-height:44px;padding:13px 0}.bp-sc-calendar-options .bp-sc-legend{padding-top:4px}.bp-sc-rate-hotel select{font-size:16px;min-height:44px}}

#bpSalesCalendarRoot .bp-sc-desk-new{background:#1d5e44!important;color:#fff!important;border-color:#1d5e44!important;font-weight:400!important;align-self:flex-start;min-height:40px}
@media(max-width:600px){#bpSalesCalendarRoot .bp-sc-desk-new{width:100%;min-height:44px}}

/* Rate requests: a readable summary, optional source text and one composer. */
.bp-sc-rate-layout{grid-template-columns:minmax(280px,350px) minmax(0,1fr);gap:12px}
.bp-sc-rate-layout .bp-sc-panel{min-width:0;min-height:0}
.bp-sc-rate-layout .bp-sc-panelhead{position:static;min-width:0}
.bp-sc-rate-layout .bp-sc-panelhead>div{min-width:0}
.bp-sc-rate-layout .bp-sc-req{gap:5px;padding:11px 12px;white-space:normal;overflow-wrap:anywhere;font-weight:400;background:#fff}
.bp-sc-rate-layout .bp-sc-req.selected{border-color:#498367;background:#eef6f0;box-shadow:inset 0 0 0 1px #498367}
.bp-sc-rate-layout .bp-sc-req-top{justify-content:flex-start;gap:5px}
.bp-sc-rate-layout .bp-sc-req-title{font-size:14px;line-height:1.45;white-space:normal;overflow:visible;text-overflow:clip}
.bp-sc-rate-layout .bp-sc-req-stay{font-size:12px;line-height:1.45;color:#355947}
.bp-sc-rate-layout .bp-sc-req-sub{font-size:11px;line-height:1.45}
.bp-sc-rate-layout .bp-sc-req-rates{font-weight:400;font-size:12px}
.bp-sc-rate-head{display:block;padding:10px 14px 12px}
.bp-sc-rate-headbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
.bp-sc-rate-head .bp-sc-back{display:inline-flex;align-items:center;gap:5px;font-size:22px;padding:0;min-height:40px;font-weight:400}
.bp-sc-rate-head .bp-sc-back span{font-size:12px}
.bp-sc-rate-head h4{font-size:17px;line-height:1.4;font-weight:400;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;scroll-margin-block-start:90px}
.bp-sc-rate-head h4:focus-visible,[data-rate-list-heading]:focus-visible{outline:2px solid #bd761d;outline-offset:3px}
.bp-sc-rate-layout .bp-sc-asked{padding:12px 14px;gap:10px}
.bp-sc-stay-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
.bp-sc-stay-summary>div{min-width:0}
.bp-sc-stay-summary dt{font-size:11px;color:var(--sc-muted);margin-bottom:4px}
.bp-sc-stay-summary dd{margin:0;font-size:13px;line-height:1.5;font-weight:400}
.bp-sc-stay-summary dd small{font-size:11px;color:var(--sc-muted);white-space:nowrap}
.bp-sc-room-quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:5px}
.bp-sc-room-quote{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;border:1px solid #dbe7dd;border-radius:7px;background:#f4f8f5;padding:8px 9px;font-size:12px;line-height:1.4}
.bp-sc-room-quote>span{min-width:0;overflow-wrap:anywhere}.bp-sc-room-quote small{font-size:11px;color:var(--sc-muted)}
.bp-sc-room-price{color:#245e46;white-space:nowrap;font-weight:400}
.bp-sc-rate-quick{display:flex;flex-wrap:wrap;gap:6px;padding:10px 14px}
.bp-sc-rate-layout .bp-sc-rate-quick>.btn.primary{background:#1d5e44!important;border-color:#1d5e44!important;color:#fff!important;font-weight:400!important}
.bp-sc-original-request{margin:0 14px 10px;border:1px solid var(--sc-line);border-radius:8px;background:#fff}
.bp-sc-original-request>summary,.bp-sc-rate-more>summary{padding:10px 12px;min-height:40px;font-size:12px;line-height:20px;color:#38634d;cursor:pointer;overflow-wrap:anywhere}
.bp-sc-original-request>summary>span{float:right;color:var(--sc-muted);font-size:11px}
.bp-sc-original-request .bp-sc-msg.original{margin:0;padding:10px 12px;border:0;border-top:1px solid var(--sc-line);border-radius:0 0 8px 8px;background:#fafcfb;font-size:12px;line-height:1.6}
.bp-sc-conversation-label{padding:4px 14px 7px;font-size:12px;color:#426650}.bp-sc-conversation-label>span{color:var(--sc-muted);margin-left:5px}
.bp-sc-rate-layout .bp-sc-thread{min-height:0;max-height:300px;max-height:min(36dvh,300px);padding:10px 14px;gap:8px;background:#fafcfb;overscroll-behavior:contain}
.bp-sc-rate-layout .bp-sc-thread>.bp-sc-empty{margin:0;padding:0;font-size:12px}
.bp-sc-rate-layout .bp-sc-msg{font-size:13px;line-height:1.5;min-width:0;max-width:95%;font-weight:400}
.bp-sc-rate-layout .bp-sc-rate{font-size:14px;font-weight:400}
.bp-sc-rate-layout .bp-sc-reply{padding:12px 14px;background:#fff;position:static}
.bp-sc-rate-layout .bp-sc-reply textarea{min-height:80px;scroll-margin-block:110px}
.bp-sc-rate-more{border-top:1px solid var(--sc-line)}
.bp-sc-rate-more .bp-sc-decide{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 12px}
.bp-sc-rate-layout .bp-sc-search:focus,.bp-sc-rate-layout button:focus-visible,.bp-sc-rate-layout summary:focus-visible{outline:2px solid #bd761d;outline-offset:2px}
@media(max-width:900px){
 #view-sales.bp-sales-rates .bp-sales-hero{display:none!important}
 #bpSalesCalendarRoot.rate-thread-mode .bp-sc-find{display:none}
 #bpSalesCalendarRoot.rate-thread-mode .bp-sc-navstrip{margin-bottom:8px;padding-bottom:5px}
 .bp-sc-rate-layout{grid-template-columns:minmax(0,1fr)}
 .bp-sc-rate-layout .bp-sc-threadpane{overflow:visible}
 .bp-sc-rate-layout .bp-sc-deskbar{padding:10px}
 .bp-sc-rate-layout .bp-sc-search{min-height:44px;font-size:16px}
 .bp-sc-rate-layout .bp-sc-filter{min-height:44px}
 .bp-sc-rate-head{padding:6px 12px 10px}.bp-sc-rate-head .bp-sc-back{min-height:44px}
 .bp-sc-rate-headbar{margin-bottom:2px}.bp-sc-rate-head h4{font-size:16px}
 .bp-sc-rate-layout .bp-sc-asked{padding:10px 12px;gap:8px}
 .bp-sc-rate-quick{padding:8px 12px}.bp-sc-rate-quick>.btn{min-height:44px!important}
 .bp-sc-room-quotes{grid-template-columns:minmax(0,1fr)}.bp-sc-room-quote{padding:7px 9px}
 .bp-sc-original-request{margin:0 12px 8px}
 .bp-sc-original-request>summary,.bp-sc-rate-more>summary,.bp-sc-rate-layout .bp-sc-manual-rates>summary{min-height:44px;padding-top:12px;padding-bottom:12px}
 .bp-sc-rate-layout .bp-sc-thread{max-height:32dvh;padding:10px 12px}
 .bp-sc-rate-layout .bp-sc-reply{padding:10px 12px calc(10px + env(safe-area-inset-bottom))}
 .bp-sc-rate-layout .bp-sc-reply textarea{font-size:16px;min-height:88px;max-height:35dvh}
 .bp-sc-rate-layout .bp-sc-reply-footer>.btn{min-height:44px;white-space:nowrap!important}
 .bp-sc-rate-layout .bp-sc-quote-grid input{min-height:44px;font-size:16px}
 .bp-sc-rate-layout .bp-sc-decide>.btn{min-height:44px}
}

/* The main portal already labels Sales. Give its Year overview the available
   desktop height; phones keep the roomy cards and normal navigation above. */
@media(min-width:1101px){
 #view-sales.bp-sales-year .bp-sales-hero{display:none}
 #bpSalesCalendarRoot.year-mode{container-type:inline-size;container-name:sales-year}
 #bpSalesCalendarRoot.year-mode .bp-sc-navstrip{flex-wrap:nowrap;gap:6px;margin-bottom:4px;padding-bottom:3px}
 #bpSalesCalendarRoot.year-mode .bp-sc-tabs{flex:1;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;gap:1px}
 #bpSalesCalendarRoot.year-mode .bp-sc-tab{min-height:30px;padding:4px 7px;font-size:12px}
 #bpSalesCalendarRoot.year-mode .bp-sc-find{flex:none;width:auto;margin-left:auto;gap:3px}
 #bpSalesCalendarRoot.year-mode .bp-sc-find input{width:120px;min-height:28px;height:28px;padding:4px 7px;font-size:12px}
 #bpSalesCalendarRoot.year-mode .btn{min-height:28px;padding:4px 8px;font-size:12px;line-height:18px}
 #bpSalesCalendarRoot.year-mode .bp-sc-toolbar{position:relative;gap:5px 10px;margin-bottom:4px;flex-wrap:nowrap}
 #bpSalesCalendarRoot.year-mode .bp-sc-nav{gap:4px}
 #bpSalesCalendarRoot.year-mode .bp-sc-title{font-size:16px;margin-left:5px;line-height:22px}
 #bpSalesCalendarRoot.year-mode .bp-sc-viewbtn{min-height:28px;padding:4px 11px;font-size:12px;line-height:18px}
 #bpSalesCalendarRoot.year-mode .bp-sc-actions{margin-left:auto;flex:none}
 #bpSalesCalendarRoot.year-mode .bp-sc-calendar-options{width:auto;flex:none;border:0;padding:0}
 #bpSalesCalendarRoot.year-mode .bp-sc-calendar-options>summary{min-height:28px;padding:5px 0;font-size:12px;line-height:18px;white-space:nowrap}
 #bpSalesCalendarRoot.year-mode .bp-sc-calendar-options[open]>.bp-sc-calendar-options-body{position:absolute;z-index:4;left:0;right:0;top:100%;padding:14px;background:#fff;border:1px solid var(--sc-line);border-radius:10px;box-shadow:0 8px 24px #143d2420}
 #bpSalesCalendarRoot.year-mode .bp-sc-year-hint{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 #bpSalesCalendarRoot.year-mode .bp-sc-year-month{padding:2px;border-radius:6px}
 #bpSalesCalendarRoot.year-mode .bp-sc-year-monthhead{gap:4px;margin:0;padding:0 3px;height:24px}
 #bpSalesCalendarRoot.year-mode .bp-sc-year-monthhead>button{min-height:24px;padding:2px 0;font-size:12px;line-height:18px}
 #bpSalesCalendarRoot.year-mode .bp-sc-year-monthhead>small{font-size:10px}
 #bpSalesCalendarRoot.year-mode .bp-sc-year-weekdays,#bpSalesCalendarRoot.year-mode .bp-sc-year-days{gap:0}
 #bpSalesCalendarRoot.year-mode .bp-sc-year-weekdays>span{font-size:9px;padding:0;line-height:10px}
 #bpSalesCalendarRoot.year-mode .bp-sc-year-day{height:24px;min-height:24px;min-width:24px;padding:0;border-radius:4px;font-size:12px;line-height:22px;display:flex;align-items:center;justify-content:center;gap:3px}
 #bpSalesCalendarRoot.year-mode .bp-sc-year-day>small{display:inline;font-size:8px;line-height:1;color:#27523b}
 #bpSalesCalendarRoot.year-mode .bp-sc-loading{font-size:10px;margin-left:0}
}
@container sales-year (min-width:1150px){
 #bpSalesCalendarRoot.year-mode .bp-sc-yeargrid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
 #bpSalesCalendarRoot.year-mode .bp-sc-year-day{height:28px;min-height:28px}
 #bpSalesCalendarRoot.year-mode .bp-sc-year-monthhead{height:28px}
}
@media(max-width:700px){
 #bpSalesCalendarRoot .bp-sc-nav{flex-wrap:wrap;min-width:0;width:100%}
 #bpSalesCalendarRoot .bp-sc-nav>.btn{flex-shrink:0;min-width:44px;min-height:44px;white-space:nowrap!important}
 #bpSalesCalendarRoot .bp-sc-nav>.bp-sc-title{flex:1 1 150px;min-width:0;margin-left:4px;line-height:1.4}
}
@media(max-width:375px){
 .bp-sc-yeargrid{padding:2px;gap:8px}
 .bp-sc-year-month{padding:4px}
 .bp-sc-year-weekdays,.bp-sc-year-days{gap:2px}
}

/* Area radius: one quiet control, with a usable slider on phone and in the app. */
#bpSalesCalendarRoot .bp-sc-area{width:100%;min-width:0;border:1px solid var(--sc-line);border-radius:10px;background:#f4f8f5;color:#264e40;font-weight:400}
#bpSalesCalendarRoot .bp-sc-area>summary{cursor:pointer;min-height:40px;padding:9px 12px;font-size:13px;line-height:20px}
#bpSalesCalendarRoot .bp-sc-area>summary>span{margin-right:10px;font-weight:400}
#bpSalesCalendarRoot .bp-sc-area-value{color:#164f3b}
#bpSalesCalendarRoot .bp-sc-area-count{color:#526b61;font-size:12px}
#bpSalesCalendarRoot .bp-sc-area-body{padding:0 12px 12px}
#bpSalesCalendarRoot .bp-sc-area-controls{display:grid;grid-template-columns:minmax(200px,1fr) minmax(180px,1fr) auto;align-items:center;gap:16px}
#bpSalesCalendarRoot .bp-sc-area-controls label{display:flex;flex-wrap:wrap;gap:5px;font-size:12px;font-weight:400;min-width:0}
#bpSalesCalendarRoot .bp-sc-area-controls select{width:100%;min-width:0;min-height:40px;border:1px solid #b9ccbf;border-radius:7px;background:#fff;padding:7px;font:inherit;font-size:14px;color:inherit}
#bpSalesCalendarRoot .bp-sc-radius-label output{margin-left:auto;font-variant-numeric:tabular-nums}
#bpSalesCalendarRoot input[data-sc=area-radius]{width:100%;height:30px;min-height:30px;padding:0!important;margin:0;accent-color:#1c654b;cursor:pointer;touch-action:pan-y}
#bpSalesCalendarRoot .bp-sc-radius-scale{display:flex;width:100%;justify-content:space-between;font-size:11px;color:#526b61}
#bpSalesCalendarRoot .bp-sc-area-help{font-size:12px;line-height:1.5;margin:8px 0;color:#526b61;font-weight:400}
#bpSalesCalendarRoot .bp-sc-nearby-hotels{display:flex;gap:6px 10px;flex-wrap:wrap;align-items:center;font-size:12px}
#bpSalesCalendarRoot .bp-sc-nearby-hotel{background:#fff;border:1px solid #d6e3da;border-radius:6px;padding:5px 8px}
#bpSalesCalendarRoot .bp-sc-nearby-hotel small{margin-left:6px;color:#526b61}
.bp-sc-location-fields{border:1px solid #d6e3da;border-radius:8px;padding:8px 10px}
.bp-sc-location-fields>summary{cursor:pointer;min-height:28px;font-weight:400}
@media(min-width:1101px){
 #bpSalesCalendarRoot.year-mode .bp-sc-toolbar{flex-wrap:wrap}
 #bpSalesCalendarRoot.year-mode .bp-sc-area{width:auto;border:0;background:transparent;margin-left:auto}
 #bpSalesCalendarRoot.year-mode .bp-sc-area>summary{min-height:28px;padding:5px 0;font-size:12px;white-space:nowrap}
 #bpSalesCalendarRoot.year-mode .bp-sc-area-count{display:none}
 #bpSalesCalendarRoot.year-mode .bp-sc-area[open] .bp-sc-area-body{position:absolute;z-index:5;top:100%;left:0;right:0;background:#f4f8f5;border:1px solid var(--sc-line);border-radius:10px;padding:14px;box-shadow:0 8px 24px #143d2420}
}
@media(max-width:700px){
 #bpSalesCalendarRoot .bp-sc-area>summary{min-height:44px;padding:11px 9px}
 #bpSalesCalendarRoot .bp-sc-area-count{display:none}
 #bpSalesCalendarRoot .bp-sc-area-body{padding:0 9px 10px}
 #bpSalesCalendarRoot .bp-sc-area-controls{grid-template-columns:minmax(0,1fr) auto;gap:10px}
 #bpSalesCalendarRoot .bp-sc-area-controls>label:first-child{grid-column:1/-1}
 #bpSalesCalendarRoot .bp-sc-area-controls select{font-size:16px;min-height:44px}
 #bpSalesCalendarRoot .bp-sc-area-controls>.btn{min-height:44px;width:auto!important;white-space:nowrap}
 #bpSalesCalendarRoot input[data-sc=area-radius]{min-height:44px;height:44px}
 .bp-sc-location-fields>summary{min-height:44px;line-height:44px}
}

/* On the books: occupancy, ADR, revenue and group rooms per night */
.bp-sc-modes{margin-left:4px}
.occ-soft{--occ:#e8eef5;--occink:#3b556e}.occ-fair{--occ:#e3f3ea;--occink:#1f6b45}.occ-strong{--occ:#fff1cf;--occink:#8a5a00}.occ-full{--occ:#ffdcd2;--occink:#9b2c14}.occ-none{--occ:#f1f1f1;--occink:#666}
.bp-sc-occpill{display:inline-block;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:600;margin-left:4px;background:var(--occ);color:var(--occink)}
.bp-sc-occbar{margin-top:auto;height:4px;border-radius:2px;background:#eceff3;overflow:hidden}.bp-sc-occbar i{display:block;height:100%;background:var(--occink,#1f6b45)}
.bp-sc-otb{display:flex;flex-direction:column;gap:2px;font-size:11px}
.bp-sc-otb-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap;border-radius:6px;padding:2px 5px;background:var(--occ);color:var(--occink);line-height:1.3}
.bp-sc-otb-row i{width:6px;height:6px;border-radius:50%;background:var(--hotel);flex:none}.bp-sc-otb-hotel{font-weight:600}.bp-sc-otb-row b{font-size:13px}
.bp-sc-otb-empty{font-size:11px;color:var(--sc-muted);font-style:italic}
.bp-sc-otb-flag{color:#b42318;font-weight:700}
.bp-sc-grid.otb-mode .bp-sc-cell{min-height:118px}.bp-sc-chips-mini .bp-sc-chip{min-height:0;font-size:10px;padding:1px 4px}
.bp-sc-otb-detail{margin:10px 0;max-width:100%;overflow:auto}.bp-sc-otb-detail h4{margin:0 0 6px;font-size:14px}.bp-sc-otb-detail h4 small{font-weight:400;color:var(--sc-muted);margin-left:6px}
.bp-sc-otbtable{width:100%;font-size:12px;border-collapse:collapse}.bp-sc-otbtable th,.bp-sc-otbtable td{padding:5px 6px;border-bottom:1px solid var(--sc-line);text-align:left;white-space:nowrap}.bp-sc-otbtable tr[class*="occ-"] td:nth-child(2){color:var(--occink)}.bp-sc-otb-total td{font-weight:600;background:#f7f8fa}
.bp-sc-year-day.occ-soft,.bp-sc-year-day.occ-fair,.bp-sc-year-day.occ-strong,.bp-sc-year-day.occ-full{background:var(--occ);border-color:var(--occ);color:var(--occink)}
@media(max-width:700px){.bp-sc-otbtable{display:block;overflow:auto}.bp-sc-otb-row span:not(.bp-sc-otb-hotel){font-size:10px}}
.bp-sc-hotelswitch{display:inline-flex;align-items:center;gap:4px;margin-left:auto;font-size:12px}.bp-sc-hotelswitch select{min-width:150px;max-width:240px;padding:5px 8px;border:1px solid var(--sc-line);border-radius:8px;font:inherit;font-size:12px;background:#fff}
.bp-sc-navstrip .bp-sc-find{margin-left:0}
.bp-sc-otb-row.actual{opacity:.92}.bp-sc-otb-actual{font-weight:700;color:#1f6b45}
.bp-sc-pick{font-weight:700;font-size:10px;border-radius:999px;padding:0 5px;background:#fff;border:1px solid currentColor}.bp-sc-pick.up{color:#1f6b45}.bp-sc-pick.down{color:#b42318}.bp-sc-pick.flat{color:#64748b}
.bp-sc-otbtable tr.actual td:first-child::after{content:' ✓';color:#1f6b45;font-weight:700}
@media(max-width:700px){.bp-sc-hotelswitch{margin-left:0;flex:1 1 100%}.bp-sc-hotelswitch select{flex:1}}
.bp-sc-connector{margin-bottom:14px}.bp-sc-connector-fresh{background:#eef7f1;border:1px solid #b7dcc5;border-radius:10px;padding:10px 12px;margin:8px 0}.bp-sc-connector-fresh input{font-family:ui-monospace,Menlo,monospace;font-size:12px}.bp-sc-steps{margin:8px 0 0;padding-left:18px;font-size:13px}.bp-sc-steps li{margin:3px 0}.bp-sc-connector code{font-size:12px}
.bp-sc-mailrow.unread b{font-weight:800}.bp-sc-mailrow.unread::before{content:'';position:absolute;left:-4px;top:0;bottom:0;width:4px;background:#b42318;border-radius:8px 0 0 8px}.bp-sc-mailrow{position:relative}.bp-sc-mailrow.dir-out{opacity:.9}
.bp-sc-mail-filed{font-size:12px;background:#f7f8fa;border:1px solid var(--sc-line);border-radius:8px;padding:8px 10px}
.bp-sc-mail-body{white-space:normal;font-size:14px;line-height:1.5;padding:12px;border:1px solid var(--sc-line);border-radius:10px;background:#fff;overflow-wrap:anywhere;max-height:60vh;overflow:auto}
.bp-sc-chips-row{display:flex;gap:6px;flex-wrap:wrap}
