/* Final presentation layer. Layout preferences never change shared business data. */
.wt-layout-nav-heading{margin:13px 10px 5px!important;color:#718098;font-size:11px;font-weight:700;letter-spacing:.03em;line-height:1.5}
.wt-layout-nav-heading:first-child{margin-top:2px!important}
.wt-layout-side-tools{display:none}
.wt-layout-utility svg{width:17px;height:17px;flex:none}
.wt-layout-utility[hidden]{display:none!important}
.wt-layout-panel-close{display:none}
.wt-layout-scrim{position:fixed;inset:0;background:#152b4a38;z-index:36;backdrop-filter:blur(1px)}
.wt-layout-scrim[hidden]{display:none}
.wt-layout-scrim.for-detail{z-index:39}
@media screen and (min-width:761px){
 .app.wt-layout[data-current-view]{--wt-sidebar:218px;--wt-right:304px;--wt-gutter:24px;grid-template-columns:var(--wt-sidebar) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;background:#f3f6fb}
 .app.wt-layout .side:not(:where([data-desk-owner])){background:#fafcff!important;padding:18px 12px 10px!important;gap:13px;scrollbar-gutter:stable;scrollbar-width:thin;min-height:0;overflow:hidden!important}
 .wt-layout .wt-layout-side-scroll:not(:where([data-desk-owner] *)){min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:2px}
 .wt-layout .wt-layout-side-scroll:not(:where([data-desk-owner] *))>nav{margin-bottom:12px}
 .wt-layout .wt-layout-side-scroll:not(:where([data-desk-owner] *))>.dm-directory:not(:where([data-desk-owner] *)){margin-top:14px}
 .wt-layout .side:not(:where([data-desk-owner])) .brand{padding:0 6px;flex:none}
 .wt-layout .brand h1{font-size:23px;font-weight:750;gap:8px;letter-spacing:-.6px}
 .wt-layout .brand h1 img{width:30px;height:30px}
 .wt-layout .side:not(:where([data-desk-owner])) .userbox{padding:5px 5px 10px;margin:0;border-bottom:1px solid #e4eaf3;gap:7px;flex-wrap:nowrap}
 .wt-layout .userbox>div:nth-child(2){min-width:0;flex:1}
 .wt-layout .userbox>div:nth-child(2)>b{font-size:12px!important;overflow-wrap:anywhere}
 .wt-layout .userbox .icon-btn{padding:5px;min-width:26px;min-height:30px}
 .wt-layout .side:not(:where([data-desk-owner])) .section-label{font-size:11px;font-weight:650;line-height:1.4;color:#64758f;margin:0 5px 6px}
 .wt-layout .side:not(:where([data-desk-owner])) .branches{max-height:120px!important}
 .wt-layout .side:not(:where([data-desk-owner])) .branch:not(:where([data-desk-owner] *)){min-height:44px;padding:7px 9px;font-size:13px;border-radius:9px;gap:7px}
 .wt-layout .side:not(:where([data-desk-owner])) .branch:not(:where([data-desk-owner] *)).active{border-color:#bed0f0!important;background:#edf3ff}
 .wt-layout .side:not(:where([data-desk-owner])) .rail:not(:where([data-desk-owner])){gap:2px}
 .wt-layout .side:not(:where([data-desk-owner])) .rail:not(:where([data-desk-owner])) button{min-height:40px;padding:9px 11px!important;gap:10px;line-height:1.45;white-space:normal;border-radius:8px;font-size:13px}
 .wt-layout .side:not(:where([data-desk-owner])) .rail:not(:where([data-desk-owner])) button .nav-text{font-size:13px;line-height:1.4;font-weight:600}
 .wt-layout .side:not(:where([data-desk-owner])) .rail:not(:where([data-desk-owner])) .ui-icon{height:19px;width:19px}
 .wt-layout .side:not(:where([data-desk-owner])) .rail:not(:where([data-desk-owner]))>div.on button,.wt-layout .side:not(:where([data-desk-owner])) .rail:not(:where([data-desk-owner])) button[aria-current="page"]{background:#e8f0ff!important;color:#1c55b7;box-shadow:inset 3px 0 #2d66d4}
 .wt-layout .side:not(:where([data-desk-owner])) .rail:not(:where([data-desk-owner])) #rail-settings{margin:0}
 .wt-layout .wt-layout-side-scroll:not(:where([data-desk-owner] *))>div:has(#create-room){border-top:1px solid #e4eaf3;padding-top:11px}
 .wt-layout .wt-layout-side-scroll:not(:where([data-desk-owner] *))>div:has(#create-room)>div:first-child{gap:6px!important;margin-bottom:12px!important}
 .wt-layout #create-room,.wt-layout #join-room{min-height:32px;font-size:11px;background:#fff;border-color:#d8e1ef}
 .wt-layout .side:not(:where([data-desk-owner])) .viewbtn{padding:7px 9px;min-height:34px;line-height:1.5;font-size:12px}
 .wt-layout .dm-directory:not(:where([data-desk-owner] *)){flex:1;min-height:145px;padding-top:4px}
 .wt-layout .dm-directory:not(:where([data-desk-owner] *)) .member-list-side:not(:where([data-desk-owner] *)){max-height:none;min-height:85px;overflow:visible;scrollbar-width:thin}
 .wt-layout .side:not(:where([data-desk-owner])) .member-side{padding:8px 7px!important;font-size:12px!important}
 .wt-layout .wt-layout-side-tools{display:block;margin-top:auto;padding-top:9px;border-top:1px solid #e4eaf3}
 .wt-layout-density{display:flex;width:100%;align-items:center;justify-content:space-between;gap:5px;border:0;border-radius:7px;min-height:33px;padding:6px 8px;background:transparent;font-size:11px;color:#65758e}
 .wt-layout-density b{font-size:11px;color:#37557e;font-weight:600}
 .wt-layout .center{grid-column:2;grid-row:1;min-width:0;min-height:0}
 .wt-layout .top,.wt-layout:not(.dm-mode) .top{height:auto;min-height:76px;padding:16px var(--wt-gutter) 12px;gap:12px;flex-wrap:wrap;align-items:center}
 .wt-layout .top>div:first-child{flex:1 1 225px;min-width:0}
 .wt-layout .top h2{font-size:21px;font-weight:750;line-height:1.35;letter-spacing:-.5px}
 .wt-layout .top .top-subtitle{font-size:11px!important;line-height:1.5;margin-top:4px;color:#73829a}
 .wt-layout #connection{font-size:11px;font-weight:600}
 .wt-layout .top-actions{display:flex;flex-wrap:wrap;gap:6px;max-width:100%;margin-left:auto}
 .wt-layout .top-actions button,.wt-layout .top-actions #new-case,.wt-layout .top-actions #top-more{height:auto;min-height:35px;max-height:none;padding:8px 10px;font-size:12px;line-height:1.4;border-radius:8px;gap:5px}
 .wt-layout .top-actions #member-info{border-color:transparent;background:transparent;color:#5c6f8d}
 .wt-layout .top-actions #top-more{min-width:50px;font-size:12px;background:#f5f7fb}
 .wt-layout .top-actions .wt-layout-utility{display:inline-flex;border-color:#d9e3f0;background:#fff;color:#42618b;white-space:nowrap}
 .wt-layout .top-actions .wt-layout-utility[aria-pressed="false"]{color:#8d681e;background:#fffaf0;border-color:#ecd9b1}
 .wt-layout .top-actions .wt-layout-panel-toggle[aria-expanded="true"]{background:#edf3ff;border-color:#bbcef0;color:#2053a9}
 .app.wt-layout:not(.dm-mode) #quick-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 var(--wt-gutter) 12px}
 .app.wt-layout:not(.dm-mode) #quick-summary button{height:auto;min-height:43px;max-height:none;padding:8px 11px;gap:8px;border-radius:8px;overflow:visible;border-left-width:1px;align-items:center}
 .app.wt-layout:not(.dm-mode) #quick-summary .summary-label{font-size:12px;font-weight:650;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}
 .app.wt-layout:not(.dm-mode) #quick-summary .nav-icon{display:none}
 .app.wt-layout:not(.dm-mode) #quick-summary b{font-size:20px;line-height:1.2}
 .wt-layout .toolbar{padding:0 var(--wt-gutter) 12px;gap:6px;align-items:center;flex-wrap:wrap}
 .wt-layout .toolbar input{height:auto;min-height:39px;padding:9px 12px;flex:1 1 180px;background:#f7f9fc;border-color:#d7e1ef;border-radius:9px;font-size:13px;line-height:1.45}
 .wt-layout .toolbar button{height:auto;min-height:37px;line-height:1.4;padding:8px 10px;font-size:12px}
 .wt-layout .toolbar #search-clear{min-width:33px;padding:5px;font-size:18px;color:#7b8ba2}
 .wt-layout .toolbar #toggle-cancelled{font-size:11px}
 .wt-layout .feed{padding:20px var(--wt-gutter);scrollbar-gutter:stable;scrollbar-width:thin}
 .wt-layout[data-current-view="chat"] .feed,.wt-layout[data-current-view="dm"] .feed{background:#f1f5fc}
 .wt-layout .msg{max-width:88%;margin-bottom:20px}
 .wt-layout .msg .content{max-width:min(100%,48rem)}
 .wt-layout .bubble:not(.emoji-bubble):not(.sticker-bubble){font-size:15px;line-height:1.65;padding:11px 14px}
 .wt-layout .right{position:relative;height:100%;min-height:0;overflow-y:auto;scrollbar-gutter:stable;scrollbar-width:thin;background:#fff;border-left:1px solid #dce5f2;padding:19px 14px!important}
 .app.wt-layout #right{display:none!important}
 .app.wt-layout.wt-layout-right-open #right{display:block!important}
 .wt-layout .right .right-head{padding-bottom:13px;margin-bottom:14px}
 .wt-layout .right .right-head h3{font-size:15px}
 .wt-layout .right .arrival-collapse>summary{font-size:12px;line-height:1.5;min-height:43px}
 .wt-layout .right .reservation-arrival-card .row strong{font-size:15px}
 .wt-layout .right .reservation-arrival-card{padding:11px 10px}
 .wt-layout .right .sidebar-fact{font-size:12px;line-height:1.6}
 .app.wt-layout.detail-open,.app.wt-layout.schedule-mode.detail-open{grid-template-columns:var(--wt-sidebar) minmax(0,1fr)!important}
 dialog.case-detail.wt-layout-detail{width:var(--wt-detail-width,392px)!important;height:100dvh;max-height:100dvh!important;z-index:40;box-shadow:-12px 0 38px #1d335f12}
 .wt-layout-detail .dialog-head{padding:18px 20px 15px;min-height:76px;gap:10px}
 .wt-layout-detail .dialog-head>button{width:38px;height:38px;min-width:38px;font-size:24px;background:#f1f5fa;color:#526987}
 .wt-layout-detail .dialog-body{padding:20px 20px 28px;scrollbar-width:thin}
 .wt-layout-detail .case-hero h3{font-size:29px;line-height:1.3}
 .wt-layout-detail .case-top-actions{gap:7px}
 .wt-layout-detail .case-top-actions button{min-height:42px;font-size:12px;line-height:1.5;white-space:normal}
 .wt-layout-detail .case-notes p{font-size:15px;line-height:1.75}
 .wt-layout-detail .case-facts>div{grid-template-columns:76px minmax(0,1fr);gap:12px}
 .wt-layout-detail .case-facts dt{font-size:12px;line-height:1.6}
 .wt-layout-detail .case-facts dd{font-size:13px;line-height:1.65}
 .wt-layout-detail .case-facts dd.case-phone{font-size:15px}
 .app.wt-layout[data-wt-density="compact"]{--wt-gutter:18px}
 .wt-layout[data-wt-density="compact"] .top,.wt-layout[data-wt-density="compact"]:not(.dm-mode) .top{min-height:64px;padding-top:10px;padding-bottom:9px}
 .wt-layout[data-wt-density="compact"] .side:not(:where([data-desk-owner])){gap:9px}
 .wt-layout[data-wt-density="compact"] .side:not(:where([data-desk-owner])) .rail:not(:where([data-desk-owner])) button{min-height:35px;padding-top:6px!important;padding-bottom:6px!important}
 .wt-layout[data-wt-density="compact"] .wt-layout-nav-heading{margin-top:9px!important}
 .app.wt-layout[data-wt-density="compact"]:not(.dm-mode) #quick-summary button{min-height:36px;padding-top:5px;padding-bottom:5px}
 .wt-layout[data-wt-density="compact"] .msg{margin-bottom:13px}
 .wt-layout[data-wt-density="compact"] .bubble:not(.emoji-bubble):not(.sticker-bubble){padding:9px 12px}
}
@media screen and (min-width:1320px){
 .app.wt-layout.wt-layout-right-open:not(.detail-open){grid-template-columns:var(--wt-sidebar) minmax(0,1fr) var(--wt-right)!important}
 .wt-layout.wt-layout-right-open .right{grid-column:3;grid-row:1}
 .wt-layout.wt-layout-right-open .wt-layout-panel-close{display:none}
}
@media screen and (min-width:1240px){
 .app.wt-layout.detail-open,.app.wt-layout.schedule-mode.detail-open{--wt-detail-width:392px;grid-template-columns:var(--wt-sidebar) minmax(0,1fr) var(--wt-detail-width)!important}
}
@media screen and (min-width:761px) and (max-width:1319px){
 .app.wt-layout[data-current-view]{--wt-sidebar:194px;--wt-gutter:18px}
 .app.wt-layout.wt-layout-right-open .right{position:fixed;inset:0 0 0 auto;width:min(352px,calc(100vw - 90px));z-index:37;box-shadow:-12px 0 38px #1d335f1f;padding-top:13px!important}
 .wt-layout .wt-layout-panel-close{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px auto;padding:6px 10px;min-height:34px;border-color:#dce5f2;color:#4a6388;font-size:12px;gap:15px}
 .wt-layout-panel-close span{font-size:22px;line-height:1}
 .wt-layout .top,.wt-layout:not(.dm-mode) .top{min-height:72px;padding-top:13px}
 .wt-layout .top h2{font-size:19px}
 .wt-layout .top-actions{gap:5px}
 .wt-layout .top-actions button,.wt-layout .top-actions #new-case,.wt-layout .top-actions #top-more{padding:7px 9px;min-height:33px}
 .wt-layout .top-actions .wt-layout-notifications span{display:none}
 .app.wt-layout:not(.dm-mode) #quick-summary button{gap:5px;padding:8px}
 .app.wt-layout:not(.dm-mode) #quick-summary .summary-label{font-size:11px}
 .app.wt-layout:not(.dm-mode) #quick-summary b{font-size:18px}
}
@media screen and (min-width:761px) and (max-width:1020px){
 .app.wt-layout[data-current-view]{--wt-sidebar:180px;--wt-gutter:15px}
 .wt-layout .side:not(:where([data-desk-owner])){padding-left:9px!important;padding-right:9px!important}
 .wt-layout .side:not(:where([data-desk-owner])) .rail:not(:where([data-desk-owner])) button .nav-text{font-size:12px}
 .wt-layout .top>div:first-child{flex-basis:100%}
 .wt-layout .top-actions{width:100%;justify-content:flex-end}
 .wt-layout .top-actions #member-info{margin-right:auto}
 .wt-layout .toolbar #toggle-cancelled{flex:0 0 auto;padding-left:5px;padding-right:5px}
 .app.wt-layout:not(.dm-mode) #quick-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .wt-layout .msg{max-width:94%}
}
@media screen and (min-width:761px) and (max-height:740px){
 .wt-layout .side:not(:where([data-desk-owner])){gap:9px;padding-top:13px!important}
 .wt-layout .side:not(:where([data-desk-owner])) .rail:not(:where([data-desk-owner])) button{min-height:34px;padding-top:6px!important;padding-bottom:6px!important}
 .wt-layout .wt-layout-nav-heading{margin-top:9px!important}
 .wt-layout .dm-directory:not(:where([data-desk-owner] *)){min-height:110px}
 .wt-layout .top,.wt-layout:not(.dm-mode) .top{min-height:64px;padding-top:10px;padding-bottom:10px}
}
@media screen and (max-width:760px){
 .wt-layout .top-actions .wt-layout-utility{display:none!important}
 .wt-layout .wt-layout-side-tools{display:none}
 .wt-layout-scrim{display:none}
 .wt-layout-scrim.for-detail{display:block}
}
@media(prefers-reduced-motion:reduce){.wt-layout button,.wt-layout-detail button{transition:none}}
@media print{.wt-layout-scrim,.wt-layout-utility,.wt-layout-side-tools{display:none!important}}
@media screen and (min-width:761px){
 .wt-layout .parts-head,.wt-layout .workorders-head,.wt-layout .loaner-head,.wt-layout .shared-head{background:#fff;border:1px solid #dce5f2;border-radius:11px;padding:17px 18px;gap:16px;align-items:flex-start}
 .wt-layout .parts-head h3,.wt-layout .workorders-head h3,.wt-layout .loaner-head h3,.wt-layout .shared-head h3{font-size:19px;line-height:1.4;color:#1c3659}
 .wt-layout .parts-head p,.wt-layout .workorders-head p,.wt-layout .loaner-head p,.wt-layout .shared-head p{font-size:12px;line-height:1.7;color:#657892}
 .wt-layout .part-toolbar,.wt-layout .workorders-toolbar,.wt-layout .loaner-toolbar,.wt-layout .shared-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:11px;background:#f7f9fd;border:1px solid #dce5f2;border-radius:9px}
 .wt-layout .part-toolbar input,.wt-layout .workorders-toolbar input,.wt-layout .loaner-toolbar input,.wt-layout .shared-toolbar input{min-width:140px;flex:1 1 180px;background:#fff;font-size:13px;min-height:38px;line-height:1.5;padding:8px 10px}
 .wt-layout .part-toolbar button,.wt-layout .workorders-toolbar button,.wt-layout .loaner-toolbar button,.wt-layout .shared-toolbar button{min-height:37px;padding:8px 11px;line-height:1.4;font-size:12px;white-space:normal}
 .wt-layout .part-row,.wt-layout .workorder-row{border-color:#dce5f2;border-radius:10px;padding:14px;gap:12px;background:#fff}
 .wt-layout .part-actions,.wt-layout .workorder-actions{gap:6px;flex-wrap:wrap}
 .wt-layout .part-actions button,.wt-layout .workorder-actions button,.wt-layout .workorder-actions a{min-height:36px;padding:8px 10px;font-size:12px;line-height:1.4;white-space:normal}
 .wt-layout .part-info,.wt-layout .workorder-row>div{min-width:0}
 .wt-layout .part-info strong,.wt-layout .workorder-row strong{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
 .wt-layout .part-info span,.wt-layout .workorder-row p,.wt-layout .workorder-row small{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
 .wt-layout .month-nav.continuous-month-nav{top:-20px;padding-top:11px;padding-bottom:11px;gap:7px;align-items:center}
 .wt-layout .month-nav.continuous-month-nav h3{font-size:19px;line-height:1.4}
 .wt-layout .month-nav.continuous-month-nav button{min-height:35px;font-size:12px;line-height:1.4;padding:7px 10px}
 .wt-layout .empty{font-size:14px;line-height:1.85;color:#657892;padding:44px 18px}
 .wt-layout .schedule-bar{padding:12px 14px;gap:12px;border-color:#dce5f2}
 .wt-layout .schedule-bar h3{font-size:14px;line-height:1.5}
 .wt-layout .schedule-actions{gap:6px}
 .wt-layout .schedule-actions button,.wt-layout .schedule-actions a{min-height:35px;padding:8px 10px;font-size:12px;line-height:1.4;white-space:normal}
 .wt-layout .schedule-wrap{gap:10px}
}
/* A phone rotated into landscape remains a touch workspace, even above 760px. */
@media screen and (pointer:coarse) and (min-width:761px) and (max-height:500px){
 .app.wt-layout[data-current-view],.app.wt-layout.detail-open,.app.wt-layout.schedule-mode.detail-open,.app.wt-layout.wt-layout-right-open:not(.detail-open){grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) auto!important;height:var(--worktalk-viewport-height,100dvh)}
 .app.wt-layout .side:not(:where([data-desk-owner])),.app.wt-layout .rail:not(:where([data-desk-owner])),.app.wt-layout .right,.wt-layout .top-actions .wt-layout-utility{display:none!important}
 .wt-layout .center,.app.wt-layout.detail-open .center{grid-column:1;grid-row:1;min-height:0;height:auto!important;max-height:100%;align-self:stretch}
 .wt-layout .top,.wt-layout:not(.dm-mode) .top{min-height:52px;padding:8px 12px;gap:8px;flex-wrap:nowrap}
 .wt-layout .top>div:first-child{flex:1;min-width:0}
 .wt-layout .top h2{font-size:17px}
 .wt-layout .top .top-subtitle{font-size:10px!important;margin-top:2px}
 .wt-layout .top-actions{width:auto;gap:5px;flex-wrap:nowrap}
 .wt-layout .top-actions button,.wt-layout .top-actions #new-case,.wt-layout .top-actions #top-more{min-height:34px;padding:7px 9px;font-size:11px}
 .app.wt-layout:not(.dm-mode) #quick-summary{display:none!important}
 .wt-layout .toolbar{padding:0 12px 7px;gap:5px;flex-wrap:nowrap}
 .wt-layout .toolbar input{min-height:33px;padding:6px 10px;font-size:16px}
 .wt-layout .toolbar button{min-height:33px;padding:6px 10px}
 .wt-layout .toolbar #toggle-cancelled{display:none}
 .wt-layout .feed{padding:12px}
 .wt-layout .mobile-bottom-nav{display:grid;position:static!important;grid-template-columns:repeat(5,minmax(0,1fr));grid-row:2;min-height:49px;height:auto;padding:3px max(8px,env(safe-area-inset-right)) calc(3px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));width:100%;border-top:1px solid #dce5f2;background:#fff;z-index:24}
 .wt-layout .mobile-bottom-nav button{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:5px 7px;border:0;border-radius:7px;font-size:12px}
 .wt-layout .mobile-bottom-nav button span{font-size:17px}
 .wt-layout .mobile-bottom-nav button b{font-size:12px!important}
 .wt-layout .mobile-bottom-nav button.active{background:#e8f0ff;color:#1c55b7}
 .wt-layout-scrim{display:none}
 .wt-layout-scrim.for-detail{display:block}
 dialog.case-detail.wt-layout-detail{inset:0 0 0 auto!important;width:min(460px,96vw)!important;height:100dvh;max-height:100dvh!important;border-radius:12px 0 0 12px}
 .wt-layout-detail .dialog-head{padding:10px 15px;min-height:56px}
 .wt-layout-detail .dialog-body{padding:14px 16px}
}
@media screen and (min-width:761px) and (max-width:1319px){
 .wt-layout .side:not(:where([data-desk-owner])) .userbox{flex-wrap:wrap;gap:5px 7px}
 .wt-layout .side:not(:where([data-desk-owner])) .userbox>div:nth-child(2){flex:1 0 calc(100% - 40px)}
 .wt-layout .side:not(:where([data-desk-owner])) .userbox #notify-quick{margin-left:37px}
}
