@import"https://fonts.googleapis.com/css2?family=Readex+Pro:wght@400;500;600;700&display=swap";@layer components;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}@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;--color-gray-900:oklch(21% .034 264.665);--spacing:.25rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-brand-500:#1678e5;--color-brand-800:#123f73}}@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;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{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.h-30{height:calc(var(--spacing) * 30)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}.capitalize{text-transform:capitalize}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}}:root{--dept-reception:#3b82f6;--dept-er:#ef4444;--dept-internal-medicine:#0ea5a4;--dept-orthopedics:#f59e0b;--dept-cardiology:#6366f1;--dept-general-surgery:#10b981;--dept-lab:#d946ef;--dept-radiology:#06b6d4;--dept-pharmacy:#f97316;--dept-accounting:#64748b;color:var(--color-gray-900);background:radial-gradient(circle at 10% 5%,#1678e52e,#0000 34%),radial-gradient(circle at 90% 10%,#11ba9624,#0000 28%),linear-gradient(#f4f9ff,#edf3f8 46%,#f7fbff)}*{box-sizing:border-box}:root{--font-body:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-arabic:"Readex Pro", "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif}html[lang=ar],html[dir=rtl]{font-family:var(--font-arabic)}html[dir=rtl] body{font-family:var(--font-arabic);direction:rtl}html[dir=rtl] .hp-sidebar{border-left:1px solid #0f4c842e;border-right:none}html[dir=rtl] .hp-chevron-icon,html[dir=rtl] .hp-back-icon{transform:scaleX(-1)}html[dir=rtl] .hp-kpi-bar-label,html[dir=rtl] .hp-kpi-bar-value{text-align:right}html[dir=rtl] .hp-kpi-bar-track{direction:rtl}html[dir=rtl] input,html[dir=rtl] textarea,html[dir=rtl] select{text-align:right}body{min-height:100vh;margin:0;overflow-x:hidden}#root{min-height:100vh}.hp-app{grid-template-columns:248px 1fr;height:100vh;min-height:100vh;transition:grid-template-columns .18s;display:grid;overflow:hidden}.hp-app.hp-app-collapsed{grid-template-columns:88px 1fr}.hp-sidebar{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);-ms-overflow-style:none;scrollbar-width:none;background:linear-gradient(160deg,#ffffffe0,#e7f4ffd1);border-right:1px solid #0f4c842e;height:100vh;padding:1.2rem;transition:padding .18s,border-color .18s;overflow-y:auto}.hp-sidebar::-webkit-scrollbar{width:0;height:0}.hp-app.hp-app-collapsed .hp-sidebar{padding-left:.7rem;padding-right:.7rem}.hp-brand-icon{color:#0f4f8e;background:linear-gradient(145deg,#1678e52e,#11ba9629);border-radius:12px;place-items:center;width:40px;height:40px;font-weight:800;display:grid}.hp-brand-icon-image{object-fit:contain;width:40px;height:40px}.hp-sidebar-toggle{margin-top:0}.hp-brand h1{color:#0f3d69;letter-spacing:.02em;margin:0}.hp-brand-eyebrow{text-transform:uppercase;color:#0f4f8e;letter-spacing:.08em;margin:0;font-size:1rem;font-weight:700}.hp-brand-top-row{justify-content:flex-start;align-items:center;gap:.5rem;width:100%;display:flex}.hp-brand{min-height:42px}.hp-brand-text{color:#355676;margin-top:.6rem;font-size:1rem;line-height:1.4}.hp-nav{flex-direction:column;gap:.6rem;margin-top:1.2rem;display:flex}.hp-sidebar-theme{border-top:1px solid #0f4c8429;justify-content:space-between;align-items:center;gap:.6rem;margin-top:1rem;padding-top:.85rem;display:flex}.hp-sidebar-theme-copy{min-width:0}.hp-sidebar-theme-title{color:#12446e;margin:0;font-size:1rem;font-weight:700}.hp-sidebar-theme-subtitle{color:#466b8b;margin:.1rem 0 0;font-size:1rem}.hp-theme-switch{cursor:pointer;background:#ffffffe0;border:1px solid #0f4c844d;border-radius:999px;align-items:center;width:44px;height:24px;padding:2px;transition:background .14s,border-color .14s;display:inline-flex}.hp-theme-switch-thumb{background:#0f4f8e;border-radius:50%;width:18px;height:18px;transition:transform .14s,background-color .14s;transform:translate(0)}.hp-theme-switch.is-on{background:#1678e52e;border-color:#0f4c846b}.hp-theme-switch.is-on .hp-theme-switch-thumb{background:#1678e5;transform:translate(20px)}html[dir=rtl] .hp-theme-switch.is-on .hp-theme-switch-thumb{transform:translate(-20px)}.hp-nav-link{color:#103d67;border:1px solid #0000;border-radius:.72rem;justify-content:space-between;align-items:center;gap:.7rem;padding:.68rem .72rem;text-decoration:none;transition:all .18s;display:flex}.hp-nav-link-main{align-items:center;gap:.55rem;display:inline-flex}.hp-app.hp-app-collapsed .hp-brand{flex-direction:column;justify-content:center;align-items:center;gap:.55rem;margin-top:.8rem;display:flex}.hp-app.hp-app-collapsed .hp-brand-top-row{justify-content:center}.hp-app.hp-app-collapsed .hp-brand-eyebrow{opacity:0;pointer-events:none;width:0;overflow:hidden}.hp-app.hp-app-collapsed .hp-nav{margin-top:1rem}.hp-app.hp-app-collapsed .hp-nav-group-label{display:none}.hp-app.hp-app-collapsed .hp-nav-group+.hp-nav-group{margin-top:.5rem}.hp-app.hp-app-collapsed .hp-nav-link{justify-content:center;padding:.62rem}.hp-app.hp-app-collapsed .hp-nav-link-main{justify-content:center;width:100%}.hp-app.hp-app-collapsed .hp-nav-link-main span:last-child,.hp-app.hp-app-collapsed .hp-sidebar-theme{display:none}.hp-nav-link:hover{background:#ffffffb8;border-color:#0f4c8440}.hp-nav-link.active{background:linear-gradient(120deg,#1678e51f,#11ba961f);border-color:#0f4c8457}html[data-hp-theme=light]{color:#12395d;background:radial-gradient(circle at 8% 6%,#2a91ff1f,#0000 36%),radial-gradient(circle at 95% 8%,#26bfa217,#0000 30%),linear-gradient(#fbfdff,#f3f8fd 52%,#f9fcff)}html[data-hp-theme=light] .hp-sidebar{background:linear-gradient(160deg,#fffffff5,#f0f8fff0);border-right-color:#0f4c8424}html[dir=rtl][data-hp-theme=light] .hp-sidebar{border-left-color:#0f4c8424}html[data-hp-theme=light] .hp-topbar,html[data-hp-theme=light] .hp-card,html[data-hp-theme=light] .hp-panel,html[data-hp-theme=light] .hp-stat-card,html[data-hp-theme=light] .hp-context-bar{background:#ffffffeb;border-color:#0f4c8424}html[data-hp-theme=light] .hp-nav-link{background:#ffffffb8;border-color:#0f4c8426}.hp-nav-badge{white-space:nowrap;border-radius:999px;padding:.18rem .5rem;font-size:1rem;font-weight:700}.hp-nav-badge-active{color:#106850;background:#088f7029}.hp-nav-badge-placeholder{color:#275173;background:#1049791f}.hp-main{height:100vh;padding:1.2rem;overflow:hidden auto}.hp-topbar{z-index:120;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffffc7;border:1px solid #0f4c8429;border-radius:1rem;justify-content:space-between;align-items:center;gap:1rem;padding:.95rem 1rem;display:flex;position:relative;overflow:visible}.hp-topbar-left{align-items:center;gap:.7rem;display:flex}.hp-topbar-logo{object-fit:contain;width:34px;height:34px}.hp-topbar-logo-with-text{object-fit:contain;width:156px;height:auto;display:block}.hp-topbar h2{color:#143b5f;margin:0;font-size:1.2rem}.hp-topbar-kicker{color:#0f4f8e;text-transform:uppercase;letter-spacing:.07em;margin:0;font-size:1rem;font-weight:700}.hp-page{margin-top:1rem}.hp-page-header{margin-bottom:.9rem}.hp-page-header h1{color:#0f3d69;margin:.12rem 0 .2rem;display:none}.hp-title-with-icon{align-items:center;gap:.45rem;display:inline-flex}.hp-page-header p{color:#2f5a7d;margin:0}.hp-page-header>p:not(.hp-kicker){display:none}.hp-page-header-top{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.hp-kicker{text-transform:uppercase;letter-spacing:.02em;color:#0f4f8e;margin:0 0 .38rem;font-size:1rem;font-weight:700}.hp-kpi-group{margin-top:.8rem}.hp-kpi-group-title{text-transform:uppercase;letter-spacing:.07em;color:#5b7895;margin:0 0 .42rem;font-size:1rem;font-weight:700}.hp-grid{align-items:stretch;gap:.85rem;display:grid}.hp-mt{margin-top:.85rem}.hp-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.hp-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:.8rem}.hp-grid-2{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);margin-top:.8rem}.hp-journey-main-grid{grid-template-columns:minmax(0,1.58fr) minmax(360px,1fr);align-items:start;gap:.75rem}.hp-main-grid{align-items:stretch}.hp-main-grid.hp-journey-main-grid{align-items:start}.hp-main-grid>.hp-card,.hp-main-grid>.hp-column-stack{min-height:0}.hp-card{background:#ffffffdb;border:1px solid #0f4c8429;border-radius:1rem;box-shadow:0 12px 24px #101f3514}.hp-stat-card{grid-template-columns:36px 1fr;gap:.8rem;min-height:100%;padding:.85rem;display:grid}.hp-stat-body{flex-direction:column;min-height:100%;display:flex}.hp-stat-icon{color:#0f4f8e;background:linear-gradient(145deg,#1678e52e,#11ba9629);border-radius:.8rem;place-items:center;width:36px;height:36px;display:grid}.hp-stat-title,.hp-stat-note{margin:0}.hp-stat-title{color:#3f607f;font-size:1rem}.hp-stat-value{color:#0f3d69;margin:.12rem 0;font-size:1.4rem;font-weight:700}.hp-stat-note{color:#4a6682;margin-bottom:0;font-size:1rem}.hp-stat-delta{margin:auto 0 0;font-size:1rem;font-weight:700}.hp-stat-normal .hp-stat-icon,.hp-stat-good .hp-stat-icon{background:linear-gradient(145deg,#1678e52e,#11ba9638)}.hp-stat-warning .hp-stat-icon{color:#9a5a05;background:linear-gradient(145deg,#f59e0b33,#fbbf2433)}.hp-stat-critical .hp-stat-icon{color:#9b1c1c;background:linear-gradient(145deg,#dc26262e,#ef444429)}.hp-stat-delta-normal,.hp-stat-delta-good{color:#107a5f}.hp-stat-delta-warning{color:#9a5a05}.hp-stat-delta-critical{color:#9b1c1c}.hp-panel{padding:.9rem}.hp-dashboard-panel{padding-top:1.15rem;padding-bottom:1.15rem}.hp-dashboard-panel>*+*{margin-top:.7rem}.hp-panel-head{justify-content:space-between;align-items:center;gap:.7rem;margin-bottom:.75rem;display:flex}.hp-panel-foot{border-top:1px solid var(--hp-border,#e2e8f0);justify-content:flex-end;margin-top:.75rem;padding-top:.75rem;display:flex}.hp-mar-cell{border:1px solid var(--hp-border,#e2e8f0);cursor:pointer;background:0 0;border-radius:3px;justify-content:center;align-items:center;width:2rem;height:1.8rem;padding:0;font-size:.75rem;display:flex}.hp-mar-cell:hover{background:#f8fafc;border-color:#94a3b8}.hp-mar-cell-given{color:#16a34a;background:#dcfce7;border-color:#16a34a}.hp-mar-time-header{white-space:nowrap;text-align:center;font-size:.7rem}.hp-panel-head h2:not(.hp-patient-heading){letter-spacing:.06em;text-transform:uppercase;color:#0f4f8e;margin:0;font-size:1.02rem;font-weight:800}.hp-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin-bottom:.75rem;display:grid}.hp-controls-compact{grid-template-columns:1fr auto;align-items:end}.hp-controls-3{grid-template-columns:repeat(3,minmax(0,1fr))}.hp-controls-4{grid-template-columns:repeat(4,minmax(0,1fr))}.hp-inline-actions{align-items:center;gap:.5rem;display:inline-flex}.hp-journey-filters{z-index:4;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem .55rem;margin-top:.45rem;margin-bottom:.6rem;position:relative}.hp-journey-kpi-grid .hp-stat-card{gap:.62rem;padding:.72rem .78rem}.hp-journey-kpi-grid .hp-stat-title,.hp-journey-kpi-grid .hp-stat-note{font-size:1rem}.hp-journey-search-row{grid-column:1/-1}.hp-journey-search-actions{flex-wrap:nowrap;align-items:center;gap:.55rem;width:100%;display:flex}.hp-journey-search-input{flex:auto;min-width:0;max-width:none}.hp-journey-scan-btn{border-radius:.62rem;flex-shrink:0;min-height:36px;box-shadow:0 6px 14px #1678e52e}.hp-routing-transfer-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(116px,auto);align-items:stretch;gap:.45rem;width:100%}@media(max-width:1500px){.hp-routing-transfer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hp-journey-main-grid{grid-template-columns:minmax(0,1.42fr) minmax(330px,1fr)}}@media(max-width:1200px){.hp-journey-main-grid{grid-template-columns:minmax(0,1fr)}.hp-patient-meta-grid{grid-template-columns:max-content minmax(140px,1fr)}}.hp-scan-modal{max-width:440px}.hp-scan-field{color:#3f607f;gap:.32rem;font-size:1rem;display:grid}.hp-scan-field input{font:inherit;color:#143b5f;background:#fff;border:1px solid #0f4c8440;border-radius:.7rem;padding:.55rem .65rem}.hp-scan-modal .hp-modal-actions{margin-top:.6rem}.hp-scan-shell{color:#0f4c84;background:linear-gradient(#f1f8ff,#e8f3ff);border:1px solid #0f4c8433;border-radius:.75rem;justify-content:center;align-items:center;height:118px;margin:.45rem 0 .9rem;display:flex;position:relative;overflow:hidden}.hp-scan-line{background:linear-gradient(90deg,#0000,#1d4ed8,#0000);border-radius:999px;height:2px;animation:1.9s ease-in-out infinite hp-scan-sweep;position:absolute;top:12px;left:18px;right:18px}@keyframes hp-scan-sweep{0%{opacity:.65;transform:translateY(0)}50%{opacity:1;transform:translateY(90px)}to{opacity:.65;transform:translateY(0)}}.hp-inline-select{position:relative}.hp-inline-select-trigger{color:#143b5f;width:100%;font:inherit;cursor:pointer;background:#fff;border:1px solid #0f4c8440;border-radius:.7rem;justify-content:space-between;align-items:center;padding:.55rem .65rem;display:flex}.hp-inline-select.is-open{z-index:40}.hp-inline-select-menu{z-index:30;background:#fff;border:1px solid #0f4c8433;border-radius:.7rem;padding:.25rem;position:absolute;top:calc(100% + 4px);left:0;right:0;box-shadow:0 10px 22px #101f3524}.hp-inline-select-item{text-align:left;color:#143b5f;background:0 0;border:0;border-radius:.5rem;width:100%;padding:.45rem .55rem}html[dir=rtl] .hp-inline-select-trigger{text-align:right;direction:rtl}html[dir=rtl] .hp-inline-select-menu{direction:rtl}html[dir=rtl] .hp-inline-select-item{text-align:right}html[dir=rtl] .hp-journey-page .hp-filter-field,html[dir=rtl] .hp-journey-page .hp-filter-field-label,html[dir=rtl] .hp-journey-page .hp-inline-select-trigger,html[dir=rtl] .hp-journey-page .hp-inline-select-item,html[dir=rtl] .hp-journey-page .hp-controls input,html[dir=rtl] .hp-journey-page .hp-controls select,html[dir=rtl] .hp-journey-page .hp-search-input-wrap input[type=search],html[dir=rtl] .hp-journey-page .hp-patient-meta-grid .hp-patient-meta-item strong,html[dir=rtl] .hp-journey-page .hp-patient-meta-grid .hp-patient-meta-item span,html[dir=rtl] .hp-journey-page .hp-patient-dept-pill-top,html[dir=rtl] .hp-journey-page .hp-patient-dept-pill-sub,html[dir=rtl] .hp-journey-page .hp-btn{font-size:1rem}.hp-inline-select-item:hover,.hp-inline-select-item.is-active{background:linear-gradient(120deg,#1678e51a,#11ba961a)}.hp-ops-search-controls{grid-template-columns:minmax(0,1fr)}.hp-ops-search-controls label{width:100%}.hp-controls label,.hp-form label,.hp-inline-filter{color:#3f607f;gap:.28rem;font-size:1rem;display:grid}.hp-controls input,.hp-controls select,.hp-controls textarea,.hp-inline-filter input,.hp-inline-filter select,.hp-form input,.hp-form select,.hp-form textarea{font:inherit;color:#143b5f;background:#fff;border:1px solid #0f4c8440;border-radius:.7rem;padding:.55rem .65rem}.hp-controls select,.hp-inline-filter select,.hp-form select{appearance:none;color-scheme:light;box-shadow:none;background-image:linear-gradient(45deg,#0000 50%,#5c7c9a 50%),linear-gradient(135deg,#5c7c9a 50%,#0000 50%);background-position:calc(100% - 16px) calc(50% - 2px),calc(100% - 11px) calc(50% - 2px);background-repeat:no-repeat;background-size:5px 5px,5px 5px;border:1px solid #0f4c8440;border-radius:.7rem;outline:none;padding-right:2rem}.hp-controls select::-ms-expand{display:none}.hp-inline-filter select::-ms-expand{display:none}.hp-form select::-ms-expand{display:none}.hp-controls select:focus,.hp-inline-filter select:focus,.hp-form select:focus,.hp-controls select:focus-visible,.hp-inline-filter select:focus-visible,.hp-form select:focus-visible{box-shadow:none;border-color:#1678e5;outline:none}html[dir=rtl] .hp-controls select,html[dir=rtl] .hp-inline-filter select,html[dir=rtl] .hp-form select{background-position:16px calc(50% - 2px),11px calc(50% - 2px);padding-left:2rem;padding-right:.65rem}.hp-controls select option,.hp-inline-filter select option,.hp-form select option{color:#143b5f;background:#fff;border:0}.hp-checkbox-label{align-items:center;gap:.5rem;display:inline-flex!important}.hp-checkbox-label input[type=checkbox]{width:1.15rem;height:1.15rem;margin:0}.hp-journey-filters select,.hp-journey-filters select option{color:#143b5f!important;background:#fff!important}.hp-controls input:focus,.hp-controls select:focus,.hp-controls textarea:focus,.hp-form input:focus,.hp-form textarea:focus{border-color:#1678e5;outline:2px solid #1678e53b}.hp-patient-list{z-index:1;gap:.55rem;max-height:68vh;padding-right:.25rem;display:grid;position:relative;overflow:auto}.hp-journey-patients-panel{grid-template-rows:auto auto minmax(280px,1fr);height:100%;display:grid;position:relative}.hp-journey-panel-head{margin-bottom:.35rem}.hp-journey-toolbar-actions{flex-wrap:wrap;gap:.42rem}.hp-journey-patients-panel .hp-patient-list{align-content:start;height:0;min-height:620px;overflow:auto}.hp-patient-row{background:#ffffffc2;border:1px solid #0f4c8429;border-radius:.72rem;justify-content:space-between;gap:.45rem;padding:.55rem .58rem;display:flex}.hp-patient-row.hp-patient-card-wide{justify-content:initial;align-content:start;gap:.85rem;padding-top:.75rem;padding-bottom:.85rem;display:grid}.hp-patient-row.is-selected{background:linear-gradient(120deg,#1678e51a,#11ba961c);border-color:#10927373}.hp-patient-name{color:#0f3d69;margin:0;font-weight:600}.hp-patient-heading{flex-wrap:nowrap;align-items:center;gap:.45rem;min-width:0;margin:0;display:inline-flex}.hp-patient-name-text{white-space:normal;word-break:break-word;font-weight:700}.hp-patient-name-action{align-items:center;gap:.45rem;min-width:0;display:inline-flex}.hp-patient-head{justify-content:space-between;align-items:center;gap:.5rem}.hp-patient-status{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.4rem;display:inline-flex}.hp-patient-head .hp-patient-heading{align-self:center}.hp-gender-badge{border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;width:26px;height:26px;display:inline-flex}.hp-gender-badge svg{width:16px;height:16px}.hp-gender-badge.is-male{color:#0f4f8e;background:#1678e529;border-color:#0f4c8442}.hp-gender-badge.is-female{color:#a11f65;background:#e651a424;border-color:#a11f6547}.hp-triage-selector{flex-wrap:wrap;gap:.4rem;margin-top:.35rem;display:flex}.hp-triage-chip{cursor:pointer;font:inherit;background:#fff9;border:1px solid;border-radius:999px;align-items:center;gap:.35rem;padding:.3rem .55rem;font-size:1rem;font-weight:600;line-height:1;transition:transform 80ms,box-shadow .12s,background .12s;display:inline-flex}.hp-triage-chip:hover{transform:translateY(-1px)}.hp-triage-chip.is-active{background:currentColor;box-shadow:0 1px 4px #0000002e}.hp-triage-chip.is-active .hp-triage-chip-num,.hp-triage-chip.is-active .hp-triage-chip-label{color:#fff}.hp-triage-chip.is-static{cursor:default;padding:.15rem .45rem;font-size:1rem}.hp-triage-chip.is-static:hover{transform:none}.hp-triage-chip-num{background:#00000014;border-radius:999px;justify-content:center;align-items:center;min-width:1.1rem;height:1.1rem;font-weight:700;display:inline-flex}.hp-triage-chip-label{letter-spacing:.02em}.hp-triage-l1{color:#c0202c}.hp-triage-l2{color:#d65818}.hp-triage-l3{color:#b58300}.hp-triage-l4{color:#2f7a3d}.hp-triage-l5{color:#2452a4}.hp-er-intake{background:#c0202c0a;border:1px solid #c0202c38;border-radius:10px;grid-column:1/-1;margin:0;padding:.6rem .85rem .85rem}.hp-er-intake>legend{color:#8a1822;padding:0 .4rem;font-size:1rem;font-weight:600}.hp-er-intake>label,.hp-er-intake>.hp-form-field{margin-top:.55rem;display:block}.hp-form-label{color:#2c3e50;font-size:1rem;display:block}.hp-form-sectioned{flex-direction:column;gap:.7rem;display:flex}.hp-form-section{background:linear-gradient(#fffc,#edf7ff99);border:1px solid #0f4c8429;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem .85rem;margin:0;padding:.7rem .95rem .85rem;display:grid;box-shadow:0 1px #0f4c840a}.hp-form-section>legend{letter-spacing:.02em;text-transform:uppercase;color:#0f4f8e;background:#fff;border:1px solid #0f4c842e;border-radius:999px;padding:.1rem .55rem;font-size:1rem;font-weight:700}.hp-form-section-legend{align-items:center;gap:.35rem;display:inline-flex}.hp-form-section-legend svg{flex:none}.hp-form-section>label,.hp-form-section>.hp-form-field{display:block}.hp-form-fullrow{grid-column:1/-1;display:block}@media(max-width:720px){.hp-form-section{grid-template-columns:1fr}}.hp-gender-selector{gap:.35rem;margin-top:.3rem;display:inline-flex}.hp-gender-pick{cursor:pointer;font:inherit;background:#fff9;border:1px solid;border-radius:999px;align-items:center;gap:.35rem;padding:.32rem .65rem;font-size:1rem;font-weight:600;line-height:1;display:inline-flex}.hp-gender-pick.is-male{color:#0f4f8e}.hp-gender-pick.is-female{color:#a11f65}.hp-gender-pick.is-active{color:#fff;background:currentColor}.hp-gender-pick.is-active.is-male{background:#1678e5}.hp-gender-pick.is-active.is-female{background:#e651a4}.hp-patient-subtitle{color:#446684;margin:.12rem 0 0;font-size:1rem}.hp-patient-queue-indicator{flex-wrap:wrap;align-items:center;gap:.35rem;display:inline-flex}.hp-patient-queue-icon{color:#1f5d8c;background:#1678e51a;border:1px solid #0f4c8438;border-radius:999px;justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.hp-patient-queue-icon.is-outside{color:#475569;background:#64748b24}.hp-patient-actions{align-content:center;justify-items:end;gap:.32rem;display:grid}.hp-pill{border-radius:999px;align-items:center;padding:.22rem .52rem;font-size:1rem;font-weight:700;display:inline-flex}.hp-pill-registered,.hp-pill-triage,.hp-pill-waiting_or{color:#8d5705;background:#f7970924}.hp-pill-in_room,.hp-pill-pharmacy,.hp-pill-lab_scan{color:#0f6b48;background:#12b76a24}.hp-pill-discharged{color:#3f4f5f;background:#62748826}.hp-pill-stale{color:#516070;background:#6274881f}.hp-patient-dept-pill{background:linear-gradient(130deg,#1678e51a,#11ba961a);border:1px solid #0f4c844d;border-radius:.58rem;align-content:center;justify-items:start;gap:.12rem;min-width:118px;max-width:156px;padding:.3rem .46rem;line-height:1.15;display:inline-grid;box-shadow:inset 0 0 0 1px #ffffff73}.hp-patient-dept-pill-top{color:#1f4c72;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:.24rem;width:100%;font-size:1rem;font-weight:700;display:grid}.hp-patient-dept-pill-top>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hp-patient-dept-pill-sub{color:#4c6a88;white-space:nowrap;font-size:1rem;font-weight:600}.hp-btn{font:inherit;border:1px solid #0000;border-radius:.7rem;align-items:center;gap:.4rem;padding:.5rem .7rem;font-size:1rem;font-weight:600;display:inline-flex}.hp-btn:disabled{opacity:.55;cursor:not-allowed}.hp-btn-primary{color:#fff;background:linear-gradient(130deg,#1678e5,#11ba96)}.hp-btn-ghost{color:#1f4c72;background:#fff;border-color:#0f4c843d}.hp-btn-danger{color:#fff;background:linear-gradient(130deg,#c0202c,#e05252);border-color:#0000}.hp-btn-danger:hover:not(:disabled){background:linear-gradient(130deg,#a81a26,#cb3d3d)}.hp-column-stack{gap:.8rem;display:grid}.hp-journey-routing-column{height:auto}.hp-journey-routing-panel{grid-template-rows:auto auto;height:auto;display:grid}.hp-journey-routing-body{flex-direction:column;gap:.55rem;min-height:0;display:flex}.hp-patient-card{align-content:start;gap:.8rem;height:100%;display:grid}.hp-patient-card .hp-panel-head{padding-bottom:.16rem;position:relative}.hp-patient-card .hp-panel-head:after{content:none}.hp-patient-card-wide .hp-panel-head{align-items:flex-start;margin-bottom:.08rem}.hp-details-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:.34rem .9rem;display:grid}@media(min-width:980px){.hp-patient-card-wide .hp-btn:not(.hp-patient-open-btn){width:100%}}.hp-patient-meta-grid{background:linear-gradient(#f5fbffeb,#ecf6ffe0);border:1px solid #0f4c841f;border-radius:.72rem;align-items:baseline;row-gap:.36rem;margin-top:0;padding:.58rem .68rem;display:grid;box-shadow:inset 0 1px #ffffffb8,0 4px 10px #0f4c840f}.hp-patient-meta-item{margin:0;display:contents}.hp-patient-meta-grid .hp-patient-meta-item strong,.hp-patient-meta-grid .hp-patient-meta-item span{color:#2b587d;min-width:0;font-size:1rem;line-height:1.3}.hp-patient-meta-grid .hp-patient-meta-item strong{color:#1e5078;white-space:nowrap;text-align:left;font-weight:700}.hp-patient-meta-grid .hp-patient-meta-item span{text-align:left}html[dir=rtl] .hp-patient-meta-grid .hp-patient-meta-item strong,html[dir=rtl] .hp-patient-meta-grid .hp-patient-meta-item span{text-align:right}.hp-value-ltr{text-align:left;direction:ltr;unicode-bidi:isolate}.hp-patient-meta-grid-compact{grid-template-columns:max-content minmax(0,1fr);column-gap:1.2rem}.hp-patient-meta-grid-normal{grid-template-columns:max-content minmax(0,1fr) max-content minmax(0,1fr);column-gap:1.4rem}@media(max-width:1200px){.hp-patient-meta-grid-compact,.hp-patient-meta-grid-normal{grid-template-columns:max-content minmax(0,1fr)}}.hp-patient-open-btn{border-color:#0f4c8447;flex-shrink:0;align-items:center;gap:.3rem;width:fit-content;min-height:24px;padding:.25rem .5rem;font-size:1rem;transition:transform .14s,box-shadow .16s,filter .16s;display:inline-flex;box-shadow:0 2px 6px #0f4c841f}.hp-patient-open-btn:hover{filter:saturate(1.06);transform:translateY(-1px);box-shadow:0 8px 16px #0f4c842e}.hp-patient-open-btn:active{transform:translateY(0);box-shadow:0 2px 6px #0f4c8424}.hp-doctor-card{grid-template-rows:auto 1fr auto;gap:.8rem;height:100%;display:grid}.hp-doctor-card-details{align-content:start;display:grid}.hp-doctor-card-cta{margin-top:0}.hp-inline-row{align-items:center;gap:.8rem;display:flex}.hp-stack-list{gap:.6rem;display:grid}.hp-kpi-chart{gap:.5rem;display:grid}.hp-kpi-bar-row{grid-template-columns:130px minmax(0,1fr) 88px;align-items:center;gap:.45rem;display:grid}.hp-kpi-bar-label{color:#355c7e;font-size:1rem}.hp-kpi-bar-track{background:#0f4c841a;border-radius:999px;height:10px;overflow:hidden}.hp-kpi-bar-fill{background:linear-gradient(130deg,#1678e5,#11ba96);border-radius:999px;height:100%}.hp-kpi-bar-fill-alt{background:linear-gradient(130deg,#0f4f8e,#1678e5)}.hp-kpi-bar-fill-warning{background:linear-gradient(130deg,#d97706,#f59e0b)}.hp-kpi-bar-fill-critical{background:linear-gradient(130deg,#b91c1c,#ef4444)}.hp-kpi-bar-value{color:#1f4c72;text-align:right;font-size:1rem;font-weight:700}.hp-directory-controls{margin-bottom:.75rem}.hp-chart-insight{color:#3a6183;margin-top:.45rem;font-weight:600}.hp-chart-insight-center{text-align:center;margin-top:.24rem}.hp-chart-focus{justify-content:center;align-items:center;gap:.45rem;margin-top:.72rem;margin-bottom:.42rem;display:flex}.hp-chart-focus-line{background:linear-gradient(90deg,#0f4c842e,#0f4c8452,#0f4c842e);width:36%;max-width:120px;height:1px}.hp-chart-focus-arrow{color:#0f4f8e;font-size:1rem;line-height:1;animation:1.1s ease-in-out infinite hpArrowPulse}@keyframes hpArrowPulse{0%,to{opacity:.65;transform:translateY(-1px)}50%{opacity:1;transform:translateY(2px)}}.hp-insight-chips{flex-wrap:wrap;gap:.38rem;margin-top:.5rem;display:flex}.hp-insight-chip{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;padding:.13rem .46rem;font-size:1rem;font-weight:600;display:inline-flex}.hp-insight-neutral{color:#355c7e;background:#0f4c841a;border-color:#0f4c842e}.hp-insight-info{color:#0f4f8e;background:#1678e51f;border-color:#1678e53d}.hp-insight-good{color:#0f6b48;background:#11ba9624;border-color:#11ba9642}.hp-insight-warning{color:#9a5a05;background:#f59e0b26;border-color:#d9770647}.hp-insight-critical{color:#a12a2a;background:#dc26261a;border-color:#dc26262e}.hp-alert-row{background:#ffffffb8;border:1px solid #0f4c8424;border-radius:.76rem;justify-content:space-between;align-items:center;gap:.8rem;padding:.62rem;display:flex}.hp-alert-badge{border-radius:999px;padding:.15rem .42rem;font-size:1rem;font-weight:700}.hp-alert-critical{color:#991b1b;background:#dc262626}.hp-alert-warning{color:#92400e;background:#d9770629}.hp-alert-info{color:#0f4f8e;background:#1678e524}.hp-alert-module{color:#355c7e;margin-left:.4rem;font-weight:700}.hp-link-card{color:inherit;height:100%;text-decoration:none;display:block}.hp-link-card>.hp-card,.hp-grid>.hp-card,.hp-grid>.hp-link-card{height:100%}.hp-dashboard-updated,.hp-dashboard-note{color:#4a6682}.hp-capacity-donut-wrap{flex-wrap:wrap;align-items:center;gap:.8rem;margin:.6rem 0 .8rem;display:flex}.hp-capacity-donut{border-radius:50%;place-items:center;width:112px;height:112px;display:grid}.hp-capacity-donut-inner{color:#143b5f;background:#fff;border:1px solid #0f4c8429;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:76px;height:76px;font-size:1rem;display:flex}.hp-capacity-donut-inner strong{font-size:1rem}.hp-capacity-legend p{color:#355c7e;margin:.16rem 0;font-size:1rem}.hp-legend-dot{border-radius:999px;width:9px;height:9px;margin-right:.35rem;display:inline-block}.hp-legend-occupied{background:#1678e5}.hp-legend-available{background:#11ba96}.hp-legend-cleaning{background:#f59e0b}.hp-legend-maintenance{background:#ef4444}.hp-trend-legend{color:#3f607f;gap:.75rem;margin-bottom:.45rem;font-size:1rem;display:flex}.hp-trend-dot{border-radius:999px;width:8px;height:8px;margin-right:.28rem;display:inline-block}.hp-trend-dot-queue{background:#1678e5}.hp-trend-dot-breach{background:#d97706}.hp-trend-chart{background:linear-gradient(#1678e50a,#fff9);border:1px solid #0f4c8424;border-radius:.72rem;padding:.45rem .55rem}.hp-trend-lines{width:100%;height:74px;display:block}.hp-trend-line{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.hp-trend-line-queue{stroke:#1678e5}.hp-trend-line-breach{stroke:#d97706;stroke-width:2px;opacity:.9}.hp-trend-grid{justify-content:space-between;align-items:center;gap:.45rem;margin-top:.3rem;display:flex}.hp-trend-col{justify-items:center;gap:.15rem;display:grid}.hp-trend-time{color:#537293;font-size:1rem}.hp-trend-meta{color:#456788;font-size:1rem}.hp-list-row{background:#ffffffa8;border:1px solid #0f4c8424;border-radius:.7rem;padding:.62rem}.hp-list-row p{color:#355c7e;margin:0;font-size:1rem}.hp-routing-row,.hp-lab-row,.hp-inventory-row,.hp-invoice-row{background:#ffffffb8;border:1px solid #0f4c8429;border-radius:.76rem;justify-content:space-between;gap:.8rem;padding:.7rem;display:flex}.hp-invoice-row-link{color:inherit;cursor:pointer;text-decoration:none;transition:box-shadow .15s,transform .12s}.hp-invoice-row-link:hover{transform:translateY(-1px);box-shadow:0 3px 14px #0f4c842e}.hp-inv-back-row{margin-bottom:.5rem}.hp-inv-back-btn{gap:.3rem;font-size:.82rem}.hp-inv-title-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.hp-inv-invoice-id{color:#1b3d5c;margin:.15rem 0 .2rem;font-size:1.45rem;font-weight:700}.hp-inv-patient-line{color:#355c7e;margin:0;font-size:.93rem}.hp-inv-patient-id{opacity:.65}.hp-inv-header-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.hp-inv-meta-row{color:#4a6b85;flex-wrap:wrap;align-items:center;gap:.55rem;margin-top:.55rem;font-size:.85rem;display:flex}.hp-inv-meta-sep{opacity:.4}.hp-inv-meta-edit-due{align-items:center;gap:.3rem;font-size:.85rem;display:flex}.hp-inv-meta-date-input{color:#1b3d5c;background:#fff;border:1px solid #0f4c8447;border-radius:.45rem;padding:.22rem .42rem;font-size:.83rem}.hp-inv-status-pill{letter-spacing:.02em;border-radius:99px;align-items:center;padding:.22rem .72rem;font-size:.75rem;font-weight:600;display:inline-flex}.hp-inv-status-draft{color:#4a6b85;background:#e9eef4}.hp-inv-status-issued{color:#1e4f91;background:#dbeafe}.hp-inv-status-partial{color:#78530a;background:#fef9c3}.hp-inv-status-paid{color:#166534;background:#dcfce7}.hp-inv-status-overdue{color:#991b1b;background:#fee2e2}.hp-inv-edit-meta-bar{margin-bottom:1rem;padding:.9rem 1rem}.hp-inv-notes-edit-row{margin-top:.5rem}.hp-inv-sections{gap:.75rem;display:grid}.hp-inv-section{padding:0;overflow:hidden}.hp-inv-section-header{border-bottom:1px solid #0f4c841a;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.7rem 1rem;display:flex}.hp-inv-section-title{color:#1b3d5c;align-items:center;gap:.5rem;font-size:.92rem;font-weight:600;display:flex}.hp-inv-section-icon{font-size:1.05rem}.hp-inv-case-chip{color:#1e4f91;background:#dbeafe;border-radius:99px;padding:.1rem .5rem;font-size:.73rem}.hp-inv-section-meta{align-items:center;gap:.6rem;display:flex}.hp-inv-section-subtotal{color:#4a6b85;font-size:.83rem;font-weight:500}.hp-inv-section-actions{align-items:center;gap:.3rem;display:flex}.hp-inv-add-line-btn{gap:.25rem;padding:.22rem .6rem;font-size:.78rem}.hp-inv-remove-section-btn{color:#b91c1c;cursor:pointer;background:0 0;border:none;border-radius:.35rem;padding:.25rem .35rem;line-height:1;transition:background .12s}.hp-inv-remove-section-btn:hover{background:#fee2e2}.hp-inv-table{border-collapse:collapse;width:100%;font-size:.84rem}.hp-inv-table thead th{text-align:left;text-transform:uppercase;letter-spacing:.04em;color:#6b90a8;background:#0f4c840a;border-bottom:1px solid #0f4c8414;padding:.45rem .75rem;font-size:.75rem;font-weight:600}.hp-inv-table tbody tr:not(:last-child) td{border-bottom:1px solid #0f4c8412}.hp-inv-col-num{text-align:right;white-space:nowrap;min-width:5.5rem}.hp-inv-col-cat{white-space:nowrap}.hp-inv-col-action{text-align:center;width:2.5rem}.hp-inv-line-row td{vertical-align:middle;color:#1b3d5c;padding:.55rem .75rem}.hp-inv-line-total{color:#1b3d5c;font-weight:600}.hp-inv-cat-badge{color:#355c7e;background:#0f4c8414;border-radius:99px;padding:.12rem .5rem;font-size:.73rem;font-weight:500;display:inline-block}.hp-inv-empty-row{text-align:center;color:#8aacbf;padding:.8rem 0;font-size:.82rem}.hp-inv-remove-line-btn{color:#b91c1c;cursor:pointer;background:0 0;border:none;border-radius:.35rem;padding:.22rem .35rem;line-height:1;transition:background .12s}.hp-inv-remove-line-btn:hover{background:#fee2e2}.hp-inv-line-row-edit td{padding:.35rem .5rem}.hp-inv-inline-input{color:#1b3d5c;box-sizing:border-box;background:#fff;border:1px solid #0f4c843d;border-radius:.4rem;width:100%;padding:.26rem .4rem;font-size:.82rem}.hp-inv-inline-input:focus{outline-offset:1px;outline:2px solid #0f4c8459}.hp-inv-inline-input-desc{min-width:12rem}.hp-inv-inline-input-num{text-align:right;max-width:5.5rem}.hp-inv-inline-select{color:#1b3d5c;cursor:pointer;background:#fff;border:1px solid #0f4c843d;border-radius:.4rem;padding:.26rem .4rem;font-size:.82rem}.hp-inv-add-row td{background:#dbeafe2e}.hp-inv-confirm-add-btn{min-width:unset;padding:.22rem .38rem;line-height:1}.hp-inv-add-section-card{box-shadow:none;background:0 0;border:2px dashed #0f4c8438;padding:.7rem 1rem}.hp-inv-add-section-btn{color:#3b7bb5;justify-content:center;gap:.3rem;width:100%;font-size:.85rem}.hp-inv-new-section-form{gap:.65rem;display:grid}.hp-inv-new-section-actions{gap:.5rem;display:flex}.hp-inv-notes-card{padding:.75rem 1rem}.hp-inv-notes-label{text-transform:uppercase;letter-spacing:.05em;color:#6b90a8;margin:0 0 .35rem;font-size:.75rem;font-weight:600}.hp-inv-notes-text{color:#355c7e;white-space:pre-line;margin:0;font-size:.88rem}.hp-inv-totals-card{background:#0f4c840d;border:1px solid #0f4c8424;padding:1rem 1.2rem}.hp-inv-totals-grid{grid-template-columns:1fr auto;gap:.35rem 1.5rem;max-width:26rem;margin-left:auto;display:grid}.hp-inv-totals-label{color:#4a6b85;align-items:center;font-size:.88rem;display:flex}.hp-inv-totals-value{color:#1b3d5c;text-align:right;font-size:.88rem;font-weight:600}.hp-inv-totals-deduction{color:#6b90a8;font-weight:400}.hp-inv-totals-due .hp-inv-totals-label,.hp-inv-totals-due{color:#1b3d5c;font-size:.95rem}.hp-inv-totals-paid{color:#166534}.hp-inv-totals-balance{border-top:1px solid #0f4c8429;padding-top:.4rem;font-size:1rem}.hp-inv-totals-balance.is-owing{color:#991b1b;font-weight:700}.hp-inv-totals-balance.is-clear{color:#166534;font-weight:700}.hp-profile-links{margin-top:.8rem}.hp-select-inline{color:#1f4c72;background:#fff;border:1px solid #0f4c843d;border-radius:.66rem;padding:.42rem .52rem}.hp-details{gap:.35rem;display:grid}.hp-details p{color:#355c7e;margin:0;font-size:1rem}.hp-details h4{text-transform:uppercase;letter-spacing:.04em;color:#1b4d77;margin:.9rem 0 .4rem;font-size:1rem}.hp-detail-table{border-collapse:collapse;width:100%;font-size:1rem}.hp-detail-table th{text-align:left;color:#1b4d77;border-bottom:1px solid #0f4c842e;padding:.3rem .5rem .3rem 0}.hp-detail-table th.hp-tr{text-align:right}.hp-detail-table td{color:#355c7e;border-bottom:1px solid #0f4c8414;padding:.3rem .5rem .3rem 0}.hp-detail-table td.hp-tr{text-align:right}.hp-detail-table td.hp-tc{text-align:center}.hp-detail-table tfoot td{border-top:1px solid #0f4c8438;border-bottom:none;padding-top:.45rem}.hp-detail-pre{white-space:pre-wrap;color:#355c7e;background:#0f4c840a;border:1px solid #0f4c841a;border-radius:.5rem;margin-top:.8rem;padding:.6rem .75rem;font-size:1rem}.hp-kv-list{gap:.34rem;display:grid}.hp-kv-row{border-bottom:1px dashed #0f4c841f;grid-template-columns:148px 1fr;align-items:baseline;gap:.6rem;padding:.2rem 0;display:grid}.hp-kv-row:last-child{border-bottom:none}.hp-kv-label{color:#5a7794;font-size:1rem;font-weight:600}.hp-kv-value{color:#254f72;font-size:1rem;font-weight:600}.hp-small{color:#426888;margin:0;font-size:1rem}.hp-qr-preview{border:1px dashed #0f4c8442;border-radius:.75rem;justify-items:start;gap:.45rem;margin-top:.65rem;padding:.65rem;display:grid}.hp-qr-preview code{color:#1e4d76;font-size:1rem}.hp-empty{color:#507190;margin:0;font-size:1rem}.hp-chip{text-transform:uppercase;letter-spacing:.04em;color:#0f6b48;background:#12b76a24;border-radius:999px;align-items:center;padding:.18rem .55rem;font-size:1rem;font-weight:700;display:inline-flex}.hp-placeholder-card{padding:.95rem}.hp-placeholder-card h3{color:#143b5f;margin:.5rem 0 .3rem}.hp-placeholder-card p{color:#3f607f;margin:0;font-size:1rem}.hp-placeholder-roadmap{margin-top:.8rem;padding:.95rem}.hp-placeholder-roadmap h2{color:#143b5f;margin:0 0 .65rem;font-size:1rem}.hp-inline-tags{flex-wrap:wrap;gap:.5rem;display:flex}.hp-section-head{justify-content:space-between;align-items:center;width:100%;display:flex}.hp-list-row-container{justify-content:space-between;align-items:center;display:flex}.hp-list-row-content{flex:1}.hp-list-row-actions{gap:.5rem;margin-left:.75rem;display:flex}.hp-row-chips{margin-top:.3rem}.hp-row-meta{margin-top:.35rem}.hp-tag{color:#2b597f;background:#ffffffb3;border:1px solid #0f4c8433;border-radius:999px;padding:.27rem .58rem;font-size:1rem}.hp-modal-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:200;background:#0613246b;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.hp-modal{background:#f9fdff;border:1px solid #0f4c8438;border-radius:1rem;flex-direction:column;width:min(550px,100%);max-height:calc(100vh - 2rem);padding:1rem;display:flex}.hp-modal-wide{width:min(880px,100%);padding:1.1rem 1.25rem 1.15rem;box-shadow:0 24px 60px -28px #0b294c59}.hp-register-modal{overflow:hidden}.hp-register-modal>.hp-modal-header{justify-content:space-between;align-items:flex-start;gap:.75rem;margin:0 0 .35rem;padding:0 0 .3rem;display:flex}.hp-register-modal>.hp-modal-header h2{color:#143b5f;margin:0;font-size:1.05rem;font-weight:700}.hp-register-modal>.hp-modal-header .hp-modal-description{color:#41688a;margin:.2rem 0 0;font-size:1rem}.hp-register-modal .hp-modal-close{color:#2b597f;cursor:pointer;background:#fffc;border:1px solid #0f4c842e;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;font-size:1.1rem;line-height:1;transition:background .15s,color .15s,border-color .15s;display:grid}.hp-register-modal .hp-modal-close:hover{color:#c0202c;background:#fff;border-color:#c0202c59}.hp-register-modal .hp-form-sectioned{max-height:calc(100vh - 11rem);padding-right:.25rem;overflow-y:auto}.hp-register-modal .hp-modal-actions{margin-top:.4rem;padding-top:.35rem}.hp-scan-id-banner{cursor:pointer;background:linear-gradient(135deg,#1678e50f,#11ba960d);border:1.5px dashed #1678e566;border-radius:.8rem;align-items:center;gap:.75rem;margin-bottom:.25rem;padding:.7rem 1rem;transition:border-color .14s,background .14s;display:flex}.hp-scan-id-banner:hover{background:linear-gradient(135deg,#1678e51a,#11ba9614);border-color:#1678e5b3}.hp-scan-id-banner-icon{color:#1678e5;background:linear-gradient(145deg,#1678e52e,#11ba9629);border-radius:.6rem;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.hp-scan-id-banner-body{flex:1}.hp-scan-id-banner-title{color:#143b5f;font-size:.88rem;font-weight:600}.hp-scan-id-banner-sub{color:#6b8ca8;margin-top:.1rem;font-size:.76rem}.hp-scan-success-bar{color:#0f7a5a;background:#11ba9617;border:1px solid #11ba9659;border-radius:.7rem;align-items:center;gap:.6rem;margin-bottom:.25rem;padding:.55rem .9rem;font-size:.8rem;font-weight:500;display:flex}.hp-intake-head-actions{align-items:center;gap:.45rem;margin-inline-start:auto;display:inline-flex}.hp-demo-scan-chip{color:#0f7a5a;background:#11ba9624;border:1px solid #11ba9647;border-radius:999px;align-items:center;padding:.14rem .55rem;font-size:.74rem;font-weight:700;display:inline-flex}.hp-demo-scan-modal{width:min(520px,100vw - 2rem)}.hp-mock-id-card-wrap{gap:.45rem;margin-bottom:.25rem;display:grid}.hp-mock-id-card{background:linear-gradient(155deg,#f0f7ff,#e7f2ff);border:1.5px solid #1678e54d;border-radius:.9rem;justify-items:start;gap:.32rem;width:100%;padding:.8rem;display:grid;position:relative}.hp-mock-id-watermark{letter-spacing:.08em;color:#1678e5b3;font-size:.7rem;font-weight:700;position:absolute;top:.45rem;right:.55rem}.hp-mock-id-title{color:#123f73;font-size:.85rem;font-weight:700}.hp-mock-id-subtitle{color:#5e7e9c;font-size:.76rem}.hp-mock-id-pdf417{background:repeating-linear-gradient(90deg,#0f3d69 0 3px,#0000 3px 7px),repeating-linear-gradient(0deg,#0f3d6926 0 2px,#0000 2px 6px),#fff;border:1px dashed #0f4c8461;border-radius:.45rem;width:100%;height:68px}.hp-mock-id-pdf417-btn{cursor:pointer}.hp-scanner-panel{background:#1678e50d;border:1.5px solid #1678e54d;border-radius:.9rem;flex-direction:column;gap:.6rem;margin-bottom:.25rem;padding:.75rem;display:flex}.hp-scanner-viewport{aspect-ratio:16/7;background:#0a1929;border-radius:.6rem;width:100%;position:relative;overflow:hidden}.hp-scanner-video{object-fit:cover;width:100%;height:100%;display:block}.hp-scanner-frame{pointer-events:none;position:absolute;inset:0}.hp-scanner-corner{border-style:solid;border-color:#38bdf8;width:22px;height:22px;position:absolute}.hp-scanner-corner.tl{border-width:3px 0 0 3px;border-radius:3px 0 0 3px;top:10px;left:10px}.hp-scanner-corner.tr{border-width:3px 3px 0 0;border-radius:0 3px 3px 0;top:10px;right:10px}.hp-scanner-corner.bl{border-width:0 0 3px 3px;border-radius:0 0 0 3px;bottom:10px;left:10px}.hp-scanner-corner.br{border-width:0 3px 3px 0;border-radius:0 0 3px;bottom:10px;right:10px}.hp-scanner-beam{background:linear-gradient(90deg,#0000,#38bdf8,#0000);border-radius:999px;height:2px;animation:1.8s ease-in-out infinite hp-scan-beam;position:absolute;top:10px;left:10px;right:10px}@keyframes hp-scan-beam{0%{opacity:.7;transform:translateY(0)}50%{opacity:1;transform:translateY(calc(228.571% - 22px))}to{opacity:.7;transform:translateY(0)}}.hp-scanner-status{color:#94b8d4;background:#0a1929cc;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;font-size:.8rem;display:flex;position:absolute;inset:0}.hp-scanner-status.is-error{color:#f87171}.hp-scanner-status.is-demo{color:#38bdf8;animation:.7s ease-in-out infinite alternate hp-demo-pulse}@keyframes hp-demo-pulse{0%{opacity:.7}to{opacity:1}}.hp-scanner-hint{color:#6b8ca8;align-items:center;gap:.4rem;font-size:.76rem;display:flex}.hp-scanner-actions{gap:.5rem;display:flex}.hp-scanner-flash{color:#1f2937;text-align:center;background:#facc15e6;border-radius:.4rem;padding:.4rem .6rem;font-size:.75rem;font-weight:600;animation:.2s ease-out hp-scanner-flash-in;position:absolute;inset:auto 10px 10px}@keyframes hp-scanner-flash-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.hp-scanner-debug{color:#d1e8ff;pointer-events:none;background:#000000a6;border-radius:.35rem;max-width:60%;padding:.35rem .5rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.65rem;line-height:1.3;position:absolute;top:6px;left:6px}.hp-scanner-debug-raw{color:#9bdc7e;word-break:break-all;margin-top:.2rem}.hp-scanner-debug-roi{width:140px;height:auto;image-rendering:pixelated;border:1px solid #ffffff4d;border-radius:.25rem;margin-top:.3rem;display:block}.hp-age-readout{color:#143b5f;background:linear-gradient(135deg,#0f4c8414,#0f4c840a);border:1px dashed #0f4c8440;border-radius:999px;align-items:center;width:fit-content;min-height:36px;margin-top:.3rem;padding:.32rem .75rem;font-size:1rem;font-weight:600;display:inline-flex}.hp-age-readout-placeholder{color:#7b94ad;font-style:italic;font-weight:500}.hp-modal h2{color:#143b5f;margin:0}.hp-modal p{color:#41688a;margin:.25rem 0 .8rem;font-size:1rem}.hp-form{gap:.6rem;display:grid}.hp-modal-actions{justify-content:flex-end;gap:.45rem;display:flex}.hp-modal-actions-center{justify-content:center}.hp-register-modal{background:#eef3f8;border:1px solid #b8c7d8;border-radius:18px;width:min(1180px,100vw - 40px);max-height:calc(100dvh - 24px);padding:16px 22px 14px;overflow:hidden}.hp-register-modal>.hp-modal-header{top:unset;z-index:auto;background:0 0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:.75rem;padding-bottom:2px;display:grid;position:relative}.hp-register-header-title{min-width:0}.hp-register-modal .hp-form-sectioned{flex:auto;gap:.45rem;min-height:0;max-height:calc(100dvh - 190px);padding-inline-end:.25rem;overflow-y:auto}.hp-register-modal .hp-inline-select.is-open{z-index:140}.hp-register-modal .hp-inline-select-menu{max-height:260px;overflow-y:auto}.hp-register-modal .hp-form-section,.hp-register-modal .hp-er-intake{min-width:0}.hp-register-modal .hp-form-section{gap:.75rem 1rem;padding:.85rem 1rem .95rem}.hp-register-modal .hp-form-section>label,.hp-register-modal .hp-form-section>.hp-form-field,.hp-register-modal .hp-form-fullrow{min-width:0}.hp-register-modal .hp-form-section input,.hp-register-modal .hp-form-section textarea,.hp-register-modal .hp-form-section .hp-inline-select-trigger,.hp-register-modal .hp-form-section .hp-or-room-picker-trigger,.hp-register-modal .hp-er-intake textarea,.hp-register-modal .hp-er-intake .hp-inline-select-trigger{width:100%;min-height:42px;font-size:1rem}.hp-register-modal .hp-form-section textarea,.hp-register-modal .hp-er-intake textarea{resize:vertical}.hp-register-modal .hp-inline-select,.hp-register-modal .hp-or-room-picker{width:100%}.hp-register-modal .hp-inline-select-trigger>span:first-child,.hp-register-modal .hp-or-room-picker-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.hp-register-modal .hp-form-field .hp-form-label-text{color:#3f607f;margin-bottom:.28rem;font-size:1rem;display:block}.hp-register-modal .hp-age-readout{border-radius:.7rem;width:100%;min-height:42px}.hp-register-modal .hp-modal-close:focus-visible,.hp-register-modal .hp-btn:focus-visible{outline-offset:2px;outline:2px solid #1678e566}.hp-register-modal .hp-register-modal-actions{z-index:3;background:#eef3f8;margin-top:.2rem;padding-top:.25rem;position:sticky;bottom:0}.hp-register-subtitle{color:#426789;margin:.2rem 0 .9rem;font-size:1.1rem}.hp-intake-mode-toggle{grid-template-columns:1fr 1fr;gap:.55rem;display:grid}.hp-intake-mode-toggle-header{margin:0}.hp-intake-mode-btn{color:#183f63;min-height:58px;font:inherit;background:#f6f8fb;border:1px solid #b8c7d8;border-radius:15px;justify-content:center;align-items:center;gap:.45rem;padding:.4rem .65rem;font-weight:650;display:inline-flex}.hp-intake-mode-toggle-header .hp-intake-mode-btn{min-height:44px;padding:.35rem .6rem}.hp-intake-mode-btn>svg{flex-shrink:0;width:17px;height:17px}.hp-intake-mode-btn.is-active{box-shadow:none;background:linear-gradient(140deg,#1678e53d,#11ba962e);border-width:2px;border-color:#1f252d}.hp-intake-mode-btn.is-active.is-er{background:linear-gradient(140deg,#dc4f3c38,#f7970933);border-color:#d23a2773}.hp-intake-mode-copy{text-align:center;place-items:center;display:inline-flex}.hp-intake-mode-copy strong{font-size:.9rem}.hp-intake-mode-copy small{color:#4f6e8b;font-size:.75rem}.hp-intake-mode-hint{color:#496988;margin:.25rem 0 0;font-size:1rem}.hp-intake-card{box-shadow:none;background:#fbfdff;border:1px solid #c7d6e5;border-radius:15px;padding:.62rem .85rem}.hp-intake-card-arrival{border-inline-start:4px solid #1c7adb}.hp-intake-card-arrival.is-er{border-inline-start-color:#c64545}.hp-intake-card-head{justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:.35rem;display:flex}.hp-intake-two-col>.hp-intake-card .hp-intake-card-head{align-items:center;min-height:45px}.hp-intake-card-head h3{color:#19486f;align-items:center;gap:.35rem;margin:0;font-size:1.02rem;display:inline-flex}.hp-intake-title-as-toggle{color:#204f77;font-weight:650}.hp-intake-two-col{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;display:grid}.hp-intake-card-fullwidth{grid-column:1/-1}.hp-er-details-card{border-color:#ea7b314d;box-shadow:0 8px 18px #ea7b311a}.hp-er-status-toggle{grid-template-columns:repeat(3,minmax(0,1fr))}.hp-clinical-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:.7rem;display:grid}.hp-clinical-left{gap:.64rem;display:grid}.hp-clinical-right{grid-template-rows:auto 1fr;gap:.28rem;display:grid}.hp-clinical-right textarea{height:100%;min-height:180px}.hp-demo-scan-btn{color:#fff;background:linear-gradient(130deg,#1878e5,#0ea5a4);border:0}.hp-demo-scan-btn:hover{filter:brightness(1.04)}.hp-intake-demo-summary{color:#315775;background:#0f4c840d;border-radius:.6rem;margin:-.15rem 0 .5rem;padding:.35rem .45rem;font-size:.78rem}.hp-visit-summary{flex-wrap:wrap;gap:.38rem;display:flex}.hp-visit-chip{color:#1a4a72;background:#0f4c840f;border:1px solid #0f4c8433;border-radius:999px;padding:.16rem .52rem;font-size:.76rem;font-weight:650}.hp-intake-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:.68rem .75rem;display:grid}.hp-intake-field{min-width:0}.hp-intake-card .hp-form-field{gap:.28rem;display:grid}.hp-register-modal .hp-intake-card input,.hp-register-modal .hp-intake-card textarea,.hp-register-modal .hp-intake-card .hp-inline-select-trigger{background:#fdfefe;border-color:#b6c7da;border-radius:11px;width:100%;min-height:49px;font-size:1rem}.hp-register-modal .hp-intake-card .hp-inline-select,.hp-register-modal .hp-intake-card .hp-or-room-picker{width:100%}.hp-register-modal .hp-intake-card .hp-or-room-picker-trigger{background:#fdfefe;border-color:#b6c7da;border-radius:11px;min-height:49px;padding:.55rem .7rem}.hp-register-modal .hp-intake-card .hp-form-field .hp-form-label-text{color:#3f607f;font-size:1rem;display:block}.hp-register-modal .hp-modal-close{color:#4a6988;background:0 0;border:1px solid #b9c8d9;border-radius:999px;justify-content:center;align-items:center;width:40px;height:40px;padding:0;font-size:1.15rem;line-height:1;display:inline-flex}.hp-register-modal .hp-modal-header h2{color:#173f65;font-size:1.1rem;font-weight:700}.hp-register-modal .hp-modal-description{color:#486a8c;margin-top:.25rem;font-size:1rem}.hp-register-modal .hp-form-label,.hp-register-modal .hp-intake-field>label,.hp-register-modal .hp-intake-field>span,.hp-register-modal .hp-register-gender-caption{color:#3f5d7d;font-size:1rem}.hp-register-modal .hp-gender-pick{border-radius:999px;padding:.36rem .95rem}.hp-register-modal .hp-gender-pick.is-active.is-male{background:#1878e5}.hp-register-modal .hp-btn.hp-demo-scan-btn{border-radius:13px;min-height:45px;padding-inline:1rem;font-size:1rem}.hp-intake-gender-below{flex-direction:column;gap:.2rem;margin-top:.35rem;display:flex}.hp-intake-gender-below .hp-gender-selector{margin-top:0}.hp-register-gender-caption{color:#3f607f;font-size:.875rem;font-weight:600}.hp-register-gender-row{align-items:center;gap:.6rem;display:flex}.hp-intake-card .hp-register-gender-row{align-items:center;display:flex}.hp-register-gender-row .hp-register-gender-caption{white-space:nowrap;margin:0}.hp-register-gender-row .hp-gender-selector{margin-top:0}.hp-intake-age-chip{color:#184a72;background:#0f4c840f;border:1px dashed #0f4c8447;border-radius:999px;align-items:center;margin-top:.35rem;padding:.2rem .58rem;font-size:1rem;font-weight:650;display:inline-flex}.hp-optional-contact-panel{background:#f1f8ffd1;border:1px solid #0f4c843d;border-radius:.8rem;margin-top:.65rem;padding:.38rem .45rem}.hp-optional-contact-toggle{color:#204f77;width:100%;font:inherit;background:0 0;border:0;justify-content:space-between;align-items:center;padding:.18rem .15rem;font-weight:650;display:inline-flex}.hp-intake-advanced-field{gap:.25rem;margin-top:.45rem;display:grid}.hp-intake-stack{gap:.58rem;margin-top:.42rem;display:grid}@media(max-width:900px){.hp-register-modal .hp-form-section,.hp-intake-two-col,.hp-clinical-grid,.hp-intake-grid,.hp-intake-mode-toggle{grid-template-columns:1fr}.hp-register-modal>.hp-modal-header{grid-template-columns:1fr auto;row-gap:.45rem}.hp-register-header-title{grid-column:1/2}.hp-intake-mode-toggle-header{grid-area:2/1/auto/-1;grid-template-columns:1fr 1fr}.hp-register-modal{max-height:calc(100dvh - 12px);padding:12px 14px 10px}.hp-register-modal .hp-form-sectioned{gap:.38rem;max-height:calc(100dvh - 150px)}.hp-clinical-right textarea{min-height:120px}}.hp-qr-card{background:linear-gradient(145deg,#ffffffeb,#edf7ffe0);border:1px solid #0f4c842e;border-radius:1rem;gap:.7rem;max-width:280px;margin:0 auto;padding:.85rem;display:grid}.hp-qr-card-meta{gap:.32rem;display:grid}.hp-qr-card-gender{justify-content:center;display:flex}.hp-qr-card-meta p{color:#2c5578;grid-template-columns:110px 1fr;align-items:baseline;gap:.45rem;margin:0;display:grid}.hp-qr-card-meta p strong{font-weight:700}.hp-qr-card-meta p span{min-width:0}.hp-qr-card-code{flex-direction:column;align-items:center;gap:.55rem;display:flex}.hp-qr-frame{background:#fff;border:1px solid #0f4c8438;border-radius:.8rem;justify-content:center;width:100%;padding:.35rem;display:flex;overflow:hidden;box-shadow:0 6px 16px #101f3514}.hp-qr-frame svg{width:100%;max-width:170px;height:auto}.hp-qr-card-code code{color:#13446f;background:#1678e51a;border:1px solid #0f4c842e;border-radius:.55rem;padding:.35rem .55rem;font-size:1rem;font-weight:700}.hp-qr-modal-actions{justify-content:space-between;max-width:280px;margin:.65rem auto 0}.hp-kanban-mini{grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;display:grid}.hp-kanban-mini-col{text-align:center;background:#ffffffb8;border:1px solid #0f4c8424;border-radius:.7rem;padding:.5rem .55rem}.hp-kanban-mini-title{color:#4c6a88;margin:0;font-size:1rem}.hp-kanban-mini-count{color:#1b4d77;margin:.2rem 0 0;font-size:1rem;font-weight:700}.hp-kanban-detail{grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin-top:.8rem;display:grid}.hp-kanban-col{background:#ffffffa8;border:1px solid #0f4c8424;border-radius:.75rem;grid-template-rows:auto 1fr;gap:.45rem;min-height:180px;padding:.55rem;display:grid}.hp-kanban-col.is-drop-active{border-color:#1678e559;box-shadow:inset 0 0 0 1px #1678e52e}.hp-kanban-col.is-drop-hover{border-color:#11ba96c7;animation:.42s ease-in-out infinite alternate hpDropHoverPulse;box-shadow:0 0 0 2px #11ba963d}.hp-kanban-card{cursor:grab;text-align:center;justify-items:center}.hp-kanban-card:active{cursor:grabbing}.hp-ops-department{padding-left:7.6rem;position:relative;overflow:hidden}.hp-ops-department-banner{background:#4f84b829;border-right:1px solid #0f4c842e;flex-direction:column;justify-content:flex-start;align-items:center;gap:.42rem;width:6.9rem;padding:.7rem .5rem;display:flex;position:absolute;top:0;bottom:0;left:0}.hp-ops-department-title{color:#19466f;text-align:center;word-break:normal;overflow-wrap:normal;-webkit-hyphens:manual;hyphens:manual;margin:0;font-size:1rem;line-height:1.18}.hp-ops-department-icon{color:#1f5d8c;background:#fff;border:1px solid #0f4c8433;border-radius:999px;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.hp-ops-department.is-reception .hp-ops-department-banner{background:var(--dept-reception)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-reception .hp-ops-department-banner{background:color-mix(in srgb,var(--dept-reception) 30%,transparent)}}.hp-ops-department.is-er .hp-ops-department-banner{background:var(--dept-er)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-er .hp-ops-department-banner{background:color-mix(in srgb,var(--dept-er) 30%,transparent)}}.hp-ops-department.is-internal-medicine .hp-ops-department-banner{background:var(--dept-internal-medicine)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-internal-medicine .hp-ops-department-banner{background:color-mix(in srgb,var(--dept-internal-medicine) 30%,transparent)}}.hp-ops-department.is-orthopedics .hp-ops-department-banner{background:var(--dept-orthopedics)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-orthopedics .hp-ops-department-banner{background:color-mix(in srgb,var(--dept-orthopedics) 30%,transparent)}}.hp-ops-department.is-cardiology .hp-ops-department-banner{background:var(--dept-cardiology)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-cardiology .hp-ops-department-banner{background:color-mix(in srgb,var(--dept-cardiology) 30%,transparent)}}.hp-ops-department.is-general-surgery .hp-ops-department-banner{background:var(--dept-general-surgery)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-general-surgery .hp-ops-department-banner{background:color-mix(in srgb,var(--dept-general-surgery) 30%,transparent)}}.hp-ops-department.is-lab .hp-ops-department-banner{background:var(--dept-lab)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-lab .hp-ops-department-banner{background:color-mix(in srgb,var(--dept-lab) 30%,transparent)}}.hp-ops-department.is-radiology .hp-ops-department-banner{background:var(--dept-radiology)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-radiology .hp-ops-department-banner{background:color-mix(in srgb,var(--dept-radiology) 30%,transparent)}}.hp-ops-department.is-pharmacy .hp-ops-department-banner{background:var(--dept-pharmacy)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-pharmacy .hp-ops-department-banner{background:color-mix(in srgb,var(--dept-pharmacy) 30%,transparent)}}.hp-ops-department.is-accounting .hp-ops-department-banner{background:var(--dept-accounting)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-accounting .hp-ops-department-banner{background:color-mix(in srgb,var(--dept-accounting) 28%,transparent)}}.hp-ops-department.is-reception .hp-ops-department-icon{color:var(--dept-reception)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-reception .hp-ops-department-icon{color:color-mix(in srgb,var(--dept-reception) 78%,black)}}.hp-ops-department.is-er .hp-ops-department-icon{color:var(--dept-er)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-er .hp-ops-department-icon{color:color-mix(in srgb,var(--dept-er) 78%,black)}}.hp-ops-department.is-internal-medicine .hp-ops-department-icon{color:var(--dept-internal-medicine)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-internal-medicine .hp-ops-department-icon{color:color-mix(in srgb,var(--dept-internal-medicine) 78%,black)}}.hp-ops-department.is-orthopedics .hp-ops-department-icon{color:var(--dept-orthopedics)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-orthopedics .hp-ops-department-icon{color:color-mix(in srgb,var(--dept-orthopedics) 78%,black)}}.hp-ops-department.is-cardiology .hp-ops-department-icon{color:var(--dept-cardiology)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-cardiology .hp-ops-department-icon{color:color-mix(in srgb,var(--dept-cardiology) 78%,black)}}.hp-ops-department.is-general-surgery .hp-ops-department-icon{color:var(--dept-general-surgery)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-general-surgery .hp-ops-department-icon{color:color-mix(in srgb,var(--dept-general-surgery) 78%,black)}}.hp-ops-department.is-lab .hp-ops-department-icon{color:var(--dept-lab)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-lab .hp-ops-department-icon{color:color-mix(in srgb,var(--dept-lab) 78%,black)}}.hp-ops-department.is-radiology .hp-ops-department-icon{color:var(--dept-radiology)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-radiology .hp-ops-department-icon{color:color-mix(in srgb,var(--dept-radiology) 78%,black)}}.hp-ops-department.is-pharmacy .hp-ops-department-icon{color:var(--dept-pharmacy)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-pharmacy .hp-ops-department-icon{color:color-mix(in srgb,var(--dept-pharmacy) 78%,black)}}.hp-ops-department.is-accounting .hp-ops-department-icon{color:var(--dept-accounting)}@supports (color:color-mix(in lab,red,red)){.hp-ops-department.is-accounting .hp-ops-department-icon{color:color-mix(in srgb,var(--dept-accounting) 78%,black)}}@media(max-width:900px){.hp-ops-department{padding-left:6.9rem}.hp-ops-department-banner{width:6.2rem;padding:.62rem .42rem}.hp-ops-department-title{font-size:1rem}}.hp-ops-expand-toggle{color:#2a5e8a;letter-spacing:.04em;text-transform:uppercase;background:0 0;border:0;justify-content:center;align-items:center;gap:.28rem;width:100%;margin-top:.55rem;padding:.2rem 0 .05rem;font-size:1rem;font-weight:700;display:inline-flex}.hp-ops-expand-toggle svg{animation:1.2s ease-in-out infinite hpChevronPulse}.hp-ops-expand-toggle.is-open svg{animation:none;transform:rotate(180deg)}@keyframes hpChevronPulse{0%,to{opacity:.8;transform:translateY(0)}50%{opacity:1;transform:translateY(3px)}}.hp-kanban-col-head{justify-content:space-between;align-items:center;gap:.4rem;display:flex}.hp-kanban-col-head h3{color:#19466f;margin:0;font-size:1rem}.hp-kanban-col-body{align-content:start;gap:.4rem;display:grid}.hp-transfer-dropzone{color:#0f4f8e;background:linear-gradient(135deg,#1678e51f,#11ba961f);border:2px dashed #1678e585;border-radius:.8rem;place-items:center;min-height:84px;margin-top:.75rem;font-size:1rem;font-weight:700;display:grid;box-shadow:inset 0 0 0 1px #ffffff73,0 8px 18px #0f4c841f}.hp-transfer-dropzone.is-active{background:linear-gradient(135deg,#1678e533,#11ba9638);border-color:#11ba96e6;box-shadow:0 0 0 3px #11ba9638,0 12px 24px #0f4c8429}.hp-transfer-dropzone.is-drop-hover{transform-origin:50%;animation:.42s ease-in-out infinite alternate hpDropHoverPulse}@keyframes hpDropHoverPulse{0%{transform:scale(1)}to{transform:scale(1.012)}}.hp-routing-drag-active:after{content:"";pointer-events:none;z-index:40;background:#08172a57;position:fixed;inset:0}.hp-routing-drag-active .hp-ops-department.is-drag-context,.hp-routing-drag-active .hp-transfer-dropzone,.hp-routing-drag-active .hp-kanban-col{z-index:41;position:relative}.hp-routing-drag-active:after{background:#08172a1f!important}.hp-transfer-modal{width:min(1120px,100%)}.hp-transfer-float-wrap{grid-template-columns:auto 86px minmax(420px,720px);justify-content:center;align-items:center;gap:.55rem;width:min(1240px,100%);display:grid}.hp-transfer-float-wrap.hp-transfer-info-only{grid-template-columns:auto;width:min(460px,100%)}.hp-transfer-float-wrap.has-target{grid-template-columns:auto 86px auto}.hp-transfer-float-left,.hp-transfer-float-right{box-shadow:0 18px 40px #0f4c8433}.hp-transfer-float-title{text-transform:uppercase;letter-spacing:.07em;color:#5b7895;align-items:center;gap:.38rem;margin:0 0 .5rem;font-size:1rem;font-weight:700;line-height:1.2;display:inline-flex}.hp-transfer-layout{grid-template-columns:minmax(280px,1fr) 46px minmax(420px,1.35fr);align-items:stretch;gap:.75rem;display:grid}.hp-transfer-open-btn{justify-content:center;margin-top:.6rem}.hp-transfer-float-left{align-content:start;place-self:center start;width:min(330px,100%);height:auto;min-height:0}.hp-transfer-float-left-shell{gap:0;padding:.45rem;display:grid}.hp-transfer-float-left.hp-patient-card{height:auto}.hp-transfer-float-left .hp-patient-dept-pill-top{grid-template-columns:minmax(0,1fr)}.hp-transfer-float-left .hp-patient-dept-pill-top>span{text-overflow:clip;white-space:normal;overflow:visible}.hp-transfer-title-right{margin:0;font-size:1rem;line-height:1.2}.hp-transfer-arrow{color:#fff;background:linear-gradient(130deg,#1678e5,#11ba96);border:1px solid #0f4c8457;border-radius:999px;place-self:center;place-items:center;width:70px;height:70px;margin:0 auto;padding:0;transition:transform .22s,opacity .22s;display:grid;box-shadow:0 16px 34px #1678e557}.hp-transfer-arrow svg{display:block}.hp-transfer-layout.has-target .hp-transfer-arrow{transform:translate(4px)scale(1.06)}.hp-transfer-right-pane{align-content:start;min-height:250px;transition:min-height .22s,width .22s;display:grid}.hp-transfer-float-wrap.has-target .hp-transfer-float-right{align-self:center;width:min(360px,100%);height:fit-content;min-height:0;padding:.65rem}.hp-transfer-float-wrap.has-target .hp-transfer-right-pane{align-content:start;justify-items:center;gap:.35rem;width:100%;min-height:0}.hp-transfer-grid{grid-template-columns:repeat(4,minmax(0,160px));grid-auto-rows:160px;justify-content:center;gap:.4rem;min-height:0;transition:min-height .22s;display:grid}.hp-transfer-grid.hp-routing-transfer-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(116px,auto);width:100%}@media(max-width:1500px){.hp-transfer-grid.hp-routing-transfer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.hp-transfer-grid.has-target{grid-template-columns:1fr;justify-items:center;width:100%}.hp-transfer-card{text-align:center;background:#fffc;border:1px solid #0f4c842e;border-radius:.7rem;align-content:center;justify-items:center;gap:.2rem;width:100%;height:100%;min-height:116px;padding:.42rem .4rem;transition:opacity .22s,transform .22s,box-shadow .22s;display:grid}.hp-transfer-card:hover{background:#fffffff5;border-color:#0f4c8457}.hp-transfer-card.is-focused{border-color:#0f4c846b;transform:translateY(-1px);box-shadow:0 0 0 2px #1678e52e,0 10px 18px #0f4c841f}.hp-transfer-grid.has-target .hp-transfer-card.is-hidden{opacity:0;pointer-events:none;visibility:hidden;border:0;width:0;height:0;margin:0;padding:0;display:none;overflow:hidden;transform:scale(.94)}.hp-transfer-grid.has-target .hp-transfer-card.is-focused{grid-column:1;justify-self:center;gap:.22rem;width:min(230px,100%);padding:.72rem .62rem;box-shadow:0 14px 26px #0f4c841f}.hp-transfer-name{color:#18496f;font-size:1rem;font-weight:700;line-height:1.2}.hp-transfer-count{color:#204f75;font-size:1.85rem;font-weight:800;line-height:1}.hp-routing-note-input{resize:vertical;color:#143b5f;background:#fffffff5;border:1px solid #0f4c845c;border-radius:.72rem;width:100%;min-height:96px;padding:.62rem .68rem;line-height:1.45}.hp-routing-note-input:focus{border-color:#1678e5;outline:2px solid #1678e53d}.hp-routing-note-wrap{grid-template-columns:1fr;margin-top:auto;margin-bottom:0}.hp-journey-route-action-row{margin-top:.1rem}.hp-journey-route-action-row .hp-btn{min-height:35px}.hp-journey-create-visit-wrap{align-content:start;justify-items:start;gap:.45rem;width:fit-content;margin-top:.12rem;display:grid}.hp-journey-no-visit-state{place-content:start;justify-items:start}.hp-journey-no-visit-state .hp-empty{text-align:start}.hp-journey-create-visit-card{text-align:center;cursor:pointer;border-radius:.9rem;grid-template-rows:auto auto;align-content:center;justify-items:center;gap:.5rem;width:140px;min-height:140px;padding:.9rem;transition:transform .15s,box-shadow .17s,filter .17s;display:grid;box-shadow:0 10px 22px #1678e533}.hp-journey-create-visit-card:hover{filter:saturate(1.06);transform:translateY(-2px);box-shadow:0 14px 26px #1678e542}.hp-journey-create-visit-card:active{transform:translateY(0);box-shadow:0 9px 18px #1678e538}.hp-journey-create-visit-icon{color:#0f4f8e;pointer-events:none;background:linear-gradient(130deg,#1678e524,#11ba9624);border:1px solid #0f4c842e;border-radius:999px;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex}.hp-room-picker{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.45rem;display:grid}.hp-room-option{color:#204f75;text-align:center;background:#ffffffe0;border:1px solid #0f4c8433;border-radius:.65rem;padding:.55rem .6rem;font-weight:700;transition:all .14s}.hp-room-option:hover{background:#fffffffa;border-color:#0f4c845c}.hp-room-option.is-selected{color:#0f4f8e;background:linear-gradient(130deg,#1678e524,#11ba962e);border-color:#11ba969e;box-shadow:0 0 0 2px #11ba962e}.hp-transfer-confirm{background:#ffffffdb;border:1px solid #0f4c842e;border-radius:.75rem;margin-top:.75rem;padding:.7rem}.hp-transfer-confirm p{color:#2e597f;text-align:center;margin:0 0 .6rem;font-size:1rem}.hp-transfer-confirm-floating{opacity:0;background:0 0;align-content:start;margin:0;padding-top:.4rem;transition:opacity .22s 70ms,transform .22s 70ms;display:grid;position:static;transform:translateY(8px)}.hp-transfer-float-wrap.has-target .hp-transfer-confirm-floating{opacity:1;transform:translateY(0)}.hp-transfer-float-wrap.has-target .hp-transfer-confirm{border:0;margin-top:.15rem;padding:0}@keyframes hpTransferConfirmIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.hp-transfer-icon-wrap{color:#1f5d8c;background:#1678e51f;border:1px solid #0f4c8429;border-radius:999px;justify-content:center;align-items:center;width:50px;height:50px;display:inline-flex}.hp-transfer-card.is-reception{border-color:var(--dept-reception)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-reception{border-color:color-mix(in srgb,var(--dept-reception) 30%,transparent)}}.hp-transfer-card.is-reception{background:linear-gradient(180deg,var(--dept-reception),#ffffffd1)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-reception{background:linear-gradient(180deg,color-mix(in srgb,var(--dept-reception) 8%,transparent),#ffffffd1)}}.hp-transfer-card.is-er{border-color:var(--dept-er)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-er{border-color:color-mix(in srgb,var(--dept-er) 35%,transparent)}}.hp-transfer-card.is-er{background:linear-gradient(180deg,var(--dept-er),#ffffffd1)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-er{background:linear-gradient(180deg,color-mix(in srgb,var(--dept-er) 10%,transparent),#ffffffd1)}}.hp-transfer-card.is-internal-medicine{border-color:var(--dept-internal-medicine)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-internal-medicine{border-color:color-mix(in srgb,var(--dept-internal-medicine) 32%,transparent)}}.hp-transfer-card.is-internal-medicine{background:linear-gradient(180deg,var(--dept-internal-medicine),#ffffffd1)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-internal-medicine{background:linear-gradient(180deg,color-mix(in srgb,var(--dept-internal-medicine) 10%,transparent),#ffffffd1)}}.hp-transfer-card.is-orthopedics{border-color:var(--dept-orthopedics)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-orthopedics{border-color:color-mix(in srgb,var(--dept-orthopedics) 32%,transparent)}}.hp-transfer-card.is-orthopedics{background:linear-gradient(180deg,var(--dept-orthopedics),#ffffffd1)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-orthopedics{background:linear-gradient(180deg,color-mix(in srgb,var(--dept-orthopedics) 10%,transparent),#ffffffd1)}}.hp-transfer-card.is-cardiology{border-color:var(--dept-cardiology)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-cardiology{border-color:color-mix(in srgb,var(--dept-cardiology) 32%,transparent)}}.hp-transfer-card.is-cardiology{background:linear-gradient(180deg,var(--dept-cardiology),#ffffffd1)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-cardiology{background:linear-gradient(180deg,color-mix(in srgb,var(--dept-cardiology) 10%,transparent),#ffffffd1)}}.hp-transfer-card.is-general-surgery{border-color:var(--dept-general-surgery)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-general-surgery{border-color:color-mix(in srgb,var(--dept-general-surgery) 32%,transparent)}}.hp-transfer-card.is-general-surgery{background:linear-gradient(180deg,var(--dept-general-surgery),#ffffffd1)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-general-surgery{background:linear-gradient(180deg,color-mix(in srgb,var(--dept-general-surgery) 10%,transparent),#ffffffd1)}}.hp-transfer-card.is-lab{border-color:var(--dept-lab)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-lab{border-color:color-mix(in srgb,var(--dept-lab) 32%,transparent)}}.hp-transfer-card.is-lab{background:linear-gradient(180deg,var(--dept-lab),#ffffffd1)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-lab{background:linear-gradient(180deg,color-mix(in srgb,var(--dept-lab) 10%,transparent),#ffffffd1)}}.hp-transfer-card.is-radiology{border-color:var(--dept-radiology)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-radiology{border-color:color-mix(in srgb,var(--dept-radiology) 32%,transparent)}}.hp-transfer-card.is-radiology{background:linear-gradient(180deg,var(--dept-radiology),#ffffffd1)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-radiology{background:linear-gradient(180deg,color-mix(in srgb,var(--dept-radiology) 10%,transparent),#ffffffd1)}}.hp-transfer-card.is-pharmacy{border-color:var(--dept-pharmacy)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-pharmacy{border-color:color-mix(in srgb,var(--dept-pharmacy) 34%,transparent)}}.hp-transfer-card.is-pharmacy{background:linear-gradient(180deg,var(--dept-pharmacy),#ffffffd1)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-pharmacy{background:linear-gradient(180deg,color-mix(in srgb,var(--dept-pharmacy) 10%,transparent),#ffffffd1)}}.hp-transfer-card.is-accounting{border-color:var(--dept-accounting)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-accounting{border-color:color-mix(in srgb,var(--dept-accounting) 34%,transparent)}}.hp-transfer-card.is-accounting{background:linear-gradient(180deg,var(--dept-accounting),#ffffffd1)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-accounting{background:linear-gradient(180deg,color-mix(in srgb,var(--dept-accounting) 12%,transparent),#ffffffd1)}}.hp-transfer-card.is-er .hp-transfer-icon-wrap{background:var(--dept-er)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-er .hp-transfer-icon-wrap{background:color-mix(in srgb,var(--dept-er) 14%,transparent)}}.hp-transfer-card.is-er .hp-transfer-icon-wrap{color:var(--dept-er)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-er .hp-transfer-icon-wrap{color:color-mix(in srgb,var(--dept-er) 78%,black)}}.hp-transfer-card.is-internal-medicine .hp-transfer-icon-wrap{background:var(--dept-internal-medicine)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-internal-medicine .hp-transfer-icon-wrap{background:color-mix(in srgb,var(--dept-internal-medicine) 14%,transparent)}}.hp-transfer-card.is-internal-medicine .hp-transfer-icon-wrap{color:var(--dept-internal-medicine)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-internal-medicine .hp-transfer-icon-wrap{color:color-mix(in srgb,var(--dept-internal-medicine) 78%,black)}}.hp-transfer-card.is-orthopedics .hp-transfer-icon-wrap{background:var(--dept-orthopedics)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-orthopedics .hp-transfer-icon-wrap{background:color-mix(in srgb,var(--dept-orthopedics) 14%,transparent)}}.hp-transfer-card.is-orthopedics .hp-transfer-icon-wrap{color:var(--dept-orthopedics)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-orthopedics .hp-transfer-icon-wrap{color:color-mix(in srgb,var(--dept-orthopedics) 78%,black)}}.hp-transfer-card.is-cardiology .hp-transfer-icon-wrap{background:var(--dept-cardiology)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-cardiology .hp-transfer-icon-wrap{background:color-mix(in srgb,var(--dept-cardiology) 14%,transparent)}}.hp-transfer-card.is-cardiology .hp-transfer-icon-wrap{color:var(--dept-cardiology)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-cardiology .hp-transfer-icon-wrap{color:color-mix(in srgb,var(--dept-cardiology) 78%,black)}}.hp-transfer-card.is-general-surgery .hp-transfer-icon-wrap{background:var(--dept-general-surgery)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-general-surgery .hp-transfer-icon-wrap{background:color-mix(in srgb,var(--dept-general-surgery) 14%,transparent)}}.hp-transfer-card.is-general-surgery .hp-transfer-icon-wrap{color:var(--dept-general-surgery)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-general-surgery .hp-transfer-icon-wrap{color:color-mix(in srgb,var(--dept-general-surgery) 78%,black)}}.hp-transfer-card.is-lab .hp-transfer-icon-wrap{background:var(--dept-lab)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-lab .hp-transfer-icon-wrap{background:color-mix(in srgb,var(--dept-lab) 14%,transparent)}}.hp-transfer-card.is-lab .hp-transfer-icon-wrap{color:var(--dept-lab)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-lab .hp-transfer-icon-wrap{color:color-mix(in srgb,var(--dept-lab) 78%,black)}}.hp-transfer-card.is-radiology .hp-transfer-icon-wrap{background:var(--dept-radiology)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-radiology .hp-transfer-icon-wrap{background:color-mix(in srgb,var(--dept-radiology) 14%,transparent)}}.hp-transfer-card.is-radiology .hp-transfer-icon-wrap{color:var(--dept-radiology)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-radiology .hp-transfer-icon-wrap{color:color-mix(in srgb,var(--dept-radiology) 78%,black)}}.hp-transfer-card.is-pharmacy .hp-transfer-icon-wrap{background:var(--dept-pharmacy)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-pharmacy .hp-transfer-icon-wrap{background:color-mix(in srgb,var(--dept-pharmacy) 14%,transparent)}}.hp-transfer-card.is-pharmacy .hp-transfer-icon-wrap{color:var(--dept-pharmacy)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-pharmacy .hp-transfer-icon-wrap{color:color-mix(in srgb,var(--dept-pharmacy) 78%,black)}}.hp-transfer-card.is-accounting .hp-transfer-icon-wrap{background:var(--dept-accounting)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-accounting .hp-transfer-icon-wrap{background:color-mix(in srgb,var(--dept-accounting) 14%,transparent)}}.hp-transfer-card.is-accounting .hp-transfer-icon-wrap{color:var(--dept-accounting)}@supports (color:color-mix(in lab,red,red)){.hp-transfer-card.is-accounting .hp-transfer-icon-wrap{color:color-mix(in srgb,var(--dept-accounting) 78%,black)}}.hp-lane-registered{background:linear-gradient(#3b82f614,#ffffffb3);border-color:#3b82f63d}.hp-lane-waiting{background:linear-gradient(#f59e0b1a,#ffffffb3);border-color:#f59e0b42}.hp-lane-in_room{background:linear-gradient(#0ea5a41a,#ffffffb3);border-color:#0ea5a442}.hp-or-tabs{border-bottom:2px solid #0f4c8424;gap:0;margin-bottom:1.25rem;display:flex}.hp-or-tab{color:#5a83a2;background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-2px;padding:.55rem 1.1rem;font-size:1rem;font-weight:600;transition:color .14s,border-color .14s}.hp-or-tab:hover{color:#174e76}.hp-or-tab.is-active{color:#1167b1;border-bottom-color:#1167b1}.hp-or-date-nav{flex-wrap:nowrap;align-items:center;gap:.65rem;margin-bottom:0;display:flex}.hp-or-date-nav button{color:#204f75;background:#fffc;border:1px solid #0f4c8433;border-radius:.4rem;padding:.3rem .65rem;font-size:1rem;transition:all .13s}.hp-or-date-nav button:hover{background:#fff;border-color:#0f4c845c}.hp-or-date-nav strong{color:#143b5f;font-size:1rem}.hp-or-date-picker{display:inline-flex;position:relative}.hp-or-date-display{justify-content:center;min-width:126px;font-weight:700}.hp-or-date-input{opacity:0;pointer-events:none;color:#123b60;background:#fff;border:1px solid #0f4c8442;border-radius:.55rem;width:100%;height:100%;padding:.4rem .55rem;position:absolute;inset:0}.hp-or-schedule-toolbar{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.hp-or-timeline-wrap{padding-bottom:.35rem;position:relative;overflow-x:auto}.hp-or-empty-day-banner{color:#174e76;background:linear-gradient(135deg,#ecfeffd6,#ffffffeb),#ffffffeb;border:1px solid #0f4c8429;border-left:4px solid #2fb6c4;border-radius:.75rem;justify-content:space-between;align-items:center;gap:1rem;min-width:1040px;margin-bottom:.7rem;padding:.72rem .9rem;display:flex;box-shadow:0 10px 22px #101f3512}.hp-or-empty-day-banner strong{font-size:1rem}.hp-or-empty-day-banner span{color:#5b7f9d;font-size:1rem}.hp-or-room-label{color:#143b5f;background:#fffffff5;border:1px solid #0f4c842e;border-radius:.55rem;width:100%;margin-bottom:.45rem;padding:.5rem .65rem;font-size:1rem;font-weight:800;line-height:1.2}.hp-or-grid-head{grid-template-columns:76px repeat(4,minmax(210px,1fr));gap:.55rem;min-width:1040px;margin-bottom:.45rem;display:grid}.hp-or-grid-body{grid-template-columns:76px repeat(4,minmax(210px,1fr));gap:.55rem;min-width:1040px;display:grid}.hp-or-time-ruler{background:linear-gradient(#fffffff5,#f3f9fff0);border:1px solid #0f4c8424;border-radius:.55rem;grid-template-rows:repeat(97,1fr);height:1152px;display:grid;box-shadow:inset -1px 0 #0f4c841a}.hp-or-time-tick{color:#6f8ea8;text-align:right;justify-content:flex-end;align-items:flex-start;padding-right:.58rem;font-size:1rem;font-weight:500;line-height:1;display:flex;position:relative}.hp-or-time-tick.is-quarter:after{content:"";background:#0f4c842e;width:8px;height:1px;position:absolute;top:0;right:.38rem}.hp-or-time-tick.is-hour{color:#123b60;border-top:1px solid #0f4c8442;padding-top:2px;font-size:1rem;font-weight:800}.hp-or-track{background:repeating-linear-gradient(#0f4c840a 0 48px,#ffffff61 48px 96px),repeating-linear-gradient(#0f4c841c 0 1px,#0000 1px 12px),repeating-linear-gradient(#0000 0 47px,#0f4c8445 47px 48px),#f0f8ffb8;border:1px solid #0f4c8433;border-radius:.55rem;height:1152px;position:relative}.hp-or-room-label.is-room-a{background:linear-gradient(135deg,#fdf2f8,#fff);border-color:#f3bfd4}.hp-or-room-label.is-room-b{background:linear-gradient(135deg,#eff6ff,#fff);border-color:#bfd6fb}.hp-or-room-label.is-room-c{background:linear-gradient(135deg,#ecfeff,#fff);border-color:#b7eaee}.hp-or-room-label.is-room-d{background:linear-gradient(135deg,#f0fdf4,#fff);border-color:#bde9cc}.hp-or-room-label.is-room-e{background:linear-gradient(135deg,#fff7ed,#fff);border-color:#f2d0b0}.hp-or-room-label.is-room-f{background:linear-gradient(135deg,#f5f3ff,#fff);border-color:#d2c9f5}.hp-or-room-picker{position:relative}.hp-or-room-picker-trigger{color:#143b5f;width:100%;font:inherit;cursor:pointer;background:#fff;border:1px solid #0f4c8440;border-radius:.75rem;justify-content:space-between;align-items:center;gap:.5rem;padding:.75rem .85rem;display:flex}.hp-or-room-picker-trigger-selection{flex:1;align-items:center;gap:.5rem;min-width:0;display:flex}.hp-or-room-picker-trigger:hover,.hp-or-room-picker-trigger:focus-visible{border-color:#0f4c8473;outline:none;box-shadow:0 0 0 4px #386cff1a}.hp-or-room-picker-menu{z-index:120;background:#fff;border:1px solid #0f4c8433;border-radius:.75rem;max-height:320px;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden;box-shadow:0 16px 40px #0f4c841f}.hp-or-room-picker-search{border-bottom:1px solid #0f4c841f;padding:.75rem .85rem .6rem}.hp-or-room-picker-search-input{color:#143b5f;width:100%;font:inherit;background:#f8fafc;border:1px solid #0f4c8433;border-radius:.65rem;padding:.6rem .75rem}.hp-or-room-picker-search-input:focus{border-color:#0f4c8466;outline:none;box-shadow:0 0 0 3px #60a5fa24}.hp-or-room-picker-item{color:#143b5f;text-align:left;cursor:pointer;width:100%;font:inherit;background:0 0;border:0;align-items:center;gap:.75rem;padding:.65rem .85rem;display:flex}.hp-or-room-picker-item:hover,.hp-or-room-picker-item.is-active{background:#0f4c8414}.hp-or-room-swatch{border:1px solid var(--or-room-border);background:var(--or-room-color);border-radius:999px;flex-shrink:0;width:.75rem;height:.75rem}.hp-or-room-picker-empty{color:#64748b;padding:.75rem .85rem}.hp-or-track.is-room-a{box-shadow:inset 3px 0 #e879a9}.hp-or-track.is-room-b{box-shadow:inset 3px 0 #5b9bf2}.hp-or-track.is-room-c{box-shadow:inset 3px 0 #2fb6c4}.hp-or-track.is-room-d{box-shadow:inset 3px 0 #40b36f}.hp-or-track.is-room-e{box-shadow:inset 3px 0 #dd8c42}.hp-or-track.is-room-f{box-shadow:inset 3px 0 #8a6ad8}.hp-or-room-legend{flex-wrap:wrap;align-items:center;gap:.55rem;margin:.55rem 0 .8rem;display:flex}.hp-or-schedule-filter-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.hp-or-filter-clear{color:#0f4c84;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:.3rem .65rem;font-size:1rem;font-weight:700}.hp-or-filter-clear:hover{background:#f8fbff;border-color:#0f4c84}.hp-or-room-legend-item,.hp-or-room-chip,.hp-or-room-link{--or-room-color:#5b9bf2;--or-room-soft:#5b9bf221;--or-room-border:#5b9bf257}.hp-or-room-legend-item{border:1px solid var(--or-room-border);background:var(--or-room-soft);color:#143b5f;border-radius:999px;align-items:center;gap:.38rem;padding:.28rem .52rem;font-size:1rem;font-weight:800;display:inline-flex}.hp-or-room-legend-btn{cursor:pointer;transition:transform .12s,box-shadow .12s,border-color .12s}.hp-or-room-legend-btn:hover{transform:translateY(-1px)}.hp-or-room-legend-btn.is-selected{box-shadow:0 0 0 2px var(--or-room-border),0 6px 14px #0f172a1a}.hp-or-room-legend-swatch,.hp-or-room-title-mark,.hp-or-room-inline-mark{background:var(--or-room-color);box-shadow:0 0 0 3px var(--or-room-soft);display:inline-block}.hp-or-room-legend-swatch{border-radius:999px;width:.72rem;height:.72rem}.hp-or-room-chip{border-color:var(--or-room-border);background:var(--or-room-soft);color:#143b5f}.hp-or-room-link{align-items:center;gap:.35rem;font-weight:800;display:inline-flex}.hp-or-room-link:before{content:"";background:var(--or-room-color);width:.55rem;height:.55rem;box-shadow:0 0 0 3px var(--or-room-soft);border-radius:999px}.hp-or-room-title-mark{vertical-align:middle;border-radius:999px;width:.8rem;height:.8rem;margin-right:.5rem}.hp-or-room-inline-mark{border-radius:999px;width:.58rem;height:.58rem;margin:0 .25rem}.is-room-a{--or-room-color:#e879a9;--or-room-soft:#e879a924;--or-room-border:#e879a961}.is-room-b{--or-room-color:#5b9bf2;--or-room-soft:#5b9bf224;--or-room-border:#5b9bf261}.is-room-c{--or-room-color:#2fb6c4;--or-room-soft:#2fb6c424;--or-room-border:#2fb6c461}.is-room-d{--or-room-color:#40b36f;--or-room-soft:#40b36f24;--or-room-border:#40b36f61}.is-room-e{--or-room-color:#dd8c42;--or-room-soft:#dd8c4224;--or-room-border:#dd8c4261}.is-room-f{--or-room-color:#8a6ad8;--or-room-soft:#8a6ad824;--or-room-border:#8a6ad861}.hp-or-block{width:calc(100% - 12px);left:6px;top:var(--block-top,0%);height:var(--block-height,10%);cursor:grab;white-space:normal;z-index:1;-webkit-user-select:none;user-select:none;border-radius:.5rem;flex-direction:column;align-items:flex-start;gap:.08rem;padding:.42rem .55rem;font-size:1rem;font-weight:700;transition:filter .12s,transform .12s;display:flex;position:absolute;overflow:hidden;box-shadow:0 8px 16px #101f3524}.hp-or-block:hover{filter:brightness(.92);transform:translateY(-1px)}.hp-or-block.is-elective{color:#fff;background:linear-gradient(120deg,#1678e5b8,#1678e58c);border:1px solid #1678e566}.hp-or-block.is-urgent{color:#5c3800;background:linear-gradient(120deg,#eab308cc,#eab308a3);border:1px solid #eab30880}.hp-or-block.is-emergency{color:#fff;background:linear-gradient(120deg,#dc2626c2,#dc262699);border:1px solid #dc262673}.hp-or-block.is-pre-op{color:#fff;background:linear-gradient(120deg,#8b5cf6b8,#8b5cf68f);border:1px solid #8b5cf666}.hp-or-block.is-in-progress{color:#fff;background:linear-gradient(120deg,#11ba96d1,#11ba96a8);border:1px solid #11ba9680}.hp-or-block.is-closing{color:#fff;background:linear-gradient(120deg,#6366f1b3,#6366f18a);border:1px solid #6366f166}.hp-or-block.is-completed{color:#4a7496;background:#0f4c841a;border:1px solid #0f4c842e}.hp-or-block.is-cancelled{color:#9bb4ca;opacity:.6;background:#0000000f;border:1px solid #0000001a;text-decoration:line-through}.hp-or-no-cases{text-align:center;color:#7fa0bc;padding:2.5rem 1rem;font-size:1rem}.hp-or-case-detail{grid-template-columns:1fr 1fr;gap:.5rem 1.2rem;margin-bottom:1rem;display:grid}.hp-or-case-detail dt{color:#7fa0bc;margin-bottom:.1rem;font-size:1rem;font-weight:500}.hp-or-case-detail dd{color:#143b5f;margin:0 0 .5rem;font-size:1rem;font-weight:600}.hp-or-status-badge{border-radius:999px;padding:.2rem .6rem;font-size:1rem;font-weight:700;display:inline-block}.hp-or-status-badge.is-scheduled{color:#1167b1;background:#1678e524}.hp-or-status-badge.is-pre-op{color:#6b21a8;background:#8b5cf624}.hp-or-status-badge.is-in-progress{color:#0e6e57;background:#11ba9629}.hp-or-status-badge.is-closing{color:#3730a3;background:#6366f124}.hp-or-status-badge.is-completed{color:#3a6280;background:#0f4c841a}.hp-or-status-badge.is-cancelled{color:#8aacca;background:#00000012}.hp-or-next-badge{color:#1167b1;background:#1678e51a;border-radius:.4rem;margin-top:.4rem;padding:.2rem .45rem;font-size:1rem;display:inline-block}.hp-ward-hint-maint{color:#92400e;background:#f59e0b1f;border-radius:.4rem;padding:.2rem .45rem;font-size:1rem;display:inline-block}.hp-ward-hint-isol{color:#991b1b;background:#ef44441a;border-radius:.4rem;padding:.2rem .45rem;font-size:1rem;display:inline-block}.hp-ward-hint-row{flex-wrap:wrap;gap:6px;display:flex}.hp-controls-full{grid-template-columns:1fr}.hp-or-book-panel{max-width:640px}.hp-or-book-success{color:#0e6e57;background:#11ba9624;margin-bottom:1rem}.hp-or-detail-full{grid-column:1/-1}.hp-or-room-grid{grid-template-columns:1fr 1fr;align-items:stretch;gap:1.25rem;display:grid}.hp-or-room-card{border:1px solid var(--hp-border,#e5e8f0);background:var(--hp-surface,#fff);border-radius:.75rem;flex-direction:column;min-height:360px;padding:1.25rem;transition:opacity .2s;display:flex}.hp-or-room-card.is-maintenance{opacity:.7;background:#fafafa;border-color:#e0c890}.hp-or-card-head{justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:.9rem;display:flex}.hp-or-card-head h2{margin:0;font-size:1.05rem;font-weight:700;line-height:1.3}.hp-or-card-head-right{flex-shrink:0;align-items:center;gap:.4rem;display:flex}.hp-or-maintenance-btn{white-space:nowrap;background:0 0;border:1px solid;border-radius:.4rem;padding:.25rem .55rem;font-size:1rem;font-weight:600;line-height:1.4;transition:background .15s}.hp-or-maintenance-btn.open{color:#b45309;border-color:#f59e0b}.hp-or-maintenance-btn.open:hover{background:#fef3c7}.hp-or-maintenance-btn.reopen{color:#166534;border-color:#22c55e}.hp-or-maintenance-btn.reopen:hover{background:#dcfce7}.hp-or-maintenance-btn.isolation{color:#991b1b;border-color:#ef4444}.hp-or-maintenance-btn.isolation:hover{background:#fee2e2}.hp-or-maintenance-btn.clear-isolation{color:#166534;border-color:#22c55e}.hp-or-maintenance-btn.clear-isolation:hover{background:#dcfce7}.hp-or-status-open{color:#166534;background:#22c55e1f;border:1px solid #22c55e4d;border-radius:.4rem;padding:.2rem .5rem;font-size:1rem;font-weight:600}.hp-or-status-maintenance{color:#92400e;background:#f59e0b1f;border:1px solid #f59e0b59;border-radius:.4rem;padding:.2rem .5rem;font-size:1rem;font-weight:600}.hp-or-status-closed,.hp-or-status-isolation{color:#991b1b;background:#ef44441f;border:1px solid #ef44444d;border-radius:.4rem;padding:.2rem .5rem;font-size:1rem;font-weight:600}.hp-or-card-body{flex-direction:column;flex:1;gap:.65rem;display:flex}.hp-or-card-divider{border:none;border-top:1px solid var(--hp-border,#e5e8f0);margin:.4rem 0}.hp-or-card-stats{background:var(--hp-surface-2,#f7f8fc);border-radius:.5rem;grid-template-columns:repeat(3,1fr);gap:.5rem;margin-bottom:.3rem;padding:.6rem .75rem;display:grid}.hp-or-card-stat{flex-direction:column;gap:.15rem;display:flex}.hp-or-card-stat-label{text-transform:uppercase;letter-spacing:.04em;color:var(--hp-text-muted,#8892a4);font-size:1rem;font-weight:600}.hp-or-card-stat-value{color:var(--hp-text,#1a202c);font-size:1rem;font-weight:700}.hp-or-card-stat-value.is-none{color:var(--hp-text-muted,#8892a4);font-weight:400}.hp-or-card-stat-value.is-green{color:#16a34a}.hp-or-card-stat-value.is-amber{color:#d97706}.hp-or-card-stat-value.is-red{color:#dc2626}.hp-or-occupancy-row{align-items:center;gap:.5rem;font-size:1rem;display:flex}.hp-or-schedule-view-bar{gap:.3rem;margin-bottom:0;display:flex}.hp-or-schedule-view-btn{border:1px solid var(--hp-border,#e5e8f0);color:var(--hp-text-muted,#8892a4);background:0 0;border-radius:.5rem;padding:.35rem .9rem;font-size:1rem;font-weight:600;transition:background .15s,color .15s,border-color .15s}.hp-or-schedule-view-btn:hover{background:var(--hp-surface-2,#f7f8fc);color:var(--hp-text,#1a202c)}.hp-or-schedule-view-btn.is-active{background:var(--hp-accent,#1167b1);color:#fff;border-color:var(--hp-accent,#1167b1)}@media(max-width:920px){.hp-or-schedule-toolbar,.hp-or-date-nav{flex-wrap:wrap}}.hp-or-block-resize-handle{cursor:ns-resize;background:0 0;width:100%;height:8px;transition:background .15s;position:absolute;left:0}.hp-or-block-resize-handle.is-top{border-radius:.35rem .35rem 0 0;top:0}.hp-or-block-resize-handle.is-bottom{border-radius:0 0 .35rem .35rem;bottom:0}.hp-or-block:hover .hp-or-block-resize-handle{background:#0000002e}.hp-or-block.is-dragging{opacity:.75;z-index:10;box-shadow:0 4px 16px #0000002e}.hp-or-week-timeline-wrap{padding-bottom:.25rem;overflow-x:auto}.hp-or-week-timeline-head,.hp-or-week-timeline-body{grid-template-columns:74px repeat(7,minmax(150px,1fr));gap:.45rem;min-width:1240px;display:grid}.hp-or-week-timeline-head{margin-bottom:.45rem}.hp-or-week-time-head,.hp-or-week-day-head{text-align:center;color:#143b5f;cursor:pointer;background:#ffffffe6;border-bottom:1px solid #0f4c841f;padding:.62rem .35rem;font-size:1rem;font-weight:800;transition:background .15s,color .15s}.hp-or-week-time-head{cursor:default;color:#5b7f9d}.hp-or-week-day-head:hover,.hp-or-week-day-head.is-today{background:var(--hp-accent,#1167b1);color:#fff}.hp-or-week-time-ruler,.hp-or-week-track{background:linear-gradient(#ffffffeb,#f2f8ffcc);border:1px solid #0f4c8424;border-radius:.65rem;height:1152px;overflow:hidden}.hp-or-week-time-ruler{grid-template-rows:repeat(97,1fr);display:grid;box-shadow:inset -1px 0 #0f4c841a}.hp-or-week-time-tick{color:#6f8ea8;justify-content:flex-end;align-items:flex-start;padding-right:.5rem;font-size:1rem;line-height:1;display:flex;position:relative}.hp-or-week-time-tick.is-hour{color:#123b60;border-top:1px solid #0f4c8442;padding-top:2px;font-size:1rem;font-weight:800}.hp-or-week-time-tick.is-quarter:after{content:"";background:#0f4c8429;width:7px;height:1px;position:absolute;top:0;right:.32rem}.hp-or-week-track{background:repeating-linear-gradient(#0f4c840a 0 48px,#ffffff57 48px 96px),repeating-linear-gradient(#0f4c841a 0 1px,#0000 1px 12px),#f0f8ffb3;position:relative}.hp-or-week-timeline-case{width:calc(100% - 10px);left:5px;top:var(--block-top,0%);height:var(--block-height,6%);cursor:pointer;z-index:1;border:1px solid #0000;border-radius:.42rem;flex-direction:column;gap:.1rem;min-height:26px;padding:.28rem .4rem;font-size:1rem;font-weight:800;line-height:1.15;transition:opacity .15s,transform .15s;display:flex;position:absolute;overflow:hidden;box-shadow:0 8px 16px #101f351a}.hp-or-week-timeline-case:hover{opacity:.8;transform:translateY(-1px)}.hp-or-week-case-time{opacity:.84;font-size:1rem}.hp-or-week-case-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hp-or-week-case-meta{text-overflow:ellipsis;white-space:nowrap;opacity:.88;font-size:1rem;line-height:1.15;overflow:hidden}.hp-or-week-timeline-case.is-room-a,.hp-or-week-timeline-case.is-room-b,.hp-or-week-timeline-case.is-room-c,.hp-or-week-timeline-case.is-room-d,.hp-or-week-timeline-case.is-room-e,.hp-or-week-timeline-case.is-room-f{background:linear-gradient(135deg,var(--or-room-color),var(--or-room-color))}@supports (color:color-mix(in lab,red,red)){.hp-or-week-timeline-case.is-room-a,.hp-or-week-timeline-case.is-room-b,.hp-or-week-timeline-case.is-room-c,.hp-or-week-timeline-case.is-room-d,.hp-or-week-timeline-case.is-room-e,.hp-or-week-timeline-case.is-room-f{background:linear-gradient(135deg,color-mix(in srgb,var(--or-room-color) 88%,white),color-mix(in srgb,var(--or-room-color) 70%,#143b5f))}}.hp-or-week-timeline-case.is-room-a,.hp-or-week-timeline-case.is-room-b,.hp-or-week-timeline-case.is-room-c,.hp-or-week-timeline-case.is-room-d,.hp-or-week-timeline-case.is-room-e,.hp-or-week-timeline-case.is-room-f{color:#fff;border-color:var(--or-room-border)}.hp-or-week-empty{color:var(--hp-text-muted,#8892a4);text-align:center;background:#ffffff8a;border:1px dashed #0f4c8429;border-radius:.55rem;place-items:center;font-size:1rem;display:grid;position:absolute;inset:.65rem}.hp-or-month-header{grid-template-columns:repeat(7,1fr);gap:.25rem;margin-bottom:.3rem;display:grid}.hp-or-month-day-name{text-align:center;color:var(--hp-text-muted,#8892a4);padding:.25rem 0;font-size:1rem;font-weight:700}.hp-or-month-grid{grid-template-columns:repeat(7,1fr);gap:.25rem;display:grid}.hp-or-month-cell{border:1px solid var(--hp-border,#e5e8f0);background:var(--hp-surface,#fff);border-radius:.45rem;flex-direction:column;gap:.2rem;min-height:72px;padding:.35rem .4rem;transition:background .15s;display:flex}.hp-or-month-cell:hover{background:var(--hp-surface-2,#f7f8fc)}.hp-or-month-cell.is-today{border-color:var(--hp-accent,#1167b1);background:#1167b10d}.hp-or-month-cell.is-other-month{opacity:.4;cursor:default}.hp-or-month-cell-date{color:var(--hp-text,#1a202c);font-size:1rem;font-weight:700}.hp-or-month-cell.is-today .hp-or-month-cell-date{color:var(--hp-accent,#1167b1)}.hp-or-month-dots{flex-wrap:wrap;gap:.2rem;display:flex}.hp-or-month-dot{background:var(--or-room-color);width:8px;height:8px;box-shadow:0 0 0 2px var(--or-room-soft);border-radius:50%;flex-shrink:0}.hp-or-week-grid{grid-template-columns:repeat(7,minmax(150px,1fr));gap:.65rem;padding-bottom:.25rem;display:grid;overflow-x:auto}.hp-or-week-col{background:linear-gradient(#ffffffe0,#f2f8ffc2);border:1px solid #0f4c8424;border-radius:.8rem;flex-direction:column;min-width:150px;min-height:220px;display:flex;overflow:hidden;box-shadow:0 10px 22px #101f3512}.hp-or-week-col-head{text-align:center;color:#143b5f;background:#ffffffe6;border-bottom:1px solid #0f4c841f;padding:.62rem .35rem;font-size:1rem;font-weight:800}.hp-or-week-col-head.is-today{background:var(--hp-accent,#1167b1);color:#fff}.hp-or-week-body{flex-direction:column;flex:1;gap:.45rem;padding:.62rem;display:flex;position:relative}.hp-or-week-case{border:1px solid var(--or-room-border);background:linear-gradient(135deg,var(--or-room-soft),#ffffffeb);box-shadow:inset 4px 0 0 var(--or-room-color),0 8px 16px #101f3517;border-radius:.42rem;padding:.45rem .55rem;font-size:1rem;font-weight:800;line-height:1.25}.hp-or-week-grid .hp-or-week-empty{min-height:4rem;position:static;inset:auto}.hp-or-month-more{color:var(--hp-text-muted,#8892a4);font-size:1rem;font-weight:600}.hp-or-turnover-badge{white-space:nowrap;pointer-events:none;z-index:3;border-radius:.25rem;padding:.1rem .3rem;font-size:1rem;font-weight:700;position:absolute;top:50%;transform:translateY(-50%)}.hp-or-turnover-badge.is-ok{color:#166534;background:#22c55e26}.hp-or-turnover-badge.is-warn{color:#92400e;background:#f59e0b26}.hp-or-turnover-badge.is-tight{color:#991b1b;background:#ef444426}.hp-or-detail-page-head{flex-wrap:wrap;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.hp-or-detail-back{color:var(--hp-text-muted,#8892a4);align-items:center;gap:.3rem;font-size:1rem;text-decoration:none;transition:color .15s;display:flex}.hp-or-detail-back:hover{color:var(--hp-accent,#1167b1)}.hp-or-status-stepper{align-items:center;gap:0;margin:1rem 0;padding-bottom:.25rem;display:flex;overflow-x:auto}.hp-or-stepper-step{flex-shrink:0;align-items:center;gap:0;display:flex}.hp-or-stepper-node{background:var(--hp-border,#e5e8f0);width:2rem;height:2rem;color:var(--hp-text-muted,#8892a4);border:2px solid var(--hp-border,#e5e8f0);z-index:1;border-radius:50%;justify-content:center;align-items:center;font-size:1rem;font-weight:700;display:flex}.hp-or-stepper-node.is-done{background:var(--hp-accent,#1167b1);color:#fff;border-color:var(--hp-accent,#1167b1)}.hp-or-stepper-node.is-active{color:var(--hp-accent,#1167b1);border-color:var(--hp-accent,#1167b1);background:#fff;box-shadow:0 0 0 3px #1167b12e}.hp-or-stepper-connector{background:var(--hp-border,#e5e8f0);width:2.5rem;height:2px}.hp-or-stepper-label{text-align:center;color:var(--hp-text-muted,#8892a4);white-space:nowrap;margin-top:.3rem;font-size:1rem}.hp-or-enrich-section{border:1px solid var(--hp-border,#e5e8f0);border-radius:.65rem;margin-bottom:.75rem;overflow:hidden}.hp-or-enrich-head{background:var(--hp-surface-2,#f7f8fc);-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;padding:.65rem 1rem;font-size:1rem;font-weight:700;display:flex}.hp-or-enrich-head:hover{background:var(--hp-border,#e5e8f0)}.hp-or-enrich-body{padding:1rem}.hp-or-checklist{flex-direction:column;gap:.5rem;display:flex}.hp-or-checklist-item{align-items:center;gap:.6rem;font-size:1rem;display:flex}.hp-or-checklist-item input[type=checkbox]{width:1rem;height:1rem;accent-color:var(--hp-accent,#1167b1)}.hp-or-metrics-grid{grid-template-columns:repeat(4,1fr);gap:.75rem;margin-bottom:1.25rem;display:grid}.hp-or-metric-card{background:var(--hp-surface-2,#f7f8fc);border:1px solid var(--hp-border,#e5e8f0);border-radius:.65rem;flex-direction:column;gap:.25rem;padding:.9rem 1rem;display:flex}.hp-or-metric-label{text-transform:uppercase;letter-spacing:.04em;color:var(--hp-text-muted,#8892a4);font-size:1rem;font-weight:700}.hp-or-metric-value{color:var(--hp-text,#1a202c);font-size:1.6rem;font-weight:800;line-height:1}.hp-or-metric-sub{color:var(--hp-text-muted,#8892a4);font-size:1rem}.hp-or-util-bar-row{align-items:center;gap:.75rem;margin-bottom:.5rem;display:flex}.hp-or-util-bar-label{flex-shrink:0;width:60px;font-size:1rem;font-weight:600}.hp-or-util-bar-track{background:var(--hp-border,#e5e8f0);border-radius:999px;flex:1;height:10px;overflow:hidden}.hp-or-util-bar-fill{background:var(--hp-accent,#1167b1);border-radius:999px;height:100%;transition:width .4s}.hp-or-util-pct{color:var(--hp-text,#1a202c);text-align:right;min-width:38px;font-size:1rem;font-weight:700}.hp-or-priority-high{color:#991b1b;background:#ef444426;border:1px solid #ef44444d;border-radius:.4rem;padding:.15rem .45rem;font-size:1rem;font-weight:700}.hp-or-priority-medium{color:#92400e;background:#f59e0b26;border:1px solid #f59e0b59;border-radius:.4rem;padding:.15rem .45rem;font-size:1rem;font-weight:700}.hp-or-priority-low{color:#166534;background:#22c55e1f;border:1px solid #22c55e4d;border-radius:.4rem;padding:.15rem .45rem;font-size:1rem;font-weight:700}.hp-or-heatmap{grid-template-columns:auto repeat(12,1fr);gap:3px;font-size:1rem;display:grid}.hp-or-heatmap-label{color:var(--hp-text-muted,#8892a4);text-align:right;justify-content:flex-end;align-items:center;padding-right:.4rem;font-weight:600;display:flex}.hp-or-heatmap-cell{background:var(--hp-border,#e5e8f0);border-radius:.25rem;height:24px;transition:background .2s}.hp-or-heatmap-cell.d1{background:#1167b126}.hp-or-heatmap-cell.d2{background:#1167b14d}.hp-or-heatmap-cell.d3{background:#1167b18c}.hp-or-heatmap-cell.d4{background:#1167b1cc}.hp-or-card-actions{flex-wrap:wrap;gap:.5rem;margin-top:auto;padding-top:.75rem;display:flex}.hp-or-block-label{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.hp-or-block-meta{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;opacity:.92;font-size:1rem;line-height:1.2;overflow:hidden}.hp-or-inc-item{margin-bottom:.5rem;padding:.65rem .9rem}.hp-or-inc-item-header{justify-content:space-between;align-items:center;display:flex}.hp-or-inc-muted{color:var(--hp-text-muted)}.hp-or-section-spacer{margin-top:.75rem}.hp-or-section-spacer-sm{margin-top:.5rem}.hp-or-sub-panel{margin-bottom:1rem;padding:1rem 1.25rem}.hp-or-sub-panel-top{margin-top:1.5rem;padding:1rem 1.25rem}.hp-or-sub-h2{margin-bottom:.75rem;font-size:1rem}.hp-or-full-width-table{width:100%}.hp-or-log-list{flex-direction:column;gap:.5rem;display:flex}.hp-or-log-item{padding:.65rem .9rem}.hp-or-item-row{justify-content:space-between;align-items:center;display:flex}.hp-or-item-row-start{justify-content:space-between;display:flex}.hp-or-item-actions{gap:.4rem;margin-top:.4rem;display:flex}.hp-or-muted{color:var(--hp-text-muted)}.hp-or-muted-top{color:var(--hp-text-muted);margin-top:.4rem}.hp-or-spacer-btn{margin-top:.5rem}.hp-or-form-spaced{margin-top:.75rem}.hp-or-actions-spaced{margin-bottom:1.25rem}.hp-or-stepper-step{flex:1;align-items:center;display:flex}.hp-or-stepper-node{background:var(--hp-bg-card,#f0f0f0);border:2px solid var(--hp-border,#ddd);border-radius:50%;justify-content:center;align-items:center;width:2rem;height:2rem;font-size:1rem;font-weight:700;display:flex}.hp-or-stepper-node.is-done{background:var(--hp-success,#22c55e);border-color:var(--hp-success,#22c55e);color:#fff}.hp-or-stepper-node.is-active{background:var(--hp-primary,#2563eb);border-color:var(--hp-primary,#2563eb);color:#fff}.hp-or-stepper-connector{background:var(--hp-border,#ddd);flex:1;height:2px}.hp-or-stepper-connector.is-done{background:var(--hp-success,#22c55e)}.hp-or-stepper-label{color:var(--hp-text-muted);text-align:center;margin-top:.25rem;font-size:1rem}.hp-or-stepper-label.is-active{color:var(--hp-primary,#2563eb);font-weight:600}.hp-or-status-stepper{align-items:flex-start;gap:0;margin:1rem 0 1.5rem;display:flex}.hp-or-stepper-step-inner{flex-direction:column;align-items:center;display:flex}.hp-or-week-case-time{font-weight:600}.hp-or-chip-top{margin-top:.25rem}.hp-ward-stats-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:24px;display:grid}.hp-ward-stat-card{background:var(--hp-surface);border:1px solid var(--hp-border);border-radius:10px;padding:16px 18px}.hp-ward-stat-label{text-transform:uppercase;letter-spacing:.05em;color:var(--hp-muted);margin-bottom:4px;font-size:1rem;font-weight:600}.hp-ward-stat-value{color:var(--hp-text);font-size:28px;font-weight:700;line-height:1}.hp-ward-stat-value.is-green{color:#22c55e}.hp-ward-stat-value.is-amber{color:#f59e0b}.hp-ward-stat-value.is-red{color:#ef4444}.hp-ward-type-tabs{flex-wrap:wrap;gap:8px;margin-bottom:20px;display:flex}.hp-ward-type-tab{border:1px solid var(--hp-border);color:var(--hp-muted);background:0 0;border-radius:20px;padding:6px 14px;font-size:1rem;transition:background .15s,color .15s}.hp-ward-type-tab.is-active{background:var(--hp-primary);color:#fff;border-color:var(--hp-primary)}.hp-ward-room-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;display:grid}.hp-ward-room-card{background:var(--hp-surface);border:1px solid var(--hp-border);border-radius:12px;padding:16px}.hp-ward-room-card.is-maintenance{border-color:#f59e0b}.hp-ward-room-card.is-isolation{border-color:#ef4444}.hp-ward-card-head{justify-content:space-between;align-items:flex-start;margin-bottom:10px;display:flex}.hp-ward-card-badges{flex-wrap:wrap;gap:6px;margin-bottom:8px;display:flex}.hp-ward-card-title{color:var(--hp-text);font-size:16px;font-weight:700}.hp-ward-card-subtitle{color:var(--hp-muted);margin-top:2px;font-size:1rem}.hp-ward-occ-bar{background:var(--hp-border);border-radius:3px;height:6px;margin-bottom:12px;overflow:hidden}.hp-ward-occ-fill{height:100%;width:var(--occ-w,0%);background:#22c55e;border-radius:3px;transition:width .3s}.hp-ward-occ-fill.is-warn{background:#f59e0b}.hp-ward-occ-fill.is-critical{background:#ef4444}.hp-ward-bed-grid{flex-wrap:wrap;gap:4px;margin-bottom:12px;display:flex}.hp-ward-bed{border:1px solid var(--hp-border);border-radius:3px;width:22px;height:16px}.hp-ward-bed.is-occupied{background:var(--hp-primary);border-color:var(--hp-primary)}.hp-ward-bed.is-empty{background:var(--hp-surface-alt,#f0f4f8)}.hp-bed-grid{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.hp-bed-tile{border:1.5px solid var(--hp-border);cursor:default;-webkit-user-select:none;user-select:none;background:var(--hp-surface-alt,#f0f4f8);width:36px;height:40px;color:var(--hp-muted);border-radius:6px;flex-direction:column;justify-content:center;align-items:center;font-size:1rem;font-weight:700;transition:transform .1s,box-shadow .1s;display:flex}.hp-bed-tile.is-occupied{background:var(--hp-primary);border-color:var(--hp-primary);color:#fff;cursor:default}.hp-bed-tile.is-available{color:#15803d;background:#22c55e1a;border-color:#22c55e73}.hp-bed-tile.is-available:hover{background:#22c55e2e;transform:translateY(-1px);box-shadow:0 2px 6px #22c55e2e}.hp-bed-tile.is-maintenance{color:#b45309;background:#f59e0b1f;border-color:#f59e0b80}.hp-bed-tile.is-maintenance:hover{background:#f59e0b38;transform:translateY(-1px)}.hp-bed-tile.is-isolation{color:#b91c1c;background:#ef44441a;border-color:#ef444473}.hp-bed-tile.is-isolation:hover{background:#ef44442e;transform:translateY(-1px)}.hp-bed-tile-num{font-size:1rem;font-weight:700;line-height:1}.hp-bed-tile-icon{margin-top:2px;font-size:1rem;line-height:1}.hp-bed-legend{color:var(--hp-muted);flex-wrap:wrap;gap:10px;margin-bottom:10px;font-size:1rem;display:flex}.hp-bed-legend-item{align-items:center;gap:4px;display:flex}.hp-bed-legend-dot{border:1px solid #0000;border-radius:3px;flex-shrink:0;width:10px;height:10px}.hp-bed-legend-dot.is-occupied{background:var(--hp-primary);border-color:var(--hp-primary)}.hp-bed-legend-dot.is-available{background:#22c55e33;border-color:#22c55e80}.hp-bed-legend-dot.is-maintenance{background:#f59e0b33;border-color:#f59e0b80}.hp-bed-legend-dot.is-isolation{background:#ef444426;border-color:#ef444480}.hp-bed-popover-wrap{display:inline-block}.hp-bed-popover{background:var(--hp-surface);border:1px solid var(--hp-border);z-index:20;border-radius:8px;min-width:160px;padding:6px 4px;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0000001f}.hp-bed-popover-label{color:var(--hp-muted);text-transform:uppercase;letter-spacing:.05em;padding:2px 10px 4px;font-size:1rem;font-weight:700}.hp-bed-popover-item{width:100%;color:var(--hp-text);text-align:left;background:0 0;border:none;border-radius:5px;padding:6px 10px;font-size:1rem;font-weight:500;transition:background .1s;display:block}.hp-bed-popover-item:hover{background:var(--hp-surface-alt,#f0f4f8)}.hp-bed-popover-item.is-disabled{color:var(--hp-muted);cursor:not-allowed;font-style:italic}.hp-ward-notes-callout{color:#92400e;background:#f59e0b14;border:1px solid #f59e0b4d;border-left:3px solid #f59e0b;border-radius:7px;align-items:flex-start;gap:7px;margin-bottom:10px;padding:7px 10px;font-size:1rem;line-height:1.4;display:flex}.hp-ward-notes-callout-icon{flex-shrink:0;margin-top:1px;font-size:1rem}.hp-ward-settings-hint{color:var(--hp-muted);background:var(--hp-surface-alt,#f8fafc);border:1px solid var(--hp-border);border-radius:5px;margin-top:10px;padding:6px 8px;font-size:1rem;font-style:italic}.hp-ward-detail-grid-4{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px;display:grid}@media(max-width:700px){.hp-ward-detail-grid-4{grid-template-columns:repeat(2,1fr)}}.hp-ward-patient-list{margin-bottom:12px}.hp-ward-patient-row{border-bottom:1px solid var(--hp-border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:5px 0;font-size:1rem;display:flex}.hp-ward-patient-row:last-child{border-bottom:none}.hp-ward-patient-name{color:var(--hp-text);font-weight:600}.hp-ward-patient-meta{color:var(--hp-muted);margin-top:1px;font-size:1rem}.hp-ward-edd-row{flex-wrap:wrap;align-items:center;gap:6px;width:100%;padding-bottom:4px;display:flex}.hp-admit-form{flex-direction:column;gap:.85rem;display:flex}.hp-admit-field{flex-direction:column;gap:.3rem;display:flex}.hp-admit-field label{color:var(--hp-text-muted,#8892a4);text-transform:uppercase;letter-spacing:.04em;font-size:1rem;font-weight:600}.hp-ward-card-actions{border-top:1px solid var(--hp-border);flex-wrap:wrap;gap:6px;margin-top:12px;padding-top:12px;display:flex}.hp-ward-isolation-badge{color:#ef4444;background:#ef44441f;border-radius:12px;align-items:center;gap:4px;padding:2px 8px;font-size:1rem;font-weight:600;display:inline-flex}.hp-ward-maint-badge{color:#f59e0b;background:#f59e0b1f;border-radius:12px;align-items:center;gap:4px;padding:2px 8px;font-size:1rem;font-weight:600;display:inline-flex}.hp-ward-notes-area{color:var(--hp-muted);border-left:2px solid var(--hp-border);background:var(--hp-surface-alt,#f8fafc);border-radius:0 4px 4px 0;margin-bottom:10px;padding:6px 8px;font-size:1rem;font-style:italic}.hp-ward-discharge-table{border-collapse:collapse;width:100%}.hp-ward-discharge-table th,.hp-ward-discharge-table td{text-align:left;border-bottom:1px solid var(--hp-border);padding:10px 12px;font-size:1rem}.hp-ward-discharge-table th{text-transform:uppercase;letter-spacing:.04em;color:var(--hp-muted);font-size:1rem;font-weight:600}.hp-ward-edd-badge{border-radius:12px;padding:2px 8px;font-size:1rem;font-weight:600;display:inline-block}.hp-ward-edd-badge.is-overdue{color:#ef4444;background:#ef44441f}.hp-ward-edd-badge.is-today{color:#f59e0b;background:#f59e0b1f}.hp-ward-edd-badge.is-upcoming{color:#22c55e;background:#22c55e1f}.hp-ward-los-badge{background:var(--hp-surface-alt,#f0f4f8);color:var(--hp-text);border-radius:12px;padding:2px 8px;font-size:1rem;font-weight:600;display:inline-block}.hp-ward-los-badge.is-long{color:#f59e0b;background:#f59e0b1f}.hp-ward-los-badge.is-critical{color:#ef4444;background:#ef44441f}.hp-ward-detail-grid{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px;display:grid}.hp-ward-detail-info{background:var(--hp-surface);border:1px solid var(--hp-border);border-radius:10px;padding:16px}.hp-ward-detail-info-label{text-transform:uppercase;letter-spacing:.04em;color:var(--hp-muted);margin-bottom:4px;font-size:1rem;font-weight:600}.hp-ward-detail-info-value{color:var(--hp-text);font-size:22px;font-weight:700}.hp-ward-occ-label{color:var(--hp-muted);justify-content:space-between;margin-bottom:4px;font-size:1rem;display:flex}.hp-ward-section-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.hp-ward-section-head h2{color:var(--hp-text);font-size:1rem;font-weight:700}.hp-ward-empty{color:var(--hp-muted);text-align:center;padding:24px 0;font-size:1rem}.hp-ward-transfer-row{align-items:center;gap:8px;display:flex}.hp-room-management-page{width:min(100%,1580px);margin-left:auto;margin-right:auto}.hp-room-management-page .hp-page-header{max-width:980px}.hp-room-management-page .hp-ward-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1.1rem}.hp-room-management-page .hp-ward-stat-card{background:linear-gradient(#ffffffeb,#f5faffcc);border-radius:.85rem;padding:.85rem 1rem;box-shadow:0 10px 22px #101f3512}.hp-room-management-page .hp-ward-stat-label{margin:0 0 .35rem;font-size:1rem}.hp-room-management-page .hp-ward-stat-value{letter-spacing:-.03em;margin:0;font-size:clamp(1.35rem,1.4vw,1.8rem)}.hp-room-management-page .hp-or-room-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:1rem;display:grid}.hp-room-management-page .hp-or-room-card{background:linear-gradient(#fffffff0,#f8fcffdb);border-radius:1rem;min-height:0;padding:1rem;box-shadow:0 12px 26px #101f3514}.hp-room-management-page .hp-or-room-card.is-maintenance{opacity:1;background:linear-gradient(#fffbebeb,#ffffffe0)}.hp-room-management-page .hp-or-card-head{align-items:flex-start;gap:.75rem;margin-bottom:.65rem}.hp-room-management-page .hp-or-card-head h2{flex-wrap:wrap;align-items:center;gap:.45rem;font-size:1.05rem;display:flex}.hp-room-management-page .hp-or-card-head-right{flex-wrap:wrap;justify-content:flex-end;gap:.35rem;max-width:62%}.hp-room-management-page .hp-or-card-divider{margin:.25rem 0 .65rem}.hp-room-management-page .hp-or-card-stats{gap:.45rem;margin-bottom:.1rem;padding:.55rem}.hp-room-management-page .hp-or-card-stat{background:#ffffffad;border:1px solid #0f4c8414;border-radius:.55rem;min-width:0;padding:.45rem .5rem}.hp-room-management-page .hp-or-card-stat-label,.hp-room-management-page .hp-or-card-stat-value{font-size:1rem}.hp-room-management-page .hp-or-card-body{gap:.55rem}.hp-room-management-page .hp-ward-notes-callout{margin-bottom:0;padding:.55rem .65rem;font-size:1rem}.hp-room-management-page .hp-ward-hint-row{gap:.4rem}.hp-room-management-page .hp-ward-hint-maint,.hp-room-management-page .hp-ward-hint-isol{padding:.22rem .48rem;font-size:1rem}.hp-room-management-page .hp-ward-occ-bar{background:#0f4c841f;height:5px;margin:.1rem 0 .35rem}.hp-room-management-page .hp-bed-legend{gap:.55rem;margin:0 0 .35rem;font-size:1rem}.hp-room-management-page .hp-bed-grid{grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:.4rem;margin-bottom:.55rem;display:grid}.hp-room-management-page .hp-bed-popover-wrap{display:block;position:relative}.hp-room-management-page .hp-bed-tile{border-radius:.55rem;width:100%;height:38px;font-size:1rem}.hp-room-management-page .hp-bed-tile-num,.hp-room-management-page .hp-bed-tile-icon{font-size:1rem}.hp-room-management-page .hp-ward-patient-list{gap:.55rem;margin:.1rem 0 .35rem;display:grid}.hp-room-management-page .hp-ward-patient-row{background:#ffffffb8;border:1px solid #0f4c841f;border-radius:.75rem;grid-template-columns:minmax(130px,1fr) minmax(130px,.75fr);align-items:center;gap:.55rem .7rem;padding:.65rem;display:grid}.hp-room-management-page .hp-ward-patient-row:last-child{border-bottom:1px solid #0f4c841f}.hp-room-management-page .hp-ward-patient-main{min-width:0}.hp-room-management-page .hp-ward-patient-name{color:#143b5f;margin:0;font-size:1rem}.hp-room-management-page .hp-ward-patient-meta{margin:.12rem 0 0;font-size:1rem}.hp-room-management-page .hp-ward-patient-routing{justify-content:flex-end;align-items:center;gap:.4rem;min-width:0;display:flex}.hp-room-management-page .hp-ward-patient-routing .hp-input-sm{width:min(100%,150px);min-width:0}.hp-room-management-page .hp-ward-edd-row{background:#eff6ffad;border-radius:.65rem;grid-column:1/-1;grid-template-columns:auto minmax(150px,1fr) auto;align-items:center;gap:.45rem;width:100%;padding:.45rem;display:grid}.hp-room-management-page .hp-ward-edd-row .hp-input-sm{width:100%;min-width:0}.hp-room-management-page .hp-or-card-actions{border-top:1px solid #0f4c841a;align-items:center;gap:.45rem;margin-top:auto;padding-top:.75rem}.hp-room-management-page .hp-or-card-actions .hp-btn,.hp-room-management-page .hp-or-card-actions .hp-or-maintenance-btn{min-height:2rem}@media(min-width:1750px){.hp-room-management-page .hp-or-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.hp-room-management-page .hp-or-room-grid{grid-template-columns:1fr}}@media(max-width:1180px){.hp-room-management-page .hp-ward-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.hp-room-management-page .hp-ward-stats-grid{grid-template-columns:1fr}.hp-room-management-page .hp-or-card-head{flex-direction:column}.hp-room-management-page .hp-or-card-head-right{justify-content:flex-start;max-width:none}.hp-room-management-page .hp-or-card-stats,.hp-room-management-page .hp-ward-patient-row{grid-template-columns:1fr}.hp-room-management-page .hp-ward-patient-routing{flex-wrap:wrap;justify-content:flex-start}.hp-room-management-page .hp-ward-edd-row{grid-template-columns:1fr}}@media(max-width:1200px){.hp-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:920px){.hp-app{grid-template-columns:1fr;height:auto;overflow:visible}.hp-sidebar{border-bottom:1px solid #0f4c842e;border-right:0;height:auto;overflow:visible}.hp-main{height:auto;overflow:visible}.hp-grid-2,.hp-grid-3,.hp-grid-4,.hp-kanban-mini,.hp-kanban-detail,.hp-controls,.hp-controls-compact{grid-template-columns:1fr}.hp-patient-actions{justify-items:start}.hp-inline-row,.hp-routing-row,.hp-lab-row,.hp-inventory-row,.hp-invoice-row{flex-direction:column;align-items:flex-start}.hp-patient-row{flex-direction:column}.hp-topbar{flex-direction:column;align-items:start}.hp-page-header-top{flex-direction:column;align-items:stretch}.hp-panel-head{flex-wrap:wrap;align-items:flex-start}.hp-panel-head .hp-btn,.hp-panel-head a.hp-btn{justify-content:center;width:100%}.hp-topbar-right{flex-wrap:wrap;justify-content:flex-start;width:100%}.hp-topbar-register-btn{justify-content:center;width:100%}.hp-main{padding:.85rem}.hp-context-bar,.hp-workspace-identity,.hp-workspace-actions,.hp-stepper{flex-direction:column;align-items:stretch}.hp-stepper-track{overflow-x:auto}.hp-kv-row{grid-template-columns:1fr;gap:.2rem}.hp-kpi-bar-label{white-space:normal;font-size:1rem;line-height:1.25}.hp-insight-chips{gap:.3rem}.hp-insight-chip{white-space:normal;line-height:1.2}.hp-kpi-bar-row{grid-template-columns:1fr;gap:.3rem}.hp-kpi-bar-value{justify-self:start}.hp-filter-search,.hp-controls input,.hp-controls select,.hp-inline-filter input,.hp-inline-filter select{width:100%;min-width:0}.hp-inline-filter,.hp-inline-filter input,.hp-inline-filter select{width:100%}.hp-transfer-layout{grid-template-columns:1fr}.hp-transfer-float-wrap{grid-template-columns:1fr;gap:.45rem;width:min(760px,100%)}.hp-transfer-arrow{width:44px;height:44px;transform:rotate(90deg)}.hp-transfer-layout.has-target .hp-transfer-arrow{transform:rotate(90deg)scale(1.06)}.hp-transfer-float-left-shell,.hp-transfer-float-right{width:fit-content;max-width:100%;margin-inline:auto}.hp-transfer-right-pane{min-height:0}.hp-transfer-grid{grid-template-columns:repeat(3,minmax(0,140px));justify-content:center;gap:.35rem}}@media(max-width:640px){.hp-modal-backdrop{place-items:start center;padding:.6rem;overflow-y:auto}.hp-main{padding:.65rem}.hp-topbar{padding:.75rem}.hp-topbar-logo-with-text{width:132px}.hp-panel{padding:.72rem}.hp-card{border-radius:.86rem}.hp-stat-card{gap:.65rem;padding:.72rem}.hp-context-bar{padding:.62rem .7rem}.hp-transfer-float-wrap{align-content:start;gap:.35rem}.hp-transfer-float-left-shell,.hp-transfer-float-right{width:fit-content;max-width:calc(100vw - 1.25rem)}.hp-transfer-float-right{max-height:none;overflow:auto}.hp-transfer-right-pane{overflow:visible}.hp-transfer-grid{grid-template-columns:repeat(2,minmax(0,140px));justify-content:center;gap:.32rem}.hp-grid{gap:.7rem}.hp-kicker{font-size:1rem}.hp-user-popover,.hp-bell-popover{width:min(92vw,360px);right:0}}.hp-nav-group{flex-direction:column;gap:.3rem;display:flex}.hp-nav-group+.hp-nav-group{margin-top:.9rem}.hp-nav-group-label{text-transform:uppercase;letter-spacing:.08em;color:#6f8db0;margin:0 0 .15rem;padding:0 .3rem;font-size:1rem;font-weight:700}.hp-nav-group-items{flex-direction:column;gap:.3rem;display:flex}.hp-workspace{flex-direction:column;gap:.9rem;display:flex}.hp-workspace-header{flex-direction:column;gap:.85rem;display:flex}.hp-workspace-identity{justify-content:space-between;align-items:flex-start;gap:1.2rem;display:flex}.hp-workspace-identity-main{flex:1;min-width:0}.hp-workspace-name-row{align-items:center;gap:.7rem;margin:.15rem 0 .4rem;display:flex}.hp-workspace-name-row h1{color:#143b5f;margin:0;font-size:1.4rem}.hp-workspace-meta{color:#41688a;margin:.15rem 0;font-size:1rem}.hp-workspace-qr{font:inherit;color:inherit;background:#fff;border:1px solid #0f4c842e;border-radius:.7rem;flex-direction:column;align-items:center;gap:.3rem;padding:.5rem;display:flex;position:relative;overflow:hidden}.hp-workspace-qr:hover{border-color:#0f4c8457;box-shadow:0 8px 18px #101f351a}.hp-workspace-qr:after{content:"";pointer-events:none;border:2px solid #1678e500;border-radius:.8rem;animation:2.4s ease-out infinite hp-qr-pulse;position:absolute;inset:-2px}.hp-workspace-qr code{color:#41688a;font-size:1rem}.hp-workspace-qr-badge{letter-spacing:.04em;text-transform:uppercase;color:#0f4f8e;background:linear-gradient(135deg,#1678e52e,#11ba962e);border:1px solid #0f4c843d;border-radius:999px;padding:.12rem .42rem;font-size:1rem;font-weight:700;position:absolute;top:.35rem;right:.35rem}@keyframes hp-qr-pulse{0%{border-color:#1678e500;transform:scale(1)}35%{border-color:#1678e552;transform:scale(1.01)}to{border-color:#1678e500;transform:scale(1.02)}}.hp-workspace-actions{border-top:1px dashed #0f4c8429;flex-wrap:wrap;gap:.4rem;padding-top:.5rem;display:flex}.hp-workspace-actions-flat{border-top:0;padding-top:0}.hp-workspace-card-head{justify-content:space-between;align-items:center;gap:.75rem;width:100%;display:flex}.hp-workspace-card-title{align-items:center;gap:.45rem;margin:0;display:inline-flex}.hp-workspace-card-actions{justify-content:flex-end;align-items:center;gap:.4rem;margin-left:auto;display:inline-flex}.hp-stepper{justify-content:space-between;align-items:center;gap:1rem;display:flex}.hp-stepper-track{flex-wrap:nowrap;flex:1;align-items:center;gap:0;margin:0;padding:0;list-style:none;display:flex}.hp-step{flex:1;align-items:center;gap:.5rem;min-width:0;display:flex}.hp-step:after{content:"";z-index:0;background:#0f4c8429;width:100%;height:2px;position:absolute;top:14px;left:50%}.hp-step:last-child:after{content:none}.hp-step-done:after,.hp-step-current:after{background:linear-gradient(90deg,#1678e5,#11ba96)}.hp-step-dot{color:#6f8db0;z-index:1;background:#fff;border:2px solid #0f4c8438;border-radius:50%;flex-shrink:0;place-items:center;width:28px;height:28px;font-size:1rem;font-weight:700;display:grid}.hp-step-done .hp-step-dot{color:#fff;background:linear-gradient(130deg,#1678e5,#11ba96);border-color:#0000}.hp-step-current .hp-step-dot{color:#1678e5;background:#fff;border-color:#1678e5;box-shadow:0 0 0 3px #1678e52e}.hp-step-label{color:#41688a;white-space:nowrap;text-overflow:ellipsis;background:#ffffffeb;border-radius:.25rem;padding:0 .2rem;font-size:1rem;overflow:hidden}.hp-step-current .hp-step-label{color:#143b5f;font-weight:600}.hp-stepper-meta{flex-shrink:0;align-items:center;gap:.5rem;display:flex}.hp-stepper-eta{color:#41688a;background:#0f4c8414;border-radius:999px;padding:.25rem .6rem;font-size:1rem}.hp-stepper-done{color:#106850;background:#088f7029;border-radius:999px;padding:.25rem .6rem;font-size:1rem;font-weight:600}.hp-tabs{flex-direction:column;gap:.85rem;display:flex}.hp-tabs-bar{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffffc7;border:1px solid #0f4c8429;border-radius:.8rem;flex-wrap:wrap;gap:.3rem;padding:.3rem;display:flex}.hp-tab{color:#41688a;background:0 0;border:0;border-radius:.6rem;align-items:center;gap:.4rem;padding:.5rem .9rem;font-size:1rem;font-weight:500;transition:all .15s;display:inline-flex}.hp-tab-label{align-items:center;gap:.35rem;display:inline-flex}.hp-tab:hover{color:#143b5f;background:#0f4c840f}.hp-tab-active{color:#fff;background:linear-gradient(130deg,#1678e5,#11ba96);font-weight:600}.hp-tab-active:hover{color:#fff;background:linear-gradient(130deg,#1678e5,#11ba96)}.hp-tab-badge{color:#143b5f;background:#0f4c8424;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 .4rem;font-size:.82rem;font-weight:700;line-height:1;display:inline-flex}.hp-tab-active .hp-tab-badge{color:#fff;background:#ffffff47}.hp-tabs-panel{flex-direction:column;gap:.85rem;display:flex}.hp-history-chips{flex-wrap:wrap;gap:.4rem;margin:.35rem 0 0;display:flex}.hp-history-chip{color:#1f4f77;background:#fff;border:1px solid #0f4c8433;border-radius:999px;padding:.38rem .72rem;font-size:.86rem;font-weight:600}.hp-history-chip.is-active{background:#1678e51f;border-color:#1678e559}.hp-history-group{gap:.45rem;display:grid}.hp-history-group-label{color:#577596;letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:.72rem;font-weight:700}.hp-history-type-badge{border:1px solid #0000;border-radius:999px;align-items:center;gap:.25rem;min-height:1.45rem;padding:.26rem .54rem;font-size:.76rem;font-weight:700;line-height:1;display:inline-flex}.hp-history-type-badge.is-visit,.hp-history-type-badge.is-admission,.hp-history-type-badge.is-discharge{color:#11548d;background:#1678e517;border-color:#1678e524}.hp-history-type-badge.is-note{color:#334155;background:#64748b1a;border-color:#64748b24}.hp-history-type-badge.is-document{color:#0369a1;background:#0ea5e917;border-color:#0ea5e924}.hp-history-type-badge.is-lab{color:#166534;background:#22c55e17;border-color:#22c55e24}.hp-history-type-badge.is-imaging{color:#6b21a8;background:#8b5cf617;border-color:#8b5cf624}.hp-history-type-badge.is-appointment{color:#92400e;background:#f59e0b17;border-color:#f59e0b29}.hp-history-type-badge.is-billing{color:#155e75;background:#06b6d417;border-color:#06b6d424}.hp-history-status{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-height:1.48rem;padding:.18rem .5rem;font-size:.75rem;font-weight:700;line-height:1;display:inline-flex}.hp-history-status.is-neutral{color:#334155;background:#94a3b81f}.hp-history-status.is-active{color:#0f4f86;background:#1678e51a}.hp-history-status.is-completed{color:#166534;background:#22c55e1a}.hp-history-status.is-attention{color:#991b1b;background:#ef44441a}.hp-history-empty-card{background:#ffffffb3;border:1px dashed #0f4c843d;border-radius:.7rem;padding:1rem}.hp-history-empty-card h3{color:#143b5f;margin:0 0 .25rem}.hp-history-empty-card p{color:#517294;margin:0}.hp-history-cards{display:none}.hp-history-card-head{justify-content:space-between;align-items:center;gap:.45rem;display:flex}.hp-history-event-cell{align-content:center;gap:.14rem;display:grid}.hp-history-event-cell>strong{color:#143b5f;font-size:.94rem;line-height:1.22}.hp-history-summary{color:#587696;font-size:.82rem;line-height:1.35}.hp-history-context-cell{color:#294d6d;align-content:center;gap:.12rem;font-size:.86rem;line-height:1.25;display:grid}.hp-history-context-cell small{color:#61809f;font-size:.78rem}.hp-history-row{cursor:pointer}.hp-history-row:hover td{background:#0f4c840a}.hp-history-datetime{align-content:center;gap:.08rem;line-height:1.1;display:grid}.hp-history-datetime strong{color:#365d7d;font-size:.8rem;font-weight:650}.hp-history-datetime span{color:#62809e;font-size:.74rem}.hp-history-datetime-inline{display:inline-grid}.hp-history-group-divider-row td{background:#0f4c8405;border-top:1px solid #0f4c8424;padding:.4rem .6rem}.hp-patient-history-table-v2 td,.hp-patient-history-table-v2 th{vertical-align:top}.hp-patient-history-table-v2 thead th{white-space:nowrap}.hp-patient-history-toolbar-v2{gap:.45rem;display:grid}.hp-history-filter-primary{flex-wrap:wrap;align-items:center;gap:.5rem;min-width:0;display:flex}.hp-history-filter-secondary{justify-content:space-between;align-items:center;gap:.5rem;min-width:0;display:flex}.hp-history-toolbar-left{flex:auto;min-width:280px}.hp-history-toolbar-left .hp-input{color:#133f67;background:#fff;border:1px solid #0f4c843d;width:100%}.hp-history-toolbar-left .hp-input::placeholder{color:#6c88a5}.hp-history-toolbar-right{flex-wrap:nowrap;flex:none;justify-content:flex-end;align-items:center;gap:.35rem;display:flex}.hp-history-secondary-actions{align-items:center;gap:.6rem;margin-left:auto;display:flex}.hp-history-filter-secondary .hp-history-chips{flex:auto;justify-content:flex-start;min-width:0;margin:0}.hp-history-secondary-actions .hp-btn{white-space:nowrap}.hp-history-list{gap:.18rem;display:grid;position:relative}.hp-history-list-row{cursor:pointer;border:1px solid #0f4c841a;background:#fff;border-inline-start:2px solid #0000;border-radius:.62rem;grid-template-columns:96px minmax(280px,1fr) minmax(180px,260px) auto;align-items:center;gap:.65rem;padding:.42rem .55rem;transition:background .14s,border-color .14s,box-shadow .14s,transform .14s;display:grid;position:relative}.hp-history-list-row.is-important{border-color:#0f4c841f;background:#11ba9606;border-inline-start-color:#11ba9675}.hp-history-list-row:hover{background:#0f4c8405;border-color:#0f4c8429;transform:translateY(-1px);box-shadow:0 8px 20px #092a480d}.hp-history-list-row.is-important:hover{background:#11ba9609;border-inline-start-color:#11ba968f}.hp-history-group-divider-row{align-items:center;gap:.55rem;margin-top:.48rem;padding:.16rem 0 .1rem;display:flex}.hp-history-group-divider-row:first-child{margin-top:0}.hp-history-group-divider-row:after{content:"";background:#0f4c841a;flex:1;height:1px}.hp-history-type-badge{white-space:nowrap;align-items:center;gap:.25rem;width:fit-content;max-width:max-content;display:inline-flex}.hp-history-row-side{white-space:nowrap;justify-content:flex-end;align-items:center;gap:.35rem;min-height:1.5rem;display:flex}.hp-history-cards .hp-history-type-badge{width:fit-content}@media(max-width:900px){.hp-history-list{display:none}.hp-history-cards{gap:.4rem;display:grid}.hp-history-card{cursor:pointer;padding:.55rem .65rem}.hp-history-card h4{color:#143b5f;margin:.2rem 0 .1rem}.hp-history-card p{margin:0}.hp-patient-history-toolbar-v2{gap:.55rem}.hp-history-filter-primary,.hp-history-filter-secondary{flex-wrap:wrap}.hp-history-toolbar-right{flex-wrap:wrap;justify-content:flex-start}.hp-history-secondary-actions{margin-left:0}}@media(max-width:640px){.hp-history-filter-primary,.hp-history-filter-secondary{gap:.45rem;display:grid}.hp-history-toolbar-left{min-width:0}.hp-history-toolbar-right{flex-wrap:wrap}.hp-history-secondary-actions{justify-content:flex-start;gap:.45rem}}.hp-grid-1{grid-template-columns:minmax(0,1fr);gap:.85rem;display:grid}.hp-topbar-right{align-items:center;gap:.6rem;display:flex}.hp-topbar-register-btn{color:#fff;background:linear-gradient(135deg,#f04b7d,#7a2ea7);border:1px solid #7a2ea766;border-radius:.7rem;padding:.55rem .85rem;font-size:1rem;font-weight:700;text-decoration:none;box-shadow:0 6px 16px #7a2ea73d}.hp-topbar-register-btn:hover{filter:brightness(1.04)}.hp-topbar-icon-btn{color:#6f8db0;background:0 0;border:none;border-radius:50%;place-items:center;width:38px;height:38px;font-size:1.1rem;transition:all .15s;display:grid}.hp-topbar-icon-btn:hover{color:#143b5f;background:#0f4c8414}.hp-user-menu{margin-left:.4rem;position:relative}.hp-user-trigger{background:#fff;border:1px solid #0f4c8461;border-radius:999px;align-items:center;gap:.6rem;padding:.25rem .6rem .25rem .25rem;transition:all .15s;display:flex}.hp-user-trigger:hover{background:#1678e50a}.hp-user-avatar{color:#9f1239;background:#fcd5df;border-radius:50%;place-items:center;width:34px;height:34px;font-size:1rem;font-weight:600;display:grid}.hp-user-info{flex-direction:column;align-items:flex-start;line-height:1.1;display:flex}.hp-user-name{color:#143b5f;font-size:1rem;font-weight:600}.hp-user-role{color:#6f8db0;font-size:1rem}.hp-user-chevron{color:#6f8db0;margin-left:.2rem}.hp-user-popover{z-index:80;background:#fff;border:1px solid #0f4c8438;border-radius:.85rem;flex-direction:column;width:240px;display:flex;position:absolute;top:52px;right:0;box-shadow:0 18px 36px #0f4c8429}.hp-user-popover-header{border-bottom:1px solid #0f4c841a;flex-direction:column;gap:.2rem;padding:1rem;display:flex}.hp-user-popover-header strong{color:#143b5f;font-size:1rem}.hp-user-popover-header span{color:#6f8db0;font-size:1rem}.hp-user-popover-links{flex-direction:column;gap:.2rem;padding:.5rem;display:flex}.hp-user-popover-item{color:#2f5a7d;text-align:left;background:0 0;border:none;border-radius:.5rem;align-items:center;gap:.75rem;width:100%;padding:.6rem;font-size:1rem;transition:all .15s;display:flex}.hp-user-popover-item:hover{color:#143b5f;background:#1678e50f}.hp-user-popover-footer{border-top:1px solid #0f4c841a;padding:.5rem}.hp-user-logout{color:#dc2626}.hp-user-logout:hover{color:#b91c1c;background:#dc262614}.hp-bell,.hp-chat-mock,.hp-chat-trigger{position:relative}.hp-chat-count{color:#fff;top:-5px;background:#e04e4e;border:2px solid #fffffff2;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 .25rem;font-size:.85rem;font-weight:700;display:inline-flex;position:absolute;inset-inline-end:-4px}.hp-chat-popover{z-index:150;top:calc(100% + .55rem);background:#fff;border:1px solid #0f4c8433;border-radius:.9rem;gap:.55rem;width:min(360px,100vw - 2rem);padding:.6rem;display:grid;position:absolute;inset-inline-end:0;box-shadow:0 18px 36px #0f172a26}.hp-chat-head{justify-content:space-between;align-items:flex-start;gap:.6rem;display:flex}.hp-chat-head-left{align-items:center;gap:.5rem;display:inline-flex}.hp-chat-back{color:#1f4c72;cursor:pointer;background:#fff;border:1px solid #0f4c8438;border-radius:999px;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.hp-chat-back:hover{background:#1678e514}.hp-chat-head strong{color:#0f3d69;font-size:1rem;display:block}.hp-chat-head p{color:#4a6682;margin:.1rem 0 0;font-size:1rem}.hp-chat-thread{background:linear-gradient(#f9fcff,#f3f8ff);border:1px solid #0f4c8424;border-radius:.7rem;gap:.4rem;max-height:290px;padding:.55rem;display:grid;overflow-y:auto}.hp-chat-search{color:#507190;border:1px solid #0f4c8433;border-radius:.65rem;grid-template-columns:auto 1fr;align-items:center;gap:.45rem;padding:.45rem .55rem;display:grid}.hp-chat-search input{font:inherit;color:#12395d;background:0 0;border:0;outline:0;min-width:0;font-size:1rem}.hp-chat-conversations{gap:.35rem;max-height:346px;display:grid;overflow-y:auto}.hp-chat-contact{text-align:start;cursor:pointer;background:#fff;border:1px solid #0f4c8424;border-radius:.72rem;grid-template-columns:auto 1fr auto;align-items:center;gap:.5rem;padding:.5rem;display:grid}.hp-chat-contact:hover{background:linear-gradient(120deg,#1678e50f,#11ba9612);border-color:#0f4c843d}.hp-chat-contact-avatar{color:#0f4f8e;background:linear-gradient(145deg,#1678e529,#11ba962e);border-radius:999px;justify-content:center;align-items:center;width:32px;height:32px;font-size:1rem;font-weight:700;display:inline-flex}.hp-chat-contact-main{gap:.1rem;min-width:0;display:grid}.hp-chat-contact-main strong{color:#0f3d69;font-size:1rem}.hp-chat-contact-main span{color:#4a6682;white-space:nowrap;text-overflow:ellipsis;font-size:1rem;overflow:hidden}.hp-chat-contact-meta{justify-items:end;gap:.22rem;display:grid}.hp-chat-contact-meta small{color:#6a8098;font-size:1rem}.hp-chat-contact-meta em{color:#fff;background:#e04e4e;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 .28rem;font-size:.85rem;font-style:normal;font-weight:700;display:inline-flex}.hp-chat-message{border-radius:.65rem;gap:.18rem;max-width:88%;padding:.46rem .58rem;display:grid}.hp-chat-message p{color:#12395d;margin:0;font-size:1rem;line-height:1.45}.hp-chat-message span{color:#6a8098;font-size:.85rem}.hp-chat-message.is-self{background:linear-gradient(120deg,#1678e52e,#11ba9633);border:1px solid #0f4c8438;margin-inline-start:auto}.hp-chat-message.is-peer{background:#fff;border:1px solid #0f4c8424;margin-inline-end:auto}.hp-chat-compose{grid-template-columns:1fr auto;align-items:center;gap:.5rem;display:grid}.hp-chat-compose input{min-height:38px;font:inherit;color:#12395d;background:#fff;border:1px solid #0f4c843d;border-radius:.65rem;padding:.5rem .62rem;font-size:1rem}.hp-chat-compose .hp-btn{border-radius:.65rem;align-items:center;gap:.35rem;min-height:38px;display:inline-flex}.hp-bell-trigger{background:#fff;border:1px solid #0f4c842e;border-radius:50%;place-items:center;width:38px;height:38px;transition:all .15s;display:grid}.hp-bell-trigger:hover{background:#1678e50f;border-color:#0f4c8461}.hp-bell-icon{filter:grayscale(.2);font-size:1.05rem}.hp-bell-count{color:#fff;font-variant-numeric:tabular-nums;top:-4px;direction:ltr;unicode-bidi:isolate;background:linear-gradient(130deg,#e54f3a,#c4302b);border:2px solid #fff;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 .4rem;font-size:.85rem;font-weight:700;line-height:1;display:grid;position:absolute;inset-inline-end:-4px}.hp-bell-popover{z-index:80;background:#fff;border:1px solid #0f4c8438;border-radius:.85rem;width:min(360px,90vw);padding:.6rem;position:absolute;top:46px;right:0;box-shadow:0 18px 36px #0f4c8429}.hp-bell-popover-head{color:#143b5f;justify-content:space-between;align-items:center;margin-bottom:.5rem;padding:0 .2rem;display:flex}.hp-bell-empty{text-align:center;color:#6f8db0;margin:0;padding:1rem;font-size:1rem}.hp-bell-list{flex-direction:column;gap:.35rem;max-height:60vh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.hp-bell-item{background:#fffc;border:1px solid #0f4c8424;border-radius:.6rem;padding:.5rem .6rem}.hp-bell-item-info{border-left:3px solid #1678e5}.hp-bell-item-warning{background:#f59e0b0f;border-left:3px solid #d97706}.hp-bell-item-urgent{background:#c4302b0f;border-left:3px solid #c4302b}.hp-bell-message{color:#143b5f;margin:0 0 .25rem;font-size:1rem}.hp-bell-meta{color:#6f8db0;justify-content:space-between;margin:0;font-size:1rem;display:flex}.hp-stepper-wrap{flex-direction:column;gap:.7rem;display:flex}.hp-stepper-blockers{background:#f59e0b14;border:1px solid #d9770659;border-radius:.7rem;padding:.6rem .8rem}.hp-stepper-blockers-title{color:#92510a;margin:0 0 .4rem;font-size:1rem;font-weight:600}.hp-stepper-blocker-list{flex-direction:column;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.hp-stepper-blocker{color:#59370a;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;font-size:1rem;display:flex}.hp-modal-header{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.hp-modal-header h2{margin:0}.hp-modal-close{color:#41688a;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;padding:0;font-size:1.45rem;font-weight:300;line-height:0;display:inline-flex;transform:translateY(-.5px)}.hp-modal-close:hover{color:#143b5f;background:#0f4c8414}.hp-modal-description{color:#41688a;margin:.25rem 0 .6rem;font-size:1rem}.hp-modal-body{color:#2b597f;flex:auto;min-height:0;margin-bottom:.85rem;font-size:1rem;overflow-y:auto}.hp-modal-body:has(.hp-or-book-form-grid){overflow:visible}.hp-modal-message{color:#2b597f;margin:.4rem 0 .85rem;font-size:1rem}.hp-modal-xs{width:min(300px,100%)}.hp-modal-sm{width:min(380px,100%)}.hp-modal-md{width:min(550px,100%)}.hp-modal-lg{width:min(780px,100%)}.hp-modal-xl{width:min(1080px,100%)}.hp-icd-section-title{text-transform:uppercase;letter-spacing:.06em;color:#1b4d77;border-bottom:1px solid #0f4c842e;margin:1rem 0 .5rem;padding-bottom:.35rem;font-size:1rem;font-weight:700}.hp-icd-search{box-sizing:border-box;color:#1f4c72;background:#fff;border:1px solid #0f4c844d;border-radius:.5rem;outline:none;width:100%;margin-bottom:.5rem;padding:.42rem .65rem;font-size:1rem}.hp-icd-search:focus{border-color:#1678e5;box-shadow:0 0 0 2px #1678e52e}.hp-icd-table-wrap{border:1px solid #0f4c8429;border-radius:.6rem;max-height:260px;overflow-y:auto}.hp-icd-table{border-collapse:collapse;width:100%;font-size:1rem}.hp-icd-table thead th{text-align:left;color:#1b4d77;text-transform:uppercase;letter-spacing:.04em;background:#f0f5fb;border-bottom:1px solid #0f4c842e;padding:.4rem .6rem;font-size:1rem;font-weight:700;position:sticky;top:0}.hp-icd-table tbody tr{border-bottom:1px solid #0f4c8414;transition:background .12s}.hp-icd-table tbody tr:last-child{border-bottom:none}.hp-icd-table tbody tr:hover{background:#1678e50f}.hp-icd-table tbody tr.is-selected{background:#1678e521}.hp-icd-table tbody tr.is-selected td{color:#0f3d69}.hp-icd-table tbody td{color:#355c7e;vertical-align:middle;padding:.38rem .6rem}.hp-icd-table tbody td code{color:#1678e5;font-family:SF Mono,Consolas,monospace;font-size:1rem;font-weight:600}.hp-icd-checkbox{accent-color:#1678e5;width:14px;height:14px}.hp-icd-selected{gap:.3rem;margin-top:.5rem;display:grid}.hp-icd-tag{color:#0c3d72;background:#1678e524;border:none;border-radius:999px;padding:.2rem .55rem;font-family:inherit;font-size:1rem;font-weight:600;transition:background .12s}.hp-icd-tag:hover{color:#991b1b;background:#dc262624}.hp-toast{color:#fff;z-index:100;background:#143b5f;border-radius:.6rem;align-items:center;gap:.7rem;padding:.7rem 1rem;font-size:1rem;animation:.2s hp-toast-in;display:flex;position:fixed;bottom:1.2rem;right:1.2rem;box-shadow:0 14px 32px #0f4c844d}@keyframes hp-toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.hp-toast-close{color:#fff;background:#ffffff29;border:0;border-radius:50%;width:22px;height:22px;font-size:1rem;line-height:1}.hp-toast-close:hover{background:#ffffff47}.hp-filter-bar{background:#ffffffb3;border:1px solid #0f4c8424;border-radius:.7rem;flex-wrap:wrap;align-items:flex-end;gap:.6rem;margin-bottom:.8rem;padding:.7rem;display:flex}.hp-filter-search{color:#143b5f;background:#fff;border:1px solid #0f4c8438;border-radius:.5rem;flex:1;min-width:220px;padding:.55rem .75rem;font-size:1rem}.hp-filter-search:focus{border-color:#1678e5;outline:none;box-shadow:0 0 0 3px #1678e52e}.hp-search-input-wrap{width:100%;display:block;position:relative}.hp-search-input-wrap input[type=search]::-webkit-search-cancel-button{appearance:none}.hp-search-input-wrap input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.hp-search-input-wrap input[type=search]::-webkit-search-results-button{-webkit-appearance:none}.hp-search-input-wrap input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}.hp-search-input-wrap input[type=search]::-ms-clear{width:0;height:0;display:none}.hp-search-input-wrap input[type=search]::-ms-reveal{width:0;height:0;display:none}.hp-search-input-wrap input[type=search]{width:100%}.hp-search-input-wrap .hp-filter-search,.hp-search-input-wrap input[type=search]{padding-inline-end:2rem}.hp-search-clear{color:#32587e;inset-inline-end:.5rem;background:#0f4c841f;border:none;border-radius:999px;justify-content:center;align-items:center;width:1.25rem;height:1.25rem;font-size:1rem;line-height:1;display:inline-flex;position:absolute;top:50%;transform:translateY(-50%)}.hp-filter-field{flex-direction:column;gap:.2rem;font-size:1rem;display:flex}.hp-filter-field-label{text-transform:uppercase;letter-spacing:.06em;color:#6f8db0;font-size:1rem;font-weight:700}.hp-filter-field select{color:#143b5f;background:#fff;border:1px solid #0f4c8438;border-radius:.5rem;padding:.5rem .65rem;font-size:1rem}.hp-filter-extra{align-items:center;gap:.4rem;display:flex}.hp-empty-state{text-align:center;background:#fff9;border:1px dashed #0f4c8438;border-radius:.7rem;padding:1.5rem 1rem}.hp-empty-state-title{color:#143b5f;margin:0 0 .3rem;font-weight:600}.hp-empty-state-message{color:#6f8db0;margin:0;font-size:1rem}.hp-empty-state-action{justify-content:center;margin-top:.7rem;display:flex}.hp-or-block.is-drafting{border:2px dashed var(--color-brand-500,#1678e5);color:var(--color-brand-800,#123f73);opacity:1;z-index:10;cursor:ns-resize;background:repeating-linear-gradient(45deg,#1678e526,#1678e526 10px,#fffc 10px 20px);font-weight:600;box-shadow:0 4px 12px #1678e533}.hp-ward-patient-block{flex-direction:column;gap:.4rem;margin:.25rem 0 .5rem;display:flex}.hp-ward-patient-block-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.hp-ward-patient-block-title{color:var(--hp-text);text-transform:uppercase;letter-spacing:.04em;font-size:1rem;font-weight:600}.hp-ward-patient-toggle{appearance:none;color:var(--hp-primary,#0f4c84);cursor:pointer;background:0 0;border:none;border-radius:.4rem;padding:.2rem .4rem;font-size:1rem;font-weight:600}.hp-ward-patient-toggle:hover{background:#0f4c8414}.hp-ward-patient-list.is-expanded{scrollbar-width:thin;max-height:380px;padding-right:.25rem;overflow-y:auto}.hp-ward-patient-more{appearance:none;color:var(--hp-primary,#0f4c84);cursor:pointer;text-align:center;background:#0f4c840f;border:1px dashed #0f4c8440;border-radius:.6rem;padding:.45rem .7rem;font-size:1rem;font-weight:600}.hp-ward-patient-more:hover{background:#0f4c841f}.hp-ward-edd-pill{appearance:none;cursor:pointer;font:inherit;border:none}.hp-ward-search-wrap{align-items:center;margin-inline-start:auto;display:inline-flex;position:relative}.hp-ward-search{min-width:220px;padding-inline-end:1.8rem}.hp-ward-search-clear{appearance:none;cursor:pointer;color:var(--hp-muted);inset-inline-end:.4rem;background:0 0;border:none;padding:.1rem .3rem;font-size:1.1rem;line-height:1;position:absolute;top:50%;transform:translateY(-50%)}.hp-ward-search-clear:hover{color:var(--hp-text)}.hp-admit-room-context{background:#0f4c840a;border:1px solid #0f4c8424;border-radius:.6rem;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.5rem;padding:.55rem .75rem;font-size:1rem;display:flex}.hp-admit-room-context .is-green{color:#1f8a4a;font-weight:600}.hp-admit-room-context .is-red{color:#c0392b;font-weight:600}.hp-ward-settings-card .hp-panel-head{margin-bottom:.85rem}.hp-ward-settings-grid{grid-template-columns:1fr;gap:.55rem;margin-bottom:.85rem;display:grid}.hp-ward-setting-row{border:1px solid var(--hp-border);background:var(--hp-surface-alt,#f8fafc);border-radius:.55rem;justify-content:space-between;align-items:center;gap:.75rem;padding:.65rem .85rem;display:flex}.hp-ward-setting-info{flex-direction:column;gap:.15rem;min-width:0;display:flex}.hp-ward-setting-label{letter-spacing:.06em;text-transform:uppercase;color:var(--hp-muted);margin:0;font-size:1rem;font-weight:700}.hp-ward-setting-value{align-items:center;gap:.35rem;margin:0;font-size:1rem;font-weight:600;display:inline-flex}.hp-ward-setting-value.is-green{color:#1f8a4a}.hp-ward-setting-value.is-amber{color:#b7791f}.hp-ward-settings-card .hp-ward-settings-hint{color:#475569;background:#0f4c840d;border:1px solid #0f4c8424;border-radius:.45rem;align-items:flex-start;gap:.4rem;margin:0 0 .85rem;padding:.5rem .7rem;font-size:1rem;font-style:normal;line-height:1.45;display:flex}.hp-ward-notes-group{margin-top:0}.hp-ward-notes-group .hp-label{letter-spacing:.06em;text-transform:uppercase;color:var(--hp-muted);margin-bottom:.35rem;font-size:1rem;font-weight:700;display:block}.hp-ward-notes-input{resize:vertical;width:100%;min-height:4.5rem}@media(max-width:560px){.hp-ward-setting-row{flex-direction:column;align-items:stretch}.hp-ward-setting-row .hp-btn{width:100%}}.hp-ward-detail-page .hp-card+.hp-card{margin-top:1rem}.hp-ward-detail-page .hp-ward-detail-grid-4{margin-bottom:1rem}@keyframes hpAgingPulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.hp-dept-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.hp-kanban-card{text-align:start;border-left:4px solid #0000;flex-direction:column;justify-items:stretch;gap:.5rem;padding:.7rem .8rem;transition:box-shadow .16s,transform .16s,border-color .16s;display:flex;position:relative}.hp-kanban-card:hover{transform:translateY(-1px);box-shadow:0 8px 18px #101f351f}.hp-kanban-card.hp-priority-routine{border-left-color:#6ec86ea6}.hp-kanban-card.hp-priority-urgent{border-left-color:#f5aa3cd9}.hp-kanban-card.hp-priority-emergency{border-left-color:#dc463ce6}.hp-kanban-card.is-aging-warn{background:linear-gradient(#fff4dc8c,#0000 70%)}.hp-kanban-card.is-aging-critical{background:linear-gradient(#ffe0dcbf,#0000 70%)}.hp-kanban-card-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.hp-kanban-card-body .hp-patient-name,.hp-kanban-card-body .hp-patient-subtitle{text-align:start;margin:0}.hp-card-reason{opacity:.85;font-style:italic}.hp-priority-pill{letter-spacing:.02em;text-transform:uppercase;border-radius:999px;align-items:center;margin-inline-start:.4rem;padding:.15rem .55rem;font-size:1rem;font-weight:600;display:inline-flex}.hp-priority-pill-routine{color:#2f7a3a;background:#6ec86e2e}.hp-priority-pill-urgent{color:#8a5708;background:#f5aa3c38}.hp-priority-pill-emergency{color:#a4221b;background:#dc463c33}.hp-card-time-chip{color:#2c3e58;background:#101f350f;border-radius:999px;align-items:center;gap:.25rem;margin-inline-start:.4rem;padding:.15rem .45rem;font-size:1rem;font-weight:600;display:inline-flex}.hp-card-time-ok{color:#2f7a3a;background:#6ec86e2e}.hp-card-time-is-aging-warn{color:#8a5708;background:#f5aa3c38}.hp-card-time-is-aging-critical{color:#a4221b;background:#dc463c33;animation:1.6s ease-in-out infinite hpAgingPulse}.hp-card-doctor-row{color:#44546a;align-items:center;gap:.45rem;font-size:1rem;display:flex}.hp-card-doctor-avatar{color:#1c3556;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:1rem;font-weight:700;display:grid}.hp-card-doctor-name{white-space:nowrap;text-overflow:ellipsis;font-weight:500;overflow:hidden}.hp-card-actions{border-top:1px dashed #101f3514;flex-wrap:wrap;justify-content:flex-start;gap:.35rem;padding-top:.3rem;display:flex}.hp-treatment-row{border-left:4px solid #0000}.hp-treatment-row.hp-priority-routine{border-left-color:#6ec86ea6}.hp-treatment-row.hp-priority-urgent{border-left-color:#f5aa3cd9}.hp-treatment-row.hp-priority-emergency{border-left-color:#dc463ce6}html[dir=rtl] .hp-kanban-card,html[dir=rtl] .hp-treatment-row{border-left:none;border-right:4px solid #0000}html[dir=rtl] .hp-kanban-card.hp-priority-routine,html[dir=rtl] .hp-treatment-row.hp-priority-routine{border-right-color:#6ec86ea6}html[dir=rtl] .hp-kanban-card.hp-priority-urgent,html[dir=rtl] .hp-treatment-row.hp-priority-urgent{border-right-color:#f5aa3cd9}html[dir=rtl] .hp-kanban-card.hp-priority-emergency,html[dir=rtl] .hp-treatment-row.hp-priority-emergency{border-right-color:#dc463ce6}.hp-doctor-tone-0{background:#d9e8ff}.hp-doctor-tone-1{background:#ffe0d6}.hp-doctor-tone-2{background:#d8f1de}.hp-doctor-tone-3{background:#f5dcf0}.hp-doctor-tone-4{background:#fff3c4}.hp-doctor-tone-5{background:#d6eef5}.hp-treatment-patient-bar{background:linear-gradient(90deg,#eef4ff,#fbf7ff);border:1px solid #dbe5f5;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:10px 14px;display:flex}.hp-treatment-patient-bar .hp-patient-name{color:#1a1a2e;font-size:1rem;font-weight:600;display:block}.hp-treatment-patient-bar .hp-small{color:#5a6478;font-size:1rem}.hp-treatment-patient-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hp-treatment-grid{grid-template-columns:minmax(0,1fr) 260px;align-items:start;gap:18px;display:grid}@media(max-width:900px){.hp-treatment-grid{grid-template-columns:1fr}}.hp-treatment-form{min-width:0}.hp-treatment-summary{background:#f7f9fc;border:1px solid #e1e6ef;border-radius:10px;padding:14px;font-size:1rem;position:sticky;top:0}.hp-treatment-summary-title{text-transform:uppercase;letter-spacing:.5px;color:#5a6478;margin:0 0 10px;font-size:1rem;font-weight:600}.hp-treatment-summary-list{flex-direction:column;gap:10px;margin:0;display:flex}.hp-treatment-summary-list>div{flex-direction:column;gap:3px;display:flex}.hp-treatment-summary-list dt{color:#7a8294;text-transform:uppercase;letter-spacing:.4px;margin:0;font-size:1rem}.hp-treatment-summary-list dd{color:#1a1a2e;word-break:break-word;margin:0;font-size:1rem}.hp-muted{color:#aab2c0;font-style:italic}.hp-required{color:#d33;margin-inline-start:.2rem;font-weight:700}.hp-form-label-text{align-items:center;display:inline-flex}.hp-form-error{color:#c0392b;margin-top:4px;font-size:1rem;display:block}select.is-invalid,input.is-invalid{background:#fff5f4;border-color:#c0392b!important}.hp-icd-accordion{background:#fff;border:1px solid #e1e6ef;border-radius:10px;max-height:320px;overflow-y:auto}.hp-icd-cat+.hp-icd-cat{border-top:1px solid #eef0f5}.hp-icd-cat-head{cursor:pointer;text-align:start;background:#f7f9fc;border:0;justify-content:space-between;align-items:center;width:100%;padding:10px 14px;font-size:1rem;font-weight:600;display:flex}.hp-icd-cat-head:hover{background:#eef2f8}.hp-icd-cat-list{margin:0;padding:0;list-style:none}.hp-icd-cat-item{cursor:pointer;border-top:1px solid #f3f4f8;grid-template-columns:24px 90px 1fr 80px;align-items:center;gap:10px;padding:8px 14px;font-size:1rem;display:grid}.hp-icd-cat-item:hover{background:#fafbfd}.hp-icd-cat-item.is-selected{background:#eef6ff}.hp-icd-code{background:#f1f3f8;border-radius:4px;padding:2px 6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1rem}.hp-icd-code-alt{color:#7a8294;text-align:end;background:0 0}.hp-icd-desc{color:#2a2f3a}.hp-dept-card-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin-bottom:8px;display:grid}.hp-dept-card-pick{cursor:pointer;text-align:start;background:#fff;border:1.5px solid #dbe1ec;border-radius:10px;flex-direction:column;align-items:flex-start;gap:6px;padding:12px;transition:all .15s;display:flex;position:relative}.hp-dept-card-pick:hover:not(:disabled){background:#f5f8ff;border-color:#4a7cff;transform:translateY(-1px);box-shadow:0 2px 6px #0000000f}.hp-dept-card-pick.is-selected{background:#eaf1ff;border-color:#2f6bff;box-shadow:0 0 0 3px #4a7cff26}.hp-dept-card-pick.is-full{opacity:.55;cursor:not-allowed}.hp-dept-card-pick.hp-tone-warning{border-left:4px solid #f0a040}.hp-dept-card-pick.hp-tone-critical{border-left:4px solid #d54545}.hp-dept-card-pick.hp-tone-good{border-left:4px solid #4caf6e}.hp-dept-card-name{color:#1a1a2e;font-size:1rem;font-weight:600}.hp-dept-card-cap{color:#5a6478;align-items:center;gap:4px;font-size:1rem;display:inline-flex}[dir=rtl] .hp-dept-card-pick.hp-tone-warning,[dir=rtl] .hp-dept-card-pick.hp-tone-critical,[dir=rtl] .hp-dept-card-pick.hp-tone-good{border-left:1.5px solid #dbe1ec;border-right-style:solid;border-right-width:4px}[dir=rtl] .hp-dept-card-pick.hp-tone-warning{border-right-color:#f0a040}[dir=rtl] .hp-dept-card-pick.hp-tone-critical{border-right-color:#d54545}[dir=rtl] .hp-dept-card-pick.hp-tone-good{border-right-color:#4caf6e}.hp-staff-row{align-items:center;gap:.55rem;min-width:0;display:flex}.hp-staff-status{border-radius:50%;flex-shrink:0;width:10px;height:10px;box-shadow:0 0 0 2px #ffffffe6,0 0 0 3px #0f4c841f}.hp-staff-status-available{background:#2fa66a}.hp-staff-status-busy{background:#e2a233}.hp-staff-status-off{background:#9bb0c2}.hp-staff-avatar{color:#143b5f;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;font-size:1rem;font-weight:700;display:inline-flex;box-shadow:inset 0 0 0 1px #0f4c8424}.hp-staff-meta{flex-wrap:wrap;align-items:center;gap:.35rem;min-width:0;display:inline-flex}.hp-staff-status-label{color:#557892;text-transform:capitalize;font-size:1rem;font-weight:600}.hp-kanban-card:hover{border-left-width:5px;transform:translateY(-2px);box-shadow:0 10px 22px #101f3529,0 2px 4px #101f350f}.hp-kanban-card:active{transform:translateY(0);box-shadow:0 4px 8px #101f3524}.hp-panel+.hp-panel.hp-mt{position:relative}.hp-panel+.hp-panel.hp-mt:before{content:"";pointer-events:none;background:linear-gradient(90deg,#0000,#0f4c8438 18%,#0f4c8452,#0f4c8438 82%,#0000);height:1px;position:absolute;top:-.85rem;left:8%;right:8%}.hp-treatment-row .hp-priority-pill{vertical-align:middle;margin-inline-start:.4rem}.hp-kanban-col-body .hp-kanban-card{text-align:start;place-self:stretch stretch;justify-items:stretch;width:100%}.hp-kanban-card-head,.hp-kanban-card-body,.hp-card-doctor-row,.hp-card-actions{width:100%}.hp-kanban-card .hp-patient-name,.hp-kanban-card .hp-patient-subtitle{text-align:start}.hp-kanban-col-body .hp-empty-state{pointer-events:none;flex-direction:column;justify-content:center;min-height:80px;display:flex}.hp-routing-drag-active .hp-kanban-card .hp-card-actions,.hp-routing-drag-active .hp-kanban-card .hp-card-doctor-row{pointer-events:none}.hp-or-laterality-option{cursor:pointer;color:#1e293b;white-space:nowrap;background:#fff;border:1.5px solid #cbd5e1;border-radius:999px;flex-direction:row;align-items:center;gap:.4rem;padding:.45rem .85rem;font-size:1rem;font-weight:500;transition:all .15s;display:inline-flex}.hp-form .hp-or-laterality-option{flex-direction:row!important;display:inline-flex!important}.hp-or-book-section{background:#f9fbff;border:1px solid #e1e6ef;border-radius:12px;margin-top:1rem;padding:.9rem 1rem}.hp-or-book-section+.hp-or-book-section{margin-top:.85rem}.hp-or-book-section-title{letter-spacing:.02em;text-transform:uppercase;color:#475569;margin-bottom:.7rem;font-size:1rem;font-weight:700}.hp-or-laterality{border:0;margin:0;padding:0}.hp-or-laterality>legend{color:#334155;margin-bottom:.35rem;padding:0;font-size:1rem;font-weight:600}.hp-or-laterality-options{flex-wrap:wrap;gap:.45rem;display:flex}.hp-or-laterality-option{cursor:pointer;color:#1e293b;background:#fff;border:1.5px solid #cbd5e1;border-radius:999px;align-items:center;gap:.4rem;padding:.45rem .85rem;font-size:1rem;font-weight:500;transition:all .15s;display:inline-flex}.hp-or-laterality-option input[type=radio]{accent-color:#0f62fe;width:16px;height:16px;margin:0}.hp-or-laterality-option:hover{background:#f1f5f9;border-color:#94a3b8}.hp-or-laterality-option.is-active{color:#0f62fe;background:#eef4ff;border-color:#0f62fe;font-weight:600}.hp-or-assistants{flex-direction:column;gap:.45rem;width:100%;display:flex}.hp-or-assistants-chips{flex-wrap:wrap;gap:.4rem;display:flex}.hp-or-assistant-chip{color:#1e3a8a;background:#e0e7ff;border-radius:999px;align-items:center;gap:.3rem;padding:.25rem .55rem;font-size:1rem;font-weight:500;display:inline-flex}.hp-or-assistant-chip-remove{cursor:pointer;color:#1e3a8a;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;padding:0 .15rem;font-size:1.05rem;line-height:1;display:inline-flex}.hp-or-assistant-chip-remove:hover{background:#1e3a8a1f}.hp-or-conflict-banner{color:#7f1d1d;background:#fff5f5;border:1px solid #fca5a5;border-left:4px solid #dc2626;border-radius:8px;margin:-.2rem 0 .9rem;padding:.7rem .85rem;font-size:1rem}.hp-or-conflict-banner-title{color:#991b1b;margin-bottom:.35rem;font-weight:700}.hp-or-conflict-banner-list{flex-direction:column;gap:.2rem;margin:0;padding-inline-start:1.2rem;display:flex}.hp-or-conflict-banner-list li{line-height:1.4}.hp-or-time-row{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:.7rem;margin-bottom:.9rem;display:grid}.hp-or-time-row>label{flex-direction:column;gap:.3rem;min-width:0;display:flex}.hp-or-time-row select,.hp-or-time-row input{box-sizing:border-box;width:100%}.hp-or-time-date-wrap{cursor:pointer;position:relative}.hp-or-time-date-display,.hp-or-time-slot select{color:#1f4b74;box-sizing:border-box;background:#fff;border:1px solid #b7c9de;border-radius:.95rem;width:100%;min-height:44px;padding:.58rem .92rem;font-family:inherit;font-size:1rem;font-weight:500;line-height:1.3}.hp-or-time-date-display{cursor:pointer;pointer-events:none}.hp-or-time-date-native{opacity:0;cursor:pointer;pointer-events:auto;background:0 0;border:0;width:100%;height:100%;position:absolute;inset:0}.hp-or-time-duration{color:#1e293b;background:#f1f5f9;border-radius:8px;flex-direction:column;gap:.3rem;padding:.45rem .65rem;font-size:1rem;display:flex}.hp-or-time-duration strong{color:#0f172a;font-weight:700}@media(max-width:640px){.hp-or-time-row{grid-template-columns:1fr 1fr}}.hp-patient-history-toolbar:not(.hp-patient-history-toolbar-v2){grid-template-columns:minmax(220px,1fr) repeat(3,minmax(160px,200px)) auto;align-items:center;gap:.5rem;margin-bottom:.75rem;display:grid}.hp-patient-history-important{white-space:nowrap;align-items:center;gap:.4rem;display:inline-flex}.hp-patient-history-table tbody tr.is-important{background:#f59e0b14}.hp-patient-history-empty{text-align:center;color:var(--hp-text-muted,#8892a4);padding:1rem}@media(max-width:1100px){.hp-patient-history-toolbar:not(.hp-patient-history-toolbar-v2){grid-template-columns:1fr 1fr}}.hp-controls .hp-or-checklist-item,.hp-controls-full .hp-or-checklist-item{grid-template-columns:none!important;gap:.5rem!important;display:inline-flex!important}.hp-or-checklist-item>span{white-space:nowrap;display:inline}.hp-or-book-section .hp-or-checklist-grid .hp-or-checklist-item{flex-direction:row!important;align-items:center!important;gap:.5rem!important;display:inline-flex!important}.hp-or-book-section .hp-or-checklist-grid .hp-or-checklist-item>span{white-space:nowrap!important;display:inline!important}.hp-or-checklist-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.45rem .9rem;margin-top:.35rem;display:grid}.hp-or-checklist-item{color:#1e293b;cursor:pointer;align-items:center;gap:.5rem;padding:.25rem 0;font-size:1rem;display:flex}.hp-or-checklist-item input[type=checkbox]{cursor:pointer;accent-color:#2563eb;flex-shrink:0;width:16px;height:16px}.hp-or-radio-row{flex-wrap:wrap;gap:.5rem;margin-top:.35rem;margin-bottom:.55rem;display:flex}.hp-or-radio-chip{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;align-items:center;gap:.4rem;padding:.4rem .85rem;font-size:1rem;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.hp-or-radio-chip:hover{background:#f8fafc;border-color:#94a3b8}.hp-or-radio-chip.is-active{color:#fff;background:#2563eb;border-color:#2563eb}.hp-or-radio-chip input[type=radio]{opacity:0;pointer-events:none;width:0;height:0;position:absolute}.hp-or-patient-chips{background:linear-gradient(135deg,#eff6ff,#f8fafc);border:1px solid #dbeafe;border-radius:10px;flex-wrap:wrap;gap:.4rem;margin-bottom:.85rem;padding:.55rem .7rem;display:flex}.hp-or-patient-chip{color:#1e293b;white-space:nowrap;background:#fff;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:.35rem;padding:.25rem .6rem;font-size:1rem;display:inline-flex}.hp-or-patient-chip strong{color:#0f172a;font-weight:700}.hp-or-patient-chip-sub{color:#64748b;font-size:1rem;font-weight:400}.hp-or-patient-chip-id{color:#fff;background:#2563eb;border-color:#2563eb}.hp-or-patient-chip-id strong{color:#fff}.hp-or-patient-chip-id .hp-or-patient-chip-sub{color:#ffffffd9}.hp-or-patient-chip-warn{color:#b91c1c;background:#fef2f2;border-color:#fecaca;font-weight:600}.hp-or-patient-chip-info{color:#854d0e;background:#fef9c3;border-color:#fde68a}.hp-or-template-banner{color:#155e75;background:#ecfeff;border:1px solid #a5f3fc;border-radius:8px;align-items:center;gap:.6rem;margin:-.3rem 0 .85rem;padding:.55rem .85rem;font-size:1rem;display:flex}.hp-or-template-banner-icon{font-size:1.05rem}.hp-or-template-banner-text{flex:1}.hp-or-template-banner-text strong{color:#0e7490}.hp-or-template-banner-clear{color:#0e7490;cursor:pointer;background:0 0;border:0;padding:.15rem .4rem;font-size:1rem;font-weight:600;text-decoration:underline}.hp-or-template-banner-clear:hover{color:#0c4a6e}.hp-or-book-actions{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.hp-or-save-default{color:#475569;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;flex-shrink:0;align-items:center;gap:.45rem;font-size:1rem;display:inline-flex}.hp-or-save-default>label{white-space:nowrap;cursor:inherit;margin:0;display:inline}.hp-or-save-default input[type=checkbox]{accent-color:#0e7490;cursor:pointer;width:1rem;height:1rem}.hp-or-save-default.is-disabled{color:#94a3b8;cursor:not-allowed}.hp-or-save-default.is-disabled input[type=checkbox]{cursor:not-allowed}.hp-or-book-preview{display:none}@media(min-width:900px){.hp-or-book-form-grid{flex-direction:row;align-items:flex-start;gap:1.25rem;display:flex}.hp-or-book-form-main{flex:1;min-width:0}.hp-or-book-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-shrink:0;align-self:flex-start;width:300px;padding:.9rem 1rem;font-size:1rem;display:block;position:sticky;top:.25rem}}.hp-or-book-preview-header{border-bottom:1px dashed #cbd5e1;margin-bottom:.65rem;padding-bottom:.55rem}.hp-or-book-preview-eyebrow{letter-spacing:.08em;text-transform:uppercase;color:#0e7490;font-size:1rem;font-weight:700;display:block}.hp-or-book-preview-title{color:#0f172a;margin:.15rem 0 0;font-size:1rem;font-weight:700}.hp-or-book-preview-body{flex-direction:column;gap:.5rem;display:flex}.hp-or-book-preview-row{flex-direction:column;gap:.1rem;display:flex}.hp-or-book-preview-label{color:#64748b;text-transform:uppercase;letter-spacing:.04em;font-size:1rem;font-weight:600}.hp-or-book-preview-value{color:#0f172a;word-break:break-word;font-size:1rem;font-weight:500}.hp-or-book-preview-room-value{align-items:center;gap:.45rem;display:inline-flex}.hp-or-book-preview-badge{color:#92400e;text-transform:capitalize;background:#fef3c7;border:1px solid #fcd34d;border-radius:999px;align-self:flex-start;margin-top:.25rem;padding:.15rem .5rem;font-size:1rem;font-weight:700}.hp-or-book-preview-conflict{color:#991b1b;background:#fee2e2;border:1px solid #fca5a5;border-radius:8px;margin-top:.4rem;padding:.35rem .55rem;font-size:1rem;font-weight:600}.hp-or-book-stepper{border-bottom:1px solid #e2e8f0;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin-bottom:1rem;padding-bottom:.75rem;display:grid}.hp-or-book-step{cursor:pointer;color:#64748b;text-align:start;background:0 0;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:.5rem;min-width:0;padding:.35rem .75rem;font-size:1rem;transition:background .12s,color .12s,border-color .12s;display:flex}.hp-or-book-step:hover{background:#f1f5f9}.hp-or-book-step-dot{color:#475569;background:#e2e8f0;border-radius:999px;justify-content:center;align-items:center;min-width:1.4rem;height:1.4rem;font-size:1rem;font-weight:700;display:inline-flex}.hp-or-book-step-label{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.hp-or-book-step-current{color:#0e7490;background:#ecfeff;border-color:#67e8f9}.hp-or-book-step-current .hp-or-book-step-dot{color:#fff;background:#0e7490}.hp-or-book-step-done{color:#166534;background:#f0fdf4;border-color:#86efac}.hp-or-book-step-done .hp-or-book-step-dot{color:#fff;background:#22c55e}.hp-or-book-step-panel[hidden]{display:none!important}.hp-or-book-step-panel-4{overscroll-behavior:contain;max-height:calc(100vh - 20rem);padding-right:.25rem;overflow-y:auto}.hp-or-book-nav{align-items:center;gap:.5rem;display:inline-flex}@media(max-width:900px){.hp-or-book-stepper{grid-template-columns:repeat(2,minmax(0,1fr))}}.hp-or-quick-book{z-index:5;top:1.25rem;align-items:stretch;display:inline-flex;position:absolute;inset-inline-end:1.25rem}.hp-page-header:has(.hp-or-quick-book){position:relative}.hp-or-header-actions .hp-or-quick-book{position:static}.hp-or-header-actions{z-index:5;top:1.25rem;align-items:center;gap:.5rem;display:inline-flex;position:absolute;inset-inline-end:1.25rem}@media(max-width:720px){.hp-or-quick-book{align-self:flex-start;margin-top:.5rem;position:static}.hp-or-header-actions{flex-wrap:wrap;align-self:flex-start;margin-top:.5rem;position:static}}.hp-or-quick-book-main{border-inline-end:1px solid #ffffff59;border-top-right-radius:0;border-bottom-right-radius:0}.hp-or-quick-book-caret{border-top-left-radius:0;border-bottom-left-radius:0;padding-inline:.55rem;font-size:1rem}.hp-or-quick-book-menu{z-index:10;top:calc(100% + .35rem);background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:.15rem;min-width:220px;padding:.4rem;display:flex;position:absolute;inset-inline-end:0;box-shadow:0 12px 28px #0f172a1f}.hp-or-quick-book-heading{text-transform:uppercase;letter-spacing:.05em;color:#64748b;padding:.35rem .55rem;font-size:1rem;font-weight:700}.hp-or-quick-book-empty{text-align:center;color:#94a3b8;padding:.55rem;font-size:1rem}.hp-or-quick-book-item{text-align:start;color:#0f172a;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:.5rem;padding:.45rem .6rem;font-size:1rem;display:flex}.hp-or-quick-book-item:hover{background:#f1f5f9}.hp-or-quick-book-item-icon{font-size:1rem}.hp-or-procedure-picker .hp-or-room-picker-placeholder{color:var(--hp-color-text-tertiary,#94a3b8)}.hp-or-procedure-template-hint{opacity:.85;margin-inline-start:.5rem;font-size:.95em}.hp-or-procedure-custom{border-top:1px dashed var(--hp-color-border-subtle,#e2e8f0);color:var(--hp-color-text-secondary,#475569);font-style:italic}.hp-or-procedure-custom:hover{background:var(--hp-color-surface-2,#f1f5f9)}.hp-or-patient-cases{margin-top:1.5rem}.hp-or-patient-cases .hp-section-subheading{text-transform:uppercase;letter-spacing:.05em;color:#0f4f8e;margin-bottom:.75rem;font-size:.85rem;font-weight:700}.hp-or-item-row{justify-content:space-between;align-items:center;margin-bottom:.35rem;display:flex}.hp-surgical-prep-table .col-done{text-align:center;width:3rem}.hp-surgical-prep-table .col-notes{width:30%}.hp-surgical-prep-signoff{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.75rem;display:flex}.hp-surgical-prep-sig-input{flex:18rem;max-width:22rem}.hp-spc-checklist-table .col-status{text-align:center;width:5%}.hp-spc-checklist-table .col-notes{width:30%}.hp-anesthesia-timing-meta{margin-top:.25rem}.hp-operations-toolbar{margin-bottom:.75rem}.hp-emergency-or-no-rooms{padding:.75rem 0}.hp-emergency-or-preview-badge{color:#991b1b!important;background:#fee2e2!important;border-color:#fca5a5!important}.hp-pill,.hp-patient-dept-pill-top,.hp-patient-dept-pill-sub,.hp-or-book-preview-badge,[class*=pill]{font-size:.85rem!important}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
