/* Shared private-workspace corrections from the physical iPhone UX audit. */
.workspace-page .main,.workspace-page #content{min-width:0}
.workspace-page .device-explanation{padding:16px 20px}
.device-explanation summary{min-height:44px;display:flex;align-items:center;font-size:16px;cursor:pointer}
.workspace-page .device-row>.row-actions{flex-wrap:wrap;flex-shrink:0;gap:8px}
.workspace-page .device-row>div:first-child{min-width:0}
.workspace-page .device-row .badge{display:table;margin-top:7px}
.workspace-page .dialog-actions{flex-wrap:wrap}
.workspace-page .studio-confirm{max-height:85dvh;overflow:auto}
.workspace-page .studio-confirm .notification-body{max-height:32dvh;overflow:auto}
.workspace-page .notification-send-summary{padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--surface);margin:16px 0;overflow-wrap:anywhere}
.notification-send-summary h3{font-size:18px;margin:0 0 14px}.notification-send-summary h4{font-size:16px;margin:12px 0 6px}
.notification-send-summary p{font-size:14px;line-height:1.6;margin:8px 0}
.notification-send-summary .row-actions{display:flex;flex-wrap:wrap;gap:8px}
.workspace-page #notification-compose button:disabled{opacity:.45;box-shadow:none;cursor:not-allowed}
.workspace-page .notification-record footer{flex-wrap:wrap}
.workspace-page .notification-record footer>div{flex-wrap:wrap}
.workspace-page .notification-record footer .button{min-height:44px}
.workspace-page input[type=datetime-local]{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.workspace-page input[type=datetime-local]::-webkit-date-and-time-value{text-align:start;min-width:0}
.workspace-page .owner-view-strip{padding:8px 16px;gap:10px;font-size:13px;line-height:1.4;align-items:center}
.workspace-page .owner-view-strip a{white-space:nowrap;min-height:36px;display:inline-flex;align-items:center}
.workspace-page .notification-tabs{margin-bottom:18px}
.workspace-page .notification-compose>h2{font-size:23px;margin:0 0 18px}
.workspace-page .notification-compose>.eyebrow{display:none}
.workspace-page .oe-person .client-section-body>.panel{border:0;box-shadow:none;background:transparent;padding:0;margin:0}
.workspace-page .oe-person .client-section-body>.panel>h2,.workspace-page .oe-person .client-section-body>.panel>.eyebrow{display:none}
@media(max-width:850px){
 /* Reserve a real layout row for navigation. It cannot cover a form field. */
 .workspace-page:not(.knowme-canvas){height:100dvh;overflow:hidden;display:flex;flex-direction:column}
 .workspace-page:not(.knowme-canvas) #app{height:100%;min-height:0;display:flex;flex-direction:column}
 .workspace-page:not(.knowme-canvas) .workspace-banner{position:relative;flex:none;min-height:64px;padding:8px 14px}
 .workspace-page:not(.knowme-canvas) .workspace{display:flex;flex-direction:column;min-height:0;flex:1;padding:0;margin:0;overflow:hidden}
 .workspace-page:not(.knowme-canvas) .main,html[dir=rtl] .workspace-page:not(.knowme-canvas) .main{flex:1;overflow:auto;min-height:0;max-width:none;width:100%;margin:0;padding:18px 14px 24px;scroll-padding-block:16px;-webkit-overflow-scrolling:touch}
 .workspace-page:not(.knowme-canvas) .app-dock{position:relative;inset:auto;transform:none;flex:none;width:100%;max-width:none;margin:0;border-radius:20px 20px 0 0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:var(--panel);z-index:30;box-shadow:0 -4px 16px #0001}
 .workspace-page:not(.knowme-canvas) .page-heading{margin-bottom:18px;gap:12px;align-items:center}
 .workspace-page:not(.knowme-canvas) .page-heading h1{font-size:28px;max-width:none;line-height:1.2;letter-spacing:-.035em}
 .workspace-page:not(.knowme-canvas) .page-heading .eyebrow{display:none}
 .workspace-page:not(.knowme-canvas) .page-heading .muted{font-size:14px;line-height:1.5;margin:6px 0 0}
 .workspace-page .oe-summary{gap:7px}.workspace-page .oe-metric{min-height:76px;padding:12px;border-radius:17px;gap:4px}
 .oe-metric-symbol{display:none}.workspace-page .oe-metric strong{font-size:25px}.workspace-page .oe-summary-note{margin:8px 0 15px}
 .oe-section-heading{margin:18px 0 12px}.oe-section-heading h2{font-size:21px}.oe-section-heading p{display:none}
 .workspace-page .oe-cover{height:44px}.oe-monogram{font-size:28px;inset:auto 16px 7px auto}
 .workspace-page .oe-client-body{padding:15px}.oe-identity{margin-top:12px}.oe-identity h2{font-size:22px}.oe-facts{padding:10px 0;margin:12px 0}
 .workspace-page .oe-person .client-home{padding:16px;border-radius:22px;margin-bottom:12px}
 .oe-person .client-home-identity{gap:10px}.oe-person .client-home-identity h2{font-size:23px}
 .oe-person .client-home>.help{display:none}.oe-person .client-home-state{margin:10px 0}
 .oe-person .client-home-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 0}
 .oe-person .client-home-actions>.button{flex:1 1 135px;min-width:0;font-size:14px;padding:10px}
 .oe-person .client-home-details{margin-top:10px}
 .workspace-page .oe-person .oe-areas{margin:12px 0;gap:3px}
 .workspace-page .oe-person .oe-areas button{min-height:68px}
 .workspace-page .oe-person .client-section>summary{padding:14px 16px 6px}
 .workspace-page .oe-person .client-section-body{padding:12px 16px 18px}
 .workspace-page :is(.panel,.notification-record){padding:18px}
 .workspace-page .notification-compose-layout{display:flex;flex-direction:column;gap:16px}
 .notification-compose-layout>.notification-compose{width:100%;padding:16px;order:0}
 .notification-compose-layout>.notification-preview{order:1;width:100%}
 .workspace-page .notification-compose>.fx-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:16px}
 .workspace-page .notification-compose>.fx-topics button{min-width:0;min-height:64px;padding:8px 3px;flex-direction:column;font-size:13px;gap:5px}
 .workspace-page .notification-timing-card{min-height:132px;padding:14px 12px}
 .workspace-page .notification-tab{min-width:0;padding:10px 5px;font-size:14px}
 .workspace-page .device-row{padding:15px;align-items:flex-start;flex-wrap:wrap;gap:12px}
 .workspace-page .device-row>.row-actions{width:100%}
 .workspace-page .owner-view-strip{justify-content:space-between;flex-wrap:nowrap;padding:5px 12px}
 .workspace-page .owner-view-strip>span{max-width:58%}
 .workspace-page .modal{max-height:calc(100dvh - 24px);width:calc(100% - 24px);max-width:540px;padding:22px;overflow:auto}
}
