.desktop-client-download{box-sizing:border-box;border:1px solid var(--sx-border,#d9dee8);background:var(--sx-surface,#fff);height:28px;color:var(--sx-text,#1f2937);vertical-align:middle;white-space:nowrap;border-radius:7px;align-items:center;gap:7px;padding:0 11px;font-size:12.5px;font-weight:500;line-height:1;text-decoration:none;transition:background-color .14s,border-color .14s;display:inline-flex}.desktop-client-download:hover,.desktop-client-download:focus-visible{border-color:var(--sx-border-strong,#b8c0d0);background:var(--sx-slate-soft,#f3f5f9)}.desktop-client-download svg.desktop-client-windows{fill:#0078d4;flex:none;width:12px;height:12px}.desktop-client-login-hint{color:var(--sx-muted,#64748b);text-align:center;margin:14px 0 0;font-size:12.5px}.desktop-client-notice{color:var(--sx-ink,#1f2937);background:#fffaf3;border:1px solid #fcd9b6;border-radius:10px;align-items:center;gap:10px;margin:0 0 10px;padding:8px 12px;font-size:13px;line-height:1.45;animation:.18s ease-out desktop-client-fade;display:flex}.desktop-client-notice>svg{color:#dc2626;flex:none;width:18px;height:18px}.desktop-client-notice p{flex:1;margin:0}.desktop-client-recheck{border:1px solid var(--sx-border,#d6dddb);color:var(--sx-ink,#1f2937);cursor:pointer;background:#fff;border-radius:8px;flex:none;align-items:center;gap:5px;padding:4px 10px;font-size:12.5px;display:inline-flex}.desktop-client-recheck svg{width:13px;height:13px}.desktop-client-settings header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.desktop-client-settings ol{margin:8px 0 12px;padding-left:20px;line-height:1.6}.desktop-client-state{color:#dc2626;font-size:12.5px;font-weight:600}.desktop-client-state[data-state=ready]{color:#16a34a}.desktop-client-state[data-state=checking]{color:var(--sx-muted,#64748b)}.desktop-client-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}@keyframes desktop-client-fade{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:none}}.doctor-reference-consultation.doctor-clinic-shell:has(>.desktop-client-notice){grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:"notice notice""header header""workspace queue"}.doctor-reference-consultation.doctor-clinic-shell>.desktop-client-notice{grid-area:notice;margin:8px 14px 6px}@media (width<=900px){.doctor-reference-consultation.doctor-clinic-shell:has(>.desktop-client-notice){grid-template-rows:auto auto auto minmax(680px,1fr);grid-template-areas:"notice""header""queue""workspace"}}.desktop-client-update{z-index:1000;border:1px solid var(--sx-border-strong,#d5dbe5);background:var(--sx-surface,#fff);max-width:calc(100vw - 32px);color:var(--sx-text,#1f2937);border-radius:10px;align-items:center;gap:10px;padding:8px 10px 8px 14px;font-size:13px;line-height:1.4;animation:.18s ease-out desktop-client-fade;display:flex;position:fixed;bottom:16px;left:50%;transform:translate(-50%);box-shadow:0 6px 24px #0f1b3d1f}.desktop-client-update>svg{width:16px;height:16px;color:var(--sx-blue,#1d5bd8);flex:none}.desktop-client-update[data-phase=updated]{animation:.18s ease-out desktop-client-fade,.6s ease-in 5.2s forwards desktop-client-update-out}.desktop-client-update[data-phase=updated]>svg{color:var(--sx-green,#12864f)}.desktop-client-update[data-phase=reinstall]>svg,.desktop-client-update[data-phase=failed]>svg{color:var(--sx-accent-strong,#b45309)}.desktop-client-update-close{color:var(--sx-muted,#64748b);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px;display:inline-flex}.desktop-client-update-close:hover,.desktop-client-update-close:focus-visible{background:var(--sx-surface-muted,#f1f5f9)}.desktop-client-update-close svg{width:14px;height:14px}@keyframes desktop-client-update-out{to{opacity:0}}.doctor-original-pane{position:relative}.desktop-engine-chip-status{flex:none;display:inline-flex}.desktop-engine-chip{color:#7a5a12;height:24px;font:inherit;white-space:nowrap;cursor:pointer;background:#fff8e6;border:1px solid #f3d38a;border-radius:999px;align-items:center;gap:5px;padding:0 7px 0 8px;font-size:12px;font-weight:600;line-height:1;display:inline-flex}.desktop-engine-chip:hover,.desktop-engine-chip[data-state=open]{background:#fdecc0}.desktop-engine-chip:focus-visible{outline:2px solid var(--sx-blue,#2563eb);outline-offset:2px}.desktop-engine-chip>svg{color:#b7791f;flex:none;width:14px;height:14px}.desktop-engine-chip>svg:last-child{color:#9a6b12;width:12px;height:12px}@container doctor-workspace (width>=960px) and (width<=1099px){.desktop-engine-chip>span{display:none}}.desktop-engine-banner{color:#5c4100;background:#fff8e6;border:1px solid #f3d38a;border-radius:10px;gap:10px;width:min(340px,100vw - 32px);padding:12px 14px;font-size:13px;display:grid;box-shadow:0 18px 40px -18px #3c280073}.desktop-engine-banner p{margin:0;line-height:1.45}.desktop-engine-banner-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.desktop-engine-banner-ai{color:#3730a3;cursor:pointer;background:#fff;border:1px solid #c7d2fe;border-radius:8px;align-items:center;gap:6px;height:30px;padding:0 10px;font-weight:600;display:inline-flex}.desktop-engine-banner-ai svg{width:14px;height:14px}.desktop-engine-banner-icon-button{color:#7a5a12;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:28px;height:28px;display:grid}.desktop-engine-banner-icon-button:hover{background:#fdecc0}.desktop-engine-banner-icon-button svg{width:15px;height:15px}.desktop-client-status{display:inline-flex;position:relative}.desktop-client-status-button{width:30px;height:30px;color:var(--sx-text-3,#8590ab);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;transition:background-color .14s,color .14s,filter .14s;display:grid}.desktop-client-status-button svg{width:18px;height:18px}.desktop-client-status-button:hover{background:var(--sx-slate-soft,#f1f3f8)}.desktop-client-status-button[data-tone=ok]{color:#16a34a}.desktop-client-status-button[data-tone=missing]{color:#b91c1c;filter:drop-shadow(0 0 4px #dc2626bf);animation:2.4s ease-in-out infinite desktop-client-missing}@keyframes desktop-client-missing{50%{filter:drop-shadow(0 0 1px #dc262659)}}@media (prefers-reduced-motion:reduce){.desktop-client-status-button[data-tone=missing]{animation:none}}.desktop-client-status-pop{z-index:80;border:1px solid var(--sx-border,#e3e7ee);background:var(--sx-surface,#fff);min-width:220px;color:var(--sx-text,#0f1b3d);white-space:nowrap;border-radius:10px;gap:8px;padding:10px 12px;font-size:13px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 14px 32px -16px #0f1b3d59}.desktop-client-status-pop-actions{justify-content:flex-end;gap:6px;display:flex}.desktop-client-status-pop-actions>*{border:1px solid var(--sx-border,#e3e7ee);background:var(--sx-surface,#fff);height:28px;color:var(--sx-text-2,#4a5677);font:inherit;cursor:pointer;border-radius:7px;align-items:center;padding:0 10px;font-weight:600;text-decoration:none;display:inline-flex}.desktop-client-status-pop-actions>.desktop-client-status-yes{border-color:var(--sx-blue,#2563eb);background:var(--sx-blue,#2563eb);color:#fff}.auth-shell .auth-access-primary,.auth-shell .auth-access-secondary{gap:18px;min-width:0;display:grid}.auth-shell .auth-access-secondary:focus-visible{outline:3px solid color-mix(in oklab, var(--clinic-blue) 35%, transparent);outline-offset:6px;border-radius:10px}.auth-shell .auth-entry-actions{border-top:1px solid var(--clinic-border);gap:8px;padding-top:16px;display:grid}.auth-shell .auth-create-account{border-color:color-mix(in oklab, var(--clinic-blue) 35%, var(--clinic-border));width:100%;min-height:44px;color:var(--clinic-blue-strong);font-weight:700}.auth-shell .auth-pair-pc{min-height:40px;color:var(--clinic-muted);justify-self:center;font-size:12px;font-weight:600}.auth-shell .auth-return-signin{width:fit-content;min-height:40px;color:var(--clinic-blue-strong);justify-self:start}.auth-shell .auth-availability{gap:10px;line-height:1.45;display:grid}.auth-shell .auth-availability button{width:fit-content}@media (width<=480px){.auth-shell .auth-pair-pc,.auth-shell .auth-return-signin{min-height:44px}}@media (prefers-reduced-motion:reduce){.auth-shell .auth-access-primary *,.auth-shell .auth-access-secondary *{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}body .auth-shell .auth-card{width:min(100%,400px);box-shadow:0 1px 2px color-mix(in oklab, var(--clinic-navy) 6%, transparent), 0 18px 48px color-mix(in oklab, var(--clinic-navy) 12%, transparent);border-radius:18px;gap:20px;padding:32px 30px 24px}body .auth-shell .auth-card:has(.workspace-registration-form){width:min(100%,460px)}body .auth-shell .auth-card>.auth-brand{flex-direction:column;align-items:center;gap:8px;font-size:20px;display:flex}body .auth-shell .auth-card>.auth-brand .brand-mark{border-radius:12px;width:42px;height:42px}body .auth-shell .auth-card>.auth-brand .brand-mark svg{width:22px;height:22px}body .auth-shell .auth-card .auth-panel-heading{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:4px;display:grid}body .auth-shell .auth-card .auth-panel-heading .auth-state-icon{display:none}body .auth-shell .auth-card .auth-panel-heading h1{font-size:22px}body .auth-shell .auth-card .auth-panel-heading p{color:var(--clinic-muted);font-size:13px}body .auth-shell .auth-card .auth-form{gap:12px}body .auth-shell .auth-card .auth-field input{border-radius:10px;height:42px}body .auth-shell .auth-card .auth-form>button[type=submit],body .auth-shell .auth-create-account{border-radius:10px;min-height:42px}body .auth-shell .auth-card .auth-form>button[type=submit]{margin-top:4px}body .auth-shell .auth-entry-actions{gap:4px;margin-top:2px;padding-top:18px;position:relative}body .auth-shell .auth-entry-actions:before{content:"or";background:var(--clinic-surface);color:var(--clinic-muted);padding:0 10px;font-size:11px;line-height:16px;position:absolute;top:-8px;left:50%;transform:translate(-50%)}body .auth-shell .auth-footnote{color:var(--clinic-muted);text-align:center;border-top:0;margin:0;padding-top:0;font-size:11px}body .auth-shell .auth-card .auth-panel-heading>h1,body .auth-shell .auth-card .auth-panel-heading>p{grid-area:auto/1;margin:0}body .auth-shell .auth-card input::placeholder{color:#a7b0bf;opacity:1}body .auth-shell .auth-card .auth-return-signin{padding-inline:0}.sign-in-tabs{background:var(--sx-surface-muted,#f1f5f9);border-radius:10px;grid-template-columns:1fr 1fr;gap:4px;margin:4px 0 14px;padding:4px;display:grid}.sign-in-tabs button,.sign-in-kind button{color:var(--sx-muted,#64748b);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:7px 10px;font-size:13.5px;font-weight:600;transition:background-color .16s,color .16s}.sign-in-tabs button[aria-selected=true],.sign-in-kind button[aria-checked=true]{color:var(--sx-ink,#0f172a);background:#fff;box-shadow:0 1px 2px #0f172a1a}.sign-in-kind{border:1px solid var(--sx-border,#e2e8f0);border-radius:10px;grid-template-columns:1fr 1fr;gap:4px;padding:3px;display:grid}.sign-in-kind-note{color:var(--sx-muted,#64748b);margin:2px 0 6px;font-size:12.5px;line-height:1.45}.sign-in-password{display:block;position:relative}.sign-in-password input{width:100%;padding-right:38px}.sign-in-password button{color:var(--sx-muted,#64748b);cursor:pointer;background:0 0;border:0;padding:4px;display:inline-flex;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.sign-in-password button svg{width:16px;height:16px}.sign-in-dialog-backdrop{z-index:60;background:#0f172a61;place-items:center;padding:20px;animation:.16s ease-out sign-in-fade;display:grid;position:fixed;inset:0}.sign-in-dialog{text-align:center;background:#fff;border-radius:16px;justify-items:center;gap:10px;max-width:420px;padding:26px 26px 20px;display:grid;position:relative;box-shadow:0 24px 60px #0f172a38}.sign-in-dialog h2{margin:0;font-size:18px}.sign-in-dialog p{color:var(--sx-muted,#475569);margin:0;line-height:1.5}.sign-in-dialog-close{color:var(--sx-muted,#64748b);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:6px;display:inline-flex;position:absolute;top:10px;right:10px}.sign-in-waiting{color:var(--sx-muted,#64748b);align-items:center;gap:8px;font-size:13px;display:inline-flex}.pc-link-qr{border:1px solid var(--sx-border,#e2e8f0);background:#fff;border-radius:12px;width:196px;height:196px;margin:6px auto;padding:8px}.pc-link-code{letter-spacing:.12em;text-align:center;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:22px;font-weight:700}@keyframes sign-in-fade{0%{opacity:0}to{opacity:1}}.sign-in-field-status{min-height:16px;color:var(--sx-muted,#64748b);margin:-2px 0 2px;font-size:12px;line-height:1.35;display:block}.sign-in-field-status[data-state=available]{color:#15803d}.sign-in-field-status[data-state=taken],.sign-in-field-status[data-state=invalid]{color:#b91c1c}.auth-link-button{color:#0f766e;min-height:44px;font:inherit;background:#effaf7;border:1px solid #b9e3dc;border-radius:12px;align-self:center;margin-top:12px;padding:0 16px;font-weight:600}body .auth-shell{isolation:isolate;--auth-art-blue:oklch(55% .2 257);--auth-art-teal:oklch(62% .13 195);--auth-art-ink:oklch(47% .12 255);scrollbar-gutter:stable both-edges;place-items:start center;height:100dvh;min-height:0;position:relative;overflow:hidden auto}body .auth-shell>.auth-card{z-index:1;margin-block:clamp(20px,9vh,96px) 32px;position:relative}body .auth-shell .sign-in-card>.auth-form{animation:.18s ease-out auth-panel-in}@keyframes auth-panel-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.auth-backdrop{z-index:0;pointer-events:none;position:fixed;inset:0;overflow:hidden}.auth-backdrop svg{width:100%;height:100%;display:block}.auth-backdrop-line{fill:none;stroke:var(--auth-art-ink);stroke-width:6px;stroke-linecap:round;stroke-linejoin:round;opacity:.13}.auth-backdrop-pad path{stroke-width:7px}.auth-backdrop-rx{fill:var(--auth-art-ink);stroke:none;font:700 46px/1 var(--font-display,serif)}.auth-backdrop-capsule rect{fill:var(--auth-art-teal);opacity:.16}.auth-backdrop-cross{fill:var(--auth-art-blue);opacity:.14}.auth-backdrop-ecg-track{fill:none;stroke:var(--auth-art-blue);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;opacity:.08}.auth-backdrop-ecg{fill:none;stroke:var(--auth-art-blue);stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;opacity:.35;stroke-dasharray:220 780;animation:7s linear infinite auth-backdrop-pulse}@keyframes auth-backdrop-pulse{0%{stroke-dashoffset:1000px}to{stroke-dashoffset:0}}@media (prefers-reduced-motion:reduce){body .auth-shell .sign-in-card>.auth-form{animation:none}.auth-backdrop-ecg{stroke-dasharray:none;opacity:.18;animation:none}}@media (width<=760px){.auth-backdrop{opacity:.55}}@keyframes sx-view-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes sx-fade-in{0%{opacity:0}to{opacity:1}}@keyframes sx-rise-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes sx-progress-run{0%{transform:translate(-100%)}to{transform:translate(250%)}}.doctor-view-surface:not([hidden]),.reception-resident-view:not([hidden]),.settings-category-panel:not([hidden]){animation:.2s cubic-bezier(.2,.7,.2,1) both sx-view-in}.doctor-clinic-shell:not([hidden]){animation:.18s ease-out both sx-fade-in}.sx-kpi-grid>*{animation:.2s ease-out both sx-rise-in}.sx-kpi-grid>:nth-child(2){animation-delay:40ms}.sx-kpi-grid>:nth-child(3){animation-delay:80ms}.sx-kpi-grid>:nth-child(4){animation-delay:.12s}.sx-kpi-grid>:nth-child(5){animation-delay:.16s}.sx-kpi-grid>:nth-child(n+6){animation-delay:.2s}.sx-table tbody tr,.doctor-queue-list .doctor-queue-row{animation:.15s ease-out both sx-rise-in}.sx-btn{transition:background-color .14s var(--sx-ease), border-color .14s var(--sx-ease), color .14s var(--sx-ease), box-shadow .14s var(--sx-ease), transform 80ms ease-out}.sx-btn:active:not(:disabled){transform:scale(.97)}.sx-top-progress{z-index:1000;pointer-events:none;background:color-mix(in oklab, var(--sx-blue,#2563eb) 18%, transparent);height:3px;position:fixed;inset:0 0 auto;overflow:hidden}.sx-top-progress:before{content:"";background:var(--sx-blue,#2563eb);width:40%;animation:.7s ease-in-out infinite sx-progress-run;position:absolute;inset:0 auto 0 0}@media (prefers-reduced-motion:reduce){.doctor-view-surface:not([hidden]),.reception-resident-view:not([hidden]),.settings-category-panel:not([hidden]),.doctor-clinic-shell:not([hidden]),.sx-kpi-grid>*,.sx-table tbody tr,.doctor-queue-list .doctor-queue-row,.sx-top-progress:before{animation:none}.sx-btn:active:not(:disabled){transform:none}}
