@import "https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap";._wrapper_qu82b_1{background:linear-gradient(135deg,#eef2ff 0%,#f0f7ff 40%,#e8f4fd 70%,#f5f3ff 100%);justify-content:center;align-items:center;min-height:100vh;padding:1.5rem;font-family:Space Grotesk,Inter,sans-serif;display:flex}._card_qu82b_21{background:#fff;border-radius:20px;flex-direction:column;align-items:center;width:100%;max-width:460px;padding:2.5rem 2.5rem 2rem;display:flex;box-shadow:0 4px 6px #0000000a,0 10px 40px #2563eb14,0 0 0 1px #2563eb0f}._logoArea_qu82b_45{align-items:center;gap:.65rem;margin-bottom:1.75rem;display:flex}._logoIcon_qu82b_59{color:#fff;background:#2563eb;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex}._logoBrand_qu82b_83{flex-direction:column;display:flex}._logoBrandName_qu82b_93{color:#0f172a;letter-spacing:.04em;font-size:1.1rem;font-weight:700;line-height:1.1}._logoBrandSub_qu82b_109{color:#94a3b8;letter-spacing:.1em;text-transform:uppercase;font-size:.62rem;font-weight:500}._title_qu82b_125{color:#0f172a;letter-spacing:-.02em;text-align:center;margin:0 0 .35rem;font-size:1.7rem;font-weight:700}._subtitle_qu82b_143{color:#64748b;text-align:center;margin:0 0 2rem;font-size:.87rem}._form_qu82b_157{flex-direction:column;width:100%;display:flex}._fieldWrap_qu82b_169{width:100%;margin-bottom:1rem;display:block}._fieldLabel_qu82b_181{color:#334155;margin-bottom:.4rem;font-size:.82rem;font-weight:600;display:block}._input_qu82b_197{box-sizing:border-box;color:#0f172a;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;outline:none;width:100%;padding:.7rem .9rem;font-family:inherit;font-size:.88rem;transition:border-color .15s,box-shadow .15s}._input_qu82b_197::placeholder{color:#cbd5e1}._input_qu82b_197:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}._passwordWrap_qu82b_243{position:relative}._passwordWrap_qu82b_243 ._input_qu82b_197{padding-right:2.6rem}._eyeBtn_qu82b_259{cursor:pointer;color:#94a3b8;background:0 0;border:none;align-items:center;padding:0;transition:color .15s;display:flex;position:absolute;top:50%;right:.75rem;transform:translateY(-50%)}._eyeBtn_qu82b_259:hover{color:#475569}._errorMsg_qu82b_297{color:#ef4444;text-align:center;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:.75rem;padding:.5rem .75rem;font-size:.8rem}._btnPrimary_qu82b_319{color:#fff;cursor:pointer;letter-spacing:.01em;background:#2563eb;border:none;border-radius:10px;width:100%;margin-top:.25rem;padding:.78rem;font-family:inherit;font-size:.93rem;font-weight:600;transition:background .15s,transform .1s,box-shadow .15s}._btnPrimary_qu82b_319:hover:not(:disabled){background:#1d4ed8;box-shadow:0 4px 14px #2563eb59}._btnPrimary_qu82b_319:active:not(:disabled){transform:scale(.98)}._btnPrimary_qu82b_319:disabled{opacity:.55;cursor:not-allowed}._forgotLink_qu82b_379{cursor:pointer;color:#2563eb;background:0 0;border:none;margin-top:1.1rem;padding:0;font-family:inherit;font-size:.85rem;font-weight:500;transition:color .15s}._forgotLink_qu82b_379:hover{color:#1d4ed8;text-decoration:underline}@media (width<=520px){._card_qu82b_21{padding:2rem 1.5rem 1.75rem}._title_qu82b_125{font-size:1.45rem}}._root_1wcnc_1{background:0 0;flex-direction:column;gap:24px;min-height:100%;padding:8px 0;font-family:Space Grotesk,system-ui,sans-serif;display:flex}._stateScreen_1wcnc_21{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:60vh;font-size:.88rem;display:flex}._spinner_1wcnc_43{border:3px solid #2563eb26;border-top-color:#2563eb;border-radius:50%;width:36px;height:36px;animation:.7s linear infinite _spin_1wcnc_43}@keyframes _spin_1wcnc_43{to{transform:rotate(360deg)}}._retryBtn_1wcnc_65{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:.55rem 1.25rem;font-size:.83rem;font-weight:600;transition:background .15s}._retryBtn_1wcnc_65:hover{background:#1d4ed8}._pageHeader_1wcnc_93{justify-content:space-between;align-items:center;gap:16px;display:flex}._pageTitle_1wcnc_107{color:#1e293b;letter-spacing:-.02em;margin:0;font-size:1.15rem;font-weight:700}._pageSub_1wcnc_123{color:#94a3b8;margin:2px 0 0;font-size:.75rem}._pageActions_1wcnc_135{flex-wrap:wrap;gap:8px;display:flex}._btnPrimary_1wcnc_147{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:9px;padding:.5rem 1.1rem;font-size:.8rem;font-weight:600;transition:background .15s,transform .1s}._btnPrimary_1wcnc_147:hover{background:#1d4ed8}._btnPrimary_1wcnc_147:active{transform:scale(.97)}._btnGhost_1wcnc_179{color:#475569;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #e2e8f0;border-radius:9px;padding:.5rem 1.1rem;font-size:.8rem;font-weight:600;transition:background .15s,border-color .15s}._btnGhost_1wcnc_179:hover{background:#f8fafc;border-color:#cbd5e1}._metricGrid_1wcnc_209{grid-template-columns:repeat(5,1fr);gap:16px;display:grid}._metricCard_1wcnc_221{background:#fff;border:1px solid #e8edf6;border-radius:14px;align-items:center;gap:1rem;height:108px;padding:1.15rem 1.2rem;transition:box-shadow .2s,transform .18s;display:flex;overflow:hidden;box-shadow:0 2px 10px #0000000d}._metricCard_1wcnc_221:hover{transform:translateY(-2px);box-shadow:0 6px 22px #2563eb1a}._metricIcon_1wcnc_259{background:var(--icon-bg,#eff6ff);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}._metricInfo_1wcnc_281{flex-direction:column;gap:1px;min-width:0;display:flex}._metricLabel_1wcnc_295{color:#94a3b8;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap;text-overflow:ellipsis;font-size:.7rem;font-weight:600;overflow:hidden}._metricValue_1wcnc_317{color:#1e293b;letter-spacing:-.04em;font-size:1.8rem;font-weight:700;line-height:1.1}._metricHint_1wcnc_333{color:#94a3b8;margin-top:1px;font-size:.69rem}._panelsRoot_1wcnc_345{flex-direction:column;gap:18px;display:flex}._panelRow3_1wcnc_357{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}._panelRow2_1wcnc_369{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}._panel_1wcnc_345{background:#fff;border:1px solid #e8edf6;border-radius:14px;flex-direction:column;padding:1.25rem 1.3rem;display:flex;box-shadow:0 2px 10px #0000000a}._panel_1wcnc_345 h2{color:#1e293b;margin:0;font-size:.88rem;font-weight:700}._panelHeader_1wcnc_415{justify-content:space-between;align-items:center;gap:8px;margin-bottom:1rem;display:flex}._panelHeader_1wcnc_415 span{color:#94a3b8;white-space:nowrap;font-size:.7rem}._panelLink_1wcnc_443{color:#2563eb;cursor:pointer;white-space:nowrap;background:#eff6ff;border:none;border-radius:6px;padding:.28rem .7rem;font-size:.72rem;font-weight:600;transition:background .15s,color .15s}._panelLink_1wcnc_443:hover{color:#1d4ed8;background:#dbeafe}._alertList_1wcnc_473{flex-direction:column;gap:8px;display:flex}._alertItem_1wcnc_485{border-left:3px solid var(--alert-accent,#94a3b8);background:#f8fafc;border-radius:9px;flex-direction:column;gap:3px;padding:.65rem .8rem;display:flex}._alertItem_1wcnc_485 strong{color:#1e293b;font-size:.8rem;font-weight:600}._alertItem_1wcnc_485 span{color:#64748b;font-size:.73rem}._compactList_1wcnc_527{flex-direction:column;gap:6px;display:flex}._compactItem_1wcnc_539{text-align:left;cursor:pointer;background:#f8fafc;border:1px solid #f1f5f9;border-radius:9px;flex-direction:column;gap:2px;width:100%;padding:.65rem .8rem;transition:background .15s,border-color .15s;display:flex}._compactItem_1wcnc_539:hover{background:#eff6ff;border-color:#bfdbfe}._compactItem_1wcnc_539 strong{color:#1e293b;font-size:.81rem;font-weight:600}._compactItem_1wcnc_539 span{color:#64748b;font-size:.73rem}._compactItem_1wcnc_539 small{color:#94a3b8;font-size:.69rem}._empty_1wcnc_603{color:#94a3b8;text-align:center;margin:0;padding:1.5rem 0;font-size:.79rem}@media (width<=1200px){._metricGrid_1wcnc_209{grid-template-columns:repeat(5,1fr)}}@media (width<=900px){._metricGrid_1wcnc_209{grid-template-columns:repeat(2,1fr)}._panelRow3_1wcnc_357,._panelRow2_1wcnc_369{grid-template-columns:1fr}._pageHeader_1wcnc_93{flex-direction:column;align-items:flex-start}}@media (width<=560px){._metricGrid_1wcnc_209{grid-template-columns:repeat(2,1fr);gap:10px}}@layer components;@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.block{display:block}.grid{display:grid}.table{display:table}}:root{color:#1e293b;font-synthesis:none;text-rendering:optimizelegibility;background:#f1f5f9;font-family:Space Grotesk,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}.app-shell{grid-template-columns:240px 1fr;min-height:100vh;transition:grid-template-columns .2s;display:grid}.app-shell.sidebar-collapsed{grid-template-columns:82px 1fr;height:100vh;overflow:hidden}aside{color:#334155;background:#fff;min-width:0;padding:28px 18px;transition:padding .2s}.sidebar-collapsed aside{padding:20px 12px}.sidebar-top{border-right:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:12px;height:100%;margin-bottom:28px;display:flex;overflow-y:auto}.brand{gap:6px;min-width:0;display:grid}.brand strong{letter-spacing:0;font-size:30px;line-height:1}.brand span,header span,small{color:#64748b}.sidebar-toggle{background:#1d3a47;border:1px solid #315968;border-radius:8px;flex:none;place-content:center;gap:4px;width:38px;height:38px;display:grid}.sidebar-toggle:hover{background:#254857}.sidebar-toggle span{background:#eef7f9;border-radius:999px;width:17px;height:2px;display:block}.sidebar-collapsed .brand span,.sidebar-collapsed .nav-label{display:none}.sidebar-collapsed .brand strong{font-size:18px}.sidebar-collapsed .sidebar-top{justify-items:center;gap:12px;display:grid}nav{gap:8px;display:grid}nav button{color:#475569;text-align:left;background:0 0;border-radius:8px;align-items:center;gap:10px;min-width:0;padding:12px;display:flex}.nav-initial{color:#eef7f9;background:#1d3a47;border-radius:7px;flex:none;place-items:center;width:28px;height:28px;font-weight:800;display:none}.nav-label{text-overflow:ellipsis;white-space:nowrap;will-change:transform;border:1px solid #0000;border-radius:10px;flex-direction:row;align-items:center;gap:10px;padding:11px 14px;font-size:.85rem;font-weight:500;transition:background .18s,color .18s,transform .15s,box-shadow .18s;display:flex;overflow:hidden}nav button.active{color:#fff;background:#2563eb;border-color:#0000;font-weight:600;box-shadow:0 4px 18px #2563eb73,0 1px 4px #2563eb4d}nav button:hover:not(.active){color:#1e293b;background:#f1f5f9;transform:translate(3px);box-shadow:inset 3px 0 #2563eb}nav button:active:not(.active){background:#e2e8f0;transform:translate(2px)}.sidebar-collapsed nav button{justify-content:center;padding:10px}.sidebar-collapsed .nav-initial{display:grid}main{background:#f1f5f9;min-width:0;height:100%;padding:24px 28px;overflow-y:auto}header{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffe6;border:1px solid #e2e8f0;border-radius:18px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding:18px 26px;display:flex;box-shadow:0 1px 3px #0f172a0a,0 4px 16px #94a3b833}.nav-toggle{color:#1e293b;cursor:pointer;background:#f1f5f9;border:1.5px solid #e2e8f0;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;transition:background .15s;display:none}.nav-toggle:hover{background:#e2e8f0}header>div>span{color:#94a3b8;letter-spacing:.04em;text-transform:uppercase;margin-bottom:3px;font-size:.72rem;font-weight:600;display:block}h1,h2,h3,p{margin:0}h1{font-size:26px;font-weight:700}h2{margin-bottom:14px;font-size:20px}h3{margin-top:18px;margin-bottom:8px;font-size:14px}.session{flex-shrink:0;align-items:center;gap:10px;display:flex}.session-avatar{color:#fff;letter-spacing:.05em;background:linear-gradient(135deg,#1e3a8a 0%,#2563eb 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:.75rem;font-weight:700;display:flex;box-shadow:0 2px 10px #2563eb52}.session-info{text-align:right;flex-direction:column;gap:1px;display:flex}.session-info strong{color:#0f172a;white-space:nowrap;font-size:.85rem;font-weight:700}.session-info small{color:#94a3b8;white-space:nowrap;font-size:.7rem;font-weight:500}.session-logout{color:#f87171;cursor:pointer;background:0 0;border:1.5px solid #fecaca;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;transition:background .18s,border-color .18s,color .18s,transform .18s;display:flex}.session-logout:hover{color:#ef4444;background:#fee2e2;border-color:#fca5a5;transform:scale(1.08)}.context-select{color:#94a3b8;letter-spacing:.06em;text-transform:uppercase;flex-direction:column;gap:5px;min-width:min(300px,100%);font-size:.68rem;font-weight:700;display:flex}.context-select select{appearance:none;color:#1e293b;cursor:pointer;background-color:#f8fafc;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-position:right 13px center;background-repeat:no-repeat;border:1.5px solid #e2e8f0;border-radius:10px;padding:10px 36px 10px 14px;font-size:.875rem;font-weight:600;transition:border-color .15s,box-shadow .15s,background-color .15s}.context-select select:hover{background-color:#f1f5f9;border-color:#cbd5e1}.context-select select:focus{background-color:#fff;border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1a}.toolbar button,.actions button,form button{color:#fff;background:#2563eb;border-radius:7px;padding:9px 12px}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;box-shadow:0 4px 16px #94a3b840}.dashboard{gap:16px;display:grid}.dashboard-hero{color:#fff;background:linear-gradient(135deg,#123944 0%,#1d5d65 48%,#6b7a3d 100%);border-radius:8px;justify-content:space-between;align-items:flex-start;gap:18px;min-height:170px;padding:22px;display:flex}.dashboard-hero span{color:#d3eaed;font-weight:700}.dashboard-hero h2{margin:8px 0;font-size:28px}.dashboard-hero p{color:#e6f2ee;max-width:640px}.dashboard-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.dashboard-actions button,.panel-title button,.panel-title .button,.dashboard-loading button{color:#1e293b;will-change:transform;background:#fff;border:1px solid #e2e8f0;border-radius:7px;min-height:38px;padding:8px 11px;font-weight:700;text-decoration:none;transition:background .18s,color .18s,transform .18s,box-shadow .18s,border-color .18s}.dashboard-actions button:hover:not(.primary),.panel-title button:hover,.panel-title .button:hover,.dashboard-loading button:hover{color:#2563eb;background:#f1f5f9;border-color:#bfdbfe;transform:translateY(-2px);box-shadow:0 4px 14px #2563eb26}.dashboard-actions button:active:not(.primary),.panel-title button:active,.panel-title .button:active{box-shadow:none;transform:translateY(0)scale(.97)}.dashboard-actions button.primary{color:#fff;background:#2563eb;border-color:#2563eb;box-shadow:0 4px 14px #2563eb59}.dashboard-actions button.primary:hover{background:#1d4ed8;border-color:#1d4ed8;transform:translateY(-2px);box-shadow:0 6px 20px #2563eb73}.dashboard-actions button.primary:active{transform:translateY(0)scale(.97);box-shadow:0 2px 8px #2563eb4d}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid}.metric-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-content:space-between;min-height:126px;display:grid}.metric-card span{color:#5f6f76;font-weight:700}.metric-card strong{margin-top:12px;font-size:34px;line-height:1}.metric-card small{margin-top:10px}.metric-card.attention{border-left:5px solid #d97b43}.metric-card.warning{border-left:5px solid #b8792f}.metric-card.danger{border-left:5px solid #c94b3d}.metric-card.clinical{border-left:5px solid #2563eb}.metric-card.success{border-left:5px solid #16a34a}.metric-card.neutral{border-left:5px solid #7b8692}.dashboard-grid{grid-template-columns:1fr 1fr 1fr;gap:16px;display:grid}.wide-grid{grid-template-columns:1fr 1fr}.panel-title{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.panel-title h2{margin-bottom:2px}.panel-title span{color:#94a3b8;font-size:13px}.breakdown-list,.alerts-list,.compact-list{gap:10px;display:grid}.breakdown-row{gap:7px;display:grid}.breakdown-row div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.breakdown-row span{color:#475569;overflow-wrap:anywhere}.bar{background:#edf1f3;border-radius:999px;height:8px;overflow:hidden}.bar i{background:#2563eb;border-radius:999px;height:100%;display:block}.alert{border:1px solid #e2e8f0;border-left-width:5px;border-radius:8px;gap:4px;padding:11px;display:grid}.alert span{color:#5f6f76}.alert.danger{border-left-color:#c94b3d}.alert.warning{border-left-color:#d97b43}.alert.info{border-left-color:#2563eb}.alert.success{border-left-color:#16a34a}.compact-list button{text-align:left;color:#1e293b;background:#f8fafb;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.compact-list button:hover{border-color:#2563eb}.compact-list span,.compact-list small{margin-top:4px;display:block}.picker-list{z-index:30;background:#fff;border:1px solid #dce4e8;border-radius:8px;max-height:240px;padding:8px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto;box-shadow:0 18px 42px #12252f24}.picker-list button{padding:9px 10px}.dashboard-loading{gap:10px;display:grid}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.pagination{color:#4d6059;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;font-size:13px;font-weight:700;display:flex}.pagination button{color:#12312f;background:#fff;border:1px solid #dce4e8;border-radius:7px;min-height:34px;padding:7px 10px}.pagination button:disabled{color:#9aa9a3;cursor:not-allowed;background:#f4f6f8}.context-note{color:#64748b;margin-bottom:14px}input,select,textarea{color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:7px;min-height:39px;padding:8px 10px}textarea{resize:vertical;min-height:80px;line-height:1.5}input:disabled,select:disabled,textarea:disabled{color:#94a3b8;cursor:not-allowed;pointer-events:none;background:#f8fafc;border-color:#e2e8f0}.wide{min-width:min(520px,100%)}.check{align-items:center;gap:7px;min-height:39px;display:inline-flex}.check input{min-height:auto}.table{border:1px solid #e2e8f0;border-radius:8px;display:grid;overflow:hidden}.row{border-top:1px solid #e2e8f0;grid-template-columns:2fr 1.2fr 1fr 1fr 1fr minmax(300px,auto);align-items:center;gap:10px;padding:12px;display:grid}.row:first-child{border-top:0}.row.head{color:#475569;background:#f1f5ff;font-size:13px;font-weight:700}.row span{min-width:0}.row strong,.record-button strong,article strong{overflow-wrap:anywhere;display:block}.row small,.record-button small,article small{margin-top:3px;display:block}.actions{flex-wrap:wrap;gap:8px;display:flex}.actions select{width:120px}.queue-layout{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start;gap:16px;display:grid}.waiting-panel{gap:12px;display:grid;position:sticky;top:16px}.waiting-panel-current{background:#eff6ff;border:1px solid #bfdbfe;border-left:6px solid #2563eb;border-radius:8px;gap:8px;padding:16px;display:grid}.waiting-panel-current span,.waiting-panel-current small,.waiting-panel-history span{color:#475569;font-size:.82rem}.waiting-panel-current strong{color:#0f172a;font-size:1.55rem;line-height:1.1}.waiting-panel-history{background:#fff;border:1px solid #e2e8f0;border-radius:8px;gap:8px;padding:12px;display:grid}.waiting-panel-history h3{color:#1e293b;margin:0;font-size:.92rem}.waiting-panel-history div{border-top:1px solid #f1f5f9;padding-top:8px}.cards{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;display:grid}article,.metric{border:1px solid #e2e8f0;border-radius:8px;padding:12px}article.patient-card{background:#fff;border:1px solid #f1f5f9;border-radius:16px;padding:16px;transition:transform .2s,box-shadow .2s,border-color .2s;box-shadow:0 1px 3px #0000000d,0 4px 16px #0000000a}article.patient-card:hover{border-color:#e2e8f0;transform:translateY(-2px);box-shadow:0 6px 24px #00000017}.patient-card-header{align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.patient-card-avatar{color:#fff;letter-spacing:.04em;background:linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:.75rem;font-weight:700;display:flex}.patient-card-info{flex:1;min-width:0}.patient-card-info strong{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;font-weight:700;display:block;overflow:hidden}.patient-card-info span{color:#334155;margin-top:2px;font-size:.8rem;display:block}.patient-card-info small{color:#94a3b8;margin-top:3px;font-size:.72rem;display:block}article span{color:#475569;margin-top:7px;display:block}article button{color:#fff;background:#0f6b5c;border-radius:7px;margin-top:10px;padding:8px 10px}.patient-list{gap:8px;display:grid}.patient-list article{justify-content:space-between;align-items:center;gap:16px;display:flex}.patient-list article button{margin-top:0}.patient-layout{grid-template-columns:minmax(360px,.9fr) minmax(460px,1.1fr);align-items:start;gap:16px;display:grid}.patient-form{color:#172126;margin:0}.qr-scanner-modal{gap:14px;width:min(560px,100vw - 32px);display:grid}.qr-video{aspect-ratio:4/3;object-fit:cover;background:#0f172a;border:1px solid #dbeafe;border-radius:8px;width:100%}.qr-manual-form{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.qr-manual-form input{min-width:0}.form-grid .span-2{grid-column:1/-1}.success-note{color:#215d38;background:#e8f5ec;border-radius:7px;margin-bottom:12px;padding:10px}.split{grid-template-columns:minmax(360px,.9fr) minmax(420px,1.1fr);gap:16px;display:grid}.records-workspace{grid-template-columns:minmax(340px,.42fr) minmax(620px,1fr);align-items:start;gap:16px;display:grid}.records-sidebar{max-height:calc(100vh - 48px);position:sticky;top:16px;overflow:auto}.records-sidebar .toolbar{align-items:stretch}.records-search{width:100%;min-width:100%}.compact{border:0;gap:8px}.record-button{color:#1e293b;text-align:left;cursor:pointer;background:#fff;border:1px solid #f1f5f9;border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;width:100%;min-width:0;padding:14px 16px;transition:transform .2s,box-shadow .2s,border-color .2s;display:grid;box-shadow:0 1px 3px #0000000d,0 4px 16px #0000000a}.record-button strong{color:#0f172a;overflow-wrap:normal;text-overflow:ellipsis;white-space:nowrap;word-break:normal;grid-column:1/-1;min-width:0;font-size:.92rem;font-weight:700;line-height:1.28;overflow:hidden}.record-button span{color:#334155;overflow-wrap:normal;text-overflow:ellipsis;white-space:nowrap;word-break:normal;min-width:0;font-size:.82rem;line-height:1.3;overflow:hidden}.record-button small{color:#64748b;overflow-wrap:normal;text-transform:uppercase;white-space:nowrap;word-break:normal;justify-self:end;font-size:.72rem;font-weight:700;line-height:1.2}.record-list-empty{text-align:center;padding:18px 8px}.record-create-modal{gap:12px;display:grid}.record-create-modal .panel-title{padding-right:34px}.patient-picker-list{background:#f8fafc;border:1px solid #e8edf6;border-radius:10px;max-height:320px;overflow-y:auto}.patient-picker-list .empty{text-align:center;padding:16px}.record-button:hover{border-color:#e2e8f0;transform:translateY(-2px);box-shadow:0 6px 24px #00000017}.record-button--active{background:linear-gradient(135deg,#eff6ff 0%,#f8fafc 100%);box-shadow:0 0 0 3px #2563eb14,0 4px 16px #2563eb1a;border-color:#2563eb!important}.record-card-avatar{color:#fff;letter-spacing:.04em;pointer-events:none;background:linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:.75rem;font-weight:700;display:flex}.record-card-body{text-align:left;pointer-events:none;flex-direction:column;gap:2px;min-width:0;display:flex}.record-card-body strong{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;font-weight:600;display:block;overflow:hidden}.record-card-body>span{color:#64748b;white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;overflow:hidden}.record-status-badge{text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;pointer-events:none;border-radius:999px;margin-top:0;padding:3px 9px;font-size:.68rem;font-weight:700;display:inline-block}.record-status-badge.open{color:#15803d;background:#dcfce7}.record-status-badge.closed{color:#64748b;background:#f1f5f9}.toolbar .record-toggle{color:inherit;background:#f1f5f9;border-radius:999px;padding:3px}.record-toggle{cursor:pointer;background:#f1f5f9;border:1.5px solid #e2e8f0;border-radius:999px;flex-shrink:0;align-items:center;gap:0;min-height:36px;padding:3px;display:flex;position:relative}.record-toggle__knob{pointer-events:none;background:#fff;border-radius:999px;width:calc(50% - 3px);height:calc(100% - 6px);transition:transform .32s cubic-bezier(.34,1.56,.64,1);position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0000001f,0 2px 8px #0000000f}.record-toggle--closed .record-toggle__knob{transform:translate(100%)}.record-toggle>span:not(.record-toggle__knob){z-index:1;color:#94a3b8;white-space:nowrap;padding:5px 14px;font-size:.78rem;font-weight:600;transition:color .2s;position:relative}.record-toggle:not(.record-toggle--closed)>span:nth-child(2),.record-toggle--closed>span:nth-child(3){color:#0f172a}.record-button.active{background:#eef8f3;border-color:#0f6b5c}.detail-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.clinical-record{align-content:start;gap:16px;display:grid}.record-shell-header{border-bottom:1px solid #edf2ee;grid-template-columns:minmax(280px,1fr) minmax(280px,.8fr);align-items:start;gap:16px;padding-bottom:16px;display:grid}.record-shell-header span{color:#64756d;font-weight:700}.record-shell-header p{color:#4d6059}.record-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.allergy-banner{background:#fff8f7;border:1px solid #f1c3bb;border-left:5px solid #c94b3d;border-radius:8px;gap:4px;padding:12px;display:grid}.allergy-banner.critical{background:#fff2ef;border-left-width:8px}.allergy-banner.critical strong{color:#9b2518}.allergy-banner.clear{background:#f6fbf8;border-color:#d7e5dc #d7e5dc #d7e5dc #3c8b5f}.closed-record-note{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;padding:10px 14px;font-size:.84rem;font-weight:600}.allergy-inline form{background:#fff8f7;border:1px solid #f1c3bb;border-radius:8px;margin:0;padding:12px}.module-cards{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid}.module-cards button{text-align:left;color:#172126;background:#f8fafb;border:1px solid #dce4e8;border-radius:8px;gap:6px;min-height:104px;padding:12px;display:grid;position:relative}.module-cards button:hover,.module-cards button.active{background:#eef8f3;border-color:#0f6b5c}.module-cards button span{color:#5f6f76;font-size:13px}.module-cards button small{color:#fff;background:#0f6b5c;border-radius:999px;place-items:center;min-width:24px;height:24px;font-weight:800;display:grid;position:absolute;top:10px;right:10px}.module-focus{background:#fff;border:1px solid #dce5df;border-radius:8px;gap:14px;padding:16px;display:grid}.module-header{border-bottom:1px solid #edf2ee;gap:4px;padding-bottom:12px;display:grid}.module-header span{color:#64756d;font-size:13px;font-weight:700}.focus-stack,.focus-grid{gap:12px;display:grid}.focus-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.clinical-section{background:#f8faf8;border:1px solid #dce5df;border-radius:8px;align-self:start;margin:0;padding:12px}.clinical-section.focused{background:#fff;border-color:#cfdcd5}.clinical-section h3{margin-top:0}.vital-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.triage-legacy-fields{grid-template-columns:minmax(260px,1fr) minmax(260px,.85fr);gap:12px;display:grid}.triage-field{gap:8px;display:grid}.triage-field label{color:#4d6059;font-weight:800}.risk-preview{background:#fff;border:1px solid #dce5df;border-left:7px solid #72827c;border-radius:8px;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;min-height:42px;padding:8px 10px;display:grid}.risk-preview span{border:1px solid #12252f2e;border-radius:999px;width:16px;height:16px}.risk-preview small{color:#64756d;font-weight:800}.clinical-history{border-top:1px solid #edf2ee;gap:14px;padding-top:16px;display:grid}.clinical-history section{gap:8px;display:grid}.clinical-history h3{margin:0}.history-block{gap:8px;min-width:0;display:grid}.history-block li{padding-bottom:0}.history-block li button{color:#1e293b;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;gap:3px;width:100%;min-width:0;padding:9px 10px;display:grid}.history-block li button:hover{background:#eff6ff;border-color:#bfdbfe}.history-block li strong{white-space:pre-wrap}.vital-reference,.scale-panel{background:#f8faf8;border:1px solid #dce5df;border-radius:8px;gap:6px;padding:12px;display:grid}.vital-reference span{color:#64756d;font-size:13px;font-weight:700}.vital-actions{flex-wrap:wrap;gap:8px;display:flex}.vital-actions button{color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-height:38px;padding:8px 12px;font-weight:700}.vital-actions button.active,.vital-actions button:hover{color:#fff;background:#2563eb;border-color:#2563eb}.vital-history{border:1px solid #e0e8e3;border-radius:8px;display:grid;overflow:hidden}.vital-history .row{grid-template-columns:1.4fr .8fr .8fr 1fr}.vital-history button.row{color:#1e293b;text-align:left;background:#fff;width:100%}.vital-history button.row:hover{background:#eff6ff}.vital-history .compact-row{border-top:1px solid #e8eee9}.record-read-modal{gap:16px;width:min(680px,100vw - 32px);display:grid}.record-read-head{gap:6px;padding-right:36px;display:grid}.record-read-head span{color:#64748b;text-transform:uppercase;font-size:.78rem;font-weight:800}.record-read-head h2{color:#0f172a;overflow-wrap:anywhere;margin:0;font-size:1.12rem;line-height:1.35}.record-read-head p{color:#475569}.record-read-body{white-space:pre-wrap;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px;line-height:1.55}.record-create{border-bottom:1px solid #edf2ee;gap:10px;margin-bottom:16px;padding-bottom:16px;display:grid}.record-create h2{margin-bottom:0}.metric{background:#fff;border:1px solid #f1f5f9;border-radius:14px;padding:16px;box-shadow:0 1px 3px #0000000a,0 4px 12px #00000008}.metric strong{color:#0f172a;font-size:1.75rem;font-weight:700;line-height:1}.metric span{color:#94a3b8;text-transform:uppercase;letter-spacing:.07em;margin-top:5px;font-size:.7rem;font-weight:600;display:block}.record-detail{flex-direction:column;gap:20px;display:flex}.record-detail-header{border-bottom:1px solid #f1f5f9;align-items:center;gap:16px;padding-bottom:20px;display:flex}.record-detail-avatar{color:#fff;letter-spacing:.04em;background:linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:60px;height:60px;font-size:1.05rem;font-weight:700;display:flex}.record-detail-info h2{color:#0f172a;margin:0 0 3px;font-size:1.2rem;font-weight:700}.record-detail-info>span{color:#94a3b8;font-size:.8rem}.record-section{flex-direction:column;gap:8px;display:flex}.record-section h3{text-transform:uppercase;letter-spacing:.09em;color:#94a3b8;margin:0;font-size:.68rem;font-weight:700}.record-section ul{gap:6px}.record-section-empty{color:#cbd5e1;margin:0;font-size:.8rem}.record-list-item{background:#f8fafc;border:1px solid #f1f5f9;border-radius:10px;padding:10px 14px}.record-list-body{flex-direction:column;gap:2px;display:flex}.record-list-body strong{color:#1e293b;font-size:.875rem;font-weight:500;display:block}.record-list-body small{color:#94a3b8;margin-top:0;font-size:.72rem;display:block}ul{gap:7px;margin:0;padding:0;list-style:none;display:grid}li{border-bottom:1px solid #edf2ee;padding-bottom:7px}.empty{color:#94a3b8}.login-screen{color:#fff;background:linear-gradient(135deg,#1e40af 0%,#2563eb 60%,#3b82f6 100%);grid-template-columns:minmax(280px,.9fr) minmax(320px,420px);min-height:100vh;display:grid}.loading-screen{z-index:9999;background:radial-gradient(80% 60% at 50% 0,#1e3a8a 0%,#0f172a 65%);justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.loading-content{flex-direction:column;align-items:center;gap:36px;animation:.7s cubic-bezier(.22,1,.36,1) both ls-rise;display:flex}@keyframes ls-rise{0%{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}.loading-logo{letter-spacing:.22em;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 40px #60a5fa66);background:linear-gradient(100deg,#93c5fd 0%,#fff 35%,#bfdbfe 55%,#3b82f6 80%,#93c5fd 100%) 0 0/250%;-webkit-background-clip:text;background-clip:text;font-size:76px;font-weight:700;animation:3s linear infinite ls-shimmer}@keyframes ls-shimmer{0%{background-position:0%}to{background-position:250%}}.loading-ring-wrap{width:52px;height:52px;position:relative}.loading-ring{border:1.5px solid #60a5fa;border-color:#60a5fa #6366f18c #ffffff14 #ffffff14;border-radius:50%;width:52px;height:52px;animation:.85s linear infinite ls-spin}@keyframes ls-spin{to{transform:rotate(360deg)}}.loading-ring-glow{background:radial-gradient(circle,#60a5fa2e 0%,#0000 70%);border-radius:50%;animation:2s ease-in-out infinite ls-breathe;position:absolute;inset:-8px}@keyframes ls-breathe{0%,to{opacity:.5;transform:scale(.95)}50%{opacity:1;transform:scale(1.1)}}.loading-label{letter-spacing:.22em;text-transform:uppercase;color:#ffffff59;font-size:.68rem;font-weight:600;animation:2.4s ease-in-out infinite ls-pulse}@keyframes ls-pulse{0%,to{opacity:.35}50%{opacity:.75}}.centered-status{background:#f1f5f9;place-items:center;min-height:100vh;padding:22px;display:grid}.centered-status section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;gap:14px;width:min(620px,100%);padding:24px;display:grid}.centered-status p{color:#64748b}.centered-status button{color:#fff;background:#2563eb;border-radius:7px;width:fit-content;padding:10px 14px}.chooser-list{gap:8px;display:grid}.chooser-list button{text-align:left;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;width:100%}.chooser-list button:hover{border-color:#2563eb}.centered-status .secondary{color:#2563eb;background:0 0;padding-left:0}.login-screen section{align-content:center;gap:12px;padding:8vw;display:grid}.login-screen h1{font-size:42px}.login-screen p{color:#bfdbfe;max-width:520px}form{color:#1e293b;background:#fff;border-radius:8px;align-self:center;gap:13px;margin:24px;padding:22px;display:grid}.inline-form{background:0 0;border-radius:0;grid-template-columns:minmax(260px,520px) auto;align-items:end;margin:0;padding:0}.import-layout{gap:16px;display:grid}.import-panel{gap:12px;display:grid}.import-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.import-progress{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;gap:10px;padding:12px;display:grid}.import-progress.failed{background:#fff7f7;border-color:#fecaca}.progress-head{color:#1e293b;justify-content:space-between;gap:12px;display:flex}.progress-head div{gap:2px;display:grid}.progress-head span{color:#64756d;font-size:13px}.progress-track{background:#e2e8f0;border-radius:999px;height:12px;overflow:hidden}.progress-fill{border-radius:inherit;background:linear-gradient(90deg,#2563eb,#0ea5e9);height:100%;transition:width .25s}.import-progress.failed .progress-fill{background:#c94b3d}.progress-counters{flex-wrap:wrap;gap:8px;display:flex}.progress-counters span{color:#2563eb;background:#eff6ff;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700}.import-table{border:1px solid #e2e8f0;border-radius:8px;display:grid;overflow:hidden}.import-row{border-top:1px solid #e2e8f0;grid-template-columns:80px minmax(220px,1.6fr) minmax(150px,.8fr) 120px minmax(220px,1.6fr);align-items:center;gap:10px;padding:11px 12px;display:grid}.import-row:first-child{border-top:0}.import-row.head{color:#64748b;background:#f1f5ff;font-size:13px;font-weight:700}.import-row.importado{border-left:5px solid #16a34a}.import-row.atualizado{border-left:5px solid #2563eb}.import-row.ignorado{border-left:5px solid #d97b43}.import-row.erro{border-left:5px solid #c94b3d}.schedule-page{gap:14px;display:grid}.schedule-top{justify-content:space-between;align-items:center;gap:16px;display:flex}.schedule-top span{color:#64756d;font-size:13px;font-weight:700}.segmented button{color:#12312f;background:0 0;border-radius:7px;min-height:34px;padding:7px 12px}.segmented button.active{color:#fff;background:#0f6b5c}.schedule-layout{grid-template-columns:minmax(620px,1fr) minmax(260px,.32fr);align-items:start;gap:16px;display:grid}.schedule-form{margin:0}.modal-backdrop{z-index:40;background:#12252f7a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-panel{border:1px solid #dce4e8;width:min(860px,100%);max-height:calc(100vh - 48px);margin:0;position:relative;overflow:auto;box-shadow:0 28px 80px #12252f3d}.modal-close{color:#12312f;background:#f4f6f8;border-radius:7px;width:32px;height:32px;position:absolute;top:12px;right:12px}.schedule-board{min-height:640px}.calendar-grid,.resource-board{gap:12px;display:grid}.calendar-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.resource-board{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:start}.calendar-day,.resource-column{background:#f8faf8;border:1px solid #dce5df;border-radius:8px;align-content:start;gap:10px;min-height:220px;padding:12px;display:grid}.calendar-day-head,.resource-column>span{color:#64756d;font-size:13px}.calendar-day-head{justify-content:space-between;gap:10px;display:flex}.appointment-card{background:#fff;border-left:6px solid #2f7bbd;gap:7px;display:grid}.appointment-card.active,.appointment-card:hover{box-shadow:0 10px 26px #12252f1f}.appointment-card>div:first-child{justify-content:space-between;gap:10px;display:flex}.appointment-card>div:first-child span{color:#4d6059;font-weight:800}.quick-actions{flex-wrap:wrap;gap:8px;display:flex}.quick-actions button,.wait-list-panel button{color:#12312f;background:#eef5f0;border-radius:7px;padding:8px 10px}.wait-list-panel{gap:10px;display:grid;position:sticky;top:16px}.wait-list-panel button{text-align:left;background:#fff;border:1px solid #dce5df}.wait-list-panel span,.wait-list-panel small{margin-top:3px;display:block}.schedule-mini-card{z-index:20;background:#fff;border:1px solid #dce5df;border-radius:8px;gap:10px;width:min(380px,100vw - 32px);padding:16px;display:grid;position:fixed;bottom:24px;right:24px;box-shadow:0 24px 60px #12252f2e}.schedule-mini-card>span{color:#64756d;font-size:13px;font-weight:800}.schedule-mini-card dl{grid-template-columns:1fr 1fr;gap:8px;margin:0;display:grid}.schedule-mini-card dt{color:#64756d;font-size:12px;font-weight:800}.schedule-mini-card dd{margin:0}.mini-close{color:#12312f;background:#f4f6f8;border-radius:7px;place-items:center;width:28px;height:28px;display:grid;position:absolute;top:8px;right:8px}.mini-close.timed{overflow:visible}.mini-close.timed svg{pointer-events:none;width:38px;height:38px;position:absolute;inset:-5px;transform:rotate(-90deg)}.mini-close.timed circle{fill:none;stroke:#0f6b5c;stroke-width:3px;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:0;animation:5s linear forwards close-countdown}.mini-close.timed.paused circle{animation-play-state:paused}.mini-close.timed span{z-index:1;line-height:1;position:relative}@keyframes close-countdown{to{stroke-dashoffset:100px}}form label{color:#64748b;gap:5px;display:grid}.error{color:#9b2518;background:#ffe8e4;border-radius:7px;padding:10px}@media (width<=880px){.app-shell,.login-screen,.split,.patient-layout,.records-workspace,.schedule-layout,.record-shell-header,.focus-grid{grid-template-columns:1fr}.records-sidebar{max-height:none;position:static}.wait-list-panel{position:static}aside{padding:18px}.app-shell{grid-template-columns:1fr}.app-shell>aside{z-index:500;width:260px;height:100%;box-shadow:none;padding:28px 18px;transition:transform .25s cubic-bezier(.4,0,.2,1);position:fixed;top:0;left:0;transform:translate(-100%)}.app-shell.nav-open>aside{transform:translate(0);box-shadow:4px 0 40px #00000038}.nav-overlay{z-index:499;background:#0f172a73;animation:.2s fade-in;position:fixed;inset:0}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.nav-toggle{display:flex}.sidebar-collapsed aside{padding:18px}.sidebar-collapsed .sidebar-top{justify-items:stretch;display:flex}.sidebar-collapsed .brand span,.sidebar-collapsed .nav-label{display:inline}.sidebar-collapsed .brand strong{font-size:30px}.sidebar-collapsed nav button{justify-content:flex-start;padding:12px}.sidebar-collapsed .nav-initial{display:none}nav{grid-template-columns:1fr}main{padding:16px}header{border-radius:14px;flex-wrap:wrap;gap:10px;padding:14px 16px}header>div{flex:1;min-width:0}h1{font-size:20px}.context-select{order:3;width:100%;min-width:0}.session{order:2;gap:8px}.session-info{display:none}.login-screen,.split,.row{grid-template-columns:1fr}.row.head{display:none}.detail-grid,.record-kpis,.vital-grid,.triage-legacy-fields{grid-template-columns:1fr}.dashboard-hero{flex-direction:column}.dashboard-actions{justify-content:flex-start}.schedule-top{flex-direction:column;align-items:flex-start}.metric-grid,.dashboard-grid,.wide-grid,.import-summary,.inline-form,.import-row,.form-grid{grid-template-columns:1fr}.patient-list article{flex-direction:column;align-items:flex-start}.patient-list article button{margin-top:10px}}.schedule-page{flex-direction:column;gap:16px;height:100%;display:flex}.schedule-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.schedule-top.panel{background:#fff;border:1px solid #0f172a0f;border-radius:18px;padding:18px 24px;box-shadow:0 1px 3px #0f172a0a,0 8px 32px #0f172a0f}.schedule-top-info{flex-direction:column;gap:3px;display:flex}.schedule-top-info h2{color:#0f172a;margin:0;font-size:22px;font-weight:750}.schedule-live-badge{color:#16a34a;letter-spacing:.05em;text-transform:uppercase;align-items:center;gap:6px;font-size:.7rem;font-weight:700;display:flex}.live-dot{background:#22c55e;border-radius:50%;flex-shrink:0;width:7px;height:7px;animation:2s ease-in-out infinite pulse-live}@keyframes pulse-live{0%,to{box-shadow:0 0 #22c55e80}50%{box-shadow:0 0 0 5px #22c55e00}}.schedule-sync-time{color:#94a3b8;text-transform:none;letter-spacing:0;font-weight:500}.schedule-top-right{align-items:center;gap:20px;display:flex}.schedule-clock-block{flex-direction:column;align-items:flex-end;gap:1px;display:flex}.clock-time{color:#1e293b;font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:1.55rem;font-weight:700;line-height:1}.clock-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.07em;font-size:.63rem;font-weight:600}.segmented{background:#f1f5f9;border:none;border-radius:12px;gap:2px;padding:3px;display:flex}.segmented button{color:#64748b;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:9px;padding:7px 16px;font-family:inherit;font-size:.8rem;font-weight:500;transition:background .18s,color .18s,box-shadow .18s}.segmented button.active{color:#1e293b;background:#fff;font-weight:600;box-shadow:0 1px 4px #0000001f,0 1px 2px #0000000f}.segmented button:hover:not(.active){color:#1e293b;background:#ffffff80}.schedule-layout{flex:1;grid-template-columns:1fr 280px;gap:16px;min-height:0;display:grid}.schedule-board{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:auto;box-shadow:0 1px 4px #0000000a}.resource-board{min-height:500px;display:flex;overflow-x:auto}.resource-column{border-right:1px solid #e2e8f0;flex:1;min-width:200px;padding:0}.resource-column:last-child{border-right:none}.resource-column>.calendar-day-head{border-bottom:1px solid #e2e8f0}.resource-column-head{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-direction:column;gap:3px;padding:10px 14px;display:flex}.resource-column-head strong{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:.875rem;font-weight:700;overflow:hidden}.resource-column-head span{color:#64748b;font-size:.72rem;font-weight:500}.calendar-grid{gap:0;display:grid}.calendar-day{border-right:1px solid #e2e8f0;min-width:160px}.calendar-day:last-child{border-right:none}.calendar-day-head{color:#1e293b;background:#f1f5ff;justify-content:space-between;align-items:center;gap:8px;padding:10px 14px;display:flex}.calendar-day-head strong{text-transform:uppercase;letter-spacing:.05em;color:#1e293b;font-size:.8rem;font-weight:700}.calendar-day-head span{color:#3730a3;white-space:nowrap;text-transform:none;letter-spacing:0;background:#e0e7ff;border-radius:999px;padding:2px 8px;font-size:.68rem;font-weight:600}.wait-list-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex;overflow:auto;box-shadow:0 1px 4px #0000000a}.wait-list-panel>h2{text-transform:uppercase;letter-spacing:.07em;color:#475569;border-bottom:1px solid #f1f5f9;margin:0;padding-bottom:10px;font-size:.72rem;font-weight:700}.wait-list-panel>.context-note{color:#94a3b8;margin:0;font-size:.78rem}.wait-list-panel .not-found{padding:28px 12px}.wait-list-panel .not-found img{width:120px}.wait-list-panel h4{color:#475569;text-transform:uppercase;letter-spacing:.05em;margin:0 0 4px;font-size:.8rem;font-weight:600}.appointment-card{cursor:pointer;color:#1e293b;background:#f8faff;border:1px solid #dbeafe;border-left:4px solid #2563eb;border-radius:8px;padding:8px 10px;font-size:.82rem;transition:box-shadow .15s,transform .1s}.appointment-card:hover{transform:translateY(-1px);box-shadow:0 3px 10px #2563eb21}.appointment-card.dragging{opacity:.55;transform:scale(.97)}.appointment-card .card-time{color:#64748b;margin-bottom:2px;font-size:.72rem}.appointment-card .card-name{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.appointment-card .card-status{color:#64748b;margin-top:3px;font-size:.7rem}.quick-actions{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.quick-actions button{color:#2563eb;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:5px;padding:3px 8px;font-family:inherit;font-size:.7rem;transition:background .15s,color .15s}.quick-actions button:hover{color:#fff;background:#2563eb;border-color:#2563eb}.schedule-mini-card{color:#1e293b;background:#f8faff;border:1px solid #dbeafe;border-radius:7px;padding:7px 9px;font-size:.8rem;position:relative}.mini-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:0;font-size:.85rem;line-height:1;position:absolute;top:4px;right:6px}.mini-close:hover{color:#ef4444}.edit-page{flex-direction:column;gap:20px;width:100%;display:flex}.edit-page>form{border-radius:16px;width:100%;padding:28px 32px}.edit-page-header{border-bottom:1px solid #f1f5f9;align-items:center;gap:16px;padding-bottom:16px;display:flex}.edit-page-back{color:#64748b;cursor:pointer;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;flex-shrink:0;align-items:center;gap:6px;padding:8px 16px;font-size:.85rem;font-weight:600;transition:color .15s,border-color .15s,background .15s;display:inline-flex}.edit-page-back:hover{color:#0f172a;background:#f1f5f9;border-color:#cbd5e1}.edit-page-header h2{color:#0f172a;margin:0 0 2px;font-size:1.3rem;font-weight:700}.edit-page-header span{color:#94a3b8;font-size:.8rem}.patient-profile-page{max-width:1180px;margin:0 auto}.patient-profile-hero{background:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;gap:24px;padding:24px;display:flex}.patient-profile-identity{align-items:center;gap:18px;min-width:0;display:flex}.patient-profile-photo{color:#fff;object-fit:cover;background:#0f6b5c;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:112px;height:112px;font-size:2rem;font-weight:800;display:flex}.patient-profile-identity h3{color:#0f172a;margin:0;font-size:1.45rem;line-height:1.15}.patient-profile-identity span,.patient-profile-qr span,.patient-record-item small,.patient-profile-list-item small{color:#64748b;font-size:.82rem}.patient-profile-tags{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.patient-profile-tags strong{color:#1e3a8a;background:#eef6ff;border-radius:999px;align-items:center;min-height:30px;padding:6px 10px;font-size:.78rem;display:inline-flex}.patient-profile-qr{flex-shrink:0;justify-items:center;gap:8px;display:grid}.patient-profile-qr img,.patient-profile-qr-placeholder{background:#fff;border:1px solid #e2e8f0;border-radius:8px;width:144px;height:144px}.patient-profile-qr-placeholder{color:#94a3b8;justify-content:center;align-items:center;font-weight:700;display:flex}.patient-profile-actions,.patient-profile-form-actions{align-items:center;gap:10px;display:flex}.patient-profile-actions button,.patient-profile-form-actions button{width:auto;min-width:132px}.patient-profile-actions .ghost,.patient-profile-form-actions .ghost{color:#0f6b5c;background:#fff;border:1px solid #cbd5e1}.patient-profile-details{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.patient-profile-field,.patient-profile-section{background:#fff;border:1px solid #e2e8f0;border-radius:8px}.patient-profile-field{min-width:0;padding:14px}.patient-profile-field span{color:#64748b;text-transform:uppercase;font-size:.76rem;font-weight:700}.patient-profile-field strong{color:#0f172a;overflow-wrap:anywhere;margin-top:6px;font-size:.9rem;display:block}.patient-profile-section{padding:18px}.patient-record-history,.patient-profile-list{gap:10px;display:grid}.patient-record-item,.patient-profile-list-item{background:#fbfdff;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.patient-record-item{justify-content:space-between;align-items:center;gap:12px;display:flex}.patient-record-item div{min-width:0}.patient-record-item button{color:#fff;background:#0f6b5c;border-radius:7px;flex-shrink:0;margin-top:0;padding:8px 12px}.patient-record-item strong,.patient-profile-list-item strong{color:#0f172a;font-size:.92rem;display:block}.patient-record-item span,.patient-profile-list-item span{color:#334155;margin-top:5px;font-size:.82rem}.patient-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.patient-profile-empty{color:#94a3b8;margin:0;font-size:.86rem}.patient-profile-edit-form{padding:22px}.patient-profile-add{gap:14px;display:grid}.patient-profile-record-select{color:#64748b;gap:5px;min-width:220px;font-size:.76rem;font-weight:700;display:grid}.patient-profile-record-select select{min-height:36px}.patient-profile-add-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.patient-profile-add-grid form{background:#fbfdff;border:1px solid #e2e8f0;border-radius:8px;gap:10px;padding:14px;display:grid}.patient-profile-add-grid form strong{color:#0f172a;font-size:.92rem}.patient-profile-add-grid textarea{resize:vertical;min-height:74px}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#00000080;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-panel{background:#fff;border-radius:20px;width:100%;max-width:520px;max-height:90vh;padding:28px;animation:.18s modal-in;position:relative;overflow-y:auto;box-shadow:0 20px 60px #0000002e}@keyframes modal-in{0%{opacity:0;transform:scale(.96)translateY(12px)}to{opacity:1;transform:scale(1)translateY(0)}}.modal-close{cursor:pointer;color:#64748b;background:#f1f5f9;border:none;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;font-size:1.1rem;transition:background .15s,color .15s;display:flex;position:absolute;top:14px;right:16px}.modal-close:hover{color:#ef4444;background:#fee2e2}.modal-panel h3{color:#1e293b;margin:0 0 18px;font-size:1.05rem;font-weight:700}.schedule-form{flex-direction:column;gap:14px;display:flex}.schedule-form label{color:#475569;flex-direction:column;gap:4px;font-size:.82rem;font-weight:600;display:flex}.schedule-form input,.schedule-form select,.schedule-form textarea{color:#1e293b;background:#f8faff;border:1px solid #e2e8f0;border-radius:8px;padding:8px 11px;font-family:inherit;font-size:.85rem;transition:border-color .15s,box-shadow .15s}.schedule-form input:focus,.schedule-form select:focus,.schedule-form textarea:focus{background:#fff;border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1a}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.success-note{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;align-items:center;gap:8px;padding:10px 14px;font-size:.84rem;font-weight:500;display:flex}@media (width<=880px){.schedule-layout,.form-grid{grid-template-columns:1fr}.schedule-top.panel{border-radius:14px;gap:12px;padding:14px 16px}.schedule-top{flex-direction:column;align-items:stretch}.schedule-top-right{justify-content:space-between}.schedule-clock-block{align-items:flex-start}.toolbar{grid-template-columns:1fr 1fr;gap:8px;display:grid}.toolbar select,.toolbar button{width:100%}.toolbar>.date-picker-wrapper,.toolbar>button:last-child{grid-column:span 2}.date-picker-popover{min-width:unset;left:0;right:0}.segmented button{padding:6px 10px;font-size:.75rem}.schedule-board .resource-board{min-height:300px}.modal-panel{border-radius:18px 18px 0 0;align-self:flex-end;max-height:95vh;margin:0;padding:20px}.modal-backdrop{align-items:flex-end;padding:0}}.patient-list{flex-direction:column;gap:8px;display:flex}.cards article{flex-direction:column;gap:0;display:flex}.cards article.patient-card .actions{border-top:1px solid #f1f5f9;gap:6px;padding-top:12px;display:flex}.cards article.patient-card .actions button{flex:1}.patient-list article.patient-card{align-items:center;gap:14px;padding:12px 16px;display:flex}.patient-list article.patient-card .patient-card-header{flex:1;min-width:0;margin-bottom:0}.patient-list article.patient-card .patient-card-info strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.patient-list article.patient-card .actions{flex-shrink:0;gap:6px}.patient-form .form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.edit-page .patient-form .form-grid{grid-template-columns:1fr 1fr 1fr;gap:16px}.patient-form .span-2{grid-column:span 2}.pagination{color:#64748b;justify-content:space-between;align-items:center;padding:10px 0;font-size:.82rem;display:flex}.pagination div{align-items:center;gap:8px;display:flex}.pagination button{color:#2563eb;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:7px;padding:5px 12px;font-family:inherit;font-size:.8rem}.pagination button:disabled{opacity:.4;cursor:default}.pagination strong{color:#1e293b;font-size:.8rem}.not-found{flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:56px 24px;display:flex}.not-found img{opacity:.92;pointer-events:none;-webkit-user-select:none;user-select:none;width:200px}.not-found p{color:#94a3b8;text-align:center;margin:0;font-size:.92rem;font-weight:500}.date-picker-wrapper{position:relative}.date-picker-trigger{color:#1e293b;cursor:pointer;white-space:nowrap;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;align-items:center;gap:7px;min-height:39px;padding:9px 14px;font-size:.875rem;font-weight:600;transition:border-color .15s,box-shadow .15s;display:flex}.date-picker-trigger:hover{border-color:#cbd5e1}.date-picker-trigger:focus-visible{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1a}.date-picker-trigger svg{color:#64748b;flex-shrink:0}.date-picker-popover{z-index:200;background:#fff;border:1px solid #0f172a14;border-radius:16px;min-width:288px;padding:16px;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 4px 6px #0000000a,0 20px 60px #0000001f}.rdp-root{font-family:Space Grotesk,system-ui,sans-serif}.rdp-months{display:flex}.rdp-month{width:100%}.rdp-month_caption{justify-content:space-between;align-items:center;margin-bottom:12px;padding:0 2px;display:flex}.rdp-caption_label{color:#0f172a;text-transform:capitalize;font-size:.875rem;font-weight:700}.rdp-nav{gap:4px;display:flex}.rdp-button_previous,.rdp-button_next{color:#64748b;cursor:pointer;background:0 0;border:1.5px solid #e2e8f0;border-radius:8px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;transition:background .15s,color .15s,border-color .15s;display:flex}.rdp-button_previous:hover,.rdp-button_next:hover{color:#1e293b;background:#f1f5f9;border-color:#cbd5e1}.rdp-chevron{fill:currentColor;width:13px;height:13px}.rdp-weekdays{grid-template-columns:repeat(7,1fr);margin-bottom:4px;display:grid}.rdp-weekday{text-align:center;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;padding:4px 0;font-size:.63rem;font-weight:700}.rdp-weeks{gap:2px;display:grid}.rdp-week{grid-template-columns:repeat(7,1fr);display:grid}.rdp-day{text-align:center}.rdp-day_button{color:#1e293b;cursor:pointer;background:0 0;border:none;border-radius:9px;justify-content:center;align-items:center;width:36px;height:36px;margin:0 auto;font-family:inherit;font-size:.82rem;font-weight:500;transition:background .12s,color .12s;display:flex}.rdp-day_button:hover{background:#f1f5f9}.rdp-today .rdp-day_button{color:#2563eb;background:#eff6ff;font-weight:700}.rdp-selected .rdp-day_button{color:#fff;background:#2563eb;font-weight:700;box-shadow:0 2px 8px #2563eb47}.rdp-outside .rdp-day_button{color:#cbd5e1}.rdp-disabled .rdp-day_button{opacity:.3;cursor:default}.rdp-footer{border-top:1px solid #f1f5f9;justify-content:flex-end;margin-top:12px;padding-top:12px;display:flex}.rdp-footer button{color:#2563eb;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 8px;font-size:.8rem;font-weight:600;transition:background .15s}.rdp-footer button:hover{background:#eff6ff}.responsible-picker{position:relative}.field-picker{min-width:0;position:relative}.picker-list{z-index:50;background:#fff;border:1px solid #e2e8f0;border-radius:8px;max-height:200px;margin-top:4px;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 4px 16px #0000001a}.compact-list button{text-align:left;cursor:pointer;background:0 0;border:none;border-bottom:1px solid #f1f5f9;flex-direction:column;gap:1px;width:100%;padding:8px 12px;display:flex}.compact-list button:last-child{border-bottom:none}.compact-list button:hover{background:#f1f5f9}.compact-list button strong{color:#1e293b;font-size:.82rem}.compact-list button span{color:#64748b;font-size:.72rem}.picker-empty{color:#64748b;padding:9px 12px;font-size:.78rem;display:block}body{background:#f0f4fb}html,body,#root{height:100%}body{overflow:hidden}.app-shell{background:#f0f4fb;height:100dvh;min-height:0;overflow:hidden}.app-shell>aside{height:100dvh;position:sticky;top:0;overflow:hidden}.sidebar-top{height:auto;overflow:visible}aside nav button{border:1px solid #0000;width:100%}.nav-label{padding:0}main{flex-direction:column;height:100%;min-height:0;display:flex;overflow-y:auto}header{z-index:40;flex:none;position:sticky;top:0}header>div{min-width:0}header h1{overflow-wrap:anywhere}.session{padding-left:8px}.toolbar button,.actions button,.patient-form>button,.schedule-form button,.inline-form button,.centered-status button{color:#fff;background:#2563eb;border:1px solid #2563eb;border-radius:8px;min-height:38px;padding:8px 12px;font-weight:700;transition:background .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s}.toolbar button:hover,.actions button:hover,.patient-form>button:hover,.schedule-form button:hover,.inline-form button:hover,.centered-status button:hover{background:#1d4ed8;border-color:#1d4ed8;transform:translateY(-1px);box-shadow:0 8px 20px #2563eb2e}button:disabled,.toolbar button:disabled,.actions button:disabled,form button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;transform:none}input:focus,select:focus,textarea:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1a}.panel,form.panel,.centered-status section{border-color:#0f172a12;box-shadow:0 1px 3px #0f172a0a,0 12px 32px #0f172a0f}.centered-status section{border-radius:14px;padding:28px}.centered-status{height:100dvh;min-height:0;overflow-y:auto}.chooser-list button{color:#1e293b;background:#f8fafc;border-color:#e2e8f0}.chooser-list button:hover{color:#1d4ed8;background:#eff6ff}.centered-status .secondary{color:#2563eb;box-shadow:none;background:0 0;border-color:#0000}.modal-panel{border-radius:14px}.patient-form .form-grid label,.schedule-form label{min-width:0}.patient-list article.patient-card{flex-wrap:wrap}.patient-list article.patient-card .actions{justify-content:flex-end}.schedule-page{flex:auto;height:auto;min-height:0}.schedule-layout,.schedule-board,.wait-list-panel{min-height:0}.segmented button{border:0}.segmented button:hover{box-shadow:none;transform:none}.schedule-form .compact-list button,.schedule-form .compact-list button:hover{min-height:0;color:inherit;box-shadow:none;background:0 0;border:none;border-bottom:1px solid #f1f5f9;border-radius:0;transform:none}.schedule-form .compact-list button:hover{background:#f1f5f9}.weekday-group{flex-wrap:wrap;gap:10px;display:flex}.weekday-group .check{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex:none;min-height:34px;padding:8px 10px}.appointment-detail-modal{gap:18px;width:min(720px,100vw - 32px);display:grid}.appointment-detail-head{padding-right:36px}.appointment-detail-head>span{color:#64748b;margin-bottom:6px;font-size:.82rem;font-weight:700;display:block}.appointment-detail-head h2{color:#0f172a;margin:0;font-size:1.35rem}.appointment-detail-head p{color:#475569;margin:8px 0 0}.appointment-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.appointment-detail-grid div{background:#f8faff;border:1px solid #e2e8f0;border-radius:8px;min-width:0;padding:10px 12px}.appointment-detail-grid dt{color:#64748b;text-transform:uppercase;font-size:.72rem;font-weight:800}.appointment-detail-grid dd{color:#1e293b;overflow-wrap:anywhere;margin:4px 0 0;font-size:.88rem}.appointment-detail-actions{flex-wrap:wrap;gap:8px;display:flex}.appointment-detail-actions button{color:#1e293b;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-height:38px;padding:8px 12px;font-weight:700}.appointment-detail-actions button:hover{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.appointment-detail-actions button.primary{color:#fff;background:#2563eb;border-color:#2563eb}.appointment-detail-actions button:disabled{opacity:.55;cursor:not-allowed}@media (width<=880px){.app-shell>aside{position:fixed;overflow-y:auto}header{position:static}.nav-overlay{border:0;padding:0}.context-select{order:4}.session{margin-left:auto;padding-left:0}.toolbar{grid-template-columns:1fr;display:grid}.toolbar .wide,.toolbar input,.toolbar select,.toolbar button,.date-picker-trigger{width:100%}.modal-panel{width:100%;max-width:none}.edit-page .patient-form .form-grid,.patient-form .form-grid{grid-template-columns:1fr}.patient-profile-hero,.patient-profile-identity,.patient-profile-actions,.patient-profile-form-actions{flex-direction:column;align-items:stretch}.patient-profile-identity{text-align:center;align-items:center}.patient-profile-details,.patient-profile-grid,.patient-profile-add-grid{grid-template-columns:1fr}.patient-profile-actions button,.patient-profile-form-actions button{width:100%}.patient-record-item{flex-direction:column;align-items:stretch}.patient-record-item button{width:100%}.patient-form .span-2{grid-column:auto}.patient-list article.patient-card .actions{width:100%}.queue-layout{grid-template-columns:1fr}.waiting-panel{position:static}}
