@import"https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;600;700;800&display=swap";.rdp-root{--rdp-accent-color: blue;--rdp-accent-background-color: #f0f0ff;--rdp-day-height: 44px;--rdp-day-width: 44px;--rdp-day_button-border-radius: 100%;--rdp-day_button-border: 2px solid transparent;--rdp-day_button-height: 42px;--rdp-day_button-width: 42px;--rdp-selected-border: 2px solid var(--rdp-accent-color);--rdp-disabled-opacity: .5;--rdp-outside-opacity: .75;--rdp-today-color: var(--rdp-accent-color);--rdp-dropdown-gap: .5rem;--rdp-months-gap: 2rem;--rdp-nav_button-disabled-opacity: .5;--rdp-nav_button-height: 2.25rem;--rdp-nav_button-width: 2.25rem;--rdp-nav-height: 2.75rem;--rdp-range_middle-background-color: var(--rdp-accent-background-color);--rdp-range_middle-color: inherit;--rdp-range_start-color: white;--rdp-range_start-background: linear-gradient( var(--rdp-gradient-direction), transparent 50%, var(--rdp-range_middle-background-color) 50% );--rdp-range_start-date-background-color: var(--rdp-accent-color);--rdp-range_end-background: linear-gradient( var(--rdp-gradient-direction), var(--rdp-range_middle-background-color) 50%, transparent 50% );--rdp-range_end-color: white;--rdp-range_end-date-background-color: var(--rdp-accent-color);--rdp-week_number-border-radius: 100%;--rdp-week_number-border: 2px solid transparent;--rdp-week_number-height: var(--rdp-day-height);--rdp-week_number-opacity: .75;--rdp-week_number-width: var(--rdp-day-width);--rdp-weeknumber-text-align: center;--rdp-weekday-opacity: .75;--rdp-weekday-padding: .5rem 0rem;--rdp-weekday-text-align: center;--rdp-gradient-direction: 90deg;--rdp-animation_duration: .3s;--rdp-animation_timing: cubic-bezier(.4, 0, .2, 1)}.rdp-root[dir=rtl]{--rdp-gradient-direction: -90deg}.rdp-root[data-broadcast-calendar=true]{--rdp-outside-opacity: unset}.rdp-root{position:relative;box-sizing:border-box}.rdp-root *{box-sizing:border-box}.rdp-day{width:var(--rdp-day-width);height:var(--rdp-day-height);text-align:center}.rdp-day_button{background:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex;width:var(--rdp-day_button-width);height:var(--rdp-day_button-height);border:var(--rdp-day_button-border);border-radius:var(--rdp-day_button-border-radius)}.rdp-day_button:disabled{cursor:revert}.rdp-caption_label{z-index:1;position:relative;display:inline-flex;align-items:center;white-space:nowrap;border:0}.rdp-dropdown:focus-visible~.rdp-caption_label{outline:5px auto Highlight;outline:5px auto -webkit-focus-ring-color}.rdp-button_next,.rdp-button_previous{border:none;background:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;-moz-appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;position:relative;appearance:none;width:var(--rdp-nav_button-width);height:var(--rdp-nav_button-height)}.rdp-button_next:disabled,.rdp-button_next[aria-disabled=true],.rdp-button_previous:disabled,.rdp-button_previous[aria-disabled=true]{cursor:revert;opacity:var(--rdp-nav_button-disabled-opacity)}.rdp-chevron{display:inline-block;fill:var(--rdp-accent-color)}.rdp-root[dir=rtl] .rdp-nav .rdp-chevron{transform:rotate(180deg);transform-origin:50%}.rdp-dropdowns{position:relative;display:inline-flex;align-items:center;gap:var(--rdp-dropdown-gap)}.rdp-dropdown{z-index:2;opacity:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;inset-block-start:0;inset-block-end:0;inset-inline-start:0;width:100%;margin:0;padding:0;cursor:inherit;border:none;line-height:inherit}.rdp-dropdown_root{position:relative;display:inline-flex;align-items:center}.rdp-dropdown_root[data-disabled=true] .rdp-chevron{opacity:var(--rdp-disabled-opacity)}.rdp-month_caption{display:flex;align-content:center;height:var(--rdp-nav-height);font-weight:700;font-size:large}.rdp-root[data-nav-layout=around] .rdp-month,.rdp-root[data-nav-layout=after] .rdp-month{position:relative}.rdp-root[data-nav-layout=around] .rdp-month_caption{justify-content:center;margin-inline-start:var(--rdp-nav_button-width);margin-inline-end:var(--rdp-nav_button-width);position:relative}.rdp-root[data-nav-layout=around] .rdp-button_previous{position:absolute;inset-inline-start:0;top:0;height:var(--rdp-nav-height);display:inline-flex}.rdp-root[data-nav-layout=around] .rdp-button_next{position:absolute;inset-inline-end:0;top:0;height:var(--rdp-nav-height);display:inline-flex;justify-content:center}.rdp-months{position:relative;display:flex;flex-wrap:wrap;gap:var(--rdp-months-gap);max-width:fit-content}.rdp-month_grid{border-collapse:collapse}.rdp-nav{position:absolute;inset-block-start:0;inset-inline-end:0;display:flex;align-items:center;height:var(--rdp-nav-height)}.rdp-weekday{opacity:var(--rdp-weekday-opacity);padding:var(--rdp-weekday-padding);font-weight:500;font-size:smaller;text-align:var(--rdp-weekday-text-align);text-transform:var(--rdp-weekday-text-transform)}.rdp-week_number{opacity:var(--rdp-week_number-opacity);font-weight:400;font-size:small;height:var(--rdp-week_number-height);width:var(--rdp-week_number-width);border:var(--rdp-week_number-border);border-radius:var(--rdp-week_number-border-radius);text-align:var(--rdp-weeknumber-text-align)}.rdp-today:not(.rdp-outside){color:var(--rdp-today-color)}.rdp-selected{font-weight:700;font-size:large}.rdp-selected .rdp-day_button{border:var(--rdp-selected-border)}.rdp-outside{opacity:var(--rdp-outside-opacity)}.rdp-disabled:not(.rdp-selected){opacity:var(--rdp-disabled-opacity)}.rdp-hidden{visibility:hidden;color:var(--rdp-range_start-color)}.rdp-range_start{background:var(--rdp-range_start-background)}.rdp-range_start .rdp-day_button{background-color:var(--rdp-range_start-date-background-color);color:var(--rdp-range_start-color)}.rdp-range_middle{background-color:var(--rdp-range_middle-background-color)}.rdp-range_middle .rdp-day_button{border:unset;border-radius:unset;color:var(--rdp-range_middle-color)}.rdp-range_end{background:var(--rdp-range_end-background);color:var(--rdp-range_end-color)}.rdp-range_end .rdp-day_button{color:var(--rdp-range_start-color);background-color:var(--rdp-range_end-date-background-color)}.rdp-range_start.rdp-range_end{background:revert}.rdp-focusable{cursor:pointer}@keyframes rdp-slide_in_left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes rdp-slide_in_right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes rdp-slide_out_left{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes rdp-slide_out_right{0%{transform:translate(0)}to{transform:translate(100%)}}.rdp-weeks_before_enter{animation:rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_before_exit{animation:rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_after_enter{animation:rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_after_exit{animation:rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_after_enter{animation:rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_before_exit{animation:rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_before_enter{animation:rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_after_exit{animation:rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}@keyframes rdp-fade_in{0%{opacity:0}to{opacity:1}}@keyframes rdp-fade_out{0%{opacity:1}to{opacity:0}}.rdp-caption_after_enter{animation:rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_after_exit{animation:rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_before_enter{animation:rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_before_exit{animation:rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}:root{--muni-blue: #004b81;--health-cyan: #009ee2;--health-cyan-dark: #0086d7;--ink: #0c2233;--muted: #69727d;--line: #d2d3d4;--surface: #ffffff;--soft: #f2f7fa;--success: #2f532e;font-family:Maven Pro,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;color:var(--ink);background:var(--soft)}.totem-mode-selector{min-height:100vh;display:grid;place-items:center;padding:clamp(18px,4vw,44px);background:linear-gradient(135deg,#004b81f0,#0086d7db),#004b81}.totem-mode-panel{width:min(760px,100%);display:grid;gap:22px;color:#fff}.totem-mode-heading h1{margin:8px 0 0;font-size:clamp(2rem,7vw,4.2rem);line-height:.95;letter-spacing:0}.totem-mode-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.totem-mode-card{min-height:180px;display:grid;align-content:space-between;gap:20px;padding:22px;border:1px solid rgba(255,255,255,.42);border-radius:8px;color:#fff;background:#ffffff24;text-align:left;box-shadow:0 18px 42px #001f3338}.totem-mode-card:hover,.totem-mode-card:focus-visible{background:#ffffff3d;outline:3px solid rgba(255,255,255,.3);outline-offset:2px}.totem-mode-card strong{display:block;font-size:clamp(1.25rem,4vw,1.75rem);line-height:1.05}.totem-mode-card small{display:block;margin-top:7px;color:#ffffffdb;font-size:.98rem;line-height:1.25}.totem-mode-qr-icon{width:28px;height:28px;display:grid;grid-template-columns:repeat(2,1fr);gap:4px}.totem-mode-qr-icon span{border:2px solid currentColor;border-radius:3px}@media(max-width:640px){.totem-mode-actions{grid-template-columns:1fr}.totem-mode-card{min-height:150px}}button,a{font:inherit;cursor:pointer;touch-action:manipulation}input,select,textarea{font:inherit;font-size:16px;touch-action:manipulation}.login-page{position:relative;min-height:100vh;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);grid-template-rows:minmax(0,1fr) auto;overflow:hidden;background:var(--muni-blue)}.login-background-video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;z-index:0}.login-video-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;background:linear-gradient(135deg,#004b81e0,#0086d7a8 48%,#009ee294),linear-gradient(90deg,#00283185,#00283138 55%,#0028316b)}.login-brand{position:relative;z-index:2;min-height:100vh;display:flex;flex-direction:column;justify-content:space-between;padding:38px clamp(24px,5vw,72px);color:#fff}.brand-bar,.sidebar-brand{display:flex;align-items:center;gap:16px}.brand-bar img{height:44px;width:auto}.sidebar-brand img{width:188px;height:auto;padding:8px 10px;background:#fff;border-radius:6px}.sidebar-brand span{color:var(--muni-blue);font-size:.72rem;font-weight:700;line-height:1.25}.login-copy{max-width:680px;padding-bottom:8vh}.login-copy-hidden{display:none}.eyebrow{display:inline-block;color:var(--health-cyan);font-size:.78rem;font-weight:800;letter-spacing:0;text-transform:uppercase}.login-copy .eyebrow{color:#d7f5ff}h1,h2,h3,p{margin-top:0}h1{margin-bottom:18px;font-size:clamp(2.2rem,5vw,4.4rem);line-height:1;letter-spacing:0}h2{margin-bottom:0;color:var(--muni-blue);font-size:1.7rem}h3{margin-bottom:0;color:var(--muni-blue)}.login-copy p{max-width:560px;color:#eaf8ff;font-size:1.16rem;line-height:1.55}.writing-title,.writing-subtitle{position:relative}.writing-title{min-height:2em}.writing-subtitle{min-height:4.7em}.writing-title:after{content:"";display:inline-block;width:.08em;height:.82em;margin-left:.08em;background:#fff;animation:caretBlink .9s steps(2,start) infinite}@keyframes caretBlink{50%{opacity:0}}.quick-actions a,.primary-button,.menu a,.menu button,.session-box button,.panel-header button,.row-actions button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:6px;text-decoration:none;transition:transform .16s ease,background .16s ease,color .16s ease}.quick-actions a{margin-top:16px;padding:13px 18px;color:var(--muni-blue);background:#fff;font-weight:800}.login-panel-link{display:none}.login-panel{position:relative;z-index:2;align-self:center;margin:28px clamp(18px,4vw,52px);padding:30px 32px;border-radius:10px;background:#fffffffa;box-shadow:0 20px 60px #0028312e}.app-footer{margin-top:auto;border-top:1px solid var(--line)}.app-footer .footer-bar{display:none}.landing-footer,.public-footer{grid-column:1 / -1;align-self:end;justify-self:stretch;width:100%;margin-top:0;border-top:0;background:#fffffff7}.landing-footer .footer-bar,.public-footer .footer-bar{display:block;width:100%;height:4px;object-fit:cover}.landing-footer .footer-content,.public-footer .footer-content{display:flex;flex-direction:row;align-items:center;gap:12px;padding:10px clamp(18px,4vw,36px)}.landing-footer .footer-cordoba-logo,.public-footer .footer-cordoba-logo{width:clamp(36px,4vw,48px);opacity:1;flex-shrink:0}.landing-footer .footer-divider,.public-footer .footer-divider{display:none}.landing-footer .footer-developed,.public-footer .footer-developed{margin-left:auto;display:flex;flex-direction:row;align-items:center;gap:7px;opacity:1;font-size:.72rem;color:var(--muted);white-space:nowrap}.landing-footer .footer-developed span,.public-footer .footer-developed span{display:inline;grid-column:unset;justify-self:unset;color:var(--muted)}.landing-footer .footer-developed img,.public-footer .footer-developed img{max-width:60px;max-height:14px;opacity:.85}.landing-footer .footer-developed strong,.public-footer .footer-developed strong{color:var(--muni-blue);font-size:.72rem}.footer-content{display:flex;align-items:center;gap:10px;padding:7px 0}.footer-cordoba-logo{width:28px;height:auto;opacity:.55;flex-shrink:0}.footer-divider{flex:1;height:1px;object-fit:cover;opacity:.25}.footer-developed{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:.68rem;font-weight:600;white-space:nowrap;opacity:.7}.footer-developed span{display:none}.footer-developed img{max-width:52px;max-height:11px;opacity:.6}.footer-developed strong{color:var(--muted);font-size:.68rem}.salud-logo{display:block;width:170px;margin:0 auto 24px}.login-panel form,.editor{display:grid;gap:14px}.login-panel label,.field{display:grid;gap:5px;color:var(--muted);font-size:.78rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase}.input-shell{display:flex;align-items:center;gap:9px;min-height:42px;padding:0 12px;border:1px solid #d4e4ec;border-radius:6px;color:var(--health-cyan-dark);background:#fff;transition:border-color .12s}.input-shell:focus-within{border-color:var(--health-cyan-dark);box-shadow:0 0 0 3px #00a0c81a}input{width:100%;min-height:46px;border:1px solid var(--line);border-radius:6px;padding:0 12px;color:var(--ink);background:#fff}.input-shell input{min-height:40px;border:0;padding:0;outline:0;font-size:.92rem;font-weight:400;color:var(--ink)}.input-shell input:disabled{color:#97a3ad;cursor:not-allowed}.quick-login-stage{display:grid;gap:16px}.quick-login-header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.quick-login-header strong{display:block;margin-top:2px;color:var(--ink);font-size:1.12rem}.quick-user-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}.quick-user-card{position:relative;display:grid;justify-items:center;gap:9px;min-height:126px;padding:16px 14px 12px;border:1px solid #d4e4ec;border-radius:8px;background:#fff;text-align:center;outline:0;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.quick-user-card:hover,.quick-user-card:focus-visible,.quick-user-card.selected{border-color:var(--health-cyan);box-shadow:0 10px 24px #004b811f;transform:translateY(-1px)}.quick-user-avatar{width:54px;height:54px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;background:var(--muni-blue);font-size:1.35rem;font-weight:800}.quick-user-card strong{max-width:100%;color:var(--ink);font-size:.92rem;line-height:1.2;overflow-wrap:anywhere}.quick-user-remove{position:absolute;top:6px;right:6px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;color:#657684;background:transparent}.quick-user-remove:hover{color:#9f1d1d;background:#f7e8e8}.quick-login-form,.full-login-form{display:grid;gap:14px}.login-alt-toggle{width:100%}.login-divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.login-divider:before,.login-divider:after{content:"";height:1px;flex:1;background:#d4e4ec}.login-divider.compact{margin:-2px 0}.primary-button{min-height:48px;padding:0 18px;color:#fff;background:var(--health-cyan);font-weight:800}.primary-button:hover,.quick-actions a:hover{transform:translateY(-1px)}.form-error,.form-note{margin:0;font-weight:700}.form-error{color:#870000}.form-note{color:var(--success)}.inline-alert{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #d34a4a;border-radius:6px;color:#870000;background:#fff1f1;font-weight:800}.inline-alert button{min-height:34px;border:0;border-radius:6px;padding:0 12px;color:#fff;background:#870000;font-weight:800}.app-shell{height:100vh;display:grid;grid-template-columns:220px 1fr;overflow:hidden;transition:grid-template-columns .18s ease}.app-shell.menu-collapsed{grid-template-columns:0 1fr}.app-shell.embed-mode,.app-shell.embed-mode.menu-collapsed{grid-template-columns:1fr}.embed-auth-state{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--soft)}.embed-auth-state section{width:min(360px,100%);display:grid;justify-items:center;gap:10px;padding:22px;border:1px solid var(--line);border-radius:8px;background:#fff;text-align:center}.embed-auth-state strong{color:var(--muni-blue)}.embed-auth-state p{margin:0;color:#b42318;font-weight:800}.sidebar{height:100vh;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:16px;padding:16px;overflow:hidden;background:#fff;border-right:1px solid var(--line);overscroll-behavior:contain;transition:transform .18s ease,opacity .18s ease}.app-shell.menu-collapsed .sidebar{opacity:0;pointer-events:none;transform:translate(-100%)}.sidebar-brand{align-items:center;flex-direction:column;text-align:center}.sidebar-brand img{width:120px}.sidebar-brand .sidebar-health-logo{width:140px;max-width:100%;max-height:60px;padding:0;object-fit:contain;background:transparent}.menu{display:grid;gap:3px;align-content:start;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-right:2px}.menu button,.menu a{width:100%;min-height:36px;justify-content:flex-start;padding:0 10px;text-align:left;line-height:1.2;font-size:.85rem;color:var(--muni-blue);background:transparent;font-weight:800}.menu button{height:auto}.menu button.active,.menu button:hover,.menu a:hover{background:#e7f6fc;color:var(--health-cyan-dark)}.session-box{display:grid;gap:5px;padding-top:12px;border-top:1px solid var(--line)}.session-box strong{font-size:.82rem;line-height:1.2}.session-box span{color:var(--muted);font-size:.75rem;font-weight:700}.session-box button{min-height:32px;font-size:.8rem;color:#fff;background:var(--muni-blue)}.session-unit{display:grid;gap:3px}.session-unit select{min-height:28px;font-size:.8rem;padding:2px 6px}.session-role-editor{display:grid}.session-role-button{width:fit-content;min-height:22px;display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;border:0;border-radius:6px;padding:0 6px;color:var(--muted);background:#e7f6fc;font-size:.75rem;font-weight:800}.session-role-editor select{min-height:28px;font-size:.8rem}.content{min-width:0;min-height:0;height:100vh;height:100dvh;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:0 26px 26px}.embed-mode .content{padding:0 14px 14px}.content>*{flex-shrink:0}.topbar{position:sticky;top:0;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 -26px 18px;padding:14px 26px 12px;border-bottom:1px solid rgba(210,224,232,.72);background:#f7fafcf5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.embed-mode .topbar{margin:0 -14px 12px;padding:10px 14px}.topbar-title{min-width:0;display:flex;align-items:flex-start;flex-direction:column;gap:6px}.topbar-back-button{min-height:28px;display:inline-flex;align-items:center;gap:6px;border:1px solid #cfe3eb;border-radius:999px;padding:0 9px;color:var(--muni-blue);background:#fff;font-size:.78rem;font-weight:800;white-space:nowrap}.topbar-back-button svg{width:15px;height:15px}.mobile-menu-backdrop{display:none}.mobile-menu-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cfe3eb;border-radius:8px;color:var(--muni-blue);background:#fff}.topbar-back-button:hover{background:#e7f6fc}.topbar-actions{display:flex;align-items:center;gap:16px}.topbar-emergency-actions{display:flex;align-items:center;gap:8px}.topbar-right-panel{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:5px}.topbar-logo-row{display:flex;align-items:center;justify-content:flex-end;gap:10px}.topbar-logo-row img{height:26px;width:auto;max-width:90px;object-fit:contain;display:block}.topbar-logo-row .topbar-health-logo{height:24px;max-width:80px;object-fit:contain;border-right:1px solid #dce7ec;padding-right:10px}.topbar-user-row{display:flex;align-items:center;justify-content:flex-end;gap:8px}.user-identity-menu-wrap{position:relative}.topbar-identity-btn{cursor:pointer;border:1px solid #dce7ec;background:#fff;padding:3px 9px 3px 5px;border-radius:999px;display:flex;align-items:center;gap:7px;box-shadow:0 1px 4px #00547f0a;transition:all .15s ease;-webkit-user-select:none;user-select:none}.topbar-identity-btn:hover,.topbar-identity-btn.active{background:#f8fafc;border-color:#0284c7;box-shadow:0 2px 10px #0284c71f}.topbar-identity-avatar-wrap{position:relative;width:24px;height:24px;border-radius:50%;background:#0284c7;color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.topbar-identity-avatar-wrap svg{width:14px;height:14px}.online-indicator-dot{position:absolute;bottom:-1px;right:-1px;width:7px;height:7px;background:#22c55e;border:1.5px solid #ffffff;border-radius:50%}.identity-chevron{color:#64748b;transition:transform .2s ease;flex-shrink:0;margin-left:2px}.identity-chevron.rotate{transform:rotate(180deg)}.topbar-identity-text{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:1px;text-align:left}.topbar-identity-text strong{font-size:.78rem;line-height:1.15;font-weight:700;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-identity-text span{color:#64748b;font-size:.68rem;font-weight:600;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-identity-dropdown-popover{position:absolute;top:calc(100% + 8px);right:0;width:300px;background:#fff;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 12px 32px #0f172a24;z-index:120;overflow:hidden;display:flex;flex-direction:column}.dropdown-user-header{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.dropdown-user-avatar{width:40px;height:40px;border-radius:50%;background:#e0f2fe;color:#0369a1;display:flex;align-items:center;justify-content:center;flex-shrink:0}.dropdown-user-details{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.dropdown-user-name{font-size:.88rem;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dropdown-user-role-badge{display:inline-flex;align-self:flex-start;font-size:.68rem;font-weight:700;color:#0369a1;background:#e0f2fe;padding:1px 7px;border-radius:999px}.dropdown-cuil-copy-btn{display:inline-flex;align-items:center;gap:4px;background:transparent;border:0;padding:2px 0;font-size:.72rem;color:#64748b;cursor:pointer}.dropdown-cuil-copy-btn:hover{color:#0284c7}.copied-badge{background:#dcfce7;color:#166534;font-size:.65rem;font-weight:700;padding:1px 5px;border-radius:4px}.dropdown-section{padding:10px 14px;border-bottom:1px solid #f1f5f9;display:flex;flex-direction:column;gap:8px}.dropdown-section-title{display:flex;align-items:center;gap:6px;font-size:.72rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em}.dropdown-units-pills{display:flex;flex-wrap:wrap;gap:6px}.unit-pill-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;font-size:.76rem;font-weight:600;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;cursor:pointer;transition:all .12s ease}.unit-pill-btn:hover{border-color:#94a3b8;background:#f8fafc}.unit-pill-btn.selected{background:#0284c7;border-color:#0284c7;color:#fff;font-weight:700}.dropdown-saved-accounts-list{display:flex;flex-direction:column;gap:5px;max-height:140px;overflow-y:auto}.saved-account-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;cursor:pointer;transition:all .12s ease}.saved-account-item:hover{background:#e0f2fe;border-color:#bae6fd}.saved-account-avatar{width:24px;height:24px;border-radius:50%;background:#cbd5e1;color:#475569;display:flex;align-items:center;justify-content:center;flex-shrink:0}.saved-account-info{min-width:0;flex:1;display:flex;flex-direction:column}.saved-account-info strong{font-size:.76rem;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.saved-account-info span{font-size:.68rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.saved-account-remove-btn{background:transparent;border:0;color:#94a3b8;padding:3px;cursor:pointer;border-radius:4px}.saved-account-remove-btn:hover{color:#ef4444;background:#fee2e2}.dropdown-no-other-accounts{font-size:.74rem;color:#94a3b8;font-style:italic;padding:2px 0}.dropdown-add-account-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:6px 10px;font-size:.76rem;font-weight:600;color:#0284c7;background:#f0f9ff;border:1px dashed #7dd3fc;border-radius:6px;cursor:pointer;transition:all .12s ease}.dropdown-add-account-btn:hover{background:#e0f2fe;border-color:#0284c7}.dropdown-quick-tools{display:flex;flex-direction:column;gap:4px}.quick-tool-btn{display:flex;align-items:center;gap:8px;width:100%;padding:6px 8px;border:0;background:transparent;font-size:.78rem;color:#334155;border-radius:6px;cursor:pointer;text-align:left;transition:background .12s ease}.quick-tool-btn:hover{background:#f1f5f9;color:#0f172a}.dropdown-footer{padding:8px 12px;background:#f8fafc;border-top:1px solid #e2e8f0}.dropdown-logout-btn{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:7px;font-size:.78rem;font-weight:700;color:#b91c1c;background:#fee2e2;border:1px solid #fecaca;border-radius:6px;cursor:pointer;transition:all .12s ease}.dropdown-logout-btn:hover{background:#fca5a5;color:#7f1d1d}.switch-pin-backdrop,.add-account-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;display:grid;place-items:center;padding:20px;background:#0f172aa6;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.switch-pin-modal,.add-account-modal{max-width:410px;width:100%;background:#fff;border:1px solid #cbd5e1;border-radius:14px;padding:24px;box-shadow:0 24px 56px #0f172a52;display:flex;flex-direction:column;gap:16px}.modal-header-with-close{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #f1f5f9;padding-bottom:12px}.modal-header-title{display:flex;align-items:center;gap:12px}.modal-header-icon{color:#0284c7;flex-shrink:0}.modal-header-title h3{margin:0;font-size:1.15rem;font-weight:700;color:#0f172a}.modal-header-title .eyebrow{font-size:.72rem;font-weight:700;color:#0369a1;text-transform:uppercase;letter-spacing:.04em}.modal-header-with-close .close-btn{width:32px;height:32px;border-radius:8px;border:1px solid #e2e8f0;background:#f8fafc;color:#64748b;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease;flex-shrink:0;padding:0}.modal-header-with-close .close-btn:hover{background:#fee2e2;border-color:#fecaca;color:#b91c1c}.switch-target-user-card{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:10px}.target-user-avatar{width:42px;height:42px;border-radius:50%;background:#0284c7;color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.target-user-info{display:flex;flex-direction:column;gap:2px;min-width:0}.target-user-info strong{font-size:.95rem;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.target-user-info span{font-size:.78rem;color:#0369a1;font-weight:600}.password-input-wrap{position:relative;display:flex;align-items:center;width:100%}.password-input-wrap input{width:100%;padding-right:44px!important;font-size:16px!important}#switch-pin-direct-input,#add-acc-pin{font-size:18px!important;font-weight:700;letter-spacing:.25em;text-align:center}.password-input-wrap .show-pass-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:#94a3b8;cursor:pointer;border-radius:6px;transition:all .15s ease;padding:0}.password-input-wrap .show-pass-btn:hover{color:#0284c7;background:#f0f9ff}.switch-pin-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.btn-switch-to-pass{background:transparent;border:0;font-size:.8rem;font-weight:600;color:#0284c7;cursor:pointer;text-decoration:underline;padding:4px 0}.btn-switch-to-pass:hover{color:#0369a1}.switch-submit-btn{padding:8px 18px;font-weight:700}.login-mode-tabs{display:flex;gap:8px;margin-bottom:8px;border-bottom:1px solid #e2e8f0;padding-bottom:8px}.tab-btn{display:flex;align-items:center;gap:6px;padding:6px 12px;font-size:.8rem;font-weight:600;color:#64748b;background:transparent;border:0;border-radius:6px;cursor:pointer;transition:all .12s ease}.tab-btn.active{color:#0284c7;background:#e0f2fe;font-weight:700}.work-grid{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:22px}.stacked-panels{display:grid;gap:16px;min-width:0}.editor,.table-panel,.summary-card,.summary-widget,.map-band{border:1px solid var(--line);border-radius:8px;background:var(--surface)}.editor{align-self:start;padding:22px}.section-title,.panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-title{justify-content:flex-start;color:var(--health-cyan-dark)}.table-panel{min-width:0;overflow:hidden}.panel-header{padding:18px 20px;border-bottom:1px solid var(--line)}.panel-actions{display:flex;gap:8px}.panel-actions button{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:6px;color:var(--muni-blue);background:#e7f6fc}.panel-header button,.row-actions button{width:36px;height:36px;color:var(--muni-blue);background:#e7f6fc}.panel-header .primary-button,.panel-header .secondary-button{width:auto;height:auto}button:disabled,.primary-button:disabled,.danger-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.58;filter:grayscale(1)}.panel-header button:disabled,.row-actions button:disabled{color:#8f9aa3;background:#edf1f3;box-shadow:inset 0 0 0 1px #d7dee3}.panel-header button:disabled:hover,.row-actions button:disabled:hover{color:#8f9aa3;background:#edf1f3;transform:none}.table-list{display:grid}.data-row{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;align-items:center;gap:16px;padding:14px 20px;border-bottom:1px solid #edf0f2}.data-row.unit-row{grid-template-columns:minmax(0,1fr) 86px 150px auto}.unit-logo-editor{display:grid;gap:8px;color:var(--muni-blue);font-size:.88rem;font-weight:800}.unit-logo-editor img{width:100%;max-width:220px;max-height:80px;object-fit:contain;border:1px solid var(--line);border-radius:6px;padding:8px;background:#fff}.unit-logo-editor small{color:var(--muted);font-weight:700}.unit-logo-editor input[type=file]{display:none}.unit-logo-editor .secondary-button{width:fit-content}.unit-logo-editor .disabled-upload{cursor:not-allowed;opacity:.55;filter:grayscale(1)}.unit-logo-thumb{width:76px;height:34px;object-fit:contain;justify-self:center}.data-row:last-child{border-bottom:0}.data-row div:first-child{display:grid;gap:4px;min-width:0}.data-row span,.data-row small{color:var(--muted)}.data-row strong,.data-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-actions{display:flex;gap:8px}.campania-top-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.campania-top-header .header-actions{display:flex;align-items:center;gap:10px}.back-top-btn{display:inline-flex;align-items:center;gap:8px}.campania-banner{display:flex;align-items:center;gap:10px;padding:12px 18px;border-radius:8px;font-size:.92rem;font-weight:600;margin-bottom:18px}.campania-banner.success-banner{color:#0d6832;background:#eafaf1;border:1px solid #c2eed5}.campania-banner.error-banner{color:#9c1c1c;background:#fdf2f2;border:1px solid #f8c8c8}.campania-filters-card{background:#fff;border:1px solid #dce6eb;border-radius:10px;padding:16px 20px;box-shadow:0 4px 14px #00547f0a;margin-bottom:22px;display:flex;flex-direction:column;gap:14px}.campania-filters-grid{display:grid;grid-template-columns:minmax(220px,2fr) minmax(140px,1.2fr) minmax(140px,1.2fr) minmax(120px,1fr);gap:14px;align-items:end}.campania-filters-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:4px;border-top:1px solid #f0f4f7}.input-with-icon{position:relative;display:flex;align-items:center}.input-with-icon .input-icon{position:absolute;left:12px;color:#7a94a2;pointer-events:none}.input-with-icon input{padding-left:38px;width:100%}.campania-results-wrapper{display:flex;flex-direction:column;gap:14px}.campania-results-header{display:flex;align-items:center;justify-content:space-between;padding:0 4px}.results-count-label{font-size:.92rem;color:#557282}.results-count-label strong{color:var(--muni-blue);font-size:1rem}.loading-badge{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;color:var(--health-cyan-dark);font-weight:600}.campania-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}.campania-card{background:#fff;border:1px solid #dce6eb;border-left:5px solid var(--health-cyan-dark);border-radius:10px;padding:16px 18px;display:flex;flex-direction:column;justify-content:space-between;gap:14px;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;box-shadow:0 2px 8px #00547f0a}.campania-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #00547f17;border-color:#bcd4e0}.campania-card.is-inactive{border-left-color:#9aaec4;opacity:.82}.campania-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.campania-badge-cluster{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.status-pill{display:inline-flex;align-items:center;gap:5px;font-size:.76rem;font-weight:700;padding:3px 9px;border-radius:999px;text-transform:uppercase;letter-spacing:.03em}.status-pill.status-active{color:#0f6c38;background:#e8faef;border:1px solid #b7ecd0}.status-pill.status-inactive{color:#637785;background:#edf2f5;border:1px solid #d3dfe6}.date-pill{display:inline-flex;align-items:center;gap:5px;font-size:.78rem;color:#4b6777;background:#f3f7fa;padding:3px 8px;border-radius:6px;border:1px solid #e1ebf0}.campania-edit-btn{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;font-size:.82rem;font-weight:600;color:var(--muni-blue);background:#eef6fa;border:1px solid #cde2ed;border-radius:6px;cursor:pointer;transition:all .15s ease}.campania-edit-btn:hover{background:#d8edfa;color:var(--health-cyan-dark)}.campania-card-main{display:flex;flex-direction:column;gap:6px}.campania-code-row{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.campania-code-tag{display:inline-block;font-size:.8rem;font-weight:800;color:var(--muni-blue);background:#e6f4fb;padding:2px 7px;border-radius:4px}.campania-card-title{margin:0;font-size:1.05rem;color:#123040;font-weight:700}.campania-card-desc{margin:0;font-size:.88rem;color:#557282;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.campania-card-desc.is-empty{font-style:italic;color:#92aab8}.campania-card-footer{display:flex;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px dashed #e5ecf0}.campania-stats-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.campania-stat-chip{display:inline-flex;align-items:center;gap:5px;font-size:.8rem;color:#4b6777;background:#f8fafb;padding:3px 8px;border-radius:6px}.campania-arrow-icon{color:#8fa7b5;transition:transform .15s ease}.campania-card:hover .campania-arrow-icon{transform:translate(3px);color:var(--health-cyan-dark)}.campania-empty-state{background:#fff;border:1px dashed #cedde5;border-radius:12px;padding:48px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}.campania-empty-state .empty-icon{color:#9fb7c4}.campania-empty-state h4{margin:0;font-size:1.15rem;color:#244658}.campania-empty-state p{margin:0;font-size:.92rem;color:#688595;max-width:420px}.campania-editor-layout,.campania-editor-form{display:flex;flex-direction:column;gap:20px}.campania-editor-card{background:#fff;border:1px solid #dce6eb;border-radius:10px;padding:22px 24px;box-shadow:0 4px 14px #00547f0a}.editor-card-header{margin-bottom:18px}.card-hint{font-size:.84rem;color:#6b8595}.campania-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.campania-form-grid .full-width{grid-column:1 / -1}.campania-toggle-box{background:#f8fafc;border:1px solid #e1ebf0;border-radius:8px;padding:10px 14px}.checkbox-toggle-label{display:flex;align-items:center;gap:10px;cursor:pointer}.checkbox-toggle-label input[type=checkbox]{width:18px;height:18px;cursor:pointer}.toggle-text{font-size:.9rem;color:#3b5666}.toggle-text strong.text-success{color:#0f6c38}.toggle-text strong.text-muted{color:#7b919e}.puestos-header-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #edf2f5}.puestos-title-cluster{display:flex;align-items:center;gap:10px}.puestos-title-cluster h3{margin:0;font-size:1.08rem;color:#123040}.puestos-counter{font-size:.78rem;font-weight:700;color:var(--muni-blue);background:#e7f5fb;padding:2px 8px;border-radius:999px}.add-puesto-btn{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;padding:6px 12px}.puestos-editor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}.puesto-box{background:#fafcfe;border:1px solid #dce7ec;border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:14px;box-shadow:0 2px 6px #00547f08;transition:border-color .15s ease}.puesto-box:hover,.remito-box:hover{border-color:#bcd5e2}.puesto-box.is-draft{opacity:.75;border-style:dashed}.puesto-box-top,.remito-box-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px dashed #e2ebf0}.puesto-tag-badge,.remito-tag-badge{display:inline-flex;align-items:center;gap:8px;color:var(--muni-blue);font-size:.88rem}.puesto-tag-badge strong,.remito-tag-badge strong{font-weight:700;color:#123040}.puesto-name-preview{font-size:.8rem;font-weight:700;color:var(--muni-blue);background:#e8f4f9;padding:2px 8px;border-radius:4px;border:1px solid #d0e7f2}.puesto-form-body{display:flex;flex-direction:column;gap:12px}.item-remove-btn{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;font-size:.78rem;font-weight:600;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;cursor:pointer;transition:all .15s ease}.item-remove-btn:hover:not(:disabled){background:#fee2e2;border-color:#fca5a5;color:#991b1b;transform:translateY(-1px)}.item-remove-btn:disabled{opacity:.4;cursor:not-allowed;background:#f8fafc;border-color:#e2e8f0;color:#94a3b8;transform:none}.remitos-card{margin-top:4px}.remitos-header-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid #edf2f5;flex-wrap:wrap}.remitos-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.remito-filter-input{min-width:min(320px,100%)}.remitos-title-cluster{display:flex;align-items:center;gap:12px}.remitos-title-cluster h3{margin:0;font-size:1.08rem;color:#123040}.remitos-counter{font-size:.78rem;font-weight:700;color:#0b7285;background:#e3fafc;padding:2px 9px;border-radius:999px;border:1px solid #c5f6fa}.add-remito-btn{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;padding:6px 12px}.remitos-empty-state{background:#fbfdfe;border:1px dashed #cedfe7;border-radius:8px;padding:32px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}.empty-remito-icon{color:#8fa7b5}.remitos-empty-state h4{margin:0;font-size:1.05rem;color:#244658}.remitos-empty-state p{margin:0;font-size:.88rem;color:#688595;max-width:440px}.remitos-editor-list{display:flex;flex-direction:column;gap:16px}.remito-box{background:#fafcfe;border:1px solid #dce7ec;border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:14px;box-shadow:0 2px 6px #00547f08;transition:border-color .15s ease}.remito-num-preview{font-size:.8rem;font-weight:700;color:#0b7285;background:#e3fafc;padding:2px 8px;border-radius:4px;border:1px solid #c5f6fa}.remito-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.remito-form-grid .field:last-child{grid-column:span 2}.remito-items-panel{min-width:0}.remito-items-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;flex-wrap:wrap}.remito-items-count{color:#64748b;font-size:.8rem;font-weight:700;margin-right:auto}.remito-items-table-wrap{width:100%;overflow-x:auto;border:1px solid #dce7ec;border-radius:8px;background:#fff}.remito-items-table,.stock-ledger-table{width:100%;min-width:860px;border-collapse:collapse}.remito-items-table th,.remito-items-table td,.stock-ledger-table th,.stock-ledger-table td{padding:8px;border-bottom:1px solid #edf2f5;vertical-align:middle;text-align:left;font-size:.82rem}.remito-items-table th,.stock-ledger-table th{background:#f8fafc;color:#475569;font-size:.74rem;text-transform:uppercase;letter-spacing:0}.remito-cell-control{width:100%;min-height:36px;border:1px solid #cbd5e1;border-radius:6px;padding:6px 8px;background:#fff;color:#0f172a;font-size:.82rem}.remito-qty-input{max-width:92px}.remito-table-remove{min-width:34px;width:34px;height:34px;padding:0;justify-content:center}.remito-empty-filter-cell{color:#64748b;text-align:center!important;padding:18px!important}.stock-ledger-card{margin-top:12px}.stock-ledger-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-bottom:12px}.stock-ledger-total-card{display:grid;gap:3px;padding:10px;border:1px solid #dce7ec;border-radius:8px;background:#f8fafc}.stock-ledger-total-card strong{color:#0f172a;font-size:.86rem}.stock-ledger-total-card span{color:#64748b;font-size:.78rem}.stock-ledger-total-card b{color:#0f766e;font-size:.88rem}.stock-ledger-positive{color:#15803d;font-weight:800}.stock-ledger-negative{color:#b91c1c;font-weight:800}.compact-empty{padding:18px}@media(max-width:980px){.remito-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.remito-form-grid .field:last-child{grid-column:1 / -1}}@media(max-width:640px){.remito-form-grid{grid-template-columns:1fr}}.campania-editor-actions-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;background:#fff;border:1px solid #dce6eb;border-radius:10px;box-shadow:0 4px 14px #00547f0a}.campania-editor-actions-bar .right-group{display:flex;align-items:center;gap:12px;margin-left:auto}.vacunas-carnet-main-view{display:flex;flex-direction:column;gap:20px}.vacunas-top-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.vacunas-view-top-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;min-width:0}.vacunas-title-cluster{display:flex;align-items:flex-start;gap:12px;min-width:0;flex:1 1 280px}.vacunas-icon-badge{width:42px;height:42px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:#0369a1;background:#e0f2fe;border:1px solid #bae6fd}.vacunas-title-cluster h3{margin:0;color:#0f172a;font-size:1.18rem;line-height:1.22;letter-spacing:0}.vacunas-title-cluster p{margin:4px 0 0;color:#64748b;font-size:.86rem;line-height:1.35}.connected-camp-pill{display:inline-flex;align-items:center;gap:9px;min-width:0;max-width:min(100%,340px);padding:8px 10px;border-radius:10px;border:1px solid #bbf7d0;background:#f0fdf4;color:#14532d;box-shadow:0 2px 8px #22c55e14}.connected-camp-pill .live-dot{width:9px;height:9px;border-radius:999px;flex:0 0 auto;background:#22c55e;box-shadow:0 0 0 3px #22c55e29}.pill-texts{display:grid;gap:1px;min-width:0;flex:1 1 auto}.pill-texts strong,.pill-texts small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pill-texts strong{font-size:.84rem;line-height:1.15}.pill-texts small{color:#166534;font-size:.74rem;line-height:1.2}.pill-disconnect-btn{width:28px;height:28px;padding:0;border:1px solid #86efac;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:#166534;background:#fff;cursor:pointer}.pill-disconnect-btn:hover{color:#b91c1c;border-color:#fecaca;background:#fef2f2}.vacunas-title-group h3{margin:4px 0 0;font-size:1.3rem;font-weight:700;color:#0f172a}.vacunas-campaign-accessory-btn{min-height:38px;gap:7px;white-space:nowrap}.vacunas-campaign-accessory-btn small{min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;color:#fff;background:#0284c7;font-size:.72rem;font-weight:900}.vacunas-campaign-conn-box{display:flex;align-items:center}.campania-connection-pill{display:inline-flex;align-items:center;gap:10px;padding:6px 14px;border-radius:9999px;font-size:.84rem;border:1px solid #e2e8f0;background:#fff;box-shadow:0 1px 3px #0000000a}.campania-connection-pill.connected{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.campania-connection-pill .live-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 2px #22c55e33}.conn-btn-disconnect{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:6px;font-size:.76rem;font-weight:600;background:#fff;border:1px solid #cbd5e1;color:#64748b;cursor:pointer;transition:all .15s ease}.conn-btn-disconnect:hover{background:#fee2e2;border-color:#fecaca;color:#b91c1c}.conn-selector-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.conn-label{font-size:.8rem;font-weight:600;color:#64748b}.conn-select{padding:4px 10px;font-size:.82rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;outline:none}.compact-conn-btn{padding:4px 10px;font-size:.8rem}.vacunas-search-hero-card{background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:24px;box-shadow:0 4px 16px #00547f0d;display:flex;flex-direction:column;gap:20px}.search-hero-header{display:flex;align-items:center;gap:16px}.search-hero-icon-wrap{width:48px;height:48px;border-radius:12px;background:#e0f2fe;color:#0369a1;display:flex;align-items:center;justify-content:center;flex-shrink:0}.search-hero-header h4{margin:0;font-size:1.2rem;font-weight:700;color:#0f172a}.search-hero-header p{margin:3px 0 0;font-size:.88rem;color:#64748b}.vacunas-search-form{display:flex;flex-direction:column;gap:16px}.search-inputs-grid{display:grid;grid-template-columns:1fr 1fr auto;gap:16px;align-items:flex-end}.search-inputs-grid-duo{grid-template-columns:1fr 1fr}@media(max-width:860px){.search-inputs-grid,.search-inputs-grid-duo{grid-template-columns:1fr}}.input-large-text{font-size:1.15rem;font-weight:700;letter-spacing:.03em;padding:10px 14px}.field-checkbox-align{display:flex;align-items:center;height:42px}.nomivac-check{font-weight:600}.search-actions-bar{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}.search-submit-btn{padding:12px 28px;font-size:1rem;font-weight:700;display:inline-flex;align-items:center;gap:10px}.search-reset-btn,.patient-draft-reset-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;white-space:nowrap}.vacunas-search-loading-box{background:#fff;border:1px dashed #cbd5e1;border-radius:12px;padding:40px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}.vacunas-search-loading-box h5{margin:0;font-size:1.1rem;color:#0f172a}.vacunas-search-loading-box p{margin:0;font-size:.88rem;color:#64748b}.vacunas-results-container{display:flex;flex-direction:column;gap:20px}.patient-identity-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;display:flex;align-items:center;gap:18px;box-shadow:0 2px 8px #00547f0a}.patient-avatar-box{width:56px;height:56px;border-radius:50%;background:#f1f5f9;color:#475569;display:flex;align-items:center;justify-content:center;flex-shrink:0}.patient-info-content{flex:1;display:flex;flex-direction:column;gap:8px}.patient-top-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.patient-top-line h3{margin:0;font-size:1.25rem;font-weight:700;color:#0f172a}.badge-verified{font-size:.76rem;font-weight:700;color:#166534;background:#dcfce7;border:1px solid #bbf7d0;padding:3px 8px;border-radius:9999px}.badge-carnet-found{font-size:.76rem;font-weight:700;color:#0369a1;background:#e0f2fe;padding:3px 8px;border-radius:9999px}.patient-meta-grid{display:flex;align-items:center;gap:24px;flex-wrap:wrap;font-size:.9rem;color:#334155}.meta-label{color:#64748b;margin-right:4px}.patient-vaccine-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}@media(max-width:900px){.patient-vaccine-summary-grid{grid-template-columns:repeat(2,1fr)}}.pending-vaccines-card{background:#fffbeb;border:1px solid #fef3c7;border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:12px}.pending-header{display:flex;align-items:center;gap:8px}.pending-header h5{margin:0;font-size:.95rem;font-weight:700;color:#92400e}.pending-list{display:flex;flex-direction:column;gap:8px}.pending-vaccine-item{background:#fff;border:1px solid #fde68a;border-radius:8px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.carnet-history-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:16px;box-shadow:0 2px 8px #00000008}.carnet-history-header{display:flex;align-items:center;gap:10px;color:#0f172a}.carnet-history-header h4{margin:0;font-size:1.1rem;font-weight:700}.carnet-table{width:100%;border-collapse:collapse;text-align:left}.carnet-table th{background:#f8fafc;padding:10px 14px;font-size:.8rem;font-weight:700;color:#475569;text-transform:uppercase;border-bottom:1px solid #e2e8f0}.carnet-table td{padding:12px 14px;font-size:.88rem;border-bottom:1px solid #f1f5f9;color:#334155;vertical-align:middle}.lote-code{font-size:.78rem;background:#f1f5f9;color:#0f172a;padding:2px 6px;border-radius:4px;border:1px solid #e2e8f0}.badge-sigipsa{font-size:.72rem;font-weight:700;color:#0369a1;background:#e0f2fe;padding:2px 6px;border-radius:4px}.badge-nomivac{font-size:.72rem;font-weight:700;color:#6b21a8;background:#faf5ff;padding:2px 6px;border-radius:4px;border:1px solid #f3e8ff}.vacunas-nacional-container{display:flex;flex-direction:column;gap:20px}.vacunas-tab-nav{display:flex;align-items:center;gap:8px;background:#f1f5f9;padding:6px;border-radius:10px;border:1px solid #e2e8f0;overflow-x:auto}.vacunas-tab-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 18px;font-size:.92rem;font-weight:600;color:#475569;background:transparent;border:none;border-radius:8px;cursor:pointer;white-space:nowrap;transition:all .15s ease}.vacunas-tab-btn:hover{color:#0f172a;background:#fff9}.vacunas-tab-btn.active{color:#00547f;background:#fff;box-shadow:0 2px 6px #0000000f}.vacunas-tab-content{display:flex;flex-direction:column;gap:18px}.vacunas-filter-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.cal-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}.cal-item-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:12px;box-shadow:0 2px 6px #00547f08;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.cal-item-card:hover{transform:translateY(-2px);box-shadow:0 6px 14px #00547f14;border-color:#cbd5e1}.cal-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:10px;border-bottom:1px solid #f1f5f9}.cal-etapa-badge{font-size:.76rem;font-weight:700;color:#0369a1;background:#e0f2fe;padding:3px 8px;border-radius:6px;border:1px solid #bae6fd}.cal-age-pill{font-size:.78rem;font-weight:700;color:#1e293b;background:#f8fafc;padding:3px 8px;border-radius:6px;border:1px solid #e2e8f0}.cal-card-body{display:flex;flex-direction:column;gap:10px}.cal-item-title{margin:0;font-size:1.02rem;font-weight:700;color:#0f172a;line-height:1.35}.cal-item-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cal-dosis-tag{font-size:.8rem;font-weight:700;color:#0f766e;background:#ccfbf1;padding:2px 8px;border-radius:4px;border:1px solid #99f6e4}.cal-obligatoria-tag{font-size:.75rem;font-weight:600;color:#15803d;background:#dcfce7;padding:2px 6px;border-radius:4px}.cal-item-obs{margin:0;font-size:.84rem;color:#64748b;line-height:1.4}.cal-antigen-group,.cal-homol-group{display:flex;flex-direction:column;gap:6px;margin-top:4px}.cal-section-label{font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.cal-chips-row{display:flex;flex-wrap:wrap;gap:6px}.cal-antigen-chip{font-size:.74rem;font-weight:600;color:#1e40af;background:#eff6ff;border:1px solid #dbeafe;padding:2px 7px;border-radius:4px}.cal-homol-chips{display:flex;flex-wrap:wrap;gap:6px}.cal-homol-chip{font-size:.74rem;padding:2px 8px;border-radius:4px;border:1px solid transparent}.chip-directa{background:#f0fdf4;color:#166534;border-color:#bbf7d0}.chip-combinada{background:#eff6ff;color:#1e40af;border-color:#bfdbfe}.chip-historica{background:#fffbeb;color:#92400e;border-color:#fde68a}.chip-condicional{background:#faf5ff;color:#6b21a8;border-color:#e9d5ff}.homol-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px #00000008}.homol-table{width:100%;border-collapse:collapse;text-align:left}.homol-table th{background:#f8fafc;padding:12px 16px;font-size:.82rem;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid #e2e8f0}.homol-table td{padding:12px 16px;font-size:.88rem;border-bottom:1px solid #f1f5f9;color:#334155;vertical-align:middle}.homol-table tbody tr:hover{background:#f8fafc}.idua-code-badge{font-size:.78rem;font-weight:700;color:#0369a1;background:#f0f9ff;border:1px solid #e0f2fe;padding:2px 6px;border-radius:4px}.nac-target-cell{display:flex;flex-direction:column;gap:3px}.nac-code-pill{font-size:.72rem;font-weight:700;color:#475569;background:#f1f5f9;padding:1px 6px;border-radius:3px;display:inline-block;width:fit-content}.homol-type-pill{display:inline-block;font-size:.74rem;font-weight:700;padding:3px 8px;border-radius:6px;text-transform:uppercase}.pill-directa{background:#dcfce7;color:#15803d}.pill-combinada{background:#dbeafe;color:#1d4ed8}.pill-historica{background:#fef3c7;color:#b45309}.pill-condicional{background:#f3e8ff;color:#7e22ce}.evaluador-container{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}@media(max-width:980px){.evaluador-container{grid-template-columns:1fr}}.eval-input-panel,.eval-result-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:16px;box-shadow:0 2px 8px #00547f0a}.eval-panel-title{margin:0;font-size:1.05rem;font-weight:700;color:#0f172a;display:flex;align-items:center;gap:8px;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.eval-form{display:flex;flex-direction:column;gap:16px}.eval-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.eval-checkbox-group{display:flex;flex-direction:column;gap:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.checkbox-item{display:flex;align-items:center;gap:8px;font-size:.88rem;color:#334155;cursor:pointer}.eval-applied-section{display:flex;flex-direction:column;gap:12px}.eval-applied-header{display:flex;align-items:center;justify-content:space-between}.eval-applied-header h5{margin:0;font-size:.92rem;font-weight:700;color:#334155}.eval-vaccines-list{display:flex;flex-direction:column;gap:10px;max-height:280px;overflow-y:auto;padding-right:4px}.eval-vaccine-row{display:flex;align-items:center;gap:10px;background:#fafcfe;border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px}.eval-field-vacuna{flex:2}.eval-field-dosis{flex:1}.eval-del-btn{margin-top:14px}.eval-actions{display:flex;justify-content:flex-end}.eval-submit-btn{width:100%;justify-content:center;padding:12px;font-size:1rem}.eval-kpi-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.eval-kpi-card{padding:14px;border-radius:10px;display:flex;flex-direction:column;gap:4px}.kpi-cumplidas{background:#f0fdf4;border:1px solid #bbf7d0}.kpi-cumplidas .kpi-num{color:#166534}.kpi-pendientes{background:#fef2f2;border:1px solid #fecaca}.kpi-pendientes .kpi-num{color:#b91c1c}.kpi-proximas{background:#eff6ff;border:1px solid #bfdbfe}.kpi-proximas .kpi-num{color:#1e40af}.kpi-antigenos{background:#faf5ff;border:1px solid #e9d5ff}.kpi-antigenos .kpi-num{color:#7e22ce}.kpi-num{font-size:1.6rem;font-weight:800;line-height:1}.kpi-label{font-size:.78rem;font-weight:600;color:#64748b}.eval-antigens-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px;font-size:.85rem}.eval-antigen-pill{font-size:.75rem;font-weight:700;color:#047857;background:#d1fae5;border:1px solid #a7f3d0;padding:2px 8px;border-radius:4px}.eval-breakdown-list{display:flex;flex-direction:column;gap:10px;max-height:380px;overflow-y:auto;padding-right:4px}.breakdown-title{margin:0;font-size:.9rem;font-weight:700;color:#334155}.eval-item-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-radius:8px;border:1px solid #e2e8f0}.status-cumplida{background:#f0fdf4;border-color:#bbf7d0}.status-pendiente_atrasada{background:#fef2f2;border-color:#fecaca}.status-pendiente{background:#fffbeb;border-color:#fde68a}.status-proxima{background:#f8fafc;border-color:#e2e8f0}.status-no_aplica_o_especial{background:#f8fafc;border-color:#e2e8f0;opacity:.7}.eval-item-left{display:flex;align-items:center;gap:12px}.eval-item-note{margin:2px 0 0;font-size:.76rem;color:#64748b}.eval-badge-status{font-size:.76rem;font-weight:700;padding:3px 8px;border-radius:6px}.badge-cumplida{background:#dcfce7;color:#15803d}.badge-atrasada{background:#fee2e2;color:#b91c1c}.badge-pendiente{background:#fef3c7;color:#b45309}.badge-proxima{background:#e0f2fe;color:#0369a1}.badge-no-aplica{background:#f1f5f9;color:#64748b}.summary-layout{display:grid;gap:22px}.summary-toolbar{display:flex;justify-content:flex-end}.summary-dashboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,300px);align-items:start;gap:18px}.summary-main-column,.summary-side-column{display:grid;gap:14px;min-width:0}.summary-side-column{align-self:start}.summary-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.summary-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-card{display:grid;gap:10px;padding:20px}.summary-updated{color:var(--muted);font-size:.9rem;font-weight:700}.config-card-button{border:1px solid var(--line);text-align:left;cursor:pointer}.config-card-button:hover{border-color:var(--health-cyan-dark);background:#e7f6fc}.config-child{display:grid;gap:18px}.back-button,.secondary-button{width:fit-content;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:6px;padding:0 14px;color:var(--muni-blue);background:#e7f6fc;font-weight:800}.unit-selection-page{min-height:100vh;display:grid;grid-template-rows:1fr auto;align-items:center;justify-items:center;padding:24px 16px 0;background:linear-gradient(135deg,var(--muni-blue) 0%,#006ca6 42%,var(--health-cyan) 100%)}.unit-selection-panel{width:min(860px,100%);display:grid;gap:18px;padding:clamp(20px,4vw,36px);border-radius:10px;background:#fff;box-shadow:0 24px 60px #001c3038;margin:24px 0}.unit-selection-panel h1{color:var(--muni-blue);font-size:clamp(1.4rem,4vw,2.6rem)}.unit-selection-panel p{color:var(--muted);font-size:clamp(.85rem,2vw,1rem)}.unit-selection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.unit-selection-grid button{display:grid;gap:6px;justify-items:center;border:1px solid var(--line);border-radius:8px;padding:14px 12px;color:var(--ink);background:#fff;text-align:center;transition:border-color .12s,background .12s}.unit-selection-grid button:hover{border-color:var(--health-cyan-dark);background:#e7f6fc}.unit-selection-logo{width:min(100%,160px);height:54px;object-fit:contain;object-position:center;margin-bottom:2px}.unit-selection-grid span{color:var(--muni-blue);font-weight:800;font-size:.82rem}.unit-selection-grid strong{line-height:1.25;font-size:.78rem;color:var(--muted)}.summary-card svg{color:var(--health-cyan-dark)}.summary-card span{color:var(--muted);font-weight:700}.summary-card strong{word-break:break-word}.summary-widget{display:grid;gap:12px;padding:16px}.news-widget{gap:10px;padding:14px}.widget-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.widget-header h3{margin-top:2px;color:var(--muni-blue);font-size:1rem}.widget-link{text-decoration:none}.compact-news-list,.compact-notification-list{display:grid;gap:9px}.compact-news-item{display:grid;grid-template-columns:54px minmax(0,1fr);gap:8px;align-items:center;padding:7px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fff;text-decoration:none}.compact-news-item:hover{border-color:var(--health-cyan-dark);background:#f7fcfe}.compact-news-item img{width:54px;height:42px;border-radius:6px;object-fit:cover}.compact-news-item span{display:grid;gap:3px;min-width:0}.compact-news-item time{color:var(--health-cyan-dark);font-size:.68rem;font-weight:900}.compact-news-item strong{color:var(--muni-blue);font-size:.76rem;line-height:1.2;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.widget-more{width:fit-content;color:var(--health-cyan-dark);font-size:.85rem;font-weight:900;text-decoration:none}.compact-notification-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}.notifications-widget-large{padding:18px}.large-notification-list{gap:10px}.large-notification-list .compact-notification-item{padding:12px}.compact-notification-item strong{color:var(--muni-blue);font-size:.95rem}.compact-notification-item p{margin-top:4px;color:var(--muted);font-size:.82rem;line-height:1.35}.compact-notification-item button{width:fit-content;border:0;border-radius:6px;padding:7px 10px;color:var(--muni-blue);background:#e7f6fc;font-weight:800}.map-band{display:grid;grid-template-columns:minmax(260px,420px) 1fr;align-items:center;overflow:hidden}.map-band img{width:100%;height:260px;object-fit:cover}.map-band div{padding:28px}.news-band{display:grid;overflow:hidden}.news-panel{display:grid;gap:18px;padding:22px}.news-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.news-header h3{margin-top:3px;color:var(--muni-blue)}.news-header p{margin-top:4px;color:var(--muted)}.news-list{display:grid;gap:10px}.news-item{display:grid;grid-template-columns:116px 110px minmax(180px,.9fr) minmax(260px,1.4fr);align-items:center;gap:14px;min-height:82px;padding:10px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fff;text-decoration:none;transition:border-color .12s,background .12s}.news-item:hover{border-color:var(--health-cyan-dark);background:#f7fcfe}.news-item img{width:116px;height:62px;border-radius:6px;object-fit:cover}.news-item time{color:var(--health-cyan-dark);font-size:.82rem;font-weight:900}.news-item strong{color:var(--muni-blue);line-height:1.2}.news-item span{color:var(--muted);line-height:1.35}.llamador-view{display:grid;gap:16px}.brazaletes-view{display:grid;gap:10px}.brazaletes-layout{display:grid;grid-template-columns:minmax(360px,1fr);gap:12px;align-items:start}.brazaletes-form{gap:8px;padding:12px}.bracelet-preview-panel{order:0}.bracelet-panel-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}.bracelet-patient-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid #d8eef5;border-radius:8px;background:#f3fbfd}.bracelet-patient-toolbar p{flex:1 1 260px;margin:0;color:var(--muted);font-size:.82rem;font-weight:750;line-height:1.25}.bracelet-loading-note{width:fit-content;display:inline-flex;align-items:center;gap:8px;margin:0;padding:8px 11px;border:1px solid #bfdbfe;border-radius:8px;color:#1d4ed8;background:#eff6ff;font-size:.86rem;font-weight:900}.bracelet-hcd-note{margin:0;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;color:var(--muted);background:#fff;font-size:.8rem;font-weight:760;line-height:1.25}.bracelet-panel-status .form-note,.bracelet-panel-status .form-error,.bracelet-panel-status .bracelet-hcd-note,.bracelet-panel-status .bracelet-episode-warning{margin:0}.bracelet-episode-warning{width:fit-content;display:inline-flex;align-items:center;gap:7px;margin:0;padding:8px 10px;border:1px solid #fde68a;border-radius:8px;color:#854d0e;background:#fffbeb;font-size:.84rem;font-weight:850}.bracelet-form-section{display:grid;gap:8px;padding:10px;border:1px solid #e1edf3;border-radius:8px;background:#f8fcfe}.bracelet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px}.bracelet-grid select,.bracelet-grid input,.bracelet-grid output{width:100%;min-height:38px;border:1px solid var(--line);border-radius:6px;padding:0 10px;color:var(--ink);background:#fff}.bracelet-grid .field{gap:4px}.bracelet-grid .field span{font-size:.76rem}.bracelet-grid input[readonly],.bracelet-grid select:disabled{color:#334155;background:#f1f5f9;cursor:default}.bracelet-calculated{display:flex;align-items:center;color:var(--muni-blue);font-weight:900}.bracelet-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.bracelet-preview-panel .panel-header{align-items:flex-end}.bracelet-preview-panel .panel-header p{margin:4px 0 0;color:var(--muted);font-size:.76rem}.bracelet-preview-card{display:grid;gap:12px;margin:14px;padding:20px;border:1px solid var(--line);border-left:5px solid var(--health-cyan);border-radius:8px;background:#fff}.bracelet-preview-card span{color:var(--health-cyan-dark);font-size:.78rem;font-weight:900;text-transform:uppercase}.bracelet-preview-logo{width:min(150px,70%);max-height:42px;object-fit:contain;object-position:left center}.bracelet-episode-badge{width:fit-content;padding:4px 8px;border-radius:999px;color:#854d0e;background:#fef3c7;font-size:.72rem;font-style:normal;font-weight:900;text-transform:uppercase}.bracelet-preview-card strong{color:var(--muni-blue);font-size:1.48rem;line-height:1.15}.bracelet-preview-card small{color:var(--muted);font-weight:700}.bracelet-preview-identifiers,.bracelet-preview-facts{display:flex;gap:8px;flex-wrap:wrap}.bracelet-preview-identifiers b,.bracelet-preview-facts b{padding:4px 8px;border-radius:6px;color:var(--muni-blue);background:#e7f6fc;font-size:.78rem}.bracelet-preview-facts span{display:grid;gap:3px}.bracelet-preview-facts small{padding-left:2px;font-size:.68rem;font-weight:850;text-transform:uppercase}.bracelet-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding-top:4px}.bracelet-zpl-preview{max-height:420px;margin:0 18px 18px;overflow:auto;border-radius:8px;padding:14px;color:#c8f7c5;background:#13252f;font-size:.72rem;line-height:1.45;white-space:pre-wrap;word-break:break-word}.bracelet-print-toast{position:fixed;right:24px;bottom:24px;z-index:220;width:min(360px,calc(100vw - 32px));pointer-events:none}.bracelet-print-toast>div{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border:1px solid #bde5c9;border-radius:8px;color:#115c2f;background:#effaf2;box-shadow:0 16px 45px #0028312e}.bracelet-print-toast.error>div{border-color:#facaca;color:#870000;background:#fff1f1}.bracelet-print-toast strong{display:block;margin-bottom:3px}.bracelet-print-toast p{margin:0;color:inherit;font-size:.86rem;font-weight:700}.bracelet-patient-modal{width:min(760px,calc(100vw - 24px));display:grid;gap:0;overflow:hidden}.bracelet-patient-modal-header{align-items:flex-start;padding:18px 20px 14px;border-bottom:1px solid var(--line);background:#f8fcfe}.bracelet-patient-modal-header .section-title{align-items:flex-start;margin:0}.bracelet-patient-modal-header h2{margin:0;color:var(--muni-blue);font-size:1.16rem;line-height:1.2}.bracelet-patient-modal-header p{margin:4px 0 0;font-size:.86rem;line-height:1.3}.bracelet-patient-modal .modal-body{display:grid;gap:14px;padding:18px 20px}.bracelet-patient-modal .modal-actions{padding:14px 20px 18px;border-top:1px solid var(--line);background:#fff}.bracelet-patient-modal .modal-actions button{min-height:40px;display:inline-flex;align-items:center;gap:8px}.bracelet-search-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bracelet-recommended-field>span{display:flex;align-items:center;gap:7px}.bracelet-recommended-field>span b{padding:2px 7px;border-radius:999px;color:#075985;background:#e0f2fe;font-size:.66rem;font-weight:900;text-transform:uppercase}.bracelet-patient-results{display:grid;gap:10px;max-height:min(420px,46vh);overflow:auto}.bracelet-patient-results button{display:grid;gap:4px;width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fff;text-align:left;cursor:pointer}.bracelet-patient-results button:hover{border-color:var(--health-cyan-dark);background:#f4fbfd}.bracelet-patient-results strong{color:var(--muni-blue);font-size:.98rem}.bracelet-patient-results span,.bracelet-patient-results small{color:var(--muted);font-weight:750}.bracelet-patient-results small i{display:inline-flex;margin-left:8px;padding:2px 6px;border-radius:999px;color:#854d0e;background:#fef3c7;font-size:.7rem;font-style:normal;font-weight:900}.llamador-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.llamador-summary article{display:grid;gap:6px;padding:18px;border:1px solid var(--line);border-radius:8px;background:#fff}.llamador-summary span,.llamador-panel p,.llamador-table small{color:var(--muted)}.llamador-summary strong{overflow:hidden;color:var(--muni-blue);font-size:1.28rem;text-overflow:ellipsis;white-space:nowrap}.llamador-panel{overflow:visible}.llamador-panel .panel-header{align-items:flex-end}.llamador-panel h3,.llamador-panel p{margin-bottom:0}.llamador-panel .panel-header p{font-size:.76rem;line-height:1.2}.llamador-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.llamador-actions .primary-button{display:inline-flex;align-items:center;gap:8px;min-height:42px}.consultorio-typeahead{position:relative}.consultorio-typeahead .secondary-button{min-height:42px;display:inline-flex;align-items:center;gap:8px}.llamador-call-mode{min-height:42px;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.llamador-call-mode span{padding:0 7px;color:var(--muted-text);font-size:.74rem;font-weight:700}.llamador-call-mode button{min-height:32px;display:inline-flex;align-items:center;gap:5px;padding:0 9px;border:0;border-radius:6px;background:transparent;color:var(--muted-text);font-weight:800;cursor:pointer}.llamador-call-mode button.active{background:var(--muni-blue);color:#fff}.consultorio-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:20;width:min(340px,calc(100vw - 32px));max-height:min(65vh,560px);overflow-y:auto;display:grid;padding:6px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 16px 42px #00283129}.consultorio-menu button{width:100%;display:flex;align-items:center;justify-content:flex-start;min-height:38px;padding:0 10px;border:0;border-radius:6px;color:var(--ink);background:transparent;font-size:.86rem;font-weight:400;line-height:1.15;text-align:left;white-space:nowrap;cursor:pointer}.consultorio-menu button:hover,.consultorio-menu button.selected{color:var(--muni-blue);background:#e7f6fc}.consultorio-option{display:flex;align-items:center;min-width:0}.consultorio-option>button:first-child{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere;padding-top:8px;padding-bottom:8px}.consultorio-menu .consultorio-remove,.consultorio-add button{flex:0 0 38px;width:38px;justify-content:center;padding:0}.consultorio-add{position:sticky;top:0;z-index:1;display:flex;gap:6px;padding:8px 4px 4px;border-bottom:1px solid var(--line);background:#fff}.consultorio-add input{flex:1;min-width:0;padding:8px;border:1px solid var(--line);border-radius:4px}.consultorio-error{margin:6px;color:#a32626;font-size:.8rem}.llamador-search{min-width:min(320px,100%);min-height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:6px;background:#fff}.llamador-search input{width:240px;min-width:0;border:0;outline:0}.llamador-filter{min-height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:#fff}.llamador-filter span{color:var(--muted);font-size:.76rem;font-weight:900;text-transform:uppercase}.llamador-filter select{min-width:112px;max-width:190px;border:0;outline:0;color:var(--muni-blue);background:transparent;font-weight:800}.llamador-error{margin:16px 20px 0}.doctor-call-toast{position:fixed;top:82px;right:22px;z-index:80;width:min(380px,calc(100vw - 32px));display:grid;gap:6px;padding:15px 16px;border:1px solid #c9e9f4;border-radius:8px;background:#fff;color:var(--ink);box-shadow:0 18px 48px #0015202e}.doctor-call-toast>div{display:flex;align-items:center;gap:7px;color:var(--health-cyan-dark);font-size:.78rem;font-weight:900;text-transform:uppercase}.doctor-call-toast.success>div{color:#1f7a3a}.doctor-call-toast.error>div{color:#b42318}.doctor-call-toast strong{overflow-wrap:anywhere;font-size:1.05rem;line-height:1.15}.doctor-call-toast p,.doctor-call-toast small{margin:0;color:var(--muted);font-weight:800}.doctor-call-toast small{line-height:1.25}.llamador-table-wrap{overflow-x:auto}.llamador-table{width:100%;min-width:920px;border-collapse:collapse}.llamador-table th,.llamador-table td{padding:12px 14px;border-bottom:1px solid #edf0f2;text-align:left;vertical-align:top}.llamador-table th{color:var(--muni-blue);background:#f7fafc;font-size:.78rem;font-weight:900;text-transform:uppercase}.llamador-table th button{display:inline-flex;align-items:center;min-height:0;padding:0;border:0;color:inherit;background:transparent;font:inherit;text-transform:inherit;cursor:pointer}.llamador-table th button:hover{color:var(--health-cyan-dark)}.llamador-table td{line-height:1.3}.llamador-table td:nth-child(2){min-width:220px}.llamador-table td:nth-child(4){min-width:76px;white-space:nowrap}.llamador-table td:nth-child(8){min-width:260px}.llamador-table strong,.llamador-table small{display:block}.patient-name-with-info{position:relative;display:inline-flex;align-items:flex-start;gap:6px;max-width:100%}.patient-ticket-code{flex:0 0 auto;min-width:44px;padding:3px 7px;border-radius:6px;background:#111827;color:#fff;font-size:.7rem;font-weight:900;line-height:1.25;text-align:center;letter-spacing:0}.patient-name-with-info>strong{overflow-wrap:anywhere}.patient-display-name{position:relative;display:inline-grid;min-width:0;max-width:100%;gap:2px}.patient-display-name>strong{overflow-wrap:anywhere}.patient-display-name.has-identity-details{cursor:help}.patient-display-name.has-identity-details>strong{width:fit-content;max-width:100%;overflow:hidden;border-bottom:1px dotted #8b95a3;text-overflow:ellipsis}.patient-identity-popover{position:absolute;left:0;top:calc(100% + 7px);z-index:9;width:min(280px,72vw);display:none;gap:5px;padding:10px 12px;border:1px solid #cfd6df;border-radius:8px;background:#fff;box-shadow:0 14px 36px #00152029}.patient-display-name:hover .patient-identity-popover,.patient-display-name:focus .patient-identity-popover,.patient-display-name:focus-within .patient-identity-popover{display:grid}.patient-identity-popover small{color:#465568;white-space:normal}.reingreso-info{position:relative;display:inline-flex;flex:0 0 auto}.reingreso-info>button{width:26px;height:26px;display:inline-grid;place-items:center;padding:0;border:1px solid #c8ced8;border-radius:999px;color:#536174;background:#f7f8fa;box-shadow:0 0 #53617438;cursor:pointer;animation:reingreso-heartbeat 1.9s ease-in-out infinite;transition:background .15s ease,border-color .15s ease,transform .15s ease}.reingreso-info>button:hover,.reingreso-info>button:focus-visible{border-color:#8792a2;background:#eef1f5;transform:scale(1.05)}.reingreso-info>button svg{display:block}.reingreso-popover{position:absolute;left:0;top:calc(100% + 7px);z-index:8;width:min(260px,72vw);display:none;gap:4px;padding:10px 12px;border:1px solid #cfd6df;border-radius:8px;background:#fff;box-shadow:0 14px 36px #00152029}.reingreso-info:hover .reingreso-popover,.reingreso-info:focus-within .reingreso-popover{display:grid}.reingreso-popover strong{color:#364153;font-size:.84rem}.reingreso-popover small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes reingreso-heartbeat{0%,to{transform:scale(1);box-shadow:0 0 #53617433}18%{transform:scale(1.12);box-shadow:0 0 0 5px #53617412}32%{transform:scale(1);box-shadow:0 0 #53617400}46%{transform:scale(1.08)}62%{transform:scale(1)}}.llamador-patient-row{cursor:pointer}.llamador-patient-row:hover,.llamador-patient-row.expanded{background:#f7fcfe}.llamador-expanded-row td{padding:0 14px 14px;background:#f7fcfe}.llamador-expanded-row td>div{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:14px;padding:14px 16px;border:1px solid #c9e9f4;border-radius:8px;background:#fff}.llamador-expanded-row p{margin:0}.llamador-expanded-row .primary-button{min-height:40px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.last-call-card{display:inline-flex;align-items:center;gap:10px;padding:9px 10px;border:1px dashed #c6ccd6;border-radius:8px;background:#f8fafc;color:#536174}.last-call-card.ready{border-color:#8fb7c8;background:#eef8fb;color:#245569}.last-call-card.used{border-style:solid;border-color:#7cae94;background:#eef8f1;color:#286244}.last-call-card>div{display:grid;gap:1px}.last-call-card span{font-size:.72rem;font-weight:900;text-transform:uppercase}.last-call-card strong{font-size:.82rem}.last-call-card .secondary-button{min-height:34px;padding:7px 10px;white-space:nowrap}.patient-call-history-card{display:grid;gap:3px;min-width:min(300px,100%);max-width:360px;max-height:92px;overflow-y:auto;overscroll-behavior:contain;padding:7px 7px 7px 9px;border:1px solid #dde3ea;border-radius:7px;background:#fbfcfd;scrollbar-width:thin;scrollbar-color:#c8d1dc transparent}.patient-call-history-card::-webkit-scrollbar{width:6px}.patient-call-history-card::-webkit-scrollbar-track{background:transparent}.patient-call-history-card::-webkit-scrollbar-thumb{border:2px solid #fbfcfd;border-radius:999px;background:#c8d1dc}.patient-call-history-card::-webkit-scrollbar-thumb:hover{background:#9facbc}.patient-call-history-card>span{color:#536174;font-size:.66rem;font-weight:900;text-transform:uppercase}.patient-call-history-card small{color:#465568;font-size:.72rem;line-height:1.2}.patient-call-history-card b{font-weight:900}.patient-call-history-card em{display:inline-block;margin-left:5px;color:#728094;font-size:.64rem;font-style:normal;font-weight:800}.row-pointer{position:absolute;top:-8px;left:54px;width:14px;height:14px;border-left:1px solid #c9e9f4;border-top:1px solid #c9e9f4;background:#fff;transform:rotate(45deg)}.triage-pill{min-width:34px;min-height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;color:var(--muni-blue);background:#e7f6fc;font-weight:900}.triage-1,.triage-2{color:#fff;background:#b42318}.triage-3{color:#653b00;background:#ffd166}.triage-4,.triage-5{color:#1f5f2d;background:#dff3df}.tv-pair-page,.tv-board{min-height:100vh;background:#061923;color:#fff}.tv-pair-page{position:relative;display:grid;place-items:center;padding:32px;overflow:hidden}.tv-pair-panel{position:relative;z-index:2;width:min(760px,100%);display:grid;justify-items:center;gap:20px;padding:46px;border:1px solid rgba(255,255,255,.22);border-radius:8px;background:#0324377a;color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 28px 80px #00152047;text-align:center}.tv-pair-brand{position:fixed;top:30px;left:32px;z-index:2;display:flex;align-items:center;gap:14px}.tv-pair-brand img{max-width:132px;max-height:46px;object-fit:contain}.tv-pair-brand img:first-child{max-width:156px}.tv-pair-panel p{max-width:560px;margin:0;color:#e7f6fc;font-size:clamp(1.15rem,1.5vw,1.55rem);font-weight:800}.tv-pair-panel h1,.tv-board h1{margin-bottom:0}.tv-pair-code{color:#fff;font-size:clamp(1.85rem,3vw,3rem);line-height:1;letter-spacing:.08em}.tv-pair-technical{position:fixed;right:32px;bottom:32px;z-index:2;display:grid;grid-template-columns:auto minmax(128px,auto);align-items:center;gap:12px;padding:12px;border:1px solid rgba(255,255,255,.18);border-radius:8px;color:#fff;background:#03243780;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.tv-pair-technical .tv-pair-qr{width:clamp(104px,8vw,150px);height:clamp(104px,8vw,150px);padding:6px;border:1px solid rgba(255,255,255,.3);border-radius:8px;background:#fff}.tv-pair-technical div{display:grid;gap:8px;justify-items:start}.tv-pair-technical span{color:#cbe8f3;font-size:.76rem;font-weight:900;text-transform:uppercase}.tv-pair-technical .secondary-button{min-width:174px;min-height:34px;padding:7px 10px;color:#fff;background:#ffffff1a}.tv-board{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:24px;padding:32px;overflow:hidden;background:#061923}.tv-background-video,.tv-video-overlay{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.tv-background-video{object-fit:cover;z-index:0}.tv-video-overlay{z-index:1;background:linear-gradient(135deg,#004b81e6,#0086d7a3 48%,#009ee28a),linear-gradient(90deg,#001520ad,#00152059 58%,#001520b3)}.tv-board header{position:relative;z-index:2;display:grid;grid-template-columns:minmax(280px,430px) minmax(260px,1fr) minmax(118px,auto);align-items:center;gap:18px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.18)}.tv-board header>div{min-width:0}.tv-corner-controls{position:fixed;top:12px;right:12px;z-index:8;display:grid;gap:8px;opacity:0;transition:opacity .16s ease}.tv-corner-controls:hover,.tv-corner-controls:focus-within{opacity:1}.tv-corner-controls button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;gap:0;border:1px solid rgba(255,255,255,.32);border-radius:8px;color:#fff;background:#032437b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.tv-corner-controls button svg:last-child{margin-left:-7px;margin-top:-11px}.tv-connection-dot{position:fixed;right:18px;bottom:18px;z-index:6;width:10px;height:10px;border:1px solid rgba(255,255,255,.72);border-radius:999px;box-shadow:0 0 0 4px #00152029}.tv-connection-dot.online{background:#39d98a}.tv-connection-dot.offline{background:#e5484d}.tv-connection-dot.reconnecting{background:#ffd166;animation:tvDotBlink 1s ease-in-out infinite}.tv-recovery-chip{min-width:176px;padding:9px 12px;border:1px solid rgba(255,209,102,.42);border-radius:8px;color:#fff7d6;background:#032437ad;font-size:.92rem;font-weight:900;text-align:center}.tv-audio-warning{padding:8px 10px;border:1px solid rgba(255,209,102,.38);border-radius:8px;color:#fff0bf;background:#462b005c;font-size:.82rem;font-weight:850;text-align:center}.tv-linked-technical{position:fixed;right:32px;bottom:32px;z-index:4;display:grid;justify-items:stretch;gap:8px;max-width:min(360px,calc(100vw - 64px));padding:12px;border:1px solid rgba(255,255,255,.18);border-radius:8px;color:#fff;background:#03243780;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.totem-page{position:relative;width:100vw;height:100vh;height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr);gap:clamp(10px,2.4dvh,28px);padding:clamp(12px,3dvh,34px);overflow:hidden;overscroll-behavior:none;user-select:none;-webkit-user-select:none;color:#fff;background:linear-gradient(135deg,#004b81f0,#0086d7c7 46%,#009ee2ad),linear-gradient(90deg,#001520cc,#0015206b 58%,#001520bf),#061923}.totem-wallpaper{position:fixed;top:0;right:0;bottom:0;left:0;z-index:8;display:grid;place-items:center;overflow:hidden;color:#fff;background:#061923;touch-action:none}.totem-wallpaper-video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.totem-wallpaper-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#001520db,#0015206b 54%,#001520b3),linear-gradient(180deg,#004b812e,#009ee23d)}.totem-wallpaper-branding{position:absolute;top:clamp(18px,3.2dvh,34px);left:clamp(24px,5vw,70px);right:clamp(24px,5vw,70px);z-index:1;display:grid;grid-template-columns:minmax(190px,auto) minmax(0,1fr);align-items:center;gap:clamp(12px,2.4vw,26px)}.totem-wallpaper-logos{display:flex;align-items:center;gap:clamp(10px,1.6vw,18px);min-width:0}.totem-wallpaper-logos img{max-width:min(220px,24vw);max-height:clamp(34px,6.4dvh,58px);object-fit:contain;filter:drop-shadow(0 10px 24px rgba(0,21,32,.3))}.totem-wallpaper-logos img+img{max-width:min(176px,18vw);filter:drop-shadow(0 0 1px rgba(255,255,255,.55)) drop-shadow(0 0 10px rgba(255,255,255,.18)) drop-shadow(0 10px 24px rgba(0,21,32,.28))}.totem-wallpaper-unit{min-width:0;display:grid;justify-items:end;gap:4px;text-align:right;text-shadow:0 8px 24px rgba(0,21,32,.44)}.totem-wallpaper-unit strong,.totem-wallpaper-unit span{max-width:100%;overflow-wrap:anywhere}.totem-wallpaper-unit strong{color:#fff;font-size:clamp(.95rem,min(2vw,3.2dvh),1.7rem);line-height:1.05;font-weight:950}.totem-wallpaper-unit span{color:#bfefff;font-size:clamp(.78rem,min(1.3vw,2.2dvh),1.05rem);font-weight:900;letter-spacing:0;text-transform:uppercase}.totem-wallpaper-copy{position:relative;z-index:1;width:min(820px,calc(100vw - 64px));display:grid;gap:clamp(10px,2dvh,20px);justify-items:start;text-align:left}.totem-wallpaper-copy span{padding:7px 11px;border:1px solid rgba(255,255,255,.22);border-radius:999px;color:#d9f8ff;background:#ffffff1a;font-size:clamp(.78rem,1.25vw,1rem);font-weight:950;text-transform:uppercase}.totem-wallpaper-copy h2{min-height:1.05em;margin:0;color:#fff;font-size:clamp(2.3rem,min(8vw,12dvh),6.8rem);line-height:.98;font-weight:950}.totem-wallpaper-copy p{min-height:2.2em;max-width:760px;margin:0;color:#e7f6fc;font-size:clamp(1.05rem,min(2.4vw,4dvh),2.1rem);line-height:1.14;font-weight:850}.totem-wallpaper-copy strong{margin-top:clamp(12px,2.5dvh,26px);padding:clamp(11px,2dvh,18px) clamp(18px,3vw,30px);border-radius:999px;color:#12364a;background:#ffffffe6;font-size:clamp(.95rem,min(1.8vw,3dvh),1.45rem);box-shadow:0 18px 42px #00152047;animation:totemWallpaperPrompt 1.8s ease-in-out infinite}@keyframes totemWallpaperPrompt{0%,to{transform:translateY(0);opacity:.84}50%{transform:translateY(-2px);opacity:1}}@media(max-width:720px){.totem-wallpaper-branding{grid-template-columns:1fr;align-items:start;gap:12px}.totem-wallpaper-logos{flex-wrap:wrap}.totem-wallpaper-unit{justify-items:start;text-align:left}}.totem-header{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:clamp(10px,1.8vw,22px);min-height:0;padding:0 2px clamp(5px,.9dvh,10px);border-bottom:1px solid rgba(255,255,255,.18)}.totem-brand-lockup{display:flex;align-items:center;gap:7px;min-width:0;flex:0 1 auto}.totem-brand-lockup img{max-width:clamp(76px,9.4vw,116px);max-height:clamp(26px,4.4dvh,38px);object-fit:contain}.totem-brand-lockup img:first-child{max-width:clamp(96px,12vw,136px);filter:brightness(0) invert(1)}.totem-header>div:nth-child(2){min-width:0;flex:1 1 auto}.totem-header h1{margin:0;color:#fff;font-size:clamp(1rem,min(1.7vw,3.1dvh),1.85rem);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.totem-header span{display:block;margin-top:2px;color:#cbe8f3;font-size:clamp(.62rem,min(1vw,1.7dvh),.82rem);font-weight:800;text-transform:uppercase;white-space:nowrap}.totem-header button,.totem-panel button{min-height:clamp(42px,7dvh,54px);display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid rgba(16,54,76,.14);border-radius:8px;color:#12364a;background:#ffffffd1;font-size:clamp(.9rem,1.7vw,1.02rem);font-weight:900;box-shadow:0 10px 26px #13465a14;touch-action:none;-webkit-tap-highlight-color:transparent}.totem-header button{min-height:clamp(34px,5.2dvh,44px);padding:0 14px}.totem-panel{position:relative;z-index:2;align-self:center;justify-self:center;width:min(760px,100%);max-height:100%;display:grid;gap:clamp(10px,2dvh,22px);padding:clamp(14px,3dvh,44px);overflow:auto;overscroll-behavior:contain;border:1px solid rgba(255,255,255,.22);border-radius:8px;color:#fff;background:#03243794;box-shadow:0 24px 70px #00152042;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.totem-panel.wide{width:min(1080px,100%)}.totem-dni-panel,.totem-triage-panel,.totem-foreign-panel{align-self:stretch}.totem-dni-panel{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto minmax(0,.75fr) auto minmax(0,.65fr) minmax(0,3.6fr);align-self:center;align-content:stretch;width:min(92dvh,94vw,560px);height:min(100%,100%);max-height:100%;gap:clamp(5px,1dvh,10px);padding-inline:clamp(10px,2.8dvh,24px);padding-block:clamp(8px,1.8dvh,18px);overflow:hidden}.totem-dni-panel>*{grid-column:1 / -1;min-height:0}.totem-dni-panel .totem-kicker{grid-column:1 / -1}.totem-dni-panel h2{grid-column:1;align-self:center;font-size:clamp(1rem,min(2.4dvh,2.4vw),2rem)}.totem-dni-panel .totem-foreign-link{grid-column:2;align-self:center}.totem-dni-panel .totem-display-wrap{height:100%;min-height:0}.totem-dni-panel .totem-display{height:100%;min-height:0;font-size:clamp(1.25rem,min(5.2dvh,4vw),2.8rem)}.totem-dni-panel .totem-sex-help{align-content:center;padding-block:clamp(3px,.8dvh,6px)}.totem-dni-panel .totem-sex-options{height:100%}.totem-dni-panel .totem-sex-options button{min-height:0;height:100%}.totem-dni-panel .totem-keypad{height:100%;min-height:0;align-content:stretch;grid-template-rows:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:clamp(5px,1.15dvh,10px)}.totem-dni-panel .totem-keypad button{min-height:0;height:100%;padding-inline:clamp(7px,1.8dvh,14px);white-space:normal;line-height:1.08}.totem-triage-panel{align-content:center;grid-template-rows:auto minmax(0,auto) auto minmax(0,1fr) auto;width:min(1040px,100%);gap:clamp(7px,1.25dvh,14px)}.totem-triage-panel .totem-question-grid{min-height:0}.totem-triage-title{display:grid;gap:4px}.totem-triage-title h2{font-size:clamp(1.15rem,min(2.6vw,4.5dvh),2.25rem)}.totem-triage-title p{font-size:clamp(.78rem,min(1.2vw,2dvh),1rem)}.totem-panel h2{margin:0;color:#fff;font-size:clamp(1.55rem,min(4vw,8dvh),4.4rem);line-height:1}.totem-panel p{margin:0;color:#e7f6fc;font-size:clamp(.98rem,min(1.8vw,3dvh),1.65rem);font-weight:750}.totem-panel small{color:#cbe8f3;font-size:1rem;font-weight:850}.totem-welcome-panel{width:min(860px,100%);align-content:center}.totem-welcome-copy{display:grid;gap:8px}.totem-kicker{width:max-content;padding:5px 9px;border:1px solid rgba(255,255,255,.24);border-radius:8px;color:#d9f8ff;background:#ffffff14;font-size:clamp(.76rem,1.2vw,.92rem);font-weight:950;text-transform:uppercase}.totem-preparation svg{color:#ffd166}.totem-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:clamp(10px,1.8dvh,16px)}.totem-actions button,.totem-submit{min-height:clamp(78px,15dvh,132px);color:#fff;background:#126aa0;font-size:clamp(1rem,min(2vw,3.4dvh),1.7rem)}.totem-language-button{min-height:clamp(38px,5.8dvh,50px);display:inline-flex;align-items:center;gap:9px;padding:0 13px;border-radius:999px;border-color:#ffffff2e;color:#e7f6fc;background:#ffffff14;box-shadow:none;font-size:clamp(.82rem,1.22vw,1rem);touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}.totem-language-technical{position:fixed;left:14px;bottom:14px;z-index:4;opacity:.72;display:grid;gap:6px;justify-items:start}.totem-language-menu{display:grid;gap:7px}.totem-language-menu button{min-height:clamp(46px,7dvh,58px);display:inline-flex;align-items:center;gap:11px;padding:8px 13px;border-radius:999px;color:#e7f6fc;background:#052f41c7;border-color:#fff3;box-shadow:none;font-size:clamp(.88rem,1.2vw,1.05rem);touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}.totem-language-menu button.active{background:#126aa0e0;outline:2px solid rgba(255,255,255,.28)}.totem-language-button>span:last-child,.totem-language-menu button>span:last-child{display:grid;gap:1px;text-align:left}.totem-language-button strong,.totem-language-button small,.totem-language-menu strong,.totem-language-menu small{color:currentColor;font-size:inherit;line-height:1}.totem-language-button small,.totem-language-menu small{opacity:.7}.totem-flag{position:relative;width:30px;height:19px;display:inline-grid;place-items:center;overflow:hidden;border-radius:3px;box-shadow:0 0 0 1px #0000002e}.totem-flag i{width:4px;height:4px;border-radius:999px}.totem-flag.arg{background:linear-gradient(#6ec6ee 0,#6ec6ee 33%,#fff 33%,#fff 66%,#6ec6ee 66%)}.totem-flag.arg i{background:#f6c453}.totem-flag.usa{background:linear-gradient(90deg,#2b4f9c 0 42%,transparent 42%),repeating-linear-gradient(#c7353a 0,#c7353a 2px,#fff 2px,#fff 4px)}.totem-flag.usa i{display:none}.totem-flag.bra{background:#239a4b}.totem-flag.bra:before{content:"";width:13px;height:9px;background:#f6d04d;transform:rotate(45deg)}.totem-flag.bra i{position:absolute;width:5px;height:5px;background:#2355a4}.totem-urgency-button,.totem-service-button{justify-content:flex-start;gap:clamp(14px,2.4vw,28px);padding:clamp(14px,2.8dvh,28px);text-align:left}.totem-urgency-button{background:linear-gradient(135deg,#0f7eb7,#126aa0 52%,#245f95)}.totem-service-button.lab{background:linear-gradient(135deg,#287a5b,#2f8f6a 54%,#20706b)}.totem-service-button.imaging{background:linear-gradient(135deg,#5e6bb8,#3577aa 52%,#25618f)}.totem-urgency-button span:last-child,.totem-service-button span:last-child{display:grid;gap:5px}.totem-urgency-button strong,.totem-service-button strong{font-size:clamp(1.35rem,min(3.2vw,5dvh),2.8rem);line-height:1}.totem-urgency-button small,.totem-service-button small{color:#e7f6fc;font-size:clamp(.9rem,min(1.5vw,2.6dvh),1.25rem);font-weight:850}.totem-urgency-icon{width:clamp(52px,8vw,92px);height:clamp(52px,8vw,92px);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border:2px solid rgba(255,255,255,.52);border-radius:8px;background:#ffffff21}.totem-urgency-icon svg{width:68%;height:68%;stroke:currentColor;stroke-width:2.35;stroke-linecap:round;stroke-linejoin:round}.totem-urgency-icon .totem-xray-hand-icon{width:78%;height:78%}.totem-xray-hand-icon rect{fill:#ffffff1a}.totem-display{width:100%;min-height:clamp(46px,8.2dvh,68px);padding:clamp(4px,.9dvh,8px) clamp(58px,9vw,76px);border:2px solid rgba(18,106,160,.28);border-radius:8px;color:#0b3448;background:#f7fbfd;font-size:clamp(1.45rem,min(4.5vw,7dvh),3.4rem);font-weight:950;text-align:center}.totem-display-wrap{position:relative;width:100%}.totem-display-backspace{position:absolute;top:50%;right:clamp(7px,1.2vw,12px);width:clamp(48px,8dvh,64px);height:clamp(40px,7dvh,56px);min-height:0;padding:0;display:grid;place-items:center;transform:translateY(-50%);border:0;border-radius:999px;color:#0b587b;background:transparent;box-shadow:none}.totem-display-backspace:disabled{opacity:.24}.totem-foreign-link{justify-self:end;min-height:clamp(28px,4.2dvh,36px);padding:0 11px;color:#d9f8ff;background:#ffffff12;border-color:#ffffff29;box-shadow:none;font-size:clamp(.72rem,1.15vw,.88rem);font-weight:750}.totem-foreign-panel{align-content:center}.totem-patient-panel{align-content:center;width:min(780px,100%)}.totem-patient-name-block{display:grid;gap:8px;min-width:0}.totem-patient-name-block h2{font-size:clamp(1.45rem,min(3.2vw,5dvh),3rem)}.totem-patient-name-block strong{display:block;max-width:100%;color:#fff;font-size:clamp(1.7rem,min(4vw,6.5dvh),4.1rem);line-height:1;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.totem-identity-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,1.8dvh,16px)}.totem-identity-actions button{min-height:clamp(62px,10dvh,86px)}.totem-identity-actions button:not(.totem-submit){color:#fff;background:#ffffff24;border-color:#ffffff40}.totem-foreign-panel button{width:min(280px,100%);color:#fff;background:#126aa0}.totem-done-panel.high-priority{border-color:#ffffff57;background:linear-gradient(135deg,#a51e2de6,#651626d1),#0324379e;box-shadow:0 24px 72px #73001252}.totem-done-panel.high-priority svg{color:#ffd7d7}.totem-done-panel.high-priority h2{color:#fff}.totem-done-panel.high-priority p{color:#fff4f4;font-weight:900}.totem-patient-chip{width:max-content;max-width:100%;padding:6px 10px;border:1px solid rgba(255,255,255,.18);border-radius:8px;color:#fff;background:#ffffff1f;font-size:clamp(.8rem,1.2vw,1rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.totem-patient-strip{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%}.totem-patient-strip .totem-patient-chip{min-width:0}.totem-patient-strip button{min-height:clamp(28px,4.6dvh,38px);padding:0 10px;flex:0 0 auto;color:#12364a;background:#ffffffe0;font-size:clamp(.68rem,1vw,.84rem);box-shadow:none}.totem-auto-return{width:max-content;max-width:100%;display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid rgba(255,255,255,.18);border-radius:8px;color:#d9f8ff;background:#ffffff1a;font-size:clamp(.92rem,1.4vw,1.1rem);font-weight:900}.totem-inline-error{padding:8px 10px;border:1px solid rgba(255,209,102,.38);border-radius:8px;color:#fff4d1;background:#5c350852;font-size:clamp(.8rem,1.2vw,1rem)}.totem-offline-patch{position:fixed;left:50%;bottom:14px;z-index:7;display:inline-flex;align-items:center;gap:8px;max-width:min(560px,calc(100vw - 32px));padding:10px 13px;border:1px solid rgba(255,209,102,.44);border-radius:999px;color:#fff8df;background:#5c3508e0;box-shadow:0 14px 34px #0014224d;transform:translate(-50%)}.totem-offline-patch svg{color:#ffd166;animation:totemWarningPulse 1.35s ease-in-out infinite}.totem-offline-patch strong,.totem-offline-patch span{font-size:clamp(.78rem,1.15vw,.98rem);line-height:1;white-space:nowrap}.totem-offline-patch span{color:#ffe8a3;font-weight:850}.totem-still-there{position:fixed;top:0;right:0;bottom:0;left:0;z-index:12;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 38%,rgba(94,234,212,.2),transparent 36%),#01121c9e;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.totem-still-there section{width:min(560px,100%);display:grid;justify-items:center;gap:clamp(10px,1.7dvh,16px);padding:clamp(22px,4dvh,34px);border:1px solid rgba(125,211,252,.3);border-radius:22px;color:#fff;background:linear-gradient(135deg,#044a68f5,#052f42f5),#05344a;box-shadow:0 30px 80px #00142275;text-align:center}.totem-still-there h2,.totem-still-there p{margin:0}.totem-still-there h2{font-size:clamp(1.55rem,4.4dvh,2.25rem);line-height:1.05}.totem-still-there p{max-width:34ch;color:#c8f5ff;font-size:clamp(1rem,2.2dvh,1.22rem);font-weight:760;line-height:1.25}.totem-still-there strong{color:#e2fbff;font-size:clamp(.95rem,1.9dvh,1.14rem);font-weight:880}.totem-still-there div{width:100%;display:grid;grid-template-columns:minmax(180px,1fr) minmax(170px,.8fr);gap:clamp(10px,1.6dvh,14px)}.totem-still-there button{min-height:clamp(56px,8dvh,72px);border-radius:18px;font-size:clamp(.98rem,2.1dvh,1.16rem);font-weight:900}.totem-still-there .totem-secondary-action{border:1px solid rgba(255,255,255,.38);color:#e9fbff;background:#ffffff1c}.totem-still-there .totem-secondary-action:hover{background:#ffffff2e}.totem-disconnected-panel{align-content:center;border-color:#ffd16670;background:linear-gradient(135deg,#5c3508c7,#083046d6),#032437b8}.totem-disconnected-panel svg{color:#ffd166;animation:totemWarningPulse 1.35s ease-in-out infinite;filter:drop-shadow(0 0 0 rgba(255,209,102,0))}.totem-disconnected-panel button{width:min(340px,100%);color:#12364a;background:#ffd166}@keyframes totemWarningPulse{0%,to{transform:scale(1);opacity:.86;filter:drop-shadow(0 0 0 rgba(255,209,102,0))}45%{transform:scale(1.08);opacity:1;filter:drop-shadow(0 0 18px rgba(255,209,102,.52))}}.totem-segmented,.totem-keypad,.totem-question-grid,.totem-pain{display:grid;gap:clamp(7px,1.45dvh,12px)}.totem-sex-help{display:grid;align-items:baseline;padding:5px 8px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#ffffff17}.totem-sex-help.needs-attention{border-color:#ffd166d9;background:#ffd1662e;animation:totemAttentionPulse .48s ease-in-out 3}.totem-sex-help strong{color:#fff;font-size:clamp(.72rem,1.05vw,.9rem);line-height:1.15}.totem-sex-help small{color:#d9f8ff;font-size:clamp(.62rem,.9vw,.75rem);line-height:1.15}.totem-segmented{grid-template-columns:repeat(3,minmax(0,1fr))}.totem-sex-options button{min-height:clamp(36px,5.8dvh,48px);padding-inline:6px;color:#fff;background:#2b8061d1;border-color:#ffffff38;font-size:clamp(.9rem,1.75vw,1.16rem);font-weight:950;line-height:1.05}.totem-sex-options button.active{color:#fff;background:#2b8061;outline:3px solid rgba(255,255,255,.5)}.totem-sex-options.needs-attention button{animation:totemAttentionPulse .48s ease-in-out 3}.totem-keypad{grid-template-columns:repeat(3,minmax(0,1fr))}.totem-keypad button{min-height:clamp(42px,8.2dvh,68px);font-size:clamp(.95rem,min(2.3vw,3.8dvh),1.75rem)}.totem-keypad .totem-keypad-continue{grid-column:1 / -1}@keyframes totemAttentionPulse{0%,to{transform:translateY(0);box-shadow:0 10px 26px #13465a14}50%{transform:translateY(-2px);box-shadow:0 0 0 4px #ffd16657,0 14px 30px #13465a2e}}.totem-keypad button:last-child:disabled{opacity:.45}.totem-segmented button.active,.totem-keypad button:last-child:not(:disabled),.totem-question-grid button.active,.totem-pain button.active{color:#fff;background:#126aa0}.totem-question-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-content:center}.totem-question-grid article{display:grid;gap:clamp(6px,1dvh,10px);padding:clamp(8px,1.2dvh,14px);border:1px solid rgba(255,255,255,.18);border-radius:8px;color:#fff;background:#ffffff1a;box-shadow:inset 0 1px #ffffff14}.totem-question-grid strong,.totem-pain span{color:#fff;font-size:clamp(.72rem,min(1.05vw,1.9dvh),.96rem);font-weight:900}.totem-question-grid article div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.totem-question-grid article button{min-height:clamp(34px,5.8dvh,48px);color:#12364a;background:#ffffffe6}.totem-question-grid article button.active{color:#fff;background:#126aa0;box-shadow:0 0 0 3px #ffffff29}.totem-pain{grid-template-columns:repeat(11,minmax(0,1fr));align-items:center;padding:clamp(7px,1.1dvh,12px);border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#ffffff1a}.totem-pain-head{grid-column:1 / -1;display:grid;gap:3px}.totem-pain-head small{color:#d9f8ff;font-size:clamp(.78rem,1.2vw,.98rem)}.totem-pain button{min-width:0;min-height:clamp(48px,8dvh,68px);padding:5px 2px}.totem-pain .pain-level{display:grid;align-content:center;justify-items:center;gap:2px;border-color:#ffffff47;color:var(--pain-fg, #12364a);background:var(--pain-bg, #fff);box-shadow:none}.pain-level svg{width:clamp(18px,2.2vw,28px);height:clamp(18px,2.2vw,28px);fill:#ffffff47;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.pain-level strong{color:currentColor;font-size:clamp(.86rem,min(1.45vw,2.35dvh),1.16rem);line-height:1}.pain-level small{max-width:100%;color:currentColor;font-size:clamp(.42rem,.55vw,.58rem);line-height:1;text-align:center;opacity:.88}.pain-0,.pain-1{--pain-bg: #7ad66d;--pain-fg: #12364a}.pain-2,.pain-3{--pain-bg: #a9df64;--pain-fg: #12364a}.pain-4,.pain-5{--pain-bg: #f4d35e;--pain-fg: #12364a}.pain-6,.pain-7{--pain-bg: #f7a94b;--pain-fg: #12364a}.pain-8,.pain-9{--pain-bg: #e85d47;--pain-fg: #fff}.pain-10{--pain-bg: #c92f3e;--pain-fg: #fff}.totem-pain .pain-level.active{color:var(--pain-fg, #12364a);background:var(--pain-bg, #fff);transform:translateY(-2px);outline:3px solid rgba(255,255,255,.72);box-shadow:0 12px 24px #00152038}.totem-submit{width:100%;margin-top:4px;background:#287a5b}.totem-step-actions{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(180px,1.2fr);align-self:end;gap:clamp(8px,1.4dvh,14px)}.totem-step-actions.single{grid-template-columns:minmax(180px,1fr)}.totem-step-actions button{min-height:clamp(48px,8dvh,68px)}.totem-step-actions .totem-submit{width:auto;margin-top:0}.totem-step-actions button:not(.totem-submit){color:#fff;background:#ffffff24;border-color:#ffffff40}@media(max-height:760px){.totem-page{gap:8px;padding:10px}.totem-header{padding-bottom:7px}.totem-brand-lockup img{max-height:32px}.totem-header h1{font-size:clamp(1rem,2vw,1.45rem)}.totem-header span{font-size:.68rem}.totem-panel{gap:8px;padding:10px}.totem-panel h2{font-size:clamp(1.25rem,5.2dvh,2.2rem)}.totem-display{min-height:46px;font-size:clamp(1.45rem,6dvh,2.45rem)}.totem-keypad button,.totem-actions button,.totem-submit{min-height:52px}.totem-pain button{min-height:34px}.totem-pain .pain-level{gap:1px;min-height:48px}.totem-pain .pain-level small{display:none}.pain-level svg{width:20px;height:20px}}@media(max-height:620px){.totem-brand-lockup img:first-child{display:none}.totem-header button{min-height:36px;padding:0 10px}.totem-dni-panel{gap:5px;padding-inline:12px;padding-block:8px}.totem-dni-panel h2{font-size:clamp(1.05rem,4.4dvh,1.7rem)}.totem-sex-help{padding:4px 7px}.totem-sex-help small{display:none}.totem-segmented,.totem-keypad,.totem-question-grid,.totem-pain{gap:6px}.totem-keypad button{min-height:48px}}@media(max-width:980px){.totem-question-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.totem-pain{grid-template-columns:repeat(11,minmax(0,1fr))}}.totem-device-technical{background:#052f41ad}.totem-linked-technical{right:14px;bottom:14px;z-index:14;overflow:visible;width:min(260px,calc(100vw - 28px));min-width:0;min-height:46px;max-width:none;padding:11px 14px;gap:0;opacity:.7;cursor:default;pointer-events:auto;touch-action:none}.totem-config-hold-progress{position:absolute;left:6px;right:6px;top:-5px;height:2px;overflow:hidden;border-radius:999px;background:#ffffff29}.totem-config-hold-progress i{display:block;width:100%;height:100%;transform-origin:left center;border-radius:inherit;background:#ffffffb8}.totem-linked-technical .tv-identity-badge{gap:1px;justify-items:center;text-align:center}.totem-linked-technical strong{font-size:.84rem;line-height:1.1;letter-spacing:0}.totem-linked-technical small{font-size:.58rem;line-height:1.15}.totem-config-qr-card{position:fixed;right:14px;bottom:58px;z-index:18;width:min(260px,calc(100vw - 28px));display:grid;justify-items:center;gap:10px;padding:14px;border:1px solid rgba(255,255,255,.22);border-radius:8px;color:#fff;background:#032437eb;box-shadow:0 22px 54px #00152057;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.totem-config-qr-card img{width:178px;height:178px;padding:7px;border-radius:8px;background:#fff}.totem-config-qr-card div{display:grid;justify-items:center;gap:3px;text-align:center}.totem-config-qr-card strong{color:#fff;font-size:1.55rem;line-height:1;letter-spacing:0}.totem-config-qr-card span,.totem-config-qr-card small{color:#cbe8f3;font-size:.76rem;font-weight:850}.totem-config-qr-close{position:absolute;top:6px;right:6px;width:24px;height:24px;min-height:0;padding:0;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:999px;color:#e7f6fc;background:#ffffff1a}.totem-config-refresh{min-height:34px;width:100%;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px;border-radius:8px;color:#e7f6fc;background:#ffffff1a;font-size:.78rem;font-weight:900}.totem-status{position:fixed;left:32px;bottom:32px;z-index:5;padding:10px 14px;border:1px solid rgba(255,209,102,.44);border-radius:8px;color:#553f00;background:#fff6cdf0;font-weight:900}.totem-print-notice{position:fixed;top:14px;right:14px;z-index:8;max-width:min(360px,calc(100vw - 28px));padding:10px 14px;border:1px solid rgba(255,255,255,.24);border-radius:8px;color:#fff;background:#032437db;box-shadow:0 16px 34px #0015203d;font-size:clamp(.92rem,1.4vw,1.05rem);font-weight:900;pointer-events:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.tv-reconnect-pairing{display:grid;grid-template-columns:auto minmax(118px,1fr);align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.14)}.tv-reconnect-pairing .tv-pair-qr{width:92px;height:92px;padding:5px;border:1px solid rgba(255,255,255,.3);border-radius:8px;background:#fff}.tv-reconnect-pairing div{display:grid;gap:6px;min-width:0}.tv-reconnect-pairing span{color:#cbe8f3;font-size:.76rem;font-weight:900;text-transform:uppercase}.tv-reconnect-pairing .tv-pair-code{font-size:2rem}.tv-brand-lockup{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;max-width:430px;overflow:hidden}.tv-brand-lockup img{flex:0 1 auto;min-width:0;max-width:92px;max-height:36px;object-fit:contain}.tv-brand-lockup img:first-child{max-width:108px}.tv-brand-lockup .tv-unit-logo{flex:0 1 190px;width:190px;height:80px;max-width:190px;max-height:80px;padding:8px 10px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#ffffffe6}.tv-board h1{color:#fff;margin:0;font-size:clamp(2rem,3.2vw,3rem);line-height:1.02;overflow-wrap:anywhere}.tv-board header .eyebrow{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-board header>div:last-child{display:grid;justify-items:end;gap:3px;min-width:118px}.tv-board header strong{font-size:2.6rem;line-height:1}.tv-board header span:last-child{color:#cbe8f3;font-weight:700}.tv-identity-badge{display:grid;gap:5px}.tv-identity-badge strong,.tv-identity-badge small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-identity-badge span{color:#cbe8f3;font-size:.76rem;font-weight:900;text-transform:uppercase}.tv-identity-badge small{color:#cbe8f3;font-size:.9rem;font-weight:800}.tv-identity-badge.stored{color:#ffffff9e;opacity:.72}.tv-identity-badge.stored strong,.tv-identity-badge.stored small{color:#ffffff94}.tv-idle-stage{position:relative;z-index:2;min-height:64vh;pointer-events:none}.tv-call-toast{position:fixed;left:50%;top:19vh;z-index:5;width:min(920px,calc(100vw - 48px));display:grid;justify-items:center;gap:10px;padding:32px 38px;border:2px solid rgba(255,255,255,.82);border-radius:8px;background:#fff;color:var(--muni-blue);box-shadow:0 28px 80px #00152057;text-align:center;transform:translate(-50%);animation:tvCallPulse 1.05s ease-in-out infinite}.tv-call-toast span{color:var(--health-cyan-dark);font-weight:900;text-transform:uppercase}.tv-call-toast strong{overflow:visible;max-width:100%;font-size:clamp(1.9rem,4.2vw,4.1rem);line-height:1.05;text-transform:uppercase;text-wrap:balance;overflow-wrap:anywhere;white-space:normal}.tv-call-toast p{margin:0;color:var(--ink);font-size:clamp(1.45rem,3vw,2.4rem);font-weight:900}.tv-call-toast.with-operational-alert{top:auto;bottom:14vh;z-index:7;width:min(860px,calc(100vw - 56px));padding:22px 30px;animation-duration:1.2s}.tv-call-toast.with-operational-alert strong{font-size:clamp(1.55rem,3.3vw,3.2rem)}.tv-call-toast.with-operational-alert p{font-size:clamp(1.2rem,2.4vw,1.9rem)}.tv-operational-alert{position:fixed;left:50%;top:12vh;z-index:6;width:min(980px,calc(100vw - 48px));display:grid;justify-items:center;gap:12px;padding:32px 38px;border:2px solid rgba(255,255,255,.86);border-radius:8px;background:#b42318;color:#fff;box-shadow:0 28px 80px #00152061;text-align:center;transform:translate(-50%);animation:tvEmergencyPulse .92s ease-in-out infinite}.tv-operational-alert.ambulance_arrival{background:#075f84}.tv-operational-alert div{width:86px;height:86px;display:inline-flex;align-items:center;justify-content:center;border:2px solid rgba(255,255,255,.86);border-radius:8px;animation:tvEmergencyIconBlink .72s ease-in-out infinite}.tv-operational-alert span{font-size:clamp(1.2rem,2vw,1.7rem);font-weight:900;text-transform:uppercase}.tv-operational-alert strong{max-width:100%;font-size:clamp(2rem,4.4vw,4.5rem);line-height:1.05;text-wrap:balance;overflow-wrap:anywhere}.tv-call-history{position:fixed;left:32px;top:156px;bottom:104px;z-index:2;width:min(440px,calc(100vw - 64px));display:grid;align-content:start;gap:12px;overflow:hidden}.tv-call-history article{display:grid;min-width:0;gap:7px;padding:18px 20px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#032437e0;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.tv-call-history article.final-call{border-color:#94d8b8b3;background:#0e4a38b8;box-shadow:0 0 #94d8b847;animation:tvHistoryFinalHeartbeat 2.4s ease-in-out infinite}.tv-call-history article em{color:#bff4d6;font-size:1rem;font-style:normal;font-weight:950;letter-spacing:0;text-transform:uppercase}.tv-call-history strong{font-size:1.65rem;line-height:1.15;overflow-wrap:anywhere;text-transform:uppercase;white-space:normal}.tv-call-history span{color:#cbe8f3;font-size:1.25rem;font-weight:800;line-height:1.2;overflow-wrap:anywhere}@keyframes tvHistoryFinalHeartbeat{0%,to{transform:scale(1);box-shadow:0 0 #94d8b838}22%{transform:scale(1.025);box-shadow:0 0 0 6px #94d8b814}38%{transform:scale(1);box-shadow:0 0 #94d8b800}}@keyframes tvCallPulse{0%,to{opacity:1;transform:translate(-50%) scale(1)}50%{opacity:.84;transform:translate(-50%) scale(1.025)}}@keyframes tvEmergencyPulse{0%,to{opacity:1;transform:translate(-50%) scale(1)}50%{opacity:.9;transform:translate(-50%) scale(1.03)}}@keyframes tvEmergencyIconBlink{0%,to{opacity:1}50%{opacity:.35}}@keyframes tvDotBlink{0%,to{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.72)}}.tv-authorize-modal{width:min(420px,calc(100vw - 28px))}.tv-authorize-modal input{font-size:1.7rem;letter-spacing:.18em;text-align:center}.tv-link-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--soft)}.tv-link-panel{width:min(460px,100%);display:grid;justify-items:center;gap:14px;padding:30px;border:1px solid var(--line);border-radius:8px;background:#fff;text-align:center}.tv-link-panel>strong{color:var(--muni-blue);font-size:2.4rem;letter-spacing:.12em}.tv-scan-button{min-height:40px;display:inline-flex;align-items:center;gap:8px}.tv-scan-modal{width:min(460px,calc(100vw - 28px))}.tv-scan-video{width:100%;aspect-ratio:4 / 3;border-radius:8px;object-fit:cover;background:#061923}.tv-scan-hint{margin:0}.tv-photo-scan-button{min-height:44px;justify-content:center;cursor:pointer}.tv-photo-scan-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.tv-scan-modal form{display:grid;gap:12px}.sessions-panel .panel-header{align-items:flex-end}.sessions-panel .panel-header p{margin-bottom:0;color:var(--muted)}.sessions-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.segmented-control{display:inline-flex;padding:3px;border:1px solid var(--line);border-radius:8px;background:#fff}.segmented-control button{min-height:34px;border:0;border-radius:6px;padding:0 12px;color:var(--muted);background:transparent;font-weight:900}.segmented-control button.active{color:var(--muni-blue);background:#e7f6fc}.session-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 20px;border-bottom:1px solid var(--line);background:#f7fafc}.session-metrics article{display:grid;gap:4px;padding:12px;border:1px solid #e2edf3;border-radius:8px;background:#fff}.session-metrics span,.sessions-table small{color:var(--muted)}.session-metrics strong{color:var(--muni-blue);font-size:1.35rem}.sessions-message{margin:14px 20px 0}.sessions-table{display:grid}.sessions-head,.sessions-table article{display:grid;grid-template-columns:88px minmax(210px,1fr) 116px 128px minmax(170px,.85fr) 104px 104px;align-items:center;gap:14px}.sessions-head{padding:12px 20px;border-bottom:1px solid #edf0f2;color:var(--muni-blue);background:#fff;font-size:.78rem;font-weight:900;text-transform:uppercase}.sessions-table article{padding:14px 20px;border-bottom:1px solid #edf0f2}.sessions-table article>div{display:grid;gap:3px;min-width:0}.sessions-table strong,.sessions-table span,.sessions-table small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-type-pill,.session-status{width:fit-content;min-height:28px;display:inline-flex;align-items:center;border-radius:6px;padding:0 9px;font-weight:900}.session-type-pill.user{color:var(--muni-blue);background:#e7f6fc}.session-type-pill.tv{color:#4b2f7a;background:#f1e9ff}.session-status.active,.session-status.authorized{color:#1f5f2d;background:#dff3df}.session-status.pending{color:#653b00;background:#fff1c7}.session-status.connected{color:#1f5f2d;background:#dff3df}.session-status.disconnected{color:#5f6673;background:#edf0f2}.session-status.anonymous{color:#4b2f7a;background:#f1e9ff}.sessions-table .danger-button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:6px;color:#fff;background:#9f1d20;font-weight:900}.sessions-table article>.secondary-button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.tv-config-modal{width:min(430px,calc(100vw - 28px))}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:980px){.login-page,.app-shell,.work-grid,.superfacturas-layout,.map-band{grid-template-columns:1fr}.login-page{grid-template-rows:auto auto auto;overflow-y:auto}.superfactura-detail{grid-column:auto}.summary-dashboard{grid-template-columns:1fr}.summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.llamador-summary{grid-template-columns:1fr}.llamador-panel .panel-header,.llamador-actions{display:grid;align-items:stretch;justify-content:stretch}.llamador-search,.llamador-search input,.llamador-filter,.llamador-filter select{width:100%}.tv-board{padding:18px}.tv-board header{grid-template-columns:minmax(0,1fr) auto;gap:14px}.tv-board header>div:nth-child(2){grid-column:1 / -1;order:3}.tv-board header>div:last-child{justify-items:start}.tv-brand-lockup .tv-unit-logo{flex-basis:130px;width:130px;height:58px;max-width:130px;max-height:58px;padding:5px 7px}.tv-board h1{font-size:2rem}.tv-pair-code{font-size:2.7rem}.tv-idle-stage p{font-size:2.1rem}.tv-call-toast{top:18vh;width:calc(100vw - 28px);padding:24px 18px}.tv-call-toast.with-operational-alert{bottom:8vh;width:calc(100vw - 28px);padding:18px 16px}.tv-operational-alert{top:10vh;width:calc(100vw - 28px);padding:24px 18px}.tv-call-history{left:14px;right:14px;top:auto;bottom:16px;width:auto;max-height:34vh}.tv-call-history article{gap:4px;padding:12px 14px}.tv-call-history strong{font-size:1.15rem}.tv-call-history span,.tv-call-history article em{font-size:.95rem}.tv-pair-page{align-content:center;padding:92px 18px 170px}.tv-pair-brand{top:18px;left:18px;right:18px}.tv-pair-brand img{max-width:96px;max-height:34px}.tv-pair-brand img:first-child{max-width:118px}.tv-pair-panel{padding:24px 18px}.tv-pair-technical{right:18px;bottom:18px;grid-template-columns:auto 1fr;max-width:calc(100vw - 36px)}.tv-pair-technical .tv-pair-qr{width:96px;height:96px}.tv-pair-code{font-size:1.75rem}.session-metrics,.sessions-head,.sessions-table article{grid-template-columns:1fr}.sessions-head{display:none}.sessions-actions{display:grid;justify-content:stretch}.news-header{display:grid}.news-item{grid-template-columns:92px 1fr}.news-item img{width:92px;height:72px;grid-row:span 3}.login-brand,.sidebar{min-height:auto}.login-brand{padding-bottom:10px}.login-copy{padding-bottom:0}.login-copy .quick-actions{display:none}.login-panel-link{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:9px;margin-top:18px;border:1px solid #cfe3eb;border-radius:6px;color:var(--muni-blue);background:#fff;font-weight:800;text-decoration:none}.app-shell{height:100vh;min-height:100vh;overflow:hidden}.app-shell,.app-shell.menu-open,.app-shell.menu-collapsed{grid-template-columns:1fr}.sidebar{position:fixed;z-index:70;top:0;left:0;width:min(84vw,310px);height:100dvh;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding-bottom:max(20px,env(safe-area-inset-bottom));border-right:1px solid var(--line);border-bottom:0;box-shadow:18px 0 42px #0028312e;transform:translate(-105%);transition:transform .18s ease}.sidebar.open{transform:translate(0)}.mobile-menu-backdrop{position:fixed;z-index:65;top:0;right:0;bottom:0;left:0;display:block;border:0;background:#03182661}.mobile-menu-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cfe3eb;border-radius:8px;color:var(--muni-blue);background:#fff}.content{height:100vh;overflow-y:auto}.menu{grid-template-columns:1fr}}@media(max-width:640px){.login-brand,.sidebar{padding:20px}.content{padding:0 14px 20px}.topbar{padding:6px 12px;margin:0 -14px 12px}.topbar-logo img{width:40px}.mobile-menu-button{flex-shrink:0}.login-panel{margin:0 20px 28px;padding:24px}.landing-footer .footer-content,.public-footer .footer-content{grid-template-columns:1fr;justify-items:center;gap:6px;padding:7px 14px;text-align:center}.landing-footer .footer-divider,.public-footer .footer-divider{max-width:260px}.landing-footer .footer-developed,.public-footer .footer-developed{justify-content:center;white-space:normal}.landing-footer .footer-developed span,.public-footer .footer-developed span{justify-self:center}.login-panel-link{width:100%;margin-top:22px}.brand-bar{align-items:flex-start;flex-direction:column}.campania-filters-grid,.campania-form-grid,.puestos-editor-grid,.campania-cards-grid{grid-template-columns:1fr}.campania-editor-actions-bar{flex-direction:column-reverse;gap:12px}.campania-editor-actions-bar .right-group,.campania-editor-actions-bar .danger-button{width:100%;justify-content:center}.icon-danger-button{justify-self:end}.data-row{align-items:flex-start;grid-template-columns:1fr}.topbar{display:flex;align-items:center;justify-content:space-between;margin:0 -14px 12px;padding:6px 12px;gap:8px}.topbar-title{display:flex;flex-direction:row;align-items:center;min-width:0;gap:8px}.topbar-title>div{min-width:0;overflow:hidden}.topbar-title h2{font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-title .eyebrow{display:none}.topbar-actions{display:flex;flex-direction:row;align-items:center;gap:6px}.topbar-right-panel{gap:4px}.topbar-logo-row img{height:20px;max-width:65px}.topbar-identity-btn{padding:2px 7px 2px 4px;gap:5px}.topbar-identity-text strong{font-size:.74rem}.topbar-identity-text span{font-size:.62rem}.menu,.summary-cards{grid-template-columns:1fr}}.menu-label{margin-top:10px;color:var(--muted);font-size:.76rem;font-weight:800;text-transform:uppercase}.topbar-actions{display:flex;align-items:center;gap:14px}.code-red-button{min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 13px;border:1px solid #b42318;border-radius:8px;color:#fff;background:#b42318;font-size:.82rem;font-weight:900;letter-spacing:0;white-space:nowrap;box-shadow:0 8px 18px #b4231833}.code-red-button:hover{background:#931b13}.code-red-button.in-progress,.ambulance-button.in-progress{animation:topbarEmergencyPulse 1s ease-in-out infinite}.ambulance-button{min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 13px;border:1px solid #0b78a6;border-radius:8px;color:#fff;background:#0b78a6;font-size:.82rem;font-weight:900;letter-spacing:0;white-space:nowrap;box-shadow:0 8px 18px #0b78a633}.ambulance-button:hover{background:#075f84}@keyframes topbarEmergencyPulse{0%,to{transform:scale(1)}50%{transform:scale(1.035)}}.code-red-modal{width:min(420px,calc(100vw - 28px));justify-items:center;text-align:center}.code-red-modal-icon{width:58px;height:58px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#fff;background:#b42318}.code-red-modal h3{margin:6px 0 0;color:var(--ink)}.code-red-modal p{margin:8px 0 0;color:var(--muted);font-weight:800}select,textarea{width:100%;border:1px solid var(--line);border-radius:6px;padding:0 12px;color:var(--ink);background:#fff}select{min-height:46px}textarea{min-height:120px;padding:12px;resize:vertical}select[multiple]{min-height:132px;padding:8px}.app-crash-recovery{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f8fafc;color:#0f172a}.app-crash-recovery>div{width:min(100%,520px);display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid #fecaca;border-radius:8px;background:#fff;box-shadow:0 18px 40px #0f172a1f}.app-crash-recovery svg{color:#dc2626}.app-crash-recovery h2{margin:0;font-size:1.35rem}.app-crash-recovery p{margin:0;color:#64748b}.app-crash-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}.service-row{grid-template-columns:minmax(0,1fr) 150px minmax(170px,220px)}.phrase-row{grid-template-columns:minmax(0,1fr) 170px auto}.group-row{grid-template-columns:minmax(0,1fr) minmax(180px,.8fr) auto}.permission-row{grid-template-columns:minmax(0,1fr) 180px auto}.groups-layout{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(360px,1.1fr);gap:18px;align-items:start}.panel-header-actions{display:flex;align-items:center;gap:8px}.panel-header-create{height:32px;padding:0 12px;font-size:.82rem;gap:6px}.groups-filter-bar{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid #edf0f2;color:var(--muted)}.groups-filter-bar input{min-height:0;border:0;padding:0;font-size:.88rem;color:var(--ink);background:transparent}.groups-filter-bar input:focus{outline:none}.data-row.is-selected{background:#e7f6fc}.group-access-panel{display:grid;gap:18px}.assignment-box{display:grid;gap:10px;padding:14px}.assignment-form{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:10px;align-items:start}.assignment-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid #edf0f2}.assignment-row span{font-weight:700}.assignment-form.perm-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 110px}.assignment-row.perm-row{align-items:start}.assignment-row.perm-row>div{display:grid;gap:2px;min-width:0}.assignment-row.perm-row strong{font-size:.82rem;font-weight:800;color:var(--muni-blue);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assignment-row.perm-row small{color:var(--muted);font-size:.78rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.perm-source{flex-shrink:0;padding:3px 8px;border-radius:4px;background:#e7f6fc;color:var(--muni-blue);font-size:.72rem;font-weight:700;white-space:nowrap}.assignment-row button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:6px;color:#fff;background:#870000}.assignment-row button{width:34px;height:34px}.danger-button{min-height:44px;padding:0 14px}.panel-empty{margin:0;padding:16px;color:var(--muted)}.typeahead{position:relative}.searchable-select-arrow{position:absolute;right:11px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none;transition:transform .15s ease}.searchable-select.is-open .searchable-select-arrow{transform:translateY(-50%) rotate(180deg)}.searchable-select input{padding-right:32px}.typeahead-results,.typeahead-empty{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:20;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 16px 42px #00283129}.typeahead-results{display:grid;max-height:280px;overflow:auto}.typeahead-results button{display:grid;gap:3px;padding:10px 12px;border:0;border-bottom:1px solid #edf0f2;text-align:left;color:var(--ink);background:#fff}.typeahead-results button:hover,.typeahead-results button.preselected,.typeahead-results button.selected{background:#e7f6fc}.typeahead-results button.preselected{box-shadow:inset 3px 0 0 var(--health-cyan-dark)}.typeahead-results span,.typeahead-empty{color:var(--muted)}.typeahead-empty{padding:12px}.typeahead-divider{height:1px;background:var(--line);margin:4px 0}.typeahead-results button.typeahead-dim{opacity:.5}.typeahead-results button.typeahead-dim:hover,.typeahead-results button.typeahead-dim.preselected{opacity:1}.multi-check-field.disabled{opacity:.62}.multi-check{position:relative;display:grid;gap:8px}.multi-check-trigger{width:100%;min-height:46px;display:flex;align-items:center;justify-content:flex-start;border:1px solid var(--line);border-radius:6px;padding:0 12px;color:var(--ink);background:#fff;text-align:left}.multi-placeholder{color:var(--muted)}.selected-chips{display:flex;flex-wrap:wrap;gap:8px}.selected-chips button{display:inline-flex;align-items:center;gap:8px;min-height:30px;border:0;border-radius:999px;padding:0 10px;color:var(--muni-blue);background:#e7f6fc;font-size:.82rem;font-weight:800}.selected-chips span{color:var(--muted);font-weight:800}.multi-check-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 16px 42px #00283129}.multi-check-search{position:sticky;top:0;z-index:1;padding:10px;border-bottom:1px solid #edf0f2;background:#fff}.multi-check-search input{min-height:40px}.multi-check-menu button{width:100%;display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;align-items:center;border:0;border-bottom:1px solid #edf0f2;padding:10px 12px;color:var(--ink);background:#fff;text-align:left}.multi-check-empty{padding:12px;color:var(--muted)}.multi-check-menu button:hover,.multi-check-menu button.checked{background:#e7f6fc}.check-box{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--health-cyan-dark);border-radius:5px;color:#fff;background:#fff}.multi-check-menu button.checked .check-box{background:var(--health-cyan-dark)}.check-copy{display:grid;gap:2px;min-width:0}.check-copy strong,.check-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.check-copy small{color:var(--muted)}.check-field{display:inline-flex;align-items:center;gap:10px;color:var(--muni-blue);font-weight:800}.check-field input{width:18px;min-height:18px}.search-line{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px}.services-filters{display:grid;grid-template-columns:repeat(6,minmax(140px,1fr)) 140px;gap:12px;align-items:center}.services-table{overflow-x:auto}.services-empty{min-width:1060px;padding:18px;border-top:1px solid #edf0f2}.services-head,.services-table-row{display:grid;grid-template-columns:minmax(210px,1.1fr) minmax(140px,.7fr) minmax(210px,1fr) minmax(210px,1fr) minmax(230px,.9fr);gap:14px;align-items:center;min-width:1060px;padding:12px 18px}.services-head{color:var(--muni-blue);background:#e7f6fc;font-size:.8rem;font-weight:800;text-transform:uppercase}.services-table-row{border-top:1px solid #edf0f2}.services-table-row div{display:grid;gap:4px;min-width:0}.services-table-row strong,.services-table-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.services-table-row small{color:var(--muted)}.table-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid var(--line);color:var(--muted);font-size:.86rem;font-weight:800}.table-pagination div{display:flex;align-items:center;gap:8px}.table-pagination .secondary-button{min-height:36px}.grouping-layout{grid-template-columns:minmax(280px,360px) minmax(0,1fr);align-items:start}.grouping-editor{position:sticky;top:82px}.grouping-alias-table{overflow-x:auto}.grouping-alias-head,.grouping-alias-row{display:grid;grid-template-columns:minmax(190px,1.2fr) 100px minmax(180px,1fr) minmax(120px,.6fr) 90px 90px;gap:12px;align-items:center;min-width:860px;padding:12px 18px}.grouping-alias-head{color:var(--muni-blue);background:#e7f6fc;font-size:.8rem;font-weight:800;text-transform:uppercase}.grouping-alias-row{border-top:1px solid #edf0f2}.grouping-alias-row div:first-child{display:grid;gap:4px;min-width:0}.grouping-alias-row strong,.grouping-alias-row span,.grouping-alias-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grouping-alias-row small{color:var(--muted)}.superfacturas-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start;min-height:min-content}.superfactura-detail{grid-column:auto}.superfacturas-table{height:clamp(320px,calc(100dvh - 245px),720px);min-height:320px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.superfacturas-search,.search-section{display:grid;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line)}.search-main{display:flex;align-items:center;gap:10px}.search-input-wrap{position:relative;flex:1;min-width:0;display:flex;align-items:center}.search-input-icon{position:absolute;left:11px;color:var(--muted);pointer-events:none;z-index:1}.search-input-wrap input{width:100%;padding-left:32px;padding-right:32px;min-height:40px}.search-clear{position:absolute;right:7px;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:4px;color:var(--muted);background:transparent;padding:0}.search-clear:hover{background:#edf1f3;color:var(--ink)}.search-submit{min-height:40px;white-space:nowrap}.advanced-toggle{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--health-cyan-dark);font-size:.8rem;font-weight:800;white-space:nowrap;padding:0 2px;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.advanced-toggle svg{transition:transform .16s ease}.advanced-toggle.is-open svg{transform:rotate(180deg)}.filter-builder{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:#f8fbfd}.filter-field{display:flex;flex-direction:column;gap:4px;min-width:140px}.filter-field label{font-size:.72rem;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.filter-field select,.filter-field input[type=date]{min-height:36px}.filter-clear-btn{align-self:flex-end;white-space:nowrap}.advanced-toggle.has-filters{color:var(--health-green-dark, #1a7a4a)}.filter-chips{display:flex;flex-wrap:wrap;gap:8px}.filter-chips button{min-height:34px;display:inline-flex;align-items:center;gap:8px;border:1px solid #c9e9f4;border-radius:999px;padding:0 10px;color:var(--muni-blue);background:#e7f6fc;font-size:.82rem;font-weight:800}.filter-chips span{color:var(--muted)}.superfacturas-head,.superfacturas-row{display:grid;grid-template-columns:70px 120px 105px minmax(110px,.5fr) minmax(260px,1.2fr) 100px 70px 130px;gap:14px;align-items:center;min-width:1100px;padding:12px 18px}.spf-num-line{display:flex;align-items:center;gap:5px;min-width:0}.spf-num-line strong{min-width:0}.obs-trigger{display:inline-flex;align-items:center;flex-shrink:0}.obs-eye{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:0;border-radius:4px;padding:0;background:transparent;color:var(--muted);cursor:pointer}.obs-eye:hover{background:#dff0f8;color:var(--health-cyan-dark)}.obs-popover{position:fixed;z-index:9999;max-width:320px;padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 28px #00283c24;font-size:.85rem;line-height:1.5;color:var(--ink);white-space:pre-wrap;pointer-events:auto}.sort-head{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;padding:0;font:inherit;color:inherit;font-size:inherit;font-weight:inherit;text-transform:inherit;cursor:pointer;white-space:nowrap}.sort-head .sort-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sort-head .sort-icon{flex-shrink:0}.sort-head:hover{opacity:.75}.sort-icon{font-size:.7em;opacity:.45}.sort-head.sort-active .sort-icon{opacity:1;color:var(--health-cyan-dark)}.superfacturas-head{position:sticky;top:0;z-index:4;box-shadow:0 1px 0 var(--line);color:var(--muni-blue);background:#e7f6fc;font-size:.8rem;font-weight:800;text-transform:uppercase}.superfacturas-row{border-top:1px solid #edf0f2}.superfacturas-row .spf-cell{display:grid;gap:4px;min-width:0}.superfacturas-row strong,.superfacturas-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.superfacturas-row small{color:var(--muted)}.superfactura-detail-body{display:grid;gap:16px;padding:16px}.superfactura-detail-page{display:grid;gap:18px}.superfactura-editor-inline{display:grid;grid-template-columns:repeat(3,minmax(170px,1fr));gap:8px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fbfdfe}.superfactura-editor-inline .field{gap:4px;font-size:.8rem;font-weight:600}.superfactura-editor-inline input,.superfactura-editor-inline select,.superfactura-editor-inline textarea,.superfactura-editor-inline .date-picker-input{min-height:36px;font-weight:400}.superfactura-editor-inline .primary-button{min-height:36px}.superfactura-editor-inline .readonly-field{gap:3px;padding:6px 10px}.superfactura-editor-inline .readonly-field span{font-size:.75rem;font-weight:600}.superfactura-editor-inline .readonly-field strong,.superfactura-detail .item-form .field,.superfactura-detail .item-form .check-field{font-weight:600}.superfactura-detail .item-form input,.superfactura-detail .item-form select{font-weight:400}.observations-field{grid-column:1 / -1}.observations-field textarea{min-height:52px;max-height:52px;resize:none;overflow-y:auto}.observations-field small{justify-self:end;color:var(--muted);font-size:.78rem}.observations-box{max-height:190px;overflow:auto;padding:12px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fbfdfe;line-height:1.45;white-space:pre-wrap}.item-form{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr)) minmax(160px,auto) auto;gap:12px;align-items:end}.item-form .primary-button{min-height:46px}.add-item-modal{width:min(680px,100%)!important}.add-item-modal .item-form{grid-template-columns:1fr;padding:0 20px}.add-item-modal .item-form .modal-actions{padding:0;margin-top:4px}.add-item-modal .prefactura-search-panel,.add-item-modal .concept-summary{margin:0 20px 16px}.add-item-tabs{display:flex;gap:4px;padding:0 20px 4px;border-bottom:1px solid var(--line);margin-bottom:4px}.add-item-tabs button{padding:6px 14px;border-radius:6px 6px 0 0;border:1px solid transparent;background:none;color:var(--muted);font-size:13px;cursor:pointer;transition:background .15s}.add-item-tabs button:hover{background:var(--hover);color:var(--fg)}.add-item-tabs button.active{background:var(--surface2);color:var(--fg);border-color:var(--line);border-bottom-color:var(--surface2)}.bulk-form{display:flex;flex-direction:column;gap:12px;padding:12px 20px 16px}.bulk-textarea{width:100%;resize:vertical;font-family:monospace;font-size:13px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--fg);box-sizing:border-box}.bulk-textarea:focus{outline:none;border-color:var(--health-cyan)}.bulk-progress{display:flex;flex-direction:column;gap:4px}.bulk-progress-header{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);font-weight:600;background:#f9fafb;border:1px solid var(--line);border-radius:6px;padding:6px 10px;cursor:pointer;width:100%;text-align:left;gap:8px}.bulk-progress-header:hover{background:#f3f4f6}.bulk-header-left{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.bulk-header-left strong{color:var(--fg)}.bulk-concepts-count{background:#dcfce7;color:#166534;font-size:11px;font-weight:600;padding:1px 7px;border-radius:10px;white-space:nowrap}.bulk-counter-detail{display:flex;gap:8px;flex-shrink:0}.bulk-ok{color:#4caf82}.bulk-skip{color:var(--muted)}.bulk-err{color:#e05a5a}.bulk-progress-list{list-style:none;margin:0;padding:0;max-height:380px;overflow-y:auto;border:1px solid var(--line);border-radius:6px}.bulk-row{display:grid;grid-template-columns:18px 100px 1fr;align-items:start;gap:6px 10px;padding:7px 12px;font-size:12px;border-bottom:1px solid var(--line);transition:background .2s}.bulk-row:last-child{border-bottom:none}.bulk-row-loading{background:color-mix(in srgb,var(--health-cyan) 6%,transparent)}.bulk-row-done{background:color-mix(in srgb,#4caf82 8%,transparent)}.bulk-row-skipped{background:color-mix(in srgb,#aaa 8%,transparent)}.bulk-row-error{background:color-mix(in srgb,#e05a5a 8%,transparent)}.bulk-row-pending{opacity:.45}.bulk-row-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0}.bulk-row-icon svg{display:block}.bulk-row-done .bulk-row-icon{color:#4caf82}.bulk-row-skipped .bulk-row-icon{color:var(--muted)}.bulk-row-error .bulk-row-icon{color:#e05a5a}.bulk-row-loading .bulk-row-icon{color:var(--health-cyan)}.bulk-pending-dot{width:6px;height:6px;border-radius:50%;background:var(--muted);display:inline-block}.bulk-row-icon{align-self:center}.bulk-row-number{font-weight:700;font-family:monospace;font-size:12px;color:var(--fg);align-self:center;white-space:nowrap}.bulk-row-right{display:flex;flex-direction:column;gap:2px;min-width:0}.bulk-row-patient{font-weight:600;color:var(--fg);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bulk-row-msg{color:var(--muted);font-size:11px;white-space:normal;line-height:1.3;word-break:break-word}.bulk-row-inserted{color:#166534;font-weight:600}.detail-select-all,.detail-row-check{width:15px;height:15px;cursor:pointer;accent-color:var(--health-cyan);justify-self:center;opacity:0;pointer-events:none;transition:opacity .15s}.is-selecting .detail-select-all,.is-selecting .detail-row-check{opacity:1;pointer-events:auto}.detail-row-check:checked{opacity:1;pointer-events:auto}.bulk-delete-modal{width:420px}.bulk-delete-body{padding:4px 20px 12px;display:flex;flex-direction:column;gap:8px;font-size:14px}.bulk-delete-hint{color:var(--muted);margin:0}.bulk-delete-input{border:2px solid var(--line);border-radius:6px;padding:8px 12px;font-size:15px;background:var(--surface);color:var(--fg);width:100%;box-sizing:border-box}.bulk-delete-input:focus{outline:none;border-color:#e05a5a}.detail-table-toolbar{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line);background:#f7fafc}.detail-search-box{display:flex;align-items:center;gap:6px;flex:1;max-width:420px;padding:0 10px;border:1.5px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);transition:border-color .12s}.detail-search-box:focus-within{border-color:var(--health-cyan-dark);color:var(--ink)}.detail-search-box input{flex:1;border:0;background:none;padding:7px 0;font-size:.85rem;color:var(--ink);outline:none;min-width:0}.detail-search-clear{display:flex;align-items:center;background:none;border:0;padding:0;color:var(--muted);cursor:pointer;flex-shrink:0}.detail-search-clear:hover{color:var(--ink)}.prefactura-search-panel{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:12px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fbfdfe}.prefactura-results{grid-column:1 / -1;display:grid;gap:8px;max-height:240px;overflow:auto}.prefactura-results button{display:grid;grid-template-columns:130px minmax(0,1fr) 180px;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fff;text-align:left}.prefactura-results button:hover{border-color:var(--health-cyan-dark);background:#e7f6fc}.prefactura-results span,.prefactura-results small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prefactura-results small{color:var(--muted)}.grouped-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:end;padding:10px 14px;border-bottom:1px solid var(--line);background:#fbfdfe}.grouped-filters label{display:grid;gap:6px;min-width:0}.grouped-filters label span{color:var(--muted);font-size:.78rem;font-weight:800;text-transform:uppercase}.grouped-filters input,.grouped-filters select{width:100%}.date-picker{position:relative}.date-picker-input{display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:center;overflow:hidden;border:1px solid #cad9df;border-radius:8px;background:#fff}.date-picker-input input{border:0;border-radius:0;min-height:42px}.date-picker-input input:focus{outline:none;box-shadow:none}.date-picker-input button{height:100%;border:0;border-left:1px solid #e0e8ec;border-radius:0;color:var(--muni-blue);background:#f1f9fc}.date-picker-popover{position:absolute;z-index:40;top:calc(100% + 8px);left:0;width:340px;padding:12px;border:1px solid #cfe3eb;border-radius:10px;background:#fff;box-shadow:0 18px 45px #14465f2e;overscroll-behavior:contain}.date-picker-popover .rdp-root{--rdp-accent-color: var(--muni-blue);--rdp-accent-background-color: #e7f6fc;--rdp-day_button-border-radius: 8px;--rdp-selected-border: 1px solid var(--muni-blue);margin:0}.date-picker-popover .rdp-month_caption{justify-content:space-between;min-height:38px}.date-picker-popover .rdp-dropdowns{gap:8px}.date-picker-popover .rdp-dropdown{min-height:34px;border:1px solid #d6e5eb;border-radius:7px;color:var(--muni-blue);background:#f6fbfd;font-weight:800}.date-picker-popover .rdp-nav button{border:1px solid #d6e5eb;border-radius:7px;color:var(--muni-blue);background:#f6fbfd}.date-picker-popover .rdp-weekday{color:var(--muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.date-picker-popover .rdp-day_button{font-weight:500}.date-picker-footer{display:flex;justify-content:flex-end;margin-top:10px}.date-picker-footer button{min-height:32px;border:1px solid #d6e5eb;border-radius:7px;color:var(--muni-blue);background:#f6fbfd;font-weight:800}.grouped-search-field input{min-height:38px}.grouped-filter-main{display:grid;grid-template-columns:minmax(170px,auto) minmax(280px,1fr);gap:12px;align-items:end}.grouped-filter-title{min-width:0;display:grid;gap:2px;padding-bottom:2px}.grouped-filter-title h3{font-size:1rem;line-height:1.15}.grouped-filter-title span{color:var(--muted);font-size:.78rem;font-weight:800}.grouped-filter-row{display:grid;grid-template-columns:138px 138px minmax(200px,1fr) minmax(280px,auto);gap:10px;align-items:end}.grouped-insurer-label{min-width:0}.grouped-insurer-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:12px;background:#e1f3fa;color:var(--muni-blue);font-size:.78rem;font-weight:600;white-space:nowrap}.grouped-insurer-chip button{border:0;background:none;cursor:pointer;color:inherit;font-size:1rem;line-height:1;padding:0 1px}.multi-select-typeahead{display:grid;gap:5px}.multi-select-chips{display:flex;flex-wrap:wrap;gap:5px}.grouped-filter-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.grouped-filter-actions .primary-button,.grouped-filter-actions .secondary-button{min-height:38px;white-space:nowrap}.grouped-filter-actions .compact-icon-button{width:38px;min-width:38px;padding:0}.automatic-importer-form{display:grid;gap:18px}.automatic-importer-status{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line)}.automatic-importer-status article{display:grid;gap:5px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#f8fbfc}.automatic-importer-status span{color:var(--muted);font-size:.78rem;font-weight:800}.automatic-importer-status strong{overflow:hidden;color:var(--muni-blue);text-overflow:ellipsis;white-space:nowrap}.automatic-importer-status .secondary-button{align-self:center}.automatic-importer-table-wrap{padding:0 20px 18px}.importer-results-table .panel-empty{min-width:1560px;padding:20px 0}.importer-results-table .account-products-head,.importer-results-table .account-products-row{min-width:1560px}.importer-search-modal{width:min(760px,calc(100vw - 28px))}.importer-search-body{display:grid;gap:16px;padding:20px}.importer-search-section{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#f8fbfc}.importer-date-row{grid-template-columns:repeat(3,minmax(0,1fr))}.automatic-importer-summary{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:6px;background:#f8fbfc}.automatic-importer-summary div{display:flex;flex-wrap:wrap;gap:8px}.automatic-importer-summary span{border-radius:999px;padding:6px 10px;color:var(--muni-blue);background:#e7f6fc;font-size:.82rem;font-weight:800}.automatic-importer-summary small{color:var(--muted)}.importer-destination-modal{width:min(1120px,calc(100vw - 28px));max-height:calc(100vh - 36px);color:var(--ink);background:#fff;border:1px solid #c7d5dd;border-radius:10px}.importer-destination-modal .modal-panel-header{padding:18px 20px 14px;border-bottom:1px solid #e0e8ed;background:#f8fbfd}.importer-destination-modal>.form-note{margin:16px 20px 14px;padding:10px 12px;border:1px solid #cce4f1;border-radius:8px;color:#17405d;background:#eef8fc;font-weight:800}.importer-destination-modal .field{color:#425563}.importer-destination-modal select{min-height:40px;border:1px solid #b8c8d1;border-radius:7px;color:#10293a;background:#fff;font-weight:700}.importer-destination-modal .modal-actions{margin:0;padding:16px 20px 20px;border-top:1px solid #e0e8ed;background:#f8fbfd}.importer-destination-list{display:grid;gap:14px;max-height:min(68vh,680px);overflow:auto;padding:0 20px 18px}.importer-destination-card{display:grid;gap:12px;padding:16px;border:1px solid #cbd8df;border-radius:8px;background:#fff;box-shadow:0 8px 24px #0c223312}.importer-destination-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,320px);gap:14px;align-items:end}.importer-destination-header div{display:grid;gap:4px}.importer-destination-header span,.importer-destination-header small{color:#52606b;font-size:.78rem;font-weight:800}.importer-destination-header strong{color:#063a5f;font-size:1rem;line-height:1.25}.importer-destination-card>.form-note{width:fit-content;margin:0;padding:7px 10px;border:1px solid #d6e6cf;border-radius:7px;color:#2f532e;background:#f1f8ed;font-size:.82rem}.importer-spf-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.spf-option{display:grid;grid-template-columns:18px minmax(0,1fr);gap:4px;justify-items:start;min-height:76px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:#fff;text-align:left;cursor:pointer}.spf-option>span,.spf-option>small,.spf-option>.spf-option-note,.spf-option>.spf-option-footer{grid-column:2}.spf-option-check{grid-row:1 / span 3;grid-column:1;align-self:start;width:16px;height:16px;margin:2px 0 0;accent-color:var(--health-cyan-dark);pointer-events:none}.spf-option.selected{cursor:default}.spf-option:focus-visible{outline:2px solid var(--health-cyan-dark);outline-offset:2px}.spf-option.selected{border-color:#14783f;background:#e7f7ee}.spf-option span{font-weight:900}.spf-option small{color:var(--muted);font-size:.78rem}.spf-option-note{color:var(--muni-blue);font-size:.76rem;font-weight:900}.spf-option-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.spf-option-action{min-height:26px;padding:0 9px;border:1px solid var(--health-cyan-dark);border-radius:6px;color:var(--muni-blue);background:#eef8fc;font-size:.74rem;font-weight:900}.spf-option-action:disabled{opacity:.55;cursor:default}.spf-option.selected .spf-option-note{color:#14783f}.importer-destination-table{overflow:auto;border:1px solid #ccd8de;border-radius:8px;background:#fff}.importer-destination-head,.importer-destination-row{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(190px,1fr) 110px 110px;gap:10px;align-items:center;min-width:720px;padding:9px 12px}.importer-destination-head{color:#29485b;background:#e8f2f7;font-size:.75rem;font-weight:900;text-transform:uppercase}.importer-destination-row+.importer-destination-row{border-top:1px solid #e2e8ec}.importer-destination-row strong,.importer-destination-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.importer-destination-row strong{color:#10293a}.importer-destination-row span{color:#4f5d66;font-size:.82rem}@media(max-width:980px){.grouped-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.grouped-filter-main{grid-template-columns:minmax(0,1fr)}.grouped-filter-actions{justify-content:flex-start}.importer-destination-header{grid-template-columns:minmax(0,1fr)}}@media(max-width:640px){.grouped-filter-row{grid-template-columns:minmax(0,1fr)}}.grouped-details-table{max-height:calc(100vh - 245px);min-height:280px;overflow:auto;scrollbar-gutter:stable}.grouped-details-head,.grouped-details-row{display:grid;gap:12px;align-items:center;min-width:960px;padding:10px 0}.grouped-details-head{position:sticky;top:0;z-index:4;color:var(--muni-blue);background:#e7f6fc;font-size:.78rem;font-weight:800;text-transform:uppercase}.grouped-details-row{border-top:1px solid #edf0f2;padding:10px 0}.grouped-details-row:hover{background:#f7fbfe}.grouped-details-row.expanded{background:#f4f9fd}.grouped-details-row .icon-button{width:32px;height:32px}.grouped-details-row span,.grouped-details-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grouped-details-row div{display:grid;gap:2px;min-width:0}.grouped-details-row div strong,.grouped-details-row div small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grouped-detail-expanded{min-width:960px;padding:0 0 14px 84px;border-top:1px solid #edf0f2;background:#f4f9fd}.grouped-detail-lines{overflow:hidden;border:1px solid #d8e8ef;border-radius:8px;background:#fff}.grouped-detail-lines-head,.grouped-detail-line{display:grid;grid-template-columns:minmax(220px,1.1fr) 120px minmax(260px,1.3fr) 90px 120px 120px 130px;gap:12px;align-items:center;padding:10px 14px}.grouped-detail-lines-head{color:var(--muni-blue);background:#eef8fc;font-size:.76rem;font-weight:800;text-transform:uppercase}.grouped-detail-line{border-top:1px solid #eef2f4}.grouped-detail-line div{min-width:0}.grouped-detail-line strong,.grouped-detail-line span,.grouped-detail-line small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grouped-detail-line small{margin-top:3px;color:var(--muted);font-size:.78rem}.puco-results{display:grid}.puco-results article{display:grid;grid-template-columns:120px minmax(0,1fr) minmax(240px,1fr);gap:12px;align-items:center;padding:12px 18px;border-top:1px solid #edf0f2}.puco-results span,.puco-results small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.superfactura-item-row{grid-template-columns:minmax(0,1fr) 190px auto;padding-left:0;padding-right:0}.readonly-field{display:grid;gap:6px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:#e7f6fc}.readonly-field span{color:var(--muted);font-size:.82rem;font-weight:800}.readonly-field .principal-status{width:fit-content;margin-top:2px;padding:3px 8px;border-radius:999px;color:#14783f;background:#e7f7ee;font-size:.75rem;font-weight:900}.account-products-table{overflow-x:auto}.account-products-head,.account-products-row{display:grid;grid-template-columns:48px 95px minmax(210px,1fr) minmax(230px,1.1fr) 120px 150px 115px minmax(180px,.9fr) 120px;gap:12px;align-items:center;min-width:1340px;padding:12px 0}.account-products-head{padding:10px 0;color:var(--muni-blue);background:#e7f6fc;font-size:.78rem;font-weight:600;text-transform:uppercase}.detail-sort-head{position:relative;min-width:0;height:100%;display:flex;align-items:center}.detail-sort-head .sort-head{width:100%;min-width:0;overflow:hidden}.column-resize-handle{position:absolute;top:-10px;right:-6px;bottom:-10px;width:10px;z-index:3;cursor:col-resize;touch-action:none}.column-resize-handle:after{content:"";position:absolute;top:7px;right:4px;bottom:7px;width:1px;background:#004b8147}.column-resize-handle:hover:after{width:2px;background:var(--health-cyan-dark)}.column-context-layer{position:fixed;z-index:220;top:0;right:0;bottom:0;left:0}.column-context-menu{position:fixed;width:238px;max-height:min(560px,calc(100dvh - 16px));display:grid;gap:4px;padding:10px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 18px 44px #00283138}.column-context-menu>strong{padding:4px 6px 8px;color:var(--muni-blue);font-size:.82rem}.column-context-row{min-height:34px;display:flex;align-items:center;gap:2px;border-radius:5px;padding:0 4px;cursor:pointer}.column-context-row:hover{background:#f0f8fb}.column-context-row>svg{flex-shrink:0;color:var(--muted);cursor:grab}.column-context-row.is-dragging{opacity:.45;background:#e7f6fc}.column-context-menu label{min-width:0;flex:1;min-height:34px;display:flex;align-items:center;gap:8px;padding:0 3px;cursor:pointer}.column-context-menu label input{position:absolute;opacity:0;pointer-events:none}.column-context-menu .check-box{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #b8cbd5;border-radius:4px;color:transparent;background:#fff}.column-context-menu input:checked+.check-box{border-color:var(--health-cyan-dark);color:#fff;background:var(--health-cyan-dark)}.column-context-actions{display:grid;gap:4px;margin-top:5px;padding-top:7px;border-top:1px solid var(--line)}.column-context-actions button{min-height:34px;border:0;border-radius:5px;color:var(--muni-blue);background:transparent;text-align:left;font-weight:800}.column-context-actions button:hover{background:#e7f6fc}.account-products-row{border-top:1px solid #edf0f2}.account-products-row.pending-delete{background:#fff7f7;opacity:.74}.account-products-row.pending-delete strong,.account-products-row.pending-delete small{text-decoration:line-through}.account-products-row div:not(.row-actions){display:grid;gap:3px;min-width:0}.account-products-row strong,.account-products-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-products-row strong{font-weight:400}.account-products-row small{color:var(--muted);font-weight:400}.account-products-row .importer-spf-cell{align-content:center;justify-items:start}.account-products-row .importer-spf-cell .spf-status-badge{display:inline-flex;align-items:center;width:fit-content;max-width:100%;border-radius:999px;padding:4px 8px;font-size:.76rem;font-weight:900;line-height:1.15}.account-products-row .importer-spf-cell .spf-status-badge.loaded{color:#14783f!important;background:#e7f7ee!important}.account-products-row .importer-spf-cell .spf-status-badge.existing{color:#b42318!important;background:#fff0ef!important}.account-products-row .importer-spf-cell .spf-status-badge.empty{color:var(--muted)!important;background:#eef2f4!important}.account-products-row .importer-spf-cell small{color:var(--muted)}.concept-actions-menu{position:relative}.concept-actions-menu summary{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;color:var(--muni-blue);background:#e7f6fc;cursor:pointer;list-style:none}.concept-actions-menu summary::-webkit-details-marker{display:none}.concept-actions-popover{position:absolute;z-index:12;top:calc(100% + 5px);left:0;width:max-content;min-width:180px;padding:5px;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:0 12px 30px #0028312e}.concept-actions-popover button{width:100%;min-height:32px;display:flex;align-items:center;gap:8px;border:0;border-radius:5px;padding:0 10px;color:var(--muni-blue);background:transparent;font-size:12.5px;font-weight:600;white-space:nowrap}.concept-actions-popover button:hover{background:#e7f6fc}.concept-actions-popover button:disabled,.panel-actions button:disabled,.primary-button:disabled{opacity:.42;filter:grayscale(.85);cursor:not-allowed}.concept-actions-popover .concept-action-neutral{color:var(--muni-blue)}.concept-actions-popover .concept-action-neutral:hover{background:#e7f6fc}.concept-actions-popover .concept-detail-action{color:var(--muni-blue)}.concept-actions-popover .concept-detail-action:hover{background:#e7f6fc}.concept-actions-popover .concept-action-danger{color:#c0392b}.concept-actions-popover .concept-action-danger:hover{background:#fdecea}.concept-actions-popover .concept-action-danger:disabled{opacity:.4;cursor:not-allowed}.inline-tarifa-editor{display:grid;gap:5px}.inline-tarifa-editor select,.inline-tarifa-editor input{width:100%;min-width:0;height:30px;border:1px solid var(--line);border-radius:5px;padding:0 8px;background:#fff;color:var(--text);font-size:12px}.tarifa-edit-confirm-modal{width:min(540px,calc(100vw - 24px));border:1px solid #d5e8ef;border-radius:8px;background:#fff;color:var(--ink)}.tarifa-edit-confirm-body,.tarifa-approval-reason{display:grid;gap:12px;padding:0 20px 16px}.tarifa-edit-confirm-modal .modal-panel-header{padding:20px 20px 12px;border-bottom:1px solid #e3eff4}.tarifa-edit-confirm-modal .section-title{color:var(--health-cyan-dark)}.tarifa-edit-confirm-modal .section-title h3{margin:0;color:var(--ink);font-size:1rem;font-weight:800}.tarifa-edit-confirm-modal .field{color:var(--ink)}.tarifa-edit-confirm-modal .field>span{color:var(--health-cyan-dark);font-size:.75rem;font-weight:800}.tarifa-edit-confirm-modal select,.tarifa-edit-confirm-modal input,.tarifa-edit-confirm-modal textarea{border-color:#bfd8e5;background:#fff;color:var(--ink);font-weight:600}.tarifa-edit-confirm-modal select:focus,.tarifa-edit-confirm-modal input:focus,.tarifa-edit-confirm-modal textarea:focus{outline:none;border-color:var(--health-cyan-dark);box-shadow:0 0 0 3px #00a0c81f}.tarifa-edit-confirm-modal .form-note{padding:10px 12px;border:1px solid #d6edf5;border-radius:7px;background:#f4fbfd;color:#28556a;font-size:.84rem;font-weight:700;line-height:1.35}.tarifa-edit-confirm-modal .modal-actions{padding:0 20px 20px}.tarifa-approval-reason{grid-template-columns:minmax(180px,.75fr) minmax(220px,1fr)}.tarifa-changed-value{position:relative;display:inline-flex;align-items:center;gap:4px;color:#0f5fa8;text-decoration-line:underline;text-decoration-style:dotted;text-decoration-thickness:1.5px;text-underline-offset:4px;cursor:help}.tarifa-changed-value:hover:after,.tarifa-changed-value:focus-visible:after{content:attr(data-tooltip);position:absolute;z-index:60;left:0;bottom:calc(100% + 8px);width:max-content;max-width:min(420px,80vw);padding:9px 10px;border:1px solid #bdd9e7;border-radius:7px;background:#fff;color:var(--ink);box-shadow:0 14px 34px #004b8133;font-size:12px;font-weight:500;line-height:1.35;text-align:left;text-decoration:none;white-space:pre-line;pointer-events:none}.tarifa-changed-value:hover:before,.tarifa-changed-value:focus-visible:before{content:"";position:absolute;z-index:61;left:12px;bottom:calc(100% + 3px);width:9px;height:9px;background:#fff;border-right:1px solid #bdd9e7;border-bottom:1px solid #bdd9e7;transform:rotate(45deg);pointer-events:none}.tarifa-changed-value strong,.tarifa-changed-value span{font-weight:500}.tarifa-summary{margin-top:12px}.tarifa-approval-modal{width:min(1120px,calc(100vw - 32px));max-height:min(820px,calc(100dvh - 32px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #cfe3eb;border-radius:8px;background:#fff}.tarifa-approval-modal .modal-panel-header{align-items:center;padding:20px 22px 14px;border-bottom:1px solid #edf2f5}.tarifa-approval-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:14px 22px 0}.tarifa-approval-summary article{border:1px solid var(--line);border-radius:8px;padding:9px 10px;background:#f8fbfd}.tarifa-approval-summary span{display:block;color:var(--muted);font-size:11px}.tarifa-approval-summary strong{display:block;margin-top:2px;color:var(--muni-blue);font-size:14px;font-weight:650}.tarifa-approval-list{flex:1 1 auto;min-height:0;overflow:auto;padding:10px 22px 0}.tarifa-approval-modal>.form-note{padding:10px 22px 0;color:#4f5b67}.tarifa-rule-note{display:grid;grid-template-columns:28px 1fr;align-items:start;gap:10px;margin:12px 22px 16px;padding:12px 14px;border:1px solid #c9e8f4;border-radius:7px;background:#f2fbfe;color:var(--muni-blue)}.tarifa-rule-note svg{margin-top:1px;color:var(--health-cyan-dark)}.tarifa-rule-note p{margin:0;color:#315263;font-size:.86rem;line-height:1.45}.tarifa-approval-block{border:1px solid var(--line);border-radius:8px;margin-bottom:10px;overflow:hidden}.tarifa-approval-block h4{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:9px 12px;font-size:13px;color:#0c2233;background:#f4f8fb;border-bottom:1px solid var(--line)}.tarifa-approval-block article{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px;align-items:center;padding:10px 12px;border-bottom:1px solid #edf2f5;background:#fff}.tarifa-approval-block article:has(.tarifa-approval-row-check){grid-template-columns:26px minmax(0,1fr) 260px}.tarifa-approval-block article:last-child{border-bottom:0}.tarifa-approval-block span,.tarifa-approval-block small{display:block;color:var(--muted);font-size:11.5px}.tarifa-approval-block strong{display:block;margin:2px 0;color:var(--ink);font-size:13px;font-weight:600}.tarifa-approval-item-summary{min-width:0}.tarifa-approval-item-summary>span{color:#267343;font-size:11px;font-weight:750;text-transform:uppercase}.tarifa-approval-item-summary>strong{color:#0c2233;font-size:14px;font-weight:750}.tarifa-approval-item-summary>small:first-of-type{color:#334155;font-size:12.5px;font-weight:650}.tarifa-price-compare{display:grid;grid-template-columns:1fr;justify-items:end;align-content:center;gap:2px;text-align:right}.tarifa-price-compare span{color:#64748b;font-size:11px;font-weight:650;text-transform:uppercase}.tarifa-price-compare strong{margin:0 0 4px;font-size:14px;font-weight:750}.tarifa-price-compare strong:last-child{color:var(--muni-blue)}.tarifa-approval-check{display:inline-flex;align-items:center;gap:7px;min-width:0;color:#4f5b67;font-size:12px;font-weight:650;text-transform:none}.tarifa-approval-check input{width:16px;min-width:16px;height:16px;min-height:16px;margin:0;accent-color:var(--health-cyan-dark)}.tarifa-approval-check-all{white-space:nowrap}.tarifa-approval-row-check{justify-content:center}.tarifa-approval-unselected{background:#fafbfc;opacity:.68}.tarifa-approval-ok h4{background:#eaf8f0;color:#234b2c}.tarifa-approval-warn h4{background:#fff8e7;color:#624715}.tarifa-approval-skip h4{background:#f6f7f8;color:#384553}.tarifa-approval-modal .modal-actions{padding:14px 22px 20px;border-top:1px solid #edf2f5;background:#fff}@media(max-width:760px){.tarifa-approval-modal{width:min(100%,calc(100vw - 20px));max-height:calc(100dvh - 20px)}.tarifa-approval-modal .modal-panel-header,.tarifa-approval-summary,.tarifa-approval-list,.tarifa-approval-modal>.form-note,.tarifa-approval-modal .modal-actions{padding-left:14px;padding-right:14px}.tarifa-approval-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.tarifa-approval-block article{grid-template-columns:1fr}.tarifa-approval-block article:has(.tarifa-approval-row-check){grid-template-columns:24px minmax(0,1fr)}.tarifa-approval-block article:has(.tarifa-approval-row-check) .tarifa-price-compare{grid-column:2}.tarifa-price-compare{justify-items:start;text-align:left}}.concept-actions-divider{height:1px;background:var(--line);margin:4px 0}.table-header-menu{position:relative}.table-header-menu .concept-actions-popover{top:calc(100% + 4px);left:0;right:auto;min-width:220px}.modal-panel.concept-detail-modal{width:min(920px,100%);display:grid;gap:16px;padding:20px;overflow:hidden;border:1px solid #cfe3eb;border-radius:8px;background:#fff;box-shadow:0 20px 55px #004b8133}.concept-detail-backdrop{background:#004b811a}.concept-detail-header,.concept-detail-header>div{display:flex;align-items:center;gap:10px}.concept-detail-header{justify-content:space-between;color:var(--muni-blue)}.concept-detail-header span{display:block;color:var(--muted);font-size:.75rem;font-weight:600;text-transform:uppercase}.concept-detail-header h3{margin:2px 0 0}.concept-detail-scroll{display:grid;gap:18px;max-height:min(65vh,570px);overflow-y:auto;padding-right:6px}.concept-detail-section{display:grid;gap:8px}.concept-detail-section+.concept-detail-section{padding-top:14px;border-top:1px solid var(--line)}.concept-detail-section h4{margin:0;color:var(--muni-blue);font-size:.82rem;font-weight:600;text-transform:uppercase}.concept-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:18px;row-gap:2px}.concept-detail-value{min-width:0;display:grid;gap:4px;padding:8px 2px 9px;border-bottom:1px solid #e8eef1}.concept-detail-value.wide{grid-column:span 2}.concept-detail-value span{color:var(--muted);font-size:.74rem;font-weight:600;text-transform:uppercase}.concept-detail-value strong{overflow:hidden;color:var(--ink);font-size:.88rem;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.tarifa-compare-panel{margin-top:12px;border:1px solid #d9e7ed;border-radius:8px;overflow:hidden;background:#fbfdfe}.tarifa-compare-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #e5eef2;background:#f3f8fb}.tarifa-compare-title span,.tarifa-compare-title small,.tarifa-compare-note{color:var(--muted);font-size:.74rem;font-weight:600;text-transform:uppercase}.tarifa-compare-title strong{display:block;margin-top:2px;color:var(--muni-blue);font-size:.92rem;font-weight:650}.tarifa-compare-table{display:grid;grid-template-columns:100px minmax(105px,1fr) minmax(105px,1fr) minmax(120px,1fr);align-items:center}.tarifa-compare-table>*{min-width:0;padding:9px 12px;border-bottom:1px solid #edf3f6}.tarifa-compare-table>span:nth-child(4n+2),.tarifa-compare-table>span:nth-child(4n+3),.tarifa-compare-table>span:nth-child(4n+4){text-align:right}.tarifa-compare-table>strong{color:var(--ink);font-size:.84rem;font-weight:600}.tarifa-compare-table>span{color:var(--ink);font-size:.88rem}.tarifa-compare-table>span:nth-child(2),.tarifa-compare-table>span:nth-child(3),.tarifa-compare-table>span:nth-child(4){color:var(--muted);font-size:.72rem;font-weight:700;text-transform:uppercase}.custom-price-form{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:10px;padding:12px;border-top:1px solid #edf3f6;background:#fbfdff}.custom-price-form .wide{grid-column:span 2}.custom-price-form button{align-self:end}.tarifa-compare-note{display:block;padding:8px 12px}.concept-detail-actions{justify-content:flex-end;border-top:1px solid var(--line);padding-top:12px}.concept-detail-actions .secondary-button{gap:7px}@media(max-width:700px){.concept-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tarifa-compare-table{grid-template-columns:78px repeat(3,minmax(74px,1fr))}.custom-price-form{grid-template-columns:1fr}.custom-price-form .wide{grid-column:auto}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:22px;overflow:auto;background:#0c223370}.duplicate-backdrop{z-index:200}.duplicate-dialog{display:grid;gap:14px;padding:24px;background:#fff;border-radius:10px;width:min(520px,100%)}.duplicate-dialog-header{display:flex;align-items:center;gap:10px}.duplicate-dialog-header h3{font-size:1rem;font-weight:800;color:var(--ink);margin:0}.duplicate-icon{color:#c97a00;flex-shrink:0}.duplicate-dialog-desc{font-size:.9rem;color:var(--ink);margin:0}.duplicate-list{display:grid;gap:6px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:#f8fbfd}.duplicate-item{display:grid;grid-template-columns:130px 1fr 1fr;gap:10px;font-size:.85rem;align-items:center}.duplicate-item strong{color:var(--health-cyan-dark)}.duplicate-item span{color:var(--muted)}.duplicate-dialog-question{font-size:.9rem;font-weight:700;color:var(--ink);margin:0}.modal-panel{width:min(600px,100%);max-height:calc(100dvh - 44px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 24px 70px #00283147}.modal-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.modal-close-btn{display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}.modal-close-btn:hover{background:var(--hover);color:var(--text)}.modal-actions{display:flex;justify-content:flex-end;gap:10px}.delete-modal{position:relative;width:min(520px,100%);display:grid;gap:14px;padding:24px;border:1px solid #ffd1d1;border-radius:8px;background:#fff;box-shadow:0 24px 70px #00283147}.delete-modal-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:8px;color:#870000;background:#fff1f1}.save-modal-icon{color:var(--muni-blue);background:#e7f6fc}.delete-modal p{margin:0;color:var(--muted);line-height:1.45}.delete-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.delete-summary div{display:grid;gap:4px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fbfdfe}.delete-summary span{color:var(--muted);font-size:.78rem;font-weight:800;text-transform:uppercase}.delete-summary strong{min-width:0;overflow:hidden;color:var(--ink);text-overflow:ellipsis;white-space:nowrap}.delete-summary p{grid-column:1 / -1}.concept-summary{display:grid;gap:12px;padding:14px;border:1px solid #b7e4c7;border-radius:8px;background:#f0fff4}.concept-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.concept-summary-head div{display:grid;gap:4px}.concept-summary-head strong{color:var(--success)}.concept-summary-head span{color:var(--muted)}.concept-summary-head button{min-height:34px;border:0;border-radius:6px;padding:0 12px;color:var(--success);background:#d8f3dc;font-weight:800}.concept-summary-block{display:grid;gap:8px}.concept-summary-block h4{margin:0;color:var(--success)}.concept-summary-block.skipped h4{color:#870000}.concept-summary-block article{display:grid;grid-template-columns:130px 100px 150px minmax(0,1fr);gap:10px;align-items:center;padding:9px 10px;border:1px solid rgba(47,83,46,.18);border-radius:8px;background:#fff}.concept-summary-block span,.concept-summary-block small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.insurer-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:12px;padding:16px;border-bottom:1px solid var(--line)}.insurers-table{overflow-x:auto}.insurers-head,.insurers-row{display:grid;grid-template-columns:minmax(320px,1fr) 140px 120px 150px 110px 90px;gap:14px;align-items:center;min-width:1040px;padding:12px 18px}.insurers-head{color:var(--muni-blue);background:#e7f6fc;font-size:.8rem;font-weight:800;text-transform:uppercase}.insurers-row{border-top:1px solid #edf0f2}.insurers-row div{display:grid;gap:4px;min-width:0}.insurers-row span,.insurers-row small{color:var(--muted)}.insurers-row strong,.insurers-row span,.insurers-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.alias-input{min-height:38px}.verify-modal{display:grid;gap:16px;width:min(980px,calc(100vw - 32px));max-height:min(760px,calc(100vh - 36px));padding:18px;overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0029533d}.verify-modal .panel-header{padding:0 0 12px;border-bottom:1px solid var(--line)}.verify-modal .panel-header div{display:grid;gap:4px}.verify-modal .panel-header p,.verify-modal .panel-header small{margin:0;color:var(--muted)}.verify-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.verify-summary article{display:grid;gap:5px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#f7fbfd}.verify-summary span{color:var(--muted);font-size:.78rem;font-weight:800;text-transform:uppercase}.verify-summary strong{color:var(--muni-blue);font-size:1.35rem}.verify-differences{display:grid;gap:12px;min-height:0;overflow-y:auto;padding-right:4px}.verification-history{display:grid;gap:8px;padding-top:12px;border-top:1px solid var(--line)}.verification-history h4{margin:0;color:var(--muni-blue);font-size:.9rem}.verification-history article{display:grid;grid-template-columns:160px minmax(190px,auto) minmax(0,1fr);gap:10px;align-items:center;padding:9px 10px;border:1px solid #e4eef3;border-radius:8px;background:#f9fcfd}.verification-history span,.verification-history small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.verify-diff-card{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.verify-diff-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start}.verify-diff-head>div:first-child{display:grid;gap:3px;min-width:0}.verify-diff-head span{color:var(--health-cyan-dark);font-size:.78rem;font-weight:900}.verify-diff-head strong,.verify-diff-head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.verify-diff-head small{color:var(--muted)}.compare-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.compare-columns div{display:grid;gap:5px;min-width:0;padding:12px;border:1px solid #e4eef3;border-radius:8px;background:#f9fcfd}.compare-columns h4,.compare-columns p{margin:0}.compare-columns p,.compare-columns small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compare-columns h4{color:var(--muni-blue);font-size:.82rem}.compare-columns small{color:var(--muted)}.empty-state{display:grid;align-content:center;justify-items:start;gap:12px;min-height:260px;padding:28px;border:1px solid var(--line);border-radius:8px;background:#fff}.empty-state svg{color:var(--health-cyan-dark)}.empty-state p{max-width:620px;color:var(--muted);line-height:1.45}.acercando-view{display:grid;gap:16px}.acercando-header,.acercando-filters,.acercando-layout{min-width:0}.acercando-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.acercando-header h3,.acercando-detail h3{margin:0;color:var(--muni-blue)}.segmented-control{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:8px;background:#fff}.segmented-control button{min-height:34px;display:inline-flex;align-items:center;gap:8px;border:0;border-radius:6px;padding:0 12px;color:var(--muni-blue);background:transparent;font-weight:800}.segmented-control button.active{color:#fff;background:var(--muni-blue)}.acercando-filters{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr)) minmax(220px,1.4fr) repeat(2,minmax(130px,1fr)) auto;align-items:end;gap:10px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.acercando-center-field{min-width:220px}.acercando-filters .primary-button{width:100%}.selected-centers{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.selected-centers button{min-height:26px;display:inline-flex;align-items:center;gap:5px;border:1px solid #cde5ef;border-radius:999px;padding:0 8px;color:var(--muni-blue);background:#f2f9fd;font-size:.76rem;font-weight:800}.selected-centers span{max-width:min(260px,72vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.acercando-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:16px;align-items:start}.acercando-table-wrap{width:100%;overflow:auto}.download-list-actions{display:inline-flex;align-items:center;gap:6px;padding:4px;border:1px solid var(--line);border-radius:8px;background:#fff}.download-list-actions span{padding:0 8px;color:var(--muted);font-size:.78rem;font-weight:800}.download-list-actions button{min-height:30px;border:0;border-radius:6px;padding:0 9px;color:var(--muni-blue);background:#e7f6fc;font-size:.78rem;font-weight:900}.download-list-actions button:hover{background:#d8eef8}.acercando-table{width:100%;min-width:1180px;border-collapse:collapse}.acercando-table th,.acercando-table td{padding:10px 12px;border-top:1px solid #e4eef3;text-align:left;vertical-align:top}.acercando-table th{position:sticky;top:0;z-index:1;background:#f8fbfd}.acercando-table th button{border:0;padding:0;color:var(--muni-blue);background:transparent;font:inherit;font-weight:900;cursor:pointer}.acercando-table th input{width:100%;min-height:28px;margin-top:6px;border:1px solid var(--line);border-radius:6px;padding:0 8px;font-size:.78rem}.acercando-table tbody tr{cursor:default;transition:background .16s ease,box-shadow .16s ease}.acercando-table tbody tr:hover,.acercando-table tbody tr:focus{outline:none;background:#eef8fc;box-shadow:inset 3px 0 0 var(--health-cyan)}.acercando-table tbody tr.is-done{background:#fbfefb}.acercando-table tbody tr.is-absent{background:#fff8f0}.acercando-table strong,.acercando-table span,.acercando-table small{display:block;max-width:260px}.acercando-table small{margin-top:3px;color:var(--muted);line-height:1.25}.acercando-list{display:grid}.acercando-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border-top:1px solid #e4eef3;background:#fff}.acercando-list article.selected{background:#f2f9fd}.acercando-list article>div:first-child{display:grid;gap:3px;min-width:0}.acercando-list strong,.acercando-list span,.acercando-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.acercando-list span,.acercando-list small{color:var(--muted)}.acercando-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;min-width:250px}.acercando-row-actions button{min-height:28px;display:inline-flex;align-items:center;gap:5px;border:1px solid #cfe8f1;border-radius:6px;padding:0 7px;color:var(--muni-blue);background:#f4fbfe;font-size:.76rem;font-weight:800}.acercando-row-actions button:nth-child(3){margin-left:7px;color:#1d5e2a;border-color:#ccebd2;background:#f3fbf5}.acercando-row-actions button:nth-child(4){color:#8a4b00;border-color:#f3d5a8;background:#fff9f0}.acercando-row-actions button:disabled{cursor:not-allowed;opacity:.55}.status-pill{display:inline-flex;align-items:center;min-height:32px;border-radius:999px;padding:0 10px;color:var(--muni-blue);background:#e7f6fc;font-size:.78rem;font-weight:900}.status-pill.done{color:#1d5e2a;background:#e9f8ec}.status-pill.absent{color:#8a4b00;background:#fff1dc}@media(max-width:1120px){.acercando-filters{grid-template-columns:repeat(4,minmax(130px,1fr))}.acercando-center-field,.acercando-filters .primary-button{grid-column:span 2}}@media(max-width:760px){.acercando-header{align-items:stretch;flex-direction:column}.acercando-header .segmented-control,.acercando-header .segmented-control button{width:100%}.acercando-header .segmented-control button{justify-content:center}.acercando-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}.acercando-center-field,.acercando-filters .primary-button{grid-column:1 / -1}.acercando-center-field,.acercando-filters .field,.acercando-filters input,.acercando-filters .typeahead,.acercando-filters .date-picker,.acercando-filters .date-picker-input{width:100%;min-width:0}.selected-centers{gap:7px}.selected-centers button{max-width:100%;min-height:32px}.download-list-actions{width:100%;flex-wrap:wrap;justify-content:flex-start}}@media(max-width:460px){.acercando-filters{grid-template-columns:1fr}.acercando-center-field,.acercando-filters .primary-button{grid-column:auto}.acercando-filters .primary-button{min-height:50px}}.acercando-detail{display:grid;gap:14px}.acercando-detail-modal{width:min(860px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;padding:28px 34px}.acercando-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid var(--line)}.acercando-modal-header h3{margin:3px 0 0;color:var(--muni-blue)}.acercando-modal-header .modal-close-btn{margin-left:auto;flex:0 0 auto}.detail-list{display:grid;grid-template-columns:118px minmax(0,1fr);gap:8px 12px;margin:0}.detail-list dt{color:var(--muni-blue);font-weight:900}.detail-list dd{min-width:0;margin:0;color:var(--ink);overflow-wrap:anywhere}.acercando-detail-modal .detail-list{grid-template-columns:150px minmax(0,1fr);gap:13px 20px}.acercando-detail-modal .detail-list dt{padding-top:2px}.acercando-detail-modal .modal-actions{padding-top:18px;margin-top:18px;border-top:1px solid var(--line)}.realization-date-modal{width:min(420px,calc(100vw - 32px));padding:24px}.practice-list{display:grid;border:1px solid #dceaf0;border-radius:8px;overflow:hidden}.practice-list div{display:grid;grid-template-columns:minmax(96px,.35fr) minmax(0,1fr);gap:10px;padding:9px 10px;border-top:1px solid #e7f0f4;background:#fff}.practice-list div:first-child{border-top:0}.practice-list strong{color:var(--muni-blue)}.practice-list span{min-width:0}.compact-empty{min-height:180px;padding:18px;border:0}.unit-pills{display:flex;flex-wrap:wrap;gap:8px}.unit-pills span{padding:7px 10px;border-radius:999px;color:var(--muni-blue);background:#e7f6fc;font-weight:800}.notification-wrap{position:relative}.notification-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:transparent;border:0;cursor:default;pointer-events:none}.notification-backdrop.active{pointer-events:auto}.icon-button{position:relative;width:42px;height:42px;border:0;border-radius:6px;color:var(--muni-blue);background:#e7f6fc}.icon-button span{position:absolute;top:-6px;right:-6px;min-width:20px;min-height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;color:#fff;background:#870000;font-size:.72rem;font-weight:800}.notification-popover{position:fixed;top:72px;right:14px;z-index:1001;width:min(360px,calc(100vw - 24px));max-height:70vh;overflow-y:auto;overscroll-behavior:contain;display:grid;gap:10px;padding:16px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 18px 50px #0028312e;opacity:0;pointer-events:none;transform:translateY(-6px);transition:opacity .15s ease,transform .15s ease}.notification-popover.active{opacity:1;pointer-events:auto;transform:translateY(0)}.notification-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.notification-head-actions{display:flex;align-items:center;gap:6px}.notification-close{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid var(--line);border-radius:6px;color:var(--muted);background:transparent;flex-shrink:0}.notification-close:hover{background:#f0f4f7}.notification-popover article>div{display:flex;align-items:center;justify-content:space-between;gap:10px}@media(max-width:980px){.notification-popover{top:54px;left:10px;right:10px;width:auto}}.notification-head button,.notification-popover article button{border:1px solid #c9e9f4;border-radius:6px;color:var(--muni-blue);background:#e7f6fc;font-size:.78rem;font-weight:800;white-space:nowrap}.notification-popover article{display:grid;gap:4px;padding-top:10px;border-top:1px solid #edf0f2}.notification-popover article.is-read{opacity:.72}.notification-popover article .unread-button{border-color:#d9c4f0!important;color:#5a3e8a!important;background:#f3eeff!important}.notification-popover span{color:var(--muni-blue);font-weight:800}.notification-popover p{margin:0;color:var(--muted)}.notification-popover small{color:var(--muted);font-weight:700}.notification-admin-panel{align-content:start;gap:16px}.rich-editor{border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#fff;text-transform:none}.rich-toolbar{display:flex;align-items:center;gap:2px;padding:4px 6px;border-bottom:1px solid var(--line);background:#f7fafc;flex-wrap:wrap}.rich-toolbar button{width:28px;height:28px;min-height:unset;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid transparent;border-radius:4px;color:var(--muni-blue);background:transparent;font-weight:700}.rich-toolbar button:hover{background:#e7f6fc;border-color:#c0dde8}.rich-sep{display:inline-block;width:1px;height:18px;background:var(--line);margin:0 3px;flex-shrink:0}.rich-link-bar{display:flex;align-items:center;gap:6px;padding:5px 8px;border-bottom:1px solid var(--line);background:#f0f8fc}.rich-link-bar input{flex:1;min-height:28px;padding:0 8px;border:1px solid var(--line);border-radius:4px;font-size:.82rem;width:100%}.rich-link-bar button{min-height:28px;padding:0 10px;border-radius:4px;font-size:.8rem;font-weight:700;white-space:nowrap}.rich-content{min-height:110px;max-height:280px;overflow-y:auto;padding:10px 12px;outline:none;font-size:.88rem;line-height:1.55;color:var(--muni-blue);text-transform:none}.rich-content *,.rich-editor *{text-transform:none}.rich-content:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.rich-content a{color:var(--health-cyan-dark);text-decoration:underline;word-break:break-all}.rich-content ul{padding-left:20px;margin:4px 0}.notification-popover p a{color:var(--health-cyan-dark);text-decoration:underline;word-break:break-all}.notification-history{display:grid;gap:8px;max-height:280px;overflow:auto}.notification-history.aviso-history{display:flex;flex-direction:column;gap:0;padding:0}.aviso-history .aviso-search-wrap{position:sticky;top:0;background:#fff;z-index:1}.aviso-history button{border-radius:0;border-left:none;border-right:none;border-top:none;border-bottom:1px solid var(--line);padding:10px 14px}.notification-history button{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:#fff;text-align:left}.notification-history button.selected{border-color:var(--muni-cyan);background:#e7f6fc}.notification-history span,.detail-title span{color:var(--muni-blue);font-weight:900}.notification-history strong,.notification-history small{color:var(--muted);font-size:.78rem}.notification-detail{display:grid;gap:12px;padding-top:14px;border-top:1px solid var(--line)}.detail-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.detail-title p{margin:4px 0 0;color:var(--muted)}.switch-line{display:inline-flex;align-items:center;gap:8px;color:var(--muni-blue);font-weight:800;white-space:nowrap}.notif-detail-modal{max-width:560px}.notif-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid var(--line)}.notif-detail-head .section-title{margin-bottom:4px}.notif-detail-message{font-size:.88rem;color:var(--muted);line-height:1.5;max-height:120px;overflow-y:auto}.notification-admin-panel{max-width:560px}.badge-inactive{display:inline-block;font-size:.68rem;font-weight:700;color:var(--muted);background:#f0f4f7;border-radius:4px;padding:1px 6px;letter-spacing:.03em;text-transform:uppercase;vertical-align:middle}.data-row.is-disabled{opacity:.55}.tag-filter-bar{display:flex;flex-wrap:wrap;gap:6px;padding:8px 14px;border-bottom:1px solid var(--line);background:#f7fafc}.tag-filter-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border:1.5px solid var(--line);border-radius:20px;font-size:.78rem;font-weight:600;color:var(--muted);background:#fff;cursor:pointer;transition:border-color .12s,background .12s,color .12s;white-space:nowrap}.tag-filter-chip:hover{border-color:var(--health-cyan-dark);color:var(--health-cyan-dark)}.tag-filter-chip.active{border-color:var(--health-cyan-dark);background:var(--health-cyan-dark);color:#fff}.tag-filter-chip .spf-tag-icon{display:flex;align-items:center;width:14px;height:14px}.tag-filter-chip .spf-tag-icon svg{width:14px;height:14px}.login-screen-config{display:grid;gap:20px}.config-section-title{font-size:.9rem;font-weight:700;color:var(--muni-blue);margin:0}.config-section-divider{border-top:1px solid var(--line);margin:4px 0}.logo-slots-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media(max-width:600px){.logo-slots-row{grid-template-columns:1fr}}.logo-slot{display:grid;gap:6px}.logo-slot-label{font-size:.78rem;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.03em;margin:0}.logo-slot-area{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px;border:1.5px dashed var(--line);border-radius:8px;background:#f7fafc;cursor:pointer;transition:border-color .15s,background .15s;min-height:120px}.logo-slot-area:hover,.logo-slot-area:focus-visible{border-color:var(--health-cyan-dark);background:#eef8fc;outline:none}.logo-slot-preview{max-width:160px;max-height:60px;object-fit:contain}.logo-slot-hint{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:.75rem}.tv-video-config{display:grid;gap:12px}.tv-video-config p{margin:4px 0 0;color:var(--muted);font-size:.9rem}.tv-video-config-grid{display:grid;grid-template-columns:minmax(220px,360px) minmax(0,1fr);gap:16px;align-items:center}.tv-video-config video{width:100%;aspect-ratio:16 / 9;border:1px solid var(--line);border-radius:8px;background:#061923;object-fit:cover}.tv-video-config-actions{display:grid;justify-items:start;gap:8px}.tv-video-config-actions small{color:var(--muted);font-weight:700}@media(max-width:700px){.tv-video-config-grid{grid-template-columns:1fr}}.read-status-table{display:grid;border:1px solid var(--line);border-radius:8px;overflow:hidden}.read-status-head,.read-status-table article{display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:10px;align-items:center;padding:10px}.read-status-head{color:var(--muni-blue);background:#f3fbfd;font-size:.78rem;font-weight:900;text-transform:uppercase}.read-status-table article{border-top:1px solid var(--line)}.read-status-table article.is-disabled{opacity:.58}.read-status-table small{display:block;color:var(--muted)}@media(max-width:640px){.search-line,.services-filters,.item-form,.insurer-toolbar,.groups-layout,.assignment-form,.unit-selection-grid,.service-row,.phrase-row{grid-template-columns:1fr}.topbar-actions{width:100%;justify-content:space-between}.brazaletes-layout,.bracelet-grid,.bracelet-search-grid{grid-template-columns:1fr}.bracelet-patient-toolbar{align-items:stretch;flex-direction:column}.bracelet-actions{justify-content:stretch}.bracelet-actions button{width:100%}}@media(max-width:980px){.superfacturas-layout,.brazaletes-layout{grid-template-columns:1fr}.superfactura-detail{grid-column:auto}}.tags-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}.tag-row{grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:0 14px;padding:12px 16px}.tag-row>div:nth-child(2){display:flex;flex-direction:column;gap:4px}.tag-row strong{font-size:.95rem}.tag-row small{font-size:.75rem;color:var(--muted);font-weight:500;letter-spacing:.02em;text-transform:uppercase}.tag-icon-preview{width:36px;height:36px;color:var(--muni-blue);display:flex;align-items:center;justify-content:center;background:#eef5fb;border-radius:8px;flex-shrink:0}.tag-icon-preview svg{width:20px;height:20px}.tag-aliases-preview{font-size:.78rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.tags-editor{max-width:480px;width:100%}.tag-svg-preview{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:6px}.tag-svg-preview svg{width:24px;height:24px;color:var(--muni-blue)}.tags-alias-section{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:6px}.tag-aliases-list{display:flex;flex-wrap:wrap;gap:6px}.tag-alias-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 8px 3px 10px;border-radius:20px;background:#e7f6fc;color:var(--muni-blue);font-size:.82rem;font-weight:700}.tag-alias-chip button{display:flex;align-items:center;justify-content:center;width:16px;height:16px;border:0;border-radius:50%;padding:0;color:var(--muni-blue);background:#004b8126}.spf-tag-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border-radius:4px;background:#e7f6fc;color:var(--muni-blue);font-size:.7rem;font-weight:700}.spf-tag-badge svg{width:12px;height:12px}.spf-tags-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.spf-principal-tag{width:fit-content;border-color:#9fd4b5;color:#14783f;background:#e7f7ee}.spf-tags-section{display:grid;gap:6px}.field-label{font-size:.88rem;font-weight:800;color:var(--muni-blue)}.spf-tag-input-box{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 8px;border:1.5px solid var(--line);border-radius:8px;background:#fff;cursor:text}.spf-tag-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 7px 3px 9px;border-radius:20px;background:var(--muni-blue);color:#fff;font-size:.8rem;font-weight:700;white-space:nowrap}.spf-tag-icon{display:inline-flex;align-items:center}.spf-tag-icon svg{width:13px;height:13px}.spf-tag-chip button{display:flex;align-items:center;justify-content:center;width:15px;height:15px;border:0;border-radius:50%;padding:0;color:#fff;background:#ffffff40;flex-shrink:0}.spf-tag-chip button:hover{background:#ffffff73}.spf-tag-chip.chip-focused{outline:2px solid #fff;outline-offset:1px;box-shadow:0 0 0 3px var(--health-cyan-dark)}.spf-tag-typeahead{position:relative;flex:1;min-width:120px}.spf-tag-typeahead input{width:100%;border:0;outline:none;font-size:.85rem;background:transparent;color:var(--text);padding:2px 0}.spf-tag-typeahead input::placeholder{color:var(--muted)}.spf-tag-dropdown{position:absolute;top:calc(100% + 6px);left:0;min-width:200px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 4px 16px #0000001f;z-index:200;overflow:hidden}.spf-tag-option{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:0;background:transparent;text-align:left;font-size:.85rem;font-weight:600;color:var(--text);cursor:pointer}.spf-tag-option small{color:var(--muted);font-weight:400;font-size:.75rem;margin-left:auto}.spf-tag-option.active,.spf-tag-option:hover{background:#eef5fb;color:var(--muni-blue)}.spf-tag-add-btn{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border:1px dashed var(--muni-blue);border-radius:20px;background:transparent;color:var(--muni-blue);font-size:.82rem;font-weight:700}.spf-tag-add-btn svg{width:12px;height:12px}.user-tags-inline{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}.user-tag-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:20px;background:#eef5fb;color:var(--muni-blue);font-size:.72rem;font-weight:700;border:1px solid #c8dff0}.user-tag-badge .spf-tag-icon svg{width:11px;height:11px}.aviso-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background:#0000008c;display:flex;align-items:center;justify-content:center;padding:16px}.aviso-popup{background:#fff;border-radius:12px;box-shadow:0 24px 64px #00000047;width:100%;max-width:820px;max-height:92vh;display:flex;flex-direction:column;overflow:hidden}.aviso-popup-header{display:flex;align-items:center;gap:10px;padding:16px 20px;font-weight:700;font-size:1rem;color:#fff;flex-shrink:0}.aviso-tipo-obligatorio{background:#b91c1c}.aviso-tipo-bienvenida{background:var(--muni-blue, #004b81)}.aviso-counter{margin-left:auto;font-size:.8rem;font-weight:500;opacity:.85}.aviso-popup-body{padding:28px 32px 20px;overflow-y:auto;flex:1;font-size:.95rem;line-height:1.7;color:#1f2937}.aviso-popup-body h3{margin-top:0;font-size:1.05rem;color:#111827}.aviso-popup-body ul{padding-left:1.3em}.aviso-popup-body li{margin-bottom:6px}.aviso-popup-footer{padding:16px 20px;display:flex;justify-content:flex-end;border-top:1px solid #e5e7eb;background:#f9fafb;flex-shrink:0}.aviso-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 22px;border:none;border-radius:8px;font-weight:700;font-size:.9rem;cursor:pointer;transition:filter .15s;color:#fff}.aviso-btn:disabled{opacity:.6;cursor:default}.aviso-btn:not(:disabled):hover{filter:brightness(1.1)}.aviso-btn-obligatorio{background:#b91c1c}.aviso-btn-bienvenida{background:var(--muni-blue, #004b81)}.aviso-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.aviso-list-item{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff;border:1px solid #e5e7eb;border-radius:8px}.aviso-list-item.aviso-inactive{opacity:.55}.aviso-list-meta{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.aviso-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:99px;font-size:.7rem;font-weight:700;white-space:nowrap;color:#fff}.aviso-badge-obligatorio{background:#b91c1c}.aviso-badge-bienvenida{background:var(--muni-blue, #004b81)}.aviso-list-titulo{font-weight:600;font-size:.88rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.aviso-list-count{font-size:.78rem;color:#6b7280;white-space:nowrap}.aviso-list-actions{display:flex;gap:4px;flex-shrink:0}.icon-button.danger:hover{color:#b91c1c}.aviso-form label{display:flex;flex-direction:column;gap:5px;font-size:.82rem;font-weight:600;color:#374151}.aviso-form label select,.aviso-form label input[type=number],.aviso-form label input[type=text]{font-size:.88rem;padding:7px 10px;border:1px solid #d1d5db;border-radius:6px;outline:none}.aviso-form label select:focus,.aviso-form label input:focus{border-color:var(--muni-blue, #004b81);box-shadow:0 0 0 2px #004b8126}.aviso-form label small{font-weight:400;color:#6b7280}.aviso-history button{display:flex!important;grid-template-columns:unset!important;flex-direction:column;align-items:flex-start;gap:5px}.aviso-history-row{display:flex;align-items:center;gap:8px;width:100%;min-width:0}.aviso-history-titulo{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;font-weight:600;color:var(--muni-blue, #004b81);text-align:left}.aviso-history-meta{display:flex;align-items:center;gap:8px;font-size:.75rem;color:#6b7280;width:100%}.aviso-history-meta strong{color:#374151;font-weight:600}.aviso-vigencia-tag{font-size:.72rem;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:4px;padding:1px 6px;color:#374151;white-space:nowrap}.aviso-search-wrap{display:flex;align-items:center;gap:7px;padding:8px 12px;border-bottom:1px solid #e5e7eb;color:#9ca3af;flex-shrink:0}.aviso-search{border:none;outline:none;flex:1;font-size:.85rem;background:transparent;color:#111827}.aviso-vigencia-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.aviso-vigencia-row label{display:flex;flex-direction:column;gap:2px;font-size:.78rem;font-weight:600;color:#6b7280}.aviso-vigencia-row label input[type=date]{padding:5px 8px;border:1px solid #d1d5db;border-radius:6px;font-size:.85rem;outline:none}.aviso-vigencia-row label input[type=date]:focus{border-color:var(--muni-blue, #004b81)}.aviso-vigencia-sep{font-size:1rem;color:#9ca3af;margin-top:14px}.user-readonly-fields{display:contents}.readonly-field input[type=text]{background:#f9fafb;color:#6b7280;cursor:default;font-style:italic}.aviso-tabs{display:flex;border-bottom:1px solid #e5e7eb;margin-bottom:4px;flex-shrink:0}.aviso-tabs button{padding:8px 16px;border:none;background:none;font-size:.83rem;font-weight:600;color:#6b7280;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;transition:color .15s,border-color .15s}.aviso-tabs button:hover{color:#111827}.aviso-tabs button.active{color:var(--muni-blue, #004b81);border-bottom-color:var(--muni-blue, #004b81)}.aviso-usuarios-panel{display:flex;flex-direction:column;gap:0;flex:1;overflow:hidden;min-height:0}.aviso-usuarios-section{flex:1;overflow-y:auto;min-height:0;padding:12px 16px;border-bottom:1px solid #e5e7eb}.aviso-usuarios-section h4{display:flex;align-items:center;gap:6px;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#374151;margin:0 0 8px}.aviso-user-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.aviso-user-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 8px;border-radius:6px;font-size:.83rem}.aviso-user-item.accepted{background:#f0fdf4;border:1px solid #bbf7d0}.aviso-user-item.accepted span{color:#15803d;font-weight:600}.aviso-user-item.accepted small{color:#4ade80;font-size:.75rem}.aviso-user-item.pending{background:#fafafa;border:1px solid #e5e7eb}.aviso-user-item.pending span{color:#374151;font-weight:500}.aviso-user-item.pending small{color:#9ca3af;font-size:.75rem}.aviso-admin-panel{width:min(820px,100%);max-width:820px}.aviso-admin-header{align-items:flex-start;gap:16px}.panel-subtitle{display:block;margin-top:3px;color:var(--muted);font-size:.78rem;font-weight:500;line-height:1.35}.notification-history.aviso-history{display:grid;gap:0;border-top:1px solid var(--line);background:#fff}.aviso-history .aviso-search-wrap{position:sticky;top:0;z-index:1;gap:8px;padding:10px 14px;background:#f8fbfd;border-bottom:1px solid var(--line)}.aviso-history .aviso-search{min-height:30px;font-size:.84rem}.aviso-search-clear{display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:50%;color:var(--muted);background:transparent}.aviso-search-clear:hover{color:var(--muni-blue);background:#e7f6fc}.aviso-history button{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;width:100%;padding:12px 14px;border:0;border-bottom:1px solid var(--line);border-left:3px solid transparent;border-radius:0;background:#fff;text-align:left}.aviso-history button:hover{background:#f6fbfd}.aviso-history button.selected{border-left-color:var(--muni-blue);background:#eef8fc}.aviso-history-row{min-width:0}.aviso-history-titulo{color:#172033;font-size:.9rem;font-weight:600}.aviso-history-meta{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:6px 10px;color:var(--muted);font-size:.74rem}.aviso-history-meta span{font-weight:500}.aviso-badge{border-radius:4px;padding:3px 7px;font-size:.68rem;font-weight:700}.badge-active,.badge-inactive{display:inline-flex;align-items:center;min-height:18px;padding:1px 7px;border-radius:4px;font-size:.68rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.badge-active{color:#166534;background:#dcfce7}.aviso-vigencia-tag{color:#475569;background:#f1f5f9}.aviso-form{position:relative;width:min(720px,calc(100vw - 28px));max-width:720px;gap:14px}.delete-modal .modal-close-btn,.aviso-form .modal-close-btn{position:absolute;top:10px;right:10px;z-index:3}.aviso-form-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:10px;border-bottom:1px solid var(--line)}.aviso-form-header .section-title{margin:0}.aviso-status-pill{flex-shrink:0;padding:4px 9px;border-radius:4px;font-size:.72rem;font-weight:800;text-transform:uppercase}.aviso-status-pill.is-active{color:#166534;background:#dcfce7}.aviso-status-pill.is-inactive{color:#64748b;background:#f1f5f9}.confirm-modal-warning{border-color:#bae6fd}.confirm-modal-warning .delete-modal-icon{color:var(--muni-blue);background:#e7f6fc}.confirm-modal-info{width:min(560px,calc(100vw - 28px));gap:16px;border-color:#bfdbfe;border-radius:10px}.confirm-modal-info .delete-modal-icon{color:var(--health-cyan-dark);background:#e7f6fc}.confirm-modal-info h3{margin:0;color:var(--muni-blue);font-size:1.16rem;line-height:1.25}.confirm-modal-info p{padding:12px 14px;border:1px solid #d8eef5;border-radius:8px;color:var(--muni-blue);background:#f3fbfd;font-weight:850}.confirm-modal-info .modal-actions{align-items:center}.confirm-modal-info .confirm-print-button{color:#fff;background:var(--muni-blue)}@media(max-width:640px){.aviso-history button{grid-template-columns:1fr}.aviso-form{width:min(100%,calc(100vw - 18px))}}.bed-map-page{display:grid;gap:16px}.bed-map-toolbar,.bed-map-filters,.bed-map-summary,.bed-map-unit{border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:var(--shadow-sm)}.bed-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px}.bed-map-toolbar h3,.bed-map-unit h4{margin:0;color:var(--muni-blue)}.bed-map-toolbar p,.bed-map-unit small{margin:4px 0 0;color:var(--muted)}.bed-map-filters{display:grid;grid-template-columns:minmax(240px,1.5fr) minmax(220px,1fr) minmax(190px,.8fr) auto;gap:12px;align-items:end;padding:14px}.bed-map-mode{align-self:end}.bed-map-summary{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:1px;overflow:hidden}.bed-map-summary article{padding:14px 16px;background:#f8fbfd}.bed-map-summary span,.tv-bed-map-summary span{display:block;color:var(--muted);font-size:.78rem;font-weight:800;text-transform:uppercase}.bed-map-summary strong,.tv-bed-map-summary strong{color:var(--muni-blue);font-size:1.55rem}.bed-map-units{display:grid;gap:14px}.bed-map-unit{overflow:hidden}.bed-map-unit>header{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border);background:#f8fbfd}.bed-map-unit>header span{color:var(--muted);font-size:.78rem;font-weight:850;text-transform:uppercase}.bed-map-unit>header strong{color:var(--muni-blue);font-size:1.25rem}.bed-map-bed-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:10px;padding:12px}.bed-map-bed{min-height:94px;padding:10px;border:1px solid #dfe8ed;border-left:6px solid #94a3b8;border-radius:8px;background:#fff}.bed-map-bed.available{border-left-color:#16a34a;background:#f0fdf4}.bed-map-bed.occupied{border-left-color:#dc2626;background:#fff7f7}.bed-map-bed.isolated{border-color:#f59e0b;background:#fffbeb}.bed-map-bed>div{display:flex;justify-content:space-between;gap:8px}.bed-map-bed strong{color:var(--muni-blue);font-size:1rem}.bed-map-bed span,.bed-map-bed small{color:var(--muted);font-size:.78rem}.bed-map-bed p{margin:8px 0 2px;color:#123044;font-weight:850}.tv-bed-map-board{gap:18px;overflow:hidden}.tv-bed-map-summary{z-index:2;display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:12px;width:min(1050px,calc(100vw - 72px));margin:0 auto}.tv-bed-map-summary article{padding:16px 18px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#ffffffe6}.tv-bed-map-units{z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:min(1280px,calc(100vw - 72px));margin:0 auto}.tv-bed-map-unit{min-height:150px;padding:12px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#ffffffeb}.tv-bed-map-unit header{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.tv-bed-map-unit header span{display:block;color:var(--muted);font-size:.7rem;font-weight:850;text-transform:uppercase}.tv-bed-map-unit header strong{color:var(--muni-blue);font-size:1.05rem}.tv-bed-map-unit header em{color:#0f766e;font-size:1.2rem;font-style:normal;font-weight:950}.tv-bed-map-unit>div{display:flex;flex-wrap:wrap;gap:7px}.tv-bed-map-unit>div span{min-width:56px;padding:7px 8px;border-radius:6px;color:#fff;background:#dc2626;font-size:.92rem;font-weight:950;text-align:center}.tv-bed-map-unit>div span.available{background:#16a34a}.tv-bed-map-unit>div span.isolated{color:#78350f;background:#facc15}@media(max-width:980px){.bed-map-filters,.bed-map-summary{grid-template-columns:1fr 1fr}.bed-map-mode{grid-column:1 / -1}.tv-bed-map-units{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.bed-map-toolbar{align-items:stretch;flex-direction:column}.bed-map-filters,.bed-map-summary,.tv-bed-map-summary,.tv-bed-map-units{grid-template-columns:1fr}}.patient-viewer-page{min-height:100vh;padding:24px;color:#102a3b;background:linear-gradient(135deg,#004b8114,#009ee20f),#f4f8fb}.patient-viewer-hero,.patient-current-episode,.patient-viewer-panel,.patient-viewer-loading,.patient-viewer-alert,.patient-viewer-source{width:min(1100px,100%);margin-right:auto;margin-left:auto}.patient-viewer-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:18px 20px;border:1px solid #d7e5ec;border-radius:10px;background:#fff;box-shadow:0 12px 30px #0f2c4214}.patient-viewer-hero span,.patient-current-episode header span{color:var(--muted);font-size:.78rem;font-weight:900;text-transform:uppercase}.patient-viewer-hero h1,.patient-current-episode h2,.patient-viewer-panel h2{margin:0;color:var(--muni-blue)}.patient-viewer-hero h1{margin-top:4px;font-size:clamp(1.7rem,3vw,2.55rem);line-height:1.05}.patient-viewer-hero p,.patient-viewer-source{margin:6px 0 0;color:var(--muted);font-weight:750}.patient-viewer-hero button,.patient-current-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border:0;border-radius:999px;color:#fff;background:var(--muni-blue);font-weight:900}.patient-viewer-hero button:disabled{cursor:wait;opacity:.75}.patient-viewer-alert{margin-bottom:12px;padding:12px 14px;border-radius:8px;font-weight:850}.patient-viewer-alert.error{color:#991b1b;background:#fee2e2}.patient-viewer-alert.warning{color:#7a4a00;background:#fff5cc}.patient-viewer-alert.bracelet-bed-mismatch{color:#9a3412;background:#fff7ed;border:1px solid #fb923c;font-weight:900}.patient-viewer-source{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:12px;font-size:.9rem}.patient-viewer-source>span{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:5px 9px;border:1px solid #d6e6ed;border-radius:999px;background:#fff}.patient-viewer-refresh-state{color:var(--muni-blue);background:#e8f6fb!important;font-weight:900}.patient-viewer-refresh-state.done{color:#166534;border-color:#bde8c6;background:#ecfdf3!important}.patient-viewer-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:240px;border:1px dashed #bcd4df;border-radius:10px;color:var(--muni-blue);background:#fff;font-weight:900}.patient-current-episode{padding:20px;border:1px solid #cde2ed;border-radius:10px;background:#fff;box-shadow:0 14px 36px #0f2c421a}.patient-current-episode>header{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #edf3f6}.patient-current-episode>header svg,.patient-viewer-panel header svg{color:var(--health-cyan-dark)}.patient-current-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.patient-current-details article{min-height:94px;padding:14px;border:1px solid #dce9ef;border-radius:8px;background:#f8fbfd}.patient-current-details article.wide{grid-column:1 / -1}.patient-current-details span{display:block;margin-bottom:6px;color:var(--muted);font-size:.76rem;font-weight:900;text-transform:uppercase}.patient-current-details strong{color:#102a3b;font-size:1.08rem;line-height:1.3}.patient-current-labs{display:grid;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid #edf3f6}.patient-current-labs>header{display:flex;align-items:center;gap:10px}.patient-current-labs>header svg{color:var(--health-cyan-dark)}.patient-current-labs span{display:block;color:var(--muted);font-size:.76rem;font-weight:900;text-transform:uppercase}.patient-current-labs h3{margin:0;color:var(--muni-blue);font-size:1.05rem}.patient-current-actions{display:flex;justify-content:flex-end;margin-top:18px}.patient-viewer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:min(1100px,100%);margin:16px auto 0}.patient-viewer-panel{display:grid;align-content:start;gap:10px;padding:14px;border:1px solid #d7e5ec;border-radius:10px;background:#fff}.patient-viewer-panel header{display:flex;align-items:center;gap:8px}.patient-viewer-panel h2{font-size:1.08rem}.patient-viewer-item{padding:12px;border:1px solid #e2edf2;border-radius:8px;background:#fbfdfe}.patient-viewer-item strong,.patient-viewer-item span,.patient-viewer-item small{display:block}.patient-viewer-item strong{color:var(--muni-blue)}.patient-viewer-item span,.patient-viewer-item small{color:var(--muted);font-size:.82rem;font-weight:750}.patient-viewer-item p{margin:6px 0;color:#102a3b;font-weight:750}.patient-viewer-empty{margin:0;padding:14px;border:1px dashed #c8dae3;border-radius:8px;color:var(--muted);background:#fbfdfe;font-weight:800}.laboratorios-view{display:grid;gap:16px}.lab-module-header,.lab-search-bar{width:min(1180px,100%);margin:0 auto;border:1px solid #d7e5ec;border-radius:10px;background:#fff}.lab-module-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px}.lab-module-header h3{margin:0;color:var(--muni-blue);font-size:1.55rem}.lab-module-header p{margin:4px 0 0;color:var(--muted);font-weight:750}.lab-module-header-main{min-width:220px}.lab-patient-chip{display:inline-flex;align-items:center;gap:12px;padding:8px 14px;background:#f8fafc;border:1px solid #d9e7ee;border-radius:10px;box-shadow:0 1px 4px #0f172a0a;max-width:440px;flex:1 1 auto}.lab-patient-chip-avatar{width:38px;height:38px;border-radius:8px;background:#e0f2fe;color:#0369a1;display:grid;place-items:center;flex-shrink:0}.lab-patient-chip-info{display:flex;flex-direction:column;gap:2px;min-width:0}.lab-patient-chip-meta{display:flex;align-items:center;gap:8px;font-size:.76rem;color:#64748b;flex-wrap:wrap}.lab-patient-chip-tag{font-size:.68rem;font-weight:750;text-transform:uppercase;letter-spacing:.04em;padding:1px 6px;background:#dbeafe;color:#1e40af;border-radius:4px}.lab-patient-chip-id{font-weight:600;color:#475569}.lab-patient-chip-id strong{color:#0f172a}.lab-patient-chip-name{font-size:.96rem;font-weight:750;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lab-module-header-actions{flex-shrink:0}.lab-empty-state{display:flex;align-items:flex-start;gap:16px;padding:18px 20px;width:min(1180px,100%);margin:0 auto;background:#fbfdfe;border:1px dashed #c8dae3;border-radius:10px}.lab-empty-icon{color:#0369a1;background:#e0f2fe;padding:8px;border-radius:8px;flex-shrink:0;display:grid;place-items:center}.lab-empty-content{display:flex;flex-direction:column;gap:4px}.lab-empty-content strong{font-size:.95rem;color:#0f172a}.lab-empty-content p{margin:0;font-size:.86rem;color:#64748b;font-weight:600}.lab-empty-patient-meta{margin-top:4px;font-size:.82rem;color:#334155;font-weight:600}.lab-empty-patient-meta strong{color:#0369a1}.lab-search-bar{display:grid;grid-template-columns:repeat(2,minmax(190px,1fr)) auto;gap:12px;align-items:end;padding:14px}.lab-browser{display:grid;gap:14px;width:min(1180px,100%);margin:0 auto}.lab-browser.compact{width:100%}.lab-results-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}.lab-browser.compact .lab-results-list{grid-template-columns:1fr}.lab-result-card{display:grid;gap:10px;padding:12px;border:1px solid #d9e7ee;border-radius:10px;background:#fff;box-shadow:0 10px 24px #0f2c420f}.lab-result-card.viewed{border-color:#9fd8ed;background:#f5fbfe}.lab-result-main{display:grid;grid-template-columns:46px minmax(0,1fr);gap:10px;align-items:center;padding:0;border:0;color:inherit;background:transparent;text-align:left}.lab-result-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:10px;color:var(--muni-blue);background:#e7f6fc}.lab-result-main span,.lab-result-main small,.lab-result-card dt{color:var(--muted);font-size:.76rem;font-weight:850;text-transform:uppercase}.lab-result-main strong{display:block;margin:2px 0;color:var(--muni-blue);line-height:1.2}.lab-result-card dl,.lab-result-detail dl{display:grid;gap:8px;margin:0}.lab-result-card dl{grid-template-columns:repeat(3,minmax(0,1fr))}.lab-result-card dt,.lab-result-card dd,.lab-result-detail dt,.lab-result-detail dd{margin:0}.lab-result-card dd,.lab-result-detail dd{color:#102a3b;font-weight:850}.lab-result-link{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #cde2ed;border-radius:999px;color:var(--muni-blue);background:#f8fbfd;font-weight:900;text-decoration:none}.lab-pdf-modal-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.lab-pdf-modal-backdrop{z-index:210}.lab-pdf-modal{display:grid;grid-template-rows:auto auto minmax(0,1fr);width:min(1180px,calc(100vw - 28px));height:min(920px,calc(100dvh - 28px));max-height:calc(100dvh - 28px);overflow:hidden;background:#fff}.lab-pdf-modal .modal-panel-header{align-items:center;padding:14px 16px;border-bottom:1px solid #d7e5ec}.lab-pdf-modal .modal-panel-header h3{margin:3px 42px 0 0;color:var(--muni-blue);font-size:1.05rem;line-height:1.2}.lab-pdf-modal-actions{display:flex;justify-content:flex-end;padding:10px 16px;border-bottom:1px solid #edf3f6;background:#fbfdfe}.lab-pdf-modal .pdf-canvas-viewer{min-height:0;height:100%;border:0;border-radius:0}.pdf-canvas-viewer{width:100%;min-height:62vh;border:1px solid #d7e5ec;border-radius:8px;background:#f6fafc;overflow:auto}.pdf-canvas-viewer header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid #d7e5ec;background:#fffffff5}.pdf-canvas-viewer header strong{color:var(--muni-blue);font-size:.88rem}.pdf-canvas-viewer header div{display:inline-flex;align-items:center;gap:8px}.pdf-canvas-viewer header button{min-height:30px;border:1px solid #cde2ed;border-radius:999px;padding:0 10px;color:var(--muni-blue);background:#fff;font-weight:850}.pdf-canvas-viewer header button:disabled{opacity:.45}.pdf-canvas-viewer p{display:inline-flex;align-items:center;gap:8px;margin:12px;color:var(--muted);font-weight:800}.pdf-canvas-viewer .pdf-canvas-error{color:#a63a3a}.pdf-canvas-viewer canvas{display:block;max-width:calc(100% - 24px);height:auto;margin:12px auto;border:1px solid #e2edf2;border-radius:6px;background:#fff;box-shadow:0 10px 24px #004b8114}.patient-current-details .lab-browser{margin-top:8px}@media(max-width:860px){.lab-module-header{align-items:stretch;flex-direction:column;gap:14px}.lab-patient-chip{width:100%;max-width:100%}.lab-search-bar,.lab-result-card dl{grid-template-columns:1fr}.lab-pdf-modal-actions{align-items:stretch;flex-direction:column}.lab-pdf-modal-actions button{width:100%}.lab-pdf-modal{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}}@media(max-width:860px){.patient-viewer-page{padding:14px}.patient-viewer-hero{align-items:stretch;flex-direction:column}.patient-current-details,.patient-viewer-grid{grid-template-columns:1fr}.patient-current-actions{justify-content:stretch}.patient-viewer-hero button,.patient-current-actions button{width:100%}}.vacunas-back-btn{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;font-size:.8rem;font-weight:600;color:#0369a1;background:#e0f2fe;border:1px solid #bae6fd;border-radius:6px;cursor:pointer;margin-bottom:6px;transition:all .15s ease}.vacunas-back-btn:hover{background:#bae6fd;color:#0284c7}.vacunas-hub-container{display:flex;flex-direction:column;gap:20px}.vacunas-hub-alert-card{display:flex;align-items:center;gap:12px;padding:10px 16px;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #bae6fd;border-radius:10px;box-shadow:0 2px 8px #0284c714}.hub-alert-icon{width:32px;height:32px;border-radius:8px;background:#0284c7;color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 2px 6px #0284c740}.hub-alert-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.hub-alert-top-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hub-alert-badge{display:inline-flex;align-self:center;font-size:.64rem;font-weight:800;color:#0369a1;background:#dbeafe;padding:1px 6px;border-radius:4px;text-transform:uppercase;letter-spacing:.03em}.hub-alert-content h4{margin:0;font-size:.94rem;font-weight:700;color:#0f172a}.hub-alert-content p{margin:0;font-size:.78rem;color:#475569}.hub-alert-action-btn{display:inline-flex;align-items:center;gap:4px;padding:6px 12px!important;min-height:32px!important;font-size:.78rem!important;font-weight:700;flex-shrink:0;border-radius:6px;white-space:nowrap}.vacunas-hub-connected-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;box-shadow:0 2px 10px #22c55e14}.hub-connected-info{display:flex;align-items:center;gap:14px}.live-dot-pulse{width:12px;height:12px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px #22c55e40;flex-shrink:0}.hub-connected-title{font-size:.95rem;color:#14532d}.hub-connected-sub{font-size:.82rem;color:#166534;margin-top:2px}.role-tag{background:#dcfce7;color:#166534;font-weight:800;padding:2px 7px;border-radius:4px;border:1px solid #86efac}.hub-connected-actions{display:flex;align-items:center;gap:8px}.vacunas-hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px}.vacunas-hub-card{display:flex;flex-direction:column;justify-content:space-between;padding:24px;background:#fff;border:1px solid #cbd5e1;border-radius:14px;box-shadow:0 4px 16px #00547f0d;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);-webkit-user-select:none;user-select:none}.vacunas-hub-card:hover{transform:translateY(-3px);border-color:#0284c7;box-shadow:0 12px 28px #0284c71f}.hub-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.hub-card-icon-wrap{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center}.icon-campanias{background:#e0f2fe;color:#0369a1}.icon-carnet{background:#ecfdf5;color:#059669}.hub-card-body h3{margin:0 0 8px;font-size:1.25rem;font-weight:700;color:#0f172a}.hub-card-body p{margin:0;font-size:.9rem;color:#64748b;line-height:1.45}.hub-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:22px;padding-top:14px;border-top:1px solid #f1f5f9}.hub-card-link-text{font-size:.88rem;font-weight:700;color:#0284c7}.hub-card-chevron{color:#0284c7;transition:transform .2s ease}.vacunas-hub-card:hover .hub-card-chevron{transform:translate(4px)}.vacunas-campanias-submenu-container{display:flex;flex-direction:column;gap:20px}.campanias-submenu-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 20px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.campanias-submenu-header h4{margin:0;font-size:1.15rem;font-weight:700;color:#0f172a}.campanias-submenu-header p{margin:4px 0 0;font-size:.85rem;color:#64748b}.campania-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:20px}.campania-card.is-connected{border-left-color:#16a34a!important;border-color:#86efac;box-shadow:0 4px 16px #22c55e1f;background:#fcfdfc}.status-pill.status-connected{color:#15803d;background:#dcfce7;border:1px solid #86efac}.status-pill.status-connected .live-dot{width:7px;height:7px;border-radius:50%;background:#16a34a;display:inline-block;margin-right:2px;box-shadow:0 0 0 2px #16a34a33}.campania-card-config-box{display:flex;flex-direction:column;gap:8px;padding:10px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.camp-card-inline-field{display:flex;align-items:center;gap:10px}.camp-card-inline-field label{font-size:.76rem;font-weight:700;color:#64748b;min-width:52px;text-transform:uppercase;letter-spacing:.03em}.camp-select-input-compact{flex:1;min-width:0;width:100%;min-height:34px!important;font-size:.84rem!important;padding:4px 10px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#0f172a;outline:none}.camp-select-input-compact:focus{border-color:#0284c7}.role-selector-compact{display:flex;align-items:center;gap:6px;flex:1}.role-pill-btn{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 10px;font-size:.78rem;font-weight:700;border-radius:6px;border:1px solid #cbd5e1;background:#fff;color:#475569;cursor:pointer;transition:all .15s ease}.role-pill-btn:hover:not(:disabled){border-color:#0284c7;color:#0284c7;background:#f0f9ff}.role-pill-btn.active{background:#0284c7;border-color:#0284c7;color:#fff;box-shadow:0 2px 6px #0284c740}.role-selector-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.role-option-btn{min-height:46px;display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;color:#475569;background:#fff;text-align:left}.role-option-btn.active{border-color:#0284c7;color:#075985;background:#e0f2fe;box-shadow:inset 0 0 0 1px #7dd3fc}.role-option-text{min-width:0;display:grid;gap:2px}.role-option-text strong,.role-option-text span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.role-option-text strong{font-size:.82rem}.role-option-text span{color:#64748b;font-size:.7rem;font-weight:700}.camp-selectable-footer{padding-top:12px;border-top:1px dashed #e2e8f0}.camp-choose-enter-btn{width:100%;display:flex;align-items:center;justify-content:space-between;padding:10px 16px!important;border-radius:8px;box-shadow:0 4px 12px #0284c729;transition:all .15s ease;cursor:pointer}.camp-choose-enter-btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px #0284c740}.camp-choose-enter-btn.btn-connected-action{background:#16a34a;box-shadow:0 4px 12px #16a34a33}.camp-choose-enter-btn.btn-connected-action:hover{background:#15803d;box-shadow:0 6px 18px #16a34a4d}.btn-choose-enter-text{display:flex;flex-direction:column;align-items:flex-start;gap:1px;text-align:left}.btn-choose-enter-text strong{font-size:.88rem;line-height:1.2;color:#fff}.btn-choose-enter-text small{font-size:.72rem;opacity:.88;font-weight:500;color:#e0f2fe}.vacunas-carnet-submenu-container{display:flex;flex-direction:column;gap:20px}.concentration-mode-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:6px 10px;box-shadow:0 1px 3px #0000000f}.concentration-nav-tabs{display:flex;gap:2px;background:#f1f5f9;border-radius:8px;padding:3px}.conc-tab{display:flex;align-items:center;gap:6px;padding:7px 14px;border:none;border-radius:6px;background:transparent;color:#64748b;font-size:.84rem;font-weight:600;cursor:pointer;transition:all .15s ease;white-space:nowrap;position:relative}.conc-tab:hover:not(.active){background:#e2e8f0;color:#334155}.conc-tab.active{background:#fff;color:#0f172a;box-shadow:0 1px 3px #0000001a;font-weight:700}.conc-tab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#ef4444;color:#fff;font-size:.7rem;font-weight:800;line-height:1}.conc-tab.active .conc-tab-badge{background:#3b82f6}.conc-context-label{display:inline-flex;align-items:center;min-height:32px;padding:0 10px;color:#475569;font-size:.8rem;font-weight:800;white-space:nowrap}.concentration-nav-actions{display:flex;align-items:center;gap:8px}.conc-change-camp-btn{display:flex;align-items:center;gap:5px;padding:6px 10px;border:1px solid #e2e8f0;border-radius:6px;background:transparent;color:#64748b;font-size:.78rem;font-weight:600;cursor:pointer;transition:all .15s ease}.conc-change-camp-btn:hover{background:#f1f5f9;color:#334155;border-color:#cbd5e1}@media(max-width:600px){.concentration-mode-nav{flex-wrap:wrap;gap:6px;padding:6px 8px}.concentration-nav-tabs{flex:1 1 100%;order:1}.conc-tab{flex:1;justify-content:center;padding:7px 8px;font-size:.78rem;gap:4px}.concentration-nav-actions{order:2;flex:1 1 100%;justify-content:flex-end}}.triage-modalidad-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px 20px;display:flex;flex-direction:column;gap:14px;box-shadow:0 2px 10px #00000008}.modalidad-toggle-tabs{display:flex;background:#f1f5f9;padding:4px;border-radius:10px;gap:4px}.modalidad-tab-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;font-size:.9rem;font-weight:700;border:none;border-radius:8px;background:transparent;color:#64748b;cursor:pointer;transition:all .15s ease}.modalidad-tab-btn.active{background:#fff;color:#0284c7;box-shadow:0 2px 8px #00000014}.autovac-inputs-row{display:flex;flex-direction:column;gap:12px}.color-swatches-container{display:flex;flex-direction:column;gap:6px}.color-swatches-container label{font-size:.78rem;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.03em}.color-swatches-grid{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.color-swatch-box{width:34px;height:34px;border-radius:8px;border:2px solid #cbd5e1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease;position:relative}.color-swatch-box:hover{transform:scale(1.08);border-color:#0284c7}.color-swatch-box.selected{border-color:#0284c7;box-shadow:0 0 0 3px #0284c74d;transform:scale(1.1)}.color-swatch-check{color:#fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}.color-swatch-check.is-light{color:#0f172a;filter:none}.color-swatch-label{font-size:1rem;font-weight:900;line-height:1;color:#0f172a}.autovac-details-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.patente-input-group{display:flex;flex-direction:column;gap:4px;min-width:140px}.patente-input-group label{font-size:.76rem;font-weight:700;color:#64748b;text-transform:uppercase}.patente-digits-input{font-size:1.15rem!important;font-weight:800;letter-spacing:.1em;text-align:center;padding:8px 12px;border:2px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#0f172a}.patente-digits-input:focus{border-color:#0284c7;background:#fff}.sigipsa-readonly-input,.field input.sigipsa-readonly-input{background:#f1f5f9;border-color:#cbd5e1;color:#334155;cursor:default}.patient-draft-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc}.patient-draft-reset-btn{flex:0 0 auto}.patient-draft-main{display:flex;align-items:center;gap:10px;min-width:220px}.patient-draft-avatar{width:38px;height:38px;border-radius:8px;display:grid;place-items:center;color:#0369a1;background:#e0f2fe;flex:0 0 auto}.patient-draft-main strong,.patient-draft-main span{display:block}.patient-draft-main strong{font-size:.94rem;color:#0f172a}.patient-draft-main span{font-size:.78rem;font-weight:700;color:#64748b}.patient-draft-facts{display:grid;grid-template-columns:repeat(3,minmax(92px,1fr));gap:8px;width:min(100%,430px)}.patient-draft-facts span{display:flex;flex-direction:column;gap:2px;padding:7px 9px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.patient-draft-facts small{font-size:.68rem;font-weight:800;color:#64748b;text-transform:uppercase}.patient-draft-facts b{font-size:.86rem;color:#0f172a}.car-group-info-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;background:#f0fdf4;border:1px solid #86efac;border-radius:8px;font-size:.84rem;color:#166534;font-weight:600}.conditions-checklist-box{display:flex;flex-direction:column;gap:8px;padding:14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.conditions-checklist-box label.box-title{font-size:.8rem;font-weight:700;color:#475569;text-transform:uppercase}.conditions-chips-wrap{display:flex;gap:8px;flex-wrap:wrap}.condition-toggle-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:20px;border:1px solid #cbd5e1;background:#fff;font-size:.82rem;font-weight:600;color:#475569;cursor:pointer;transition:all .15s ease}.condition-toggle-chip:hover{border-color:#0284c7;color:#0284c7}.condition-toggle-chip.active{background:#e0f2fe;border-color:#0284c7;color:#0369a1;font-weight:700}.vacunas-timeline-container{display:flex;flex-direction:column;gap:16px;padding:18px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.timeline-header-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.timeline-legend{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.timeline-legend-item{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:600}.legend-dot{width:10px;height:10px;border-radius:50%}.legend-dot.sigipsa{background:#16a34a}.legend-dot.declarada{background:#2563eb}.legend-dot.teorica{background:#94a3b8}.timeline-stages-scroll{display:flex;flex-direction:column;gap:12px}.timeline-stage-row{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.timeline-stage-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.timeline-stage-title{font-size:.78rem;font-weight:800;color:#0369a1;text-transform:uppercase;letter-spacing:.04em;display:flex;align-items:center;gap:6px}.timeline-doses-cluster{display:flex;gap:8px;flex-wrap:wrap}.timeline-stage-actions{display:inline-flex;align-items:center;gap:8px}.timeline-stage-actions span{font-size:.72rem;font-weight:800;color:#64748b}.timeline-stage-actions button{border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#1d4ed8;font-size:.72rem;font-weight:800;padding:4px 8px;cursor:pointer}.timeline-dose-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;font-size:.8rem;font-weight:700;cursor:default;transition:all .15s ease;border:1px solid transparent;-webkit-user-select:none;user-select:none}.timeline-dose-pill.is-clickable{cursor:pointer}.timeline-dose-pill.is-clickable:hover{border-color:#60a5fa;background:#eff6ff;color:#1d4ed8}.timeline-dose-pill.sigipsa{background:#dcfce7;color:#15803d;border-color:#86efac}.timeline-dose-pill.declarada{background:#dbeafe;color:#1d4ed8;border-color:#93c5fd}.timeline-dose-pill.teorica{background:#f1f5f9;color:#64748b;border-color:#cbd5e1}.timeline-dose-pill.teorica.selected-for-declare{background:#eff6ff;color:#2563eb;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f64d}.declare-actions-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;gap:10px;flex-wrap:wrap}.vacuna-search-box{position:relative;max-width:620px}.vacuna-search-results{display:grid;gap:6px;margin-top:6px;padding:8px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-shadow:0 12px 24px #0f172a1a}.vacuna-search-results button{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;width:100%;padding:9px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#0f172a;text-align:left;cursor:pointer}.vacuna-search-results button:hover{border-color:#38bdf8;background:#e0f2fe}.vacuna-search-results button span{font-size:.84rem;font-weight:800}.vacuna-search-results button small{font-size:.72rem;font-weight:800;color:#64748b}@media(max-width:720px){.patient-draft-strip{align-items:stretch;flex-direction:column}.patient-draft-main{min-width:0}.patient-draft-facts{grid-template-columns:1fr;width:100%}.patient-draft-reset-btn{width:100%}.timeline-stage-actions{width:100%;justify-content:space-between}.vacuna-search-box{max-width:none}}.prioridad-selector-box{display:flex;flex-direction:column;gap:6px;min-width:0}.prioridad-selector-box label{font-size:.78rem;font-weight:700;color:#475569;text-transform:uppercase}.prioridad-buttons-group{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.prioridad-btn{flex:1 1 58px;min-width:48px;max-width:100%;padding:8px 10px;border-radius:8px;border:1px solid #cbd5e1;background:#fff;font-size:.8rem;font-weight:700;color:#475569;cursor:pointer;transition:all .15s ease;text-align:center;white-space:normal;line-height:1.1}.prioridad-btn.p-1.active{background:#f1f5f9;color:#475569;border-color:#94a3b8}.prioridad-btn.p-2.active{background:#ecfdf5;color:#047857;border-color:#6ee7b7}.prioridad-btn.p-3.active{background:#e0f2fe;color:#0369a1;border-color:#7dd3fc}.prioridad-btn.p-4.active{background:#ffedd5;color:#c2410c;border-color:#fdba74}.prioridad-btn.p-5.active{background:#fee2e2;color:#b91c1c;border-color:#fca5a5;box-shadow:0 2px 8px #dc262640}.explorer-queue-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px;margin-top:10px;min-width:0}.explorer-queue-grid .field{min-width:0}.explorer-observations-field{grid-column:1 / -1}@media screen and (max-width:560px){.explorer-queue-grid{grid-template-columns:1fr}.prioridad-btn{flex-basis:calc(33.333% - 4px);padding-inline:6px;font-size:.76rem}}.worklist-container{display:flex;flex-direction:column;gap:18px}.worklist-top-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 18px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.worklist-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.worklist-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}.worklist-card{display:flex;flex-direction:column;gap:14px;padding:18px;background:#fff;border:1px solid #cbd5e1;border-left:5px solid #0284c7;border-radius:12px;box-shadow:0 4px 12px #0000000a;transition:all .2s ease}.worklist-card.priority-5{border-left-color:#dc2626;background:snow}.worklist-card.priority-4{border-left-color:#f97316}.worklist-card.status-asumido{border-color:#3b82f6;box-shadow:0 6px 16px #3b82f61f}.worklist-card.status-finalizado{border-left-color:#16a34a;opacity:.75;background:#f8fafc}.worklist-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.worklist-vehicle-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:6px;background:#f1f5f9;font-size:.78rem;font-weight:800;color:#1e293b}.worklist-timer-chip{display:inline-flex;align-items:center;gap:4px;font-size:.75rem;font-weight:700;color:#64748b}.worklist-patient-name{margin:0;font-size:1.15rem;font-weight:700;color:#0f172a}.worklist-patient-sub{margin:2px 0 0;font-size:.84rem;color:#64748b}.worklist-requested-doses{display:flex;gap:6px;flex-wrap:wrap}.dose-tag-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:6px;background:#e0f2fe;color:#0369a1;font-size:.78rem;font-weight:700}.worklist-card-actions{display:flex;gap:8px;margin-top:auto;padding-top:10px;border-top:1px dashed #e2e8f0}.btn-assume-patient{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px;font-weight:700}.application-modal-content{display:flex;flex-direction:column;gap:16px;max-width:680px;width:95%;max-height:90vh;overflow-y:auto}.application-modal-toolbar,.planned-doses-header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.application-carnet-panel,.application-add-vaccine-box{border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:12px}.application-inline-status,.application-inline-error{display:flex;align-items:center;gap:8px;font-size:.86rem;font-weight:700;color:#475569}.application-inline-error{color:#b91c1c}.application-carnet-list,.application-vaccine-results{display:grid;gap:8px}.application-carnet-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.application-carnet-row.is-applied{border-color:#86efac;background:#f0fdf4}.application-carnet-row strong,.application-carnet-row span{font-size:.84rem}.application-carnet-vaccine{display:grid;gap:2px}.application-carnet-vaccine span{color:#64748b}.application-carnet-date{flex:0 0 auto;color:#475569;white-space:nowrap}.application-vaccine-results button{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#0f172a;cursor:pointer;text-align:left}.application-vaccine-results button span{flex:1;font-weight:700}.application-vaccine-results button small{color:#64748b;font-weight:800}.dose-app-item-card{display:flex;flex-direction:column;gap:10px;padding:14px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px}.dose-app-item-card.is-applied{background:#f0fdf4;border-color:#86efac}.dose-app-item-header,.dose-app-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.dose-app-title-row{justify-content:flex-start;flex-wrap:wrap}.field-help-warning{display:block;margin-top:4px;color:#b91c1c;font-size:.78rem;font-weight:700}.application-fixed-via-input{background:#f1f5f9!important;border-color:#cbd5e1!important;color:#475569!important;cursor:default;font-weight:800}.via-switch-container{display:inline-flex;background:#e2e8f0;padding:2px;border-radius:8px;gap:2px}.via-switch-btn{padding:4px 10px;font-size:.78rem;font-weight:800;border:none;border-radius:6px;background:transparent;color:#64748b;cursor:pointer;transition:all .15s ease}.via-switch-btn.active{background:#0284c7;color:#fff;box-shadow:0 1px 4px #00000026}.stock-grid-table{width:100%;border-collapse:collapse;background:#fff;border-radius:10px;overflow:hidden}.stock-grid-table th{background:#f8fafc;padding:12px 14px;font-size:.78rem;font-weight:800;color:#475569;text-transform:uppercase;text-align:left;border-bottom:2px solid #e2e8f0}.stock-grid-table td{padding:12px 14px;font-size:.86rem;color:#1e293b;border-bottom:1px solid #f1f5f9}.stock-available-badge{display:inline-block;padding:4px 10px;border-radius:6px;font-weight:800;font-size:.88rem;background:#dcfce7;color:#15803d}.stock-available-badge.low{background:#fee2e2;color:#b91c1c}html,body{touch-action:manipulation;-webkit-text-size-adjust:100%}button,a,input,select,textarea{touch-action:manipulation}@media screen and (max-width:860px){input,select,textarea,.field input,.field select,.field textarea,.date-picker-trigger,.custom-date-picker-input,.input-large-text,.pin-direct-input,.camp-select-input{font-size:16px!important}}@media screen and (max-width:480px){body{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}.content{padding:0 10px 18px!important}.topbar{padding:8px 10px!important;margin:0 -10px 10px!important;gap:6px!important}.topbar-logo-row{gap:6px!important}.topbar-logo-row img{height:19px!important;max-width:58px!important}.topbar-logo-row .topbar-health-logo{height:17px!important;max-width:50px!important;padding-right:5px!important}.topbar-identity-btn{padding:2px 6px 2px 4px!important;gap:4px!important}.topbar-identity-avatar-wrap{width:20px!important;height:20px!important}.topbar-identity-avatar-wrap svg{width:11px!important;height:11px!important}.topbar-identity-text strong{font-size:.72rem!important;max-width:90px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-identity-text span{font-size:.6rem!important;max-width:90px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notification-bell-btn{width:28px!important;height:28px!important}.vacunas-top-bar{flex-direction:column!important;align-items:flex-start!important;gap:8px!important}.vacunas-view-top-bar{flex-direction:column!important;align-items:stretch!important;gap:10px!important}.vacunas-title-cluster{width:100%;gap:10px}.vacunas-icon-badge{width:36px;height:36px;border-radius:8px}.vacunas-title-cluster h3{font-size:1.04rem}.vacunas-title-cluster p{font-size:.78rem}.connected-camp-pill{width:100%;max-width:none;box-sizing:border-box}.vacunas-title-group h3{font-size:1.12rem!important;line-height:1.25!important}.vacunas-back-btn{font-size:.75rem!important;padding:3px 8px!important}.campania-connection-pill{width:100%!important;box-sizing:border-box;font-size:.74rem!important;padding:5px 8px!important;flex-wrap:wrap!important;gap:6px!important}.campania-connection-pill .conn-text{flex:1;min-width:0;white-space:normal;word-break:break-word}.vacunas-hub-alert-card{flex-direction:row!important;align-items:center!important;padding:8px 10px!important;gap:8px!important;border-radius:8px!important}.hub-alert-icon{width:26px!important;height:26px!important;border-radius:6px!important}.hub-alert-icon svg{width:13px!important;height:13px!important}.hub-alert-top-line{gap:4px!important}.hub-alert-badge{font-size:.56rem!important;padding:1px 4px!important}.hub-alert-content h4{font-size:.8rem!important}.hub-alert-content p{font-size:.68rem!important;line-height:1.15!important}.hub-alert-action-btn{width:auto!important;justify-content:center!important;padding:4px 8px!important;font-size:.7rem!important;min-height:26px!important;white-space:nowrap!important}.vacunas-hub-connected-banner{flex-direction:column!important;align-items:stretch!important;padding:12px!important;gap:10px!important}.hub-connected-actions{width:100%!important;flex-direction:column!important;gap:6px!important}.hub-connected-actions button{width:100%!important;justify-content:center!important}.vacunas-hub-grid{grid-template-columns:1fr!important;gap:12px!important}.vacunas-hub-card{padding:16px 14px!important}.hub-card-icon-wrap{width:40px!important;height:40px!important;border-radius:10px!important}.hub-card-icon-wrap svg{width:20px!important;height:20px!important}.hub-card-body h3{font-size:1.1rem!important}.hub-card-body p{font-size:.82rem!important}.hub-card-footer{margin-top:12px!important;padding-top:10px!important}.campanias-submenu-header{padding:12px!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important}.campanias-submenu-header h4{font-size:1.05rem!important}.campanias-submenu-header button{width:100%!important;justify-content:center!important}.campania-cards-grid{grid-template-columns:1fr!important;gap:12px!important}.campania-active-card{padding:14px 12px!important;gap:12px!important}.camp-card-titles h3{font-size:1.1rem!important}.role-selector-group{grid-template-columns:1fr 1fr!important;gap:6px!important}.role-option-btn{padding:8px 6px!important;gap:5px!important}.role-option-text strong{font-size:.78rem!important}.role-option-text span{font-size:.62rem!important}.camp-card-actions{flex-direction:column!important;gap:6px!important}.camp-action-btn,.camp-action-btn-disconnect{width:100%!important;justify-content:center!important;padding:10px!important}.vacunas-search-hero-card{padding:14px 12px!important}.search-inputs-grid-duo{grid-template-columns:1fr!important;gap:10px!important}.search-submit-btn{width:100%!important;justify-content:center!important;height:46px!important}.patient-identity-card{flex-direction:column!important;padding:12px!important;gap:10px!important}.patient-avatar-box{width:36px!important;height:36px!important}.patient-top-line h3{font-size:1.05rem!important}.application-modal-toolbar,.planned-doses-header,.application-carnet-row{align-items:stretch;flex-direction:column}.patient-meta-grid{grid-template-columns:1fr 1fr!important;gap:6px!important;font-size:.76rem!important}.table-responsive{border-radius:8px!important;-webkit-overflow-scrolling:touch!important}.carnet-table th,.carnet-table td{padding:7px 8px!important;font-size:.75rem!important}.user-identity-dropdown-popover{width:calc(100vw - 16px)!important;max-width:310px!important;right:0!important}.switch-pin-modal,.add-account-modal{max-width:calc(100vw - 20px)!important;padding:16px 12px!important}}.totem-config-actions{display:grid;gap:7px;width:100%;margin-top:6px}.totem-config-action-btn{min-height:36px;width:100%;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.2);color:#fff;font-size:.8rem;font-weight:850;cursor:pointer;transition:all .15s ease-in-out}.totem-config-action-btn.switch-role{background:#0096ff40;border-color:#00b4ff80}.totem-config-action-btn.switch-role:hover{background:#0096ff73}.totem-config-action-btn.unlink-device{background:#ef444438;border-color:#ef444473;color:#fca5a5}.totem-config-action-btn.unlink-device:hover{background:#ef444466}.device-role-cards-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:6px 0 12px}@media(max-width:600px){.device-role-cards-container{grid-template-columns:1fr}}.device-role-option{display:grid;gap:8px;padding:14px;border-radius:10px;border:2px solid rgba(0,75,129,.18);background:#f8fafc;color:#1e293b;text-align:left;cursor:pointer;transition:all .2s ease}.device-role-option:hover{border-color:#0070ba;background:#f0f7ff}.device-role-option.active{border-color:#0070ba;background:#e6f2ff;box-shadow:0 0 0 1px #0070ba}.role-option-header{display:flex;align-items:center;gap:10px}.role-option-header strong{font-size:1.05rem;color:#004b81}.role-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;background:#004b811a;color:#004b81}.device-role-option small{color:#64748b;font-size:.82rem;line-height:1.3}.universal-pair-page{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:clamp(20px,3.5vw,44px);background:#03141f;color:#fff;font-family:inherit;overflow:hidden}.universal-pair-video{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}.universal-pair-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 50% 30%,#03141fb8,#020e17f0);z-index:1;pointer-events:none}.universal-pair-brand{position:fixed;top:clamp(16px,3vw,32px);left:clamp(16px,3.5vw,36px);z-index:2;display:flex;align-items:center;gap:16px}.universal-pair-brand img{max-height:48px;max-width:150px;object-fit:contain}.universal-pair-brand img:first-child{max-width:170px}.universal-pair-panel{position:relative;z-index:2;width:min(860px,100%);display:flex;flex-direction:column;gap:24px;padding:clamp(28px,4vw,48px);background:#032437a6;border:1px solid rgba(255,255,255,.2);border-radius:12px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 28px 70px #000f1966}.universal-pair-content{display:grid;grid-template-columns:1fr 240px;align-items:center;gap:clamp(24px,4vw,44px)}.universal-pair-text{display:flex;flex-direction:column;gap:12px}.universal-pair-kicker{color:#7dd3fc;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.universal-pair-title{margin:0;font-size:clamp(2rem,3.2vw,2.7rem);font-weight:800;color:#fff;line-height:1.1}.universal-pair-subtitle{margin:0;color:#e2e8f0;font-size:1.15rem;font-weight:600}.universal-pair-desc{margin:0;color:#cbd5e1;font-size:.98rem;line-height:1.5}.universal-pair-code-box{display:inline-flex;flex-direction:column;gap:4px;padding:14px 20px;border-radius:8px;background:#00000059;border:1px solid rgba(255,255,255,.16);align-self:flex-start;margin-top:4px}.universal-pair-code-box .code-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8;font-weight:700}.universal-pair-code-box .code-display strong{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:clamp(2.4rem,4.2vw,3.2rem);font-weight:900;letter-spacing:.12em;color:#fff}.universal-pair-actions{display:flex;align-items:center;gap:14px;margin-top:6px;flex-wrap:wrap}.universal-pair-refresh-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:6px;border:1px solid rgba(255,255,255,.22);background:#ffffff14;color:#e2e8f0;font-size:.88rem;font-weight:600;cursor:pointer;transition:all .15s ease}.universal-pair-refresh-btn:hover:not(:disabled){background:#ffffff29;color:#fff}.universal-pair-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.universal-pair-error-text{color:#f87171;font-size:.85rem;font-weight:600}.universal-pair-qr-pane{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.universal-pair-qr-frame{width:220px;height:220px;display:flex;align-items:center;justify-content:center;background:#fff;padding:10px;border-radius:10px;box-shadow:0 14px 32px #00000059}.universal-pair-qr-frame .universal-qr-img{width:100%;height:100%;object-fit:contain}.universal-pair-qr-pane .universal-qr-caption{color:#94a3b8;font-size:.82rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.universal-pair-footer{padding-top:14px;border-top:1px solid rgba(255,255,255,.12);font-size:.82rem;color:#94a3b8;text-align:center}@media(max-width:780px),(orientation:portrait){.universal-pair-brand{position:static;justify-content:center;margin-bottom:8px}.universal-pair-page{flex-direction:column;justify-content:flex-start;padding:24px 16px;overflow-y:auto}.universal-pair-panel{width:100%;padding:24px 20px;text-align:center}.universal-pair-content{grid-template-columns:1fr;justify-items:center;gap:24px}.universal-pair-text{align-items:center}.universal-pair-code-box{align-self:center}.universal-pair-actions{justify-content:center}}.tv-header-title-block{display:flex;flex-direction:column;gap:4px}.tv-header-h1-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.tv-patient-count-badge{display:inline-flex;align-items:center;padding:5px 12px;background:#00a3e038;border:1px solid rgba(0,163,224,.5);border-radius:999px;color:#cbe8f3;font-size:.88rem;font-weight:700;letter-spacing:.3px;text-transform:uppercase}.tv-patient-count-badge.zero{background:#ffffff1a;border-color:#fff3;color:#ffffffb3}.tv-header-info-widget{display:flex;align-items:center;justify-content:flex-end;gap:22px}.tv-weather-widget{display:flex;flex-direction:column;align-items:flex-end;gap:2px;padding-right:20px;border-right:1px solid rgba(255,255,255,.22)}.tv-weather-icon-temp{display:flex;align-items:center;gap:8px}.tv-weather-temp{font-size:2.2rem;font-weight:800;line-height:1;color:#fff;letter-spacing:-.5px}.tv-weather-desc{font-size:.84rem;font-weight:600;color:#cbe8f3;white-space:nowrap}.weather-icon-sun{color:#fbbf24}.weather-icon-cloud-sun{color:#93c5fd}.weather-icon-cloud{color:#cbd5e1}.weather-icon-rain,.weather-icon-drizzle{color:#60a5fa}.weather-icon-lightning{color:#facc15}.weather-icon-fog{color:#94a3b8}.weather-icon-snow{color:#e0f2fe}.tv-clock-widget{display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-width:155px}.tv-clock-time{font-size:2.8rem;font-weight:800;line-height:1;color:#fff;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.tv-clock-date{font-size:.92rem;font-weight:700;color:#cbe8f3;white-space:nowrap;text-transform:capitalize}@media(max-width:768px){.tv-header-info-widget{flex-wrap:wrap;justify-content:flex-start;gap:14px}.tv-weather-widget{align-items:flex-start;padding-right:14px}.tv-clock-widget{align-items:flex-start;min-width:unset}.tv-clock-time{font-size:2.2rem}}.tv-llamador-board{height:100vh;height:100dvh;min-height:0;grid-template-rows:auto minmax(0,1fr)}.tv-llamador-board header{grid-template-columns:minmax(280px,430px) minmax(230px,1fr) auto}.tv-board.tv-llamador-board header>.tv-header-info-widget{display:flex;align-items:center;justify-content:flex-end;gap:22px}.tv-llamador-board header .tv-clock-time{font-size:2.6rem;letter-spacing:0}.tv-llamador-board .tv-weather-temp{letter-spacing:0}.tv-llamador-board .tv-idle-stage{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;gap:24px;pointer-events:auto}.tv-llamador-board .tv-idle-stage.has-history{grid-template-columns:minmax(250px,440px) minmax(0,1fr)}.tv-llamador-board .tv-call-history{position:static;width:auto;min-width:0;min-height:0;overflow-y:auto}.tv-llamador-board .tv-history-newest{border-color:#ffffffa6;padding:22px}.tv-llamador-board .tv-history-newest strong{font-size:1.85rem}.tv-llamador-board .tv-history-recent{width:94%;padding:16px 18px}.tv-llamador-board .tv-history-recent strong{font-size:1.5rem}.tv-llamador-board .tv-history-older{width:88%;padding:12px 16px}.tv-llamador-board .tv-history-older strong{font-size:1.25rem}.tv-llamador-board .tv-history-older span{font-size:1.1rem}.tv-llamador-board .tv-current-call-area{min-width:0;min-height:0;display:flex;align-items:flex-start;justify-content:center;padding-top:4vh}.tv-llamador-board .tv-call-toast:not(.with-operational-alert){position:relative;top:auto;left:auto;width:min(920px,100%);max-height:100%;overflow-y:auto;transform:none;animation-name:tvCallPulseInPlace}@keyframes tvCallPulseInPlace{0%,to{opacity:1}50%{opacity:.88}}@media(max-width:980px){.tv-llamador-board header{grid-template-columns:minmax(0,1fr) auto}.tv-llamador-board .tv-idle-stage.has-history{grid-template-columns:minmax(200px,38%) minmax(0,1fr)}.tv-llamador-board .tv-call-history{max-height:none}.tv-llamador-board .tv-history-newest strong{font-size:1.4rem}.tv-llamador-board .tv-history-recent strong{font-size:1.2rem}.tv-llamador-board .tv-history-older strong{font-size:1.05rem}}@media(max-width:600px){.tv-llamador-board header{grid-template-columns:minmax(0,1fr);gap:10px}.tv-llamador-board header>div:nth-child(2){grid-column:auto;order:initial}.tv-board.tv-llamador-board header>.tv-header-info-widget{justify-content:flex-start;flex-wrap:nowrap;gap:14px}.tv-llamador-board header .tv-clock-time{font-size:1.6rem}.tv-llamador-board .tv-weather-temp{font-size:1.5rem}.tv-llamador-board .tv-idle-stage.has-history{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,45%);gap:12px}.tv-llamador-board .tv-call-history{grid-row:2;margin-bottom:64px}.tv-llamador-board .tv-current-call-area{grid-row:1;padding-top:0}.tv-llamador-board .tv-idle-stage.has-history:not(.has-current-call){grid-template-rows:minmax(0,1fr)}.tv-llamador-board .tv-idle-stage:not(.has-current-call) .tv-call-history{grid-row:1}.tv-llamador-board .tv-idle-stage:not(.has-current-call) .tv-current-call-area{display:none}}
