/* Scoped presentation layer. Legacy styles remain available in Tour Lab 1.0. */
.layout-switch{display:flex;align-items:center;gap:3px;padding:4px;border:1px solid #dce4e8;border-radius:10px;background:#f5f7f8;flex-shrink:0}
.layout-switch button{border:0;border-radius:7px;min-height:36px;padding:7px 12px;font:inherit;font-size:12px;font-weight:650;background:transparent;color:#536571;cursor:pointer;white-space:nowrap}
.layout-switch button[aria-pressed=true]{background:#fff;color:#153e48;box-shadow:0 1px 4px #203c4a20}
.workspace-only{display:none}
body.workspace-on{background:#f4f6f7;color:#233b49;font-size:14px;--dock-height:0px!important;--app-bottom:0px!important;--primary:#176b70}
body.workspace-on .workspace-only:not([hidden]){display:block}
body.workspace-on .workspace-only[hidden]{display:none!important}
body.workspace-on .topbar{position:relative;background:#fff;border-bottom:1px solid #e0e6e9;box-shadow:none}
body.workspace-on .topbar-inner{max-width:1440px;height:76px;padding:0 32px;gap:16px}
body.workspace-on .brand img{width:80px}
body.workspace-on .brand-name{font-size:20px}
body.workspace-on .sync-summary{margin-left:auto;max-width:290px;font-size:11px;line-height:1.5}
body.workspace-on .main-nav,body.workspace-on .mobile-nav,body.workspace-on .workflow-context,body.workspace-on #tourDock,body.workspace-on .tour-jumpbar{display:none!important}
body.workspace-on .workspace-main-nav{display:flex!important;max-width:1376px;margin:auto;padding:0;gap:8px}
.workspace-main-nav button{display:flex;align-items:center;gap:10px;justify-content:center;min-width:160px;min-height:58px;padding:16px 28px;border:0;border-bottom:3px solid transparent;background:transparent;font:inherit;font-size:17px;font-weight:650;color:#637681;cursor:pointer}
.workspace-main-nav button.active{border-bottom-color:#176b70;color:#145c61;background:#f2f8f7}
.workspace-main-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
body.workspace-on .shell{max-width:1440px;padding:30px 32px 48px}
body.workspace-on .page-heading{margin:0 0 24px;gap:20px}
body.workspace-on .page-heading h1{font-size:30px;letter-spacing:-.7px;color:#193a49;font-weight:650}
body.workspace-on .page-lede{max-width:710px;font-size:13px;line-height:1.6;color:#6a7c86}
body.workspace-on .eyebrow{font-size:10px;letter-spacing:.13em;color:#71838c;margin-bottom:8px}
body.workspace-on .simple-tour-heading-actions{gap:10px}
body.workspace-on .tour-draft-compact strong{font-size:12px}
body.workspace-on .tour-draft-compact span{font-size:11px}
body.workspace-on .button{min-height:42px;border-radius:8px;font-size:12px;font-weight:650;box-shadow:none;padding:10px 15px}
body.workspace-on .button.primary{background:#176b70;border-color:#176b70;color:#fff}
body.workspace-on .button.secondary{background:#fff;border-color:#d4dfe3;color:#345664}
body.workspace-on .workspace-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;background:#e9eef0;border:1px solid #e0e7ea;border-radius:12px;padding:5px;margin:0 0 24px}
.workspace-steps button{display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:8px;min-height:50px;padding:9px 12px;background:transparent;color:#607681;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.workspace-steps button>span{display:grid;place-items:center;width:23px;height:23px;border:1px solid #cad7dc;border-radius:50%;font-size:11px;font-weight:700}
.workspace-steps button.active{color:#155f64;background:white;box-shadow:0 2px 5px #233f4910}
.workspace-steps button.active>span{background:#176b70;color:white;border-color:#176b70}
body.workspace-on #page-tour.active{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:20px;align-items:start}
body.workspace-on #page-tour>.tour-snapshot{grid-column:1;margin:0;grid-row:2}
body.workspace-on #page-tour>#tour-details,body.workspace-on #page-tour>#tour-matches,body.workspace-on #page-tour>#tour-route{grid-column:1;grid-row:1;min-width:0;margin:0;padding:0}
body.workspace-on #workspaceAside{grid-column:2;grid-row:1 / span 2;min-width:0;position:sticky;top:24px}
body.workspace-on:not([data-workspace-step=details]) #tour-details,body.workspace-on:not([data-workspace-step=availability]) #tour-matches,body.workspace-on:not([data-workspace-step=route]) #tour-route,body.workspace-on:not([data-workspace-step=details]) #tourSnapshot{display:none!important}
body.workspace-on .panel{border:1px solid #dfe6e9;border-radius:12px;background:#fff;box-shadow:0 2px 5px #243f4903;margin-bottom:18px;overflow:clip}
body.workspace-on .panel-head{padding:20px 22px;border-bottom-color:#edf1f3;background:transparent}
body.workspace-on .panel-head h2,body.workspace-on h2.tour-major-title{font-size:17px!important;letter-spacing:-.2px!important;text-transform:none!important;font-weight:650!important;color:#254553}
body.workspace-on .panel-kicker{font-size:10px;letter-spacing:.09em;color:#74848d}
body.workspace-on .panel-sub{font-size:12px!important;line-height:1.5!important;color:#72818a;max-width:640px}
body.workspace-on .tour-major-subtitle{display:none}
body.workspace-on .tour-major-section-head .panel-kicker{display:none}
body.workspace-on #tour-available .panel-sub,body.workspace-on #tour-vacant .panel-sub{display:none}
body.workspace-on .tour-setup-grid{grid-template-columns:1fr 1fr;padding:22px;gap:28px}
body.workspace-on .tour-setup-section{padding:0}
body.workspace-on .tour-setup-section-title strong{font-size:13px;color:#2c4b58}
body.workspace-on .tour-setup-section-title small{font-size:11px}
body.workspace-on label>span,body.workspace-on .field-label{font-size:12px;font-weight:600;color:#546c79}
body.workspace-on input:not([type=checkbox]),body.workspace-on select,body.workspace-on textarea{font-size:14px;min-height:43px;border:1px solid #d5dfe4;border-radius:7px;background:#fff;box-shadow:none;padding:10px 11px;max-width:100%}
body.workspace-on input:focus,body.workspace-on select:focus,body.workspace-on textarea:focus{border-color:#278a8e;outline:3px solid #278a8e19}
body.workspace-on button:focus-visible,body.workspace-on summary:focus-visible{outline:3px solid #308c99;outline-offset:3px}
body.workspace-on .chip-select{gap:6px}
body.workspace-on .chip-select button{min-height:37px;padding:8px 11px;border-radius:7px;font-size:12px;font-weight:600;flex:0 1 auto}
body.workspace-on .chip-select button.active{background:#eaf6f2;border-color:#73aaa0;color:#1d6259}
body.workspace-on .tour-core-preferences{gap:12px}
body.workspace-on .tour-secondary-preferences{display:block}
body.workspace-on .preference-disclosure{border:0;border-top:1px solid #e8edf0;border-radius:0;margin-top:12px}
body.workspace-on .preference-disclosure summary{padding:13px 0}
body.workspace-on .preference-disclosure summary strong{font-size:12px}
body.workspace-on .preference-disclosure summary small{font-size:11px}
body.workspace-on .tour-notes-disclosure{display:none}
body.workspace-on .tour-setup-actions{padding:16px 22px;border-top:1px solid #edf1f3;background:#fcfdfd}
body.workspace-on .schedule-disclosure{padding:15px 20px}
body.workspace-on .schedule-disclosure strong{font-size:13px}
body.workspace-on .schedule-disclosure small{font-size:11px}
body.workspace-on .schedule-disclosure-action{font-size:12px}
.workspace-card{background:white;border:1px solid #dfe6e9;border-radius:12px;padding:20px;margin-bottom:16px}
.workspace-card h2{margin:0 0 16px;font-size:15px;font-weight:650;color:#2d4b58}
.workspace-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding-bottom:17px;border-bottom:1px solid #edf1f3}
.workspace-totals div{display:grid;gap:5px}
.workspace-totals strong{font-size:25px;font-weight:650;color:#194f59}
.workspace-totals span{font-size:11px;color:#72828b}
#workspacePreferences{font-size:12px;line-height:1.7;color:#637984;margin:14px 0 0}
.workspace-route-label{font-size:11px;line-height:1.6;color:#7a8b94;margin:0 0 14px}
#workspaceRoute{list-style:none;margin:0;padding:0;display:grid;gap:10px}
#workspaceRoute li{padding:9px 0;border-bottom:1px solid #edf1f3;display:flex;align-items:center;justify-content:space-between;gap:8px}
#workspaceRoute li strong{font-size:12px}#workspaceRoute li span{font-size:11px;color:#70828c}
.workspace-empty{font-size:12px;line-height:1.7;color:#80909a;margin:0}
.workspace-note-label{display:flex;justify-content:space-between;font-size:13px;font-weight:650;margin-bottom:12px}.workspace-note-label small{font-size:10px;font-weight:500;color:#7c8d97}
body.workspace-on #workspaceNotes{font-size:12px;line-height:1.6;min-height:115px;resize:vertical}
.workspace-card .text-button{margin-top:12px;font-size:12px}
#workspaceRestrictions{background:#fff5df;color:#79541b;padding:10px;border-radius:8px;font-size:12px;line-height:1.5;margin:12px 0 0}
body.workspace-on .tour-future-waitlist{margin:16px;border:1px solid #dce5e8;border-radius:9px;background:#fafcfc}
body.workspace-on .tour-future-waitlist-toggle{padding:16px;gap:12px}
body.workspace-on .tour-future-waitlist-toggle strong{font-size:13px}
body.workspace-on .tour-future-waitlist-toggle small,body.workspace-on #tourWaitlistSummaryStatus{font-size:11px}
body.workspace-on .email-option-floorplan>summary,body.workspace-on .tour-floorplan-group>summary{padding:16px 18px;min-height:68px}
body.workspace-on .email-option-floorplan strong,body.workspace-on .tour-floorplan-group>summary strong{font-size:14px!important}
body.workspace-on .tour-email-option,body.workspace-on .route-candidate-summary{padding:15px 16px!important}
body.workspace-on .tour-email-option strong,body.workspace-on .route-candidate-unit strong,body.workspace-on .route-candidate-date strong{font-size:13px!important}
body.workspace-on .tour-email-option small,body.workspace-on .route-candidate-unit small,body.workspace-on .route-candidate-date small{font-size:11px!important;letter-spacing:0!important;text-transform:none!important}
body.workspace-on .tour-pricing-grid strong{font-size:13px!important}
body.workspace-on .tour-pricing-grid small,body.workspace-on .tour-pricing-grid span{font-size:11px!important}
body.workspace-on .status-badge,body.workspace-on .status-pill,body.workspace-on .tour-compact-flag{font-size:10px!important;line-height:1.5}
body.workspace-on .route-candidate-detail{padding:0 16px 16px}
body.workspace-on .route-row{padding:18px 20px}
body.workspace-on .route-home strong{font-size:14px}
body.workspace-on .small-note{font-size:12px;line-height:1.6}
body.workspace-on .workspace-inventory-nav{display:flex!important;flex-wrap:wrap;gap:7px;margin-bottom:24px}
.workspace-inventory-nav button{border:1px solid #dce5e8;border-radius:8px;background:white;padding:12px 18px;color:#526d7a;font:inherit;font-size:13px;min-height:44px;cursor:pointer}
.workspace-inventory-nav button.active{background:#176b70;border-color:#176b70;color:white}
body.workspace-on .workflow-next{display:none}
body.workspace-on .cms-email-note{display:none}
body.workspace-on .followup-page-heading h1{font-size:21px}
body.workspace-on .followup-page-heading .eyebrow{display:none}
body.workspace-on .followup-layout{grid-template-columns:minmax(300px,.8fr) minmax(0,1.3fr);gap:22px}
body.workspace-on .followup-options>summary{padding:20px}
body.workspace-on .followup-options>summary strong{font-size:14px}
body.workspace-on .sticky-preview-head{position:static}
body.workspace-on .rich-preview-panel{max-height:none;min-width:0}
body.workspace-on .rich-email-preview{max-height:none;min-height:420px;overflow-x:auto}
body.workspace-on .followup-send-actions{flex-wrap:wrap;gap:8px}
body.workspace-on .preview-state-row{font-size:11px}
body.workspace-on .prospect-overview-card{padding:16px;border-radius:10px;min-height:100px;box-shadow:none}
body.workspace-on .prospect-overview-card>span{font-size:12px}
body.workspace-on .prospect-overview-card>small{font-size:11px}
body.workspace-on #page-prospects .prospect-workspace-row{min-height:90px;padding:16px 18px}
body.workspace-on #page-prospects .prospect-command-meta{font-size:11px}
body.workspace-on #page-prospects .prospect-simple-tabs button{font-size:12px;min-height:44px}
body.workspace-on .workspace-disclosure{margin-top:18px;border:1px solid #dfe6e9;border-radius:10px;background:white}
.workspace-disclosure>summary{padding:17px 20px;cursor:pointer;font-size:13px;font-weight:650;color:#3b5a67}
body.workspace-on .workspace-disclosure>.panel{border:0;margin:0}
@media(min-width:1001px){body.workspace-on .email-view-switch,body.workspace-on .email-next-button{display:none!important}body.workspace-on #emailSetupPane,body.workspace-on #emailPreviewPane{display:block!important}}
@media(max-width:1160px){body.workspace-on .topbar-inner{padding:0 24px;gap:12px}body.workspace-on .topbar .hub-link{display:none}body.workspace-on .shell{padding:24px}body.workspace-on .workspace-main-nav{padding:0 24px}body.workspace-on #page-tour.active{grid-template-columns:minmax(0,1fr)}body.workspace-on #workspaceAside{grid-column:1;grid-row:3;position:static;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}body.workspace-on .workspace-card{margin:0}}
@media(max-width:1000px){body.workspace-on .followup-layout{display:block}body.workspace-on .email-view-switch{display:flex}body.workspace-on .email-next-button{display:block;width:100%}body.workspace-on[data-email-view=setup] #emailSetupPane{display:block!important}body.workspace-on[data-email-view=setup] #emailPreviewPane{display:none!important}body.workspace-on[data-email-view=preview] #emailSetupPane{display:none!important}body.workspace-on[data-email-view=preview] #emailPreviewPane{display:block!important}}
@media(max-width:760px){.layout-switch{gap:2px;padding:3px}.layout-switch button{font-size:11px;padding:6px 9px;min-height:34px}body.workspace-on .topbar-inner{height:auto;min-height:76px;padding:14px 18px;flex-wrap:wrap;gap:10px}body.workspace-on .brand{gap:8px}body.workspace-on .brand img{width:65px}body.workspace-on .brand-name{font-size:17px}body.workspace-on .layout-switch{margin-left:auto}body.workspace-on .sync-summary{order:3;margin-left:0;max-width:calc(100% - 52px);flex:1;font-size:11px}body.workspace-on #quickRefreshBtn{order:4}body.workspace-on .topbar .desktop-only{display:none}body.workspace-on .workspace-main-nav{padding:0 12px;gap:0}body.workspace-on .workspace-main-nav button{flex:1;min-width:0;min-height:54px;padding:14px 10px;font-size:15px;gap:7px}body.workspace-on .workspace-main-nav svg{width:18px;height:18px}body.workspace-on .shell{padding:23px 16px 36px}body.workspace-on .page-heading{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:20px}body.workspace-on .page-heading h1{font-size:26px}body.workspace-on .tour-heading-actions{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-start}body.workspace-on .tour-draft-compact{display:none}body.workspace-on .workspace-steps{gap:3px;padding:4px;margin-bottom:18px}body.workspace-on .workspace-steps button{flex-direction:column;gap:5px;font-size:11px;padding:9px 3px;min-height:64px}body.workspace-on .workspace-steps button>span{width:20px;height:20px;font-size:10px}body.workspace-on .tour-setup-grid{grid-template-columns:1fr;padding:20px;gap:24px}body.workspace-on .tour-setup-section+.tour-setup-section{border-left:0;border-top:1px solid #e5ebee;padding:22px 0 0}body.workspace-on .tour-core-preferences{grid-template-columns:1fr 1fr}body.workspace-on .tour-core-preferences>label:last-child{grid-column:1/-1}body.workspace-on .panel-head{padding:18px}body.workspace-on .tour-setup-actions{padding:16px 18px;flex-wrap:wrap;gap:14px}body.workspace-on .tour-setup-actions>.button{width:100%}body.workspace-on #workspaceAside{display:block!important}body.workspace-on .workspace-card{margin-bottom:14px}body.workspace-on .tour-future-waitlist-toggle{flex-wrap:wrap}body.workspace-on .tour-pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.workspace-on .workspace-inventory-nav button{flex:1;font-size:12px;padding:11px 9px}body.workspace-on .prospect-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.workspace-on .button{min-height:44px}body.workspace-on .followup-layout{display:block}body.workspace-on input:not([type=checkbox]),body.workspace-on select,body.workspace-on textarea{font-size:16px}}
@media(max-width:360px){body.workspace-on .topbar-inner{padding:12px}.layout-switch button{padding:6px;font-size:10px}body.workspace-on .brand img{width:50px}body.workspace-on .brand-name{font-size:15px}body.workspace-on .brand-divider{display:none}body.workspace-on .shell{padding:20px 10px}body.workspace-on .workspace-steps button{font-size:10px}}
@media print{.layout-switch,.workspace-main-nav,#workspaceSteps,#workspaceAside,#workspaceInventoryNav{display:none!important}body.workspace-on #page-tour.active{display:block}body.workspace-on #tour-details,body.workspace-on #tour-matches,body.workspace-on #tour-route{display:block!important}}

/* Readable controls and rows within the original Tour containers. */
body.workspace-on #page-tour .tour-setup-panel{border-top:1px solid #dfe6e9}
body.workspace-on #page-tour .tour-setup-head{padding:20px 22px}
body.workspace-on #page-tour .tour-setup-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);padding:24px;gap:24px}
body.workspace-on #page-tour .tour-setup-section{padding:0}
body.workspace-on #page-tour .tour-setup-section+.tour-setup-section{padding-left:24px}
body.workspace-on #page-tour .tour-setup-section-title{margin-bottom:18px;padding-bottom:12px}
body.workspace-on #page-tour .tour-setup-section-title strong{font-size:14px}
body.workspace-on #page-tour .tour-setup-section-title small{font-size:11px}
body.workspace-on #page-tour .tour-setup-section label>span,body.workspace-on #page-tour .tour-setup-preferences .field-label{font-size:12px;letter-spacing:0;text-transform:none;margin-bottom:7px}
body.workspace-on #page-tour .tour-setup-section input,body.workspace-on #page-tour .tour-setup-section select{font-size:14px;min-height:44px;padding:10px 11px}
body.workspace-on #page-tour .chip-select button{min-height:40px;padding:9px 12px;font-size:12px;border-radius:7px}
body.workspace-on #page-tour .tour-secondary-preferences{display:block}
body.workspace-on #page-tour .preference-disclosure{border:0;border-top:1px solid #e5ebee;margin-top:10px;border-radius:0;background:transparent}
body.workspace-on #page-tour .preference-disclosure>summary{padding:13px 0;background:transparent}
body.workspace-on #page-tour .preference-disclosure>summary strong{font-size:12px}
body.workspace-on #page-tour .preference-disclosure>summary small{font-size:11px}
body.workspace-on #page-tour .tour-setup-actions{padding:16px 22px}
body.workspace-on #page-tour .tour-setup-actions .button{min-height:44px}
body.workspace-on #page-tour .tour-email-option-compact,body.workspace-on #page-tour .route-candidate-compact{padding:0!important}
body.workspace-on .tour-email-option-summary{min-height:70px;padding:15px 16px;grid-template-columns:22px 55px minmax(205px,1.5fr) 85px 95px minmax(85px,1fr) 16px;gap:10px}
body.workspace-on .tour-email-option-summary>span{font-size:11px}
body.workspace-on .tour-email-option-summary .price-compare-item span{font-size:10px!important}
body.workspace-on .tour-email-option-summary .price-compare-item strong{font-size:13px!important}
body.workspace-on .tour-email-status.status-do-not-enter{color:#a13936;background:#fff0ed;padding:5px 8px;border-radius:6px}
body.workspace-on #page-tour .tour-option-section-head{padding:15px 17px}
body.workspace-on #page-tour .tour-option-section-head strong{font-size:14px}
body.workspace-on #page-tour .tour-option-section-head span{font-size:12px;line-height:1.6}
body.workspace-on #page-tour .tour-floorplan-subhead{padding:14px 16px}
body.workspace-on #page-tour .tour-floorplan-subhead strong{font-size:14px}
body.workspace-on #page-tour .tour-floorplan-subhead span{font-size:11px}
body.workspace-on #page-tour .tour-floorplan-group-list{padding:10px;gap:10px}
@media(max-width:1160px){body.workspace-on .tour-email-option-summary{grid-template-columns:22px 52px minmax(190px,1.4fr) 80px 85px minmax(90px,1fr) 16px}}
@media(max-width:760px){
 body.workspace-on #page-tour .tour-setup-grid{grid-template-columns:1fr;padding:20px}
 body.workspace-on #page-tour .tour-setup-section+.tour-setup-section{padding:22px 0 0}
 body.workspace-on #page-tour .tour-setup-section input,body.workspace-on #page-tour .tour-setup-section select{font-size:16px}
 body.workspace-on #page-tour .tour-core-preferences{grid-template-columns:1fr 1fr}
 body.workspace-on #page-tour .tour-core-preferences>label:last-child{grid-column:1/-1}
 body.workspace-on .tour-email-option-summary{grid-template-columns:22px 1fr auto 16px;padding:14px 12px;gap:9px;min-height:96px}
 body.workspace-on .tour-email-option-summary>input{grid-column:1;grid-row:1/3}
 body.workspace-on .tour-email-option-summary>strong{grid-column:2;grid-row:1}
 body.workspace-on .tour-email-option-summary .tour-email-nlr{grid-column:2/4;grid-row:2}
 body.workspace-on .tour-email-option-summary>span:nth-of-type(2){display:none}
 body.workspace-on .tour-email-option-summary>span:nth-of-type(3){display:none}
 body.workspace-on .tour-email-option-summary .tour-email-status{display:block;grid-column:3;grid-row:1;font-size:10px;white-space:normal;max-width:120px}
 body.workspace-on .tour-email-option-summary .tour-email-chevron{grid-column:4;grid-row:1/3}
 body.workspace-on .tour-email-option-summary .price-compare-item strong{font-size:12px!important}
 body.workspace-on .tour-email-option-summary .price-compare-item span{font-size:9px!important}
 body:not(.workspace-on) .topbar-inner{height:auto;min-height:100px;flex-wrap:wrap;padding:12px;gap:8px}
 body:not(.workspace-on) .layout-switch{margin-left:auto}
 body:not(.workspace-on) .sync-summary{order:3;max-width:calc(100% - 48px);margin-left:0;flex:1}
 body:not(.workspace-on) #quickRefreshBtn{order:4}
}
@media(max-width:760px){
 body.workspace-on .topbar-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:12px 16px}
 body.workspace-on .brand{grid-column:1;grid-row:1;gap:6px}
 body.workspace-on .brand img{width:60px}
 body.workspace-on .brand-name{font-size:16px;white-space:nowrap}
 body.workspace-on .layout-switch{grid-column:2;grid-row:1;margin:0}
 body.workspace-on .layout-switch button{font-size:10px;padding:7px;min-height:36px}
 body.workspace-on .sync-summary{grid-column:1/3;grid-row:2;max-width:100%;width:calc(100% - 52px);text-align:left;font-size:10px;justify-self:start}
 body.workspace-on #quickRefreshBtn{grid-column:2;grid-row:2;justify-self:end}
 body.workspace-on .simple-tour-heading-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
 body.workspace-on .simple-tour-heading-actions .print-units-menu,body.workspace-on .simple-tour-heading-actions .new-tour-button{width:100%;min-width:0}
 body.workspace-on .simple-tour-heading-actions summary{width:100%;min-height:44px;box-sizing:border-box}
 body.workspace-on .tour-email-option-summary>span.tour-email-status{display:block!important;grid-column:2/4;grid-row:3;justify-self:start;max-width:none;font-size:11px;line-height:1.5}
 body.workspace-on .tour-email-option-summary>span:first-of-type{grid-column:3;grid-row:1;font-size:11px}
 body.workspace-on .tour-email-option-summary .tour-email-chevron{grid-row:1/4}
 body.workspace-on .tour-email-status.status-blocked{color:#a13936;background:#fff0ed;padding:4px 7px;border-radius:6px}
}
@media(max-width:360px){body.workspace-on .brand img{width:44px}body.workspace-on .brand-name{font-size:14px}body.workspace-on .topbar-inner{padding:12px 10px;gap:7px}body.workspace-on .brand .lab-badge{display:none}}

/* Status colors describe the home, never the match or the floorplan heading. Applies to both layouts. */
body :is(.tour-option-section-head,.tour-floorplan-subhead,.floorplan-header,.bedroom-section-head,.tour-bedroom-head,.panel-head){background:#f2f4f6!important;border-color:#dde3e8!important;color:#344b5a!important}
body .tour-option-section{border-color:#dde3e8!important}
body .tour-option-section-head>b{background:#e5e9ed!important;color:#506371!important}
body .availability-pref-match,body .availability-pref-miss{box-shadow:none!important}
body :is(.availability-compact-card,.tour-email-option-compact,.vacancy-compact-card,.route-candidate-compact,.live-tour-stop,.live-current-card){background:#fff!important;border-left:3px solid #d9e0e5!important;box-shadow:none!important}
body :is(.availability-compact-card,.tour-email-option-compact,.vacancy-compact-card,.route-candidate-compact)>summary{background:inherit!important}
body :is(.availability-compact-card,.tour-email-option-compact,.vacancy-compact-card,.route-candidate-compact,.live-tour-stop,.live-current-card).ready-state-ready{background:#edf7ef!important;border-left-color:#519365!important}
body :is(.availability-compact-card,.tour-email-option-compact,.vacancy-compact-card,.route-candidate-compact,.live-tour-stop,.live-current-card).ready-state-not-ready{background:#fff8df!important;border-left-color:#d2ad40!important}
body :is(.availability-compact-card,.tour-email-option-compact,.vacancy-compact-card,.route-candidate-compact,.live-tour-stop,.live-current-card).ready-state-blocked{background:#fff0ee!important;border-left-color:#cb7770!important}
body .status-blocked,body .manual-danger{color:#963f38!important;background:#fce2df!important}
body .tour-email-option-summary input{accent-color:#335b7d}
body .match-fit{background:#eaf0f6;color:#365c7b}
body .unit-highlight.starred{background:#eef2f7;border-color:#d3dde7;color:#385d7b}
body .availability-pref-reason.match{color:#365c7b!important}
body #tourTypeChips button.active{background:#edf2f8!important;border-color:#7e9ab5!important;color:#345b7d!important}
body :is(.bedroom-unit-section-head,.bedroom-head,.today-bedroom-head,.compact-bedroom-head,.followup-home-group-head){background:#f2f4f6!important;border-color:#dde3e8!important}
body .unit-highlight.important{background:#f2f4f6;border-color:#d5dce2;color:#445966}
body .ready-state-blocked .unit-highlight.important{background:#fce4e1;border-color:#dfa7a1;color:#873f39}

/* Direct details access without opening floorplans or unit disclosures. */
body .unit-direct-actions{display:flex!important;grid-column:1/-1!important;grid-row:auto!important;justify-content:flex-end;overflow:visible!important;white-space:normal!important;margin:0!important}
body .unit-direct-actions .unit-edit-button{min-height:38px;font-size:12px;padding:8px 12px;background:#fff;border:1px solid #cdd9e2;border-radius:7px;color:#33566e;cursor:pointer}
body .vacancy-floorplan-flat>.floorplan-header{cursor:default}
body .vacancy-floorplan-flat>.vacancy-plan-list{display:grid!important}
