/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--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}}}@layer theme{:root,:host{--font-sans:"Instrument 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-blue-700:oklch(48.8% .243 264.376);--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-bold:700;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){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 components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.visible\!{visibility:visible!important}.relative{position:relative}.static{position:static}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.mt-1{margin-top:var(--spacing)}.mt-20{margin-top:calc(var(--spacing) * 20)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.block{display:block}.flex{display:flex}.hidden{display:none}.table{display:table}.w-full{width:100%}.max-w-md{max-width:var(--container-md)}.resize{resize:both}.gap-2{gap:calc(var(--spacing) * 2)}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.bg-blue-700{background-color:var(--color-blue-700)}.bg-white{background-color:var(--color-white)}.p-2{padding:calc(var(--spacing) * 2)}.p-8{padding:calc(var(--spacing) * 8)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-white{color:var(--color-white)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}#app{transition:grid-template-columns .2s}body.registry-page{overflow:hidden}#app.registry-view main{flex-direction:column;height:100vh;display:flex;overflow:hidden}#app.registry-view main>header{flex:none}#app.registry-view #content{flex-direction:column;flex:1;min-height:0;display:flex}.registry-table{overscroll-behavior:contain;flex:1;min-height:180px;overflow:auto}.registry-table table{table-layout:fixed;width:max-content;min-width:100%}.registry-table thead{z-index:2;position:sticky;top:0}.registry-table th[data-column-key]{-webkit-user-select:none;user-select:none;position:relative}.column-heading{align-items:center;gap:7px;min-width:0;display:flex}.column-heading>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.column-drag{width:14px;height:20px;color:var(--theme-text-8996a8,#8996a8);cursor:grab;background:0 0;border:0;flex:0 0 14px;place-items:center;margin:0;padding:0;display:grid}.column-drag span{background-image:radial-gradient(circle,#8996a8 1.4px,#0000 1.6px);background-position:0 0;background-size:5px 5px;width:10px;height:15px;display:block}.column-drag:hover span{background-image:radial-gradient(circle,#3f6fae 1.4px,#0000 1.6px)}.column-resize{z-index:3;cursor:col-resize;touch-action:none;width:9px;position:absolute;top:0;bottom:0;right:-4px}.column-resize:after{content:"";background:var(--theme-surface-d9e0e9,#d9e0e9);width:1px;transition:background .12s,box-shadow .12s;position:absolute;top:20%;bottom:20%;left:4px}.column-resize:hover:after,.column-resize.active:after{background:#3974cc;box-shadow:0 0 0 1px #3974cc30}.registry-table th.column-dragging{opacity:.48}.registry-table th.column-drop-before:before,.registry-table th.column-drop-after:before{content:"";z-index:5;background:#1769d2;border-radius:3px;width:3px;position:absolute;top:4px;bottom:4px;box-shadow:0 0 0 2px #1769d21f}.registry-table th.column-drop-before:before{left:-2px}.registry-table th.column-drop-after:before{right:-2px}body.resizing-registry-column,body.resizing-registry-column *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}.registry-table td{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:0;overflow:hidden}.registry-table td>*{text-overflow:ellipsis;min-width:0;max-width:100%;overflow:hidden}.registry-table td:is([data-column-key=member],[data-column-key=status]),.registry-table td:is([data-column-key=member],[data-column-key=status]) :is(.person,.registry-status,b,small,span){white-space:normal;overflow-wrap:anywhere;text-overflow:clip;overflow:visible}.registry-table td[data-column-key=member]>.person{width:100%}.registry-table col.registry-actions-column{width:1%}.registry-table th.registry-actions-heading,.registry-table td.row-actions{text-overflow:clip;white-space:nowrap;width:1%;min-width:max-content;max-width:none;overflow:visible}.registry-table td.row-actions>*{max-width:none;overflow:visible}.registry-table tbody tr.status-row td{background:var(--status-bg);transition:background-color .15s}.registry-table tbody tr.status-row:hover td{background:var(--status-color)}@supports (color:color-mix(in lab, red, red)){.registry-table tbody tr.status-row:hover td{background:color-mix(in srgb, var(--status-color) 22%, var(--theme-surface-ffffff,white))}}.registry-table tbody tr.status-row{cursor:context-menu}.registry-status{gap:3px;display:grid}.registry-status small{color:var(--status-color);font-size:11px;font-weight:600}@supports (color:color-mix(in lab, red, red)){.registry-status small{color:color-mix(in srgb, var(--status-color) 72%, var(--theme-text-18243a,#18243a))}}[data-episode-diagnosis]{min-height:20px}.registry-table.scale-tiny td{padding:6px 9px;font-size:11px}.registry-table.scale-tiny th{padding:7px 9px;font-size:9px}.registry-table.scale-compact td{padding:9px 12px;font-size:12px}.registry-table.scale-compact th{padding:10px 12px;font-size:10px}.registry-table.scale-large td{padding:18px;font-size:15px}.registry-table.scale-large th{padding:15px 18px;font-size:13px}.registry-table.scale-huge td{padding:22px 20px;font-size:17px}.registry-table.scale-huge th{padding:18px 20px;font-size:14px}.menu-toggle{color:#dce8ff;background:#ffffff14;border:0;border-radius:9px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:14px;right:12px}.menu-toggle:hover{background:#ffffff29}.menu-toggle svg{width:18px}#app.menu-collapsed{grid-template-columns:78px 1fr}.menu-collapsed aside{padding-inline:12px}.menu-collapsed aside .brand span,.menu-collapsed aside nav a:not(:hover){font-size:0}.menu-collapsed aside nav a{justify-content:center;padding-inline:0}aside nav a{position:relative}.menu-collapsed aside nav svg,.menu-collapsed aside form button svg{margin:0}.menu-collapsed aside form button{justify-content:center;font-size:0}.sidebar-account{align-items:stretch;gap:6px;margin-top:auto;display:flex}.sidebar-account>button,.sidebar-account form button{color:#aebbd0;background:0 0;border:0;border-radius:10px;justify-content:flex-start;align-items:center;gap:10px;min-width:0;margin:0;padding:10px 11px;display:flex}.sidebar-account>button{flex:1}.sidebar-account>button:hover,.sidebar-account form button:hover{color:#fff;background:#1d2b45}.sidebar-account form{flex:none;margin:0}.sidebar-account form button.sidebar-logout{justify-content:center;width:40px;padding-inline:0}.sidebar-account svg{flex:none;width:19px;height:19px}.menu-collapsed .sidebar-account{flex-direction:column}.menu-collapsed .sidebar-account>button{justify-content:center;width:100%;padding-inline:0}.menu-collapsed .sidebar-account>button span{display:none}.menu-collapsed .sidebar-account form button.sidebar-logout{width:100%}.profile-settings{gap:18px;display:grid}.profile-settings section{border:1px solid var(--theme-border-e1e7ef,#e1e7ef);background:var(--theme-surface-fbfcfe,#fbfcfe);border-radius:13px;padding:17px}.profile-settings h3{color:var(--theme-text-273750,#273750);align-items:center;gap:9px;margin:0 0 15px;font-size:16px;display:flex}.profile-settings h3 svg{width:19px;height:19px;color:var(--theme-text-3974cc,#3974cc)}.profile-settings .primary,.profile-2fa{align-items:center;gap:8px;display:inline-flex}.profile-settings .primary svg,.profile-2fa svg{width:16px;height:16px}.profile-security{justify-content:space-between;align-items:center;gap:18px;display:flex}.profile-security h3{margin-bottom:5px}.profile-security p{color:var(--theme-text-68758b,#68758b);margin:0;font-size:13px}.profile-2fa{color:var(--theme-text-33445f,#33445f);flex:none;text-decoration:none}.filter-count{color:#fff;text-align:center;background:#e94f64;border-radius:9px;align-self:flex-start;min-width:18px;height:18px;margin:-6px 2px 0 -14px;padding:0 5px;font-size:11px;font-weight:700;line-height:18px;display:none}.filter-count.visible{display:inline-block}.preset-bar{color:var(--theme-text-68758b,#68758b);flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;font-size:13px;display:flex}#app .registry-toolbar{min-width:0;box-shadow:none;background:0 0;border:0;border-radius:0;margin:0 0 8px;padding:0;overflow:visible}.registry-search{border:1px solid var(--theme-border-d7dfeb,#d7dfeb);background:var(--theme-surface-f9fbfd,#f9fbfd);cursor:text;border-radius:9px;flex:260px;align-items:center;gap:8px;min-width:160px;max-width:360px;height:34px;padding:0 10px;display:flex}.registry-search:focus-within{border-color:var(--theme-border-6b9bea,#6b9bea);background:var(--theme-surface-ffffff,#fff);box-shadow:0 0 0 3px #1769d218}.registry-search svg{width:16px;height:16px;color:var(--theme-text-738097,#738097);flex:none}.registry-toolbar .registry-search #q{background:0 0;border:0;border-radius:0;width:100%;min-width:0;height:32px;margin:0;padding:0}.quick-filter-block{flex-direction:column;flex:0 auto;align-items:flex-start;gap:3px;min-width:0;margin-left:auto;display:flex;position:relative}.quick-filter-block>span{color:var(--theme-text-738097,#738097);padding-left:2px;font-size:10px;line-height:1}.registry-toolbar .preset-bar{flex-wrap:nowrap;gap:5px;min-width:0;margin:0}.registry-toolbar .preset-bar button{flex:none;padding:5px 8px;font-size:12px}.more-filters{flex:none;position:relative}.more-filters summary{border:1px solid var(--theme-border-dfe6f0,#dfe6f0);background:var(--theme-surface-ffffff,#fff);width:29px;height:29px;color:var(--theme-text-33445f,#33445f);cursor:pointer;border-radius:9px;place-items:center;list-style:none;display:grid}.more-filters summary::-webkit-details-marker{display:none}.more-filters summary svg{width:16px;height:16px}.more-filters>div{z-index:10;border:1px solid var(--theme-border-dfe6f0,#dfe6f0);background:var(--theme-surface-ffffff,#fff);border-radius:11px;gap:5px;width:max-content;min-width:180px;max-width:300px;padding:8px;display:grid;position:absolute;top:calc(100% - 1px);right:0;box-shadow:0 16px 35px #17243a24}.more-filters>div button{justify-content:flex-start;width:100%}.preset-bar button,.filter-preset{border:1px solid var(--theme-border-dfe6f0,#dfe6f0);background:var(--theme-surface-ffffff,#fff);color:var(--theme-text-33445f,#33445f);border-radius:9px;align-items:center;gap:6px;padding:7px 10px;display:inline-flex}.preset-bar button:hover,.filter-preset:hover{border-color:var(--theme-border-769ee8,#769ee8);color:var(--theme-text-285cb8,#285cb8)}.preset-bar svg,.saved-filter-list svg,.save-filter svg{width:15px;height:15px}.saved-filter-list{border-bottom:1px solid var(--theme-border-e8edf4,#e8edf4);margin-bottom:18px;padding:12px 0 18px}.saved-filter-list>small{color:var(--theme-text-68758b,#68758b);margin-bottom:8px;display:block}.saved-filter-list>div{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.delete-preset{margin-right:8px}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-height:48vh;padding-right:5px;display:grid;overflow:auto}.filter-grid fieldset{border:1px solid var(--theme-border-dfe6f0,#dfe6f0);border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.filter-grid legend{color:var(--theme-text-2d3c54,#2d3c54);padding:0 6px;font-weight:700}.filter-grid label{align-items:center;gap:8px;font-size:14px;display:flex}.filter-grid input{width:16px;height:16px}.save-filter{gap:8px;margin-top:18px;display:flex}.save-filter input{flex:1}.save-filter button{align-items:center;gap:7px;display:flex}.toolbar #reset-filters{border:1px solid var(--theme-border-d7dfeb,#d7dfeb);background:var(--theme-surface-edf1f6,#edf1f6);width:auto;height:auto;min-height:34px;color:var(--theme-text-536177,#536177);border-radius:9px;flex:none;align-items:center;gap:6px;margin:0;padding:7px 10px;font-size:12px;line-height:18px;display:inline-flex}.toolbar #reset-filters:hover{background:var(--theme-surface-e1e7ef,#e1e7ef);color:var(--theme-text-25364f,#25364f)}.toolbar #reset-filters svg{width:15px;height:15px}.table-scale-settings{gap:12px;display:grid}.table-scale-settings>p{color:var(--theme-text-738097,#738097);margin:0;font-size:12px;line-height:1.5}.color-field{border:1px solid var(--theme-border-dfe6f0,#dfe6f0);border-radius:12px;grid-column:1/-1;margin:0;padding:12px}.color-field legend{color:var(--theme-text-33445f,#33445f);padding:0 6px;font-weight:700}.color-palette{grid-template-columns:repeat(10,38px);gap:9px;display:grid}.color-palette label{cursor:pointer;position:relative}.color-palette input{opacity:0;pointer-events:none;position:absolute}.color-palette span{background:var(--swatch);border:2px solid #0000;border-radius:9px;width:38px;height:32px;transition:transform .12s,box-shadow .12s;display:block}.color-palette label:hover span{transform:translateY(-1px);box-shadow:0 4px 10px #17243a20}.color-palette input:focus-visible+span{outline-offset:2px;outline:3px solid #1769d235}.color-palette input:checked+span{border-color:var(--swatch-border);box-shadow:inset 0 0 0 2px #fff, 0 0 0 2px var(--swatch-border)}.color-value{align-items:center;gap:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;display:inline-flex}.color-value i{border:1px solid var(--swatch-border);background:var(--swatch);border-radius:7px;width:32px;height:24px}#context-menu:empty{display:none}.row-context-menu{z-index:120;border:1px solid var(--theme-border-dfe6f0,#dfe6f0);background:var(--theme-surface-ffffff,#fff);border-radius:11px;width:230px;padding:6px;position:fixed;box-shadow:0 16px 38px #17243a30}.row-context-menu button{width:100%;color:var(--theme-text-273750,#273750);text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:9px 10px;display:flex}.row-context-menu button:hover:not(:disabled){background:var(--theme-surface-eef4ff,#eef4ff);color:var(--theme-text-285cb8,#285cb8)}.row-context-menu button:disabled{color:#a3adbc;cursor:not-allowed}.row-context-menu button svg{flex:none;width:17px;height:17px}.row-context-menu button span{flex:1}.column-visibility-menu{width:min(310px,100vw - 16px);padding:5px}.column-visibility-menu>header{border-bottom:1px solid var(--theme-border-e8edf3,#e8edf3);color:var(--theme-text-526078,#526078);letter-spacing:.035em;text-transform:uppercase;padding:6px 8px 7px;font-size:11px;font-weight:800}.column-visibility-menu>div{overscroll-behavior:contain;scrollbar-width:thin;max-height:min(430px,100vh - 90px);padding:3px 0;overflow-y:auto}.column-visibility-menu label{min-height:26px;color:var(--theme-text-33445f,#33445f);cursor:pointer;border-radius:6px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:7px;padding:3px 7px;font-size:12px;line-height:1.2;display:grid}.column-visibility-menu label:hover{background:var(--theme-surface-eef4ff,#eef4ff);color:var(--theme-text-285cb8,#285cb8)}.column-visibility-menu input{accent-color:#1769d2;width:15px;height:15px;margin:0;padding:0}.column-visibility-menu label span{min-width:0}.context-submenu-wrap{position:relative}.context-submenu-wrap:after{content:"";width:8px;height:calc(100% + 12px);position:absolute;top:-6px;left:100%}.context-submenu{border:1px solid var(--theme-border-dfe6f0,#dfe6f0);background:var(--theme-surface-ffffff,#fff);border-radius:11px;width:220px;padding:6px;display:none;position:absolute;top:-6px;left:calc(100% - 1px);box-shadow:0 16px 38px #17243a30}.row-context-menu.open-left .context-submenu-wrap:after{left:auto;right:100%}.row-context-menu.open-left .context-submenu{left:auto;right:calc(100% - 1px)}.context-submenu-wrap:hover .context-submenu,.context-submenu-wrap:focus-within .context-submenu,.context-submenu-wrap.open .context-submenu{display:block}.document-submenu-wrap{position:relative}.document-submenu-wrap:after{content:"";width:8px;height:calc(100% + 12px);position:absolute;top:-6px;left:100%}.document-submenu{border:1px solid var(--theme-border-dfe6f0,#dfe6f0);background:var(--theme-surface-ffffff,#fff);border-radius:11px;width:220px;padding:6px;display:none;position:absolute;top:-6px;left:calc(100% - 1px);box-shadow:0 16px 38px #17243a30}.document-submenu-wrap:hover .document-submenu,.document-submenu-wrap:focus-within .document-submenu,.document-submenu-wrap.open .document-submenu{display:block}.row-context-menu.open-left .document-submenu-wrap:after{left:auto;right:100%}.row-context-menu.open-left .document-submenu{left:auto;right:calc(100% - 1px)}.document-list{gap:7px;margin:14px 0;display:grid}.attention-filters{border:1px solid var(--theme-border-e2e8f0,#e2e8f0);background:var(--theme-surface-ffffff,#fff);border-radius:14px;align-items:end;gap:12px;margin-bottom:14px;padding:13px 15px;display:flex;box-shadow:0 6px 24px #21395d0b}.attention-filters label{min-width:240px;color:var(--theme-text-64748b,#64748b);font-size:12px}.attention-filters select{margin-top:5px}.attention-count{background:var(--theme-surface-fff1f2,#fff1f2);color:var(--theme-text-9f1239,#9f1239);white-space:nowrap;border-radius:9px;margin-left:auto;padding:9px 12px}.attention-count b{font-size:17px}.attention-days{background:var(--theme-surface-fff1f2,#fff1f2);color:var(--theme-text-be123c,#be123c);white-space:nowrap;border-radius:999px;padding:4px 8px;font-weight:700;display:inline-block}.empty-state{color:var(--theme-text-78869a,#78869a);text-align:center;padding:38px}#configured-document-form [hidden]{display:none!important}.board-conclusions{border:1px solid var(--theme-border-dfe6f0,#dfe6f0);border-radius:12px;min-width:0;margin:0;padding:12px}.board-conclusions>div+div{margin-top:8px}.board-conclusions [data-board-term]{max-width:280px;margin:6px 0 12px 30px}.board-conclusions small{color:var(--theme-text-64748b,#64748b)}.form-grid .checkbox-field{min-height:40px;color:var(--theme-text-40516a,#40516a);cursor:pointer;-webkit-user-select:none;user-select:none;align-self:end;align-items:center;gap:9px;font-size:13px;font-weight:600;display:flex}.audit-table td{vertical-align:top}.audit-table details{min-width:130px}.audit-table summary{color:var(--theme-text-1769d2,#1769d2);cursor:pointer}.audit-diff{grid-template-columns:1fr 1fr;gap:8px;width:min(720px,60vw);margin-top:8px;display:grid}.audit-diff section{background:var(--theme-surface-f4f7fb,#f4f7fb);border-radius:8px;min-width:0;padding:9px}.audit-diff b{color:var(--theme-text-526078,#526078);font-size:11px}.audit-diff pre{white-space:pre-wrap;word-break:break-word;max-height:260px;margin:6px 0 0;font-size:11px;overflow:auto}.audit-entity-tree{gap:3px;min-width:310px;display:grid}.audit-node{margin-left:calc(var(--tree-level) * 18px);color:var(--theme-text-56657a,#56657a);align-items:flex-start;gap:7px;font-size:12px;line-height:1.35;display:flex}.audit-node svg{width:15px;height:15px;color:var(--theme-text-8291a6,#8291a6);flex:0 0 15px;margin-top:1px}.audit-node-patient,.audit-node-section{color:var(--theme-text-162033,#162033);font-weight:700}.audit-node-document,.audit-node-episode,.audit-node-order{color:var(--theme-text-1769d2,#1769d2);font-weight:600}.document-list>div{border:1px solid var(--theme-border-e2e8f0,#e2e8f0);background:var(--theme-surface-f8fafc,#f8fafc);border-radius:10px;align-items:center;gap:10px;padding:9px 11px;display:flex}.document-list>div>svg{width:17px;color:var(--theme-text-68758b,#68758b)}.document-list span{flex:1;min-width:0}.document-list b,.document-list small{display:block}.document-list small{color:var(--theme-text-7a8699,#7a8699);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.document-list .icon-btn{flex:0 0 34px;width:34px;height:34px;margin:0}.document-links{gap:4px;display:flex}.attachment-row{border:2px dashed var(--theme-border-d5deea,#d5deea);background:var(--theme-surface-f8fafc,#f8fafc);border-radius:12px;align-items:stretch;gap:10px;min-height:126px;padding:10px;transition:border-color .15s,background .15s;display:flex;overflow-x:auto}#document-form.dragging .attachment-row{background:var(--theme-surface-eef5ff,#eef5ff);border-color:#4785dc}.attachment-previews{display:contents}.attachment-viewer{grid-template-columns:repeat(auto-fill,minmax(142px,1fr));gap:12px;padding:4px;display:grid}.attachment-viewer .attachment-card{width:100%;min-width:0;height:124px;color:inherit;text-decoration:none}.attachment-add,.attachment-card{border:1px solid var(--theme-border-d8e0eb,#d8e0eb);background:var(--theme-surface-ffffff,#fff);border-radius:10px;width:142px;min-width:142px;height:104px;position:relative;overflow:hidden}.attachment-add{color:var(--theme-text-55708f,#55708f);align-content:center;place-items:center;gap:5px;display:grid}.attachment-add svg{width:25px;height:25px}.attachment-add span{font-size:12px}.attachment-card{flex-direction:column;display:flex}.attachment-visual{background:var(--theme-surface-edf1f6,#edf1f6);flex:1;place-items:center;min-height:76px;display:grid;overflow:hidden}.attachment-visual img,.attachment-visual embed{object-fit:cover;pointer-events:none;border:0;width:100%;height:100%}.attachment-viewer .attachment-visual{justify-content:center;align-items:center;display:flex;position:relative}.attachment-viewer .attachment-visual img{object-fit:cover;object-position:50% 50%;width:100%;height:100%;margin:0;display:block;position:absolute;inset:0}:is(.attachment-visual:has(img),.attachment-visual:has(embed)){cursor:zoom-in}.attachment-visual>svg{width:34px;height:34px;color:var(--theme-text-63738a,#63738a)}.attachment-card small{text-overflow:ellipsis;white-space:nowrap;padding:5px 7px;font-size:10px;overflow:hidden}.attachment-card>button{color:#fff;background:#17243acc;border:0;border-radius:7px;place-items:center;width:23px;height:23px;padding:0;display:grid;position:absolute;top:4px;right:4px}.attachment-card>button svg{width:14px;height:14px}.episode-summary{background:var(--theme-surface-f1f6ff,#f1f6ff);border-left:3px solid #4785dc;border-radius:8px;gap:4px;padding:11px 13px;display:grid}.episode-summary b{color:var(--theme-text-294c7b,#294c7b);font-size:13px}.episode-summary span{color:var(--theme-text-65758b,#65758b);font-size:12px;line-height:1.45}.new-episode-fields{border:1px solid var(--theme-border-dfe6ef,#dfe6ef);background:var(--theme-surface-f8fafc,#f8fafc);border-radius:12px;grid-template-columns:1fr 1fr;gap:15px;padding:15px;display:grid}.new-episode-fields>.wide{grid-column:1/-1}.new-episode-fields label{color:var(--theme-text-536177,#536177);font-size:13px}.diagnosis-description-label>span{align-items:center;gap:7px;display:flex}.inline-icon-btn{background:var(--theme-surface-e8f1ff,#e8f1ff);width:27px;height:27px;color:var(--theme-text-1769d2,#1769d2);border:0;border-radius:7px;place-items:center;padding:0;display:grid}.inline-icon-btn svg{width:14px}.icd-picker-list{z-index:2;background:var(--theme-surface-ffffff,#fff);border-radius:9px;max-height:180px;position:relative;overflow:auto;box-shadow:0 10px 28px #17243a1c}.icd-picker-list button{border:0;border-bottom:1px solid var(--theme-border-edf1f6,#edf1f6);background:var(--theme-surface-ffffff,#fff);width:100%;color:var(--theme-text-33445f,#33445f);text-align:left;padding:8px 10px;display:block}.icd-picker-list button:hover{background:var(--theme-surface-eef5ff,#eef5ff)}.ordered-diagnoses{gap:6px;display:grid}.ordered-diagnoses>div{border:1px solid var(--theme-border-e0e6ee,#e0e6ee);background:var(--theme-surface-ffffff,#fff);border-radius:8px;grid-template-columns:24px auto 1fr 28px;align-items:center;gap:7px;padding:7px 8px;font-size:12px;display:grid}.ordered-diagnoses>small{color:var(--theme-text-8793a5,#8793a5)}.diagnosis-order{background:var(--theme-surface-e8f1ff,#e8f1ff);width:21px;height:21px;color:var(--theme-text-1769d2,#1769d2);border-radius:50%;place-items:center;font-size:10px;font-weight:800;display:grid}.ordered-diagnoses button{background:var(--theme-surface-f1f3f6,#f1f3f6);width:26px;height:26px;color:var(--theme-text-68758b,#68758b);border:0;border-radius:7px;place-items:center;padding:0;display:grid}.ordered-diagnoses button svg{width:13px}.episode-icd-picker{z-index:4;position:relative}.episode-icd-picker .icd-picker-list{border:1px solid var(--theme-border-dce4ef,#dce4ef);max-height:220px;position:absolute;top:calc(100% + 4px);left:0;right:0}#episode-diagnoses>div{grid-template-columns:24px 1fr 28px}.episode-documents{margin-bottom:18px}.episode-documents h3{color:var(--theme-text-526078,#526078);margin:0 0 9px;font-size:14px}.danger-action{background:var(--theme-surface-fff0f2,#fff0f2);color:var(--theme-text-b73349,#b73349);align-items:center;gap:7px;margin-right:auto;display:inline-flex}.danger-action svg{width:16px}.attention-acknowledge{white-space:nowrap;align-items:center;gap:7px;padding:8px 11px;font-size:12px;display:inline-flex}.attention-acknowledge svg{width:15px}.acknowledge-confirmation{text-align:center;padding:8px 4px 2px}.acknowledge-confirmation>svg{width:42px;height:42px;color:var(--theme-text-20a179,#20a179)}.acknowledge-confirmation p{max-width:480px;color:var(--theme-text-526078,#526078);margin:14px auto 20px;line-height:1.5}.attention-table td{vertical-align:top}.attention-type{background:var(--theme-surface-eef3f9,#eef3f9);color:var(--theme-text-526078,#526078);border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700;line-height:1.25;display:inline-flex}.attention-type-curator_assignment{background:var(--theme-surface-e8f7f2,#e8f7f2);color:var(--theme-text-14785c,#14785c)}.attention-type-overdue_treatment_referral{background:var(--theme-surface-fff3e7,#fff3e7);color:var(--theme-text-a65a0d,#a65a0d)}.attention-type-consultation_return{background:var(--theme-surface-e9f1ff,#e9f1ff);color:var(--theme-text-2f62a8,#2f62a8)}.attention-type-incomplete_episode{background:var(--theme-surface-ffecda,#ffecda);color:var(--theme-text-9b5516,#9b5516)}.attention-type-unassigned_curator{background:var(--theme-surface-ffe5e9,#ffe5e9);color:var(--theme-text-a82f45,#a82f45)}.member-phones{gap:10px;display:grid}.member-phones-head{color:var(--theme-text-40516a,#40516a);justify-content:space-between;align-items:center;gap:12px;font-weight:600;display:flex}.member-phones-head .ghost{align-items:center;gap:7px;padding:7px 10px;font-size:12px;display:inline-flex}.member-phones-head svg{width:15px}#member-phone-list{gap:9px;display:grid}.member-phone-row{border:1px solid var(--theme-border-e3e9f1,#e3e9f1);background:var(--theme-surface-f8fafc,#f8fafc);border-radius:11px;grid-template-columns:minmax(130px,.7fr) minmax(190px,1fr) 40px;align-items:end;gap:9px;padding:10px;display:grid}.member-phone-row .icon-btn{color:var(--theme-text-b23b48,#b23b48);margin:0}@media (width<=600px){.member-phone-row{grid-template-columns:1fr 40px}.member-phone-row label:first-child{grid-column:1/-1}}.patient-card{gap:16px;display:grid}.patient-facts{border:1px solid var(--theme-border-e3e9f1,#e3e9f1);background:var(--theme-surface-e3e9f1,#e3e9f1);border-radius:13px;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.patient-facts>div{background:var(--theme-surface-f8fafc,#f8fafc);min-width:0;padding:12px 14px}.patient-facts small,.patient-facts b{display:block}.patient-facts small{color:var(--theme-text-718097,#718097);text-transform:uppercase;letter-spacing:.035em;margin-bottom:4px;font-size:11px}.patient-facts b{overflow-wrap:anywhere;color:var(--theme-text-26354d,#26354d);font-size:14px}.patient-phones h3{color:var(--theme-text-40516a,#40516a);margin:0 0 9px;font-size:14px}.patient-phones>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.patient-phone-link{border:1px solid var(--theme-border-dce6f2,#dce6f2);background:var(--theme-surface-ffffff,#fff);min-width:0;color:var(--theme-text-1769d2,#1769d2);border-radius:11px;grid-template-columns:30px minmax(0,1fr) 16px;align-items:center;gap:8px;padding:10px 11px;text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s;display:grid}.patient-phone-link:hover{border-color:var(--theme-border-8eb8ed,#8eb8ed);transform:translateY(-1px);box-shadow:0 5px 16px #1769d218}.patient-phone-link>svg:first-child{width:17px;height:17px}.patient-phone-link>svg:last-child{width:13px;height:13px;color:var(--theme-text-8290a3,#8290a3)}.patient-phone-link span{min-width:0}.patient-phone-link small,.patient-phone-link b{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.patient-phone-link small{color:var(--theme-text-718097,#718097);font-size:11px}.patient-phone-link b{font-size:13px}.patient-empty-value{color:var(--theme-text-8290a3,#8290a3);font-size:13px}@media (width<=600px){.patient-facts,.patient-phones>div{grid-template-columns:1fr}}.facility-picker{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;display:grid}.facility-picker>button{white-space:nowrap;align-items:center;gap:6px;height:40px;margin-top:23px;display:flex}.facility-picker>button svg,.new-facility button svg{width:15px}.facility-combobox{min-width:0;position:relative}.facility-results{z-index:12;background:var(--theme-surface-ffffff,#fff);border-radius:10px;max-height:240px;position:absolute;top:calc(100% + 5px);left:0;right:0;overflow:auto;box-shadow:0 14px 34px #17243a28}.facility-results:empty{display:none}.facility-results button{border:0;border-bottom:1px solid var(--theme-border-edf1f6,#edf1f6);background:var(--theme-surface-ffffff,#fff);width:100%;color:var(--theme-text-33445f,#33445f);text-align:left;gap:3px;padding:9px 11px;display:grid}.facility-results button:hover{background:var(--theme-surface-eef5ff,#eef5ff)}.facility-results button small{color:var(--theme-text-77859a,#77859a)}.facility-results>span{color:var(--theme-text-7d899a,#7d899a);padding:11px;font-size:12px;display:block}.selected-facility{background:var(--theme-surface-f1f6ff,#f1f6ff);border-left:3px solid #4785dc;border-radius:7px;gap:2px;margin-top:7px;padding:8px 10px;display:grid}.selected-facility:empty{display:none}.selected-facility b{color:var(--theme-text-334d70,#334d70);font-size:12px}.selected-facility span{color:var(--theme-text-718097,#718097);font-size:11px}.referrer-picker{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;display:grid}.referrer-picker>button{align-items:center;gap:6px;height:40px;margin-top:23px;display:flex}.referrer-combobox{min-width:0;position:relative}.referrer-results{z-index:12;background:var(--theme-surface-ffffff,#fff);border-radius:10px;max-height:240px;position:absolute;top:calc(100% + 5px);left:0;right:0;overflow:auto;box-shadow:0 14px 34px #17243a28}.referrer-results:empty{display:none}.referrer-results button{border:0;border-bottom:1px solid var(--theme-border-edf1f6,#edf1f6);background:var(--theme-surface-ffffff,#fff);width:100%;color:var(--theme-text-33445f,#33445f);text-align:left;padding:9px 11px}.referrer-results button:hover{background:var(--theme-surface-eef5ff,#eef5ff)}.referrer-results>span{color:var(--theme-text-7d899a,#7d899a);padding:11px;font-size:12px;display:block}.selected-referrer{background:var(--theme-surface-f1f6ff,#f1f6ff);color:var(--theme-text-334d70,#334d70);border-left:3px solid #4785dc;border-radius:7px;margin-top:7px;padding:8px 10px;font-size:12px}.selected-referrer:empty{display:none}.new-referrer{border:1px solid var(--theme-border-cfdaea,#cfdaea);background:var(--theme-surface-f6f9fd,#f6f9fd);border-radius:11px;grid-template-columns:1fr auto;gap:12px;padding:14px}.new-referrer:not([hidden]){display:grid}.new-referrer button{align-self:end;align-items:center;gap:7px;height:40px;display:flex}.directory-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.directory-toolbar label{border:1px solid var(--theme-border-d9e1ec,#d9e1ec);background:var(--theme-surface-ffffff,#fff);width:min(420px,100%);height:36px;color:var(--theme-text-75839a,#75839a);border-radius:10px;align-items:center;gap:8px;padding:0 11px;display:flex}.directory-toolbar label svg{flex:none;width:16px;height:16px}.directory-toolbar input{background:0 0;border:0;outline:0;height:34px;margin:0;padding:0}.directory-toolbar span{color:var(--theme-text-77859a,#77859a);white-space:nowrap;font-size:12px}.new-facility{border:1px solid var(--theme-border-cfdaea,#cfdaea);background:var(--theme-surface-f6f9fd,#f6f9fd);border-radius:11px;grid-column:1/-1;grid-template-columns:1fr 1fr;gap:12px;padding:14px}.new-facility:not([hidden]){display:grid}.new-facility legend{color:var(--theme-text-33445f,#33445f);padding:0 6px;font-size:13px;font-weight:700}.new-facility .wide{grid-column:1/-1}.new-facility button{align-items:center;gap:7px;width:fit-content;display:flex}.timeline-row{text-overflow:ellipsis;white-space:nowrap;height:28px;margin:0;padding:4px;line-height:20px;display:block;overflow:hidden}.evacuation-entry,.movement-entry{border-radius:5px;width:100%;max-width:100%;position:relative}.treatment-timeline-entry{width:100%;color:inherit}.evacuation-entry:hover,.evacuation-entry:focus,.movement-entry:hover,.movement-entry:focus{background:#ffffffa8;outline:none}#evacuation-tooltip{z-index:100;pointer-events:none;border:1px solid var(--theme-border-d7e0eb,#d7e0eb);color:#fff;text-align:left;text-transform:none;white-space:pre-line;background:#17243a;border-radius:9px;width:max-content;max-width:min(360px,100vw - 20px);padding:10px 12px;font-size:12px;font-weight:400;line-height:1.5;position:fixed;box-shadow:0 12px 32px #0b152755}#file-preview:empty{display:none}.file-preview-overlay{z-index:80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#091426dc;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.file-preview-window{background:var(--theme-surface-ffffff,#fff);border-radius:14px;flex-direction:column;width:min(1180px,96vw);height:min(880px,92vh);display:flex;overflow:hidden;box-shadow:0 30px 90px #0008}.file-preview-window header{border-bottom:1px solid var(--theme-border-dfe6f0,#dfe6f0);align-items:center;gap:12px;height:48px;padding:0 10px 0 16px;display:flex}.file-preview-window header b{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.file-preview-window header button{background:var(--theme-surface-edf1f6,#edf1f6);width:32px;height:32px;color:var(--theme-text-33445f,#33445f);border:0;border-radius:8px;place-items:center;display:grid}.file-preview-window header svg{width:17px;height:17px}.file-preview-window>img{object-fit:contain;background:#172033;flex:1;width:100%;min-height:0}.file-preview-window>embed{border:0;flex:1;width:100%;min-height:0}@media (width<=800px){body.registry-page{overflow:auto}#app.registry-view main{height:auto;min-height:100vh;overflow:visible}.filter-grid{grid-template-columns:1fr}.registry-table{max-height:65vh}.registry-search{max-width:240px}.quick-filter-block .preset-bar>button:nth-of-type(n+2){display:none}}.security-body{background:var(--theme-surface-f2f5f9,#f2f5f9);min-height:100vh;color:var(--theme-text-17243a,#17243a);margin:0}.security-shell{grid-template-columns:minmax(280px,34vw) 1fr;min-height:100vh;display:grid}.security-aside{background:radial-gradient(circle at 15% 75%,#1f765c55,#0000 34%),linear-gradient(145deg,#101b31,#172c4a);height:auto;min-height:100vh;padding:38px clamp(28px,5vw,72px);position:relative;overflow:hidden}.security-aside:after{content:"";border:1px solid #ffffff16;border-radius:50%;width:360px;height:360px;position:absolute;bottom:-120px;right:-120px;box-shadow:0 0 0 55px #ffffff08,0 0 0 110px #ffffff05}.security-brand{z-index:1;align-items:center;gap:12px;display:flex}.security-brand b{color:#fff;background:linear-gradient(135deg,#2f80ed,#20b486);border-radius:13px;place-items:center;width:43px;height:43px;font-size:22px;display:grid}.security-brand span{color:#eef4ff;font-weight:750}.security-brand small{color:var(--theme-text-91a3bd,#91a3bd);font-weight:400;display:block}.security-aside-copy{z-index:1;max-width:430px;margin:auto 0}.security-step{color:var(--theme-text-62d2ac,#62d2ac);letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:800}.security-aside-copy h1{color:#fff;margin:14px 0 18px;font-size:clamp(34px,4vw,55px);line-height:1.05}.security-aside-copy p{color:#aebdd2;font-size:16px;line-height:1.65}.security-logout{z-index:1;margin:0}.security-logout button{color:#c4d0e1;border:1px solid #ffffff20;width:auto;padding:9px 12px}.security-logout svg,.security-icon svg,.security-primary svg,.success-mark svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.security-main{place-items:center;min-width:0;padding:clamp(24px,5vw,70px);display:grid}.security-card{border:1px solid var(--theme-border-dfe6ef,#dfe6ef);background:var(--theme-surface-ffffff,#fff);border-radius:22px;width:min(900px,100%);overflow:hidden;box-shadow:0 22px 65px #19325212}.security-card>header{border-bottom:1px solid var(--theme-border-e8edf4,#e8edf4);align-items:center;gap:14px;padding:22px 26px;display:flex}.security-card header p,.security-card header h2{margin:0}.security-card header p{color:var(--theme-text-738097,#738097);font-size:12px}.security-card header h2{margin-top:2px;font-size:20px}.security-icon{background:var(--theme-surface-eaf2ff,#eaf2ff);width:43px;height:43px;color:var(--theme-text-1769d2,#1769d2);border-radius:12px;place-items:center;display:grid}.security-icon svg{width:23px}.security-status{border-radius:999px;margin-left:auto;padding:6px 10px;font-size:12px;font-weight:700}.security-status.pending{background:var(--theme-surface-fff3d8,#fff3d8);color:var(--theme-text-9a6510,#9a6510)}.security-status.enabled{background:var(--theme-surface-e2f7ed,#e2f7ed);color:var(--theme-text-187553,#187553)}.security-alert{border-radius:10px;margin:20px 26px 0;padding:11px 13px;font-size:13px}.security-alert.warning{background:var(--theme-surface-fff6df,#fff6df);color:var(--theme-text-8b5e12,#8b5e12)}.security-alert.error{background:var(--theme-surface-ffeaed,#ffeaed);color:var(--theme-text-a82c40,#a82c40)}.security-card section,.security-setup-grid{margin:24px 26px}.security-card h3{margin:0 0 7px;font-size:17px}.security-card section p{color:var(--theme-text-68758b,#68758b);margin:0;line-height:1.5}.security-intro{border:1px solid var(--theme-border-dfe7f1,#dfe7f1);background:linear-gradient(135deg,var(--theme-surface-f7faff,#f7faff),var(--theme-surface-f6fcfa,#f6fcfa));border-radius:15px;padding:26px}.security-intro form{margin-top:20px}.security-primary,.security-danger{border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;text-decoration:none;display:inline-flex}.security-primary{color:#fff;background:#1769d2}.security-primary:hover{background:#125abb}.security-primary svg{width:16px}.security-setup-grid{grid-template-columns:minmax(250px,.8fr) minmax(270px,1.2fr);gap:15px;display:grid}.security-setup-grid section{border:1px solid var(--theme-border-e1e7ef,#e1e7ef);border-radius:15px;margin:0;padding:20px;position:relative}.security-number{background:var(--theme-surface-eaf2ff,#eaf2ff);width:25px;height:25px;color:var(--theme-text-1769d2,#1769d2);border-radius:50%;place-items:center;font-size:12px;font-weight:800;display:grid;position:absolute;top:16px;right:16px}.qr-frame{border:1px solid var(--theme-border-dce4ee,#dce4ee);background:var(--theme-surface-ffffff,#fff);border-radius:14px;place-items:center;width:216px;height:216px;margin:18px auto 12px;padding:12px;transition:border-color .15s,box-shadow .15s;display:grid}.qr-frame:hover{border-color:var(--theme-border-8bb3e8,#8bb3e8);box-shadow:0 7px 20px #1769d21a}.qr-frame svg{width:192px;height:192px}.apple-passwords-link{color:var(--theme-text-1769d2,#1769d2);justify-content:center;align-items:center;gap:7px;margin:0 auto 12px;font-size:13px;font-weight:700;text-decoration:none;display:flex}.apple-passwords-link:hover{text-decoration:underline}.apple-passwords-link svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.security-qr p,.security-manual small{font-size:12px;display:block}.security-manual{background:var(--theme-surface-f8fafc,#f8fafc)}.security-manual>p{margin-top:28px!important}.secret-code{overflow-wrap:anywhere;border:1px dashed var(--theme-border-9db3cf,#9db3cf);background:var(--theme-surface-ffffff,#fff);color:var(--theme-text-213b60,#213b60);letter-spacing:.12em;border-radius:10px;margin:18px 0 12px;padding:15px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:17px;font-weight:700}.security-confirm{background:var(--theme-surface-f2f7ff,#f2f7ff);border-radius:14px;grid-template-columns:28px 1fr auto;align-items:center;gap:12px;padding:17px 20px;display:grid}.security-confirm .security-number{position:static}.security-confirm h3{margin:0}.security-confirm p{font-size:12px}.security-confirm form{gap:8px;display:flex}.security-confirm input{text-align:center;letter-spacing:.16em;width:125px;margin:0;font-family:ui-monospace,monospace;font-size:18px}.recovery-section{border:1px solid var(--theme-border-e0e6ee,#e0e6ee);border-radius:14px;padding:20px}.recovery-heading{justify-content:space-between;gap:15px;display:flex}.recovery-heading p{font-size:12px}.recovery-heading>span{background:var(--theme-surface-edf1f6,#edf1f6);height:fit-content;color:var(--theme-text-617087,#617087);border-radius:8px;padding:5px 8px;font-size:11px}.recovery-codes{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:15px;display:grid}.recovery-codes code{background:var(--theme-surface-f3f6fa,#f3f6fa);color:var(--theme-text-2f435f,#2f435f);border-radius:8px;padding:9px 11px;font-size:13px}.recovery-regenerate{margin-top:13px}.recovery-regenerate button{color:var(--theme-text-1769d2,#1769d2);background:0 0;border:0;padding:0;font-size:13px}.security-success{background:var(--theme-surface-effaf5,#effaf5);border-radius:14px;align-items:center;gap:15px;padding:20px;display:flex}.success-mark{color:#fff;background:#20a778;border-radius:50%;place-items:center;width:43px;height:43px;display:grid}.success-mark svg{width:24px}.security-footer-actions{align-items:center;gap:10px;margin:24px 26px 26px;display:flex}.security-footer-actions form{margin:0 0 0 auto}.security-danger{background:var(--theme-surface-fff0f2,#fff0f2);color:var(--theme-text-b73349,#b73349)}@media (width<=900px){.security-shell{grid-template-columns:1fr}.security-aside{min-height:auto;padding:24px}.security-aside-copy{margin:40px 0}.security-aside-copy h1{font-size:36px}.security-main{padding:20px}.security-setup-grid{grid-template-columns:1fr}}@media (width<=600px){.security-card>header{align-items:flex-start}.security-status{text-align:center;max-width:115px}.security-card section,.security-setup-grid{margin-inline:15px}.security-confirm{grid-template-columns:28px 1fr}.security-confirm form{grid-column:1/-1}.security-confirm input{flex:1}.recovery-codes{grid-template-columns:1fr}.security-footer-actions{flex-wrap:wrap;margin-inline:15px}.security-footer-actions form{margin-left:0}}.auth-security-shell{background:radial-gradient(circle at 20% 20%,var(--theme-surface-dcecff,#dcecff),transparent 30%),radial-gradient(circle at 85% 80%,var(--theme-surface-dff5ec,#dff5ec),transparent 30%);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-security-card{border:1px solid var(--theme-border-dfe6ef,#dfe6ef);background:var(--theme-surface-ffffff,#fff);border-radius:20px;width:min(440px,100%);padding:34px;box-shadow:0 24px 70px #19325218}.auth-security-card .security-icon{margin-bottom:20px}.auth-security-card h1{margin:0 0 8px;font-size:25px}.auth-security-card>p{color:var(--theme-text-68758b,#68758b);margin:0 0 22px;line-height:1.55}.auth-security-card form{gap:15px;display:grid}.auth-security-card label{color:var(--theme-text-526177,#526177);font-size:13px}.auth-security-card input{margin-top:6px}.auth-security-card .security-primary{width:100%}.auth-security-card>a{color:var(--theme-text-1769d2,#1769d2);text-align:center;margin-top:18px;font-size:13px;text-decoration:none;display:block}.auth-security-card .security-alert{margin:0 0 18px}.auth-security-card svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.auth-divider{color:var(--theme-text-9aa5b5,#9aa5b5);align-items:center;gap:9px;font-size:11px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--theme-surface-e1e7ef,#e1e7ef);flex:1;height:1px}.eraport-shell{gap:18px;display:grid}.eraport-upload,.eraport-preview,.eraport-ignored{border:1px solid var(--theme-border-e0e7f0,#e0e7f0);background:var(--theme-surface-ffffff,#fff);border-radius:16px;padding:22px;box-shadow:0 8px 30px #1d355710}.eraport-upload{grid-template-columns:minmax(260px,.8fr) minmax(360px,1.2fr);align-items:center;gap:22px;display:grid}.section-kicker{color:var(--theme-text-1769d2,#1769d2);letter-spacing:.09em;text-transform:uppercase;font-size:11px;font-weight:800}.eraport-upload h2,.eraport-preview h2{margin:5px 0 8px;font-size:20px}.eraport-upload p{color:var(--theme-text-68758b,#68758b);margin:0;line-height:1.55}.eraport-dropzone{border:2px dashed var(--theme-border-b9c9dc,#b9c9dc);background:var(--theme-surface-f7faff,#f7faff);min-height:190px;color:var(--theme-text-60718a,#60718a);cursor:pointer;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:20px;transition:all .18s;display:flex}.eraport-dropzone:hover,.eraport-dropzone:focus,.eraport-dropzone.is-dragging{background:var(--theme-surface-eef5ff,#eef5ff);border-color:#4383d8;outline:none}.eraport-dropzone>svg{width:34px;height:34px;color:var(--theme-text-2e74d1,#2e74d1)}.eraport-dropzone b{color:var(--theme-text-33445f,#33445f)}.eraport-dropzone span{font-size:12px}.eraport-dropzone button{align-items:center;gap:7px;margin-top:5px;display:inline-flex}.eraport-dropzone button svg{width:15px}.eraport-file-list{flex-wrap:wrap;grid-column:1/-1;gap:8px;display:flex}.eraport-file-list:empty{display:none}.eraport-file-list>span{background:var(--theme-surface-f0f4f9,#f0f4f9);max-width:360px;color:var(--theme-text-465873,#465873);border-radius:9px;grid-template-columns:18px minmax(80px,1fr) auto 25px;align-items:center;gap:7px;padding:8px 9px;font-size:12px;display:grid}.eraport-file-list svg{width:15px}.eraport-file-list b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.eraport-file-list small{color:var(--theme-text-8490a2,#8490a2)}.eraport-file-list button{width:25px;height:25px;color:var(--theme-text-7d8999,#7d8999);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.eraport-file-list button:hover{background:var(--theme-surface-ffffff,#fff);color:var(--theme-text-b53247,#b53247)}.eraport-upload-actions{grid-column:1/-1;justify-content:flex-end;display:flex}.eraport-upload-actions button,.eraport-apply-bar button{align-items:center;gap:7px;display:inline-flex}.eraport-upload-actions svg,.eraport-apply-bar svg{width:16px}.eraport-upload-actions .lucide-loader-circle{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.eraport-preview-head,.eraport-apply-bar{justify-content:space-between;align-items:center;gap:14px;display:flex}.eraport-preview-head{margin-bottom:16px}.eraport-preview-head>span{background:var(--theme-surface-edf3fb,#edf3fb);color:var(--theme-text-526785,#526785);border-radius:8px;padding:6px 9px;font-size:12px;font-weight:700}.eraport-preview .table-wrap{max-height:480px}.eraport-preview td small{color:var(--theme-text-76859a,#76859a);margin-top:4px;display:block}.eraport-preview tr.is-unmatched{background:var(--theme-surface-fff8f8,#fff8f8);color:var(--theme-text-7a6470,#7a6470)}.eraport-check{text-align:center;width:38px}.eraport-check input{width:16px;height:16px;margin:0}.movement-direction,.eraport-result{border-radius:7px;width:fit-content;padding:4px 7px;font-size:11px;font-weight:750;display:inline-flex}.movement-direction.arrival{background:var(--theme-surface-e5f7ef,#e5f7ef);color:var(--theme-text-167355,#167355)}.movement-direction.departure{background:var(--theme-surface-fff0e0,#fff0e0);color:var(--theme-text-9c5a13,#9c5a13)}.eraport-result.confirm{background:var(--theme-surface-e9f2ff,#e9f2ff);color:var(--theme-text-2464b4,#2464b4)}.eraport-result.create{background:var(--theme-surface-e6f6f0,#e6f6f0);color:var(--theme-text-167054,#167054)}.eraport-result.not-found{background:var(--theme-surface-ffeaed,#ffeaed);color:var(--theme-text-a73749,#a73749)}.eraport-result.create_patient{background:var(--theme-surface-fff0dc,#fff0dc);color:var(--theme-text-95520d,#95520d)}.eraport-apply-bar{border-top:1px solid var(--theme-border-e6ebf2,#e6ebf2);margin-top:16px;padding-top:16px}.eraport-apply-bar p{color:var(--theme-text-617087,#617087);margin:0}.eraport-ignored h3{align-items:center;gap:8px;margin:0 0 12px;font-size:15px;display:flex}.eraport-ignored h3 svg{width:18px;color:var(--theme-text-9b6b1b,#9b6b1b)}.eraport-ignored>div{border-top:1px solid var(--theme-border-edf0f4,#edf0f4);grid-template-columns:minmax(160px,.7fr) minmax(180px,.6fr) minmax(280px,1.7fr);gap:12px;padding:10px 0;font-size:12px;display:grid}.eraport-ignored span{color:var(--theme-text-5f6e83,#5f6e83)}.eraport-ignored small{color:var(--theme-text-8994a4,#8994a4)}@media (width<=800px){.eraport-upload{grid-template-columns:1fr}.eraport-ignored>div{grid-template-columns:1fr;gap:4px}}.order-modal{width:min(1800px,99vw);overflow:hidden}.order-editor{flex-direction:column;gap:14px;min-height:0;max-height:calc(92vh - 80px);display:flex}.order-main-fields{flex:none;grid-template-columns:180px 230px minmax(240px,1fr);gap:12px;display:grid}.order-main-fields label,.order-settings-form label{color:var(--theme-text-536177,#536177);font-size:12px}.order-items-heading{flex:none;justify-content:space-between;align-items:center;gap:14px;display:flex}.order-items-heading>div{gap:2px;display:grid}.order-items-heading small{color:var(--theme-text-718096,#718096)}.order-items-heading button{white-space:nowrap;align-items:center;gap:6px;display:flex}.order-items-heading svg{width:15px}.order-items-table{border:1px solid var(--theme-border-dfe6ef,#dfe6ef);background:var(--theme-surface-f6f8fb,#f6f8fb);border-radius:12px;min-height:230px;overflow:hidden auto}.order-items-table table,.order-items-table tbody{width:100%;min-width:0;display:block}.order-items-table tr{border-bottom:1px solid var(--theme-border-dfe6ef,#dfe6ef);background:var(--theme-surface-ffffff,#fff);grid-template-columns:repeat(6,minmax(0,1fr));gap:8px 10px;padding:10px;display:grid}.order-items-table tr:last-child{border-bottom:0}.order-items-table td{vertical-align:top;border:0;flex-direction:column;min-width:0;padding:0;display:flex}.order-items-table td:before{content:attr(data-label);min-height:15px;color:var(--theme-text-66758b,#66758b);margin-bottom:3px;font-size:10px;font-weight:700}.order-items-table input,.order-items-table textarea{min-height:34px;margin:0;padding:7px 8px;font-size:11px}.order-items-table textarea{resize:vertical;height:34px;min-height:34px}.order-items-table .order-item-actions{justify-content:flex-end;align-items:flex-end}.order-items-table .order-item-actions:before{content:""}.order-items-table .icon-btn{width:32px;height:32px;margin:0}.order-editor>.form-actions{flex:none;margin:0}.order-settings-form{gap:13px;display:grid}.order-settings-form fieldset{border:1px solid var(--theme-border-dfe6ef,#dfe6ef);border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:13px;display:grid}.order-settings-form legend{color:var(--theme-text-33445f,#33445f);padding:0 6px;font-size:13px;font-weight:700}.order-settings-form .wide{grid-column:1/-1}.order-settings-form textarea{min-height:64px}.injury-orders-list .row-actions{display:table-cell}@media (width<=1100px){.order-items-table tr{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=800px){.order-main-fields,.order-items-table tr,.order-settings-form fieldset{grid-template-columns:1fr}.order-settings-form .wide{grid-column:auto}}.official-history{max-height:330px;margin-top:14px}.official-history td{vertical-align:middle}.order-state{border-radius:999px;padding:4px 8px;font-size:11px;font-weight:750;display:inline-flex}.order-state.approved{background:var(--theme-surface-e2f7ed,#e2f7ed);color:var(--theme-text-187553,#187553)}.order-state.review{background:var(--theme-surface-e8efff,#e8efff);color:var(--theme-text-315fa8,#315fa8)}.order-state.draft{background:var(--theme-surface-fff3d8,#fff3d8);color:var(--theme-text-91600d,#91600d)}.draft-value{color:var(--theme-text-8a96a8,#8a96a8);font-style:italic}.order-person-cell{position:relative}.order-shpk-suggestions{z-index:8;background:var(--theme-surface-ffffff,#fff);border-radius:9px;width:330px;max-height:220px;position:absolute;top:41px;left:5px;overflow:auto;box-shadow:0 14px 34px #17243a35}.order-shpk-suggestions button{border:0;border-bottom:1px solid var(--theme-border-edf1f6,#edf1f6);background:var(--theme-surface-ffffff,#fff);text-align:left;gap:2px;width:100%;padding:8px 10px;display:grid}.order-shpk-suggestions button:hover{background:var(--theme-surface-eef5ff,#eef5ff)}.order-shpk-suggestions small{color:var(--theme-text-77859a,#77859a)}.order-summary{grid-template-columns:minmax(250px,1fr) 32px;align-items:center;gap:8px;max-width:580px;display:grid}.order-summary span{white-space:normal;line-height:1.4}.order-summary .icon-btn{width:30px;height:30px}.order-location-form{border-top:1px solid var(--theme-border-e2e8f0,#e2e8f0);margin-top:22px;padding-top:18px}.extraordinary-order-fields{border:1px solid var(--theme-border-ead7ad,#ead7ad);background:var(--theme-surface-fff9eb,#fff9eb);border-radius:11px;grid-template-columns:minmax(260px,.8fr) minmax(360px,1.2fr);gap:12px;padding:12px;display:grid}.extraordinary-order-fields[hidden]{display:none}.extraordinary-order-fields label{color:var(--theme-text-536177,#536177);font-size:12px}.extraordinary-order-fields textarea{min-height:58px}.extraordinary-order-fields>small{color:var(--theme-text-8b651a,#8b651a);grid-column:1/-1}.manual-order-note{width:30px;height:30px;color:var(--theme-text-8b651a,#8b651a);place-items:center;display:inline-grid}.manual-order-note svg{width:16px}@media (width<=800px){.order-main-fields,.extraordinary-order-fields{grid-template-columns:1fr}.extraordinary-order-fields>small{grid-column:auto}}.order-text-preview{gap:14px;max-height:78vh;display:grid}.order-text-preview>p{background:var(--theme-surface-eef5ff,#eef5ff);color:var(--theme-text-315f9c,#315f9c);border-radius:10px;align-items:center;gap:8px;margin:0;padding:10px 12px;font-size:12px;display:flex}.order-text-preview>p svg{flex:none;width:16px}.order-text-preview pre{border:1px solid var(--theme-border-dfe6ef,#dfe6ef);background:var(--theme-surface-ffffff,#fff);min-width:min(760px,80vw);max-height:62vh;color:var(--theme-text-202b3d,#202b3d);white-space:pre-wrap;border-radius:12px;margin:0;padding:22px;font:14px/1.65 Instrument Sans,sans-serif;overflow:auto}.order-text-preview .form-actions{margin:0}.order-preview-modal{width:min(1160px,98vw);overflow:hidden}.order-document-preview{gap:12px;max-height:86vh;display:grid}.order-document-preview>p{background:var(--theme-surface-eef5ff,#eef5ff);color:var(--theme-text-315f9c,#315f9c);border-radius:9px;align-items:center;gap:8px;margin:0;padding:9px 12px;font-size:12px;display:flex}.order-document-preview>p svg{width:16px}.order-pdf-preview{background:#687386;border:0;width:100%;height:calc(86vh - 110px);min-height:520px}.order-document-preview .form-actions{margin:0}.official-signature-field{gap:7px;display:grid}.official-signature-field>span:first-child{justify-content:space-between;display:flex}.official-signature-status,.signature-available{color:var(--theme-text-277454,#277454);align-items:center;gap:5px;font-size:12px;display:flex}.official-signature-status svg,.signature-available svg{width:15px}.order-items-table table{table-layout:auto;width:100%;display:table}.order-items-table thead{display:table-header-group}.order-items-table tbody{display:table-row-group}.order-items-table tr{background:var(--theme-surface-ffffff,#fff);padding:0;display:table-row}.order-items-table th{padding:9px 12px;font-size:10px}.order-items-table td{border-top:1px solid var(--theme-border-e8edf4,#e8edf4);vertical-align:middle;width:auto;min-width:0;padding:10px 12px;display:table-cell}.order-items-table td:before{display:none}.order-items-table td small{color:var(--theme-text-748298,#748298);margin-top:3px;display:block}.order-items-table .row-actions{white-space:nowrap;width:90px}.order-items-empty td{text-align:center;color:var(--theme-text-8290a4,#8290a4);padding:35px}.order-item-modal-bg{z-index:70}.order-item-modal{width:min(1050px,96vw)}.order-item-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.order-item-form label{color:var(--theme-text-536177,#536177);font-size:12px;position:relative}.order-item-form .wide,.order-item-form .form-actions,.order-item-section{grid-column:1/-1}.order-item-form textarea{min-height:70px}.order-item-section{border-top:1px solid var(--theme-border-e3e9f1,#e3e9f1);color:var(--theme-text-33445f,#33445f);margin-top:3px;padding-top:13px;font-size:13px;font-weight:750}.order-person-field .order-shpk-suggestions{width:min(520px,100%);top:64px;left:0}@media (width<=800px){.order-item-form{grid-template-columns:1fr}.order-item-form .wide,.order-item-form .form-actions,.order-item-section{grid-column:auto}}.modal.order-requisites-modal{width:min(1400px,96vw);max-width:96vw;max-height:94vh}.order-requisites-modal .official-history{max-height:55vh}.official-group-heading th{text-align:left;background:var(--theme-surface-e8efff,#e8efff);color:var(--theme-text-315fa8,#315fa8);font-weight:700}.order-requisites{gap:24px;display:grid}.order-requisites section{min-width:0}.order-requisites-head{justify-content:space-between;align-items:center;gap:14px;display:flex}.order-requisites-head>div{gap:2px;display:grid}.order-requisites-head small{color:var(--theme-text-748298,#748298)}.order-requisites-head button{white-space:nowrap;align-items:center;gap:6px;display:flex}.order-requisites-head svg{width:15px}.order-requisite-modal-bg{z-index:70}.order-requisite-modal{width:min(760px,94vw)}.eraport-generator-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1200px;display:grid}.eraport-generator-form>section{border:1px solid var(--theme-border-dfe6ef,#dfe6ef);background:var(--theme-surface-ffffff,#fff);border-radius:14px;padding:18px;box-shadow:0 8px 28px #1d35570b}.eraport-generator-form>section:first-of-type,.eraport-generator-form>section:last-of-type,.eraport-generator-form>.form-actions{grid-column:1/-1}.eraport-generator-form h3{margin:0 0 14px;font-size:15px}.eraport-generator-form .wide{grid-column:1/-1}.eraport-generator-form textarea{min-height:70px}.eraport-generator-form [name=content]{min-height:145px}.eraport-person-field{position:relative}.eraport-person-field .order-shpk-suggestions{width:min(620px,100%);top:62px;left:0}.eraport-signer-manager{gap:18px;display:grid}.eraport-signer-manager>.table-wrap{max-height:340px}.eraport-signer-manager td small{color:var(--theme-text-748298,#748298);margin-top:3px;display:block}@media (width<=850px){.eraport-generator-form{grid-template-columns:1fr}.eraport-generator-form>section:first-of-type,.eraport-generator-form>section:last-of-type,.eraport-generator-form>.form-actions{grid-column:auto}}.eraport-generator-page{gap:22px;display:grid}.eraport-documents{border:1px solid var(--theme-border-dfe6ef,#dfe6ef);background:var(--theme-surface-ffffff,#fff);border-radius:14px;max-width:1200px;padding:18px;box-shadow:0 8px 28px #1d35570b}.eraport-documents>div:first-child{align-items:baseline;gap:10px;margin-bottom:13px;display:flex}.eraport-documents h3{margin:0;font-size:15px}.eraport-documents small{color:var(--theme-text-748298,#748298)}.eraport-document-status{border-radius:999px;padding:4px 8px;font-size:11px;font-weight:750;display:inline-flex}.eraport-document-status.draft{background:var(--theme-surface-fff3d8,#fff3d8);color:var(--theme-text-91600d,#91600d)}.eraport-document-status.ready{background:var(--theme-surface-e2f7ed,#e2f7ed);color:var(--theme-text-187553,#187553)}.eraport-section-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px;display:flex}.eraport-section-head h3{margin:0}.eraport-section-head small{color:var(--theme-text-748298,#748298)}.eraport-section-head button{align-items:center;gap:6px;display:flex}.eraport-section-head svg{width:15px}.eraport-additional-section[hidden]{display:none}.eraport-additional-section{grid-column:1/-1}.eraport-additional-person{border:1px solid var(--theme-border-e1e7ef,#e1e7ef);background:var(--theme-surface-f8fafc,#f8fafc);border-radius:11px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;padding:13px 48px 13px 13px;display:grid;position:relative}.eraport-additional-person .wide{grid-column:span 2}.eraport-additional-person>.icon-btn{position:absolute;top:11px;right:10px}.eraport-extra-person-field{position:relative}.eraport-extra-person-field .order-shpk-suggestions{width:min(520px,100%);top:57px;left:0}.eraport-documents .icon-btn.is-active{background:var(--theme-surface-e8f2ff,#e8f2ff);color:var(--theme-text-1769d2,#1769d2)}@media (width<=800px){.eraport-additional-person{grid-template-columns:1fr}.eraport-additional-person .wide{grid-column:auto}}.eraport-editor-modal{width:min(1260px,98vw);padding:22px}.eraport-editor-modal>.eraport-generator-form{max-width:none}.eraport-editor-modal .modal-title{z-index:4;border-bottom:1px solid var(--theme-border-e5eaf1,#e5eaf1);background:var(--theme-surface-ffffff,#fff);margin:-22px -22px 18px;padding:20px 22px 12px;position:sticky;top:-22px}.eraport-editor-modal .modal-title h2{margin:0}.eraport-editor-modal .modal-title .icon-btn{flex:none}.order-main-fields{grid-template-columns:200px 260px minmax(220px,1fr)}.order-autosave-status{min-height:38px;color:var(--theme-text-64748b,#64748b);align-self:end;align-items:center;gap:7px;font-size:12px;display:flex}.order-autosave-status svg{width:16px;height:16px}.order-autosave-status.saved{color:var(--theme-text-16805d,#16805d)}.order-autosave-status.pending{color:var(--theme-text-8a6410,#8a6410)}.order-autosave-status.saving svg{animation:.85s linear infinite slow-request-spin}.order-autosave-status.error{color:var(--theme-text-c2413b,#c2413b)}@media (width<=800px){.order-main-fields{grid-template-columns:1fr}}.order-person-field .order-shpk-suggestions,.eraport-person-field .order-shpk-suggestions,.eraport-extra-person-field .order-shpk-suggestions,.eraport-extra-editor-name .order-shpk-suggestions{width:min(620px,100%);top:calc(100% + 4px);left:0}.movement-entry{cursor:context-menu}.context-section-label{color:var(--theme-text-64748b,#64748b);letter-spacing:.04em;text-transform:uppercase;padding:5px 10px 4px;font-size:11px;font-weight:700}.context-section-divider{border-top:1px solid var(--theme-border-e2e8f0,#e2e8f0);margin-top:6px;padding-top:10px}.context-section-description{color:var(--theme-text-334155,#334155);white-space:normal;overflow-wrap:anywhere;max-height:7em;padding:0 10px 7px;font-size:12px;line-height:1.4;overflow-y:auto}.attention-type.attention-priority-red{background:var(--theme-surface-fee2e2,#fee2e2);color:var(--theme-text-991b1b,#991b1b)}.attention-type.attention-priority-yellow{background:var(--theme-surface-fef3c7,#fef3c7);color:var(--theme-text-92400e,#92400e)}.attention-type.attention-priority-green{background:var(--theme-surface-dcfce7,#dcfce7);color:var(--theme-text-166534,#166534)}.approval-workspace{grid-template-columns:minmax(280px,1fr) minmax(300px,1fr);align-items:start;gap:20px;display:grid}.approval-selection,.approval-preview{background:var(--theme-surface-ffffff,white);border-radius:12px;max-height:calc(100dvh - 240px);padding:18px;overflow:auto}.approval-preview{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-family:inherit;font-size:16px;line-height:1.5}.approval-choice{border-bottom:1px solid var(--theme-border-e2e8f0,#e2e8f0);padding:12px 0}.approval-choice textarea{width:100%;min-height:65px;margin-top:8px}.approval-choice small{color:var(--theme-text-64748b,#64748b);display:block}.approval-meta{margin-bottom:12px}.approval-media-list{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}#approval-media-view img,#approval-media-view video{max-width:100%;max-height:65vh}@media (width<=800px){.approval-workspace{grid-template-columns:minmax(0,1fr)}.approval-selection,.approval-preview{max-height:55dvh}}.attachment-card:has(.attachment-sedo-flags){height:140px}.attachment-sedo-flags{min-height:28px;color:var(--theme-text-2563eb,#2563eb);align-items:center;gap:6px;padding:3px 7px;display:flex}.attachment-sedo-flags svg{width:15px;height:15px}.attachment-sedo-flags>span{display:flex}.attachment-sedo-flags>button{background:var(--theme-surface-eef2f7,#eef2f7);width:24px;height:24px;color:var(--theme-text-475569,#475569);border:0;border-radius:5px;place-items:center;margin-left:auto;padding:0;display:grid}.attachment-flags-menu{z-index:2147483646;border:1px solid var(--theme-border-dbe3ed,#dbe3ed);background:var(--theme-surface-ffffff,white);width:290px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);color:var(--theme-text-334155,#334155);border-radius:10px;padding:5px;position:fixed;overflow:auto;box-shadow:0 12px 40px #0f172a33}.attachment-flags-menu button{width:100%;color:inherit;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:9px 8px;font-size:12px;display:flex}.attachment-flags-menu button:hover,.attachment-flags-menu button:focus-visible{background:var(--theme-surface-eff6ff,#eff6ff)}.attachment-flags-menu svg{flex-shrink:0;width:16px;height:16px}.attachment-flags-menu .flag-check{color:var(--theme-text-2563eb,#2563eb);margin-left:auto}.attachment-flags-menu small{color:var(--theme-text-64748b,#64748b);padding:7px 8px;font-size:11px;display:block}.status-custom-color{flex-wrap:wrap;align-items:end;gap:12px;margin-top:14px;display:flex}.status-custom-color label{gap:6px;min-width:0;display:grid}.status-custom-color input[type=color]{cursor:pointer;width:72px;height:40px;padding:3px}.status-custom-color input[data-status-color-hex]{width:120px}.status-color-preview{color:var(--theme-text-162033,#162033);border-radius:8px;flex:180px;padding:12px}.registry-table tbody tr.status-row td,.registry-table tbody tr.status-row:hover td{background:var(--status-bg);color:var(--status-text)}.registry-table tbody tr.status-row td :is(.person,small,a,[data-episode-diagnosis],[data-evacuation-stage],.registry-status,.registry-status small){color:var(--status-text)}.registry-table tbody tr.status-row:hover td{box-shadow:inset 0 0 0 999px #8080800f}.status-color-preview{line-height:1.6}.registry-table tbody tr.status-row :is(.evacuation-entry,.movement-entry):is(:hover,:focus){background:#80808026}.registry-diagnosis-line{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.registry-table tbody tr.status-row td .registry-status small{color:var(--status-note);text-shadow:-.5px 0 var(--status-note-outline), .5px 0 var(--status-note-outline), 0 -.5px var(--status-note-outline), 0 .5px var(--status-note-outline);font-weight:700}.development-filters{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.development-filters input{flex:1;min-width:180px}.development-filters select{width:auto;max-width:100%}.development-card{border:1px solid var(--theme-border-dce3ed,#dce3ed);background:var(--theme-surface-ffffff,#fff);overflow-wrap:anywhere;border-radius:12px;margin-bottom:10px;padding:16px}.development-card h3{margin:0}.development-card small{color:var(--theme-text-64748b,#64748b)}.development-card p{white-space:pre-wrap}.development-pagination{justify-content:center;align-items:center;gap:12px;display:flex}.attachment-card>button.local-attachment-rotate{right:32px}.approval-list-row{cursor:pointer}.approval-list-row:hover,.approval-list-row:focus-visible{background:var(--theme-surface-eff6ff,#eff6ff)}main>header h1 .approval-media-list{flex-wrap:wrap;gap:4px;min-width:0;margin:0;font-size:14px;font-weight:400;display:flex}main>header h1 .approval-media-list>span{align-items:center;display:inline-flex}main>header h1 .approval-media-list [data-media]{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.approval-media-popup img,.approval-media-popup video{object-fit:contain;width:100%;max-height:75dvh;display:block}.approval-copy-list{width:100%;min-height:40vh}.care-stat-filters{flex-wrap:wrap;align-items:end;gap:16px;margin-bottom:20px;display:flex}.care-stat-filters label{gap:6px;max-width:100%;display:grid}.care-stat-filters select{min-width:180px;max-width:100%}.care-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.care-stat-panel{background:var(--theme-surface-ffffff,#fff);border:1px solid var(--theme-border-e2e8f0,#e2e8f0);border-radius:14px;min-width:0;padding:20px}.care-stat-panel h2{margin:0 0 20px;font-size:18px}.care-stat-row{grid-template-columns:minmax(100px,1fr) minmax(70px,1.5fr) 36px;align-items:center;gap:10px;margin:14px 0;font-size:13px;display:grid}.care-stat-track{background:var(--theme-surface-f1f5f9,#f1f5f9);border-radius:5px;height:24px;display:flex;overflow:hidden}.care-stat-track>span{min-width:1px;height:100%;display:block}.care-stat-legend{flex-wrap:wrap;gap:12px;margin:20px 0;font-size:13px;display:flex}.care-stat-legend>span{align-items:center;gap:6px;display:flex}.care-stat-legend i{border-radius:3px;width:12px;height:12px}@media (width<=900px){.care-stat-grid{grid-template-columns:1fr}.care-stat-panel{padding:14px}}.care-history{margin-bottom:24px}.care-history-chart{width:100%;max-height:360px;display:block}.care-history-chart text{fill:var(--theme-text-64748b,#64748b);font-size:12px}.care-history-days{max-height:300px;overflow:auto}.care-history .care-stat-filters select{min-width:140px}.care-history{margin-top:24px}.history-curator-picker{min-width:180px;position:relative}.history-curator-picker summary{cursor:pointer;border:1px solid var(--theme-border-cbd5e1,#cbd5e1);background:var(--theme-surface-ffffff,white);border-radius:8px;padding:10px}.history-curator-picker>div{z-index:20;background:var(--theme-surface-ffffff,#fff);border:1px solid var(--theme-border-cbd5e1,#cbd5e1);border-radius:8px;min-width:240px;max-width:85vw;max-height:280px;padding:12px;position:absolute;top:100%;left:0;overflow:auto;box-shadow:0 8px 24px #0f172a22}.history-curator-picker .checkbox-field{margin:8px 0;display:flex}.registry-filters-modal{flex-direction:column;width:min(960px,100%);display:flex;overflow:hidden}.registry-filters-modal #filters{flex-direction:column;min-height:0;display:flex}.registry-filters-modal .saved-filter-list{flex-shrink:0;max-height:100px;margin-bottom:12px;padding:0 0 12px;overflow:auto}.registry-filters-modal .filter-grid{align-items:start;gap:12px;max-height:55dvh}.registry-filters-modal .filter-grid fieldset{background:var(--theme-surface-f8fafc,#f8fafc);gap:8px;min-width:0;margin:0;padding:10px}.registry-filters-modal .filter-grid legend{font-size:13px}.registry-filters-modal .filter-grid legend small{color:var(--theme-text-1769d2,#1769d2)}.registry-filters-modal .filter-grid .filter-option-search{width:100%;height:34px;margin:0;padding:6px 10px;font-size:13px}.registry-filters-modal .filter-options{min-height:40px;max-height:180px;overflow:auto}.registry-filters-modal .filter-options label{cursor:pointer;border-radius:7px;padding:6px 8px;font-size:13px}.registry-filters-modal .filter-options label:has(input:checked){background:var(--theme-surface-eef4ff,#eef4ff)}.registry-filters-modal .filter-options label[hidden]{display:none}.registry-filters-modal .filter-empty{margin:6px;font-size:13px}.registry-filters-modal .save-filter{margin-top:12px}.registry-filters-modal .form-actions{flex-shrink:0;margin-top:12px}@media (width<=600px){.registry-filters-modal .filter-grid{grid-template-columns:1fr}.registry-filters-modal .save-filter{flex-wrap:wrap}}#history-chart{min-height:420px;position:relative}#history-chart[aria-busy=true]:after{content:"Оновлення…";background:var(--theme-surface-ffffff,#fff);border-radius:6px;padding:5px 10px;font-size:12px;position:absolute;top:0;right:0}.care-history-chart{height:clamp(220px,32vw,360px)}.care-history #history-chart>.care-stat-legend{align-content:flex-start;height:56px;overflow:auto}.care-stat-grid>.care-stat-panel{min-height:300px}.care-chart-tooltip{z-index:100000;pointer-events:none;background:var(--theme-surface-ffffff,#fff);max-width:min(340px,100vw - 16px);color:var(--theme-text-0f172a,#0f172a);border:1px solid var(--theme-border-cbd5e1,#cbd5e1);border-radius:8px;padding:8px 12px;font-size:13px;position:fixed;box-shadow:0 4px 18px #0003}.care-chart-tooltip[hidden]{display:none}.care-history-chart circle{cursor:help;stroke:#0000;stroke-width:12px;pointer-events:all}.patient-portrait{align-items:flex-start;gap:8px;margin-bottom:16px;display:flex}.patient-portrait>button:first-child{cursor:zoom-in;background:0 0;border:0;padding:0}.patient-portrait img{object-fit:cover;border-radius:12px;width:150px;height:180px}.attachment-card .file-save-button,.patient-file .file-save-button{flex-shrink:0;align-self:flex-end;margin:4px;position:relative}.attachment-card,.attachment-viewer .attachment-card{box-sizing:border-box;height:140px}.attachment-card:has(.attachment-sedo-flags){box-sizing:border-box;height:140px}.attachment-card>.attachment-visual,.attachment-card>a.attachment-visual{flex:1 1 0;min-height:0}.attachment-card>small{box-sizing:border-box;text-overflow:ellipsis;white-space:nowrap;flex:0 0 25px;height:25px;min-height:25px;max-height:25px;line-height:15px;overflow:hidden}.attachment-card>.attachment-sedo-flags{box-sizing:border-box;flex:0 0 30px;height:30px;min-height:30px;overflow:hidden}.attachment-card>.file-save-button{color:#fff;z-index:4;background:#17243ae6;border:1px solid #fff6;border-radius:7px;place-items:center;width:28px;height:28px;margin:0;padding:0;display:grid;position:absolute;top:5px;bottom:auto;right:5px;box-shadow:0 1px 4px #0003}.attachment-card:has(>.file-save-button)>button[data-remove-existing-attachment]{right:38px}.attachment-card:has(>.file-save-button)>button.local-attachment-rotate{right:67px}.patient-file{box-sizing:border-box;height:280px;padding-bottom:48px;position:relative;overflow:hidden}.patient-file>.patient-file-preview{flex:0 0 120px;height:120px;min-height:120px}.patient-file>b{-webkit-line-clamp:2;-webkit-box-orient:vertical;height:36px;min-height:36px;max-height:36px;font-size:13px;line-height:18px;display:-webkit-box;overflow:hidden}.patient-file>small{white-space:nowrap;text-overflow:ellipsis;height:18px;min-height:18px;max-height:18px;font-size:11px;line-height:18px;display:block;overflow:hidden}.patient-file>.patient-file-actions{gap:6px;height:28px;display:flex;position:absolute;bottom:10px;left:10px}.patient-file>.file-save-button{background:var(--theme-surface-eef2f7,#eef2f7);width:28px;height:28px;color:var(--theme-text-475569,#475569);border:1px solid var(--theme-border-e2e8f0,#e2e8f0);border-radius:7px;place-items:center;margin:0;padding:0;display:grid;position:absolute;top:auto;bottom:10px;right:10px}.patient-file-actions>.icon-btn{width:28px;height:28px;padding:0}.file-save-button svg{width:16px;height:16px}.file-save-button:hover{filter:brightness(.9)}.file-save-button:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.patient-file>[data-editor]:not(:empty){z-index:5;background:var(--theme-surface-ffffff,#fff);border-radius:8px;padding:10px;position:absolute;inset:8px;overflow:auto;box-shadow:0 2px 12px #0002}.patient-facts-with-photo{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-facts-with-photo>#patient-header-photo{grid-area:1/1/span 3;justify-content:center;align-items:center;min-height:264px;padding:12px;display:flex}.patient-facts-with-photo>div:nth-child(2),.patient-facts-with-photo>div:nth-child(3),.patient-facts-with-photo>div:nth-child(4){grid-column:2}#patient-header-photo .patient-portrait,#patient-header-photo .patient-portrait-placeholder{aspect-ratio:3/4;background:var(--theme-surface-f1f5f9,#f1f5f9);border-radius:10px;width:180px;max-width:100%;height:240px;margin:0;position:relative;overflow:hidden}#patient-header-photo .patient-portrait>button:first-child{width:100%;height:100%;display:block}#patient-header-photo .patient-portrait img{object-fit:cover;border-radius:0;width:100%;height:100%;display:block}#patient-header-photo [data-portrait-save]{color:#fff;background:#17243ae6;border-radius:7px;width:28px;height:28px;padding:5px;position:absolute;bottom:6px;right:6px}.patient-portrait-placeholder{color:var(--theme-text-718097,#718097);flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:12px;display:flex}.patient-portrait-placeholder svg{width:40px;height:40px}@media (width<=450px){.patient-facts-with-photo>div{padding:8px}.patient-facts-with-photo>#patient-header-photo{min-height:208px;padding:8px}#patient-header-photo .patient-portrait,#patient-header-photo .patient-portrait-placeholder{aspect-ratio:3/4;width:144px;height:auto}.patient-facts-with-photo b{font-size:12px}}.attention-table .attention-actions-cell{width:240px;min-width:210px}.attention-actions{flex-direction:column;align-items:stretch;gap:6px;width:220px;max-width:100%;display:flex}.attention-table .attention-action{box-sizing:border-box;border:1px solid var(--theme-border-dfe6ef,#dfe6ef);background:var(--theme-surface-ffffff,#fff);width:100%;height:auto;min-height:36px;color:var(--theme-text-1769d2,#1769d2);font:inherit;text-align:left;white-space:normal;box-shadow:none;cursor:pointer;border-radius:8px;justify-content:flex-start;align-items:center;gap:8px;margin:0;padding:8px 10px;font-size:12px;font-weight:500;line-height:1.35;text-decoration:none;display:flex}.attention-table .attention-action svg{flex:0 0 16px;width:16px;height:16px}.attention-table .attention-action span{overflow-wrap:anywhere;min-width:0}.attention-table .attention-action:hover{background:var(--theme-surface-eff6ff,#eff6ff);border-color:var(--theme-text-1769d2,#1769d2)}.attention-table .attention-action:focus-visible{outline:2px solid var(--theme-text-1769d2,#1769d2);outline-offset:2px}.attention-table .attention-action:disabled{opacity:.5;cursor:wait}@media (width<=640px){.attention-table .attention-action{min-height:44px}}.attention-filters-with-search{flex-wrap:wrap}.attention-filters-with-search>label{flex:180px;min-width:0}.attention-filters-with-search>.attention-search-field{flex:2 280px}.attention-search-controls{align-items:center;gap:6px;margin-top:5px;display:flex}.attention-search-controls input{flex:1;width:0;min-width:0;margin:0}.attention-search-controls button{flex-shrink:0;margin:0}.attention-filters-with-search .attention-count{margin-left:auto}.registry-search #clear-registry-search{background:0 0;border:0;border-radius:6px;flex:0 0 26px;place-items:center;width:26px;height:26px;padding:0;display:inline-grid}.registry-search #clear-registry-search[hidden]{display:none}.registry-search #clear-registry-search:hover{background:var(--theme-surface-e9f2ff,#e9f2ff)}.registry-toolbar #reset-filters{white-space:nowrap;justify-content:center;align-items:center;gap:6px;margin-left:auto;display:inline-flex}.registry-toolbar #reset-filters svg{width:16px;height:16px}.registry-toolbar #reset-filters:focus-visible{outline:2px solid var(--theme-border-6b9bea,#6b9bea);outline-offset:2px}.attention-search-input{flex:1;min-width:0;display:flex;position:relative}.attention-search-input #attention-search{padding-right:36px}.attention-search-input #attention-search::-webkit-search-cancel-button{-webkit-appearance:none}.attention-search-input #clear-attention-search{width:26px;height:26px;color:var(--theme-text-738097,#738097);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.attention-search-input #clear-attention-search[hidden]{display:none}.attention-search-input #clear-attention-search:hover{background:var(--theme-surface-e9f2ff,#e9f2ff)}.attention-search-input #clear-attention-search svg{width:16px;height:16px}.attention-filters-with-search{border:1px solid var(--theme-border-d7dfeb,#d7dfeb);background:var(--theme-surface-ffffff,#fff);border-radius:12px;align-items:flex-end;gap:12px;padding:14px}.attention-filters-with-search>label,.attention-type-field{color:var(--theme-text-536177,#536177);font-size:12px}.attention-type-field{flex:2 280px;min-width:0}.attention-filters-with-search select{background-color:var(--theme-surface-f9fbfd,#f9fbfd);border-radius:9px;height:40px;padding:8px 30px 8px 11px}.attention-type-picker{margin-top:5px;position:relative}.attention-type-picker summary{cursor:pointer;border:1px solid var(--theme-border-d7dfeb,#d7dfeb);background:var(--theme-surface-f9fbfd,#f9fbfd);height:40px;color:var(--theme-text-162033,#162033);border-radius:9px;align-items:center;gap:8px;padding:8px 11px;list-style:none;display:flex}.attention-type-picker summary::-webkit-details-marker{display:none}.attention-type-picker summary>span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.attention-type-picker summary svg{flex-shrink:0;width:16px;height:16px}.attention-type-picker b{background:var(--theme-surface-e9f2ff,#e9f2ff);min-width:26px;color:var(--theme-text-1769d2,#1769d2);border-radius:999px;justify-content:center;padding:2px 7px;font-size:11px;display:inline-flex}.attention-type-menu{z-index:35;border:1px solid var(--theme-border-d7dfeb,#d7dfeb);background:var(--theme-surface-ffffff,#fff);border-radius:12px;width:min(440px,100vw - 40px);max-height:min(440px,60vh);padding:8px;position:absolute;top:calc(100% + 5px);left:0;overflow:auto;box-shadow:0 12px 32px #101b3126}.attention-type-menu>input{margin:0 0 8px}.attention-type-option{width:100%;color:var(--theme-text-162033,#162033);text-align:left;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;font-size:13px;display:flex}.attention-type-option>b{flex-shrink:0}.attention-type-option:hover,.attention-type-option.selected{background:var(--theme-surface-e9f2ff,#e9f2ff)}.attention-type-option.attention-type-group{background:var(--theme-surface-f3f6fa,#f3f6fa);margin-top:6px;font-weight:700}.attention-type-menu section>.attention-type-option:not(.attention-type-group){padding-left:20px}.attention-type-option[hidden],.attention-type-menu section[hidden]{display:none}@media (width<=700px){.attention-type-field{flex-basis:100%}.attention-type-menu{width:100%}}.shpk-shell{gap:18px;display:grid}.shpk-privacy,.shpk-current{background:var(--theme-surface-ecfdf5,#ecfdf5);border:1px solid var(--theme-border-a7f3d0,#a7f3d0);border-radius:14px;align-items:center;gap:14px;padding:16px 18px;display:flex}.shpk-privacy>svg,.shpk-current>svg{width:28px;height:28px;color:var(--theme-text-087f5b,#087f5b);flex:none}.shpk-privacy div,.shpk-current div{gap:3px;display:grid}.shpk-privacy span,.shpk-current span{color:var(--theme-text-526174,#526174);font-size:13px}.shpk-current{background:var(--theme-surface-ffffff,white);border-color:var(--theme-border-dbe4ee,#dbe4ee);justify-content:space-between}.shpk-progress{background:var(--theme-surface-e8edf4,#e8edf4);border-radius:10px;height:36px;position:relative;overflow:hidden}.shpk-progress span{background:linear-gradient(90deg,#2f80ed,#20b486);transition:width .15s;position:absolute;inset:0 auto 0 0}.shpk-progress b{z-index:1;height:100%;color:var(--theme-text-162033,#162033);place-items:center;font-size:12px;display:grid;position:relative}.shpk-setup{gap:16px;display:grid}.shpk-step{background:var(--theme-surface-ffffff,white);border:1px solid var(--theme-border-e0e7ef,#e0e7ef);border-radius:15px;grid-template-columns:42px 1fr;gap:15px;padding:20px;display:grid}.shpk-step>span{background:var(--theme-surface-e9f2ff,#e9f2ff);width:36px;height:36px;color:var(--theme-text-1769d2,#1769d2);border-radius:50%;place-items:center;font-weight:800;display:grid}.shpk-step>div{min-width:0}.shpk-step>div>h3{margin:4px 0}.shpk-step>div>p{color:var(--theme-text-68768a,#68768a)}.shpk-step>div>label{min-width:220px;color:var(--theme-text-536177,#536177);margin:0 12px 14px 0;font-size:13px;display:inline-block}.shpk-mapping-grid{grid-template-columns:repeat(3,minmax(180px,1fr));gap:12px;display:grid}.shpk-mapping-grid label{color:var(--theme-text-536177,#536177);font-size:13px}.shpk-replace-note{background:var(--theme-surface-fff8e1,#fff8e1);border-radius:9px;align-items:center;gap:8px;padding:10px 12px;display:flex;color:var(--theme-text-8a5d0a,#8a5d0a)!important}.shpk-match{color:var(--theme-text-087f5b,#087f5b);align-items:center;gap:5px;margin-top:6px;font-size:11px;display:flex}.shpk-match svg{width:13px}.shpk-name-field{position:relative}.shpk-suggestions{z-index:60;background:var(--theme-surface-ffffff,white);border:1px solid var(--theme-border-d7dfeb,#d7dfeb);border-radius:10px;max-height:240px;position:absolute;top:100%;left:0;right:0;overflow:auto;box-shadow:0 16px 35px #17243a26}.shpk-suggestions button{border:0;border-bottom:1px solid var(--theme-border-edf1f6,#edf1f6);background:var(--theme-surface-ffffff,white);text-align:left;width:100%;padding:10px 12px;display:block}.shpk-suggestions button:hover{background:var(--theme-surface-f0f6ff,#f0f6ff)}.shpk-suggestions small{color:var(--theme-text-738097,#738097);margin-top:2px;display:block}@media (width<=900px){.shpk-mapping-grid,.shpk-step{grid-template-columns:1fr}.shpk-step>span{display:none}}.udz-badge{color:#fff;vertical-align:middle;background:#7c3aed;border-radius:999px;align-items:center;margin-left:7px;padding:2px 6px;font-size:10px;font-weight:800;display:inline-flex}.modal-title .udz-badge{font-size:11px}.shpk-locked{border-color:var(--theme-border-f0c36b,#f0c36b);background:var(--theme-surface-fffaf0,#fffaf0)}.shpk-password-note,.shpk-password-warning{color:var(--theme-text-657286,#657286);margin:0}.shpk-password-warning{background:var(--theme-surface-fff6dc,#fff6dc);color:var(--theme-text-77540a,#77540a);border-radius:10px;padding:12px}.shpk-password-warning b{margin-bottom:4px;display:block}.shpk-lock-badge{z-index:2;color:#fff;pointer-events:none;background:#f59f00;border-radius:50%;place-items:center;width:21px;height:21px;display:grid;position:absolute;top:-5px;right:5px;box-shadow:0 0 0 3px #f59f002b}.shpk-lock-badge svg{stroke-width:2.7px;width:11px!important;height:11px!important;margin:0!important}.shpk-lock-badge[hidden]{display:none}.menu-collapsed .shpk-lock-badge{width:19px;height:19px;top:-4px;right:0;box-shadow:0 0 0 2px #101b31}.shpk-sync-results{border:1px solid var(--theme-border-dbe4ee,#dbe4ee);width:min(850px,94vw);max-height:85vh;color:var(--theme-text-162033,#162033);background:var(--theme-surface-ffffff,white);border-radius:16px;padding:24px}.shpk-sync-results::backdrop{background:#0008}.shpk-sync-result-list{overflow-wrap:anywhere;max-height:55vh;overflow-y:auto}.shpk-sync-result-list p{border-bottom:1px solid var(--theme-border-dbe4ee,#dbe4ee);padding:12px 0}.server-resources{gap:18px;min-width:0;display:grid}.resource-grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:14px;display:grid}.resource-card{background:var(--theme-surface-ffffff,#fff);border:1px solid var(--theme-border-e2e8f0,#e2e8f0);border-radius:16px;flex-direction:column;gap:10px;min-width:0;padding:20px;display:flex}.resource-card>span,.resource-card small,.resource-toolbar{color:var(--theme-text-64748b,#64748b);font-size:13px}.resource-card strong{color:var(--theme-text-15263c,#15263c);font-size:24px}.resource-card progress{accent-color:#2563eb;width:100%;height:8px}.resource-toolbar{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.resource-state{border-radius:20px;padding:3px 9px;font-size:12px;display:inline-block}.resource-state.is-ok{background:var(--theme-surface-dcfce7,#dcfce7);color:var(--theme-text-166534,#166534)}.resource-state.is-warning{background:var(--theme-surface-fef3c7,#fef3c7);color:var(--theme-text-92400e,#92400e)}.server-resources .table-wrap{max-width:100%;overflow-x:auto}.resource-chart-grid{grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:14px;display:grid}.resource-chart{width:100%;height:auto;display:block;overflow:visible}.chart-grid{fill:none;stroke:var(--theme-border-e2e8f0,#e2e8f0);stroke-width:1px}.chart-line{fill:none;stroke:#2563eb;stroke-width:2px;vector-effect:non-scaling-stroke}.chart-labels{fill:var(--theme-text-64748b,#64748b);font-size:11px}.server-resources h2{margin:12px 0 0;font-size:19px}.resource-state.is-error{background:var(--theme-surface-fee2e2,#fee2e2);color:var(--theme-text-991b1b,#991b1b)}.resource-state.is-neutral{background:var(--theme-surface-e2e8f0,#e2e8f0);color:var(--theme-text-475569,#475569)}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--theme-border-6b9bea:#394860;--theme-border-769ee8:#394760;--theme-border-8797ad:#3e4a5b;--theme-border-8bb3e8:#394a60;--theme-border-8eb8ed:#394a60;--theme-border-93c5fd:#394b60;--theme-border-9db3cf:#394a60;--theme-border-a7f3d0:#39604e;--theme-border-b9c9dc:#394b60;--theme-border-bfdbfe:#394a60;--theme-border-cbd5e1:#394b60;--theme-border-cfdaea:#394960;--theme-border-d5deea:#394a60;--theme-border-d7dfeb:#394960;--theme-border-d7e0eb:#394b60;--theme-border-d8e0eb:#394960;--theme-border-d9e1ec:#394960;--theme-border-dbe2ec:#394960;--theme-border-dbe3ed:#394a60;--theme-border-dbe3ef:#394960;--theme-border-dbe4ee:#394b60;--theme-border-dbeafe:#394a60;--theme-border-dce3ed:#394960;--theme-border-dce4ee:#394a60;--theme-border-dce4ef:#394960;--theme-border-dce6f2:#394b60;--theme-border-dfe6ef:#394a60;--theme-border-dfe6f0:#394960;--theme-border-dfe7f1:#394a60;--theme-border-dfe7f2:#394960;--theme-border-e0e6ee:#394a60;--theme-border-e0e7ef:#394b60;--theme-border-e0e7f0:#394a60;--theme-border-e1e7ef:#394a60;--theme-border-e1e7f0:#394960;--theme-border-e2e8f0:#394a60;--theme-border-e3e9f1:#394a60;--theme-border-e5eaf1:#394960;--theme-border-e6ebf2:#394960;--theme-border-e8edf3:#394b60;--theme-border-e8edf4:#394960;--theme-border-e8edf5:#394860;--theme-border-ead7ad:#605439;--theme-border-edf0f4:#3a4a5f;--theme-border-edf1f6:#394a60;--theme-border-edf1f7:#394960;--theme-border-eeeeee:#394660;--theme-border-eef2f7:#394a60;--theme-border-f0c36b:#605339;--theme-border-f3f6fa:#394a60;--theme-surface-b6c4d6:#273445;--theme-surface-d9e0e9:#273444;--theme-surface-dbeafe:#1d2735;--theme-surface-dcecff:#1d2835;--theme-surface-dcfce7:#1d3525;--theme-surface-dff5ec:#1d352b;--theme-surface-e1e7ef:#1d2735;--theme-surface-e2e8f0:#1d2735;--theme-surface-e2f7ed:#1d3529;--theme-surface-e3e9f1:#1d2735;--theme-surface-e5f7ed:#1d3527;--theme-surface-e5f7ef:#1d352a;--theme-surface-e6f6f0:#1d352c;--theme-surface-e7effc:#1d2635;--theme-surface-e8edf4:#1d2735;--theme-surface-e8eef8:#1d2635;--theme-surface-e8efff:#1d2435;--theme-surface-e8f1ff:#1d2635;--theme-surface-e8f2ff:#1d2735;--theme-surface-e8f7f1:#1d352b;--theme-surface-e8f7f2:#1d352d;--theme-surface-e9f1ff:#1d2535;--theme-surface-e9f2ff:#1d2735;--theme-surface-eaf2ff:#1d2635;--theme-surface-ecfdf5:#1d352a;--theme-surface-edf1f6:#1d2735;--theme-surface-edf3fb:#1d2735;--theme-surface-eef2f7:#1d2735;--theme-surface-eef3f9:#1d2835;--theme-surface-eef4ff:#1d2535;--theme-surface-eef5ff:#1d2735;--theme-surface-eff6ff:#1d2735;--theme-surface-effaf5:#1d352a;--theme-surface-f0f4f9:#1d2735;--theme-surface-f0f6ff:#151c26;--theme-surface-f1f3f6:#202732;--theme-surface-f1f5f9:#1d2935;--theme-surface-f1f6ff:#151b26;--theme-surface-f2f5f9:#1d2735;--theme-surface-f2f6fb:#1d2735;--theme-surface-f2f7ff:#151b26;--theme-surface-f3f6fa:#1d2735;--theme-surface-f3f6fb:#1d2635;--theme-surface-f3f7fd:#151c26;--theme-surface-f4f7fb:#151c26;--theme-surface-f6f8fb:#151c26;--theme-surface-f6f9fd:#151c26;--theme-surface-f6fcfa:#152620;--theme-surface-f7f9fc:#151c26;--theme-surface-f7faff:#151b26;--theme-surface-f8fafc:#151d26;--theme-surface-f9fbfd:#151d26;--theme-surface-fbfcfe:#151a26;--theme-surface-fdebea:#351e1d;--theme-surface-fee2e2:#351d1d;--theme-surface-fef2f2:#261515;--theme-surface-fef3c7:#463f25;--theme-surface-ffe5e9:#351d20;--theme-surface-ffeaed:#351d20;--theme-surface-ffecda:#35281d;--theme-surface-fff0dc:#352b1d;--theme-surface-fff0e0:#35291d;--theme-surface-fff0f2:#261517;--theme-surface-fff1f2:#261516;--theme-surface-fff3d8:#352e1d;--theme-surface-fff3e7:#35291d;--theme-surface-fff6dc:#352f1d;--theme-surface-fff6df:#352e1d;--theme-surface-fff7f7:#261515;--theme-surface-fff8e1:#352f1d;--theme-surface-fff8f8:#261515;--theme-surface-fff9eb:#352e1d;--theme-surface-fffaf0:#262015;--theme-surface-ffffff:#161b25;--theme-text-087f5b:#a8f0da;--theme-text-14785c:#a8f0dc;--theme-text-15263c:#b3c9e5;--theme-text-162033:#b8c6e0;--theme-text-166534:#abedc4;--theme-text-167054:#aaeed9;--theme-text-167355:#a9efd8;--theme-text-16775a:#a9efda;--theme-text-16805d:#a8f0d8;--theme-text-17243a:#b6c6e2;--theme-text-173b72:#aac5ee;--theme-text-1769d2:#7dace8;--theme-text-18243a:#b7c6e1;--theme-text-187553:#aaeed5;--theme-text-18794e:#aaeed0;--theme-text-1d4ed8:#7d99e8;--theme-text-1e293b:#bbc8dd;--theme-text-1e3a8a:#819be4;--theme-text-202b3d:#bcc8dc;--theme-text-20a179:#7fe6c6;--theme-text-213b60:#b3c8e5;--theme-text-243047:#bbc7dd;--theme-text-2464b4:#7fade6;--theme-text-25364f:#bac8de;--theme-text-2563eb:#7d9ee8;--theme-text-26354d:#bbc8dd;--theme-text-26364e:#bac8de;--theme-text-273750:#bac8de;--theme-text-277454:#8cd9b9;--theme-text-285cb8:#81a5e4;--theme-text-294c7b:#8cadd9;--theme-text-2d3c54:#bdc8db;--theme-text-2e74d1:#82ace3;--theme-text-2f435f:#bbc9dd;--theme-text-2f62a8:#87acde;--theme-text-315f9c:#8badda;--theme-text-315fa8:#89a9dc;--theme-text-334155:#bfcad9;--theme-text-33445f:#bdc9db;--theme-text-334d70:#96aecf;--theme-text-38485f:#bfcad9;--theme-text-3974cc:#85aae0;--theme-text-40516a:#a0afc5;--theme-text-42526a:#a1afc4;--theme-text-465873:#a0afc5;--theme-text-475569:#a4b0c1;--theme-text-526078:#a4afc1;--theme-text-526174:#a5b1c0;--theme-text-526177:#a4b0c1;--theme-text-526582:#a1afc4;--theme-text-526785:#a0afc5;--theme-text-536177:#a5afc0;--theme-text-55708f:#9fb1c6;--theme-text-56657a:#a5b0c0;--theme-text-58677d:#a5b0c0;--theme-text-5d6a7f:#a7b0be;--theme-text-5f6e83:#a6b0bf;--theme-text-5f6f86:#a5b0c0;--theme-text-60718a:#a5b0c0;--theme-text-617087:#a6b0bf;--theme-text-62d2ac:#88ddc0;--theme-text-63738a:#a6b0bf;--theme-text-64748b:#a6b0bf;--theme-text-657286:#a8b0bd;--theme-text-65758b:#a6b1bf;--theme-text-66758b:#a7b0be;--theme-text-68758a:#a8b0bd;--theme-text-68758b:#a7b0be;--theme-text-68768a:#a8b1bd;--theme-text-69778b:#a8b1bd;--theme-text-718096:#a7b0be;--theme-text-718097:#a7b0be;--theme-text-738097:#a7afbe;--theme-text-748298:#a7b0be;--theme-text-758195:#a8b0bd;--theme-text-75839a:#a7b0be;--theme-text-76859a:#a7b1be;--theme-text-77540a:#f0d9a8;--theme-text-77859a:#a7b0be;--theme-text-78869a:#a7b1be;--theme-text-7a6470:#baabb3;--theme-text-7a8699:#a8b0bd;--theme-text-7b8799:#a9b1bc;--theme-text-7c899c:#a8b1bd;--theme-text-7d8999:#a9b1bc;--theme-text-7d899a:#a9b1bc;--theme-text-8290a3:#a7b1be;--theme-text-8290a4:#a6b0bf;--theme-text-8291a6:#a6b0bf;--theme-text-8292ad:#a3aec2;--theme-text-8490a2:#a8b0bd;--theme-text-8490a5:#a7afbe;--theme-text-8793a5:#a8b0bd;--theme-text-8994a4:#a9b1bc;--theme-text-8996a8:#a7b1be;--theme-text-8a5d0a:#f0d7a8;--theme-text-8a6410:#e8c77d;--theme-text-8a96a8:#a7b0be;--theme-text-8b5e12:#e8c07d;--theme-text-8b651a:#e7c47e;--theme-text-91600d:#e8c07d;--theme-text-91a3bd:#9fafc6;--theme-text-92400e:#e8a67d;--theme-text-94a3b8:#a3b0c2;--theme-text-95520d:#e8b37d;--theme-text-991b1b:#e87d7d;--theme-text-9a6510:#e8bf7d;--theme-text-9aa5b5:#a7b0be;--theme-text-9b5516:#e8b07d;--theme-text-9b6b1b:#e8c07d;--theme-text-9c5a13:#e8b47d;--theme-text-9f1239:#e87d9b;--theme-text-a33b2e:#dd9188;--theme-text-a65a0d:#e8b37d;--theme-text-a73749:#d98c98;--theme-text-a82c40:#df8694;--theme-text-a82f45:#de8797;--theme-text-b23b48:#d98c94;--theme-text-b42318:#e8857d;--theme-text-b53247:#de8795;--theme-text-b5483a:#da948b;--theme-text-b73349:#de8796;--theme-text-b91c1c:#e87d7d;--theme-text-be123c:#e87d97;--theme-text-c2413b:#db8d8a;--theme-text-d97706:#e8b67d}#theme-toggle{min-height:40px}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#94a3b8}:root[data-theme=dark] .qr-frame{color:#000;background:#fff}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea{color:#e2e8f0}:root[data-theme=dark] .bg-white{background-color:#161c25}:root[data-theme=dark] .bg-slate-100{background-color:#111720}:root[data-theme=dark] .text-slate-900{color:#e2e8f0}:root[data-theme=dark] .bg-green-100{background-color:#18382e}:root[data-theme=dark] .bg-amber-100{background-color:#3d311b}:root[data-theme=dark] .bg-red-100{background-color:#40252b}#injury-order-form .row-actions{width:56px}#injury-order-form .row-actions .icon-btn{margin:0 auto 4px;display:grid}#injury-order-form .row-actions .icon-btn:last-child{margin-bottom:0}.modal.order-modal{flex-direction:column;max-height:min(92dvh,100dvh - 40px);display:flex;overflow:hidden}.modal.order-modal>.modal-title{flex:none}.modal.order-modal>.order-editor{min-height:0;max-height:none}#injury-order-form .order-items-table{flex:auto;min-height:0}#injury-order-form .order-items-table th{z-index:1;background:var(--theme-surface-f8fafc,#f8fafc);position:sticky;top:0;box-shadow:inset 0 -1px #dfe6ef}.table-wrap.injury-orders-list{flex:auto;min-height:0;overflow:auto}body:has(#content>.injury-orders-list){overflow:hidden}#app:has(#content>.injury-orders-list) main{flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}#app:has(#content>.injury-orders-list) main>header{flex:none}#content:has(>.injury-orders-list){flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}#content>.injury-orders-topbar,#content>.injury-orders-pagination{flex:none}.injury-orders-list th{z-index:1;background:var(--theme-surface-f8fafc,#f8fafc);position:sticky;top:0;box-shadow:inset 0 -1px #dfe6ef}.offline-indicator{z-index:1200;color:#fff;background:#9f2f25;border-radius:999px;align-items:center;gap:8px;padding:9px 12px;font-size:13px;font-weight:700;display:flex;position:fixed;top:18px;right:20px;box-shadow:0 12px 32px #15223b35}.offline-indicator[hidden]{display:none}.offline-indicator.syncing{background:#9a6700}.offline-indicator.pending:not(.offline){background:#315a91}.offline-indicator svg{width:16px;height:16px}.offline-indicator b{background:#ffffff2b;border-radius:999px;place-items:center;min-width:21px;height:21px;padding:0 6px;display:grid}.offline-placeholder{border:1px dashed var(--theme-border-cbd5e1,#cbd5e1);background:var(--theme-surface-f8fafc,#f8fafc);min-height:150px;color:var(--theme-text-64748b,#64748b);text-align:center;border-radius:12px;place-items:center;gap:8px;padding:24px;display:grid}.offline-placeholder svg{width:30px;height:30px}.slow-request-indicator{z-index:1199;color:#fff;background:#315a91;border-radius:999px;align-items:center;gap:8px;padding:9px 13px;font-size:13px;font-weight:700;animation:.2s ease-out both slow-request-enter;display:flex;position:fixed;top:68px;right:20px;box-shadow:0 12px 32px #15223b35}.slow-request-indicator[hidden]{display:none}.slow-request-indicator svg{width:16px;height:16px;animation:.8s linear infinite slow-request-spin}@keyframes slow-request-enter{0%{opacity:0;transform:translateY(-6px)scale(.97)}to{opacity:1;transform:none}}@keyframes slow-request-spin{to{transform:rotate(360deg)}}.route-loading,.route-load-error{min-height:clamp(260px,52vh,560px);color:var(--theme-text-5f6f86,#5f6f86);justify-content:center;align-items:center;gap:14px;display:flex}.route-loading-icon{background:var(--theme-surface-e8f1ff,#e8f1ff);width:42px;height:42px;color:var(--theme-text-1769d2,#1769d2);border-radius:13px;place-items:center;display:grid}.route-loading-icon svg{width:21px;height:21px;animation:.85s linear infinite slow-request-spin}.route-loading b,.route-loading span,.route-load-error b,.route-load-error span{display:block}.route-loading b{color:var(--theme-text-26364e,#26364e);font-size:15px}.route-loading span{margin-top:3px;font-size:13px}.route-load-error{text-align:center;flex-direction:column}.route-load-error>svg{width:30px;height:30px;color:var(--theme-text-d97706,#d97706)}.route-load-error b{color:var(--theme-text-26364e,#26364e)}.route-load-error span{font-size:13px}.route-load-error button{align-items:center;gap:7px;margin-top:5px;display:flex}.route-load-error button svg{width:16px;height:16px}.order-item-form .order-memory-suggestions{width:100%;top:62px;left:0}.injury-orders-topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.injury-orders-search{width:min(520px,100%);margin:0;position:relative}.injury-orders-search>svg{width:17px;color:var(--theme-text-7b8799,#7b8799);position:absolute;top:50%;left:11px;transform:translateY(-50%)}.injury-orders-search input{background:var(--theme-surface-ffffff,#fff);height:38px;margin:0;padding:7px 12px 7px 36px}.order-video-count{color:var(--theme-text-1769d2,#1769d2);background:var(--theme-surface-eaf2ff,#eaf2ff);border:0;border-radius:999px;align-items:center;gap:5px;padding:5px 9px;display:inline-flex}.order-video-count svg{width:15px;height:15px}.approval-video-manager>.primary{align-items:center;gap:7px;margin-bottom:14px;display:inline-flex}.approval-video-manager>.primary svg{width:17px}.approval-video-list{gap:9px;display:grid}.approval-video-list article{border:1px solid var(--theme-border-e1e7f0,#e1e7f0);border-radius:12px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px;display:grid}.approval-video-list article>div:nth-child(2){gap:3px;min-width:0;display:grid}.approval-video-list article b,.approval-video-list article span{text-overflow:ellipsis;overflow:hidden}.approval-video-list article small,.approval-video-list article span{color:var(--theme-text-718096,#718096)}.approval-video-play{color:#fff;background:#1769d2;border:0;border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.approval-video-play svg{width:18px}.approval-video-orders{border:1px solid var(--theme-border-d7dfeb,#d7dfeb);border-radius:10px;max-height:45vh;overflow:auto}.approval-video-orders legend{color:var(--theme-text-536177,#536177);padding:0 6px;font-size:13px}.approval-video-orders label{align-items:flex-start;gap:9px;padding:7px 5px;display:flex}.approval-video-orders input{width:auto;margin:3px 0 0}.approval-video-orders span{display:grid}.approval-video-orders small{color:var(--theme-text-758195,#758195)}.approval-video-current{align-items:center;gap:8px;display:flex}.approval-video-current svg{width:20px}.video-preview-window video{object-fit:contain;background:#05070b;width:100%;height:calc(92vh - 70px);display:block}.injury-orders-pagination{color:var(--theme-text-69778b,#69778b);justify-content:space-between;align-items:center;gap:14px;padding:11px 3px;font-size:13px;display:flex}.injury-orders-pagination>div{align-items:center;gap:9px;display:flex}.injury-orders-pagination b{min-width:120px;color:var(--theme-text-38485f,#38485f);text-align:center}.injury-orders-pagination .icon-btn{width:34px;height:34px;margin:0}.injury-orders-pagination .icon-btn:disabled{cursor:not-allowed;opacity:.4}.injury-orders-pagination.compact{flex:none;padding:0}.injury-orders-pagination.compact>span{display:none}@media (width<=700px){.injury-orders-topbar{flex-direction:column;align-items:stretch}.injury-orders-search{width:100%}.injury-orders-pagination.compact>div{justify-content:space-between;width:100%}}@media (width<=600px){.injury-orders-pagination:not(.compact){flex-direction:column;align-items:flex-start}.injury-orders-pagination:not(.compact)>div{justify-content:space-between;width:100%}}.certificate-progress{border:0;border-radius:999px;align-items:center;gap:6px;padding:5px 9px;display:inline-flex}.certificate-progress svg{width:15px;height:15px}.certificate-progress.complete{color:var(--theme-text-18794e,#18794e);background:var(--theme-surface-e5f7ed,#e5f7ed)}.certificate-progress.incomplete{color:var(--theme-text-a33b2e,#a33b2e);background:var(--theme-surface-fdebea,#fdebea)}.certificate-awaiting{color:var(--theme-text-7b8799,#7b8799);font-size:12px}.certificate-number-list{flex-wrap:wrap;gap:4px;display:flex}.certificate-number-list span{background:var(--theme-surface-e5f7ed,#e5f7ed);color:var(--theme-text-18794e,#18794e);border-radius:6px;padding:3px 7px;font-size:12px}.certificate-missing{color:var(--theme-text-b5483a,#b5483a);font-size:12px;font-weight:700}.order-certificates-control{gap:12px;display:grid}.certificate-control-summary{background:var(--theme-surface-f2f6fb,#f2f6fb);border-radius:11px;align-items:baseline;gap:7px;padding:12px;display:flex}.certificate-control-summary b{font-size:19px}.certificate-control-summary span{color:var(--theme-text-68758a,#68758a)}.certificate-control-person{border:1px solid var(--theme-border-e1e7f0,#e1e7f0);border-radius:12px;grid-template-columns:minmax(180px,.8fr) minmax(260px,1.4fr) auto;align-items:end;gap:12px;padding:12px;display:grid}.certificate-control-person>div{display:grid}.certificate-control-person small{color:var(--theme-text-758195,#758195)}.certificate-control-person textarea{min-height:62px}.certificate-control-person .primary{align-items:center;gap:6px;height:41px;display:flex}.certificate-control-person .primary svg{width:16px}@media (width<=800px){.certificate-control-person{grid-template-columns:1fr}.certificate-control-person .primary{justify-content:center}}:root{color:var(--theme-text-162033,#162033);background:var(--theme-surface-f3f6fa,#f3f6fa);font-family:Instrument Sans,system-ui}*{box-sizing:border-box}body{margin:0}button{cursor:pointer}#app{grid-template-columns:250px 1fr;min-height:100vh;display:grid}aside{color:#dce6f5;background:#101b31;flex-direction:column;height:100vh;padding:24px 16px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;padding:4px 8px 28px;display:flex}.brand>b{color:#fff;background:linear-gradient(135deg,#2f80ed,#20b486);border-radius:13px;place-items:center;width:40px;height:40px;font-size:21px;display:grid}.brand span{font-weight:700}.brand small{color:var(--theme-text-8292ad,#8292ad);font-weight:400;display:block}nav{gap:6px;display:grid}nav a,aside form button{color:#aebbd0;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;width:100%;padding:11px 13px;text-decoration:none;display:flex}nav a:hover,nav a.active{color:#fff;background:#1d2b45}nav svg,aside form svg{width:19px}aside form{margin-top:auto}main{min-width:0;padding:30px 34px}main>header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}h1{margin:0;font-size:28px}.icon-btn{border:1px solid var(--theme-border-dbe2ec,#dbe2ec);background:var(--theme-surface-ffffff,white);width:38px;height:38px;color:var(--theme-text-42526a,#42526a);border-radius:10px;place-items:center;margin-left:6px;display:inline-grid}.icon-btn:hover{background:var(--theme-surface-e9f2ff,#e9f2ff);color:var(--theme-text-1769d2,#1769d2)}.icon-btn svg{width:18px}.toolbar,.table-wrap{background:var(--theme-surface-ffffff,white);border:1px solid var(--theme-border-e2e8f0,#e2e8f0);border-radius:15px;box-shadow:0 6px 24px #21395d0b}.toolbar{align-items:center;gap:10px;margin-bottom:14px;padding:12px 16px;display:flex}.toolbar input{border:0;outline:0;width:100%}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:800px}th{text-align:left;text-transform:uppercase;color:var(--theme-text-738097,#738097);background:var(--theme-surface-f8fafc,#f8fafc);padding:13px 16px;font-size:12px}td{border-top:1px solid var(--theme-border-edf1f6,#edf1f6);padding:15px 16px}td small,.person small{color:var(--theme-text-7c899c,#7c899c);display:block}.person{text-align:left;color:var(--theme-text-18243a,#18243a);background:0 0;border:0}.row-actions{white-space:nowrap}.pill{background:var(--theme-surface-eaf2ff,#eaf2ff);color:var(--theme-text-1769d2,#1769d2);border-radius:999px;padding:4px 9px;font-size:12px;display:inline-block}.modal-bg{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:50;background:#0c1629aa;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:var(--theme-surface-ffffff,white);border-radius:18px;width:min(760px,100%);max-height:92vh;padding:24px;overflow:auto;box-shadow:0 30px 80px #08102055}.modal-title,.section-head{justify-content:space-between;align-items:center;display:flex}.modal-title h2{margin:0 0 20px}.form-grid label{color:var(--theme-text-536177,#536177);font-size:13px}.form-grid .wide{grid-column:1/-1}input,select,textarea{border:1px solid var(--theme-border-d7dfeb,#d7dfeb);background:var(--theme-surface-ffffff,white);border-radius:9px;width:100%;margin-top:5px;padding:10px 11px}textarea{min-height:90px}.form-actions{grid-column:1/-1;justify-content:flex-end;gap:9px;margin-top:10px;display:flex}.primary,.ghost{border:0;border-radius:9px;padding:10px 17px}.primary{color:#fff;background:#1769d2}.ghost{background:var(--theme-surface-edf1f6,#edf1f6)}.facts{background:var(--theme-surface-f7f9fc,#f7f9fc);border-radius:12px;grid-template-columns:1fr 1fr;gap:12px;padding:14px;display:grid}.facts small,.facts b{display:block}.section-head{margin-top:24px}.episodes{gap:10px;display:grid}.episode{text-align:left;border:1px solid var(--theme-border-dfe6ef,#dfe6ef);background:var(--theme-surface-ffffff,white);border-radius:12px;padding:13px;display:grid}.episode.current{border-color:#299574;box-shadow:inset 4px 0 #299574}.episode span{color:var(--theme-text-1769d2,#1769d2)}.episode p{color:var(--theme-text-5d6a7f,#5d6a7f);margin:7px 0 0}.tabs{gap:5px;margin-bottom:14px;display:flex;overflow:auto}.tabs a{white-space:nowrap;color:var(--theme-text-58677d,#58677d);border-radius:9px;padding:9px 13px;text-decoration:none}.tabs a.active{color:#fff;background:#1769d2}#icd-list{border:1px solid var(--theme-border-e0e6ee,#e0e6ee);max-height:180px;overflow:auto}#icd-list button{text-align:left;border:0;border-bottom:1px solid var(--theme-border-eeeeee,#eee);background:var(--theme-surface-ffffff,white);width:100%;padding:8px;display:block}.chips span{background:var(--theme-surface-eef4ff,#eef4ff);border-radius:7px;margin:3px;padding:5px 8px;font-size:12px;display:inline-block}#toast{z-index:1000;opacity:0;color:#fff;pointer-events:none;background:#17243a;border-radius:10px;padding:12px 18px;transition:all .2s;position:fixed;bottom:25px;right:25px;transform:translateY(80px);box-shadow:0 14px 38px #08102055}#toast.show{opacity:1;transform:none}.app-loader{place-items:center;height:100vh;display:grid}.mobile-menu-toggle,.mobile-menu-backdrop{display:none}@media (width<=800px){#app,#app.menu-collapsed{grid-template-columns:1fr}#app>aside{z-index:1101;width:min(290px,86vw);height:100dvh;padding:24px 16px;transition:transform .22s;position:fixed;top:0;bottom:0;left:0;transform:translate(-105%);box-shadow:18px 0 45px #07112045}#app.mobile-menu-open>aside{transform:translate(0)}#app>aside nav{display:grid;overflow:hidden auto}#app>aside form{display:block}.mobile-menu-toggle{z-index:1102;color:#fff;background:#101b31;border:0;border-radius:11px;place-items:center;width:40px;height:40px;display:grid;position:fixed;top:12px;left:12px;box-shadow:0 8px 24px #0c162940}.mobile-menu-toggle svg{width:20px}.mobile-menu-backdrop{z-index:1100;opacity:0;visibility:hidden;cursor:default;background:#07112080;border:0;transition:opacity .2s,visibility .2s;display:block;position:fixed;inset:0}.mobile-menu-open .mobile-menu-backdrop{opacity:1;visibility:visible}.menu-toggle{display:none!important}.menu-collapsed aside .brand span,.menu-collapsed aside nav a:not(:hover){font-size:inherit}.menu-collapsed aside nav a{justify-content:flex-start;padding:11px 13px}.menu-collapsed .sidebar-account{flex-direction:row}.menu-collapsed .sidebar-account>button{justify-content:flex-start;width:auto;padding:10px 11px}.menu-collapsed .sidebar-account>button span{display:inline}.menu-collapsed .sidebar-account form button.sidebar-logout{width:40px}main{padding:64px 14px 20px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}}.eraport-documents-head{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:12px;display:flex}.eraport-documents-head h3{margin:0}.eraport-documents-head small{margin-top:3px;display:block}.eraport-document-filters{align-items:center;gap:8px;display:flex}.eraport-document-filters label{display:block;position:relative}.eraport-document-filters label>svg{width:15px;height:15px;color:var(--muted);pointer-events:none;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.eraport-document-filters input{width:min(360px,32vw);padding-left:32px}.eraport-document-filters input,.eraport-document-filters select{height:36px;margin-top:0;padding-block:5px;line-height:20px}.eraport-document-filters select{min-width:190px;padding-right:30px}@media (width<=760px){.eraport-documents-head,.eraport-document-filters{flex-direction:column;align-items:stretch}.eraport-document-filters input{width:100%}}.eraport-form-errors{background:var(--theme-surface-fff7f7,#fff7f7);color:var(--theme-text-991b1b,#991b1b);border:1px solid #dc262659;border-radius:10px;gap:12px;margin-bottom:14px;padding:12px 14px;display:flex}.eraport-form-errors[hidden]{display:none}.eraport-form-errors>svg{width:20px;min-width:20px;height:20px}.eraport-form-errors ul{margin:5px 0 0;padding-left:18px}.eraport-generator-form .is-invalid{box-shadow:0 0 0 3px #dc26261a;border-color:#dc2626!important}.eraport-field-error{color:var(--theme-text-b91c1c,#b91c1c);margin-top:4px;font-size:12px;font-weight:500;display:block}.signal-page{gap:16px;width:100%;display:grid}.signal-status-card,.signal-qr-card,.signal-group-card,.signal-history{border:1px solid var(--theme-border-e2e8f0,#e2e8f0);background:var(--theme-surface-ffffff,#fff);border-radius:16px;padding:20px;box-shadow:0 8px 26px #0f172a0d}.signal-status-head,.signal-qr-card,.section-heading,.signal-actions,.signal-selected{align-items:center;display:flex}.signal-group-picker{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px;max-height:260px;margin:12px 0;display:grid;overflow:auto}.signal-group-picker label{border:1px solid var(--theme-border-e2e8f0,#e2e8f0);background:var(--theme-surface-f8fafc,#f8fafc);cursor:pointer;border-radius:9px;align-items:center;gap:8px;min-width:0;padding:8px 10px;display:flex}.signal-group-picker input{width:16px;height:16px;margin:0}.signal-monitoring-row{gap:6px;min-width:0;display:grid}.signal-monitoring-row>label{min-height:42px}.signal-monitoring-row>select{height:36px;margin:0;padding-block:6px;font-size:12px}.signal-history-tools,.signal-pagination,.signal-history-tools form{align-items:end;gap:10px;display:flex}.signal-history-tools{justify-content:space-between;padding:12px 20px}.signal-history-tools label{min-width:220px}.signal-history-tools form label{min-width:min(360px,42vw)}.signal-history-tools .icon-btn{flex:none;margin-bottom:1px}.signal-pagination{justify-content:flex-end;padding:12px 20px 18px}.signal-pagination .ghost{min-height:34px;padding:6px 10px}.signal-status-head{gap:14px}.signal-status-head h2,.signal-status-head p,.signal-qr-card h2,.signal-qr-card p,.section-heading h2,.section-heading p{margin:0}.signal-status-head small,.signal-status-head p,.section-heading p,.signal-qr-card p{color:var(--theme-text-64748b,#64748b)}.signal-logo{color:#fff;background:#2563eb;border-radius:14px;flex:none;place-items:center;width:48px;height:48px;display:grid}.signal-logo svg{width:25px;height:25px}.signal-health{border-radius:999px;margin-left:auto;padding:6px 10px;font-size:12px;font-weight:700}.signal-health.online{color:var(--theme-text-166534,#166534);background:var(--theme-surface-dcfce7,#dcfce7)}.signal-health.offline{color:var(--theme-text-991b1b,#991b1b);background:var(--theme-surface-fee2e2,#fee2e2)}.signal-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0;display:grid}.signal-meta span{color:var(--theme-text-334155,#334155);background:var(--theme-surface-f8fafc,#f8fafc);border-radius:10px;padding:11px 13px}.signal-meta b{color:var(--theme-text-64748b,#64748b);text-transform:uppercase;margin-bottom:3px;font-size:11px;display:block}.signal-actions{justify-content:flex-end;gap:8px}.signal-error{color:var(--theme-text-991b1b,#991b1b);background:var(--theme-surface-fef2f2,#fef2f2);border-radius:10px;gap:8px;margin-top:14px;padding:10px 12px;display:flex}.signal-qr-card{border-color:var(--theme-border-bfdbfe,#bfdbfe);background:linear-gradient(135deg, var(--theme-surface-eff6ff,#eff6ff), var(--theme-surface-ffffff,#fff));justify-content:space-between;gap:24px}.signal-qr-card img{background:var(--theme-surface-ffffff,#fff);border-radius:12px;width:230px;height:230px;padding:10px}.section-heading{justify-content:space-between;gap:16px;margin-bottom:14px}.signal-group-card label{max-width:640px;color:var(--theme-text-475569,#475569);gap:6px;font-size:13px;font-weight:650;display:grid}.signal-selected{color:var(--theme-text-1d4ed8,#1d4ed8);gap:7px;margin:12px 0 0}.signal-history{padding:0;overflow:hidden}.signal-history .section-heading{padding:18px 20px 0}.signal-history .table-wrap{border:0;border-radius:0}.signal-history .signal-chat-wrap{border-top:1px solid var(--theme-border-e8edf5,#e8edf5);border-bottom:1px solid var(--theme-border-e8edf5,#e8edf5);background:var(--theme-surface-f3f6fb,#f3f6fb);max-height:680px;padding:18px 20px;overflow:auto}.signal-chat-list{flex-direction:column-reverse;gap:16px;max-width:920px;margin:0 auto;display:flex}.signal-chat-message{align-items:flex-end;gap:10px;display:flex}.signal-technical-event{color:var(--theme-text-64748b,#64748b);text-align:center;justify-content:center;align-self:center;align-items:center;gap:.4rem;max-width:80%;font-size:.78rem;display:flex}.signal-technical-event svg{flex:none;width:.95rem;height:.95rem}.signal-technical-event time{color:var(--theme-text-94a3b8,#94a3b8);white-space:nowrap;font-size:.68rem}.signal-chat-message.is-outgoing{flex-direction:row-reverse}.signal-chat-message.is-outgoing .signal-chat-content{flex-direction:column;align-items:flex-end;display:flex}.signal-chat-message.is-outgoing .signal-chat-meta,.signal-chat-message.is-outgoing .signal-message-marks{justify-content:flex-end}.signal-chat-message.is-outgoing .signal-chat-bubble{background:var(--theme-surface-dbeafe,#dbeafe);border-color:var(--theme-border-bfdbfe,#bfdbfe)}.signal-delivery-status{color:var(--theme-text-64748b,#64748b);align-items:center;gap:.2rem;font-size:.72rem;display:inline-flex}.signal-delivery-status svg{width:.85rem;height:.85rem}.signal-delivery-status.is-read{color:var(--theme-text-2563eb,#2563eb)}.signal-chat-avatar{color:#fff;background:linear-gradient(145deg,#2563eb,#0ea5e9);border-radius:50%;flex:0 0 36px;place-items:center;width:36px;height:36px;font-size:12px;font-weight:750;display:grid;box-shadow:0 4px 12px #2563eb2e}.signal-chat-content{min-width:0;max-width:min(76%,720px)}.signal-chat-message.is-deleted .signal-chat-avatar,.signal-chat-message.is-deleted .signal-chat-meta,.signal-chat-message.is-deleted .signal-chat-bubble>:not(.signal-deleted-label),.signal-replies-view article.is-deleted>:not(.signal-chat-avatar)>:not(.signal-deleted-label){opacity:.48}.signal-deleted-label{border-top:1px dashed var(--theme-border-cbd5e1,#cbd5e1);color:var(--theme-text-64748b,#64748b);align-items:center;gap:6px;margin-top:9px;padding-top:8px;font-size:11px;font-style:italic;display:flex}.signal-deleted-label svg{width:13px;height:13px}.signal-chat-meta{align-items:baseline;gap:9px;margin:0 8px 5px;display:flex}.signal-chat-meta b{color:var(--theme-text-243047,#243047);font-size:13px}.signal-chat-meta time{color:var(--theme-text-8490a5,#8490a5);font-size:11px}.signal-chat-bubble{border:1px solid var(--theme-border-dfe7f2,#dfe7f2);background:var(--theme-surface-ffffff,#fff);border-radius:5px 16px 16px;padding:11px 13px;box-shadow:0 4px 14px #1e293b0f}.signal-chat-bubble .signal-message-body{max-width:none;color:var(--theme-text-1e293b,#1e293b);line-height:1.46}.signal-chat-bubble .signal-attachments{border-top:1px solid var(--theme-border-edf1f7,#edf1f7);margin-top:10px;padding-top:9px}.signal-reply-reference{width:100%;color:var(--theme-text-334155,#334155);background:var(--theme-surface-eff6ff,#eff6ff);text-align:left;cursor:pointer;border:0;border-left:3px solid #3b82f6;border-radius:5px;align-items:center;gap:8px;margin:0 0 9px;padding:7px 9px;display:flex}.signal-reply-reference>span{gap:2px;min-width:0;display:grid}.signal-reply-reference b,.signal-reply-reference small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.signal-reply-reference b{color:var(--theme-text-2563eb,#2563eb);font-size:11px}.signal-reply-reference small{color:var(--theme-text-64748b,#64748b);font-size:11px}.signal-chat-message.is-focused .signal-chat-bubble{animation:2.4s ease-out signal-message-focus}@keyframes signal-message-focus{0%,35%{background:var(--theme-surface-dbeafe,#dbeafe);border-color:#2563eb;box-shadow:0 0 0 4px #2563eb2e}to{border-color:var(--theme-border-dfe7f2,#dfe7f2);background:var(--theme-surface-ffffff,#fff);box-shadow:0 4px 14px #1e293b0f}}.signal-reply-reference:hover{background:var(--theme-surface-dbeafe,#dbeafe)}.signal-reply-reference svg{width:13px;height:13px}.signal-message-marks{flex-wrap:wrap;align-items:center;gap:6px;margin:-4px 0 0 10px;display:flex}.signal-message-marks>button{border:1px solid var(--theme-border-bfdbfe,#bfdbfe);color:var(--theme-text-1d4ed8,#1d4ed8);background:var(--theme-surface-eff6ff,#eff6ff);border-radius:999px;align-items:center;gap:5px;padding:3px 8px;font-size:11px;font-weight:650;display:inline-flex}.signal-message-marks>button svg{width:13px;height:13px}.signal-message-marks .signal-reactions{margin:0}.signal-replies-view{gap:12px;display:grid}.signal-replies-view article{align-items:flex-start;gap:10px;display:flex}.signal-replies-view article>div:last-child{border:1px solid var(--theme-border-e2e8f0,#e2e8f0);background:var(--theme-surface-f8fafc,#f8fafc);border-radius:5px 14px 14px;flex:1;min-width:0;padding:10px 12px}.signal-replies-view header{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.signal-edit-history header>span{gap:2px;display:grid}.signal-edit-history header small{color:var(--theme-text-64748b,#64748b);font-size:11px;font-weight:500}.signal-replies-view time{color:var(--theme-text-8490a5,#8490a5);font-size:11px}.signal-replies-view p{white-space:pre-wrap;margin:6px 0 0}.signal-chat-empty{min-height:220px;color:var(--theme-text-8490a5,#8490a5);align-content:center;place-items:center;gap:8px;display:grid}.signal-chat-empty svg{width:34px;height:34px}.signal-messenger{border:1px solid var(--theme-border-dfe6ef,#dfe6ef);background:var(--theme-surface-ffffff,#fff);border-radius:16px;grid-template-columns:290px minmax(0,1fr);width:100%;height:calc(100dvh - 118px);min-height:480px;display:grid;overflow:hidden;box-shadow:0 8px 28px #0f172a0f}#signal-monitoring-settings,#signal-connection-settings,#signal-webhook-settings{align-items:center;gap:5px;min-height:30px;padding:5px 9px;font-size:12px;line-height:18px;display:inline-flex}#signal-monitoring-settings svg,#signal-connection-settings svg,#signal-webhook-settings svg{width:15px;height:15px}.signal-messenger .signal-chat-sidebar{border-right:1px solid var(--theme-border-e2e8f0,#e2e8f0);min-width:0;height:auto;min-height:0;color:var(--theme-text-1e293b,#1e293b);background:var(--theme-surface-f8fafc,#f8fafc);border-radius:0;padding:0;display:flex;position:static;top:auto;overflow:hidden}.signal-sidebar-title{justify-content:space-between;align-items:center;padding:18px 18px 10px;display:flex}.signal-sidebar-title h2,.signal-conversation h2{margin:0;font-size:17px}.signal-sidebar-title span{min-width:23px;height:23px;color:var(--theme-text-2563eb,#2563eb);background:var(--theme-surface-dbeafe,#dbeafe);border-radius:999px;place-items:center;padding:0 6px;font-size:11px;font-weight:750;display:grid}#signal-messenger-search{flex:none;align-items:center;gap:4px;margin:0;padding:0 12px 12px;display:flex}#signal-messenger-search>div{flex:1;position:relative}#signal-messenger-search>div>svg{width:16px;color:var(--theme-text-8490a5,#8490a5);position:absolute;top:50%;left:10px;transform:translateY(-50%)}#signal-messenger-search input{background:var(--theme-surface-ffffff,#fff);height:36px;margin:0;padding:7px 9px 7px 32px}#signal-messenger-search .icon-btn{border:1px solid var(--theme-border-dbe2ec,#dbe2ec);background:var(--theme-surface-ffffff,#fff);width:34px;height:34px;margin:0;padding:0}.signal-messenger .signal-chat-sidebar nav{flex-direction:column;flex:1;gap:3px;min-height:0;padding:0 8px 12px;display:flex;overflow-y:auto}.signal-chat-choice{width:100%;color:var(--theme-text-334155,#334155);text-align:left;background:0 0;border:0;border-radius:11px;align-items:center;gap:10px;padding:10px;display:flex}.signal-chat-choice:hover,.signal-chat-choice.active{color:var(--theme-text-173b72,#173b72);background:var(--theme-surface-e8f1ff,#e8f1ff)}.signal-chat-choice-icon{color:#fff;background:linear-gradient(145deg,#2563eb,#0ea5e9);border-radius:50%;flex:0 0 38px;place-items:center;width:38px;height:38px;font-size:12px;font-weight:750;display:grid}.signal-chat-choice>span:last-child{min-width:0}.signal-chat-choice b,.signal-chat-choice small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.signal-chat-choice small{color:var(--theme-text-8490a5,#8490a5);margin-top:3px;font-size:11px}.signal-sidebar-empty{color:var(--theme-text-8490a5,#8490a5);text-align:center;padding:20px 12px;font-size:13px}.signal-conversation{flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.signal-conversation>header{border-bottom:1px solid var(--theme-border-e2e8f0,#e2e8f0);flex:none;justify-content:space-between;align-items:center;min-height:66px;padding:11px 18px;display:flex}.signal-conversation>header>div{align-items:center;gap:10px;display:flex}#signal-chat-scroll{overscroll-behavior:contain;background:var(--theme-surface-f3f6fb,#f3f6fb);flex:1;min-height:0;padding:20px;overflow-y:auto}#signal-chat-scroll .signal-chat-list{flex-direction:column}.signal-connection-modal,.signal-monitoring-modal,.signal-webhook-modal{gap:14px;display:grid}.signal-webhook-modal{max-width:760px}.signal-webhook-intro{background:var(--theme-surface-eff6ff,#eff6ff);color:var(--theme-text-1e3a8a,#1e3a8a);border-radius:14px;gap:12px;margin-bottom:16px;padding:14px;display:flex}.signal-webhook-intro>svg{flex:none;width:24px}.signal-webhook-intro p{color:var(--theme-text-475569,#475569);margin:4px 0 0}.signal-webhook-token,.signal-webhook-url{border:1px solid var(--theme-border-dbe3ef,#dbe3ef);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.signal-webhook-token div{gap:3px;display:grid}.signal-webhook-token small{color:var(--theme-text-64748b,#64748b)}.signal-webhook-url input{flex:1;min-width:0}.signal-webhook-help{gap:7px;display:grid}.signal-webhook-help code{white-space:pre-wrap;color:#e2e8f0;background:#0f172a;border-radius:10px;padding:12px;font-size:12px}.signal-webhook-help small{color:var(--theme-text-64748b,#64748b)}.signal-webhook-log{border-top:1px solid var(--theme-border-e2e8f0,#e2e8f0);max-height:260px;margin-top:18px;padding-top:14px;overflow:auto}.signal-webhook-log h3{margin:0 0 10px}.signal-webhook-log article{border-bottom:1px solid var(--theme-border-eef2f7,#eef2f7);padding:10px 2px}.signal-webhook-log article>div{align-items:center;gap:8px;display:flex}.signal-webhook-log article time{color:var(--theme-text-64748b,#64748b);margin-left:auto;font-size:12px}.signal-webhook-log article p{white-space:pre-wrap;margin:6px 0}.signal-webhook-log article p strong{font-weight:800}.signal-webhook-log article p em{font-style:italic}.signal-webhook-log article p s{text-decoration:line-through}.signal-log-monospace{background:var(--theme-surface-e2e8f0,#e2e8f0);border-radius:4px;padding:1px 4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.signal-log-spoiler{color:#0000;cursor:pointer;-webkit-user-select:none;user-select:none;background:#334155;border-radius:4px;padding-inline:3px}.signal-log-spoiler.revealed{color:inherit;background:var(--theme-surface-e2e8f0,#e2e8f0);-webkit-user-select:text;user-select:text}.signal-command-status{background:var(--theme-surface-e2e8f0,#e2e8f0);border-radius:999px;padding:2px 7px;font-size:11px}.signal-command-status.status-completed{background:var(--theme-surface-dcfce7,#dcfce7);color:var(--theme-text-166534,#166534)}.signal-command-status.status-failed{background:var(--theme-surface-fee2e2,#fee2e2);color:var(--theme-text-991b1b,#991b1b)}.signal-command-status.status-pending,.signal-command-status.status-running{background:var(--theme-surface-fef3c7,#fef3c7);color:var(--theme-text-92400e,#92400e)}.signal-modal-qr{background:var(--theme-surface-f8fafc,#f8fafc);text-align:center;border-radius:12px;justify-items:center;padding:14px;display:grid}.signal-modal-qr img{width:min(280px,100%)}.signal-inline-form{align-items:end;gap:8px;margin:0;display:flex}.signal-inline-form input{margin:0}.signal-message-body{white-space:pre-wrap;max-width:560px}.signal-message-text.is-collapsed{-webkit-line-clamp:6;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.signal-message-toggle{color:var(--theme-text-2563eb,#2563eb);background:0 0;border:0;align-items:center;gap:4px;margin-top:6px;padding:2px 0;font-size:12px;font-weight:650;display:inline-flex}.signal-message-toggle svg{width:14px;height:14px}.signal-reactions,.signal-attachments{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.signal-reactions{margin-top:8px}.signal-reactions span{border:1px solid var(--theme-border-dbeafe,#dbeafe);background:var(--theme-surface-eff6ff,#eff6ff);border-radius:999px;padding:3px 8px;font-size:12px}.signal-attachments a{max-width:260px;color:var(--theme-text-1d4ed8,#1d4ed8);background:var(--theme-surface-eff6ff,#eff6ff);border-radius:8px;align-items:center;gap:6px;padding:5px 8px;text-decoration:none;display:inline-flex}.signal-attachments a span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.signal-attachment-tree{align-items:stretch;gap:7px;display:grid}.signal-attachment-node{min-width:0;position:relative}.signal-attachment-tree .signal-attachment-node>button{width:100%;max-width:100%;color:var(--theme-text-1d4ed8,#1d4ed8);background:var(--theme-surface-eff6ff,#eff6ff);text-align:left;border:0;border-radius:8px;align-items:center;gap:6px;padding:5px 8px;display:flex}.signal-attachment-node>button span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.signal-attachment-node>button svg{flex:0 0 18px;width:18px;height:18px}.signal-attachment-node>button small{min-width:20px;height:20px;color:var(--theme-text-1d4ed8,#1d4ed8);background:var(--theme-surface-dbeafe,#dbeafe);border-radius:999px;flex:none;place-items:center;margin-left:auto;padding:0 5px;font-size:10px;font-weight:750;display:grid}.signal-attachment-children{border-left:1px solid var(--theme-border-93c5fd,#93c5fd);gap:5px;margin:6px 0 0 17px;padding-left:14px;display:grid}.signal-attachment-node.child:before{border-top:1px solid var(--theme-border-93c5fd,#93c5fd);content:"";width:12px;position:absolute;top:17px;left:-14px}.signal-attachment-node.child>button{color:var(--theme-text-334155,#334155);background:var(--theme-surface-f8fafc,#f8fafc)}@media (width<=760px){.signal-meta{grid-template-columns:1fr}.signal-chat-content{max-width:calc(100% - 46px)}.signal-messenger{grid-template-columns:112px minmax(0,1fr);height:calc(100dvh - 98px)}.signal-sidebar-title{padding-inline:10px}.signal-messenger .signal-chat-sidebar nav{padding-inline:5px}.signal-chat-choice{justify-content:center;padding-inline:5px}.signal-chat-choice>span:last-child,.signal-sidebar-title span{display:none}#signal-messenger-search{padding-inline:6px}#signal-messenger-search>div>svg{display:none}#signal-messenger-search input{padding-left:8px}.signal-qr-card{flex-direction:column;align-items:flex-start}.signal-health{margin-left:0}.signal-status-head{flex-wrap:wrap;align-items:flex-start}}.eraport-generator-page,.eraport-documents,.eraport-documents>.table-wrap{width:100%;max-width:none}.eraport-documents table{width:100%;min-width:1000px}.eraport-people-table table{min-width:720px}.eraport-people-table th,.eraport-people-table td{padding:10px 12px}.eraport-person-editor-layer{z-index:80;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0c162994;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.eraport-person-editor{width:min(820px,100%)}.eraport-person-editor fieldset{border:1px solid var(--theme-border-dfe6ef,#dfe6ef);border-radius:12px;margin:0;padding:14px}.eraport-person-editor legend{color:var(--theme-text-33445f,#33445f);padding:0 6px;font-size:13px;font-weight:700}.eraport-extra-editor-name{position:relative}.eraport-version-badge{vertical-align:middle;background:var(--theme-surface-e8eef8,#e8eef8);color:var(--theme-text-526582,#526582);white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:600;line-height:1.4;display:inline-block}.medical-service-logo{object-fit:contain;flex-shrink:0;width:40px;height:46px}.pwa-controls{gap:4px;padding:6px 12px;display:grid}.pwa-controls small{color:var(--theme-text-94a3b8,#94a3b8);font-size:10px;line-height:1.3}.menu-collapsed .pwa-controls{display:none}.order-auto-badge{background:var(--theme-surface-e8f7f1,#e8f7f1);color:var(--theme-text-16775a,#16775a);border-radius:999px;align-items:center;gap:4px;margin-top:5px;padding:3px 7px;font-size:11px;font-weight:700;display:inline-flex}.order-auto-badge svg{width:12px;height:12px}.app-update-banner{bottom:max(16px, env(safe-area-inset-bottom));z-index:1200;color:#fff;background:#17243a;border-radius:12px;align-items:center;gap:12px;max-width:calc(100vw - 32px);padding:12px 16px;display:flex;position:fixed;left:auto;right:16px;box-shadow:0 8px 30px #08102055}.app-update-banner[hidden]{display:none}.app-update-banner button{background:var(--theme-surface-ffffff,#fff);color:var(--theme-text-1769d2,#1769d2);border:0;border-radius:8px;padding:8px 12px}.share-files-panel{background:var(--theme-surface-ffffff,white);border-radius:15px;gap:16px;max-width:900px;padding:20px;display:grid}.share-files-panel label{gap:6px;min-width:0;display:grid}.share-files-panel [hidden]{display:none!important}.share-files-panel p{color:var(--theme-text-64748b,#64748b);font-size:13px}.share-files-panel ul{overflow-wrap:anywhere}.share-people{max-height:280px;display:grid;overflow:auto}.share-people button{border:0;border-bottom:1px solid var(--theme-border-e2e8f0,#e2e8f0);background:var(--theme-surface-f8fafc,#f8fafc);text-align:left;padding:12px}.share-people small{color:var(--theme-text-64748b,#64748b);display:block}#share-document-fields:not([hidden]){gap:14px;display:grid}.touch-menu-backdrop{z-index:119;touch-action:none;background:#0c162980;position:fixed;inset:0}.row-context-menu.touch-menu-sheet{width:100%;max-height:85dvh;padding:12px 12px max(12px, env(safe-area-inset-bottom));border-radius:18px 18px 0 0;flex-direction:column;display:flex;inset:auto 0 0!important}.touch-menu-sheet>header{align-items:center;gap:10px;padding-bottom:10px;display:flex}.touch-menu-sheet>header b{overflow-wrap:anywhere;flex:1;min-width:0}.touch-menu-heading{flex:1;gap:5px;min-width:0;display:grid}.touch-menu-context{color:var(--theme-text-64748b,#64748b);overflow-wrap:anywhere;max-height:18dvh;font-size:13px;font-weight:400;line-height:1.4;overflow-y:auto}.touch-menu-section{color:var(--theme-text-1769d2,#1769d2);font-size:13px}.touch-menu-heading [hidden]{display:none}.touch-menu-sheet>header button{flex-shrink:0;width:auto}.touch-menu-sheet button[hidden]{display:none}.touch-menu-body{overscroll-behavior:contain;min-height:0;overflow-y:auto}.touch-menu-sheet button{white-space:normal;min-height:48px}.touch-menu-sheet .context-submenu,.touch-menu-sheet .document-submenu{display:none!important}.touch-menu-sheet .context-submenu-wrap:after,.touch-menu-sheet .document-submenu-wrap:after{display:none}@media (pointer:coarse){.registry-table tbody{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.registry-table .row-actions .row-menu-trigger{width:44px;height:44px}}#app{grid-template-columns:250px minmax(0,1fr)}#app main,#content,#content>*,.modal,.form-grid>*,.eraport-generator-form>section,.eraport-documents,.eraport-preview,.shpk-setup,.shpk-step,.table-wrap{min-width:0}.table-wrap{overscroll-behavior-x:contain;max-width:100%}#app>aside{height:100dvh;padding-top:62px}#app>aside>nav{flex:0 auto;align-content:start;min-height:0;overflow-y:auto}#app>aside .brand{flex-shrink:0}#app>aside .sidebar-account{flex-direction:column;flex-shrink:0}#app>aside .sidebar-account>button,#app>aside .sidebar-account form button.sidebar-logout{justify-content:flex-start;gap:12px;width:100%;padding:11px 13px}#app .app-menu-toggle{top:max(12px, env(safe-area-inset-top));color:#fff;z-index:45;background:#1d2b45;border:0;border-radius:10px;place-items:center;width:36px;height:36px;padding:0;display:grid;position:fixed;left:202px}.app-menu-toggle svg{width:20px;height:20px}@media (width>=801px){#app.menu-collapsed{grid-template-columns:78px minmax(0,1fr)}#app.menu-collapsed .app-menu-toggle{left:21px}#app.menu-collapsed>aside nav a,#app.menu-collapsed>aside nav a:hover,#app.menu-collapsed>aside nav a>span{font-size:0}#app.menu-collapsed>aside nav a svg{flex-shrink:0}#app.menu-collapsed>aside .sidebar-account>button,#app.menu-collapsed>aside .sidebar-account form button.sidebar-logout{justify-content:center;padding-inline:0}#app.menu-collapsed>aside .sidebar-account button span{display:none}}@media (width<=800px){#app,#app.menu-collapsed{grid-template-columns:minmax(0,1fr)}#app>aside{padding-top:max(64px, calc(env(safe-area-inset-top) + 56px))}#app .app-menu-toggle{z-index:46;left:12px}#app.mobile-menu-open .app-menu-toggle{z-index:1102}#app>main{padding:max(62px, calc(env(safe-area-inset-top) + 56px)) 12px max(16px, env(safe-area-inset-bottom))}#app main>header{flex-wrap:wrap;gap:10px}#app main>header h1{overflow-wrap:anywhere;font-size:22px}#actions{flex-wrap:wrap;gap:5px;min-width:0;max-width:100%;display:flex}.toolbar,.attention-filters,.eraport-section-head,.order-requisites-head{flex-wrap:wrap}.toolbar>*,.attention-filters>*,.shpk-step>div>label{min-width:0;max-width:100%}.modal-bg,.eraport-person-editor-layer{padding:10px}.modal{max-width:100%;max-height:calc(100dvh - 20px);padding:16px}.modal-title{align-items:flex-start;gap:8px}.modal-title h2{overflow-wrap:anywhere;min-width:0;font-size:20px}.modal-title>button{flex-shrink:0}.facts,.form-grid{grid-template-columns:minmax(0,1fr)}.form-actions{flex-wrap:wrap}input,select,textarea{font-size:16px}.eraport-file-list>span{max-width:100%}body.registry-page{overflow:hidden}#app.registry-view main{height:100dvh;min-height:0;overflow:hidden}#app.registry-view .registry-table{min-height:0;max-height:none}#app main:has(.signal-messenger){flex-direction:column;height:100dvh;display:flex;overflow:hidden}#app main:has(.signal-messenger)>#content{flex-direction:column;flex:1;min-height:0;display:flex}.signal-messenger{flex:1;grid-template-columns:96px minmax(0,1fr);height:auto;min-height:0}.security-card{min-width:0;max-width:100%}#toast{left:12px;right:12px;bottom:max(12px, env(safe-area-inset-bottom))}}.modal.order-certificates-modal{flex-direction:column;max-height:min(92vh,100dvh - 40px);display:flex;overflow:hidden}.order-certificates-modal>.modal-title{flex:none}.order-certificates-modal .order-certificates-control{flex-direction:column;min-height:0;display:flex;overflow:hidden}.order-certificates-modal .certificate-control-summary{flex-wrap:wrap;flex:none}.order-certificates-modal .certificate-control-list{overscroll-behavior:contain;scrollbar-gutter:stable;gap:12px;min-height:0;display:grid;overflow-y:auto}.audit-readable-changes{min-width:240px;max-width:680px}.audit-readable-changes section{border-bottom:1px solid var(--theme-border-e1e7f0,#e1e7f0);padding:10px 0}.audit-readable-changes section>div{grid-template-columns:48px minmax(0,1fr);gap:8px;margin-top:5px;display:grid}.audit-readable-changes span{color:var(--theme-text-68758a,#68758a);font-size:12px}.audit-readable-changes pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:0}.shpk-sync-progress{z-index:100100;color:#fff;background:#13233d;border-radius:12px;align-items:center;gap:12px;max-width:90vw;padding:10px 16px;font-size:13px;display:flex;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 5px 24px #0003}.shpk-sync-progress button{color:#fff}.patient-comments{border:1px solid var(--theme-border-e2e8f0,#e2e8f0);border-radius:12px;margin:18px 0;padding:16px}.patient-comment{border-bottom:1px solid var(--theme-border-e2e8f0,#e2e8f0);padding:10px 0}.patient-comment p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.patient-comment small{color:var(--theme-text-64748b,#64748b)}.patient-comments form{gap:10px;margin-top:14px;display:grid}.patient-comments form>button{justify-self:end}.order-suggestion-browser{min-width:0;max-height:65vh;overflow:auto}.order-suggestion-browser summary{cursor:pointer;padding:8px 0}body input[type=checkbox]{appearance:none;border:1.5px solid var(--theme-border-8797ad,#8797ad);background:var(--theme-surface-ffffff,#fff);color:#fff;vertical-align:middle;cursor:pointer;width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;box-shadow:none;border-radius:5px;flex:0 0 20px;margin:0;padding:0;display:inline-block;position:relative}body input[type=checkbox]:after{content:"";border:2px solid;border-width:0 2px 2px 0;width:5px;height:10px;display:none;position:absolute;top:2px;left:6px;transform:rotate(45deg)}body input[type=checkbox]:checked,body input[type=checkbox]:indeterminate{background:#1769d2;border-color:#1769d2}body input[type=checkbox]:checked:after{display:block}body input[type=checkbox]:indeterminate:after{border-width:0 0 2px;width:9px;height:0;display:block;top:8px;left:4px;transform:none}body input[type=checkbox]:focus-visible{outline-offset:3px;outline:3px solid #1769d255}body input[type=checkbox]:disabled{opacity:.5;cursor:not-allowed}body label:has(>input[type=checkbox]):not([hidden]){cursor:pointer;align-items:center;gap:10px;min-height:36px;line-height:1.4;display:flex}body label:has(>input[type=checkbox]:disabled){cursor:not-allowed}body label:has(>input[type=checkbox])>span{min-width:0}body .column-visibility-menu label:has(>input[type=checkbox]){gap:8px;min-height:28px;padding:3px 7px}body .approval-video-orders label:has(>input[type=checkbox]){align-items:flex-start}body .approval-video-orders input[type=checkbox]{margin-top:2px}@media (pointer:coarse){body label:has(>input[type=checkbox]):not([hidden]){min-height:44px}}@media (forced-colors:active){body input[type=checkbox]{appearance:auto;forced-color-adjust:auto}body input[type=checkbox]:after{display:none}}.directory-create-overlay{z-index:1150;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#101b3180;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.directory-create-dialog{background:var(--theme-surface-ffffff,#fff);border-radius:16px;width:min(760px,100%);max-height:90dvh;padding:24px;overflow:auto;box-shadow:0 20px 60px #101b3150}.directory-create-dialog header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.directory-create-dialog header h2{margin:0}.directory-create-dialog [data-error]{color:var(--theme-text-b42318,#b42318)}.directory-combobox{min-width:0;position:relative}.directory-options{z-index:25;background:var(--theme-surface-ffffff,#fff);border:1px solid var(--theme-border-d7dfeb,#d7dfeb);border-radius:9px;max-height:260px;position:absolute;top:100%;left:0;right:0;overflow:auto;box-shadow:0 10px 24px #101b3120}.directory-options[hidden]{display:none}.directory-options button{text-align:left;background:var(--theme-surface-ffffff,#fff);width:100%;color:var(--theme-text-162033,#162033);border:0;padding:9px 12px;display:block}.directory-options button:hover,.directory-options button:focus{background:var(--theme-surface-eef4ff,#eef4ff)}.directory-native-select{opacity:0;pointer-events:none;width:1px!important;height:1px!important;padding:0!important;position:absolute!important}.shpk-source-badge{background:var(--theme-surface-e7effc,#e7effc);width:fit-content;color:var(--theme-text-285cb8,#285cb8);border-radius:5px;padding:2px 6px;font-size:11px;display:block}.merge-choice{overflow-wrap:anywhere;align-items:flex-start;gap:8px;display:flex}.merge-choice input[type=radio]{flex:0 0 18px;width:18px;height:18px;margin:2px 0}.proposal-list{gap:16px;display:grid}.proposal-card{border:1px solid var(--theme-border-e2e8f0,#e2e8f0);background:var(--theme-surface-ffffff,#fff);border-radius:16px;min-width:0;padding:18px}.proposal-card>header{background:0 0;justify-content:space-between;align-items:flex-start;gap:12px;height:auto;min-height:0;padding:0 0 12px;display:flex;position:static}.proposal-card h2{margin:0 0 4px;font-size:17px}.proposal-card header p{color:var(--theme-text-64748b,#64748b);margin:0;font-size:12px}.proposal-details{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:10px 18px;margin:0 0 14px;display:grid}.proposal-field{min-width:0}.proposal-field dt{color:var(--theme-text-64748b,#64748b);font-size:12px}.proposal-field dd{overflow-wrap:anywhere;white-space:pre-wrap;margin:3px 0 0;font-size:14px}.proposal-files{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.proposal-file{border:1px solid var(--theme-border-cbd5e1,#cbd5e1);background:var(--theme-surface-f8fafc,#f8fafc);border-radius:10px;min-width:0;overflow:hidden}.proposal-file:has(input:checked){background:var(--theme-surface-eff6ff,#eff6ff);border-color:#2563eb;box-shadow:0 0 0 1px #2563eb}.proposal-preview{cursor:zoom-in;background:var(--theme-surface-e2e8f0,#e2e8f0);border:0;border-radius:0;justify-content:center;align-items:center;width:100%;height:150px;padding:0;display:flex}.proposal-preview img{object-fit:cover;object-position:center;width:100%;height:100%}.proposal-preview svg{width:36px;height:36px}.proposal-file label{cursor:pointer;align-items:center;gap:8px;padding:8px;font-size:12px;display:flex}.proposal-file small,.proposal-file>span{text-overflow:ellipsis;white-space:nowrap;padding:4px 8px;font-size:12px;display:block;overflow:hidden}@media (width<=600px){.proposal-card{padding:12px}.proposal-details{grid-template-columns:1fr}.proposal-files{grid-template-columns:repeat(2,minmax(0,1fr))}}nav a[href=\/change-proposals]{position:relative}.proposal-menu-badge,.attention-menu-badge{color:#fff;text-align:center;background:#e11d48;border-radius:999px;min-width:21px;height:21px;padding:0 5px;font-size:11px;line-height:21px;position:absolute;top:-4px;right:4px;box-shadow:0 0 0 3px #0f172a}.proposal-menu-badge[hidden],.attention-menu-badge[hidden]{display:none}.file-preview-window.attachment-editor{background:var(--theme-surface-f1f5f9,#f1f5f9);flex-direction:column;width:min(960px,96vw);height:94dvh;display:flex;overflow:hidden}.attachment-editor>header,.attachment-editor>footer{background:var(--theme-surface-ffffff,white);flex:none;align-items:center;gap:10px;padding:12px 16px;display:flex}.attachment-editor>footer{justify-content:flex-end}.rotation-hint{flex:none;margin:0;padding:8px 16px;font-size:13px}.rotation-pages{flex:1;min-height:0;padding:12px;overflow:auto}.rotation-page{background:var(--theme-surface-ffffff,white);border:1px solid var(--theme-border-cbd5e1,#cbd5e1);border-radius:10px;margin-bottom:16px;overflow:hidden}.rotation-page-toolbar{z-index:1;background:var(--theme-surface-ffffff,#fff);border-bottom:1px solid var(--theme-border-e2e8f0,#e2e8f0);align-items:center;gap:10px;padding:8px 12px;display:flex;position:sticky;top:0}.rotation-page-toolbar b{margin-right:auto}.rotation-page-toolbar button{width:40px;height:40px;padding:8px}.rotation-stage{aspect-ratio:1;justify-content:center;align-items:center;width:100%;display:flex;overflow:hidden}.file-preview-window .rotation-stage img{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%;transition:transform .15s;display:block}.certificate-person-name{display:block}.certificate-report-link{vertical-align:baseline;cursor:pointer;color:var(--primary,var(--theme-text-2563eb,#2563eb));margin-left:4px;display:inline}.certificate-report-link svg{vertical-align:-2px;width:15px;height:15px;display:inline-block}.certificate-report-link:focus-visible{outline-offset:2px;outline:2px solid}.proposal-field-group{grid-column:1/-1}.proposal-field-group>dd{white-space:normal}.proposal-details-nested{border:1px solid var(--theme-border-e2e8f0,#e2e8f0);background:var(--theme-surface-f8fafc,#f8fafc);border-radius:10px;margin:8px 0 0;padding:12px}.proposal-diagnosis summary{cursor:pointer;white-space:normal}.proposal-diagnosis summary small{color:var(--theme-text-2563eb,#2563eb);margin-top:4px;font-size:12px;display:block}.proposal-diagnosis>div{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}.proposal-diagnosis .diagnosis-collapse,.proposal-diagnosis[open] summary>span,.proposal-diagnosis[open] .diagnosis-expand{display:none}.proposal-diagnosis[open] .diagnosis-collapse{display:inline}.registry-table table>thead>tr>th:not(:last-child),.registry-table table>tbody>tr>td:not(:last-child){border-inline-end:1px solid #64748b38}#app>aside>nav{scrollbar-width:thin;scrollbar-color:#425573 #101b31}#app>aside>nav:hover{scrollbar-color:#607b9f #101b31}#app>aside>nav::-webkit-scrollbar{width:6px}#app>aside>nav::-webkit-scrollbar-track{background:#101b31;border-radius:10px}#app>aside>nav::-webkit-scrollbar-thumb{background:#425573;border:1px solid #101b31;border-radius:10px}#app>aside>nav::-webkit-scrollbar-thumb:hover{background:#607b9f}#app>aside>nav::-webkit-scrollbar-corner{background:#101b31}:is(.table-wrap,.modal,.modal *,.column-visibility-menu>div,.touch-menu-body){scrollbar-width:thin;scrollbar-color:#b6c4d6 #f3f6fa}:is(.table-wrap,.modal,.modal *,.column-visibility-menu>div,.touch-menu-body):hover{scrollbar-color:#8da2bd #f3f6fa}:is(.table-wrap,.modal,.modal *,.column-visibility-menu>div,.touch-menu-body)::-webkit-scrollbar{width:7px;height:7px}:is(.table-wrap,.modal,.modal *,.column-visibility-menu>div,.touch-menu-body)::-webkit-scrollbar-track{background:var(--theme-surface-f3f6fa,#f3f6fa);border-radius:10px}:is(.table-wrap,.modal,.modal *,.column-visibility-menu>div,.touch-menu-body)::-webkit-scrollbar-thumb{background:var(--theme-surface-b6c4d6,#b6c4d6);border:1px solid var(--theme-border-f3f6fa,#f3f6fa);border-radius:10px}:is(.table-wrap,.modal,.modal *,.column-visibility-menu>div,.touch-menu-body)::-webkit-scrollbar-thumb:hover{background:#8da2bd}:is(.table-wrap,.modal,.modal *,.column-visibility-menu>div,.touch-menu-body)::-webkit-scrollbar-corner{background:var(--theme-surface-f3f6fa,#f3f6fa)}.registry-sort{color:inherit;font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:5px;min-width:0;padding:0;display:flex}.registry-sort [data-sort-indicator]{opacity:.45;flex-shrink:0}.registry-sort.is-active [data-sort-indicator]{opacity:1;color:var(--theme-text-2563eb,#2563eb)}main>header h1:has(.approval-back){flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.approval-back{flex-shrink:0;align-items:center;gap:.35rem;font-size:.875rem;font-weight:500;display:inline-flex}.approval-back svg{width:18px;height:18px}.board-recognition{border:1px solid var(--theme-border-cbd5e1,#cbd5e1);border-radius:.75rem;min-width:0;padding:.75rem}.board-recognition select{max-width:100%;margin-top:.5rem}.board-recognition dl>div{justify-content:space-between;gap:1rem;padding:.2rem 0;display:flex}.board-recognition dd{margin:0;font-weight:600}.board-recognition details p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:14rem;overflow:auto}.board-recognition[aria-busy=true] [data-progress]:before{content:"";border:2px solid var(--theme-border-cbd5e1,#cbd5e1);border-top-color:#2563eb;border-radius:50%;width:.8rem;height:.8rem;margin-right:.5rem;animation:1s linear infinite slow-request-spin;display:inline-block}.approval-documents{background:var(--theme-surface-ffffff,white);border-radius:12px;min-width:0;padding:14px;position:sticky;top:12px}.approval-documents h3{margin:0 0 6px}.approval-documents select{width:100%;min-width:0;margin:8px 0}.approval-file-view{height:calc(100dvh - 350px);min-height:320px;overflow:auto}.approval-file-view iframe{border:0;width:100%;height:calc(100% - 30px);min-height:290px;display:block}.approval-file-view img{max-width:100%;height:auto;margin:0 auto;display:block}.approval-choice.is-viewed{background:var(--theme-surface-eff6ff,#eff6ff);padding-left:10px;box-shadow:inset 3px 0 #3b82f6}.approval-text-details{margin-top:12px}.approval-text-details summary{cursor:pointer}@media (width<=800px){.approval-documents{position:static}.approval-file-view{height:55dvh}}body:has(#content>.approval-workspace){overflow:hidden}#app:has(#content>.approval-workspace){height:100dvh;min-height:0;overflow:hidden}#app:has(#content>.approval-workspace) main{flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}#app:has(#content>.approval-workspace) main>header{flex:none}#content:has(>.approval-workspace){flex-direction:column;flex:1 1 0;min-height:0;display:flex;overflow:hidden}#content>.approval-meta{flex:none}#content>.approval-workspace{flex:1 1 0;align-items:stretch;min-height:0;overflow:hidden}.approval-workspace>.approval-selection,.approval-workspace>.approval-documents{overscroll-behavior:contain;scrollbar-gutter:stable;min-width:0;height:auto;min-height:0;max-height:none;overflow:auto}.approval-workspace>.approval-documents{color:var(--theme-text-162033,#162033);flex-direction:column;display:flex;position:static}.approval-workspace #approval-document-view{flex-direction:column;flex:1 0 0;min-height:180px;display:flex}#approval-document-view>h3,#approval-document-view>small,#approval-document-view>label{flex:none}.approval-workspace .approval-file-view{overscroll-behavior:contain;flex:1 1 0;height:auto;min-height:120px;overflow:auto}.approval-workspace .approval-file-view iframe{height:calc(100% - 30px);min-height:90px}.approval-workspace .approval-text-details{flex:none}.approval-workspace .approval-text-details .approval-preview{max-height:30dvh;overflow:auto}#content:has(>.approval-workspace)>.approval-media-list{flex:none;max-height:12dvh;overflow:auto}#content:has(>.approval-workspace)>.approval-media-list:empty{display:none}#content:has(>.approval-workspace)>#approval-media-view{flex:0 auto;min-height:0;max-height:25dvh;overflow:auto}#content:has(>.approval-workspace)>#approval-media-view:empty{display:none}@media (width<=800px){#content>.approval-workspace{grid-template-rows:minmax(0,1fr) minmax(0,1.2fr);grid-template-columns:minmax(0,1fr);gap:8px}.approval-workspace>.approval-selection,.approval-workspace>.approval-documents{padding:10px}.approval-workspace #approval-document-view{min-height:100px}.approval-workspace .approval-file-view{min-height:70px}.approval-workspace .approval-file-view iframe{min-height:40px}}.approval-person-line{align-items:flex-start;gap:4px;display:flex}.approval-person-line>.checkbox-field{min-width:0;margin:0}.approval-choice[data-record^=document\:]{cursor:pointer}.approval-choice[data-record^=document\:]:hover{background:var(--theme-surface-f3f7fd,#f3f7fd)}.approval-choice[data-record^=document\:].is-viewed{background:var(--theme-surface-eff6ff,#eff6ff)}.approval-choice[data-record^=document\:]:focus-visible{outline-offset:-2px;outline:2px solid #1769d2}.row-context-menu:not(.touch-menu-sheet){overscroll-behavior:contain;max-width:calc(100dvw - 16px);max-height:calc(100dvh - 16px);overflow:auto}.row-context-menu:not(.touch-menu-sheet) .context-submenu,.row-context-menu:not(.touch-menu-sheet) .document-submenu{overscroll-behavior:contain;max-width:calc(100dvw - 16px);max-height:calc(100dvh - 16px);position:fixed;overflow:auto}.row-context-menu:not(.touch-menu-sheet) button{white-space:normal;overflow-wrap:anywhere}.row-context-menu:not(.touch-menu-sheet) button span{min-width:0}.modal.leave-ticket-modal{width:min(1500px,96vw)}.leave-ticket-import .table-wrap{max-height:62dvh;overflow:auto}.leave-ticket-import th{z-index:1;position:sticky;top:0}.leave-ticket-import td{vertical-align:top;min-width:160px;padding:8px}.leave-ticket-import td:first-child{width:35px;min-width:35px}.leave-ticket-import select{min-width:240px;max-width:380px}.leave-ticket-import td small,.leave-ticket-import td span{display:block}.leave-ticket-import [data-warning] strong{color:var(--theme-text-b91c1c,#b91c1c);margin:6px 0;display:block}.leave-ticket-import pre{white-space:pre-wrap;max-width:350px;max-height:200px;overflow:auto}.leave-ticket-import label{font-size:12px;display:block}.leave-ticket-import td:first-child input{width:18px}.patient-files{margin:16px 0}.patient-file-fields{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.patient-file-fields label{flex:180px;min-width:0}.patient-file-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin:12px 0;display:grid}.patient-file{border:1px solid var(--theme-border-e2e8f0,#e2e8f0);border-radius:10px;flex-direction:column;gap:5px;min-width:0;padding:10px;display:flex}.patient-file b,.patient-file small{overflow-wrap:anywhere}.patient-file-preview{background:var(--theme-surface-f1f5f9,#f1f5f9);border:0;border-radius:6px;justify-content:center;align-items:center;width:100%;height:120px;padding:0;display:flex;overflow:hidden}.patient-file-preview img{object-fit:cover;object-position:center;width:100%;height:100%}.patient-file-preview svg{width:32px;height:32px}.patient-file [data-editor] input,.patient-file [data-editor] select{width:100%;min-width:0}.attachment-card .attachment-drag-handle{z-index:3;width:28px;height:28px;color:var(--theme-text-475569,#475569);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:#ffffffeb;border-radius:6px;justify-content:center;align-items:center;display:flex;position:absolute;top:4px;left:4px;box-shadow:0 1px 4px #0002}.attachment-drag-handle svg{pointer-events:none;width:18px;height:18px}.attachment-reordering{opacity:.75;outline:2px solid #2563eb}.row-context-menu:not(.touch-menu-sheet) .context-submenu-wrap.hover-open>.context-submenu,.row-context-menu:not(.touch-menu-sheet) .document-submenu-wrap.hover-open>.document-submenu{display:block}.reports-page{gap:24px;width:100%;display:grid}.report-card{--report-surface:#fff;--report-soft:#f8fafc;--report-border:#e2e8f0;--report-muted:#64748b;--report-ink:#0f172a;border:1px solid var(--report-border);background:var(--report-surface);color:var(--report-ink);border-radius:18px;grid-template-columns:minmax(0,1fr) 320px;display:grid;overflow:hidden;box-shadow:0 4px 20px #0f172a05}.report-card-main{min-width:0;padding:28px}.report-card-heading{align-items:center;gap:16px;display:flex}.report-card-icon{color:#2563eb;background:#eff6ff;border-radius:14px;flex:0 0 52px;place-items:center;height:52px;display:grid}.report-card-icon svg{width:26px;height:26px}.report-card-heading h2{overflow-wrap:anywhere;margin:7px 0 0;font-size:20px;line-height:1.35}.report-format{color:#047857;letter-spacing:.04em;background:#ecfdf5;border-radius:6px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex}.report-coverage{background:var(--report-soft);border-radius:12px;gap:7px;margin-top:26px;padding:18px 20px;display:grid}.report-caption,.report-coverage>span:last-child{color:var(--report-muted);font-size:12px;line-height:1.5}.report-coverage strong{font-variant-numeric:tabular-nums;font-size:18px}.report-rules{color:var(--report-muted);margin-top:18px;font-size:13px;line-height:1.6}.report-rules summary{cursor:pointer;width:fit-content}.report-rules ul{margin:10px 0 0;padding-left:20px}.report-rules li+li{margin-top:5px}.report-card-controls{background:var(--report-soft);border-left:1px solid var(--report-border);flex-direction:column;justify-content:center;align-items:stretch;gap:10px;min-width:0;margin:0;padding:28px;display:flex}.report-card-controls>label{color:var(--report-ink);font-size:13px;font-weight:600}.report-card-controls input{box-sizing:border-box;border:1px solid var(--report-border);background:var(--report-surface);width:100%;min-width:0;height:44px;color:var(--report-ink);border-radius:9px;padding:10px 12px}.report-card-controls button{border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:44px;margin-top:12px;display:flex}.report-card-controls button svg{width:18px;height:18px}.report-download-hint{text-align:center;color:var(--report-muted);font-size:11px}.report-spinner{animation:1s linear infinite report-spin}@keyframes report-spin{to{transform:rotate(360deg)}}[data-theme=dark] .report-card{--report-surface:#172235;--report-soft:#111c2e;--report-border:#334155;--report-muted:#a3b1c6;--report-ink:#e2e8f0}[data-theme=dark] .report-card-icon{color:#93c5fd;background:#1e3a5f}[data-theme=dark] .report-format{color:#6ee7b7;background:#123d35}@media (width<=760px){.report-card{grid-template-columns:minmax(0,1fr)}.report-card-main,.report-card-controls{padding:20px}.report-card-controls{border-left:0;border-top:1px solid var(--report-border)}.report-card-heading{gap:12px}.report-card-heading h2{font-size:18px}.report-coverage{padding:16px}}@media (prefers-reduced-motion:reduce){.report-spinner{animation:none}}.pagination{color:#334155;background:#fff;border:1px solid #e2e8f0;border-radius:11px;flex:none;justify-content:center;align-items:center;gap:4px;width:fit-content;max-width:100%;padding:4px;display:flex}#content>.pagination{margin:16px 0 0 auto}.pagination>button{width:36px;height:36px;min-height:36px;color:inherit;box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:7px;flex:0 0 36px;place-items:center;margin:0;padding:0;font-size:19px;line-height:1;display:grid}.pagination>button:hover:not(:disabled){color:#2563eb;background:#eff6ff}.pagination>button:focus-visible{outline-offset:1px;outline:2px solid #2563eb}.pagination>button:disabled{opacity:.3;cursor:default}.pagination>span{text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums;min-width:72px;padding:0 8px;font-size:13px;font-weight:600}[data-theme=dark] .pagination{color:#e2e8f0;background:#172235;border-color:#334155}[data-theme=dark] .pagination>button:hover:not(:disabled){color:#93c5fd;background:#1e3a5f}@media (pointer:coarse){.pagination>button{flex-basis:44px;width:44px;height:44px;min-height:44px}}.reports-page>#reward-statements{margin-top:0}.reward-archive{flex-wrap:wrap;gap:10px;margin:16px 0;display:flex}.reward-archive>div{border:1px solid var(--border,#cbd5e1);border-radius:10px;gap:4px;padding:4px;display:flex}.reward-table{max-height:60vh;overflow:auto}.reward-table th{z-index:1;position:sticky;top:0}.reward-table td{vertical-align:top}.reward-table small{max-width:320px;margin-top:5px;display:block}.reward-periods{white-space:pre-line;min-width:190px}.reward-editor{margin-top:18px}.reward-editor form{gap:12px;display:grid}.reward-editor fieldset{border:1px solid var(--border,#cbd5e1);border-radius:10px;padding:12px}.reward-period-input{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;display:flex}.reward-period-input input{width:160px;min-width:0}.rotation-page-toolbar{flex-wrap:wrap}.rotation-page[hidden]{display:none}.reward-report-rates{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:26px;display:grid}.reward-report-rates>div{border:1px solid var(--report-border);background:var(--report-soft);border-radius:12px;flex-direction:column;gap:8px;min-width:0;padding:18px;display:flex}.reward-report-rates strong{font-variant-numeric:tabular-nums;font-size:24px;line-height:1.3}.reward-report-rates strong small{color:var(--report-muted);white-space:nowrap;font-size:12px;font-weight:400}.reward-report-rates>div>span:last-child{color:var(--report-muted);font-size:12px;line-height:1.5}@media (width<=480px){.reward-report-rates{grid-template-columns:minmax(0,1fr)}}#reward-statements.reward-standalone{margin-top:0}.reward-archive-link{justify-content:flex-end;margin-top:14px;display:flex}.reward-archive-link a{align-items:center;gap:10px;text-decoration:none;display:inline-flex}.reward-archive-list{gap:12px;display:grid}.reward-archive-list article{border:1px solid var(--theme-border-cbd5e1,#cbd5e1);background:var(--theme-surface-ffffff,#fff);border-radius:12px;align-items:center;gap:16px;padding:16px 20px;display:flex}.reward-archive-list a{min-width:0;color:inherit;flex:1;gap:6px;text-decoration:none;display:grid}.reward-archive-list a span{opacity:.7;font-size:13px}.reward-detail-actions{justify-content:flex-end;margin-bottom:12px;display:flex}@media (width<=480px){.reward-archive-list article{flex-direction:column;align-items:stretch}}.reward-filters{flex-wrap:wrap;align-items:flex-end;gap:12px;margin:18px 0;display:flex}.reward-filters label{gap:6px;min-width:180px;display:grid}.reward-filters label:first-child{flex:1}.reward-filters input,.reward-filters select{width:100%;min-height:42px}.reward-filters [data-reward-count]{opacity:.75;padding-bottom:12px;font-size:13px}.reward-table [hidden]{display:none}.reward-archive-button{border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:44px;text-decoration:none;display:flex}@media (width<=480px){.reward-filters label{width:100%;min-width:0}}body:has(.reward-standalone>.reward-detail){overflow:hidden}#app:has(.reward-standalone>.reward-detail){height:100dvh;min-height:0;overflow:hidden}#app:has(.reward-standalone>.reward-detail) main{flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}#app:has(.reward-standalone>.reward-detail) main>header{flex:none}.reward-standalone>.reward-detail{flex-direction:column;flex:1 1 0;min-height:0;display:flex;overflow:hidden}#content:has(.reward-standalone>.reward-detail){flex-direction:column;flex:1 1 0;min-height:0;display:flex;overflow:hidden}.reward-standalone:has(>.reward-detail){flex-direction:column;flex:1 1 0;min-height:0;display:flex;overflow:hidden}.reward-standalone>.reward-detail>*{flex:none}.reward-standalone .reward-table{overscroll-behavior:contain;flex:1 1 0;min-height:0;max-height:none;overflow:auto}.reward-standalone .reward-table th{z-index:2;background:var(--theme-surface-f8fafc,#f8fafc);box-shadow:inset 0 -1px var(--theme-border-cbd5e1,#cbd5e1);position:sticky;top:0}.reward-standalone .reward-editor:empty{display:none}.reward-standalone .reward-editor:not(:empty){overscroll-behavior:contain;flex:0 auto;max-height:45dvh;overflow:auto}.reward-standalone .reward-detail h3{margin:8px 0}.reward-standalone .reward-detail-actions{margin-bottom:4px}@media (width<=480px){.reward-standalone .reward-filters{gap:8px;margin:10px 0}.reward-standalone .reward-filters label{width:auto;min-width:0}.reward-standalone .reward-filters label:first-child{flex:130px}.reward-standalone .reward-filters label:nth-child(2){flex:0 110px}.reward-standalone .reward-filters [data-reward-count]{width:100%;padding:0}}.leave-ticket-import [data-certificate-search]{min-width:240px;max-width:380px}.leave-ticket-import select[data-certificate]{height:220px;padding:5px}.leave-ticket-import select[data-certificate] optgroup{padding:6px 2px;font-weight:700}.leave-ticket-import select[data-certificate] option{padding:6px 8px;font-weight:400}.leave-ticket-import [data-certificate-selected]{white-space:normal;max-width:380px;color:var(--theme-text-1769d2,#1769d2);margin-top:6px}.leave-ticket-options{z-index:1200;overscroll-behavior:contain;border:1px solid var(--theme-border-dfe6ef,#dfe6ef);background:var(--theme-surface-ffffff,#fff);color:var(--theme-text-162033,#162033);border-radius:10px;padding:6px;position:fixed;overflow:auto;box-shadow:0 12px 32px #08102030}.leave-ticket-options[hidden]{display:none}.leave-ticket-options button{width:100%;color:inherit;text-align:left;white-space:normal;background:0 0;border:0;border-radius:6px;padding:9px 10px;font-size:13px;display:block}.leave-ticket-options button:hover,.leave-ticket-options button.active,.leave-ticket-options button[aria-pressed=true]{background:var(--theme-surface-eff6ff,#eff6ff);color:var(--theme-text-1769d2,#1769d2)}.leave-ticket-options-heading{border-top:1px solid var(--theme-border-dfe6ef,#dfe6ef);padding:10px 8px 5px;font-size:12px;font-weight:700}.leave-ticket-options p{padding:4px 10px;font-size:12px}:is(#sedo-batch,#manual-awol,#manual-movement-import) .sedo-picker{position:relative}:is(#sedo-batch,#manual-awol,#manual-movement-import) .sedo-suggestions{z-index:30;background:var(--card,#fff);max-height:240px;color:var(--text,#172033);border:1px solid var(--border,#dbe2ea);border-radius:10px;position:absolute;top:68px;left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #0002}:is(#sedo-batch,#manual-awol,#manual-movement-import) .sedo-suggestions:empty,:is(#sedo-batch,#manual-awol,#manual-movement-import) [hidden]{display:none!important}:is(#sedo-batch,#manual-awol,#manual-movement-import) .sedo-suggestions button{text-align:left;width:100%;color:inherit;background:0 0;border:0;border-radius:0;padding:10px 12px;display:block}:is(#sedo-batch,#manual-awol,#manual-movement-import) .sedo-suggestions button:hover,:is(#sedo-batch,#manual-awol,#manual-movement-import) .sedo-suggestions button:focus{background:var(--hover,#e8efff)}#sedo-batch #sedo-quick{border:1px solid var(--border,#dbe2ea);border-radius:12px;padding:14px}:root[data-theme=dark] :is(#sedo-batch,#manual-awol,#manual-movement-import) .sedo-suggestions{color:#e2e8f0;background:#182336;border-color:#394960}:root[data-theme=dark] :is(#sedo-batch,#manual-awol,#manual-movement-import) .sedo-suggestions button:hover,:root[data-theme=dark] :is(#sedo-batch,#manual-awol,#manual-movement-import) .sedo-suggestions button:focus{background:#293d59}.shpk-field-difference{background:#d9770612;border-left:3px solid #d97706;border-radius:4px;flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px;padding:6px 8px;display:flex}.shpk-field-difference small{overflow-wrap:anywhere;flex:1;min-width:0}.shpk-field-difference button{min-height:28px;padding:3px 8px;font-size:12px}.shpk-match-options{border:1px solid #d97706;border-radius:8px;padding:10px}.shpk-match-options>div{gap:6px;max-height:260px;margin-top:8px;display:grid;overflow-y:auto}.shpk-match-options button{text-align:left;white-space:normal;flex-direction:column;align-items:flex-start;gap:4px;display:flex}.awol-import-actions{border:1px solid var(--theme-border-dfe6ef,#dfe6ef);border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 12px;display:flex}.awol-import-actions>span{font-size:12px;font-weight:600}.awol-import-actions>.ghost{border-left:1px solid var(--theme-border-dfe6ef,#dfe6ef);margin-left:4px}#manual-awol-list{min-width:0;max-width:100%}.awol-report-list{gap:8px;min-width:0;display:grid}.awol-report-list-row{border:1px solid var(--theme-border-dfe6ef,#dfe6ef);border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.awol-report-list-row>div{overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.awol-report-list-row small{white-space:normal;overflow-wrap:anywhere}.awol-report-list-row span{opacity:.7;font-size:12px}.awol-report-list-row>.awol-report-actions{flex-wrap:wrap;gap:4px;display:flex}.sedo-page{gap:16px;min-width:0;display:grid}.sedo-tabs{background:var(--theme-surface-edf1f6,#edf1f6);border-radius:13px;flex-wrap:wrap;gap:6px;width:fit-content;max-width:100%;padding:5px;display:flex}.sedo-tabs button{color:var(--theme-text-536177,#536177);background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-weight:600;display:inline-flex}.sedo-tabs button.active{background:var(--theme-surface-ffffff,#fff);color:var(--theme-text-1769d2,#1769d2);box-shadow:0 2px 6px #08102012}.sedo-page svg,.sedo-add svg{flex-shrink:0;width:18px;height:18px}.sedo-tabs button:focus-visible,.sedo-file a:focus-visible{outline-offset:2px;outline:2px solid #1769d2}.sedo-toolbar{align-items:center;gap:12px;min-width:0;display:flex}.sedo-search{border:1px solid var(--theme-border-d7dfeb,#d7dfeb);background:var(--theme-surface-ffffff,#fff);min-width:0;color:var(--theme-text-738097,#738097);border-radius:11px;flex:1;align-items:center;gap:10px;padding:0 13px;display:flex}.sedo-search:focus-within{border-color:#1769d2;box-shadow:0 0 0 2px #1769d21a}.sedo-search input{min-width:0;box-shadow:none;background:0 0;border:0;outline:none;margin:0;padding:12px 0}.sedo-toolbar select{width:245px;max-width:100%;min-height:44px;margin:0}.sedo-add{justify-content:center;align-items:center;gap:8px;display:inline-flex}.sedo-table{min-height:160px;max-height:calc(100dvh - 310px)}.sedo-table table{table-layout:fixed;min-width:760px}.sedo-table th{z-index:1;letter-spacing:.04em;font-size:11px;position:sticky;top:0}.sedo-table td{vertical-align:top;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.sedo-table th:first-child{width:32%}.sedo-table td small{margin-top:5px}.sedo-person{color:var(--theme-text-18243a,#18243a);font-size:14px;display:block}.sedo-files{gap:6px;margin-top:12px;display:grid}.sedo-file{border:1px solid var(--theme-border-e2e8f0,#e2e8f0);background:var(--theme-surface-f8fafc,#f8fafc);border-radius:9px;align-items:center;gap:6px;min-width:0;padding:5px 6px;display:flex}.sedo-file-name{min-width:0;color:var(--theme-text-1769d2,#1769d2);flex:1;align-items:center;gap:7px;font-size:12px;text-decoration:none;display:flex}.sedo-file-name span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sedo-file-name:hover{text-decoration:underline}.sedo-file .icon-btn{background:0 0;border:0;border-radius:7px;flex-shrink:0;width:30px;height:30px;margin:0}.sedo-status{border:1px solid;border-radius:999px;align-items:center;gap:6px;padding:4px 9px;font-size:12px;font-weight:600;line-height:1.3;display:inline-flex}.sedo-status svg{width:14px;height:14px}.sedo-status-pending{color:var(--theme-text-536177,#536177);background:var(--theme-surface-edf1f6,#edf1f6);border-color:var(--theme-border-d7dfeb,#d7dfeb)}.sedo-status-sent{color:var(--theme-text-1769d2,#1769d2);background:var(--theme-surface-eaf2ff,#eaf2ff);border-color:var(--theme-border-d7dfeb,#d7dfeb)}.sedo-send-action{margin-top:12px}.sedo-send-action button{padding:8px 10px;font-size:12px;line-height:1.4}.sedo-code{font-variant-numeric:tabular-nums;background:var(--theme-surface-edf1f6,#edf1f6);border-radius:6px;padding:3px 8px;font-size:13px;display:inline-block}.sedo-aliases{color:var(--theme-text-738097,#738097)}.sedo-empty td{text-align:center;padding:40px 20px}.sedo-empty svg{width:28px;height:28px;color:var(--theme-text-738097,#738097);margin:0 auto 12px;display:block}.sedo-empty strong,.sedo-empty span{display:block}.sedo-empty span{color:var(--theme-text-738097,#738097);margin-top:6px;font-size:13px}.sedo-pagination{color:var(--theme-text-536177,#536177);justify-content:flex-end;align-items:center;gap:12px;padding:14px 0;font-size:13px;display:flex}.sedo-pagination .icon-btn{margin:0}.sedo-pagination button:disabled{opacity:.35;cursor:default}@media (width<=800px){.sedo-tabs{width:100%}.sedo-tabs button{flex:1;padding:10px;font-size:12px}.sedo-toolbar{flex-direction:column;align-items:stretch}.sedo-toolbar select{width:100%}.sedo-table{max-height:none;box-shadow:none;background:0 0;border:0;overflow:visible}.sedo-table table,.sedo-table tbody{width:100%;min-width:0;display:block}.sedo-table thead{display:none}.sedo-table tr{background:var(--theme-surface-ffffff,#fff);border:1px solid var(--theme-border-e2e8f0,#e2e8f0);border-radius:13px;gap:12px;margin-bottom:12px;padding:16px;display:grid}.sedo-table td{border:0;min-width:0;padding:0;display:block}.sedo-table td[data-label]:before{content:attr(data-label);color:var(--theme-text-738097,#738097);margin-bottom:4px;font-size:11px;font-weight:600;display:block}.sedo-table tr.sedo-empty{padding:24px 12px}.sedo-pagination{justify-content:center}.sedo-add{padding:9px 12px;font-size:12px}.sedo-add svg{width:16px;height:16px}}.proposal-source-filter{align-items:center;gap:.5rem;display:flex}.proposal-source-filter select{width:auto;min-width:12rem;margin:0}.proposal-toolbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.proposal-source-tabs{border:1px solid var(--theme-border-e2e8f0,#e2e8f0);background:var(--theme-surface-f8fafc,#f8fafc);border-radius:12px;gap:4px;padding:4px;display:flex}.proposal-source-tabs button{color:var(--theme-text-64748b,#64748b);white-space:nowrap;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:9px 12px;font-weight:600;display:flex}.proposal-source-tabs button[aria-pressed=true]{background:var(--theme-surface-ffffff,#fff);color:var(--theme-text-0f172a,#0f172a);box-shadow:0 1px 4px #00000018}.proposal-source-tabs svg{width:16px;height:16px}.proposal-list{gap:20px}.proposal-card{padding:0;overflow:hidden;box-shadow:0 2px 8px #00000005}.proposal-card>header{border-bottom:1px solid var(--theme-border-e2e8f0,#e2e8f0);margin-bottom:0;padding:18px 20px}.proposal-heading{min-width:0}.proposal-kind{background:var(--theme-surface-eff6ff,#eff6ff);color:var(--theme-text-2563eb,#2563eb);border-radius:6px;margin-bottom:8px;padding:4px 8px;font-size:11px;font-weight:650;display:inline-block}.proposal-card h2{overflow-wrap:anywhere;margin-bottom:7px;font-size:18px;line-height:1.45}.proposal-meta{flex-wrap:wrap;gap:6px 16px;display:flex}.proposal-meta>*{align-items:center;gap:5px;display:inline-flex}.proposal-meta svg{flex-shrink:0;width:13px;height:13px}.proposal-review-actions{flex-wrap:wrap;flex-shrink:0;gap:8px;display:flex}.proposal-review-actions button{border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:8px 12px;font-size:13px;font-weight:600;display:inline-flex}.proposal-review-actions svg{width:16px;height:16px}.proposal-review-actions .proposal-accept{color:#fff;background:#2563eb;border:1px solid #2563eb}.proposal-review-actions .proposal-reject{color:var(--theme-text-64748b,#64748b);border:1px solid var(--theme-border-e2e8f0,#e2e8f0);background:0 0}.proposal-review-actions .proposal-reject:hover{color:#e11d48;border-color:#e11d48}.proposal-card>.proposal-details{gap:16px 24px;margin:0;padding:18px 20px}.proposal-card>.proposal-files{border-top:1px solid var(--theme-border-e2e8f0,#e2e8f0);background:var(--theme-surface-f8fafc,#f8fafc);grid-template-columns:repeat(auto-fill,minmax(140px,180px));padding:16px 20px}.proposal-card .proposal-preview{background:var(--theme-surface-ffffff,#fff);height:130px}.proposal-card .proposal-preview img{object-fit:contain;padding:6px}.proposal-card .proposal-file>small{padding-bottom:10px}.proposal-empty{text-align:center;border:1px dashed var(--theme-border-cbd5e1,#cbd5e1);color:var(--theme-text-64748b,#64748b);border-radius:16px;padding:64px 20px}.proposal-empty>svg{width:36px;height:36px;margin:0 auto 16px}.proposal-empty h2{color:var(--theme-text-0f172a,#0f172a);font-size:18px}.proposal-empty p{font-size:14px}@media (width<=700px){.proposal-toolbar{justify-content:space-between;width:100%}.proposal-source-tabs{width:100%}.proposal-source-tabs button{flex:1;padding:10px 8px}.proposal-card>header{flex-direction:column;padding:16px}.proposal-review-actions{width:100%}.proposal-review-actions button{flex:1;min-height:42px}.proposal-card>.proposal-details{padding:16px}.proposal-card>.proposal-files{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px}}.proposal-tab-count{background:var(--theme-border-e2e8f0,#e2e8f0);min-width:22px;color:inherit;font-variant-numeric:tabular-nums;border-radius:999px;padding:2px 6px;font-size:11px;line-height:1.4}.proposal-source-tabs button[aria-pressed=true] .proposal-tab-count{color:#fff;background:#2563eb}.proposal-search{align-items:center;gap:6px;margin:0;display:flex}.proposal-search input{width:210px;min-width:140px;margin:0}.proposal-search button{justify-content:center;align-items:center;min-height:38px;display:flex}@media (width<=700px){.proposal-search{flex:1}.proposal-search input{width:100%}}.registry-tour-launch{border-radius:9px;align-items:center;min-height:36px;padding:8px 12px;font-weight:600;display:inline-flex}.registry-tour-layer{z-index:100000;isolation:isolate;position:fixed;inset:0}.registry-tour-shade{background:#020617a6;position:absolute;inset:0}.registry-tour-layer.has-target .registry-tour-shade{background:0 0}.registry-tour-ring{pointer-events:none;border:2px solid #60a5fa;border-radius:10px;position:fixed;box-shadow:0 0 0 9999px #020617a6}.registry-tour-dialog{box-sizing:border-box;background:var(--theme-surface-ffffff,#fff);width:min(380px,100vw - 24px);max-height:calc(100dvh - 24px);color:var(--theme-text-0f172a,#0f172a);border:1px solid var(--theme-border-e2e8f0,#e2e8f0);border-radius:18px;padding:22px;position:fixed;overflow-y:auto;box-shadow:0 20px 70px #0005}.registry-tour-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.registry-tour-top small{color:var(--theme-text-64748b,#64748b);font-weight:600}.registry-tour-top button{min-width:36px;min-height:36px;color:inherit;background:0 0;border:0;font-size:24px}.registry-tour-dialog progress{accent-color:#2563eb;width:100%;height:4px;margin:8px 0 16px}.registry-tour-dialog h2{margin:0 0 12px;font-size:20px;line-height:1.35}.registry-tour-dialog p{color:var(--theme-text-64748b,#64748b);margin:0;font-size:14px;line-height:1.65}.registry-tour-dialog footer{justify-content:space-between;gap:12px;margin-top:22px;display:flex}.registry-tour-dialog footer button{border-radius:9px;min-height:42px;padding:9px 18px}.registry-tour-dialog button:focus-visible{outline-offset:3px;outline:3px solid #60a5fa}.registry-workspace>header{flex-wrap:wrap;align-items:center;gap:16px}.registry-workspace>header h1{letter-spacing:-.025em;font-size:clamp(20px,2vw,27px)}.registry-workspace #actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.registry-workspace #actions>button{border-radius:10px;min-height:38px}.registry-workspace .registry-tour-launch{background:var(--theme-surface-eff6ff,#eff6ff);color:var(--theme-text-2563eb,#2563eb);border:1px solid var(--theme-border-e2e8f0,#e2e8f0)}.registry-workspace .registry-toolbar{border:1px solid var(--theme-border-e2e8f0,#e2e8f0);background:var(--theme-surface-ffffff,#fff);border-radius:14px;gap:14px;margin-bottom:14px;padding:14px}.registry-workspace .registry-search{border-radius:10px;flex:1;min-width:min(300px,100%)}.registry-workspace .quick-filter-block>span{color:var(--theme-text-64748b,#64748b);font-size:11px;font-weight:600}@media (width<=700px){.registry-workspace .registry-toolbar{padding:10px}.registry-workspace #actions{gap:6px}}.registry-tour-layer{pointer-events:none}.registry-tour-dialog{pointer-events:auto}.registry-tour-interactive{z-index:99999!important}.registry-tour-layer.has-surface .registry-tour-ring{box-shadow:none}.registry-tour-layer.has-surface .registry-tour-shade{background:0 0}@media (width<=800px){.registry-toolbar .quick-filter-block{display:none}}.movement-entry.movement-cancelled{text-decoration:line-through;text-decoration-thickness:1.5px}#manual-movement-import .sedo-suggestions{top:calc(100% + 4px)}#manual-movement-import .sedo-suggestions button{white-space:normal;flex-direction:column;gap:4px;display:flex}#manual-movement-import .sedo-suggestions button+button{border-top:1px solid var(--border,#dbe2ea)}#manual-movement-import .sedo-suggestions button strong{overflow-wrap:anywhere;font-size:14px;font-weight:600}#manual-movement-import .sedo-suggestions button small{opacity:.75;font-size:12px}#manual-movement-import .sedo-suggestions .search-empty{opacity:.75;padding:12px;display:block}.attention-deletion-note{background:#d99a221f;border-left:3px solid #d99a22;margin-top:.5rem;padding:.4rem .55rem;font-size:.82rem}.attention-deletion-review{margin-bottom:.8rem}.attention-deletion-list{gap:1rem;display:grid}.attention-deletion-card{border:1px solid var(--border,#d8dee8);border-radius:12px;padding:1rem}.attention-deletion-card blockquote{white-space:pre-wrap;background:#8899aa1f;border-radius:8px;margin:.75rem 0;padding:.75rem}.injury-certificate-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.injury-certificate-actions>.ghost{white-space:nowrap;flex-direction:row;justify-content:center;align-items:center;gap:6px;min-height:32px;padding:6px 10px;font-size:13px;line-height:20px;text-decoration:none;display:inline-flex}.injury-certificate-actions>.ghost svg{flex:0 0 16px;width:16px;height:16px}.registry-date-sorts{flex-wrap:wrap;gap:3px 8px;display:flex}.registry-table td[data-column-key=diagnosis]{position:relative}.registry-table td[data-column-key=diagnosis]>[data-episode-diagnosis]{min-height:0;position:absolute;inset:6px 8px;overflow:hidden}.registry-table td[data-column-key=diagnosis] .registry-diagnosis-line:last-child{white-space:pre-wrap;overflow-wrap:anywhere;text-overflow:clip}.registry-table [data-injury-event-date]{white-space:normal}.registry-table .registry-evacuation-date{white-space:nowrap;display:inline-block}.modal-title .patient-form-identity{color:var(--theme-text-536177,#536177);overflow-wrap:anywhere;margin-top:7px;font-size:14px;font-weight:500;line-height:1.45;display:block}.attention-reminder-note{color:var(--theme-text-536177,#536177);margin-top:5px;display:block}#patient-reminder-form [data-repeat-interval][hidden]{display:none}.attention-reminder-details{white-space:pre-wrap;overflow-wrap:anywhere}.attention-table{position:relative}.attention-table[aria-busy=true]>table{opacity:.45;pointer-events:none}.attention-loading{z-index:2;color:var(--theme-text-536177,#536177);background:var(--theme-surface-ffffff,#fff);justify-content:center;align-items:flex-start;gap:10px;padding-top:60px;display:flex;position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){.attention-loading{background:color-mix(in srgb, var(--theme-surface-ffffff,#fff) 65%, transparent)}}.attention-loading{cursor:progress}.attention-loading-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:20px;height:20px;animation:.8s linear infinite report-spin}@media (prefers-reduced-motion:reduce){.attention-loading-spinner{animation:none}}.reward-verification-modal{width:min(1500px,96vw);max-width:96vw}.reward-comparison{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;display:grid}.reward-comparison section{min-width:0}.reward-comparison h3{margin:0 0 8px}.reward-comparison select{text-overflow:ellipsis;width:100%}.reward-file-view{border:1px solid var(--border);border-radius:8px;height:55vh;min-height:280px;overflow:auto}.reward-file-view iframe{border:0;width:100%;height:100%;display:block}.reward-file-view img{width:100%;height:auto;display:block}@media (width<=700px){.reward-comparison{grid-template-columns:minmax(0,1fr)}}.registry-page-loading{box-sizing:border-box;background:var(--theme-surface-ffffff,#fff);width:100%;color:var(--text);z-index:4;justify-content:center;align-items:center;gap:10px;padding:12px 16px;display:flex;position:sticky;bottom:0;left:0;box-shadow:0 -2px 8px #0000000d}.registry-page-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;flex:none;width:18px;height:18px;animation:.8s linear infinite report-spin}@media (prefers-reduced-motion:reduce){.registry-page-spinner{animation:none}}.registry-table{overflow-anchor:none}.registry-page-loading{height:48px;min-height:48px;margin-top:-48px}.modal.awol-report-list-modal{flex-direction:column;height:min(820px,92dvh);display:flex;overflow:hidden}.awol-report-list-modal>.modal-title{flex:none}#manual-awol-list{flex-direction:column;flex:1;min-height:0;display:flex}#manual-awol-list>p{flex:none}#manual-awol-list .awol-report-list{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;align-content:start;min-height:0;overflow-y:auto}.awol-report-filters{flex-wrap:wrap;flex:none;align-items:end;gap:10px;display:flex}.awol-report-filters label{flex:1;gap:5px;min-width:140px;display:grid}.awol-report-filters input{width:100%;min-width:0}.awol-report-pagination{flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:8px;padding-top:12px;display:flex}.connection-test-card{border:1px solid var(--theme-border-e2e8f0,#e2e8f0);background:var(--theme-surface-ffffff,#fff);color:var(--theme-text-0f172a,#0f172a);border-radius:16px;margin:0 0 24px;padding:22px}.connection-test-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.connection-test-heading h2{margin:0;font-size:18px}.connection-test-heading p{color:var(--theme-text-64748b,#64748b);margin:5px 0 0;font-size:13px}.connection-test-heading button{white-space:nowrap;min-height:38px}.connection-test-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0;display:grid}.connection-test-metrics>div{background:var(--theme-surface-f8fafc,#f8fafc);border-radius:12px;min-width:0;padding:16px}.connection-test-metrics span{color:var(--theme-text-64748b,#64748b);margin-bottom:8px;font-size:13px;display:block}.connection-test-metrics strong{font-variant-numeric:tabular-nums;font-size:28px}.connection-test-metrics small{color:var(--theme-text-64748b,#64748b);margin-left:8px}.connection-test-status{min-height:22px;margin:0 0 6px;font-size:14px}.connection-test-note{color:var(--theme-text-64748b,#64748b);margin:0;font-size:12px}.connection-test-card.is-testing .connection-test-status:before{content:"";border:2px solid;border-right-color:#0000;border-radius:50%;width:12px;height:12px;margin-right:8px;animation:.8s linear infinite connection-test-spin;display:inline-block}@keyframes connection-test-spin{to{transform:rotate(360deg)}}@media (width<=600px){.connection-test-card{padding:14px}.connection-test-heading{flex-direction:column;align-items:flex-start}.connection-test-metrics{gap:8px}.connection-test-metrics>div{padding:10px}.connection-test-metrics strong{font-size:22px}.connection-test-metrics small{margin:4px 0 0;display:block}.connection-test-metrics span{font-size:11px}}@media (prefers-reduced-motion:reduce){.connection-test-card.is-testing .connection-test-status:before{animation:none}}.modal:has(#duplicate-review){width:min(1120px,100%)}.duplicate-record-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px;display:grid}.duplicate-record-card{border:1px solid var(--theme-border-dbe2ec,#dbe2ec);overflow-wrap:anywhere;border-radius:12px;flex-direction:column;gap:8px;min-width:0;padding:16px;display:flex}.duplicate-record-card h3{margin:0}.duplicate-record-card label{align-items:center;gap:8px;display:flex}.duplicate-record-card input[type=radio]{width:auto;margin:0}.duplicate-record-card .form-actions{flex-wrap:wrap;justify-content:flex-start}.duplicate-record-card button{text-align:left;align-items:center;gap:6px;max-width:100%;display:inline-flex}.duplicate-record-card button svg{flex-shrink:0;width:18px}.duplicate-record-summary{border-top:1px solid var(--theme-border-dbe2ec,#dbe2ec);white-space:pre-line;margin-top:8px;padding-top:8px}:root{--ob-bg:#f3f6f6;--ob-surface:#fff;--ob-text:#172d34;--ob-muted:#607079;--ob-border:#dce5e5;--ob-accent:#245e54}:root[data-theme=dark]{--ob-bg:#101c21;--ob-surface:#18282f;--ob-text:#e3ecec;--ob-muted:#a8b7bc;--ob-border:#33464e;--ob-accent:#a8d8c7}body{background:var(--ob-bg);color:var(--ob-text);margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px}#app{min-height:100dvh;display:flex}.oberih-sidebar{box-sizing:border-box;color:#e8f1ef;z-index:10;background:#142a31;flex-direction:column;width:260px;padding:30px 18px;display:flex;position:fixed;inset:0 auto 0 0}.oberih-brand{color:inherit;letter-spacing:-.5px;align-items:center;gap:12px;padding:0 10px 28px;font-size:25px;font-weight:650;text-decoration:none;display:flex}.oberih-brand img{width:43px;height:43px}.oberih-brand small{color:#acc5c2;letter-spacing:0;margin-top:3px;font-size:13px;font-weight:400;display:block}.oberih-sidebar nav{gap:5px;display:grid}.oberih-sidebar nav a,.oberih-sidebar-bottom>a,.oberih-sidebar-bottom>button{color:#c7d7d8;border-radius:9px;align-items:center;gap:12px;padding:12px;font-size:14px;font-weight:500;line-height:1.4;text-decoration:none;display:flex}.oberih-sidebar nav a:hover,.oberih-sidebar nav a.active{color:#fff;background:#29434a}.oberih-sidebar svg{flex:none;width:19px;height:19px}.oberih-sidebar-bottom{border-top:1px solid #355057;margin-top:auto;padding-top:18px}.oberih-sidebar-bottom>button{text-align:left;background:0 0;border:0;width:100%}.oberih-user{justify-content:space-between;align-items:center;padding:15px 10px 0;font-size:14px;display:flex}.oberih-user button{color:#c7d7d8;background:0 0;border:0;padding:4px}.oberih-main{box-sizing:border-box;width:calc(100% - 260px);min-width:0;margin-left:260px;padding:36px 38px}.oberih-header{color:var(--ob-text);background:0 0;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;padding:0;display:flex}.oberih-eyebrow{letter-spacing:1.5px;color:var(--ob-muted);margin:0 0 8px;font-size:12px}.oberih-header h1{letter-spacing:-.8px;margin:0;font-size:30px;line-height:1.3}.oberih-toolbar{justify-content:space-between;align-items:center;gap:20px;margin:0 0 20px;display:flex}.oberih-toolbar form{background:var(--ob-surface);border:1px solid var(--ob-border);border-radius:9px;align-items:center;gap:10px;width:100%;max-width:520px;padding:5px 8px 5px 15px;display:flex}.oberih-toolbar input{background:0 0;flex:1;min-width:0;border:0!important;padding:8px!important}.oberih-toolbar svg{color:var(--ob-muted);width:18px}.oberih-toolbar>span{white-space:nowrap;color:var(--ob-muted);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--ob-border);background:var(--ob-surface);color:var(--ob-text);border-radius:7px;padding:9px 14px;font-size:14px;font-weight:550}button:hover{filter:brightness(.97)}button:disabled{opacity:.5;cursor:default}.primary{justify-content:center;align-items:center;gap:9px;display:inline-flex;color:#fff!important;background:#245e54!important;border:1px solid #245e54!important}.primary svg{width:18px}.ghost{border-color:var(--ob-border);background:0 0}.danger{color:#b93742}.oberih-empty{border:1px solid var(--ob-border);background:var(--ob-surface);text-align:center;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;min-height:380px;padding:36px;display:flex}.oberih-empty>svg{width:36px;height:36px;color:var(--ob-muted);stroke-width:1.4px;margin-bottom:18px}.oberih-empty h2{margin:0 0 9px;font-size:21px;font-weight:600}.oberih-empty p{color:var(--ob-muted);max-width:480px;margin:0;line-height:1.6}.table-wrap{background:var(--ob-surface);border:1px solid var(--ob-border);border-radius:10px;overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;background:var(--ob-bg);color:var(--ob-muted);white-space:nowrap;padding:14px 16px;font-size:13px;font-weight:600}td{border-top:1px solid var(--ob-border);vertical-align:top;white-space:pre-wrap;min-width:120px;max-width:280px;padding:14px 16px}td:first-child{min-width:200px}.record-name{text-align:left;color:var(--ob-accent);background:0 0;border:0;padding:0;font-size:14px}.local-badge{color:var(--ob-muted);margin-top:8px;font-size:12px;display:block}.oberih-pagination{color:var(--ob-muted);justify-content:flex-end;align-items:center;gap:16px;margin-top:20px;font-size:14px;display:flex}.oberih-settings{background:var(--ob-surface);border:1px solid var(--ob-border);border-radius:12px;max-width:850px;margin-bottom:20px;padding:26px}.oberih-settings h2{margin:0 0 15px;font-size:20px}.oberih-settings p{color:var(--ob-muted);line-height:1.7}.button-row{flex-wrap:wrap;gap:10px;display:flex}.notice{background:var(--ob-bg);border-radius:8px;padding:15px}.modal-bg{z-index:100;background:#06141bb3;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:var(--ob-surface);color:var(--ob-text);border:1px solid var(--ob-border);box-sizing:border-box;border-radius:14px;width:min(850px,100%);max-height:90dvh;padding:28px;overflow:auto}.modal-title{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.modal-title h2{margin:0;font-size:22px}.modal-title>button{padding:0 8px;font-size:25px}.form-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.form-grid label{flex-direction:column;gap:7px;font-size:14px;font-weight:550;display:flex}.form-grid input,.form-grid select,.form-grid textarea{box-sizing:border-box;border:1px solid var(--ob-border);background:var(--ob-bg);width:100%;color:var(--ob-text);border-radius:7px;min-height:42px;padding:10px;font-size:16px}.form-grid textarea{resize:vertical;min-height:85px}.form-grid .wide,.form-grid .form-actions{grid-column:1/-1}.form-grid .checkbox-field,.checkbox-field{flex-direction:row;align-items:center;gap:9px;padding:8px 0;display:flex}.checkbox-field input{width:17px;min-height:17px}.form-actions{border-top:1px solid var(--ob-border);justify-content:flex-end;gap:12px;padding-top:20px;display:flex}.shpk-fill button{margin:5px}.sync-list article,.history-entry{border-top:1px solid var(--ob-border);padding:18px 0}.sync-list article span{color:var(--ob-muted);padding:8px 0;display:block}.sync-list pre{white-space:pre-wrap;word-break:break-word}.history-entry dl{grid-template-columns:1fr 2fr;gap:8px;display:grid}.history-entry dt{color:var(--ob-muted)}#toast{color:#fff;z-index:200;background:#142a31;border-radius:9px;max-width:80vw;padding:15px 22px;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 8px 35px #0003}.auth-shell{background:var(--ob-surface);border:1px solid var(--ob-border);border-radius:16px;max-width:540px;margin:10dvh auto;padding:35px}.brand{color:var(--ob-text);font-size:25px;text-decoration:none}.brand-mark{color:#b9dbca;background:#142a31;border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;margin-right:10px;display:inline-flex}.subheading{margin:0 0 18px;font-size:19px}.loading{color:var(--ob-muted);padding:30px}@media (width<=1000px){.oberih-sidebar{width:225px;padding:22px 12px}.oberih-main{width:calc(100% - 225px);margin-left:225px;padding:28px 20px}.oberih-sidebar nav a{font-size:13px}.oberih-toolbar{flex-wrap:wrap}}@media (width<=700px){#app{display:block}.oberih-sidebar{width:100%;padding:16px;position:static}.oberih-brand{padding:0 0 15px;font-size:22px}.oberih-sidebar nav{padding-bottom:10px;display:flex;overflow-x:auto}.oberih-sidebar nav a{white-space:nowrap;flex:none;padding:10px}.oberih-sidebar nav a svg{display:none}.oberih-sidebar-bottom{flex-wrap:wrap;align-items:center;gap:6px;padding:8px 0 0;display:flex}.oberih-sidebar-bottom>button,.oberih-sidebar-bottom>a{width:auto;padding:7px;font-size:12px}.oberih-user{margin-left:auto;padding:5px}.oberih-main{width:100%;margin:0;padding:24px 16px}.oberih-header{align-items:flex-start;margin-bottom:22px}.oberih-header h1{font-size:26px}.oberih-eyebrow{font-size:10px}.form-grid{grid-template-columns:1fr}.modal{padding:20px}.oberih-empty{min-height:300px;padding:22px}.oberih-pagination{justify-content:center;gap:8px}.oberih-pagination button{padding:8px}.oberih-toolbar form{max-width:none}}#app>.oberih-sidebar{padding-top:30px}.signal-qr{background:#fff;border-radius:10px;width:240px;height:240px;padding:12px}@media (width<=700px){#app>.oberih-sidebar{height:auto;padding:16px}#app>.oberih-sidebar>nav{flex-wrap:nowrap;overflow:auto hidden}}@media (width>=701px){#app>.oberih-sidebar{padding-top:22px;padding-bottom:18px;overflow-y:auto}#app>.oberih-sidebar .oberih-brand{padding-bottom:18px}#app>.oberih-sidebar nav{flex-shrink:0;gap:3px}#app>.oberih-sidebar nav a{padding:10px 12px}#app>.oberih-sidebar .oberih-sidebar-bottom{margin-top:18px;padding-top:10px}}@media (width<=700px){#app>.oberih-sidebar{width:100%;height:auto;min-height:0;position:static;inset:auto;display:flex!important}#app>.oberih-sidebar nav a{width:auto}#app>.oberih-sidebar .oberih-brand,#app>.oberih-sidebar .oberih-sidebar-bottom{flex-shrink:0}}#app>.oberih-sidebar{transform:none}@media (width<=700px){#app>.oberih-sidebar{box-shadow:none}#app>.oberih-sidebar>nav{display:flex;overflow:auto hidden}#app>.oberih-sidebar>nav a{width:auto}}#actions{flex-wrap:wrap;gap:10px;display:flex}#actions>button{align-items:center;gap:8px;display:inline-flex}#actions svg{width:18px;height:18px}.oberih-registry table{table-layout:fixed;min-width:0}.oberih-registry th{white-space:normal;overflow-wrap:anywhere;position:relative}.oberih-registry td,.oberih-registry td:first-child{overflow-wrap:anywhere;white-space:pre-wrap;min-width:0;max-width:none}.column-heading{cursor:grab;padding-right:10px;display:block}.column-resize{cursor:col-resize;touch-action:none;background:0 0;border:0;border-radius:0;width:10px;padding:0;position:absolute;top:0;bottom:0;right:0}.column-resize:hover,.column-resize:focus{background:#245e5466;outline:2px solid #245e54}.column-setting{border-bottom:1px solid var(--ob-border);align-items:center;gap:10px;padding:10px 0;display:flex}.column-setting>label:first-of-type{flex:1;align-items:center;gap:10px;display:flex}.column-setting input[type=checkbox]{width:18px;margin:0}.column-width{color:var(--ob-muted);width:85px;font-size:12px}.column-width input{width:85px;min-height:36px;padding:5px}.column-drag{cursor:grab;font-size:24px}.column-setting button{padding:6px 10px}.oberih-sidebar [data-lucide],.shpk-shell [data-lucide]{width:20px;height:20px}.oberih-sidebar svg{height:19px}@media (width<=700px){.column-setting{flex-wrap:wrap;gap:6px}.column-setting>label:first-of-type{min-width:150px}.column-width,.column-width input{width:70px}.oberih-header{flex-wrap:wrap}}#app th{text-transform:none}.oberih-registry .column-heading{cursor:default;align-items:center;gap:7px;display:flex}.oberih-registry .column-drag{cursor:grab;width:16px;height:24px;color:var(--ob-muted);touch-action:none;background:0 0;border:0;flex:0 0 16px;justify-content:center;align-items:center;padding:0;display:inline-flex}.column-drag>span{background-image:radial-gradient(currentColor 1px,#0000 1px);background-size:4px 4px;width:8px;height:14px;display:block}.column-drag:active{cursor:grabbing}.registry-empty-row{text-align:center;height:180px;color:var(--ob-muted)}.column-visibility-menu{z-index:1100;background:var(--ob-surface);width:280px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);color:var(--ob-text);border:1px solid var(--ob-border);border-radius:10px;padding:6px;position:fixed;overflow:auto;box-shadow:0 12px 40px #06141b33}.column-visibility-menu header{border-bottom:1px solid var(--ob-border);padding:10px 12px;font-size:14px;font-weight:650}.column-visibility-menu label{cursor:pointer;border-radius:5px;align-items:center;gap:10px;padding:7px 12px;font-size:14px;display:flex}.column-visibility-menu label:hover{background:var(--ob-bg)}.column-visibility-menu input{width:16px;height:16px;accent-color:var(--ob-accent);margin:0}.name-autocomplete{position:relative}.shpk-name-options:empty{display:none}.shpk-name-options{z-index:5;background:var(--ob-surface);border:1px solid var(--ob-border);border-radius:8px;max-height:260px;position:absolute;top:100%;left:0;right:0;overflow:auto;box-shadow:0 8px 24px #06141b22}.shpk-name-options button{text-align:left;border:0;border-radius:0;width:100%;padding:12px;display:block}.shpk-name-options button:hover,.shpk-name-options button[aria-selected=true]{background:var(--ob-bg)}.shpk-name-options span{color:var(--ob-muted);margin-top:4px;font-weight:400;display:block}.shpk-lookup-status{color:var(--ob-muted);margin:0;font-size:13px}.relatives-form{border-top:1px solid var(--ob-border);padding-top:16px}.relatives-form h3{margin:0 0 14px}.relative-row{border:1px solid var(--ob-border);border-radius:9px;min-width:0;margin:0 0 14px;padding:16px}.relative-row legend{padding:0 7px;font-weight:600}.relative-row .remove-relative{place-self:center end}.relatives-empty{color:var(--ob-muted);font-size:14px}.directory-tabs{margin-bottom:24px}.directory-source{color:var(--ob-muted);font-size:14px;line-height:1.6}.directory-source a{color:var(--ob-accent)}.directory-search{flex-wrap:wrap;align-items:flex-end;gap:14px;margin:20px 0;display:flex}.directory-search label{flex:1;min-width:220px;font-size:14px}.directory-search button{min-height:42px}.relatives-help{color:var(--ob-muted);font-size:13px}.relatives-table{margin-bottom:14px}.relatives-table table{min-width:650px}.relatives-table td:last-child{white-space:nowrap}.relatives-table td:last-child button+button{margin-left:6px}.relative-contact{border-bottom:1px solid var(--ob-border);grid-template-columns:120px minmax(110px,1fr) minmax(170px,1.4fr) 36px;align-items:start;gap:10px;padding:12px 0;display:grid}.relative-contact .remove-relative-contact{min-height:40px;margin-top:26px;padding:6px;font-size:22px}.relative-contact .contact-format{min-height:18px;color:var(--ob-accent);font-size:12px;font-weight:400}.relative-contact .contact-format.invalid{color:#b93742}.relative-editor-host .form-grid label[hidden]{display:none}.relative-editor-host h4{margin:8px 0}.relative-editor-host .add-relative-contact{margin-top:12px}.relative-editor-host textarea{min-height:65px}@media (width<=700px){.relative-contact{grid-template-columns:1fr 1fr}.relative-contact>label:nth-child(3){grid-column:1}.relative-contact .remove-relative-contact{justify-self:end;width:40px}.relatives-table table{min-width:600px}}.oberih-registry tr[data-record-row]{cursor:pointer}.oberih-registry tr[data-record-row]:hover{background:var(--ob-bg)}.record-menu-trigger{float:right;color:var(--ob-muted);background:0 0;border:0;padding:0 8px;font-size:22px;line-height:1.3}.record-context-menu{width:220px}.record-context-menu button{text-align:left;background:0 0;border:0;border-radius:5px;width:100%;padding:10px 12px;font-weight:500;display:block}.record-context-menu button:hover,.record-context-menu button:focus{background:var(--ob-bg)}.record-card>h3{margin:0 0 24px;font-size:23px}.record-card-fields{grid-template-columns:1fr 1fr;gap:20px;margin:0 0 26px;display:grid}.record-card-fields>div{min-width:0}.record-card-fields dt{color:var(--ob-muted);margin-bottom:7px;font-size:13px}.record-card-fields dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.55}.record-card .relatives-form{margin-top:20px}@media (width<=700px){.record-card-fields{grid-template-columns:1fr;gap:16px}}.oberih-sidebar-head{flex-shrink:0;align-items:center;gap:6px;margin-bottom:18px;display:flex}#app>.oberih-sidebar .oberih-brand{flex:1;gap:10px;min-width:0;padding:0}.oberih-sidebar-head .oberih-brand small{font-size:12px}#sidebar-toggle{color:#c7d7d8;background:0 0;border:1px solid #355057;flex:none;justify-content:center;align-items:center;width:30px;height:32px;padding:5px;display:flex}#sidebar-toggle:hover{background:#29434a}#sidebar-toggle svg{width:18px;height:18px}.oberih-user #logout{align-items:center;gap:6px;display:flex}.oberih-user>span{overflow-wrap:anywhere;min-width:0}@media (width>=701px){#app>.oberih-sidebar{flex-direction:column;height:100dvh;display:flex;overflow:hidden}#app>.oberih-sidebar>nav{flex:auto;min-height:0;padding-bottom:14px;overflow:hidden auto}#app>.oberih-sidebar .oberih-sidebar-bottom{flex:none;margin-top:auto;padding-top:10px}#app.oberih-sidebar-collapsed>.oberih-sidebar{width:76px;padding-left:12px;padding-right:12px}#app.oberih-sidebar-collapsed>.oberih-main{width:calc(100% - 76px);margin-left:76px}#app.oberih-sidebar-collapsed .oberih-sidebar-head{flex-direction:column;gap:12px}#app.oberih-sidebar-collapsed .oberih-brand{flex:none}#app.oberih-sidebar-collapsed .oberih-brand img{width:38px;height:38px}#app.oberih-sidebar-collapsed .oberih-brand>span,#app.oberih-sidebar-collapsed .oberih-sidebar nav a>span,#app.oberih-sidebar-collapsed .oberih-sidebar-bottom>a>span,#app.oberih-sidebar-collapsed .oberih-sidebar-bottom>button>span,#app.oberih-sidebar-collapsed .oberih-user>span,#app.oberih-sidebar-collapsed #logout>span{display:none}#app.oberih-sidebar-collapsed>.oberih-sidebar nav a,#app.oberih-sidebar-collapsed .oberih-sidebar-bottom>a,#app.oberih-sidebar-collapsed .oberih-sidebar-bottom>button{justify-content:center;padding:12px 0}#app.oberih-sidebar-collapsed .oberih-user{justify-content:center;padding:15px 0 0}}@media (width<=700px){.oberih-sidebar-head{margin-bottom:12px}#app.oberih-sidebar-collapsed>.oberih-sidebar{width:100%;height:auto}#app.oberih-sidebar-collapsed>.oberih-main{width:100%;margin-left:0}#app.oberih-sidebar-collapsed>.oberih-sidebar>nav,#app.oberih-sidebar-collapsed>.oberih-sidebar>.oberih-sidebar-bottom{display:none}#app>.oberih-sidebar .oberih-sidebar-bottom{margin-top:0}.oberih-sidebar-head #sidebar-toggle{width:36px;height:36px}}@media (width>=701px){#app>.oberih-sidebar{width:260px}#app>.oberih-sidebar>nav{align-content:start}}@media (width>=701px) and (width<=1000px){#app>.oberih-sidebar{width:225px}}.record-name>b{font-weight:600;display:block}.record-name .record-identity-details{color:var(--ob-muted);white-space:normal;margin-top:6px;font-size:12px;font-weight:400;line-height:1.5;display:block}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@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}
