@font-face{font-family:'Noto Sans Khmer';src:url('assets/fonts/Noto_Sans_Khmer/NotoSansKhmer-VariableFont_wdth%2Cwght.ttf') format('truetype-variations');font-weight:100 900;font-stretch:62.5% 100%;font-style:normal;font-display:swap}@font-face{font-family:Lora;src:url('assets/fonts/Lora/Lora-VariableFont_wght.ttf') format('truetype-variations');font-weight:400 700;font-style:normal;font-display:swap}@font-face{font-family:Lora;src:url('assets/fonts/Lora/Lora-Italic-VariableFont_wght.ttf') format('truetype-variations');font-weight:400 700;font-style:italic;font-display:swap}@font-face{font-family:'Varela Round';src:url('assets/fonts/Varela_Round/VarelaRound-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}:root{--navy-950:#0f172a;--navy-900:#1e293b;--navy-800:#334155;--navy-700:#475569;--slate-50:#f8fafc;--slate-100:#f1f5f9;--slate-200:#e2e8f0;--slate-300:#cbd5e1;--slate-400:#94a3b8;--slate-500:#64748b;--slate-700:#475569;--emerald-100:#dcfce7;--emerald-300:#6ee7b7;--emerald-500:#10b981;--emerald-600:#059669;--emerald-700:#047857;--glow-soft:rgba(134, 239, 172, 0.74);--glow-strong:rgba(16, 185, 129, 0.42);--glow-ring:rgba(16, 185, 129, 0.22);--glow-peak:rgba(52, 211, 153, 0.74);--grad-active:linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);--grad-active-hover:linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);--grad-header-down:linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);--grad-header-light:linear-gradient(180deg, #ffffff 0%, var(--slate-100) 100%);--brand-title:#102591;--brand-accent:var(--emerald-500);--brand-accent-text:var(--emerald-700);--header-bar-bg:var(--grad-header-light);--header-bar-text:var(--slate-700);--header-bar-border-bottom:var(--emerald-500);--header-bar-shadow-drop:rgba(15, 23, 42, 0.08);--header-bar-shadow-inset:rgba(16, 185, 129, 0.14);--header-logo-bg:var(--navy-900);--header-logo-border:var(--navy-800);--header-logo-text:#ecfdf5;--header-title-text:var(--navy-900);--header-brand-glow-text:var(--emerald-700);--header-brand-glow-shadow:none;--header-subtitle-text:var(--slate-500);--header-divider-bg:var(--slate-200);--header-patientadd-bg:var(--emerald-500);--header-patientadd-border:var(--emerald-600);--header-patientadd-text:#ffffff;--header-patientadd-inner-highlight:rgba(255, 255, 255, 0.32);--header-patientadd-hover-shadow:rgba(6, 95, 70, 0.24);--header-patientadd-focus-ring:rgba(16, 185, 129, 0.5);--patientsearch-input-bg:#ffffff;--patientsearch-input-bg-hover:#fff;--patientsearch-input-bg-focus:#fff;--patientsearch-input-text:var(--navy-900);--patientsearch-input-text-filled:var(--emerald-700);--patientsearch-input-text-glow-filled:rgba(16, 185, 129, 0.24);--patientsearch-input-placeholder:var(--slate-400);--patientsearch-input-border:var(--slate-300);--patientsearch-input-border-hover:var(--slate-400);--patientsearch-input-border-focus:var(--emerald-500);--patientsearch-input-inner-highlight:rgba(255, 255, 255, 0.65);--patientsearch-input-focus-ring:rgba(16, 185, 129, 0.18);--patientsearch-input-focus-underline:rgba(16, 185, 129, 0.32);--patientsearch-icon:var(--slate-500);--patientsearch-icon-focus:var(--emerald-500);--patientsearch-icon-focus-glow:rgba(16, 185, 129, 0.28);--patientsearch-selected-bg:#ecfdf5;--patientsearch-selected-border:var(--emerald-500);--patientsearch-selected-text:var(--emerald-700);--patientsearch-selected-text-glow:rgba(16, 185, 129, 0.24);--patientsearch-selected-shadow-underline:rgba(16, 185, 129, 0.34);--patientsearch-selected-shadow-ring:rgba(16, 185, 129, 0.18);--patientsearch-selected-shadow-drop:rgba(6, 95, 70, 0.10);--patientsearch-selected-clear:var(--slate-500);--patientsearch-selected-clear-hover:var(--emerald-700);--patientsearch-dropdown-bg:#fff;--patientsearch-dropdown-border:var(--slate-300);--patientsearch-dropdown-shadow-drop:rgba(15, 23, 42, 0.12);--patientsearch-dropdown-shadow-ring:rgba(16, 185, 129, 0.08);--patientsearch-dropdown-item-bg:#fff;--patientsearch-dropdown-item-text:var(--navy-900);--patientsearch-dropdown-item-divider:var(--slate-200);--patientsearch-dropdown-item-active-bg:#ecfdf5;--patientsearch-dropdown-item-active-text:var(--emerald-700);--patientsearch-dropdown-item-active-rail:var(--emerald-500);--patientsearch-dropdown-item-strong-text:var(--emerald-700);--surfbar-light:#ffffff;--surfbar-dark:#f8fafc;--surfbar-border:#e2e8f0;--surfbar-title-text:#0f172a;--surfbar-title-shadow:none;--surfbar-subtitle-text:#64748b;--surfbar-icon:#059669;--surfbar-icon-filter:none;--headerchip-hover-bg:rgba(15, 23, 42, 0.05);--headerchip-open-bg:rgba(15, 23, 42, 0.09);--headerchip-hover-text:var(--navy-900);--headerchip-idle-text:var(--slate-500);--locquick-text:var(--slate-500);--locquick-text-active:var(--emerald-700);--locquick-name:var(--navy-900);--locquick-bg-hover:var(--slate-50);--locquick-bg-active:#ecfdf5;--locquick-bg-active-hover:#d1fae5;--locquick-ring-open:rgba(16, 185, 129, 0.34);--locquick-ring-active:rgba(16, 185, 129, 0.28);--locquick-ring-active-strong:rgba(16, 185, 129, 0.45);--locquick-underline-active:var(--emerald-500);--locquick-avatar-bg:var(--slate-50);--locquick-avatar-border:#a7f3d0;--locquick-avatar-inner-highlight:rgba(255, 255, 255, 0.7);--locquick-initial-text:var(--emerald-700);--locquick-initial-bg:rgba(255, 255, 255, 0.94);--locquick-initial-ring:rgba(16, 185, 129, 0.28);--locdropdown-bg:#fff;--locdropdown-border:#e5e7eb;--locdropdown-shadow:rgba(0, 0, 0, 0.15);--locdropdown-item-text:#374151;--locdropdown-item-hover-bg:var(--slate-50);--locdropdown-item-active-bg:#ecfdf5;--locdropdown-item-active-text:var(--emerald-700);--locdropdown-item-active-rail:var(--emerald-500);--locdropdown-item-active-icon:var(--emerald-500);--locdropdown-item-active-icon-fill:rgba(16, 185, 129, 0.12);--locdropdown-avatar-bg:var(--slate-50);--locdropdown-avatar-border:var(--slate-300);--locdropdown-default-star:#f59e0b;--locdropdown-active-badge-bg:var(--emerald-100);--locdropdown-active-badge-text:var(--emerald-700);--sigctx-card-bg:var(--slate-50);--sigctx-card-text:var(--navy-900);--sigctx-card-border:var(--slate-200);--sigctx-card-hover-bg:#ecfdf5;--sigctx-card-hover-border:#a7f3d0;--sigctx-card-hover-ring:rgba(16, 185, 129, 0.14);--sigctx-icon-bg:var(--slate-200);--sigctx-label-text:var(--navy-900);--sigctx-position-bg:var(--slate-200);--sigctx-position-text:var(--slate-500);--sigctx-dot-idle:var(--slate-300);--sigctx-dot-idle-ring:rgba(15, 23, 42, 0.12);--sigctx-dot-ok:#86efac;--sigctx-dot-warn:#fde68a;--sigctx-dot-error:#fecaca;--sigctx-dot-loading:#a7f3d0;--sigctx-status-ready-icon-bg:var(--emerald-100);--sigctx-status-ready-icon-text:var(--emerald-700);--sigctx-status-warning-icon-bg:#fef3c7;--sigctx-status-warning-icon-text:#92400e;--sigctx-status-error-icon-bg:#fee2e2;--sigctx-status-error-icon-text:#b91c1c;--sigctx-status-disabled-bg:var(--slate-50);--sigctx-status-disabled-border:var(--slate-200);--sigctx-status-disabled-icon-bg:var(--slate-200);--sigctx-status-disabled-icon-text:var(--slate-400);--sigctx-status-checking-icon-bg:#ecfdf5;--sigctx-status-checking-icon-text:var(--emerald-500);--sigctx-status-local-bg:var(--slate-50);--sigctx-status-local-border:var(--slate-200);--sigctx-status-local-text:var(--slate-600);--sigctx-status-local-icon-bg:var(--slate-100);--sigctx-status-local-icon-text:var(--slate-500);--sigctx-status-local-dot:var(--slate-300);--sigctx-readiness-off-icon:var(--slate-400);--sigctx-readiness-off-text:var(--slate-500);--sigctx-readiness-external-icon:var(--emerald-600);--sigctx-readiness-external-text:var(--emerald-700);--sigctx-readiness-external-border:var(--emerald-300);--sigctx-readiness-external-glow:rgba(16, 185, 129, 0.22);--sigctx-readiness-self-icon:#2563eb;--sigctx-readiness-self-text:#1d4ed8;--sigctx-readiness-self-border:transparent;--sigctx-readiness-self-glow:rgba(37, 99, 235, 0.18);--sigctx-tip-bg:var(--navy-950);--sigctx-tip-text:var(--slate-50);--sigctx-tip-strong-text:#fff;--sigctx-tip-span-text:var(--slate-300);--sigctx-tip-border:rgba(148, 163, 184, 0.24);--sigctx-tip-shadow:rgba(15, 23, 42, 0.38);--sigctx-help-control-bg:var(--slate-50);--sigctx-help-control-text:var(--slate-600);--sigctx-help-control-border:var(--slate-200);--sigctx-help-control-hover-bg:#ecfdf5;--sigctx-help-control-hover-text:var(--emerald-700);--sigctx-help-control-hover-border:#a7f3d0;--sigctx-help-control-focus-ring:rgba(16, 185, 129, 0.22);--sigctx-help-popover-bg:#fff;--sigctx-help-popover-border:var(--slate-200);--sigctx-help-popover-title:var(--navy-900);--sigctx-help-popover-text:var(--slate-700);--sigctx-help-popover-muted:var(--slate-600);--sigctx-help-popover-link:var(--emerald-700);--sigctx-help-popover-link-hover:var(--emerald-600);--sigctx-help-popover-rail:var(--emerald-500);--sigctx-help-popover-shadow:rgba(15, 23, 42, 0.22);--sigctx-menu-bg:#fff;--sigctx-menu-border:#dbe3ee;--sigctx-menu-shadow:rgba(15, 23, 42, 0.22);--sigctx-menu-item-text:var(--navy-800);--sigctx-menu-item-hover-bg:var(--slate-100);--sigctx-menu-item-active-bg:#ecfdf5;--sigctx-menu-item-active-text:var(--navy-800);--sigctx-choice-icon-bg:var(--slate-200);--sigctx-choice-icon-text:var(--navy-700);--sigctx-choice-icon-active-bg:var(--emerald-500);--sigctx-choice-icon-active-text:#fff;--sigctx-choice-desc-text:var(--slate-500);--sigctx-choice-desc-text-active:var(--navy-700);--sigctx-choice-separator:#e5e7eb;--sigctx-choice-section-label:var(--slate-500);--sigctx-choice-chevron:var(--slate-500);--sigctx-choice-chevron-hover:#1e40af;--sigctx-cloud-pill-active-bg:#ecfdf5;--sigctx-cloud-pill-active-text:var(--emerald-700);--sigctx-cloud-pill-active-ring:rgba(16, 185, 129, 0.42);--sigctx-cloud-pill-inactive-bg:#fef3c7;--sigctx-cloud-pill-inactive-text:#92400e;--sigctx-cloud-pill-inactive-ring:rgba(217, 119, 6, 0.25);--sigctx-lastro-bg:var(--slate-50, #f8fafc);--sigctx-lastro-border:var(--slate-200, #e2e8f0);--sigctx-lastro-title:var(--slate-500);--sigctx-lastro-text:var(--slate-600, #475569);--sigctx-lastro-todo:#f59e0b;--sigctx-lastro-ok:var(--emerald-600, #059669);--sigctx-lastro-ok-text:var(--slate-600, #475569);--sigctx-lastro-action:var(--emerald-600, #059669);--sigctx-lastro-action-hover:var(--emerald-700, #047857);--sigctx-cloud-idle-dot:#f59e0b;--sigctx-cloud-idle-text:var(--slate-500);--sigctx-cloud-idle-action:var(--emerald-600, #059669);--sigctx-cloud-idle-text-active:var(--slate-300, #cbd5e1);--sigctx-cloud-idle-action-active:#6ee7b7;--sigctx-cloud-chip-active:var(--sigctx-readiness-external-icon);--sigctx-cloud-chip-active-bg:var(--sigctx-choice-icon-active-bg);--sigctx-cloud-chip-active-text:var(--sigctx-choice-icon-active-text);--sigctx-cloud-chip-active-glow:var(--sigctx-readiness-external-glow);--sigctx-cloud-chip-inactive:var(--sigctx-readiness-off-icon);--sigctx-key-chip-active:var(--sigctx-readiness-external-icon);--sigctx-key-chip-active-glow:var(--sigctx-readiness-external-glow);--sigctx-key-chip-inactive:var(--sigctx-readiness-off-icon);--sigctx-self-chip-ready:var(--sigctx-readiness-self-icon);--sigctx-self-chip-ready-glow:var(--sigctx-readiness-self-glow);--connstatus-online-bg:rgba(16, 185, 129, 0.2);--connstatus-online-text:var(--emerald-300);--connstatus-offline-bg:rgba(239, 68, 68, 0.2);--connstatus-offline-text:#fca5a5;--connstatus-menu-online-bg:#ecfdf5;--connstatus-menu-online-text:var(--emerald-600);--connstatus-menu-offline-bg:#fef2f2;--connstatus-menu-offline-text:#dc2626;--doctype-shortcuts-bg:var(--doctypebar-pano-bg);--doctype-shortcuts-border:var(--doctypebar-pano-border);--doctype-shortcut-text:var(--doctypebar-tab-text);--doctype-shortcut-hover-bg:var(--doctypebar-tab-hover-bg);--doctype-shortcut-hover-text:var(--doctypebar-tab-hover-text);--doctype-shortcut-hover-border:var(--doctypebar-tab-hover-border);--doctype-shortcut-focus-ring:rgba(16, 185, 129, 0.24);--doctype-shortcut-active-text:#dcfce7;--doctype-shortcut-active-icon:#6ee7b7;--doctype-shortcut-active-icon-glow:rgba(16, 185, 129, 0.5);--doctype-shortcut-active-underline:var(--emerald-500);--doctype-shortcut-active-underline-glow:rgba(16, 185, 129, 0.5);--doctypebar-pano-bg:linear-gradient(180deg, var(--slate-50) 0%, var(--slate-200) 100%);--doctypebar-pano-border:var(--slate-300);--doctypebar-pano-inset:rgba(255, 255, 255, 0.72);--doctypebar-tabs-border:var(--slate-300);--doctypebar-tab-text:var(--slate-700);--doctypebar-tab-hover-bg:rgba(255, 255, 255, 0.72);--doctypebar-tab-hover-text:var(--navy-900);--doctypebar-tab-hover-border:var(--slate-300);--doctypebar-launcher-bg:#ffffff;--doctypebar-launcher-border:var(--slate-300);--doctypebar-launcher-text:var(--emerald-700);--doctypebar-launcher-hover-bg:#ecfdf5;--doctypebar-launcher-hover-border:var(--emerald-300);--doctypebar-chevron-bg:rgba(16, 185, 129, 0.10);--doctypebar-chevron-border:rgba(16, 185, 129, 0.38);--doctypebar-chevron-text:var(--emerald-700);--doctypebar-chevron-hover-bg:rgba(16, 185, 129, 0.20);--doctypebar-chevron-hover-border:var(--emerald-300);--doctypebar-segmented-shadow:0 1px 3px rgba(15, 23, 42, 0.10);--papersegmented-bg:#f8f9fa;--papersegmented-border:#d1d5db;--papersegmented-divider:#d1d5db;--papersegmented-hover-border:var(--slate-400);--papersegmented-focus-border:var(--emerald-500);--papersegmented-focus-ring:rgba(16, 185, 129, 0.18);--papersegmented-label-text:#6b7280;--papersegmented-select-text:#374151;--papersegmented-select-hover-bg:#fff;--papersegmented-estante-text:var(--emerald-700);--papersegmented-estante-hover-bg:#ecfdf5;--papersegmented-estante-icononly-bg:var(--slate-100);--papersegmented-estante-icononly-hover-bg:#d1fae5;--editorsidebar-bg:#fafbfc;--editorsidebar-border:var(--slate-300);--editorsidebar-shadow-strong:rgba(15, 23, 42, 0.12);--editorsidebar-shadow-soft:rgba(15, 23, 42, 0.06);--layoutpreview-wrapper-bg:#eef2f7;--canvas-page-bg:#fff;--canvas-page-ring:rgba(16, 185, 129, 0.32);--canvas-page-shadow:rgba(2, 6, 23, 0.60);--canvas-page-edge:rgba(15, 23, 42, 0.18);--margin-guide-border:#adb5bd;--docstate-empty-bg:#ecfdf5;--null-doc-underline-color:var(--brand-accent);--null-doc-underline-glow:var(--glow-ring);--null-doc-content-bg:rgba(248,250,252,0.84);--null-doc-content-border:var(--slate-300);--null-doc-content-shadow:rgba(15,23,42,0.12);--docstate-empty-text:var(--emerald-700);--docstate-drafted-bg:#fef3c7;--docstate-drafted-text:#92400e;--docstate-signed-bg:#d1fae5;--docstate-signed-text:#065f46;--stdtextbadge-loaded-bg:var(--slate-100);--stdtextbadge-loaded-text:var(--navy-700);--stdtextbadge-loaded-border:var(--slate-300);--stdtextbadge-loaded-hover-bg:var(--slate-200);--stdtextbadge-diverged-bg:#fffbeb;--stdtextbadge-diverged-text:#92400e;--stdtextbadge-diverged-border:#fde68a;--stdtextbadge-diverged-hover-bg:#fef3c7;--stdtextbadge-unsaved-bg:#ecfdf5;--stdtextbadge-unsaved-text:#065f46;--stdtextbadge-unsaved-border:#a7f3d0;--stdtextbadge-unsaved-hover-bg:#d1fae5;--stdtextbadge-shadow:rgba(0, 0, 0, 0.04);--combotoolbar-bg:var(--doctypebar-pano-bg);--combotoolbar-border:var(--doctypebar-pano-border);--combotoolbar-inset:var(--doctypebar-pano-inset);--combotoolbar-label-color:var(--emerald-700);--combotoolbar-select-bg:#fff;--combotoolbar-select-text:var(--navy-950);--combotoolbar-select-border:var(--slate-300);--combotoolbar-select-border-hover:var(--navy-900);--combotoolbar-select-focus:var(--emerald-500);--combotoolbar-focus-ring:rgba(16, 185, 129, 0.22);--combotoolbar-btn-bg:#fff;--combotoolbar-btn-text:var(--navy-800);--combotoolbar-btn-border:var(--slate-300);--combotoolbar-btn-hover-bg:var(--slate-100);--combotoolbar-btn-hover-border:var(--navy-900);--combotoolbar-save-bg:linear-gradient(180deg, #10b981 0%, #059669 100%);--combotoolbar-save-hover-bg:linear-gradient(180deg, #34d399 0%, #059669 100%);--combotoolbar-save-border:var(--emerald-600);--combotoolbar-save-glow:0 0 0 1px rgba(16, 185, 129, 0.32),0 0 10px rgba(16, 185, 129, 0.30);--zoomctrl-bg:var(--slate-50);--zoomctrl-border:var(--slate-200);--zoomctrl-btn-text:var(--navy-700);--zoomctrl-btn-hover-bg:var(--slate-200);--zoomctrl-btn-hover-text:var(--navy-950);--zoomctrl-level-text:var(--navy-800);--zoomctrl-level-hover-bg:var(--slate-200);--zoomctrl-slider-accent:var(--brand-accent);--doctype-tooltip-bg:var(--navy-900);--doctype-tooltip-text:var(--slate-50);--doctype-tooltip-border:var(--slate-600);--editormode-bar-text:var(--slate-300);--editormode-toggle-bg:#fff;--editormode-toggle-text:var(--navy-800);--editormode-toggle-border:#dbe3ee;--editormode-toggle-small-text:var(--slate-500);--editormode-toggle-accent:var(--emerald-500);--multipage-wrapper-bg:#eef2f7;--multipage-wrapper-border:#dbe3ee;--editaction-btn-shadow:rgba(15, 23, 42, 0.04);--editaction-btn-hover-shadow:rgba(15, 23, 42, 0.10);--editaction-sign-bg:#ecfdf5;--editaction-sign-text:var(--emerald-700);--editaction-sign-border:#bbf7d0;--editaction-sign-shadow:rgba(4, 120, 87, 0.08);--editaction-sign-hover-bg:#d1fae5;--editaction-sign-hover-border:#86efac;--editaction-sign-hover-shadow:rgba(4, 120, 87, 0.14);--editaction-pdf-bg:var(--slate-50);--editaction-pdf-text:var(--navy-700);--editaction-pdf-border:var(--slate-200);--editaction-pdf-hover-bg:#ecfdf5;--editaction-pdf-hover-border:var(--emerald-500);--editaction-print-bg:var(--slate-50);--editaction-print-text:var(--navy-700);--editaction-print-border:#dbe3ee;--editaction-print-hover-bg:var(--slate-100);--editaction-print-hover-border:var(--slate-300);--editaction-danger-bg:#fff7ed;--editaction-danger-text:#b45309;--editaction-danger-border:#fed7aa;--fab-bg:#fff;--fab-text:var(--navy-700);--fab-border:#dbe3ee;--fab-shadow:rgba(15, 23, 42, 0.10);--fab-hover-bg:var(--slate-50);--fab-hover-text:var(--emerald-700);--fab-hover-border:#a7f3d0;--fab-hover-shadow:rgba(16, 185, 129, 0.18);--fab-focus-ring:var(--emerald-500);--fab-label-bg:#1f2937;--fab-label-text:#fff;--fab-label-shadow:rgba(0, 0, 0, 0.18);--fab-success-bg:#f0fdf4;--fab-success-text:var(--emerald-700);--fab-success-border:#bbf7d0;--fab-success-hover-bg:var(--emerald-100);--fab-success-hover-text:#065f46;--fab-success-hover-border:#86efac;--fab-success-label-bg:var(--emerald-700);--fab-danger-bg:#f8fafc;--fab-danger-text:#0f172a;--fab-danger-border:#cbd5e1;--fab-danger-hover-bg:#f1f5f9;--fab-danger-hover-text:#0f172a;--fab-danger-hover-border:#94a3b8;--fab-danger-label-bg:#0f172a;--fab-neutral-bg:var(--slate-50);--fab-neutral-text:var(--navy-700);--fab-neutral-border:#dbe3ee;--fab-neutral-hover-bg:#ecfdf5;--fab-neutral-hover-text:var(--emerald-700);--fab-neutral-hover-border:#a7f3d0;--editorcommand-bg:#ffffff;--editorcommand-border:#dbe3ee;--editorcommand-shadow:rgba(15, 23, 42, 0.08);--editorcommand-kicker:var(--slate-500);--editorcommand-title:var(--navy-900);--editorcommand-icon-bg:var(--slate-100);--editorcommand-icon-text:var(--navy-700);--editorcommand-new-bg:var(--navy-900);--editorcommand-new-hover-bg:var(--navy-700);--editorcommand-bar-bg:linear-gradient(180deg, #eef2f7 0%, var(--slate-200) 100%);--editorcommand-bar-border:#dbe3ee;--editorcommand-bar-accent:var(--emerald-500);--editorcommand-bar-shadow:rgba(15, 23, 42, 0.08);--editorcommand-bar-text:var(--navy-900);--editorcommand-bar-muted:var(--slate-500);--editorcommand-bar-icon-bg:#ffffff;--editorcommand-bar-icon-border:var(--slate-300);--editorcommand-bar-divider:var(--slate-300);--editorcommand-button-bg:#ffffff;--editorcommand-button-text:var(--navy-700);--editorcommand-button-border:var(--slate-200);--editorcommand-button-disabled-text:var(--slate-500);--editorcommand-button-disabled-border:var(--slate-200);--fab-neutral-label-bg:var(--navy-800);--signedpreview-bg:#fff;--signedpreview-ring:rgba(5, 150, 105, 0.18);--signedpreview-shadow:rgba(0, 0, 0, 0.12);--sbstdtext-section-bg:#fff;--sbstdtext-section-border:var(--slate-200);--sbstdtext-section-rail-top:var(--emerald-500);--sbstdtext-section-shadow:rgba(15, 23, 42, 0.04);--sb-section-header-bg:#f8f9fa;--sb-section-header-hover-bg:#f1f3f5;--sb-section-header-border-bottom:#e5e7eb;--sb-section-header-h5-text:#374151;--sb-section-toggle-text:#6b7280;--sbstdtext-header-bg:linear-gradient(180deg, #334155 0%, #1e293b 100%);--sbstdtext-header-text:#dcfce7;--sbstdtext-header-border-top:var(--navy-800);--sbstdtext-header-border-bottom:var(--navy-900);--sbstdtext-header-shadow-inset:rgba(255, 255, 255, 0.08);--sbstdtext-header-hover-bg:linear-gradient(180deg, #1e293b 0%, #334155 100%);--sbstdtext-header-h5-text:#dcfce7;--sbstdtext-header-svg:#6ee7b7;--sbstdtext-header-toggle:#cbd5e1;--sbstdtext-header-underline:var(--emerald-500);--sbstdtext-header-underline-glow:rgba(16, 185, 129, 0.32);--sbstdtext-title-text:#dcfce7;--sbstdtext-body-bg:#fff;--sbstdtext-discovery-text:var(--brand-accent-text);--sbstdtext-discovery-focus-ring:var(--brand-accent);--sbstdtext-list-item-divider:#e5e7eb;--sbstdtext-list-item-hover-bg:var(--slate-100);--sbstdtext-list-item-hover-rail:var(--emerald-500);--sbstdtext-li-name:var(--navy-900);--sbstdtext-li-name-hover:var(--emerald-700);--sbstdtext-cat-default-bg:linear-gradient(90deg, #eef2f7 0%, #f8fafc 72%, #fff 100%);--sbstdtext-cat-default-rail:var(--navy-700);--sbstdtext-cat-location-bg:#ffffff;--sbstdtext-cat-location-rail:var(--emerald-500);--sbstdtext-cat-kind-default-text:var(--navy-700);--sbstdtext-cat-kind-default-bg:var(--slate-200);--sbstdtext-cat-kind-default-border:var(--slate-300);--sbstdtext-cat-kind-location-text:var(--emerald-700);--sbstdtext-cat-kind-location-bg:#ecfdf5;--sbstdtext-cat-kind-location-border:#a7f3d0;--sbstdtext-li-shortcut:var(--slate-400);--sbstdtext-li-badge-text:var(--slate-500);--sbstdtext-li-badge-bg:#eef2f7;--sbstdtext-li-badge-border:var(--slate-200);--sbstdtext-li-badge-system-text:var(--navy-700);--sbstdtext-li-badge-system-bg:var(--slate-50);--sbstdtext-li-badge-system-border:var(--slate-200);--sbstdtext-li-badge-rich-text:var(--emerald-700);--sbstdtext-li-badge-rich-bg:#ecfdf5;--sbstdtext-li-badge-rich-border:#a7f3d0;--sbstdtext-li-menu-text:#9ca3af;--sbstdtext-li-menu-hover-bg:#ecfdf5;--sbstdtext-li-menu-hover-text:var(--emerald-700);--sbstdtext-tip-bg:#fff;--sbstdtext-tip-text:#1f2937;--sbstdtext-tip-border:var(--slate-200);--sbstdtext-tip-shadow-strong:rgba(15, 23, 42, 0.14);--sbstdtext-tip-shadow-soft:rgba(15, 23, 42, 0.06);--sbstdtext-tip-header-text:var(--slate-500);--sbstdtext-tip-header-border:var(--slate-100);--sbstdtext-tip-header-code-bg:var(--slate-100);--sbstdtext-tip-header-code-text:#b45309;--sbstdtext-tip-body-text:#1f2937;--sbstdtext-searchrow-bg-from:#fff;--sbstdtext-searchrow-bg-to:var(--slate-50);--sbstdtext-searchrow-border-bottom:var(--slate-200);--sbstdtext-searchrow-shadow-inset:rgba(16, 185, 129, 0.08);--sbstdtext-searchicon:var(--slate-500);--sbstdtext-searchicon-focus:var(--emerald-500);--sbstdtext-searchicon-focus-glow:rgba(16, 185, 129, 0.28);--sbstdtext-searchinput-bg:#fff;--sbstdtext-searchinput-text:var(--navy-900);--sbstdtext-searchinput-text-filled:var(--emerald-700);--sbstdtext-searchinput-text-glow:rgba(16, 185, 129, 0.24);--sbstdtext-searchinput-placeholder:var(--slate-400);--sbstdtext-searchinput-border:var(--slate-300);--sbstdtext-searchinput-border-focus:var(--emerald-500);--sbstdtext-searchinput-focus-ring:rgba(16, 185, 129, 0.18);--sbstdtext-searchinput-focus-underline:rgba(16, 185, 129, 0.28);--sbstdtext-searchclear-text:var(--slate-400);--sbstdtext-searchclear-hover-text:var(--emerald-700);--sbstdtext-searchclear-hover-bg:#ecfdf5;--sbstdtext-optionsbtn-bg:#fff;--sbstdtext-optionsbtn-text:var(--slate-500);--sbstdtext-optionsbtn-border:var(--slate-300);--sbstdtext-optionsbtn-hover-bg:#ecfdf5;--sbstdtext-optionsbtn-hover-text:var(--emerald-700);--sbstdtext-optionsbtn-hover-border:var(--emerald-500);--sbstdtext-optionsbtn-hover-underline:rgba(16, 185, 129, 0.32);--sbstdtext-optionscard-bg:#fff;--sbstdtext-optionscard-border-bottom:var(--slate-200);--sbstdtext-optionscard-rail:rgba(16, 185, 129, 0.42);--sbstdtext-quicksave-text:var(--emerald-700);--sbstdtext-quicksave-border:#a7f3d0;--sbstdtext-quicksave-bg:#ecfdf5;--cmp-sidebar-bg:var(--slate-50);--cmp-sidebar-border-right:var(--slate-200);--cmp-panel-border-bottom:var(--slate-200);--cmp-sidebar-head-bg:#fff;--cmp-sidebar-head-border-bottom:var(--slate-200);--cmp-sidebar-title-text:var(--slate-500);--cmp-sidebar-title-hover-text:var(--navy-950);--cmp-panel-chevron-text:var(--slate-400);--cmp-btn-icon-text:var(--slate-500);--cmp-btn-icon-hover-bg:var(--slate-200);--cmp-btn-icon-hover-text:var(--navy-950);--cmp-search-bg:#fff;--cmp-search-text:var(--navy-950);--cmp-search-border:var(--slate-200);--cmp-search-border-focus:var(--emerald-500);--cmp-tree-row-text:var(--navy-800);--cmp-tree-row-hover-bg:var(--slate-200);--cmp-tree-row-active-bg:#ecfdf5;--cmp-tree-row-active-text:var(--emerald-700);--cmp-tree-chevron:var(--slate-400);--cmp-tree-icon:var(--slate-500);--cmp-tree-icon-active:var(--emerald-700);--cmp-tree-pin:#f59e0b;--cmp-tree-empty-text:var(--slate-400);--cmp-status-bg:#fff;--cmp-status-border-top:var(--slate-200);--cmp-status-text:var(--slate-400);--cmp-stdtext-select-bg:#fff;--cmp-stdtext-select-text:var(--navy-950);--cmp-stdtext-select-border:var(--slate-200);--cmp-stdtext-select-border-focus:var(--emerald-500);--cmp-stdtext-select-focus-ring:rgba(16, 185, 129, 0.16);--cmp-stdtext-empty-text:var(--slate-400);--cmp-stdtext-cat-text:var(--navy-700);--cmp-stdtext-cat-bg:var(--slate-100);--cmp-stdtext-cat-hover-bg:#ecfdf5;--cmp-stdtext-cat-hover-text:var(--emerald-700);--cmp-stdtext-cat-hover-rail:var(--emerald-500);--cmp-stdtext-cat-chev:var(--slate-400);--cmp-stdtext-cat-count-text:var(--slate-500);--cmp-stdtext-cat-count-bg:#fff;--cmp-stdtext-cat-count-border:var(--slate-200);--cmp-stdtext-cat-default-bg:linear-gradient(90deg, #eef2f7 0%, #f8fafc 100%);--cmp-stdtext-cat-default-rail:var(--navy-700);--cmp-stdtext-cat-location-bg:linear-gradient(90deg, #ecfdf5 0%, #f7fffb 100%);--cmp-stdtext-cat-location-rail:var(--emerald-500);--cmp-stdtext-kind-default-text:var(--navy-700);--cmp-stdtext-kind-default-bg:var(--slate-200);--cmp-stdtext-kind-default-border:var(--slate-300);--cmp-stdtext-kind-location-text:var(--emerald-700);--cmp-stdtext-kind-location-bg:#ecfdf5;--cmp-stdtext-kind-location-border:#a7f3d0;--cmp-stdtext-mini-btn-text:var(--slate-400);--cmp-stdtext-mini-btn-hover-bg:#fff;--cmp-stdtext-mini-btn-hover-text:var(--emerald-700);--cmp-stdtext-mini-btn-hover-ring:rgba(16, 185, 129, 0.18);--cmp-stdtext-mini-btn-danger-text:#dc2626;--cmp-stdtext-mini-btn-danger-bg:#fee2e2;--cmp-stdtext-row-text:var(--navy-800);--cmp-stdtext-row-hover-bg:#ecfdf5;--cmp-stdtext-row-hover-text:var(--emerald-700);--cmp-stdtext-row-hover-rail:var(--emerald-500);--cmp-stdtext-row-active-bg:#ecfdf5;--cmp-stdtext-row-active-text:var(--emerald-700);--cmp-stdtext-row-active-rail:var(--emerald-500);--cmp-stdtext-row-badge-text:var(--slate-500);--cmp-stdtext-row-badge-bg:#fff;--cmp-stdtext-row-badge-border:var(--slate-300);--cmp-stdtext-meta-bg:#fff;--cmp-stdtext-meta-border-bottom:var(--slate-200);--cmp-stdtext-meta-input-bg:#fff;--cmp-stdtext-meta-input-text:var(--navy-950);--cmp-stdtext-meta-input-border:#d1d5db;--cmp-stdtext-meta-input-border-focus:var(--emerald-500);--cmp-stdtext-meta-input-focus-ring:rgba(16, 185, 129, 0.16);--cmp-stdtext-meta-danger-text:#dc2626;--cmp-stdtext-meta-danger-border:rgba(220, 38, 38, 0.32);--cmp-tabs-bg:var(--slate-100);--cmp-tabs-border-bottom:var(--slate-200);--cmp-tabs-scrollbar:var(--slate-300);--cmp-tab-new-text:var(--slate-500);--cmp-tab-new-border:var(--slate-300);--cmp-tab-new-hover-bg:#ecfdf5;--cmp-tab-new-hover-text:var(--emerald-700);--cmp-tab-new-hover-border:var(--emerald-500);--cmp-tab-new-hint-text:var(--slate-500);--cmp-tab-bg:var(--slate-200);--cmp-tab-text:var(--navy-700);--cmp-tab-border:transparent;--cmp-tab-hover-bg:var(--slate-300);--cmp-tab-active-bg:linear-gradient(180deg, #1e293b 0%, #334155 100%);--cmp-tab-active-text:#dcfce7;--cmp-tab-active-border:var(--navy-900);--cmp-tab-close-text:var(--slate-400);--cmp-tab-close-hover-bg:var(--slate-300);--cmp-tab-close-hover-text:#dc2626;--cmp-tab-close-active-hover-bg:#fee2e2;--cmp-tab-indicator-dirty:#f59e0b;--cmp-tab-indicator-saving:#f59e0b;--cmp-tab-indicator-saved:#16a34a;--cmp-tab-indicator-error:#dc2626;--cmp-tab-ephemeral-rail:var(--emerald-500);--cmp-tab-stdtext-rail:#16a34a;--cmp-editor-area-bg:#fff;--cmp-medtext-host-bg:#fff;--cmp-welcome-underline:var(--brand-accent);--cmp-welcome-glow:var(--glow-ring);--cmp-empty-text:var(--slate-500);--cmp-empty-h3-text:var(--navy-700);--cmp-empty-p-text:var(--slate-400);--cmp-statusbar-bg:var(--slate-50);--cmp-statusbar-text:var(--slate-500);--cmp-statusbar-border-top:var(--slate-200);--cmp-statusbar-dirty-text:#92400e;--cmp-ai-toggle-active-bg:#16a34a;--cmp-ai-toggle-active-text:#fff;--cmp-ai-toggle-active-border:#16a34a;--cmp-ai-toggle-active-hover-bg:#15803d;--cmp-ghost-text:var(--slate-400);--cmp-tabs-row-bg:var(--slate-100);--cmp-tabs-row-border-bottom:var(--slate-200);--cmp-split-controls-bg:var(--slate-100);--cmp-split-controls-border-left:var(--slate-200);--cmp-split-btn-text:var(--slate-500);--cmp-split-btn-hover-bg:var(--slate-200);--cmp-split-btn-hover-text:var(--navy-950);--cmp-split-btn-active-bg:#dcfce7;--cmp-split-btn-active-text:var(--emerald-700);--cmp-split-shell-bg:var(--slate-200);--cmp-pane-bg:#fff;--cmp-pane-border:transparent;--cmp-pane-active-border:var(--emerald-500);--cmp-pane-tabs-bg:var(--slate-50);--hub-sectiontitle-text:var(--navy-900);--hub-sectiontitle-pill-bg:var(--emerald-500);--hub-sectiontitle-pill-glow:rgba(16, 185, 129, 0.34);--hub-sectiontitle-pill-shadow:rgba(15, 23, 42, 0.08);--hub-sectiontitle-decor-stop1:rgba(51, 65, 85, 0.14);--hub-sectiontitle-decor-stop2:rgba(100, 116, 139, 0.08);--hub-sectiontitle-decor-stop3:rgba(148, 163, 184, 0.03);--hub-sectiontitle-decor-stop4:rgba(148, 163, 184, 0);--hub-sectiontitle-decor-ring:rgba(148, 163, 184, 0.12);--hub-sig-off-accent:var(--slate-400);--hub-sig-off-ring:rgba(148, 163, 184, 0.34);--hub-sig-off-glow:rgba(100, 116, 139, 0.28);--hub-sig-off-foreground:var(--slate-200);--hub-sig-off-muted:var(--slate-300);--hub-sig-off-icon-bg:rgba(148, 163, 184, 0.10);--hub-sig-off-icon-border:rgba(203, 213, 225, 0.36);--hub-quickbtn-bg:#fff;--hub-quickbtn-border:var(--slate-200);--hub-quickbtn-text:var(--navy-700);--hub-quickbtn-hover-bg:var(--slate-100);--hub-quickbtn-hover-text:var(--navy-900);--hub-quickbtn-hover-border:var(--navy-900);--hub-quickbtn-hover-shadow-drop:rgba(15, 23, 42, 0.08);--hub-quickbtn-hover-shadow-underline:rgba(16, 185, 129, 0.22);--hub-quickbtn-icon-bg:#fff;--hub-quickbtn-icon-border:rgba(16, 185, 129, 0.42);--hub-quickbtn-icon-text:var(--navy-950);--hub-quickbtn-icon-hover-border:rgba(16, 185, 129, 0.62);--hub-quickbtn-icon-hover-bg:#ecfdf5;--hub-quickbtn-icon-hover-text:var(--emerald-500);--hub-quickbtn-icon-hover-glow:rgba(16, 185, 129, 0.5);--hub-quickbtn-label-text:#111827;--hub-quickbtn-label-hover-text:var(--navy-900);--hub-quickbtn-sub-text:#6b7280;--hub-favcard-bg:#fff;--hub-favcard-border:#e5e7eb;--hub-favcard-hover-bg:var(--slate-100);--hub-favcard-hover-border:var(--navy-900);--hub-favcard-hover-shadow-drop:rgba(15, 23, 42, 0.08);--hub-favcard-hover-shadow-underline:rgba(16, 185, 129, 0.18);--hub-favthumb-bg:var(--slate-50);--hub-favthumb-border:#dbe3ee;--hub-favthumb-inner-highlight:rgba(255, 255, 255, 0.7);--hub-favthumb-fallback-text:var(--slate-400);--hub-favname-text:#111827;--hub-favmeta-text:#6b7280;--hub-favbadge-text:var(--navy-900);--hub-favbadge-bg:var(--slate-200);--hub-favbadge-border:var(--slate-300);--hub-favempty-bg:#fff;--hub-favempty-border:var(--slate-300);--hub-favempty-text:var(--slate-500);--hub-favexpand-bg:#fff;--hub-favexpand-text:var(--slate-500);--hub-favexpand-border:#dbe3ee;--hub-favexpand-shadow:rgba(15, 23, 42, 0.06);--hub-favexpand-hover-bg:#ecfdf5;--hub-favexpand-hover-text:var(--emerald-700);--hub-favexpand-hover-border:var(--emerald-500);--hub-favexpand-hover-shadow-drop:rgba(15, 23, 42, 0.08);--hub-favexpand-hover-shadow-ring:rgba(16, 185, 129, 0.10);--hub-card-bg:#fff;--hub-card-border:var(--slate-200);--hub-card-shadow:rgba(15, 23, 42, 0.04);--hub-recentpatients-rail:rgba(16, 185, 129, 0.42);--hub-cardhead-border-bottom:var(--slate-200);--hub-cardhint-text:#6b7280;--hub-cardfoot-border-top:#f3f4f6;--hub-listitem-hover-bg:var(--slate-100);--hub-listitem-hover-rail:var(--emerald-500);--hub-listicon-text:#6b7280;--hub-listtitle-text:#111827;--hub-listsub-text:#6b7280;--hub-listwhen-text:#9ca3af;--hub-empty-text:#9ca3af;--hub-linkbtn-text:var(--navy-900);--hub-linkbtn-hover-text:var(--emerald-700);--hub-linkbtn-hover-underline:var(--emerald-500);--hub-footer-text:#9ca3af;--hub-footer-border-top:var(--slate-200);--hub-module-bg:#fff;--hub-module-border:var(--slate-200);--hub-module-hover-bg:var(--slate-100);--hub-module-hover-border:var(--navy-900);--hub-module-hover-shadow-drop:rgba(15, 23, 42, 0.08);--hub-module-hover-shadow-underline:rgba(16, 185, 129, 0.18);--hub-module-disabled-border:#e5e7eb;--hub-module-disabled-bg:#fff;--hub-moduleicon-bg:#fff;--hub-moduleicon-border:rgba(16, 185, 129, 0.42);--hub-moduleicon-text:var(--navy-950);--hub-moduleicon-hover-border:rgba(16, 185, 129, 0.62);--hub-moduleicon-hover-bg:#ecfdf5;--hub-moduleicon-hover-text:var(--emerald-500);--hub-moduleicon-hover-glow:rgba(16, 185, 129, 0.5);--hub-modulelabel-text:#111827;--hub-modulesub-text:#6b7280;--hub-modulebadge-bg:#f3f4f6;--hub-modulebadge-text:#6b7280;--hub-modulebadge-beta-bg:#fef3c7;--hub-modulebadge-beta-text:#92400e;--datasection-bg:#fff;--datasection-border:var(--slate-200);--datasection-border-top:var(--emerald-500);--datasection-shadow-drop:rgba(15, 23, 42, 0.04);--datasection-shadow-inset:rgba(16, 185, 129, 0.10);--datasection-h4-text:var(--emerald-700);--datasection-h4-border-bottom:var(--slate-200);--datasection-h4-chevron:var(--emerald-500);--datasection-h4-decor-from:#93c5fd;--datatable-border:#e5e7eb;--datatable-th-bg-from:var(--navy-800);--datatable-th-bg-to:var(--navy-900);--datatable-th-text:var(--emerald-100);--datatable-th-text-glow:rgba(134, 239, 172, 0.35);--datatable-th-border-bottom:var(--navy-950);--datatable-td-text:#4b5563;--datatable-td-border-bottom:var(--slate-200);--datatable-row-zebra:var(--slate-50);--datatable-row-hover-bg:var(--slate-100);--datatable-row-hover-rail:var(--emerald-500);--rowaction-bg:transparent;--rowaction-text:var(--slate-500);--rowaction-border:#e5e7eb;--rowaction-hover-bg:var(--slate-100);--rowaction-hover-text:var(--navy-950);--rowaction-hover-border:var(--slate-300);--rowaction-primary-hover-text:var(--emerald-700);--rowaction-primary-hover-bg:#ecfdf5;--rowaction-primary-hover-border:#6ee7b7;--rowaction-primary-hover-glow:rgba(16, 185, 129, 0.25);--rowaction-success-hover-text:var(--emerald-700);--rowaction-success-hover-bg:#ecfdf5;--rowaction-success-hover-border:#6ee7b7;--rowaction-danger-hover-text:#b91c1c;--rowaction-danger-hover-bg:#fef2f2;--rowaction-danger-hover-border:#fca5a5;--rowaction-surgery-text:#7c3aed;--rowaction-surgery-border:#ddd6fe;--rowaction-surgery-bg:#f5f3ff;--rowaction-surgery-hover-text:#5b21b6;--rowaction-surgery-hover-border:#c4b5fd;--rowaction-surgery-hover-bg:#ede9fe;--patientnamelink-text:var(--navy-800);--patientnamelink-hover-text:var(--navy-900);--patientnamelink-focus-ring:var(--slate-400);--patientrowbadge-incomplete-bg:#fef3c7;--patientrowbadge-incomplete-text:#92400e;--patientrowbadge-incomplete-border:#fcd34d;--patientrowbadge-pending-bg:#fed7aa;--patientrowbadge-pending-text:#9a3412;--patientrowbadge-pending-border:#fdba74;--patientrowbadge-recent-bg:#ecfdf5;--patientrowbadge-recent-text:var(--emerald-700);--patientrowbadge-recent-border:#6ee7b7;--patientlist-shell-bg:var(--slate-50);--patientlist-panel-bg:#fff;--patientlist-panel-border:var(--slate-300);--patientlist-toolbar-bg:linear-gradient(180deg, var(--slate-50), var(--slate-200));--patientlist-toolbar-border:var(--slate-200);--patientlist-control-bg:#fff;--patientlist-control-text:var(--navy-800);--patientlist-control-border:var(--slate-300);--patientlist-control-hover-bg:var(--slate-100);--patientlist-control-focus-border:var(--brand-accent);--patientlist-control-focus-ring:rgba(16,185,129,0.22);--patientlist-muted-text:var(--slate-500);--patientlist-secondary-text:var(--slate-600);--patientlist-menu-bg:#fff;--patientlist-menu-border:var(--slate-300);--patientlist-menu-shadow:rgba(15,23,42,0.18);--patientlist-menu-hover-bg:var(--slate-100);--patientlist-open-text:var(--emerald-700);--patientlist-open-border:var(--slate-300);--patientlist-open-hover-bg:linear-gradient(180deg, var(--navy-900), var(--navy-800));--patientlist-action-text:var(--navy-800);--patientlist-action-hover-text:var(--emerald-100);--patientlist-sidebar-bg:var(--slate-100);--patientlist-filter-header-bg:linear-gradient(180deg, var(--navy-800), var(--navy-900));--patientlist-filter-header-text:var(--emerald-100);--patientlist-filter-header-border:var(--navy-950);--patientlist-filter-header-hover-bg:rgba(255,255,255,.1);--patientlist-filter-active-bg:linear-gradient(180deg, var(--navy-900), var(--navy-800));--patientlist-filter-active-text:var(--emerald-100);--patientlist-filter-active-border:var(--navy-900);--patientlist-filter-active-shadow:0 0 0 1px rgba(16,185,129,.2),0 2px 6px rgba(15,23,42,.12);--patientlist-active-filter-bg:var(--slate-50);--patientlist-active-filter-border:var(--slate-300);--patientlist-pagination-bg:var(--slate-100);--patientlist-pagination-border:var(--slate-200);--patientlist-page-active-bg:var(--patientlist-filter-active-bg);--patientlist-page-active-text:var(--emerald-100);--patientlist-page-active-border:var(--navy-900);--settings-sidebar-bg:var(--slate-50);--settings-sidebar-border-right:var(--slate-300);--settings-navgroup-label-text:var(--slate-500);--settings-navitem-text:#374151;--settings-navitem-hover-bg:var(--slate-100);--settings-navitem-hover-text:var(--navy-900);--settings-navitem-active-bg:linear-gradient(180deg, #1e293b 0%, #334155 100%);--settings-navitem-active-text:#dcfce7;--settings-main-bg:linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);--settings-rights-border-top:var(--slate-300);--phhelp-bg:var(--slate-50);--phhelp-text:var(--slate-500);--phhelp-border:var(--slate-300);--phhelp-hover-bg:var(--emerald-500);--phhelp-hover-text:#fff;--phhelp-hover-border:var(--emerald-500);--phhelp-tip-bg:#1f2937;--phhelp-tip-text:#fff;--phhelp-tip-shadow:rgba(0, 0, 0, 0.18);--cirview-grupos-color:#3b82f6;--cirview-sigtap-color:#9333ea;--cirview-cbhpm-color:#0ea5e9;--cirview-kits-color:var(--emerald-500);--cirview-orientacoes-color:#dc2626;--cir-toolbar-bg-from:var(--surfbar-light);--cir-toolbar-bg-to:var(--surfbar-dark);--cir-toolbar-border:var(--surfbar-border);--cir-toolbar-inner-highlight:rgba(255, 255, 255, 0.10);--cir-toptabs-bg:var(--slate-200);--cir-toptabs-border:var(--slate-400);--cir-toptab-bg:var(--slate-300);--cir-toptab-text:var(--navy-700);--cir-toptab-border:var(--slate-400);--cir-toptab-hover-bg:#d1d8e0;--cir-toptab-hover-text:var(--navy-900);--cir-toptab-hover-border:var(--slate-500);--cir-toptab-active-bg-from:var(--navy-900);--cir-toptab-active-bg-to:var(--navy-800);--cir-toptab-active-text:#fff;--cir-toptab-active-border:var(--navy-900);--cir-toptab-active-svg:var(--emerald-100);--cir-toptab-active-svg-glow-1:var(--glow-soft);--cir-toptab-active-svg-glow-2:var(--glow-strong);--cir-catalogwrap-bg:var(--slate-50);--cir-catalogwrap-border:var(--slate-300);--cir-catalogwrap-focus-border:var(--emerald-500);--cir-catalogwrap-focus-ring:rgba(16, 185, 129, 0.22);--cir-cataloglabel-text:var(--navy-700);--cir-catalogselect-text:var(--navy-950);--cir-catalogselect-focus-text:var(--emerald-700);--cir-catalogselect-focus-glow:rgba(16, 185, 129, 0.4);--cir-catalogselect-disabled-text:var(--slate-400);--cir-search-focus-border:var(--emerald-500);--cir-search-focus-ring:rgba(16, 185, 129, 0.22);--cir-search-text-filled:var(--emerald-700);--cir-search-text-glow-filled:rgba(16, 185, 129, 0.4);--cir-stats-text:var(--slate-400);--cir-stats-strong-text:var(--navy-950);--cir-sidebar-bg:rgba(248, 250, 252, 0.7);--cir-sidebar-border:var(--slate-300);--cir-sidebar-section-head-text:var(--navy-700);--cir-sidebar-section-head-border:var(--slate-200);--cir-catbtn-text:var(--navy-700);--cir-catbtn-hover-bg:var(--slate-100);--cir-catbtn-hover-text:var(--navy-900);--cir-catbtn-active-bg-from:var(--navy-900);--cir-catbtn-active-bg-to:var(--navy-800);--cir-catbtn-active-text:var(--emerald-100);--cir-catbtn-active-shadow-glow:rgba(16, 185, 129, 0.22);--cir-catbtn-active-shadow-drop:rgba(15, 23, 42, 0.18);--cir-catbtn-active-text-shadow:var(--glow-soft);--cir-catbtn-active-svg-glow:rgba(134, 239, 172, 0.6);--cir-catbtn-count-bg:var(--slate-200);--cir-catbtn-count-text:var(--slate-400);--cir-catbtn-count-active-bg:var(--navy-950);--cir-catbtn-count-active-text:var(--emerald-100);--cir-catbtn-count-active-glow:rgba(134, 239, 172, 0.5);--cir-catdot-active-glow:currentColor;--cir-col-bg:var(--slate-100);--cir-col-border:var(--slate-200);--cir-colhead-bg-from:var(--navy-900);--cir-colhead-bg-to:var(--navy-800);--cir-colhead-border-top-fallback:var(--navy-800);--cir-colhead-border-bottom:var(--navy-900);--cir-colhead-name-text:var(--emerald-100);--cir-colhead-name-glow-1:var(--glow-soft);--cir-colhead-name-glow-2:rgba(16, 185, 129, 0.3);--cir-colhead-cnt-bg:var(--navy-950);--cir-colhead-cnt-text:var(--slate-300);--cir-colhead-svg:var(--emerald-100);--cir-colhead-svg-glow:rgba(134, 239, 172, 0.6);--cir-card-bg:#fff;--cir-card-border:var(--slate-200);--cir-card-hover-bg:var(--slate-50);--cir-card-hover-border:var(--navy-900);--cir-card-hover-shadow:rgba(15, 23, 42, 0.10);--cir-card-name-text:var(--navy-950);--cir-cardbadge-sigtap-text:var(--navy-800);--cir-cardbadge-cbhpm-text:var(--navy-800);--cir-cardbadge-desc-text:var(--navy-800);--cir-cardbadge-sbn-text:var(--navy-800);--cir-kanban-controls-bg:var(--slate-50);--cir-kanban-controls-border:var(--slate-200);--cir-kanban-control-text:var(--navy-700);--cir-kanban-control-hover-bg:var(--slate-100);--cir-kanban-control-active-bg:var(--emerald-100);--cir-kanban-control-active-text:var(--emerald-700);--cir-kanban-control-active-border:var(--emerald-500);--cir-card-meta-text:var(--slate-500);--cir-card-source-bg:var(--slate-100);--cir-card-source-border:var(--slate-300);--cir-card-favorite-text:var(--slate-400);--cir-card-favorite-active-text:var(--emerald-600);--cir-kanban-scrollbar-track:var(--slate-200);--cir-kanban-scrollbar-thumb:var(--slate-500);--cir-drawerbackdrop-bg:rgba(15, 23, 42, 0.55);--cir-drawer-bg:#fff;--cir-drawer-text:var(--navy-950);--cir-drawer-border:var(--navy-900);--cir-drawer-shadow-drop1:rgba(15, 23, 42, 0.55);--cir-drawer-shadow-drop2:rgba(15, 23, 42, 0.32);--cir-drawer-shadow-emerald-halo:rgba(16, 185, 129, 0.55);--cir-drawer-shadow-emerald-bloom:rgba(16, 185, 129, 0.22);--cir-drawer-shadow-inner-glossy:rgba(255, 255, 255, 0.7);--cir-drawer-shadow-inner-rim:rgba(255, 255, 255, 0.04);--cir-dossier-surface-bg:var(--slate-50);--cir-dossier-card-bg:#fff;--cir-dossier-border:var(--slate-200);--cir-dossier-text:var(--navy-900);--cir-dossier-muted-text:var(--slate-500);--cir-dossier-accent:var(--brand-accent);--cir-dossier-accent-text:var(--emerald-700);--cir-dossier-header-bg:linear-gradient(180deg, var(--navy-900), var(--navy-800));--cir-dossier-header-text:var(--emerald-100);--cir-dossier-header-muted-text:var(--slate-300);--cir-dossier-header-chip-bg:rgba(255,255,255,.07);--cir-dossier-header-chip-border:rgba(255,255,255,.14);--cir-dossier-nav-hover-bg:var(--slate-200);--cir-dossier-focus-ring:rgba(16,185,129,.38);--cir-dossier-card-shadow:0 2px 8px rgba(15,23,42,.035);--pat-dossier-surface-bg:var(--slate-50);--pat-dossier-card-bg:#fff;--pat-dossier-border:var(--slate-200);--pat-dossier-text:var(--navy-900);--pat-dossier-muted-text:var(--slate-500);--pat-dossier-accent:var(--brand-accent);--pat-dossier-accent-text:var(--emerald-700);--pat-dossier-header-bg:linear-gradient(180deg,var(--navy-900),var(--navy-800));--pat-dossier-header-text:var(--emerald-100);--pat-dossier-header-muted-text:var(--slate-300);--pat-dossier-header-chip-bg:rgba(255,255,255,.07);--pat-dossier-header-chip-border:rgba(255,255,255,.14);--pat-dossier-nav-hover-bg:var(--slate-200);--pat-dossier-focus-ring:rgba(16,185,129,.38);--pat-dossier-card-shadow:0 2px 8px rgba(15,23,42,.035);--pat-dossier-warning-accent:#f59e0b;--cir-drawertabs-bg-from:var(--navy-900);--cir-drawertabs-bg-to:var(--navy-800);--cir-dtbtn-bg:rgba(255, 255, 255, 0.06);--cir-dtbtn-text:var(--slate-400);--cir-dtbtn-hover-bg:rgba(255, 255, 255, 0.14);--cir-dtbtn-hover-text:var(--slate-200);--cir-dtbtn-active-bg:#ffffff;--cir-dtbtn-active-text:var(--navy-950);--cir-dtbtn-active-svg:var(--emerald-600);--cir-dtbtn-active-svg-glow:var(--glow-soft);--cir-drawerdh-bg:var(--slate-50);--cir-drawerdh-border-top-fallback:var(--navy-800);--cir-codestoolbar-newblock-bg:#fff;--cir-codestoolbar-newblock-text:var(--navy-700);--cir-codestoolbar-newblock-border:var(--slate-200);--cir-codestoolbar-newblock-hover-bg:var(--slate-200);--cir-codestoolbar-newblock-hover-text:var(--navy-900);--cir-codestoolbar-newblock-hover-border:var(--navy-800);--cir-sigtapsearch-bg:#fff;--cir-sigtapsearch-text:var(--navy-950);--cir-sigtapsearch-border:var(--slate-200);--cir-sigtapsearch-focus-border:var(--navy-800);--cir-sigtapsearch-focus-ring:rgba(51, 65, 85, 0.15);--cir-sigtapresults-bg:#fff;--cir-sigtapresults-border:var(--slate-200);--cir-sigtapresults-shadow:rgba(15, 23, 42, 0.15);--cir-sigtapresult-text:var(--navy-950);--cir-sigtapresult-hover-bg:var(--slate-100);--cir-sigtapresult-disabled-text:var(--slate-400);--cir-codepill-bg:rgba(99, 102, 241, 0.08);--cir-codepill-text:#1d4ed8;--cir-sigtapresult-vals-text:var(--slate-400);--cir-codesblock-bg:var(--slate-50);--cir-codesblock-border:var(--slate-200);--cir-codesblockhead-bg:var(--grad-header-down);--cir-codesblockhead-border-bottom:var(--navy-950);--cir-codesblockhead-label-text:var(--emerald-100);--cir-codesblockhead-btnmini-bg:rgba(15, 23, 42, 0.28);--cir-codesblockhead-btnmini-text:var(--slate-100);--cir-codesblockhead-btnmini-border:rgba(203, 213, 225, 0.32);--cir-codesblockhead-btnmini-hover-bg:rgba(248, 250, 252, 0.14);--cir-codesblockhead-btnmini-hover-text:var(--emerald-100);--cir-codesblockhead-btnmini-hover-border:var(--emerald-300);--cir-codesblockhead-btnmini-danger-text:#fecaca;--cir-codesblockhead-btnmini-danger-border:rgba(254, 202, 202, 0.42);--cir-codesblockhead-btnmini-danger-hover-bg:rgba(220, 38, 38, 0.22);--cir-codesblockhead-btnmini-danger-hover-border:#fca5a5;--cir-codesedit-label-bg:var(--slate-50);--cir-codesedit-label-border-bottom:var(--slate-200);--cir-codesedit-label-text:var(--navy-950);--cir-codesedit-area-outline:var(--navy-800);--cir-codesedit-area-bg:#fff;--cir-codesedit-area-text:var(--navy-950);--cir-codesnewblock-bg:#fff;--cir-codesnewblock-border:var(--navy-800);--cir-codesnewblock-shadow:rgba(51, 65, 85, 0.18);--cir-codesnewblock-h5-text:var(--navy-950);--cir-codesnewblock-fieldlabel-text:var(--slate-400);--cir-codesnewblock-input-bg:#fff;--cir-codesnewblock-input-text:var(--navy-950);--cir-codesnewblock-input-border:var(--slate-200);--cir-codesnewblock-input-focus-border:var(--navy-800);--cir-codesnewblock-input-focus-ring:rgba(51, 65, 85, 0.15);--cir-codesblockhead-copybtn-bg:var(--slate-100);--cir-codesblockhead-copybtn-text:var(--navy-700);--cir-codesblockhead-copybtn-border:var(--slate-200);--cir-codesblockhead-copybtn-hover-bg:var(--slate-200);--cir-codesblockhead-copybtn-hover-text:var(--navy-900);--cir-codesblockhead-copybtn-hover-border:var(--navy-800);--cir-codesblockhead-copybtn-primary-bg:var(--navy-800);--cir-codesblockhead-copybtn-primary-text:#fff;--cir-codesblockhead-copybtn-primary-border:var(--navy-900);--cir-codesblockhead-copybtn-copied-bg:#16a34a;--cir-codesblockhead-copybtn-copied-text:#fff;--cir-codesblockhead-copybtn-copied-border:#16a34a;--cir-codesubhead-bg-from:var(--slate-100);--cir-codesubhead-bg-to:var(--slate-200);--cir-codesubhead-hover-bg-from:var(--slate-50);--cir-codesubhead-hover-bg-to:var(--slate-200);--cir-codesubhead-open-bg-from:var(--slate-200);--cir-codesubhead-open-bg-to:var(--slate-100);--cir-codesubhead-text:var(--navy-800);--cir-codesubhead-border:var(--slate-300);--cir-codesubhead-accent:var(--emerald-500);--cir-codesubhead-marker:var(--emerald-700);--cir-codesubhead-icon:var(--emerald-700);--cir-codesubhead-icon-glow:rgba(16, 185, 129, 0.18);--cir-codesubhead-inner-highlight:rgba(255, 255, 255, 0.72);--cir-codesubhead-focus-ring:rgba(16, 185, 129, 0.26);--cir-codesubhead-pill-bg:var(--slate-50);--cir-codesubhead-pill-border:var(--slate-300);--cir-codesubhead-pill-text:var(--navy-800);--cir-sigtaplinked-count-bg:rgba(37, 99, 235, 0.1);--cir-sigtaplinked-count-text:#1d4ed8;--cir-sigtapsource-chip-bg:#fff;--cir-sigtapsource-chip-border:var(--slate-200);--cir-sigtapsource-chip-codefmt-text:#1d4ed8;--cir-sigtapsanote-bg:rgba(20, 184, 166, 0.07);--cir-sigtapsanote-border:rgba(20, 184, 166, 0.22);--cir-sigtapsanote-text:#000000;--cir-mirrorchip-global-bg:#eff6ff;--cir-mirrorchip-global-border:#bfdbfe;--cir-mirrorchip-global-text:#1d4ed8;--cir-mirrorchip-bridge-bg:#fffbeb;--cir-mirrorchip-bridge-border:#fed7aa;--cir-mirrorchip-bridge-text:#92400e;--cir-mirrorchip-button-hover-bg:rgba(37, 99, 235, 0.08);--cir-mirrorchip-empty-text:var(--slate-400);--cir-codeitem-bg:#fff;--cir-codeitem-border:var(--slate-200);--cir-codeitem-hover-bg:rgba(51, 65, 85, 0.04);--cir-codeitem-hover-border:rgba(51, 65, 85, 0.35);--cir-codeitem-checked-bg:rgba(51, 65, 85, 0.06);--cir-codeitem-checked-border:rgba(51, 65, 85, 0.4);--cir-codeitem-warning-bg:rgba(220, 38, 38, 0.05);--cir-codeitem-warning-border:rgba(220, 38, 38, 0.35);--cir-codeitem-checkbox-accent:var(--navy-800);--cir-codeitem-codefmt-text:#1d4ed8;--cir-codeitem-codefmt-warning-text:#dc2626;--cir-codeitem-name-text:var(--navy-800);--cir-codeitembadge-seq-bg:rgba(51, 65, 85, 0.12);--cir-codeitembadge-seq-text:var(--navy-800);--cir-codeitembadge-excl-bg:rgba(239, 68, 68, 0.1);--cir-codeitembadge-excl-text:#ef4444;--cir-codeitembadge-scompat-bg:rgba(245, 158, 11, 0.1);--cir-codeitembadge-scompat-text:#d97706;--cir-codeitembadge-opm-bg:rgba(124, 58, 237, 0.1);--cir-codeitembadge-opm-text:#7c3aed;--cir-codeitembadge-pmae-bg:rgba(8, 145, 178, 0.1);--cir-codeitembadge-pmae-text:#0891b2;--cir-codesactions-countinfo-text:#6b7280;--cir-codesactions-btnmini-bg:#fff;--cir-codesactions-btnmini-text:#374151;--cir-codesactions-btnmini-border:#e5e7eb;--cir-codesactions-btnmini-hover-bg:#f3f4f6;--cir-codeswarn-seq-bg:rgba(245, 158, 11, 0.09);--cir-codeswarn-seq-border:rgba(245, 158, 11, 0.4);--cir-codeswarn-seq-text:#92400e;--cir-codeswarn-excl-bg:rgba(239, 68, 68, 0.09);--cir-codeswarn-excl-border:rgba(239, 68, 68, 0.45);--cir-codeswarn-excl-text:#991b1b;--cir-codeswarn-compat-bg:rgba(22, 163, 74, 0.07);--cir-codeswarn-compat-border:rgba(22, 163, 74, 0.35);--cir-codeswarn-compat-text:#166534;--cir-codeswarn-incompat-bg:rgba(245, 158, 11, 0.09);--cir-codeswarn-incompat-border:rgba(245, 158, 11, 0.4);--cir-codeswarn-incompat-text:#92400e;--cir-codeswarn-pairline-text:#374151;--cir-codeswarn-badgeinline-seq-bg:rgba(245, 158, 11, 0.18);--cir-codeswarn-badgeinline-seq-text:#92400e;--cir-codeswarn-badgeinline-compat-bg:rgba(22, 163, 74, 0.15);--cir-codeswarn-badgeinline-compat-text:#166534;--cir-finpanel-border-top:var(--slate-200);--cir-finsh-details-bg:#fff;--cir-finsh-details-border:var(--slate-200);--cir-finsh-summary-marker-text:var(--slate-500);--cir-finsh-total-bg:var(--slate-100);--cir-finsh-total-border:var(--slate-200);--cir-finsh-total-text:var(--navy-950);--cir-finsh-table-border-top:var(--slate-100);--cir-fintable-th-bg:var(--slate-50);--cir-fintable-th-text:var(--slate-400);--cir-fintable-th-border-bottom:var(--slate-200);--cir-fintable-td-text:var(--navy-800);--cir-fintable-td-border-bottom:var(--slate-100);--cir-fintable-tdcode-text:#1d4ed8;--cir-fintable-tr-total-bg:rgba(51, 65, 85, 0.08);--cir-fintable-tr-total-border-top:rgba(51, 65, 85, 0.3);--cir-fintable-tr-total-text:var(--navy-950);--cir-finhead-text:var(--slate-400);--cir-finsub-text:var(--slate-400);--cir-pctbadge-full-bg:rgba(34, 197, 94, 0.15);--cir-pctbadge-full-text:#166534;--cir-pctbadge-mid-bg:rgba(245, 158, 11, 0.15);--cir-pctbadge-mid-text:#92400e;--cir-pctbadge-low-bg:rgba(239, 68, 68, 0.15);--cir-pctbadge-low-text:#991b1b;--cir-anest-toggle-bg:rgba(245, 158, 11, 0.07);--cir-anest-toggle-border:rgba(245, 158, 11, 0.25);--cir-anest-result-bg:rgba(245, 158, 11, 0.05);--cir-anest-result-rail:#f59e0b;--cir-anest-result-text:#374151;--cir-grandtotal-bg:rgba(51, 65, 85, 0.1);--cir-pmae-bg:rgba(168, 85, 247, 0.07);--cir-pmae-border:rgba(168, 85, 247, 0.35);--cir-pmae-head-text:#7c3aed;--cir-pmae-table-principal-bg:rgba(168, 85, 247, 0.06);--cir-pmae-table-others-opacity:0.55;--cir-pmae-pctchip-bg:rgba(168, 85, 247, 0.15);--cir-pmae-pctchip-border:rgba(168, 85, 247, 0.5);--cir-pmae-pctchip-text:#7c3aed;--cir-pmae-total-bg:rgba(168, 85, 247, 0.12);--cir-pmae-total-text:#6d28d9;--cir-cidspanel-bg:#fff;--cir-cidspanel-border:#e5e7eb;--cir-cidspanel-h5-text:#1f2937;--cir-cidsrow-bg:#fafafa;--cir-cidsrow-border:#e5e7eb;--cir-cidsname-text:#6b7280;--cir-cidstag-bg:rgba(37, 99, 235, 0.08);--cir-cidstag-text:#1e40af;--cir-descediting-border:var(--navy-800);--cir-descediting-bg:#fff;--cir-descediting-body-bg:#fff;--cir-desc-text-bg:#fff;--cir-descediting-body-border:#e5e7eb;--cir-descediting-medtext-border:#e5e7eb;--cir-descedit-toolbar-bg:#f9fafb;--cir-descedit-toolbar-border:#e5e7eb;--cir-descedit-toolbar-btn-bg:#fff;--cir-descedit-toolbar-btn-text:#374151;--cir-descedit-toolbar-btn-border:#e5e7eb;--cir-descedit-toolbar-btn-hover-bg:var(--slate-200);--cir-descedit-toolbar-btn-hover-text:var(--navy-900);--cir-descedit-toolbar-btn-hover-border:var(--navy-700);--cir-descedit-toolbar-btn-active-bg:var(--navy-800);--cir-descedit-toolbar-btn-active-text:#fff;--cir-descedit-toolbar-btn-active-border:var(--navy-900);--cir-descedit-toolbar-sep:#e5e7eb;--cir-descedit-toolbar-exit-text:#991b1b;--cir-descedit-toolbar-exit-border:#fecaca;--cir-descedit-toolbar-exit-bg:#fff;--cir-descedit-toolbar-exit-hover-bg:#fef2f2;--cir-descedit-toolbar-exit-hover-border:#fca5a5;--cir-descedit-toolbar-exit-hover-text:#7f1d1d;--cir-descedit-actions-save-bg:var(--emerald-500);--cir-descedit-actions-save-text:#fff;--cir-descedit-actions-save-disabled-bg:#9ca3af;--cir-descedit-actions-cancel-bg:#fff;--cir-descedit-actions-cancel-text:#6b7280;--cir-descedit-actions-cancel-border:#d1d5db;--cir-cbhpm-toolbar-bg:var(--slate-50);--cir-cbhpm-toolbar-border:var(--slate-200);--cir-cbhpm-toolbar-title-text:var(--navy-950);--cir-cbhpm-toolbar-pill-bg:rgba(37, 99, 235, 0.1);--cir-cbhpm-toolbar-pill-text:#1d4ed8;--cir-cbhpm-control-label-text:var(--slate-400);--cir-cbhpm-control-select-bg:#fff;--cir-cbhpm-control-select-text:var(--navy-950);--cir-cbhpm-control-select-border:var(--slate-200);--cir-cbhpm-control-select-focus-border:var(--navy-800);--cir-cbhpm-control-select-focus-ring:rgba(51, 65, 85, 0.15);--cir-cbhpm-apto-bg:var(--slate-100);--cir-cbhpm-apto-text:var(--navy-700);--cir-cbhpm-apto-hover-bg:var(--slate-200);--cir-cbhpm-apto-on-bg:rgba(51, 65, 85, 0.12);--cir-cbhpm-apto-on-text:var(--navy-900);--cir-cbhpm-apto-on-border:rgba(51, 65, 85, 0.35);--cir-cbhpm-apto-checkbox-accent:var(--navy-800);--cir-cbhpm-tablewrap-bg:#fff;--cir-cbhpm-tablewrap-border:var(--slate-200);--cir-cbhpm-table-th-bg:var(--slate-50);--cir-cbhpm-table-th-text:var(--slate-400);--cir-cbhpm-table-th-border-bottom:var(--slate-200);--cir-cbhpm-table-td-text:var(--navy-800);--cir-cbhpm-table-td-border-bottom:var(--slate-100);--cir-cbhpm-table-tr-checked-bg:rgba(51, 65, 85, 0.05);--cir-cbhpm-codesm-bg:rgba(99, 102, 241, 0.07);--cir-cbhpm-codesm-text:#6366f1;--cir-cbhpm-viasigtap-bg:rgba(37, 99, 235, 0.08);--cir-cbhpm-viasigtap-text:#1d4ed8;--cir-cbhpm-manual-bg:rgba(245, 158, 11, 0.1);--cir-cbhpm-manual-text:#92400e;--cir-cbhpm-source-chip-bg:#fff;--cir-cbhpm-source-chip-hover-shadow:rgba(51, 65, 85, 0.1);--cir-cbhpm-source-chip-src-cat-opacity:0.78;--cir-cbhpm-btnsource-bg:#eff6ff;--cir-cbhpm-btnsource-border:#bfdbfe;--cir-cbhpm-btnsource-text:#1d4ed8;--cir-cbhpm-btnsource-hover-bg:#dbeafe;--cir-cbhpm-btnx-text:#dc2626;--cir-cbhpm-btnx-hover-bg:rgba(220, 38, 38, 0.08);--cir-cbhpm-btnx-hover-border:rgba(220, 38, 38, 0.3);--cir-cbhpm-qty-bg:#fff;--cir-cbhpm-qty-text:var(--navy-950);--cir-cbhpm-qty-border:var(--slate-200);--cir-cbhpm-qty-focus-border:var(--navy-800);--cir-cbhpm-qty-focus-ring:rgba(51, 65, 85, 0.18);--cir-cbhpm-value-text:var(--navy-950);--cir-cbhpm-total-bg:rgba(51, 65, 85, 0.08);--cir-cbhpm-total-border-top:rgba(51, 65, 85, 0.3);--cir-cbhpm-total-text:var(--navy-950);--cir-cbhpm-btnremap-bg:#fff;--cir-cbhpm-btnremap-text:var(--navy-700);--cir-cbhpm-btnremap-border:var(--slate-200);--cir-cbhpm-btnremap-hover-bg:var(--slate-200);--cir-cbhpm-btnremap-hover-border:var(--navy-800);--cir-cbhpm-btnremap-hover-text:var(--navy-900);--app-footer-bg:var(--grad-header-down);--app-footer-text:var(--emerald-100);--app-footer-border:var(--emerald-500);--app-footer-shadow:rgba(15, 23, 42, 0.22);--patientoverview-surface-bg:#fff;--patientoverview-surface-border:var(--slate-200);--patientoverview-surface-border-strong:var(--slate-300);--patientoverview-surface-muted:var(--slate-50);--patientoverview-surface-hover:var(--slate-100);--patientoverview-text:var(--navy-900);--patientoverview-text-strong:var(--navy-950);--patientoverview-text-secondary:var(--navy-800);--patientoverview-text-muted:var(--slate-500);--patientoverview-text-soft:var(--slate-400);--patientoverview-hero-bg:var(--grad-header-down);--patientoverview-hero-border:var(--navy-900);--patientoverview-hero-text:var(--slate-200);--patientoverview-hero-title:var(--emerald-100);--patientoverview-hero-icon:var(--emerald-300);--patientoverview-hero-strong:var(--slate-50);--patientoverview-accent:var(--brand-accent);--patientoverview-accent-strong:var(--emerald-600);--patientoverview-accent-text:var(--brand-accent-text);--patientoverview-danger-surface:#fffafa;--patientoverview-danger-border:#fecaca;--patientoverview-danger-text:#991b1b;--patientoverview-danger-text-strong:#7f1d1d;--patientoverview-danger-icon:#dc2626;--patientoverview-danger-state-text:#b91c1c;--patientoverview-warning-surface:#fffbeb;--patientoverview-warning-border:#fde68a;--patientoverview-warning-text:#92400e;--patientoverview-success-surface:#f0fdf4;--patientoverview-success-border:#bbf7d0;--patientoverview-success-text:#166534;--tabs-strip-bg:var(--slate-200);--tabs-strip-border:var(--slate-400);--tabs-hover-bg:#d1d8e0;--tabs-hover-text:var(--navy-900);--tabs-hover-border:var(--slate-500);--tabs-active-text:#dcfce7;--tabs-active-accent:#6ee7b7;--tabs-menu-bg:#fff;--tabs-menu-text:var(--navy-700);--tabs-menu-active-bg:linear-gradient(180deg, #1e293b 0%, #334155 100%);--tabs-menu-focus-ring:var(--brand-accent)}*{margin:0;padding:0;box-sizing:border-box}:root{color-scheme:only light}body{font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;background:linear-gradient(180deg,#0f172a 0,#1e293b 100%);color:#333}.header{background:var(--header-bar-bg);color:var(--header-bar-text);padding:0 1rem;height:42px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 3px var(--header-bar-shadow-drop),inset 0 -1px 0 var(--header-bar-shadow-inset);border-bottom:1px solid var(--header-bar-border-bottom);position:sticky;top:0;z-index:10001}.header-brand{display:flex;align-items:center;gap:.5rem}.header-logo{width:28px;height:28px;background:var(--header-logo-bg);border:1px solid var(--header-logo-border);border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1rem;color:var(--header-logo-text);font-weight:700}.header-title{display:flex;align-items:center;height:32px}.header h1{margin:0;padding:0;font-size:1.5rem;font-weight:700;letter-spacing:.02em;line-height:1;color:var(--header-title-text);display:flex;align-items:center}.header h1 .brand-glow{color:var(--header-brand-glow-text);text-shadow:var(--header-brand-glow-shadow)}.header-subtitle{font-size:.625rem;color:var(--header-subtitle-text);font-weight:500;text-transform:uppercase;letter-spacing:.05em}.header-actions{display:flex;gap:.5rem;align-items:center}.header-patient-add-btn{width:26px;height:26px;border:1px solid var(--header-patientadd-border);border-radius:7px;background:var(--header-patientadd-bg);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--header-patientadd-text);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;box-shadow:inset 0 1px 0 var(--header-patientadd-inner-highlight),0 1px 4px rgba(2,6,23,.3);transition:background .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease}.header-patient-add-btn:hover{background:var(--header-patientadd-bg);border-color:var(--header-patientadd-border);color:var(--header-patientadd-text);box-shadow:0 4px 12px var(--header-patientadd-hover-shadow);transform:translateY(-1px)}.header-patient-add-btn:focus-visible{outline:2px solid var(--header-patientadd-focus-ring);outline-offset:2px}.header-patient-add-btn svg{width:14px;height:14px;display:block}.patient-autocomplete-wrapper .patient-search-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--patientsearch-icon);pointer-events:none;z-index:1;transition:color 140ms ease,filter 140ms ease}#header-patient-search .patient-autocomplete-wrapper:focus-within .patient-search-icon{color:var(--patientsearch-icon-focus);filter:drop-shadow(0 0 4px var(--patientsearch-icon-focus-glow))}#patient-search-input{text-transform:uppercase}#header-patient-search #patient-search-input{background:var(--patientsearch-input-bg)!important;color:var(--patientsearch-input-text)!important;border:1px solid var(--patientsearch-input-border)!important;border-radius:8px!important;box-shadow:inset 0 1px 0 var(--patientsearch-input-inner-highlight),0 1px 4px rgba(2,6,23,.3)!important;transition:border-color 140ms ease,box-shadow 140ms ease,background 140ms ease,color 140ms ease}#header-patient-search #patient-search-input::placeholder{color:var(--patientsearch-input-placeholder)}#header-patient-search #patient-search-input:hover{background:var(--patientsearch-input-bg-hover)!important;border-color:var(--patientsearch-input-border-hover)!important}#header-patient-search #patient-search-input:focus{background:var(--patientsearch-input-bg-focus)!important;border-color:var(--patientsearch-input-border-focus)!important;box-shadow:0 0 0 2px var(--patientsearch-input-focus-ring),0 2px 8px rgba(2,6,23,.34)!important}#header-patient-search #patient-search-input:not(:focus):not(:placeholder-shown){color:var(--patientsearch-input-text-filled)!important;text-shadow:0 0 5px var(--patientsearch-input-text-glow-filled)}.patient-autocomplete-wrapper.has-selected-patient .patient-search-icon{display:none}.patient-autocomplete-wrapper .patient-search-icon svg{width:14px;height:14px;display:block}@keyframes patientSelectedGreenGlow{0%{box-shadow:0 0 0 0 rgba(16,185,129,0),0 0 0 rgba(16,185,129,0)}38%{box-shadow:0 0 0 3px rgba(16,185,129,.22),0 0 18px rgba(52,211,153,.52)}100%{box-shadow:0 0 0 1px rgba(16,185,129,.24),0 0 12px rgba(16,185,129,.34)}}@keyframes marketplaceHandoffPulse{0%,100%{box-shadow:0 0 0 0 rgba(16,185,129,0);background-color:transparent}20%{box-shadow:0 0 0 6px rgba(16,185,129,.4),0 0 22px rgba(134,239,172,.74);background-color:rgba(220,252,231,.55)}50%{box-shadow:0 0 0 3px rgba(16,185,129,.22),0 0 14px rgba(16,185,129,.36);background-color:rgba(220,252,231,.3)}}.pulse-installed{animation:marketplaceHandoffPulse 1.6s ease-out 2;border-radius:6px;position:relative;z-index:2}.patient-autocomplete-wrapper.has-selected-patient #selected-patient-display{background:var(--patientsearch-input-bg)!important;border-color:var(--patientsearch-input-border)!important;box-shadow:inset 0 1px 0 var(--patientsearch-input-inner-highlight),0 1px 4px rgba(2,6,23,.3);animation:patientSelectedGreenGlow .9s ease-out 1}.patient-autocomplete-wrapper.has-selected-patient #selected-patient-name{color:#10b981!important;letter-spacing:.02em;text-shadow:0 0 5px rgba(134,239,172,.45)}.patient-autocomplete-wrapper.has-selected-patient #selected-patient-display button{color:var(--patientsearch-selected-clear)!important}.patient-autocomplete-wrapper.has-selected-patient #selected-patient-display button:hover{color:var(--patientsearch-selected-clear-hover)!important}#clear-selected-patient-btn{opacity:0;transition:opacity .15s ease}#selected-patient-display:focus-within #clear-selected-patient-btn,#selected-patient-display:hover #clear-selected-patient-btn{opacity:1}.signature-context-wrap{position:relative;display:inline-flex;align-items:center;gap:4px}.signature-context-card{position:relative;display:inline-flex;align-items:center;gap:.35rem;height:30px;max-width:262px;padding:3px 8px;border:1px solid var(--sigctx-card-border);border-radius:6px;background:var(--sigctx-card-bg);color:var(--sigctx-card-text);cursor:pointer;font:inherit;line-height:1;transition:background .15s,border-color .15s,box-shadow .15s}.signature-context-card:focus-visible,.signature-context-card:hover{background:var(--sigctx-card-hover-bg);border-color:var(--sigctx-card-hover-border);outline:0;box-shadow:0 0 0 2px var(--sigctx-card-hover-ring)}.signature-context-main{display:inline-flex;align-items:center;gap:.32rem;flex:1 1 auto;min-width:0}.signature-context-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--sigctx-icon-bg);flex:0 0 auto}.signature-context-icon svg{width:12px;height:12px;display:block}.signature-context-label{font-size:.72rem;font-weight:700;color:var(--sigctx-label-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.signature-context-position{max-width:44px;padding:1px 4px;border-radius:999px;background:var(--sigctx-position-bg);color:var(--sigctx-position-text);font-size:.58rem;font-weight:800;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.signature-context-chevron{display:inline-flex;align-items:center;justify-content:center;width:14px;color:var(--slate-500,#64748b);font-size:.62rem;line-height:1;opacity:.8;flex:0 0 auto;transform:translateY(-1px);transition:transform 180ms ease}.signature-context-card[aria-expanded=true] .signature-context-chevron{transform:translateY(1px) rotate(180deg)}.signature-context-dot,.signature-context-dots{display:none}.sig-cloud-status{display:inline-flex;align-items:center;gap:5px;margin-top:4px;padding:2px 9px;border-radius:999px;font-size:.68rem;font-weight:700;line-height:1.35;width:fit-content}.sig-cloud-status[data-state=active]{background:var(--sigctx-cloud-pill-active-bg);color:var(--sigctx-cloud-pill-active-text);box-shadow:0 0 0 1px var(--sigctx-cloud-pill-active-ring),0 0 9px var(--sigctx-cloud-pill-active-ring)}.sig-cloud-status[data-state=inactive]{gap:6px;padding:0;background:0 0;box-shadow:none;font-weight:400;color:var(--sigctx-cloud-idle-text)}.sig-cloud-dot{flex:0 0 auto;width:6px;height:6px;border-radius:999px;background:var(--sigctx-cloud-idle-dot)}.sig-cloud-act{color:var(--sigctx-cloud-idle-action);font-weight:600;text-underline-offset:2px;text-decoration-color:color-mix(in srgb,var(--sigctx-cloud-idle-action) 40%,transparent)}.signature-context-menu button.active .sig-cloud-status[data-state=inactive]{color:var(--sigctx-cloud-idle-text-active)}.signature-context-menu button.active .sig-cloud-act{color:var(--sigctx-cloud-idle-action-active);text-decoration-color:color-mix(in srgb,var(--sigctx-cloud-idle-action-active) 50%,transparent)}.sig-cloud-status[data-state=unknown]{background:var(--sigctx-position-bg);color:var(--sigctx-position-text)}.sig-quota-badge{display:block;margin-top:3px;font-size:.66rem;font-weight:600;line-height:1.3;color:var(--sigctx-choice-desc-text,#64748b);opacity:.92}.sig-quota-badge:empty{display:none}.signature-context-cloud{display:inline-flex;align-items:center;flex:0 0 auto;color:var(--sigctx-readiness-off-icon)}.signature-context-cloud svg{width:15px;height:15px;display:block}.signature-context-cloud[data-provider=certillion]{width:22px;height:22px;justify-content:center;border-radius:999px}.signature-context-cloud[data-provider=certillion] svg{width:14px;height:14px}.signature-context-cloud[data-state=active]{background:var(--sigctx-cloud-chip-active-bg);color:var(--sigctx-cloud-chip-active-text);filter:drop-shadow(0 0 4px var(--sigctx-cloud-chip-active-glow))}.signature-context-cloud[data-state=inactive]{background:0 0;color:var(--sigctx-cloud-chip-inactive);filter:none}.signature-context-cloud[data-state=fortify-active]{color:var(--sigctx-key-chip-active);filter:drop-shadow(0 0 4px var(--sigctx-key-chip-active-glow))}.signature-context-cloud[data-state=fortify-inactive]{color:var(--sigctx-key-chip-inactive);filter:none}.signature-context-cloud[data-state=self-signed-ready]{color:var(--sigctx-self-chip-ready);filter:drop-shadow(0 0 4px var(--sigctx-self-chip-ready-glow))}.signature-context-cloud[data-state=self-signed-inactive]{color:var(--sigctx-readiness-off-icon);filter:none}.fortify-xray-row{display:flex;flex-direction:column;gap:3px;padding:6px 9px;border:1px solid #e2e8f0;border-radius:7px;background:#f8fafc}.fortify-xray-row .fx-name{font-size:.8rem;font-weight:700;color:#1e293b}.fortify-xray-row .fx-meta{font-size:.68rem;color:#64748b}.fortify-xray-badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:2px}.fortify-xray-badge{display:inline-flex;align-items:center;padding:1px 8px;border-radius:999px;font-size:.66rem;font-weight:700;line-height:1.4}.fortify-xray-badge[data-kind=ok]{background:var(--sigctx-cloud-pill-active-bg);color:var(--sigctx-cloud-pill-active-text);box-shadow:0 0 0 1px var(--sigctx-cloud-pill-active-ring)}.fortify-xray-badge[data-kind=warn]{background:var(--sigctx-cloud-pill-inactive-bg);color:var(--sigctx-cloud-pill-inactive-text)}.fortify-xray-badge[data-kind=error]{background:#fee2e2;color:#b91c1c}.fortify-xray-badge[data-kind=neutral]{background:var(--sigctx-position-bg);color:var(--sigctx-position-text)}.fortify-xray-hint{font-size:.74rem;color:#92400e;background:#f1f5f9;border-radius:6px;padding:6px 9px}button.fortify-xray-row{width:100%;text-align:left;font:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s}button.fortify-xray-row:hover:not(:disabled){border-color:var(--emerald-500,#10b981);box-shadow:0 0 0 1px var(--sigctx-cloud-pill-active-ring),0 0 8px var(--sigctx-cloud-pill-active-ring);background:#fff}button.fortify-xray-row.fx-disabled,button.fortify-xray-row:disabled{opacity:.55;cursor:not-allowed}button.fortify-xray-row.fx-valid{position:relative;padding-right:84px;border-color:var(--emerald-500,#10b981);background:var(--sigctx-cloud-pill-active-bg);box-shadow:0 0 0 1px var(--sigctx-cloud-pill-active-ring),0 0 10px var(--sigctx-cloud-pill-active-ring)}button.fortify-xray-row.fx-valid:hover{background:#fff}button.fortify-xray-row.fx-valid:focus-visible{outline:2px solid var(--emerald-500,#10b981);outline-offset:2px}button.fortify-xray-row .fx-cta{position:absolute;top:50%;right:9px;transform:translateY(-50%);padding:3px 10px;border-radius:999px;font-size:.68rem;font-weight:700;color:#fff;background:linear-gradient(180deg,#1e293b,#334155);box-shadow:0 0 0 1px var(--emerald-500,#10b981),0 0 8px var(--sigctx-cloud-pill-active-ring)}#fortify-cert-xray-list.fx-has-valid button.fortify-xray-row:disabled{opacity:.42}.signature-context-card.sig-bucket-inactive{background:var(--sigctx-status-disabled-bg);border-color:var(--sigctx-status-disabled-border)}.signature-context-card.sig-bucket-inactive .signature-context-label{color:var(--sigctx-readiness-off-text)}.signature-context-card.sig-bucket-cloud,.signature-context-card.sig-bucket-fortify{border-color:var(--sigctx-readiness-external-border);box-shadow:inset 3px 0 0 var(--sigctx-readiness-external-icon)}.signature-context-card.sig-bucket-cloud .signature-context-label,.signature-context-card.sig-bucket-fortify .signature-context-label{color:var(--sigctx-readiness-external-text)}.signature-context-card.sig-bucket-self-ready{border-color:var(--sigctx-readiness-self-border);box-shadow:none}.signature-context-card.sig-bucket-self-ready .signature-context-label{color:var(--sigctx-readiness-self-text)}.signature-context-card.sig-bucket-cloud:focus-visible,.signature-context-card.sig-bucket-cloud:hover,.signature-context-card.sig-bucket-fortify:focus-visible,.signature-context-card.sig-bucket-fortify:hover{box-shadow:inset 3px 0 0 var(--sigctx-readiness-external-icon),0 0 0 2px var(--sigctx-readiness-external-glow)}.signature-context-card.sig-bucket-self-ready:hover{border-color:var(--sigctx-readiness-self-border);box-shadow:none}.signature-context-card.sig-bucket-self-ready:focus-visible{border-color:var(--sigctx-readiness-self-border);box-shadow:0 0 0 2px var(--sigctx-card-hover-ring)}.signature-context-card,.signature-context-card.sig-bucket-inactive{background:0 0;border-color:transparent;color:var(--headerchip-idle-text)}.signature-context-card .signature-context-label,.signature-context-card.sig-bucket-cloud .signature-context-label,.signature-context-card.sig-bucket-fortify .signature-context-label,.signature-context-card.sig-bucket-inactive .signature-context-label,.signature-context-card.sig-bucket-self-ready .signature-context-label{color:inherit}.signature-context-card .signature-context-chevron{color:inherit}.signature-context-card:focus-visible,.signature-context-card:hover,.signature-context-card[aria-expanded=true]{background:var(--headerchip-hover-bg);border-color:transparent;color:var(--headerchip-hover-text)}.signature-context-card[aria-expanded=true]{background:var(--headerchip-open-bg)}.signature-context-card.status-checking .signature-context-icon{animation:none}.signature-context-tip{position:absolute;top:calc(100% + 8px);right:0;width:min(360px,82vw);padding:10px 12px;border-radius:8px;background:var(--sigctx-tip-bg);color:var(--sigctx-tip-text);box-shadow:0 14px 36px var(--sigctx-tip-shadow);border:1px solid var(--sigctx-tip-border);font-size:.76rem;line-height:1.45;text-align:left;pointer-events:none;opacity:0;transform:translateY(-3px);transition:opacity .12s,transform .12s;z-index:10030}.signature-context-card:focus-visible .signature-context-tip,.signature-context-card:hover .signature-context-tip{opacity:1;transform:translateY(0)}.signature-context-tip strong{display:block;margin-bottom:3px;color:var(--sigctx-tip-strong-text);font-size:.78rem}.signature-context-tip span{display:block;color:var(--sigctx-tip-span-text);white-space:pre-line}.sig-menu-help-card{margin:6px 4px 4px 4px;padding:10px 12px;border-radius:8px;border:1px solid var(--sigctx-help-popover-border);border-left:3px solid var(--sigctx-help-popover-rail);background:var(--sigctx-help-popover-bg);color:var(--sigctx-help-popover-text);font-size:.75rem;line-height:1.48;text-align:left}.sig-menu-help-title{display:flex;align-items:center;gap:6px;margin-bottom:4px;color:var(--sigctx-help-popover-title);font-weight:700;font-size:.78rem}.sig-menu-help-title svg{color:var(--sigctx-help-popover-link);flex-shrink:0}.sig-menu-help-desc{margin:0 0 6px 0;color:var(--sigctx-help-popover-text)}.sig-menu-help-link{display:inline-block;color:var(--sigctx-help-popover-link);font-weight:700;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.sig-menu-help-link:focus-visible,.sig-menu-help-link:hover{color:var(--sigctx-help-popover-link-hover)}.signature-context-menu{position:absolute;top:calc(100% + 5px);right:0;min-width:312px;padding:8px;border-radius:12px;border:1px solid var(--sigctx-menu-border);background:var(--sigctx-menu-bg);color:var(--sigctx-menu-item-text);box-shadow:0 18px 44px var(--sigctx-menu-shadow),0 3px 10px rgba(15,23,42,.08);z-index:10032}.signature-context-menu.hidden{display:none}.signature-context-menu button{width:100%;display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 10px;border:1px solid transparent;border-radius:9px;background:0 0;color:var(--sigctx-menu-item-text);text-align:left;cursor:pointer;font:inherit;position:relative;transition:background 150ms ease,border-color 150ms ease,box-shadow 150ms ease,transform 150ms ease}.signature-context-menu button[data-signature-choice]{padding-right:38px}.signature-context-menu button:focus-visible,.signature-context-menu button:hover{background:var(--slate-50,#f8fafc);border-color:var(--slate-300,#cbd5e1);outline:0;transform:translateY(-1px)}.signature-context-menu button.active{border-color:rgba(16,185,129,.72);background:linear-gradient(180deg,#1e293b 0,#334155 100%);color:#f8fafc;font-weight:700;box-shadow:inset 3px 0 0 var(--emerald-500,#10b981),0 0 0 1px rgba(16,185,129,.12),0 5px 14px rgba(15,23,42,.12)}.signature-context-menu button[data-signature-choice]::after{content:"";position:absolute;top:23px;right:11px;width:17px;height:17px;border:1.5px solid var(--slate-300,#cbd5e1);border-radius:50%;background:#fff;transform:translateY(-50%);box-sizing:border-box}.signature-context-menu button[data-signature-choice].active::after{content:"✓";display:inline-flex;align-items:center;justify-content:center;border-color:var(--emerald-500,#10b981);background:var(--emerald-500,#10b981);color:#fff;font-size:.65rem;font-weight:900;line-height:1}.signature-context-menu button[data-signature-choice=self-signed].active{border-color:var(--slate-400,#94a3b8);background:linear-gradient(180deg,#f8fafc 0,#e2e8f0 100%);color:var(--navy-900,#0f172a);box-shadow:inset 3px 0 0 var(--slate-500,#64748b),0 4px 12px rgba(15,23,42,.08)}.signature-context-menu button[data-signature-choice=self-signed].active::after{border-color:var(--slate-600,#475569);background:var(--slate-600,#475569)}.sig-choice-icon{width:30px;height:30px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;background:var(--sigctx-choice-icon-bg);color:var(--sigctx-choice-icon-text)}.sig-choice-icon svg{width:16px;height:16px;display:block}svg.signature-mode-art{width:14px!important;height:14px!important;display:block;background-color:currentColor;-webkit-mask-image:var(--signature-mode-art);-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;mask-image:var(--signature-mode-art);mask-position:center;mask-repeat:no-repeat;mask-size:contain;fill:none;stroke:none}.signature-context-menu button.active .sig-choice-icon{background:var(--sigctx-choice-icon-active-bg);color:var(--sigctx-choice-icon-active-text)}.signature-context-menu button[data-signature-choice=self-signed].active .sig-choice-icon{background:var(--slate-600,#475569);color:#fff}.sig-choice-main{display:flex;flex:1 1 auto;flex-direction:column;gap:2px;min-width:0}.sig-choice-title{font-size:.78rem;line-height:1.2}.sig-choice-desc{font-size:.67rem;line-height:1.3;color:var(--sigctx-choice-desc-text);font-weight:500}.signature-context-menu button.active .sig-choice-desc,.signature-context-menu button.active .sig-quota-badge{color:var(--slate-300,#cbd5e1)}.signature-context-menu button[data-signature-choice=self-signed].active .sig-choice-desc{color:var(--slate-600,#475569)}.signature-context-menu button.sig-choice-locked{cursor:default;border-color:#fed7aa;border-style:dashed;background:#f8fafc}.signature-context-menu button.sig-choice-locked:focus-visible,.signature-context-menu button.sig-choice-locked:hover{border-color:#fdba74;background:#f8fafc;transform:none}.signature-context-menu button.sig-choice-locked .sig-choice-desc,.signature-context-menu button.sig-choice-locked .sig-choice-icon,.signature-context-menu button.sig-choice-locked .sig-choice-title{opacity:.88}.sig-choice-lock-badge{display:none;margin-left:6px;padding:1px 5px;border-radius:999px;background:#f1f5f9;color:#9a3412;font-size:.52rem;font-weight:850;letter-spacing:.025em;text-transform:uppercase;vertical-align:1px}.signature-context-menu button.sig-choice-locked .sig-choice-lock-badge{display:inline-flex}.sig-lastro-reqs{display:flex;flex-direction:column;gap:3px;margin-top:6px;padding:6px 7px;border-radius:6px;background:var(--sigctx-lastro-bg,#fff7ed);border:1px solid var(--sigctx-lastro-border,#fed7aa)}.sig-lastro-reqs-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:.6rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:var(--sigctx-lastro-title,#9a3412)}.sig-lastro-req{display:flex;align-items:center;gap:6px;font-size:.68rem;line-height:1.25;color:var(--sigctx-lastro-text,#7c2d12)}.sig-lastro-req-mark{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;font-size:.66rem;font-weight:700;line-height:1}.sig-lastro-req.ok .sig-lastro-req-mark{width:13px;color:var(--sigctx-lastro-ok)}.sig-lastro-req.todo .sig-lastro-req-mark{width:6px;height:6px;margin:0 3px 0 4px;border-radius:999px;font-size:0;background:var(--sigctx-lastro-todo)}.sig-lastro-req-label{flex:1 1 auto;min-width:0}.sig-lastro-req.ok .sig-lastro-req-label{color:var(--sigctx-lastro-ok-text,#15803d)}.sig-lastro-req-action{flex:0 0 auto;font-size:.64rem;font-weight:800;color:var(--sigctx-lastro-action,#b45309);text-decoration:underline;cursor:pointer;pointer-events:auto;white-space:nowrap}.sig-lastro-req-action:hover{color:var(--sigctx-lastro-action-hover,#7c2d12)}.sig-choice-separator{height:1px;margin:3px 3px;background:var(--sigctx-choice-separator)}.sig-choice-section-label{padding:4px 7px 1px;color:var(--sigctx-choice-section-label);font-size:.62rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.sig-choice-chevron{margin-left:auto;font-size:.78rem;color:var(--sigctx-choice-chevron);transition:color .15s;line-height:1}#sig-stamp-position-toggle:hover .sig-choice-chevron{color:var(--sigctx-choice-chevron-hover)}#sig-stamp-position-submenu button{padding-left:14px}#sig-stamp-position-submenu,#sig-stamp-position-toggle{display:none!important}.sig-choice-separator:has(+ #sig-stamp-position-toggle){display:none!important}@keyframes sigctxPulse{0%,100%{opacity:.55}50%{opacity:1}}@media (max-width:980px){.signature-context-card{max-width:254px;padding:3px 6px}.signature-context-label{max-width:206px}}@media (max-width:860px) and (min-width:641px){.signature-context-card{max-width:190px}.signature-context-label{max-width:158px}}@media (max-width:640px){.signature-context-wrap{position:fixed;top:6px;right:76px;z-index:10031}.signature-context-card{position:static;width:32px;max-width:32px;padding:3px;gap:0}.signature-context-main{display:flex}.signature-context-chevron{width:24px}.signature-context-dots{display:none}.signature-context-tip{right:-72px;width:min(320px,92vw)}.signature-context-menu{right:-72px;min-width:0;width:min(300px,92vw)}}.header-divider{width:1px;height:20px;background:var(--header-divider-bg)}.user-info{display:flex;align-items:center;gap:.375rem;font-size:.8rem;color:var(--headerchip-idle-text);cursor:pointer;position:relative;padding:4px 8px;border-radius:6px;transition:background .15s,color .15s,box-shadow .15s}.user-info:hover{background:var(--headerchip-hover-bg);color:var(--headerchip-hover-text);box-shadow:none}.user-info.open{background:var(--headerchip-open-bg);color:var(--headerchip-hover-text)}.user-info .avatar{width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.95);display:flex;align-items:center;justify-content:center;font-size:.75rem;color:#1e40af;border:2px solid rgba(255,255,255,.3);font-weight:600;overflow:hidden}.user-info .avatar.has-image{background:0 0;color:transparent}.user-info .avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.user-info>span{font-weight:500;color:inherit}#user-info>.dropdown-arrow,#user-name{display:none}.user-info .dropdown-arrow{font-size:.6rem;color:#94a3b8;margin-left:2px;transition:transform .2s}.user-info.open .dropdown-arrow{transform:rotate(180deg)}.user-dropdown{position:absolute;top:calc(100% + 6px);right:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.15);z-index:10001;min-width:200px;display:none;overflow:visible}.user-dropdown.open{display:block}.user-dropdown .dropdown-section{padding:4px 0;border-bottom:1px solid #f3f4f6}.user-dropdown .dropdown-section:last-child{border-bottom:none}.user-dropdown .dropdown-label{font-size:.76rem;font-weight:600;color:#374151;padding:7px 14px;display:flex;align-items:center;gap:8px;cursor:pointer;transition:background .1s;position:relative}.user-dropdown .dropdown-label:hover{background:#f8fafc}.user-dropdown .dropdown-label .submenu-arrow{font-size:.6rem;color:#9ca3af;margin-left:auto}.user-dropdown .flyout-submenu{position:absolute;left:calc(-100% - 2px);top:-4px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.15);min-width:210px;max-height:300px;overflow-y:auto;display:none;z-index:10002}.user-dropdown .flyout-submenu.open{display:block}.user-dropdown #org-switcher-flyout{left:auto;right:calc(100% + 2px);width:360px;max-width:calc(100vw - 24px);max-height:min(520px,calc(100vh - 72px))}#header-loc-dropdown .org-switcher-note,.hub-selector-pop .org-switcher-note,.user-dropdown .org-switcher-note{margin:8px 10px 6px;padding:10px 11px;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-left:3px solid #10b981;border-radius:8px;font-size:.7rem;font-weight:400;line-height:1.42;text-align:left;cursor:default}#header-loc-dropdown .org-switcher-note>strong,.hub-selector-pop .org-switcher-note>strong,.user-dropdown .org-switcher-note>strong{display:block;margin-bottom:5px;color:#0f172a;font-size:.76rem}#header-loc-dropdown .org-switcher-note p,.hub-selector-pop .org-switcher-note p,.user-dropdown .org-switcher-note p{margin:5px 0 0}#header-loc-dropdown .org-switcher-note b,.hub-selector-pop .org-switcher-note b,.user-dropdown .org-switcher-note b{color:#047857;font-weight:700}.note-collapsible{--note-fade-bg:#f8fafc;position:relative;max-height:7.2em;overflow:hidden;cursor:pointer}.note-collapsible::after{content:'mais ▾';position:absolute;right:0;bottom:0;padding:0 11px 3px 26px;background:linear-gradient(90deg,rgba(248,250,252,0),var(--note-fade-bg) 45%);color:#047857;font-size:.66rem;font-weight:700}.note-collapsible.expanded{max-height:none}.note-collapsible.expanded::after{content:'menos ▴';position:static;display:block;padding:6px 0 0;background:0 0;text-align:right}.note-collapsible:focus-visible{outline:2px solid rgba(110,231,183,.6);outline-offset:2px}.sig-menu-help-card.note-collapsible{--note-fade-bg:var(--sigctx-help-popover-bg)}.user-dropdown #loc-flyout,.user-dropdown #prof-flyout{left:auto;right:calc(100% + 2px);width:340px;max-width:calc(100vw - 24px);max-height:min(480px,calc(100vh - 72px))}.user-dropdown .dropdown-item{display:flex;align-items:center;gap:8px;padding:6px 14px;font-size:.76rem;color:#374151;cursor:pointer;transition:background .1s;border:none;background:0 0;width:100%;text-align:left}.user-dropdown .dropdown-item span{color:inherit}.user-dropdown .dropdown-item:hover{background:#f8fafc}.user-dropdown .dropdown-build-stamp{padding:5px 14px;font-size:.62rem;line-height:1.25;color:var(--slate-400,#94a3b8);font-variant-numeric:tabular-nums;letter-spacing:.01em;cursor:default;user-select:text}.user-dropdown .dropdown-item.active{background:#ecfdf5;color:#047857;font-weight:600;box-shadow:inset 3px 0 0 #10b981}.user-dropdown .dropdown-item.danger{color:#ef4444}.user-dropdown .dropdown-label.section-title{cursor:default;color:#6b7280;font-size:.68rem;text-transform:uppercase;letter-spacing:.05em;pointer-events:none}.user-dropdown .dropdown-item.phi-active{background:#ecfdf5;color:#047857;font-weight:600;box-shadow:inset 3px 0 0 #10b981}.user-dropdown .conn-status-row{display:flex;align-items:center;gap:8px;font-size:.78rem;color:#374151;cursor:default}.user-dropdown .conn-status-row:hover{background:0 0}.user-dropdown .conn-status-row .status-badge{padding:.25rem;border-radius:9999px;font-size:0}.user-dropdown .conn-status-row .status-online{background:var(--connstatus-menu-online-bg);color:var(--connstatus-menu-online-text)}.user-dropdown .conn-status-row .status-offline{background:var(--connstatus-menu-offline-bg);color:var(--connstatus-menu-offline-text)}.user-dropdown .conn-status-label{color:#6b7280}.user-dropdown #drafts-flyout{min-width:300px;max-width:340px;max-height:60vh;overflow-y:auto}.user-dropdown .drafts-count-pill{margin-left:auto;padding:1px 7px;border-radius:999px;background:#f1f5f9;color:#92400e;font-size:.62rem;font-weight:800}.user-dropdown .drafts-count-pill.hidden{display:none}.user-dropdown .drafts-flyout-head{padding:9px 11px;margin:4px 6px 2px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;border-left:3px solid #10b981;font-size:.68rem;line-height:1.4;color:#475569;cursor:default}.user-dropdown .drafts-flyout-head>strong{display:block;margin-bottom:4px;color:#0f172a;font-size:.74rem}.user-dropdown .drafts-flyout-head p{margin:0}.user-dropdown .draft-row{display:flex;align-items:center;gap:8px;padding:7px 10px;font-size:.74rem;color:#334155}.user-dropdown .draft-row:hover{background:#f8fafc}.user-dropdown .draft-row-main{display:flex;flex-direction:column;min-width:0;flex:1 1 auto;cursor:pointer}.user-dropdown .draft-row-title{font-weight:600;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-dropdown .draft-row-meta{font-size:.64rem;color:#6b7280}.user-dropdown .draft-row-kind{flex:0 0 auto;padding:1px 6px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:.58rem;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.user-dropdown .draft-row-del{flex:0 0 auto;width:22px;height:22px;padding:0;border:none;border-radius:6px;background:0 0;color:#94a3b8;cursor:pointer;font-size:.8rem;line-height:1}.user-dropdown .draft-row-del:hover{background:#fee2e2;color:#b91c1c}.user-dropdown .drafts-empty{padding:10px 12px;font-size:.72rem;color:#9ca3af;font-style:italic;cursor:default}.user-dropdown .session-timer-row{display:flex;align-items:center;gap:8px;font-size:.78rem;color:#374151;cursor:default}.user-dropdown .session-timer-row:hover{background:0 0}.user-dropdown .session-timer-label{color:#6b7280}.user-dropdown .session-timer-value{margin-left:auto;font-family:ui-monospace,Consolas,monospace;font-weight:600;color:#111827;padding:2px 8px;border-radius:999px;background:#f3f4f6;min-width:54px;text-align:center}.user-dropdown .session-timer-value.warn{background:#f1f5f9;color:#92400e}.user-dropdown .session-timer-value.crit{background:#fee2e2;color:#991b1b}.user-dropdown .session-timer-value.dead{background:#9ca3af;color:#fff}.user-dropdown .session-extend-btn{display:flex;align-items:center;gap:8px;background:#ecfdf5;color:#047857;border:none;cursor:pointer;font-size:.78rem;font-weight:600;width:100%;padding:6px 12px;text-align:left}.user-dropdown .session-extend-btn:hover{background:#d1fae5}.user-dropdown .session-extend-btn.hidden{display:none}.user-dropdown .dropdown-item.danger:hover{background:#fef2f2}.header-loc-quick{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;min-width:32px;height:32px;padding:0;border-radius:6px;cursor:pointer;color:var(--locquick-text);transition:background .15s,color .15s,box-shadow .15s}.header-loc-quick.has-active{padding:0 10px 0 6px;justify-content:flex-start}.header-loc-name{display:none;order:2;font-size:.78rem;font-weight:500;color:inherit;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1}.header-loc-quick.has-active .header-loc-name{display:inline-block}.header-loc-quick:hover{background:var(--headerchip-hover-bg);color:var(--headerchip-hover-text)}.header-loc-quick.open{background:var(--headerchip-open-bg);color:var(--headerchip-hover-text);box-shadow:none}.header-loc-quick.has-active{background:0 0;color:var(--locquick-text);box-shadow:none}.header-loc-quick.has-active.open,.header-loc-quick.has-active:hover{background:var(--headerchip-open-bg);color:var(--headerchip-hover-text);box-shadow:none}.header-loc-quick>svg{display:block;order:1;flex:0 0 auto}.header-loc-avatar{width:22px;height:22px;order:3;border-radius:4px;overflow:hidden;display:none;background:var(--locquick-avatar-bg);border:1px solid var(--locquick-avatar-border);box-shadow:inset 0 0 0 1px var(--locquick-avatar-inner-highlight)}.header-loc-avatar img{width:100%;height:100%;object-fit:cover;display:block}.header-loc-initial{position:absolute;right:-3px;bottom:-3px;transform:none;max-width:20px;min-width:11px;height:8px;padding:0 2px;border-radius:999px;display:none;align-items:center;justify-content:center;font-size:5.8px;line-height:8px;font-weight:800;letter-spacing:0;color:var(--locquick-initial-text);background:var(--locquick-initial-bg);box-shadow:0 0 0 1px var(--locquick-initial-ring);overflow:hidden;text-overflow:clip;white-space:nowrap;pointer-events:none}.header-loc-quick.has-active .header-loc-initial{display:none}.header-loc-quick.has-avatar .header-loc-initial{display:none}.header-loc-quick.has-avatar.has-active .header-loc-initial{display:none}.header-loc-dropdown{position:absolute;top:calc(100% + 6px);right:0;background:var(--locdropdown-bg);border:1px solid var(--locdropdown-border);border-radius:8px;box-shadow:0 8px 24px var(--locdropdown-shadow);z-index:10001;min-width:220px;max-height:340px;overflow-y:auto;display:none;padding:4px 0}.header-loc-dropdown.open{display:block}.header-loc-dropdown .dropdown-item{display:flex;align-items:center;gap:8px;padding:7px 14px;font-size:.78rem;color:var(--locdropdown-item-text);cursor:pointer;transition:background .1s}.header-loc-dropdown .dropdown-item:hover{background:var(--locdropdown-item-hover-bg)}.header-loc-dropdown .dropdown-item.active{background:var(--locdropdown-item-active-bg);color:var(--locdropdown-item-active-text);font-weight:700;box-shadow:inset 3px 0 0 var(--locdropdown-item-active-rail)}.header-loc-dropdown .dropdown-item.active svg{color:var(--locdropdown-item-active-icon);fill:var(--locdropdown-item-active-icon-fill)}.header-loc-dropdown .dropdown-item .loc-item-main,.hub-selector-pop .dropdown-item .loc-item-main,.user-dropdown .dropdown-item .loc-item-main{flex:1;min-width:0;display:flex;align-items:center;gap:6px}.header-loc-dropdown .dropdown-item .loc-item-name,.hub-selector-pop .dropdown-item .loc-item-name,.user-dropdown .dropdown-item .loc-item-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-loc-dropdown .loc-dropdown-avatar,.hub-selector-pop .loc-dropdown-avatar,.user-dropdown .loc-dropdown-avatar{width:18px;height:18px;border-radius:4px;overflow:hidden;flex-shrink:0;background:var(--locdropdown-avatar-bg);border:1px solid var(--locdropdown-avatar-border)}.header-loc-dropdown .loc-dropdown-avatar img,.hub-selector-pop .loc-dropdown-avatar img,.user-dropdown .loc-dropdown-avatar img{width:100%;height:100%;object-fit:cover;display:block}.header-loc-dropdown .dropdown-item .loc-default-star,.hub-selector-pop .dropdown-item .loc-default-star,.user-dropdown .dropdown-item .loc-default-star{color:var(--locdropdown-default-star);font-size:.82rem;line-height:1;margin-left:4px}.header-loc-dropdown .dropdown-item .loc-active-badge,.hub-selector-pop .dropdown-item .loc-active-badge,.user-dropdown .dropdown-item .loc-active-badge{margin-left:auto;padding:1px 6px;border-radius:999px;background:var(--locdropdown-active-badge-bg);color:var(--locdropdown-active-badge-text);font-size:.66rem;font-weight:700}.header-loc-dropdown .loc-opening-menu{position:sticky;bottom:-4px;margin:4px 0 -4px;padding:4px 0 6px;border-top:1px solid var(--locdropdown-border);background:var(--locdropdown-bg)}.header-loc-dropdown .loc-opening-title{padding:4px 14px 2px;font-size:.64rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--slate-500,#64748b)}.header-loc-dropdown .loc-opening-item{display:flex;align-items:flex-start;gap:8px;padding:6px 14px;font-size:.75rem;color:var(--locdropdown-item-text);cursor:pointer;transition:background .1s}.header-loc-dropdown .loc-opening-item:hover{background:var(--locdropdown-item-hover-bg)}.header-loc-dropdown .loc-opening-item:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--brand-accent,#10b981)}.header-loc-dropdown .loc-opening-box{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;margin-top:1px;border:1px solid var(--slate-300,#cbd5e1);border-radius:3px;background:#fff;color:#fff}.header-loc-dropdown .loc-opening-item.is-on .loc-opening-box{background:var(--brand-accent,#10b981);border-color:var(--brand-accent,#10b981)}.header-loc-dropdown .loc-opening-text{min-width:0;line-height:1.3}.header-loc-dropdown .loc-opening-text b{font-weight:600}.header-loc-dropdown .loc-opening-hint{display:block;font-size:.66rem;color:var(--slate-500,#64748b)}@media (max-width:640px){.header-loc-quick.has-active{padding-right:6px}.header-loc-name{max-width:96px}.header-loc-avatar{width:20px;height:20px}}#header-actions .header-loc-name,#header-actions .signature-context-chevron,#header-actions .signature-context-label{display:none!important}#header-actions .signature-context-card{gap:0;padding:3px 6px}#header-actions .header-loc-quick.has-active{padding:0 6px}#header-actions #header-loc-quick>svg,#header-actions #signature-context-cloud>svg.signature-mode-art{width:20px!important;height:20px!important}#connection-status{padding:.25rem;border-radius:9999px;font-size:0;display:flex;align-items:center;justify-content:center;cursor:default}#connection-status::before{content:'';width:8px;height:8px;border-radius:50%;background:currentColor}.btn{padding:.375rem .75rem;border:none;border-radius:5px;cursor:pointer;font-weight:500;font-size:.8rem;transition:all .15s ease;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.25rem}.btn-primary{background:#047857;color:#fff;box-shadow:0 1px 2px rgba(4,120,87,.18)}.btn-primary:hover{background:#059669;box-shadow:0 2px 8px rgba(16,185,129,.26)}.btn-secondary{background:#334155;color:#fff;box-shadow:0 1px 2px rgba(15,23,42,.18)}.btn-secondary:hover{background:#1e293b}.btn-outline{background:#fff;border:1px solid #d1d5db;color:#374151}.btn-outline:hover{background:#f9fafb;border-color:#9ca3af}.btn-danger{background:#ef4444;color:#fff;box-shadow:0 1px 2px rgba(239,68,68,.2)}.btn-danger:hover{background:#dc2626}.btn-sm{padding:.25rem .5rem;font-size:.75rem}.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(0)}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.container{max-width:1800px;margin:0 auto;padding:0;height:calc(100vh - 42px);display:flex;flex-direction:column}.app-footer{flex:0 0 auto;align-self:stretch;box-sizing:border-box;width:100%;margin-top:auto;padding:.32rem .75rem;border-top:1px solid var(--app-footer-border);border-radius:6px;background:var(--app-footer-bg);color:var(--app-footer-text);box-shadow:0 -2px 8px var(--app-footer-shadow);font-size:.68rem;font-weight:600;line-height:1.2;letter-spacing:.025em;text-align:center}.app-footer[hidden]{display:none!important}#hub-tab>.hub-container{flex-shrink:0}#pano-body,#settings-main{display:flex;flex-direction:column}#pano-body>*,#settings-main>*{flex-shrink:0}@media screen{html.tabs-collapsed #app-shell{height:calc(100vh - 54px);height:calc(100dvh - 54px)}}#cirurgias-tab>.cir-tab-shell,#kits-tab>.kit-layout,#patologias-tab>.pat-tab-shell{flex-shrink:0}.sidebar{display:none}.sidebar h3{color:#047857;margin-bottom:.75rem;font-size:1.1rem;display:flex;align-items:center;gap:7px}.sidebar h3 .patient-ui-icon{width:15px;height:15px;flex:0 0 15px}.template-list{display:flex;flex-direction:column;gap:.375rem}.template-item{padding:.6rem;background:#f8f9fa;border:2px solid transparent;border-radius:6px;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.375rem;font-size:.85rem}.template-item:hover{border-color:#10b981;background:#ecfdf5}.template-item.active{background:#047857;color:#fff}.main-content{background:#fff;border-radius:6px;padding:0;box-shadow:0 1px 3px rgba(15,23,42,.06);border:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden;flex:1;min-height:0}.main-content:has(> #editor-tab.active){border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.content-tabs{display:flex;align-items:center;border-bottom:1px solid #e2e8f0;padding-bottom:0;flex-wrap:wrap;gap:4px;background:#fff;margin:0;padding:.35rem .75rem 0 .75rem;border-radius:6px 6px 0 0;flex-shrink:0}#patologias-tab>.pat-tab-shell{padding-top:0}.content-tabs .d-flex:first-child,.content-tabs .d-flex:nth-child(2){background:#f8fafc;padding:.25rem .5rem;border-radius:5px;border:1px solid #e2e8f0;margin-right:.75rem}.tab{padding:.375rem .75rem;background:0 0;border:1px solid transparent;cursor:pointer;font-weight:500;font-size:.75rem;color:#64748b;border-radius:5px;margin-bottom:0;transition:all .15s ease;position:relative;display:inline-flex;align-items:center;gap:.375rem;box-shadow:none}#oracle-tab-button[hidden]{display:none!important}.tab-unread-chip{flex:0 0 auto;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#10b981;color:#fff;font-size:.58rem;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px rgba(134,239,172,.5)}.tab-unread-chip[hidden]{display:none!important}#patient-tab-encounter-indicator{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;border-radius:50%;background:var(--emerald-100);color:var(--emerald-700);box-shadow:0 0 0 1px var(--emerald-300)}#patient-tab-encounter-indicator[hidden]{display:none!important}#main-tab-patients #patient-tab-encounter-indicator svg{width:12px;height:12px;color:var(--emerald-700);opacity:1;filter:none}html.tabs-collapsed #main-tabs>#main-tab-patients #patient-tab-encounter-indicator{position:absolute;top:-3px;right:-4px;width:14px;height:14px}.tab svg{opacity:.85;flex-shrink:0}.tab:hover{color:#1e293b;background:#f8fafc;border-color:#e2e8f0}.tab:hover svg{opacity:1}.tab.active{color:#047857;background:0 0;border-color:transparent;font-weight:600;border-radius:5px;margin-bottom:0;box-shadow:none}.tab.active svg{opacity:1;color:#10b981;filter:drop-shadow(0 0 4px rgba(16,185,129,.5))}.tab.active::after{content:'';position:absolute;left:8px;right:8px;bottom:-4px;height:3px;background:#10b981;border-radius:3px 3px 0 0;box-shadow:0 0 8px rgba(16,185,129,.5);pointer-events:none}#main-tabs{background:var(--tabs-strip-bg);flex-wrap:nowrap;min-width:0;align-items:flex-end;padding:6px 8px 0;gap:2px;border:1px solid var(--tabs-strip-border);border-bottom:0;border-radius:6px 6px 0 0;box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}#main-tabs .tab{border-radius:8px 8px 0 0;box-shadow:none;margin-bottom:0;height:30px;color:#475569;transition:transform 160ms ease,background 160ms ease,color 160ms ease,border-color 160ms ease,box-shadow 160ms ease}#main-tabs .tab:hover{background:var(--tabs-hover-bg);color:var(--tabs-hover-text);border-color:var(--tabs-hover-border)}#main-tabs .tab.active{background:linear-gradient(180deg,#1e293b 0,#334155 100%);color:var(--tabs-active-text);border-color:#1e293b;border-bottom:0;border-radius:10px 10px 0 0;transform:translateY(-2px);text-shadow:0 0 5px rgba(134,239,172,.4);box-shadow:0 1px 3px rgba(15,23,42,.25),0 0 0 1px rgba(16,185,129,.22),0 0 10px rgba(16,185,129,.24);z-index:3}#main-tabs .tab.active svg{opacity:1;color:var(--tabs-active-accent);filter:drop-shadow(0 0 4px rgba(134,239,172,.74)) drop-shadow(0 0 9px rgba(16,185,129,.42))}#main-tabs .tab.active::after{display:none}#main-tabs>.tab{flex:0 0 auto;white-space:nowrap}#main-tabs .tab[hidden],#main-tabs-more-btn[hidden],#main-tabs-more-menu[hidden]{display:none!important}#main-tabs-more-btn{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;max-width:min(230px,55vw);height:30px;padding:0 10px;border:1px solid transparent;border-radius:8px 8px 0 0;background:0 0;color:var(--tabs-menu-text);font:600 0.75rem 'Segoe UI',sans-serif;cursor:pointer}#main-tabs-more-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#main-tabs-more-btn svg{flex-shrink:0;transition:transform 150ms ease}#main-tabs-more-btn:hover,#main-tabs-more-btn[aria-expanded=true]{background:var(--tabs-hover-bg);color:var(--tabs-hover-text);border-color:var(--tabs-hover-border)}#main-tabs-more-btn[aria-expanded=true] svg{transform:rotate(180deg)}#main-tabs-more-btn.is-active{background:var(--tabs-menu-active-bg);color:var(--tabs-active-text);border-color:var(--tabs-hover-text);box-shadow:inset 0 -2px 0 var(--tabs-active-accent)}#main-tabs-more-btn.has-unread::before{content:'';flex:0 0 5px;width:5px;height:5px;border-radius:50%;background:var(--tabs-menu-focus-ring)}#main-tabs-more-btn:focus-visible,#main-tabs-more-menu .tab:focus-visible{outline:2px solid var(--tabs-menu-focus-ring);outline-offset:-2px}#main-tabs-more-menu{position:fixed;z-index:10002;display:flex;flex-direction:column;width:min(246px,calc(100vw - 16px));padding:6px;gap:2px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;background:var(--tabs-menu-bg);color:var(--tabs-menu-text);border:1px solid var(--tabs-strip-border);border-radius:10px;box-shadow:0 12px 30px rgba(15,23,42,.18),0 2px 5px rgba(15,23,42,.08)}#main-tabs #main-tabs-more-menu .tab{flex:0 0 auto;width:100%;height:34px;justify-content:flex-start;margin:0;border-radius:6px;transform:none;white-space:nowrap}#main-tabs #main-tabs-more-menu .tab.active{border:1px solid var(--tabs-hover-text);box-shadow:none}html.tabs-collapsed #main-tabs-more-btn{display:none!important}#main-tabs>#tabs-collapse-btn{flex-shrink:0}[data-search-nav-item]:focus-visible{outline:2px solid var(--tabs-menu-focus-ring);outline-offset:-2px}#header-navigation-dock{display:contents}#header-patient-search-create{display:none}html.tabs-collapsed #header-brand-home>div.header-title>h1{display:none}#tabs-menu-btn,#tabs-menu-host{display:none}html.tabs-collapsed #tabs-menu-host{display:flex;align-items:center;gap:2px;flex:0 1 512px;min-width:32px;margin:0 10px}html.tabs-collapsed #tabs-menu-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:28px;padding:0;border:1px solid transparent;border-radius:7px;background:0 0;color:var(--locquick-text);cursor:pointer}html.tabs-collapsed #tabs-menu-btn:hover,html.tabs-collapsed #tabs-menu-btn[aria-expanded=true]{background:var(--headerchip-hover-bg);color:var(--headerchip-hover-text)}#tabs-menu-btn.is-active{box-shadow:inset 0 -2px 0 var(--tabs-active-accent)}#tabs-menu-btn.has-unread::after{content:'';position:absolute;width:5px;height:5px;border-radius:50%;background:var(--tabs-menu-focus-ring);margin:-18px 0 0 18px}#tabs-menu-btn:focus-visible,html.tabs-collapsed #main-tabs>.tab:focus-visible{outline:2px solid var(--tabs-menu-focus-ring);outline-offset:-2px}#tabs-collapse-btn{display:inline-flex;align-items:center;justify-content:center;margin-bottom:3px;width:26px;height:24px;border:1px solid transparent;border-radius:6px;background:0 0;color:#94a3b8;cursor:pointer;transition:background .15s,color .15s,border-color .15s}#tabs-collapse-btn:hover{background:var(--tabs-hover-bg);color:var(--tabs-hover-text);border-color:var(--tabs-hover-border)}#tabs-collapse-btn:focus-visible{outline:2px solid #10b981;outline-offset:1px}html.tabs-collapsed #tabs-collapse-btn{flex:0 0 26px;margin:0;height:28px;color:var(--locquick-text)}#tabs-collapse-btn .tabs-collapse-icon-expand{display:none}html.tabs-collapsed #tabs-collapse-btn .tabs-collapse-icon-compact{display:none}html.tabs-collapsed #tabs-collapse-btn .tabs-collapse-icon-expand{display:block}#tabs-menu-btn[hidden]{display:none!important}html.tabs-collapsed #main-tabs{display:none}html.tabs-collapsed #tabs-menu-host>#main-tabs{display:flex;flex:1 1 auto;min-width:0;width:0;align-items:center;gap:2px;height:30px;padding:0;margin:0;border:0;background:0 0;box-shadow:none}html.tabs-collapsed #main-tabs>.tab{position:relative;width:30px;height:28px;padding:0;margin:0;justify-content:center;gap:0;font-size:0;border-radius:7px;transform:none;color:var(--locquick-text)}html.tabs-collapsed #main-tabs>.tab svg{width:16px;height:16px;flex-shrink:0}html.tabs-collapsed #main-tabs>.tab.active{background:var(--tabs-menu-active-bg);color:var(--tabs-active-text);border-radius:7px;transform:none}html.tabs-collapsed #main-tabs>.tab .tab-unread-chip{position:absolute;top:-2px;right:-2px;min-width:10px;height:10px;padding:0 2px;font-size:8px;line-height:10px}html.tabs-collapsed #app-header{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,720px) minmax(180px,1fr);gap:12px;height:54px;padding-inline:16px}html.tabs-collapsed #header-brand-home{justify-self:start}html.tabs-collapsed #header-actions{justify-self:end;min-width:0}html.tabs-collapsed #header-actions .signature-context-wrap{position:relative;top:auto;right:auto;z-index:auto}#header-fullscreen-btn{display:none}html.tabs-collapsed #header-fullscreen-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;padding:0;border:1px solid transparent;border-radius:8px;background:0 0;color:var(--locquick-text);cursor:pointer}#header-fullscreen-btn:hover{background:var(--headerchip-hover-bg);color:var(--headerchip-hover-text)}#header-fullscreen-btn:focus-visible{outline:2px solid var(--tabs-menu-focus-ring);outline-offset:1px}#header-fullscreen-btn:disabled{opacity:.45;cursor:default}#header-fullscreen-btn .fullscreen-exit-icon,#header-fullscreen-btn[aria-pressed=true] .fullscreen-enter-icon{display:none}#header-fullscreen-btn[aria-pressed=true] .fullscreen-exit-icon{display:block}html.tabs-collapsed #header-navigation-dock{display:flex;align-items:center;min-width:0;gap:6px;padding:4px 6px;border:1px solid var(--slate-200);border-radius:15px;background:#fff;box-shadow:0 3px 10px rgb(15 23 42 / 6%)}html.tabs-collapsed #tabs-menu-host{flex:1 1 auto;min-width:0;margin:0;gap:4px}html.tabs-collapsed #tabs-menu-host>#main-tabs{height:34px;gap:4px;justify-content:center}html.tabs-collapsed #main-tabs>.tab{flex:0 0 34px;width:34px;height:34px;border-radius:10px;border:1px solid transparent;color:var(--navy-700);transition:background 140ms,border-color 140ms,color 140ms}html.tabs-collapsed #main-tabs>.tab svg{width:17px;height:17px;opacity:1;filter:none}html.tabs-collapsed #main-tabs>.tab:hover{background:var(--slate-100);color:var(--navy-900)}html.tabs-collapsed #main-tabs>.tab.active{background:var(--emerald-50,#ecfdf5);color:var(--emerald-700);border-color:var(--emerald-300);border-radius:10px;box-shadow:none;text-shadow:none}html.tabs-collapsed #main-tabs>.tab.active svg{color:inherit;filter:none}html.tabs-collapsed #tabs-collapse-btn{height:30px;border-radius:8px}html.tabs-collapsed #tabs-menu-btn{height:34px;border-radius:10px}html.tabs-collapsed #header-navigation-dock>#header-patient-search{position:relative;flex:0 0 0!important;min-width:0!important;width:0;margin:0!important;padding:0;border:0;gap:0!important}html.tabs-collapsed #header-navigation-dock #header-patient-add-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;padding:7px;margin:0;border:1px solid transparent;border-radius:10px;background:0 0;color:var(--navy-700);box-shadow:none;transform:none}html.tabs-collapsed #header-navigation-dock #header-patient-add-btn svg{width:17px;height:17px}html.tabs-collapsed #header-navigation-dock #header-patient-add-btn:hover,html.tabs-collapsed #header-navigation-dock #header-patient-add-btn[aria-expanded=true]{background:var(--slate-100);border-color:var(--slate-300);color:var(--navy-900);box-shadow:none}html.tabs-collapsed #header-navigation-dock #header-patient-add-btn:focus-visible{outline:2px solid var(--emerald-500);outline-offset:2px}html.tabs-collapsed #header-navigation-dock #header-patient-search-popover{display:none;position:fixed!important;flex:none!important;width:min(360px,calc(100vw - 16px));padding:12px;box-sizing:border-box;border:1px solid var(--slate-200);border-radius:12px;background:#fff;box-shadow:0 10px 28px rgb(15 23 42 / 13%);z-index:10002}html.tabs-collapsed #header-navigation-dock #header-patient-search[data-dock-search-open=true] #header-patient-search-popover{display:block}html.tabs-collapsed #header-navigation-dock #header-patient-search-popover .patient-search-icon{left:22px;top:29px}html.tabs-collapsed #header-navigation-dock #patient-search-input{min-height:34px;text-transform:none}html.tabs-collapsed #header-navigation-dock #patient-search-input::placeholder{text-transform:none}html.tabs-collapsed #header-navigation-dock #patient-search-dropdown{position:relative!important;inset:auto!important;width:100%!important;margin-top:6px;max-height:min(300px,50vh)!important;border:1px solid var(--slate-200)!important;border-radius:8px!important;box-shadow:none!important}html.tabs-collapsed #header-navigation-dock #header-patient-search-create{display:flex;align-items:center;justify-content:center;width:100%;margin-top:8px;padding:7px 10px;border:0;border-radius:7px;background:var(--slate-50);color:var(--emerald-700);font:inherit;font-size:12px;cursor:pointer}html.tabs-collapsed #header-navigation-dock #header-patient-search-create:hover{background:var(--emerald-50,#ecfdf5)}html.tabs-collapsed #header-navigation-dock #header-patient-search-create:focus-visible{outline:2px solid var(--emerald-500);outline-offset:2px}@media (max-width:700px){html.tabs-collapsed #app-header{grid-template-columns:36px minmax(0,1fr) auto;gap:6px;padding-inline:8px}html.tabs-collapsed #header-actions{gap:2px}html.tabs-collapsed #header-navigation-dock{padding-inline:4px;gap:4px}}html.tabs-collapsed .tab-content.active{border:1px solid var(--tabs-strip-border);border-bottom:0;border-radius:6px 6px 0 0}*{scrollbar-width:thin}:root{scrollbar-color:#cbd5e1 transparent}#anamnese-live-list:not(:hover),#pano-body:not(:hover),#settings-main:not(:hover),#stdtext-live-list:not(:hover),.modal:not(:hover),.tab-content:not(:hover){scrollbar-color:transparent transparent}.enc-pane-card .pano-enc-bar{scrollbar-color:#64748b transparent}.enc-pane-card .pano-enc-bar:not(:hover){scrollbar-color:transparent transparent}.tab-content{display:none;flex:1;overflow:auto;min-height:0}.tab-content.active{display:flex;flex-direction:column}#editor-tab{overflow:hidden}#marketplace-tab{padding:0;overflow:hidden}#marketplace-embed-frame{flex:1 1 auto;width:100%;min-height:0;border:0;background:#fff}#import-models-tab{padding:0;overflow:hidden}#import-models-embed-frame{flex:1 1 auto;width:100%;min-height:0;border:0;background:#f5f5f5}#form-import-tab{padding:0;overflow:hidden}#form-import-embed-frame{flex:1 1 auto;width:100%;min-height:0;border:0;background:#f5f5f5}#hub-tab{background:linear-gradient(180deg,#f8fafc 0,#eef2f7 52%,#e2e8f0 100%);padding:0;overflow:auto}.hub-container{max-width:none;margin:0;padding:16px 20px 26px;display:flex;flex-direction:column;gap:12px}.hub-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 16px;padding:10px 16px;border:1px solid #1e293b;border-radius:8px;background:linear-gradient(180deg,#334155 0,#1e293b 100%);box-shadow:0 4px 14px rgba(15,23,42,.16),0 0 0 1px rgba(16,185,129,.16)}.hub-greeting h1{margin:0 0 4px;font-size:1.32rem;font-weight:700;color:#dcfce7;letter-spacing:0;text-shadow:0 0 7px rgba(134,239,172,.74),0 0 16px rgba(16,185,129,.42)}.hub-context{margin:0;font-size:.82rem;color:#cbd5e1}.hub-context strong{color:#dcfce7;font-weight:700}.hub-greeting{display:contents}#hub-greeting-line{grid-column:1;grid-row:1}.hub-header .hub-date{grid-column:2;grid-row:1}.hub-greeting #hub-quick-selectors{grid-column:1/-1;grid-row:2;margin-top:2px;padding:0;border:none;background:0 0;box-shadow:none}.hub-date{font-size:.8rem;font-weight:600;color:#dcfce7;text-align:center;white-space:nowrap;align-self:flex-start;margin-top:2px;padding:7px 14px;border-radius:999px;border:1px solid rgba(16,185,129,.55);background:linear-gradient(180deg,rgba(16,185,129,.2) 0,rgba(16,185,129,.1) 100%);box-shadow:0 0 0 1px rgba(16,185,129,.18),0 0 12px rgba(16,185,129,.28),inset 0 0 8px rgba(134,239,172,.12);text-shadow:0 0 8px rgba(134,239,172,.45);letter-spacing:.01em;display:inline-flex;align-items:center;gap:8px}.hub-date::before{content:"";width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 6px rgba(52,211,153,.9),0 0 12px rgba(16,185,129,.6);flex:none}.tab-subheader{min-height:46px;padding:8px 12px;border:1px solid var(--surfbar-border);border-radius:8px;background:linear-gradient(180deg,var(--surfbar-light) 0,var(--surfbar-dark) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.tab-subheader h4{margin:0;font-size:.92rem;font-weight:700;color:var(--surfbar-title-text);text-shadow:var(--surfbar-title-shadow)}.tab-subheader h4 svg{color:var(--surfbar-icon);filter:var(--surfbar-icon-filter)}.tab-subheader-title-block{display:flex;flex-direction:column;gap:1px;min-width:0}.tab-subheader-subtitle{margin:0;font-size:.76rem;font-weight:500;line-height:1.3;color:var(--surfbar-subtitle-text)}.tab-subheader .btn-outline{background:#fff;border-color:var(--slate-300);color:var(--navy-900)}.tab-subheader select.btn-outline{background:#fff;border-color:#cbd5e1;color:#0f172a}.tab-subheader .btn-outline:hover:not(:disabled){background:var(--slate-100);border-color:var(--slate-400);color:var(--navy-900)}.tab-subheader .text-muted{color:var(--slate-500)}.tab-subheader .agenda-view-switch{background:var(--slate-100);border-color:var(--slate-200);box-shadow:none}.tab-subheader .agenda-view-btn{color:var(--slate-700);opacity:1;font-weight:500}.tab-subheader .agenda-view-btn:hover{background:rgba(15,23,42,.06);color:var(--navy-900);opacity:1}.tab-subheader .agenda-view-btn.active{opacity:1;font-weight:700}.tab-subheader .agenda-view-btn.active{background:var(--navy-900);color:#fff;border-color:transparent;box-shadow:none;text-shadow:none}.tab-subheader #agenda-range-label{color:var(--navy-900)}.hub-quick-selectors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;border:1px solid #94a3b8;border-radius:12px;background:linear-gradient(180deg,#e2e8f0 0,#cbd5e1 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 2px 8px rgba(15,23,42,.08)}.hub-quick-selectors:has(#hub-selector-org:not(.hidden)){grid-template-columns:repeat(4,minmax(0,1fr))}.hub-selector-card{position:relative;display:flex;align-items:center;min-width:0;gap:8px;padding:7px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#0f172a;cursor:pointer;text-align:left;font:inherit;transition:border-color .15s,box-shadow .15s,background .15s,transform 50ms;min-height:44px}.hub-selector-card:hover{border-color:#1e293b;background:#f1f5f9;transform:translateY(-1px);box-shadow:0 3px 10px rgba(15,23,42,.1),0 0 0 1px rgba(16,185,129,.18)}.hub-selector-card:focus-visible{outline:0;border-color:var(--emerald-500);box-shadow:0 0 0 3px rgba(16,185,129,.18)}.hub-selector-card.has-active{border-color:#475569;background:linear-gradient(180deg,#475569 0,#64748b 100%);color:#ecfdf5;box-shadow:inset 3px 0 0 var(--emerald-500),0 2px 6px rgba(15,23,42,.2),0 0 0 1px rgba(16,185,129,.28),0 0 10px rgba(16,185,129,.22)}.hub-selector-card.has-active:hover{border-color:#334155;background:linear-gradient(180deg,#334155 0,#475569 100%);box-shadow:inset 3px 0 0 #34d399,0 4px 12px rgba(15,23,42,.24),0 0 0 1px rgba(16,185,129,.38),0 0 14px rgba(16,185,129,.3)}.hub-selector-card.is-open{border-color:var(--emerald-500);box-shadow:inset 3px 0 0 #34d399,0 0 0 3px rgba(16,185,129,.22),0 8px 20px rgba(15,23,42,.2)}.hub-selector-card.is-warn{border-color:rgba(245,158,11,.55);background:linear-gradient(180deg,#f8fafc 0,#fff 60%)}.hub-selector-card-ico{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 auto;border:1px solid transparent;border-radius:7px;background:linear-gradient(180deg,#f1f5f9 0,#e2e8f0 100%);color:#1e293b}.hub-selector-card.has-active .hub-selector-card-ico{border-color:rgba(110,231,183,.34);background:rgba(255,255,255,.08);color:#dcfce7;box-shadow:0 0 9px rgba(16,185,129,.24)}.hub-selector-card.has-active .hub-selector-card-ico svg{filter:drop-shadow(0 0 4px rgba(134,239,172,.64))}.hub-selector-card-ico svg{width:18px;height:18px}.hub-selector-card-ico img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.hub-selector-card-body{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;flex:1;overflow:hidden}.hub-selector-card-label{flex:0 0 auto;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.25;font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.hub-selector-card-label::after{content:':';margin-left:1px}.hub-selector-card-value{min-width:0;max-width:100%;flex:0 0 auto;line-height:1.3;font-size:.82rem;font-weight:700;letter-spacing:-.01em;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hub-selector-card.has-active .hub-selector-card-label{color:#cbd5e1}.hub-selector-card.has-active .hub-selector-card-value{color:#dcfce7;text-shadow:0 0 5px rgba(134,239,172,.42),0 0 11px rgba(16,185,129,.3)}.hub-selector-card.is-warn .hub-selector-card-value{color:#92400e}.hub-selector-card-chevron{font-size:.7rem;color:#94a3b8;transition:transform .15s;flex:0 0 auto}.hub-selector-card.has-active .hub-selector-card-chevron{color:#6ee7b7}.hub-selector-card.is-open .hub-selector-card-chevron{transform:rotate(180deg);color:var(--emerald-600)}.hub-selector-card.has-active.is-open .hub-selector-card-chevron{color:#6ee7b7}#hub-selector-signature.has-active[data-signature-provider=certillion][data-signature-readiness=off]{box-shadow:inset 3px 0 0 var(--hub-sig-off-accent),0 2px 6px rgba(15,23,42,.2),0 0 0 1px var(--hub-sig-off-ring),0 0 10px var(--hub-sig-off-glow)}#hub-selector-signature.has-active[data-signature-provider=certillion][data-signature-readiness=off]:hover{box-shadow:inset 3px 0 0 var(--hub-sig-off-accent),0 4px 12px rgba(15,23,42,.24),0 0 0 1px var(--hub-sig-off-ring),0 0 14px var(--hub-sig-off-glow)}#hub-selector-signature.has-active[data-signature-provider=certillion][data-signature-readiness=off].is-open,#hub-selector-signature.has-active[data-signature-provider=certillion][data-signature-readiness=off]:focus-visible{border-color:var(--hub-sig-off-accent);box-shadow:inset 3px 0 0 var(--hub-sig-off-accent),0 0 0 3px var(--hub-sig-off-ring),0 8px 20px rgba(15,23,42,.2),0 0 14px var(--hub-sig-off-glow)}#hub-selector-signature.has-active[data-signature-provider=certillion][data-signature-readiness=off] .hub-selector-card-ico{border-color:var(--hub-sig-off-icon-border);background:var(--hub-sig-off-icon-bg);color:var(--hub-sig-off-foreground);box-shadow:0 0 9px var(--hub-sig-off-glow)}#hub-selector-signature.has-active[data-signature-provider=certillion][data-signature-readiness=off] .hub-selector-card-ico svg{filter:drop-shadow(0 0 4px var(--hub-sig-off-ring))}#hub-selector-signature.has-active[data-signature-provider=certillion][data-signature-readiness=off] .hub-selector-card-value{color:var(--hub-sig-off-foreground);text-shadow:0 0 5px var(--hub-sig-off-ring),0 0 11px var(--hub-sig-off-glow)}#hub-selector-signature.has-active[data-signature-provider=certillion][data-signature-readiness=off] .hub-selector-card-chevron{color:var(--hub-sig-off-muted)}.hub-selector-pop{position:absolute;top:calc(100% + 6px);left:0;width:min(360px,calc(100vw - 24px));min-width:100%;max-width:360px;max-height:360px;overflow-y:auto;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 10px 28px rgba(15,23,42,.18),0 2px 6px rgba(15,23,42,.08);z-index:1000;padding:4px 0}#hub-selector-signature .hub-selector-pop{left:auto;right:0}.hub-selector-pop .dropdown-item{display:flex;align-items:center;gap:8px;padding:8px 12px;font-size:.82rem;color:#1f2937;cursor:pointer;transition:background .1s}.hub-selector-pop .dropdown-item:hover{background:#f1f5f9}.hub-selector-pop .dropdown-item.active{background:linear-gradient(180deg,#ecfdf5 0,#d1fae5 100%);color:var(--emerald-700);font-weight:700;box-shadow:inset 3px 0 0 var(--emerald-500)}.hub-selector-pop .dropdown-item.active svg{color:var(--emerald-600)}.hub-selector-pop.is-signature-host{padding:0}.hub-selector-pop .signature-context-menu,.hub-selector-pop>.signature-context-menu.hidden{position:static!important;display:block!important;box-shadow:none;border:0;min-width:0;max-width:none;background:0 0;margin:0}.hub-section{display:flex;flex-direction:column;gap:8px}.hub-section-title{margin:0;flex:1 1 auto;min-width:0;min-height:22px;display:flex;align-items:center;gap:8px;padding:0;border-radius:0;background:0 0;color:var(--hub-sectiontitle-text);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.052em;line-height:1.2}.hub-section-title .patient-ui-icon{width:14px;height:14px;flex:0 0 14px}.hub-section-title::before{content:'';width:6px;height:18px;border-radius:999px;flex:0 0 auto;background:var(--hub-sectiontitle-pill-bg);box-shadow:0 0 8px var(--hub-sectiontitle-pill-glow),0 1px 2px var(--hub-sectiontitle-pill-shadow)}.hub-section-title::after{content:'';height:18px;flex:0 1 320px;min-width:24px;max-width:320px;border-radius:999px;background:linear-gradient(90deg,var(--hub-sectiontitle-decor-stop1) 0,var(--hub-sectiontitle-decor-stop2) 38%,var(--hub-sectiontitle-decor-stop3) 68%,var(--hub-sectiontitle-decor-stop4) 100%);box-shadow:inset 0 0 0 1px var(--hub-sectiontitle-decor-ring)}.hub-card-head .hub-section-title::after,.hub-favorites-head .hub-section-title::after{max-width:180px}.hub-quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}@media (max-width:880px){.hub-quick-actions{grid-template-columns:repeat(2,1fr)}}.hub-quick-btn{display:flex;align-items:center;gap:12px;padding:11px 16px;background:var(--hub-quickbtn-bg);border:1px solid var(--hub-quickbtn-border);border-radius:8px;cursor:pointer;text-align:left;transition:all .15s ease;color:var(--hub-quickbtn-text);font-size:.875rem;font-weight:500}.hub-quick-btn:hover{border-color:var(--hub-quickbtn-hover-border);background:var(--hub-quickbtn-hover-bg);color:var(--hub-quickbtn-hover-text);transform:translateY(-1px);box-shadow:0 3px 10px var(--hub-quickbtn-hover-shadow-drop),0 0 0 1px var(--hub-quickbtn-hover-shadow-underline),inset 3px 0 0 #10b981}.hub-quick-btn .hub-quick-icon{width:41px;height:41px;display:flex;align-items:center;justify-content:center;background:var(--hub-quickbtn-icon-bg);border:1px solid var(--hub-quickbtn-icon-border);color:var(--hub-quickbtn-icon-text);border-radius:9px;flex-shrink:0;transition:background .15s ease,border-color .15s ease,color .15s ease,filter .15s ease}.hub-quick-btn .hub-quick-icon svg{width:21px;height:21px;display:block}.hub-quick-btn:hover .hub-quick-icon{background:linear-gradient(180deg,#1e293b 0,#334155 100%);border-color:var(--hub-quickbtn-icon-hover-border);color:#dcfce7;box-shadow:0 0 0 1px rgba(16,185,129,.26)}.hub-quick-btn:hover .hub-quick-icon svg{filter:drop-shadow(0 0 4px rgba(134,239,172,.74)) drop-shadow(0 0 9px var(--hub-quickbtn-icon-hover-glow))}.hub-quick-btn .hub-quick-meta{display:flex;flex-direction:column;min-width:0}.hub-quick-btn .hub-quick-label{font-weight:600;color:var(--hub-quickbtn-label-text);font-size:.875rem;line-height:1.25;letter-spacing:-.01em}.hub-quick-btn .hub-quick-sub{font-size:.75rem;color:var(--hub-quickbtn-sub-text);margin-top:2px}.hub-quick-btn:hover .hub-quick-label{color:var(--hub-quickbtn-label-hover-text)}.hub-favorites-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.hub-favorites-actions{display:flex;align-items:center;gap:8px}.hub-favorites-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}@media (max-width:1080px){.hub-favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.hub-favorites-grid{grid-template-columns:1fr}}.hub-fav-expand-wrap{display:flex;justify-content:center;min-height:26px;margin-top:-2px}.hub-fav-expand-btn{width:30px;height:30px;border:1px solid var(--hub-favexpand-border);border-radius:999px;background:var(--hub-favexpand-bg);color:var(--hub-favexpand-text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 3px var(--hub-favexpand-shadow);transition:border-color .14s ease,color .14s ease,background .14s ease,box-shadow .14s ease,transform .14s ease}.hub-fav-expand-btn:hover{border-color:var(--hub-favexpand-hover-border);color:var(--hub-favexpand-hover-text);background:var(--hub-favexpand-hover-bg);box-shadow:0 3px 10px var(--hub-favexpand-hover-shadow-drop),0 0 0 2px var(--hub-favexpand-hover-shadow-ring);transform:translateY(-1px)}.hub-fav-expand-btn svg{width:17px;height:17px;transition:transform .16s ease}.hub-fav-expand-btn.is-expanded svg{transform:rotate(180deg)}.hub-fav-card{border:1px solid var(--hub-favcard-border);background:var(--hub-favcard-bg);border-radius:8px;padding:7px;display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:center;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease,background .15s ease;min-height:74px;text-align:left;color:inherit}.hub-fav-card:hover{border-color:var(--hub-favcard-hover-border);background:var(--hub-favcard-hover-bg);transform:translateY(-1px);box-shadow:0 3px 10px var(--hub-favcard-hover-shadow-drop),0 0 0 1px var(--hub-favcard-hover-shadow-underline),inset 3px 0 0 #10b981}.hub-fav-thumb{width:62px;height:78px;border:1px solid var(--hub-favthumb-border);border-radius:5px;background:var(--hub-favthumb-bg);display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:inset 0 0 0 1px var(--hub-favthumb-inner-highlight)}.hub-fav-thumb img{max-width:100%;max-height:100%;display:block}.hub-fav-thumb-fallback{color:var(--hub-favthumb-fallback-text);font-size:.7rem;text-align:center;padding:6px;line-height:1.25}.hub-fav-main{min-width:0;display:flex;flex-direction:column;gap:3px}.hub-fav-name{font-size:.875rem;font-weight:600;color:var(--hub-favname-text);line-height:1.2;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hub-fav-meta{font-size:.75rem;color:var(--hub-favmeta-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hub-fav-badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:2px}.hub-fav-badge{font-size:.62rem;font-weight:600;color:var(--hub-favbadge-text);background:var(--hub-favbadge-bg);border:1px solid var(--hub-favbadge-border);border-radius:999px;padding:1px 6px}.hub-fav-empty{background:var(--hub-favempty-bg);border:1px dashed var(--hub-favempty-border);border-radius:8px;padding:14px 16px;color:var(--hub-favempty-text);font-size:.8rem;display:flex;align-items:center;justify-content:space-between;gap:12px}.hub-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media (max-width:880px){.hub-grid-2{grid-template-columns:1fr}}.hub-card{background:var(--hub-card-bg);border:1px solid var(--hub-card-border);border-radius:8px;padding:11px 14px;gap:8px;box-shadow:0 1px 2px var(--hub-card-shadow)}#hub-continue-card,#hub-recent-patients-card{border:1px solid var(--hub-card-border);background:var(--hub-card-bg);box-shadow:0 1px 2px var(--hub-card-shadow)}#hub-recent-patients-card{box-shadow:inset 0 3px 0 var(--hub-recentpatients-rail),0 1px 2px var(--hub-card-shadow)}.hub-card-head{display:flex;justify-content:space-between;align-items:baseline;padding-bottom:8px;border-bottom:1px solid var(--hub-cardhead-border-bottom)}.hub-card-hint{font-size:.72rem;color:var(--hub-cardhint-text)}.hub-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:2px}.hub-list-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;cursor:pointer;transition:background .12s,box-shadow .12s}.hub-list-item:hover{background:var(--hub-listitem-hover-bg);box-shadow:inset 3px 0 0 var(--hub-listitem-hover-rail)}.hub-list-item .hub-list-icon{font-size:1.05rem;flex-shrink:0;opacity:.85;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;color:var(--hub-listicon-text)}.hub-list-item .hub-list-icon svg{width:20px;height:20px;display:block}.hub-list-item .hub-list-main{flex:1;min-width:0;display:flex;flex-direction:column}.hub-list-item .hub-list-title{font-size:.85rem;font-weight:600;color:var(--hub-listtitle-text);letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hub-list-item .hub-list-sub{font-size:.75rem;color:var(--hub-listsub-text);margin-top:1px}.hub-list-item .hub-list-when{font-size:.7rem;color:var(--hub-listwhen-text);white-space:nowrap}.hub-empty{padding:18px 6px;text-align:center;font-size:.78rem;color:var(--hub-empty-text)}.hub-card-foot{padding-top:6px;border-top:1px solid var(--hub-cardfoot-border-top);margin-top:auto}.hub-link-btn{background:0 0;border:none;color:var(--hub-linkbtn-text);font-size:.75rem;cursor:pointer;padding:4px 0;font-weight:600}.hub-link-btn:hover{color:var(--hub-linkbtn-hover-text);text-decoration:underline;text-decoration-color:var(--hub-linkbtn-hover-underline)}#hub-claude-import-card{margin-top:10px;padding:14px;border:1px solid var(--hub-module-border);border-radius:8px;background:var(--hub-module-bg);color:var(--hub-modulesub-text)}#hub-claude-import-title{margin:0 0 8px;font-size:.9rem;color:var(--hub-modulelabel-text)}#hub-claude-import-card ol{margin:0 0 10px;padding-left:20px;font-size:.8rem;line-height:1.5}#hub-claude-import-prompt{margin:0 0 12px;padding:10px;border-left:3px solid var(--hub-module-hover-border);font-size:.8rem;line-height:1.5;overflow-wrap:anywhere}.hub-modules{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}@media (max-width:1080px){.hub-modules{grid-template-columns:repeat(3,1fr)}}@media (max-width:760px){.hub-modules{grid-template-columns:repeat(2,1fr)}}.hub-module{display:flex;flex-direction:row;align-items:center;gap:12px;padding:10px 13px;background:var(--hub-module-bg);border:1px solid var(--hub-module-border);border-radius:8px;cursor:pointer;text-align:left;transition:all .15s ease;position:relative;min-height:54px}.hub-module:hover{border-color:var(--hub-module-hover-border);background:var(--hub-module-hover-bg);transform:translateY(-1px);box-shadow:0 3px 10px var(--hub-module-hover-shadow-drop),0 0 0 1px var(--hub-module-hover-shadow-underline),inset 3px 0 0 #10b981}.hub-module.disabled{opacity:.55;cursor:not-allowed}.hub-module.disabled:hover{transform:none;box-shadow:none;border-color:var(--hub-module-disabled-border);background:var(--hub-module-disabled-bg)}.hub-module-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:var(--hub-moduleicon-bg);border:1px solid var(--hub-moduleicon-border);border-radius:8px;color:var(--hub-moduleicon-text);flex-shrink:0;font-size:1.15rem;transition:background .15s ease,border-color .15s ease,color .15s ease,filter .15s ease}.hub-module-icon svg{width:24px;height:24px;display:block}.hub-module:hover .hub-module-icon{background:linear-gradient(180deg,#1e293b 0,#334155 100%);border-color:var(--hub-moduleicon-hover-border);color:#dcfce7;box-shadow:0 0 0 1px rgba(16,185,129,.26)}.hub-module:hover .hub-module-icon svg{filter:drop-shadow(0 0 4px rgba(134,239,172,.74)) drop-shadow(0 0 9px var(--hub-moduleicon-hover-glow))}.hub-module-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.hub-module-label{font-size:.875rem;font-weight:600;color:var(--hub-modulelabel-text);line-height:1.25;letter-spacing:-.01em}.hub-module-sub{font-size:.75rem;color:var(--hub-modulesub-text);line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hub-module-badge{position:absolute;top:6px;right:8px;font-size:.62rem;padding:1px 6px;border-radius:999px;background:var(--hub-modulebadge-bg);color:var(--hub-modulebadge-text);font-weight:600;letter-spacing:.04em;text-transform:uppercase}.hub-module.beta .hub-module-badge{background:var(--hub-modulebadge-beta-bg);color:var(--hub-modulebadge-beta-text)}.hub-footer{padding:8px 4px 0;font-size:.72rem;color:var(--hub-footer-text);text-align:center;border-top:1px dashed var(--hub-footer-border-top);margin-top:8px}.hub-footer a{color:var(--navy-800);text-decoration:none;font-weight:600}.hub-footer a:hover{color:var(--hub-linkbtn-hover-text);text-decoration:underline;text-decoration-color:var(--hub-linkbtn-hover-underline)}.hub-context-warn{background:#f1f5f9;border:1px solid #fde68a;color:#92400e;padding:8px 12px;border-radius:8px;font-size:.78rem;display:inline-block;margin-top:4px}.hub-context-head{display:inline}.hub-context-line,.hub-context-warn{display:inline-flex;align-items:center;gap:5px;line-height:1.5}.hub-context-svg{width:14px;height:14px;flex:0 0 14px}.hub-context-patient{display:inline-flex;align-items:center;gap:6px;margin-top:4px;font-size:.8rem;padding:4px 10px;border-radius:8px}.hub-context-patient.on{color:#dcfce7;background:rgba(16,185,129,.16);box-shadow:inset 0 0 0 1px rgba(16,185,129,.34),0 0 10px rgba(16,185,129,.18)}.hub-context-patient.on strong{color:#dcfce7}.hub-context-patient.off{color:#cbd5e1;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(203,213,225,.24)}.hub-context-patient.off strong{color:#dcfce7}.hub-context-patient.off .hub-context-patient-ico{color:#6ee7b7}.hub-context-action{font-size:.72rem!important;padding:1px 8px!important;border-radius:999px!important}.hub-context-patient.off .hub-context-action{background:linear-gradient(180deg,var(--emerald-500) 0,var(--emerald-600) 100%)!important;color:#fff!important;box-shadow:0 0 0 1px rgba(16,185,129,.35),0 1px 2px rgba(15,23,42,.08)!important;font-weight:600!important}.hub-context-patient.off .hub-context-action:hover{background:linear-gradient(180deg,var(--emerald-600) 0,var(--emerald-700) 100%)!important}.hub-context-patient-ico{display:inline-flex;align-items:center;justify-content:center;vertical-align:-3px;margin-right:2px}.hub-context-patient-ico svg{width:16px;height:16px;display:block}#hub-tab .dash-stats{gap:8px}#hub-tab .dash-stat{background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:7px;box-shadow:inset 3px 0 0 rgba(16,185,129,.28)!important}#hub-tab .dash-stat .num{color:#1e293b!important}#hub-tab .dash-stat .lbl{color:#64748b!important}#hub-tab .dash-list li:hover{background:#f1f5f9;border-color:#1e293b;box-shadow:inset 3px 0 0 #10b981}#hub-tab{--hubhome-page-bg:#f5f5f5;--hubhome-card-bg:#ffffff;--hubhome-card-border:#e4e4e7;--hubhome-card-shadow:rgba(24, 24, 27, 0.06);--hubhome-text:#18181b;--hubhome-muted:#71717a;--hubhome-ink:var(--navy-700);--hubhome-ink-strong:var(--navy-900);--hubhome-ink-soft:var(--slate-100);--hubhome-action:#059669;--hubhome-accent:#059669;--hubhome-focus-ring:rgba(16, 185, 129, 0.24);background:var(--hubhome-page-bg)}#hub-tab .hub-container{width:100%;max-width:1600px;margin:0 auto;padding:18px 24px 32px;gap:16px}#hub-tab #hub-header{order:1}#hub-tab #hub-primary-grid{order:2}#hub-tab #hub-modules-section{order:5}#hub-tab #hub-bring-data-section{order:6}#hub-tab #hub-patient-portals-section{order:7}#hub-tab #hub-footer{order:8}#hub-tab .hub-collapsible{min-width:0;padding:0;border:1px solid var(--hubhome-card-border);border-radius:12px;background:var(--hubhome-card-bg)}#hub-tab #hub-operational-section{order:3}#hub-tab #hub-upcoming-section{order:4}#hub-tab #hub-bring-data-section.hub-collapsible,#hub-tab #hub-modules-section.hub-collapsible,#hub-tab #hub-patient-portals-section.hub-collapsible{display:block;padding:0}#hub-tab .hub-collapsible>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 16px;box-sizing:border-box;border-radius:12px;color:var(--hubhome-text);font-size:.85rem;font-weight:700;cursor:pointer;list-style:none}#hub-tab .hub-collapsible>summary::-webkit-details-marker{display:none}#hub-tab .hub-collapsible>summary::after{content:'';width:7px;height:7px;flex-shrink:0;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}#hub-tab .hub-collapsible[open]>summary::after{transform:rotate(225deg)}#hub-tab .hub-collapsible>summary:hover{background:var(--hubhome-page-bg)}#hub-tab .hub-collapsible>summary:focus-visible{outline:2px solid var(--hubhome-action);outline-offset:2px}#hub-tab .hub-collapsible>.hub-collapsible-content{padding:0 16px 16px}#hub-tab .hub-header{position:relative;z-index:50;overflow:visible;padding:0 2px;border:0;border-radius:0;background:0 0;box-shadow:none;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px}#hub-tab .hub-greeting h1{margin:0;color:var(--hubhome-text);font-size:clamp(1.25rem, 1.7vw, 1.6rem);font-weight:750;letter-spacing:-.025em;text-shadow:none}#hub-tab .hub-date{margin:0;padding:5px 0;color:var(--hubhome-muted);border:0;background:0 0;box-shadow:none;text-shadow:none;font-size:.76rem;font-weight:500}#hub-tab .hub-date::before{display:none}#hub-tab .hub-greeting #hub-quick-selectors{position:relative;z-index:51;overflow:visible;margin-top:0;gap:7px;justify-self:center;width:max-content;max-width:100%;grid-template-columns:repeat(3,minmax(0,220px))}#hub-tab .hub-greeting #hub-quick-selectors:has(#hub-selector-org:not(.hidden)){grid-template-columns:repeat(4,minmax(0,220px))}#hub-tab .hub-selector-card.is-open{z-index:52}#hub-tab .hub-selector-card{min-height:38px;padding:5px 8px;gap:7px;border-color:transparent;border-radius:9px;background:0 0;box-shadow:none}#hub-tab .hub-selector-card:hover{border-color:transparent;background:0 0;box-shadow:none;transform:none}#hub-tab .hub-selector-card.has-active{border-color:transparent;background:0 0;color:var(--hubhome-text);box-shadow:none}#hub-tab .hub-selector-card.has-active:hover{border-color:transparent;background:0 0;box-shadow:none}#hub-tab .hub-selector-card:focus-visible{outline:2px solid var(--brand-accent);outline-offset:2px}#hub-tab .hub-selector-card-ico,#hub-tab .hub-selector-card.has-active .hub-selector-card-ico{width:29px;height:29px;border-color:#e2e8f0;background:#f1f5f9;color:var(--hubhome-ink);box-shadow:none}#hub-tab .hub-selector-card.has-active .hub-selector-card-ico svg{filter:none}#hub-tab .hub-selector-card-label,#hub-tab .hub-selector-card.has-active .hub-selector-card-label{color:#64748b}#hub-tab .hub-selector-card-value,#hub-tab .hub-selector-card.has-active .hub-selector-card-value{color:var(--hubhome-text);text-shadow:none;font-size:.77rem}#hub-tab .hub-selector-card.has-active .hub-selector-card-chevron{color:#64748b}.hub-primary-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.86fr) minmax(300px,1fr);grid-template-areas:"composer assistant";gap:12px;align-items:stretch}#hub-tab .hub-greeting #hub-quick-selectors{grid-template-columns:repeat(2,minmax(0,220px))}#hub-tab .hub-greeting #hub-quick-selectors:has(#hub-selector-org:not(.hidden)){grid-template-columns:repeat(3,minmax(0,220px))}.hub-care-context{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px;margin-bottom:10px;position:relative;z-index:3}#hub-care-context #hub-selector-location,.hub-patient-context{min-width:0;padding:8px 10px;border:1px solid var(--hubhome-card-border);border-radius:9px;background:var(--hubhome-page-bg)}#hub-care-context #hub-selector-location{width:100%}.hub-patient-context-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}.hub-patient-context-heading label{font-size:.7rem;font-weight:700;color:var(--hubhome-muted)}.hub-selected-patient-summary{min-height:34px;padding:7px 0;color:var(--hubhome-text);font-size:.8rem;font-weight:650;line-height:1.4;overflow-wrap:anywhere}#hub-patient-picker-mount #header-patient-search{min-width:0!important;width:100%;margin:0!important}#hub-patient-picker-mount .patient-autocomplete-wrapper{min-width:0}#hub-patient-picker-mount #patient-search-input{text-transform:none;min-height:34px}#hub-patient-picker-mount #patient-search-input::placeholder{text-transform:none}.hub-care-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;position:relative;z-index:1}#hub-care-actions .hub-quick-btn{min-height:58px}.hub-other-actions{position:relative;z-index:1;margin-top:8px}.hub-other-actions>summary{cursor:pointer;padding:7px 0;color:var(--hubhome-muted);font-size:.75rem;font-weight:650}.hub-other-actions>summary:focus-visible{outline:2px solid var(--hubhome-action);outline-offset:2px}.hub-other-actions .hub-composer-actions{justify-content:flex-start;margin-top:5px}@media (max-width:600px){.hub-care-context{grid-template-columns:1fr}#hub-care-actions .hub-quick-btn{padding:8px}}.hub-document-composer-card{grid-area:composer;display:flex;flex-direction:column;position:relative;overflow:hidden;min-width:0;padding:12px 14px;border:1px solid var(--hubhome-card-border);border-radius:15px;background:#fff;box-shadow:0 10px 24px rgba(24,24,27,.08),0 2px 6px rgba(24,24,27,.04);color:var(--hubhome-text)}.hub-document-composer-card::after{content:'';position:absolute;width:430px;height:430px;right:-220px;bottom:-310px;border:1px solid rgba(15,23,42,.055);border-radius:50%;box-shadow:0 0 0 34px rgba(15,23,42,.014),0 0 0 68px rgba(15,23,42,.010);pointer-events:none}.hub-composer-heading{position:relative;z-index:1;display:flex;align-items:center;gap:11px;margin-bottom:8px}.hub-composer-heading h2{margin:0;font-size:1.05rem;font-weight:750;letter-spacing:-.015em}.hub-composer-heading p{margin:3px 0 0;color:var(--hubhome-muted);font-size:.76rem}#hub-document-composer-card .hub-quick-actions{position:relative;z-index:1;flex:0 0 auto;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:60px;align-content:start;gap:6px}#hub-document-composer-card .hub-quick-btn{min-width:0;min-height:60px;padding:6px 8px;gap:7px;border-color:var(--hubhome-card-border);border-radius:11px;background:var(--slate-50);color:var(--hubhome-text);box-shadow:0 1px 2px rgba(15,23,42,.04)}#hub-document-composer-card .hub-quick-btn:hover{border-color:var(--slate-300);background:#fff;color:var(--hubhome-text);transform:translateY(-1px);box-shadow:0 5px 12px rgba(15,23,42,.1),inset 0 -3px 0 var(--hubhome-accent)}#hub-document-composer-card .hub-quick-btn:focus-visible,#hub-tab .hub-module:focus-visible,.hub-assistant-actions button:focus-visible,.hub-composer-primary:focus-visible,.hub-composer-secondary:focus-visible,.hub-operational-card button:focus-visible{outline:3px solid var(--hubhome-focus-ring);outline-offset:2px}#hub-document-composer-card .hub-quick-icon{width:34px;height:34px;border-color:#cbd5e1;border-radius:9px;background:#f1f5f9;color:var(--hubhome-ink)}#hub-document-composer-card .hub-quick-icon svg{width:19px;height:19px}#hub-document-composer-card .hub-quick-btn:hover .hub-quick-icon{border-color:#94a3b8;background:#e2e8f0;color:var(--hubhome-ink-strong);box-shadow:none}#hub-document-composer-card .hub-quick-btn:hover .hub-quick-icon svg{filter:none}#hub-document-composer-card .hub-quick-label{font-size:.8rem;color:var(--hubhome-text)}#hub-document-composer-card .hub-quick-sub{font-size:.68rem;color:var(--hubhome-muted)}.hub-composer-actions{position:relative;z-index:1;display:flex;justify-content:center;align-items:center;gap:6px;margin-bottom:8px;flex-wrap:wrap}.hub-composer-primary,.hub-composer-secondary{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 15px;border-radius:8px;font:inherit;font-size:.76rem;font-weight:700;cursor:pointer}.hub-composer-primary{border:1px solid #059669;background:#059669;color:#fff;box-shadow:0 3px 8px rgba(0,66,48,.18)}.hub-composer-primary:hover{background:#047857;border-color:#047857}.hub-composer-secondary{border:1px solid var(--slate-300);background:#fff;color:var(--hubhome-text)}.hub-composer-secondary:hover{background:var(--slate-50);border-color:var(--slate-400)}.hub-composer-primary svg,.hub-composer-secondary svg{width:15px;height:15px}.hub-composer-favorites{position:relative;z-index:1;margin-top:15px;padding-top:12px;border-top:1px solid var(--hubhome-card-border)}#hub-favorite-models-section[hidden]{display:none}.hub-composer-favorites .hub-favorites-head h3{margin:0;color:var(--hubhome-muted);font-size:.69rem;font-weight:750;text-transform:uppercase;letter-spacing:.055em}.hub-composer-text-button{border:0;background:0 0;color:var(--hubhome-action);padding:3px 0;font-size:.7rem;font-weight:700;cursor:pointer}.hub-composer-text-button:hover{text-decoration:underline}#hub-document-composer-card .hub-favorites-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:7px}#hub-document-composer-card .hub-fav-card{min-height:62px;grid-template-columns:43px minmax(0,1fr);gap:8px;padding:6px;border-color:var(--hubhome-card-border);border-radius:9px}#hub-document-composer-card .hub-fav-thumb{width:41px;height:52px}#hub-document-composer-card .hub-fav-name{font-size:.75rem}#hub-document-composer-card .hub-fav-meta{font-size:.64rem}#hub-document-composer-card .hub-fav-badges{display:none}#hub-document-composer-card .hub-fav-empty{grid-column:1/-1;min-height:38px;padding:8px 10px;border-color:var(--hubhome-card-border);background:var(--slate-50);color:var(--hubhome-muted)}#hub-document-composer-card .hub-fav-empty .hub-link-btn{color:var(--hubhome-action)}#hub-document-composer-card .hub-fav-expand-wrap{min-height:0;margin:5px 0 -5px}#hub-document-composer-card .hub-fav-expand-btn{width:25px;height:25px;border-color:var(--slate-300);background:#fff;color:var(--hubhome-ink);box-shadow:none}.hub-assistant-card{grid-area:assistant;position:relative;min-width:0;min-height:100%;overflow:hidden;display:flex;border:1px solid var(--hubhome-card-border);border-radius:15px;background:var(--hubhome-card-bg);box-shadow:0 4px 14px var(--hubhome-card-shadow)}#hub-primary-grid .assistant-hub-prompt{padding:12px 14px;gap:8px}#hub-primary-grid .assistant-hub-heading{gap:10px;padding-bottom:2px}#hub-primary-grid .assistant-hub-eyebrow{margin:0 0 3px;color:var(--hubhome-muted);font-size:.66rem;font-weight:650;letter-spacing:.06em;text-transform:uppercase}#hub-primary-grid .assistant-hub-heading h2{color:var(--hubhome-text);font-size:1.05rem;font-weight:700;line-height:1.3}#hub-primary-grid #hub-assistant-open{width:42px;height:42px;flex-basis:42px;padding:5px;border:1px solid var(--hubhome-card-border);border-radius:11px;background:var(--hubhome-page-bg)}#hub-primary-grid #hub-assistant-chat-prompt{min-height:110px;height:100%;padding:10px 12px}#hub-primary-grid #hub-assistant-chat-form{--hub-ai-action-bg:#047857;--hub-ai-action-hover-bg:#065f46;--hub-ai-action-text:#ffffff;--hub-ai-action-shadow:0 2px 5px rgba(0, 66, 48, 0.12);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(110px,1fr) auto auto;align-content:stretch}#hub-assistant-chat-form #hub-assistant-chat-send{border-color:var(--hub-ai-action-bg)}#hub-assistant-chat-form #hub-assistant-chat-send:hover:not(:disabled){border-color:var(--hub-ai-action-hover-bg)}#hub-assistant-chat-form>*{grid-column:1/-1}#hub-assistant-chat-form>.assistant-hub-actions{grid-column:1;grid-row:4;align-items:center;gap:5px}#hub-assistant-chat-form>.assistant-chat-contexts-control{grid-column:2;grid-row:4;align-self:center;margin:0}#hub-primary-grid .assistant-hub-actions .btn{flex:0 1 auto;min-height:30px;padding:4px 8px;font-size:.72rem;gap:5px}#hub-assistant-chat-form>#hub-assistant-chat-status{grid-row:5}#hub-primary-grid #hub-assistant-chat-status:empty{display:none}.hub-assistant-content{min-width:0;display:flex;flex-direction:column;padding:16px 15px 14px 2px}.hub-assistant-heading{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.hub-assistant-heading h2{margin:0;color:var(--hubhome-text);font-size:.92rem;font-weight:750;letter-spacing:-.015em}.hub-assistant-heading p{margin:4px 0 0;color:var(--hubhome-muted);font-size:.7rem;line-height:1.35}.hub-assistant-status{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;padding:3px 7px;border:1px solid #bbf7d0;border-radius:999px;background:#f0fdf4;color:#047857;font-size:.6rem;font-weight:750}.hub-assistant-status span{width:6px;height:6px;border-radius:50%;background:#10b981}.hub-assistant-insights{display:grid;gap:5px;margin-top:12px}.hub-assistant-insight{min-width:0;display:flex;align-items:center;gap:8px;padding:7px;border-radius:9px;background:#f8fafc}.hub-assistant-insight>svg{width:18px;height:18px;flex:0 0 18px;color:var(--hubhome-ink)}.hub-assistant-insight>span{min-width:0;display:flex;flex-direction:column;gap:1px}.hub-assistant-insight strong{color:var(--hubhome-text);font-size:.7rem;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hub-assistant-insight small{color:var(--hubhome-muted);font-size:.61rem}.hub-assistant-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:auto;padding-top:10px}.hub-assistant-actions button{min-height:34px;padding:7px 8px;border-radius:8px;font:inherit;font-size:.68rem;font-weight:700;cursor:pointer}#hub-assistant-continue{border:1px solid var(--hubhome-ink-strong);background:var(--hubhome-ink-strong);color:#fff}#hub-assistant-pending-btn{border:1px solid var(--hubhome-card-border);background:#fff;color:var(--hubhome-ink-strong)}.hub-assistant-actions button:disabled{cursor:not-allowed;opacity:.48}.hub-operational-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hub-operational-card{min-width:0;min-height:216px;display:flex;flex-direction:column;padding:14px 15px 11px;border:1px solid var(--hubhome-card-border);border-radius:13px;background:var(--hubhome-card-bg);box-shadow:0 2px 8px var(--hubhome-card-shadow)}.hub-calendar-card{--hubcalendar-text:var(--hubhome-text, #18181b);--hubcalendar-muted:var(--hubhome-muted, #71717a);--hubcalendar-border:var(--hubhome-card-border, #e4e4e7);--hubcalendar-hover:var(--hubhome-page-bg, #f5f5f5);--hubcalendar-accent:var(--hubhome-action, #059669);--hubcalendar-today-text:#ffffff}#hub-future-placeholder-card .hub-operational-head{flex-wrap:wrap;gap:6px}#hub-calendar-month{text-transform:capitalize}.hub-mini-calendar-nav{display:flex;align-items:center;gap:4px;margin-left:auto}.hub-mini-calendar-nav button{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;padding:3px 6px;border:1px solid var(--hubcalendar-border);border-radius:6px;background:0 0;color:var(--hubcalendar-text);font:inherit;font-size:.7rem;cursor:pointer}.hub-mini-calendar-nav svg{width:13px;height:13px}.hub-mini-calendar{margin-top:7px}.hub-mini-calendar-grid,.hub-mini-calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.hub-mini-calendar-weekdays{margin-bottom:3px;color:var(--hubcalendar-muted);font-size:.62rem;text-align:center}.hub-mini-calendar-day{min-width:0;min-height:25px;padding:3px 0;border:0;border-radius:6px;background:0 0;color:var(--hubcalendar-text);font:inherit;font-size:.72rem;cursor:pointer}.hub-mini-calendar-day[data-other-month=true]{color:var(--hubcalendar-muted);opacity:.6}.hub-mini-calendar-day:hover,.hub-mini-calendar-nav button:hover{background:var(--hubcalendar-hover)}.hub-mini-calendar-day[aria-current=date]{background:var(--hubcalendar-accent);color:var(--hubcalendar-today-text);font-weight:700;opacity:1}.hub-mini-calendar button:focus-visible,.hub-mini-calendar-nav button:focus-visible{outline:2px solid var(--hubcalendar-accent);outline-offset:1px}@media (pointer:coarse){.hub-mini-calendar-day,.hub-mini-calendar-nav button{min-height:44px}.hub-mini-calendar-nav button{min-width:44px}}.hub-operational-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:9px;border-bottom:1px solid #f1f5f9}.hub-operational-head h3{min-width:0;display:flex;align-items:center;gap:7px;margin:0;color:var(--hubhome-text);font-size:.84rem;font-weight:750}.hub-operational-head h3 svg{width:17px;height:17px;flex:0 0 17px;color:var(--hubhome-ink)}.hub-operational-head>span{color:var(--hubhome-muted);font-size:.65rem;white-space:nowrap}.hub-operational-list{flex:1;padding-top:5px}.hub-operational-card .hub-operational-list{max-height:168px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.hub-operational-card .hub-operational-list::-webkit-scrollbar{width:6px}.hub-operational-card .hub-operational-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.hub-operational-card .hub-operational-list::-webkit-scrollbar-track{background:0 0}.hub-operational-card .hub-list{gap:0}.hub-operational-card .hub-list-item{min-height:30px;padding:3px 7px;gap:8px}.hub-operational-card .hub-list-item:hover{background:#f8fafc;box-shadow:inset 3px 0 0 var(--hubhome-ink)}.hub-operational-card .hub-list-item .hub-list-icon{color:var(--hubhome-ink)}.hub-operational-card .hub-list-item .hub-list-title{font-size:.76rem}.hub-operational-card .hub-list-item .hub-list-sub{font-size:.66rem}.hub-operational-card .hub-list-item .hub-list-when{font-size:.63rem}.hub-operational-card .hub-empty{display:flex;align-items:center;justify-content:center;flex:1;min-height:106px;line-height:1.45}.hub-operational-card .hub-card-foot{display:flex;justify-content:flex-end;padding-top:7px;border-top-color:#f1f5f9}.hub-operational-card .hub-link-btn{color:var(--hubhome-action)}#hub-tab #hub-modules-section,#hub-tab #hub-patient-portals-section{padding:14px;border:1px solid var(--hubhome-card-border);border-radius:13px;background:rgba(255,255,255,.7)}#hub-tab #hub-modules-section>.hub-section-title,#hub-tab #hub-patient-portals-section>.hub-section-title{color:var(--hubhome-text);font-size:.8rem;text-transform:none;letter-spacing:0}#hub-tab #hub-modules-section>.hub-section-title::before,#hub-tab #hub-patient-portals-section>.hub-section-title::before{width:4px;height:17px;background:var(--hubhome-ink);box-shadow:none}#hub-tab #hub-modules-section>.hub-section-title::after,#hub-tab #hub-patient-portals-section>.hub-section-title::after{display:none}#hub-tab .hub-modules{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}#hub-tab #hub-patient-portals{display:flex;flex-wrap:wrap;justify-content:center}#hub-tab #hub-patient-portals>.hub-module{flex:0 1 min(230px,calc(50% - 4px))}#hub-tab .hub-module{min-width:0;min-height:58px;gap:9px;padding:8px 10px;border-radius:10px}#hub-tab .hub-module:hover{border-color:#94a3b8;background:#f1f5f9;box-shadow:inset 3px 0 0 var(--hubhome-ink),0 2px 7px var(--hubhome-card-shadow)}#hub-tab .hub-module-icon{width:34px;height:34px;border-color:#e2e8f0;border-radius:8px;background:#f1f5f9;color:var(--hubhome-ink)}#hub-tab .hub-module-icon svg{width:20px;height:20px}#hub-tab .hub-module:hover .hub-module-icon{border-color:#cbd5e1;background:#e2e8f0;color:var(--hubhome-ink-strong);box-shadow:none}#hub-tab .hub-module:hover .hub-module-icon svg{filter:none}#hub-tab .hub-module-label{font-size:.76rem}#hub-tab .hub-module-sub{font-size:.65rem}#hub-tab .hub-module-badge{top:4px;right:5px;font-size:.52rem}#hub-tab .hub-footer{margin-top:0}@media (max-width:1280px){#hub-tab .hub-container{padding-inline:18px}.hub-primary-grid{grid-template-columns:minmax(0,1.58fr) minmax(300px,1fr)}#hub-document-composer-card .hub-quick-btn{padding-inline:8px}#hub-tab .hub-modules{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (max-width:1040px){.hub-primary-grid{grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr)}#hub-document-composer-card .hub-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}#hub-document-composer-card .hub-favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-operational-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#hub-tab .hub-modules{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:820px){#hub-tab .hub-container{padding:14px 14px 26px}.hub-primary-grid{grid-template-columns:1fr;grid-template-areas:"composer" "assistant"}.hub-operational-grid{grid-template-columns:1fr}#hub-tab .hub-modules{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:600px){#hub-tab .hub-header{grid-template-columns:1fr;gap:4px}#hub-tab .hub-header .hub-date{grid-column:1;grid-row:2;justify-self:start}#hub-tab .hub-greeting #hub-quick-selectors,#hub-tab .hub-greeting #hub-quick-selectors:has(#hub-selector-org:not(.hidden)){grid-column:1;grid-row:3;grid-template-columns:repeat(2,minmax(0,220px))}#hub-tab .hub-greeting h1{font-size:1.22rem}.hub-document-composer-card{padding:16px 13px 14px;border-radius:13px}#hub-document-composer-card .hub-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:70px;gap:7px}#hub-document-composer-card .hub-quick-btn{min-height:70px;padding:8px;gap:7px}#hub-document-composer-card .hub-quick-icon{width:30px;height:30px}#hub-document-composer-card .hub-quick-label{font-size:.72rem}#hub-document-composer-card .hub-quick-sub{display:none}#hub-document-composer-card .hub-favorites-grid{grid-template-columns:1fr}.hub-composer-actions{display:grid;grid-template-columns:1fr}.hub-assistant-card{min-height:0}.hub-assistant-content{padding:14px 12px 12px 0}.hub-assistant-heading{flex-direction:column}.hub-assistant-insight{padding:6px}.hub-assistant-actions{grid-template-columns:1fr}#hub-tab .hub-modules{grid-template-columns:repeat(2,minmax(0,1fr))}#hub-tab #hub-modules-section,#hub-tab #hub-patient-portals-section{padding:11px}#hub-tab .hub-module{padding:7px 8px}}@media (max-width:360px){#hub-tab .hub-container{padding-inline:10px}.hub-assistant-content{padding-right:9px}#hub-tab .hub-module-icon{width:30px;height:30px}}.doctype-layout-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding:0;background:0 0;border:none;border-radius:6px;margin:0 0 8px;box-shadow:none}.doctype-layout-bar[data-host=hidden]{display:none}.doctype-layout-bar-group{display:flex;align-items:center;gap:6px;padding-right:12px}.doctype-layout-bar-group+.doctype-layout-bar-group{border-left:1px solid #e2e8f0;padding-left:12px}.mono-doctype-group{flex:1 1 auto;background:var(--doctypebar-pano-bg);border:1px solid var(--doctypebar-pano-border);border-radius:8px;padding:2px 10px 1px;box-shadow:inset 0 1px 0 var(--doctypebar-pano-inset)}.mono-doctype-group .doctype-tabs{background:0 0;border-color:var(--doctypebar-tabs-border);min-height:28px;padding-bottom:0}.mono-doctype-group .doctype-tabs-wrap{justify-content:safe center}#doctype-layout-bar[data-host=editor] .doctype-tabs-wrap{justify-content:flex-start}#doctype-layout-bar:not([data-host=editor]) #editor-command-layout-info-btn,#doctype-layout-bar:not([data-host=editor]) .editor-command-layout-nav{display:none}#doctype-tabs-row{flex:0 1 auto;justify-content:flex-start}#forms-groups-row{justify-content:safe center}#forms-groups-row{min-height:31px}.mono-doctype-group .doctype-tab{color:var(--doctypebar-tab-text);font-weight:600}.mono-doctype-group .doctype-tab svg{opacity:.85}.mono-doctype-group .doctype-tab:hover{background:var(--doctypebar-tab-hover-bg);color:var(--doctypebar-tab-hover-text);border-color:var(--doctypebar-tab-hover-border)}.mono-doctype-group .estante-launcher{background:var(--doctypebar-launcher-bg);border-color:var(--doctypebar-launcher-border);color:var(--doctypebar-launcher-text)}.mono-doctype-group .estante-launcher:hover{background:var(--doctypebar-launcher-hover-bg);border-color:var(--doctypebar-launcher-hover-border);color:var(--doctypebar-launcher-text)}#umbrella-form-selector-group{justify-content:center;width:fit-content;max-width:100%;margin:0 0 8px;padding:3px 10px;background:var(--doctypebar-pano-bg);border:1px solid var(--doctypebar-pano-border);border-radius:8px;box-shadow:inset 0 1px 0 var(--doctypebar-pano-inset)}#app-main-content>#umbrella-form-selector-group{display:none!important}#umbrella-form-select{text-align:center;text-align-last:center}#umbrella-form-selector-group .paper-segmented{box-shadow:inset 0 1px 0 rgba(255,255,255,.7),var(--doctypebar-segmented-shadow)}.doctype-layout-bar-label{white-space:nowrap;display:flex;align-items:center;gap:4px;font-size:.78rem;font-weight:600;color:#047857}.forms-groups-bar{display:none}#doctype-layout-bar[data-forms-mode="1"][data-host=editor]>.mono-doctype-group{display:none!important}#doctype-layout-bar[data-forms-mode="1"][data-host=editor] .forms-groups-bar{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}.forms-groups-strip{flex:0 0 auto;width:100%}.forms-group-seg .forms-group-count{font-weight:500;font-size:.66rem;opacity:.65}.forms-empty-hint{font-size:.74rem;color:var(--slate-400,#94a3b8);padding:6px 10px}.doctype-layout-bar .editor-mode-toggle{display:none;margin-left:2px;font-size:.72rem;line-height:1.15;padding:4px 8px;gap:5px}.doctype-layout-bar .editor-mode-toggle.is-forced{border-color:#a7f3d0;background:#ecfdf5;color:#047857;cursor:default}.doctype-layout-bar .editor-mode-toggle.is-forced input{accent-color:#10b981}.doctype-layout-bar[data-host=editor] .editor-mode-toggle{display:inline-flex}.multipage-help-tip{display:none;position:relative;align-items:center;justify-content:center;width:17px;height:17px;border:1px solid #a7f3d0;border-radius:999px;background:#ecfdf5;color:#047857;font-size:.67rem;font-weight:800;line-height:1;cursor:help;user-select:none;flex-shrink:0}.doctype-layout-bar[data-host=editor] .multipage-help-tip{display:inline-flex}.multipage-help-tip::after{content:attr(data-tip);position:absolute;right:50%;top:calc(100% + 8px);transform:translateX(50%) translateY(-2px);width:250px;padding:8px 10px;border-radius:8px;background:#0f172a;color:#fff;font-size:.72rem;font-weight:500;line-height:1.35;white-space:normal;text-align:left;box-shadow:0 10px 26px rgba(15,23,42,.22);opacity:0;pointer-events:none;z-index:10010;transition:opacity .14s ease,transform .14s ease}.multipage-help-tip::before{content:"";position:absolute;right:50%;top:calc(100% + 3px);transform:translateX(50%);border:5px solid transparent;border-bottom-color:#0f172a;opacity:0;pointer-events:none;transition:opacity .14s ease}.multipage-help-tip:focus-visible::after,.multipage-help-tip:hover::after{opacity:1;transform:translateX(50%) translateY(0)}.multipage-help-tip:focus-visible::before,.multipage-help-tip:hover::before{opacity:1}.layout-options-btn{width:28px;height:28px;padding:0!important;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe3ee!important;background:#fff!important;color:#64748b!important;border-radius:6px!important;box-shadow:0 1px 2px rgba(15,23,42,.04);transition:background-color .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease}.layout-options-btn:hover,.layout-options-btn[aria-expanded=true]{background:#f8fafc!important;color:#047857!important;border-color:#a7f3d0!important;box-shadow:0 2px 7px rgba(16,185,129,.14),inset 0 -2px 0 rgba(16,185,129,.34)}.layout-options-btn svg{width:15px;height:15px;display:block;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.doctype-bar-mount:empty{display:none}#editor-main>#editor-doctype-bar-mount{margin-bottom:0}#doctype-layout-bar[data-host=editor]{margin-bottom:0}#doctype-layout-bar[data-host=editor] .mono-doctype-group{padding:3px 10px 2px}#doctype-layout-bar[data-command-controls="1"] .mono-doctype-group{padding:0;border:0;background:0 0;box-shadow:none}#doctype-layout-bar[data-command-controls="1"] .doctype-tabs-wrap{display:none}#bar-builder-tips{color:#6b7280}#bar-builder-tips:hover{color:#047857;border-color:#10b981}#bar-builder-tips .bar-builder-tips-bubble{position:absolute;top:calc(100% + 8px);right:0;width:260px;background:rgba(15,23,42,.94);color:#fff;padding:8px 10px;border-radius:6px;font-size:.72rem;font-weight:400;line-height:1.4;text-align:left;white-space:normal;box-shadow:0 6px 18px rgba(0,0,0,.18);opacity:0;pointer-events:none;transition:opacity .15s ease,transform .15s ease;transform:translateY(-3px);z-index:1000}#bar-builder-tips .bar-builder-tips-bubble strong{color:#fff}#bar-builder-tips:focus-visible .bar-builder-tips-bubble,#bar-builder-tips:hover .bar-builder-tips-bubble{opacity:1;transform:translateY(0)}#bar-builder-tips .bar-builder-tips-bubble::before{content:'';position:absolute;top:-5px;right:10px;width:10px;height:10px;background:rgba(15,23,42,.94);transform:rotate(45deg)}@keyframes beiPageDraw{0%{stroke-dashoffset:200;opacity:.4}18%{stroke-dashoffset:0;opacity:1}85%{opacity:1}100%{opacity:.7}}@keyframes beiBlockIn{0%,18%{opacity:0;transform:translateY(2px)}30%{opacity:1;transform:translateY(0)}85%{opacity:1;transform:translateY(0)}100%{opacity:.55;transform:translateY(0)}}#builder-empty-icon-svg .bei-page{stroke-dasharray:200;stroke-dashoffset:200;animation:beiPageDraw 4s ease-in-out infinite}#builder-empty-icon-svg .bei-block{opacity:0;transform-box:fill-box;transform-origin:center;animation:beiBlockIn 4s ease-out infinite}#builder-empty-icon-svg .bei-b1{animation-delay:.45s}#builder-empty-icon-svg .bei-b2{animation-delay:.65s;fill:#93c5fd}#builder-empty-icon-svg .bei-b3{animation-delay:.85s}#builder-empty-icon-svg .bei-b4{animation-delay:1s}#builder-empty-icon-svg .bei-b5{animation-delay:1.2s}#builder-empty-icon-svg .bei-b6{animation-delay:1.4s}@media (prefers-reduced-motion:reduce){#builder-empty-icon-svg .bei-block,#builder-empty-icon-svg .bei-page{animation:none;opacity:1;stroke-dashoffset:0}}#builder-default-toggle:hover{color:#f0ad4e!important;transform:scale(1.15)}#builder-default-toggle:active{transform:scale(.95)}.builder-doctype-changed-hint{display:flex;align-items:flex-start;gap:6px;margin-top:8px;padding:6px 8px;background:#f1f5f9;border:1px solid #fcd34d;border-radius:6px;font-size:.7rem;color:#78350f;line-height:1.35}.builder-doctype-changed-hint.hidden{display:none}.builder-doctype-changed-hint .bdh-icon{flex-shrink:0;font-size:.85rem}.builder-doctype-changed-hint .bdh-text{flex:1}.builder-doctype-changed-hint strong{color:#78350f;font-weight:600}.builder-save-feedback{margin-top:8px;border:1px solid #e5e7eb;border-radius:6px;background:#f9fafb;font-size:.7rem}.builder-save-feedback[open]{background:#fff}.builder-save-feedback>summary{cursor:pointer;padding:6px 8px;font-weight:600;color:#374151;display:flex;align-items:center;gap:6px;user-select:none}.builder-save-feedback>summary::-webkit-details-marker{display:none}.builder-save-feedback>summary::before{content:'▸';font-size:.75rem;transition:transform .12s ease;color:#6b7280}.builder-save-feedback[open]>summary::before{transform:rotate(90deg)}.builder-save-feedback .bsf-title{flex:1}.builder-save-feedback .bsf-counts{font-size:.65rem;color:#6b7280;display:inline-flex;gap:4px}.builder-save-feedback .bsf-counts .bsf-pill{padding:1px 6px;border-radius:8px;font-weight:600;background:#e5e7eb;color:#374151}.builder-save-feedback .bsf-counts .bsf-pill.amber{background:#f1f5f9;color:#92400e}.builder-save-feedback .bsf-counts .bsf-pill.red{background:#fee2e2;color:#991b1b}.builder-save-feedback .bsf-body{padding:6px 8px 8px;display:flex;flex-direction:column;gap:8px}.builder-save-feedback .bsf-block-head{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;display:flex;align-items:center;justify-content:space-between;margin-bottom:3px}.builder-save-feedback .bsf-requirements{background:#f1f5f9;border:1px solid #fbbf24;border-radius:4px;padding:5px 7px}.builder-save-feedback .bsf-requirements.ok{background:#ecfdf5;border-color:#34d399}.builder-save-feedback .bsf-req-list{margin:0;padding:0 0 0 14px;list-style:disc;color:#78350f;font-size:.7rem;line-height:1.45}.builder-save-feedback .bsf-requirements.ok .bsf-req-list{color:#047857}.builder-save-feedback .bsf-clear-btn{background:0 0;border:none;cursor:pointer;color:#6b7280;font-size:.65rem;padding:0;text-transform:lowercase;letter-spacing:0;font-weight:500}.builder-save-feedback .bsf-clear-btn:hover{color:#dc2626;text-decoration:underline}.builder-save-feedback .bsf-log-list{margin:0;padding:0;list-style:none;max-height:200px;overflow:auto;display:flex;flex-direction:column;gap:4px}.builder-save-feedback .bsf-log-empty{font-size:.68rem;color:#9ca3af;font-style:italic;padding:4px 0}.builder-save-feedback .bsf-log-entry{border-left:3px solid #ef4444;background:#fef2f2;padding:5px 7px;border-radius:0 4px 4px 0;font-size:.7rem}.builder-save-feedback .bsf-log-entry.warning{border-left-color:#f59e0b;background:#f8fafc}.builder-save-feedback .bsf-log-entry .bsf-ts{color:#6b7280;font-size:.62rem;font-variant-numeric:tabular-nums}.builder-save-feedback .bsf-log-entry .bsf-msg{display:block;color:#1f2937;margin-top:2px;line-height:1.4}.builder-save-feedback .bsf-log-entry details>summary{cursor:pointer;color:#6b7280;font-size:.63rem;margin-top:3px;list-style:none}.builder-save-feedback .bsf-log-entry details>summary::-webkit-details-marker{display:none}.builder-save-feedback .bsf-log-entry details>summary::before{content:'▸ ';font-size:.6rem}.builder-save-feedback .bsf-log-entry details[open]>summary::before{content:'▾ '}.builder-save-feedback .bsf-log-entry pre{margin:3px 0 0 0;padding:4px 6px;background:#1f2937;color:#f3f4f6;border-radius:3px;font-size:.62rem;line-height:1.4;overflow:auto;max-height:160px;font-family:Consolas,'Courier New',monospace}.builder-stage>#builder-doctype-bar-mount{position:relative;z-index:110}@keyframes hubFocusPulse{0%{box-shadow:0 0 0 0 rgba(16,185,129,0);transform:scale(1)}18%{box-shadow:0 0 0 8px rgba(16,185,129,.42);transform:scale(1.04)}36%{box-shadow:0 0 0 0 rgba(16,185,129,0);transform:scale(1)}54%{box-shadow:0 0 0 8px rgba(16,185,129,.42);transform:scale(1.04)}72%{box-shadow:0 0 0 0 rgba(16,185,129,0);transform:scale(1)}100%{box-shadow:0 0 0 0 rgba(16,185,129,0);transform:scale(1)}}.hub-focus-attention{animation:hubFocusPulse 1.4s ease-out 1;position:relative;z-index:5}.hub-focus-hint{position:fixed;background:#047857;color:#fff;padding:5px 12px;border-radius:6px;font-size:.72rem;font-weight:600;white-space:nowrap;pointer-events:none;z-index:99999;box-shadow:0 4px 12px rgba(16,185,129,.28);animation:hubFocusHintIn 1.8s ease-out forwards}.hub-focus-hint::after{content:'';position:absolute;top:-5px;left:18px;width:10px;height:10px;background:#047857;transform:rotate(45deg)}@keyframes hubFocusHintIn{0%{opacity:0;transform:translateY(-8px) scale(.92)}12%{opacity:1;transform:translateY(0) scale(1)}22%{transform:translateY(-2px) scale(1.02)}32%{transform:translateY(0) scale(1)}85%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-4px) scale(.96)}}.hidden{display:none!important}.w-100{width:100%}.mt-05rem{margin-top:.5rem}.mt-1rem{margin-top:1rem}.mt-2rem{margin-top:2rem}.mb-05rem{margin-bottom:.5rem}.ml-auto{margin-left:auto}.mr-1rem{margin-right:1rem}.fw-500{font-weight:500}.fw-600{font-weight:600}.d-flex{display:flex}.flex-1{flex:1}.items-center{align-items:center}.items-start{align-items:flex-start}.gap-05{gap:.5rem}.gap-1{gap:1rem}.gap-8{gap:8px}.text-right{text-align:right}.text-muted{color:#6c757d}.text-muted.fs-082.mt-04rem{font-size:.74rem}.ml-tip-card{display:flex;gap:8px;align-items:flex-start;padding:8px 10px;margin:0 0 .65rem;border:1px solid #a7f3d0;border-left:4px solid #10b981;border-radius:6px;background:#ecfdf5;color:#064e3b;font-size:.78rem;line-height:1.35}.ml-tip-card strong{color:#047857;white-space:nowrap}.fs-085{font-size:.8rem}.minw-140{min-width:120px}.minw-200{min-width:160px}.minw-260{min-width:220px}.p-025-04{padding:.2rem .35rem}.rounded-6{border-radius:5px}.border{border:1px solid #dee2e6}.content-tabs select{padding:.25rem .5rem;border:1px solid #d1d5db;border-radius:5px;font-size:.75rem;background:#fff;color:#374151;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}.content-tabs select:focus{outline:0;border-color:#10b981;box-shadow:0 0 0 2px rgba(16,185,129,.18)}.content-tabs select:hover{border-color:#94a3b8}.content-tabs label{font-size:.75rem;color:#6b7280;font-weight:500}.doctype-dropdown{position:relative;flex:1;min-width:0;display:flex;align-items:stretch}.doctype-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:visible;gap:1px;padding:3px 3px 0;background:var(--slate-100);border:1px solid var(--slate-300);border-radius:6px 6px 0 0;border-bottom:0;align-items:flex-end;flex:1;min-width:0;min-height:32px;scrollbar-width:none;-ms-overflow-style:none}.doctype-tabs::-webkit-scrollbar{display:none}.doctype-tab{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;height:26px;background:0 0;border:1px solid transparent;border-radius:5px 5px 0 0;color:var(--slate-500);font-size:.72rem;font-weight:500;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:background 160ms ease,color 160ms ease,border-color 160ms ease;font-family:inherit;position:relative}.doctype-tab svg{opacity:.7;flex-shrink:0;width:13px;height:13px}#doctype-tab-tooltip{position:fixed;z-index:10020;max-width:min(320px,calc(100vw - 16px));padding:6px 10px;border:1px solid var(--doctype-tooltip-border);border-radius:6px;background:var(--doctype-tooltip-bg);color:var(--doctype-tooltip-text);box-shadow:0 4px 12px rgba(15,23,42,.16);font-size:.75rem;line-height:1.35;overflow-wrap:anywhere;pointer-events:none}@media print{#doctype-tab-tooltip{display:none!important}}.doctype-draft-chip{position:absolute;top:1px;right:1px;min-width:14px;height:14px;padding:0 4px;border-radius:999px;background:#10b981;color:#fff;font-size:.55rem;font-weight:700;line-height:14px;text-align:center;box-shadow:0 0 0 2px rgba(134,239,172,.5);cursor:pointer;pointer-events:auto}.doctype-tab.has-drafts{padding-right:16px}#doctype-tabs-row[data-submenu] .doctype-tab .doctype-draft-chip,.doctype-more-item .doctype-draft-chip{position:static;margin-left:auto}#doctype-tabs-row[data-submenu] .doctype-tab.has-drafts{padding-right:8px}.doctype-draft-chip:focus-visible{outline:2px solid var(--brand-accent);outline-offset:1px}#doctype-drafts-menu{position:fixed;z-index:10021;min-width:260px;max-width:min(380px,calc(100vw - 16px));max-height:min(60vh,420px);overflow-y:auto;padding:6px;border:1px solid var(--doctype-tooltip-border,#cbd5e1);border-radius:8px;background:#fff;color:#1e293b;box-shadow:0 8px 24px rgba(15,23,42,.18)}#doctype-drafts-menu[hidden]{display:none!important}#doctype-drafts-menu-title{display:block;padding:4px 8px 6px;font-size:.68rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#64748b}.doctype-drafts-item{display:flex;flex-direction:column;align-items:stretch;gap:2px;width:100%;padding:7px 8px;border:1px solid transparent;border-radius:6px;background:0 0;color:inherit;font:inherit;text-align:left;cursor:pointer}.doctype-drafts-item:focus-visible,.doctype-drafts-item:hover{background:#f1f5f9;border-color:#e2e8f0;outline:0}.doctype-drafts-item-head{display:flex;align-items:center;gap:6px;font-size:.78rem;font-weight:600}.doctype-drafts-item-head .doctype-drafts-tag{margin-left:auto;flex:0 0 auto;padding:1px 6px;border-radius:999px;font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;background:#e2e8f0;color:#475569}.doctype-drafts-item-head .doctype-drafts-tag[data-source=live]{background:#d1fae5;color:#047857}.doctype-drafts-snippet{font-size:.72rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media print{#doctype-drafts-menu,.doctype-draft-chip{display:none!important}}.doctype-tab:hover{background:#fff;color:var(--navy-900);border-color:var(--slate-200)}.doctype-tab:hover svg{opacity:1}.doctype-tab:focus-visible{outline:0;box-shadow:0 0 0 2px rgba(16,185,129,.24)}.doctype-tab.active{background:#fff;color:var(--emerald-700);font-weight:600;border-color:var(--slate-200);border-bottom:1px solid #fff;margin-bottom:-1px;z-index:2}.doctype-tab.active svg{opacity:1;color:var(--emerald-500);filter:drop-shadow(0 0 3px rgba(16,185,129,.5))}.doctype-tab.active::after{content:'';position:absolute;left:6px;right:6px;top:0;height:2px;background:var(--emerald-500);border-radius:2px 2px 0 0;box-shadow:0 0 6px rgba(16,185,129,.5);pointer-events:none}.doctype-dropdown-btn{display:none!important}.doctype-tabs-wrap{display:flex;align-items:stretch;gap:4px;flex:1;min-width:0}.estante-launcher{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin-bottom:-1px;background:var(--slate-100);border:1px solid var(--slate-300);border-radius:6px;color:var(--emerald-700);cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease;flex-shrink:0;align-self:flex-end}.estante-launcher:hover{background:#ecfdf5;border-color:var(--emerald-300);color:var(--emerald-700);box-shadow:0 0 0 2px rgba(16,185,129,.12)}.estante-launcher svg{width:18px;height:18px}#btn-layout-estante{width:auto;min-width:58px;padding:0 10px;gap:6px;background:var(--doctypebar-launcher-bg);border-color:var(--doctypebar-launcher-border);color:var(--doctypebar-launcher-text)}#btn-layout-estante.is-active,#btn-layout-estante:hover{background:var(--doctypebar-launcher-hover-bg);color:var(--emerald-700);border-color:var(--emerald-300);box-shadow:0 0 0 2px rgba(16,185,129,.15)}#forms-bar-library-btn:focus-visible{outline:2px solid var(--brand-accent);outline-offset:2px}.estante-launcher-label{font-size:.67rem;font-weight:750;letter-spacing:.08em}.doctype-tab.is-more{background:var(--slate-100);color:var(--navy-700);border:1px dashed var(--slate-300)}.doctype-tab.is-more:hover{background:#fff;color:var(--navy-900);border-color:var(--navy-700);border-style:solid}.doctype-tab.is-more.has-active-overflow{background:#fff;color:var(--emerald-700);border-color:var(--slate-200);border-style:solid}.doctype-tab.is-more.has-active-overflow::after{content:'';position:absolute;left:6px;right:6px;top:0;height:2px;background:var(--emerald-500);border-radius:2px 2px 0 0;box-shadow:0 0 6px rgba(16,185,129,.5);pointer-events:none}#doctype-tabs-row[hidden]{display:none!important}#doctype-tabs-row[data-submenu]{position:fixed;z-index:10010;display:flex;flex-direction:column;align-items:stretch;width:260px;max-width:calc(100vw - 16px);max-height:min(70vh,640px);overflow:auto;padding:6px;gap:2px;margin:0;border:1px solid var(--doctypebar-pano-border);border-radius:8px;background:var(--doctypebar-launcher-bg);box-shadow:0 8px 24px rgba(15,23,42,.16)}#doctype-tabs-row[data-submenu] .doctype-tab{flex:0 0 auto;width:100%;height:auto;min-height:36px;justify-content:flex-start;text-align:left;border-radius:4px;white-space:normal}#doctype-tabs-row[data-submenu] .doctype-tab-label{overflow:visible}#doctype-tabs-row[data-submenu] .doctype-tab.active{background:var(--doctypebar-launcher-hover-bg)}#doctype-tabs-row[data-submenu] .doctype-tab.active::after{display:none}#receituarios-tab-btn::after{content:'▾';font-size:10px;margin-left:4px}#receituarios-anvisa-shortcuts{border-top:1px solid var(--doctypebar-pano-border);margin-top:4px;padding-top:6px;display:flex;flex-direction:column;gap:2px}#receituarios-anvisa-shortcuts-title{padding:4px 8px 0;font-size:11px;font-weight:700}#receituarios-anvisa-shortcuts-hint{padding:0 8px 4px;font-size:10px;color:var(--slate-500)}@media print{#doctype-tabs-row[data-submenu]{display:none!important}}#doctype-dropdown{container:doctypebar/inline-size}#doctype-dropdown .doctype-tabs-wrap{align-items:center;opacity:1}#doctype-navigation-group{display:flex;flex:1 1 0;min-width:0;gap:4px;align-items:center;justify-content:safe center}#doctype-dropdown #doctype-tabs-row{flex:0 1 auto;justify-content:safe center;min-width:0;min-height:32px;padding:0;gap:2px;border:0;border-radius:0;background:0 0;overflow:hidden;align-items:center}#doctype-layout-trigger,#doctype-tabs-row .doctype-tab{height:32px;padding:0 8px;border:0;border-radius:0;margin:0;background:0 0;color:var(--doctypebar-tab-text);font:inherit;font-size:.75rem;font-weight:600;box-shadow:none;text-shadow:none;transform:none;transition:none;cursor:pointer}#doctype-tabs-row .doctype-tab{max-width:100%;min-width:0}#doctype-tabs-row .doctype-tab-label{overflow:hidden;text-overflow:ellipsis}#doctype-tabs-row .doctype-tab>svg{display:none}#doctype-layout-trigger:hover,#doctype-tabs-row .doctype-tab:hover{background:var(--doctypebar-tab-hover-bg)}#doctype-tabs-row .doctype-tab.active{color:var(--brand-accent-text);background:0 0}#doctype-tabs-row .doctype-tab.active::after{top:auto;bottom:0;left:8px;right:8px;height:2px;background:var(--brand-accent);box-shadow:none;border-radius:0}#doctype-layout-trigger:focus-visible,#doctype-tabs-row .doctype-tab:focus-visible{outline:2px solid var(--brand-accent);outline-offset:-2px;box-shadow:none}#doctype-layout-trigger{display:flex;flex:1 1 auto;flex-direction:row;justify-content:flex-start;align-items:center;gap:6px;min-width:0;padding:0 5px;text-align:left;white-space:nowrap}#doctype-layout-trigger-label{order:1;margin-left:auto;flex:none;font-size:.75rem}#doctype-layout-trigger-icon{display:none;flex:0 0 16px}#doctype-tabs-row .is-more{flex-shrink:0}#doctype-layout-trigger[hidden],#doctype-more-menu [hidden],#doctype-tabs-row [hidden]{display:none!important}#doctype-dropdown #btn-layout-estante{background:0 0;border-color:transparent;box-shadow:none;margin-bottom:0}#editor-command-layout-controls #btn-layout-estante{background:0 0;border-color:transparent;box-shadow:none;margin:0;height:30px;min-height:30px;padding:0 8px}#editor-command-layout-controls #btn-layout-estante.is-active,#editor-command-layout-controls #btn-layout-estante:hover{background:var(--doctypebar-launcher-hover-bg);color:var(--brand-accent-text)}#doctype-dropdown #btn-layout-estante.is-active,#doctype-dropdown #btn-layout-estante:hover{background:var(--doctypebar-launcher-hover-bg);color:var(--brand-accent-text)}#doctype-layout-popover,#doctype-more-menu{position:fixed;max-height:min(65vh,520px);overflow-y:auto}@container doctypebar (max-width:800px){#doctype-dropdown .editor-command-layout-context{flex-basis:190px;min-width:170px;max-width:190px}#doctype-dropdown #btn-layout-estante{min-width:32px;padding:0 6px}#doctype-dropdown #btn-layout-estante .estante-launcher-label{display:none}#doctype-dropdown #canvas-zoom-slider{width:60px}}@container doctypebar (max-width:600px){#doctype-dropdown .editor-command-layout-context{flex:0 1 170px;min-width:150px;gap:4px;margin-right:0}}.doctype-more-menu{position:absolute;top:calc(100% + 4px);right:0;min-width:220px;background:#fff;border:1px solid var(--slate-200);border-radius:8px;box-shadow:0 8px 24px rgba(15,23,42,.15);z-index:200;padding:4px 0}.doctype-more-menu[hidden]{display:none}.doctype-more-item{display:flex;align-items:center;gap:8px;width:100%;padding:7px 14px;background:0 0;border:none;cursor:pointer;font:inherit;font-size:.78rem;color:var(--navy-700);text-align:left;transition:background 120ms ease,color 120ms ease}.doctype-more-item:hover{background:var(--slate-50);color:var(--navy-900)}.doctype-more-item.active{background:#ecfdf5;color:var(--emerald-700);font-weight:600;box-shadow:inset 3px 0 0 var(--emerald-500)}.doctype-more-item svg{width:14px;height:14px;flex-shrink:0;opacity:.7}.doctype-layout-popover{position:absolute;top:calc(100% + 4px);left:0;min-width:360px;max-width:720px;background:#fff;border:1px solid var(--slate-300);border-radius:8px;box-shadow:0 12px 32px rgba(15,23,42,.18);z-index:150;padding:10px 12px 12px;display:flex;flex-direction:column;gap:10px}.doctype-layout-popover[hidden]{display:none}.doctype-layout-popover-section{display:flex;flex-direction:column;gap:4px}.doctype-layout-popover-label{font-size:.62rem;font-weight:700;color:var(--slate-500);text-transform:uppercase;letter-spacing:.05em}.doctype-layout-popover-header{display:flex;align-items:center;justify-content:space-between;gap:6px}.doctype-layout-popover-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.layout-popover-list{display:flex;flex-direction:column;gap:2px;max-height:320px;overflow-y:auto;background:var(--slate-50);border:1px solid var(--slate-200);border-radius:6px;padding:4px}.layout-popover-list-empty{padding:10px 12px;font-size:.75rem;color:var(--slate-500);font-style:italic;text-align:center}.layout-popover-marketplace-action{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;border:1px dashed var(--emerald-400);border-radius:6px;background:linear-gradient(180deg,#f8fffc 0,#ecfdf5 100%);color:var(--slate-700);cursor:pointer;font:inherit;text-align:left;transition:background 120ms ease,border-color 120ms ease,box-shadow 120ms ease,transform 120ms ease}.layout-popover-marketplace-action:focus-visible,.layout-popover-marketplace-action:hover{background:#fff;border-color:var(--emerald-600);box-shadow:0 0 0 2px rgba(16,185,129,.16);outline:0;transform:translateY(-1px)}.layout-popover-marketplace-action svg{width:22px;height:22px;flex:0 0 auto;color:var(--emerald-600)}.layout-popover-marketplace-action-copy{display:grid;gap:1px;min-width:0}.layout-popover-marketplace-action-title{color:var(--emerald-700);font-size:.76rem;font-weight:750}.layout-popover-marketplace-action-meta{color:var(--slate-500);font-size:.65rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layout-popover-list-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:4px;border:1px solid transparent;background:0 0;cursor:pointer;font:inherit;font-size:.78rem;color:var(--slate-700);text-align:left;transition:background 120ms ease,border-color 120ms ease,box-shadow 120ms ease,color 120ms ease;width:100%}.layout-popover-list-item:hover{background:#fff;border-color:var(--emerald-300);box-shadow:0 0 0 2px rgba(134,239,172,.2)}.layout-popover-list-item.is-active{background:var(--emerald-50,#ecfdf5);color:var(--emerald-700);border-color:var(--emerald-300);box-shadow:none}.layout-popover-list-item.is-active:hover{border-color:var(--emerald-500)}.layout-popover-list-item.is-locked{color:var(--slate-400);background:var(--slate-100)}.layout-popover-list-item.is-locked:hover{background:var(--slate-200);border-color:var(--slate-300);box-shadow:none}.layout-popover-list-item .lp-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.layout-popover-list-item .lp-meta{font-size:.68rem;color:var(--slate-500);white-space:nowrap;flex-shrink:0;display:inline-flex;align-items:center;gap:5px}.layout-popover-list-item.is-active .lp-meta{color:var(--slate-600,#475569)}.layout-popover-list-item .lp-mark{width:12px;height:12px;flex-shrink:0;display:inline-block;vertical-align:-1px}.layout-popover-list-item .lp-scope-mark{display:inline-grid;place-items:center;width:15px;height:15px;flex:0 0 15px}.layout-popover-list-item .lp-scope-mark svg{display:block;width:15px;height:15px;border-radius:3px}.layout-popover-list-item .lp-mark-default{color:var(--emerald-500);filter:drop-shadow(0 0 3px rgba(16,185,129,.45))}.layout-popover-list-item .lp-mark-locked{color:var(--slate-500)}.layout-popover-list-item.is-locked .lp-mark-locked{color:#b45309}.layout-popover-list-item.is-active .lp-mark-default{color:var(--emerald-600);filter:none}.layout-popover-list-item .lp-name svg.lp-mark-locked{margin-right:4px;vertical-align:-2px}.layout-popover-list-item .lp-version{font-variant-numeric:tabular-nums;opacity:.85}#layout-menu-toggle{display:none}.layout-popover-list-item .lp-menu-btn{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 auto;border-radius:4px;color:inherit;cursor:pointer;opacity:0;transition:opacity 130ms ease,background 130ms ease}.layout-popover-list-item .lp-menu-btn svg{width:13px;height:13px}.layout-popover-list-item .lp-menu-btn:focus-visible,.layout-popover-list-item:hover .lp-menu-btn{opacity:1}.layout-popover-list-item .lp-menu-btn:hover{background:rgba(16,185,129,.18)}.layout-menu-item .lmi-ico{width:13px;height:13px;flex:0 0 auto}.mkt-catalog-menu-item{display:flex;align-items:center;gap:7px;width:100%;padding:8px 12px;border:none;border-bottom:1px solid #f3f4f6;background:0 0;color:#374151;text-align:left;cursor:pointer;font:inherit;font-size:.75rem}.mkt-catalog-menu-item svg{width:13px;height:13px;flex:0 0 auto}.mkt-catalog-menu-item:hover:not(:disabled){background:#ecfdf5;color:#047857}.mkt-catalog-menu-item:disabled{color:#94a3b8;background:#f8fafc;cursor:not-allowed}.doctype-layout-popover-actions{display:flex;align-items:center;gap:4px;padding-top:8px;border-top:1px solid var(--slate-200);flex-wrap:wrap}.doctype-layout-popover-actions #editor-action-buttons{display:flex;align-items:center;gap:.32rem;padding:0;flex-wrap:wrap}.doctype-layout-popover-actions .editor-mode-toggle{display:inline-flex!important;font-size:.72rem;padding:4px 8px;gap:5px}.fab-btn.fab-newdoc{background:var(--emerald-500);color:#fff;border-color:var(--emerald-600);box-shadow:0 2px 8px rgba(16,185,129,.32)}.fab-btn.fab-newdoc:hover{background:var(--emerald-600);color:#fff;border-color:var(--emerald-700);box-shadow:0 4px 14px rgba(16,185,129,.48)}.fab-btn.fab-newdoc .fab-label{background:var(--emerald-700)}.doctype-layout-popover #editor-new-document{display:none}.doctype-form-library-btn{display:inline-flex;align-items:center;gap:5px;font:inherit;font-size:.75rem;font-weight:500;padding:.3rem .55rem;margin-left:4px;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:5px;color:#047857;cursor:pointer;transition:all .15s ease}.doctype-form-library-btn:hover{background:#d1fae5;border-color:#10b981}.doctype-form-library-btn svg{opacity:.85}.paper-segmented{display:inline-flex;align-items:stretch;border:1px solid var(--papersegmented-border);border-radius:5px;background:var(--papersegmented-bg);overflow:hidden;height:26px;transition:border-color .15s ease,box-shadow .15s ease}.paper-segmented:hover{border-color:var(--papersegmented-hover-border)}.paper-segmented:focus-within{border-color:var(--papersegmented-focus-border);box-shadow:0 0 0 2px var(--papersegmented-focus-ring)}.paper-segmented .ps-label{display:inline-flex;align-items:center;justify-content:center;padding:0 8px;color:var(--papersegmented-label-text);background:0 0;border-right:1px solid var(--papersegmented-divider);user-select:none}.paper-segmented .ps-select{font:inherit;font-size:.75rem;font-weight:500;color:var(--papersegmented-select-text);padding:0 6px;background:0 0;border:none;outline:0;max-width:185px;cursor:pointer;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='3'><polyline points='6 9 12 15 18 9'/></svg>");background-repeat:no-repeat;background-position:right 6px center;padding-right:18px}.paper-segmented .ps-select:hover{background-color:var(--papersegmented-select-hover-bg)}.paper-segmented .ps-estante{display:inline-flex;align-items:center;gap:5px;font:inherit;font-size:.75rem;font-weight:500;padding:0 10px;background:0 0;border:none;border-left:1px solid var(--papersegmented-divider);color:var(--papersegmented-estante-text);cursor:pointer;transition:background .15s ease}.paper-segmented .ps-estante:hover{background:var(--papersegmented-estante-hover-bg)}.paper-segmented .ps-estante svg{opacity:.85}.paper-segmented .ps-estante-icononly{padding:0 9px;background:var(--papersegmented-estante-icononly-bg);color:var(--papersegmented-estante-text)}.paper-segmented .ps-estante-icononly svg{opacity:1}.paper-segmented .ps-estante-icononly:hover{background:var(--papersegmented-estante-icononly-hover-bg);color:var(--papersegmented-estante-text)}.form-library-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(5px);display:none;align-items:center;justify-content:center;z-index:9000}.form-library-modal-backdrop.is-open{display:flex}.form-library-modal{background:#fff;border-radius:8px;width:min(900px,92vw);max-height:88vh;display:flex;flex-direction:column;border:1px solid #cbd5e1;box-shadow:0 24px 54px rgba(15,23,42,.28);overflow:hidden}.form-library-header{padding:14px 18px;border-bottom:1px solid #1e293b;display:flex;align-items:center;gap:12px;color:#fff;background:linear-gradient(135deg,#0f172a 0,#1e293b 56%,#334155 100%)}.form-library-header h2{margin:0;font-size:16px;font-weight:700;color:#fff;flex:1;display:flex;align-items:center;gap:8px;letter-spacing:0}.form-library-footer .modal-ui-icon,.form-library-header .modal-ui-icon,.layout-estante-footer .modal-ui-icon,.layout-estante-header .modal-ui-icon,.layout-estante-preview-header .modal-ui-icon{width:16px;height:16px;flex:0 0 auto}.form-library-header .fl-close,.layout-estante-header .le-close,.layout-estante-preview-header .le-preview-close{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.12);border:1px solid rgba(226,232,240,.22);border-radius:7px;color:#fff;cursor:pointer;padding:0;line-height:1}.form-library-header .fl-close:hover,.layout-estante-header .le-close:hover,.layout-estante-preview-header .le-preview-close:hover{background:rgba(241,245,249,.16);border-color:rgba(167,243,208,.58);color:#fff}.form-library-toolbar{padding:10px 16px;border-bottom:1px solid #e5e7eb;background:#f9fafb;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.fl-search-input{flex:1;min-width:180px;padding:6px 10px;border:1px solid #d1d5db;border-radius:5px;font:inherit;font-size:12px}.fl-filter-chip{display:inline-flex;align-items:center;justify-content:center;gap:4px;font-size:11px;padding:4px 10px;border-radius:999px;border:1px solid #d1d5db;background:#fff;color:#4b5563;cursor:pointer;user-select:none}.fl-filter-chip svg{width:13px;height:13px;flex:0 0 auto}.fl-filter-chip.active{background:#334155;color:#fff;border-color:#334155}.fl-filter-chip[data-origin=sus]:not(.active):hover{background:#ecfdf5}.fl-filter-chip[data-origin=convenio]:not(.active):hover{background:#f1f5f9}.fl-filter-chip[data-origin=internal]:not(.active):hover{background:#ede9fe}.form-library-body{flex:1;overflow-y:auto;padding:12px 16px}.fl-section-title{font-size:11px;font-weight:700;text-transform:uppercase;color:#6b7280;letter-spacing:.4px;margin:8px 0 6px}.fl-form-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:10px}.fl-form-card{border:1px solid #e5e7eb;border-radius:8px;padding:0;background:#fff;cursor:pointer;transition:all .15s ease;display:flex;flex-direction:column;position:relative;overflow:hidden}.fl-form-card:hover{border-color:#334155;box-shadow:0 4px 12px rgba(15,23,42,.14);transform:translateY(-1px)}#null-doc-forms-library .fl-marketplace-add-card,#null-doc-layout-estante .le-marketplace-add-card{appearance:none;width:100%;min-width:0;padding:0;overflow:hidden;display:flex;flex-direction:column;position:relative;text-align:left;border:1px dashed rgba(16,185,129,.72);border-radius:8px;background:linear-gradient(180deg,#f8fffc 0,#fff 100%);color:#0f172a;cursor:pointer;font:inherit;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}#null-doc-forms-library .fl-marketplace-add-card:focus-visible,#null-doc-forms-library .fl-marketplace-add-card:hover,#null-doc-layout-estante .le-marketplace-add-card:focus-visible,#null-doc-layout-estante .le-marketplace-add-card:hover{border-color:#059669;box-shadow:0 7px 18px rgba(5,150,105,.16);outline:0;transform:translateY(-1px)}#null-doc-forms-library .fl-marketplace-add-thumb,#null-doc-layout-estante .le-marketplace-add-thumb{width:100%;aspect-ratio:5/4;display:grid;place-items:center;border-bottom:1px solid rgba(16,185,129,.2);background:radial-gradient(circle at 50% 42%,rgba(52,211,153,.22),transparent 37%),linear-gradient(145deg,#0f172a 0,#1e293b 68%,#064e3b 100%)}#null-doc-forms-library .fl-marketplace-add-thumb svg,#null-doc-layout-estante .le-marketplace-add-thumb svg{width:54%;max-width:92px;height:auto;color:#6ee7b7;filter:drop-shadow(0 0 10px rgba(16, 185, 129, .28))}#null-doc-forms-library .fl-marketplace-add-copy,#null-doc-layout-estante .le-marketplace-add-copy{padding:10px;display:grid;gap:3px}#null-doc-forms-library .fl-marketplace-add-title,#null-doc-layout-estante .le-marketplace-add-title{color:#047857;font-size:12px;font-weight:800}#null-doc-forms-library .fl-marketplace-add-subtitle,#null-doc-layout-estante .le-marketplace-add-subtitle{color:#64748b;font-size:9.5px;line-height:1.35}.fl-locked{opacity:.72}.fl-locked:hover{opacity:.9}.fl-form-card-premium{font-size:8px;padding:0 4px;border-radius:3px;background:#f1f5f9;color:#334155;font-weight:700;text-transform:uppercase;letter-spacing:.2px;line-height:1.5;vertical-align:middle}.fl-form-card-thumb{width:100%;aspect-ratio:5/4;background:#f8fafc;border-bottom:1px solid #e5e7eb;overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative}.fl-form-card-thumb img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}.fl-thumb-spinner{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(248,250,252,.85);color:#334155;font-size:11px}.fl-thumb-spinner::before{content:'';width:18px;height:18px;border:2px solid #e2e8f0;border-top-color:#334155;border-radius:50%;animation:le-spin .8s linear infinite;margin-right:6px}.fl-form-card-actions,.fl-form-card-meta,.fl-form-card-row1,.fl-form-card-row2{padding-left:10px;padding-right:10px}.fl-form-card-row1{display:flex;align-items:center;gap:4px;padding-top:8px;margin-top:4px}.fl-form-card-name{font-weight:600;font-size:11.5px;color:#111827;flex:1;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.fl-form-card-version{font-size:8.5px;padding:0 4px;border-radius:3px;background:#e5e7eb;color:#374151;font-weight:600;line-height:1.5}.fl-form-card-row2{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin-top:2px}.fl-form-card-code{font-family:Consolas,monospace;font-size:9.5px;color:#6b7280}.fl-form-card-origin{font-size:8.5px;padding:0 4px;border-radius:3px;font-weight:700;text-transform:uppercase;letter-spacing:.2px;line-height:1.5}.fl-form-card-origin.sus{background:#dcfce7;color:#047857}.fl-form-card-origin.convenio{background:#f1f5f9;color:#92400e}.fl-form-card-origin.internal{background:#ede9fe;color:#6b21a8}.fl-form-card-meta{font-size:9px;color:#6b7280;margin-top:2px}.fl-form-card-actions{display:flex;gap:4px;margin-top:6px}.fl-form-card-actions button{font:inherit;font-size:11px;padding:4px 9px;border-radius:4px;border:1px solid #d1d5db;background:#fff;cursor:pointer;flex:1}.fl-form-card-actions button.primary{background:#334155;color:#fff;border-color:#334155}.fl-form-card-actions button.primary:hover{background:#1e293b}.fl-form-card-actions button:hover{background:#f3f4f6}.fl-fav-btn{position:absolute;top:8px;right:8px;background:0 0;border:none;font-size:16px;cursor:pointer;padding:2px;color:#d1d5db;transition:color .15s ease}.fl-fav-btn:hover{color:#f59e0b}.fl-fav-btn.is-fav{color:#f59e0b}.fl-empty{padding:30px;text-align:center;color:#6b7280;font-size:12px}.form-library-footer{padding:10px 16px;border-top:1px solid #e5e7eb;background:#f9fafb;display:flex;gap:8px;align-items:center;font-size:11.5px;color:#6b7280}.form-library-footer .fl-spacer{flex:1}.form-library-footer a{color:#047857;text-decoration:none;display:inline-flex;align-items:center;gap:4px}.form-library-footer a:hover{text-decoration:underline}.layout-estante-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(5px);display:none;align-items:center;justify-content:center;z-index:9000}.layout-estante-modal-backdrop.is-open{display:flex}.layout-estante-modal{background:#fff;border-radius:8px;width:min(1100px,94vw);max-height:90vh;display:flex;flex-direction:column;border:1px solid #cbd5e1;box-shadow:0 24px 54px rgba(15,23,42,.28);overflow:hidden}.layout-estante-header{padding:8px 14px;border-bottom:1px solid #1e293b;display:flex;align-items:center;gap:8px;color:#fff;background:linear-gradient(135deg,#0f172a 0,#1e293b 56%,#334155 100%)}.layout-estante-header h2{margin:0;font-size:13px;font-weight:700;color:#fff;flex:1;display:flex;align-items:center;gap:7px;letter-spacing:0}.layout-estante-toolbar{padding:6px 12px;border-bottom:1px solid #e5e7eb;background:#f9fafb;display:flex;flex-direction:column;gap:5px;flex:0 0 auto;min-height:auto;position:relative;z-index:1}.layout-estante-toolbar .le-toolbar-row{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.le-search-input{flex:1;min-width:140px;padding:3px 8px;border:1px solid #d1d5db;border-radius:4px;font:inherit;font-size:11px;line-height:1.5}.le-filter-chip{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:10.5px;font-weight:600;padding:4px 11px;border-radius:999px;border:1px solid #cbd5e1;background:#f8fafc;color:#475569;cursor:pointer;user-select:none;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4;flex-shrink:0;min-height:26px;transition:background 150ms ease,color 150ms ease,border-color 150ms ease,box-shadow 150ms ease}.le-filter-chip img,.le-filter-chip svg{width:12px;height:12px;flex:0 0 auto}.le-filter-chip small{min-width:16px;height:15px;padding:0 4px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(15,23,42,.08);font-size:9px;font-weight:750;color:inherit;line-height:1}.le-filter-chip.active{background:linear-gradient(180deg,#1e293b 0,#334155 100%);color:#fff;border-color:#1e293b;box-shadow:0 1px 3px rgba(15,23,42,.25),0 0 0 1px rgba(16,185,129,.32),0 0 10px rgba(16,185,129,.3);text-shadow:0 0 5px rgba(134,239,172,.4)}.le-filter-chip.active svg{color:#6ee7b7;filter:drop-shadow(0 0 4px rgba(134,239,172,.6))}.le-filter-chip.active small{background:rgba(255,255,255,.18);text-shadow:none}.le-filter-chip:not(.active):hover{background:#fff;border-color:#94a3b8;color:#0f172a}#le-doctype-chips{display:flex;gap:5px;flex-wrap:wrap;align-items:center;width:100%;flex:0 0 auto;min-height:30px;padding-bottom:2px}.layout-estante-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:12px 16px}.le-section-title{font-size:11px;font-weight:700;text-transform:uppercase;color:#6b7280;letter-spacing:.4px;margin:12px 0 6px}.le-section-title:first-child{margin-top:4px}.le-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.le-card{border:1px solid #e5e7eb;border-radius:8px;padding:0;background:#fff;cursor:pointer;transition:all .15s ease;display:flex;flex-direction:column;overflow:hidden;position:relative}.le-card:hover{border-color:#334155;box-shadow:0 4px 12px rgba(15,23,42,.14);transform:translateY(-1px)}.le-card-thumb{width:100%;aspect-ratio:5/4;background:#f8fafc;border-bottom:1px solid #e5e7eb;overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative}.le-card-thumb.landscape{aspect-ratio:7/5}.le-card-thumb img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}.le-card-thumb-fallback{color:#94a3b8;font-size:11px;padding:12px;text-align:center}.le-card-thumb-spinner{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(248,250,252,.85);color:#334155;font-size:11px}.le-card-thumb-spinner::before{content:'';width:18px;height:18px;border:2px solid #e2e8f0;border-top-color:#334155;border-radius:50%;animation:le-spin .8s linear infinite;margin-right:6px}@keyframes le-spin{to{transform:rotate(360deg)}}.le-card-body{padding:5px 8px 3px;display:flex;flex-direction:column;gap:2px}.le-card-name{font-weight:600;font-size:11.5px;color:#111827;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.le-card-meta{font-size:9px;color:#6b7280;display:flex;gap:3px;align-items:center;flex-wrap:wrap}.le-card-doctype{font-size:8.5px;padding:0 4px;border-radius:3px;background:#dcfce7;color:#047857;font-weight:600;text-transform:uppercase;letter-spacing:.2px;line-height:1.5}.le-card-actions{display:flex;gap:3px;padding:0 8px 6px}.le-card-actions button{font:inherit;font-size:10px;padding:2px 4px;border-radius:4px;border:1px solid #d1d5db;background:#fff;cursor:pointer;flex:1}.le-card-actions button.primary{background:#334155;color:#fff;border-color:#334155}.le-card-actions button.primary:hover{background:#1e293b}.le-card-actions button:hover{background:#f3f4f6}.le-fav-btn{position:absolute;top:6px;right:6px;z-index:2;background:rgba(255,255,255,.92);border:1px solid #e5e7eb;border-radius:50%;width:24px;height:24px;font-size:13px;cursor:pointer;padding:0;color:#d1d5db;transition:color .15s ease;display:flex;align-items:center;justify-content:center}.le-fav-btn:hover{color:#f59e0b}.le-fav-btn.is-fav{color:#f59e0b}.le-empty{padding:30px;text-align:center;color:#6b7280;font-size:12px}.layout-estante-footer{padding:10px 16px;border-top:1px solid #e5e7eb;background:#f9fafb;display:flex;gap:8px;align-items:center;font-size:11.5px;color:#6b7280}.layout-estante-footer .le-spacer{flex:1}.layout-estante-footer a{color:#047857;text-decoration:none;display:inline-flex;align-items:center;gap:4px}.layout-estante-footer a:hover{text-decoration:underline}.layout-estante-preview-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.72);display:none;align-items:center;justify-content:center;z-index:9100;padding:20px}.layout-estante-preview-backdrop.is-open{display:flex}.layout-estante-preview-modal{background:#fff;border-radius:8px;max-width:min(900px,94vw);max-height:94vh;display:flex;flex-direction:column;border:1px solid #cbd5e1;box-shadow:0 24px 54px rgba(15,23,42,.32);overflow:hidden}.layout-estante-preview-header{padding:10px 16px;border-bottom:1px solid #1e293b;display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#0f172a 0,#1e293b 56%,#334155 100%);color:#fff}.layout-estante-preview-header h3{margin:0;font-size:14px;font-weight:700;color:#fff;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layout-estante-preview-header .le-preview-meta{font-size:11px;color:#cbd5e1;white-space:nowrap}.layout-estante-preview-body{flex:1;overflow:auto;background:#e5e7eb;padding:20px;display:flex;align-items:flex-start;justify-content:center}.le-preview-frame{background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.18);position:relative;overflow:hidden;flex-shrink:0;width:210mm;height:297mm;transform-origin:top left}.le-preview-frame.is-loading::before{content:'Carregando preview…';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#6b7280;font-size:13px;background:#f8fafc}.layout-estante-preview-footer{padding:10px 16px;border-top:1px solid #e5e7eb;background:#f9fafb;display:flex;gap:8px;align-items:center;justify-content:flex-end}.layout-estante-preview-footer button{font:inherit;font-size:12px;padding:6px 12px;border-radius:5px;border:1px solid #d1d5db;background:#fff;cursor:pointer}.layout-estante-preview-footer button.primary{background:#0d9488;color:#fff;border-color:#0d9488}.layout-estante-preview-footer button.primary:hover{background:#0f766e}.layout-estante-preview-footer button:hover:not(.primary){background:#f3f4f6}.ee-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(5px);display:none;align-items:center;justify-content:center;z-index:9000}.ee-modal-backdrop.is-open{display:flex}.ee-modal{background:#fff;border-radius:8px;width:min(1200px,94vw);max-height:90vh;display:flex;flex-direction:column;border:1px solid #cbd5e1;box-shadow:0 24px 54px rgba(15,23,42,.28);overflow:hidden}.ee-header{padding:8px 14px;border-bottom:1px solid #1e293b;display:flex;align-items:center;gap:8px;color:#fff;background:linear-gradient(135deg,#0f172a 0,#1e293b 56%,#334155 100%)}.ee-header h2{margin:0;font-size:13px;font-weight:700;color:#fff;flex:1;display:flex;align-items:center;gap:7px}.ee-header .ee-close{background:0 0;border:0;color:#fff;cursor:pointer;padding:4px;display:inline-flex;align-items:center}.ee-header .ee-close:hover{color:#ffe4e6}.ee-toolbar{padding:6px 12px;border-bottom:1px solid #e5e7eb;background:#f9fafb;display:flex;flex-direction:column;gap:5px;flex:0 0 auto}.ee-toolbar-row{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.ee-search-input{flex:1;min-width:140px;padding:3px 8px;border:1px solid #d1d5db;border-radius:4px;font:inherit;font-size:11px;line-height:1.5}.ee-filter-chip{display:inline-flex;align-items:center;justify-content:center;font-size:10px;padding:3px 8px;border-radius:999px;border:1px solid #d1d5db;background:#fff;color:#4b5563;cursor:pointer;user-select:none;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4;flex-shrink:0;min-height:22px;gap:4px}.ee-filter-chip svg{width:13px;height:13px;flex:0 0 auto}.ee-filter-chip.active{background:#334155;color:#fff;border-color:#334155}.ee-filter-chip:not(.active):hover{background:#f1f5f9;border-color:#94a3b8;color:#0f172a}#ee-cat-chips{display:flex;gap:4px;flex-wrap:nowrap;align-items:center;overflow-x:auto;overflow-y:hidden;width:100%;scrollbar-width:thin;flex:0 0 auto;min-height:26px;padding-bottom:2px}#ee-cat-chips::-webkit-scrollbar{height:4px}#ee-cat-chips::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.ee-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:12px 16px}.ee-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;grid-auto-flow:row dense;align-items:start}.ee-card{border:1px solid #e5e7eb;border-radius:8px;padding:0;background:#fff;cursor:grab;transition:all .15s ease;display:flex;flex-direction:column;overflow:hidden;position:relative}.ee-card:hover{border-color:#334155;box-shadow:0 4px 12px rgba(15,23,42,.14);transform:translateY(-1px)}.ee-card:active{cursor:grabbing}.ee-card-thumb{width:100%;aspect-ratio:3/2;min-height:36px;background:#f8fafc;border-bottom:1px solid #e5e7eb;overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative}.ee-card-thumb img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}.ee-card-thumb.thumb-fallback img{display:none}.ee-thumb-fallback{display:none;color:#94a3b8;font-size:11px;padding:8px;text-align:center;word-break:break-word}.ee-card-thumb.thumb-fallback .ee-thumb-fallback{display:block}.ee-card-body{padding:5px 8px 3px;display:flex;flex-direction:column;gap:2px}.ee-card-name{font-weight:600;font-size:11.5px;color:#111827;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.ee-card-meta{font-size:9px;color:#6b7280;display:flex;gap:3px;align-items:center;flex-wrap:wrap}.ee-cat-badge{font-size:8.5px;padding:0 4px;border-radius:3px;background:#e0f2fe;color:#075985;font-weight:600;text-transform:uppercase;letter-spacing:.2px;line-height:1.5}.ee-cat-badge.cat-header{background:#f1f5f9;color:#92400e}.ee-cat-badge.cat-footer{background:#ddd6fe;color:#5b21b6}.ee-cat-badge.cat-special{background:#fce7f3;color:#9d174d}.ee-cat-badge.cat-forms{background:#d1fae5;color:#065f46}.ee-cat-badge.cat-text{background:#f1f5f9;color:#475569}.ee-cat-badge.cat-input{background:#e0e7ff;color:#4338ca}.ee-cat-badge.cat-layout{background:#fee2e2;color:#991b1b}.ee-cat-badge.cat-media{background:#ccfbf1;color:#134e4a}.ee-cat-badge.cat-content{background:#e2e8f0;color:#78350f}.ee-cat-badge.cat-custom{background:#f3f4f6;color:#1f2937}.ee-system-badge{font-size:8.5px;padding:0 4px;border-radius:3px;background:#f1f5f9;color:#475569;font-weight:600;line-height:1.5}.ee-system-badge.org{background:#f1f5f9;color:#92400e}.ee-card-actions{display:flex;gap:3px;padding:4px 8px 6px}.ee-card-actions button{font:inherit;font-size:10px;padding:3px 6px;border-radius:4px;border:1px solid #d1d5db;background:#fff;cursor:pointer;flex:1}.ee-card-actions button.primary{background:#334155;color:#fff;border-color:#334155}.ee-card-actions button.primary:hover{background:#1e293b}.ee-card-actions button:hover:not(.primary){background:#f3f4f6}.ee-fav-btn{position:absolute;top:6px;right:6px;z-index:2;background:rgba(255,255,255,.92);border:1px solid #e5e7eb;border-radius:50%;width:24px;height:24px;font-size:13px;cursor:pointer;padding:0;color:#d1d5db;transition:color .15s ease;display:flex;align-items:center;justify-content:center}.ee-fav-btn:hover{color:#f59e0b}.ee-fav-btn.is-fav{color:#f59e0b}.ee-empty{padding:30px;text-align:center;color:#6b7280;font-size:12px}.ee-footer{padding:8px 16px;border-top:1px solid #e5e7eb;background:#f9fafb;display:flex;gap:8px;align-items:center;font-size:11.5px;color:#6b7280}.ee-footer .ee-spacer{flex:1}.doctype-dropdown-menu{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,.1);z-index:1001;max-height:280px;overflow-y:auto;margin-top:2px;display:none}.doctype-dropdown.open .doctype-dropdown-menu{display:block}.doctype-dropdown-item{display:flex;align-items:center;gap:.5rem;padding:.5rem .625rem;font-size:.75rem;color:#374151;cursor:pointer;border-bottom:1px solid #f3f4f6;transition:background .1s ease}.doctype-dropdown-item:last-child{border-bottom:none}.doctype-dropdown-item:hover{background:#f8fafc}.doctype-dropdown-item.active{background:#ecfdf5;color:#047857;box-shadow:inset 3px 0 0 #10b981}.doctype-dropdown-item svg{opacity:.7;flex-shrink:0}.doctype-dropdown-item:hover svg{opacity:1}.form-field{margin-bottom:.75rem}.form-field label{display:block;margin-bottom:.375rem;font-weight:500;font-size:.8125rem;color:#374151}.form-field label.label-with-hint{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem}.placeholder-hints{display:inline-flex;flex-wrap:wrap;gap:.35rem}.placeholder-hint{display:inline-flex;align-items:center;padding:.08rem .4rem;border-radius:6px;border:1px solid #e2e8f0;background:#f8fafc;color:#64748b;font-family:Consolas,'Courier New',monospace;font-size:.68rem;font-weight:400;line-height:1.3;white-space:nowrap;cursor:help;outline:0}.placeholder-hint:focus{border-color:#94a3b8;box-shadow:0 0 0 2px rgba(100,116,139,.16)}.placeholder-hint-tooltip{position:fixed;left:0;top:0;z-index:10100;width:330px;max-width:calc(100vw - 24px);padding:11px 13px;border:1px solid #475569;border-radius:8px;background:linear-gradient(180deg,#334155 0,#1e293b 100%);color:#f1f5f9;box-shadow:0 8px 24px rgba(15,23,42,.32);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI",system-ui,sans-serif;font-size:.76rem;font-weight:400;line-height:1.45;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s,transform .15s,visibility .15s;pointer-events:none}.placeholder-hint-tooltip.show{opacity:1;visibility:visible;transform:translateY(0)}.placeholder-hint-tooltip strong{display:block;margin-bottom:5px;color:#dcfce7;font-size:.8rem;font-weight:600}.placeholder-hint-tooltip p{margin:0 0 5px}.placeholder-hint-tooltip p:last-child{margin-bottom:0}.placeholder-hint-tooltip code{padding:1px 4px;border-radius:3px;background:rgba(255,255,255,.1);color:#dcfce7;font-family:Consolas,'Courier New',monospace;font-size:.72rem}#settings-tab .field-optional{color:#94a3b8;font-size:.72rem;font-weight:400}.form-field input,.form-field select,.form-field textarea{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;background:#fff;color:#1f2937;transition:border-color .15s ease,box-shadow .15s ease}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:0;border-color:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.14)}.form-field input::placeholder,.form-field textarea::placeholder{color:#9ca3af}.form-field textarea{resize:vertical;min-height:60px}.form-field input[type=checkbox]{width:auto;margin-right:.5rem;accent-color:#10b981}.help-text{font-size:.75rem;color:#6b7280;margin-top:.375rem}.phone-hint{display:block;margin-top:3px;font-size:.72rem;color:#94a3b8;min-height:1em;line-height:1.3}.phone-hint.is-valid{color:#059669}.phone-hint.is-warn{color:#b45309}.autocomplete-wrapper{position:relative}.autocomplete-input{width:100%;padding:6px 10px;border:1px solid #ddd;border-radius:4px;font-size:.8125rem}.autocomplete-input:focus{border-color:#10b981;outline:0;box-shadow:0 0 0 2px rgba(16,185,129,.16)}.autocomplete-dropdown{position:fixed;max-height:420px;overflow-y:auto;background:#fff;border:1px solid #ddd;border-top:none;border-radius:0 0 6px 6px;box-shadow:0 4px 12px rgba(0,0,0,.15);z-index:10000}.autocomplete-dropdown.hidden{display:none}.layout-menu-dropdown.hidden{display:none}.layout-menu-item:hover{background:#ecfdf5}.autocomplete-group{padding:7px 10px;font-size:.92rem;font-weight:600;color:#f1f5f9;background:#334155;border-bottom:1px solid #1e293b;position:sticky;top:0;display:flex;align-items:center;gap:6px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI",system-ui,Inter,Roboto,Helvetica,Arial,sans-serif}.autocomplete-group.sub{padding:6px 10px 6px 18px;color:#334155;background:#f1f5f9;font-weight:500;font-size:.9rem;border-left:3px solid #475569;border-bottom-color:#e5e7eb}.autocomplete-group.uncategorized{box-shadow:inset 3px 0 0 #f59e0b}.autocomplete-item{padding:6px 14px 6px 22px;cursor:pointer;font-size:.9rem;border-bottom:1px solid #f3f4f6;display:flex;align-items:center;gap:6px;color:#1e293b;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI",system-ui,Inter,Roboto,Helvetica,Arial,sans-serif}.autocomplete-item.active,.autocomplete-item:hover{background:#f1f5f9}.autocomplete-item .item-name{flex:1}.autocomplete-item .item-badge{font-size:.68rem;padding:2px 6px;border-radius:3px;background:#cbd5e1;color:#1e293b;font-weight:600}.autocomplete-item .item-badge.system{background:#f1f5f9;color:#92400e}.autocomplete-empty{padding:14px;text-align:center;color:#94a3b8;font-size:.85rem;font-style:italic}#patient-search-dropdown{border:1px solid var(--patientsearch-dropdown-border)!important;border-top:0!important;border-radius:0 0 7px 7px!important;box-shadow:0 10px 22px var(--patientsearch-dropdown-shadow-drop),0 0 0 1px var(--patientsearch-dropdown-shadow-ring)!important;overflow:hidden}#patient-search-dropdown .autocomplete-item{color:var(--patientsearch-dropdown-item-text)!important;border-bottom:1px solid var(--patientsearch-dropdown-item-divider)!important;background:var(--patientsearch-dropdown-item-bg);transition:background 120ms ease,color 120ms ease,box-shadow 120ms ease;display:flex;align-items:center;gap:8px;padding:9px 12px;cursor:pointer}#patient-search-dropdown .autocomplete-item:last-child{border-bottom:0!important}#patient-search-dropdown .autocomplete-item .patient-ac-name{flex:1 1 auto;min-width:0;font-weight:600;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#patient-search-dropdown .autocomplete-item .patient-ac-age{flex:0 0 auto;font-size:.75rem;font-weight:700;color:var(--patientsearch-dropdown-item-strong-text,#047857);background:rgba(16,185,129,.13);padding:2px 9px;border-radius:999px;white-space:nowrap}#patient-search-dropdown .autocomplete-item .patient-ac-flag{flex:0 0 auto;font-size:.68rem;font-weight:600;color:#92400e;background:#f1f5f9;padding:1px 7px;border-radius:999px;white-space:nowrap}#patient-search-dropdown .autocomplete-item.active,#patient-search-dropdown .autocomplete-item:hover{background:var(--patientsearch-dropdown-item-active-bg)!important;color:var(--patientsearch-dropdown-item-active-text)!important;box-shadow:inset 3px 0 0 var(--patientsearch-dropdown-item-active-rail)}#patient-search-dropdown .autocomplete-item strong{color:var(--patientsearch-dropdown-item-strong-text)!important;font-weight:800}.data-section{background:var(--datasection-bg);padding:1.25rem 1.5rem;border-radius:10px;margin-bottom:1rem;border:1px solid var(--datasection-border);border-top:1px solid var(--datasection-border-top);box-shadow:0 2px 4px var(--datasection-shadow-drop),inset 0 1px 0 var(--datasection-shadow-inset)}.data-section h4{color:var(--datasection-h4-text);margin-bottom:1rem;font-size:.95rem;font-weight:600;padding-bottom:.75rem;border-bottom:1px solid var(--datasection-h4-border-bottom);display:flex;align-items:center;gap:.5rem;cursor:pointer;user-select:none}.data-section h4::before{content:'▼';font-size:.65rem;transition:transform .2s ease;color:var(--datasection-h4-chevron)}.data-section.collapsed h4{margin-bottom:0;padding-bottom:.75rem;border-bottom:1px solid #e2e8f0}.data-section.collapsed h4::before{transform:rotate(-90deg)}.data-section-content{transition:all .2s ease}.data-section.collapsed .data-section-content{display:none}.data-section h4::after{content:'';flex:1;height:1px;background:linear-gradient(90deg,var(--datasection-h4-decor-from) 0,transparent 100%);margin-left:.5rem}.medical-data-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.loc-city-suggestions{position:absolute;left:0;right:0;top:100%;background:#fff;border:1px solid #d1d5db;border-top:none;border-radius:0 0 6px 6px;box-shadow:0 4px 12px rgba(0,0,0,.08);z-index:50;max-height:240px;overflow-y:auto;font-size:.85rem}.loc-city-suggestions.hidden{display:none}.loc-city-suggestions .lcs-item{padding:7px 10px;cursor:pointer;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;gap:8px}.loc-city-suggestions .lcs-item.active,.loc-city-suggestions .lcs-item:hover{background:#ecfdf5}.loc-city-suggestions .lcs-uf{color:#6b7280;font-size:.78rem}.loc-city-suggestions .lcs-empty{padding:8px 10px;color:#9ca3af;font-size:.82rem;font-style:italic}#section-locations .loc-picker-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin:0 0 12px;padding:12px;border:1px solid #dbe3ef;border-radius:8px;background:linear-gradient(180deg,#fff 0,#f8fafc 100%);box-shadow:0 1px 2px rgba(15,23,42,.04)}#section-locations .loc-picker-main{display:flex;align-items:center;gap:12px;min-width:0}#section-locations .loc-picker-icon{width:42px;height:42px;border-radius:8px;border:1px solid #ccfbf1;background:#ecfeff;color:#0f766e;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}#section-locations .loc-picker-card.has-selection .loc-picker-icon{background:#ecfdf5;border-color:#a7f3d0;color:#047857}#section-locations .loc-picker-icon img{width:100%;height:100%;object-fit:contain;padding:4px;background:#fff}#section-locations .loc-picker-copy{flex:1;min-width:0}#section-locations .loc-picker-label{display:block;margin-bottom:5px;font-size:.72rem;font-weight:700;letter-spacing:.02em;color:#475569;text-transform:uppercase}#section-locations .loc-picker-select-wrap{position:relative}#section-locations #settings-location-select{width:100%;min-height:40px;padding:0 34px 0 12px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#0f172a;font-size:.88rem;font-weight:600;line-height:40px;appearance:none;-webkit-appearance:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.9);transition:border-color .15s,box-shadow .15s,background .15s}#section-locations #settings-location-select:hover{border-color:#94a3b8;background:#fdfefe}#section-locations #settings-location-select:focus{outline:0;border-color:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.16)}#section-locations .loc-picker-chevron{position:absolute;right:11px;top:50%;transform:translateY(-50%);color:#64748b;pointer-events:none}#section-locations .loc-picker-summary{margin-top:6px;min-height:16px;color:#64748b;font-size:.76rem;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#section-locations .loc-picker-card.has-selection .loc-picker-summary{color:#334155}#section-locations .loc-picker-card #loc-new-btn{min-height:40px;white-space:nowrap;align-self:center}@media (max-width:720px){#section-locations .loc-picker-card{grid-template-columns:1fr}#section-locations .loc-picker-card #loc-new-btn{width:100%}}#section-locations .loc-mode-banner{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:6px;margin:0 0 12px;font-size:.82rem;line-height:1.35}#section-locations .loc-mode-banner.loc-mode-new{background:#ecfdf5;border:1px solid #a7f3d0;color:#047857}#section-locations .loc-mode-banner.loc-mode-edit{background:#f1f5f9;border:1px solid #fde68a;color:#92400e}#section-locations .loc-mode-banner.loc-mode-saved{background:#d1fae5;border:1px solid #a7f3d0;color:#065f46}#section-locations .loc-mode-icon{font-size:1.05rem;font-weight:700;flex-shrink:0;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.6)}#section-locations .loc-mode-text{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}#section-locations .loc-mode-text strong{font-weight:700}#section-locations .loc-mode-text span{color:inherit;opacity:.85}#section-locations .loc-avatar-row{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #e5e7eb;border-radius:8px;background:#f8fafc;margin:0 0 12px}#section-locations .loc-avatar-preview{width:58px;height:58px;border-radius:50%;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1px solid #a7f3d0;color:#047857;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;overflow:hidden;flex-shrink:0}#section-locations .loc-avatar-preview img{width:100%;height:100%;object-fit:cover;display:block}#section-locations .loc-avatar-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}#section-locations .loc-avatar-title{font-size:.82rem;font-weight:700;color:#111827}#section-locations .loc-avatar-hint{font-size:.74rem;color:#64748b;line-height:1.35}#section-locations .loc-avatar-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:2px}#section-locations .loc-avatar-status{font-size:.76rem;color:#6b7280;min-height:1.1em}#section-locations .loc-avatar-status.ok{color:#047857}#section-locations .loc-avatar-status.err{color:#b91c1c}#section-locations .location-layout-default-card{margin:14px 0;padding:14px;border:1px solid #cbd5e1;border-left:3px solid #10b981;border-radius:9px;background:linear-gradient(180deg,#fff,#f8fafc)}#section-locations .location-layout-default-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}#section-locations .location-layout-default-heading h5{margin:0 0 3px;color:#1e293b;font-size:.88rem}#section-locations .location-layout-default-heading p{margin:0;color:#64748b;font-size:.76rem;line-height:1.4}#section-locations .location-layout-default-place{max-width:42%;padding:4px 8px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:.7rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#section-locations .location-layout-default-list{display:grid;gap:7px}#section-locations .location-layout-default-empty{padding:12px;border:1px dashed #cbd5e1;border-radius:7px;color:#64748b;font-size:.76rem;text-align:center}#section-locations .location-layout-default-row{display:grid;grid-template-columns:minmax(120px,0.42fr) minmax(250px,1fr);align-items:center;gap:12px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:7px;background:rgba(255,255,255,.82)}#section-locations .location-layout-default-row-label{color:#334155;font-size:.76rem;font-weight:750}#section-locations .location-layout-default-control{min-width:0}#section-locations .location-layout-default-row select{width:100%;min-height:36px;padding:0 9px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#0f172a;font-size:.8rem}#section-locations .location-layout-default-row select:focus{border-color:#10b981;outline:2px solid rgba(16,185,129,.14);outline-offset:1px}#section-locations .location-layout-default-row-status{display:block;min-height:1em;margin-top:4px;color:#64748b;font-size:.68rem}@media (max-width:720px){#section-locations .location-layout-default-heading{flex-direction:column}#section-locations .location-layout-default-place{max-width:100%}#section-locations .location-layout-default-row{grid-template-columns:1fr;gap:5px}}#section-locations .loc-cnes-cta{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:10px;margin:0 0 14px;background:linear-gradient(135deg,#047857 0,#059669 50%,#10b981 100%);color:#fff;box-shadow:0 6px 16px rgba(16,185,129,.25),0 2px 4px rgba(0,0,0,.05);position:relative;overflow:hidden;animation:locCnesPulse 2.4s ease-in-out infinite}#section-locations .loc-cnes-cta.hidden{display:none}@keyframes locCnesPulse{0%,100%{box-shadow:0 6px 16px rgba(16,185,129,.25),0 2px 4px rgba(0,0,0,.05)}50%{box-shadow:0 8px 22px rgba(16,185,129,.42),0 2px 6px rgba(0,0,0,.08)}}#section-locations .loc-cnes-cta::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 0 0,rgba(255,255,255,.18),transparent 60%)}#section-locations .loc-cnes-cta-icon{flex-shrink:0;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.2);display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.35)}#section-locations .loc-cnes-cta-text{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}#section-locations .loc-cnes-cta-text strong{font-size:.92rem;font-weight:700}#section-locations .loc-cnes-cta-text span{font-size:.78rem;line-height:1.4;color:rgba(255,255,255,.92)}#section-locations .loc-cnes-cta-btn{flex-shrink:0;background:#fff;color:#047857;border:none;padding:10px 16px;border-radius:8px;font-weight:700;font-size:.85rem;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.12);transition:transform .12s,box-shadow .12s,background .12s}#section-locations .loc-cnes-cta-btn:hover{transform:translateY(-1px);background:#f5f3ff;box-shadow:0 4px 10px rgba(0,0,0,.18)}#section-locations .loc-cnes-cta-btn:active{transform:translateY(0)}#cnes-workplace-confirmation{padding:14px;border:1px solid #a7f3d0;border-radius:8px;background:#ecfdf5;color:#064e3b;overflow-wrap:anywhere}#cnes-workplace-confirmation.hidden{display:none}#cnes-workplace-name{display:block;font-size:14px}#cnes-workplace-address,#cnes-workplace-warning{margin:6px 0;font-size:12px;line-height:1.5}#cnes-workplace-warning{color:#475569}#cnes-workplace-declaration-label{display:flex;align-items:flex-start;gap:8px;margin:12px 0;font-size:13px;line-height:1.5;cursor:pointer}#cnes-workplace-declaration{flex:0 0 auto;width:18px;height:18px;margin:1px 0 0}#cnes-workplace-confirm-btn{white-space:normal}#cnes-search-modal .cnes-result-card{border:1px solid #e5e7eb;border-radius:6px;padding:10px;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start;overflow-wrap:anywhere}@media (max-width:480px){#cnes-search-modal .cnes-result-card{grid-template-columns:minmax(0,1fr)}#cnes-workplace-confirm-btn{width:100%}}.auth-cnes-trigger{flex-shrink:0;background:linear-gradient(135deg,#047857 0,#059669 50%,#10b981 100%);color:#fff;border:none;padding:10px 16px;border-radius:8px;font-weight:700;font-size:.85rem;cursor:pointer;box-shadow:0 6px 16px rgba(79,70,229,.25),0 2px 4px rgba(0,0,0,.05);transition:transform .12s,box-shadow .12s,filter .12s;white-space:nowrap}.auth-cnes-trigger:hover{transform:translateY(-1px);filter:brightness(1.03);box-shadow:0 8px 22px rgba(124,58,237,.45),0 2px 6px rgba(0,0,0,.08)}.auth-cnes-trigger:active{transform:translateY(0)}@media (max-width:640px){#section-locations .loc-cnes-cta{flex-wrap:wrap}#section-locations .loc-cnes-cta-btn{width:100%}.auth-cnes-trigger{width:100%}}#patient-form-surface .medical-data-form{grid-template-columns:repeat(3,1fr);gap:.5rem .75rem}#patient-form-surface #patient-mrn[readonly]{background:#f3f4f6;color:#64748b;cursor:default}#patient-form-surface .form-field{margin-bottom:0}#patient-form-surface .form-field label{margin-bottom:.2rem;font-size:.75rem}#patient-form-surface .form-field input,#patient-form-surface .form-field select{padding:.35rem .6rem;font-size:.8125rem}#patient-form-surface .form-field.span-2{grid-column:span 2}#patient-form-surface .form-field.span-3{grid-column:span 3}#patient-form-surface .patient-photo-section{display:flex;align-items:center;gap:14px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}#patient-form-surface .patient-photo-avatar{width:72px;height:72px;flex:0 0 auto;border-radius:50%;overflow:hidden;background:#f1f5f9;border:1px solid #cbd5e1;display:flex;align-items:center;justify-content:center}#patient-form-surface .patient-photo-avatar img{width:100%;height:100%;object-fit:cover}#patient-form-surface .patient-photo-avatar .patient-photo-placeholder{width:100%;height:100%;object-fit:contain}#patient-form-surface .patient-photo-actions{display:flex;flex-direction:column;gap:6px;align-items:flex-start}#patient-form-surface .patient-photo-hint{font-size:11px;color:#64748b}#patient-form-surface .patient-phones-list{display:flex;flex-direction:column;gap:6px}#patient-form-surface .patient-phone-row{display:grid;gap:6px;align-items:center;grid-template-columns:minmax(130px,1.4fr) auto minmax(110px,0.9fr) minmax(120px,1.2fr) auto}#patient-form-surface .patient-phone-row input[type=tel],#patient-form-surface .patient-phone-row input[type=text],#patient-form-surface .patient-phone-row select{padding:.35rem .5rem;font-size:.8125rem}#patient-form-surface .patient-phone-row .pp-flags{display:flex;flex-wrap:wrap;gap:4px 10px;max-width:225px}#patient-form-surface .patient-phone-row .pp-mobile{display:inline-flex;align-items:center;gap:3px;font-size:.75rem;color:#475569;white-space:nowrap}#patient-form-surface .patient-phone-row .pp-remove{border:1px solid #fecaca;background:#fff;color:#b91c1c;width:26px;height:26px;border-radius:6px;cursor:pointer;font-size:16px;line-height:1}#patient-form-surface .patient-phone-row .pp-remove:hover{background:#fef2f2}@media (max-width:640px){#patient-form-surface .patient-phone-row{grid-template-columns:1fr 1fr}}.patient-ui-icon{width:1em;height:1em;flex:0 0 auto;vertical-align:-.14em;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}#csv-import-modal h2,#patient-category-modal h2,#patient-delete-modal h2,#patient-modal h2{display:flex;align-items:center;gap:8px}#patient-modal h2{font-size:1.1rem;margin-bottom:.5rem}#csv-import-modal .patient-ui-icon,#patient-category-modal .patient-ui-icon,#patient-delete-modal .patient-ui-icon,#patient-detail-tab .patient-ui-icon,#patient-modal h4 .patient-ui-icon{width:14px;height:14px}#csv-import-modal .btn .patient-ui-icon,#patient-detail-tab .btn .patient-ui-icon,#patient-detail-tab .pano-chip .patient-ui-icon,#patient-modal .btn .patient-ui-icon{width:13px;height:13px}#patient-form-surface .patient-label-action{padding:2px 6px;font-size:.75rem;display:inline-flex;align-items:center;gap:4px}#patient-modal .modal{position:relative}#patient-modal .patient-modal-close{position:absolute;top:12px;right:12px;width:32px;height:32px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#334155;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1;transition:background .15s,color .15s,border-color .15s,box-shadow .15s}#patient-modal .patient-modal-close .patient-ui-icon{width:16px;height:16px}#patient-modal .patient-modal-close:hover{background:#f1f5f9;color:#0f172a;border-color:#94a3b8;box-shadow:0 2px 8px rgba(15,23,42,.12)}#patient-modal .patient-modal-close:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(51,65,85,.16);border-color:#334155}.loading-overlay{position:fixed;top:auto;right:auto;left:50%;bottom:18px;transform:translateX(-50%);display:flex;flex-direction:row;align-items:center;gap:10px;min-height:38px;padding:9px 15px;border:1px solid rgba(110,231,183,.58);border-radius:10px;background:linear-gradient(180deg,rgba(51,65,85,.98) 0,rgba(30,41,59,.98) 100%);color:#dcfce7;box-shadow:0 10px 28px rgba(15,23,42,.34),0 0 0 1px rgba(16,185,129,.22),0 0 14px rgba(16,185,129,.2);backdrop-filter:blur(9px);z-index:9999;pointer-events:none;animation:loadingIndicatorIn 180ms ease-out both}.loading-overlay p{margin:0;color:#dcfce7;font-size:.8rem;font-weight:600;letter-spacing:.015em;text-shadow:0 0 7px rgba(134,239,172,.32)}.loading-spinner{width:19px;height:19px;flex:0 0 19px;border:2.5px solid rgba(203,213,225,.38);border-top-color:#6ee7b7;border-right-color:#10b981;border-radius:50%;filter:drop-shadow(0 0 4px rgba(110,231,183,.42));animation:spin .8s linear infinite}@keyframes loadingIndicatorIn{from{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%,0)}}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.loading-overlay{animation:none}.loading-spinner{animation-duration:1.4s}}.login-splash{position:fixed;inset:0;z-index:10003;display:flex;flex-direction:column;overflow:auto;background:#f8fafc;color:#1e293b;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease}.login-splash.visible{opacity:1;visibility:visible;pointer-events:all;transition:none}.login-splash.leaving{opacity:0;transition:opacity .18s ease,visibility .18s ease}.login-splash-top{display:flex;align-items:center;gap:10px;padding:16px 24px;background:#fff;border-bottom:1px solid #e2e8f0}.login-splash-logo{width:32px;height:32px}.login-splash-brand{font-size:1rem;font-weight:800;letter-spacing:.04em}.login-splash-brand .ls-composer{color:#047857}.login-splash-status{margin-left:auto;color:#475569;font-size:.8rem;display:flex;align-items:center;gap:8px}.login-splash-status::before{content:'';width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#10b981}.login-splash-inner{width:100%;max-width:1440px;box-sizing:border-box;margin:0 auto;padding:28px 24px}.login-splash-welcome{margin-bottom:18px;font-size:1.45rem;font-weight:600}.ls-skeleton{position:relative;overflow:hidden;background:#e2e8f0;border-radius:6px}.ls-skeleton::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);transform:translateX(-100%);animation:lsShimmer 1.8s ease-in-out infinite}.ls-line{height:12px;width:65%;margin-bottom:12px}.ls-line-short{width:34%}.ls-selectors{display:flex;gap:10px;margin-bottom:22px}.ls-selector{width:156px;height:48px}.ls-grid{display:grid;grid-template-columns:minmax(0,1.86fr) minmax(0,1fr);gap:12px}.ls-card{min-width:0;padding:22px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.ls-heading{margin:0 0 18px;color:#475569;font-size:.95rem;font-weight:600}.ls-context{display:grid;grid-template-columns:1fr 1.5fr;gap:12px;margin:24px 0}.ls-field{height:60px}.ls-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ls-action{height:64px}.ls-prompt{height:124px;margin:24px 0 16px}.ls-send{height:30px;width:76px;margin-left:auto}.ls-modules{margin-top:22px}.ls-module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ls-module{height:88px}@keyframes lsShimmer{to{transform:translateX(100%)}}@media (max-width:800px){.ls-grid{grid-template-columns:1fr}.ls-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:480px){.login-splash-top{flex-wrap:wrap;padding:14px 16px}.login-splash-status{width:100%;margin-left:0}.login-splash-inner{padding:22px 16px}.login-splash-welcome{font-size:1.2rem}.ls-card{padding:18px}.ls-selector{width:50%}.ls-context{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.ls-skeleton::after{animation:none;display:none}.login-splash,.login-splash.leaving{transition:none}}@media print{#login-splash{display:none!important}}.status-badge{padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500}.status-online{background:var(--connstatus-online-bg);color:var(--connstatus-online-text)}.status-offline{background:var(--connstatus-offline-bg);color:var(--connstatus-offline-text)}.status-syncing{background:rgba(245,158,11,.2);color:#fcd34d}.toast-container{position:fixed;bottom:1rem;right:1rem;z-index:2147483647;display:flex;flex-direction:column-reverse;gap:.5rem;pointer-events:none}.toast-container .toast{pointer-events:auto}.toast{padding:.875rem 1.25rem;border-radius:8px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.05);display:flex;align-items:center;gap:.625rem;animation:slideIn .3s ease;font-size:.875rem;color:#374151}.toast.success{border-left:4px solid #10b981;background:#f0fdf4}.toast.error{border-left:4px solid #ef4444;background:#fef2f2}.toast.warning{border-left:4px solid #f59e0b;background:#f8fafc}.toast.info{border-left:4px solid #10b981;background:#ecfdf5}@keyframes slideIn{from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(15,23,42,.62);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;z-index:9998}.modal{background:#fff;border-radius:8px;padding:1.75rem;width:100%;max-width:420px;border:1px solid #cbd5e1;box-shadow:0 24px 54px rgba(15,23,42,.24)}.modal h2{margin-bottom:1.5rem;color:#1e293b;text-align:center;letter-spacing:0}button .modal-ui-icon{width:16px;height:16px;flex:0 0 auto}.modal h2 .modal-ui-icon,.modal h3 .modal-ui-icon{width:18px;height:18px;flex:0 0 auto;color:#334155;vertical-align:-.15em}.modal-actions{display:flex;gap:1rem;margin-top:1.5rem}.modal-actions .btn{flex:1;justify-content:center}.modal .btn-primary,.modal-actions .btn-primary{background:linear-gradient(180deg,#334155 0,#1e293b 100%);border-color:#1e293b;color:#fff;box-shadow:0 2px 7px rgba(15,23,42,.16)}.modal .btn-primary:hover,.modal-actions .btn-primary:hover{background:linear-gradient(180deg,#1e293b 0,#0f172a 100%);border-color:#0f172a}.modal .btn-secondary,.modal-actions .btn-secondary{background:#047857;border-color:#047857;color:#fff}.modal .btn-secondary:hover,.modal-actions .btn-secondary:hover{background:#059669;border-color:#059669}.modal .btn-outline,.modal-actions .btn-outline{color:#334155;border-color:#cbd5e1;background:#fff}.modal .btn-outline:hover,.modal-actions .btn-outline:hover{color:#0f172a;border-color:#94a3b8;background:#f1f5f9}.modal .btn-danger,.modal-actions .btn-danger{background:#b91c1c;border-color:#991b1b;color:#fff;box-shadow:0 1px 2px rgba(185,28,28,.18)}.modal .btn-danger:hover,.modal-actions .btn-danger:hover{background:#991b1b;border-color:#7f1d1d}#auth-modal .modal{max-width:760px;max-height:92vh;overflow-y:auto}#auth-modal.auth-login .modal{max-width:420px}body.auth-locked>:not(#auth-modal):not(#account-recovery-modal):not(#mfa-modal):not(#mfa-challenge-modal):not(#loading-overlay):not(#login-splash):not(script):not(style){visibility:hidden!important}body.auth-locked>#account-recovery-modal,body.auth-locked>#auth-modal,body.auth-locked>#loading-overlay,body.auth-locked>#login-splash,body.auth-locked>#mfa-challenge-modal,body.auth-locked>#mfa-modal{visibility:visible!important}#auth-modal.auth-login .auth-grid{grid-template-columns:1fr}.auth-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 .75rem}.auth-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:0 .75rem}.auth-register-fields{display:none}#auth-modal.auth-register .auth-login-fields{display:none}#auth-modal.auth-register .auth-register-fields{display:block}#auth-modal.auth-register .auth-grid-3.auth-register-fields{display:grid}.auth-link-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-top:.875rem}.auth-link-btn{background:0 0;border:none;padding:0;color:#047857;font-size:.8125rem;font-weight:600;cursor:pointer}.auth-link-btn:hover{color:#059669;text-decoration:underline}.auth-context-note{margin-top:.875rem;padding:.75rem .875rem;border:1px solid #a7f3d0;background:#ecfdf5;color:#064e3b;border-radius:8px;font-size:.8125rem;line-height:1.45}.auth-login-note{margin-top:.625rem;line-height:1.45}.auth-span-2{grid-column:span 2}.auth-choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;margin-top:.25rem}.auth-choice{border:1px solid #d1d5db;border-radius:8px;padding:.75rem;cursor:pointer;background:#fff;font-size:.8125rem;color:#374151}.auth-choice:has(input:checked){border-color:#10b981;background:#ecfdf5}.auth-choice input{margin-right:.375rem;accent-color:#10b981}.auth-choice strong{display:block;margin-bottom:.25rem}.auth-choice span{display:block;color:#6b7280;font-size:.75rem;line-height:1.35}.auth-register-note{padding:.625rem .75rem;border:1px solid #a7f3d0;background:#ecfdf5;color:#047857;border-radius:8px;font-size:.8125rem;margin-bottom:.75rem}.pw-strength{margin-top:.375rem}.pw-strength-bar{height:6px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin-bottom:.25rem}.pw-strength-fill{height:100%;width:0%;transition:width .2s,background .2s;background:#ef4444}.pw-strength[data-score="1"] .pw-strength-fill{width:20%;background:#ef4444}.pw-strength[data-score="2"] .pw-strength-fill{width:40%;background:#f59e0b}.pw-strength[data-score="3"] .pw-strength-fill{width:60%;background:#eab308}.pw-strength[data-score="4"] .pw-strength-fill{width:80%;background:#22c55e}.pw-strength[data-score="5"] .pw-strength-fill{width:100%;background:#16a34a}.pw-strength-label{font-size:.75rem;font-weight:600;color:#6b7280;margin-bottom:.25rem}.pw-strength[data-score="1"] .pw-strength-label{color:#ef4444}.pw-strength[data-score="2"] .pw-strength-label{color:#f59e0b}.pw-strength[data-score="3"] .pw-strength-label{color:#ca8a04}.pw-strength[data-score="4"] .pw-strength-label,.pw-strength[data-score="5"] .pw-strength-label{color:#16a34a}.pw-strength-checks{list-style:none;padding:0;margin:.25rem 0 0;display:grid;grid-template-columns:1fr 1fr;gap:.125rem .5rem}.pw-strength-checks li{font-size:.7rem;color:#9ca3af;padding-left:1rem;position:relative;line-height:1.3}.pw-strength-checks li::before{content:"○";position:absolute;left:0;top:0;color:#9ca3af;font-weight:700}.pw-strength-checks li.ok{color:#16a34a}.pw-strength-checks li.ok::before{content:"✓";color:#16a34a}@media (max-width:720px){.auth-choice-grid,.auth-grid,.auth-grid-3{grid-template-columns:1fr}.auth-span-2{grid-column:span 1}#auth-modal .modal{width:calc(100vw - 1rem);padding:1.25rem}}#builder-canvas .builder-el[data-as-background=true]{pointer-events:none!important;user-select:none!important;outline:1px dashed rgba(245,158,11,.5);outline-offset:1px}#builder-canvas .builder-el[data-as-background=true]::before{content:"";position:absolute;top:2px;right:2px;width:18px;height:18px;background-color:rgba(255,255,255,.55);background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M65.877 57.503a4.234 4.234 0 0 1-4.234-4.234V26.102c0-4.669-3.799-8.468-8.468-8.468h-6.352c-4.669 0-8.468 3.799-8.468 8.468V53.27a4.234 4.234 0 1 1-8.468 0V26.102c0-9.338 7.597-16.935 16.935-16.935h6.352c9.338 0 16.935 7.597 16.935 16.935V53.27a4.23 4.23 0 0 1-4.232 4.233z' fill='%23333'/><path d='M71.875 87.563h-43.75a9.584 9.584 0 0 1-9.584-9.584V43.218a9.584 9.584 0 0 1 9.584-9.584h43.749a9.584 9.584 0 0 1 9.584 9.584v34.761c.001 5.293-4.29 9.584-9.583 9.584z' fill='%23f8b26a'/></svg>");background-size:70% 70%;background-position:center;background-repeat:no-repeat;border:1px solid rgba(248,178,106,.6);border-radius:50%;box-shadow:0 1px 2px rgba(0,0,0,.15);pointer-events:none;z-index:50;user-select:none;opacity:.5;transition:opacity .2s}#builder-canvas .builder-el[data-as-background=true]:hover::before{opacity:1}#builder-canvas.bg-edit-mode .builder-el[data-as-background=true]::before{opacity:.9;border-color:rgba(34,139,230,.9);box-shadow:0 0 0 2px rgba(34,139,230,.2),0 1px 3px rgba(0,0,0,.25)}#builder-canvas.bg-edit-mode .builder-el[data-as-background=true]{pointer-events:auto!important;user-select:auto!important;outline:2px dashed #f59e0b}#builder-canvas.bg-edit-mode .builder-el:not([data-as-background=true]){opacity:.3;pointer-events:none!important}#builder-toggle-bg-edit.active{background:#f59e0b;color:#fff;border-color:#f59e0b}#builder-canvas .builder-el{transition:filter .18s ease}#builder-canvas:not(.bld-editing) .builder-el{pointer-events:none!important;user-select:none!important;filter:blur(1.2px)}#builder-canvas:not(.bld-editing){cursor:default}.builder-palette[data-locked=true]{opacity:.4;pointer-events:none}#builder-preview-banner{position:absolute;top:12px;left:50%;transform:translateX(-50%);background:rgba(15,23,42,.92);color:#fff;padding:8px 14px 8px 12px;border-radius:8px;font-size:.78rem;font-weight:500;box-shadow:0 6px 20px rgba(0,0,0,.18);display:flex;align-items:center;gap:10px;z-index:200;backdrop-filter:blur(2px)}#builder-preview-banner.hidden{display:none}#builder-preview-banner.consolidated{background:rgba(49,46,129,.94)}#builder-preview-banner .bpb-icon{font-size:.95rem}#builder-preview-banner .bpb-text{white-space:nowrap}#builder-preview-banner .bpb-help{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:.68rem;font-weight:800;cursor:help}#builder-preview-banner button{background:#047857;color:#fff;border:none;border-radius:5px;padding:4px 10px;font-size:.72rem;font-weight:600;cursor:pointer;white-space:nowrap}#builder-preview-banner button:hover{background:#059669}#builder-canvas.bld-consolidated:not(.bld-editing) .builder-el{filter:none}.layout-preview-el[data-as-background=true]{pointer-events:none!important;user-select:none!important}.builder-container{display:grid;grid-template-columns:280px 1fr 300px;gap:12px;align-items:start}.builder-inspector,.builder-sidebar{background:#fff;border:1px solid #e9ecef;border-radius:8px;padding:10px}.builder-ui-icon{width:1em;height:1em;flex:0 0 auto;display:inline-block;vertical-align:-.14em}#bar-edit-layout .builder-ui-icon,#builder-tab .btn .builder-ui-icon,.layout-menu-item .builder-ui-icon{width:14px;height:14px}#bar-edit-layout .builder-ui-icon,#bpb-edit-btn .builder-ui-icon,#builder-tab .btn .builder-ui-icon,.builder-toolbar-row .builder-ui-icon{margin-right:4px}.builder-ctx-menu .ctx-icon .builder-ui-icon,.dim-lock .builder-ui-icon{width:14px;height:14px;margin:0}#builder-tab #builder-delete-layout .builder-ui-icon,#builder-tab #builder-rename-layout .builder-ui-icon{margin-right:0}.builder-ctx-menu .ctx-icon{display:inline-flex;align-items:center;justify-content:center}#builder-tab .builder-icon-label,#builder-tab .builder-inline-icon-row,#builder-tab .builder-section-title{display:inline-flex;align-items:center;gap:6px}.builder-doctype-binding{margin:6px 0 8px;border:1px solid #e2e8f0;border-radius:6px;padding:6px 8px;background:#f8fafc;font-size:.72rem}.builder-doctype-binding summary{cursor:pointer;user-select:none;font-weight:600;color:#475569;display:flex;align-items:center;gap:6px;padding:2px 0;list-style:none}.builder-doctype-binding summary::-webkit-details-marker{display:none}.builder-doctype-binding summary::before{content:'▸';color:#94a3b8;transition:transform .15s}.builder-doctype-binding[open] summary::before{transform:rotate(90deg)}.builder-doctype-binding[open] summary{margin-bottom:6px}.bdb-count{background:#cbd5e1;color:#475569;padding:1px 6px;border-radius:10px;font-size:.6rem;font-weight:600;margin-left:auto}.builder-doctype-binding[open] .bdb-count{background:#10b981;color:#fff}.bdb-help{font-size:.65rem;color:#64748b;margin:0 0 6px;line-height:1.35}.bdb-help strong{color:#1e293b}.bdb-label{display:block;font-size:.62rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#475569;margin:6px 0 2px}.bdb-select{width:100%;font-size:.7rem;padding:3px 4px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;color:#1e293b}.bdb-select:focus{outline:2px solid rgba(16,185,129,.36);outline-offset:-1px}.bdb-note{font-size:.6rem;color:#94a3b8;margin-top:4px;font-style:italic}.builder-inspector{position:sticky;top:82px;max-height:calc(100vh - 184px);max-height:calc(100dvh - 184px);overflow:hidden;padding:0;border-color:#dbe3ef;box-shadow:0 12px 32px rgba(15,23,42,.08);display:flex;flex-direction:column}.builder-layers-section{margin-bottom:8px;border:1px solid #e2e8f0;border-radius:6px;padding:6px 8px;background:#f8fafc}.builder-layers-section summary{cursor:pointer;user-select:none;font-size:.75rem;font-weight:600;color:#475569;display:flex;align-items:center;gap:6px;padding:2px 0}.builder-layers-section summary::-webkit-details-marker{color:#94a3b8}.builder-layers-section[open] summary{margin-bottom:6px}.layers-count-badge{background:#e2e8f0;color:#475569;padding:1px 6px;border-radius:10px;font-size:.65rem;font-weight:600}.builder-layers-help{font-size:.65rem;color:#94a3b8;margin:0 0 6px;padding:0 2px}.builder-layers-list{list-style:none;margin:0;padding:0;max-height:220px;overflow-y:auto}.builder-layer-item{display:flex;align-items:center;gap:6px;padding:4px 6px;border-radius:4px;cursor:pointer;font-size:.7rem;color:#334155;transition:background .1s}.builder-layer-item:hover{background:#e2e8f0}.builder-layer-item.is-selected{background:#ecfdf5;color:#047857;font-weight:600;box-shadow:inset 3px 0 0 #10b981}.builder-layer-item .layer-grip{color:#cbd5e1;cursor:grab;font-size:.85rem;line-height:1}.builder-layer-item.dragging{opacity:.4}.builder-layer-item .layer-type{font-family:ui-monospace,"SF Mono",Consolas,monospace;font-size:.65rem;color:#64748b;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.builder-layer-item .layer-pos{font-size:.6rem;color:#94a3b8}.builder-toolbar-row{display:flex;gap:4px;margin-bottom:8px;flex-wrap:wrap}.builder-inspector .builder-toolbar-row{margin:0;padding:8px 10px;border-bottom:1px solid #e2e8f0;background:#f8fafc;flex:0 0 auto}.builder-toolbar-row .btn-sm{padding:3px 8px;font-size:.7rem;line-height:1.2}.builder-json-modal-overlay{position:fixed;inset:0;background:rgba(15,23,42,.6);z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}.builder-json-modal{background:#fff;border-radius:8px;max-width:900px;width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 24px 54px rgba(15,23,42,.28);border:1px solid #cbd5e1;overflow:hidden}.builder-json-modal-head{padding:12px 16px;border-bottom:1px solid #1e293b;display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#0f172a 0,#1e293b 56%,#334155 100%);color:#fff}.builder-json-modal-head h3{margin:0;font-size:1rem;color:#fff;display:flex;align-items:center;gap:8px}.builder-json-modal-head .btn-outline{color:#e2e8f0;background:rgba(255,255,255,.08);border-color:rgba(226,232,240,.28)}.builder-json-modal-head .btn-outline:hover{color:#fff;background:rgba(241,245,249,.16);border-color:rgba(191,219,254,.48)}.builder-json-modal-head>span{color:#cbd5e1!important}.builder-json-tabs{display:flex;gap:4px;padding:8px 16px 0}.builder-json-tab-btn{padding:6px 12px;border:1px solid #e2e8f0;border-bottom:none;background:#f8fafc;cursor:pointer;border-radius:6px 6px 0 0;font-size:.8rem}.builder-json-tab-btn.is-active{background:#fff;border-color:#a7f3d0;color:#047857;box-shadow:inset 0 -3px 0 #10b981}.builder-json-modal-body{flex:1;overflow:auto;padding:12px 16px}.builder-json-pre{background:#1e293b;color:#e2e8f0;padding:12px;border-radius:6px;font-size:.75rem;line-height:1.45;font-family:ui-monospace,"SF Mono",Consolas,monospace;overflow:auto;max-height:60vh;margin:0;white-space:pre}.builder-json-modal-foot{padding:10px 16px;border-top:1px solid #e2e8f0;display:flex;gap:8px;justify-content:flex-end}.builder-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.builder-doc-type{font-size:.8rem;color:#6c757d}.builder-palette{display:flex;flex-direction:column;gap:2px;max-height:380px;overflow-y:auto;padding-right:4px}.palette-section{margin-bottom:4px}.palette-section-title{font-size:.7rem;font-weight:600;color:#475569;padding:4px 8px;border-radius:3px;cursor:pointer;user-select:none;display:flex;align-items:center;gap:4px;background:#f1f5f9;border-left:3px solid #94a3b8}.palette-section-title::before{content:'▾';font-size:.55rem;transition:transform .15s;color:#94a3b8}.palette-section.collapsed .palette-section-title::before{transform:rotate(-90deg)}.palette-section.collapsed .palette-section-items{display:none}.palette-section-items{padding:2px 0 2px 4px}.palette-section[data-cat=header] .palette-section-title{border-left-color:#6366f1}.palette-section[data-cat=content] .palette-section-title{border-left-color:#10b981}.palette-section[data-cat=text] .palette-section-title{border-left-color:#64748b}.palette-section[data-cat=input] .palette-section-title{border-left-color:#d97706}.palette-section[data-cat=special] .palette-section-title{border-left-color:#059669}.palette-section[data-cat=layout] .palette-section-title{border-left-color:#7c3aed}.palette-section[data-cat=media] .palette-section-title{border-left-color:#be185d}.palette-section[data-cat=forms] .palette-section-title{border-left-color:#dc2626}.palette-section[data-cat=custom] .palette-section-title{border-left-color:#0f766e}.palette-item{border:1px solid #e9ecef;padding:5px 8px;border-radius:4px;cursor:grab;background:#fff;font-size:.78rem;margin-bottom:2px;transition:all .1s}.palette-item:hover{background:#f8fafc;border-color:#cbd5e1}.palette-item:active{cursor:grabbing;background:#e2e8f0}#palette-hover-preview{position:fixed;display:none;z-index:5000;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 12px 28px rgba(15,23,42,.18);padding:8px;width:300px;pointer-events:none;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}#palette-hover-preview .php-frame{width:100%;height:150px;border:1px dashed #e2e8f0;background:linear-gradient(45deg,#f8fafc 25%,transparent 25%) 0 0/12px 12px,linear-gradient(-45deg,#f8fafc 25%,transparent 25%) 0 0/12px 12px,#fff;position:relative;overflow:hidden}#palette-hover-preview .php-stage{position:absolute;inset:6px}#palette-hover-preview .php-stage .builder-el{position:relative!important;left:0!important;top:0!important;outline:0!important;box-shadow:none!important}#palette-hover-preview .php-meta{margin-top:6px;font-size:11px;color:#475569;display:flex;justify-content:space-between;gap:8px}#palette-hover-preview .php-meta strong{color:#111827;font-weight:700}.builder-actions{display:flex;flex-direction:column;gap:6px;margin-top:10px}.builder-stage{display:flex;flex-direction:column;gap:8px;position:relative}.builder-empty-state{position:absolute;top:64px;right:0;bottom:0;left:0;background:rgba(255,255,255,.97);display:flex;align-items:flex-start;justify-content:center;padding-top:24px;z-index:100;text-align:center;border-radius:4px}.builder-empty-state.hidden{display:none}.builder-toolbar{background:#fff;border:1px solid #e9ecef;border-radius:8px;padding:8px;color:#6c757d;font-size:.85rem;text-align:center}.builder-canvas{position:relative;margin:0 auto;background:#fff;width:210mm;height:297mm;box-shadow:0 0 0 1px #e9ecef,0 10px 24px rgba(0,0,0,.06);overflow:hidden}.builder-el{position:absolute;min-width:24px;min-height:20px;cursor:move;user-select:none;z-index:1;box-sizing:border-box}.builder-el[data-wrapper-only=true]>:not(.el-drag-handle):not(.el-resize-handle):not(.el-resize-handle-tl){pointer-events:none;user-select:none}.builder-el[data-wrapper-only=true] [contenteditable=true]{pointer-events:none;user-select:none}.builder-el.el-type-hr{min-height:1px}.builder-el.el-type-vr{min-width:1px}.builder-el[contenteditable=true]:focus{outline:2px solid #339af0}.el-selected{outline:2px solid #228be6;box-shadow:0 0 0 3px rgba(34,139,230,.15);overflow:visible!important}.el-drag-handle{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);width:22px;height:22px;border-radius:50%;background:#228be6;border:2px solid #fff;color:#fff;display:none;align-items:center;justify-content:center;cursor:grab;z-index:9999;box-shadow:0 2px 8px rgba(15,30,46,.35);user-select:none;pointer-events:auto;touch-action:none;transition:background .15s,transform .1s}.el-drag-handle:hover{background:#1c7ed6}.el-drag-handle:active{cursor:grabbing;background:#1864ab;transform:translateX(-50%) scale(.95)}.el-selected>.el-drag-handle{display:flex}.el-drag-handle svg{width:12px;height:12px;display:block;pointer-events:none}.el-drag-handle::after{content:"";position:absolute;top:100%;left:50%;width:2px;height:6px;background:#228be6;transform:translateX(-50%);pointer-events:none}.el-resize-handle,.el-resize-handle-tl{position:absolute;width:22px;height:22px;border-radius:50%;background:#fff;border:2px solid #228be6;color:#228be6;display:none;align-items:center;justify-content:center;cursor:nwse-resize;z-index:9999;box-shadow:0 2px 8px rgba(15,30,46,.35);user-select:none;pointer-events:auto;touch-action:none;transition:background .15s,transform .1s}.el-resize-handle{bottom:-12px;right:-12px;cursor:nwse-resize}.el-resize-handle-tl{top:-12px;left:-12px;cursor:nwse-resize}.el-resize-handle-tl:hover,.el-resize-handle:hover{background:#e7f5ff}.el-resize-handle-tl:active,.el-resize-handle:active{background:#228be6;color:#fff;transform:scale(.95)}.el-selected>.el-resize-handle,.el-selected>.el-resize-handle-tl{display:flex}.el-resize-handle svg,.el-resize-handle-tl svg{width:11px;height:11px;display:block;pointer-events:none}.el-resize-handle-tl svg{transform:rotate(180deg)}.margin-guide{position:absolute;pointer-events:none;border:1px dashed var(--margin-guide-border);background:0 0;z-index:0}.layout-preview-wrapper{margin:0;flex:1;display:flex;flex-direction:column;overflow:auto;background:var(--layoutpreview-wrapper-bg);border-radius:8px;padding:.5rem;position:relative;scrollbar-color:#475569 #1e293b}.editor-mode-bar{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:6px 2px 8px;color:var(--editormode-bar-text);font-size:.78rem}.editor-mode-toggle{display:inline-flex;align-items:center;gap:7px;padding:5px 9px;border:1px solid var(--editormode-toggle-border);border-radius:999px;background:var(--editormode-toggle-bg);color:var(--editormode-toggle-text);font-weight:600;cursor:pointer;user-select:none}.editor-mode-toggle input{margin:0;accent-color:var(--editormode-toggle-accent)}.editor-mode-toggle small{color:var(--editormode-toggle-small-text);font-weight:500}.editor-multipage-wrapper{flex:1;min-height:0;display:none;overflow:hidden;border:1px solid var(--multipage-wrapper-border);border-radius:8px;background:var(--multipage-wrapper-bg)}.layout-preview-wrapper.multipage-mode{overflow:hidden}.layout-preview-wrapper.multipage-mode #editor-action-buttons,.layout-preview-wrapper.multipage-mode #editor-canvas-wrapper{display:none!important}.layout-preview-wrapper.multipage-mode #editor-multipage-wrapper{display:flex;flex-direction:column}.layout-preview-wrapper.multipage-mode #editor-multipage-host{flex:1;min-height:0;display:flex}.layout-preview-wrapper.multipage-mode #editor-multipage-wrapper .mpg-shell{flex:1;width:100%;height:auto;min-height:0}.layout-preview-canvas-wrapper{position:relative;width:fit-content;margin:0 auto;overflow:visible}.layout-preview-canvas{position:relative;background:var(--canvas-page-bg);width:210mm;height:297mm;margin:0;box-shadow:0 0 0 1px var(--canvas-page-ring),0 2px 6px var(--canvas-page-edge),0 14px 34px var(--canvas-page-shadow);overflow:hidden;flex-shrink:0;border-radius:4px;transition:filter .18s ease}.signed-pdf-preview{position:absolute;inset:0;z-index:80;background:var(--signedpreview-bg);border-radius:4px;overflow:hidden;box-shadow:0 0 0 1px var(--signedpreview-ring),0 10px 30px var(--signedpreview-shadow)}.signed-pdf-preview-frame{display:block;width:100%;height:100%;border:0;background:#fff}.layout-preview-wrapper:has(#null-doc-overlay:not(.hidden)) #editor-medtext-toolbar-mount>:not(#paper-layout-group){display:none}#null-doc-overlay{background:0 0!important;border:none!important;box-shadow:none!important}#null-doc-overlay:not([data-null-variant]){width:var(--null-doc-page-width,100%);height:var(--null-doc-page-height,100%);box-sizing:border-box;transform:scale(var(--editor-canvas-zoom,1));transform-origin:top left}#null-doc-overlay[data-null-mode=canvas]{border:2px solid rgba(16,185,129,.45)!important;box-shadow:inset 0 0 0 1px rgba(16,185,129,.14),0 0 18px rgba(16,185,129,.18)!important;border-radius:4px}#null-doc-medtext-ring{position:absolute;display:none;pointer-events:none;border:0;box-shadow:none}#null-doc-overlay[data-null-mode=medtext]{padding-top:0!important}#null-doc-overlay[data-null-mode=medtext] #null-doc-card{position:absolute}#null-doc-overlay[data-null-variant]{padding-top:0!important;align-items:stretch!important;justify-content:stretch!important;gap:0!important}#null-doc-overlay[data-null-variant] #null-doc-card,#null-doc-overlay[data-null-variant] #null-doc-medtext-ring{display:none!important}.null-canvas-picker{display:flex;flex-direction:column;flex:1;min-height:0;background:rgba(255,255,255,.97);border-radius:4px;overflow:hidden}.null-canvas-picker.hidden{display:none!important}.null-canvas-picker-head{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#0f172a 0,#1e293b 56%,#334155 100%);color:#fff}.null-canvas-picker-title{font-size:12.5px;font-weight:700;flex:1;display:flex;align-items:center;gap:7px}.null-canvas-picker-title svg{width:15px;height:15px;flex:0 0 auto}.null-canvas-picker-more{font:inherit;font-size:11px;padding:4px 10px;border-radius:6px;cursor:pointer;background:rgba(255,255,255,.12);border:1px solid rgba(226,232,240,.22);color:#fff}.null-canvas-picker-more:hover{background:rgba(241,245,249,.16);border-color:rgba(167,243,208,.58)}.null-canvas-picker-close{width:26px;height:26px;flex:0 0 auto;padding:0;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.12);border:1px solid rgba(226,232,240,.22);border-radius:7px;color:#fff}.null-canvas-picker-close.hidden{display:none!important}.null-canvas-picker-close:hover{background:rgba(241,245,249,.16);border-color:rgba(167,243,208,.58)}.null-canvas-picker-close svg{width:14px;height:14px}#null-doc-layout-estante>.null-canvas-picker-head{flex-wrap:wrap}#null-doc-layout-estante-navigation{display:flex;align-items:center;flex-wrap:wrap;gap:6px;flex:1 0 100%;min-width:0}#null-doc-layout-estante-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:2px;flex:1 1 420px;min-width:0}.null-estante-doctype-tab{min-height:30px;padding:5px 8px;border:0;border-bottom:2px solid transparent;background:0 0;color:#cbd5e1;font:inherit;font-size:11.5px;font-weight:600;cursor:pointer;white-space:nowrap}.null-estante-doctype-tab:hover{color:#fff;background:rgba(255,255,255,.08)}.null-estante-doctype-tab[aria-selected=true]{color:#fff;border-bottom-color:#34d399;background:rgba(16,185,129,.12)}#null-doc-layout-talonarios:focus-visible,.null-estante-doctype-tab:focus-visible{outline:2px solid #6ee7b7;outline-offset:-2px}#null-doc-layout-talonarios{min-height:30px;max-width:170px;padding:4px 6px;border-radius:5px;border:1px solid rgba(226,232,240,.25);background:#263449;color:#fff;font:inherit;font-size:11.5px;cursor:pointer}#null-doc-layout-talonarios option{background:#fff;color:#0f172a}.null-canvas-picker-body{flex:1;min-height:0;overflow-y:auto;padding:10px 14px 16px}#null-doc-forms-library .fl-form-card-origin,#null-doc-forms-library .fl-form-card-version,#null-doc-layout-estante .le-card-meta{display:none!important}@media (hover:hover){#null-doc-forms-library .fl-form-card-actions,#null-doc-layout-estante .le-card-actions{opacity:0;pointer-events:none;transition:opacity .12s ease}#null-doc-forms-library .fl-form-card:focus-within .fl-form-card-actions,#null-doc-forms-library .fl-form-card:hover .fl-form-card-actions,#null-doc-layout-estante .le-card:focus-within .le-card-actions,#null-doc-layout-estante .le-card:hover .le-card-actions{opacity:1;pointer-events:auto}}.estante-launcher.is-active{background:var(--emerald-600,#059669);border-color:var(--emerald-600,#059669);color:#fff;box-shadow:0 0 0 2px rgba(16,185,129,.18)}.estante-launcher.is-active:hover{background:var(--emerald-700,#047857);color:#fff}#null-doc-card{display:flex;justify-content:center;width:max-content;max-width:calc(100% - 32px);box-sizing:border-box;padding:0;text-align:center;background:0 0;border:0;border-radius:0;box-shadow:none}#editor-empty-icon-svg{flex:0 0 16px;color:currentColor;opacity:.7}#null-doc-content{min-width:0;max-width:100%;box-sizing:border-box;padding:14px 20px;background:var(--null-doc-content-bg);border:1px solid var(--null-doc-content-border);border-radius:12px;box-shadow:0 8px 24px var(--null-doc-content-shadow),inset 0 1px 0 rgba(255,255,255,.85);-webkit-backdrop-filter:blur(10px) saturate(120%);backdrop-filter:blur(10px) saturate(120%)}#null-doc-title{position:relative;font:inherit}#null-doc-description{position:relative;width:fit-content;max-width:100%;margin:8px auto 0;color:#788493;font-size:12px;font-weight:400;line-height:1.5}#null-doc-description::after,#null-doc-title::after{content:'';position:absolute;left:0;right:0;bottom:-3px;height:2px;border-radius:999px;pointer-events:none;background:var(--null-doc-underline-color);box-shadow:0 0 6px var(--null-doc-underline-glow);transform-origin:left center;opacity:.65}#null-doc-description::after{height:1px}@keyframes nullDocUnderlineSweep{0%,8%{transform:scaleX(0);opacity:0}28%,62%{transform:scaleX(1);opacity:.8}100%,78%{transform:scaleX(1);opacity:0}}@media screen and (prefers-reduced-motion:no-preference){#null-doc-description::after,#null-doc-title::after{animation:nullDocUnderlineSweep 5.8s ease-in-out infinite}#null-doc-description::after{animation-delay:.45s}#null-doc-content:is(:hover,:focus-within) :is(#null-doc-title,#null-doc-description)::after{animation:none}}#null-doc-actions{display:flex;justify-content:center;align-items:center}#null-doc-new-document{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:32px;padding:3px 0;border:0;border-bottom:1px solid transparent;border-radius:0;background:0 0;color:#475569;box-shadow:none;font:inherit;font-size:14px;font-weight:500;line-height:1.4;cursor:pointer}#null-doc-new-document:hover{color:#047857}#null-doc-new-document:focus-visible{outline:2px solid #10b981;outline-offset:3px}#null-doc-shortcut{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media (pointer:coarse){#null-doc-new-document{min-height:44px}}#editor-canvas-wrapper[data-doc-state=null] .medtext-drag-handle{visibility:hidden}body:not(.medtext-edit-glow-off) #editor-canvas-wrapper[data-doc-state=drafted] .layout-preview-el.type-medtext-editor,body:not(.medtext-edit-glow-off) #editor-canvas-wrapper[data-doc-state=empty] .layout-preview-el.type-medtext-editor,body:not(.medtext-edit-glow-off) #editor-canvas-wrapper[data-doc-state=null] .layout-preview-el.type-medtext-editor{box-shadow:none;outline:1px dotted rgba(16,185,129,.55);outline-offset:-1px;border-radius:8px;transition:box-shadow .18s ease}@media print{body:not(.medtext-glow-print) #editor-canvas-wrapper .layout-preview-el.type-medtext-editor{box-shadow:none!important;outline:0!important}}.doc-state-badge{font-size:.68rem;font-weight:600;padding:2px 10px;border-radius:12px;pointer-events:none}.doc-state-badge.state-null{display:none}.doc-state-badge.state-empty{background:var(--docstate-empty-bg);color:var(--docstate-empty-text)}.doc-state-badge.state-drafted{background:var(--docstate-drafted-bg);color:var(--docstate-drafted-text)}.doc-state-badge.state-signed{background:var(--docstate-signed-bg);color:var(--docstate-signed-text)}.doc-state-badge.state-issued{background:var(--slate-200,#e2e8f0);color:var(--slate-600,#475569)}.stdtext-update-badge{display:inline-flex;align-items:center;gap:6px;font-size:.68rem;font-weight:600;padding:2px 10px;border-radius:12px;border:1px solid transparent;box-shadow:0 1px 2px var(--stdtextbadge-shadow);transition:background-color 120ms ease,transform 120ms ease,border-color 120ms ease;max-width:60%}.stdtext-update-badge[data-state=loaded]{background:var(--stdtextbadge-loaded-bg);color:var(--stdtextbadge-loaded-text);border-color:var(--stdtextbadge-loaded-border);cursor:default}.stdtext-update-badge[data-state=loaded]:hover{background:var(--stdtextbadge-loaded-hover-bg);transform:none}.stdtext-update-badge[data-state=loaded] .icon-diverged{display:none}.stdtext-update-badge[data-state=diverged]{background:var(--stdtextbadge-diverged-bg);color:var(--stdtextbadge-diverged-text);border-color:var(--stdtextbadge-diverged-border);cursor:pointer}.stdtext-update-badge[data-state=diverged]:hover{background:var(--stdtextbadge-diverged-hover-bg);transform:translateY(-1px)}.stdtext-update-badge[data-state=diverged]:active{transform:translateY(0)}.stdtext-update-badge[data-state=diverged] .icon-loaded{display:none}.stdtext-update-badge[data-state=unsaved]{background:var(--stdtextbadge-unsaved-bg);color:var(--stdtextbadge-unsaved-text);border-color:var(--stdtextbadge-unsaved-border);cursor:pointer}.stdtext-update-badge[data-state=unsaved]:hover{background:var(--stdtextbadge-unsaved-hover-bg);transform:translateY(-1px)}.stdtext-update-badge[data-state=unsaved]:active{transform:translateY(0)}.stdtext-update-badge[data-state=unsaved] .icon-diverged,.stdtext-update-badge[data-state=unsaved] .icon-loaded{display:none}.stdtext-update-badge:not([data-state=unsaved]) .icon-unsaved{display:none}.stdtext-update-badge.hidden{display:none}.stdtext-update-badge svg{flex:0 0 auto}.stdtext-update-badge-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}.canvas-status-strip{display:flex;align-items:center;padding:2px;box-sizing:border-box;pointer-events:none;width:100%;min-height:24px;position:relative}.canvas-status-strip>*{pointer-events:auto}.canvas-status-strip .doc-state-badge{margin-left:auto}.sncr-chip{display:inline-flex;align-items:center;gap:4px;margin-left:4px;padding:2px 6px;min-height:18px;font-size:.65rem;font-weight:500;line-height:1.3;letter-spacing:0;border-radius:6px;cursor:pointer;user-select:none;border:1px solid var(--slate-200);background:var(--slate-50);color:var(--slate-500);box-shadow:none;text-shadow:none;transition:background .15s,border-color .15s,color .15s;font-family:inherit}.sncr-chip svg{width:10px;height:10px;flex:none;stroke-width:1.8}.sncr-chip:hover{background:var(--slate-100);border-color:var(--slate-300)}.sncr-chip:focus-visible{outline:2px solid var(--emerald-500);outline-offset:2px}.sncr-chip.hidden{display:none}#editor-canvas-wrapper #sncr-balance-chip{zoom:var(--editor-canvas-zoom,1)}.sncr-chip[data-state=ok]{color:var(--emerald-700);border-color:var(--slate-200)}.sncr-chip[data-state=ok] svg{color:var(--emerald-600)}.sncr-chip[data-state=ok]:hover{background:var(--emerald-50,#ecfdf5);border-color:var(--emerald-300)}.sncr-chip[data-state=awaiting],.sncr-chip[data-state=empty]{color:#92400e;border-color:#fde68a}.sncr-chip[data-state=awaiting]:hover,.sncr-chip[data-state=empty]:hover{background:#fffbeb}.sncr-chip[data-state=loading]{opacity:.65}.sncr-awaiting-banner{display:flex;gap:10px;align-items:flex-start;margin:10px 0 12px;padding:10px 12px;border-radius:8px;background:#fffbeb;border:1px solid #fde68a;border-left:4px solid #f59e0b;color:#92400e;font-size:.84rem;line-height:1.4}.sncr-awaiting-banner svg{flex:none;margin-top:1px;color:#d97706}.sncr-awaiting-banner strong{display:block;color:#78350f}.sncr-awaiting-pill{display:inline-block;margin-left:6px;padding:0 7px;font-size:.6rem;font-weight:800;letter-spacing:.03em;line-height:1.6;border-radius:999px;background:#fef3c7;color:#92400e;border:1px solid #fde68a;vertical-align:1px}#settings-nav-sncr-awaiting[hidden],#sncr-awaiting-banner[hidden]{display:none!important}.sncr-env-badge{display:inline-block;margin-left:8px;padding:1px 8px;font-size:.62rem;font-weight:800;letter-spacing:.06em;border-radius:999px;vertical-align:2px}#section-sncr-prefs [hidden],#settings-nav-sncr[hidden]{display:none!important}.sncr-env-badge[data-env=homologacao]{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.sncr-env-badge[data-env=producao]{background:#d1fae5;color:#065f46;border:1px solid #6ee7b7}.sncr-warn{margin:10px 0;padding:9px 12px;border-radius:8px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;font-size:.82rem}.sncr-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}.sncr-prof-label{font-size:.85rem;color:#475569}.sncr-kind-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin:6px 0 18px}.sncr-kind-card{display:flex;align-items:center;gap:12px;padding:10px 13px;min-height:64px;position:relative;background:var(--hub-module-bg,#fff);border:1px solid var(--hub-module-border,#e2e8f0);border-radius:8px;cursor:pointer;text-align:left;transition:all .15s ease;font-family:inherit}.sncr-kind-card:hover{border-color:var(--hub-module-hover-border,#cbd5e1);background:var(--hub-module-hover-bg,#f8fafc);transform:translateY(-1px);box-shadow:0 3px 10px rgba(15,23,42,.08),inset 3px 0 0 #10b981}.sncr-kind-card .sncr-kind-art{flex-shrink:0}.sncr-kind-card .sncr-kind-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.sncr-kind-sigla{font-size:.68rem;font-weight:800;letter-spacing:.06em;color:#64748b}.sncr-kind-nome{font-size:.84rem;font-weight:600;color:var(--hub-modulelabel-text,#1e293b);line-height:1.2;letter-spacing:-.01em}.sncr-kind-sub{font-size:.7rem;color:var(--hub-modulesub-text,#64748b);line-height:1.25}.sncr-kind-saldo{flex-shrink:0;text-align:right;display:flex;flex-direction:column;align-items:flex-end}.sncr-kind-saldo .sncr-kind-free{font-size:1.3rem;font-weight:800;line-height:1.1;color:#94a3b8}.sncr-kind-card[data-has="1"] .sncr-kind-free{color:#059669;text-shadow:0 0 10px rgba(134,239,172,.55)}.sncr-kind-saldo .sncr-kind-freelabel{font-size:.6rem;color:#94a3b8;letter-spacing:.04em;text-transform:uppercase}.sncr-kind-saldo .sncr-kind-usados{font-size:.64rem;color:#94a3b8;margin-top:2px}.sncr-kind-card[data-has="1"]{border-color:rgba(16,185,129,.45)}.sncr-lotes-grid{display:flex;flex-direction:column;gap:8px;margin:6px 0 18px}.sncr-lote-card{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:10px 14px;background:var(--hub-card-bg,#fff);border:1px solid var(--hub-card-border,#e2e8f0);border-radius:8px;box-shadow:0 1px 2px rgba(15,23,42,.05)}.sncr-lote-kind{flex-shrink:0;width:46px;text-align:center;font-size:.7rem;font-weight:800;letter-spacing:.04em;padding:4px 0;border-radius:7px;color:#334155;background:#f1f5f9;border-top:3px solid var(--sncr-lote-cor,#94a3b8)}.sncr-lote-main{flex:1;min-width:220px}.sncr-lote-range{font-family:ui-monospace,Consolas,monospace;font-size:.8rem;font-weight:700;color:#334155;letter-spacing:.03em}.sncr-lote-meta{font-size:.68rem;color:#94a3b8;margin-top:2px}.sncr-lote-progress{flex-shrink:0;width:180px}.sncr-lote-bar{height:6px;border-radius:999px;background:#e2e8f0;overflow:hidden;display:flex}.sncr-lote-bar .seg-used{background:linear-gradient(90deg,#1e293b,#334155);box-shadow:0 0 6px rgba(134,239,172,.4)}.sncr-lote-bar .seg-void{background:#fca5a5}.sncr-lote-progress .sncr-lote-nums{font-size:.64rem;color:#64748b;margin-top:3px;text-align:right}.sncr-empty-note{padding:14px 8px;text-align:center;font-size:.78rem;color:#94a3b8}.sncr-fetch-panel{border:1px solid #cbd5e1;border-radius:12px;padding:14px;background:#f8fafc;margin:0 0 16px;display:none}.sncr-fetch-panel.open{display:block}.sncr-fetch-row{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.sncr-fetch-row label{display:block;font-size:.72rem;font-weight:700;color:#475569;margin-bottom:3px}.sncr-fetch-row input,.sncr-fetch-row select{padding:6px 9px;border:1px solid #cbd5e1;border-radius:8px;font-size:.85rem;background:#fff}.sncr-fetch-hint{font-size:.75rem;color:#64748b;margin-top:8px}.sncr-subhead{margin:14px 0 6px;font-size:.92rem;color:#334155}.sncr-pool-filters{display:flex;gap:8px;margin-bottom:8px}.sncr-pool-filters select{padding:4px 8px;border:1px solid #cbd5e1;border-radius:8px;font-size:.8rem;background:#fff}.sncr-pool-table-wrap{overflow-x:auto;border:1px solid #e2e8f0;border-radius:10px}.sncr-pool-table{width:100%;border-collapse:collapse;font-size:.8rem}.sncr-pool-table th{text-align:left;padding:7px 10px;background:#f1f5f9;color:#475569;font-size:.68rem;letter-spacing:.04em;text-transform:uppercase}.sncr-pool-table td{padding:6px 10px;border-top:1px solid #f1f5f9;color:#334155}.sncr-pool-table td.sncr-num{font-family:ui-monospace,Consolas,monospace;font-weight:700;letter-spacing:.04em}.sncr-status-pill{display:inline-block;padding:1px 8px;border-radius:999px;font-size:.66rem;font-weight:700}.sncr-status-pill[data-s=free]{background:#d1fae5;color:#065f46}.sncr-status-pill[data-s=used]{background:#e2e8f0;color:#475569}.sncr-status-pill[data-s=voided]{background:#fee2e2;color:#991b1b}.sncr-void-btn{border:1px solid #e2e8f0;background:#fff;color:#94a3b8;border-radius:7px;font-size:.66rem;padding:2px 7px;cursor:pointer}.sncr-void-btn:hover{color:#dc2626;border-color:#fecaca}.sncr-pool-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:8px;font-size:.75rem;color:#64748b}.sncr-pager-size select{padding:2px 6px;border:1px solid #cbd5e1;border-radius:7px;font-size:.75rem;background:#fff;margin-left:4px}.sncr-pager-nav{display:inline-flex;align-items:center;gap:8px}.sncr-pager-nav button{width:26px;height:26px;border-radius:7px;border:1px solid #cbd5e1;background:#fff;color:#475569;font-size:.9rem;cursor:pointer;line-height:1}.sncr-pager-nav button:hover:not(:disabled){background:#f1f5f9}.sncr-pager-nav button:disabled{opacity:.4;cursor:default}.sncr-next-chip{display:inline-block;margin-left:8px;padding:0 7px;border-radius:999px;font-size:.6rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;background:linear-gradient(180deg,#1e293b,#334155);color:#6ee7b7;box-shadow:0 0 0 1px rgba(16,185,129,.42),0 0 6px rgba(134,239,172,.4);vertical-align:1px}.sncr-kind-quota{font-size:.66rem;margin-top:2px;color:#64748b}.sncr-kind-quota[data-warn=amber]{color:#b45309;font-weight:700}.sncr-kind-quota[data-warn=red]{color:#b91c1c;font-weight:700}.canvas-combo-toolbar{display:flex;gap:8px;align-items:center;padding:4px 10px;background:var(--combotoolbar-bg);border:1px solid var(--combotoolbar-border);border-radius:8px;font-size:.78rem;box-shadow:inset 0 1px 0 var(--combotoolbar-inset),0 2px 8px rgba(15,23,42,.06)}.canvas-combo-toolbar.hidden{display:none}.canvas-combo-toolbar .combo-toolbar-label{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:600;letter-spacing:.01em;color:var(--combotoolbar-label-color);white-space:nowrap}.canvas-combo-toolbar .combo-toolbar-label svg{flex:none}.canvas-combo-toolbar .combo-apply-select{height:26px;min-width:190px;max-width:260px;padding:0 26px 0 9px;font-size:.78rem;font-weight:500;color:var(--combotoolbar-select-text);background:var(--combotoolbar-select-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 7px center/13px 13px;border:1px solid var(--combotoolbar-select-border);border-radius:6px;appearance:none;-webkit-appearance:none;cursor:pointer;text-overflow:ellipsis;transition:border-color 160ms,box-shadow 160ms}.canvas-combo-toolbar .combo-apply-select:hover{border-color:var(--combotoolbar-select-border-hover)}.canvas-combo-toolbar .combo-apply-select:focus-visible{outline:0;border-color:var(--combotoolbar-select-focus);box-shadow:0 0 0 2px var(--combotoolbar-focus-ring)}.canvas-combo-toolbar .combo-toolbar-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:26px;padding:0 10px;font-size:.74rem;font-weight:600;line-height:1;color:var(--combotoolbar-btn-text);background:var(--combotoolbar-btn-bg);border:1px solid var(--combotoolbar-btn-border);border-radius:6px;cursor:pointer;white-space:nowrap;transition:background 160ms,border-color 160ms,color 160ms,box-shadow 160ms}.canvas-combo-toolbar .combo-toolbar-btn svg{flex:none}.canvas-combo-toolbar .combo-toolbar-btn:hover{background:var(--combotoolbar-btn-hover-bg);border-color:var(--combotoolbar-btn-hover-border);color:var(--navy-900)}.canvas-combo-toolbar .combo-toolbar-btn:focus-visible{outline:0;box-shadow:0 0 0 2px var(--combotoolbar-focus-ring)}.canvas-combo-toolbar .combo-toolbar-btn--save{width:28px;padding:0;color:#fff;background:var(--combotoolbar-save-bg);border-color:var(--combotoolbar-save-border);box-shadow:inset 0 1px 0 rgba(255,255,255,.28)}.canvas-combo-toolbar .combo-toolbar-btn--save:hover{color:#fff;background:var(--combotoolbar-save-hover-bg);border-color:var(--combotoolbar-save-border);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),var(--combotoolbar-save-glow)}#editor-umbrella-mount{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}#editor-umbrella-mount>#umbrella-form-selector-group{order:1}#editor-umbrella-mount>#canvas-combo-toolbar-slot{order:2;margin:0 0 8px;max-width:100%;min-width:0;flex-wrap:wrap}:root{--editor-canvas-zoom:1}.layout-preview-canvas{transform:scale(var(--editor-canvas-zoom,1));transform-origin:top left}@media (prefers-reduced-motion:no-preference){html.canvas-zoom-smooth #null-doc-overlay:not([data-null-variant]),html.canvas-zoom-smooth .layout-preview-canvas{transition:transform 90ms ease-out}html.canvas-zoom-smooth #editor-canvas-wrapper{transition:width 90ms ease-out,height 90ms ease-out,min-width 90ms ease-out,min-height 90ms ease-out}html.canvas-zoom-auto-smooth #null-doc-overlay:not([data-null-variant]),html.canvas-zoom-auto-smooth .layout-preview-canvas{transition:transform 220ms ease-in-out}html.canvas-zoom-auto-smooth #editor-canvas-wrapper{transition:width 220ms ease-in-out,height 220ms ease-in-out,min-width 220ms ease-in-out,min-height 220ms ease-in-out}}.canvas-zoom-controls{display:inline-flex;align-items:center;gap:2px;padding:1px 3px;background:var(--zoomctrl-bg);border:1px solid var(--zoomctrl-border);border-radius:4px;font-size:.72rem}#canvas-zoom-controls{gap:4px;flex-shrink:0}#doctype-dropdown .doctype-tabs-wrap>.canvas-zoom-controls{margin-left:auto;align-self:center}#doctype-layout-bar:not([data-host=editor]) .canvas-zoom-controls{display:none}#canvas-zoom-slider{width:100px;min-width:60px;height:24px;margin:0;accent-color:var(--zoomctrl-slider-accent);cursor:pointer}#canvas-zoom-controls .zoom-level{cursor:default}#canvas-zoom-controls .zoom-level:hover{background:0 0}#canvas-zoom-controls button{width:24px;height:24px}#canvas-zoom-controls button svg{width:16px;height:16px}#canvas-zoom-controls #canvas-zoom-auto{width:auto;padding:0 8px;font-size:.7rem;font-weight:600}#canvas-zoom-controls #canvas-zoom-auto[aria-pressed=true]{color:var(--emerald-700);background:var(--emerald-100);border-color:var(--emerald-500)}#canvas-zoom-controls :focus-visible{outline:2px solid var(--zoomctrl-slider-accent);outline-offset:2px}.layout-preview-wrapper>.canvas-zoom-controls{order:-1;align-self:flex-end;margin-bottom:8px}.floating-action-bar .canvas-zoom-controls{display:flex;flex-direction:column;align-items:flex-end;gap:4px;padding:8px 0 0;margin-top:4px;background:0 0;border:0;border-top:1px dashed var(--slate-300);border-radius:0}.floating-action-bar .canvas-zoom-controls button{width:29px;height:29px;padding:0;border-radius:50%;border:1px solid var(--fab-border);background:var(--fab-bg);color:var(--fab-text);box-shadow:0 1px 5px var(--fab-shadow);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color 150ms ease,color 150ms ease,border-color 150ms ease,transform 150ms ease,box-shadow 150ms ease}.floating-action-bar .canvas-zoom-controls button:hover{background:var(--fab-hover-bg);color:var(--fab-hover-text);border-color:var(--fab-hover-border);box-shadow:0 3px 10px var(--fab-hover-shadow)}.floating-action-bar .canvas-zoom-controls button:active{transform:scale(.94)}.floating-action-bar .canvas-zoom-controls button:disabled,.floating-action-bar .canvas-zoom-controls button[disabled]{opacity:.4;cursor:not-allowed}.floating-action-bar .canvas-zoom-controls button svg{width:13px;height:13px;display:block}.floating-action-bar .canvas-zoom-controls .zoom-level{font-size:9px;font-weight:700;color:var(--slate-600);background:var(--slate-100);padding:1px 5px;border-radius:8px;min-width:29px;box-sizing:border-box;text-align:center;font-variant-numeric:tabular-nums;cursor:pointer;user-select:none;transition:background-color 120ms ease,color 120ms ease}.floating-action-bar .canvas-zoom-controls .zoom-level:hover{background:var(--slate-200);color:var(--slate-900)}.canvas-zoom-controls button{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;background:0 0;border:none;border-radius:3px;color:var(--zoomctrl-btn-text);cursor:pointer;transition:background .12s,color .12s}.canvas-zoom-controls button:hover{background:var(--zoomctrl-btn-hover-bg);color:var(--zoomctrl-btn-hover-text)}.canvas-zoom-controls button:disabled{opacity:.4;cursor:not-allowed}.canvas-zoom-controls button:disabled:hover{background:0 0;color:var(--zoomctrl-btn-text)}.canvas-zoom-controls button svg{width:12px;height:12px;display:block}.canvas-zoom-controls .zoom-level{min-width:36px;text-align:center;font-variant-numeric:tabular-nums;color:var(--zoomctrl-level-text);font-weight:600;cursor:pointer;padding:1px 4px;border-radius:3px;user-select:none}.canvas-zoom-controls .zoom-level:hover{background:var(--zoomctrl-level-hover-bg)}@media print{.layout-preview-canvas{transform:none!important;transition:none!important;transform-origin:top left!important}#editor-canvas-wrapper,.layout-preview-canvas-wrapper{min-width:auto!important;min-height:auto!important;width:auto!important;height:auto!important;clip-path:none!important}.canvas-zoom-controls{display:none!important}}.layout-preview-wrapper:has(> #signed-lock-overlay:not(.hidden)) .canvas-status-strip{display:none}.signed-lock-banner{display:flex;justify-content:center;padding:6px 0 0}.signed-lock-banner.hidden{display:none}.signed-lock-pill{background:linear-gradient(135deg,#065f46,#047857);color:#fff;padding:5px 14px;border-radius:16px;font-size:.78rem;font-weight:600;display:inline-flex;flex-direction:column;align-items:stretch;gap:5px;box-shadow:0 2px 8px rgba(15,23,42,.18);pointer-events:auto;margin-bottom:2px}.signed-lock-pill-main{display:flex;align-items:center;gap:8px}.signed-lock-copylinks{display:flex;gap:6px;padding-top:5px;border-top:1px solid rgba(255,255,255,.18)}.signed-lock-copylinks[hidden]{display:none}.signed-lock-copy-btn{flex:1 1 0;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:5px;background:rgba(0,0,0,.18);color:#ecfdf5;border:none;padding:4px 9px;border-radius:10px;font-size:.68rem;font-weight:600;cursor:pointer;line-height:1.1;white-space:nowrap;overflow:hidden;transition:background 120ms ease,color 120ms ease}.signed-lock-copy-btn:hover{background:rgba(0,0,0,.34);color:#fff}.signed-lock-copy-btn:active{transform:translateY(1px)}.signed-lock-copy-btn svg{flex-shrink:0}.signed-lock-copy-btn .slc-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.signed-lock-action{display:inline-flex;align-items:center;gap:4px;background:#fff;color:#047857;border:none;padding:4px 11px;border-radius:12px;font-size:.72rem;font-weight:600;cursor:pointer;line-height:1.1;transition:background 120ms ease,color 120ms ease,box-shadow 120ms ease}.signed-lock-action:hover{background:#ecfdf5;box-shadow:0 0 0 2px rgba(16,185,129,.28)}.signed-lock-action-primary{background:#10b981;color:#fff}.signed-lock-action-primary:hover{background:#059669;color:#fff;box-shadow:0 0 0 2px rgba(134,239,172,.42)}.signed-lock-divider{display:inline-flex;align-items:center;gap:4px}.signed-lock-divider[hidden]{display:none}.signed-lock-divider-bar{display:inline-block;width:1px;height:18px;background:rgba(255,255,255,.25);margin:0 2px}.signed-lock-link{display:inline-flex;align-items:center;gap:4px;background:rgba(0,0,0,.18);color:#ecfdf5;text-decoration:none;padding:3px 8px;border-radius:10px;font-size:.7rem;font-weight:500;max-width:260px;transition:background 120ms ease,color 120ms ease}.signed-lock-link:hover{background:rgba(0,0,0,.32);color:#fff}.signed-lock-link-text{font-family:ui-monospace,"SF Mono",Consolas,monospace;font-size:.66rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:rtl;text-align:left;max-width:220px}.signed-lock-icon-only{padding:4px 8px}.signed-lock-icon-only svg{margin:0}.validation-copy-links{display:flex;flex-direction:row;gap:8px;flex-wrap:nowrap;margin-top:2px}.validation-copy-btn{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:7px;padding:7px 8px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;color:#065f46;cursor:pointer;text-align:left;font:inherit;transition:background 140ms ease,border-color 140ms ease,box-shadow 140ms ease,transform 140ms ease}.validation-copy-btn:hover{background:#dcfce7;border-color:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.12)}.validation-copy-btn:active{transform:translateY(1px)}.validation-link-card{cursor:default;flex-wrap:wrap;row-gap:6px}.validation-link-card:hover{background:#f0fdf4;border-color:#bbf7d0;box-shadow:none}.validation-link-card:active{transform:none}.validation-link-actions{flex:1 0 100%;display:flex;gap:5px;min-width:0}.validation-link-action{flex:1 1 0;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 6px;background:#fff;border:1px solid #bbf7d0;border-radius:6px;color:#065f46;font:inherit;font-size:.7rem;font-weight:700;cursor:pointer;transition:background 140ms ease,border-color 140ms ease,box-shadow 140ms ease}.validation-link-action:hover{background:#dcfce7;border-color:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.12)}.validation-link-action:active{transform:translateY(1px)}.validation-link-action svg{flex-shrink:0}.validation-copy-icon{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#065f46,#10b981);color:#fff;flex-shrink:0;box-shadow:inset 0 -1px 0 rgba(0,0,0,.12)}.validation-copy-icon svg{display:block}.validation-copy-label{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.validation-copy-title{font-size:.76rem;font-weight:700;color:#065f46;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.validation-copy-sub{font-size:.68rem;color:#475569;font-weight:500;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.validation-send-btn{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:7px;border:1px solid transparent;color:#fff;font:inherit;font-size:.74rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:background 140ms ease,border-color 140ms ease,box-shadow 140ms ease,transform 140ms ease}.validation-send-btn:active{transform:translateY(1px)}.validation-send-btn[disabled]{opacity:.55;cursor:not-allowed}.validation-send-btn-email{background:#10b981;border-color:#059669;box-shadow:0 1px 2px rgba(16,185,129,.3)}.validation-send-btn-email:hover{background:#059669;box-shadow:0 4px 12px rgba(16,185,129,.32)}.validation-send-btn-whatsapp{background:#25d366;border-color:#1ea952;box-shadow:0 1px 2px rgba(37,211,102,.3)}.validation-send-btn-whatsapp:hover{background:#1ea952;box-shadow:0 4px 12px rgba(37,211,102,.32)}.validation-send-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:rgba(255,255,255,.22);box-shadow:inset 0 -1px 0 rgba(0,0,0,.08)}.validation-send-icon svg{display:block;width:11px;height:11px}.validation-send-label{line-height:1}.validation-trust-banner{display:flex;flex-direction:column;gap:4px;padding:7px 11px;border-radius:8px;border:1px solid transparent;margin-bottom:.5rem;text-align:left;font-size:.78rem;line-height:1.3}.validation-trust-banner[data-kind=""]{display:none}.validation-trust-banner .vtb-header{display:flex;align-items:center;gap:8px;background:0 0;border:none;padding:0;margin:0;width:100%;text-align:left;color:inherit;font:inherit;cursor:pointer}.validation-trust-banner .vtb-toggle{flex-shrink:0;display:inline-flex;align-items:center;color:inherit;opacity:.6;transition:transform .2s ease}.validation-trust-banner[data-collapsed=false] .vtb-toggle{transform:rotate(180deg)}.validation-trust-banner[data-collapsed=true] .vtb-detail{display:none}.validation-trust-banner .vtb-detail{padding-left:36px}.validation-trust-banner[data-kind=icp]{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-color:#10b981;color:#065f46}.validation-trust-banner[data-kind=self]{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-color:#f59e0b;color:#78350f}.validation-trust-banner .vtb-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.1)}.validation-trust-banner[data-kind=icp] .vtb-icon{color:#10b981}.validation-trust-banner[data-kind=self] .vtb-icon{color:#d97706}.validation-trust-banner .vtb-content{flex:1;min-width:0}.validation-trust-banner .vtb-title{flex:1;min-width:0;font-size:.82rem;font-weight:700;line-height:1.2;margin-bottom:1px}.validation-trust-banner .vtb-sub{font-size:.7rem;font-weight:500;opacity:.85}#validation-code-modal{padding:24px;background:rgba(15,23,42,.22);backdrop-filter:blur(1.5px)}#validation-code-modal .modal{padding:.95rem 1.15rem;max-height:min(86vh,760px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid rgba(51,65,85,.52);box-shadow:0 18px 44px rgba(15,23,42,.24),0 0 0 1px rgba(16,185,129,.12)}#validation-code-modal .modal h2{margin:0}#validation-code-modal #validation-secret-display{color:#0f172a!important;background:#f8fafc!important;border-color:#10b981!important;box-shadow:inset 3px 0 0 #10b981,0 0 0 1px rgba(16,185,129,.12),0 4px 12px rgba(15,23,42,.08)}@media (max-width:640px){#validation-code-modal{padding:10px;align-items:flex-end}#validation-code-modal .modal{max-height:88vh;border-radius:10px 10px 6px 6px}}.validation-self-signed-explainer{text-align:left;background:#f8fafc;border:1px solid #fde68a;border-radius:8px;padding:6px 9px;margin-bottom:.4rem}.validation-self-signed-explainer.hidden{display:none}.validation-self-signed-explainer .vse-intro{margin:0 0 .3rem;font-size:.7rem;line-height:1.25;color:#78350f}.validation-self-signed-explainer .vse-intro strong{color:#78350f}.validation-self-signed-explainer .vse-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}@media (max-width:540px){.validation-self-signed-explainer .vse-options{grid-template-columns:1fr}}.validation-self-signed-explainer .vse-options{gap:6px}.validation-self-signed-explainer .vse-option{display:flex;gap:6px;padding:6px 7px;background:#fff;border:1px solid #fde68a;border-radius:6px}.validation-self-signed-explainer .vse-option-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex-shrink:0;border-radius:5px;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);color:#92400e;box-shadow:inset 0 -1px 0 rgba(0,0,0,.04)}.validation-self-signed-explainer .vse-option-content{flex:1;min-width:0}.validation-self-signed-explainer .vse-option-title{font-size:.72rem;font-weight:700;color:#78350f;line-height:1.15;margin-bottom:1px}.validation-self-signed-explainer .vse-option-body{font-size:.66rem;font-weight:500;color:#475569;line-height:1.25}.layout-preview-el{position:absolute;box-sizing:border-box;overflow:visible}.medtext-wrapper{position:relative;height:100%;background:#fff;display:flex;flex-direction:column}.type-medtext-editor .medtext-content-host,.type-medtext-editor .medtext-content-host .ProseMirror,.type-medtext-editor .medtext-static,.type-medtext-editor .medtext-wrapper{background:0 0}.medtext-toolbar{flex:0 0 auto;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:2px;padding:1px 6px;border-bottom:1px solid #dbe3ee;background:#fff;user-select:none;min-height:26px}.medtext-toolbar[hidden]{display:none!important}.medtext-toolbar .tts-grip{display:none}.medtext-toolbar .tts-pin{display:none}.medtext-toolbar button{border:1px solid transparent;background:0 0;padding:2px 6px;cursor:pointer;font-size:12px;border-radius:4px;color:#374151;min-height:22px;min-width:26px;display:inline-flex;align-items:center;justify-content:center}.medtext-toolbar button:hover{background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.medtext-toolbar button.is-active{background:linear-gradient(180deg,#1e293b 0,#334155 100%);border-color:#1e293b;color:#dcfce7;box-shadow:0 0 0 1px rgba(16,185,129,.26),0 0 8px rgba(16,185,129,.24)}.medtext-toolbar .tts-sep{display:inline-block;width:1px;height:18px;margin:0 4px;background:#e5e7eb}.medtext-bubble-menu .tbm-color-btn,.medtext-toolbar .tts-color-btn{position:relative}.tbm-color-btn .cb-glyph,.tts-color-btn .cb-glyph{font-weight:800;font-size:12px;line-height:1;pointer-events:none}.tbm-color-btn svg.cb-glyph,.tts-color-btn svg.cb-glyph{width:13px;height:13px}.tbm-color-btn .cb-bar,.tts-color-btn .cb-bar{position:absolute;left:4px;right:4px;bottom:2px;height:3px;border-radius:1px;background:#1f2937;pointer-events:none}.medtext-bubble-menu .tbm-color-btn .cb-bar{left:3px;right:3px}.tt-color-pop{position:absolute;z-index:1300;width:190px;padding:9px;background:#fff;color:#374151;font-size:12px;border:1px solid #dbe3ee;border-radius:9px;box-shadow:0 12px 30px rgba(15,23,42,.2),0 3px 8px rgba(15,23,42,.08)}.tt-align-pop{position:absolute;z-index:1300;padding:4px;display:flex;gap:2px;background:#fff;border:1px solid #dbe3ee;border-radius:9px;box-shadow:0 12px 30px rgba(15,23,42,.2),0 3px 8px rgba(15,23,42,.08)}.tt-align-pop .tt-align-opt{border:none;background:0 0;cursor:pointer;padding:6px;border-radius:6px;color:#475569;display:inline-flex;align-items:center;justify-content:center}.tt-align-pop .tt-align-opt:hover{background:#ecfdf5;color:#10b981}.tt-fontsize-pop{position:absolute;z-index:1300;padding:4px;display:flex;flex-direction:column;gap:1px;max-height:280px;overflow:auto;min-width:86px;background:#fff;border:1px solid #dbe3ee;border-radius:9px;box-shadow:0 12px 30px rgba(15,23,42,.2),0 3px 8px rgba(15,23,42,.08)}.tt-fontsize-pop .tt-fs-opt{border:none;background:0 0;cursor:pointer;padding:5px 10px;border-radius:6px;color:#374151;text-align:left;display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap}.tt-fontsize-pop .tt-fs-opt:hover{background:#ecfdf5;color:#10b981}.tt-fontsize-pop .tt-fs-opt.is-active{background:#f1f5f9;font-weight:600}.tt-color-pop .ttcp-title{font-weight:700;font-size:11px;color:#475569;margin:0 0 7px}.tt-color-pop .ttcp-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.tt-color-pop .ttcp-sw{width:100%;aspect-ratio:1/1;min-height:20px;padding:0;border-radius:4px;cursor:pointer;border:1px solid rgba(15,23,42,.12);transition:transform .1s ease,box-shadow .1s ease}.tt-color-pop .ttcp-sw:hover{transform:scale(1.14);box-shadow:0 0 0 2px rgba(16,185,129,.5)}.tt-color-pop .ttcp-sw.is-none{background:#fff;position:relative;overflow:hidden}.tt-color-pop .ttcp-sw.is-none::after{content:'';position:absolute;left:1px;right:1px;top:calc(50% - 1px);height:2px;background:#ef4444;transform:rotate(-45deg)}.tt-color-pop .ttcp-foot{display:flex;align-items:center;gap:6px;margin-top:9px}.tt-color-pop .ttcp-hex{flex:1;min-width:0;height:25px;border:1px solid #d1d5db;border-radius:5px;padding:0 7px;font:inherit;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.tt-color-pop .ttcp-hex:focus{outline:0;border-color:#10b981;box-shadow:0 0 0 2px rgba(16,185,129,.25)}.tt-color-pop .ttcp-apply{height:25px;padding:0 10px;border:none;border-radius:5px;background:#1e293b;color:#fff;cursor:pointer;font-size:11px;font-weight:600}.tt-color-pop .ttcp-apply:hover{background:#0f172a}.medtext-toolbar .tts-line-height{height:24px;padding:0 6px;font-size:11px;border:1px solid #d1d5db;background:#fff;border-radius:4px;cursor:pointer;color:#374151;appearance:none;text-align:center}.medtext-toolbar .tts-line-height:hover{background:#f1f5f9}.medtext-toolbar-mount{width:100%;position:sticky;top:0;z-index:90;display:flex;align-items:center;justify-content:center;gap:6px;min-height:28px}.editor-canvas-row{display:flex;flex-direction:row;align-items:flex-start;flex-wrap:wrap;gap:0;justify-content:center}.editor-canvas-row>#signed-lock-overlay{flex-basis:100%;order:-1}#editor-canvas-wrapper>#editor-medtext-toolbar-mount{position:absolute;left:-44px;top:40px;right:auto;width:auto;min-width:0;min-height:0;z-index:80;flex-direction:column;align-items:center;justify-content:flex-start;padding:2px 0;background:0 0}.editor-canvas-row>#editor-canvas-wrapper{flex:0 1 auto;order:2;margin-left:0;margin-right:0}#editor-canvas-wrapper .medtext-toolbar.is-portaled{flex-direction:column;flex-wrap:nowrap;width:auto;padding:2px 1px;min-height:0;border-radius:6px;gap:1px;align-items:center;margin-bottom:0}#editor-canvas-wrapper .medtext-toolbar.is-portaled .tts-sep{width:20px;height:1px;margin:3px 0}#editor-canvas-wrapper .medtext-toolbar.is-portaled .tts-line-height{width:30px;text-align:center}.medtext-toolbar-mount:empty{display:none}.medtext-toolbar.is-portaled{width:auto;box-sizing:border-box;padding:5px 10px;min-height:36px;border:1px solid #dbe3ee;border-radius:6px 6px 0 0;margin-bottom:-1px}.medtext-toolbar>.canvas-zoom-controls{background:0 0;border:none;padding:0;margin-left:6px;padding-left:6px;border-left:1px solid #e2e8f0}.medtext-toolbar>.canvas-zoom-controls button{width:22px;height:22px}.medtext-toolbar>.canvas-zoom-controls .zoom-level{font-size:.72rem}.medtext-toolbar.is-portaled:not(.is-active){display:none}.medtext-content-host .ProseMirror .selection{background:rgba(59,130,246,.18)}.floating-action-bar{position:absolute;top:34%;right:-42px;transform:translateY(-50%);display:flex;flex-direction:column;gap:8px;z-index:80;align-items:flex-end}.fab-btn{position:relative;display:flex;align-items:center;justify-content:center;height:32px;width:32px;padding:0;border:1px solid var(--fab-border);border-radius:16px;background:var(--fab-bg);color:var(--fab-text);cursor:pointer;box-shadow:0 1px 5px var(--fab-shadow);transition:background-color 150ms ease,color 150ms ease,border-color 150ms ease,transform 150ms ease,box-shadow 150ms ease}.fab-btn:hover{background:var(--fab-hover-bg);color:var(--fab-hover-text);border-color:var(--fab-hover-border);box-shadow:0 3px 10px var(--fab-hover-shadow)}.fab-btn:active{transform:scale(.94)}.fab-btn .fab-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:14px}.fab-btn .fab-label{position:absolute;right:calc(100% + 8px);top:50%;transform:translateY(-50%) translateX(4px);background:var(--fab-label-bg);color:var(--fab-label-text);padding:4px 10px;border-radius:12px;font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity 140ms ease,transform 140ms ease;box-shadow:0 2px 8px var(--fab-label-shadow)}.fab-btn:focus-visible .fab-label,.fab-btn:hover .fab-label{opacity:1;transform:translateY(-50%) translateX(0)}.fab-btn:focus-visible{outline:2px solid var(--fab-focus-ring);outline-offset:2px}.fab-btn:disabled,.fab-btn[disabled]{opacity:.4;cursor:not-allowed}.fab-btn:disabled:hover,.fab-btn[disabled]:hover{background:var(--fab-bg);color:var(--fab-text);border-color:var(--fab-border);box-shadow:0 1px 5px var(--fab-shadow)}.fab-btn:disabled:hover .fab-label,.fab-btn[disabled]:hover .fab-label{opacity:0}.fab-success{background:var(--fab-success-bg);color:var(--fab-success-text);border-color:var(--fab-success-border)}.fab-success:hover{background:var(--fab-success-hover-bg);color:var(--fab-success-hover-text);border-color:var(--fab-success-hover-border)}.fab-success .fab-label{background:var(--fab-success-label-bg)}#floating-action-bar[data-doc-state=drafted] .fab-btn.fab-newdoc{background:var(--fab-success-bg);color:var(--fab-success-text);border-color:var(--fab-success-border);box-shadow:0 1px 5px var(--fab-shadow)}#floating-action-bar[data-doc-state=drafted] .fab-btn.fab-newdoc:hover{background:var(--fab-success-hover-bg);color:var(--fab-success-hover-text);border-color:var(--fab-success-hover-border);box-shadow:0 3px 10px rgba(15,23,42,.12)}#floating-action-bar[data-doc-state=drafted] .fab-btn.fab-success,#mpg-fab[data-doc-state=drafted] .fab-btn.fab-success{background:var(--emerald-500);color:#fff;border-color:var(--emerald-600);box-shadow:0 2px 8px rgba(16,185,129,.32)}#floating-action-bar[data-doc-state=drafted] .fab-btn.fab-success:hover,#mpg-fab[data-doc-state=drafted] .fab-btn.fab-success:hover{background:var(--emerald-600);color:#fff;border-color:var(--emerald-700);box-shadow:0 4px 14px rgba(16,185,129,.48)}.fab-danger{background:var(--fab-danger-bg);color:var(--fab-danger-text);border-color:var(--fab-danger-border)}.fab-danger:hover{background:var(--fab-danger-hover-bg);color:var(--fab-danger-hover-text);border-color:var(--fab-danger-hover-border)}.fab-danger .fab-label{background:var(--fab-danger-label-bg)}.fab-neutral{background:var(--fab-neutral-bg);color:var(--fab-neutral-text);border-color:var(--fab-neutral-border)}.fab-neutral:hover{background:var(--fab-neutral-hover-bg);color:var(--fab-neutral-hover-text);border-color:var(--fab-neutral-hover-border)}.fab-neutral .fab-label{background:var(--fab-neutral-label-bg)}.editor-action-icon svg,.fab-icon svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.fab-icon svg{width:17px;height:17px}#editor-action-buttons{gap:.32rem;padding:.42rem 0 .48rem}#editor-action-buttons .editor-action-btn{min-height:28px;padding:.29rem .46rem;border-radius:6px;gap:.27rem;font-size:.72em;font-weight:450;letter-spacing:0;box-shadow:0 1px 2px var(--editaction-btn-shadow)}#editor-action-buttons .editor-action-btn:hover{box-shadow:0 4px 12px var(--editaction-btn-hover-shadow)}#editor-action-buttons .editor-action-icon{width:12px;height:12px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}#editor-action-buttons .editor-action-icon svg{width:11px;height:11px}#editor-action-buttons .editor-action-sign{background:var(--editaction-sign-bg);color:var(--editaction-sign-text);border:1px solid var(--editaction-sign-border);box-shadow:0 1px 2px var(--editaction-sign-shadow)}#editor-action-buttons .editor-action-sign:hover{background:var(--editaction-sign-hover-bg);border-color:var(--editaction-sign-hover-border);box-shadow:0 3px 10px var(--editaction-sign-hover-shadow)}#editor-action-buttons .editor-action-pdf{background:var(--editaction-pdf-bg);color:var(--editaction-pdf-text);border:1px solid var(--editaction-pdf-border)}#editor-action-buttons .editor-action-pdf:hover{background:var(--editaction-pdf-hover-bg);border-color:var(--editaction-pdf-hover-border)}#editor-action-buttons .editor-action-print{background:var(--editaction-print-bg);color:var(--editaction-print-text);border:1px solid var(--editaction-print-border)}#editor-action-buttons .editor-action-print:hover{background:var(--editaction-print-hover-bg);border-color:var(--editaction-print-hover-border)}#editor-action-buttons .editor-action-danger{color:var(--editaction-danger-text);border-color:var(--editaction-danger-border);background:var(--editaction-danger-bg)}#editor-action-buttons .editor-action-danger:hover{color:var(--fab-danger-hover-text);border-color:var(--fab-danger-hover-border);background:var(--fab-danger-hover-bg)}.apply-placeholders-group .editor-action-btn{padding-right:.95rem}#editor-preview-wrapper[data-surface-mode=composed]{background:#eef2f7;border:1px solid var(--editorcommand-border);border-radius:14px;padding:10px 12px 18px;scrollbar-color:var(--slate-400) var(--slate-100)}#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons{order:-2;position:sticky;top:0;z-index:120;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;width:100%;min-height:52px;margin:0 0 10px;padding:8px 10px;color:var(--editorcommand-bar-text);background:var(--editorcommand-bar-bg);border:1px solid var(--editorcommand-bar-border);border-bottom:2px solid var(--editorcommand-bar-accent);border-radius:15px;box-shadow:0 8px 20px var(--editorcommand-bar-shadow)}#editor-preview-wrapper[data-surface-mode=composed] #editor-canvas-wrapper>#floating-action-bar{display:none!important}.editor-command-layout-context{display:inline-flex;align-items:center;gap:4px;flex:0 1 210px;min-width:140px;max-width:210px;align-self:center;margin-right:8px}.editor-command-layout-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;color:var(--editorcommand-bar-text);background:var(--editorcommand-bar-icon-bg);border:1px solid var(--editorcommand-bar-icon-border);border-radius:8px}.editor-command-layout-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}button.editor-command-layout-icon{padding:0;cursor:pointer}button.editor-command-layout-icon:focus-visible{outline:2px solid var(--brand-accent);outline-offset:2px}button.editor-command-layout-icon:disabled{opacity:.5;cursor:default}#doctype-layout-popover #editor-command-layout-info-btn{width:auto;height:28px;flex:none;gap:5px;margin-left:auto;padding:0 7px;font:inherit;font-size:.72rem}#editor-layout-info,.owned-resource-info{position:fixed;z-index:21000;width:320px;max-width:calc(100vw - 16px);box-sizing:border-box;padding:14px;border:1px solid var(--editorcommand-bar-icon-border);border-radius:10px;background:var(--tabs-menu-bg);color:var(--tabs-menu-text);box-shadow:0 10px 28px rgba(15,23,42,.2);font-size:.78rem;line-height:1.45;overflow:auto}#editor-layout-info h3,.owned-resource-info h3{margin:0 0 10px;font-size:.9rem;color:inherit}#editor-layout-info p,.owned-resource-info p{margin:8px 0 0;color:var(--editorcommand-bar-muted)}#editor-layout-info dl,.owned-resource-info dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px;margin:0}#editor-layout-info dt,.owned-resource-info dt{font-weight:650}#editor-layout-info dd,.owned-resource-info dd{margin:0;overflow-wrap:anywhere}.editor-command-layout-copy{display:grid;min-width:0;line-height:1.2}.editor-command-layout-kicker{color:var(--editorcommand-bar-muted);font-size:.62rem;font-weight:450;letter-spacing:.06em;text-transform:uppercase}#editor-command-layout-name{display:block;min-width:0;overflow:hidden;color:var(--editorcommand-bar-text);font-size:.76rem;font-weight:450;text-overflow:ellipsis;white-space:nowrap}.editor-command-layout-nav{display:inline-flex;align-items:center;gap:2px;flex:0 0 auto;margin-left:0}.editor-command-layout-nav button{display:inline-flex;align-items:center;justify-content:center;width:20px;height:24px;padding:0;color:var(--editorcommand-bar-muted);background:0 0;border:1px solid transparent;border-radius:6px;cursor:pointer}.editor-command-layout-nav button:hover{color:var(--editorcommand-bar-text);background:var(--editorcommand-bar-icon-bg);border-color:var(--editorcommand-bar-icon-border)}.editor-command-layout-nav button svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.editor-command-divider{width:1px;height:28px;margin:0 2px;background:var(--editorcommand-bar-divider)}#editor-action-buttons .editor-action-new{color:#fff;background:var(--editorcommand-new-bg);border:1px solid var(--editorcommand-new-bg)}#editor-action-buttons .editor-action-new:hover{color:#fff;background:var(--editorcommand-new-hover-bg);border-color:var(--editorcommand-new-hover-bg)}#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons{--editorcommand-button-bg:var(--slate-50);--editorcommand-button-hover-bg:var(--slate-100);--editorcommand-button-border:transparent;--editorcommand-button-disabled-border:transparent;--editorcommand-primary-bg:var(--navy-900);--editorcommand-primary-text:var(--slate-50);background:0 0;border:0;border-radius:8px;box-shadow:none;min-height:44px;padding:6px 8px;gap:4px}#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}#editor-action-buttons>#editor-command-layout-controls{grid-column:1;grid-row:1;justify-self:start;display:flex;align-items:center;gap:4px;min-width:0;width:100%}#editor-action-buttons>#editor-command-layout-controls[hidden]{display:none}#editor-command-layout-controls>#editor-command-layout-context{min-width:0;width:100%;margin-right:0}#editor-command-primary-actions{grid-column:2;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;min-width:0}#editor-action-buttons :is(#btn-layout-estante,#editor-command-new-document,#editor-action-print-btn,#editor-action-discard-btn){width:32px;min-width:32px;height:32px;flex:0 0 32px;justify-content:center;padding:0;gap:0}#editor-command-layout-controls #btn-layout-estante .estante-launcher-label{display:none}#editor-command-primary-actions :is(#editor-command-new-document,#editor-action-print-btn,#editor-action-discard-btn) :is(.editor-action-icon,svg){width:16px;height:16px}#editor-action-buttons>.canvas-zoom-controls{grid-column:3;grid-row:1;justify-self:end}@media (max-width:1200px){#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons{grid-template-columns:minmax(0,1fr) auto}#editor-action-buttons>.canvas-zoom-controls{grid-column:2;grid-row:1}#editor-command-primary-actions{grid-column:1/-1;grid-row:2}}#editor-action-buttons .editor-actions-more-toggle,#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons .editor-action-btn{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:5px 8px;color:var(--editorcommand-button-text);background:var(--editorcommand-button-bg);border:1px solid var(--editorcommand-button-border);border-radius:6px;font:inherit;font-size:12px;font-weight:450;white-space:nowrap;box-shadow:none;cursor:pointer}#editor-action-buttons .editor-actions-more-toggle:hover,#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons .editor-action-btn:not(:disabled):hover{background:var(--editorcommand-button-hover-bg);border-color:transparent;box-shadow:none;transform:none}#editor-action-buttons #editor-actions-more-toggle{padding-inline:11px;color:var(--navy-900);background:var(--slate-100);border-color:var(--slate-300);font-weight:600}#editor-action-buttons #editor-actions-more-toggle:hover,#editor-action-buttons #editor-actions-more-toggle[aria-expanded=true]{background:var(--slate-200);border-color:var(--emerald-600)}#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons .editor-action-sign:not(:disabled){background:var(--editorcommand-primary-bg);color:var(--editorcommand-primary-text)}#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons .editor-action-btn:disabled{color:var(--editorcommand-button-disabled-text);background:var(--editorcommand-button-bg);border-color:transparent;box-shadow:none;cursor:default;opacity:1!important}#doctype-dropdown .editor-command-layout-icon{background:0 0;border:0;width:22px;flex-basis:22px}#doctype-dropdown .editor-command-layout-kicker{display:none}#doctype-dropdown #editor-command-layout-name{max-width:100%;font-size:.625rem;line-height:12px;font-weight:450;color:var(--editorcommand-bar-muted)}#editor-action-buttons .editor-command-divider{display:none}#editor-action-buttons .canvas-zoom-controls{margin-left:0;background:0 0;border:0;box-shadow:none}#editor-action-buttons .canvas-zoom-controls button:focus-visible,#editor-action-buttons .editor-action-btn:focus-visible,#editor-action-buttons .editor-actions-more-toggle:focus-visible{outline:2px solid var(--editorcommand-bar-accent);outline-offset:2px}#editor-actions-more-popover{--editorcommand-button-bg:#fff;position:fixed;inset:auto;margin:0;padding:6px;width:240px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;background:var(--editorcommand-button-bg);border:1px solid var(--editorcommand-bar-border);border-radius:10px;box-shadow:0 8px 24px var(--editorcommand-bar-shadow)}#editor-actions-more-popover:popover-open{display:grid;gap:2px}html.mc-popover-polyfilled #editor-actions-more-popover.\:popover-open{display:grid;gap:2px}#editor-anamnese-timer-row{padding:8px;border-bottom:1px solid var(--editorcommand-bar-border);color:var(--editorcommand-bar-text);font-size:12px}#editor-anamnese-timer-row:not([hidden]){display:flex;align-items:flex-start;justify-content:space-between;gap:8px}#editor-anamnese-timer,#pano-overview-encounter-timer{flex-shrink:0;margin-left:auto;font-size:20px;line-height:1.5;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}#editor-action-buttons #editor-actions-more-popover .editor-action-btn{width:100%;justify-content:flex-start;min-height:34px}#editor-actions-more-popover .apply-placeholders-group{width:100%}.editor-sign-split{display:inline-flex;align-items:stretch}#editor-action-buttons .editor-sign-split>.btn{margin:0}.editor-sign-split>#editor-action-sign-btn{display:none!important}#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons #editor-sign-with-toggle:not(:disabled){background:var(--slate-100);color:var(--navy-700);border-color:var(--slate-200);box-shadow:none}#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons #editor-sign-with-toggle:is(:hover,[aria-expanded=true]):not(:disabled){background:var(--emerald-50,#ecfdf5);color:var(--emerald-700);border-color:var(--emerald-300)}#editor-action-buttons .editor-sign-split>.editor-sign-caret{padding:0 9px;min-height:32px;min-width:0;margin-left:0;gap:6px;border-radius:6px}#editor-action-buttons .editor-sign-caret svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}#editor-sign-with-popover{position:fixed;inset:auto;margin:0;padding:6px;width:260px;max-width:calc(100vw - 16px);background:#fff;border:1px solid var(--editorcommand-bar-border);border-radius:10px;box-shadow:0 8px 24px var(--editorcommand-bar-shadow)}#editor-sign-with-popover:popover-open{display:grid;gap:2px}html.mc-popover-polyfilled #editor-sign-with-popover.\:popover-open{display:grid;gap:2px}#editor-sign-with-popover .editor-sign-with-title{padding:4px 8px 4px;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--slate-500,#64748b)}#editor-sign-with-popover .editor-sign-with-item{display:flex;align-items:center;gap:8px;width:100%;min-height:34px;padding:6px 8px;border:0;border-radius:6px;background:0 0;color:var(--slate-700,#334155);font:inherit;font-size:12.5px;text-align:left;cursor:pointer}#editor-sign-with-popover .editor-sign-with-item:hover{background:var(--slate-100,#f1f5f9)}#editor-sign-with-popover .editor-sign-with-item.is-current{color:var(--slate-900,#0f172a);font-weight:600}#editor-sign-with-popover .editor-sign-with-current{margin-left:auto;padding:1px 7px;border-radius:999px;background:var(--emerald-50,#ecfdf5);color:var(--emerald-700,#047857);font-size:10.5px;font-weight:700}#editor-sign-with-popover .editor-sign-with-item:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--brand-accent,#10b981)}#editor-sign-with-popover .editor-action-icon{width:16px;height:16px}#editor-sign-with-popover .editor-action-icon svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}#editor-sign-with-popover .editor-action-icon svg.signature-mode-art{width:16px!important;height:16px!important;stroke:none}#editor-action-buttons #editor-actions-more-popover .editor-action-danger:not(:disabled){color:var(--editaction-danger-text)}@media (max-width:1600px){#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons{position:static}}@media (max-width:720px){#editor-preview-wrapper[data-surface-mode=composed]{padding:8px;border-radius:10px}#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons{padding:8px;border-radius:10px}#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons .editor-action-btn{flex:1 1 auto;justify-content:center}.editor-command-layout-context{flex-basis:160px;gap:4px;margin-right:4px}.editor-command-divider{display:none}.apply-placeholders-group{flex:1 1 auto}.apply-placeholders-group .editor-action-btn{width:100%}}#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons[data-command-fit=single]{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}#editor-preview-wrapper[data-surface-mode=forms]>#editor-action-buttons[data-command-fit=single]{grid-template-columns:minmax(var(--editor-command-fill-width,0px),1fr) auto minmax(var(--editor-command-zoom-width,0px),1fr)}#editor-action-buttons>#canvas-combo-toolbar-slot{grid-column:1;grid-row:1;justify-self:start;min-width:0;width:100%;max-width:400px;margin:0;padding:0;gap:6px;flex-wrap:nowrap;border:0;background:0 0;box-shadow:none}#editor-action-buttons>#canvas-combo-toolbar-slot .combo-apply-select{flex:1 1 auto;width:0;min-width:0;max-width:none;height:32px}#editor-action-buttons>#canvas-combo-toolbar-slot .combo-toolbar-label{font-family:inherit;font-size:12px;font-weight:500;letter-spacing:normal;color:var(--editorcommand-button-text);gap:5px}#editor-action-buttons>#canvas-combo-toolbar-slot .combo-toolbar-btn{flex:0 0 auto;height:32px;padding-inline:7px}#editor-action-buttons[data-fill-compact=true]>#canvas-combo-toolbar-slot .combo-toolbar-label{display:none}#editor-action-buttons[data-command-fit=single]>#editor-command-primary-actions{grid-column:2;grid-row:1;flex-wrap:nowrap}#editor-action-buttons[data-command-fit=single]>.canvas-zoom-controls{grid-column:3;grid-row:1}#editor-action-buttons[data-command-fit]>#editor-command-primary-actions>*{flex:0 0 auto}#editor-preview-wrapper[data-surface-mode=composed]>#editor-action-buttons[data-command-fit=single][data-layout-icon-only=true]{grid-template-columns:auto minmax(0,1fr) auto}#editor-action-buttons[data-layout-icon-only=true]>#editor-command-layout-controls{width:max-content}#editor-action-buttons[data-layout-icon-only=true] #editor-command-layout-context{width:max-content;max-width:none;flex-basis:auto}#editor-action-buttons[data-layout-icon-only=true] #doctype-layout-trigger{width:32px;flex:0 0 32px;padding:0;justify-content:center;gap:0}#editor-action-buttons[data-layout-icon-only=true] #doctype-layout-trigger-icon{display:block}#editor-action-buttons[data-layout-icon-only=true] :is(#doctype-layout-trigger-label,#editor-command-layout-name){display:none}#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons[data-command-fit=wrapped]{grid-template-columns:minmax(0,1fr) auto}#editor-action-buttons[data-command-fit=wrapped]>#editor-command-primary-actions{grid-column:1/-1;grid-row:2}#editor-action-buttons[data-command-fit=wrapped]>.canvas-zoom-controls{grid-column:2;grid-row:1}#canvas-zoom-controls.canvas-zoom-controls{padding:0;border:0;background:0 0}@media screen{#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms]){--canvas-tool-gap:clamp(4px, calc(1vw - 4px), 10px);--canvas-command-pad:clamp(2px, calc(1vw - 8px), 6px);padding:clamp(3px,calc(1vw - 4px),10px) clamp(4px,calc(1.25vw - 6px),12px) clamp(6px,calc(2vw - 10px),18px)}#editor-preview-wrapper:is([data-surface-mode=composed],[data-surface-mode=forms])>#editor-action-buttons{min-height:calc(32px + 2 * var(--canvas-command-pad));padding:var(--canvas-command-pad) clamp(2px,calc(1vw - 6px),8px);margin-bottom:clamp(4px,calc(1vw - 4px),10px)}#editor-canvas-row{box-sizing:border-box;padding-left:var(--canvas-tool-left,0);padding-right:var(--canvas-tool-right,0);margin-bottom:clamp(8px,calc(2vw - 12px),24px)}#editor-canvas-wrapper>#editor-medtext-toolbar-mount{left:calc(-1 * var(--canvas-tool-gap,10px));transform:translateX(-100%)}#editor-canvas-wrapper>#floating-action-bar{right:calc(-1 * var(--canvas-tool-gap,10px));transform:translate(100%,-50%)}}#canvas-zoom-controls.canvas-zoom-controls #canvas-zoom-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto;height:32px;padding:0 8px;border:1px solid var(--editorcommand-button-border);border-radius:4px;background:var(--editorcommand-button-bg);color:var(--editorcommand-button-text);font:inherit;font-size:12px;cursor:pointer;box-shadow:none}#canvas-zoom-controls #canvas-zoom-toggle svg{width:12px;height:12px}#canvas-zoom-toggle[aria-expanded=true] svg{transform:rotate(180deg)}#editor-tab.active #editor-multipage-host #mpg-stage,#editor-tab.active #layout-preview-canvas,#kits-tab.active #kit-preview-canvas[data-kit-zoom=on]{touch-action:pan-x pan-y}#canvas-zoom-popover{display:none;position:fixed;inset:auto;margin:0;padding:6px;width:220px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;box-sizing:border-box;border:1px solid var(--slate-200);border-radius:8px;background:#fff;color:var(--navy-800);box-shadow:0 8px 24px rgb(15 23 42 / 14%)}#canvas-zoom-popover:popover-open{display:grid;gap:4px}html.mc-popover-polyfilled #canvas-zoom-popover.\:popover-open{display:grid;gap:4px}#canvas-zoom-controls.canvas-zoom-controls #canvas-zoom-popover>button{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;height:34px;padding:0 8px;border:0;border-radius:4px;font:inherit;font-size:12px;font-weight:500;background:0 0;color:inherit;box-shadow:none;cursor:pointer}#canvas-zoom-controls #canvas-zoom-popover>button:hover{background:var(--slate-100)}#canvas-zoom-controls #canvas-zoom-popover #canvas-zoom-auto[aria-pressed=true]{background:var(--emerald-100);color:var(--emerald-700)}#canvas-zoom-slider-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 8px;padding:8px;border-block:1px solid var(--slate-100)}#canvas-zoom-slider-row label{font-size:12px;margin:0}#canvas-zoom-controls #canvas-zoom-popover #canvas-zoom-slider{grid-column:1/-1;width:100%;height:24px}#canvas-zoom-controls #canvas-zoom-popover #canvas-zoom-level{width:auto;min-width:0;padding:0;font-size:12px;border:0;background:0 0}@media print{#canvas-zoom-popover{display:none!important}.medtext-bubble-menu,.medtext-drag-handle,.medtext-search-popover,.medtext-slash-menu,.medtext-snippet-choice-popup,.medtext-snippet-help,.medtext-snippet-popover,.medtext-toolbar,.ml-ac-menu,.ml-hover-tooltip,.ml-menu,body>.medtext-bubble-menu,body>.medtext-drag-handle,body>.medtext-slash-menu,body>.medtext-snippet-choice-popup,body>.medtext-snippet-help,body>.ml-ac-menu,body>.ml-hover-tooltip,body>.ml-menu{display:none!important;visibility:hidden!important}.placeholder-chip{background:0 0!important;color:inherit!important;border:none!important;padding:0!important;margin:0!important;border-radius:0!important;font-weight:inherit!important;font-size:inherit!important}.type-qr-validation .qr-validation-placeholder *,.type-qr-validation>.qr-validation-placeholder{visibility:hidden!important}.type-icp-validation .icp-validation-placeholder *,.type-icp-validation>.icp-validation-placeholder{visibility:hidden!important}}.medtext-content-host{flex:1 1 auto;min-height:0;overflow:auto;padding:6px 8px;font-size:var(--tt-font-size, 13px);line-height:var(--tt-line-height, 1.5);font-family:var(--tt-font-family, inherit)}.medtext-ai-pending-surface{position:relative}.medtext-ai-pending{position:absolute;right:14px;bottom:14px;z-index:92;display:flex;align-items:center;gap:10px;max-width:min(310px,calc(100% - 28px));box-sizing:border-box;padding:10px 13px;border:1px solid rgba(52,211,153,.42);border-radius:10px;background:rgba(15,23,42,.96);color:#f8fafc;box-shadow:0 12px 30px rgba(15,23,42,.24);font-size:12px;line-height:1.25;pointer-events:none}.medtext-ai-pending[hidden]{display:none!important}.medtext-ai-pending-spinner{width:17px;height:17px;flex:0 0 17px;box-sizing:border-box;border:2px solid rgba(167,243,208,.28);border-top-color:#34d399;border-radius:50%;animation:medtextAiPendingSpin .8s linear infinite}.medtext-ai-pending-copy{display:grid;gap:2px;min-width:0}.medtext-ai-pending-copy strong{color:#d1fae5;font-size:12px;font-weight:700}.medtext-ai-pending-copy small{color:#cbd5e1;font-size:10px}.medtext-ai-pending-surface.is-ai-pending .medtext-content-host,.medtext-ai-pending-surface.is-ai-pending.ProseMirror{cursor:progress}@keyframes medtextAiPendingSpin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.medtext-ai-pending-spinner{animation:none;border-color:#34d399}}@media print{.medtext-ai-pending{display:none!important}}.medtext-content-host .ProseMirror{outline:0;min-height:100%;padding-left:6px}.medtext-content-host .ProseMirror p{margin:0 0 var(--tt-para-spacing,4px) 0}.medtext-content-host .ProseMirror ol,.medtext-content-host .ProseMirror ul{padding-left:20px;margin:0 0 var(--tt-para-spacing,4px) 0}.medtext-content-host .ProseMirror li>p{margin:0}.medtext-content-host .ProseMirror li+li{margin-top:1px}.medtext-content-host .ProseMirror h1,.medtext-static h1{font-family:var(--tt-h1-family, inherit);font-size:var(--tt-h1-size, 22px);font-weight:var(--tt-h1-weight,700);color:var(--tt-h1-color,#0f172a);margin:0 0 6px}.medtext-content-host .ProseMirror h2,.medtext-static h2{font-family:var(--tt-h2-family, inherit);font-size:var(--tt-h2-size, 18px);font-weight:var(--tt-h2-weight,700);color:var(--tt-h2-color,#0f172a);margin:0 0 5px}.medtext-content-host .ProseMirror h3,.medtext-static h3{font-family:var(--tt-h3-family, inherit);font-size:var(--tt-h3-size, 16px);font-weight:var(--tt-h3-weight,600);color:var(--tt-h3-color,#0f172a);margin:0 0 4px}.medtext-content-host .ProseMirror h4,.medtext-static h4{font-family:var(--tt-h4-family, inherit);font-size:var(--tt-h4-size, 14px);font-weight:var(--tt-h4-weight,600);color:var(--tt-h4-color,#1e293b);margin:0 0 4px}.medtext-content-host .ProseMirror h5,.medtext-static h5{font-family:var(--tt-h5-family, inherit);font-size:var(--tt-h5-size, 13px);font-weight:var(--tt-h5-weight,600);color:var(--tt-h5-color,#334155);margin:0 0 4px}.medtext-content-host .ProseMirror h6,.medtext-static h6{font-family:var(--tt-h6-family, inherit);font-size:var(--tt-h6-size, 12px);font-weight:var(--tt-h6-weight,600);color:var(--tt-h6-color,#475569);margin:0 0 4px}.tt-callout{display:flex;gap:10px;align-items:flex-start;padding:10px 14px;margin:6px 0;border-left:3px solid var(--tt-callout-accent,#94a3b8);border-radius:4px;background:var(--tt-callout-bg,#f8fafc)}.tt-callout-icon{flex:0 0 18px;width:18px;height:18px;position:relative;user-select:none}.tt-callout-icon::before{content:"";display:block;width:100%;height:100%;background-color:var(--tt-callout-accent,#94a3b8);-webkit-mask-image:var(--tt-callout-icon);mask-image:var(--tt-callout-icon);-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.tt-callout-body{flex:1;min-width:0;font-size:calc(1em - 3px)}.tt-callout-body p{margin:0}.tt-callout-body p+p{margin-top:4px}.tt-callout-info{--tt-callout-accent:#3b82f6;--tt-callout-bg:#eff6ff;--tt-callout-icon:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='16' x2='12' y2='12'/><line x1='12' y1='8' x2='12.01' y2='8'/></svg>")}.tt-callout-warning{--tt-callout-accent:#f59e0b;--tt-callout-bg:#fffbeb;--tt-callout-icon:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0Z'/><line x1='12' y1='9' x2='12' y2='13'/><line x1='12' y1='17' x2='12.01' y2='17'/></svg>")}.tt-callout-danger{--tt-callout-accent:#ef4444;--tt-callout-bg:#fef2f2;--tt-callout-icon:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polygon points='7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86'/><line x1='12' y1='8' x2='12' y2='12'/><line x1='12' y1='16' x2='12.01' y2='16'/></svg>")}.tt-callout-success{--tt-callout-accent:#22c55e;--tt-callout-bg:#f0fdf4;--tt-callout-icon:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/><polyline points='22 4 12 14.01 9 11.01'/></svg>")}.tt-callout-note{--tt-callout-accent:#64748b;--tt-callout-bg:#f8fafc;--tt-callout-icon:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='16' y1='13' x2='8' y2='13'/><line x1='16' y1='17' x2='8' y2='17'/></svg>")}.tt-callout-icon[title]:hover::before{filter:brightness(.85);transition:filter .1s}.tt-video-link{display:flex;gap:12px;align-items:flex-start;padding:10px;margin:8px 0;border:1px solid #e2e8f0;border-radius:6px;background:#fff;position:relative}.tt-video-link[data-provider=instagram] .tt-video-play{display:none}.tt-video-link[data-provider=instagram] .tt-video-img{height:100%;object-fit:contain}.tt-video-link[data-provider=instagram] .tt-video-thumb{background:#f1f5f9}.tt-video-link .tt-video-url{overflow-wrap:anywhere}@media (max-width:600px){.tt-video-link[data-video-link] .tt-video-thumb{flex-basis:96px;width:96px;height:72px}.tt-video-link[data-video-link] .tt-video-qr{flex-basis:64px;width:64px;height:64px}}.tt-video-link .tt-video-thumb{position:relative;flex:0 0 160px;width:160px;height:90px;display:block;overflow:hidden;border-radius:4px;background:#0f172a}.tt-video-link .tt-video-img{width:100%;height:100%;object-fit:cover;display:block}.tt-video-link .tt-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:50%;background:rgba(15,23,42,.78);display:flex;align-items:center;justify-content:center;pointer-events:none}.tt-video-link .tt-video-play::before{content:"";display:block;width:0;height:0;margin-left:3px;border-style:solid;border-width:7px 0 7px 11px;border-color:transparent transparent transparent #fff}.tt-video-link .tt-video-thumb:hover .tt-video-play{background:#2563eb}.tt-video-link .tt-video-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.tt-video-link .tt-video-title{font-weight:600;font-size:13px;color:#0f172a;outline:0;min-height:16px}.tt-video-link .tt-video-title[contenteditable=true]:focus{box-shadow:0 0 0 2px #dbeafe;border-radius:2px}.tt-video-link .tt-video-url{font-size:11px;color:#3b82f6;text-decoration:none;word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tt-video-link .tt-video-url:hover{text-decoration:underline}.tt-video-link .tt-video-description{font-size:12px;color:#475569;line-height:1.4;margin-top:2px;outline:0;min-height:16px}.tt-video-link .tt-video-description[contenteditable=true]:focus{box-shadow:0 0 0 2px #dbeafe;border-radius:2px}.tt-video-link .tt-video-description.tt-empty::before,.tt-video-link .tt-video-title.tt-empty::before{content:attr(data-placeholder);color:#94a3b8;font-style:italic;font-weight:400;pointer-events:none}.tt-video-link .tt-video-qr-toggle,.tt-video-link .tt-video-url-toggle{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#64748b;margin-top:6px;cursor:pointer;user-select:none}.tt-video-link .tt-video-qr-toggle input,.tt-video-link .tt-video-url-toggle input{margin:0;cursor:pointer}.tt-video-link .tt-video-qr-toggle:hover,.tt-video-link .tt-video-url-toggle:hover{color:#1f2937}.tt-video-link .tt-video-qr{flex:0 0 88px;width:88px;height:88px;border:1px solid #e2e8f0;border-radius:4px;background:#fff}@media print{.tt-video-link .tt-video-qr-toggle,.tt-video-link .tt-video-url-toggle{display:none}}.tt-med-schedule{position:relative;margin:10px 0;padding:14px 16px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;cursor:pointer;transition:border-color .12s,box-shadow .12s}.tt-med-schedule:hover{border-color:#cbd5e1}.tt-med-schedule.is-editing{border-color:#3b82f6;box-shadow:0 0 0 3px #dbeafe}.tt-med-schedule .tt-med-edit-btn{position:absolute;top:8px;right:8px;z-index:2;display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;color:#475569;font-size:11px;font-weight:600;cursor:pointer;box-shadow:0 1px 2px rgba(15,23,42,.04);opacity:.55;transition:opacity .12s,color .12s,border-color .12s,background .12s}.tt-med-schedule .tt-med-edit-btn:focus-visible,.tt-med-schedule.is-editing .tt-med-edit-btn,.tt-med-schedule:hover .tt-med-edit-btn{opacity:1}.tt-med-schedule .tt-med-edit-btn:hover{color:#1f2937;border-color:#3b82f6;background:#eff6ff}.tt-med-schedule.is-editing .tt-med-edit-btn{color:#1e40af;border-color:#3b82f6;background:#dbeafe}.tt-med-schedule .tt-med-title{font-weight:700;font-size:13px;color:#0f172a;outline:0;margin:0 90px 8px 0;cursor:text}.tt-med-schedule .tt-med-title[contenteditable=true]:focus{box-shadow:0 0 0 2px #dbeafe;border-radius:2px}.tt-med-schedule .tt-med-title.tt-empty::before{content:attr(data-placeholder);color:#94a3b8;font-style:italic;font-weight:500;pointer-events:none}.tt-med-schedule .tt-med-svg-host{display:block;cursor:pointer}.tt-med-schedule .tt-med-svg{width:100%;height:auto;display:block}.tt-med-popover{position:fixed;z-index:1000;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 16px 40px rgba(15,23,42,.18),0 2px 6px rgba(15,23,42,.08);font-family:ui-sans-serif,system-ui,sans-serif;display:flex;flex-direction:column;overflow:hidden}.tt-med-popover-header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.tt-med-popover-title{font-weight:700;font-size:12px;color:#0f172a}.tt-med-popover-close{width:22px;height:22px;border:none;background:0 0;color:#64748b;font-size:18px;line-height:1;cursor:pointer;border-radius:4px}.tt-med-popover-close:hover{background:#e2e8f0;color:#0f172a}.tt-med-popover-body{padding:10px 12px;flex:1 1 auto;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:8px;font-size:12px}.tt-med-popover-body .tt-med-empty-hint{padding:8px 4px;color:#94a3b8;font-style:italic;font-size:11px}.tt-med-popover-body .tt-med-suggestions{padding:8px 10px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:6px}.tt-med-popover-body .tt-med-suggestions-title{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;color:#0c4a6e;margin-bottom:6px}.tt-med-popover-body .tt-med-suggestions-list{display:flex;flex-wrap:wrap;gap:5px}.tt-med-popover-body .tt-med-suggestion{padding:3px 10px;border:1px solid #7dd3fc;border-radius:12px;background:#fff;font-size:11px;color:#075985;font-weight:500;cursor:pointer;user-select:none;transition:background-color .1s,border-color .1s}.tt-med-popover-body .tt-med-suggestion:hover{background:#e0f2fe;border-color:#0284c7;color:#0c4a6e}.tt-med-popover-body .tt-med-suggestion-dose{color:#64748b;font-weight:400;margin-left:2px}.tt-med-popover-body .tt-med-edit-row{padding:8px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;display:flex;flex-direction:column;gap:6px}.tt-med-popover-body .tt-med-edit-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.tt-med-popover-body .tt-med-edit-line-1 .tt-med-name-input{flex:1 1 200px;min-width:140px;padding:5px 8px;border:1px solid #d1d5db;border-radius:4px;font-size:12px;background:#fff;color:#0f172a}.tt-med-popover-body .tt-med-edit-line-1 .tt-med-dose-input{flex:0 0 110px;padding:5px 8px;border:1px solid #d1d5db;border-radius:4px;font-size:12px;background:#fff;color:#0f172a}.tt-med-popover-body .tt-med-dose-input:focus,.tt-med-popover-body .tt-med-name-input:focus{outline:0;border-color:#3b82f6;box-shadow:0 0 0 2px #dbeafe}.tt-med-popover-body .tt-med-remove-row{flex:0 0 22px;width:22px;height:22px;border:1px solid transparent;background:0 0;color:#94a3b8;font-size:14px;line-height:1;cursor:pointer;border-radius:4px}.tt-med-popover-body .tt-med-remove-row:hover{color:#dc2626;background:#fef2f2;border-color:#fecaca}.tt-med-popover-body .tt-med-presets-label,.tt-med-popover-body .tt-med-times-label{font-size:11px;color:#64748b;font-weight:600;margin-right:2px}.tt-med-popover-body .tt-med-preset{display:inline-block;padding:2px 10px;border:1px solid #e5e7eb;border-radius:12px;font-size:11px;color:#475569;font-weight:500;background:#fff;cursor:pointer;user-select:none;transition:background-color .1s,border-color .1s,color .1s}.tt-med-popover-body .tt-med-preset:hover{background:#f1f5f9;border-color:#cbd5e1;color:#1f2937}.tt-med-popover-body .tt-med-preset.is-active{background:#dbeafe;border-color:#3b82f6;color:#1e40af;font-weight:600}.tt-med-popover-body .tt-med-preset-more{position:relative;display:inline-block}.tt-med-popover-body .tt-med-preset-toggle{padding:2px 8px}.tt-med-popover-body .tt-med-preset-overflow{display:none;position:absolute;top:calc(100% + 4px);left:0;z-index:20;background:#fff;border:1px solid #e2e8f0;border-radius:6px;box-shadow:0 6px 18px rgba(15,23,42,.12);padding:6px;min-width:200px;white-space:normal}.tt-med-popover-body .tt-med-preset-more.is-open .tt-med-preset-overflow{display:flex;flex-wrap:wrap;gap:4px}.tt-med-popover-body .tt-med-preset-overflow .tt-med-preset{white-space:nowrap}.tt-med-popover-body .tt-med-time-chip{display:inline-flex;align-items:center;gap:2px;padding:0 4px 0 0;border:1px solid #cbd5e1;border-radius:10px;background:#fff;font-size:11px;color:#0f172a}.tt-med-popover-body .tt-med-time-text{border:none;background:0 0;cursor:pointer;padding:2px 4px 2px 8px;font-family:ui-monospace,"SF Mono",monospace;font-size:11px;color:#0f172a;border-radius:9px 0 0 9px}.tt-med-popover-body .tt-med-time-text:hover{background:#eff6ff;color:#1e40af}.tt-med-popover-body .tt-med-time-remove{width:16px;height:16px;border:none;background:0 0;cursor:pointer;color:#94a3b8;font-size:13px;line-height:1;padding:0;border-radius:50%}.tt-med-popover-body .tt-med-time-remove:hover{background:#fee2e2;color:#dc2626}.tt-med-marker-picker{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#64748b;margin-left:auto;margin-right:8px}.tt-med-marker-picker select{padding:2px 6px;border:1px solid #d1d5db;border-radius:4px;background:#fff;font-size:11px;color:#0f172a;cursor:pointer}.tt-med-marker-picker select:focus{outline:0;border-color:#3b82f6;box-shadow:0 0 0 2px #dbeafe}.tt-med-popover-body .tt-med-time-add{padding:2px 8px;border:1px dashed #94a3b8;border-radius:10px;background:#fff;font-size:11px;color:#475569;cursor:pointer}.tt-med-popover-body .tt-med-time-add:hover{background:#f8fafc;border-color:#3b82f6;color:#1f2937}.tt-med-popover-body .tt-med-add-row{padding:8px 12px;border:1px dashed #cbd5e1;border-radius:6px;background:#fff;font-size:12px;color:#475569;cursor:pointer;font-weight:500}.tt-med-popover-body .tt-med-add-row:hover{background:#f8fafc;border-color:#3b82f6;color:#1f2937}@media print{.tt-med-schedule{border:none;padding:0;cursor:default}.tt-med-schedule:hover{border-color:transparent}.tt-med-schedule .tt-med-edit-btn{display:none!important}.tt-med-schedule .tt-med-title{font-size:12px;margin:0 0 4px 0}.tt-med-popover{display:none!important}}.medtext-content-host .ProseMirror blockquote,.medtext-static blockquote{border-left:3px solid #93c5fd;margin:6px 0;padding:2px 10px;color:#374151;background:#f0f9ff;font-style:italic}.medtext-content-host .ProseMirror blockquote p,.medtext-static blockquote p{margin:2px 0}.signature-grid-block{margin:10px 0 12px;padding:8px 10px 10px;border:1px solid #d7e0ea;border-radius:6px;background:#fbfdff;color:#1f2937;font-style:normal}.signature-grid-title{margin:0 0 8px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#475569}.signature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;align-items:stretch;border-top:1px solid #cbd5e1;border-left:1px solid #cbd5e1;background:#fff}.signature-grid-cell{min-height:120px;padding:8px 9px 7px;display:grid;grid-template-rows:14px 18px 1fr 12px 12px;gap:2px;align-items:end;border-right:1px solid #cbd5e1;border-bottom:1px solid #cbd5e1;background:#fff;break-inside:avoid;page-break-inside:avoid}.signature-grid:has(> .signature-grid-cell:nth-child(3):last-child)>.signature-grid-cell{min-height:108px}.signature-grid-role{font-size:9px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.03em;min-height:12px;text-align:center}.signature-grid-name{min-height:18px;font-size:11px;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.signature-grid-line{width:100%;border-top:1px solid #111827;height:0;align-self:end}.signature-grid-caption,.signature-grid-doc{font-size:9px;line-height:1.2;color:#475569;text-align:center;min-height:10px}.signature-grid-spacer>*{visibility:hidden}.medtext-content-host .ProseMirror img{max-width:100%;height:auto;display:block}.medtext-content-host .ProseMirror [data-resize-container]{justify-content:center}.medtext-content-host .ProseMirror [data-resize-container]:has(img[data-alignment=center]){display:flex!important;float:none;justify-content:center;margin:4px auto}.medtext-content-host .ProseMirror [data-resize-container]:has(img[data-alignment=left]){display:block!important;float:left;margin:4px 12px 4px 0}.medtext-content-host .ProseMirror [data-resize-container]:has(img[data-alignment=right]){display:block!important;float:right;margin:4px 0 4px 12px}.medtext-content-host .ProseMirror::after{content:"";display:block;clear:both}.medtext-drag-handle{width:13px;height:16px;cursor:grab;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:10px;line-height:1;border-radius:3px;background:0 0;transition:background-color .15s,color .15s}.medtext-drag-handle:hover{background:#e5e7eb;color:#374151}.medtext-drag-handle:active{cursor:grabbing}.medtext-snippet-popover{position:absolute;top:32px;left:8px;z-index:50;width:340px;max-height:380px;display:flex;flex-direction:column;background:#fff;border:1px solid #d1d5db;border-radius:6px;box-shadow:0 8px 20px rgba(0,0,0,.12);font-size:12px}.medtext-snippet-popover .tsp-head{display:flex;gap:4px;padding:6px;border-bottom:1px solid #e5e7eb}.medtext-snippet-popover .tsp-search{flex:1;border:1px solid #d1d5db;border-radius:4px;padding:4px 6px;font-size:12px}.medtext-snippet-popover .tsp-close{border:none;background:0 0;cursor:pointer;padding:0 6px;color:#6b7280}.medtext-snippet-popover .tsp-hint{padding:6px 8px;color:#6b7280;font-size:11px;line-height:1.4;border-bottom:1px solid #f3f4f6}.medtext-snippet-popover .tsp-list{overflow:auto;flex:1}.medtext-snippet-popover .tsp-item{padding:6px 8px;border-bottom:1px solid #f3f4f6}.medtext-snippet-popover .tsp-item:hover{background:#f9fafb}.medtext-snippet-popover .tsp-name{font-weight:600;color:#111827}.medtext-snippet-popover .tsp-preview{color:#6b7280;font-size:11px;margin:2px 0 4px;line-height:1.3}.medtext-snippet-popover .tsp-actions{display:flex;gap:4px}.medtext-snippet-popover .tsp-insert{border:1px solid #d1d5db;background:#fff;cursor:pointer;padding:2px 8px;border-radius:3px;font-size:11px;color:#374151}.medtext-snippet-popover .tsp-insert:hover{background:#ecfdf5;border-color:#10b981;color:#047857}.medtext-snippet-popover .tsp-empty{padding:10px;text-align:center;color:#9ca3af}.medtext-content-host .ProseMirror .medtext-snippet-field{background:rgba(255,200,100,.25);border:1px dashed rgba(245,158,11,.65);border-radius:2px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.medtext-content-host .ProseMirror .medtext-snippet-field-current{background:rgba(16,185,129,.18);border:1px solid rgba(16,185,129,.78);border-radius:2px;box-decoration-break:clone;-webkit-box-decoration-break:clone;font-weight:500}.medtext-content-host .ProseMirror .medtext-snippet-field-visited{background:rgba(34,197,94,.16);border:1px solid rgba(22,163,74,.45);border-radius:2px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.medtext-content-host .ProseMirror .medtext-snippet-field-mirror{background:rgba(148,163,184,.16);border-bottom:1px dotted rgba(100,116,139,.65);border-radius:2px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.medtext-snippet-empty-marker{display:inline-block;width:8px;height:1.15em;vertical-align:-.18em;background:rgba(16,185,129,.16);border:1px solid rgba(16,185,129,.7);border-radius:2px;margin:0 1px}.medtext-snippet-help{position:fixed;z-index:10000;max-width:300px;padding:8px 10px;background:rgba(15,23,42,.94);color:#e2e8f0;border:1px solid rgba(148,163,184,.38);border-radius:7px;box-shadow:0 8px 22px rgba(15,23,42,.28);font:11px/1.45 system-ui,-apple-system,sans-serif;pointer-events:none;user-select:none}.medtext-snippet-help .tsh-mode{color:#6ee7b7;font-size:10px;font-weight:650;line-height:1.25;margin-bottom:2px;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.medtext-snippet-help .tsh-field{color:#e2e8f0;font-size:11px;font-weight:700;line-height:1.25;margin-bottom:5px}.medtext-snippet-help .tsh-row{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-top:3px}.medtext-snippet-help kbd{background:rgba(30,41,59,.95);color:#f8fafc;padding:1px 5px;border-radius:3px;font-size:10px;border:1px solid rgba(148,163,184,.55)}.medtext-snippet-choice-popup{position:fixed;z-index:10001;min-width:190px;max-width:280px;max-height:220px;overflow:auto;background:rgba(15,23,42,.96);color:#dcfce7;border:1px solid rgba(16,185,129,.34);border-radius:7px;box-shadow:0 10px 24px rgba(15,23,42,.34);font:12px/1.35 system-ui,-apple-system,sans-serif}.medtext-snippet-choice-popup .tsc-head{padding:6px 10px;color:#6ee7b7;font-size:10px;font-weight:700;border-bottom:1px solid rgba(148,163,184,.18)}.medtext-snippet-choice-popup .tsc-item{padding:7px 10px;cursor:pointer;border-bottom:1px solid rgba(148,163,184,.12)}.medtext-snippet-choice-popup .tsc-item:last-child{border-bottom:none}.medtext-snippet-choice-popup .tsc-item.is-selected,.medtext-snippet-choice-popup .tsc-item:hover{background:#10b981;color:#0f172a}.medtext-slash-menu{position:fixed;z-index:1000;min-width:240px;max-width:300px;max-height:320px;background:#fff;border:1px solid #d1d5db;border-radius:6px;box-shadow:0 8px 20px rgba(0,0,0,.15);overflow:auto;padding:4px;font-size:12px}.medtext-slash-menu .tsm-item{display:flex;align-items:center;gap:8px;padding:6px 8px;cursor:pointer;border-radius:4px}.medtext-slash-menu .tsm-item.is-selected,.medtext-slash-menu .tsm-item:hover{background:#ecfdf5;box-shadow:inset 3px 0 0 #10b981}.medtext-slash-menu .tsm-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;background:#f3f4f6;border-radius:4px;font-weight:600;color:#374151;flex-shrink:0}.medtext-slash-menu .tsm-name{font-weight:600;color:#111827}.medtext-slash-menu .tsm-hint{color:#6b7280;font-size:11px}.medtext-slash-menu .tsm-empty{padding:10px;text-align:center;color:#9ca3af}.medtext-search-popover{position:fixed;z-index:1100;width:280px;background:#fff;border:1px solid #d1d5db;border-radius:6px;box-shadow:0 8px 20px rgba(0,0,0,.15);padding:6px;font-size:12px;display:flex;flex-direction:column;gap:4px}.medtext-search-popover input{width:100%;box-sizing:border-box;padding:4px 6px;border:1px solid #d1d5db;border-radius:4px;font:inherit}.medtext-search-popover input:focus{outline:0;border-color:#10b981;box-shadow:0 0 0 2px rgba(16,185,129,.18)}.medtext-search-popover .tsr-row{display:flex;align-items:center;gap:3px}.medtext-search-popover .tsr-count{flex:1;color:#6b7280;font-variant-numeric:tabular-nums;padding-left:4px}.medtext-search-popover .tsr-btn{border:1px solid #d1d5db;background:#fff;cursor:pointer;padding:2px 7px;border-radius:3px;color:#374151;font-size:12px}.medtext-search-popover .tsr-btn:hover{background:#ecfdf5;border-color:#10b981;color:#047857}.medtext-search-popover .tsr-close{color:#9ca3af}.medtext-content-host .ProseMirror .medtext-search-result{background:#e2e8f0;border-radius:2px}.medtext-content-host .ProseMirror .medtext-search-result-current{background:#fbbf24}.medtext-content-host .ProseMirror a.medtext-link,.medtext-static a{color:#047857;text-decoration:underline;cursor:pointer}.medtext-bubble-menu{position:absolute;top:-9999px;left:-9999px;display:flex;align-items:center;gap:1px;padding:3px 4px;background:#fff;color:#374151;border:1px solid #dbe3ee;border-radius:6px;box-shadow:0 6px 18px rgba(15,23,42,.18),0 2px 6px rgba(15,23,42,.08);z-index:1100;font-size:12px;pointer-events:auto;flex-wrap:wrap}.medtext-bubble-menu button{border:1px solid transparent;background:0 0;color:#374151;cursor:pointer;padding:2px 5px;border-radius:3px;font-size:12px;min-width:22px;min-height:22px;display:inline-flex;align-items:center;justify-content:center}.medtext-bubble-menu button:hover{background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.medtext-bubble-menu button.is-active{background:linear-gradient(180deg,#1e293b 0,#334155 100%);border-color:#1e293b;color:#dcfce7;box-shadow:0 0 0 1px rgba(16,185,129,.26),0 0 8px rgba(16,185,129,.24)}.medtext-bubble-menu .tbm-sep{display:inline-block;width:1px;height:14px;background:#e5e7eb;margin:0 2px}.medtext-bubble-menu .tbm-line-height{height:22px;padding:0 4px;font-size:11px;border:1px solid #d1d5db;background:#fff;border-radius:3px;color:#374151;cursor:pointer}.medtext-bubble-menu .tbm-line-height:hover{background:#f1f5f9}.medtext-bubble-menu .tbm-extra{display:none}.medtext-bubble-menu.is-expanded .tbm-extra{display:inline-flex}.medtext-bubble-menu.is-expanded span.tbm-extra{display:inline-block}.medtext-bubble-menu .tbm-expand{color:#64748b}.medtext-bubble-menu .tbm-expand:hover{background:#f1f5f9;color:#1f2937}.medtext-bubble-menu .tbm-expand svg{transition:transform 160ms ease}.medtext-bubble-menu.is-expanded .tbm-expand svg{transform:rotate(180deg)}.medtext-ctx-menu{position:fixed;z-index:1100;background:#fff;border:1px solid #e2e8f0;border-radius:6px;box-shadow:0 12px 28px rgba(15,23,42,.18),0 2px 6px rgba(15,23,42,.08);font-family:ui-sans-serif,system-ui,sans-serif;padding:4px 0;min-width:230px;max-width:340px;max-height:80vh;overflow-y:auto;user-select:none}.medtext-ctx-menu-section{padding:5px 12px 2px;font-size:9.5px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;border-top:1px solid #f1f5f9;margin-top:2px}.medtext-ctx-menu-section:first-child{border-top:none;margin-top:0}.medtext-ctx-menu-item{display:flex;align-items:center;gap:10px;padding:5px 12px;font-size:12px;color:#1f2937;cursor:pointer}.medtext-ctx-menu-item:hover{background:#f1f5f9;color:#0f172a}.medtext-ctx-menu-item.is-disabled{color:#cbd5e1;cursor:not-allowed}.medtext-ctx-menu-item.is-disabled:hover{background:0 0;color:#cbd5e1}.medtext-ctx-menu-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;color:#64748b;flex-shrink:0}.medtext-ctx-menu-item:hover .medtext-ctx-menu-icon{color:#1f2937}.medtext-ctx-menu-item.is-disabled .medtext-ctx-menu-icon{color:#cbd5e1}.medtext-ctx-menu-icon-empty{display:inline-block;width:16px;height:16px}.medtext-ctx-menu-label{flex:1;min-width:0}.medtext-ctx-menu-shortcut{font-family:ui-monospace,"SF Mono",Consolas,monospace;font-size:10px;color:#94a3b8;font-weight:500;flex-shrink:0}.medtext-ctx-menu-chevron{color:#94a3b8;font-size:14px;line-height:1;flex-shrink:0}.medtext-ctx-menu-item.has-submenu:hover .medtext-ctx-menu-chevron{color:#1f2937}.medtext-ctx-submenu{z-index:1101}.medtext-ctx-menu-iconrow{display:flex;align-items:stretch;gap:2px;padding:2px 8px 5px}.medtext-ctx-menu>.medtext-ctx-menu-iconrow:first-child{border-bottom:1px solid #f1f5f9;margin-bottom:2px}.medtext-ctx-iconbtn{flex:1;display:inline-flex;align-items:center;justify-content:center;padding:6px 0;border:none;background:0 0;border-radius:6px;color:#475569;cursor:pointer}.medtext-ctx-iconbtn:hover{background:#f1f5f9;color:#0f172a}.medtext-ctx-iconbtn.is-disabled{color:#e2e8f0;cursor:not-allowed}.medtext-ctx-iconbtn.is-disabled:hover{background:0 0;color:#e2e8f0}:root[data-tt-highlight=off] .medtext-content-host [class*=med-sev-],:root[data-tt-highlight=off] .medtext-content-host [class*=med-tok-],:root[data-tt-highlight=off] .medtext-static [class*=med-sev-],:root[data-tt-highlight=off] .medtext-static [class*=med-tok-]{color:inherit!important;background-color:transparent!important;font-weight:inherit!important;text-decoration:none!important;font-style:inherit!important;border-color:transparent!important}:root[data-tt-hover=off] #ml-hover-tooltip,:root[data-tt-hover=off] .ml-hover-tooltip{display:none!important}:root[data-tt-completes=off] .ml-ac-menu{display:none!important}.medtext-bubble-menu .tbm-close{color:#94a3b8;padding:3px 6px;display:inline-flex;align-items:center;justify-content:center}.medtext-bubble-menu .tbm-close:hover{background:#fee2e2;color:#b91c1c;border-color:transparent}.layout-preview-el.a4-editor-overflow{outline:2px solid #dc2626;outline-offset:2px;box-shadow:0 0 0 4px rgba(220,38,38,.1)}.a4-overflow-warning{position:absolute;left:0;right:auto;top:calc(100% + 7px);bottom:auto;z-index:25;display:flex;align-items:center;gap:6px;flex-wrap:wrap;width:max-content;min-width:min(240px,100%);max-width:min(380px,100vw);padding:5px 7px;border:1px solid #fecaca;border-radius:6px;background:rgba(254,242,242,.96);color:#991b1b;font-size:10.5px;line-height:1.25;box-shadow:0 5px 14px rgba(127,29,29,.16);pointer-events:auto}.a4-overflow-warning[data-placement=above]{top:auto;bottom:calc(100% + 7px)}.a4-overflow-warning[data-align=right]{left:auto;right:0}.a4-overflow-warning strong{font-weight:800}.a4-overflow-warning .a4-overflow-multipage-link{border:0;background:0 0;color:#1d4ed8;padding:0;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}@media print{.a4-overflow-warning{display:none!important}.layout-preview-el.a4-editor-overflow{outline:0!important;box-shadow:none!important}}.multipage-parking{display:none!important}.mpg-shell{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;height:calc(100vh - 118px);background:#eef2f7}.mpg-sidebar{background:#fff;border-right:1px solid #dbe3ee;padding:14px;overflow:auto}.mpg-sidebar h3{margin:0 0 4px;font-size:1rem;color:#0f172a}.mpg-sidebar .mpg-subtitle{margin:0 0 14px;color:#64748b;font-size:.78rem;line-height:1.4}.mpg-control-group{border:1px solid #e5e7eb;border-radius:8px;padding:10px;margin-bottom:10px;background:#fbfdff}.mpg-control-title{font-size:.75rem;font-weight:700;color:#334155;margin-bottom:8px;text-transform:uppercase;letter-spacing:.03em}.mpg-control-row{display:grid;grid-template-columns:1fr 78px;gap:8px;align-items:center;margin:7px 0;font-size:.78rem;color:#475569}.mpg-control-row input[type=number],.mpg-control-row select{width:100%;border:1px solid #d1d5db;border-radius:5px;padding:4px 6px;font-size:.78rem;background:#fff}.mpg-select-row{display:flex;flex-direction:column;gap:5px;margin:7px 0;font-size:.78rem;color:#475569}.mpg-select-row select{width:100%;border:1px solid #d1d5db;border-radius:5px;padding:6px 8px;font-size:.78rem;background:#fff;color:#0f172a}.mpg-select-row select:focus{outline:0;border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.12)}.mpg-check-row{display:flex;align-items:center;gap:7px;margin:7px 0;font-size:.78rem;color:#475569}.mpg-actions{display:flex;gap:6px;flex-wrap:wrap}.mpg-actions .btn{padding:5px 9px;font-size:.76rem}.mpg-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}.mpg-metric{border:1px solid #e5e7eb;border-radius:7px;padding:7px;background:#fff}.mpg-metric strong{display:block;color:#1d4ed8;font-size:1rem;line-height:1}.mpg-metric span{color:#64748b;font-size:.68rem}.mpg-status{min-height:18px;margin-top:8px;color:#64748b;font-size:.75rem;line-height:1.35}.mpg-main{min-width:0;min-height:0;display:flex;flex-direction:column;position:relative}#mpg-fab{position:relative;inset:auto;transform:none;z-index:50;display:flex;flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:6px;order:-1;width:100%;min-height:50px;padding:8px 10px;background:#fff;border-bottom:1px solid #dbe3ee;box-shadow:0 5px 14px rgba(15,23,42,.08)}#mpg-action-controls{display:flex;flex:1 1 auto;min-width:0;align-items:center;flex-wrap:nowrap;gap:6px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}#mpg-action-controls::before{content:'Ações multifolhas';display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-left:auto;padding-right:8px;border-right:1px solid #e2e8f0;white-space:nowrap;color:#334155;font-size:.7rem;font-weight:650;letter-spacing:.02em}#mpg-fab .fab-btn{width:auto;min-width:0;height:30px;padding:0 10px;border-radius:6px;gap:6px;box-shadow:0 1px 2px rgba(15,23,42,.08)}#mpg-fab .fab-btn:hover{transform:translateY(-1px)}#mpg-fab .fab-btn:active{transform:translateY(0) scale(.98)}#mpg-fab .fab-icon{width:14px;height:14px;flex:0 0 14px}#mpg-fab .fab-icon svg{width:14px;height:14px}#mpg-fab .fab-label{position:static;inset:auto;transform:none;padding:0;border-radius:0;background:0 0;color:inherit;font-size:.7rem;font-weight:650;line-height:1;opacity:1;pointer-events:none;box-shadow:none}#mpg-fab .fab-btn:focus-visible .fab-label,#mpg-fab .fab-btn:hover .fab-label{transform:none;opacity:1}#mpg-fab .fab-btn:focus-visible{outline:2px solid #10b981;outline-offset:2px}#mpg-document-actions,#mpg-document-settings{display:flex;flex:0 0 auto;align-items:center;justify-content:center;flex-wrap:nowrap;gap:6px}#mpg-document-settings{margin-right:auto}#mpg-fab>#canvas-zoom-controls{flex:0 0 auto;flex-direction:row;align-items:center;justify-content:center;margin:0 0 0 auto;padding:2px 5px;border:1px solid #dbe3ee;border-radius:6px;background:#f8fafc}#mpg-fab #canvas-zoom-controls button{width:24px;height:24px;border:0;border-radius:4px;box-shadow:none}#mpg-fab #canvas-zoom-controls .zoom-level{width:auto;min-width:34px;padding:0;background:0 0;border:0;box-shadow:none}#mpg-fab #canvas-zoom-slider{width:92px}#mpg-fab .mpg-toolbar-control{height:30px;border-radius:6px}#mpg-fab input:focus-visible{outline:2px solid #10b981;outline-offset:2px}.mpg-toolbar{flex:0 0 auto;position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:5px 12px;border-bottom:1px solid #dbe3ee;background:#fff}.mpg-tools{display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap}.mpg-tools button{min-width:24px;height:24px;border:1px solid #d1d5db;border-radius:5px;background:#fff;color:#334155;cursor:pointer;font-size:.7rem;line-height:1}.mpg-tools button:hover{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.mpg-tools button.is-active{background:#2563eb;color:#fff;border-color:#2563eb}.mpg-tools .sep{width:1px;height:15px;background:#e5e7eb;margin:0 2px}.mpg-toolbar-control{height:24px;display:inline-flex;align-items:center;gap:4px;border:1px solid #d1d5db;border-radius:5px;background:#fff;color:#475569;padding:0 6px;font-size:.68rem;white-space:nowrap}.mpg-toolbar-control input[type=number]{width:39px;border:0;border-left:1px solid #e5e7eb;padding:1px 0 1px 5px;color:#0f172a;font:inherit;background:0 0}.mpg-toolbar-control input[type=checkbox]{margin:0;accent-color:#059669}.mpg-toolbar-action{min-width:auto!important;padding:0 7px;font-weight:650}.mpg-toolbar-info{display:none!important;position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#64748b;font-size:.68rem;white-space:nowrap}.mpg-exit-btn{position:static;transform:none;height:30px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;padding:0 10px;font-size:.7rem;font-weight:650;white-space:nowrap;cursor:pointer}.mpg-exit-btn:hover{background:#f1f5f9;border-color:#94a3b8;color:#0f172a}.mpg-exit-btn svg{width:12px;height:12px}#mpg-fab .mpg-sign-split{display:inline-flex;align-items:stretch}#mpg-fab .mpg-sign-split>#mpg-fab-sign-btn{border-top-right-radius:0;border-bottom-right-radius:0}#mpg-fab .mpg-sign-split>.mpg-split-caret{padding:0 6px;margin-left:0;border-top-left-radius:0;border-bottom-left-radius:0;border-left:1px solid rgba(255,255,255,.35)}#mpg-fab .mpg-sign-split>.fab-btn:hover{transform:none}#mpg-fab .mpg-split-caret[aria-expanded=true]{box-shadow:0 0 0 2px rgba(16,185,129,.35)}#mpg-fab .mpg-split-caret svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}#mpg-fab .mpg-icon-btn{width:30px;padding:0}#mpg-fab .mpg-icon-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}#mpg-more-toggle svg circle{fill:currentColor;stroke:none}#mpg-more-popover .mpg-more-check{display:flex;align-items:center;gap:8px;min-height:34px;padding:6px 8px;border-radius:6px;color:var(--slate-700,#334155);font-size:12.5px;cursor:pointer}#mpg-more-popover .mpg-more-check:hover{background:var(--slate-100,#f1f5f9)}#mpg-more-popover .mpg-more-check input{margin:0;accent-color:#059669}#mpg-more-popover .mpg-more-danger{color:#b91c1c}#mpg-more-popover .mpg-more-danger:hover{background:#fef2f2}@media (max-width:1120px){.mpg-toolbar{flex-direction:column;gap:3px;padding:5px 8px}.mpg-toolbar-info{position:static;transform:none}.mpg-exit-btn{position:static;transform:none}}#editor-multipage-host .mpg-main{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}#editor-multipage-host #mpg-fab{grid-column:1;grid-row:1}#editor-multipage-host .mpg-toolbar{position:absolute;left:-46px;top:40px;width:40px;box-sizing:border-box;max-height:calc(100% - 40px);z-index:10;min-height:0;overflow:auto;scrollbar-width:thin;flex-direction:column;justify-content:flex-start;padding:2px 1px;border:1px solid #dbe3ee;border-radius:6px;background:#f8fafc;visibility:hidden}#editor-multipage-host #mpg-formatting-panel.is-active{visibility:visible}#editor-multipage-host #mpg-toolbar{width:100%;flex-direction:column;gap:8px}#editor-multipage-host #mpg-toolbar>.sep{display:none}#editor-multipage-host #mpg-toolbar .medtext-toolbar{display:flex;flex-flow:column nowrap;align-items:center;gap:1px;min-width:0;width:auto;padding:2px 1px;border:0;background:0 0}#editor-multipage-host #mpg-toolbar .medtext-toolbar button{flex:0 0 auto;width:28px;min-width:0;height:24px;padding:2px}#editor-multipage-host #mpg-toolbar .medtext-toolbar button:hover{background:#f1f5f9;border-color:#cbd5e1;color:#1e293b}#editor-multipage-host #mpg-toolbar .medtext-toolbar button.is-active{background:linear-gradient(180deg,#1e293b,#334155);border-color:#1e293b;color:#dcfce7}#editor-multipage-host #mpg-toolbar .medtext-toolbar .tts-sep{flex:0 0 auto;width:20px;height:1px;margin:3px 0}#editor-multipage-host #mpg-toolbar .tts-line-height{flex:0 0 auto;width:30px;padding:0}#editor-multipage-host #mpg-line-height-control{flex-direction:column;height:auto;width:36px;padding:2px 0}#editor-multipage-host #mpg-line-height-control input{width:34px;border:0;padding:0;text-align:center}#editor-multipage-host #mpg-stage{grid-column:1;grid-row:2;min-width:0;padding-inline:54px}#editor-multipage-host .mpg-page-list{min-width:fit-content}#editor-multipage-host .mpg-page-wrap{position:relative}#editor-multipage-host .mpg-page-wrap>.mpg-flow-page,#editor-multipage-host .mpg-page-wrap>.mpg-page-label{zoom:var(--editor-canvas-zoom,1)}.mpg-stage{position:relative;min-height:0;overflow:auto;padding:18px 22px 38px}.mpg-page-list{display:flex;flex-direction:column;align-items:center;gap:22px}.mpg-signed-view{position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;gap:10px;padding:16px 22px 22px;background:#0f172a}.mpg-signed-view.hidden{display:none}.mpg-signed-badge{display:inline-flex;align-items:center;gap:7px;align-self:center;padding:5px 12px;border-radius:999px;background:rgba(16,185,129,.15);color:#6ee7b7;border:1px solid rgba(16,185,129,.45);font-size:.78rem;font-weight:600;letter-spacing:.01em}.mpg-signed-view iframe{flex:1;width:100%;border:0;border-radius:8px;background:#fff;box-shadow:0 8px 30px rgba(0,0,0,.35)}.mpg-page-wrap{display:flex;flex-direction:column;align-items:stretch;width:fit-content}.mpg-page-label{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:8px;padding:0 3px 4px;margin:0;pointer-events:none;color:rgba(71,85,105,.72);font-size:.62rem;font-weight:650;line-height:1}.mpg-page-label-num{justify-self:start}.mpg-page-exit-btn{justify-self:center;pointer-events:auto;display:inline-flex;align-items:center;border:1px solid rgba(148,163,184,.4);border-radius:999px;background:rgba(255,255,255,.8);color:rgba(71,85,105,.82);height:16px;padding:0 8px;font-size:.58rem;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 1px 2px rgba(15,23,42,.05)}.mpg-page-exit-btn:hover{background:#fef2f2;border-color:#fca5a5;color:#b91c1c;box-shadow:0 0 8px rgba(239,68,68,.16)}.mpg-page-label-actions{justify-self:end;display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0}.mpg-page-stdtext-btn{pointer-events:auto;border:1px solid rgba(148,163,184,.38);border-radius:999px;background:rgba(255,255,255,.76);color:rgba(51,65,85,.72);height:16px;padding:0 6px;font-size:.58rem;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 1px 2px rgba(15,23,42,.05)}.mpg-page-stdtext-btn:hover{background:#ecfdf5;border-color:#6ee7b7;color:#047857;box-shadow:0 0 8px rgba(16,185,129,.18)}.mpg-page-stdtext-btn.is-saving{background:#dcfce7;border-color:#10b981;color:#047857}.mpg-flow-page{position:relative;width:210mm;height:297mm;background:#fff;overflow:hidden;box-shadow:0 0 0 1px rgba(16,185,129,.32),0 2px 6px rgba(15,23,42,.18),0 14px 34px rgba(2,6,23,.6);border-radius:2px}.mpg-page-header{position:absolute;left:14mm;right:14mm;top:10mm;height:28mm;display:grid;grid-template-columns:52mm 1fr;gap:8mm;border-bottom:1px solid #cbd5e1;padding-bottom:5mm;color:#0f172a}.mpg-brand{display:flex;align-items:center;gap:8px;min-width:0}.mpg-brand-mark{width:12mm;height:12mm;border-radius:6px;display:flex;align-items:center;justify-content:center;background:#dbeafe;color:#1d4ed8;font-weight:800}.mpg-brand strong{display:block;font-size:13px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mpg-brand span{display:block;margin-top:2px;color:#64748b;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mpg-patient-box{align-self:end;display:grid;grid-template-columns:1fr 1fr;gap:3mm 6mm;font-size:10px;color:#334155}.mpg-patient-box b{color:#64748b;font-weight:650}.mpg-flow-region{position:absolute;left:18mm;right:18mm;overflow:hidden;color:#16202a;cursor:text;box-sizing:border-box}.mpg-flow-region.debug{outline:1px dashed #2563eb;background:rgba(37,99,235,.035)}.mpg-flow-region:focus-within{outline:2px solid #2563eb;background:rgba(37,99,235,.055)}.mpg-template-layer{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;background:#fff}.mpg-template-layer .layout-preview-el{pointer-events:none}.mpg-template-layer .patient-name-slot,.mpg-template-layer .patient-name-slot *{pointer-events:auto}.mpg-template-layer [contenteditable]{cursor:default!important;user-select:none}.mpg-flow-page.is-template-backed .mpg-flow-region{z-index:2}.mpg-template-page-num{position:absolute;right:10mm;bottom:5mm;z-index:3;color:#64748b;font-size:9px;pointer-events:none}.mpg-editor-host,.mpg-readonly-flow{min-height:100%}.mpg-doc,.mpg-editor-host .ProseMirror{font-family:"Segoe UI",system-ui,sans-serif;outline:0;overflow-wrap:break-word;word-break:break-word;white-space:break-spaces}.mpg-editor-host .ProseMirror{min-height:100%}.mpg-doc p,.mpg-editor-host .ProseMirror p{margin:0 0 8px}.mpg-doc h1,.mpg-doc h2,.mpg-doc h3,.mpg-editor-host .ProseMirror h1,.mpg-editor-host .ProseMirror h2,.mpg-editor-host .ProseMirror h3{margin:0 0 10px;color:#0f172a;line-height:1.2}.mpg-doc h1,.mpg-editor-host .ProseMirror h1{font-size:1.45em}.mpg-doc h2,.mpg-editor-host .ProseMirror h2{font-size:1.25em}.mpg-doc h3,.mpg-editor-host .ProseMirror h3{font-size:1.1em}.mpg-doc ol,.mpg-doc ul,.mpg-editor-host .ProseMirror ol,.mpg-editor-host .ProseMirror ul{margin:0 0 8px 18px;padding:0}.mpg-doc li,.mpg-editor-host .ProseMirror li{margin:0 0 4px;padding-left:2px}.mpg-doc blockquote,.mpg-editor-host .ProseMirror blockquote{margin:8px 0;padding:6px 10px;border-left:3px solid #bfdbfe;background:#eff6ff;color:#334155}.mpg-doc pre,.mpg-editor-host .ProseMirror pre{white-space:pre-wrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:8px;margin:6px 0 10px}.mpg-doc img,.mpg-editor-host .ProseMirror img{display:block;width:70%;max-width:100%;height:auto;object-fit:contain;margin:6px auto 10px;border:1px solid #d8dee2;border-radius:6px}.mpg-doc img[data-alignment=left],.mpg-editor-host .ProseMirror img[data-alignment=left]{margin-left:0;margin-right:auto}.mpg-doc img[data-alignment=center],.mpg-editor-host .ProseMirror img[data-alignment=center]{margin-left:auto;margin-right:auto}.mpg-doc img[data-alignment=right],.mpg-editor-host .ProseMirror img[data-alignment=right]{margin-left:auto;margin-right:0}.mpg-doc .monaco-block-static{white-space:pre-wrap;font-family:Consolas,"Courier New",monospace;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:8px;margin:6px 0 10px}.mpg-page-footer{position:absolute;left:18mm;right:18mm;bottom:10mm;display:flex;align-items:flex-end;justify-content:space-between;color:#64748b;font-size:10px;border-top:1px solid #d8dee2;padding-top:3mm}.mpg-signature{width:66mm;color:#26323a;text-align:center;font-size:11px}.mpg-signature-line{border-top:1px solid #26323a;padding-top:3mm}#mpg-measure-box{position:fixed;left:-10000px;top:0;visibility:hidden;overflow-wrap:break-word;padding:0;box-sizing:border-box}@media (max-width:980px){.mpg-shell{grid-template-columns:1fr;height:auto;min-height:calc(100vh - 118px)}.mpg-sidebar{border-right:0;border-bottom:1px solid #dbe3ee}}@media print{body.multipage-printing #editor-action-buttons,body.multipage-printing #editor-canvas-wrapper,body.multipage-printing #mpg-fab,body.multipage-printing #umbrella-form-selector-group,body.multipage-printing .content-tabs,body.multipage-printing .doctype-layout-bar,body.multipage-printing .editor-mode-bar,body.multipage-printing .editor-sidebar,body.multipage-printing .header,body.multipage-printing .mpg-sidebar,body.multipage-printing .mpg-toolbar,body.multipage-printing .sidebar,body.multipage-printing .toast-container{display:none!important}body.multipage-printing #editor-multipage-host,body.multipage-printing #editor-multipage-wrapper,body.multipage-printing #editor-tab,body.multipage-printing .container,body.multipage-printing .editor-layout,body.multipage-printing .editor-main,body.multipage-printing .layout-preview-wrapper,body.multipage-printing .main-content,body.multipage-printing .mpg-main,body.multipage-printing .mpg-page-list,body.multipage-printing .mpg-shell,body.multipage-printing .mpg-stage{display:block!important;padding:0!important;margin:0!important;overflow:visible!important;background:#fff!important;height:auto!important;max-height:none!important}body.multipage-printing .mpg-page-label{display:none!important}body.multipage-printing #mpg-page-list{gap:0!important;row-gap:0!important;column-gap:0!important}body.multipage-printing .mpg-flow-page,body.multipage-printing .mpg-page-wrap{zoom:1!important}body.multipage-printing .mpg-flow-page{box-shadow:none!important;border-radius:0!important;page-break-after:always!important;break-after:page!important;margin:0!important;max-height:297mm!important;overflow:hidden!important}body.multipage-printing .mpg-flow-page:last-child{page-break-after:auto!important;break-after:auto!important}body.multipage-printing{background:#fff!important}@page{size:A4 portrait;margin:0}}.placeholder-chip{display:inline-block;background:#ecfdf5;color:#047857;padding:1px 8px;margin:0 1px;border-radius:10px;font-size:.88em;font-weight:600;border:1px solid #a7f3d0;cursor:default;user-select:all;white-space:nowrap}.ProseMirror-selectednode.placeholder-chip{outline:2px solid #10b981}.patient-name-slot{display:inline;vertical-align:baseline;line-height:inherit}.patient-name-slot .patient-name-print{display:none}.patient-embed-wrap{display:inline-flex;align-items:center;gap:5px;padding:1px 8px 1px 7px;background:linear-gradient(180deg,#f8fafc 0,#f1f5f9 100%);border:1px dashed #cbd5e1;border-radius:6px;transition:border-color .15s,background .15s,box-shadow .15s;pointer-events:auto!important;user-select:auto!important;-webkit-user-select:auto!important;cursor:text;max-width:100%}.patient-embed-wrap:focus-within,.patient-embed-wrap:hover{background:linear-gradient(180deg,#ecfdf5 0,#d1fae5 100%);border-color:var(--emerald-500);border-style:solid;box-shadow:0 0 0 2px rgba(16,185,129,.15)}.patient-embed-wrap:focus-within{box-shadow:0 0 0 3px rgba(16,185,129,.22)}.patient-embed-icon{flex:0 0 auto;color:#64748b;transition:color .15s;pointer-events:none}.patient-embed-wrap:focus-within .patient-embed-icon,.patient-embed-wrap:hover .patient-embed-icon{color:var(--emerald-600)}.patient-name-embed-input{text-transform:uppercase;flex:1 1 auto;min-width:140px;max-width:100%;padding:0;font:inherit;font-size:.92em;font-weight:500;color:#1e293b;background:0 0;border:0;outline:0;pointer-events:auto!important;user-select:auto!important;-webkit-user-select:auto!important;cursor:text}.patient-name-embed-input::placeholder{color:#94a3b8;font-weight:500}.patient-embed-dropdown{position:fixed;z-index:10002;max-height:280px;overflow-y:auto;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 10px 28px rgba(15,23,42,.18),0 2px 6px rgba(15,23,42,.08);padding:4px 0;font:inherit}.patient-embed-dropdown.hidden{display:none}.patient-embed-empty,.patient-embed-loading{padding:10px 14px;font-size:.82rem;color:#64748b;font-style:italic}.patient-embed-item{display:flex;align-items:center;gap:8px;padding:8px 12px;font-size:.85rem;color:#1f2937;cursor:pointer;border-bottom:1px solid #f1f5f9;transition:background .1s}.patient-embed-item:last-child{border-bottom:0}.patient-embed-item:hover{background:#ecfdf5}.patient-embed-item-name{flex:1;min-width:0}.patient-embed-tag-incomplete{background:#f1f5f9;color:#92400e;padding:1px 7px;border-radius:8px;font-size:.68rem;font-weight:600}.patient-embed-quickreg{padding:8px 12px;border-top:1px solid #e2e8f0;background:#f0fdf4}.patient-embed-quickreg-btn{width:100%;padding:7px 12px;font:inherit;font-size:.82rem;font-weight:600;color:#fff;background:linear-gradient(180deg,var(--emerald-500) 0,var(--emerald-600) 100%);border:0;border-radius:6px;cursor:pointer;transition:background .15s}.patient-embed-quickreg-btn:hover{background:linear-gradient(180deg,var(--emerald-600) 0,var(--emerald-700) 100%)}.patient-name-text{font-weight:inherit;color:inherit}.patient-name-edit-btn{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;margin-left:4px;background:0 0;border:1px solid transparent;border-radius:5px;color:#94a3b8;cursor:pointer;opacity:.55;transition:opacity .15s,background .15s,color .15s,border-color .15s,transform 50ms;vertical-align:middle;pointer-events:auto!important}.patient-name-edit-btn svg{display:block}.patient-name-edit-btn:hover{opacity:1;color:var(--emerald-700);background:#ecfdf5;border-color:rgba(16,185,129,.45);box-shadow:0 0 0 2px rgba(16,185,129,.15)}.patient-name-edit-btn:active{transform:scale(.94)}.patient-name-slot:hover .patient-name-edit-btn{opacity:.85}.patient-name-slot:hover .patient-name-edit-btn:hover{opacity:1}.patient-field-value{display:inline}.patient-field-empty{display:inline;color:#cbd5e1;font-weight:400;user-select:none;font-style:normal;letter-spacing:.02em}.patient-field-print{display:none}.mc-receita-access--on{outline:1.5px solid transparent;outline-offset:2px;border-radius:4px;position:relative;cursor:pointer;transition:outline-color .15s ease,box-shadow .15s ease,opacity .15s ease}.mc-receita-access--off{opacity:.5;box-shadow:inset 0 0 0 1px #94a3b8;border-radius:4px;position:relative;cursor:pointer;transition:outline-color .15s ease,box-shadow .15s ease,opacity .15s ease}.mc-receita-access--on:hover{outline-color:rgba(16,185,129,.9)}.mc-receita-access--off:hover{opacity:.72;box-shadow:inset 0 0 0 1.5px #64748b}.mc-receita-access-qr{position:absolute;right:5px;top:50%;transform:translateY(-50%);background:#fff;border:1px solid #e2e8f0;border-radius:3px;padding:2px;box-sizing:border-box;pointer-events:none}.mc-receita-access-qr svg{display:block;width:100%;height:100%}@media print{.mc-receita-access-qr{display:none!important}}.layout-preview-el.mc-date-hideable[data-as-background=true]{pointer-events:auto!important}.mc-date-hideable{cursor:pointer}[data-mc-date-slot].mc-date-hideable{position:relative;display:inline-block;pointer-events:auto!important}.mc-date-hideable::after{content:"";position:absolute;top:-7px;right:-7px;width:18px;height:18px;border-radius:50%;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:12px 12px;background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2364748b'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M2%2012s3.5-7%2010-7%2010%207%2010%207-3.5%207-10%207-10-7-10-7Z'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3C/svg%3E");box-shadow:0 1px 3px rgba(0,0,0,.22);opacity:0;transition:opacity .15s ease;pointer-events:none}.mc-date-hideable:hover::after{opacity:1}.mc-date-hideable:hover{outline:1.5px dashed rgba(100,116,139,.55);outline-offset:2px;border-radius:4px}.mc-date-hidden-el{opacity:.42}.mc-date-hidden-el::after{content:"sem data";width:auto;height:auto;border-radius:999px;top:-9px;right:-4px;font-size:9px;line-height:1;padding:1px 5px 1px 17px;font-weight:600;color:#64748b;border:1px solid #cbd5e1;background:#f8fafc url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2394a3b8'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9.88%209.88a3%203%200%201%200%204.24%204.24'/%3E%3Cpath%20d='M10.73%205.08A10.43%2010.43%200%200%201%2012%205c7%200%2010%207%2010%207a13.16%2013.16%200%200%201-1.67%202.68'/%3E%3Cpath%20d='M6.61%206.61A13.526%2013.526%200%200%200%202%2012s3%207%2010%207a9.74%209.74%200%200%200%205.39-1.61'/%3E%3Cline%20x1='2'%20x2='22'%20y1='2'%20y2='22'/%3E%3C/svg%3E") 4px center/10px 10px no-repeat;opacity:1}@media print{.mc-date-hideable::after{display:none!important}.mc-date-hideable:hover{outline:0!important}.mc-date-hidden-el{opacity:1}.mc-date-hidden-doc .type-date,.mc-date-hidden-doc .type-date-city,.mc-date-hidden-doc .type-date-extenso,.mc-date-hidden-doc .type-date-label,.mc-date-hidden-doc .type-date-today,.mc-date-hidden-doc [data-mc-date-slot]{display:none!important}}.mc-receita-access--off::after,.mc-receita-access--on::after{position:absolute;top:-9px;right:-4px;font-size:9px;line-height:1;padding:1px 5px;border-radius:999px;pointer-events:none;user-select:none;white-space:nowrap;font-weight:600}.mc-receita-access--on::after{content:"online";color:#047857;border:1px solid #a7f3d0;padding-left:17px;background:#ecfdf5 url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2310b981'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M2%2012s3.5-7%2010-7%2010%207%2010%207-3.5%207-10%207-10-7-10-7Z'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3C/svg%3E") 4px center/10px 10px no-repeat}.mc-receita-access--off::after{content:"sem acesso online";color:#64748b;border:1px solid #cbd5e1;padding-left:17px;background:#f8fafc url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2394a3b8'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9.88%209.88a3%203%200%201%200%204.24%204.24'/%3E%3Cpath%20d='M10.73%205.08A10.43%2010.43%200%200%201%2012%205c7%200%2010%207%2010%207a13.16%2013.16%200%200%201-1.67%202.68'/%3E%3Cpath%20d='M6.61%206.61A13.526%2013.526%200%200%200%202%2012s3%207%2010%207a9.74%209.74%200%200%200%205.39-1.61'/%3E%3Cline%20x1='2'%20x2='22'%20y1='2'%20y2='22'/%3E%3C/svg%3E") 4px center/10px 10px no-repeat}.type-icp-validation.mc-receita-access--off::after,.type-icp-validation.mc-receita-access--on::after,.type-qr-validation.mc-receita-access--off::after,.type-qr-validation.mc-receita-access--on::after{content:"";width:16px;height:16px;padding:0;border:none;top:-6px;right:-6px;border-radius:50%;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:11px 11px;box-shadow:0 1px 3px rgba(0,0,0,.22)}.type-icp-validation.mc-receita-access--on::after,.type-qr-validation.mc-receita-access--on::after{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2310b981'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M2%2012s3.5-7%2010-7%2010%207%2010%207-3.5%207-10%207-10-7-10-7Z'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3C/svg%3E")}.type-icp-validation.mc-receita-access--off::after,.type-qr-validation.mc-receita-access--off::after{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2394a3b8'%20stroke-width='2.4%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9.88%209.88a3%203%200%201%200%204.24%204.24'/%3E%3Cpath%20d='M10.73%205.08A10.43%2010.43%200%200%201%2012%205c7%200%2010%207%2010%207a13.16%2013.16%200%200%201-1.67%202.68'/%3E%3Cpath%20d='M6.61%206.61A13.526%2013.526%200%200%200%202%2012s3%207%2010%207a9.74%209.74%200%200%200%205.39-1.61'/%3E%3Cline%20x1='2'%20x2='22'%20y1='2'%20y2='22'/%3E%3C/svg%3E")}@media print{.mc-receita-access--off,.mc-receita-access--on{outline:0!important;box-shadow:none!important;opacity:1!important}.mc-receita-access--off::after,.mc-receita-access--on::after{display:none!important;content:""!important}}@media screen{.type-icp-validation[data-icp-ready]{cursor:default}.type-icp-validation[data-icp-ready=false]>:not(style){filter:grayscale(1);opacity:.45}.type-icp-validation[data-icp-ready]::after{content:"";position:absolute;top:-6px;right:-6px;width:18px;height:18px;border-radius:50%;background:#fff center/16px 16px no-repeat;pointer-events:none}.type-icp-validation[data-icp-ready=true]::after{background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23047857'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='9'/%3E%3Cpath%20d='m8%2012%203%203%205-6'/%3E%3C/svg%3E")}.type-icp-validation[data-icp-ready=false]::after{content:"OFF";transform:scale(.7);transform-origin:top right;width:auto;height:16px;padding:0 5px;border:1px solid #cbd5e1;border-radius:4px;background:#f8fafc;color:#64748b;font:600 9px/14px sans-serif}}[data-cet-code=patient-block-digital] strong+[data-mc-date-slot],[data-cet-code=rxespecial-id] strong+[data-mc-date-slot]{margin-inline-start:.35em}.patient-field-chrome,.patient-field-slot{display:inline}.patient-field-edit-wrap{display:inline-flex;align-items:center;gap:2px;vertical-align:baseline}.patient-field-input{font:inherit;color:inherit;line-height:1.2;border:1px dashed #cbd5e1;border-radius:5px;padding:1px 6px;background:linear-gradient(180deg,#f8fafc 0,#f1f5f9 100%);min-width:120px;max-width:190px;pointer-events:auto!important;user-select:auto!important}@media screen{[data-cet-code] div:has(> strong:first-child + [data-patient-field-slot=cpf]){display:flex;align-items:center;gap:.35em}[data-cet-code] div:has(> strong:first-child + [data-patient-field-slot=cpf])>strong{flex:0 0 auto}[data-cet-code] strong:first-child+[data-patient-field-slot=cpf]{flex:1 1 auto;min-width:0}[data-cet-code] strong:first-child+[data-patient-field-slot=cpf] .patient-field-edit-wrap{display:flex;width:100%;max-width:160px}[data-cet-code] strong:first-child+[data-patient-field-slot=cpf] .patient-field-input{flex:1 1 0;width:0;min-width:0;box-sizing:border-box}[data-cet-code] strong:first-child+[data-patient-field-slot=cpf] .patient-field-opts-btn{flex:0 0 20px}}.patient-field-input--date{min-width:132px}#layout-preview-canvas [data-patient-field-value=""] .patient-field-input--date:not(:focus){-webkit-text-fill-color:transparent}.patient-field-input:focus{outline:0;border-color:var(--emerald-500);border-style:solid;background:linear-gradient(180deg,#ecfdf5 0,#d1fae5 100%);box-shadow:0 0 0 3px rgba(16,185,129,.22)}.patient-field-opts-btn{border:1px solid #cbd5e1;border-radius:5px;background:#fff;color:#64748b;width:20px;height:20px;line-height:1;font-size:13px;cursor:pointer;padding:0;pointer-events:auto!important}.patient-field-opts-btn:hover{color:var(--emerald-700);border-color:rgba(16,185,129,.45);background:#ecfdf5}.patient-field-edit-btn{border:1px solid transparent;border-radius:5px;background:0 0;color:#94a3b8;width:18px;height:18px;margin-left:3px;cursor:pointer;padding:0;opacity:0;vertical-align:baseline;pointer-events:auto!important}.patient-field-edit-btn svg{display:block}.patient-field-slot:hover .patient-field-edit-btn{opacity:.85}.patient-field-edit-btn:hover{opacity:1;color:var(--emerald-700);background:#ecfdf5;border-color:rgba(16,185,129,.45)}.patient-address-inline-input{width:min(360px,100%);min-width:0;max-width:100%;box-sizing:border-box}.cpf-opts-menu{position:fixed;z-index:10000;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 12px 32px rgba(15,23,42,.18);padding:5px;min-width:240px;display:flex;flex-direction:column;gap:2px}.cpf-opts-menu.hidden{display:none}.cpf-opts-menu button{display:flex;flex-direction:column;align-items:flex-start;gap:1px;text-align:left;border:none;background:0 0;border-radius:7px;padding:8px 10px;cursor:pointer;font:inherit}.cpf-opts-menu button:hover{background:#ecfdf5}.cpf-opts-menu button b{font-size:13px;color:#0f172a;font-weight:700}.cpf-opts-menu button small{font-size:11px;color:#64748b}.cid-embed-wrap{display:inline-flex;align-items:center;gap:4px}.cid-embed-icon{color:#64748b;flex:none}.cid-embed-input{min-width:160px;max-width:320px;font-size:.86em}.cid-embed-dropdown{position:fixed;z-index:100000;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 10px 30px rgba(15,23,42,.16);max-height:280px;overflow:auto;padding:4px}.cid-embed-dropdown.hidden{display:none}.cid-embed-item{display:flex;gap:8px;align-items:baseline;padding:6px 8px;border-radius:5px;cursor:pointer}.cid-embed-item:hover{background:#ecfdf5;box-shadow:inset 3px 0 0 var(--emerald-500,#10b981)}.cid-embed-code{font-family:ui-monospace,Menlo,Consolas,monospace;font-weight:700;color:#0f172a;flex:none}.cid-embed-desc{color:#475569;font-size:.85rem}.cid-embed-free{background:#f1f5f9;border:1px solid #fde68a;border-radius:5px;padding:6px 8px;margin-top:2px;cursor:pointer;color:#92400e;font-size:.85rem}.cid-embed-empty,.cid-embed-loading{padding:8px 10px;color:#94a3b8;font-size:.82rem;font-style:italic}@media print{.cid-embed-dropdown,.cid-embed-wrap{display:none!important}}.cid-chip{display:inline-flex;align-items:baseline;gap:3px;max-width:22ch;vertical-align:baseline;background:#eff6ff;border:1px solid #bfdbfe;border-radius:5px;padding:0 6px;line-height:1.4;color:#0f172a}.cid-chip-code{font-family:ui-monospace,Menlo,Consolas,monospace;font-weight:700;flex:none}.cid-chip-desc{color:#475569;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.cid-chip-x{border:none;background:0 0;color:#94a3b8;cursor:pointer;font-size:13px;line-height:1;padding:0 0 0 3px}.cid-chip-x:hover{color:#dc2626}.cid-slash-dropdown{position:fixed;z-index:100000;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 10px 30px rgba(15,23,42,.16);padding:6px;min-width:300px}.cid-slash-dropdown.hidden{display:none}.cid-slash-input{width:100%;border:1px solid #cbd5e1;border-radius:5px;padding:4px 7px;font:inherit;box-sizing:border-box}.cid-slash-input:focus{outline:0;border-color:var(--emerald-500,#10b981);box-shadow:0 0 0 2px rgba(16,185,129,.18)}.cid-slash-list{max-height:240px;overflow:auto;margin-top:4px}.cid-slash-item{display:flex;gap:8px;align-items:baseline;padding:6px 8px;border-radius:5px;cursor:pointer}.cid-slash-item:hover{background:#ecfdf5;box-shadow:inset 3px 0 0 var(--emerald-500,#10b981)}.cid-slash-code{font-family:ui-monospace,Menlo,Consolas,monospace;font-weight:700;flex:none}.cid-slash-desc{color:#475569;font-size:.85rem}.cid-slash-free{background:#f1f5f9;border:1px solid #fde68a;border-radius:5px;padding:6px 8px;margin-top:2px;cursor:pointer;color:#92400e;font-size:.85rem}.cid-slash-empty{padding:8px;color:#94a3b8;font-size:.82rem;font-style:italic}@media print{.cid-chip-x{display:none!important}.cid-chip{background:0 0;border:none;padding:0}.cid-slash-dropdown{display:none!important}}@media print{.patient-name-slot .patient-name-chrome{display:none!important}.patient-name-slot .patient-name-print{display:inline!important}.patient-field-chrome,.patient-field-empty,.patient-field-value{display:none!important}.patient-field-print{display:inline!important}}body.kit-printing .patient-name-slot .patient-name-chrome,body.multipage-printing .patient-name-slot .patient-name-chrome{display:none!important}body.kit-printing .patient-name-slot .patient-name-print,body.multipage-printing .patient-name-slot .patient-name-print{display:inline!important}body.kit-printing .patient-field-chrome,body.kit-printing .patient-field-empty,body.kit-printing .patient-field-value,body.multipage-printing .patient-field-chrome,body.multipage-printing .patient-field-empty,body.multipage-printing .patient-field-value{display:none!important}body.kit-printing .patient-field-print,body.multipage-printing .patient-field-print{display:inline!important}.ml-menu{position:fixed;z-index:9999;background:#fff;color:#0f172a;border:1px solid #cbd5e1;box-shadow:0 8px 24px rgba(0,0,0,.18);border-radius:6px;min-width:280px;max-width:420px;max-height:280px;overflow:auto;font-size:12px}.ml-ac-menu{min-width:240px;max-width:360px;max-height:240px}.ml-menu .ml-menu-item{display:flex;gap:8px;padding:6px 10px;cursor:pointer;border-bottom:1px solid #f1f5f9;align-items:flex-start}.ml-menu .ml-menu-item:last-child{border-bottom:none}.ml-menu .ml-menu-item.is-selected{background:#ecfdf5;box-shadow:inset 3px 0 0 #10b981}.ml-menu .ml-menu-item:hover{background:#f1f5f9;box-shadow:inset 3px 0 0 #10b981}.ml-menu .ml-menu-icon{min-width:20px;font-weight:700;color:#047857;font-size:11px}.ml-menu .ml-menu-text{flex:1;min-width:0}.ml-menu .ml-menu-name{font-weight:600;color:#0f172a}.ml-menu .ml-menu-hint{color:#64748b;font-size:11px;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-menu-empty{padding:12px;text-align:center;color:#94a3b8}.ml-hover-tooltip{position:fixed;top:-9999px;left:-9999px;z-index:10000;max-width:380px;background:#0f172a;color:#e2e8f0;border:1px solid #334155;border-radius:6px;box-shadow:0 8px 24px rgba(0,0,0,.3);padding:10px 12px;font-size:12px;line-height:1.45;pointer-events:none;opacity:0;transition:opacity .12s}.ml-hover-tooltip.show{opacity:1}.ml-hover-tooltip .ml-htt-title{font-weight:700;color:#60a5fa;text-transform:uppercase;font-size:11px;letter-spacing:.04em;margin-bottom:4px}.ml-hover-tooltip .ml-htt-cat{color:#94a3b8;font-style:italic;font-size:11px;margin-top:6px}.ml-hover-tooltip strong{color:#fbbf24}.ml-hover-html{font-size:12px;line-height:1.45}.ml-hover-html .ml-hover-title{font-weight:700;text-transform:uppercase;font-size:11px;letter-spacing:.04em;margin:0 0 5px}.ml-hover-html .ml-hover-definition{font-weight:600;margin:0 0 6px}.ml-hover-html .ml-hover-details p{margin:0 0 6px}.ml-hover-html .ml-hover-details ol,.ml-hover-html .ml-hover-details ul{margin:5px 0 6px 18px;padding:0}.ml-hover-html .ml-hover-details li{margin:2px 0}.ml-hover-html .ml-hover-details table{width:100%;border-collapse:collapse;margin-top:6px;font-size:11px}.ml-hover-html .ml-hover-details td,.ml-hover-html .ml-hover-details th{border:1px solid currentColor;padding:3px 5px;vertical-align:top}.ml-hover-html .ml-hover-badge{display:inline-flex;align-items:center;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;background:#ecfdf5;color:#047857}.ml-hover-html .ml-hover-muted{opacity:.72}.ml-hover-html .ml-hover-ref{margin-top:5px;padding-top:4px;border-top:1px solid rgba(148,163,184,.28);font-size:8px!important;line-height:1.15!important;opacity:.58;font-weight:400!important}.ml-hover-html .ml-hover-ref,.ml-hover-html .ml-hover-ref *,.ml-hover-html .ml-hover-ref a{font-size:8px!important;line-height:1.15!important}.ml-hover-html .ml-hover-ref a{color:#047857;text-decoration:none;font-weight:500!important}.ml-hover-tooltip .ml-hover-html .ml-hover-ref,.ml-hover-tooltip .ml-hover-html .ml-hover-ref *,.ml-hover-tooltip .ml-hover-html .ml-hover-ref a,.monaco-hover .ml-hover-html .ml-hover-ref,.monaco-hover .ml-hover-html .ml-hover-ref *,.monaco-hover .ml-hover-html .ml-hover-ref a,.monaco-hover .rendered-markdown .ml-hover-ref,.monaco-hover .rendered-markdown .ml-hover-ref *,.monaco-hover .rendered-markdown .ml-hover-ref a{font-size:8px!important;line-height:1.15!important}.ml-hover-tooltip .ml-hover-html{color:#e2e8f0}.ml-hover-tooltip .ml-hover-html .ml-hover-title{color:#60a5fa}.ml-hover-tooltip .ml-hover-html .ml-hover-definition{color:#f8fafc}.ml-hover-tooltip .ml-hover-html .ml-hover-details td,.ml-hover-tooltip .ml-hover-html .ml-hover-details th{border-color:#334155}.ml-hover-tooltip .ml-hover-html .ml-hover-ref a{color:#6ee7b7}.monaco-hover{z-index:10050!important;background:#0f172a!important;color:#e2e8f0!important;border:1px solid #334155!important;border-radius:6px!important;box-shadow:0 8px 24px rgba(0,0,0,.3)!important}.monaco-editor .overflowingContentWidgets,.overflowingContentWidgets{z-index:10050!important}.monaco-hover .hover-contents,.monaco-hover .hover-row,.monaco-hover .markdown-hover,.monaco-hover .monaco-hover-content,.monaco-hover .rendered-markdown{background:#0f172a!important;color:#e2e8f0!important;font-size:12px!important;line-height:1.45!important}.monaco-hover .ml-hover-html{color:#e2e8f0;max-width:380px;font-size:12px!important;line-height:1.45!important}.monaco-hover .ml-hover-html .ml-hover-title{color:#60a5fa}.monaco-hover .ml-hover-html .ml-hover-definition{color:#f8fafc}.monaco-hover .ml-hover-html .ml-hover-details td,.monaco-hover .ml-hover-html .ml-hover-details th{border-color:#334155}.monaco-hover .rendered-markdown h4{margin:0 0 5px;color:#60a5fa;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.monaco-hover .rendered-markdown p{margin:0 0 6px}.monaco-hover .rendered-markdown small{display:block;margin-top:6px;color:#94a3b8;font-size:11px;font-style:italic}.monaco-hover .rendered-markdown span{display:inline-flex;align-items:center;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;background:#ecfdf5;color:#047857}.monaco-hover .rendered-markdown table{width:100%;border-collapse:collapse;margin-top:6px;font-size:11px}.monaco-hover .rendered-markdown td,.monaco-hover .rendered-markdown th{border:1px solid #334155;padding:3px 5px;vertical-align:top}.monaco-hover .ml-hover-html a,.monaco-hover .rendered-markdown a{color:#6ee7b7}.medtext-static img{max-width:100%;height:auto;display:block}.medtext-static img[data-alignment=center]{display:block;float:none;margin:4px auto}.medtext-static img[data-alignment=left]{display:block;float:left;margin:4px 12px 4px 0}.medtext-static img[data-alignment=right]{display:block;float:right;margin:4px 0 4px 12px}.medtext-static::after{content:"";display:block;clear:both}.medtext-content-host .ProseMirror [data-resize-container].ProseMirror-selectednode{outline:2px solid #3b82f6;outline-offset:1px}.medtext-content-host .ProseMirror [data-resize-handle=right]{width:8px;cursor:ew-resize;background:0 0}.medtext-content-host .ProseMirror [data-resize-handle=bottom]{height:8px;cursor:ns-resize;background:0 0}.medtext-content-host .ProseMirror [data-resize-container].ProseMirror-selectednode [data-resize-handle=bottom],.medtext-content-host .ProseMirror [data-resize-container].ProseMirror-selectednode [data-resize-handle=right]{background:rgba(59,130,246,.35)}.medtext-content-host .ProseMirror [data-resize-container].ProseMirror-selectednode [data-resize-handle]:hover{background:rgba(59,130,246,.7)}.medtext-img-align{position:fixed;z-index:1250;display:none;align-items:center;gap:2px;padding:3px;background:#1f2937;border-radius:7px;box-shadow:0 6px 18px rgba(15,23,42,.3),0 2px 6px rgba(15,23,42,.18)}.medtext-img-align button{width:24px;height:24px;padding:0;border:none;background:0 0;color:#e5e7eb;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.medtext-img-align button:hover{background:rgba(255,255,255,.14);color:#fff}.medtext-img-align button.is-active{background:#10b981;color:#fff}.medtext-static{padding:6px 8px;font-size:var(--tt-font-size, 13px);line-height:var(--tt-line-height, 1.5);font-family:var(--tt-font-family, inherit)}.medtext-static p{margin:0 0 var(--tt-para-spacing,4px) 0}.medtext-static li>p{margin:0}.medtext-static li+li{margin-top:1px}.medtext-static ol,.medtext-static ul{padding-left:20px;margin:2px 0}.medtext-static [data-monaco-block],.monaco-block-static{white-space:pre-wrap;font-family:Consolas,'Courier New',monospace;font-size:13px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;padding:8px;margin:4px 0}.layout-preview-el.type-header-atestado,.layout-preview-el.type-header-neutral,.layout-preview-el.type-header-report,.layout-preview-el.type-header-rx{overflow:visible}.layout-preview-empty{text-align:center;color:#6c757d;padding:2rem;font-size:.95rem}.editor-layout{display:flex;gap:.5rem;flex:1;overflow:hidden}.editor-sidebar{width:240px;min-width:240px;background:var(--editorsidebar-bg);border:1px solid var(--editorsidebar-border);border-left:none;border-radius:0 8px 8px 0;margin-left:0;display:flex;flex-direction:column;overflow:hidden;box-shadow:6px 0 14px var(--editorsidebar-shadow-strong),2px 0 4px var(--editorsidebar-shadow-soft)}.editor-sidebar-content{flex:1;overflow-y:auto;padding:0}#editor-sidebar-primary{display:flow-root}#editor-sidebar-content:has(> #sidebar-patient-docs-section:not(.hidden))>#editor-sidebar-primary{min-height:0}.editor-main{flex:1;display:flex;flex-direction:column;overflow:hidden;min-width:0}.sidebar-section{background:#fff;border:1px solid #e5e7eb;border-radius:5px;margin-bottom:.5rem;overflow:hidden}.sidebar-section:last-child{margin-bottom:0}#sidebar-stdtext-section{background:var(--sbstdtext-section-bg)!important;border-color:var(--sbstdtext-section-border);border-width:0 0 1px;border-radius:0 5px 5px 5px;box-shadow:inset 0 2px 0 var(--sbstdtext-section-rail-top),0 1px 2px var(--sbstdtext-section-shadow)}.sidebar-section-header{display:flex;align-items:center;gap:.375rem;padding:.375rem .5rem;background:var(--sb-section-header-bg);border-bottom:1px solid var(--sb-section-header-border-bottom);cursor:pointer;user-select:none;transition:background .15s ease}.sidebar-section-header:hover{background:var(--sb-section-header-hover-bg)}.sidebar-section-header svg{opacity:.6;flex-shrink:0}.sidebar-section-header:hover svg{opacity:.85}.sidebar-section-header h5{margin:0;font-size:.7rem;font-weight:600;color:var(--sb-section-header-h5-text);flex:1;text-align:center}.sidebar-section-toggle{font-size:.65rem;color:var(--sb-section-toggle-text);transition:transform .5s ease}#combo-section-header,#stdtext-section-header{position:relative;color:var(--sbstdtext-header-text);background:var(--sbstdtext-header-bg);border-top:1px solid var(--sbstdtext-header-border-top);border-bottom:1px solid var(--sbstdtext-header-border-bottom);box-shadow:inset 0 1px 0 var(--sbstdtext-header-shadow-inset)}#stdtext-section-header{border-radius:0 5px 0 0;min-height:40px;padding-block:0.625rem;box-sizing:border-box}@keyframes stdtextTitleGreenGlow{0%{text-shadow:0 0 0 rgba(16,185,129,0),0 0 0 rgba(52,211,153,0)}38%{text-shadow:0 0 14px rgba(52,211,153,.74),0 0 28px rgba(16,185,129,.5)}100%{text-shadow:0 0 7px rgba(134,239,172,.74),0 0 16px rgba(16,185,129,.42)}}#combo-section-title,#sidebar-stdtext-title{color:var(--sbstdtext-title-text)!important;text-shadow:0 0 7px rgba(134,239,172,.74),0 0 16px rgba(16,185,129,.42);font-size:.85rem;font-weight:600;letter-spacing:.01em;transition:color 220ms ease}#sidebar-stdtext-title.is-pulsing{animation:stdtextTitleGreenGlow .9s ease-out 1}#combo-section-header::after,#stdtext-section-header::after{content:'';position:absolute;left:8px;right:8px;bottom:0;height:3px;background:var(--sbstdtext-header-underline);border-radius:999px 999px 0 0;box-shadow:0 0 8px var(--sbstdtext-header-underline-glow);pointer-events:none}#stdtext-section-header::after{left:0;right:0;border-radius:0}#combo-section-header:hover,#stdtext-section-header:hover{background:var(--sbstdtext-header-hover-bg)}#combo-section-header svg,#stdtext-section-header svg{color:var(--sbstdtext-header-svg);opacity:1;filter:drop-shadow(0 0 4px rgba(134,239,172,.64))}#combo-section-header h5,#stdtext-section-header h5{color:var(--sbstdtext-header-h5-text);letter-spacing:0;text-shadow:0 0 7px rgba(134,239,172,.74),0 0 16px rgba(16,185,129,.42)}#combo-section-header .sidebar-section-toggle,#stdtext-section-header .sidebar-section-toggle{color:var(--sbstdtext-header-toggle)}.sidebar-section.collapsed .sidebar-section-toggle{transform:rotate(-90deg)}.sidebar-section-chevron{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;flex:none;order:-1}.sidebar-section-chevron svg{width:14px;height:14px}.sidebar-section-body{padding:.5rem;overflow:hidden;transition:max-height .5s ease,padding .5s ease,opacity .45s ease;opacity:1}.sidebar-section.collapsed .sidebar-section-body{max-height:0;padding-top:0;padding-bottom:0;opacity:0}#sidebar-stdtext-section.collapsed>#stdtext-section-body{display:none!important}#stdtext-section-body{background:var(--sbstdtext-body-bg);border-left:1px solid var(--sbstdtext-section-border);border-right:1px solid var(--sbstdtext-section-border);min-height:400px}@media screen{#editor-left-sidebar{--sidebar-surface:var(--sbstdtext-body-bg);--sidebar-muted-surface:var(--slate-50);--sidebar-hover:var(--slate-100);--sidebar-divider:var(--slate-200);--sidebar-ink:var(--navy-950);--sidebar-muted-ink:var(--navy-700);--sidebar-accent:var(--emerald-700);--sidebar-selected:#ecfdf5;--sidebar-controls-bg:var(--slate-50);--sidebar-field-bg:var(--sbstdtext-body-bg);--sidebar-field-border:var(--slate-300);border-radius:0;box-shadow:none;background:var(--sidebar-surface)}#editor-left-sidebar #editor-sidebar-content{display:flex;flex-direction:column;min-height:0;overflow:hidden}#editor-left-sidebar #editor-sidebar-primary{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:auto}#editor-left-sidebar #sidebar-combo-section,#editor-left-sidebar #sidebar-patient-docs-section,#editor-left-sidebar #sidebar-stdtext-section{border:0;border-bottom:1px solid var(--sidebar-divider);border-radius:0;box-shadow:none;margin:0}#editor-left-sidebar #sidebar-stdtext-section:not(.hidden){display:flex;flex-direction:column;flex:1 1 auto;min-height:0}#editor-left-sidebar #sidebar-stdtext-section.collapsed{flex:0 0 auto}#editor-left-sidebar #stdtext-section-body{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;border:0;background:var(--sidebar-controls-bg)}#editor-left-sidebar #stdtext-section-body>:not(#stdtext-scroll-area){flex-shrink:0}#editor-left-sidebar #stdtext-scroll-area{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;background:var(--sidebar-surface);display:flex;flex-direction:column}#editor-left-sidebar #stdtext-scroll-area>*{flex-shrink:0}#editor-left-sidebar #stdtext-patient-docs-slot{margin-top:auto}#editor-left-sidebar #stdtext-patient-docs-slot:has(> #sidebar-patient-docs-section.collapsed:not(.hidden)){position:sticky;bottom:0;z-index:4;background:var(--sidebar-surface);box-shadow:0 -1px 0 var(--sidebar-divider)}#editor-left-sidebar #stdtext-scroll-area:not(:hover){scrollbar-color:transparent transparent}#editor-left-sidebar #stdtext-live-list{max-height:none!important;overflow:visible!important;background:var(--sidebar-surface)}#editor-left-sidebar #editor-sidebar-content>#sidebar-patient-docs-section:not(.hidden){display:flex;flex-direction:column;flex:0 1 auto;max-height:45%;min-height:34px}#editor-left-sidebar #editor-sidebar-content>#sidebar-patient-docs-section>#patient-docs-section-body{min-height:0;overflow-y:auto}#editor-left-sidebar #sidebar-patient-docs-section.collapsed>#patient-docs-section-body{display:none}#editor-left-sidebar #sidebar-patient-docs-section{background:0 0!important}#editor-left-sidebar #stdtext-patient-docs-slot>#sidebar-patient-docs-section{overflow:visible}#editor-left-sidebar #sidebar-patient-docs-list{max-height:none!important;overflow:visible!important}#editor-left-sidebar #combo-section-header,#editor-left-sidebar #stdtext-section-header{flex-shrink:0;min-height:40px;box-sizing:border-box;padding:8px 12px;gap:8px;border:0;border-bottom:1px solid var(--sidebar-divider);border-radius:0;background:var(--sidebar-muted-surface);color:var(--sidebar-ink);box-shadow:none}#editor-left-sidebar .sidebar-section-header h5{text-align:left;font-size:14px;line-height:20px;font-weight:600;color:var(--sidebar-ink)!important;text-shadow:none;animation:none}#editor-left-sidebar .sidebar-section-header .sidebar-section-toggle,#editor-left-sidebar .sidebar-section-header svg{color:var(--sidebar-muted-ink);filter:none;opacity:1}#editor-left-sidebar .sidebar-section-header::after{display:none}#editor-left-sidebar .sidebar-section-header:hover{background:var(--sidebar-hover)!important}#editor-left-sidebar #patient-docs-section-header{flex-shrink:0}#editor-left-sidebar #patient-docs-section-header::after{display:none}#editor-left-sidebar #patient-docs-section-header svg{color:inherit;opacity:1}#editor-left-sidebar #sidebar-patient-docs-name{display:block;max-width:100%;padding:0;text-align:left;color:var(--stdtext-supergroup-muted);font-size:.7rem;font-weight:500;letter-spacing:0;text-transform:none}#editor-left-sidebar #sidebar-patient-docs-count:empty,#editor-left-sidebar #sidebar-patient-docs-name:empty{display:none}#editor-left-sidebar #sidebar-patient-docs-count{position:static;transform:none}#editor-left-sidebar #stdtext-search-row{margin:6px 8px 8px;padding:0;gap:0;min-height:32px;box-sizing:border-box;background:var(--sidebar-field-bg);border:0;border-bottom:1px solid var(--sidebar-field-border);box-shadow:none}#editor-left-sidebar #standard-text-search{height:32px;min-height:32px;border:0;border-radius:0;box-shadow:none;font-size:12px;background:0 0;color:var(--sidebar-ink);text-shadow:none}#editor-left-sidebar #standard-text-search:focus{outline:2px solid var(--sidebar-accent);outline-offset:-2px;border-color:transparent}#editor-left-sidebar #stdtext-onlyfavs-composer,#editor-left-sidebar #stdtext-options-toggle,#editor-left-sidebar #stdtext-specialty-collapse{flex:0 0 28px;width:28px;height:32px;min-height:32px;padding:0;justify-content:center;box-sizing:border-box;border:0!important;border-radius:0;background:0 0!important;color:var(--sidebar-muted-ink)!important;box-shadow:none}#editor-left-sidebar #stdtext-onlyfavs-composer:hover,#editor-left-sidebar #stdtext-options-toggle:hover,#editor-left-sidebar #stdtext-specialty-collapse:hover{background:var(--sidebar-hover)!important;box-shadow:none}#editor-left-sidebar #stdtext-onlyfavs-composer.is-on{background:var(--sidebar-selected)!important;color:var(--sidebar-accent)!important}#editor-left-sidebar #medmodelo-view-toggle{flex-wrap:wrap;flex-shrink:0;gap:0;padding:0 8px;background:var(--sidebar-controls-bg);border-bottom:1px solid var(--sidebar-divider)}#editor-left-sidebar #medmodelo-view-toggle button{flex:1 0 auto;height:32px;min-height:32px;padding:0 5px;border:0;border-bottom:2px solid transparent;border-radius:0;background:0 0;color:var(--sidebar-muted-ink);box-shadow:none;font-size:11px;font-weight:500;line-height:16px}#editor-left-sidebar #medmodelo-view-toggle button:hover{background:var(--sidebar-hover)}#editor-left-sidebar #medmodelo-view-toggle button[aria-pressed=true]{background:0 0;border-bottom-color:var(--sidebar-accent);color:var(--sidebar-ink);font-weight:600;box-shadow:none}#editor-left-sidebar #stdtext-specialty-controls{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:8px 8px 4px;background:var(--sidebar-controls-bg)}#editor-left-sidebar #stdtext-specialty-select{flex:1 1 112px;min-width:0;width:auto;height:26px;box-sizing:border-box;padding:3px 6px;margin:0;font:inherit;font-size:11px;border-radius:4px;border:1px solid var(--sidebar-field-border);background-color:var(--sidebar-field-bg);color:var(--sidebar-ink);box-shadow:none}#editor-left-sidebar #stdtext-specialty-select:focus-visible{outline:2px solid var(--sidebar-accent);outline-offset:-2px}#editor-left-sidebar #stdtext-specialty-scope{flex:0 0 auto;min-height:32px;margin:0;gap:5px;white-space:nowrap;color:var(--sidebar-muted-ink);font-size:11px}#editor-left-sidebar #stdtext-specialty-include-general-toggle{appearance:auto;flex:0 0 14px;width:14px;height:14px;accent-color:var(--sidebar-accent)}#editor-left-sidebar #stdtext-specialty-include-general-toggle::before{display:none}#editor-left-sidebar #stdtext-live-list .stdtext-platform-group{margin:0;border-top:0;border-bottom:1px solid var(--sidebar-divider)}#editor-left-sidebar #stdtext-live-list .stdtext-platform-group-toggle:not(.stdtext-supergroup-toggle){min-height:32px;padding:6px 8px;box-sizing:border-box;background:var(--sidebar-muted-surface)}#editor-left-sidebar #doctype-shortcuts{background:var(--sidebar-muted-surface);box-shadow:none;border-color:var(--sidebar-divider)}#editor-left-sidebar #doctype-shortcuts .doctype-shortcut{border-radius:0;box-shadow:none;transform:none;text-shadow:none}#editor-left-sidebar #doctype-shortcuts .doctype-shortcut svg{filter:none}#editor-left-sidebar #doctype-shortcuts .doctype-shortcut.active{background:var(--sidebar-selected);color:var(--sidebar-accent);border-color:transparent;box-shadow:inset 0 -2px var(--sidebar-accent)}#editor-left-sidebar #stdtext-live-list .stdtext-cat-header:not(.is-drop-target){min-height:28px;box-sizing:border-box;padding-block:4px!important;background:var(--sidebar-surface)!important;color:var(--sidebar-ink)!important;border-color:var(--sidebar-divider)!important;box-shadow:none!important;font-size:12px!important;font-weight:500!important;text-shadow:none}#editor-left-sidebar #stdtext-live-list .stdtext-cat-header.is-open:not(.is-drop-target),#editor-left-sidebar #stdtext-live-list .stdtext-cat-header:hover:not(.is-drop-target){background:var(--sidebar-hover)!important}#editor-left-sidebar #stdtext-live-list .stdtext-cat-header>span{color:var(--sidebar-ink)!important;text-shadow:none}#editor-left-sidebar #stdtext-live-list .stdtext-cat-header .stdtext-cat-arrow,#editor-left-sidebar #stdtext-live-list .stdtext-cat-header .stdtext-cat-icon,#editor-left-sidebar #stdtext-live-list .stdtext-cat-header .stdtext-cat-menu{color:var(--sidebar-muted-ink)!important;filter:none}#editor-left-sidebar #stdtext-live-list .stdtext-cat-header .stdtext-cat-count{color:var(--sidebar-muted-ink)!important;background:var(--sidebar-hover)!important;border-color:var(--sidebar-divider)!important;box-shadow:none!important}#editor-left-sidebar #stdtext-live-list .stdtext-list-item{min-height:28px;box-sizing:border-box;padding-block:4px;box-shadow:none}#editor-left-sidebar #stdtext-live-list .stdtext-cat-community-badge,#editor-left-sidebar #stdtext-live-list .stdtext-cat-header:not(.is-locked) .stdtext-cat-count,#editor-left-sidebar #stdtext-live-list .stdtext-cat-kind-badge,#editor-left-sidebar #stdtext-live-list .stdtext-cat-origin-badge,#editor-left-sidebar #stdtext-live-list .stdtext-specialty-category-label,#editor-left-sidebar #stdtext-live-list .stdtext-specialty-model-type,#editor-left-sidebar #stdtext-specialty-controls>label:not(#stdtext-specialty-scope){position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;visibility:visible!important;opacity:1!important;transform:none!important}#editor-left-sidebar #stdtext-live-list .stdtext-cat-name{text-transform:none!important;line-height:18px}#editor-left-sidebar #stdtext-live-list .stdtext-li-name{font-size:13px;line-height:18px}#editor-left-sidebar #stdtext-live-list .stdtext-list-item.is-selected{background:var(--sidebar-selected)!important;border-color:var(--sidebar-divider)!important;box-shadow:inset 3px 0 var(--sidebar-accent)!important}#editor-left-sidebar .stdtext-list-item:focus-within .stdtext-li-fav{opacity:1}#editor-left-sidebar .sidebar-section-header:focus-visible,#editor-left-sidebar .stdtext-cat-header:focus-visible,#editor-left-sidebar .stdtext-list-item:focus-visible,#editor-left-sidebar button:focus-visible{outline:2px solid var(--sidebar-accent);outline-offset:-2px}@media (prefers-reduced-motion:reduce){#editor-left-sidebar .sidebar-section-body,#editor-left-sidebar .sidebar-section-toggle{transition:none}}}.sidebar-field{margin-bottom:.375rem}.sidebar-field:last-child{margin-bottom:0}.sidebar-field label{display:block;font-size:.65rem;font-weight:500;color:#6b7280;margin-bottom:.125rem}.sidebar-field input,.sidebar-field select{width:100%;padding:.3rem .5rem;border:1px solid #d1d5db;border-radius:4px;font-size:.75rem;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.sidebar-field input:focus,.sidebar-field select:focus{outline:0;border-color:#10b981;box-shadow:0 0 0 2px rgba(16,185,129,.18)}.sidebar-btn-row{display:flex;gap:.25rem;margin-top:.375rem}.sidebar-btn-row .btn{flex:1;padding:.25rem .375rem;font-size:.7rem}.sidebar-patient-selected{display:flex;align-items:center;gap:.375rem;padding:.3rem .5rem;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:4px;font-size:.7rem}.sidebar-patient-selected span{flex:1;color:#065f46;font-weight:500;cursor:pointer}.sidebar-patient-selected button{background:0 0;border:none;color:#065f46;cursor:pointer;padding:0 2px;font-size:.8rem}.doc-lock-icon,.doc-status-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:#64748b}.doc-status-icon{width:24px;height:24px;border-radius:6px;border:1px solid #e2e8f0;background:#fff}.doc-lock-icon svg,.doc-status-icon svg{width:15px;height:15px;display:block}.doc-status-icon.status-draft{color:#64748b;background:#f8fafc}.doc-status-icon.status-final{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.doc-status-icon.status-signed{color:#15803d;background:#ecfdf5;border-color:#bbf7d0}.doc-status-icon.status-printed{color:#0f766e;background:#f0fdfa;border-color:#99f6e4}.doc-status-icon.status-voided{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.doc-lock-icon{color:#15803d;width:18px;height:18px}.cat-tipo-bar{display:flex;align-items:center;gap:10px;padding:8px 0;margin-bottom:10px;flex-wrap:wrap}.cat-tipo-label{font-size:.78rem;color:#6b7280;font-weight:600}.cat-tipo-pills{display:flex;flex-wrap:wrap;gap:4px}.cat-tipo-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border:1px solid #d1d5db;border-radius:14px;background:#fff;cursor:pointer;font-size:.78rem;color:#4b5563;transition:all 140ms ease;font-family:inherit}.cat-tipo-pill:hover{background:#ecfdf5;border-color:#10b981;color:#047857}.cat-tipo-pill.active{background:#ecfdf5;border-color:#10b981;color:#047857;box-shadow:inset 0 -2px 0 #10b981}.doctype-pill-icon,.stdtext-doctype-icon,.stdtext-doctype-node-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.doctype-pill-icon svg,svg.doctype-pill-icon{width:13px;height:13px;display:block}.stdtext-doctype-icon svg,svg.stdtext-doctype-icon{width:13px;height:13px;display:block;color:#64748b}.stdtext-doctype-node-icon svg,svg.stdtext-doctype-node-icon{width:14px;height:14px;display:block;color:#64748b}.cat-tipo-pill.active .doctype-pill-icon,.cat-tipo-pill.active svg.doctype-pill-icon{color:#fff;opacity:.95}.stdtext-cat-header{font-family:'IBM Plex Sans Condensed',-apple-system,BlinkMacSystemFont,'Segoe UI Variable','Segoe UI',system-ui,Roboto,Helvetica,Arial,sans-serif;letter-spacing:.02em;transition:background 140ms ease,color 140ms ease,box-shadow 140ms ease,border-color 140ms ease}#stdtext-live-list .stdtext-cat-header{background:#fff!important;color:#0f172a!important;border-bottom-color:#e2e8f0!important;box-shadow:inset 4px 0 0 #00e676,0 0 0 1px rgba(0,230,118,.14)!important}#stdtext-live-list .stdtext-cat-header>span{color:#0f172a!important}#stdtext-live-list .stdtext-cat-header[data-depth="1"]:not(.is-open)>span,#stdtext-live-list .stdtext-cat-header[data-depth="2"]:not(.is-open)>span{color:#334155!important}#stdtext-live-list .stdtext-cat-header[data-depth="1"]:not(.is-open),#stdtext-live-list .stdtext-cat-header[data-depth="2"]:not(.is-open){background:#f8fafc!important}#stdtext-live-list .stdtext-cat-header .stdtext-cat-arrow,#stdtext-live-list .stdtext-cat-header .stdtext-cat-icon,#stdtext-live-list .stdtext-cat-header .stdtext-cat-menu,#stdtext-live-list .stdtext-cat-header svg.stdtext-cat-icon{color:#00b86b!important}#stdtext-live-list .stdtext-cat-header .stdtext-cat-count{background:#0f172a!important;color:#86efac!important;border:1px solid rgba(0,230,118,.38);box-shadow:0 0 10px rgba(0,230,118,.18)}#stdtext-live-list .stdtext-cat-header .stdtext-cat-count{opacity:0;transition:opacity .12s ease}#stdtext-live-list .stdtext-cat-header:hover .stdtext-cat-count{opacity:1}#stdtext-live-list .stdtext-cat-fav{display:inline-flex;align-items:center;color:#10b981;flex:none}#stdtext-live-list .stdtext-cat-header.is-open .stdtext-cat-fav{color:#6ee7b7}#stdtext-live-list .stdtext-cat-header.is-default-category:not(.is-open){background:var(--sbstdtext-cat-default-bg)!important;box-shadow:inset 5px 0 0 var(--sbstdtext-cat-default-rail),0 0 0 1px rgba(51,65,85,.12)!important}#stdtext-live-list .stdtext-cat-header.is-location-category:not(.is-open){background:var(--sbstdtext-cat-location-bg)!important;box-shadow:inset 5px 0 0 var(--sbstdtext-cat-location-rail),0 0 0 1px rgba(16,185,129,.18)!important}#stdtext-tree .stdtext-group-header.is-default-category{background:var(--sbstdtext-cat-default-bg)!important;box-shadow:inset 5px 0 0 var(--sbstdtext-cat-default-rail),0 0 0 1px rgba(51,65,85,.12)!important}#stdtext-tree .stdtext-group-header.is-location-category{background:var(--sbstdtext-cat-location-bg)!important;box-shadow:inset 5px 0 0 var(--sbstdtext-cat-location-rail),0 0 0 1px rgba(16,185,129,.18)!important}.stdtext-cat-kind-badge{display:inline-flex;align-items:center;flex:none;min-height:15px;padding:0 5px;border:1px solid;border-radius:999px;font-size:.56rem;font-weight:800;line-height:1.25;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap;text-shadow:none}.stdtext-cat-kind-badge.is-default-kind{color:var(--sbstdtext-cat-kind-default-text)!important;background:var(--sbstdtext-cat-kind-default-bg);border-color:var(--sbstdtext-cat-kind-default-border)}.stdtext-cat-kind-badge.is-location-kind{color:var(--sbstdtext-cat-kind-location-text)!important;background:var(--sbstdtext-cat-kind-location-bg);border-color:var(--sbstdtext-cat-kind-location-border)}.stdtext-cat-placement-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;width:16px;height:16px;border-radius:999px;color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;font-size:.68rem;font-weight:900;line-height:1}.stdtext-cat-header.is-open .stdtext-cat-placement-badge{color:#a7f3d0;background:rgba(6,78,59,.55);border-color:#10b981}.stdtext-cat-origin-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#0f172a;border:1px solid rgba(16,185,129,.38);font-size:.62rem;font-weight:850;line-height:1}#stdtext-live-list .stdtext-cat-header .stdtext-cat-origin-badge{color:#86efac!important}@media (hover:hover){.stdtext-cat-header .stdtext-cat-origin-badge{visibility:hidden;opacity:0;transform:scale(.88);transition:opacity .12s ease,transform .12s ease,visibility .12s ease}.stdtext-cat-header:is(:hover,:focus-visible) .stdtext-cat-origin-badge{visibility:visible;opacity:1;transform:scale(1)}}#stdtext-live-list .stdtext-cat-header.is-open .stdtext-cat-origin-badge{color:#dcfce7!important;background:rgba(16,185,129,.24);border-color:rgba(134,239,172,.48);box-shadow:0 0 8px rgba(16,185,129,.2)}#stdtext-live-list .stdtext-cat-location-link{width:18px;height:18px;flex:0 0 18px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;color:#0f766e;background:rgba(255,255,255,.88);border:1px solid rgba(16,185,129,.3);box-shadow:0 2px 7px rgba(15,23,42,.12);overflow:hidden}#stdtext-live-list .stdtext-cat-location-link .loc-dropdown-avatar,#stdtext-live-list .stdtext-cat-location-link .loc-dropdown-avatar img{width:100%;height:100%;display:block}#stdtext-live-list .stdtext-cat-location-link .loc-dropdown-avatar img{object-fit:cover}#stdtext-live-list .stdtext-cat-location-link svg{width:14px;height:14px;display:block}#stdtext-live-list .stdtext-cat-header:has(> .stdtext-cat-location-link)>.stdtext-cat-arrow{order:-2}#stdtext-live-list .stdtext-cat-header>.stdtext-cat-location-link{order:-1}#stdtext-live-list .stdtext-cat-header:has(> .stdtext-cat-location-link)>.stdtext-cat-icon{display:none}#stdtext-live-list .stdtext-cat-header.is-open .stdtext-cat-location-link{background:rgba(255,255,255,.96);color:#047857;border-color:rgba(110,231,183,.68)}#stdtext-live-list .stdtext-cat-rename-input{flex:1;min-width:0;font:inherit;font-size:.74rem;font-weight:600;padding:1px 6px;border:1px solid #10b981;border-radius:4px;background:#fff;color:#0f172a;outline:0;text-transform:none;box-shadow:0 0 0 2px rgba(16,185,129,.18)}.stdtext-cat-header:hover{background:#f8fafc!important;color:#0f172a!important;border-bottom-color:#e2e8f0!important;box-shadow:inset 4px 0 0 #00e676,0 0 14px rgba(0,230,118,.22)!important}.stdtext-cat-header:hover .stdtext-cat-arrow,.stdtext-cat-header:hover .stdtext-cat-icon,.stdtext-cat-header:hover .stdtext-cat-menu,.stdtext-cat-header:hover svg.stdtext-cat-icon{color:#00b86b!important}.stdtext-cat-header:hover .stdtext-cat-count{background:#0f172a!important;color:#b9fbcf!important}#stdtext-live-list .stdtext-cat-header.is-open{background:linear-gradient(180deg,#1e293b 0,#334155 100%)!important;border-bottom-color:#1e293b!important;box-shadow:inset 4px 0 0 #10b981,0 1px 3px rgba(15,23,42,.28),0 0 0 1px rgba(16,185,129,.3),0 0 12px rgba(16,185,129,.26)!important}#stdtext-live-list .stdtext-cat-header.is-open[data-depth="1"]{background:linear-gradient(180deg,#334155 0,#475569 100%)!important;border-bottom-color:#334155!important;box-shadow:inset 4px 0 0 #6ee7b7,0 1px 3px rgba(15,23,42,.22),0 0 0 1px rgba(16,185,129,.2)!important}#stdtext-live-list .stdtext-cat-header.is-open[data-depth="2"]{background:linear-gradient(180deg,#64748b 0,#7c8ba1 100%)!important;border-bottom-color:#64748b!important;box-shadow:inset 4px 0 0 #a7f3d0,0 1px 2px rgba(15,23,42,.18)!important}#stdtext-live-list .stdtext-cat-header.is-open[data-depth="1"]>span{color:#e6ecf3!important;text-shadow:none}#stdtext-live-list .stdtext-cat-header.is-open[data-depth="2"]>span{color:#eef2f7!important;text-shadow:none}#stdtext-live-list .stdtext-cat-header.is-open>span{color:#dcfce7!important;text-shadow:0 0 6px rgba(16,185,129,.28)}#stdtext-live-list .stdtext-cat-header.is-open .stdtext-cat-arrow,#stdtext-live-list .stdtext-cat-header.is-open .stdtext-cat-icon,#stdtext-live-list .stdtext-cat-header.is-open .stdtext-cat-menu,#stdtext-live-list .stdtext-cat-header.is-open svg.stdtext-cat-icon{color:#86efac!important}#stdtext-live-list .stdtext-cat-header.is-open .stdtext-cat-count{background:rgba(16,185,129,.26)!important;color:#eafff3!important;border-color:rgba(134,239,172,.45)!important;box-shadow:0 0 10px rgba(16,185,129,.3)!important}#stdtext-live-list .stdtext-cat-header.is-open:hover{background:linear-gradient(180deg,#0f172a 0,#1e293b 100%)!important}#stdtext-live-list .stdtext-cat-header.is-open .stdtext-cat-kind-badge{color:#dcfce7!important;background:rgba(16,185,129,.2);border-color:rgba(134,239,172,.46);box-shadow:0 0 8px rgba(16,185,129,.2);text-shadow:none}.stdtext-cat-icon,.stdtext-cat-tree-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:#00b86b}.stdtext-cat-icon svg,svg.stdtext-cat-icon{width:14px;height:14px;display:block}.stdtext-cat-tree-icon svg,svg.stdtext-cat-tree-icon{width:14px;height:14px;display:block}.stdtext-cat-arrow{display:inline-flex;align-items:center;justify-content:center;width:10px;flex-shrink:0;color:#94a3b8}.stdtext-cat-count{font-weight:500;color:#94a3b8;font-size:.62rem;flex-shrink:0;padding:1px 5px;border-radius:999px;background:rgba(148,163,184,.12)}.stdtext-cat-menu{background:0 0;border:none;cursor:pointer;color:#94a3b8;font-size:.65rem;padding:0 2px;line-height:1;border-radius:3px}.stdtext-cat-menu:hover{background:#ecfdf5;color:#00b86b;box-shadow:0 0 0 1px rgba(0,230,118,.18)}.cat-grid{display:grid;grid-template-columns:1fr 320px;gap:14px}@media (max-width:880px){.cat-grid{grid-template-columns:1fr}}.cat-form-pane,.cat-tree-pane{border:1px solid #e5e7eb;border-radius:8px;background:#fff;overflow:hidden}.cat-pane-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:#f9fafb;border-bottom:1px solid #e5e7eb}.cat-pane-header strong{font-size:.78rem;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.cat-pane-header a{font-size:.75rem;color:#6b7280;text-decoration:none}.cat-pane-header a:hover{color:#dc2626;text-decoration:underline}.cat-tree{padding:8px;min-height:240px;max-height:480px;overflow-y:auto}.cat-tree-empty{padding:30px 14px;text-align:center;color:#9ca3af;font-size:.85rem;font-style:italic}.cat-tree-empty strong{color:#374151;display:block;margin-bottom:4px;font-style:normal}.cat-node{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:6px;cursor:pointer;transition:background 120ms ease;font-size:.85rem;color:#374151}.cat-node:hover{background:#f3f4f6}.cat-node.selected{background:#dbeafe;color:#1d4ed8;font-weight:600}.cat-node.locked{color:#9ca3af}.cat-node-icon{color:#9ca3af;flex-shrink:0}.cat-node.selected .cat-node-icon,.cat-node:hover .cat-node-icon{color:#3b82f6}.cat-node-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cat-node-badge{font-size:.7rem;color:#6b7280;padding:1px 6px;background:#f3f4f6;border-radius:8px;font-weight:500}.cat-node-actions{display:flex;gap:2px;opacity:0;transition:opacity 120ms ease}.cat-node:hover .cat-node-actions{opacity:1}.cat-node-action{width:22px;height:22px;padding:0;border:none;background:0 0;color:#6b7280;cursor:pointer;border-radius:4px;display:inline-flex;align-items:center;justify-content:center}.cat-node-action:hover{background:#fff;color:#1d4ed8}.cat-node-action.danger:hover{color:#dc2626}#section-standard-texts .cat-node.selected{background:linear-gradient(90deg,#fff 0,#f4fff9 100%);color:#0f172a;font-weight:600;box-shadow:inset 4px 0 0 #00e676,0 0 0 1px rgba(0,230,118,.14)}#section-standard-texts .cat-node.selected .cat-node-icon,#section-standard-texts .cat-node:hover .cat-node-icon{color:#00b86b}#section-standard-texts .cat-node.selected .cat-node-badge{background:#0f172a;color:#86efac;box-shadow:0 0 10px rgba(0,230,118,.18)}#section-standard-texts .cat-node-action:hover{background:#ecfdf5;color:#00b86b}#section-standard-texts .stdtext-group-header:hover{background:linear-gradient(90deg,#fff 0,#ecfdf5 100%)!important;color:#0f172a!important;box-shadow:inset 4px 0 0 #00e676,0 0 14px rgba(0,230,118,.2)!important}#section-standard-texts .stdtext-group-header:hover .cat-node-name{color:#0f172a!important}#section-standard-texts .stdtext-group-header:hover .cat-node-icon{color:#00b86b!important}#section-standard-texts .stdtext-group-header:hover .cat-node-badge{background:#0f172a!important;color:#86efac!important;box-shadow:0 0 10px rgba(0,230,118,.2)!important}.cat-children{padding-left:18px;border-left:1px dashed #e5e7eb;margin-left:9px;margin-top:2px}#stdtext-live-list,#stdtext-tree,.cat-tree{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI",system-ui,Inter,Roboto,Helvetica,Arial,sans-serif}#stdtext-tree .cat-node,.cat-tree .cat-node{font-size:.92rem;color:#1e293b}#stdtext-tree .cat-node:hover,.cat-tree .cat-node:hover{background:#f1f5f9}#stdtext-tree .cat-children,.cat-tree .cat-children{padding-left:0;border-left:0;margin-left:0;margin-top:0}#stdtext-live-list .stdtext-list-item{font-size:.9rem;color:#1e293b;padding:6px 10px 6px 16px}#stdtext-live-list .stdtext-list-item:hover{background:#f1f5f9}.stdtext-list-item .stdtext-li-global{display:inline-flex;align-items:center;margin-left:5px;color:#94a3b8;flex:0 0 auto;font-size:.68rem;font-weight:750;line-height:1}.stdtext-list-item .stdtext-li-content-lock{display:inline-flex;align-items:center;justify-content:center;margin-left:3px;color:#64748b;flex:0 0 auto;line-height:1}.stdtext-list-item .stdtext-li-content-lock svg{width:12px;height:12px}.stdtext-list-item.is-content-locked{cursor:not-allowed;color:#64748b}.stdtext-list-item.is-content-locked .stdtext-li-name{color:#64748b}@media (hover:hover){.stdtext-list-item .stdtext-li-global{visibility:hidden;opacity:0;transition:opacity .14s ease,visibility .14s ease}.stdtext-list-item:is(:hover,:focus-within) .stdtext-li-global{visibility:visible;opacity:1}}#stdtext-live-list .stdtext-cat-body{margin-left:10px;border-left:1px solid #d3ddea}#stdtext-live-list .stdtext-cat-body:hover{border-left-color:#6ee7b7}#anamnese-live-list .stdtext-list-item{font-size:.9rem;color:#1e293b;padding:6px 10px 6px 16px}#anamnese-live-list .stdtext-list-item:hover{background:#f1f5f9}#anamnese-live-list .stdtext-cat-body{margin-left:10px;border-left:1px solid #d3ddea}#anamnese-live-list .stdtext-cat-body:hover{border-left-color:#6ee7b7}#anamnese-live-list .stdtext-list-item.is-selected{background:linear-gradient(180deg,#ecfdf5 0,#d1fae5 100%)!important;border-bottom-color:#a7f3d0!important;box-shadow:inset 4px 0 0 #10b981,0 1px 3px rgba(15,23,42,.08),0 0 0 1px rgba(16,185,129,.24)!important}#anamnese-live-list .stdtext-list-item.is-selected .stdtext-li-name{color:#064e3b!important;font-weight:700}#anamnese-templates-section.anamnese-popup-open .sidebar-section-header{background:linear-gradient(180deg,#1e293b 0,#334155 100%);box-shadow:inset 3px 0 0 #10b981,0 0 10px rgba(16,185,129,.28)}#anamnese-templates-section.anamnese-popup-open .sidebar-section-header h5{color:#f1f5f9}#anamnese-templates-section.anamnese-popup-open .sidebar-section-header svg{opacity:.9;color:#6ee7b7}#anamnese-templates-section.anamnese-popup-open .sidebar-section-toggle{transform:rotate(-90deg);color:#6ee7b7}#anamnese-section-body.anamnese-popup-float{position:fixed;z-index:9000;width:330px;max-height:min(72vh,640px);display:flex;flex-direction:column;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 12px 32px rgba(15,23,42,.22),0 0 0 1px rgba(16,185,129,.1);overflow:hidden;transition:left .16s ease,top .16s ease;animation:anamnese-popup-in .14s ease-out}@keyframes anamnese-popup-in{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:translateX(0)}}#anamnese-section-body.anamnese-popup-float #anamnese-live-list{flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth;padding-bottom:6px}#anamnese-section-body.anamnese-popup-float #anamnese-live-list::-webkit-scrollbar{width:8px}#anamnese-section-body.anamnese-popup-float #anamnese-live-list::-webkit-scrollbar-track{background:0 0}#anamnese-section-body.anamnese-popup-float #anamnese-live-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px;border:2px solid #fff}#anamnese-section-body.anamnese-popup-float #anamnese-live-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}.cat-form-pane{padding:0}.cat-form-pane .form-field{padding:0 14px;margin-bottom:10px}.cat-form-pane .form-field:first-of-type{margin-top:12px}.cat-form-pane .form-field label{font-size:.78rem;color:#374151;font-weight:600;display:block;margin-bottom:4px}.cat-form-pane .form-field input[type=text],.cat-form-pane .form-field select{width:100%;padding:6px 9px;font-size:.88rem;border:1px solid #d1d5db;border-radius:5px;box-sizing:border-box}.cat-form-actions{display:flex;gap:8px;padding:12px 14px;border-top:1px solid #f3f4f6;background:#fafafa}#section-standard-texts .stdtext-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:6px 0 8px;border-bottom:1px solid #f3f4f6;margin-bottom:8px}#section-standard-texts .stdtext-toolbar-title{margin:0;font-size:.85rem;color:#1f2937;font-weight:600;display:inline-flex;align-items:center;cursor:help;white-space:nowrap;flex-shrink:0}#section-standard-texts .stdtext-pills-wrap{flex:1;min-width:0;overflow-x:auto;padding-bottom:2px}#section-standard-texts .stdtext-pills-wrap::-webkit-scrollbar{height:4px}#section-standard-texts .stdtext-pills-wrap::-webkit-scrollbar-thumb{background:#e5e7eb;border-radius:2px}#section-standard-texts .stdtext-pills-wrap .cat-tipo-pills{flex-wrap:nowrap;gap:0;padding:1px;background:#f3f4f6;border-radius:6px;display:inline-flex}#section-standard-texts .stdtext-pills-wrap .cat-tipo-pill{padding:4px 10px;font-size:.74rem;font-weight:500;border:none;border-radius:5px;background:0 0;color:#64748b;transition:color 120ms ease,background-color 120ms ease}#section-standard-texts .stdtext-pills-wrap .cat-tipo-pill:hover{background:#fff;color:#1f2937}#section-standard-texts .stdtext-pills-wrap .cat-tipo-pill.active{background:#fff;color:#047857;font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.06),inset 0 -2px 0 #10b981}#section-standard-texts .stdtext-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.75rem;color:#6b7280}#section-standard-texts .stdtext-filter-select{font-size:.75rem;padding:3px 6px;min-width:140px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;color:#1e293b}#section-standard-texts .stdtext-filter-select:focus{outline:0;border-color:#10b981;box-shadow:0 0 0 2px rgba(16,185,129,.16)}#section-standard-texts .stdtext-filter-check{display:inline-flex;align-items:center;gap:4px;font-size:.75rem;cursor:pointer;user-select:none}#section-standard-texts .stdtext-filter-check input{margin:0;accent-color:#10b981}.cat-grid.combo-layout{grid-template-columns:240px 1fr}@media (max-width:880px){.cat-grid.combo-layout{grid-template-columns:1fr}}.cat-grid.combo-layout .cat-tree{max-height:560px}#section-combo-padrao .btn svg,#section-combo-padrao .cat-node svg,#section-combo-padrao .cat-pane-header svg,#section-combo-padrao .cat-tipo-bar svg,.cat-grid.combo-layout svg{width:14px;height:14px;max-width:14px;max-height:14px;flex:0 0 14px;display:inline-block;vertical-align:-2px}#section-combo-padrao .cat-tipo-pill svg.doctype-pill-icon,#section-combo-padrao svg.doctype-pill-icon{width:13px;height:13px;max-width:13px;max-height:13px;flex:0 0 13px}#section-combo-padrao>h4>svg{width:16px;height:16px;max-width:16px;max-height:16px;flex:0 0 16px}#section-combo-padrao .cat-form-pane #combo-fields-editor{min-height:260px;resize:vertical;font-size:.85rem;line-height:1.4}.combo-filled-field{font-weight:var(--combo-filled-weight,600)!important;color:var(--combo-filled-color,#111827)!important}input[type=checkbox].combo-filled-field,input[type=radio].combo-filled-field{accent-color:#0f766e}label.combo-filled-choice{font-weight:var(--combo-filled-weight,600)!important;color:var(--combo-filled-color,#111827)!important}.cat-grid.stdtext-layout{grid-template-columns:240px 1fr}@media (max-width:880px){.cat-grid.stdtext-layout{grid-template-columns:1fr}}.cat-grid.stdtext-layout .cat-tree{max-height:560px}#section-standard-texts .stdtext-meta-row{display:grid;grid-template-columns:1.4fr 1.4fr 2fr 0.8fr;gap:10px;padding:12px 14px 10px}@media (max-width:720px){#section-standard-texts .stdtext-meta-row{grid-template-columns:1fr 1fr}}#section-standard-texts .stdtext-meta-field{display:flex;flex-direction:column;gap:3px;min-width:0}#section-standard-texts .stdtext-meta-field label{font-size:.7rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}#section-standard-texts .stdtext-meta-field input,#section-standard-texts .stdtext-meta-field select{width:100%;padding:6px 8px;font-size:.83rem;border:1px solid #d1d5db;border-radius:5px;box-sizing:border-box;background:#fff;min-width:0}#section-standard-texts .stdtext-meta-field select{cursor:pointer}#section-standard-texts .stdtext-content-field{padding:0 14px;display:flex;flex-direction:column;margin-bottom:10px}#section-standard-texts .stdtext-content-field label{font-size:.7rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}#section-standard-texts .cat-form-pane #stdtext-content{width:100%;min-height:340px;resize:vertical;font-family:ui-monospace,"SF Mono",Consolas,monospace;font-size:.86rem;line-height:1.5;padding:10px 12px;border:1px solid #d1d5db;border-radius:5px;box-sizing:border-box}#section-standard-texts .cat-form-pane #stdtext-content:focus{outline:2px solid #2563eb;outline-offset:-1px;border-color:#2563eb}#section-standard-texts .stdtext-format-row{padding:0 14px 8px;display:flex;align-items:center;justify-content:space-between;gap:10px}#section-standard-texts .stdtext-format-row label{font-size:.7rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}#section-standard-texts .stdtext-format-row select{width:180px;padding:6px 8px;font-size:.83rem;border:1px solid #d1d5db;border-radius:5px;background:#fff}#section-standard-texts #stdtext-rich-host{min-height:360px;border:1px solid #d1d5db;border-radius:5px;background:#fff;overflow:auto}#section-standard-texts #stdtext-rich-host .medtext-content-host{min-height:340px;padding:12px 14px}#section-standard-texts #stdtext-rich-host .ProseMirror{min-height:318px;outline:0}#section-standard-texts #stdtext-rich-host.stdtext-readonly{background:#f9fafb}#stdtext-modal .stdtext-format-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}#stdtext-modal .stdtext-format-row select{min-width:170px;padding:4px 7px;font-size:.78rem;border:1px solid #d1d5db;border-radius:5px;background:#fff}#stdtext-modal #modal-stdtext-rich-host{flex:1 1 0;min-height:240px;border:1px solid #d1d5db;border-radius:5px;background:#fff;overflow:hidden}#stdtext-modal #modal-stdtext-rich-host:not(.hidden){display:flex;flex-direction:column}#stdtext-modal #modal-stdtext-rich-host .medtext-wrapper{flex:1 1 0;height:auto;min-height:0}#stdtext-modal #modal-stdtext-rich-host .medtext-toolbar{flex-shrink:0}#stdtext-modal #modal-stdtext-rich-host .medtext-toolbar{flex-wrap:nowrap;align-items:center;min-height:30px;padding:2px 6px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}#stdtext-modal #modal-stdtext-rich-host .medtext-toolbar button{flex:0 0 24px;width:24px;min-width:24px;min-height:24px;height:24px;padding:0}#stdtext-modal #modal-stdtext-rich-host .medtext-toolbar .tts-sep{flex:0 0 1px;margin:0 3px}#stdtext-modal #modal-stdtext-rich-host .medtext-toolbar .tts-line-height{flex:0 0 34px!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:24px;padding:0 3px!important;font-size:10px!important}#stdtext-modal #modal-stdtext-rich-host .medtext-content-host{min-height:0;padding:10px 12px}#stdtext-modal #modal-stdtext-rich-host .ProseMirror{min-height:100%;outline:0}#stdtext-modal #modal-stdtext-rich-host.stdtext-readonly{background:#f9fafb}#stdtext-modal .stdtext-modal-icon{width:14px;height:14px;flex:0 0 auto;display:inline-block;vertical-align:-.14em}#stdtext-modal h2 .stdtext-modal-icon{width:18px;height:18px}#stdtext-modal .btn{display:inline-flex;align-items:center;justify-content:center;gap:4px}#stdtext-modal .btn .stdtext-modal-icon{margin-right:0}#modal-stdtext-edit-indicator .stdtext-modal-icon{margin-right:5px;color:#856404}#stdtext-modal{--stdtext-modal-navy:#334155;--stdtext-modal-navy-dark:#1e293b;--stdtext-modal-navy-deep:#0f172a;--stdtext-modal-navy-soft:#f1f5f9;--stdtext-modal-navy-ring:rgba(51, 65, 85, 0.16)}#stdtext-modal .stdtext-modal-panel{max-width:780px!important;min-width:min(520px,calc(100vw - 16px));min-height:min(320px,90vh);max-height:90vh;padding:14px 16px 12px;gap:0;overflow:hidden;border:1px solid #cbd5e1}@media (min-width:761px) and (pointer:fine){#stdtext-modal .stdtext-modal-panel{width:780px;max-width:calc(100vw - 32px)!important;resize:both}}#stdtext-modal .modal-actions,#stdtext-modal .stdtext-modal-head{flex-shrink:0}#stdtext-modal .stdtext-modal-head{margin-bottom:8px!important}#stdtext-modal .stdtext-modal-head h2{font-size:1rem;line-height:1.15;text-align:left;color:var(--stdtext-modal-navy-dark)}#stdtext-modal .stdtext-modal-head h2 .stdtext-modal-icon{color:var(--stdtext-modal-navy)}#stdtext-modal .stdtext-modal-scroll{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 12px 0 0;scrollbar-gutter:stable}#stdtext-modal #modal-stdtext-edit-indicator,#stdtext-modal .stdtext-modal-browser{flex-shrink:0}#stdtext-modal .stdtext-modal-browser{margin-bottom:10px}#stdtext-modal .stdtext-modal-browser>summary{width:fit-content;padding:5px 0;color:var(--stdtext-modal-navy);font-size:.85rem;font-weight:600;cursor:pointer}#stdtext-modal .stdtext-modal-browser[open]>summary{margin-bottom:6px}#stdtext-modal .stdtext-modal-filters,#stdtext-modal .stdtext-modal-pick-row{margin-bottom:6px!important}#stdtext-modal .stdtext-modal-filters{display:grid!important;grid-template-columns:minmax(130px,1fr) minmax(130px,1fr) auto;gap:6px;align-items:center}#stdtext-modal .stdtext-modal-filter-field{display:flex;align-items:center;gap:4px;min-width:0}#stdtext-modal .stdtext-modal-filter-field label{flex:0 0 auto;margin:0;font-size:.74rem;line-height:1;color:#475569}#stdtext-modal #modal-stdtext-select,#stdtext-modal .stdtext-modal-filter-field select{min-width:0!important;height:28px;padding:3px 7px;font-size:.78rem!important;border:1px solid #d1d5db;border-radius:5px;background:#fff}#stdtext-modal .stdtext-modal-checks{display:inline-flex;align-items:center;gap:8px;justify-content:flex-end;white-space:nowrap}#stdtext-modal .stdtext-modal-checks label{margin:0;display:inline-flex;align-items:center;gap:4px;font-size:.74rem!important;color:#475569}#stdtext-modal .stdtext-modal-checks input{margin:0}#stdtext-modal .stdtext-modal-pick-row{gap:6px!important}#stdtext-modal .modal-actions .btn,#stdtext-modal .stdtext-modal-pick-row .btn{flex:0 0 auto;min-height:28px;padding:4px 9px;font-size:.76rem;line-height:1.1}#stdtext-modal .stdtext-modal-form{flex:1 0 auto;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto minmax(270px,1fr);gap:6px 8px!important}#stdtext-modal .stdtext-modal-form .form-field{margin-bottom:0;min-width:0}#stdtext-modal .stdtext-modal-form .form-field label{margin-bottom:2px;font-size:.72rem;line-height:1.1;color:#475569}#stdtext-modal .stdtext-modal-form .form-field input[type=text],#stdtext-modal .stdtext-modal-form .form-field select{height:28px;padding:3px 7px;font-size:.78rem!important;border-radius:5px;box-sizing:border-box}#stdtext-modal .stdtext-modal-form textarea{flex:1 1 auto;min-height:112px;height:118px;padding:7px 9px;font-size:.8rem!important;line-height:1.35;box-sizing:border-box}#stdtext-modal .stdtext-modal-form .form-field.stdtext-modal-name-field label{color:#047857;font-weight:700}#stdtext-modal .stdtext-modal-form .form-field.stdtext-modal-name-field input[type=text]{border:1.5px solid #34d399;background:#f0fdf4;box-shadow:0 0 0 3px rgba(16,185,129,.12)}#stdtext-modal .stdtext-modal-form .form-field.stdtext-modal-name-field input[type=text]:focus{border-color:#10b981;background:#fff;box-shadow:0 0 0 3px rgba(16,185,129,.28)}#stdtext-modal #modal-stdtext-select:focus,#stdtext-modal .stdtext-format-row select:focus,#stdtext-modal .stdtext-modal-filter-field select:focus,#stdtext-modal .stdtext-modal-form .form-field input[type=text]:focus,#stdtext-modal .stdtext-modal-form .form-field select:focus,#stdtext-modal .stdtext-modal-form textarea:focus{outline:0;border-color:var(--stdtext-modal-navy);box-shadow:0 0 0 2px var(--stdtext-modal-navy-ring)}#stdtext-modal #modal-stdtext-rich-host:focus-within{border-color:var(--stdtext-modal-navy);box-shadow:0 0 0 2px var(--stdtext-modal-navy-ring)}#stdtext-modal input[type=checkbox]{accent-color:var(--stdtext-modal-navy)}#stdtext-modal .btn-primary,#stdtext-modal .btn-secondary{background:linear-gradient(180deg,var(--stdtext-modal-navy) 0,var(--stdtext-modal-navy-dark) 100%);border-color:var(--stdtext-modal-navy-dark);color:#fff;box-shadow:none}#stdtext-modal .btn-primary:hover,#stdtext-modal .btn-secondary:hover{background:linear-gradient(180deg,var(--stdtext-modal-navy-dark) 0,var(--stdtext-modal-navy-deep) 100%);border-color:var(--stdtext-modal-navy-deep);box-shadow:0 2px 6px rgba(15,23,42,.18)}#stdtext-modal .btn-outline{color:var(--stdtext-modal-navy-dark);border-color:#cbd5e1;background:#fff}#stdtext-modal .btn-outline:hover{color:var(--stdtext-modal-navy-deep);border-color:#94a3b8;background:var(--stdtext-modal-navy-soft)}#stdtext-modal .btn-danger{background:#991b1b;border-color:#7f1d1d;color:#fff}#stdtext-modal .btn-danger:hover{background:#7f1d1d;border-color:#450a0a}#stdtext-modal .stdtext-modal-content-field{display:flex;flex-direction:column;min-height:0}#stdtext-modal .stdtext-format-row{flex-shrink:0}#stdtext-modal .stdtext-modal-content-field{grid-column:1/-1}#stdtext-modal .modal-actions{margin-top:8px;padding-top:8px!important;gap:6px!important}#stdtext-modal .modal-actions .btn{flex:0 0 auto!important}@media (max-width:760px){#stdtext-modal .stdtext-modal-panel{width:calc(100vw - 16px);max-width:calc(100vw - 16px)!important;padding:12px}#stdtext-modal .stdtext-modal-filters,#stdtext-modal .stdtext-modal-form{grid-template-columns:repeat(2,minmax(0,1fr))}#stdtext-modal .stdtext-modal-form{grid-template-rows:auto auto minmax(270px,1fr)}#stdtext-modal .stdtext-modal-checks{justify-content:flex-start}#stdtext-modal .stdtext-modal-filter-field{flex-direction:column;align-items:stretch}}#section-professionals .prof-grid{display:grid;grid-template-columns:280px 1fr;gap:14px}@media (max-width:880px){#section-professionals .prof-grid{grid-template-columns:1fr}}#section-professionals.single-mode .prof-grid{grid-template-columns:1fr}#section-professionals.single-mode #prof-list-pane{display:none}#section-professionals .prof-form-pane,#section-professionals .prof-list-pane{background:#fbfdff;border:1px solid #e0e9f5;border-radius:8px;overflow:hidden}#section-professionals .prof-cards{padding:8px;max-height:560px;overflow-y:auto;display:flex;flex-direction:column;gap:6px}#section-professionals .prof-card{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:7px;border:1px solid transparent;background:#fff;cursor:pointer;transition:background-color 120ms ease,border-color 120ms ease}#section-professionals .prof-card:hover{background:#f3f6fb}#section-professionals .prof-card.selected{background:#dbeafe;border-color:#bfdbfe}#section-professionals .prof-avatar{width:32px;height:32px;flex-shrink:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:.78rem;font-weight:700;color:#fff;background:#6b7280}#section-professionals .prof-form-avatar{width:28px;height:28px;flex-shrink:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:.74rem;font-weight:700;color:#fff;background:#6b7280}#section-professionals .prof-card-body{flex:1;min-width:0}#section-professionals .prof-card-name{font-size:.85rem;font-weight:500;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#section-professionals .prof-card-meta{font-size:.72rem;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}#section-professionals .prof-card-badges{display:flex;gap:4px;flex-shrink:0}#section-professionals .prof-card-badge{font-size:.62rem;font-weight:600;padding:1px 6px;border-radius:8px;background:#f3f4f6;color:#4b5563;line-height:1.4}#section-professionals .prof-card-badge.default{background:#f1f5f9;color:#92400e}#section-professionals .prof-card-badge.cert{background:#d1fae5;color:#065f46}#section-professionals .prof-empty{padding:20px 12px;text-align:center;color:#9ca3af;font-size:.82rem;font-style:italic}#section-professionals .prof-card.prof-card-ghost{background:#f8fafc;border:1px dashed #94a3b8;cursor:default}#section-professionals .prof-card.prof-card-ghost.selected{background:linear-gradient(180deg,#1e293b 0,#334155 100%);border-color:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.18)}#section-professionals .prof-card.prof-card-ghost.selected .prof-card-meta,#section-professionals .prof-card.prof-card-ghost.selected .prof-card-name{color:#f1f5f9}#section-professionals .prof-card.prof-card-ghost .prof-avatar{background:#cbd5e1;color:#475569;font-size:1.1rem}#section-professionals .prof-card.prof-card-ghost.selected .prof-avatar{background:rgba(255,255,255,.15);color:#86efac;border:1px dashed #86efac}#section-professionals .prof-card.prof-card-ghost .prof-card-badge.unsaved{background:#f1f5f9;color:#92400e}#section-professionals .prof-card.prof-card-ghost.selected .prof-card-badge.unsaved{background:rgba(245,158,11,.25);color:#fde68a}#section-professionals .prof-group{padding:10px 14px 4px}#section-professionals .prof-group-label{font-size:.7rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;display:inline-flex;align-items:center;gap:6px}#section-professionals .prof-info{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#e0e7ff;color:#4338ca;cursor:help;outline:0;flex-shrink:0}#section-professionals .prof-info:focus{box-shadow:0 0 0 2px rgba(99,102,241,.35)}#section-professionals .prof-info-tooltip{position:fixed;left:0;top:0;z-index:10100;width:360px;max-width:calc(100vw - 24px);background:#1f2937;color:#f3f4f6;padding:12px 14px;border-radius:8px;font-size:.78rem;font-weight:400;line-height:1.5;box-shadow:0 8px 24px rgba(0,0,0,.35);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s,transform .15s,visibility .15s;pointer-events:none;text-transform:none;letter-spacing:normal}#section-professionals .prof-info-tooltip.show{opacity:1;visibility:visible;transform:translateY(0)}#section-professionals .prof-info-tooltip strong{display:block;color:#fff;font-size:.82rem;margin-bottom:6px}#section-professionals .prof-info-tooltip p{margin:0 0 6px}#section-professionals .prof-info-tooltip p:last-child{margin-bottom:0}#section-professionals .prof-info-tooltip b{color:#fde68a;font-weight:600}#section-professionals .prof-info-tooltip code{background:rgba(255,255,255,.1);padding:1px 5px;border-radius:3px;font-family:ui-monospace,Consolas,monospace;font-size:.74rem}#section-professionals .sig-tooltip,#section-signing-mode .sig-tooltip{position:relative;display:inline-block;margin-left:6px;cursor:help;outline:0;vertical-align:baseline}#section-professionals .sig-tooltip-trigger,#section-signing-mode .sig-tooltip-trigger{font-size:.7rem;color:#10b981;font-weight:600;border-bottom:1px dashed #10b981;padding-bottom:1px;transition:color 120ms ease,border-color 120ms ease}#section-professionals .sig-tooltip:focus .sig-tooltip-trigger,#section-professionals .sig-tooltip:focus-within .sig-tooltip-trigger,#section-professionals .sig-tooltip:hover .sig-tooltip-trigger,#section-signing-mode .sig-tooltip:focus .sig-tooltip-trigger,#section-signing-mode .sig-tooltip:focus-within .sig-tooltip-trigger,#section-signing-mode .sig-tooltip:hover .sig-tooltip-trigger{color:#065f46;border-bottom-color:#065f46}#section-professionals .sig-tooltip-pop,#section-signing-mode .sig-tooltip-pop{visibility:hidden;opacity:0;position:fixed;top:0;left:0;width:min(560px,calc(100vw - 40px));background:linear-gradient(180deg,#1e293b 0,#334155 100%);color:#f1f5f9;padding:14px 16px 12px;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.28),0 0 0 1px rgba(16,185,129,.42),0 0 0 4px rgba(134,239,172,.18);font-size:.74rem;line-height:1.4;z-index:9999;transform:translateY(-4px);transition:opacity 150ms ease,transform 150ms ease,visibility 150ms ease;pointer-events:none;text-transform:none;letter-spacing:normal;font-weight:400}#section-professionals .sig-tooltip:focus .sig-tooltip-pop,#section-professionals .sig-tooltip:focus-within .sig-tooltip-pop,#section-professionals .sig-tooltip:hover .sig-tooltip-pop,#section-signing-mode .sig-tooltip:focus .sig-tooltip-pop,#section-signing-mode .sig-tooltip:focus-within .sig-tooltip-pop,#section-signing-mode .sig-tooltip:hover .sig-tooltip-pop{visibility:visible;opacity:1;transform:translateY(0);pointer-events:auto}#section-professionals .sig-tooltip-pop h6,#section-signing-mode .sig-tooltip-pop h6{margin:0 0 8px;font-size:.78rem;color:#86efac;font-weight:700;text-shadow:0 0 8px rgba(134,239,172,.35)}#section-professionals .sig-tooltip-pop table,#section-signing-mode .sig-tooltip-pop table{width:100%;border-collapse:collapse;font-size:.72rem}#section-professionals .sig-tooltip-pop thead th,#section-signing-mode .sig-tooltip-pop thead th{text-align:left;padding:4px 6px;font-weight:600;color:#86efac;text-transform:uppercase;font-size:.62rem;letter-spacing:.05em;border-bottom:1px solid rgba(134,239,172,.35)}#section-professionals .sig-tooltip-pop tbody td,#section-signing-mode .sig-tooltip-pop tbody td{padding:6px;vertical-align:top;border-bottom:1px solid rgba(255,255,255,.08)}#section-professionals .sig-tooltip-pop tbody tr:last-child td,#section-signing-mode .sig-tooltip-pop tbody tr:last-child td{border-bottom:none}#section-professionals .sig-tooltip-pop tbody td:first-child,#section-signing-mode .sig-tooltip-pop tbody td:first-child{font-weight:600;color:#cbd5e1;white-space:nowrap}#section-professionals .sig-tooltip-pop tr.sig-current td,#section-signing-mode .sig-tooltip-pop tr.sig-current td{background:rgba(16,185,129,.16)}#section-professionals .sig-tooltip-pop tr.sig-current td:first-child,#section-signing-mode .sig-tooltip-pop tr.sig-current td:first-child{color:#86efac}#section-professionals .sig-tooltip-pop .sig-footnote,#section-signing-mode .sig-tooltip-pop .sig-footnote{display:block;margin-top:10px;padding-top:8px;border-top:1px solid rgba(255,255,255,.1);font-size:.66rem;color:#94a3b8;font-style:italic;line-height:1.45}#section-professionals .sig-tooltip-pop .sig-pill,#section-signing-mode .sig-tooltip-pop .sig-pill{display:inline-block;padding:1px 6px;border-radius:10px;font-size:.6rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;margin-left:4px}#section-professionals .sig-tooltip-pop .sig-pill.sig-pill-now,#section-signing-mode .sig-tooltip-pop .sig-pill.sig-pill-now{background:rgba(134,239,172,.22);color:#86efac}@media (max-width:720px){#section-professionals .sig-tooltip-pop,#section-signing-mode .sig-tooltip-pop{width:min(420px,calc(100vw - 24px))}}#section-professionals .prof-row{display:grid;gap:10px;margin-bottom:8px}#section-professionals .prof-row-full{grid-template-columns:1fr}#section-professionals .prof-row-2{grid-template-columns:1fr 1fr}#section-professionals .prof-row-3{grid-template-columns:1.2fr 0.5fr 0.8fr}@media (max-width:720px){#section-professionals .prof-row-2,#section-professionals .prof-row-3{grid-template-columns:1fr}}#section-professionals .prof-field{display:flex;flex-direction:column;gap:3px;min-width:0}#section-professionals .prof-field label{font-size:.74rem;font-weight:600;color:#334e7c;line-height:1.2}#section-professionals .prof-field label.label-with-hint{display:flex;align-items:center;gap:6px;flex-wrap:wrap}#section-professionals .prof-field input,#section-professionals .prof-field select{width:100%;padding:6px 9px;font-size:.85rem;border:1px solid #d1d5db;border-radius:5px;box-sizing:border-box;background:#fff}#settings-tab #prof-default-row{margin-top:2px;margin-bottom:0}#settings-tab #prof-default-row .prof-checkbox-row{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:9px 11px;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:7px;background:#f8fafc;color:#334155!important;font-size:.83rem;font-weight:600;cursor:pointer;user-select:none;transition:background 160ms,border-color 160ms,box-shadow 160ms,color 160ms}#settings-tab #prof-default-row .prof-checkbox-row:hover{background:#f1f5f9;border-color:#64748b;color:#1e293b!important;box-shadow:0 2px 6px rgba(15,23,42,.08),0 0 0 1px rgba(16,185,129,.12)}#settings-tab #prof-default-row .prof-checkbox-row:has(input:focus-visible){border-color:#10b981;box-shadow:0 0 0 2px rgba(16,185,129,.22)}#settings-tab #prof-default-row .prof-checkbox-row:has(input:checked){background:#ecfdf5;border-color:#10b981;color:#047857!important;box-shadow:inset 3px 0 0 #10b981,0 2px 6px rgba(15,23,42,.06)}#settings-tab #prof-default-row .prof-checkbox-row input[type=checkbox]{flex:0 0 auto;width:16px;height:16px;margin:0;padding:0;accent-color:#059669;cursor:pointer}#section-professionals .prof-form-actions{display:flex;gap:8px;padding:12px 14px;border-top:1px solid #f3f4f6;background:#fafafa;align-items:center}#section-professionals .cert-chip,#section-signing-mode .cert-chip{font-size:.7rem;font-weight:600;padding:2px 8px;border-radius:10px;background:#f3f4f6;color:#4b5563}#section-professionals .cert-chip.cert-chip-active,#section-signing-mode .cert-chip.cert-chip-active{background:#d1fae5;color:#065f46}#section-professionals .cert-chip.cert-chip-warn,#section-signing-mode .cert-chip.cert-chip-warn{background:#f1f5f9;color:#92400e}#section-professionals .cert-chip.cert-chip-expired,#section-signing-mode .cert-chip.cert-chip-expired{background:#fee2e2;color:#991b1b}#section-professionals .cert-chip.cert-chip-none,#section-signing-mode .cert-chip.cert-chip-none{background:#f3f4f6;color:#6b7280}#section-signing-mode .signature-doc{margin-top:14px;padding:14px;border:1px solid #dbeafe;border-radius:8px;background:#f8fbff;color:#334155;font-size:.82rem;line-height:1.45}#section-signing-mode .signature-doc-title{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:#1e3a8a;font-weight:700}#section-signing-mode .signature-doc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#section-signing-mode .signature-doc-card{padding:12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}#section-signing-mode .signature-doc-card h5{margin:0 0 8px;color:#0f172a;font-size:.9rem}#section-signing-mode .signature-doc-card p{margin:0 0 8px}#section-signing-mode .signature-doc-card ul{margin:0;padding-left:18px}#section-signing-mode .signature-doc-card li{margin:4px 0}#section-signing-mode .signature-doc-summary{margin-top:10px;padding:10px 12px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#1e40af}#section-signing-mode .signature-doc-note{margin:8px 0 0;color:#64748b;font-size:.75rem}@media (max-width:820px){#section-signing-mode .signature-doc-grid{grid-template-columns:1fr}}#settings-tab .settings-main .cat-form-pane,#settings-tab .settings-main .cat-tree-pane,#settings-tab .settings-main .data-section .medical-data-form{background:#f8fafc;border-color:#e2e8f0}#settings-tab .settings-main .cat-pane-header{background:#f1f5f9;border-bottom-color:#cbd5e1}#settings-tab .settings-main .cat-pane-header strong{color:#1e293b}#settings-tab .settings-main .data-section .medical-data-form{padding:12px 14px;border-radius:8px;border:1px solid #e2e8f0}#settings-tab .settings-main .data-section .medical-data-form .form-field label{color:#475569}#settings-tab .settings-main .data-section>h4{margin:-18px -22px 16px!important;padding:14px 22px!important;font-size:.95rem!important;font-weight:600!important;letter-spacing:-.005em!important;color:#dcfce7!important;border-bottom:1px solid #1e293b!important;display:flex!important;align-items:center!important;gap:8px!important;border-radius:8px 8px 0 0!important;background:linear-gradient(180deg,#334155 0,#1e293b 100%)!important;border-left:0!important}#settings-tab .settings-main .data-section>h4 svg{flex-shrink:0;opacity:.85}#section-standard-texts .stdtext-toolbar{margin:-18px -22px 12px;padding:12px 22px 10px;background:#fff;border-top:1px solid #10b981;border-bottom:1px solid #e2e8f0;box-shadow:inset 0 1px 0 rgba(16,185,129,.1);border-radius:8px 8px 0 0}#section-standard-texts .stdtext-toolbar-title{color:#047857}.fav-models-grid{display:grid;grid-template-columns:minmax(260px,0.85fr) minmax(360px,1.15fr);gap:14px;min-height:520px}@media (max-width:960px){.fav-models-grid{grid-template-columns:1fr}}.fav-model-list{display:flex;flex-direction:column;gap:7px;padding:10px;max-height:650px;overflow:auto}.fav-model-list-item{border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:8px;display:grid;grid-template-columns:44px minmax(0,1fr);gap:9px;cursor:pointer;text-align:left}.fav-model-list-item:hover{border-color:#1e293b;background:#f1f5f9}.fav-model-list-item.active{border-color:#1e293b;background:#f1f5f9}.fav-model-list-thumb{width:42px;height:54px;border:1px solid #dbe3ee;border-radius:5px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden}.fav-model-list-thumb img{max-width:100%;max-height:100%;display:block}.fav-model-list-main{min-width:0;display:flex;flex-direction:column;gap:2px}.fav-model-list-name{font-size:.84rem;font-weight:650;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fav-model-list-meta{font-size:.7rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fav-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;padding:12px 14px}.fav-form-grid .span-2{grid-column:span 2}@media (max-width:720px){.fav-form-grid{grid-template-columns:1fr}.fav-form-grid .span-2{grid-column:span 1}}.fav-form-grid label{display:flex;flex-direction:column;gap:4px;font-size:.78rem;color:#374151;font-weight:600}.fav-form-grid input,.fav-form-grid select{width:100%;padding:6px 9px;border:1px solid #d1d5db;border-radius:5px;font-size:.86rem;box-sizing:border-box;background:#fff}.fav-thumb-preview{display:flex;align-items:center;gap:12px;padding:10px 14px;border-top:1px solid #eff3f8;background:#fbfdff}.fav-thumb-preview-frame{width:104px;height:136px;border:1px solid #dbe3ee;border-radius:7px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}.fav-thumb-preview-frame img{max-width:100%;max-height:100%;display:block}.fav-thumb-preview-note{font-size:.74rem;color:#64748b;line-height:1.35}#settings-tab.active{display:grid;grid-template-columns:220px 1fr;gap:0;padding:0;height:calc(100vh - 130px);overflow:hidden}#settings-tab .settings-sidebar{border-right:1px solid var(--settings-sidebar-border-right);background:var(--settings-sidebar-bg);padding:0 6px 14px;overflow-y:auto}#settings-tab .settings-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;padding:9px 12px;margin:0 -6px 12px;background:linear-gradient(180deg,#334155 0,#1e293b 100%);border-bottom:1px solid #0f172a;position:sticky;top:0;z-index:2}#settings-tab .settings-sidebar-head h5{margin:0;display:flex;align-items:center;gap:7px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#dcfce7;text-shadow:0 0 6px rgba(134,239,172,.4)}#settings-tab .settings-sidebar-head h5 svg{width:14px;height:14px;flex-shrink:0;color:#dcfce7;filter:drop-shadow(0 0 4px rgba(134,239,172,.64))}#settings-tab .settings-nav-group{margin-bottom:14px}#settings-tab .settings-nav-group-label{font-size:.7rem;color:var(--settings-navgroup-label-text);font-weight:600;text-transform:uppercase;letter-spacing:.06em;padding:4px 10px 6px}#settings-tab .settings-nav-item{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;border:none;background:0 0;color:var(--settings-navitem-text);border-radius:6px;cursor:pointer;font-size:.83rem;text-align:left;font-family:inherit;transition:background-color 140ms ease,color 140ms ease;margin-bottom:1px}#settings-tab .settings-nav-item:hover{background:var(--settings-navitem-hover-bg);color:var(--settings-navitem-hover-text)}#settings-tab .settings-nav-item.active{background:var(--settings-navitem-active-bg);color:var(--settings-navitem-active-text);font-weight:600}#settings-tab .settings-nav-item svg{color:inherit;flex-shrink:0}#settings-tab .settings-main{padding:18px 22px;overflow-y:auto;background:var(--settings-main-bg)}#settings-tab .settings-rights-mark{margin-top:24px;padding:14px 0 0;border-top:1px solid var(--settings-rights-border-top)}#settings-tab .settings-main .data-section{display:none;margin-bottom:0}#settings-tab .settings-main .data-section.active{display:block}#settings-tab .settings-main .data-section h4{margin-top:0}@media screen{.sigpro-box.sigpro-preview-layout{display:flex;flex-direction:column}.sigpro-box.sigpro-preview-layout>[data-sigpro-preview-order]{order:var(--sigpro-preview-order)}.sigpro-box.sigpro-preview-layout>.sigpro-preview-hidden{display:none!important}.layout-preview-canvas .sigpro-box.sigpro-preview-no-qr{padding-right:5px!important}.sigpro-box.sigpro-preview-frame{border:var(--sigpro-frame-border) solid var(--sigpro-frame-color)!important;border-top-width:var(--sigpro-frame-top)!important}.sigpro-box.sigpro-preview-sigline>.sigpro-name{border-bottom:var(--sigpro-frame-line) solid var(--sigpro-frame-color);margin:0 -48px 3px -5px;padding:0 48px 1px 5px}.sigpro-box.sigpro-preview-sigline.sigpro-preview-no-qr>.sigpro-name{margin-right:-5px;padding-right:5px}.layout-preview-canvas .sigpro-box{padding:5px 48px 5px 5px!important}.layout-preview-canvas .sigpro-box>div:not(.sigpro-qr){white-space:nowrap}.layout-preview-canvas .sigpro-box>.sigpro-preview-fit{font-size:var(--sigpro-preview-font-size)!important}}.stamp-premium-badge{display:inline-block;padding:1px 7px;border-radius:10px;font-size:10px;font-weight:700;letter-spacing:.3px;background:linear-gradient(180deg,#1e293b,#334155);color:#a7f3d0;box-shadow:0 0 6px rgba(16,185,129,.42);vertical-align:1px}#settings-tab .settings-sidebar{box-shadow:inset -1px 0 0 rgba(255,255,255,.64)}#settings-tab .settings-nav-group-label{color:#64748b}#settings-tab .settings-nav-item{border:1px solid transparent;transition:background .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}#settings-tab .settings-nav-item:hover{border-color:#cbd5e1;background:#f1f5f9;color:#1e293b;box-shadow:inset 3px 0 0 rgba(16,185,129,.28)}#settings-tab .settings-nav-item.active{background:linear-gradient(180deg,#1e293b 0,#334155 100%);border-color:#1e293b;color:#dcfce7;font-weight:700;text-shadow:0 0 5px rgba(134,239,172,.42);box-shadow:0 1px 3px rgba(15,23,42,.22),0 0 0 1px rgba(16,185,129,.3),0 0 10px rgba(16,185,129,.24),inset 3px 0 0 #10b981}#settings-tab .settings-nav-item.active svg{color:#6ee7b7;filter:drop-shadow(0 0 4px rgba(134,239,172,.7)) drop-shadow(0 0 9px rgba(16,185,129,.36))}#settings-tab .settings-main .data-section{background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 2px 8px rgba(15,23,42,.06);overflow:hidden}#settings-tab .settings-main .data-section>h4{margin:-18px -22px 16px!important;padding:14px 22px!important;font-size:.95rem!important;font-weight:700!important;letter-spacing:0!important;color:#dcfce7!important;border-bottom:1px solid #1e293b!important;border-left:0!important;border-radius:8px 8px 0 0!important;background:linear-gradient(180deg,#334155 0,#1e293b 100%)!important;text-shadow:0 0 7px rgba(134,239,172,.7),0 0 16px rgba(16,185,129,.36);box-shadow:0 0 0 1px rgba(16,185,129,.16)}#settings-tab .settings-main .data-section>h4 svg{color:#6ee7b7;filter:drop-shadow(0 0 4px rgba(134,239,172,.62))}#settings-tab .settings-icon{width:14px;height:14px;display:inline-block;flex:0 0 auto;vertical-align:-2px;color:currentColor;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}#settings-tab .settings-icon-sm{width:12px;height:12px}#settings-tab .settings-icon-md{width:16px;height:16px}#settings-tab .settings-inline-icon,#settings-tab button .settings-icon{margin-right:4px}#settings-tab button .settings-icon:only-child{margin-right:0}#settings-tab .settings-inline-icon{display:inline-block;vertical-align:-3px;color:#047857}#settings-tab .settings-warning-icon{color:#d97706}#settings-tab .settings-danger-icon{color:#dc2626}#settings-tab .settings-muted-icon{color:#64748b}#settings-tab .settings-edit-indicator{display:inline-flex;align-items:center;gap:5px}#section-shift-types{--shift-navy-900:#0f172a;--shift-navy-800:#1e293b;--shift-navy-700:#334155;--shift-slate-500:#64748b;--shift-slate-300:#cbd5e1;--shift-slate-200:#e2e8f0;--shift-slate-100:#f1f5f9;--shift-slate-50:#f8fafc;--shift-emerald:#10b981;--shift-emerald-dark:#047857;--shift-emerald-soft:#dcfce7}#section-shift-types .shift-settings-intro{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:11px 13px;border:1px solid var(--shift-slate-200);border-radius:10px;background:linear-gradient(180deg,#fff 0,var(--shift-slate-50) 100%);color:var(--shift-slate-500);font-size:.82rem;line-height:1.45;box-shadow:0 1px 3px rgba(15,23,42,.04)}#section-shift-types .shift-config-card-icon,#section-shift-types .shift-settings-intro-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:var(--shift-emerald-soft);background:linear-gradient(180deg,var(--shift-navy-800) 0,var(--shift-navy-700) 100%);border:1px solid var(--shift-navy-800);box-shadow:0 0 0 1px rgba(16,185,129,.24),0 0 10px rgba(16,185,129,.18)}#section-shift-types .shift-settings-intro-icon{width:38px;height:38px;border-radius:9px}#section-shift-types .shift-config-card-icon svg,#section-shift-types .shift-settings-intro-icon svg{width:19px;height:19px;filter:drop-shadow(0 0 4px rgba(134,239,172,.68))}#section-shift-types .shift-config-card{position:relative;overflow:hidden;margin-bottom:14px;border:1px solid var(--shift-slate-300);border-radius:12px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.06),0 1px 3px rgba(15,23,42,.04)}#section-shift-types .shift-config-card::before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:var(--shift-emerald);box-shadow:0 0 10px rgba(16,185,129,.32)}#section-shift-types .shift-config-card-head{display:flex;align-items:center;gap:11px;padding:12px 14px 12px 16px;border-bottom:1px solid var(--shift-slate-200);background:linear-gradient(180deg,#fff 0,var(--shift-slate-50) 100%)}#section-shift-types .shift-config-card-icon{width:38px;height:38px;border-radius:9px}#section-shift-types .shift-config-card-copy{display:flex;flex:1 1 auto;min-width:0;flex-direction:column;gap:2px}#section-shift-types .shift-config-card-title{color:var(--shift-navy-800);font-size:.92rem;font-weight:700;letter-spacing:-.01em}#section-shift-types .shift-config-card-subtitle{color:var(--shift-slate-500);font-size:.74rem;line-height:1.3}#section-shift-types .shift-config-status{max-width:min(42%,320px);padding:4px 9px;border:1px solid var(--shift-slate-200);border-radius:999px;background:#fff;color:var(--shift-slate-500);font-size:.7rem;font-weight:650;line-height:1.25;text-align:right}#section-shift-types .shift-config-card-body{padding:14px 16px 16px}#section-shift-types .aged-form{gap:10px 12px}#section-shift-types .aged-field{gap:5px}#section-shift-types .aged-field>label:first-child{color:#475569;font-size:.71rem;font-weight:700;letter-spacing:.015em}#section-shift-types .aged-field input[data-mc-dt=date],#section-shift-types .aged-field input[data-mc-dt=time],#section-shift-types .aged-field input[type=date],#section-shift-types .aged-field input[type=number],#section-shift-types .aged-field input[type=text],#section-shift-types .aged-field input[type=time],#section-shift-types .aged-field select,#section-shift-types .aged-field textarea{width:100%;min-height:36px;padding:7px 10px;border:1px solid var(--shift-slate-300);border-radius:8px;background:#fff;color:var(--shift-navy-900);font:inherit;font-size:.82rem;box-sizing:border-box;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}#section-shift-types .aged-field textarea{min-height:62px;resize:vertical}#section-shift-types .aged-field input[type=color]{width:100%;min-height:36px;padding:4px;border:1px solid var(--shift-slate-300);border-radius:8px;background:#fff;box-sizing:border-box;cursor:pointer}#section-shift-types .aged-field input:not([type=checkbox]):not([type=radio]):focus,#section-shift-types .aged-field select:focus,#section-shift-types .aged-field textarea:focus{outline:0;border-color:var(--shift-emerald);box-shadow:0 0 0 3px rgba(16,185,129,.14);background:#fff}#section-shift-types .shift-payment-switch{display:inline-flex;align-items:center;gap:4px;width:fit-content;padding:3px;border:1px solid var(--shift-slate-200);border-radius:9px;background:var(--shift-slate-100)}#section-shift-types .shift-payment-option{display:inline-flex;align-items:center;gap:6px;margin:0;padding:6px 10px;border:1px solid transparent;border-radius:7px;color:#475569;font-size:.78rem;font-weight:650;cursor:pointer;transition:all .14s ease}#section-shift-types .shift-payment-option:has(input:checked){color:var(--shift-emerald-soft);border-color:var(--shift-navy-800);background:linear-gradient(180deg,var(--shift-navy-800) 0,var(--shift-navy-700) 100%);text-shadow:0 0 5px rgba(134,239,172,.35);box-shadow:0 0 0 1px rgba(16,185,129,.22),0 0 8px rgba(16,185,129,.16)}#section-shift-types .shift-active-toggle input,#section-shift-types .shift-payment-option input{width:14px;height:14px;margin:0;accent-color:var(--shift-emerald)}#section-shift-types .schedule-day-chip{padding:6px 10px;border-color:var(--shift-slate-300);color:#475569;background:#fff;transition:all .14s ease}#section-shift-types .schedule-day-chip:hover{border-color:#94a3b8;background:var(--shift-slate-50)}#section-shift-types .schedule-day-chip:has(input:checked){border-color:var(--shift-navy-800);color:var(--shift-emerald-soft);background:linear-gradient(180deg,var(--shift-navy-800) 0,var(--shift-navy-700) 100%);text-shadow:0 0 5px rgba(134,239,172,.35);box-shadow:0 0 0 1px rgba(16,185,129,.22),0 0 8px rgba(16,185,129,.15)}#section-shift-types .shift-active-toggle{display:flex;align-items:center;gap:8px;min-height:36px;padding:7px 10px;border:1px solid var(--shift-slate-200);border-radius:8px;background:var(--shift-slate-50);color:#475569;font-size:.78rem;font-weight:600;cursor:pointer}#section-shift-types .shift-config-actions,#section-shift-types .shift-list-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}#section-shift-types .shift-config-actions{margin-top:12px}#section-shift-types .shift-modern-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 12px;border:1px solid var(--shift-slate-300);border-radius:8px;background:#fff;color:var(--shift-navy-700);font-family:inherit;font-size:.78rem;font-weight:700;line-height:1;cursor:pointer;transition:transform .14s ease,border-color .14s ease,background .14s ease,color .14s ease,box-shadow .14s ease}#section-shift-types .shift-modern-btn svg{width:15px;height:15px;flex:0 0 auto}#section-shift-types .shift-modern-btn:hover{transform:translateY(-1px);border-color:var(--shift-navy-800);background:var(--shift-slate-100);color:var(--shift-navy-800);box-shadow:0 3px 9px rgba(15,23,42,.09),inset 3px 0 0 var(--shift-emerald)}#section-shift-types .shift-modern-btn:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(16,185,129,.2)}#section-shift-types .shift-modern-btn:disabled{opacity:.6;cursor:wait;transform:none}#section-shift-types .shift-modern-btn--primary{border-color:var(--shift-navy-800);color:var(--shift-emerald-soft);background:linear-gradient(180deg,var(--shift-navy-800) 0,var(--shift-navy-700) 100%);text-shadow:0 0 5px rgba(134,239,172,.35);box-shadow:0 1px 3px rgba(15,23,42,.2),0 0 0 1px rgba(16,185,129,.2),0 0 9px rgba(16,185,129,.14)}#section-shift-types .shift-modern-btn--primary:hover{color:#ecfdf5;background:linear-gradient(180deg,var(--shift-navy-700) 0,var(--shift-navy-800) 100%);box-shadow:0 4px 11px rgba(15,23,42,.22),0 0 0 1px rgba(16,185,129,.32),0 0 12px rgba(16,185,129,.22),inset 3px 0 0 var(--shift-emerald)}#section-shift-types .shift-modern-btn--primary svg{filter:drop-shadow(0 0 4px rgba(134,239,172,.68))}#section-shift-types .shift-modern-btn--danger{border-color:#fecaca;color:#b91c1c;background:#fff}#section-shift-types .shift-modern-btn--danger:hover{border-color:#f87171;color:#991b1b;background:#fef2f2;box-shadow:0 3px 9px rgba(185,28,28,.08),inset 3px 0 0 #dc2626}#section-shift-types .shift-list-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px;margin-top:12px}#section-shift-types .shift-list-card{position:relative;overflow:hidden;padding:12px 12px 11px 14px;border:1px solid var(--shift-slate-200);border-radius:10px;background:#fff;color:var(--shift-navy-800);box-shadow:0 1px 3px rgba(15,23,42,.04),inset 3px 0 0 var(--shift-card-accent,var(--shift-emerald));transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease}#section-shift-types .shift-list-card:hover{transform:translateY(-1px);border-color:var(--shift-navy-800);background:var(--shift-slate-50);box-shadow:0 4px 12px rgba(15,23,42,.09),0 0 0 1px rgba(16,185,129,.12),inset 3px 0 0 var(--shift-card-accent,var(--shift-emerald))}#section-shift-types .shift-list-card.is-inactive{opacity:.58}#section-shift-types .shift-list-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}#section-shift-types .shift-list-card-title{min-width:0;color:var(--shift-navy-800);font-size:.88rem;font-weight:750;line-height:1.3}#section-shift-types .shift-list-status{flex:0 0 auto;padding:2px 7px;border:1px solid #a7f3d0;border-radius:999px;background:#ecfdf5;color:var(--shift-emerald-dark);font-size:.62rem;font-weight:750;text-transform:uppercase;letter-spacing:.035em}#section-shift-types .shift-list-card.is-inactive .shift-list-status{border-color:var(--shift-slate-300);background:var(--shift-slate-100);color:var(--shift-slate-500)}#section-shift-types .shift-list-card-meta{display:flex;flex-direction:column;gap:5px;margin-top:9px;color:var(--shift-slate-500);font-size:.76rem;line-height:1.35}#section-shift-types .shift-list-meta-row{display:flex;align-items:flex-start;gap:6px}#section-shift-types .shift-list-meta-row svg{width:13px;height:13px;margin-top:1px;flex:0 0 auto;color:var(--shift-emerald-dark)}#section-shift-types .shift-list-actions{margin-top:11px;padding-top:9px;border-top:1px solid var(--shift-slate-200)}#section-shift-types .shift-list-actions .shift-modern-btn{min-height:30px;padding:6px 9px;font-size:.72rem}#section-shift-types .shift-empty-state{grid-column:1/-1;display:flex;align-items:center;gap:9px;padding:12px 13px;border:1px dashed var(--shift-slate-300);border-radius:9px;background:var(--shift-slate-50);color:var(--shift-slate-500);font-size:.78rem}#section-shift-types .shift-empty-state svg{width:17px;height:17px;color:var(--shift-emerald-dark)}@media (max-width:760px){#section-shift-types .shift-config-card-head{align-items:flex-start;flex-wrap:wrap}#section-shift-types .shift-config-status{max-width:none;margin-left:49px;text-align:left}#section-shift-types .aged-form>.aged-field{grid-column:1/-1!important}#section-shift-types .shift-payment-switch{width:100%;box-sizing:border-box}#section-shift-types .shift-payment-option{flex:1 1 0;justify-content:center}}@media (prefers-reduced-motion:reduce){#section-shift-types .shift-list-card,#section-shift-types .shift-modern-btn{transition:none}}#settings-tab .settings-main .account-card,#settings-tab .settings-main .cat-form-pane,#settings-tab .settings-main .cat-tree-pane,#settings-tab .settings-main .data-section .medical-data-form,#settings-tab .settings-main .fav-model-list-item,#settings-tab .settings-main .loc-picker-card,#settings-tab .settings-main .prof-form-pane,#settings-tab .settings-main .prof-list-pane,#settings-tab .settings-main .security-card,#settings-tab .settings-main .signature-doc,#settings-tab .settings-main .signature-doc-card{background:#f8fafc;border-color:#e2e8f0;box-shadow:0 1px 3px rgba(15,23,42,.04)}#settings-tab .settings-main .account-card-head,#settings-tab .settings-main .cat-pane-header,#settings-tab .settings-main .fav-thumb-preview,#settings-tab .settings-main .prof-form-actions,#settings-tab .settings-main .security-card-head{background:#f1f5f9;border-color:#cbd5e1}#settings-tab .settings-main .account-card-title,#settings-tab .settings-main .cat-pane-header strong,#settings-tab .settings-main .data-section h5,#settings-tab .settings-main .security-card-title,#settings-tab .settings-main .signature-doc-card h5,#settings-tab .settings-main .signature-doc-title{color:#1e293b!important}#settings-tab #section-billing .billing-two-col{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,0.75fr);gap:14px;align-items:start}#settings-tab #section-billing .billing-data-column,#settings-tab #section-billing .billing-main-column{min-width:0}#settings-tab #billing-content .billing-main-column{--billing-main-surface-bg:linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);--billing-main-surface-border:#cbd5e1;--billing-main-surface-shadow:0 10px 28px rgba(15,23,42,0.08),0 1px 3px rgba(15,23,42,0.05);--billing-main-plan-bg:linear-gradient(180deg, #475569 0%, #334155 100%);--billing-main-plan-border:#1e293b;--billing-main-plan-title:#dcfce7;--billing-main-plan-price:#cbd5e1;--billing-main-summary-bg:rgba(255,255,255,0.9);--billing-main-summary-border:#e2e8f0;--billing-main-trust-text:#64748b;position:relative;overflow:hidden;padding:16px;border:1px solid var(--billing-main-surface-border);border-radius:12px;background:var(--billing-main-surface-bg);box-shadow:var(--billing-main-surface-shadow)}#settings-tab #billing-content .billing-main-column::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#10b981 0,#6ee7b7 45%,transparent 100%);pointer-events:none}#settings-tab #billing-content #billing-plan-card{position:relative;overflow:hidden;padding:16px;margin-bottom:14px;border:1px solid var(--billing-main-plan-border);border-radius:10px;background:var(--billing-main-plan-bg);box-shadow:0 8px 20px rgba(15,23,42,.16),inset 3px 0 0 #10b981}#settings-tab #billing-content #billing-plan-card::after{content:"";position:absolute;width:150px;height:150px;right:-62px;top:-82px;border-radius:50%;background:rgba(16,185,129,.12);box-shadow:0 0 32px rgba(16,185,129,.22);pointer-events:none}#settings-tab #billing-content #billing-plan-name{color:var(--billing-main-plan-title);font-size:1.08rem;font-weight:700;letter-spacing:-.01em;text-shadow:0 0 7px rgba(134,239,172,.6),0 0 16px rgba(16,185,129,.3)}#settings-tab #billing-content #billing-plan-price{position:relative;z-index:1;color:var(--billing-main-plan-price);font-weight:600}#settings-tab #billing-content #billing-plan-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border:1px solid rgba(110,231,183,.32);border-radius:999px}#settings-tab #billing-content #billing-actions{display:flex;gap:8px;flex-wrap:wrap;padding:2px 0}#settings-tab #billing-content #billing-actions .btn{min-height:34px;border-radius:7px;transition:transform 160ms ease,box-shadow 160ms ease,border-color 160ms ease}#settings-tab #billing-content #billing-actions .btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 10px rgba(15,23,42,.1),0 0 0 1px rgba(16,185,129,.16)}#settings-tab #billing-content #billing-summary{max-width:none;margin-top:14px;padding:12px 14px;border:1px solid var(--billing-main-summary-border);border-radius:8px;background:var(--billing-main-summary-bg);box-shadow:inset 3px 0 0 #10b981}#settings-tab #billing-content #billing-stripe-trust{margin-top:12px;padding-top:10px;border-top:1px solid var(--billing-main-summary-border);color:var(--billing-main-trust-text)}#settings-tab #section-billing .billing-data-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px;box-shadow:0 1px 2px rgba(15,23,42,.04)}#settings-tab #section-billing .billing-data-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:9px;margin-bottom:10px;border-bottom:1px solid #e2e8f0}#settings-tab #section-billing .billing-data-title{display:inline-flex;align-items:center;gap:6px;font-size:.86rem;font-weight:700;color:#1e293b}#settings-tab #section-billing .billing-data-title svg{width:14px;height:14px;color:#047857}#settings-tab #section-billing .billing-data-hint{font-size:.7rem;color:#64748b;white-space:nowrap}#settings-tab #section-billing .billing-data-grid{display:grid;grid-template-columns:1fr;gap:7px}#settings-tab #section-billing .billing-data-line{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #f1f5f9}#settings-tab #section-billing .billing-data-line:last-child{border-bottom:0}#settings-tab #section-billing .billing-data-line strong{font-size:.74rem;color:#64748b;font-weight:600}#settings-tab #section-billing .billing-data-line span{color:#0f172a;font-weight:600;text-align:right}@media (max-width:1020px){#settings-tab #section-billing .billing-two-col{grid-template-columns:1fr}}#settings-tab #section-billing .billing-extra-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px;margin-top:14px}.ai-credits-card{margin-top:14px;padding:16px;border:1px solid #cbd5e1;border-radius:10px;background:linear-gradient(145deg,#f8fafc 0,#fff 58%,#ecfdf5 140%);box-shadow:0 1px 3px rgba(15,23,42,.05)}.ai-credits-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.ai-credits-title{margin:0;color:#0f172a;font-size:1rem}.ai-credits-copy{margin:4px 0 0;color:#64748b;font-size:.78rem;line-height:1.45}.ai-credits-wallet{min-width:150px;text-align:right}.ai-credits-balance{color:#064e3b;font-size:1.45rem;font-weight:750;letter-spacing:-.02em}.ai-credits-equivalent{color:#64748b;font-size:.72rem}.ai-credits-status{display:inline-flex;margin-top:6px;padding:3px 8px;border-radius:999px;background:#e2e8f0;color:#475569;font-size:.68rem;font-weight:650}.ai-credits-status.is-active{background:#d1fae5;color:#065f46}.ai-credit-packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.ai-credit-package{display:flex;flex-direction:column;gap:4px;min-height:82px;padding:11px;border:1px solid #dbe3ec;border-radius:8px;background:#fff;color:#0f172a;text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.ai-credit-package:hover:not(:disabled){border-color:#10b981;box-shadow:0 5px 14px rgba(16,185,129,.12);transform:translateY(-1px)}.ai-credit-package:disabled{opacity:.55;cursor:not-allowed}.ai-credit-package strong{color:#0f172a;font-size:.94rem}.ai-credit-package span{color:#047857;font-size:.8rem;font-weight:650}.ai-credit-package small{color:#64748b;font-size:.68rem}.ai-credits-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:14px}.ai-credits-subcard{padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;background:rgba(255,255,255,.82)}.ai-credits-subcard h6{margin:0 0 8px;color:#334155;font-size:.73rem;text-transform:uppercase;letter-spacing:.04em}.ai-credit-list{display:grid;gap:6px;margin:0;padding:0;list-style:none;color:#475569;font-size:.73rem}.ai-credit-list li{display:flex;justify-content:space-between;gap:12px}.ai-credits-receipts{grid-column:1/-1}.ai-credit-receipt-row{align-items:center;padding:8px 0;border-top:1px solid #e2e8f0}.ai-credit-receipt-row:first-child{border-top:0;padding-top:0}.ai-credit-receipt-copy{display:grid;gap:2px;min-width:0}.ai-credit-receipt-copy strong{color:#0f172a;font-size:.76rem;overflow-wrap:anywhere}.ai-credit-receipt-copy small{color:#64748b;font-size:.68rem}.ai-credit-receipt-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}.ai-credit-receipt-btn{border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#334155;padding:5px 8px;font-size:.68rem;font-weight:650;cursor:pointer}.ai-credit-receipt-btn:hover{border-color:#10b981;color:#047857}.ai-credit-receipt-btn:disabled{opacity:.55;cursor:wait}.ai-credit-empty{color:#94a3b8;font-size:.73rem}.ai-credits-payment-panel{max-width:520px;max-height:min(92vh,760px);overflow:auto}.ai-credits-payment-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.ai-credits-payment-head h3{margin:0;color:#0f172a;font-size:1.08rem}.ai-credits-payment-head p{margin:4px 0 0;color:#64748b;font-size:.78rem}.ai-credits-payment-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.ai-credits-payment-method{min-height:96px;padding:14px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;text-align:left;cursor:pointer}.ai-credits-payment-method:hover{border-color:#10b981;box-shadow:0 5px 16px rgba(16,185,129,.13)}.ai-credits-payment-method span,.ai-credits-payment-method strong{display:block}.ai-credits-payment-method strong{font-size:.92rem}.ai-credits-payment-method span{margin-top:4px;color:#64748b;font-size:.73rem;line-height:1.4}.ai-credits-pix-body{margin-top:16px;text-align:center}.ai-credits-pix-qr{width:min(240px,70vw);aspect-ratio:1;object-fit:contain;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.ai-credits-pix-code{width:100%;min-height:72px;margin-top:10px;padding:9px 10px;resize:none;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#334155;font:600 .72rem/1.35 ui-monospace,SFMono-Regular,Consolas,monospace;word-break:break-all}.ai-credits-pix-status{margin:10px 0 0;color:#475569;font-size:.78rem;line-height:1.45}.ai-credits-pix-status.is-paid{color:#047857;font-weight:700}@media (max-width:760px){.ai-credits-head{flex-direction:column}.ai-credits-wallet{text-align:left}.ai-credit-packages,.ai-credits-meta{grid-template-columns:1fr}.ai-credits-payment-methods{grid-template-columns:1fr}}#settings-tab #section-billing .billing-extra-card .idv-history{margin-top:0;border-top:0;padding-top:0}#settings-tab #section-billing .billing-extra-empty{font-size:.78rem;color:#6b7280;margin:0}#settings-tab #section-billing .billing-buy-item{display:flex;align-items:flex-start;gap:8px;padding:7px 8px;border-radius:6px;font-size:.76rem;color:#374151}#settings-tab #section-billing .billing-buy-item:nth-child(odd){background:#f8fafc}#settings-tab #section-billing .billing-buy-main{flex:1 1 auto;min-width:0}#settings-tab #section-billing .billing-buy-name{font-weight:600;color:#111827;word-break:break-word}#settings-tab #section-billing .billing-buy-sub{color:#6b7280;font-size:.7rem}#settings-tab #section-billing .billing-buy-receipt{background:0 0;border:0;padding:0;font:inherit;font-size:.7rem;color:#047857;text-decoration:underline;cursor:pointer}#settings-tab #section-billing .billing-buy-amount{flex:0 0 auto;font-weight:700;color:#0f172a;white-space:nowrap;font-variant-numeric:tabular-nums}#settings-tab #section-billing .billing-buy-total{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:10px;padding-top:9px;border-top:1px solid #e2e8f0;font-size:.78rem}#settings-tab #section-billing .billing-buy-total strong{color:#64748b;font-weight:600}#settings-tab #section-billing .billing-buy-total span{font-weight:700;color:#0f172a;font-variant-numeric:tabular-nums}#settings-tab #section-billing .billing-fairuse-card{margin-top:14px}#settings-tab #section-billing .billing-fairuse-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:8px 14px;margin:0;padding:0;list-style:none}#settings-tab #section-billing .billing-fairuse-item{padding:8px 10px;border-radius:6px;background:#f8fafc;font-size:.75rem;color:#475569;line-height:1.5}#settings-tab #section-billing .billing-fairuse-item-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:2px}#settings-tab #section-billing .billing-fairuse-item-head strong{color:#0f172a;font-size:.77rem}#settings-tab #section-billing .billing-fairuse-tag{flex:0 0 auto;padding:2px 8px;border-radius:999px;background:#d1fae5;color:#047857;font-size:.62rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}#settings-tab #section-billing .billing-fairuse-note{margin:10px 0 0;padding-top:9px;border-top:1px solid #e2e8f0;color:#64748b;font-size:.72rem;line-height:1.5}#settings-tab .settings-main .acct-line-label,#settings-tab .settings-main .cat-form-pane .form-field label,#settings-tab .settings-main .data-section .medical-data-form .form-field label,#settings-tab .settings-main .fav-form-grid label,#settings-tab .settings-main .prof-field label{color:#475569!important}#settings-tab .settings-main input:not([type=checkbox]):not([type=radio]):not([type=color]),#settings-tab .settings-main select,#settings-tab .settings-main textarea{border-color:#cbd5e1!important;border-radius:6px;color:#0f172a;transition:border-color .16s ease,box-shadow .16s ease}#settings-tab .settings-main input:not([type=checkbox]):not([type=radio]):not([type=color]):focus,#settings-tab .settings-main select:focus,#settings-tab .settings-main textarea:focus{outline:0;border-color:#10b981!important;box-shadow:0 0 0 2px rgba(16,185,129,.22)!important}#settings-tab .settings-main input[type=checkbox],#settings-tab .settings-main input[type=radio]{accent-color:#10b981}#settings-tab #section-account .acct-info,#settings-tab #section-professionals .prof-info{background:#dcfce7!important;border:1px solid #a7f3d0!important;color:#047857!important;box-shadow:0 0 0 1px rgba(16,185,129,.12)}#settings-tab #section-account .acct-info:focus,#settings-tab #section-professionals .prof-info:focus{outline:0;box-shadow:0 0 0 2px rgba(16,185,129,.24)}#settings-tab #prof-single-notice{background:#ecfdf5!important;border-color:#a7f3d0!important;color:#047857!important}#settings-tab #section-professionals .prof-group p.text-muted span[style*="background:#e0e7ff"]{background:#dcfce7!important;border:1px solid #a7f3d0;color:#047857!important}#settings-tab .settings-main .acct-line:hover,#settings-tab .settings-main .fav-model-list-item:hover,#settings-tab .settings-main .prof-card:hover{background:#f1f5f9;border-color:#1e293b;box-shadow:0 3px 10px rgba(15,23,42,.08),0 0 0 1px rgba(16,185,129,.18),inset 3px 0 0 #10b981}#settings-tab .settings-main .fav-model-list-item.active,#settings-tab .settings-main .prof-card.selected{background:#f1f5f9;border-color:#1e293b;box-shadow:inset 3px 0 0 #10b981,0 2px 6px rgba(15,23,42,.08)}#settings-tab .settings-main .signature-doc-summary{border-color:#6ee7b7;background:#ecfdf5;color:#047857;box-shadow:inset 3px 0 0 #10b981}#settings-tab #location-margins-preview,#settings-tab .ml-tip-card{border:1px solid #a7f3d0;background:#ecfdf5!important;color:#047857;box-shadow:inset 3px 0 0 rgba(16,185,129,.38)}#settings-tab .ml-tip-card strong{color:#047857}#settings-tab #section-standard-texts .stdtext-toolbar{margin:-18px -22px 12px;padding:12px 22px 10px;background:linear-gradient(180deg,#334155 0,#1e293b 100%);border-top:0;border-bottom:1px solid #1e293b;border-radius:8px 8px 0 0;box-shadow:0 0 0 1px rgba(16,185,129,.16)}#settings-tab #section-standard-texts .stdtext-toolbar-title{color:#dcfce7;text-shadow:0 0 7px rgba(134,239,172,.7),0 0 16px rgba(16,185,129,.36)}#settings-tab #section-standard-texts .stdtext-toolbar-title svg{color:#6ee7b7;filter:drop-shadow(0 0 4px rgba(134,239,172,.62))}#settings-tab #section-standard-texts .stdtext-pills-wrap .cat-tipo-pills{background:#e2e8f0;border:1px solid #cbd5e1;border-radius:7px;padding:3px}#settings-tab #section-standard-texts .stdtext-pills-wrap .cat-tipo-pill{border:1px solid transparent;border-radius:5px;background:0 0;color:#475569}#settings-tab #section-standard-texts .stdtext-pills-wrap .cat-tipo-pill:hover{background:rgba(255,255,255,.72);color:#1e293b}#settings-tab #section-standard-texts .stdtext-pills-wrap .cat-tipo-pill.active{background:linear-gradient(180deg,#1e293b 0,#334155 100%);border-color:#1e293b;color:#dcfce7;font-weight:700;text-shadow:0 0 5px rgba(134,239,172,.42);box-shadow:0 1px 3px rgba(15,23,42,.22),0 0 0 1px rgba(16,185,129,.3),0 0 10px rgba(16,185,129,.24)}#settings-tab .ph-help-icon:focus,#settings-tab .ph-help-icon:hover{background:#10b981;border-color:#10b981;color:#fff}.ph-help-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:6px;border-radius:50%;border:1px solid var(--phhelp-border);background:var(--phhelp-bg);color:var(--phhelp-text);font-size:11px;font-weight:700;line-height:1;cursor:help;user-select:none;transition:background-color 140ms ease,color 140ms ease,border-color 140ms ease}.ph-help-icon:focus,.ph-help-icon:hover{background:var(--phhelp-hover-bg);color:var(--phhelp-hover-text);border-color:var(--phhelp-hover-border);outline:0}.ph-help-icon::after{content:attr(data-ph-tip);position:absolute;top:calc(100% + 8px);right:0;z-index:1000;background:var(--phhelp-tip-bg);color:var(--phhelp-tip-text);padding:10px 14px;border-radius:8px;font-size:.8rem;font-weight:400;line-height:1.5;white-space:normal;max-width:340px;min-width:280px;box-shadow:0 8px 24px var(--phhelp-tip-shadow);opacity:0;pointer-events:none;transform:translateY(-4px);transition:opacity 140ms ease,transform 140ms ease}.ph-help-icon::before{content:'';position:absolute;top:calc(100% + 2px);right:6px;z-index:1001;border:6px solid transparent;border-bottom-color:var(--phhelp-tip-bg);opacity:0;transition:opacity 140ms ease}.ph-help-icon:focus::after,.ph-help-icon:hover::after{opacity:1;transform:translateY(0)}.ph-help-icon:focus::before,.ph-help-icon:hover::before{opacity:1}#doctype-shortcuts{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;padding:6px 4px 0;background:var(--doctype-shortcuts-bg);border:1px solid var(--doctype-shortcuts-border);border-bottom:0;border-radius:0;margin-bottom:-1px;position:relative;z-index:2;overflow:visible}.doctype-shortcut{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0;background:0 0;color:var(--doctype-shortcut-text);border:1px solid transparent;border-bottom:0;border-radius:8px 8px 0 0;cursor:pointer;transition:transform 160ms ease,background 160ms ease,color 160ms ease,border-color 160ms ease,box-shadow 160ms ease;outline:0;position:relative}.doctype-shortcut:hover{background:var(--doctype-shortcut-hover-bg);color:var(--doctype-shortcut-hover-text);border-color:var(--doctype-shortcut-hover-border)}.doctype-shortcut:focus-visible{box-shadow:0 0 0 2px var(--doctype-shortcut-focus-ring)}.doctype-shortcut.active{color:var(--emerald-700);background:#fff;border-color:var(--slate-200);border-bottom:0;border-radius:10px 10px 0 0;font-weight:600;transform:translateY(-2px);box-shadow:0 1px 3px rgba(15,23,42,.24),0 0 0 1px rgba(16,185,129,.22),0 0 10px rgba(16,185,129,.24);z-index:3}.doctype-shortcut.active svg{opacity:1;color:var(--emerald-500);filter:drop-shadow(0 0 4px rgba(134,239,172,.74)) drop-shadow(0 0 9px var(--doctype-shortcut-active-icon-glow));transition:filter 220ms ease,color 220ms ease}@keyframes doctypeIconGreenGlow{0%{filter:drop-shadow(0 0 0 rgba(16,185,129,0)) drop-shadow(0 0 0 rgba(52,211,153,0))}38%{filter:drop-shadow(0 0 7px rgba(52,211,153,.74)) drop-shadow(0 0 14px rgba(16,185,129,.5))}100%{filter:drop-shadow(0 0 4px rgba(16,185,129,.5))}}.doctype-shortcut.active.is-pulsing svg{animation:doctypeIconGreenGlow .9s ease-out 1}.doctype-shortcut.active::after{display:none}.doctype-shortcut.active:hover{color:var(--emerald-700);background:#f8fafc;border-color:var(--slate-300)}#sidebar-stdtext-section:has(.doctype-shortcut.active:hover) #stdtext-section-header{background:var(--sbstdtext-header-bg)!important;border-top-color:var(--sbstdtext-header-border-top)!important;box-shadow:inset 0 1px 0 var(--sbstdtext-header-shadow-inset)!important}.doctype-shortcut svg{display:block}.stdtext-list-item{position:relative;padding:5px 8px;cursor:pointer;border-bottom:1px solid var(--sbstdtext-list-item-divider);transition:background .1s ease,box-shadow .1s ease,color .1s ease;display:flex;align-items:center;gap:4px}.stdtext-list-item:hover{background:var(--sbstdtext-list-item-hover-bg);box-shadow:inset 3px 0 0 var(--sbstdtext-list-item-hover-rail)}.stdtext-list-item[draggable=true]{cursor:grab}.stdtext-list-item[draggable=true]:active{cursor:grabbing}.stdtext-list-item.is-dragging{opacity:.42}.stdtext-cat-header[draggable=true]{cursor:grab!important}.stdtext-cat-header[draggable=true]:active{cursor:grabbing!important}.stdtext-cat-header.is-dragging{opacity:.46}#stdtext-section-body .stdtext-marketplace-add-card{appearance:none;position:sticky;bottom:0;z-index:6;box-sizing:border-box;width:calc(100% - 20px);min-width:0;margin:10px 10px 0;min-height:38px;padding:9px 2px;gap:8px;display:flex;align-items:center;text-align:left;font-family:inherit;font-size:.74rem;font-weight:600;line-height:1.35;letter-spacing:0;color:var(--sbstdtext-discovery-text);cursor:pointer;background:var(--sbstdtext-body-bg);border:0;border-top:1px solid var(--sbstdtext-section-border);border-radius:0;box-shadow:none}#stdtext-section-body .stdtext-marketplace-add-card:focus-visible .stdtext-marketplace-add-name,#stdtext-section-body .stdtext-marketplace-add-card:hover .stdtext-marketplace-add-name{text-decoration:underline;text-underline-offset:3px}#stdtext-section-body .stdtext-marketplace-add-card:focus-visible{outline:2px solid var(--sbstdtext-discovery-focus-ring);outline-offset:-2px}#stdtext-section-body .stdtext-marketplace-add-icon{flex:0 0 14px}#stdtext-section-body .stdtext-marketplace-add-name{flex:1;min-width:0;white-space:normal}#stdtext-section-body .stdtext-marketplace-add-arrow{flex:none;font-size:1rem;line-height:1}#stdtext-marketplace-slot>.stdtext-marketplace-add-card{position:static;margin-top:0}#stdtext-marketplace-slot:empty{display:none}.stdtext-cat-header.is-drop-target{background:#dbeafe!important;color:#0f172a!important;outline:2px solid #334155;outline-offset:-2px;box-shadow:inset 4px 0 0 #10b981,0 3px 10px rgba(15,23,42,.14)!important}.stdtext-cat-header.is-drop-invalid{outline:2px solid #ef4444;outline-offset:-2px;cursor:not-allowed!important}.stdtext-category-drag-message{position:fixed;z-index:10080;max-width:320px;pointer-events:none;padding:7px 10px;border-radius:7px;border:1px solid #fecaca;background:#fff7f7;color:#b91c1c;box-shadow:0 8px 24px rgba(127,29,29,.18);font-size:.72rem;font-weight:700;line-height:1.3}.stdtext-category-root-dropzone{display:none;margin:5px 7px;padding:7px 9px;align-items:center;justify-content:center;gap:6px;border:1px dashed #64748b;border-radius:7px;background:#f8fafc;color:#475569;font-size:.68rem;font-weight:700;letter-spacing:.02em}.stdtext-category-drag-host .stdtext-category-root-dropzone{display:flex}.stdtext-category-root-dropzone.is-drop-target{border-color:#10b981;background:#ecfdf5;color:#047857;box-shadow:inset 3px 0 0 #10b981}.stdtext-category-root-dropzone.is-drop-invalid{border-color:#ef4444;background:#fef2f2;color:#b91c1c}.stdtext-li-main{flex:1;min-width:0;display:flex;align-items:center;gap:6px;overflow:hidden}.stdtext-li-name{font-weight:400;font-size:.78rem;color:var(--sbstdtext-li-name);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.stdtext-list-item:hover .stdtext-li-name{color:var(--sbstdtext-li-name-hover)}.stdtext-li-shortcut{color:var(--sbstdtext-li-shortcut);font-weight:400;font-size:.7rem;flex-shrink:0}.stdtext-li-badge{font-size:.6rem;font-weight:700;color:var(--sbstdtext-li-badge-text);background:var(--sbstdtext-li-badge-bg);border:1px solid var(--sbstdtext-li-badge-border);padding:0 4px;border-radius:4px;flex-shrink:0;min-width:14px;text-align:center;cursor:help;line-height:1.35}.stdtext-li-badge.is-system{color:var(--sbstdtext-li-badge-system-text);background:var(--sbstdtext-li-badge-system-bg);border-color:var(--sbstdtext-li-badge-system-border)}.stdtext-li-badge.is-rich{color:var(--sbstdtext-li-badge-rich-text);background:var(--sbstdtext-li-badge-rich-bg);border-color:var(--sbstdtext-li-badge-rich-border)}.stdtext-li-menu{background:0 0;border:none;cursor:pointer;color:var(--sbstdtext-li-menu-text);font-size:.85rem;padding:0 4px;flex-shrink:0;line-height:1;border-radius:3px}.stdtext-li-menu:hover{background:var(--sbstdtext-li-menu-hover-bg);color:var(--sbstdtext-li-menu-hover-text)}.stdtext-li-fav{background:0 0;border:none;cursor:pointer;color:var(--sbstdtext-li-menu-text);padding:0 2px;flex-shrink:0;line-height:1;border-radius:3px;display:inline-flex;align-items:center;opacity:0;transition:opacity .1s ease}.stdtext-list-item:hover .stdtext-li-fav{opacity:.55}.stdtext-li-fav.is-fav,.stdtext-list-item:hover .stdtext-li-fav.is-fav{opacity:1}.stdtext-li-fav:hover{opacity:1!important;background:var(--sbstdtext-li-menu-hover-bg);color:var(--sbstdtext-li-menu-hover-text)}.stdtext-onlyfavs-pill{background:0 0;border:1px solid #d1d5db;border-radius:5px;cursor:pointer;color:#64748b;padding:5px 7px;line-height:1;display:inline-flex;align-items:center;flex-shrink:0;transition:background .1s ease,color .1s ease,border-color .1s ease}.stdtext-onlyfavs-pill:hover{background:#f1f5f9;color:#0f172a}.stdtext-onlyfavs-pill.is-on{background:#e2e8f0;color:#0f172a;border-color:#94a3b8}#stdtext-live-list .stdtext-list-item.is-selected{background:linear-gradient(180deg,#ecfdf5 0,#d1fae5 100%)!important;border-bottom-color:#a7f3d0!important;box-shadow:inset 4px 0 0 #10b981,0 1px 3px rgba(15,23,42,.08),0 0 0 1px rgba(16,185,129,.24)!important}#stdtext-live-list .stdtext-list-item.is-selected .stdtext-li-name{color:#064e3b!important;font-weight:700;text-shadow:none}#stdtext-live-list .stdtext-list-item.is-selected .stdtext-li-shortcut{color:#047857!important}#stdtext-live-list .stdtext-list-item.is-selected .stdtext-doctype-icon,#stdtext-live-list .stdtext-list-item.is-selected .stdtext-doctype-icon svg{color:#047857!important}#stdtext-live-list .stdtext-list-item.is-selected .stdtext-li-menu{color:#047857!important}#stdtext-live-list .stdtext-list-item.is-selected .stdtext-li-badge{background:#fff!important;color:#047857!important;border-color:#6ee7b7!important}#stdtext-hover-tip{position:fixed;z-index:100000;background:var(--sbstdtext-tip-bg);color:var(--sbstdtext-tip-text);padding:10px 12px;border-radius:6px;border:1px solid var(--sbstdtext-tip-border);font-size:.78rem;font-weight:400;line-height:1.45;font-family:ui-monospace,"SF Mono",Consolas,monospace;white-space:pre-wrap;min-width:260px;max-width:420px;box-shadow:0 12px 28px var(--sbstdtext-tip-shadow-strong),0 2px 6px var(--sbstdtext-tip-shadow-soft);pointer-events:none;opacity:0;transform:translateX(-4px);transition:opacity 160ms ease,transform 160ms ease;display:none}#stdtext-hover-tip.visible{display:block;opacity:1;transform:translateX(0)}#stdtext-hover-tip .sttip-name{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:.78rem;font-weight:650;line-height:1.3;color:var(--sbstdtext-tip-text);white-space:normal;overflow-wrap:anywhere;padding-bottom:6px;margin-bottom:8px;border-bottom:1px solid var(--sbstdtext-tip-header-border)}#stdtext-hover-tip .sttip-name+.sttip-header{border-top:0}#stdtext-hover-tip .sttip-header{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:.7rem;font-weight:500;color:var(--sbstdtext-tip-header-text);padding-bottom:6px;margin-bottom:8px;border-bottom:1px solid var(--sbstdtext-tip-header-border)}#stdtext-hover-tip .sttip-header code{background:var(--sbstdtext-tip-header-code-bg);color:var(--sbstdtext-tip-header-code-text);padding:1px 6px;border-radius:3px;font-family:ui-monospace,"SF Mono",Consolas,monospace;font-size:.7rem;font-weight:600}#stdtext-hover-tip .sttip-body{color:var(--sbstdtext-tip-body-text)}#stdtext-hover-tip .sttip-body:first-child{margin:0}#stdtext-hover-tip .sttip-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px;padding-top:8px;border-top:1px solid var(--sbstdtext-tip-header-border);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}#stdtext-hover-tip .sttip-badges:first-child{margin-top:0;padding-top:0;border-top:0}#stdtext-hover-tip .sttip-badge{font-size:.62rem;font-weight:600;line-height:1.5;padding:1px 7px;border-radius:999px;border:1px solid var(--sbstdtext-li-badge-border);color:var(--sbstdtext-li-badge-text);background:var(--sbstdtext-li-badge-bg)}#stdtext-hover-tip .sttip-badge.is-system{color:var(--sbstdtext-li-badge-system-text);background:var(--sbstdtext-li-badge-system-bg);border-color:var(--sbstdtext-li-badge-system-border)}#stdtext-hover-tip .sttip-badge.is-rich{color:var(--sbstdtext-li-badge-rich-text);background:var(--sbstdtext-li-badge-rich-bg);border-color:var(--sbstdtext-li-badge-rich-border)}.stdtext-insert-row{display:flex;gap:.25rem;align-items:center;margin-top:.375rem}.stdtext-insert-row select{flex:1;min-width:0}.stdtext-insert-row .btn{padding:.25rem .375rem}.stdtext-search-row{display:flex;gap:6px;align-items:center;padding:8px;border-bottom:1px solid var(--sbstdtext-searchrow-border-bottom);background:linear-gradient(180deg,var(--sbstdtext-searchrow-bg-from) 0,var(--sbstdtext-searchrow-bg-to) 100%);box-shadow:inset 0 1px 0 var(--sbstdtext-searchrow-shadow-inset)}.stdtext-search-box{position:relative;flex:1;min-width:0}.stdtext-search-box svg{position:absolute;left:9px;top:50%;width:14px;height:14px;transform:translateY(-50%);color:var(--sbstdtext-searchicon);opacity:.95;pointer-events:none;transition:color 140ms ease,filter 140ms ease}.stdtext-search-box:focus-within svg{color:var(--sbstdtext-searchicon-focus);filter:drop-shadow(0 0 4px var(--sbstdtext-searchicon-focus-glow))}.stdtext-search-box input{width:100%;min-width:0;box-sizing:border-box;font-size:.82rem;padding:6px 8px 6px 28px;border:1px solid var(--sbstdtext-searchinput-border);border-radius:6px;color:var(--sbstdtext-searchinput-text);background:var(--sbstdtext-searchinput-bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI",system-ui,Inter,Roboto,Helvetica,Arial,sans-serif;transition:border-color 140ms ease,box-shadow 140ms ease,color 140ms ease,background 140ms ease}.stdtext-search-box input::placeholder{color:var(--sbstdtext-searchinput-placeholder)}.stdtext-search-box input:focus{outline:0;border-color:var(--sbstdtext-searchinput-border-focus);box-shadow:0 0 0 2px var(--sbstdtext-searchinput-focus-ring),inset 0 -2px 0 var(--sbstdtext-searchinput-focus-underline)}.stdtext-search-box input:not(:focus):not(:placeholder-shown){color:var(--sbstdtext-searchinput-text-filled);text-shadow:0 0 5px var(--sbstdtext-searchinput-text-glow)}.stdtext-search-clear{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:0 0;border:none;color:var(--sbstdtext-searchclear-text);cursor:pointer;font-size:16px;line-height:1;padding:2px 6px;border-radius:4px;display:none;transition:color 120ms ease,background 120ms ease}.stdtext-search-clear:hover{color:var(--sbstdtext-searchclear-hover-text);background:var(--sbstdtext-searchclear-hover-bg)}.stdtext-search-box:has(input:not(:placeholder-shown)) .stdtext-search-clear{display:inline-flex;align-items:center;justify-content:center}.stdtext-search-box:has(input:not(:placeholder-shown)) input{padding-right:28px}.stdtext-options-button{width:28px;height:28px;padding:0!important;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;font-size:1rem!important;line-height:1;border-radius:5px;background:var(--sbstdtext-optionsbtn-bg)!important;color:var(--sbstdtext-optionsbtn-text)!important;border:1px solid var(--sbstdtext-optionsbtn-border)!important;transition:background 140ms ease,color 140ms ease,border-color 140ms ease,box-shadow 140ms ease}.stdtext-options-button:hover{background:var(--sbstdtext-optionsbtn-hover-bg)!important;color:var(--sbstdtext-optionsbtn-hover-text)!important;border-color:var(--sbstdtext-optionsbtn-hover-border)!important;box-shadow:inset 0 -2px 0 var(--sbstdtext-optionsbtn-hover-underline)}.stdtext-options-card{padding:8px;background:var(--sbstdtext-optionscard-bg);border-bottom:1px solid var(--sbstdtext-optionscard-border-bottom);box-shadow:inset 3px 0 0 var(--sbstdtext-optionscard-rail);font-size:.75rem}.stdtext-options-grid{display:grid;gap:8px}.stdtext-options-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.stdtext-options-actions .btn{width:100%;min-width:0;justify-content:center;padding:5px 6px!important;font-size:.72rem!important;line-height:1.15;white-space:nowrap}#stdtext-category-help-toggle{grid-column:1/-1;gap:6px;color:var(--sbstdtext-optionsbtn-text)!important;background:var(--sbstdtext-optionsbtn-bg)!important;border-color:var(--sbstdtext-optionsbtn-border)!important}#stdtext-category-help-toggle:hover,#stdtext-category-help-toggle[aria-expanded=true]{color:var(--sbstdtext-optionsbtn-hover-text)!important;background:var(--sbstdtext-optionsbtn-hover-bg)!important;border-color:var(--sbstdtext-optionsbtn-hover-border)!important}#stdtext-category-help-toggle svg{width:13px;height:13px;flex:0 0 auto}.stdtext-category-help{display:grid;gap:6px;padding:8px;color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:7px;box-shadow:inset 3px 0 0 #10b981}.stdtext-category-help.hidden{display:none}.stdtext-category-help-title{margin:0;color:#0f172a;font-size:.74rem;font-weight:800}.stdtext-category-help-item{display:grid;grid-template-columns:58px minmax(0,1fr);gap:7px;align-items:start;line-height:1.35}.stdtext-category-help-label{color:#047857;font-size:.66rem;font-weight:800;text-transform:uppercase}.stdtext-category-help-copy{color:#475569;font-size:.68rem}#quicksave-stdtext-btn{grid-column:1/-1;color:var(--sbstdtext-quicksave-text)!important;border-color:var(--sbstdtext-quicksave-border)!important;background:var(--sbstdtext-quicksave-bg)!important}.inspector-header{padding:10px 12px 8px;border-bottom:1px solid #e2e8f0;background:linear-gradient(180deg,#fff 0,#f8fafc 100%);display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto}.inspector-title{display:flex;flex-direction:column;gap:1px;min-width:0}.inspector-title strong{color:#0f172a;font-size:.88rem;line-height:1.15}.inspector-title span{color:#64748b;font-size:.66rem;line-height:1.2}.inspector-state-pill{border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:2px 7px;font-size:.64rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.inspector-body{overflow-y:auto;padding:8px;display:block;flex:1 1 auto;min-height:0}.builder-layers-list::-webkit-scrollbar,.inspector-body::-webkit-scrollbar{width:8px}.builder-layers-list::-webkit-scrollbar-thumb,.inspector-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px;border:2px solid #f8fafc}.inspector-section{border:1px solid #e2e8f0;border-radius:8px;background:#fff;margin-bottom:6px;overflow:hidden}.inspector-section[open]{box-shadow:0 1px 2px rgba(15,23,42,.04)}.inspector-section>summary{list-style:none;cursor:pointer;user-select:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;background:#f8fafc;color:#334155;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.045em}.inspector-section>summary::-webkit-details-marker{display:none}.inspector-section>summary::after{content:'▾';color:#94a3b8;font-size:.62rem;transition:transform .15s ease}.inspector-section:not([open])>summary::after{transform:rotate(-90deg)}.inspector-section-body{padding:7px 8px 8px;display:grid;gap:7px}.inspector-row{display:flex;flex-direction:column;gap:3px;min-width:0}.inspector-field-label,.inspector-row>label{margin:0;color:#64748b;font-size:.66rem;font-weight:700;line-height:1.15}.inspector-row input[type=number],.inspector-row input[type=text],.inspector-row select,.inspector-row textarea{width:100%;min-width:0;padding:4px 7px;border:1px solid #d8e0ea;border-radius:6px;font-size:.78rem;line-height:1.2;background:#fff;color:#111827}.inspector-row input[type=number],.inspector-row input[type=text],.inspector-row select{min-height:28px}.inspector-row textarea{min-height:74px;resize:vertical}.inspector-row input:focus,.inspector-row select:focus,.inspector-row textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12);outline:0}.inspector-row input[disabled]{background:#f8fafc;color:#64748b}.inspector-compact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.inspector-type-row{display:grid;grid-template-columns:46px minmax(0,1fr);gap:6px;align-items:center}.inspector-type-row label{font-size:.66rem}.inspector-z-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important}.inspector-page-align .btn,.inspector-z-row .btn{min-height:28px;padding:4px 0!important;font-size:.86rem!important;line-height:1;border-color:#d8e0ea;background:#fff}.inspector-page-align .btn:hover,.inspector-z-row .btn:hover{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.inspector-range-row{display:grid!important;grid-template-columns:58px minmax(0,1fr) 34px!important;gap:6px!important;align-items:center}.inspector-range-row label,.inspector-range-row span{font-size:.68rem!important;color:#64748b}.inspector-check-row{padding:5px 7px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc}.inspector-toggle-row{display:flex!important;flex-direction:row!important;align-items:center;gap:4px!important;flex-wrap:wrap}.inspector-toggle-row label{display:inline-flex;align-items:center;gap:4px;margin:0;padding:4px 7px;border:1px solid #d8e0ea;border-radius:6px;background:#fff;color:#334155;font-size:.7rem;line-height:1;cursor:pointer}.inspector-toggle-row input{margin:0}.builder-inspector input[type=color]{appearance:none;-webkit-appearance:none;width:28px;min-width:28px;max-width:28px;height:28px;padding:2px;border:1px solid #d8e0ea;border-radius:6px;background:#fff;cursor:pointer;box-sizing:border-box;flex:0 0 28px}.builder-inspector input[type=color]::-webkit-color-swatch-wrapper{padding:0}.builder-inspector input[type=color]::-webkit-color-swatch{border:none;border-radius:4px}.builder-inspector input[type=color]::-moz-color-swatch{border:none;border-radius:4px}.inspector-color-row .d-flex{display:grid;grid-template-columns:28px minmax(0,1fr) 30px;gap:6px;align-items:center}.inspector-color-row input[type=range]{width:100%;min-width:0}.inspector-color-row #insp-bg-alpha-label{color:#64748b;font-size:.66rem;text-align:right;font-variant-numeric:tabular-nums}.inspector-border-grid{display:grid;grid-template-columns:52px 60px 48px minmax(0,1fr);gap:5px 6px;align-items:center}.inspector-border-grid span{color:#64748b;font-size:.66rem;font-weight:700}.inspector-border-grid input[type=checkbox]{justify-self:start;margin:0}.inspector-border-grid input[type=number]{width:60px;min-width:60px;max-width:60px;justify-self:start;text-align:right;font-variant-numeric:tabular-nums}.inspector-border-grid select{width:100%;min-width:0;max-width:138px}.inspector-border-grid input[type=color]{justify-self:start}.inspector-page-align{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}.inspector-danger-row{margin-top:2px}.inspector-danger-row .btn{width:100%;padding:6px 8px;font-size:.76rem}.builder-inspector .builder-layers-section{margin:8px 10px 0;padding:6px 8px;flex:0 0 auto}.inspector-dims{display:grid;grid-template-columns:1fr;gap:6px;margin:0}.dim-group{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:7px}.dim-group .dim-label{font-size:.66rem;font-weight:800;color:#475569;margin-bottom:5px;display:flex;align-items:center;justify-content:space-between;gap:6px;text-transform:uppercase;letter-spacing:.03em}.dim-group .dim-fields{display:grid;grid-template-columns:1fr 1fr;gap:5px}.dim-field{display:flex;align-items:center;gap:3px;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:2px 5px;transition:border-color .15s,box-shadow .15s}.dim-field:focus-within{border-color:#228be6;box-shadow:0 0 0 3px rgba(34,139,230,.15)}.dim-field .dim-icon{color:#228be6;font-size:.82rem;font-weight:700;cursor:ew-resize;user-select:none;line-height:1;padding:2px 3px;border-radius:4px;touch-action:none}.dim-field[data-axis="y"] .dim-icon{cursor:ns-resize}.dim-field .dim-icon:hover{background:#e7f5ff}.dim-field .dim-icon.dragging{background:#228be6;color:#fff}.dim-field .dim-name{font-size:.64rem;font-weight:700;color:#64748b}.dim-field input[type=number]{flex:1;min-width:0;width:100%;border:none;outline:0;background:0 0;font-size:.78rem;font-variant-numeric:tabular-nums;padding:2px 0;text-align:right;-moz-appearance:textfield}.dim-field input[type=number]::-webkit-inner-spin-button,.dim-field input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.dim-field .dim-unit{font-size:.62rem;color:#94a3b8;line-height:1}.dim-lock{background:0 0;border:1px solid transparent;border-radius:4px;cursor:pointer;font-size:.78rem;padding:1px 4px;line-height:1;transition:all .15s}.dim-lock:hover{background:#e7f5ff;border-color:#228be6}.dim-lock[aria-pressed=true]{background:#228be6;border-color:#228be6;color:#fff}.dim-mm-hint{font-size:.58rem;color:#94a3b8;font-weight:400;text-transform:none;letter-spacing:normal;margin-left:4px;font-variant-numeric:tabular-nums}.builder-ctx-menu{position:fixed;z-index:100000;min-width:220px;padding:6px 0;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 10px 30px rgba(15,30,46,.2);font-size:.85rem;color:#1e293b;user-select:none}.builder-ctx-menu.hidden{display:none}.builder-ctx-menu .ctx-item{display:flex;align-items:center;gap:10px;padding:7px 14px;cursor:pointer;transition:background .1s}.builder-ctx-menu .ctx-item:hover{background:#e7f5ff}.builder-ctx-menu .ctx-item.danger:hover{background:#ffe3e3;color:#c92a2a}.builder-ctx-menu .ctx-item[aria-disabled=true]{opacity:.4;pointer-events:none}.builder-ctx-menu .ctx-icon{width:16px;text-align:center;font-size:.9rem;flex-shrink:0}.builder-ctx-menu .ctx-label{flex:1}.builder-ctx-menu .ctx-shortcut{font-size:.7rem;color:#94a3b8;font-variant-numeric:tabular-nums}.builder-ctx-menu .ctx-separator{height:1px;background:#e2e8f0;margin:4px 0}.builder-ctx-menu .ctx-header{padding:4px 14px;font-size:.65rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;font-weight:600}.grid{display:grid}.grid-auto-1fr{grid-template-columns:auto 1fr;gap:6px;align-items:center}.grid-1fr{grid-template-columns:1fr}.grid-3{grid-template-columns:repeat(3,1fr)}.gap-6{gap:6px}.logo-preview{border:2px dashed #d1d5db;border-radius:8px;padding:1rem;text-align:center;background:#f9fafb;min-height:80px;display:flex;align-items:center;justify-content:center;transition:all .15s ease;cursor:pointer}.logo-preview:hover{border-color:#2563eb;background:#eff6ff}.img-logo{max-width:150px;max-height:80px;border-radius:4px}.action-buttons{display:flex;gap:.75rem;padding:.75rem 0;justify-content:center;flex-wrap:wrap;flex-shrink:0}@page{size:A4 portrait;margin:0}body.kit-printing .kit-print-page .layout-preview-el{overflow:hidden!important;max-height:297mm!important}body.kit-printing .kit-print-page[data-orient=landscape] .layout-preview-el{max-height:210mm!important}body.kit-printing .kit-print-page .aic-form-container,body.kit-printing .kit-print-page .aih-form-container,body.kit-printing .kit-print-page .apac-form-container,body.kit-printing .kit-print-page .pm-form-container,body.kit-printing .kit-print-page .prorrog-form-container,body.kit-printing .kit-print-page .pt-form-container,body.kit-printing .kit-print-page .tevc-form-container,body.kit-printing .kit-print-page .tevcl-form-container{overflow:hidden!important;max-height:100%!important}@media print{.kit-print-page,.kit-print-page *,.layout-preview-canvas,.layout-preview-canvas *,.mpg-flow-page,.mpg-flow-page *{print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}body,html{background:#fff!important}body .app-footer,body:not(.kit-printing) #doc-state-indicator,body:not(.kit-printing) #doctype-layout-bar,body:not(.kit-printing) #null-doc-overlay,body:not(.kit-printing) #signed-lock-overlay,body:not(.kit-printing) #umbrella-form-selector-group,body:not(.kit-printing) .action-buttons,body:not(.kit-printing) .content-tabs,body:not(.kit-printing) .doctype-bar-mount,body:not(.kit-printing) .doctype-layout-bar,body:not(.kit-printing) .editor-sidebar,body:not(.kit-printing) .header,body:not(.kit-printing) .layout-preview-canvas-wrapper>:not(.layout-preview-canvas),body:not(.kit-printing) .margin-guide,body:not(.kit-printing) .medtext-toolbar,body:not(.kit-printing) .medtext-toolbar-mount,body:not(.kit-printing) .medtext-toolbar.is-portaled,body:not(.kit-printing) .medtext-toolbar.is-portaled.is-active,body:not(.kit-printing) .sidebar,body:not(.kit-printing) .toast-container,body:not(.kit-printing) .ui-d-overlay,body:not(.kit-printing) .ui-d-toasts,body:not(.kit-printing) [data-notification-chip],body:not(.kit-printing) [data-notification-panel]{display:none!important}.autocomplete-dropdown,.cid-autocomplete-dropdown,.patient-autocomplete-dropdown,.proc-autocomplete-dropdown{display:none!important}body:not(.kit-printing):not(.multipage-printing) .container,body:not(.kit-printing):not(.multipage-printing) .editor-layout,body:not(.kit-printing):not(.multipage-printing) .editor-main,body:not(.kit-printing):not(.multipage-printing) .layout-preview-canvas-wrapper,body:not(.kit-printing):not(.multipage-printing) .layout-preview-wrapper,body:not(.kit-printing):not(.multipage-printing) .main-content{display:block!important;margin:0!important;padding:0!important;border:0!important;width:210mm!important;height:297mm!important;max-height:297mm!important;overflow:hidden!important;background:#fff!important}body.multipage-printing #app-main-content,body.multipage-printing #editor-multipage-wrapper,body.multipage-printing .container,body.multipage-printing .main-content{border:0!important}body:not(.kit-printing) #editor-tab{display:block!important}body:not(.kit-printing):not(.multipage-printing) .layout-preview-canvas{width:210mm;height:297mm;max-height:297mm;box-shadow:none;overflow:hidden!important;margin:0;border-radius:0;position:relative}@page portrait_page{size:A4 portrait;margin:0}@page landscape_page{size:A4 landscape;margin:0}body.kit-printing,html{background:#fff!important;margin:0!important;padding:0!important}body.kit-printing *{visibility:hidden!important}body.kit-printing #kit-print-container,body.kit-printing #kit-print-container *{visibility:visible!important}body.kit-printing #kit-print-container .icp-validation-placeholder,body.kit-printing #kit-print-container .icp-validation-placeholder *,body.kit-printing #kit-print-container .qr-validation-placeholder,body.kit-printing #kit-print-container .qr-validation-placeholder *{visibility:hidden!important}body.kit-printing #kit-print-container{position:absolute;left:0;top:0;background:#fff}body.kit-printing .kit-print-page{page-break-after:always;page-break-inside:auto;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;margin:0!important;padding:0!important}body.kit-printing .kit-print-page[data-orient=landscape]{page:landscape_page}body.kit-printing .kit-print-page[data-orient=portrait]{page:portrait_page}body.kit-printing .kit-print-page:last-child{page-break-after:auto}body.kit-printing .pt-input{line-height:17px!important;padding-top:0!important;padding-bottom:0!important}body.kit-printing .aih-input{line-height:22px!important;padding-top:0!important;padding-bottom:0!important}body.kit-printing .aic-input{line-height:16px!important;padding-top:0!important;padding-bottom:0!important}body.kit-printing .pm-input{line-height:18px!important;padding-top:0!important;padding-bottom:0!important}body.kit-printing .tevc-input,body.kit-printing .tevcl-input{line-height:18px!important;padding-top:0!important;padding-bottom:0!important}body.kit-printing .apac-input,body.kit-printing .prorrog-input{line-height:22px!important;padding-top:0!important;padding-bottom:0!important}body.kit-printing .aic-textarea,body.kit-printing .aih-textarea,body.kit-printing .apac-textarea,body.kit-printing .pm-textarea,body.kit-printing .prorrog-textarea,body.kit-printing .pt-textarea,body.kit-printing .tevc-textarea,body.kit-printing .tevcl-textarea{line-height:1.35!important}body.kit-printing .combo-toolbar{display:none!important}body.kit-printing .cid-autocomplete-dropdown,body.kit-printing .proc-autocomplete-dropdown{display:none!important}}.data-table{width:100%;border-collapse:collapse;margin-top:1rem;border:1px solid var(--datatable-border);border-radius:8px;overflow:hidden}.data-table td,.data-table th{padding:.75rem 1rem;text-align:left;border-bottom:1px solid var(--datatable-td-border-bottom);font-size:.875rem}.data-table th{background:linear-gradient(180deg,var(--datatable-th-bg-from) 0,var(--datatable-th-bg-to) 100%);font-weight:600;color:var(--datatable-th-text);font-size:.8125rem;text-transform:uppercase;letter-spacing:.04em;text-shadow:0 0 5px var(--datatable-th-text-glow);border-bottom:1px solid var(--datatable-th-border-bottom)}.data-table td{color:var(--datatable-td-text)}.data-table tbody tr{transition:background-color .15s ease,box-shadow .15s ease}.data-table tbody tr:nth-child(2n){background:var(--datatable-row-zebra)}.data-table tbody tr:hover{background:var(--datatable-row-hover-bg);box-shadow:inset 3px 0 0 var(--datatable-row-hover-rail)}.data-table tbody tr:last-child td{border-bottom:none}.data-table .actions{display:flex;gap:.375rem}#patients-table{table-layout:fixed;width:100%}#patients-table th:first-child{width:24%}#patients-table th:nth-child(2){width:6%}#patients-table th:nth-child(3){width:19%}#patients-table th:nth-child(4){width:14%}#patients-table th:nth-child(5){width:9%}#patients-table th:nth-child(6){width:17%}#patients-table th:nth-child(7){width:11%}#patients-table td,#patients-table th{padding:.29rem .55rem;font-size:.79rem;line-height:1.22;vertical-align:middle}#patients-table thead th{background:linear-gradient(180deg,var(--datatable-th-bg-from),var(--datatable-th-bg-to));border-bottom-color:var(--datatable-th-border-bottom);color:var(--datatable-th-text);text-shadow:none}#patients-table th{padding-top:.65rem;padding-bottom:.65rem;font-size:.68rem;letter-spacing:.045em}#patients-table .patient-row{height:29px}#patients-table .patient-location-cell,#patients-table .patient-name-cell,#patients-table td:nth-child(4),#patients-table td:nth-child(5){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#patients-table .patient-name-line{min-width:0;display:flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden}#patients-table .patient-row-badges{display:inline-flex;flex-wrap:wrap;max-width:100%;align-items:center;gap:3px;min-width:0;flex:0 1 auto;overflow:hidden}#patients-table .patient-row-badge{display:inline-flex;align-items:center;height:17px;padding:0 5px;border-radius:999px;font-size:.62rem;font-weight:700;line-height:1;white-space:nowrap;flex:0 0 auto}#patients-table .patient-row-badge.is-incomplete{background:var(--patientrowbadge-incomplete-bg);color:var(--patientrowbadge-incomplete-text);border:1px solid var(--patientrowbadge-incomplete-border)}#patients-table .patient-row-badge.is-pending{background:var(--patientrowbadge-pending-bg);color:var(--patientrowbadge-pending-text);border:1px solid var(--patientrowbadge-pending-border);cursor:pointer}#patients-table .patient-row-badge.is-recent{background:var(--patientrowbadge-recent-bg);color:var(--patientrowbadge-recent-text);border:1px solid var(--patientrowbadge-recent-border)}#patients-table .patient-row-badge.is-portal{background:var(--patientlist-active-filter-bg);color:var(--patientlist-secondary-text);border:1px solid var(--patientlist-active-filter-border)}#patients-table .patient-row-icon-badge{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;font-size:.74rem;line-height:1;cursor:help;flex:0 0 auto}#patients-table .patient-row-badge .patient-ui-icon,#patients-table .patient-row-icon-badge .patient-ui-icon{width:12px;height:12px}#patients-table .patient-category-tag{display:inline-flex!important;align-items:center;max-width:100%;height:17px;padding:0 6px!important;margin:0 2px 0 0!important;border-radius:999px!important;font-size:.64rem!important;line-height:1!important;vertical-align:middle}#patients-table .patient-location-cell{max-width:240px}#patients-table .patient-location-name{color:#334155;font-weight:600;vertical-align:middle}#patients-table .patient-location-history-count,#patients-table .patient-location-source{display:inline-flex;align-items:center;height:17px;margin-left:4px;padding:0 5px;border-radius:999px;border:1px solid #a7f3d0;background:#ecfdf5;color:#047857;font-size:.6rem;font-weight:800;line-height:1;vertical-align:middle}#patients-table .patient-location-source.is-history{border-color:#cbd5e1;background:#f8fafc;color:#475569}#patients-table .patient-location-history-count{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}#patients-table .patient-location-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#patient-form-surface .patient-primary-location-help{display:block;margin-top:3px;color:#64748b;font-size:.66rem;line-height:1.3}#patients-table .actions{gap:.22rem;justify-content:flex-end;flex-wrap:nowrap}#patients-table .row-action{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;background:var(--rowaction-bg);border:1px solid var(--rowaction-border);border-radius:5px;color:var(--rowaction-text);cursor:pointer;transition:background-color 120ms ease,color 120ms ease,border-color 120ms ease}#patients-table .row-action:hover{background:var(--rowaction-hover-bg);color:var(--rowaction-hover-text);border-color:var(--rowaction-hover-border)}#patients-table .row-action svg{width:13px;height:13px;display:block}#patients-table .row-action.is-primary:hover{color:var(--rowaction-primary-hover-text);border-color:var(--rowaction-primary-hover-border);background:var(--rowaction-primary-hover-bg);box-shadow:0 0 8px var(--rowaction-primary-hover-glow)}#patients-table .row-action.is-success:hover{color:var(--rowaction-success-hover-text);border-color:var(--rowaction-success-hover-border);background:var(--rowaction-success-hover-bg)}#patients-table .row-action.is-danger:hover{color:var(--rowaction-danger-hover-text);border-color:var(--rowaction-danger-hover-border);background:var(--rowaction-danger-hover-bg)}#patients-table .row-action.is-surgery{color:var(--rowaction-surgery-text);border-color:var(--rowaction-surgery-border);background:var(--rowaction-surgery-bg)}#patients-table .row-action.is-surgery:hover{color:var(--rowaction-surgery-hover-text);border-color:var(--rowaction-surgery-hover-border);background:var(--rowaction-surgery-hover-bg)}#patients-table .patient-name-link.patient-name-similar{font-weight:600}#documents-table .patient-name-link,#patients-table .patient-name-link{appearance:none;background:0 0;border:0;padding:0;margin:0;color:var(--patientnamelink-text);cursor:pointer;font:inherit;font-size:.8rem;font-weight:400;text-align:left;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 1 auto}#documents-table .patient-name-link{max-width:100%;vertical-align:middle}#documents-table .patient-name-link:hover,#patients-table .patient-name-link:hover{color:var(--patientnamelink-hover-text);text-decoration:underline}#documents-table .patient-name-link:focus-visible,#patients-table .patient-name-link:focus-visible{outline:2px solid var(--patientnamelink-focus-ring);outline-offset:2px;border-radius:3px}#documents-table{table-layout:fixed;width:100%}#documents-table td,#documents-table th{box-sizing:border-box;padding:.35rem .6rem;font-size:.8125rem;line-height:1.35;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}#documents-table th{font-size:.75rem;padding-top:.4rem;padding-bottom:.4rem}#documents-table colgroup col.col-num{width:11%}#documents-table colgroup col.col-tipo{width:15%}#documents-table colgroup col.col-pac{width:20%}#documents-table colgroup col.col-status{width:11%}#documents-table colgroup col.col-data{width:14%}#documents-table colgroup col.col-acoes{width:29%}#documents-table td:first-child,#documents-table th:first-child{width:11%}#documents-table td:nth-child(2),#documents-table th:nth-child(2){width:15%}#documents-table td:nth-child(3),#documents-table th:nth-child(3){width:20%}#documents-table td:nth-child(4),#documents-table th:nth-child(4){width:11%}#documents-table td:nth-child(5),#documents-table th:nth-child(5){width:14%}#documents-table td:nth-child(6),#documents-table th:nth-child(6){width:29%;white-space:normal;overflow:visible}#documents-table .actions{display:flex;gap:.25rem;flex-wrap:nowrap;align-items:center}#documents-table .actions .btn,#documents-table .actions button{padding:0 .45rem;height:26px;min-width:28px;font-size:.75rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;gap:4px}#documents-table .actions .doc-action-icon{width:28px;min-width:28px;flex:0 0 28px;padding:0}#documents-table .actions .doc-action-text{width:auto;min-width:max-content;flex:0 0 auto;padding:0 .5rem;white-space:nowrap}#documents-table .actions .doc-pdf-btn{min-width:56px}#documents-table .actions .doc-action-text span{display:inline-block;line-height:1;white-space:nowrap}#documents-table .actions .btn svg,#documents-table .actions button svg{flex:0 0 14px;width:14px;height:14px}#documents-table .doc-status-cell{display:inline-flex;align-items:center;gap:6px;line-height:1.2}#documents-table .doc-status-label{font-size:.78rem;color:#1f2937}.search-box{display:flex;gap:.5rem;margin-bottom:1rem}.search-box input{flex:1;padding:.5rem 1rem;border:1px solid #cbd5e1;border-radius:6px;transition:border-color .15s,box-shadow .15s}.search-box input:focus{outline:0;border-color:#10b981;box-shadow:0 0 0 2px rgba(16,185,129,.22)}.search-box input:not(:focus):not(:placeholder-shown){color:#047857;text-shadow:0 0 5px rgba(16,185,129,.4)}.search-box select{padding:.5rem .75rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;transition:border-color .15s,box-shadow .15s}.search-box select:focus{outline:0;border-color:#10b981;box-shadow:0 0 0 2px rgba(16,185,129,.22)}#doc-show-system-wrap{display:inline-flex;align-items:center;gap:6px;padding:0 .75rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:.85rem;color:#475569;cursor:pointer;user-select:none;white-space:nowrap;transition:border-color .15s,box-shadow .15s,color .15s}#doc-show-system-wrap[hidden]{display:none}#doc-show-system-wrap:has(input:checked){border-color:#10b981;color:#047857;box-shadow:0 0 0 2px rgba(16,185,129,.22)}#doc-show-system-wrap input{accent-color:#10b981;margin:0;cursor:inherit}#section-account .account-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}@media (max-width:980px){#section-account .account-grid{grid-template-columns:1fr}}#section-account .account-card,.idv-modal-body .account-card{border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:14px 16px}#section-account .account-card-head,.idv-modal-body .account-card-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #f3f4f6}#section-account .account-card-title,.idv-modal-body .account-card-title{font-size:.95rem;font-weight:600;color:#111827}#section-account .account-card-hint,.idv-modal-body .account-card-hint{font-size:.72rem;color:#6b7280}#section-account .account-form,#section-security .account-form{display:flex;flex-direction:column;gap:10px}#section-account .account-row,#section-security .account-row{display:grid;grid-template-columns:1fr;gap:10px}#section-account .account-row.two,#section-security .account-row.two{grid-template-columns:1fr 1fr}@media (max-width:540px){#section-account .account-row.two,#section-security .account-row.two{grid-template-columns:1fr}}#section-account .account-row.acct-address-grid{grid-template-columns:repeat(3,1fr);gap:10px 12px}#section-account .account-row.acct-address-grid .acct-addr-wide{grid-column:span 2}@media (max-width:640px){#section-account .account-row.acct-address-grid{grid-template-columns:1fr}#section-account .account-row.acct-address-grid .acct-addr-wide{grid-column:span 1}}#section-account .account-field,#section-security .account-field{display:flex;flex-direction:column;gap:3px}#section-account .account-label,#section-security .account-label{font-size:.74rem;font-weight:600;color:#374151}#section-account .account-hint,#section-security .account-hint{font-weight:400;color:#9ca3af;font-size:.7rem}#section-account .account-form input,#section-security .account-form input{padding:.45rem .6rem;border:1px solid #d1d5db;border-radius:5px;font-size:.85rem;font-family:inherit}#section-account .account-form input:focus,#section-security .account-form input:focus{outline:0;border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.15)}#section-account .account-actions,#section-security .account-actions,.idv-modal-body .account-actions{display:flex;align-items:center;gap:10px;margin-top:6px}#section-account .account-actions .btn,#section-security .account-actions .btn,.idv-modal-body .account-actions .btn{margin-left:auto}#section-account .account-status,#section-security .account-status,.idv-modal-body .account-status{font-size:.78rem;color:#6b7280;min-height:1.2em}#section-account .account-status.ok,#section-security .account-status.ok{color:#047857}#section-account .account-status.err,#section-security .account-status.err{color:#b91c1c}#section-account .account-avatar-row{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #e5e7eb;border-radius:8px;background:#f8fafc;margin-bottom:12px}#section-account .account-avatar-preview{width:58px;height:58px;border-radius:50%;background:linear-gradient(135deg,#eef2ff,#dbeafe);border:1px solid #c7d2fe;color:#3730a3;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;overflow:hidden;flex-shrink:0}#section-account .account-avatar-preview img{width:100%;height:100%;object-fit:cover;display:block}#section-account .account-avatar-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}#section-account .account-avatar-title{font-size:.82rem;font-weight:700;color:#111827}#section-account .account-avatar-hint{font-size:.74rem;color:#64748b;line-height:1.35}#section-account .account-avatar-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:2px}#section-account .account-warn,#section-security .account-warn{font-size:.72rem;color:#92400e;background:#f8fafc;border:1px solid #fde68a;padding:6px 9px;border-radius:5px;margin-top:4px}#section-account #acct-role-pill{background:#eef2ff;color:#3730a3;padding:2px 9px;border-radius:999px;font-weight:600;letter-spacing:.02em;font-size:.68rem;text-transform:uppercase}#section-account .account-readonly{display:flex;flex-direction:column;gap:6px}#section-account .acct-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #f3f4f6;border-radius:6px;background:#fafafa}#section-account .acct-line:hover{background:#f3f4f6}#section-account .acct-line-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}#section-account .acct-line-label{font-size:.72rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.02em;display:inline-flex;align-items:center;gap:6px}#section-account .acct-info{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#e0e7ff;color:#4338ca;cursor:help;outline:0;flex-shrink:0}#section-account .acct-info:focus{box-shadow:0 0 0 2px rgba(99,102,241,.35)}#section-account .acct-info-tooltip{position:fixed;left:0;top:0;z-index:10100;width:360px;max-width:calc(100vw - 24px);background:#1f2937;color:#f3f4f6;padding:12px 14px;border-radius:8px;font-size:.78rem;font-weight:400;line-height:1.5;box-shadow:0 8px 24px rgba(0,0,0,.35);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s,transform .15s,visibility .15s;pointer-events:none;text-transform:none;letter-spacing:normal}#section-account .acct-info-tooltip.show{opacity:1;visibility:visible;transform:translateY(0)}#section-account .acct-info-tooltip strong{display:block;color:#fff;font-size:.82rem;margin-bottom:6px}#section-account .acct-info-tooltip p{margin:0 0 6px}#section-account .acct-info-tooltip p:last-child{margin-bottom:0}#section-account .acct-info-tooltip b{color:#fde68a;font-weight:600}#section-account .acct-line-value{font-size:.9rem;color:#111827;word-break:break-word}#section-account .acct-line-value.empty{color:#9ca3af;font-style:italic}#section-account .acct-edit-btn{flex-shrink:0}#section-account .account-form.hidden{display:none}#section-account .account-readonly.hidden{display:none}#section-account .acct-pending{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:4px;padding:4px 8px;border-radius:5px;background:#f8fafc;border:1px solid #fde68a;color:#92400e;font-size:.78rem}#section-account .acct-pending.hidden{display:none}#section-account .acct-pending-hint{color:#92400e;font-weight:400}#section-account .btn-link{background:0 0;border:none;padding:0;color:#1d4ed8;cursor:pointer;font-size:.78rem;text-decoration:underline}#section-account .btn-link:hover{color:#1e3a8a}#account-identity-verification .idv-intro p{margin:0 0 8px;font-size:.8rem;color:#374151;line-height:1.45}#account-identity-verification .idv-status{margin:10px 0 12px;padding:10px 12px;border-radius:7px;background:#f8fafc;border:1px solid #e2e8f0;font-size:.82rem;color:#334155}#account-identity-verification .idv-status[data-state=verified]{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}#account-identity-verification .idv-status[data-state=attention]{background:#f8fafc;border-color:#fde68a;color:#92400e}#account-identity-verification .idv-status p{margin:0 0 6px}#account-identity-verification .idv-status p:last-child{margin-bottom:0}#account-identity-verification .idv-muted{color:#6b7280;font-style:italic}#account-identity-verification .idv-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}@media (max-width:980px){#account-identity-verification .idv-options{grid-template-columns:1fr}}#account-identity-verification .idv-option{border:1px solid #e5e7eb;border-radius:7px;padding:10px 12px;background:#fff;display:flex;flex-direction:column}#account-identity-verification .idv-option.satisfied{border-color:#a7f3d0;background:#f0fdf4}#account-identity-verification .idv-option-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px}#account-identity-verification .idv-option-title{font-size:.78rem;font-weight:700;color:#111827}#account-identity-verification .idv-option-state{font-size:.68rem;font-weight:700;color:#9ca3af;white-space:nowrap}#account-identity-verification .idv-option.satisfied .idv-option-state{color:#047857}#account-identity-verification .idv-option p{margin:0 0 6px;font-size:.74rem;color:#4b5563;line-height:1.4}#account-identity-verification .idv-fineprint{font-size:.7rem;color:#92400e;background:#f8fafc;border:1px solid #e2e8f0;border-left:0;border-radius:5px;padding:6px 9px;margin:0 0 6px;box-shadow:inset 3px 0 0 #f59e0b}#account-identity-verification .idv-pill{font-size:.68rem;font-weight:700;padding:3px 10px;border-radius:999px;background:#f1f5f9;color:#64748b;white-space:nowrap}#account-identity-verification .idv-pill[data-state=verified]{background:#ecfdf5;color:#047857}#account-identity-verification .idv-pill[data-state=pending]{background:#f8fafc;color:#b45309}#account-identity-verification #idv-checkout-btn:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.4)}#account-identity-verification .idv-history,#section-billing .idv-history{margin-top:12px;border-top:1px solid #e5e7eb;padding-top:10px}#account-identity-verification .idv-history.hidden,#section-billing .idv-history.hidden{display:none}#account-identity-verification .idv-history-title,#section-billing .idv-history-title{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#64748b;margin-bottom:6px}#account-identity-verification .idv-history-item,#section-billing .idv-history-item{display:flex;align-items:flex-start;gap:8px;padding:6px 8px;border-radius:6px;font-size:.74rem;color:#374151}#account-identity-verification .idv-history-item:nth-child(odd),#section-billing .idv-history-item:nth-child(odd){background:#f8fafc}#account-identity-verification .idv-history-dot,#section-billing .idv-history-dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%;margin-top:4px;background:#94a3b8}#account-identity-verification .idv-history-item[data-state=ok] .idv-history-dot,#section-billing .idv-history-item[data-state=ok] .idv-history-dot{background:#10b981}#account-identity-verification .idv-history-item[data-state=warn] .idv-history-dot,#section-billing .idv-history-item[data-state=warn] .idv-history-dot{background:#f59e0b}#account-identity-verification .idv-history-item[data-state=bad] .idv-history-dot,#section-billing .idv-history-item[data-state=bad] .idv-history-dot{background:#dc2626}#account-identity-verification .idv-history-main,#section-billing .idv-history-main{flex:1 1 auto;min-width:0}#account-identity-verification .idv-history-line,#section-billing .idv-history-line{font-weight:600;color:#111827}#account-identity-verification .idv-history-sub,#section-billing .idv-history-sub{color:#6b7280;font-size:.7rem}#account-identity-verification .idv-history-when,#section-billing .idv-history-when{flex:0 0 auto;font-size:.68rem;color:#94a3b8;white-space:nowrap}#account-identity-verification.idv-card-pulse{animation:idvPulse 1.2s ease-in-out 2}@keyframes idvPulse{0%,100%{box-shadow:none}50%{box-shadow:0 0 0 3px rgba(16,185,129,.35)}}.idv-modal-overlay{position:fixed;inset:0;z-index:99900;background:rgba(15,23,42,.62);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:16px;opacity:0;animation:idvModalFadeIn 120ms ease-out forwards}@keyframes idvModalFadeIn{to{opacity:1}}.idv-modal-dialog{background:#fff;border-radius:10px;width:100%;max-width:min(1140px,96vw);max-height:92vh;overflow:hidden;display:flex;flex-direction:column;border:1px solid #cbd5e1;box-shadow:0 24px 54px rgba(15,23,42,.28);animation:idvModalPopIn 140ms ease-out}@keyframes idvModalPopIn{from{transform:scale(.96) translateY(4px);opacity:0}to{transform:none;opacity:1}}.idv-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;color:#fff;font-weight:700;font-size:1.02rem;background:linear-gradient(135deg,#0f172a 0,#1e293b 56%,#334155 100%);border-bottom:1px solid #1e293b;position:relative}.idv-modal-header::after{content:'';position:absolute;left:18px;right:18px;bottom:0;height:1px;background:linear-gradient(90deg,rgba(134,239,172,.85),rgba(134,239,172,0));pointer-events:none}.idv-modal-close-btn{appearance:none;border:1px solid rgba(226,232,240,.28);background:rgba(255,255,255,.08);color:#fff;width:28px;height:28px;border-radius:7px;font-size:1.1rem;line-height:1;cursor:pointer;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;transition:background-color 120ms,border-color 120ms}.idv-modal-close-btn:hover{background:rgba(255,255,255,.18);border-color:rgba(134,239,172,.55)}.idv-modal-body{padding:18px;overflow-y:auto;background:#f8fafc}.idv-modal-body #account-identity-verification{margin:0}#section-signing-mode .signing-card{border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:14px 16px;margin-bottom:14px;box-shadow:0 1px 2px rgba(15,23,42,.06),0 2px 8px rgba(15,23,42,.07)}#section-signing-mode .signing-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #f3f4f6}#section-signing-mode .signing-card-title{font-size:.95rem;font-weight:600;color:#111827;display:block}#section-signing-mode .signing-card-desc{font-size:.78rem;color:#6b7280;margin:4px 0 0;line-height:1.4;max-width:70ch}#section-signing-mode .signing-card-body{padding-top:6px}#section-signing-mode .signing-mode-native{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}#section-signing-mode .signing-modes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}@media (max-width:1180px){#section-signing-mode .signing-modes{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){#section-signing-mode .signing-modes{grid-template-columns:1fr}}#section-signing-mode .signing-mode{display:flex;flex-direction:column;gap:3px;text-align:left;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;cursor:pointer;transition:all 160ms;min-width:0}#section-signing-mode .signing-mode:hover{border-color:#1e293b;background:#f1f5f9;transform:translateY(-1px);box-shadow:0 3px 10px rgba(15,23,42,.1),0 0 0 1px rgba(16,185,129,.18)}#section-signing-mode .signing-mode:focus-visible{outline:0;border-color:#10b981;box-shadow:0 0 0 2px rgba(16,185,129,.22)}#section-signing-mode .signing-mode[aria-checked=true]{background:linear-gradient(180deg,#1e293b 0,#334155 100%);border-color:#1e293b;transform:none;box-shadow:0 1px 3px rgba(15,23,42,.25),0 0 0 1px rgba(16,185,129,.32),0 0 10px rgba(16,185,129,.3)}#section-signing-mode .signing-mode-name{font-size:.82rem;font-weight:600;color:#1e293b}#section-signing-mode .signing-mode-hint{font-size:.7rem;color:#64748b;line-height:1.35}#section-signing-mode .signing-mode[aria-checked=true] .signing-mode-name{color:#dcfce7;text-shadow:0 0 7px rgba(134,239,172,.74),0 0 16px rgba(16,185,129,.42)}#section-signing-mode .signing-mode[aria-checked=true] .signing-mode-hint{color:#cbd5e1}#section-signing-mode .signing-mode-foot{display:none}#section-signing-mode .sr-only-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}#section-signing-mode .signing-guide{margin-bottom:14px}#section-signing-mode .signing-guide>summary{cursor:pointer;user-select:none;font-size:.82rem;font-weight:600;color:#334155;padding:10px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;list-style:none}#section-signing-mode .signing-guide>summary::-webkit-details-marker{display:none}#section-signing-mode .signing-guide>summary::before{content:'▸ ';color:#64748b}#section-signing-mode .signing-guide[open]>summary::before{content:'▾ '}#section-signing-mode .signing-guide>summary:hover{background:#f1f5f9;border-color:#94a3b8}#section-signing-mode .signing-guide[open]>summary{border-radius:8px 8px 0 0;border-bottom:0}#account-identity-verification:has(#idv-status-body[data-state=verified]) .idv-intro,#account-identity-verification:has(#idv-status-body[data-state=verified]) .idv-option .account-actions,#account-identity-verification:has(#idv-status-body[data-state=verified]) .idv-option>p{display:none}#account-identity-verification:has(#idv-status-body[data-state=verified]) .idv-option{padding:8px 10px}#section-signing-mode>#account-identity-verification,#section-signing-mode>#cert-section{border:1px solid #cbd5e1!important;border-radius:8px!important;background:#fff!important;padding:14px 16px!important;margin:0 0 14px 0!important;box-shadow:0 1px 2px rgba(15,23,42,.06),0 2px 8px rgba(15,23,42,.07)!important}#section-security .security-card{border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:14px 16px;margin-bottom:14px;box-shadow:0 1px 2px rgba(15,23,42,.06),0 2px 8px rgba(15,23,42,.07)}#settings-tab .settings-main #section-security .security-card{border-color:#cbd5e1;box-shadow:0 1px 2px rgba(15,23,42,.06),0 2px 8px rgba(15,23,42,.07)}#section-security .security-card-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,0.85fr);gap:0 14px;align-items:start}#section-security .security-card-col{min-width:0}@media (max-width:1020px){#section-security .security-card-row{grid-template-columns:minmax(0,1fr)}}#section-security .security-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #f3f4f6}#section-security .security-card-title{font-size:.95rem;font-weight:600;color:#111827;display:block}#section-security .security-card-desc{font-size:.78rem;color:#6b7280;margin:4px 0 0;line-height:1.4;max-width:70ch}#section-security #account-password-form input[type=password]{max-width:390px}#section-security .security-card-body{padding-top:6px}#section-security .security-card-foot{margin-top:10px;padding-top:10px;border-top:1px solid #f3f4f6;display:flex;justify-content:flex-end}#section-security .sec-status-pill{font-size:.7rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase;padding:3px 9px;border-radius:999px;background:#f3f4f6;color:#374151;flex-shrink:0;white-space:nowrap}#section-security .sec-status-pill.on{background:#d1fae5;color:#065f46}#section-security .sec-status-pill.off{background:#fee2e2;color:#991b1b}#section-security .sec-method-grid{display:grid;gap:10px}#section-security .sec-method{border:1px solid #e5e7eb;border-radius:8px;padding:12px;background:#fafafa;display:flex;flex-direction:column;gap:8px}#section-security .sec-method.active{border-color:#10b981;background:#ecfdf5}#section-security .sec-method-row{display:flex;justify-content:space-between;align-items:center;gap:10px}#section-security .sec-method-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}#section-security .sec-method-title{font-size:.88rem;font-weight:600;color:#111827;display:flex;align-items:center;gap:8px}#section-security .sec-method-desc{font-size:.78rem;color:#6b7280;line-height:1.4}#section-security .sec-method-actions{display:flex;gap:6px;flex-shrink:0}#section-security .sec-badge{padding:2px 8px;border-radius:999px;font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.02em}#section-security .sec-badge-current{background:#10b981;color:#fff}#section-security .sec-badge-pending{background:#f1f5f9;color:#92400e}#section-security .sec-badge-soon{background:#e5e7eb;color:#6b7280}#section-security .sec-totp-area{background:#fff;border:1px dashed #d1d5db;border-radius:8px;padding:12px}#section-security .sec-totp-grid{display:grid;grid-template-columns:200px 1fr;gap:14px;align-items:start}@media (max-width:720px){#section-security .sec-totp-grid{grid-template-columns:1fr}}#section-security .sec-totp-grid img{width:180px;height:180px;border:1px solid #e5e7eb;border-radius:6px;padding:6px;background:#fff}#section-security .sec-totp-secret{font-family:ui-monospace,Consolas,monospace;font-size:.78rem;background:#f3f4f6;padding:4px 8px;border-radius:5px;user-select:all;word-break:break-all}#section-security .sec-totp-step{font-size:.82rem;color:#374151;margin:0 0 6px}#section-security .sec-totp-input{padding:8px 10px;border:1px solid #d1d5db;border-radius:6px;font-size:1rem;letter-spacing:6px;width:160px;text-align:center;font-family:ui-monospace,Consolas,monospace}#section-security .sec-danger{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}#section-security .sec-danger:hover{background:#fee2e2}#sec-sessions-body .sec-table .sec-danger{background:#fff;border-color:#cbd5e1;color:#475569}#sec-sessions-body .sec-table .sec-danger:hover{background:#fef2f2;border-color:#fecaca;color:#991b1b}#section-security .sec-badge-current{background:#dcfce7;color:#047857}#section-security .sec-badge-pending{background:#f1f5f9;color:#475569}#section-security .sec-method-actions .btn-secondary{background:#fff;border:1px solid #cbd5e1;color:#334155;box-shadow:none}#section-security .sec-method-actions .btn-secondary:hover{background:#f1f5f9;border-color:#94a3b8;color:#1e293b}#section-security>section.security-card .security-card-body{max-height:420px;overflow-y:auto}#section-security>section.security-card .sec-table thead th{position:sticky;top:0;z-index:1;background:#f1f5f9}#section-security .sec-table{width:100%;border-collapse:collapse;font-size:.82rem}#section-security .sec-table td,#section-security .sec-table th{padding:8px 10px;border-bottom:1px solid #f3f4f6;text-align:left;vertical-align:top}#section-security .sec-table th{color:#6b7280;font-weight:600;font-size:.72rem;text-transform:uppercase;letter-spacing:.02em;background:#fafafa}#section-security .sec-table .sec-row-current{background:#ecfdf5}#section-security .sec-empty{color:#6b7280;font-size:.82rem;padding:10px}#section-security .sec-warn{color:#92400e;background:#f8fafc;border:1px solid #e2e8f0;border-left:0;box-shadow:inset 3px 0 0 #f59e0b;padding:8px 10px;border-radius:5px;font-size:.78rem}#section-security .sec-event-icon{width:18px;height:18px;flex-shrink:0}#section-security .sec-event-warning{color:#b45309}#section-security .sec-event-critical{color:#b91c1c;font-weight:600}#section-security .sec-meta-list{display:flex;flex-wrap:wrap;gap:10px;font-size:.74rem;color:#6b7280}#section-security .sec-meta-list span strong{color:#374151;font-weight:600}#documents-tab>.d-flex:first-child,#patients-tab>.d-flex:first-child{background:linear-gradient(180deg,#e2e8f0 0,#cbd5e1 100%);border:1px solid #94a3b8;border-radius:6px;padding:8px 12px;margin-bottom:10px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}#documents-tab>.d-flex:first-child h4,#patients-tab>.d-flex:first-child h4{margin:0;color:#1e293b;font-size:.95rem;font-weight:700;letter-spacing:.01em}#documents-tab>.d-flex:first-child h4 svg,#patients-tab>.d-flex:first-child h4 svg{width:16px;height:16px;opacity:.85}#documents-tab>.d-flex:first-child .btn,#patients-tab>.d-flex:first-child .btn{height:30px;padding:0 12px;font-size:.78rem;display:inline-flex;align-items:center;gap:6px}#patients-tab{background:linear-gradient(180deg,#f8fafc 0,#eef2f7 52%,#e2e8f0 100%);padding:0;gap:14px}#patients-tab>.d-flex:first-child{background:linear-gradient(180deg,var(--surfbar-light) 0,var(--surfbar-dark) 100%);border:1px solid var(--surfbar-border);border-radius:10px;padding:12px 16px;margin-bottom:0!important;box-shadow:0 2px 10px rgba(15,23,42,.07),0 0 0 1px rgba(16,185,129,.16)}#documents-tab>.d-flex:first-child{background:linear-gradient(180deg,var(--surfbar-light) 0,var(--surfbar-dark) 100%);border:1px solid var(--surfbar-border);border-radius:10px;padding:12px 16px;box-shadow:0 2px 10px rgba(15,23,42,.07),0 0 0 1px rgba(16,185,129,.16)}#documents-tab>.d-flex:first-child h4,#patients-tab>.d-flex:first-child h4{color:var(--surfbar-title-text);text-shadow:var(--surfbar-title-shadow)}#documents-tab>.d-flex:first-child h4 svg,#patients-tab>.d-flex:first-child h4 svg{opacity:1;color:var(--surfbar-icon);filter:var(--surfbar-icon-filter)}#patients-header-bar #new-patient-btn{flex:0 0 auto;min-width:132px;white-space:nowrap;background:var(--patientlist-filter-active-bg);border-color:var(--patientlist-filter-active-border);color:var(--patientlist-filter-active-text);box-shadow:var(--patientlist-filter-active-shadow)}#patients-header-bar #new-patient-btn:hover{border-color:var(--patientlist-control-focus-border)}#patients-header-bar #new-patient-btn svg{width:19px;height:19px;flex:0 0 19px}.patients-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:10px;align-items:start}.patients-filter-panel{position:sticky;top:92px;border:1px solid var(--patientlist-panel-border);border-radius:10px;background:var(--patientlist-sidebar-bg);box-shadow:0 2px 10px rgba(15,23,42,.07),0 0 0 1px rgba(16,185,129,.06);overflow:hidden}.patients-filter-head{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:54px;padding:9px 12px;background:var(--patientlist-filter-header-bg);border-bottom:1px solid var(--patientlist-filter-header-border)}.patients-filter-head h5{margin:0;color:var(--patientlist-filter-header-text);text-shadow:none;font-size:.72rem;font-weight:650;text-transform:uppercase;letter-spacing:.06em}.patients-filter-clear-btn,.patients-filter-toggle{min-width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:0 7px;border:1px solid transparent;border-radius:6px;background:0 0;color:var(--patientlist-filter-header-text);font:inherit;font-size:.68rem;font-weight:600;cursor:pointer}.patients-filter-toggle{padding:0}.patients-filter-toggle svg{width:14px;height:14px;transition:transform 160ms ease}.patients-filter-clear-btn{margin-left:auto}.patients-filter-clear-btn:hover,.patients-filter-toggle:hover{background:var(--patientlist-filter-header-hover-bg);border-color:transparent}.patients-filter-clear-btn:focus-visible,.patients-filter-toggle:focus-visible{outline:2px solid var(--patientlist-control-focus-ring);outline-offset:1px}.patients-filter-panel.is-collapsed .patients-filter-toggle svg{transform:rotate(180deg)}.patients-layout.is-filter-collapsed{grid-template-columns:44px minmax(0,1fr)}.patients-filter-panel.is-collapsed .patients-filter-head{justify-content:center;padding-inline:7px}.patients-filter-panel.is-collapsed .patient-chips,.patients-filter-panel.is-collapsed .patients-filter-clear-btn,.patients-filter-panel.is-collapsed .patients-filter-head h5,.patients-filter-panel.is-collapsed .patients-org-filter{display:none!important}.patients-filter-hint{display:none}.patients-org-filter{display:grid;gap:4px;padding:12px;background:var(--patientlist-sidebar-bg);border-bottom:1px solid var(--patientlist-toolbar-border)}.patients-org-filter label{display:inline-flex;align-items:center;gap:5px;color:var(--patientlist-muted-text);font-size:.66rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.patients-org-filter label .patient-ui-icon{width:12px;height:12px;color:var(--patientlist-open-text)}.patients-org-filter select{width:100%;height:31px;padding:0 28px 0 8px;border:1px solid var(--patientlist-control-border);border-radius:7px;background:var(--patientlist-control-bg);color:var(--patientlist-control-text);font:inherit;font-size:.76rem;font-weight:550;cursor:pointer;box-shadow:none}.patients-org-filter select:focus{outline:2px solid var(--patientlist-control-focus-ring);outline-offset:1px;border-color:var(--patientlist-control-focus-border)}.patients-org-filter select:disabled{cursor:default;color:#475569;background:#f8fafc;opacity:1}.patients-org-filter small{display:none;color:var(--patientlist-muted-text);font-size:.66rem;line-height:1.3}.patients-main{min-width:0;background:var(--patientlist-shell-bg)}.patients-list-toolbar{min-height:54px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 10px;background:var(--patientlist-toolbar-bg);border-bottom:1px solid var(--patientlist-toolbar-border)}.patients-search-control{position:relative;flex:0 1 320px;min-width:220px}.patients-search-control>svg{position:absolute;left:10px;top:50%;width:15px;height:15px;transform:translateY(-50%);color:var(--patientlist-muted-text);pointer-events:none}#patients-search-box{margin:0}#patients-search-box input{width:100%;height:34px;margin:0;padding:0 10px 0 34px;border:1px solid var(--patientlist-control-border);border-radius:7px;background:var(--patientlist-control-bg);color:var(--patientlist-control-text);box-shadow:none}#patients-search-box input:focus{outline:0;border-color:var(--patientlist-control-focus-border);box-shadow:0 0 0 2px var(--patientlist-control-focus-ring)}.patients-result-count{color:var(--patientlist-secondary-text);font-size:.76rem;font-weight:650;white-space:nowrap}.patients-active-filter-bar{display:flex;align-items:center;flex:1 1 220px;min-width:0;gap:6px;overflow:hidden}.patients-active-filter-bar:empty{display:none}.patients-active-filter-bar .patients-active-filter-pill{max-width:210px;min-height:30px;padding:4px 9px;border-radius:7px;background:var(--patientlist-active-filter-bg);border-color:var(--patientlist-active-filter-border);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.patients-active-filter-bar .patients-active-filters-label{display:none}.patients-toolbar-clear{border:0;background:0 0;color:var(--patientlist-open-text);font-size:.7rem;font-weight:650;cursor:pointer;white-space:nowrap}.patients-toolbar-clear:hover{text-decoration:underline}.patients-list-controls{margin-left:auto;display:flex;align-items:center;gap:7px}.patients-list-controls>.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.patients-density-control,.patients-sort-control{height:34px;border:1px solid var(--patientlist-control-border);border-radius:7px;background:var(--patientlist-control-bg);color:var(--patientlist-control-text);font:inherit;font-size:.72rem;cursor:pointer}.patients-sort-control{min-width:148px;padding:0 28px 0 9px}.patients-density-control{width:104px;padding:0 24px 0 8px}.patients-density-control:focus-visible,.patients-sort-control:focus-visible{outline:2px solid var(--patientlist-control-focus-ring);outline-offset:1px;border-color:var(--patientlist-control-focus-border)}.patients-view-indicator{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--patientlist-control-border);border-radius:7px;background:var(--patientlist-control-hover-bg);color:var(--patientlist-control-text)}.patients-view-indicator svg{width:15px;height:15px}#patients-table .patient-name-meta{margin-top:3px;display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:var(--patientlist-muted-text);font-size:.67rem;line-height:1.25}#patients-table .patient-category-tag{padding:1px 6px;border:1px solid var(--patientlist-active-filter-border);border-radius:999px;background:var(--patientlist-active-filter-bg)!important;color:var(--patientlist-secondary-text)!important;font-size:.6rem;font-weight:600}#patients-table .patient-last-activity{display:flex;align-items:center;gap:6px;min-width:0}#patients-table .patient-activity-kind,#patients-table .patient-location-source{display:inline-flex;align-items:center;min-height:18px;padding:1px 6px;border:1px solid var(--patientlist-active-filter-border);border-radius:999px;background:var(--patientlist-active-filter-bg);color:var(--patientlist-secondary-text);font-size:.58rem;font-weight:650;white-space:nowrap}#patients-table .patient-status-cell .patient-row-badges{justify-content:flex-start}#patients-table .patient-status-empty{color:var(--patientlist-muted-text)}#patients-table .patient-actions-cell{position:relative;display:table-cell;text-align:right;white-space:nowrap;justify-content:flex-end;overflow:visible}#patients-table .patient-open-button{min-width:66px;height:28px;padding:0 12px;border:1px solid var(--patientlist-open-border);border-radius:6px;background:var(--patientlist-control-bg);color:var(--patientlist-action-text);font-size:.68rem;font-weight:650}#patients-table .patient-open-button:hover{background:var(--patientlist-open-hover-bg);border-color:var(--patientlist-filter-active-border);color:var(--patientlist-action-hover-text)}#patients-table .patient-actions-more{width:28px;min-width:28px;height:28px;border-color:transparent;color:var(--patientlist-control-text)}#patient-row-actions-menu{position:fixed;z-index:14050;width:190px;padding:5px;border:1px solid var(--patientlist-menu-border);border-radius:9px;background:var(--patientlist-menu-bg);box-shadow:0 12px 28px var(--patientlist-menu-shadow)}#patient-row-actions-menu[hidden]{display:none}#patient-row-actions-menu button{width:100%;min-height:32px;display:flex;align-items:center;gap:8px;padding:6px 9px;border:0;border-radius:6px;background:0 0;color:var(--patientlist-control-text);font:inherit;font-size:.72rem;text-align:left;cursor:pointer}#patient-row-actions-menu button:focus-visible,#patient-row-actions-menu button:hover{outline:0;background:var(--patientlist-menu-hover-bg)}#patient-row-actions-menu button.is-danger{color:#b91c1c}#patient-row-actions-menu svg{width:14px;height:14px;flex:0 0 auto}.patients-pagination-shell{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-top:1px solid var(--patientlist-pagination-border);background:var(--patientlist-pagination-bg);color:var(--patientlist-secondary-text);font-size:.72rem}.patients-page-nav,.patients-page-size{display:flex;align-items:center;gap:7px}.patients-page-size select{height:32px;min-width:62px;border:1px solid var(--patientlist-control-border);border-radius:6px;background:#fff;color:var(--patientlist-control-text);padding:0 8px}.patients-page-nav button{min-width:32px;height:32px;padding:0 8px;border:1px solid transparent;border-radius:6px;background:0 0;color:var(--patientlist-secondary-text);cursor:pointer}.patients-page-nav button:hover:not(:disabled){background:var(--patientlist-control-hover-bg);border-color:var(--patientlist-control-border)}.patients-page-nav button.active{background:var(--patientlist-page-active-bg);color:var(--patientlist-page-active-text);border-color:var(--patientlist-page-active-border);font-weight:700}.patients-page-nav button:disabled{opacity:.35;cursor:default}#patients-tab[data-density=comfortable] #patients-table td{padding-top:11px;padding-bottom:11px}#patients-tab[data-density=compact] #patients-table td{padding-top:7px;padding-bottom:7px}.patients-filter-panel .search-box{margin:8px 8px 8px}.patients-filter-panel .search-box input{width:100%;border-radius:8px;box-shadow:0 1px 5px rgba(15,23,42,.06)}#patients-table .patients-section-row td{background:linear-gradient(180deg,#f1f5f9 0,#e2e8f0 100%);color:#475569;font-size:.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em;padding:14px 10px;border-bottom:1px solid #cbd5e1}#patients-table .patients-section-row td .patient-ui-icon{width:13px;height:13px;vertical-align:-2px;margin-right:6px;opacity:.85}#patients-table tbody tr.patients-section-row:hover td{box-shadow:none}#patients-table tbody tr.patients-section-row{background:0 0}#patients-active-filters-tbody td{padding:6px 10px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.patients-active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:.72rem;color:#475569}.patients-active-filters-label{font-size:.62rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#64748b}.patients-active-filter-pill{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;background:#fff;border:1px solid #cbd5e1;color:#334155;font-weight:600}.patients-active-filter-pill button{border:none;background:0 0;padding:0;margin:0 -2px 0 0;color:#94a3b8;cursor:pointer;font-size:.8rem;line-height:1}.patients-active-filter-pill button:hover{color:#b91c1c}.patients-active-filters-clear{margin-left:auto;padding:2px 10px;border-radius:999px;border:1px solid #fecaca;background:#fef2f2;color:#b91c1c;font-size:.68rem;font-weight:700;cursor:pointer}.patients-active-filters-clear:hover{background:#fee2e2}.patients-table-wrap{width:100%;overflow:hidden;border:1px solid #cbd5e1;border-radius:10px;background:#fff;box-shadow:0 2px 10px rgba(15,23,42,.07),0 0 0 1px rgba(16,185,129,.06)}.patients-table-scroll{width:100%;min-width:0;overflow:auto}.patients-table-wrap #patients-table{border:0;border-radius:0;min-width:980px;margin-top:0}.patients-table-wrap>#patients-pagination{display:block;margin:0}.patient-chips{display:grid;gap:11px;padding:12px;margin:0;align-items:stretch}.patient-filter-group{display:grid;gap:6px}.patient-filter-group-title{color:var(--patientlist-muted-text);font-size:.66rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;display:inline-flex;align-items:center;gap:5px}.patient-chips .chip .patient-ui-icon,.patient-filter-group-title .patient-ui-icon{width:12px;height:12px}.patient-filter-options{display:grid;gap:5px}.patient-chips .chip{min-height:30px;padding:5px 8px;border:1px solid transparent;border-radius:6px;background:0 0;font-size:.7rem;font-weight:500;color:var(--patientlist-control-text);cursor:pointer;user-select:none;transition:background-color .12s,border-color .12s,color .12s;display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;line-height:1.15;min-width:0}.patient-chips .chip:hover{background:var(--patientlist-control-bg);border-color:var(--patientlist-control-border)}.patient-chips .chip.active{background:var(--patientlist-filter-active-bg);border-color:var(--patientlist-filter-active-border);color:var(--patientlist-filter-active-text);box-shadow:var(--patientlist-filter-active-shadow)}.patient-chips .chip.active svg{color:var(--patientlist-filter-active-text)}.patient-chips .chip.chip-cat.active{box-shadow:inset 3px 0 0 var(--patient-filter-category-accent,var(--patientlist-control-focus-border)),var(--patientlist-filter-active-shadow)}.patient-chips .chip-sep{display:none}.patient-chips .chip-clear{width:100%;justify-content:center;color:#64748b;font-size:.68rem;background:#f8fafc;border-color:#e2e8f0}.patient-chips .chip-clear:hover{color:#111827;background:#f3f4f6}@media (max-width:980px){.patients-layout{grid-template-columns:1fr}.patients-layout.is-filter-collapsed{grid-template-columns:1fr}.patients-filter-panel{position:static}.patients-filter-panel.is-collapsed .patients-filter-head h5{display:flex!important}.patients-filter-panel.is-collapsed .patients-filter-clear-btn{display:inline-flex!important}.patients-filter-panel.is-collapsed .patients-filter-head{justify-content:flex-start;padding-inline:10px}.patients-org-filter{display:none!important}.patient-chips{grid-template-columns:repeat(3,minmax(0,1fr))}.patient-filter-group{min-width:0}.patients-list-toolbar{align-items:stretch}.patients-search-control{flex:1 1 280px}.patients-active-filter-bar{order:3;flex-basis:100%}}@media (max-width:640px){#patients-header-bar{flex-wrap:wrap;flex-shrink:0}#patients-header-bar #patients-title-block{flex-basis:100%}.patient-chips{grid-template-columns:1fr}.patients-table-wrap{overflow:visible;border:0;background:0 0;box-shadow:none}.patients-table-wrap #patients-table{display:block;min-width:0!important;border:0;background:0 0}#patients-table thead{display:none}#patients-table tbody:not([hidden]){display:grid;gap:8px}#patients-table tbody tr.patient-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px;height:auto;padding:11px;border:1px solid var(--patientlist-panel-border);border-radius:10px;background:var(--patientlist-panel-bg);box-shadow:0 2px 8px rgba(15,23,42,.06)}#patients-table tbody tr.patient-row:hover{box-shadow:inset 3px 0 0 var(--datatable-row-hover-rail),0 2px 8px rgba(15,23,42,.06)}#patients-table tbody tr.patient-row td{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:0;border:0;white-space:normal;overflow:visible}#patients-table tbody tr.patient-row td::before{color:var(--patientlist-muted-text);font-size:.58rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}#patients-table tbody tr.patient-row td.patient-name-cell{grid-column:1/-1;padding-bottom:7px;border-bottom:1px solid var(--patientlist-toolbar-border)}#patients-table tbody tr.patient-row td:nth-child(2)::before{content:'Idade'}#patients-table tbody tr.patient-row td:nth-child(3)::before{content:'Local de vínculo'}#patients-table tbody tr.patient-row td:nth-child(4)::before{content:'Última atividade'}#patients-table tbody tr.patient-row td:nth-child(5)::before{content:'Prontuário'}#patients-table tbody tr.patient-row td:nth-child(6)::before{content:'Status'}#patients-table tbody tr.patient-row td.patient-actions-cell{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:flex-end;padding-top:7px;border-top:1px solid var(--patientlist-toolbar-border)}#patients-table .patient-location-name{white-space:normal}#patients-table .patient-last-activity{flex-wrap:wrap}#patients-table tbody tr:not(.patient-row) td{display:block;padding:14px}.patients-list-toolbar{padding:8px}.patients-search-control{flex-basis:100%;min-width:0}.patients-result-count{align-self:center}.patients-list-controls{width:100%;margin-left:0}.patients-sort-control{flex:1 1 auto;min-width:0}.patients-density-control{width:96px}.patients-pagination-shell{flex-wrap:wrap;justify-content:center}.patients-page-size{order:1}.patients-pagination-shell>span{order:2;margin-left:auto}.patients-page-nav{order:3;width:100%;justify-content:center}}.pagination{display:flex;gap:.375rem;justify-content:center;margin-top:1rem;align-items:center}.pagination button{padding:.5rem .875rem;border:1px solid #cbd5e1;background:#fff;border-radius:6px;cursor:pointer;font-size:.8125rem;font-weight:500;color:#475569;transition:all .15s ease}.pagination button:hover:not(:disabled){background:#f1f5f9;border-color:#1e293b;color:#1e293b}.pagination button.active{background:linear-gradient(180deg,#1e293b 0,#334155 100%);color:#dcfce7;border-color:#1e293b;text-shadow:0 0 5px rgba(134,239,172,.4);box-shadow:0 1px 3px rgba(15,23,42,.25),0 0 0 1px rgba(16,185,129,.3),0 0 10px rgba(16,185,129,.28)}#patients-pagination .patients-page-nav button.active{background:var(--patientlist-page-active-bg);color:var(--patientlist-page-active-text);border-color:var(--patientlist-page-active-border);text-shadow:none;box-shadow:none}.pagination button:disabled{opacity:.5;cursor:not-allowed}#session-expired-banner{background:#f1f5f9;color:#1e293b;border:1px solid #cbd5e1;padding:10px 14px;font-size:13px;display:flex;align-items:center;gap:10px;border-radius:8px;margin:-.5rem 0 1rem}#session-expired-banner.hidden{display:none}#session-expired-banner .sxb-icon{display:inline-flex;align-items:center;flex-shrink:0;color:#64748b}#session-expired-banner .sxb-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}#session-expired-banner .sxb-text strong{font-size:13.5px;font-weight:700}#session-expired-banner .sxb-text span{font-size:12px;color:#475569}#auth-entry-intro,.auth-brandmark{display:none}#auth-modal.session-ended{--auth-entry-surface-bg:#f6f8f5;--auth-entry-halo-bg:#d1ebe0;--auth-entry-heading-text:#152c31;--auth-entry-muted-text:#53676b;--auth-entry-accent-text:#087458;--auth-entry-brand-text:#183c30;--auth-entry-card-bg:rgba(255,255,255,.94);--auth-entry-card-padding:30px;--auth-entry-card-border:#d1ded6;--auth-entry-field-bg:#fbfcfa;--auth-entry-field-border:#d5dfd9;--auth-entry-card-shadow:0 24px 64px -30px #275b4940,0 4px 12px #18362905;display:grid;grid-template-columns:minmax(0,732px) minmax(330px,435px);align-items:center;align-content:center;justify-content:center;gap:clamp(38px,7vw,105px);padding:32px clamp(24px,5vw,84px);overflow-y:auto;background:radial-gradient(ellipse at 85% 30%,var(--auth-entry-halo-bg),transparent 57%),var(--auth-entry-surface-bg);backdrop-filter:none}#auth-modal.session-ended #auth-entry-intro{display:block;min-width:0;color:var(--auth-entry-heading-text)}#auth-entry-brand{display:flex;align-items:center;gap:10px;width:fit-content;text-decoration:none;margin-bottom:48px;color:var(--auth-entry-brand-text);font-size:23px;font-weight:750;letter-spacing:-.055em}#auth-entry-brand img{width:30px;height:30px}#auth-entry-brand span span{color:var(--auth-entry-accent-text)}#auth-entry-eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 24px;color:var(--auth-entry-accent-text);font-size:11px;font-weight:650;letter-spacing:.14em;text-transform:uppercase}#auth-entry-eyebrow::before{content:'';width:7px;height:7px;flex-shrink:0;border-radius:50%;background:var(--auth-entry-accent-text)}#auth-entry-title{margin:0;max-width:750px;font-size:clamp(42px, 4.9vw, 70px);line-height:1.04;letter-spacing:-.06em;font-weight:650;color:var(--auth-entry-heading-text)}#auth-entry-title em{color:var(--auth-entry-accent-text);font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.055em}#auth-entry-description{max-width:46ch;margin:26px 0 0;color:var(--auth-entry-muted-text);font-size:17px;line-height:1.75}#auth-modal.session-ended.auth-login>.modal{width:100%;max-width:none;min-width:0;max-height:calc(100vh - 64px);max-height:calc(100dvh - 64px);padding:var(--auth-entry-card-padding);border:1px solid var(--auth-entry-card-border);border-radius:16px;background:var(--auth-entry-card-bg);box-shadow:var(--auth-entry-card-shadow)}#auth-modal.session-ended .auth-modal-header h2{font-size:20px;letter-spacing:-.025em}#auth-modal.session-ended :is(#auth-email,#auth-password){min-height:46px;border-color:var(--auth-entry-field-border);background:var(--auth-entry-field-bg)}#auth-modal.session-ended #auth-submit{min-height:46px;border-radius:7px}@media (max-width:899px){#auth-modal.session-ended{grid-template-columns:minmax(0,435px);gap:24px;padding:24px;--auth-entry-card-padding:24px}#auth-entry-brand{margin-bottom:8px}#auth-entry-eyebrow{margin:0;font-size:10px}#auth-entry-description,#auth-entry-title{display:none}#auth-modal.session-ended.auth-login>.modal{max-height:calc(100vh - 132px);max-height:calc(100dvh - 132px)}}@media (max-width:480px){#auth-modal.session-ended{padding:16px;gap:18px;--auth-entry-card-padding:20px}#auth-modal.session-ended.auth-login>.modal{max-height:calc(100vh - 110px);max-height:calc(100dvh - 110px)}}@media (max-width:720px){#auth-modal.session-ended.auth-login>.modal{padding-bottom:0}#auth-modal.session-ended .modal-actions{margin-inline:calc(-1 * var(--auth-entry-card-padding));padding-inline:var(--auth-entry-card-padding)}}@media (max-height:600px){#auth-modal.session-ended{grid-template-columns:minmax(0,435px);padding:16px}#auth-modal.session-ended #auth-entry-intro{display:none}#auth-modal.session-ended.auth-login>.modal{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}}#session-final-warning-banner{position:fixed;top:0;left:0;right:0;z-index:10001;background:#f8fafc;color:#92400e;border-bottom:1px solid #fde68a;padding:9px 16px;font-size:13px;display:flex;align-items:center;gap:12px;box-shadow:0 1px 8px rgba(15,23,42,.07)}#session-final-warning-banner.hidden{display:none}#session-final-warning-banner .sfwb-icon{display:inline-flex;align-items:center;flex-shrink:0;color:#f59e0b}#session-final-warning-banner .sfwb-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}#session-final-warning-banner .sfwb-text strong{font-size:13.5px;font-weight:700}#session-final-warning-banner .sfwb-text span{font-size:12.5px;color:#b45309}#session-final-warning-banner #session-final-warning-countdown{font-family:ui-monospace,Consolas,monospace;padding:1px 8px;background:#f1f5f9;color:#92400e;border:1px solid #fde68a;border-radius:999px;margin:0 2px}#session-final-warning-banner .sfwb-btn{background:#fff;color:#92400e;border:1px solid #fcd34d;padding:6px 12px;border-radius:7px;font-size:12.5px;font-weight:700;cursor:pointer;flex-shrink:0;transition:border-color .15s ease,background .15s ease}#session-final-warning-banner .sfwb-btn:hover{background:#f8fafc;border-color:#f59e0b}body.session-final-warning{padding-top:50px}#session-lock-overlay{position:fixed;inset:0;background:rgba(17,24,39,.45);backdrop-filter:blur(2px);z-index:9990;pointer-events:auto}#session-lock-overlay.hidden{display:none}.auth-session-label{display:flex;align-items:center;gap:6px}.auth-session-info{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#e0e7ff;color:#4338ca;cursor:help;outline:0;flex-shrink:0}.auth-session-info:focus{box-shadow:0 0 0 2px rgba(99,102,241,.35)}.auth-session-tooltip{position:fixed;left:0;top:0;z-index:10100;width:340px;max-width:calc(100vw - 24px);background:#1f2937;color:#f3f4f6;padding:12px 14px;border-radius:8px;font-size:.78rem;font-weight:400;line-height:1.45;box-shadow:0 8px 24px rgba(0,0,0,.35);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s,transform .15s,visibility .15s;pointer-events:none}.auth-session-tooltip.show{opacity:1;visibility:visible;transform:translateY(0)}.auth-session-tooltip strong{display:block;color:#fff;font-size:.82rem;margin-bottom:6px}.auth-session-tooltip ul{margin:0 0 8px;padding-left:14px}.auth-session-tooltip li{margin-bottom:4px}.auth-session-tooltip li b{color:#fde68a;font-weight:600}.auth-session-tooltip em{display:block;margin-top:6px;color:#d1d5db;font-style:italic;font-size:.74rem}@media (max-width:520px){.auth-session-tooltip{width:280px}}