:root{--font-ui:"Segoe UI",-apple-system,BlinkMacSystemFont,Arial,sans-serif;--background:#f4f6f8;--foreground:#172c3d;--card:#ffffff;--muted:#edf1f4;--muted-foreground:#526273;--border:#d8dfe4;--input:#7c8994;--ring:#244963;--radius:0.5rem;--primary:#172c3d;--primary-foreground:#ffffff;--accent:#244963;--accent-foreground:#ffffff;--popover:#ffffff;--popover-foreground:#172c3d}body{font-family:var(--font-ui);min-width:0}.app-shell{background:#f4f6f8;min-height:100dvh}.sidebar{width:248px;background:#fff;border-color:#d8dfe4;padding:20px 14px 16px;overflow-y:auto;overscroll-behavior:contain}.sidebar-top{align-items:center}.brand-lockup{padding:0 0 22px}.brand-lockup img{width:210px;max-width:100%;height:auto;mix-blend-mode:normal}.company-chip{background:#f4f6f8;border:0;border-radius:6px;box-shadow:none;padding:12px}.company-chip p{font-size:.85rem;color:#172c3d}.company-chip span:not(.status-dot){font-size:.75rem;color:#526273}.company-avatar,.profile-avatar{background:#e8edf1;color:#344b5e;border-radius:6px;font-size:.75rem}.status-dot{display:none}.menu-label{margin:24px 10px 10px;color:#526273;font-size:.7rem;font-weight:600;letter-spacing:.04em}.sidebar-nav{gap:4px}.sidebar-nav button{min-height:44px;height:auto;padding:11px 12px;font-size:.875rem;color:#526273;border-radius:5px;line-height:1.35}.sidebar-nav button.active{background:#e9eef2;border-color:transparent;color:#172c3d;box-shadow:none;font-weight:650}.sidebar-nav button:hover{background:#f0f3f5;color:#172c3d}.sidebar-nav svg{width:18px;height:18px;flex:none}.sidebar-nav small{background:#e2e8ed;color:#344b5e;font-size:.7rem}.sidebar-spacer{min-height:26px}.isolation-note{background:transparent;border:0;padding:12px 4px}.isolation-note p,.isolation-note strong{font-size:.75rem;color:#526273}.isolation-note p{line-height:1.6}.profile-row{min-height:60px;border-top:1px solid #d8dfe4;padding-top:16px}.profile-row strong{font-size:.8rem;color:#172c3d}.profile-row span{font-size:.7rem;color:#526273}.sidebar-logout{min-height:44px;font-size:.8rem;border-color:#b5bfc7}.content-shell{padding-left:248px;min-width:0}.topbar{min-height:64px;height:auto;padding:12px 36px;background:#fff;backdrop-filter:none;border-color:#d8dfe4;gap:18px}.tenant-signature,.tenant-signature>div{min-width:0}.tenant-signature strong{font-size:.875rem;color:#172c3d}.tenant-signature small{font-size:.75rem;color:#526273}.topbar-actions{flex-wrap:wrap}.admin-page-wrap,.page-wrap{width:min(100%,1440px);padding:28px clamp(20px,3vw,40px) 64px;margin-inline:auto;min-width:0}.page-heading{align-items:flex-start;margin-bottom:30px}.page-heading h1{font-size:clamp(1.5rem,2.5vw,2rem);font-weight:650;line-height:1.2;color:#172c3d}.page-heading>div>p:last-child{color:#526273;font-size:.9375rem;line-height:1.65;max-width:680px}.eyebrow{color:var(--muted-foreground);font-size:.7rem;font-weight:650;letter-spacing:.05em}.app-shell [data-slot=button],.login-page [data-slot=button]{min-height:44px;height:auto;border-radius:6px;font-size:.875rem;font-weight:550;padding:10px 16px;white-space:normal;text-align:center;line-height:1.35}.app-shell [data-slot=button][data-variant=outline]{border-color:#7c8994;box-shadow:none}.app-shell :is(button,a,input,textarea,select,summary,[tabindex]):focus-visible,.login-page :is(button,a,input):focus-visible{outline:3px solid var(--ring);outline-offset:3px}.app-shell :is(input,textarea,select){font-size:1rem;min-height:44px;border-color:#7c8994;color:#172c3d}.app-shell input[type=checkbox],.app-shell input[type=radio]{min-height:20px;width:20px}.app-shell :is(input,textarea)::placeholder{color:#647384}.app-shell [data-slot=card]{border-radius:8px;border-color:#d8dfe4;background:#fff;box-shadow:none}.app-shell [data-slot=card-title]{font-size:1.1rem;font-weight:600;line-height:1.4}.app-shell [data-slot=card-content]{min-width:0}.stats-grid{gap:20px}.stats-grid.issuance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{min-height:124px}.stat-card span{font-size:.8rem;color:#526273}.stat-card strong{font-size:1.85rem}.stat-card small{font-size:.75rem;color:#526273;line-height:1.55}.app-shell :is(.readiness-note,.check-row,.bottom-note,.admin-row,.profile-form-grid label,.profile-form-footer p,.settings-menu-card p,.settings-menu-card small,.poa-empty,.poa-record p,.delivery-record p,.user-access-main p,.user-access-main small,.audit-log-main p,.audit-log-main small){font-size:.85rem;line-height:1.6;color:#526273}.app-shell :is(.settings-menu-card strong,.user-access-title strong,.audit-log-main strong){font-size:.9375rem;color:#172c3d}.settings-menu-card{background:#fff;border-color:#d8dfe4;box-shadow:none;border-radius:8px}.settings-menu-card:hover{transform:none;box-shadow:none;background:#f7f9fa;border-color:#7c8994}.settings-menu-icon{background:#edf1f4;color:#344b5e;border-radius:6px}.app-shell :is(.dashboard-grid,.validation-grid,.confirmation-grid,.result-grid,.admin-overview-grid)>*{min-width:0}.app-shell table{font-size:.875rem}.app-shell :is(th,td){line-height:1.5}.app-shell .bottom-note{align-items:flex-start;flex-wrap:wrap;gap:10px;margin-top:26px}.app-shell .bottom-note p{flex:1;min-width:200px}.app-shell .bottom-note span{white-space:normal}@media(max-width:1100px){.admin-page-wrap,.page-wrap,.topbar{padding-inline:24px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.user-access-record{grid-template-columns:34px minmax(0,1fr);align-items:start}.user-access-actions{grid-column:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.user-access-actions [data-slot=button]{width:100%;padding-inline:10px}}@media(max-width:1024px){.sidebar{transform:translateX(-105%);visibility:hidden;width:300px;max-width:calc(100vw - 44px);transition:transform .18s ease}.sidebar.sidebar-open{transform:translateX(0);visibility:visible;box-shadow:12px 0 36px rgb(13 27 42/16%)}.sidebar-close{display:grid;place-items:center;width:44px;height:44px;flex:none}.sidebar-backdrop{display:block;position:fixed;inset:0;z-index:25;background:rgb(13 27 42/35%)}.menu-trigger{display:flex;align-items:center;gap:6px;min-height:44px;min-width:44px;color:#172c3d;font-size:.8rem}.menu-trigger svg{width:21px;height:21px}.content-shell{padding-left:0}.topbar{position:sticky;min-height:64px;padding:10px 20px}.tenant-signature{margin-right:auto}}@media(max-width:640px){.admin-page-wrap,.page-wrap{padding:20px 14px 40px}.page-heading{flex-direction:column;gap:12px;margin-bottom:20px}.page-heading h1{font-size:1.55rem}.page-heading>div>p:last-child{font-size:.84rem;line-height:1.55}.topbar{min-height:56px;gap:8px;padding:6px 10px;border-bottom:1px solid var(--border);box-shadow:none}.menu-trigger{width:44px;min-width:44px;min-height:44px;justify-content:center;border:1px solid #d8dfe4;border-radius:8px;background:#f7f9fa}.menu-trigger span{display:none}.menu-trigger svg{width:19px;height:19px}.tenant-signature{flex:1;margin:0}.tenant-signature strong{max-width:32vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem}.tenant-signature small{display:none}.topbar-actions{flex-wrap:nowrap;gap:5px}.topbar-actions .plan-badge{display:none}.topbar-actions [data-slot=button]{width:40px;min-width:40px;min-height:40px;padding:0;border-radius:8px}.topbar-actions [data-slot=button]>span{display:none}.topbar-actions [data-slot=button] svg{width:17px;height:17px}.theme-toggle{transform:none}.stats-grid{gap:10px}.stat-card{min-height:auto}.stat-card strong{font-size:1.45rem}.app-shell [data-slot=card-header]{padding:16px 14px 10px}.app-shell [data-slot=card-content]{padding:14px}.app-shell [data-slot=card-title]{font-size:1rem}.admin-overview-grid,.confirmation-grid,.dashboard-grid,.result-grid,.validation-grid{gap:12px}.app-shell :is(.poa-document-actions,.profile-form-footer,.audit-filter-row,.delivery-toolbar){flex-wrap:wrap;gap:10px}.app-shell :is(.held-review-actions,.settings-form-actions,.manual-form-actions,.history-report-actions){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.app-shell :is(.held-review-actions,.settings-form-actions,.manual-form-actions,.history-report-actions) [data-slot=button]{width:100%;min-width:0;padding-inline:10px}.user-access-record{grid-template-columns:30px minmax(0,1fr);gap:9px;padding:10px}.user-access-avatar{width:30px;height:30px}.user-access-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.user-access-actions [data-slot=button]{min-height:40px;font-size:.76rem}.app-shell [data-slot=dialog-content]{max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow-y:auto}}@media(max-width:400px){.stats-grid,.stats-grid.issuance-stats{grid-template-columns:1fr}.menu-trigger span{display:none}.topbar-actions [data-slot=button]{max-width:104px}.user-access-actions{grid-template-columns:1fr}.app-shell :is(.held-review-actions,.settings-form-actions,.manual-form-actions,.history-report-actions){grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.workspace-help{max-height:calc(100dvh - 2rem);overflow-y:auto;font-size:1rem;line-height:1.6}.workspace-help ol{padding-left:1.5rem;list-style:decimal}.workspace-help li+li{margin-top:1rem}.workspace-help [data-slot=button]{min-height:44px}.workspace-skip-link{position:fixed;top:8px;left:8px;z-index:80;transform:translateY(-160%);background:var(--primary);color:var(--primary-foreground);padding:12px 16px;border-radius:6px}.workspace-skip-link:focus{transform:none}.workspace-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:20px;color:var(--muted-foreground);font-size:.8125rem;min-width:0;flex-wrap:wrap}.workspace-breadcrumb svg{width:14px;height:14px}.workspace-breadcrumb span:last-child{color:var(--foreground)}.navigation-group{margin-bottom:8px}.navigation-items{display:grid;gap:2px}.navigation-items[hidden]{display:none}.sidebar-nav .navigation-group-toggle{width:100%;min-height:40px;padding:8px 10px;border:0;border-radius:4px;font-size:.75rem;font-weight:600;color:var(--muted-foreground)}.navigation-group-toggle svg{margin-left:auto;width:14px;transition:transform .14s ease}.navigation-group-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.navigation-group .menu-label{margin:12px 10px 8px;font-size:.75rem;letter-spacing:0;font-weight:600}.sidebar-nav .navigation-items button{min-height:44px;width:100%}.sidebar-nav .navigation-items button.active{border-left:2px solid var(--primary);padding-left:10px}.sidebar-nav .navigation-items button span{min-width:0;overflow-wrap:anywhere}.sidebar .isolation-note{border-top:1px solid var(--border);margin-top:12px;padding-top:16px}.sidebar .isolation-note p{font-size:.75rem}.title-with-help{display:flex;align-items:center;gap:8px;min-width:0}.title-with-help h1{min-width:0;text-wrap:balance}.context-help-trigger{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;border:0;border-radius:6px;background:transparent;color:var(--muted-foreground);cursor:pointer}.context-help-trigger:hover{background:var(--muted);color:var(--foreground)}.context-help-trigger svg{width:18px;height:18px}.context-help-content button:focus-visible,.context-help-trigger:focus-visible{outline:2px solid var(--ring);outline-offset:3px}.context-help-content{width:min(340px,calc(100vw - 32px));max-height:min(420px,calc(100dvh - 32px));overflow:auto;padding:16px;border:1px solid var(--border);border-radius:8px;background:var(--popover);color:var(--popover-foreground);box-shadow:0 10px 30px rgb(13 27 42/16%);font-size:.875rem;line-height:1.65}.context-help-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.context-help-heading button{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;background:transparent;color:inherit;border-radius:6px}.context-help-heading svg{width:16px;height:16px}.context-help-content p{margin:0}.context-help-content ol{list-style:decimal;padding-left:20px}.context-help-content li+li{margin-top:8px}.app-shell :is(.stats-grid,.issuance-stats){display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:0;padding:20px 0;margin-bottom:24px;border-block:1px solid var(--border)}.workspace-metric{display:flex;flex-direction:column;gap:6px;padding:0 24px;min-width:0;border-left:1px solid var(--border)}.workspace-metric:first-child{padding-left:0;border-left:0}.workspace-metric>small,.workspace-metric>span{color:var(--muted-foreground);font-size:.8125rem;line-height:1.5}.workspace-metric>strong{color:var(--foreground);font-size:1.75rem;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.app-shell :is(.history-card,.listing-card,.workflow-card,.profile-card,.user-access-card,.audit-log-card){border:0;border-radius:0;background:transparent;box-shadow:none;padding-block:0}.app-shell :is(.history-card,.listing-card,.workflow-card,.profile-card,.user-access-card,.audit-log-card)>[data-slot=card-header]{padding:0 0 16px}.app-shell :is(.history-card,.listing-card,.workflow-card,.profile-card,.user-access-card,.audit-log-card)>[data-slot=card-content]{padding:0}.app-shell [data-slot=table-container]{border:1px solid var(--border);border-radius:6px;background:var(--card);max-width:100%;overflow:auto}.app-shell :is(.history-card,.listing-card,.workflow-card) [data-slot=table-head]{color:var(--muted-foreground);background:var(--muted);font-size:.75rem;letter-spacing:0;height:44px;font-weight:600;white-space:nowrap}.app-shell :is(.history-card,.listing-card,.workflow-card) [data-slot=table-cell]{color:var(--foreground);font-size:.875rem;padding:12px 14px;height:48px;font-variant-numeric:tabular-nums}.app-shell :is(.history-card,.listing-card,.workflow-card) [data-slot=badge]{font-size:.75rem;height:auto;min-height:24px;line-height:1.4;white-space:normal}.workspace-empty{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:32px 8px}.workspace-empty svg{width:24px;height:24px;color:var(--muted-foreground)}.workspace-empty p{white-space:normal;color:var(--muted-foreground);max-width:44ch}.workspace-next-steps{display:flex;align-items:center;gap:12px;padding:24px 0;margin-top:24px;border-block:1px solid var(--border)}.workspace-next-steps h2{font-size:1rem;font-weight:600}.workspace-next-steps p{margin:4px 0 0;color:var(--muted-foreground);font-size:.875rem}.workspace-next-steps>[data-slot=button]{margin-left:auto}.app-shell .flow-steps{display:flex;gap:0;border:0;border-bottom:1px solid var(--border);background:transparent;box-shadow:none;border-radius:0;padding:0 0 20px;margin-bottom:28px}.app-shell .flow-step{flex:1;min-width:0;padding:8px;border:0;background:transparent}.app-shell .flow-step>span{border-radius:4px;background:var(--muted);color:var(--muted-foreground)}.app-shell .flow-step.current>span{background:var(--primary);color:var(--primary-foreground)}.app-shell .flow-step strong{color:var(--muted-foreground);font-size:.8125rem}.app-shell .flow-step.current strong{color:var(--foreground)}.app-shell :is(.profile-form-grid,.settings-form-grid,.poa-form-grid,.pic-contact-grid){gap:20px}.app-shell :is(.profile-form-grid,.settings-form-grid,.poa-form-grid,.pic-contact-grid) label{font-size:.875rem;line-height:1.5}.app-shell .filter-row{gap:12px;padding-block:8px 20px}.app-shell :is(.validation-stats,.confirmation-box,.file-summary,.document-profile-summary,.pic-contact-form){border-radius:6px;box-shadow:none}.app-shell .eyebrow{text-transform:none;letter-spacing:.015em;font-size:.75rem;font-weight:500;color:var(--muted-foreground)}.app-shell :is(.history-card,.listing-card,.workflow-card) .eyebrow{margin-bottom:6px}[data-slot=alert-dialog-content],[data-slot=dialog-content]{max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;border-radius:8px}[data-slot=alert-dialog-footer],[data-slot=dialog-footer]{position:sticky;bottom:-1px;background:var(--popover);padding-block:12px}@media(max-width:640px){.workspace-breadcrumb{margin-bottom:16px;font-size:.75rem}.workspace-next-steps{flex-wrap:wrap;gap:8px}.workspace-next-steps>div{flex:1}.workspace-next-steps>[data-slot=button]{margin:8px 0 0;width:100%}.workspace-metric{padding-inline:16px}.workspace-metric>strong{font-size:1.5rem}.app-shell :is(.stats-grid,.issuance-stats){grid-template-columns:repeat(2,minmax(0,1fr));padding-block:16px;gap:20px 0}.workspace-metric:nth-child(odd){padding-left:0;border-left:0}.app-shell .stats-grid.issuance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .flow-step{flex-direction:column;gap:6px;padding:4px}.app-shell .flow-step strong{font-size:.75rem}.app-shell .flow-step:after{display:none}.app-shell :is(.history-card,.listing-card,.workflow-card) [data-slot=table-cell]{padding:12px}.title-with-help{gap:4px}.app-shell .page-heading .title-with-help h1{font-size:1.5rem}.app-shell .topbar{flex-wrap:nowrap;box-shadow:none}.app-shell .topbar-actions{gap:2px}.app-shell .menu-trigger,.app-shell .topbar-actions [data-slot=button]{min-height:44px;min-width:44px;width:44px}.app-shell .filter-row{flex-wrap:wrap}.app-shell .filter-row>*{max-width:100%;min-width:0}}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:68px;min-width:68px;min-height:44px;padding:4px;border:0;border-radius:24px;background:transparent;color:var(--foreground);font-size:.875rem;line-height:1.35;cursor:pointer;flex-shrink:0}.theme-toggle:hover .theme-switch-track{border-color:var(--foreground)}.theme-toggle:focus-visible{outline:3px solid var(--ring);outline-offset:3px}.theme-toggle svg{width:18px;height:18px}.theme-switch-track{position:relative;display:flex;align-items:center;justify-content:space-between;width:60px;height:32px;padding:0 6px;border:1px solid var(--input);border-radius:18px;background:var(--muted);color:var(--muted-foreground)}.theme-switch-thumb{position:absolute;left:3px;top:3px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--primary);color:var(--primary-foreground);transition:transform .16s ease}.theme-toggle[aria-checked=true] .theme-switch-thumb{transform:translateX(28px)}@media(prefers-reduced-motion:reduce){.theme-switch-thumb{transition:none}}.topbar-actions button.theme-toggle{display:inline-flex}.connection-indicator{display:inline-block;width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:#aa7a22;margin-inline:6px}.connection-indicator.connected{background:#16834a}.dark .connection-indicator.connected{background:#4ade80}.login-theme{display:flex;justify-content:flex-end;margin-bottom:20px}@media(max-width:640px){.topbar{flex-wrap:wrap}.topbar-actions{margin-left:auto}}html{color-scheme:light}html.dark{color-scheme:dark;--background:#101923;--foreground:#e6edf3;--card:#182531;--card-foreground:#e6edf3;--popover:#1c2b39;--popover-foreground:#e6edf3;--muted:#223443;--muted-foreground:#b3c2cf;--primary:#a9cce5;--primary-foreground:#152332;--secondary:#203e35;--secondary-foreground:#bce5cf;--accent:#a9cce5;--accent-foreground:#152332;--border:#3b5061;--input:#718799;--ring:#a9cce5;--destructive:#ffaaa0}.dark :is(.app-shell,.auth-loading,.login-page){background:var(--background);color:var(--foreground)}.dark .app-shell [data-slot=card],.dark :is(.sidebar,.topbar,.login-panel,.settings-menu-card){background:var(--card);border-color:var(--border);color:var(--foreground)}.dark .app-shell :is(h1,h2,h3,[data-slot=card-title],.tenant-signature strong,.profile-row strong,.company-chip p,.stat-card strong,.step-row strong,.settings-menu-card strong,.user-access-title strong,.audit-log-main strong):not(.docx *){color:var(--foreground)}.dark .app-shell :is(.page-heading>div>p:last-child,.tenant-signature small,.company-chip span:not(.status-dot),.profile-row span,.menu-label,.isolation-note strong,.isolation-note p,.stat-card span,.stat-card small,.step-row p,.readiness-note,.check-row,.bottom-note,.admin-row,.profile-form-grid label,.profile-form-footer p,.settings-menu-card p,.settings-menu-card small,.poa-empty,.poa-record p,.delivery-record p,.user-access-main p,.user-access-main small,.audit-log-main p,.audit-log-main small){color:var(--muted-foreground)}.dark .app-shell .eyebrow,.dark .login-panel .eyebrow{color:var(--accent)}.dark :is(.company-chip,.company-avatar,.profile-avatar,.sidebar-nav small,.settings-menu-icon,.step-row>span){background:var(--muted);color:var(--foreground)}.dark .sidebar-nav button{color:var(--muted-foreground)}.dark .settings-menu-card:hover,.dark .sidebar-nav button:is(:hover,.active){background:var(--muted);color:var(--foreground);border-color:var(--border)}.dark :is(.profile-row,.sidebar-logout){border-color:var(--border)}.dark .sidebar-logout{background:var(--card);color:var(--destructive)}.dark .menu-trigger{color:var(--foreground)}@media(max-width:640px){.dark .menu-trigger{background:var(--muted);border-color:var(--border);color:var(--accent)}.dark .menu-trigger:hover{background:var(--background)}}.dark .app-shell :is(input,textarea,select),.dark .login-panel input{background:var(--background);color:var(--foreground);border-color:var(--input)}.dark .app-shell :is(input,textarea)::placeholder,.dark .login-panel input::placeholder{color:var(--muted-foreground)}.dark .app-shell [data-slot=button][data-variant=outline]{background:var(--card);border-color:var(--input);color:var(--foreground)}.dark .app-shell [data-slot=button][data-variant=outline]:hover{background:var(--muted)}.dark .app-shell :is(th,td){border-color:var(--border)}.dark .app-shell :is(thead,[data-slot=table-header],.listing-card [data-slot=table-head]){background:var(--muted);color:var(--muted-foreground)}.dark .app-shell :is(.profile-form-grid,.user-access-card,.audit-log-card,.settings-editor-card,.poa-record,.delivery-record,.template-validation,.template-format-note,.template-package-card,.confirmation-box,.lock-note){background:var(--card);border-color:var(--border);color:var(--foreground)}.dark .app-shell :is(.template-field-help,.template-validation p,.template-format-note p,.template-package-card p,.confirmation-box p,.lock-note p){color:var(--muted-foreground)}.dark .app-shell :is(.template-validation strong,.template-format-note strong,.template-package-card strong,.confirmation-box strong,.lock-note strong){color:var(--foreground)}.dark .app-shell :is(.template-validation.valid,.success-banner){background:#203e35;border-color:#588d76;color:#bce5cf}.dark .app-shell :is(.template-validation.invalid,.error-banner){background:#402a2c;border-color:#a26e6c;color:#ffbcb4}.dark .login-panel :is(h1,.login-label-row>span,.login-security a){color:var(--foreground)}.dark .login-panel :is(.login-heading p:last-child,.login-form label,.login-security p,.login-divider){color:var(--muted-foreground)}.dark .login-label-row button{color:var(--accent)}.dark .login-divider span{background:var(--card)}.dark .login-error{background:#402a2c;color:#ffbcb4;border-color:#a26e6c}.dark :is(.brand-lockup img,.login-logo){filter:brightness(0) invert(1)}.dark .workspace-help{background:var(--popover);color:var(--popover-foreground)}.dark .privacy-page{background:var(--background);color:var(--foreground)}.dark .privacy-page article{background:var(--card);border-color:var(--border)}.dark .privacy-page header{border-color:var(--border)}.dark .privacy-page :is(h1,h2){color:var(--foreground)}.dark .privacy-page :is(p,li,article>div){color:var(--muted-foreground)}.dark .app-shell :is(.poa-form-grid label>span,.profile-form-grid label>span,.settings-form-grid label,.pic-contact-grid label>span){color:var(--muted-foreground)}.dark .app-shell :is(.poa-document,.poa-document.active,.poa-upload,.poa-upload.has-file,.settings-channel,.document-profile-summary,.pic-contact-form,.file-summary,.history-report-summary-grid>div,.history-detail-summary>div,.history-document,.upload-zone){background:var(--card);border-color:var(--border);color:var(--foreground)}.dark .app-shell :is(.poa-document,.poa-upload,.settings-channel,.document-profile-summary,.pic-contact-form,.file-summary,.history-report-summary-grid,.history-detail-summary,.history-document,.upload-zone) strong{color:var(--foreground)}.dark .app-shell :is(.poa-document,.poa-upload,.settings-channel,.document-profile-summary,.pic-contact-form,.file-summary,.history-report-summary-grid,.history-detail-summary,.history-document,.upload-zone) :is(p,small),.dark .app-shell :is(.poa-meta span,.poa-scope,.pic-contact-help,.history-report-summary-grid span,.history-detail-summary span,.history-document span){color:var(--muted-foreground)}.dark .app-shell .poa-upload>span{background:var(--muted);color:var(--foreground);box-shadow:inset 0 0 0 1px var(--border)}.dark .app-shell :is(.user-access-record,.user-access-record.inactive,.audit-log-record){background:var(--background);border-color:var(--border);color:var(--foreground)}.dark .app-shell .user-access-record.inactive{opacity:1}.dark .app-shell :is(.user-access-avatar,.audit-log-icon){background:var(--muted);color:var(--foreground)}.dark .app-shell :is(.user-access-avatar.admin,.audit-log-icon.access){color:var(--accent)}.dark .app-shell .audit-log-entity :is(span,strong){color:var(--muted-foreground)}.dark .app-shell :is(.history-card,.listing-card,.workflow-card) [data-slot=table-cell]{color:var(--foreground)}.dark .app-shell :is(.history-card,.listing-card,.workflow-card) [data-slot=table-head]{color:var(--muted-foreground);background:var(--muted)}.dark .app-shell .filter-row :is(input,select){color:var(--foreground);background:var(--background);border-color:var(--input)}.dark .app-shell .filter-row input::placeholder{color:var(--muted-foreground);opacity:1}.dark .history-period-popover{background:var(--popover);color:var(--popover-foreground);border-color:var(--border)}.dark .history-period-presets button{color:var(--foreground)}.dark .history-period-presets button:is(:hover,.active){background:var(--muted);color:var(--accent)}.dark .history-period-range{background:var(--background);border-color:var(--border)}.dark .history-period-range :is(span,svg){color:var(--muted-foreground)}.dark .history-period-range strong{color:var(--foreground)}.dark .history-period-actions{border-color:var(--border)}.dark .app-shell .history-period-trigger small{color:var(--accent)}.dark .app-shell .history-period-trigger{background:var(--card);color:var(--foreground);border-color:var(--input)}.dark .app-shell .history-period-trigger:hover{background:var(--muted)}.dark .app-shell :is(.history-report-card [data-slot=card-header] p:last-child,.history-report-help,.history-empty){color:var(--muted-foreground)}.dark .app-shell :is(.delivery-record-title strong,.delivery-channel-cards strong){color:var(--foreground)}.dark .app-shell :is(.delivery-record-meta span,.delivery-channel-cards span,.delivery-channel-cards small){color:var(--muted-foreground)}.dark .app-shell :is(.delivery-record-icon,.delivery-channel-icon){background:var(--muted);color:var(--accent)}.dark :is(.bottom-note,.action-confirm,.delivery-result,.delivery-options button,.issuance-document,.held-record,.held-review-summary,.held-review-issues,.held-review-confirm,.user-invite-note,.access-change-summary,.settings-locked,.document-profile-summary.incomplete){background:var(--card);border-color:var(--border);color:var(--foreground)}.dark :is(.delivery-options button:hover,.delivery-options button.selected,.held-record.selected,.held-review-confirm.checked,.confirmation-box.checked,.upload-zone:hover,.poa-upload:hover){background:var(--muted);border-color:var(--ring);color:var(--foreground)}.dark :is(.bottom-note p,.bottom-note strong,.bottom-note>svg,.validation-stats strong,.held-row strong,.delivery-options strong,.action-confirm strong,.delivery-result strong,.audit-row strong,.quota-display strong,.pic-contact-heading strong,.generation-progress strong,.admin-row strong,.poa-empty-state strong,.issuance-prerequisites strong,.issuance-document-title strong,.held-record-title strong,.held-review-summary>strong,.held-review-summary b,.held-review-issues>strong,.held-review-confirm strong,.access-change-summary strong,.settings-locked strong){color:var(--foreground)}.dark :is(.workflow-footer,.validation-stats span,.held-row p,.delivery-options small,.delivery-result p,.audit-row span,.quota-display span,.pic-contact-heading span,.profile-signature-upload small,.file-summary span,.generation-progress>div,.admin-guidance p,.profile-form-status,.poa-empty-state p,.issuance-prerequisites span,.issuance-prerequisites small,.issuance-document-main>p,.issuance-document-meta,.delivery-record-meta,.held-record-main>p,.held-record-main>small,.held-review-summary>p,.held-review-summary span,.held-review-issues p,.held-review-note>span,.held-review-confirm p,.user-invite-form label>span,.access-change-summary span,.settings-number-field>span,.settings-locked p){color:var(--muted-foreground)}.dark :is(.score-ring,.flow-step span,.held-row>span,.upload-icon,.file-link,.pending-check,.admin-guidance span,.issuance-check-icon,.held-issue-tags span,.template-placeholder-list code){background:var(--muted);color:var(--foreground);border-color:var(--border)}.dark .flow-step{color:var(--muted-foreground)}.dark :is(.flow-step.current,.flow-step.done,.file-link:hover,.user-invite-note svg,.settings-locked>svg){color:var(--accent)}.dark :is(.flow-step.current span,.flow-step.done span){background:var(--primary);color:var(--primary-foreground)}.dark :is(.issuance-prerequisites .ready,.poa-message.success,.login-success){background:#203e35;border-color:#588d76;color:#bce5cf}.dark :is(.issuance-warning,.issuance-prerequisites .missing,.delivery-record.needs-action,.delivery-channel-cards .disabled){background:#342d20;border-color:#917747;color:#f0d69d}.dark :is(.issuance-warning p,.issuance-prerequisites .missing .issuance-check-icon){color:#f0d69d;background:transparent}.dark :is(.history-report-error,.import-error,.delivery-error,.poa-message.error){background:#402a2c;border-color:#a26e6c;color:#ffbcb4}.dark :is(.profile-form-status.error,.pic-contact-error){color:#ffbcb4}.dark .profile-form-status.success{color:#bce5cf}.dark .success-banner :is(strong,p,svg){color:#bce5cf}.dark :is(.sidebar-close,.profile-row>svg,.step-row svg,.isolation-note svg,.pic-contact-heading>svg,.document-profile-summary>svg,.file-summary>svg,.poa-meta svg,.poa-upload>svg){color:var(--muted-foreground)}.dark :is(.file-link:hover,.fake-button){background:var(--muted);color:var(--foreground)}.dark .check-row.pending span{background:var(--muted);color:var(--muted-foreground)}.dark .login-back{color:var(--accent)}.dark .app-shell :is(.history-card,.listing-card,.workflow-card,.profile-card,.user-access-card,.audit-log-card){background:transparent;border:0}.dark .app-shell .sidebar-nav .navigation-group-toggle{color:var(--muted-foreground)}.dark .app-shell .sidebar-nav .navigation-items button.active{border-left-color:var(--primary)}.dark .app-shell .flow-step{background:transparent;color:var(--foreground)}.dark .app-shell .flow-step.current>span{background:var(--primary);color:var(--primary-foreground)}.dark .app-shell .flow-step strong{color:var(--muted-foreground)}.dark .app-shell .flow-step.current strong{color:var(--foreground)}