.msp105-page{position:relative;width:100%;background:white;flex:none;line-height:0}
.msp105-page img{width:100%!important;height:auto!important;max-height:none!important;display:block;object-fit:fill!important}
.msp105-page svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.msp105-editor button{border:0;border-radius:12px;padding:14px;background:#172a39;color:white;font-size:16px;min-height:48px;cursor:pointer}
.msp105-editor{font-size:16px;line-height:1.45;padding-bottom:18px}
.msp105-editor p{font-size:14px;line-height:1.5;color:#394958}
.msp105-editor label{display:block;font-size:14px;margin:10px 0}
.msp105-editor textarea,.msp105-editor input:not([type=checkbox]),.msp105-editor select{display:block;width:100%;padding:10px;font:inherit;border:1px solid #aeb9c4;border-radius:8px;background:#fff;color:#111;box-sizing:border-box}
.msp105-editor input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-right:8px}
.msp105-preview{overflow:auto;max-height:65vh;background:#edf0f3;border:1px solid #aeb9c4;touch-action:pan-x pan-y pinch-zoom}
.msp106-empty{box-sizing:border-box;min-height:150px;padding:22px 20px;display:grid;align-content:center;gap:7px;text-align:center;color:#62707d;line-height:1.45}.msp106-empty b{color:#24313d;font-size:15px}.msp106-empty p{margin:0;font-size:14px}.msp106-editor-empty{min-height:0;margin:4px 0 14px;border:1px dashed #c7ced6;border-radius:12px;background:#f7f8fa}
.msp105-row{padding:14px;background:#f0f4f7;border-radius:12px;margin:12px 0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.msp105-row label{margin:0}.msp105-row label:last-of-type{grid-column:1/-1}
#msp105Save{display:block;width:100%;margin:12px 0;background:#176b4b}
#msp105Error{color:#aa2020}
#msp105Bounds,#msp105Fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#msp105Focus{position:fixed;inset:0;z-index:10010;background:#e8edf1;overflow:auto;padding-bottom:90px;touch-action:pan-x pan-y pinch-zoom}
#msp105Focus .msp105-page{width:max(100%,850px);margin:auto}
#msp105Stop{position:fixed;right:18px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:10011;background:#c82333;color:#fff;border:2px solid white;border-radius:99px;min-width:min(270px,calc(100vw - 36px));max-width:calc(100vw - 36px);min-height:56px;padding:10px 20px;font-size:16px;font-weight:750;box-shadow:0 6px 24px #0005}
body.msp105-focused{overflow:hidden}
body.msp105-focused>#modal{visibility:hidden!important;pointer-events:none!important}
@media(max-width:520px){#msp105Fields{grid-template-columns:1fr}.msp105-row{grid-template-columns:1fr}}

/* The worksheet, not navigation chrome, is the primary mobile surface. */
body:has(#dental.on .msp91-scan) #clinicSwitchV52,
body.msp105-focused #clinicSwitchV52{display:none!important}
body:has(#dental.on .msp91-scan) #dental>.pagehead{margin-bottom:12px}
body:has(#dental.on .msp91-scan) #patientTag{padding:12px 16px;margin-bottom:12px}
.msp106-simple{padding:0!important;border:0!important;background:transparent!important}
.msp106-simple>.msp91-scan{margin:0!important;border:0!important;border-radius:16px!important;overflow:hidden}
.msp106-simple .msp91-head{display:none}
.msp106-simple #msp91ScanPreview:empty{display:none}
.msp106-secondary{background:#edf0f3!important;color:#263443!important;box-shadow:none!important}
.msp106-history,.msp106-files{margin:12px 0;background:#fff;border:1px solid #e1e4e8;border-radius:12px;overflow:hidden}
.msp106-history>summary,.msp106-files>summary,.msp105-editor details>summary{padding:14px 12px;min-height:48px;font-size:14px;font-weight:600;cursor:pointer;box-sizing:border-box}
.msp106-history>.msp76 .msp76-title{padding:10px!important}
.msp106-history .msp76-voice{display:none!important}
.msp105-editor details{border-bottom:1px solid #e1e4e8;margin-bottom:10px}
.msp106-transcript{padding:8px 0}
.msp106-transcript textarea{min-height:180px;max-height:50vh}
.msp106-transcript #msp105Analyze{width:100%;margin:8px 0;background:#111}
.msp106-transcript>.msp106-secondary{display:block;width:100%}
.msp76-dictation-source{border-top:1px solid #d7ded9;padding:8px 12px 12px;font-size:12px;line-height:1.5;color:#394958;overflow-wrap:anywhere}
.msp76-dictation-source summary{font-weight:700;cursor:pointer}
.msp76-dictation-source p{white-space:pre-wrap}
#modal.msp106-review{z-index:10020!important;align-items:stretch!important;justify-content:center!important;padding:0!important;overflow:hidden}
#modal.msp106-review .sheet{position:relative!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;align-self:stretch;width:100%!important;max-width:820px!important;height:100vh!important;height:100dvh!important;min-height:0!important;max-height:100vh!important;max-height:100dvh!important;margin:0 auto!important;border-radius:0!important;padding:16px max(16px,env(safe-area-inset-right,0px)) calc(16px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))!important;overflow-y:auto!important;overscroll-behavior:contain;box-sizing:border-box}
#modal.msp106-review .sheeth{position:sticky;top:-16px;background:#fff;z-index:5;padding:16px 0!important}
#msp105Focus .msp105-page{width:100%;min-width:0}
@media(min-width:850px){#msp105Focus .msp105-page{max-width:1000px}}
