/* Existing CRM font, palette and WhatsApp body remain authoritative. */
body.ui2.crm171{--workspace149:0px;--top:60px!important}
body.ui2.crm171 .main{padding-top:0!important}
body.ui2.crm171 #workspaces142{display:none!important}
body.ui2.crm171 .top{top:0!important;height:60px;min-height:60px;flex:0 0 60px;display:flex!important;flex-direction:row;flex-wrap:nowrap;gap:3px;padding:0 8px!important;background:var(--surface,#fff);z-index:40}
body.ui2.crm171 .top .u2TopBrand{display:flex!important;align-items:center;width:30px;min-width:30px;height:38px;flex:none;padding:0;cursor:pointer}
body.ui2.crm171 .top .u2TopBrand .u2Word{display:none!important}
body.ui2.crm171 .top .u2TopBrand .u2Mark{display:block!important;width:30px;height:30px;min-width:30px;background-size:contain}
body.ui2.crm171 .top #menu171{display:grid!important;place-items:center;width:27px;height:36px;min-width:27px;padding:3px;flex:none;border:0;background:none}
body.ui2.crm171 .top #menu171 svg{width:21px;height:21px}
body.ui2.crm171 .top #u2TitleBtn{display:flex;align-items:center;flex:1 1 120px;min-width:70px;max-width:160px;height:50px!important;gap:1px;padding:0 3px!important;grid-column:auto;grid-row:auto}
body.ui2.crm171 .top #title{font-family:var(--font);font-size:18px!important;line-height:21px;font-weight:750;white-space:normal!important;overflow:visible;text-overflow:clip;letter-spacing:0;text-align:left}
body.ui2.crm171 .top #u2TitleBtn>.u2Mark,body.ui2.crm171 .top #u2TitleBtn>.w130-menu-icon{display:none!important}
body.ui2.crm171 .top #u2TitleBtn .u2Chev{display:block!important;width:12px;min-width:12px}
body.ui2.crm171 .top #subtitle,body.ui2.crm171 .top #gsearch,body.ui2.crm171 .top #refreshBtn{display:none!important}
body.ui2.crm171 #topActions{display:flex;gap:3px!important;margin-left:0;flex:none}
body.ui2.crm171 #topActions #ask73Entry{position:static!important;display:block!important;right:auto!important;bottom:auto!important;min-height:34px!important;height:34px!important;padding:0 9px!important;font-size:12px!important;line-height:34px!important;border-radius:20px!important;white-space:nowrap;box-shadow:none!important;background:var(--acc)!important;color:var(--onacc,#fff)!important;border:0}
body.ui2.crm171 .top #topActions>.u2Icon{display:flex!important;align-items:center;justify-content:center;width:27px;min-width:27px;height:36px;padding:3px}
body.ui2.crm171 .top #topActions>.u2Icon svg{width:20px;height:20px}
body.ui2.crm171 .top .u2Bell{display:flex!important;position:relative}
body.ui2.crm171 .notifDot{min-width:13px;height:13px;font-size:9px;line-height:13px;top:0;right:-2px}
body.ui2.crm171 #u2MenuPop{top:60px!important;left:8px!important;max-height:calc(100dvh - 72px)}
#workspace171Scrim{position:fixed;inset:0;z-index:90;background:#23141826;border:0;width:100%;height:100%;padding:0}
#workspace171Pop{position:fixed;left:10px;top:58px;z-index:91;width:300px;max-width:calc(100vw - 20px);padding:10px 0;background:var(--surface,#fff);border:1px solid var(--edge);border-radius:15px;box-shadow:0 12px 35px #3c101a25;color:var(--ink)}
#workspace171Pop header{font-size:12px;color:var(--muted);padding:5px 17px}
#workspace171Pop button{width:100%;display:flex;align-items:center;gap:12px;font:inherit;font-size:15px;min-height:48px;padding:10px 17px;border:0;background:none;text-align:left;color:inherit}
#workspace171Pop button:hover{background:var(--neu)}#workspace171Pop svg{width:21px;height:21px;color:var(--acc)}
body.ui2.crm171[data-page=phone139],body.ui2.crm171[data-page=dashboard]{--tabs:0px}
body.ui2.crm171[data-page=phone139] #u2Tabs,body.ui2.crm171[data-page=dashboard] #u2Tabs{display:none!important}
body.ui2.crm171[data-page=phone139] #content,body.ui2.crm171[data-page=dashboard] #content{padding:0!important;overflow:hidden!important;background:var(--page)}
.p171,.p171-overview{height:100%;min-height:0;display:grid;grid-template-columns:var(--list,372px) minmax(280px,1fr) var(--patient,344px);color:var(--ink);font:400 15px/1.35 var(--font);width:100%;max-width:none;margin:0;background:var(--page)}
.p171 *,.p171-overview *{box-sizing:border-box}.p171 button,.p171 input,.p171 select,.p171-overview button{font:inherit;color:inherit;letter-spacing:0}.p171 button,.p171-overview button{cursor:pointer}.p171 button:disabled{opacity:.45;cursor:default}.p171 button:focus-visible,.p171-overview button:focus-visible{outline:2px solid var(--acc);outline-offset:-3px}
.p171 svg,.p171-overview svg{width:20px;height:20px;flex:none}.p171 h2,.p171-overview h2{font-size:20px;font-weight:750;line-height:1.3;letter-spacing:0;margin:0}.p171 h3,.p171-overview h3{font-size:16.5px;font-weight:700;line-height:1.3;margin:0}.p171 h4{font-size:14px;font-weight:700;margin:16px 0 8px}.p171 .help,.p171-overview .help{font-size:13px;line-height:1.5;color:var(--muted)}
.p171-left,.p171-overview-left{border-right:1px solid var(--line);background:var(--surface,#fff);overflow:auto;min-height:0;padding:14px 16px;display:flex;flex-direction:column;gap:12px}
.p171-left .p150-search{margin:0}.p171-left .p150-search input,.p171-mobile-search input{border:0;background:var(--neu);border-radius:24px;min-height:44px;font-size:14.5px;width:100%;padding:0 15px;color:var(--ink);margin:0}
.p171-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.p171-section-head small{font-size:12px;color:var(--muted);font-weight:400;margin-left:4px}.p171-section-head>.btn{height:30px;min-height:30px!important;padding:4px 6px;font-size:13px!important;border:0;background:transparent}
.p171 .btn{background:var(--surface,#fff);border:1px solid var(--edge);border-radius:10px;min-height:36px;font-size:13.5px;padding:7px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.p171 .btn.primary{background:var(--acc);color:var(--onacc,#fff);border-color:var(--acc)}
.p171-nav-items{display:flex;flex-direction:column;gap:3px}.p171-nav-items button,.p171-overview-route{display:flex;align-items:center;gap:12px;min-height:42px;text-align:left;width:100%;border:0;border-radius:9px;background:none;padding:8px 11px;font-size:15px!important}.p171-nav-items button[aria-current=page],.p171-overview-route:hover{background:var(--soft);color:var(--deep)}.p171-nav-items svg{color:var(--acc)}.p171-nav-items span,.p171-overview-route span{flex:1}.p171-nav-items b,.p171-overview-route b{font-size:12px;font-weight:650;color:var(--muted)}
.p171-callbacks{border-top:1px solid var(--line);padding:15px 0}.p171-callbacks h3{font-size:14px}.p171-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.p171-person-pill{display:flex;align-items:center;gap:7px;border:1px solid var(--edge);background:var(--surface,#fff);border-radius:24px;padding:5px 10px 5px 5px;max-width:100%;min-height:36px;font-size:13px!important}.p171-person-pill>span:not(.p150-avatar){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.p171 .p150-avatar{background:var(--sel);color:var(--deep);font-size:14px;font-weight:700;width:44px;height:44px;min-width:44px;display:grid;place-items:center;flex:none;border-radius:50%}.p171-person-pill .p150-avatar{width:26px;height:26px;min-width:26px;font-size:10px}.p171-person-pill svg{width:14px;height:14px;color:var(--green,#0b6b45)}
.p171-left .p150-label{font-size:12px;color:var(--muted);margin:0}.p171-left select{min-height:42px;border:1px solid var(--edge);border-radius:10px;padding:6px 10px;background:var(--surface,#fff);width:100%;font-size:14px}.p171-connection{margin-top:auto;padding-top:12px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.p171-connection summary{cursor:pointer;line-height:1.6}.p171-connection .p154-sync{padding:8px 0;border:0;border-radius:0;display:block;background:none}.p171-connection .p154-sync strong{font-size:13px}.p171-connection .p154-sync small{font-size:12px}.p171-connection .p154-sync .actions{margin-top:8px}
.p171-queue,.p171-center,.p171-detail,.p171-overview-main,.p171-overview-right{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.p171-queue{grid-column:2;background:var(--page)}.p171-center{display:none}.p171-detail,.p171-overview-right{grid-column:3;border-left:1px solid var(--line);background:var(--page)}
.p171-pane-head{height:60px;min-height:60px;display:flex;align-items:center;gap:10px;padding:0 17px;border-bottom:1px solid var(--line);background:var(--surface,#fff)}.p171-pane-head h2{font-size:16.5px;font-weight:700;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.p171-pane-head>span{font-size:12px;color:var(--muted)}.p171-pane-head>div{display:flex;gap:6px}.p171-pane-head .btn{border:0;background:none;padding:5px;min-width:30px}.p171-detail .p171-pane-head>[data-p150=close171]{display:none}
.p171 .p150-items,.p171-scroll{overflow:auto;min-height:0;flex:1;display:block;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d8b9bd transparent;padding:0}.p171 .p150-items{padding:10px 18px 20px}.p171 .p154-call-filters{padding:12px 18px 4px;margin:0;display:flex;gap:7px;flex:none}.p171 .p154-call-filters button{border:1px solid var(--edge);border-radius:22px;background:var(--surface,#fff);padding:6px 14px;min-height:32px;font-size:13px}.p171 .p154-call-filters button[aria-pressed=true]{background:var(--soft);border-color:var(--acc);color:var(--deep)}
.p171-call{border:1px solid var(--line);background:var(--surface,#fff);border-radius:14px;margin:9px 0;overflow:hidden}.p171-call.selected{border-color:var(--edge)}.p171-call-select{border:0;background:none;display:flex;gap:11px;align-items:flex-start;text-align:left;padding:14px 15px 10px;width:100%}.p171-call-name{flex:1;min-width:0}.p171-call-name b{display:block;font-size:16.5px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.p171-call-name small{display:block;margin:3px 0 5px;font-size:14px;color:var(--muted)}.p171-call-select time{font-size:12px;color:var(--muted);white-space:nowrap;margin-top:3px}.p171-stage{font-size:12px;font-weight:700;line-height:17px;border-radius:5px;background:var(--neu);padding:2px 7px;display:inline-block;color:var(--deep)}.p171-call-bottom{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:0 15px 9px 70px;font-size:12px;color:var(--muted)}.p171-call-bottom .btn{min-height:30px;padding:4px 6px;color:var(--green,#0b6b45);background:none;border:0}.p171-call-bottom svg{width:17px;height:17px}.p171-unmatched{padding:15px}.p171-unmatched small{display:block;margin-top:4px;color:var(--muted)}
.p171-inline-summary{border-top:1px solid var(--line)}.p171-inline-summary>.p171-pane-head{display:none}.p171-inline-summary .p171-scroll{overflow:visible}.p171-inline-summary .p171-card{border:0;border-radius:0;margin:0;padding:14px 16px}.p171-inline-summary .p171-summary-card{background:var(--soft)}
.p171-card{border:1px solid var(--edge);border-radius:15px;background:var(--surface,#fff);padding:16px;margin:12px 16px}.p171-card>header{margin-bottom:12px}.p171-card p{font-size:14.5px;line-height:1.5;margin:10px 0;overflow-wrap:anywhere;white-space:pre-wrap}.p171-card summary{font-size:15px;font-weight:700;cursor:pointer;line-height:1.5;display:flex;align-items:center;gap:9px}.p171-card details>summary{display:list-item}.p171-card summary svg{color:var(--acc);width:18px;height:18px}.p171-card time{font-size:12px;color:var(--muted)}.p171-draft{font-size:11px;font-weight:500;background:var(--neu);border-radius:4px;padding:2px 6px;color:var(--muted);margin-left:5px}.p171-summary-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:15px}.p171-summary-actions .btn{background:var(--surface,#fff);font-size:12.5px}.p171-person{display:flex;gap:13px;align-items:flex-start;padding:20px 17px 10px}.p171-person>.p150-avatar{width:64px;height:64px;min-width:64px;font-size:20px}.p171-person h2{font-size:20px;font-weight:800}.p171-person p{font-size:12.5px;color:var(--muted);margin:5px 0}.p171-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:0 16px}.p171-tiles .btn{display:flex;flex-direction:column;gap:6px;font-size:12px;min-height:63px;padding:8px 3px;border-radius:14px}.p171-tiles .btn svg{color:var(--acc);height:18px}.p171-tiles .btn:first-child svg{color:var(--green,#0b6b45)}
.p171-history{display:flex;flex-direction:column;align-items:stretch;gap:5px;text-align:left;border:0;border-bottom:1px solid var(--line);background:none;width:100%;padding:12px 0}.p171-history>span{display:flex;gap:9px;align-items:center;font-size:14px}.p171-history small{font-size:12px;color:var(--muted);padding-left:27px}.p171-history svg{width:17px;height:17px;color:var(--acc)}.p171-history b{font-weight:600}.p171-transcript{white-space:pre-wrap;font-size:14px!important}.p171-staff-note{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.p171-links .btn{width:100%;justify-content:flex-start;border:0;border-radius:0;min-height:46px}.p171-links .btn+.btn{border-top:1px solid var(--line)}.p171-empty{padding:44px 22px;text-align:center;color:var(--muted);margin:auto}.p171-empty h2,.p171-empty h3{color:var(--ink)}.p171-empty>span>svg{width:42px;height:42px;color:var(--acc);margin-bottom:15px}.p171-empty p{font-size:14.5px;line-height:1.5}.p171-mobile-search{display:none}.p171-load{padding:16px;width:100%;border:0;background:none;color:var(--acc)!important;font-size:13px!important}
.p171-overview-left>h2{font-size:16.5px;margin:5px 11px 10px}.p171-overview-main{background:var(--page)}.p171-overview-main>.p171-scroll{padding:20px}.p171-overview-welcome{margin:0 0 20px}.p171-overview-welcome h2{font-size:23px;font-weight:750}.p171-overview-welcome p{font-size:14px;color:var(--muted);margin:6px 0}.p171-overview-toggle{display:flex;gap:4px;padding:4px;background:var(--neu);border-radius:20px}.p171-overview-toggle button{border:0;background:none;border-radius:20px;font-size:12px;padding:5px 10px}.p171-overview-toggle button[aria-pressed=true]{background:var(--surface,#fff);box-shadow:0 1px 3px #0001}.p171-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}.p171-metrics>button{background:var(--surface,#fff);border:1px solid var(--edge);border-radius:14px;padding:16px;text-align:left;display:grid;grid-template-columns:1fr auto;gap:8px}.p171-metrics svg{grid-column:2;grid-row:1;color:var(--acc);width:18px;height:18px}.p171-metrics span{grid-column:1;grid-row:1;font-size:13.5px;color:var(--muted)}.p171-metrics strong{grid-column:1/-1;font-size:27px;font-weight:750}.p171-overview-main .p171-card{margin:14px 0;padding:16px}.p171-overview-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;min-height:65px;padding:12px 0;border:0;border-top:1px solid var(--line);background:none}.p171-overview-row>span{flex:1;min-width:0}.p171-overview-row b,.p171-attention b{display:block;font-size:16px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.p171-overview-row small,.p171-attention small{display:block;font-size:13px;color:var(--muted);margin-top:5px}.p171-overview-row time{font-size:12px;color:var(--muted)}.p171-overview .p171-section-head>.p171-overview-route{width:auto;font-size:12px!important;color:var(--acc);gap:5px;padding:3px;min-height:26px}.p171-overview .p171-section-head>.p171-overview-route svg{width:14px;height:14px}.p171-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.p171-week button{border:0;background:var(--neu);border-radius:9px;padding:10px 2px;display:flex;flex-direction:column;gap:7px;align-items:center}.p171-week small{font-size:11px;color:var(--muted)}.p171-week b{font-size:17px}.p171-week span{font-size:10px;color:var(--muted)}.p171-attention{width:100%;display:flex;gap:11px;padding:16px;border:0;border-bottom:1px solid var(--line);background:var(--surface,#fff);text-align:left}.p171-attention>span{min-width:0;flex:1}.p171-attention svg{color:var(--acc);margin-top:2px}.p171-attention time{display:block;font-size:12px;color:var(--acc);margin-top:7px}.p171-overview-right>.p171-scroll>.p171-overview-route{padding:14px 16px;font-size:14px!important}.p171-overview-left .p171-person-pill{margin-top:8px;width:100%;padding:9px 12px}

/* A single shared header; columns stay beside each other on tablets/foldables. */
body.ui2.crm171{--top:64px!important;--nav173:clamp(160px,24vw,372px);--right173:clamp(260px,27vw,372px)}
body.ui2.crm171 .main{padding-top:0!important}
body.ui2.crm171 .top,body.ui2.crm171.wsFit .top{position:relative!important;inset:auto!important;width:100%!important;min-height:64px!important;height:64px!important;flex:0 0 64px!important;display:flex!important;justify-content:flex-start;gap:8px;padding:0 12px!important;border-right:0}
body.ui2.crm171 .top #menu171{width:44px;min-width:44px;height:48px;padding:10px;border-radius:10px}
body.ui2.crm171 .top #menu171 svg{width:24px;height:24px}
body.ui2.crm171 .top .u2TopBrand{width:44px;min-width:44px;height:48px;justify-content:center;border-radius:10px}
body.ui2.crm171 .top .u2TopBrand .u2Mark{width:36px;min-width:36px;height:36px}
body.ui2.crm171 .top #u2TitleBtn{flex:0 1 auto;min-width:90px;max-width:280px;padding:0 8px!important;gap:6px;height:48px!important;border-radius:10px}
body.ui2.crm171 .top #title{font-size:22px!important;line-height:26px;font-weight:800;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
body.ui2.crm171 .top #u2TitleBtn .u2Chev{width:16px;min-width:16px}
body.ui2.crm171 #topActions{gap:8px!important;margin-left:6px;align-items:center}
body.ui2.crm171 #topActions #ask73Entry{height:44px!important;min-height:44px!important;line-height:44px!important;padding:0 15px!important;font-size:14px!important;font-weight:750;border-radius:24px!important}
body.ui2.crm171 .top #topActions>.u2Icon{height:44px;width:44px;min-width:44px;padding:10px}
body.ui2.crm171 .top #topActions>.u2Icon svg{width:23px;height:23px}
body.ui2.crm171 .top #topActions #refreshBtn,body.ui2.crm171 .top #gsearch{display:none!important}
body.ui2.crm171 #u2MenuPop,#workspace171Pop{top:66px!important;left:12px!important;max-height:calc(100dvh - 78px);overflow:auto}
body.ui2.crm171 #u2MenuPop{width:320px;max-width:calc(100vw - 24px)}
body.ui2.crm171 #u2MenuPop .u2MenuItem,#workspace171Pop button{min-height:48px;height:auto;font-family:var(--font);font-size:17px;font-weight:650;padding:12px 16px;gap:13px}
body.ui2.crm171 #u2MenuPop .u2MenuItem>svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none;color:var(--acc)}
body.ui2.crm171 #u2MenuPop .u2MenuHead,#workspace171Pop header{font-size:13px;font-weight:700;padding:12px 16px 7px}
body.ui2.crm171 #u2MenuPop .u2MenuItem.on{background:var(--soft);color:var(--deep)}
body.ui2.crm171.wsFit #content{position:relative!important;inset:auto!important;top:auto!important;flex:1 1 auto;min-height:0;overflow:hidden}
body.ui2.crm171.wsFit .u2Split{top:0!important;bottom:0}
@media(min-width:680px){body.ui2.crm171.wsFit .waListCol,body.ui2.crm171.wsFit.waMobileChat .waListCol{padding-top:0!important}}
body.ui2.crm171[data-page=phone139] #content,body.ui2.crm171[data-page=dashboard] #content{position:relative!important;inset:auto!important;padding:0!important;flex:1 1 auto;overflow:hidden!important}
body.ui2.crm171.space173-phone:is([data-page=more],[data-page=settings],[data-page=calendar],[data-page=appointments],[data-page=staff],[data-page=plan139]){--tabs:0px}
body.ui2.crm171.space173-phone:is([data-page=more],[data-page=settings],[data-page=calendar],[data-page=appointments],[data-page=staff],[data-page=plan139]) #u2Tabs{display:none!important}
.p171,.p171-overview{grid-template-columns:var(--nav173) minmax(0,1fr) var(--right173);grid-template-rows:minmax(0,1fr);font-size:16px}
.p171-left,.p171-overview-left{grid-column:1;grid-row:1;padding:16px 12px;gap:12px}
.p171-queue,.p171-overview-main{grid-column:2;grid-row:1}
.p171-detail,.p171-overview-right{display:flex;grid-column:3;grid-row:1;border-left:1px solid var(--line);border-top:0;max-height:none}
.p171-center{display:none!important}
.p171 h2,.p171-overview h2{font-weight:800}.p171 h3,.p171-overview h3{font-size:17px;font-weight:750}
.p171 .help,.p171-overview .help{font-size:14px;font-weight:500}
.p171-pane-head{height:64px;min-height:64px;padding:0 16px}.p171-pane-head h2{font-size:18px;font-weight:750}
.p171-nav-items button,.p171-overview-route{min-height:48px;font-size:16px!important;font-weight:650;gap:10px;padding:10px 12px;line-height:1.4}
.p171-nav-items button span,.p171-overview-route>span{min-width:0;overflow-wrap:anywhere}
.p171-overview-route small{display:block;font-size:12.5px;font-weight:500;color:var(--muted);line-height:1.4;margin-top:3px}
.p171-nav-items b,.p171-overview-route b{font-size:14px;font-weight:750}
.p171-overview-left>h2{margin:4px 12px 10px;font-size:18px}
.p171-left .p150-label{font-size:13px;font-weight:650}
.p171-callbacks h3{font-size:15px}.p171-person-pill{font-size:14px!important;min-height:42px;font-weight:600}
body.ui2.crm171 .p171 .btn{font-size:14px;font-weight:650;min-height:44px;line-height:1.4}
body.ui2.crm171 .p171 .p171-pane-head .btn,body.ui2.crm171 .p171 .p171-section-head .btn{width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;background:transparent;border:0;border-radius:10px}
body.ui2.crm171 .p171 .p171-section-head .btn:not(:has(svg)){width:auto}
body.ui2.crm171 .p171 .p171-call-bottom .btn{width:44px;min-width:44px;min-height:44px;height:44px;padding:11px;border:0;background:transparent;border-radius:50%;color:var(--green,#0b6b45)}
body.ui2.crm171 .p171 .p171-call-bottom .btn svg{width:20px;height:20px}
.p171-call-select{gap:12px;align-items:flex-start;padding:16px 14px 6px;min-height:100px;position:relative}
.p171-call-name b{font-size:17.5px;font-weight:750;line-height:1.35}
.p171-call-name .p173-phone{display:block;font-size:15.5px;font-weight:650;line-height:1.45;color:var(--ink);margin:3px 0}
.p171-call-name small{font-size:14.5px;font-weight:500;line-height:1.4;margin:3px 0 7px}
.p171-call-select time{font-size:12px;font-weight:500;max-width:98px;text-align:right;white-space:normal;line-height:1.4;margin-right:18px}
.p173-collapse{position:absolute;right:12px;top:16px;color:var(--muted)}.p173-collapse svg{width:16px;height:16px;transform:rotate(0)}.p171-call.selected .p173-collapse svg{transform:rotate(90deg)}
.p171-stage{font-size:12px;font-weight:750;line-height:18px}
.p171-call-bottom{padding:0 10px 7px 70px;font-size:13px;font-weight:500;min-height:46px}
.p171-card{padding:16px;margin:12px}.p171-card p{font-size:15px;line-height:1.55;font-weight:500}.p171-card summary{font-size:16px;font-weight:750;min-height:30px}
.p171-transcript{font-size:15px!important;font-weight:500}.p171-history b{font-size:14px;font-weight:700}.p171-history small{font-size:13px;font-weight:500}
.p171-person{gap:10px;padding:18px 12px 12px}.p171-person>.p150-avatar{width:50px;min-width:50px;height:50px;font-size:17px}.p171-person h2{font-size:20px;overflow-wrap:anywhere}.p171-person p{font-size:14px;font-weight:650}
.p171-tiles{padding:0 12px;gap:5px}body.ui2.crm171 .p171 .p171-tiles .btn{font-size:12.5px;min-height:66px;padding:8px 2px;gap:7px;background:var(--surface,#fff);border:1px solid var(--line);border-radius:13px}.p171-tiles svg{height:20px;width:20px}
.p171-inline-summary .p171-summary-card{padding:16px}.p171-summary-actions .btn{font-size:13px!important;min-height:44px!important}
.p171-left .p173-search,.p173-search{display:flex;align-items:center;gap:9px;min-height:48px;padding:0 13px;border:1px solid var(--edge);border-radius:24px;background:var(--neu);box-sizing:border-box;margin:0}
.p173-search svg{height:20px;width:20px;flex:none;color:var(--muted)}
.p171-left .p173-search input,.p173-search input{border:0!important;background:transparent!important;outline:0;box-shadow:none!important;min-width:0;flex:1;width:100%;min-height:46px;font-size:15px!important;font-weight:500;padding:0!important;margin:0!important;color:var(--ink);border-radius:0!important}
.p173-search:focus-within{outline:2px solid var(--acc);outline-offset:1px}
.p173-search.p171-mobile-search{display:none}
.p173-overview-head{height:auto;min-height:72px;padding-top:10px;padding-bottom:10px;gap:12px}
.p173-overview-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;min-width:0}
.p171-overview-toggle{padding:3px;border-radius:24px;gap:2px}.p171-overview-toggle button{font-size:14px;font-weight:650;min-height:44px;padding:9px 12px}
.p173-open-workspace{border:1px solid var(--acc);border-radius:24px;min-height:44px;padding:9px 14px;background:var(--acc);color:var(--onacc,#fff)!important;display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;font-size:14px!important;font-weight:750!important}
.p173-open-workspace svg{height:18px;width:18px}
.p173-text-link{font:inherit;font-size:14px!important;font-weight:650!important;border:0;background:none;color:var(--acc)!important;padding:10px;min-height:44px;cursor:pointer}
.p171-overview-main>.p171-scroll{padding:22px 18px}.p171-overview-welcome h2{font-size:24px}.p171-overview-welcome p{font-size:15px;font-weight:500}
.p171-metrics span{font-size:15px;font-weight:600}.p171-metrics strong{font-size:29px;font-weight:800}
.p171-overview-row b,.p171-attention b{font-size:17px;font-weight:750}.p171-overview-row small,.p171-attention small{font-size:14px;font-weight:500;line-height:1.45}.p171-overview-row .p173-phone,.p171-attention .p173-phone{font-weight:650;color:var(--ink)}
.p171-attention{padding:16px 14px}.p171-attention time{font-size:12px;font-weight:600}.p171-overview-row time{font-size:12px;max-width:95px;text-align:right}
.p171-week button{min-height:85px}.p171-week small{font-size:12px;font-weight:600}.p171-week span{font-size:11px;font-weight:500}
.p171-detail .p171-pane-head>[data-p150=close171]{display:none}
@media(min-width:680px) and (max-width:1099px){
 .p171-left,.p171-overview-left{padding:12px 8px}.p171-nav-items button,.p171-overview-route{font-size:15px!important;gap:8px;padding:10px 8px}.p171-nav-items svg,.p171-overview-route svg{width:19px;height:19px}.p171-left .p173-search{padding:0 10px;gap:5px}.p171-left .p173-search input{font-size:14px!important}.p171 .p150-items{padding:8px}.p171-call-select{gap:8px;padding:13px 10px 5px;display:grid;grid-template-columns:38px minmax(0,1fr)}.p171-call-select>.p150-avatar{width:38px;min-width:38px;height:38px;font-size:12px}.p171-call-name b{font-size:17px}.p171-call-name .p173-phone{font-size:15px}.p171-call-name small{font-size:14px}.p171-call-select time{grid-column:2;max-width:none;text-align:left;margin:0;font-size:12px}.p171-call-bottom{padding-left:56px;font-size:12px}.p171-pane-head{padding-left:12px;padding-right:10px}.p171-pane-head h2{font-size:17px}.p171 .p154-call-filters{padding:10px 8px 4px;gap:4px;flex-wrap:wrap}.p171 .p154-call-filters button{font-size:13px;padding:7px 10px;min-height:38px}.p171-overview-main>.p171-scroll{padding:16px 12px}.p173-overview-head>h2{display:none}.p173-overview-actions{width:100%;justify-content:flex-start;gap:6px}.p171-overview-toggle button{padding-left:9px;padding-right:9px}.p173-open-workspace{width:100%}.p171-week{grid-template-columns:repeat(4,minmax(0,1fr))}.p171-metrics{gap:8px}.p171-metrics>button{padding:12px}.p171-metrics span{font-size:14px}.p171-metrics svg{width:16px;height:16px}.p171-overview-row{align-items:flex-start;flex-wrap:wrap;gap:5px}.p171-overview-row>span{flex-basis:100%}.p171-overview-row time{max-width:none;text-align:left}.p171-person h2{font-size:18px}.p171-card{padding:13px;margin:10px}.p171-card h3{font-size:16px}.p171-history b{font-size:13.5px}.p171-tiles{padding:0 10px;gap:4px}
}
@media(max-width:679px){
 body.ui2.crm171{--top:104px!important}
 body.ui2.crm171 .top,body.ui2.crm171.wsFit .top{display:grid!important;grid-template-columns:44px 44px minmax(0,1fr);grid-template-rows:52px 44px;gap:0 5px;padding:4px 10px!important;height:104px!important;min-height:104px!important;flex-basis:104px!important}
 body.ui2.crm171 .top #menu171{grid-column:1;grid-row:1;width:44px;height:48px}
 body.ui2.crm171 .top .u2TopBrand{grid-column:2;grid-row:1;width:44px;height:48px}
 body.ui2.crm171 .top #u2TitleBtn{grid-column:3;grid-row:1;min-width:0;max-width:none;width:100%;padding-left:8px!important;justify-content:flex-start}
 body.ui2.crm171 .top #title{font-size:23px!important;line-height:28px}
 body.ui2.crm171 #topActions{grid-column:1/-1;grid-row:2;margin:0;padding-left:3px;gap:10px!important;justify-content:flex-start}
 body.ui2.crm171 #topActions #ask73Entry{font-size:14px!important;min-height:44px!important;height:44px!important;padding:0 16px!important}
 body.ui2.crm171.waMobileChat.wsFit .top{display:none!important}
 body.ui2.crm171 #u2MenuPop,#workspace171Pop{top:106px!important;left:10px!important;max-height:calc(100dvh - 116px)}
 .p171,.p171-overview{display:flex;flex-direction:column;height:100%;min-height:0}
 .p171-left,.p171-overview-left,.p171-overview-right{display:none!important}
 .p171-overview-main,.p171-queue{display:flex;flex:1;min-height:0}
 .p171-detail{display:none}.p171.p171-show-notes .p171-queue{display:none}.p171.p171-show-notes .p171-detail{display:flex;flex:1;border-left:0}
 .p171-detail .p171-pane-head>[data-p150=close171]{display:flex}
 .p171 .p150-items{padding:6px 12px 18px}.p171-pane-head{height:58px;min-height:58px;padding-left:14px;padding-right:10px}
 .p173-search.p171-mobile-search{display:flex;flex:none;margin:10px 12px 0;padding:0 13px}
 .p171 .p154-call-filters{padding:11px 12px 4px;gap:6px}.p171 .p154-call-filters button{min-height:40px;padding:8px 14px;font-size:14px;font-weight:600}
 .p171-call-select{padding:14px 12px 6px;gap:10px}.p171-call-select time{max-width:73px;font-size:11.5px;margin-right:12px}.p171-call-name b{font-size:17.5px}.p171-call-name .p173-phone{font-size:15px}.p171-call-name small{font-size:14px}.p171-call-bottom{padding-left:66px;font-size:12.5px}
 .p171-inline-summary>.p171-pane-head{display:flex;height:50px;min-height:50px}.p171-inline-summary>.p171-pane-head>h2,.p171-inline-summary>.p171-pane-head>span{display:none}.p171-inline-summary>.p171-pane-head>[aria-label="Contact file"]{margin-left:auto}
 .p173-overview-head{height:auto;min-height:70px;padding:10px 12px}.p173-overview-head>h2{display:none}.p173-overview-actions{width:100%;justify-content:space-between;gap:8px}.p171-overview-toggle button{font-size:14px;padding:8px 10px}.p173-open-workspace{font-size:13px!important;padding:8px 11px;gap:6px}.p173-open-workspace svg{width:16px;height:16px}
 .p171-overview-main>.p171-scroll{padding:18px 12px}.p171-overview-welcome h2{font-size:23px}.p171-metrics{gap:10px}.p171-metrics>button{padding:15px 12px}.p171-metrics span{font-size:14.5px}.p171-metrics strong{font-size:28px}
 .p171-overview-row b{font-size:17px}.p171-overview-row small{font-size:14px}.p171-overview-row time{font-size:11.5px;max-width:77px}.p171-week{gap:4px}.p171-week span{font-size:10px}.p171-week small{font-size:11px}
}
@media(max-width:369px){.p173-open-workspace{width:100%}.p173-overview-actions{justify-content:flex-start}.p171-call-select time{max-width:66px}}
@media(prefers-reduced-motion:reduce){.crm171 *{scroll-behavior:auto!important}}

/* Uses the clinic's existing theme; touches navigation only. */
body.ui2.crm171 #u2MenuPop.menu417{padding:0;overflow:hidden;width:min(340px,calc(100vw - 24px));border:1px solid var(--line);border-radius:16px}
body.ui2.crm171 .menu417-top{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px 8px 16px;border-bottom:1px solid var(--line);background:var(--surface,#fff)}
body.ui2.crm171 .menu417-top h2{font-family:var(--font);font-size:16px;font-weight:750;margin:0;color:var(--ink)}
body.ui2.crm171 .menu417-close{min-width:52px;min-height:44px;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--acc);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
body.ui2.crm171 .menu417-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:4px 0 8px;scroll-padding:8px}
body.ui2.crm171 .menu417-scroll section+section{margin-top:4px;border-top:1px solid var(--line);padding-top:4px}
body.ui2.crm171 #u2MenuPop .menu417-heading,body.ui2.crm171 .menu417-sidebar .menu417-heading{font:inherit;font-size:11px;font-weight:700;color:var(--muted);padding:10px 16px 4px;margin:0}
body.ui2.crm171 #u2MenuPop.menu417 .u2MenuItem{width:100%;box-sizing:border-box;min-height:44px;font-size:14px;padding:10px 16px;line-height:1.4;gap:12px}
body.ui2.crm171 #u2MenuPop.menu417 .u2MenuItem>span:not(.u2Badge){min-width:0;overflow-wrap:anywhere}
body.ui2.crm171 #u2MenuPop.menu417 button:focus-visible{outline:2px solid var(--acc);outline-offset:-3px;border-radius:5px}
body.ui2.crm171 .menu417-sidebar .menu417-sections,body.ui2.crm171 .menu417-sidebar section{display:flex;flex-direction:column;min-width:0}
body.ui2.crm171 .menu417-sidebar section>button{width:100%;min-height:44px;box-sizing:border-box}
body.ui2.crm171 .menu417-sidebar .menu417-heading{padding:12px 10px 4px;font-size:11px}
body.ui2.crm171 .menu417-sidebar button:focus-visible{outline:2px solid var(--acc);outline-offset:-3px}

body.ui2.crm171 .top #u2TitleBtn:disabled{cursor:default;opacity:1}
body.ui2.crm171 .top #u2TitleBtn:disabled .u2Chev{display:none!important}
