.mg-shell{--ink:#1c3046;--muted:#63758a;--line:#e1e8ef;--blue:#1769bf;--surface:#fff;display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100dvh;background:#f4f7fa;color:var(--ink);font-size:14px}.mg-shell button,.mg-shell input,.mg-shell select{font:inherit}.mg-shell button:focus-visible,.mg-shell input:focus-visible,.mg-shell select:focus-visible{outline:2px solid #257bcb;outline-offset:3px}.mg-shell button:disabled{opacity:.5}.mg-sidebar{background:#102b46;color:#fff;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;padding:25px 16px 18px;gap:16px;min-width:0}.mg-brand{display:flex;align-items:center;gap:11px;padding:0 7px 16px}.mg-brand>span{width:42px;height:42px;background:#287fd0;border-radius:12px;display:grid;place-items:center}.mg-brand strong{font-size:21px;letter-spacing:-.5px;display:block}.mg-brand small{font-size:11px;color:#b1c6d9;display:block;margin-top:2px}.mg-workspace{display:flex;align-items:center;gap:10px;border:1px solid #ffffff20;background:#ffffff09;border-radius:10px;padding:11px 10px;min-width:0}.mg-workspace-icon{color:#c5d9eb;display:grid;place-items:center;width:30px;height:30px;flex:none;background:#ffffff12;border-radius:7px}.mg-workspace>div{min-width:0}.mg-workspace strong,.mg-workspace small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mg-workspace strong{font-size:13px}.mg-workspace small{font-size:11px;color:#adc2d6;margin-top:4px}.mg-nav-label{color:#91acc4;text-transform:uppercase;font-size:10px;letter-spacing:1.5px;font-weight:700;padding:0 10px;margin:8px 0 -9px}.mg-sidebar nav{display:flex;flex-direction:column;gap:4px}.mg-sidebar nav button,.mg-back{display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#c2d1e0;font-weight:600;padding:12px 10px;border-radius:8px;text-align:left;min-height:44px}.mg-sidebar nav button span{flex:1}.mg-sidebar nav button:hover,.mg-back:hover{background:#ffffff0d;color:#fff}.mg-sidebar nav button.selected{background:#2873bb;color:#fff}.mg-sidebar-bottom{margin-top:auto;display:grid;gap:14px}.mg-env{font-size:11px;color:#bdcde0;padding:8px 10px;display:flex;gap:8px;align-items:center}.mg-env>span{width:8px;height:8px;border-radius:50%;background:#e8b46b}.mg-back{border-top:1px solid #ffffff18;border-radius:0}.mg-main{min-width:0;display:flex;flex-direction:column}.mg-top{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff;padding:0 clamp(18px,3vw,40px);gap:12px}.mg-top>div:first-child{display:grid;gap:5px}.mg-top>div:first-child span{color:var(--muted);font-size:11px}.mg-top>div:first-child strong{font-size:14px}.mg-top-actions{display:flex;gap:10px;align-items:center}.mg-avatar{width:37px;height:37px;border-radius:50%;background:#e2eefb;color:#235e9a;font-weight:750;display:grid;place-items:center}.mg-icon{background:#fff;border:1px solid var(--line);border-radius:8px;width:36px;height:36px;display:grid;place-items:center;color:#5e7388;flex:none}.mg-content{padding:30px clamp(18px,3vw,40px) 45px;max-width:1600px;width:100%;margin:0 auto;flex:1}.mg-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.mg-kicker{margin:0 0 7px;color:#1769bf;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:1.3px}.mg-page-heading h1{font-size:clamp(24px,3vw,32px);letter-spacing:-.7px;margin:0 0 7px;font-weight:750}.mg-page-heading p:not(.mg-kicker){margin:0;color:var(--muted);line-height:1.5;font-size:14px}.mg-shell select{background:#fff;color:var(--ink);min-height:40px;border:1px solid #cfdae5;border-radius:8px;padding:8px 12px;max-width:100%}.mg-scope{display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:700;min-width:160px}.mg-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px;margin-bottom:22px}.mg-stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 19px;min-height:132px;box-shadow:0 2px 5px #142b4406}.mg-stat>div{display:flex;justify-content:space-between;align-items:center;gap:10px;color:var(--muted);font-size:13px;font-weight:600}.mg-stat-icon{width:37px;height:37px;display:grid;place-items:center;background:#edf4fb;color:#236bae;border-radius:9px;flex:none}.mg-stat>strong{display:block;font-size:32px;line-height:1.1;letter-spacing:-1px;margin:7px 0 8px;font-variant-numeric:tabular-nums}.mg-stat>small{color:var(--muted);font-size:11px}.mg-overview-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:18px;margin-bottom:18px}.mg-panel{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;box-shadow:0 2px 5px #142b4405;overflow:hidden}.mg-panel-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:20px 20px 17px;border-bottom:1px solid var(--line)}.mg-panel-heading h2,.mg-editor h2{font-size:17px;letter-spacing:-.25px;margin:0;font-weight:750}.mg-panel-heading p,.mg-editor-heading p{font-size:12px;color:var(--muted);margin:5px 0 0}.mg-quick{padding:3px 20px}.mg-quick button{display:flex;gap:13px;align-items:center;width:100%;border:0;border-bottom:1px solid var(--line);padding:16px 0;background:#fff;color:var(--ink);text-align:left}.mg-quick button:last-child{border-bottom:0}.mg-quick button:hover{color:var(--blue)}.mg-quick button>span:nth-child(2){flex:1}.mg-quick strong,.mg-quick small,.mg-audit-row strong,.mg-audit-row small{display:block}.mg-quick small,.mg-audit-row small{color:var(--muted);font-size:12px;margin-top:4px;line-height:1.4}.mg-quick button>svg:last-child{color:#8194a7}.mg-environment{padding:24px 20px;color:#326899}.mg-environment strong{display:block;margin:12px 0 0;color:var(--ink);font-size:15px}.mg-environment p{color:var(--muted);font-size:13px;line-height:1.6;margin:8px 0 15px}.mg-tag{display:inline-block;font-size:11px;color:#536a81;background:#f0f4f8;border:1px solid #e3eaf1;border-radius:6px;padding:4px 7px;white-space:nowrap;font-weight:600}.mg-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:8px;min-height:40px;padding:9px 13px;font-weight:700;white-space:nowrap}.mg-button.primary{background:#1769bf;color:#fff}.mg-button.primary:hover{background:#115b9f}.mg-button.secondary{background:#fff;border-color:#d5dfe9;color:#41596f}.mg-link{background:none;border:0;color:#1769bf;display:inline-flex;align-items:center;gap:4px;font-size:12px!important;font-weight:700;padding:7px 0;text-align:left;white-space:nowrap}.mg-table-wrap{overflow-x:auto}.mg-shell table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}.mg-shell th{font-weight:650;color:#65798e;font-size:11px;background:#f7f9fb;white-space:nowrap}.mg-shell th,.mg-shell td{padding:14px 17px;border-bottom:1px solid #e9eef3;vertical-align:middle}.mg-shell td{overflow-wrap:anywhere}.mg-shell td small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.mg-shell tr:last-child td{border-bottom:0}.mg-shell td strong{font-size:13px}.mg-chips{display:flex;gap:4px;flex-wrap:wrap}.mg-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;white-space:nowrap;border-radius:20px;padding:5px 9px}.mg-status>span{width:6px;height:6px;border-radius:50%;background:currentColor}.mg-good{background:#e8f5ed;color:#28734d}.mg-warn{background:#fff0e9;color:#a14c25}.mg-neutral{background:#edf2f7;color:#526b83}.mg-filters{display:flex;gap:10px;padding:15px 20px;flex-wrap:wrap}.mg-search{display:flex;align-items:center;gap:8px;min-width:160px;flex:1;border:1px solid #cfdae5;border-radius:8px;padding:0 10px;color:#75899a}.mg-shell .mg-search input{border:0;border-radius:0;box-shadow:none;min-height:40px;padding:0;background:transparent}.mg-detail-layout{display:grid;gap:18px;align-items:start}.mg-detail-layout:has(.mg-editor){grid-template-columns:minmax(0,1fr) minmax(315px,390px)}.mg-editor{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 14px #142b440a;min-width:0}.mg-editor-heading{padding:20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:9px;align-items:flex-start}.mg-editor-heading .mg-kicker{margin:0 0 5px;color:#1769bf;font-size:10px}.mg-form{padding:18px 20px}.mg-form fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:16px}.mg-form label:not(.mg-toggle){font-weight:650;font-size:12px;color:#334c64;display:grid;gap:7px}.mg-shell .mg-form input:not([type=checkbox]){min-height:42px;border-radius:8px;border:1px solid #cfdae5;padding:9px 11px;font-size:13px}.mg-form input[readonly]{background:#f4f6f9;color:#697c90}.mg-form small{color:var(--muted);font-weight:400;line-height:1.5;font-size:11px}.mg-form-section{border-top:1px solid var(--line);padding-top:16px;display:grid;gap:13px}.mg-form-section h3{display:flex;align-items:center;gap:7px;font-size:13px;margin:0;color:#285e91}.mg-toggle{display:flex;align-items:center;gap:10px;position:relative;cursor:pointer}.mg-toggle>span:first-child{flex:1;min-width:0}.mg-toggle strong,.mg-toggle small{display:block}.mg-toggle strong{font-size:12px;line-height:1.45}.mg-toggle small{margin-top:3px}.mg-toggle input{position:absolute;right:0;width:38px;height:24px;min-height:0;opacity:0;cursor:pointer}.mg-switch{width:38px;height:22px;border-radius:20px;background:#b7c4d1;position:relative;flex:none;pointer-events:none}.mg-switch:after{content:"";position:absolute;width:16px;height:16px;top:3px;left:3px;background:#fff;border-radius:50%;transition:transform .15s}.mg-toggle input:checked+.mg-switch{background:#1769bf}.mg-toggle input:checked+.mg-switch:after{transform:translate(16px)}.mg-toggle input:focus-visible+.mg-switch{outline:2px solid #1769bf;outline-offset:3px}.mg-toggle input:disabled+.mg-switch{opacity:.55}.mg-form-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:22px;padding-top:17px;border-top:1px solid var(--line)}.mg-inline-warning{font-size:11px!important;color:#8c5b24;display:flex;gap:6px;margin:0;align-items:flex-start;line-height:1.4}.mg-inline-warning svg{flex:none}.mg-error,.mg-notice{border:1px solid #f0d4d1;background:#fff4f3;color:#a03737;padding:12px 15px;border-radius:8px;margin:0 0 17px;font-size:13px;line-height:1.5}.mg-notice{display:flex;align-items:center;gap:8px;border-color:#cfe4d6;background:#f0f9f3;color:#28623d}.mg-notice .mg-icon{margin-left:auto;width:26px;height:26px;background:transparent;border:0}.mg-empty,.mg-loading{text-align:center;padding:32px 16px;color:#8294a6}.mg-empty p{margin:8px 0 0;font-size:12px}.mg-audit-row{padding:14px 20px;display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line)}.mg-audit-row:last-child{border-bottom:0}.mg-metrics{padding:5px 20px}.mg-metrics>div{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line)}.mg-metrics>div:last-child{border-bottom:0}.mg-metrics strong{font-size:18px;font-variant-numeric:tabular-nums}.mg-muted{color:var(--muted);font-size:12px}.mg-footer{padding:20px clamp(18px,3vw,40px);font-size:11px;color:#8797a7;border-top:1px solid var(--line)}@media(max-width:1180px){.mg-detail-layout:has(.mg-editor){grid-template-columns:1fr}.mg-detail-layout:has(.mg-editor) .mg-editor{max-width:680px;width:100%}}@media(max-width:960px){.mg-shell{grid-template-columns:205px minmax(0,1fr)}.mg-sidebar{padding:20px 11px}.mg-overview-grid{grid-template-columns:1fr}.mg-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.mg-shell{display:block}.mg-sidebar{position:relative;height:auto;padding:13px 15px 8px;gap:8px}.mg-brand{padding:0;gap:8px}.mg-brand>span{width:34px;height:34px}.mg-brand strong{font-size:17px}.mg-workspace,.mg-nav-label{display:none}.mg-sidebar nav{flex-direction:row;overflow:auto;gap:5px;padding-top:5px}.mg-sidebar nav button{gap:6px;white-space:nowrap;padding:9px 10px;font-size:12px;min-height:40px}.mg-sidebar nav button svg:last-child:not(:first-child){display:none}.mg-sidebar nav button svg{width:16px}.mg-sidebar-bottom{position:absolute;top:10px;right:14px;display:flex;gap:5px;align-items:center}.mg-env{display:none}.mg-back{border:0;font-size:11px;padding:8px 0}.mg-back svg{width:15px}.mg-top{height:60px}.mg-content{padding-top:20px}.mg-page-heading{align-items:flex-start;flex-direction:column;gap:14px}.mg-scope{width:100%}.mg-stat{min-height:117px;padding:13px}.mg-stat>div{font-size:11px}.mg-stat>strong{font-size:27px}.mg-stat-icon{width:31px;height:31px}.mg-stat>small{font-size:10px}.mg-stats{gap:9px}.mg-panel-heading{padding:15px;align-items:flex-start;flex-wrap:wrap}.mg-shell td,.mg-shell th,.mg-filters{padding:12px}.mg-form,.mg-editor-heading{padding:15px}.mg-quick{padding:0 15px}}@media(prefers-reduced-motion:reduce){.mg-switch:after{transition:none}}.mg-entry{width:100%;min-height:105px;margin-top:14px}.mg-entry strong{margin-top:8px}.mg-top{height:auto;min-height:76px;padding-block:10px}.mg-top>div:first-child{min-width:0;flex:1}.mg-top-actions{min-width:0;flex:none;max-width:75%;gap:12px}.mg-account{display:flex;align-items:center;gap:10px;min-width:0;padding-left:12px;border-left:1px solid var(--line)}.mg-avatar{flex:0 0 38px;width:38px;height:38px;font-size:13px;line-height:1;font-weight:750;letter-spacing:0;overflow:hidden;white-space:nowrap;display:grid;place-items:center}.mg-account-details{min-width:0;display:grid;gap:2px;line-height:1.25}.mg-account-details strong{font-size:13px;color:var(--ink);overflow-wrap:anywhere}.mg-account-email{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.mg-account-details small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.mg-shell .mg-signout{flex:none;min-height:40px;gap:7px;font-size:12px}.mg-signout:hover{background:#f4f7fa}@media(max-width:900px){.mg-top-actions{gap:8px}.mg-account{padding-left:8px;gap:7px}.mg-avatar{flex-basis:34px;width:34px;height:34px}.mg-account-details strong{font-size:12px}.mg-account-email{font-size:11px}}@media(max-width:700px){.mg-top{flex-wrap:wrap;min-height:0;padding:12px 15px;gap:10px}.mg-top>div:first-child{flex:1 1 100%}.mg-top-actions{flex:1 1 100%;max-width:100%;gap:9px}.mg-account{flex:1;padding-left:0;border-left:0}.mg-top-actions>.mg-icon{order:2}.mg-shell .mg-signout{order:3;min-height:36px;padding:7px 10px}.mg-account-details{gap:2px}}.mg-ops-filter{display:grid;gap:12px;padding:17px 20px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:20px}.mg-ops-filter-label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px}.mg-ops-filter-label strong{font-size:14px}.mg-ops-filter-label small{font-size:12px;color:var(--muted)}.mg-ops-presets{display:flex;flex-wrap:wrap;gap:6px}.mg-shell .mg-ops-preset{border:1px solid var(--line);background:#fff;color:#455d75;border-radius:7px;padding:9px 13px;font-size:12px;font-weight:650;cursor:pointer;min-height:36px}.mg-shell .mg-ops-preset:hover,.mg-shell .mg-ops-preset.selected{background:#eaf3fd;border-color:#95bce5;color:#145da7}.mg-ops-custom{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}.mg-ops-custom label{display:grid;gap:5px;color:var(--muted);font-size:12px;font-weight:650;min-width:140px}.mg-ops-custom input{min-height:40px;max-width:100%;padding:7px 10px;border:1px solid var(--line);border-radius:8px}.mg-ops-custom .mg-error{flex-basis:100%;margin:0}.mg-metrics.mg-clickable-metrics>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:51px;padding:11px 10px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left;color:var(--ink);cursor:pointer}.mg-metrics.mg-clickable-metrics>button:last-child{border-bottom:0}.mg-metrics.mg-clickable-metrics>button:hover,.mg-metrics.mg-clickable-metrics>button.selected{background:#edf4fc;color:#145da7;border-radius:6px}.mg-metric-value{display:flex;align-items:center;gap:10px}.mg-metric-value svg{color:#7a8fa5}.mg-ops-table{min-width:960px}.mg-ops-table td{vertical-align:top}.mg-ops-table small{display:block;margin-top:5px;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.mg-record-id{display:inline-block;font-size:11px;overflow-wrap:anywhere;max-width:200px;white-space:normal}.mg-ops-pagination{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end;padding:14px 18px;border-top:1px solid var(--line)}.mg-ops-pagination>span{margin-right:auto;color:var(--muted);font-size:12px}@media(max-width:700px){.mg-ops-filter{padding:14px}.mg-shell .mg-ops-preset{padding:8px 10px}.mg-ops-custom label{min-width:120px;flex:1}.mg-ops-custom>.mg-button{width:100%}}.mg-import{margin-bottom:20px}.mg-import-content{padding:18px 20px}.mg-import-actions,.mg-import-controls{display:flex;gap:9px;flex-wrap:wrap;align-items:flex-end}.mg-import-controls label{display:grid;gap:7px;min-width:160px;flex:1;color:var(--muted);font-size:12px;font-weight:650}.mg-import-controls label input[type=file]{padding:8px;min-height:40px;border:1px solid #cfdae5;border-radius:8px;width:100%;font-size:12px;background:#fff}.mg-import-content>.mg-muted{margin:12px 0;line-height:1.5}.mg-import-summary{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--line);font-size:12px}.mg-import-summary strong{font-size:13px}.mg-import-table{min-width:1000px}.mg-import-table td{vertical-align:top;overflow-wrap:anywhere;max-width:240px}.mg-import-invalid{font-size:12px;color:#a03737}.mg-import .mg-inline-warning{margin-top:12px}.mg-import .mg-form-actions{margin-top:16px}@media(max-width:700px){.mg-import-content{padding:14px}.mg-import-controls label{flex-basis:100%}.mg-import-actions{width:100%}.mg-import-actions .mg-button{flex:1}}.issue-reports .issue-code{font-family:monospace;overflow-wrap:anywhere}.issue-reports .issue-ref{max-width:220px;overflow-wrap:anywhere;word-break:break-word}.issue-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;font-size:.82rem}.mg-prompt-selection{margin-top:20px;padding-top:16px;border-top:1px solid #e0e8f1}.mg-prompt-selection .mg-form{gap:10px}.mg-prompt-effective{font-size:.82rem;color:#526982;margin:0}.mg-prompt-selection .mg-button{align-self:flex-start}.mg-prompt-selection>p{font-size:.83rem;margin:10px 0 0}.mg-clinic-workspace,.mg-pabau-operations{display:grid;gap:16px;min-width:0}.mg-clinic-heading,.mg-clinic-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.mg-clinic-heading{justify-content:space-between}.mg-clinic-heading h2,.mg-pabau-operations>h2{font-size:19px;margin:0}.mg-clinic-heading .mg-kicker{margin:0 0 4px}.mg-clinic-tabs{display:flex;gap:18px;border-bottom:1px solid var(--line)}.mg-clinic-tabs button{border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);padding:12px 4px;font-weight:650;font-size:13px}.mg-clinic-tabs button.selected{border-bottom-color:#1769bf;color:#1769bf}.mg-clinic-workspace>.mg-editor{max-width:800px}.mg-clinic-name{font-size:13px!important;text-align:left;white-space:normal}.mg-security-panel{margin-bottom:18px;max-width:720px}.mg-security-panel .mg-form-section{border-top:0;padding-top:0}.mg-security-panel .mg-notice{margin:0}.mg-shell .mg-mfa-action{font-size:12px;white-space:normal}.mg-pabau-operations{margin-top:24px}.mg-pabau-operations>p{margin:0}.mg-pabau-operations .mg-panel-heading+.mg-panel-heading{border-top:0}@media(max-width:700px){.mg-top-actions{flex-wrap:wrap}.mg-shell .mg-mfa-action{min-height:36px;order:4}.mg-clinic-actions{gap:9px}}.ws-shell{width:100%;max-width:none;margin:0;grid-template-columns:248px minmax(0,1fr);min-height:100dvh}.ws-sidebar{overflow-y:auto;gap:13px}.ws-sidebar nav{flex:none}.ws-sidebar .mg-nav-label{margin:3px 0 -6px}.ws-sidebar nav button .ws-count{flex:none;border-radius:6px;padding:2px 6px;background:#ffffff24;font-size:11px;min-width:20px;text-align:center}.ws-sidebar nav button .ws-chevron{flex:none}.ws-sidebar nav button svg{flex:none}.ws-shell.ws-collapsed{grid-template-columns:74px minmax(0,1fr)}.ws-collapsed .ws-sidebar{padding-inline:10px}.ws-collapsed .mg-brand{padding:0 5px 10px}.ws-collapsed .mg-brand>div,.ws-collapsed .mg-workspace,.ws-collapsed .mg-nav-label,.ws-collapsed .mg-sidebar nav button>span,.ws-collapsed .ws-chevron,.ws-collapsed .mg-env,.ws-collapsed .ws-collapse>span{display:none}.ws-collapsed .mg-sidebar nav button,.ws-collapsed .ws-collapse{justify-content:center}.ws-shell.ws-focused{grid-template-columns:minmax(0,1fr)}.ws-top{min-height:72px;height:auto;padding-block:12px}.ws-breadcrumb{min-width:0}.ws-account-wrap{position:relative;min-width:0}.ws-account-button{display:flex;align-items:center;gap:9px;background:none;border:0;color:var(--ink);text-align:left;padding:2px;min-width:0;max-width:250px}.ws-account-button .mg-avatar{flex:none}.ws-account-button .mg-account-details{min-width:0}.ws-account-button .mg-account-details strong{max-width:175px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ws-account-menu{position:absolute;right:0;top:calc(100% + 12px);width:250px;z-index:30;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px;box-shadow:0 12px 32px #102b4620}.ws-account-info{display:grid;gap:5px;padding:10px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.ws-account-info small{color:var(--muted)}.ws-account-menu button{display:flex;align-items:center;gap:9px;width:100%;background:#fff;border:0;padding:11px;text-align:left;color:var(--ink);border-radius:8px}.ws-account-menu button:hover{background:#edf4fb}.ws-mobile-nav,.ws-mobile-overlay{display:none}.ws-clinical-content{display:flex;flex-direction:column;gap:18px;padding:24px clamp(16px,3vw,40px) 28px}.ws-clinical-content .content-panel{width:100%;max-width:850px}.ws-clinical-content .capture-screen{max-width:970px}.ws-clinical-content .transcript-review{max-width:760px}.ws-clinical-content .dashboard{margin:auto;min-height:330px;max-width:640px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:14px}.ws-clinical-content .settings-section{background:#fff;border:1px solid var(--line);padding:18px;border-radius:12px;margin:14px 0}.ws-clinical-content .recent-feed{background:#fff;border:1px solid var(--line);padding:18px;border-radius:12px}.ws-shell .ws-footer{padding:14px clamp(16px,3vw,40px);margin-top:auto}.ws-footer>div:last-child{display:flex;justify-content:space-between;align-items:center;gap:10px;color:var(--muted);font-size:11px}.ws-footer .app-update-notice{max-width:460px;margin:0 auto 14px}.ws-focused .ws-account-button:disabled{opacity:1;cursor:default}.ws-focused .ws-account-button>svg:last-child{display:none}.ws-focused .ws-clinical-content{padding-block:14px}.ws-clinical-content .ws-dashboard-counters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:640px;width:100%;margin:0 auto}.ws-dashboard-counters button{text-align:left;cursor:pointer}.ws-dashboard-counters button>strong{font-size:26px}@media(min-width:701px)and (max-width:960px){.ws-shell:not(.ws-collapsed):not(.ws-focused){grid-template-columns:205px minmax(0,1fr)}}@media(max-width:700px){.ws-shell,.ws-shell.ws-collapsed,.ws-shell.ws-focused{display:flex;flex-direction:column;min-height:100dvh}.ws-sidebar{display:none}.ws-main{flex:1}.ws-top{min-height:60px;flex-wrap:nowrap;padding:10px 14px;padding-top:max(10px,env(safe-area-inset-top));gap:9px}.ws-top>div:first-child{flex:1;min-width:0}.ws-top-actions{flex:0 1 auto;justify-content:flex-end;gap:6px}.ws-account-button .mg-account-details{display:none}.ws-top-actions>.mg-icon{order:0}.ws-top-actions .mg-mfa-action{font-size:11px;padding:6px;white-space:normal;order:0}.ws-clinical-content{padding:14px;gap:12px}.ws-clinical-content .dashboard{min-height:290px;padding:18px}.ws-clinical-content .recent-feed{padding:10px}.ws-shell:not(.ws-focused) .ws-footer{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.ws-mobile-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));z-index:40;background:#fff;border-top:1px solid var(--line);padding:5px 5px max(5px,env(safe-area-inset-bottom))}.ws-mobile-nav button{display:grid;justify-items:center;gap:3px;padding:7px 2px;background:#fff;color:#63758a;border:0;min-height:48px;font-size:11px}.ws-mobile-nav button[aria-current=page]{color:#1769bf;font-weight:750}.ws-mobile-overlay{display:flex;position:fixed;inset:0;z-index:50;background:#102b4660;align-items:flex-end;justify-content:center}.ws-mobile-sheet{width:100%;max-width:500px;max-height:82dvh;overflow:auto;background:#fff;padding:18px 18px max(18px,env(safe-area-inset-bottom));border-radius:18px 18px 0 0}.ws-mobile-sheet>div{display:flex;align-items:center;justify-content:space-between}.ws-mobile-sheet nav{display:grid;gap:4px;margin-top:12px}.ws-mobile-sheet nav button{display:flex;gap:10px;align-items:center;border:0;background:#f4f7fa;border-radius:8px;text-align:left;padding:13px;min-height:44px;color:#1c3046}.ws-dashboard-counters .mg-stat{min-height:90px}.ws-clinical-content .settings-section{padding:13px}}.ws-dashboard-group{display:contents}@media(min-width:701px){.ws-shell.screen-dashboard .ws-clinical-content{justify-content:center}.ws-dashboard-group{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:100%;max-width:620px;margin:auto;min-width:0}.ws-shell.screen-dashboard .ws-dashboard-group>.dashboard{width:100%;max-width:none;margin:0;min-height:340px;padding:26px 24px;justify-content:center;gap:22px}.ws-dashboard-group>.ws-dashboard-counters{width:100%;max-width:none;margin:0;gap:16px}.ws-dashboard-group .mg-stat{min-height:112px;padding:16px 18px}.ws-dashboard-group .mg-stat>div{font-size:13px}.ws-dashboard-group .mg-stat>strong{color:var(--ink)}.ws-dashboard-group .home-record-label{font-weight:750}}@media(min-width:701px)and (max-height:750px){.ws-shell.screen-dashboard .ws-dashboard-group>.dashboard{min-height:280px;gap:14px;padding:18px}.ws-dashboard-group .home-record-button{width:96px;height:96px}.ws-dashboard-group .mg-stat{min-height:94px;padding:12px 16px}}.ws-shell .back{min-height:44px;padding:8px 13px;border:1px solid #cbdff2;border-radius:9px;background:#edf4fc;color:#175a9a;font-size:14px;font-weight:700;gap:8px;line-height:1.3}.ws-shell .back:hover:not(:disabled){background:#e2edf9;border-color:#a7c5e4}.ws-shell .back svg{width:19px;height:19px;flex:none}.ws-shell .recent-feed .feed-heading{gap:12px;margin:16px 0 20px;align-items:center}.ws-shell .recent-feed .feed-heading h1{color:var(--ink);font-size:clamp(26px,2.5vw,32px);font-weight:750;line-height:1.2;letter-spacing:-.7px}.ws-shell .recent-feed .feed-refresh{width:44px;height:44px}.ws-shell .back{width:fit-content;max-width:100%;justify-self:start;align-self:flex-start;display:inline-flex;align-items:center;text-align:left;text-decoration:none}.ws-shell .back:disabled{cursor:not-allowed;opacity:.5}.ws-shell .transcript-review,.ws-shell .failure-report{background:#fff;border:1px solid var(--line);border-radius:12px;padding:clamp(12px,2vw,24px)}.ws-shell .transcript-review h1,.ws-shell .failure-report h1,.ws-shell .capture-heading h1{font-size:clamp(26px,2.5vw,32px);font-weight:750;letter-spacing:-.7px;line-height:1.2}.ws-shell .capture-heading{align-items:center;flex-wrap:wrap;gap:12px}.ws-shell .capture-heading h1{margin:0}.ws-shell .capture-success>.back{justify-self:center;align-self:center}@media(min-width:701px){.ws-shell .ws-sidebar .mg-brand strong{font-size:23px}.ws-shell .ws-sidebar .mg-brand small{font-size:12px}.ws-shell .ws-sidebar .mg-workspace strong{font-size:14px}.ws-shell .ws-sidebar .mg-workspace small{font-size:12px}.ws-shell .ws-sidebar .mg-nav-label{font-size:11px;letter-spacing:1.3px}.ws-shell .ws-sidebar nav button,.ws-shell .ws-sidebar .ws-collapse{font-size:15px;line-height:1.35}.ws-shell .ws-sidebar nav button{gap:8px}.ws-shell .ws-sidebar .mg-env{font-size:12px}}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;color:#142b44;background:#f6f9fd;font-synthesis:none;font-weight:400;-webkit-font-smoothing:antialiased;font-size:16px}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}h1{font-size:1.65rem;letter-spacing:-.035em;line-height:1.2;margin:0 0 .5rem}p{line-height:1.55}input{width:100%;min-height:50px;border-radius:13px;border:1px solid #d5e0ed;background:#fff;padding:0 14px;font-size:1rem;color:#142b44;outline:none}input:focus{border-color:#1769bf;box-shadow:0 0 0 3px #1769bf18}input:disabled{background:#f1f5f9;color:#546778}.muted{color:#647790}.small{font-size:.84rem}.error{color:#9c2525}.brand{display:flex;gap:12px;align-items:center}.brand-icon{background:#1769bf;color:#fff;width:49px;height:49px;display:grid;place-items:center;border-radius:15px}.brand strong{display:block;font-size:1.29rem;line-height:1.1;letter-spacing:-.03em}.brand span{display:block;color:#647790;font-size:.78rem;margin-top:4px}.brand.compact .brand-icon{height:40px;width:40px;border-radius:12px}.brand.compact strong{font-size:1.07rem}.auth-wrapper{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:20px}.auth-card{background:#fff;border:1px solid #e2eaf3;border-radius:22px;box-shadow:0 12px 45px #20436c12;padding:30px;width:min(100%,410px)}.auth-card .brand{margin-bottom:36px}.auth-card .small{margin-top:28px}.form-stack{display:grid;gap:16px}.form-stack label{display:grid;gap:8px;color:#2b415d;font-weight:600;font-size:.91rem}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;border:0;border-radius:13px;padding:11px 16px;font-weight:700}.button.primary{color:#fff;background:#1769bf}.button.primary:active{background:#0e569f}.button.subtle{background:#ecf3fa;color:#235c96}.button.full{width:100%}.button.large{min-height:58px;font-size:1.02rem}.loading{padding:40px;text-align:center}.app-shell{max-width:720px;min-height:100dvh;background:#fff;margin:auto;display:flex;flex-direction:column;box-shadow:0 0 50px #162e4d08}.topbar{height:81px;padding:16px 21px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7edf5}.icon-button{border:0;background:#f2f6fa;border-radius:12px;color:#496179;width:42px;height:42px;display:grid;place-items:center}.app-shell main{padding:24px 20px 32px;flex:1}.app-footer{text-align:center;font-size:.73rem;color:#899aaa;padding:19px 0 25px;border-top:1px solid #eef2f7}.dashboard{max-width:520px;margin:auto}.greeting{padding:13px 2px 30px}.greeting p{color:#637991;margin:0}.greeting .eyebrow{color:#1769bf;font-size:.77rem;font-weight:750;letter-spacing:.13em;text-transform:uppercase;margin:0 0 11px}.greeting h1{font-size:2.1rem}.new-card{border:0;text-align:left;color:#fff;background:linear-gradient(135deg,#217dd2,#1260b0);border-radius:22px;padding:25px 20px;display:flex;align-items:center;gap:18px;width:100%;min-height:138px;box-shadow:0 15px 25px #1a73c531}.new-card .new-icon{background:#ffffff25;border-radius:20px;display:grid;place-items:center;width:70px;height:70px;flex:none}.new-card strong{display:block;font-size:1.3rem}.new-card small{display:block;font-size:.84rem;margin-top:6px;opacity:.92;line-height:1.35}.card-chevron{font-size:2rem;margin-left:auto;font-weight:200}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.action-card{min-height:156px;border:1px solid #dfebf5;background:#fff;border-radius:19px;padding:18px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;color:#256aa8}.action-card strong{color:#193a5d;font-size:1rem;margin-top:18px}.action-card small{color:#72859a;line-height:1.4;margin-top:5px}.privacy-note{margin-top:25px;display:flex;gap:12px;align-items:flex-start;color:#678099;background:#f4f8fc;border-radius:15px;padding:15px;font-size:.8rem;line-height:1.5}.privacy-note svg{flex:none;color:#226db7}.content-panel{max-width:570px;margin:0 auto}.content-panel>h1{margin-top:15px}.content-panel>p.muted{margin:0 0 24px}.back{display:inline-flex;align-items:center;gap:7px;border:0;color:#3d719f;background:transparent;padding:7px 0;font-size:.88rem;font-weight:650}.required{color:#df5353}.optional{font-weight:400;color:#8a9aab}.metadata{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f5f8fc;padding:15px;border-radius:15px}.metadata div{display:grid;gap:4px;min-width:0}.metadata small{font-size:.73rem;color:#7e91a5}.metadata strong{font-size:.85rem;overflow-wrap:anywhere}.recording-panel{padding:26px 12px 21px;display:flex;align-items:center;flex-direction:column}.recording-indicator{font-size:.9rem;color:#5e7188;font-weight:650;display:flex;gap:8px;align-items:center}.recording-dot{width:9px;height:9px;border-radius:50%;background:#b4c3d3}.recording-indicator.is-recording{color:#c02b34}.recording-indicator.is-recording .recording-dot{background:#dc3d43;box-shadow:0 0 0 5px #dc3d431b;animation:pulse 1.1s infinite}@keyframes pulse{50%{opacity:.3}}.timer{font-size:3.05rem;letter-spacing:-.04em;font-weight:750;font-variant-numeric:tabular-nums;margin:17px 0 20px;color:#1d3f64}.record-button{display:grid;place-items:center;border:none;border-radius:50%;width:124px;height:124px;color:#fff;background:linear-gradient(135deg,#267cd3,#0c5aab);box-shadow:0 8px #dfebf7,0 15px 26px #126cc638}.record-button.active{background:#d63842;box-shadow:0 8px #f9e9e9,0 15px 25px #cb34343a}.stop-square{width:35px;height:35px;border-radius:6px;background:#fff}.recording-panel>p{margin:26px 0 0;text-align:center;max-width:390px}.playback-panel{width:min(100%,420px)}audio{width:100%;height:54px}.playback-buttons{display:flex;justify-content:center;gap:12px;margin-top:13px}.playback-buttons .button{flex:1}.feedback{display:flex;align-items:center;gap:9px;background:#eef5ff;color:#2d6094;border-radius:13px;padding:13px 14px;font-size:.86rem;line-height:1.4;margin:12px 0 16px}.feedback-error{background:#fff0ef;color:#9d2a2a}.feedback-success{background:#eaf8f0;color:#257247}.info-dot{border-radius:50%;height:11px;width:11px;background:#5792c7;flex:none}.bottom-note{margin-top:14px}.recent-list{margin:20px 0}.recent-row{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #edf1f5;padding:16px 0}.recent-row strong{font-size:1.05rem}.recent-row p{font-size:.81rem;color:#7990a6;margin:6px 0 0}.status{display:inline-block;padding:6px 9px;border-radius:999px;font-size:.71rem;font-weight:750;white-space:nowrap;background:#edf2f7;color:#60778f}.status-uploaded{background:#eaf8f0;color:#22764b}.status-failed{background:#fff0ef;color:#a33737}.status-processing_webhook{background:#eaf2ff;color:#2b66a6}.empty{text-align:center;color:#8191a1;padding:35px}.settings-section{margin:25px 0 27px}.section-label{display:flex;gap:8px;color:#296eaa;font-weight:800;margin-bottom:14px;align-items:center}.settings-section .metadata{margin-top:4px}@media(max-width:410px){.app-shell main{padding:22px 16px}.new-card{padding:18px 15px;gap:12px}.new-card .new-icon{width:57px;height:57px}.new-card strong{font-size:1.14rem}.action-card{padding:14px}.action-card strong{font-size:.89rem}.metadata{grid-template-columns:1fr}}.retry-mini{margin-top:9px;padding:8px 10px;min-height:35px;font-size:12px;border-radius:10px}.social-login{display:grid;gap:10px;margin:23px 0 20px}.social-button{background:#fff;border:1px solid #cbd8e7;color:#203955;font-weight:650;min-height:51px;transition:border-color .15s,background-color .15s}.social-button:hover:not(:disabled){background:#f5f9ff;border-color:#87b5e3}.social-button:focus-visible{outline:3px solid #82b8f3;outline-offset:2px}.google-mark{font-size:22px;line-height:1;font-weight:800;font-family:Arial,sans-serif;color:#4285f4;background:conic-gradient(#4285f4 0deg 105deg,#34a853 105deg 185deg,#fbbc05 185deg 250deg,#ea4335 250deg 320deg,#4285f4 320deg);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.microsoft-mark{display:grid;grid-template-columns:repeat(2,9px);grid-template-rows:repeat(2,9px);gap:2px;width:20px;height:20px}.microsoft-mark i{display:block;background:#f25022}.microsoft-mark i:nth-child(2){background:#7fba00}.microsoft-mark i:nth-child(3){background:#00a4ef}.microsoft-mark i:nth-child(4){background:#ffb900}.auth-divider{display:flex;align-items:center;gap:11px;margin:18px 0 19px;color:#708397;font-size:.76rem;white-space:nowrap}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#dee8f2;flex:1}.auth-error{font-size:.87rem;margin:15px 0 0}.auth-card .small.muted{margin-top:20px}@media(max-width:380px){.auth-card{padding:22px 18px}.auth-divider{font-size:.69rem}}.auth-card .auth-forgot{align-self:flex-end;justify-self:end;border:0;background:none;color:#1769bf;font-size:13px;font-weight:650;padding:4px 0;text-align:right;cursor:pointer;min-height:30px}.auth-card .auth-forgot:hover{text-decoration:underline}.auth-card .auth-forgot:focus-visible{outline:2px solid #1769bf;outline-offset:3px;border-radius:3px}.auth-card .auth-forgot:disabled{opacity:.5;cursor:default}.auth-card .auth-feedback{margin-top:14px;overflow-wrap:anywhere}.auth-card .muted{overflow-wrap:anywhere}.patient-id-control{display:grid;gap:13px}.form-stack .patient-id-toggle{display:flex;align-items:center;gap:12px;position:relative;padding:14px;background:#f0f6fc;border:1px solid #d8e5f1;border-radius:13px;cursor:pointer}.patient-id-toggle>span:first-child{flex:1;min-width:0}.patient-id-toggle strong{display:block;font-size:.95rem;color:#142b44}.patient-id-toggle small{display:block;color:#647790;font-weight:400;font-size:.78rem;line-height:1.4;margin-top:4px}.patient-id-toggle input{position:absolute;right:14px;width:44px;height:28px;min-height:0;opacity:0;cursor:pointer}.patient-id-switch{width:44px;height:26px;border-radius:20px;background:#a7b7c9;flex:none;position:relative;pointer-events:none}.patient-id-switch:after{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:#fff;transition:transform .15s}.patient-id-toggle input:checked+.patient-id-switch{background:#1769bf}.patient-id-toggle input:checked+.patient-id-switch:after{transform:translate(18px)}.patient-id-toggle input:focus-visible+.patient-id-switch{outline:2px solid #1769bf;outline-offset:3px}.patient-id-toggle input:disabled+.patient-id-switch{opacity:.55}.patient-id-hint{margin:0;padding:11px 13px;border:1px solid #d8e5f1;border-radius:10px;background:#f6f9fd;color:#496480;font-size:.84rem;line-height:1.5}.form-stack .field-label{display:block;line-height:1.3}.field-label .required{display:inline;margin-left:2px}.app-shell main:has(>.transcript-review){padding-top:12px;padding-bottom:18px}.transcript-review{display:grid;gap:10px;align-content:start}.transcript-review>.back{justify-self:start;min-height:38px;padding:5px 0}.content-panel.transcript-review>h1{margin:0;font-size:1.4rem;line-height:1.25}.content-panel.transcript-review>p.muted{margin:0;font-size:.83rem;line-height:1.4}.transcript-review .feedback{margin:0;padding:10px 11px;border-radius:10px;gap:7px;font-size:.8rem;line-height:1.35}.transcript-review .feedback svg{flex:none}.review-audio{display:grid;gap:4px;margin:0;padding:9px 11px;background:#f0f6fc;border:1px solid #d8e5f1;border-radius:10px}.review-audio strong{display:flex;gap:6px;align-items:center;font-size:.82rem}.review-audio audio{width:100%;height:42px}.review-audio p{margin:0;font-size:.78rem}.transcript-review .review-form{gap:10px}.transcript-review .review-form label{gap:5px;font-size:.86rem;line-height:1.35}.review-patient-field{display:grid;gap:4px;min-width:0}.review-patient-field input{min-height:44px;border-radius:10px;padding:0 12px}.transcript-review .review-caption{margin:0;font-size:.76rem;line-height:1.35;font-weight:400}.transcript-review textarea{display:block;width:100%;font:inherit;font-size:1rem;font-weight:400;line-height:1.5;color:#142b44;border:1px solid #d5e0ed;border-radius:10px;padding:10px 12px;min-height:180px;resize:vertical;background:#fff;outline:none}.transcript-review textarea:focus{border-color:#1769bf;box-shadow:0 0 0 3px #1769bf18}.review-original-actions{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:-5px}.review-original-actions .button{min-height:40px;padding:5px 0;background:transparent;border-radius:6px;font-size:.78rem;font-weight:650}.review-original{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.82rem;line-height:1.5;max-height:280px;overflow:auto;border:1px solid #d5e0ed;border-radius:10px;background:#f6f9fd;padding:10px;margin:0}.transcript-review .review-form .review-confirm{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #d8e5f1;border-radius:9px;font-weight:500;font-size:.81rem;line-height:1.4;min-height:44px}.review-confirm input{min-height:20px;width:20px;height:20px;flex:none;accent-color:#1769bf;margin:0;padding:0}.review-actions{display:grid;grid-template-columns:1.2fr 1fr;gap:8px}.review-actions .button{min-width:0;min-height:44px;border-radius:10px;padding:8px 12px;gap:7px;font-size:.9rem}.review-actions .review-discard{color:#a33737;background:#fff;border:1px solid #e5bfc0}.review-actions .review-discard:active:not(:disabled){background:#fff0ef}.review-actions .button:focus-visible,.review-original-actions .button:focus-visible{outline:2px solid #1769bf;outline-offset:2px}.transcript-review .review-status-check{min-height:40px;font-size:.8rem}.content-panel.transcript-review>p.review-retention-note{font-size:.74rem;line-height:1.35}.review-wait{padding:20px 14px;text-align:center;background:#f6f9fd;border:1px solid #d8e5f1;border-radius:12px;margin:4px 0}.review-wait>svg{color:#1769bf}.review-wait h2{font-size:1.1rem;margin:10px 0 6px}.review-wait .button{margin-top:8px}@media(max-width:410px){.app-shell main:has(>.transcript-review){padding:10px 14px 16px}.transcript-review,.transcript-review .review-form{gap:9px}.review-audio{padding:8px 10px}}.app-shell{min-height:100vh;min-height:100dvh;width:100%;max-width:720px;display:flex;flex-direction:column}.app-shell .topbar{min-height:58px;height:auto;flex:none;padding:10px 16px;gap:12px;padding-top:max(10px,env(safe-area-inset-top))}.topbar .brand{min-width:0;gap:9px;flex:1}.topbar .brand-icon{flex:none;width:36px;height:36px;border-radius:10px}.topbar .brand>div:last-child{min-width:0}.topbar .brand.compact span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.73rem}.topbar-account{font-size:.76rem;color:#5b7088;max-width:35%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}.app-shell main{min-width:0;flex:1;padding:16px}.bottom-nav{position:sticky;bottom:0;z-index:10;display:flex;align-items:stretch;flex:none;min-height:64px;background:#fff;border-top:1px solid #e4ebf4;padding:4px 8px calc(4px + env(safe-area-inset-bottom));gap:3px}.bottom-nav button{min-width:0;min-height:52px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-radius:10px;background:transparent;color:#657b92;font-size:.7rem;font-weight:650;padding:5px 3px}.bottom-nav button[aria-current=page]{color:#1769bf;background:#eef5fc}.bottom-nav button:focus-visible,.home-record-button:focus-visible,.home-record-label:focus-visible,.capture-recorder .record-button:focus-visible{outline:3px solid #76b2ee;outline-offset:3px}.desktop-nav-label,.desktop-nav-suffix{display:none}.screen-dashboard main{display:flex;align-items:stretch}.screen-dashboard .dashboard{width:100%;max-width:500px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;gap:20px;margin:auto;min-height:clamp(300px,48dvh,440px);text-align:center}.screen-dashboard .greeting{padding:0}.screen-dashboard .greeting .eyebrow{font-size:.71rem;letter-spacing:.1em;margin:0 0 7px}.screen-dashboard .greeting h1{font-size:clamp(1.45rem,5vw,2rem);margin:0 0 5px;overflow-wrap:anywhere}.screen-dashboard .greeting p{font-size:.88rem}.dashboard-capture{display:grid;justify-items:center;gap:8px}.home-record-button{display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#267ed4,#115da9);border:0;border-radius:50%;width:108px;height:108px;box-shadow:0 0 0 8px #edf4fc,0 8px 18px #1769bf26;margin:10px 0 5px}.home-record-label{background:none;border:0;color:#193a5d;font-size:1.12rem;font-weight:750;min-height:44px;padding:6px 15px;border-radius:8px}.dashboard-capture p{margin:0;font-size:.82rem}.home-security{display:flex;align-items:center;justify-content:center;gap:6px;color:#73879c;font-size:.75rem;margin:6px 0}.home-security svg{color:#296eaa;flex:none}.app-shell.screen-new main{padding:10px 14px max(12px,env(safe-area-inset-bottom))}.capture-screen{width:100%;max-width:570px;display:grid;gap:10px;align-content:start}.capture-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px}.capture-heading .back{min-height:40px;flex:none;font-size:.8rem}.capture-heading h1{margin:0;font-size:1.3rem;line-height:1.2;text-align:right}.capture-screen .capture-options,.capture-screen .patient-id-control{gap:8px}.capture-screen .patient-id-toggle{min-height:56px;padding:9px 11px;border-radius:10px;gap:9px}.capture-screen .patient-id-toggle strong{font-size:.88rem;line-height:1.25}.capture-screen .patient-id-toggle small{font-size:.74rem;line-height:1.3;margin-top:3px}.capture-screen .patient-id-toggle input{right:11px}.capture-screen .capture-options label:not(.patient-id-toggle){gap:4px;font-size:.83rem}.capture-screen .capture-options input:not([type=checkbox]){min-height:44px;border-radius:10px;padding:0 11px}.capture-screen .capture-options .capture-risk{display:flex;align-items:center;gap:8px;min-height:36px;font-weight:600}.capture-risk input{width:19px;height:19px;min-height:19px;accent-color:#1769bf;margin:0;padding:0;flex:none}.capture-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:3px 12px;padding:4px 1px;color:#647790;font-size:.73rem;line-height:1.4}.capture-meta span{font-weight:600;overflow-wrap:anywhere}.capture-meta time{white-space:nowrap}.capture-workspace{min-width:0;display:grid;gap:8px;align-content:start}.capture-screen .capture-recorder{padding:14px 12px;gap:11px;border:1px solid #e0eaf5;border-radius:16px;background:#f7faff;min-width:0}.capture-clock{display:grid;justify-items:center;gap:5px}.capture-clock .recording-indicator{font-size:.77rem;gap:6px;line-height:1.2}.capture-clock .recording-dot{width:7px;height:7px}.capture-clock .timer{margin:0;line-height:1.05;font-size:clamp(2rem,7vw,2.65rem);font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.04em;color:#1d3f64}.recording-live .capture-clock .timer{color:#b82e3c}.capture-screen .recording-panel>.capture-id-hint{margin:0;max-width:290px;padding:0;background:transparent;border:0;font-size:.78rem;line-height:1.4;color:#496480}.capture-screen .record-button{width:86px;height:86px;box-shadow:0 0 0 6px #e6effa,0 5px 14px #1769bf25}.capture-screen .record-button.active{box-shadow:0 0 0 6px #f9e3e6,0 5px 14px #b82e3c23}.capture-screen .stop-square{width:28px;height:28px;border-radius:5px}.capture-screen .recording-panel>p.small{margin:0;font-size:.74rem;line-height:1.35;max-width:360px}.capture-screen .playback-panel audio{height:44px}.capture-screen .playback-buttons{gap:8px;margin-top:7px}.capture-screen .button{min-height:44px;border-radius:10px;font-size:.85rem;padding:8px 12px;gap:6px}.capture-screen .feedback{margin:0;padding:9px 11px;border-radius:10px;line-height:1.4;font-size:.78rem}.capture-screen .feedback svg{flex:none}.capture-screen .bottom-note{margin:0;font-size:.74rem;line-height:1.35}@media(max-width:410px){.app-shell .topbar{padding-inline:12px}.app-shell main{padding-inline:14px}.capture-screen{gap:8px}.capture-screen .capture-recorder{padding:12px 10px;gap:10px}.capture-heading h1{font-size:1.2rem}.capture-screen .capture-meta{font-size:.7rem}}@media(max-height:680px)and (max-width:899px){.screen-dashboard .dashboard{min-height:250px;gap:12px}.home-record-button{width:90px;height:90px}.capture-screen .capture-recorder{padding:10px;gap:8px}.capture-screen .record-button{width:74px;height:74px}.capture-screen .capture-clock .timer{font-size:2rem}.capture-screen .patient-id-toggle{padding-block:7px}}@media(min-width:900px){.app-shell{max-width:1280px;display:grid;grid-template-columns:216px minmax(0,1fr);grid-template-rows:auto 1fr;align-content:start;min-height:100dvh}.app-shell .topbar{grid-column:1/-1;padding:13px 24px;min-height:65px}.app-shell .topbar-account{font-size:.84rem}.app-shell main{grid-column:2;grid-row:2;padding:26px 30px}.bottom-nav{position:relative;grid-column:1;grid-row:2;align-self:stretch;flex-direction:column;justify-content:flex-start;border-top:0;border-right:1px solid #e4ebf4;background:#f7faff;padding:20px 10px;gap:5px}.bottom-nav button{flex:none;flex-direction:row;justify-content:flex-start;gap:10px;padding:12px 11px;font-size:.85rem;text-align:left;min-height:48px}.bottom-nav button svg{flex:none}.desktop-nav-label,.desktop-nav-suffix{display:inline}.mobile-nav-label{display:none}.screen-dashboard .dashboard{min-height:360px;max-width:580px;gap:26px}.screen-dashboard .greeting h1{font-size:2rem}.home-record-button{width:120px;height:120px}.app-shell.focused-screen{grid-template-columns:minmax(0,1fr)}.app-shell.focused-screen main{grid-column:1;padding:20px 28px}.app-shell.screen-new main{padding:20px 28px}.capture-screen{max-width:970px;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px 24px}.capture-heading{grid-column:1/-1;justify-content:flex-start;gap:20px}.capture-heading h1{font-size:1.55rem;text-align:left}.capture-screen .capture-options{gap:12px;align-self:start}.capture-screen .patient-id-toggle{min-height:65px;padding:12px 14px}.capture-screen .patient-id-toggle input{right:14px}.capture-screen .capture-recorder{padding:22px;gap:17px;min-height:220px;justify-content:center}.capture-clock .timer{font-size:2.65rem}.capture-screen .record-button{width:102px;height:102px}.capture-screen .capture-workspace{gap:10px}.screen-review .transcript-review{max-width:760px}.screen-recent .content-panel,.screen-settings .content-panel{max-width:850px}}@media(prefers-reduced-motion:reduce){.recording-indicator.is-recording .recording-dot{animation:none}}.capture-clock .ready-duration{font-variant-numeric:tabular-nums;font-weight:500;color:#647790;white-space:nowrap}.capture-screen .capture-recorder.recording-ready{min-height:0;padding:12px;gap:8px}.capture-screen .recording-ready .recording-indicator{font-size:.85rem;color:#1d3f64}.capture-screen .recording-ready .recording-dot{display:none}.capture-screen .recording-panel>.capture-save-status{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;font-size:.75rem;line-height:1.35;font-weight:650}.capture-save-status .save-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}.capture-save-status.is-unsaved{color:#b82e3c}.capture-save-status.is-saving{color:#946008}.capture-save-status.is-saved{color:#257247}.button.warning{color:#553400;background:#f3bd58}.button.warning:hover:not(:disabled){background:#efb244}.button.warning:active:not(:disabled){background:#e6a632}.button.warning:focus-visible{outline:2px solid #946008;outline-offset:2px}.failure-report{display:grid;gap:12px}.failure-report>.back{justify-self:start;min-height:40px}.content-panel.failure-report>h1,.content-panel.failure-report>p.muted{margin:0}.failure-report .feedback{margin:0}.failure-details{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:9px 12px;margin:0;padding:13px;border:1px solid #dce6f1;border-radius:12px;font-size:.84rem}.failure-details dt{color:#647790}.failure-details dd{margin:0;font-weight:600;overflow-wrap:anywhere}.failure-details .report-reference{font-size:.73rem;word-break:break-all}.recovery-tools{display:grid;gap:8px}.recovery-tools audio{width:100%;height:44px}.recovery-tools>p{margin:0}.recovery-editor{gap:9px;padding:10px;border:1px solid #dce6f1;border-radius:12px}.recovery-editor textarea{width:100%;font:inherit;line-height:1.5;border:1px solid #dce6f1;padding:10px;border-radius:9px;min-height:150px;resize:vertical}.recovery-editor .button{font-size:.83rem;min-height:40px}.recovery-editor .review-confirm{display:flex;align-items:flex-start;gap:8px;font-size:.82rem}.recovery-editor .review-confirm input{width:19px;height:19px;min-height:19px;padding:0;flex:none}.failure-report>.button{min-height:44px}.admin-resubmit{display:grid;gap:4px;margin-top:7px}.admin-resubmit small{max-width:220px;white-space:normal;overflow-wrap:anywhere}.recent-feed{max-width:680px}.feed-back{padding:4px 0;font-size:.82rem}.feed-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 16px}.feed-heading h1{margin:0;font-size:1.65rem}.feed-refresh{width:40px;height:40px;flex:none;background:#f2f6fa}.feed-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}.feed-counter{border:1px solid transparent;min-width:0;border-radius:12px;text-align:left;background:#f4f7fa;padding:11px 10px;display:grid;gap:4px;color:#1769bf}.feed-counter strong{font-size:1.65rem;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.feed-counter span{font-size:.71rem;font-weight:650;color:#536a81;line-height:1.2}.feed-counter.counter-action{color:#93600d}.feed-counter.counter-completed{color:#257247}.feed-counter.selected{border-color:currentColor;background:#f7faff}.feed-filters{display:grid;grid-template-columns:.7fr 1.5fr 1fr;gap:3px;padding:3px;background:#eff3f7;border-radius:10px;margin-bottom:18px}.feed-filters button{border:0;background:transparent;color:#52677f;border-radius:8px;padding:9px 5px;font-size:.76rem;font-weight:650;min-height:36px;white-space:nowrap}.feed-filters button.selected{background:#fff;color:#163c67;box-shadow:0 1px 4px #193f6514}.feed-counter:focus-visible,.feed-filters button:focus-visible,.feed-refresh:focus-visible{outline:2px solid #1769bf;outline-offset:2px}.feed-groups{display:grid;gap:14px}.feed-day h2{margin:0;background:#f4f7fa;color:#5e7288;border-radius:6px;padding:6px 10px;font-size:.76rem;font-weight:650;letter-spacing:0;line-height:1.3}.feed-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:64px;padding:11px 2px;border-bottom:1px solid #edf1f5}.feed-row:last-child{border-bottom:0}.feed-icon{width:42px;height:42px;display:grid;place-items:center;color:#8798aa;flex:none}.feed-icon.feed-done{color:#257247}.feed-icon.feed-review,.feed-icon.feed-processing,.feed-icon.feed-sending{color:#1769bf}.feed-icon.feed-failed,.feed-icon.feed-blocked,.feed-icon.feed-retry{color:#a66c17}.feed-record{min-width:0;display:grid;gap:3px}.feed-record strong{font-size:.93rem;line-height:1.3;font-weight:650;overflow-wrap:anywhere}.feed-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:.76rem;color:#647790;line-height:1.35;font-variant-numeric:tabular-nums}.feed-status-failed,.feed-status-blocked,.feed-status-retry{color:#946008}.feed-status-done{color:#257247}.feed-session{font-size:.71rem;color:#647790;overflow-wrap:anywhere}.feed-action .retry-mini{margin:0;min-height:38px;padding:8px 11px;white-space:nowrap}.feed-progress{position:relative;width:44px;height:44px;display:grid;place-items:center;flex:none;font-variant-numeric:tabular-nums;color:#1769bf}.feed-progress svg{position:absolute;inset:0;width:100%;height:100%}.feed-progress>span{font-size:.65rem;line-height:1;font-weight:750;color:#235c96}.feed-progress .segment-pending{color:#dbe5ee}.feed-progress .segment-complete{color:#1769bf;transition:color .2s ease}.feed-footnote{font-size:.71rem;margin:15px 0 0;line-height:1.45}.feed-row-processing .feed-record{grid-column:2/-1}.feed-row:not(:has(.feed-action)) .feed-record{grid-column:2/-1}@media(min-width:900px){.recent-feed{max-width:760px}.feed-summary{gap:12px}.feed-counter{padding:15px}.feed-counter span{font-size:.8rem}.feed-row{min-height:66px;padding:10px 8px;gap:12px}.feed-record strong{font-size:1rem}.feed-meta{font-size:.81rem}}@media(max-width:360px){.feed-counter{padding:10px 7px}.feed-counter span{font-size:.66rem}.feed-row{gap:6px;grid-template-columns:38px minmax(0,1fr) auto}.feed-icon,.feed-progress{width:38px;height:38px}.feed-action .retry-mini{padding:7px 8px;font-size:.69rem}.feed-record strong{font-size:.85rem}.feed-filters button{font-size:.7rem}}@media(prefers-reduced-motion:reduce){.feed-progress .segment-complete{transition:none}}.app-update-notice{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid #d3e2f3;border-radius:13px;background:#f0f6fd;color:#235b92;margin:0 auto 14px;max-width:850px}.app-update-notice>svg{flex:none}.app-update-notice>div{flex:1;min-width:0}.app-update-notice strong{font-size:.9rem;color:#173e68}.app-update-notice p{margin:3px 0;font-size:.76rem;color:#526e8a;line-height:1.4}.app-update-notice .button{flex:none;min-height:40px;padding:8px 12px;font-size:.78rem;white-space:nowrap}.app-version-panel{margin-top:18px}.app-version-panel dl{margin:12px 0 14px;display:grid;gap:0}.app-version-panel dl>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #e8eef5}.app-version-panel dt{color:#647790;font-size:.85rem}.app-version-panel dd{margin:0;text-align:right;font-size:.85rem;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.app-version-panel .app-update-notice{margin-bottom:12px}.app-version-panel>p{margin:9px 0 0}@media(max-width:360px){.app-update-notice{gap:7px;padding:10px}.app-update-notice>svg{display:none}.app-update-notice .button{font-size:.72rem;padding:7px 9px}}.screen-dashboard main{flex-direction:column}.screen-dashboard main>.app-update-notice{order:-1;width:100%;max-width:500px;align-self:center;flex:none;text-align:left}@media(min-width:900px){.screen-dashboard main>.app-update-notice{order:0;max-width:460px;margin:20px auto 8px}}.feed-delivery-toggle{display:inline-flex;align-items:center;gap:5px;color:#946008!important;border:1px solid #ead7b7!important;background:#fffaf1!important}.feed-delivery-details{grid-column:2/-1;display:grid;gap:10px;min-width:0;background:#f7f9fc;border:1px solid #e1e8ef;border-radius:10px;padding:12px;margin:0 0 4px;font-size:.82rem}.feed-delivery-document{display:grid;gap:6px;min-width:0}.feed-delivery-document+.feed-delivery-document{border-top:1px solid #e1e8ef;padding-top:10px}.feed-delivery-title{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px}.feed-delivery-confirmed{color:#257247;font-size:.75rem;font-weight:650}.feed-delivery-status{color:#536a81;font-size:.75rem;font-weight:650}.feed-delivery-warning{display:flex;align-items:flex-start;gap:7px;margin:0;color:#805611;line-height:1.45;overflow-wrap:anywhere}.feed-delivery-warning svg{flex:none;margin-top:2px}.feed-delivery-guidance{margin:0;padding-top:8px;border-top:1px solid #e1e8ef;color:#536a81;font-size:.75rem;line-height:1.5}.feed-row:has(.feed-delivery-toggle) .feed-status{color:#946008}@media(max-width:480px){.feed-row:has(.feed-delivery-toggle){grid-template-columns:42px minmax(0,1fr);gap:6px 10px}.feed-row:has(.feed-delivery-toggle) .feed-action{grid-column:2;justify-self:start}.feed-delivery-details{grid-column:1/-1}}.feed-progress-attention .segment-complete{stroke:#946008}.feed-progress-attention span,.feed-status-delivery_issue{color:#946008}.ws-clinical-content .capture-success{max-width:540px;display:grid;justify-items:center;text-align:center;gap:14px;padding:32px 20px;background:#fff;border:1px solid #e1e8ef;border-radius:14px;margin:auto}.capture-success-icon{color:#257247}.capture-success h1,.capture-success p{margin:0}.capture-success p{color:#536a81;font-size:.88rem;max-width:350px}.capture-success-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin-top:8px}.capture-success-actions .button{font-size:.8rem;min-height:44px;line-height:1.25;padding:9px 7px;border-radius:10px;white-space:normal}.capture-success>.back{margin-top:4px}.feed-row-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end}.feed-icon-action{display:grid;place-items:center;flex:none;width:40px;height:44px;padding:0;border:1px solid #e1e8ef;border-radius:9px;background:#fff;color:#1769bf}.feed-icon-action:hover{background:#edf4fb}.feed-icon-action:focus-visible{outline:2px solid #1769bf;outline-offset:2px}.feed-icon-warning{color:#946008}.feed-icon-remove{color:#647790}.feed-icon-action.feed-delivery-toggle{display:grid;gap:0}.feed-action-message{display:flex;justify-content:space-between;align-items:center;gap:8px}.feed-action-message .button{min-height:36px;padding:6px 12px;font-size:.8rem}@media(max-width:480px){.ws-clinical-content .capture-success{padding:24px 12px}.capture-success-actions .button{font-size:.74rem}.feed-row:has(.feed-row-actions){grid-template-columns:36px minmax(0,1fr) auto;gap:7px}.feed-row:has(.feed-row-actions) .feed-action{grid-column:3;justify-self:end}.feed-row-actions{gap:10px}.feed-icon-action{width:40px;height:44px}.feed-delivery-details{grid-column:1/-1}}
