:root{color-scheme:light;--portal-bg: #f4f7fb;--portal-surface: #ffffff;--portal-border: #dbe3ef;--portal-text: #0f172a;--portal-muted: #64748b;--portal-accent: #2563eb;--portal-accent-soft: #eff6ff;--portal-success: #15803d;--portal-error: #b91c1c;--portal-shadow: 0 10px 30px rgba(15, 23, 42, .06);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:var(--portal-text);background:var(--portal-bg)}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--portal-bg)}a{color:var(--portal-accent)}button,input,textarea{font:inherit}.portal-app{min-height:100vh}.portal-header{background:#ffffffeb;border-bottom:1px solid var(--portal-border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);position:sticky;top:0;z-index:10}.portal-header-inner{max-width:960px;margin:0 auto;padding:1rem 1.5rem;display:grid;grid-template-columns:1fr auto auto;gap:1rem;align-items:center}.portal-header-brand{display:flex;align-items:center;gap:.85rem;min-width:0}.portal-header-logo{width:40px;height:40px;object-fit:contain;flex-shrink:0}.portal-brand{margin:.15rem 0 0;font-size:1.35rem}.portal-nav{display:flex;gap:.75rem}.portal-nav a{text-decoration:none;color:var(--portal-muted);padding:.45rem .85rem;border-radius:999px}.portal-nav a.active{background:var(--portal-accent-soft);color:var(--portal-accent);font-weight:600}.portal-logout{border:1px solid var(--portal-border);background:var(--portal-surface);color:var(--portal-text);border-radius:999px;padding:.45rem .9rem;cursor:pointer}.portal-main,.portal-page,.portal-auth-page{max-width:960px;margin:0 auto;padding:2rem 1.5rem 3rem}.portal-auth-page{min-height:100vh;display:grid;place-items:center}.portal-auth-card{width:min(100%,440px)}.portal-auth-logo{width:120px;height:auto;display:block;margin:0 auto 1rem}.portal-card{background:var(--portal-surface);border:1px solid var(--portal-border);border-radius:18px;box-shadow:var(--portal-shadow);padding:1.5rem}.portal-hero-card{margin-bottom:1.25rem}.portal-stack{display:grid;gap:1rem}.portal-eyebrow{margin:0 0 .35rem;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--portal-muted);font-weight:700}.portal-lead,.portal-meta,.portal-muted{color:var(--portal-muted)}.portal-lead{font-size:1.05rem;margin-top:.75rem}.portal-meta{margin-top:1rem;font-size:.95rem}.portal-form{display:grid;gap:1rem;margin-top:1rem}.portal-form label{display:grid;gap:.4rem;font-weight:500}.portal-field-label{display:inline-block}.portal-form input:not([type=checkbox]):not([type=radio]),.portal-form textarea{border:1px solid var(--portal-border);border-radius:12px;padding:.75rem .9rem;background:#fff;width:100%}.portal-form button,.portal-step-actions button{border:none;border-radius:12px;background:var(--portal-accent);color:#fff;padding:.8rem 1rem;font-weight:600;cursor:pointer}.portal-form button:disabled,.portal-step-actions button:disabled{opacity:.65;cursor:not-allowed}.portal-checkbox{display:flex!important;align-items:flex-start;gap:.65rem;font-weight:400!important}.portal-error{color:var(--portal-error);margin:0}.portal-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.25rem .65rem;font-size:.82rem;background:#eef2ff;color:#3730a3;white-space:nowrap}.portal-badge-success{background:#ecfdf3;color:var(--portal-success)}.portal-document-header,.portal-step-header,.portal-step-title-row{display:flex;gap:1rem;align-items:flex-start}.portal-step-layout{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:1rem;align-items:start}.portal-step-content{min-width:0}.portal-step-content h3{margin:0 0 .35rem}.portal-step-title-row{justify-content:space-between;width:100%}.portal-step-title-row>div:first-child{flex:1;min-width:0}.portal-form-note{margin:0 0 .25rem;font-size:.92rem}.portal-approval-summary{margin-top:1rem;padding:.9rem 1rem;border:1px solid var(--portal-border);border-radius:12px;background:#f8fafc}.portal-approval-summary p{margin:0}.portal-approval-summary p+p{margin-top:.35rem}.portal-required-mark{color:var(--portal-error);font-weight:700;margin-left:.2rem}.portal-document-preview{width:100%;min-height:420px;border:1px solid var(--portal-border);border-radius:12px;margin:1rem 0}.portal-callout,.portal-action-callout{background:var(--portal-accent-soft);border-left:4px solid var(--portal-accent)}.portal-step-number{width:2rem;height:2rem;border-radius:999px;display:inline-grid;place-items:center;background:var(--portal-accent);color:#fff;font-weight:700;flex-shrink:0}.portal-step-list ol{margin:.5rem 0 0;padding-left:1.2rem}.portal-step-actions,.portal-auto-note{margin-top:1rem}.portal-dashboard-placeholder{min-height:280px;display:grid;align-content:center}.portal-auth-footer{margin-top:1rem}.portal-button-link{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:var(--portal-accent);color:#fff;padding:.8rem 1rem;font-weight:600;text-decoration:none}@media(max-width:760px){.portal-header-inner{grid-template-columns:1fr}.portal-nav{flex-wrap:wrap}}
