/* Approved option 5: split page header, compact OTTO strip. */
.brandbar{max-width:780px;margin:auto;padding:16px 20px 10px;background:transparent;border:0;box-shadow:none}.brand img{width:30px;height:30px}.brand{font-size:.9375rem;gap:9px}.preview-badge{font-size:.625rem;max-width:125px;text-align:right}.workspace{padding-top:10px}.page-heading.split-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,34%);align-items:stretch;gap:0;background:#fff;border:1px solid #dedbed;border-radius:16px;overflow:hidden;margin-bottom:10px}.header-page-copy{padding:20px;min-width:0}.split-header .company-label{font-size:.8125rem;line-height:1.5;color:#746d82;margin:0 0 12px;overflow-wrap:anywhere}.split-header h1{font-size:2rem;line-height:1.15;letter-spacing:-.045em;margin:0 0 14px;color:#252235}.split-header #date-heading{display:block;border:0;border-radius:0;background:transparent;padding:0;margin:0;color:#746d82;font-size:.8125rem;font-weight:450;letter-spacing:0;line-height:1.5}.split-header .mobile-update-bar{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;margin:0;border:0;border-left:1px solid #e7e2f2;border-radius:0;padding:16px 12px;background:#f3f0fc;text-align:center}.split-header .mobile-update-bar button{width:100%;max-width:150px;min-height:46px;border-radius:10px;background:#412296;color:#fff;font-size:.8125rem;padding:10px 8px}.split-header .mobile-update-bar span{font-size:.6875rem;line-height:1.6;max-width:160px;overflow-wrap:anywhere}.split-header .mobile-update-bar span[data-state=success]{color:#217755}.otto-status{background:white;border:1px solid #e3dfec;border-radius:12px;padding:8px 12px;gap:10px;margin:0 0 18px;box-shadow:0 2px 5px #312e8105}.otto-avatar-frame{width:48px;height:46px;flex:0 0 48px}.otto-avatar{--otto-avatar-scale:.38;transform:scale(var(--otto-avatar-scale));transform-origin:top left}.otto-title-row{gap:8px}.otto-status-copy p{font-size:.75rem;line-height:1.45;margin-top:2px}.otto-status-copy strong{font-size:.625rem}.otto-connection{font-size:.625rem}
.opened-job-page .page-heading.split-header{display:grid;grid-template-columns:1fr;background:transparent;border:0}.opened-job-page .split-header .header-page-copy{display:none}.opened-job-page .split-header .mobile-update-bar{flex-direction:row;justify-content:space-between;border:1px solid #dedbed;border-radius:12px;text-align:left}.opened-job-page .split-header .mobile-update-bar button{max-width:120px}.opened-job-page .split-header .mobile-update-bar span{max-width:none;flex:1}.opened-job-page #otto-status{margin-bottom:10px}
@media(max-width:359px){.header-page-copy{padding:16px 12px}.page-heading.split-header{grid-template-columns:minmax(0,1fr) 116px}.split-header h1{font-size:1.75rem}.split-header .mobile-update-bar{padding:12px 8px}.brandbar{padding-left:16px;padding-right:16px}.preview-badge{max-width:98px}}
html[data-theme=dark] .split-header,html[data-theme=dark] .otto-status{background:#29243a;border-color:#514766}html[data-theme=dark] .split-header .mobile-update-bar{background:#352d4b;border-color:#514766}html[data-theme=dark] .split-header h1{color:#f5f0ff}html[data-theme=dark] .split-header .company-label,html[data-theme=dark] .split-header #date-heading{color:#c4b9d5}html[data-theme=dark] .split-header .mobile-update-bar span[data-state=success]{color:#78d4ac}

.schedule-notices{margin:0 0 18px;border:1px solid #dedbed;border-radius:12px;background:#fff;padding:12px}.schedule-notices summary{cursor:pointer;font-size:.8125rem;font-weight:700;color:#412296;min-height:32px}.schedule-notices summary span{float:right;font-size:.6875rem}.notice-help,.schedule-notice p,.schedule-notice small{font-size:.75rem;line-height:1.5}.schedule-notice{padding:12px;border-top:1px solid #e6e0ef}.schedule-notice.is-unread{border-left:3px solid #412296;background:#f6f3ff}.schedule-notice strong{font-size:.8125rem}.schedule-notices button{min-height:44px;margin:8px 0;padding:8px 12px;border:1px solid #dedbed;border-radius:8px;background:#f3f0fc;color:#412296}.schedule-notice button{display:block}#schedule-notice-list{max-height:360px;overflow:auto}html[data-theme=dark] .schedule-notices{background:#29243a;border-color:#514766}html[data-theme=dark] .schedule-notices summary{color:#d6c5ff}html[data-theme=dark] .schedule-notice.is-unread{background:#352d4b}
/* Compact phone header: keep full labels and comfortable tap targets. */
.brandbar{padding:8px 20px 6px}.brand img{width:26px;height:26px}.brand{font-size:.875rem;gap:7px}.workspace{padding-top:6px}.page-heading.split-header{grid-template-columns:minmax(0,1fr) 112px;border-radius:12px;margin-bottom:8px}.header-page-copy{padding:10px 14px}.split-header .company-label{font-size:.6875rem;line-height:1.35;margin-bottom:4px}.split-header h1{font-size:1.5rem;line-height:1.2;margin-bottom:4px}.split-header #date-heading{font-size:.6875rem;line-height:1.35}.split-header .mobile-update-bar{padding:8px;gap:4px}.split-header .mobile-update-bar button{min-height:44px;padding:8px 6px;border-radius:8px}.split-header .mobile-update-bar span{font-size:.625rem;line-height:1.3}.otto-status{padding:6px 10px;gap:8px;margin-bottom:10px}.otto-avatar-frame{width:40px;height:40px;flex-basis:40px}.otto-avatar{--otto-avatar-scale:.32}.otto-status-copy p{font-size:.6875rem;line-height:1.35;margin-top:2px}.otto-title-row{gap:6px}@media(max-width:359px){.brandbar{padding-left:16px;padding-right:16px}.page-heading.split-header{grid-template-columns:minmax(0,1fr) 100px}.header-page-copy{padding:10px 12px}.split-header h1{font-size:1.375rem}.split-header .mobile-update-bar{padding:7px}}

/* Schedule: prioritize the calendar and timeline. */
.schedule-page .page-heading.split-header{display:block;border:0;background:transparent;border-radius:0;margin:0 0 12px}
.schedule-page .header-page-copy{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:4px 0}
.schedule-page .header-page-copy .company-label,.schedule-page .mobile-update-bar,.schedule-page #otto-status{display:none}
.schedule-page .split-header h1{font-size:1.5rem;margin:0;line-height:1.25}
.schedule-page .split-header #date-heading{margin:0;font-size:.8125rem;white-space:nowrap}
.schedule-page .workspace{padding-top:8px}
.schedule-page .preview-note{display:none}
/* Schedule title and date share one compact card. */
.schedule-page .page-heading.split-header{border:1px solid #dedbed;background:#fff;border-radius:14px;margin:0 0 14px;box-shadow:0 2px 8px #312e8105}
.schedule-page .header-page-copy{padding:14px 16px;align-items:center}
html[data-theme=dark] .schedule-page .page-heading.split-header{background:#29243a;border-color:#514766}

/* Shared boxed title and full date for Schedule and Catalog. */
:is(.schedule-page,.catalog-page-active) .page-heading.split-header{display:block;border:1px solid #dedbed;background:#fff;border-radius:14px;margin:0 0 14px;box-shadow:0 2px 8px #312e8105}
:is(.schedule-page,.catalog-page-active) .header-page-copy{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}
:is(.schedule-page,.catalog-page-active) .header-page-copy .company-label,:is(.schedule-page,.catalog-page-active) .mobile-update-bar,:is(.schedule-page,.catalog-page-active) #otto-status,:is(.schedule-page,.catalog-page-active) .preview-note{display:none}
:is(.schedule-page,.catalog-page-active) .split-header h1{font-size:1.5rem;margin:0;line-height:1.25}
:is(.schedule-page,.catalog-page-active) .split-header #date-heading{margin:0;font-size:.8125rem;white-space:normal;text-align:right;line-height:1.5}
.catalog-page-active .workspace{padding-top:8px}
html[data-theme=dark] :is(.schedule-page,.catalog-page-active) .page-heading.split-header{background:#29243a;border-color:#514766}
@media(max-width:390px){:is(.schedule-page,.catalog-page-active) .header-page-copy{align-items:flex-start;flex-direction:column;gap:5px}:is(.schedule-page,.catalog-page-active) .split-header #date-heading{text-align:left}}
.catalog-frequent{margin:20px 0 28px}.catalog-frequent .catalog-item{border-left:3px solid #6151c9}

.address-map-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.address-map-row>span{min-width:0;overflow-wrap:anywhere}.address-map-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;color:#5140ad;border-radius:12px;background:#ffffff80}.address-map-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.address-map-icon:focus-visible{outline:2px solid currentColor;outline-offset:2px}

.home-page .page-heading.split-header{display:block;background:#fff;border:1px solid #dedbed;border-radius:14px;margin:0 0 14px}.home-page .header-page-copy{padding:16px}.home-page .company-label,.home-page .mobile-update-bar,.home-page .preview-note{display:none}.home-page .split-header h1{font-size:1.35rem;line-height:1.4;margin:0 0 5px}.home-page .split-header #date-heading{margin:0}.home-page .workspace{padding-top:8px}html[data-theme=dark] .home-page .page-heading.split-header{background:#29243a;border-color:#514766}

.home-page .split-header #date-heading{display:none}
.home-page .split-header h1{margin:0}

/* Compact notices and directly tappable job cards. */
.otto-message-dropdown .otto-dropdown-heading{padding:10px 14px;align-items:center}.otto-message-dropdown .otto-dropdown-heading strong{font-size:20px;letter-spacing:0}.otto-message-dropdown .otto-brandline{margin:2px 0 0;font-size:8px!important}.otto-message-dropdown .otto-panel-status{padding:8px 14px}.otto-message-dropdown .otto-panel-tabs{margin:8px 12px}.otto-message-dropdown .otto-panel-tabs button{padding:8px 3px}.otto-message-dropdown .otto-timeline-empty{padding:12px 4px;line-height:1.5;margin:0}.otto-message-dropdown .otto-dropdown-content,.otto-message-dropdown .otto-request-updates,.otto-message-dropdown .otto-payment-updates{max-height:32dvh;padding:0 12px 10px}.otto-message-dropdown .otto-timeline-all{min-height:44px;padding:8px}.otto-message-dropdown .otto-timeline-card,.otto-message-dropdown .otto-request-card{padding:10px 0}
.agenda-row,.featured{position:relative}.job-card-hit{position:absolute;inset:0;z-index:1;width:100%;height:100%;border:0;border-radius:inherit;background:transparent;cursor:pointer;padding:0}.job-card-hit:hover{background:#5140ad04}.job-card-hit:focus-visible{outline:3px solid #6151c9;outline-offset:2px}.job-card-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.address-map-row>span{font-size:.875rem;line-height:1.5}.address-map-icon{position:relative;z-index:2;color:#c53540;background:#fff7f7}.address-map-icon svg{width:20px;height:20px}

.schedule-columns{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;margin:12px 0 0;scrollbar-width:thin}.schedule-columns button{flex:0 0 auto;min-height:44px;padding:10px 16px;border:1px solid #dedbed;border-radius:12px;background:#fff;color:#413879;font-weight:700}.schedule-columns button[aria-pressed=true]{background:#43318f;color:white}.schedule-assignment-header{background:white;border:1px solid #dedbed;border-radius:14px;padding:16px;margin:0 0 16px}.schedule-assignment-header h2{margin:0;font-size:1.125rem}.schedule-assignment-header p{margin:4px 0 10px;font-size:.8125rem;color:#777185}.schedule-assignment-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.schedule-assignment-chips span{border-radius:18px;background:#f0edf8;padding:7px 10px;font-size:.8125rem;color:#413879}.schedule-assignment-chips small{color:#8b8498}html[data-theme=dark] .schedule-assignment-header,html[data-theme=dark] .schedule-columns button:not([aria-pressed=true]){background:#29243a;border-color:#514766;color:#eee}

.wide-toggle{min-height:44px;padding:10px 14px;margin:8px 0;border:1px solid #d8d1e9;border-radius:10px;background:#fff;color:#43318f;font-weight:700}.wide-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px}.wide-toolbar h2{font-size:1rem}.wide-help{font-size:.8125rem;color:#777185}.wide-board-scroll{overflow:auto;height:65dvh;border:1px solid #ddd9e8;border-radius:12px;background:white;overscroll-behavior:contain}.wide-board{min-width:calc(60px + var(--columns)*230px)}.wide-headings,.wide-timeline{display:grid;grid-template-columns:60px repeat(var(--columns),minmax(230px,1fr))}.wide-headings{position:sticky;top:0;z-index:5;background:white}.wide-lane-heading{padding:12px;border-left:1px solid #e5e1ee;display:flex;flex-direction:column;gap:5px;min-height:100px}.wide-lane-heading small,.wide-lane-heading span{font-size:.75rem;color:#716980}.wide-lane{position:relative;height:720px;border-left:1px solid #e5e1ee;background:repeating-linear-gradient(to bottom,transparent 0 47px,#e5e1ee 47px 48px)}.wide-times{position:relative;height:720px;background:#f8f7fb}.wide-times span{position:absolute;left:4px;font-size:.65rem;color:#716980}.wide-appointment{position:absolute;overflow:hidden;text-align:left;padding:5px 8px;border:1px solid #cad5e7;border-left:4px solid #7160ae;border-radius:7px;background:#edf6fd;color:#273657;touch-action:none;user-select:none;z-index:2}.wide-appointment strong,.wide-appointment small,.wide-appointment span{display:block;font-size:.75rem;line-height:1.4}.wide-appointment small,.wide-appointment span{font-size:.65rem}.wide-appointment.being-moved{z-index:10;opacity:.85;box-shadow:0 8px 20px #30204740;outline:2px solid #6450b6}.wide-schedule-page .workspace{max-width:none}.schedule-move-dialog{width:min(90vw,420px);border:1px solid #dedbed;border-radius:16px;padding:22px}.schedule-move-dialog::backdrop{background:#17102f70}.schedule-move-dialog button{min-height:44px;padding:10px 16px;margin-right:8px;border-radius:10px;border:1px solid #d8d1e9}.schedule-move-dialog [data-save]{background:#43318f;color:white}.schedule-move-dialog [data-feedback]{color:#a33242}

.wide-times{position:sticky;left:0;z-index:4}.wide-appointment:focus-visible{outline:2px solid #6450b6;outline-offset:2px}

.schedule-mobile-actions{display:flex;gap:8px;flex-wrap:wrap}.schedule-placeholder-dialog{width:min(92vw,450px);max-height:88dvh;overflow:auto;padding:20px;border:1px solid #dedbed;border-radius:16px;color:#273657}.schedule-placeholder-dialog::backdrop{background:#17102f70}.schedule-placeholder-dialog h2{margin:0 0 8px}.schedule-placeholder-dialog p{font-size:.8125rem;line-height:1.5}.schedule-placeholder-dialog label{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-size:.8125rem;font-weight:650}.schedule-placeholder-dialog input,.schedule-placeholder-dialog select{width:100%;min-height:44px;padding:10px;font:inherit;font-size:.9375rem;border:1px solid #d8d1e9;border-radius:9px;background:white;color:#273657}.placeholder-time-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.placeholder-actions{display:flex;gap:8px;justify-content:flex-end}.placeholder-actions button{min-height:44px;padding:10px 14px;border:1px solid #d8d1e9;border-radius:10px}.placeholder-actions button[type=submit]{background:#43318f;color:white}.schedule-placeholder-dialog [data-feedback]{color:#94551a}

/* Compact schedule controls and assignment summary. */
.schedule-page .schedule-mobile-actions{gap:7px;margin:6px 0 8px;flex-wrap:nowrap}.schedule-page .schedule-mobile-actions .wide-toggle{font-size:.8125rem;font-weight:650;padding:7px 11px;margin:0;min-height:44px;white-space:nowrap}.schedule-page .schedule-columns{gap:6px;padding:0 0 6px;margin:0;scrollbar-width:none}.schedule-page .schedule-columns::-webkit-scrollbar{display:none}.schedule-page .schedule-columns button{font-size:.8125rem;min-height:44px;padding:8px 13px;border-radius:10px}.schedule-page .schedule-assignment-header{padding:10px 12px;margin:0 0 12px;border-radius:12px;display:grid;grid-template-columns:auto 1fr;gap:5px 9px;align-items:center}.schedule-page .schedule-assignment-header h2{font-size:.9375rem;line-height:1.3;margin:0}.schedule-page .schedule-assignment-header>p{font-size:.6875rem;line-height:1.4;margin:0;text-align:right}.schedule-page .schedule-assignment-chips{grid-column:1 / -1;gap:5px;margin:0}.schedule-page .schedule-assignment-chips span{font-size:.75rem;padding:4px 8px;line-height:1.3}.schedule-page .schedule-assignment-chips small{font-size:.6875rem}.schedule-page .schedule-day{margin-top:8px}

/* Wide mode fills the app viewport and closes back to the regular layout. */
body.wide-schedule-page{overflow:hidden}.wide-schedule-page .brandbar,.wide-schedule-page .page-heading,.wide-schedule-page .bottom-nav,.wide-schedule-page #otto-status,.wide-schedule-page .preview-note{display:none!important}.wide-screen-shell{position:fixed;inset:0;z-index:200;background:#f8f7fc;display:flex;flex-direction:column;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overflow:hidden}.wide-screen-shell .wide-toolbar{padding:6px 10px;flex:0 0 auto;gap:6px}.wide-screen-shell .wide-toolbar h2{font-size:.875rem;margin:0;line-height:1.3}.wide-screen-shell .schedule-mobile-actions{flex-wrap:nowrap;gap:5px;margin:0}.wide-screen-shell .wide-toggle{margin:0;padding:6px 9px;font-size:.75rem;min-height:44px;white-space:nowrap}.wide-screen-shell .wide-help{margin:0;padding:0 10px 6px;font-size:.6875rem}.wide-screen-shell .wide-board-scroll{height:auto;flex:1;min-height:0;border-radius:0;border-inline:0}.wide-screen-shell .wide-lane-heading{padding:8px 10px;min-height:85px;gap:3px}.wide-screen-shell .wide-lane-heading strong{font-size:.875rem}.wide-screen-shell .wide-lane-heading small,.wide-screen-shell .wide-lane-heading span{font-size:.6875rem}

.schedule-page .schedule-mobile-actions{justify-content:flex-end}.schedule-page .schedule-mobile-actions .schedule-icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:10px;border-radius:11px;flex:none}.schedule-icon-button svg{width:22px;height:22px;display:block}.schedule-page .schedule-assignment-chips{align-items:center}
