.app-shell{--bg:#f4f3ee;--surface:#fff;--surface-2:#f7f6f2;--line:#e3e2da;--line-strong:#cbcac0;--ink:#17241f;--ink-2:#3f4d46;--ink-3:#5c6862;--brand:#2c6a48;--brand-hover:#22573a;--brand-soft:#e5efe6;--brand-ink:#1d5134;--side:#15291f;--side-ink:#dbe6df;--side-muted:#a2b5aa;--amber:#82500a;--amber-soft:#fbf0d8;--amber-line:#ecd6a4;--red:#9f372c;--red-soft:#fbe8e5;--radius:12px;--radius-sm:8px;--shadow:0 1px 2px #17241f0d, 0 6px 16px -10px #17241f24;--shadow-lg:0 24px 60px -16px #0f1a1559;--focus:0 0 0 3px #2c6a4852;--ease:cubic-bezier(.16, 1, .3, 1);background:var(--bg);min-height:100vh;color:var(--ink);font-family:var(--font-ui), "Segoe UI", system-ui, sans-serif;font-size:var(--text-body);-webkit-font-smoothing:antialiased;line-height:1.5;display:flex}html:has(.app-shell){scrollbar-gutter:stable}.app-shell *,.app-shell :before,.app-shell :after{box-sizing:border-box}.app-shell :is(h1,h2,h3,p,ol,ul){margin:0}.app-shell :is(button,input,select,textarea){font:inherit;color:inherit}.app-shell button{cursor:pointer}.app-shell :is(button,a,input,select,textarea,summary):focus-visible{box-shadow:var(--focus);outline:none}.app-shell a{color:var(--brand-ink)}.app-shell small{font-size:var(--text-small);color:var(--ink-3)}.app-shell strong{font-weight:600}.app-shell .visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app-shell .mono{font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:var(--text-small)}.app-shell .sidebar{z-index:40;background:var(--side);height:100vh;color:var(--side-ink);flex-direction:column;flex:0 0 248px;padding:24px 16px 16px;display:flex;position:sticky;top:0}.app-shell .brand-lockup{padding:0 12px 28px}.app-shell .brand-heading{align-items:center;gap:12px;display:flex}.app-shell .brand-mark{font-family:var(--font-display), Georgia, serif;letter-spacing:-.02em;color:#fff;font-size:23px;font-weight:600;line-height:1.1}.app-shell .brand-subtitle{font-size:var(--text-small);color:var(--side-muted);margin-top:4px}.app-shell .sidebar-scroll{gap:24px;display:grid;overflow-y:auto}.app-shell .sidebar-label{font-size:var(--text-small);letter-spacing:0;color:var(--side-muted);padding:0 12px 8px;font-weight:600}.app-shell .primary-nav{gap:2px;display:grid}.app-shell .nav-item{border-radius:var(--radius-sm);width:100%;min-height:40px;color:var(--side-ink);font-size:var(--text-body);text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:8px 12px;font-weight:500;transition:background-color .15s,color .15s;display:flex}.app-shell .nav-item svg{color:var(--side-muted);flex:none;transition:color .15s}.app-shell .nav-item:hover{color:#fff;background:#ffffff12}.app-shell .nav-item.active{color:#fff;background:#ffffff1f;font-weight:600}.app-shell .nav-item.active svg{color:#b9dcb1}.app-shell .nav-count{color:#fff;min-width:24px;font-size:var(--text-small);text-align:center;font-variant-numeric:tabular-nums;background:#ffffff21;border-radius:999px;margin-left:auto;padding:1px 8px;font-weight:600}.app-shell .sidebar-spacer{flex:1;min-height:16px}.app-shell .account-chip{border-radius:var(--radius);background:#ffffff0f;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 12px;padding:12px;display:grid}.app-shell .account-chip>div:nth-child(2){min-width:0}.app-shell .account-chip strong,.app-shell .account-chip small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.app-shell .account-chip strong{color:#fff;font-size:var(--text-body)}.app-shell .account-chip small{color:var(--side-muted)}.app-shell .account-chip .avatar{color:#e3efe6;background:#2c4a3b}.app-shell .account-chip .saving-dot,.app-shell .account-chip .text-button{grid-column:1/-1}.app-shell .saving-dot{font-size:var(--text-small);color:#cfe5c9}.app-shell .account-chip .text-button{color:var(--side-muted);justify-self:start;margin-top:4px;font-weight:600}.app-shell .account-chip .text-button:hover{color:#fff}.app-shell .workspace{flex:1;min-width:0}.app-shell .topbar{z-index:30;background:var(--bg);border-bottom:1px solid var(--line);align-items:center;gap:16px;min-height:64px;padding:12px max(40px,50% - 620px);display:flex;position:sticky;top:0}.app-shell .mobile-menu{display:none}.app-shell .crumb{min-width:0;font-size:var(--text-body);color:var(--ink-3);align-items:center;gap:8px;display:flex}.app-shell .crumb span{color:var(--line-strong)}.app-shell .crumb strong{color:var(--ink);font-weight:600}.app-shell .crumb-org{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--ink-3)!important}.app-shell .topbar-actions{align-items:center;gap:12px;margin-left:auto;display:flex}.app-shell .topbar-search{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);width:240px;height:40px;color:var(--ink-3);font-size:var(--text-body);align-items:center;gap:12px;padding:0 12px;transition:border-color .15s;display:inline-flex}.app-shell .topbar-search:hover{border-color:var(--ink-3)}.app-shell .content{align-content:start;gap:24px;width:100%;max-width:1320px;margin-inline:auto;padding:32px 40px 72px;display:grid}.app-shell .page-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 24px;display:flex}.app-shell .page-heading h1{font-family:var(--font-display), Georgia, serif;letter-spacing:-.02em;font-size:34px;font-weight:600;line-height:1.12}.app-shell .lede{max-width:62ch;font-size:var(--text-body);color:var(--ink-2);margin-top:8px}.app-shell .heading-actions{flex-wrap:wrap;gap:12px;display:flex}.app-shell .panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0;box-shadow:var(--shadow);padding:20px 24px}.app-shell .panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px 16px;display:flex}.app-shell .panel-heading h2,.app-shell .panel>h2,.app-shell .panel>div>h2{font-size:var(--text-body);font-weight:600;line-height:1.3}.app-shell .panel-heading p{max-width:64ch;font-size:var(--text-small);color:var(--ink-3);margin-top:4px}.app-shell .button{border-radius:var(--radius-sm);min-height:40px;font-size:var(--text-body);text-align:center;white-space:nowrap;cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:8px 16px;font-weight:600;line-height:1.25;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s;display:inline-flex}.app-shell .button svg{flex:none}.app-shell .button.primary{background:var(--brand);color:#fff;box-shadow:0 1px 2px #17241f2e}.app-shell .button.primary:hover{background:var(--brand-hover)}.app-shell .button.secondary{background:var(--surface);border-color:var(--line-strong);color:var(--ink)}.app-shell .button.secondary:hover{background:var(--surface-2);border-color:var(--ink-3)}.app-shell .button:active{transform:translateY(1px)}.app-shell .button:disabled,.app-shell .button[aria-disabled=true]{opacity:.5;cursor:not-allowed;transform:none}.app-shell .button.full{width:100%}.app-shell label.button{display:inline-flex}.app-shell .text-button{color:var(--brand-ink);font-size:var(--text-body);white-space:nowrap;background:0 0;border:0;align-items:center;gap:8px;padding:4px 0;font-weight:600;display:inline-flex}.app-shell .text-button:hover{text-underline-offset:3px;text-decoration:underline}.app-shell .icon-button{border-radius:var(--radius-sm);width:40px;height:40px;color:var(--ink-2);background:0 0;border:0;flex:none;place-items:center;transition:background-color .15s;display:inline-grid}.app-shell .icon-button:hover{background:var(--surface-2);color:var(--ink)}.app-shell :where(label:not(.button):not(.check-label)){font-size:var(--text-small);color:var(--ink-2);gap:8px;font-weight:600;display:grid}.app-shell :where(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:42px;color:var(--ink);font-size:var(--text-body);padding:8px 12px;font-weight:400;transition:border-color .15s,box-shadow .15s}.app-shell :is(input,select,textarea):hover:not(:disabled){border-color:var(--ink-3)}.app-shell :is(input,select,textarea):focus{border-color:var(--brand);box-shadow:var(--focus);outline:none}.app-shell :is(input,textarea)::placeholder{color:var(--ink-3)}.app-shell :is(input,select,textarea):disabled{background:var(--surface-2);color:var(--ink-3)}.app-shell select:not([multiple]){appearance:none;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%233f4d46' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:40px}@supports (appearance:base-select){.app-shell select:not([multiple]){appearance:base-select}.app-shell select:not([multiple])::picker(select){appearance:base-select}.app-shell select:not([multiple]){white-space:nowrap;text-overflow:ellipsis;background-image:none;line-height:24px;display:block;position:relative;overflow:hidden}.app-shell select:not([multiple])::picker-icon{content:"";background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%233f4d46' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") right 12px center no-repeat, linear-gradient(to right, transparent, var(--surface) 14px);border-radius:0 7px 7px 0;width:44px;height:auto;position:absolute;top:1px;bottom:1px;right:1px}.app-shell select:not([multiple]):disabled::picker-icon{background-color:var(--surface-2)}.app-shell select:not([multiple]):open{border-color:var(--brand);box-shadow:var(--focus)}.app-shell select:not([multiple])::picker(select){min-width:anchor-size(width);border:1px solid var(--line);background:var(--surface);opacity:1;max-height:min(360px,60vh);transition:opacity .15s, translate .15s var(--ease), overlay .15s allow-discrete, display .15s allow-discrete;border-radius:10px;margin-block:8px;padding:8px;box-shadow:0 16px 40px -12px #0f1a1547,0 2px 6px #0f1a150f}@starting-style{.app-shell select:not([multiple]):open::picker(select){opacity:0;translate:0 -4px}}.app-shell select:not([multiple]) option{min-height:38px;color:var(--ink);font-size:var(--text-body);cursor:pointer;border-radius:7px;align-items:center;gap:12px;padding:8px 12px;display:flex}.app-shell select:not([multiple]) option:hover,.app-shell select:not([multiple]) option:focus-visible{background:var(--surface-2);outline:none}.app-shell select:not([multiple]) option:checked{background:var(--brand-soft);color:var(--brand-ink);font-weight:600}.app-shell select:not([multiple]) option::checkmark{color:var(--brand);order:1;margin-left:auto}}.app-shell select[multiple]{min-height:132px;padding:8px}.app-shell select[multiple] option{border-radius:6px;padding:8px}.app-shell textarea{resize:vertical;min-height:96px}.app-shell input[type=date]{font-variant-numeric:tabular-nums}.app-shell input[type=checkbox]{width:18px;height:18px;accent-color:var(--brand);cursor:pointer;flex:none;margin:2px 0 0}.app-shell .check-label{font-size:var(--text-body);color:var(--ink);cursor:pointer;align-items:flex-start;gap:12px;font-weight:500;display:flex}.app-shell .form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:end;gap:16px;display:grid}.app-shell .field-note,.app-shell .field-error{border:1px solid var(--amber-line);border-radius:var(--radius-sm);background:var(--amber-soft);color:var(--amber);font-size:var(--text-small);padding:8px 12px;font-weight:500;display:block}.app-shell .field-error{background:var(--red-soft);color:var(--red);border-color:#efc4bd}.app-shell .legal-note{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);font-size:var(--text-small);color:var(--ink-2);padding:12px 16px}.app-shell .legal-note code{font-size:var(--text-small);overflow-wrap:anywhere}.app-shell .status-pill{width:fit-content;min-height:26px;color:var(--ink-2);font-size:var(--text-small);white-space:nowrap;background:#eceee8;border-radius:999px;align-items:center;gap:8px;padding:2px 12px;font-weight:600;line-height:1.3;display:inline-flex}.app-shell .status-dot{opacity:.75;background:currentColor;border-radius:50%;flex:none;width:7px;height:7px}.app-shell .status-pill.good{background:var(--brand-soft);color:var(--brand-ink)}.app-shell .status-pill.warn{background:var(--amber-soft);color:var(--amber)}.app-shell .status-pill.danger{background:var(--red-soft);color:var(--red)}.app-shell .avatar{background:var(--brand-soft);width:36px;height:36px;color:var(--brand-ink);font-size:var(--text-small);letter-spacing:0;border-radius:50%;flex:none;place-items:center;font-weight:600;display:grid}.app-shell .avatar.small{width:32px;height:32px;font-size:var(--text-small)}.app-shell .avatar.large{width:46px;height:46px;font-size:var(--text-body)}.app-shell .form-progress{align-items:center;gap:12px;display:inline-flex}.app-shell .form-progress-track{gap:4px;width:120px;display:flex}.app-shell .table-progress .form-progress-track{width:96px}.app-shell .form-progress-track span{background:#e2e3db;border-radius:3px;flex:1;height:6px}.app-shell .form-progress-track span.on{background:var(--brand)}.app-shell .form-progress small{font-size:var(--text-small);color:var(--ink-2);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:500}.app-shell .empty-state{text-align:center;justify-items:center;gap:8px;padding:44px 20px;display:grid}.app-shell .empty-state>svg{background:var(--surface-2);width:44px;height:44px;color:var(--ink-3);border-radius:50%;margin-bottom:4px;padding:12px}.app-shell .empty-state h3{font-size:var(--text-body);font-weight:600}.app-shell .empty-state p{max-width:44ch;font-size:var(--text-body);color:var(--ink-3)}.app-shell .empty-state .button{margin-top:8px}.app-shell .empty-copy{font-size:var(--text-body);color:var(--ink-3);padding:16px 0 4px}.app-shell .toast{z-index:90;border-radius:var(--radius);background:var(--ink);color:#fff;max-width:min(560px,100vw - 32px);font-size:var(--text-body);box-shadow:var(--shadow-lg);animation:ws-toast .28s var(--ease);align-items:center;gap:12px;padding:12px 20px;font-weight:500;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.app-shell .toast svg{color:#9fd49a;flex:none}@keyframes ws-toast{0%{opacity:0;transform:translate(-50%,12px)}}.app-shell .workspace-skeleton{gap:16px;display:grid}.app-shell :is(.skeleton-line,.skeleton-block){background:linear-gradient(90deg,#e9e8e1 0%,#f3f2ec 40%,#e9e8e1 80%) 0 0/300% 100%;border-radius:8px;animation:1.4s ease-in-out infinite ws-shimmer;display:block}.app-shell .skeleton-line{width:min(420px,70%);height:16px}.app-shell .skeleton-line.title{width:min(240px,55%);height:36px;margin-bottom:4px}.app-shell .skeleton-block{border-radius:var(--radius);height:260px}.app-shell .skeleton-block.short{height:88px;margin-top:12px}.app-shell .skeleton-row{grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr);gap:20px;margin-top:12px;display:grid}.app-shell .account-chip .skeleton-line{background-color:#ffffff1a;background-image:none;width:70%;height:14px}.app-shell .account-chip .avatar:empty{background:#ffffff1a}@keyframes ws-shimmer{to{background-position:-150% 0}}.app-shell .dashboard-overview{gap:24px;display:grid}.app-shell .summary-strip{border:1px solid var(--line);border-radius:var(--radius);background:var(--line);box-shadow:var(--shadow);grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.app-shell .summary-strip button{background:var(--surface);text-align:left;border:0;align-content:start;gap:2px;padding:16px 20px;transition:background-color .15s;display:grid}.app-shell .summary-strip button:hover{background:var(--surface-2)}.app-shell .summary-strip strong{letter-spacing:-.01em;font-variant-numeric:tabular-nums;font-size:28px;font-weight:600;line-height:1.15}.app-shell .summary-strip span{font-size:var(--text-small);color:var(--ink-2);font-weight:500}.app-shell .summary-strip .zero strong{color:var(--ink-3)}.app-shell .summary-strip .attention{background:var(--amber-soft)}.app-shell .summary-strip .attention:hover{background:#f7e7c2}.app-shell .summary-strip .attention strong,.app-shell .summary-strip .attention span{color:var(--amber)}.app-shell .overview-grid{grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr);align-items:start;gap:20px;display:grid}.app-shell .active-jobs-panel{padding:0}.app-shell .active-jobs-panel>.panel-heading{padding:20px 24px 16px}.app-shell .overview-jobs{display:grid}.app-shell .overview-job{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px 20px;padding:20px 24px;display:grid}.app-shell .overview-job-open{text-align:left;background:0 0;border:0;gap:4px;min-width:0;padding:0;display:grid}.app-shell .overview-job-open strong{font-size:var(--text-body)}.app-shell .overview-job-open:hover strong{color:var(--brand-ink);text-underline-offset:3px;text-decoration:underline}.app-shell .overview-job-open small{font-size:var(--text-small)}.app-shell .job-note{background:var(--amber-soft);width:fit-content;color:var(--amber);font-size:var(--text-small);border-radius:6px;padding:2px 12px;font-weight:600}.app-shell .overview-job-main{gap:16px;min-width:0;display:grid}.app-shell .overview-job-title{flex-wrap:wrap;align-items:center;gap:4px 12px;display:flex}.app-shell .overview-job-title .status-pill{min-height:26px;padding-block:2px;font-size:.875rem}.app-shell .overview-job-progress{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.app-shell .overview-next{text-align:left;white-space:normal;justify-content:space-between;min-width:250px;min-height:52px;padding:8px 16px}.app-shell .overview-next span{font-size:var(--text-body);gap:1px;display:grid}.app-shell .overview-next small{font-size:var(--text-small);font-weight:500}.app-shell .activity-panel{gap:16px;display:grid}.app-shell .activity-list{padding:0;list-style:none;display:grid}.app-shell .activity-list li{border-top:1px solid var(--line);gap:1px;padding:12px 0 12px 20px;display:grid;position:relative}.app-shell .activity-list li:first-child{border-top:0}.app-shell .activity-list li:before{content:"";background:var(--brand);border-radius:50%;width:8px;height:8px;position:absolute;top:18px;left:2px}.app-shell .activity-list strong{font-size:var(--text-body)}.app-shell .activity-list time{font-size:var(--text-small);color:var(--ink-3)}.app-shell .toolbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.app-shell .search-field{flex:280px;position:relative}.app-shell .search-field svg{color:var(--ink-3);pointer-events:none;position:absolute;top:50%;left:13px;transform:translateY(-50%)}.app-shell .search-field input{padding-left:40px}.app-shell .segmented{border:1px solid var(--line);background:#ebeae3;border-radius:10px;flex-wrap:wrap;gap:2px;padding:4px;display:inline-flex}.app-shell .segmented button{min-height:34px;color:var(--ink-2);font-size:var(--text-small);background:0 0;border:0;border-radius:7px;align-items:center;gap:8px;padding:4px 12px;font-weight:600;transition:background-color .15s,color .15s;display:inline-flex}.app-shell .segmented button:hover{color:var(--ink)}.app-shell .segmented button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #17241f1f}.app-shell .segmented button span{font-size:var(--text-small);color:var(--ink-3);font-variant-numeric:tabular-nums}.app-shell .bulk-bar{border-radius:var(--radius);background:var(--brand-soft);font-size:var(--text-body);border:1px solid #c6dccb;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px;display:flex}.app-shell .bulk-bar>span{color:var(--brand-ink);margin-right:auto;font-weight:600}.app-shell .bulk-bar select{width:auto;min-width:180px}.app-shell .table-panel{padding:0;overflow:hidden}.app-shell .table-panel>.bulk-bar{border-width:0 0 1px;border-radius:0}.app-shell .table-head{border-bottom:1px solid var(--line);background:var(--surface-2);font-size:var(--text-small);color:var(--ink-3);align-items:center;gap:16px;padding:12px 20px;font-weight:600;display:grid}.app-shell .job-table-row{border-top:1px solid var(--line);align-items:center;gap:16px;padding:16px 20px;transition:background-color .15s;display:grid}.app-shell .job-head+.job-table-row{border-top:0}.app-shell .job-table-row:hover{background:var(--surface-2)}.app-shell .job-row-open{text-align:left;background:0 0;border:0;gap:2px;min-width:0;padding:0;display:grid}.app-shell .job-row-open strong{font-size:var(--text-body)}.app-shell .job-row-open:hover strong{color:var(--brand-ink);text-underline-offset:3px;text-decoration:underline}.app-shell .job-row-open small{text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-small);overflow:hidden}.app-shell .job-table-row>span:not(.status-pill){font-size:var(--text-body);font-variant-numeric:tabular-nums;font-weight:500;display:grid}.app-shell .credential-row{border-top:1px solid var(--line);font-size:var(--text-body);grid-template-columns:minmax(0,1fr) 130px 180px 220px;align-items:center;gap:16px;padding:20px 28px;display:grid}.app-shell .credential-list>.credential-row:first-child{border-top:0}.app-shell .credential-row>*{min-width:0}.app-shell .credential-person{align-items:center;gap:12px;display:flex}.app-shell .credential-person strong,.app-shell .credential-person small{overflow-wrap:anywhere;display:block}.app-shell .credential-person small{color:var(--ink-3);font-size:var(--text-small)}.app-shell .credential-row>.status-pill{justify-self:start}.app-shell .credential-expiry{font-size:var(--text-small);color:var(--ink-3);gap:4px;display:grid}.app-shell .credential-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 20px;display:flex}.app-shell .credential-actions .text-button{min-height:40px}.app-shell .waiting-file{align-items:center}.app-shell .credential-hint{font-size:var(--text-small);color:var(--ink-3)}@media (max-width:900px){.app-shell .credential-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px}.app-shell .credential-row>.status-pill{place-self:start end}.app-shell .credential-row>:is(.credential-expiry,.credential-actions,span:empty){grid-column:1/-1}.app-shell .credential-row>span:empty{display:none}.app-shell .credential-actions{justify-content:flex-start}.app-shell .credential-actions>.button{width:100%}}.app-shell .extraction-panel{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 24px;display:flex}.app-shell .extraction-panel>div:first-child{flex:520px;gap:12px;display:grid}.app-shell .extraction-panel p{font-size:var(--text-body);color:var(--ink-2)}.app-shell .audit-history{gap:4px;display:grid}.app-shell .audit-history>.panel-heading{padding-bottom:8px}.app-shell .audit-event{border-top:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding:12px 0;display:flex}.app-shell .audit-event>span:not(.status-pill){flex:1;gap:2px;min-width:0;display:grid}.app-shell .audit-event>:is(.status-pill,.text-button){flex:none}.app-shell .audit-event strong{font-size:var(--text-body);overflow-wrap:anywhere}.app-shell .audit-value{background:var(--surface-2);max-width:48%;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:var(--text-small);color:var(--ink-2);overflow-wrap:anywhere;border-radius:6px;padding:8px 12px}.app-shell .import-table{border-collapse:collapse;width:100%;font-size:var(--text-small)}.app-shell .import-table :is(th,td){border-top:1px solid var(--line);text-align:left;padding:8px 12px}.app-shell .import-table th{color:var(--ink-3);background:var(--surface-2);font-weight:600}.app-shell .people-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;display:grid}.app-shell .person-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);align-content:start;gap:4px;padding:20px;display:grid}.app-shell .person-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.app-shell .person-top .status-pill{white-space:normal;flex-shrink:1;min-width:0}.app-shell .person-card h2{font-size:var(--text-body);font-weight:600}.app-shell .person-card>p{font-size:var(--text-small);color:var(--ink-3);overflow-wrap:anywhere}.app-shell .person-meta{border-top:1px solid var(--line);margin-top:12px;padding-top:16px}.app-shell .person-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.app-shell .local-import-note{font-size:var(--text-body);color:var(--brand-ink);align-items:center;gap:8px;display:flex}.app-shell .records-layout{grid-template-columns:292px minmax(0,1fr);align-items:start;gap:28px;display:grid}.app-shell .records-rail{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);max-height:calc(100vh - 104px);box-shadow:var(--shadow);gap:16px;padding:20px;display:grid;position:sticky;top:88px;overflow-y:auto}.app-shell .rail-job{gap:8px;display:grid}.app-shell .rail-job>span:first-child{gap:2px;display:grid}.app-shell .rail-job strong{font-size:var(--text-body)}.app-shell .records-rail .form-progress-track{flex:1;width:auto}.app-shell .records-rail .form-progress{display:flex}.app-shell .rail-next,.app-shell .overview-next{text-align:left}.app-shell .rail-next{white-space:normal;justify-content:space-between;min-height:54px;padding:8px 16px}.app-shell .rail-next span{gap:1px;display:grid}.app-shell .rail-next small{color:#cfe3d4;font-size:var(--text-small);font-weight:500}.app-shell .form-jump{border-top:1px solid var(--line);gap:1px;padding-top:12px;display:grid}.app-shell .form-jump button{border-radius:var(--radius-sm);width:100%;color:var(--ink-2);font-size:var(--text-small);text-align:left;background:0 0;border:0;align-items:flex-start;gap:12px;padding:8px 12px;font-weight:500;line-height:1.35;transition:background-color .15s,color .15s;display:flex}.app-shell .form-jump button:hover{background:var(--surface-2);color:var(--ink)}.app-shell .form-jump button svg{flex:none;margin-top:1px}.app-shell .form-jump button.done{color:var(--ink-3)}.app-shell .form-jump button.done svg{color:var(--brand)}.app-shell .form-jump button.done.warn svg{color:var(--amber)}.app-shell .form-jump .jump-warn{color:var(--amber);font-size:.8125rem;font-weight:500;display:block}.app-shell .form-jump button.current{background:var(--brand-soft);color:var(--brand-ink);font-weight:600}.app-shell .jump-dot{border:1.5px solid var(--line-strong);border-radius:50%;flex:none;width:14px;height:14px;margin-top:2px}.app-shell .form-jump button.current .jump-dot{border-color:var(--brand)}.app-shell .records-main{gap:16px;max-width:780px;display:grid}.app-shell .records-grid,.app-shell .records-stack{display:contents}.app-shell .mini-form{align-content:start;gap:16px;scroll-margin-top:88px;display:grid}.app-shell .mini-form>.button{justify-self:start}.app-shell .mini-form>small{font-size:var(--text-small)}.app-shell .mini-form:has(>.panel-heading .status-pill.good){border-color:#cfe1d3}.app-shell .mini-form.form-focus{animation:ws-focus 1.6s var(--ease)}@keyframes ws-focus{0%,35%{border-color:var(--brand);box-shadow:0 0 0 4px #2c6a4838, var(--shadow)}}.app-shell .finish-steps{gap:8px;padding:0;list-style:none;display:grid}.app-shell .finish-steps li{font-size:var(--text-body);padding-left:28px;position:relative}.app-shell .finish-steps li:before{content:"";background:var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231d5134' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center no-repeat;border-radius:50%;width:18px;height:18px;position:absolute;top:2px;left:0}.app-shell .mini-form .drawer-checklist{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;display:grid;overflow:hidden}.app-shell .mini-form .drawer-checklist .check-label{border-top:1px solid var(--line);padding:12px 16px}.app-shell .mini-form .drawer-checklist .check-label:first-child{border-top:0}.app-shell .mini-form .drawer-checklist .check-label:hover{background:#f0efe8}.app-shell .mini-form .drawer-checklist .check-label:has(input:checked) span{color:var(--ink-3)}.app-shell .signature-panel .legal-note{font-family:var(--font-display), Georgia, serif;font-size:var(--text-body);color:var(--ink)}.app-shell .packet-cover{gap:20px;padding:24px 28px;display:grid}.app-shell .packet-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 32px;display:flex}.app-shell .packet-title{flex:320px;min-width:0}.app-shell .packet-picker{flex:0 340px;min-width:min(100%,240px)}.app-shell .packet-title h2{font-family:var(--font-display), Georgia, serif;letter-spacing:-.01em;overflow-wrap:anywhere;font-size:30px;font-weight:600;line-height:1.15}.app-shell .packet-title p{font-size:var(--text-body);color:var(--ink-3);margin-top:8px}.app-shell .packet-progress{border-top:1px solid var(--line);gap:8px;padding-top:20px;display:grid}.app-shell .packet-progress-top{font-size:var(--text-body);font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.app-shell .packet-progress .progress-track{height:10px}.app-shell .packet-progress small{font-size:var(--text-small);color:var(--ink-3)}.app-shell .packet-cover>.field-note{margin:0}.app-shell .packet-facts{border:1px solid var(--line);background:var(--line);border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0;display:grid;overflow:hidden}.app-shell .packet-facts>div{background:var(--surface-2);flex-direction:column;justify-content:space-between;gap:4px;padding:16px 20px;display:flex}.app-shell .packet-facts dt{letter-spacing:0;color:var(--ink-3);font-size:.8125rem;font-weight:600}.app-shell .packet-facts dd{font-size:var(--text-body);color:var(--ink);overflow-wrap:anywhere;margin:0;font-weight:600}.app-shell .packet-list{margin:8px 0 0;padding:0;list-style:none;display:grid}.app-shell .packet-row{border-top:1px solid var(--line);grid-template-columns:24px minmax(0,1fr) auto;align-items:start;gap:4px 16px;padding:16px 0;display:grid}.app-shell .packet-row>div{gap:4px;min-width:0;display:grid}.app-shell .packet-row>div>.field-note{width:fit-content;max-width:100%;margin-top:4px}.app-shell .packet-row strong{font-size:var(--text-body);font-weight:600;line-height:1.4}.app-shell .packet-row p{font-size:var(--text-body);color:var(--ink-2);overflow-wrap:anywhere;line-height:1.5}.app-shell .packet-mark{border:2px solid var(--line-strong);width:22px;height:22px;color:var(--ink-3);border-radius:50%;place-items:center;margin-top:1px;display:grid}.app-shell .packet-row.done .packet-mark{border-color:var(--brand);background:var(--brand);color:#fff}.app-shell .packet-row.open .packet-mark{border-color:var(--amber);background:var(--amber-soft);border-style:dashed}.app-shell .packet-row.info .packet-mark{background:var(--surface-2);border-color:#0000}.app-shell .packet-status{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 16px;display:flex}.app-shell .packet-status .text-button{min-height:32px}.app-shell .packet-row details,.app-shell .history-list details{font-size:var(--text-small);color:var(--ink-2)}.app-shell .packet-row summary,.app-shell .history-list summary,.app-shell .history-toggle>summary{cursor:pointer;width:fit-content;color:var(--brand-ink);font-weight:600}.app-shell .packet-row details ul{gap:4px;margin:8px 0 0;padding-left:20px;line-height:1.45;display:grid}.app-shell .packet-row details li.done,.app-shell .packet-row details li.open{list-style:none;position:relative}.app-shell .packet-row details li.done:before,.app-shell .packet-row details li.open:before{font-weight:600;position:absolute;left:-18px}.app-shell .packet-row details li.done:before{content:"✓";color:var(--brand)}.app-shell .packet-row details li.open:before{content:"○";color:var(--amber)}.app-shell .history-filters{grid-template-columns:200px minmax(0,320px);gap:12px;margin:12px 0 4px;display:grid}.app-shell .history-list{margin:8px 0 0;padding:0;list-style:none;display:grid}.app-shell .history-list .audit-event{border:0;gap:4px;padding:12px 0 16px 28px;display:grid;position:relative}.app-shell .history-list .audit-event:before{content:"";background:var(--brand);width:10px;height:10px;box-shadow:0 0 0 3px var(--brand-soft);border-radius:50%;position:absolute;top:17px;left:5px}.app-shell .history-list .audit-event:not(:last-child):after{content:"";background:var(--line);width:2px;position:absolute;top:32px;bottom:-12px;left:9px}.app-shell .history-list .audit-event small{font-size:var(--text-small);color:var(--ink-3)}.app-shell .audit-detail{border:1px solid var(--line);border-radius:8px;gap:0;margin:12px 0 0;display:grid;overflow:hidden}.app-shell .audit-detail>div{border-top:1px solid var(--line);font-size:var(--text-small);grid-template-columns:minmax(120px,34%) minmax(0,1fr);gap:12px;padding:8px 12px;display:grid}.app-shell .audit-detail>div:first-child{border-top:0}.app-shell .audit-detail>div:nth-child(odd){background:var(--surface-2)}.app-shell .audit-detail dt{color:var(--ink-3)}.app-shell .audit-detail dd{color:var(--ink);overflow-wrap:anywhere;grid-column:2;margin:0}.app-shell .portal-layout{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.app-shell .portal-card{gap:16px;display:grid}.app-shell .portal-card>summary{cursor:pointer;color:var(--brand-ink);font-weight:600}.app-shell .document-preview{background:#fbf7ec;border:1px solid #e8dcbc;border-radius:10px;gap:8px;padding:16px 20px;display:grid}.app-shell .document-preview h2{font-size:var(--text-body);font-weight:600}.app-shell .document-preview small{color:#7a5c1c;font-weight:600}.app-shell .document-preview p{font-size:var(--text-body);color:var(--ink-2)}.app-shell .portal-actions{flex-wrap:wrap;gap:12px;display:flex}.app-shell .portal-status{gap:20px;display:grid}.app-shell .portal-timeline{padding:0;list-style:none;display:grid}.app-shell .portal-step{gap:16px;padding-bottom:24px;display:flex;position:relative}.app-shell .portal-step:last-child{padding-bottom:0}.app-shell .portal-step:not(:last-child):before{content:"";background:var(--line);width:2px;position:absolute;top:26px;bottom:2px;left:11px}.app-shell .portal-step.done:not(:last-child):before{background:var(--brand)}.app-shell .portal-step-dot{border:2px solid var(--line-strong);background:var(--surface);color:#fff;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;display:grid}.app-shell .portal-step.done .portal-step-dot{border-color:var(--brand);background:var(--brand)}.app-shell .portal-step>div{gap:1px;display:grid}.app-shell .portal-step strong{font-size:var(--text-body)}.app-shell .saved-note{color:var(--brand-ink);align-items:center;gap:4px;margin-left:8px;font-weight:600;display:inline-flex}.app-shell .billing-footnote{font-size:var(--text-small);color:var(--ink-3)}.app-shell .billing-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.app-shell .plan-card{flex-direction:column;gap:8px;display:flex}.app-shell .plan-card.selected-plan{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand), var(--shadow)}.app-shell .plan-top{flex-wrap:wrap;place-content:flex-start space-between;align-items:center;gap:8px;min-height:62px;display:flex}.app-shell .plan-price{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:32px;font-weight:600}.app-shell .plan-price small{font-size:var(--text-small);letter-spacing:0;margin-left:2px;font-weight:500}.app-shell .plan-card>p{font-size:var(--text-body);color:var(--ink-2);margin-bottom:4px;font-weight:600}.app-shell .plan-feature{font-size:var(--text-small);color:var(--ink-2);align-items:center;gap:8px;display:flex}.app-shell .plan-feature svg{color:var(--brand);flex:none}.app-shell .plan-card>.button,.app-shell .plan-current{margin-top:auto}.app-shell .plan-card>:is(.button,.plan-current){margin-top:12px}.app-shell .plan-current{border-radius:var(--radius-sm);background:var(--brand-soft);min-height:40px;color:var(--brand-ink);font-size:var(--text-body);justify-content:center;align-items:center;gap:8px;font-weight:600;display:flex}.app-shell .usage-panel{gap:20px;display:grid}.app-shell .trial-note{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.app-shell .overview-beta{margin:0}.app-shell .progress-track{background:#e7e7df;border-radius:999px;height:8px;overflow:hidden}.app-shell .progress-track span{border-radius:inherit;background:var(--brand);min-width:4px;height:100%;display:block}.app-shell .settings-grid{grid-template-columns:repeat(auto-fit,minmax(340px,1fr));align-items:start;gap:20px;display:grid}.app-shell .settings-card{gap:16px;display:grid}.app-shell .settings-card>p{font-size:var(--text-body);color:var(--ink-2)}.app-shell .settings-card>.button{justify-self:start}.app-shell .local-role-panel{gap:16px;display:grid}.app-shell .role-capabilities{font-size:var(--text-body);color:var(--ink-2);flex-wrap:wrap;gap:8px 24px;display:flex}.app-shell .role-capabilities span{align-items:center;gap:8px;display:inline-flex}.app-shell .role-capabilities svg{color:var(--brand)}.app-shell .drawer-backdrop{z-index:60;background:#0f1a156b;animation:.2s ease-out ws-fade;position:fixed;inset:0}.app-shell .detail-drawer{background:var(--surface);width:min(480px,100%);box-shadow:var(--shadow-lg);animation:ws-slide .32s var(--ease);grid-auto-rows:max-content;align-content:start;gap:20px;padding:24px 24px 40px;display:grid;position:fixed;top:0;bottom:0;right:0;overflow-y:auto}@keyframes ws-fade{0%{opacity:0}}@keyframes ws-slide{0%{opacity:0;transform:translate(40px)}}.app-shell .drawer-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.app-shell .drawer-header h2{font-family:var(--font-display), Georgia, serif;letter-spacing:-.01em;font-size:27px;font-weight:600;line-height:1.15}.app-shell .drawer-header p{font-size:var(--text-small);color:var(--ink-3);margin-top:8px}.app-shell .drawer-header .icon-button{margin:-8px -8px 0 0}.app-shell .drawer-facts{border:1px solid var(--line);background:var(--line);border-radius:10px;grid-template-columns:1fr 1fr;gap:1px;display:grid;overflow:hidden}.app-shell .drawer-facts span{background:var(--surface);gap:1px;min-width:0;padding:12px 16px;display:grid}.app-shell .drawer-facts small{font-size:var(--text-small)}.app-shell .drawer-facts strong{font-size:var(--text-body);overflow-wrap:anywhere}.app-shell .drawer-next{border-radius:var(--radius);background:var(--surface-2);border:1px solid var(--line);gap:12px;padding:16px;display:grid}.app-shell .drawer-next .form-progress{display:flex}.app-shell .drawer-next .form-progress-track{flex:1;width:auto}.app-shell .drawer-note{border:1px solid var(--line);border-radius:var(--radius);gap:12px;padding:16px;display:grid}.app-shell .drawer-note>strong{font-size:var(--text-body)}.app-shell .drawer-note>span{font-size:var(--text-body);color:var(--ink-2)}.app-shell .drawer-note:last-child{background:var(--surface-2)}.app-shell .drawer-part{font-size:var(--text-small);letter-spacing:0;color:var(--ink-3);margin:8px 0 -8px;font-weight:600}.app-shell .drawer-alt{flex-wrap:wrap;gap:8px 20px;display:flex}.app-shell :is(.drawer-info,.drawer-more)>summary{cursor:pointer;color:var(--brand-ink);justify-content:space-between;align-items:center;gap:12px;font-weight:600;display:flex}.app-shell .drawer-info{border:1px solid var(--line);border-radius:var(--radius);padding:16px}.app-shell .drawer-info[open]{gap:16px;display:grid}.app-shell .drawer-schedule{font-size:var(--text-small);color:var(--ink-2)}.app-shell .drawer-more>summary{font-size:var(--text-small);justify-content:flex-start}.app-shell .drawer-more[open]>summary{margin-bottom:12px}.app-shell .detail-drawer .drawer-checklist{gap:2px;display:grid}.app-shell .detail-drawer .drawer-checklist h3{font-size:var(--text-body);margin-bottom:8px;font-weight:600}.app-shell .check-row{border-radius:var(--radius-sm);width:100%;font-size:var(--text-body);text-align:left;background:0 0;border:0;align-items:flex-start;gap:12px;padding:8px 12px;display:flex}.app-shell .check-row>span:nth-child(2){flex:1;gap:1px;display:grid}.app-shell .check-row.actionable{color:var(--ink);transition:background-color .15s}.app-shell .check-row.actionable:hover{background:var(--surface-2)}.app-shell .check-row.actionable>svg{color:var(--ink-3);flex:none;margin-top:2px}.app-shell .check-row:not(.actionable){color:var(--ink-3)}.app-shell .check-box{border:1.5px solid var(--line-strong);color:#fff;border-radius:50%;flex:none;place-items:center;width:20px;height:20px;margin-top:1px;display:grid}.app-shell .check-box.checked{border-color:var(--brand);background:var(--brand)}.app-shell .check-auto{font-size:var(--text-small)}.app-shell .drawer-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.app-shell .modal-backdrop{z-index:70;background:#0f1a1573;place-items:center;padding:24px 16px;animation:.2s ease-out ws-fade;display:grid;position:fixed;inset:0}.app-shell .modal{background:var(--surface);width:min(580px,100%);max-height:calc(100vh - 48px);box-shadow:var(--shadow-lg);animation:ws-rise .3s var(--ease);border-radius:16px;grid-auto-rows:max-content;gap:16px;padding:28px 28px 0;display:grid;overflow-y:auto}@keyframes ws-rise{0%{opacity:0;transform:translateY(12px)scale(.985)}}.app-shell .modal-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.app-shell .modal-header h2{font-family:var(--font-display), Georgia, serif;letter-spacing:-.01em;font-size:26px;font-weight:600}.app-shell .modal-header .icon-button{margin-right:-8px}.app-shell .modal-copy{font-size:var(--text-body);color:var(--ink-2);margin-top:-8px}.app-shell .modal>label.button{justify-self:start}.app-shell .modal>small{margin-top:-8px}.app-shell .modal-toggle{justify-self:start}.app-shell .modal-toggle[aria-expanded=true] svg{transform:rotate(90deg)}.app-shell .modal-toggle svg{transition:transform .2s var(--ease)}.app-shell .modal-detail{border-top:1px solid var(--line);gap:16px;padding-top:16px;display:grid}.app-shell .modal-actions{border-top:1px solid var(--line);background:var(--surface);justify-content:flex-end;gap:12px;margin:4px -28px 0;padding:16px 28px 20px;display:flex;position:sticky;bottom:0}@media (max-width:1100px){.app-shell .content{padding:28px 28px 72px}.app-shell .topbar{padding:12px 28px}.app-shell .overview-grid,.app-shell .portal-layout,.app-shell .skeleton-row,.app-shell .records-layout{grid-template-columns:1fr}.app-shell .records-rail{max-height:none;position:static}.app-shell .form-jump{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.app-shell .job-head,.app-shell .job-table-row{grid-template-columns:22px minmax(0,2fr) 90px 200px 120px 40px}}@media (max-width:900px){.app-shell .sidebar{width:280px;box-shadow:var(--shadow-lg);visibility:hidden;transition:transform .28s var(--ease), visibility 0s .28s;position:fixed;bottom:0;left:0;transform:translate(-100%)}.app-shell .sidebar.open{visibility:visible;transition:transform .28s var(--ease);transform:none}.app-shell .nav-backdrop{z-index:35;background:#0f1a1573;animation:.2s ease-out ws-fade;position:fixed;inset:0}.app-shell .mobile-menu{border-radius:var(--radius-sm);width:44px;height:44px;color:var(--ink);background:0 0;border:0;place-items:center;margin-left:-8px;display:inline-grid}.app-shell .crumb-org,.app-shell .crumb span{display:none}.app-shell .crumb strong{font-size:var(--text-body)}.app-shell .topbar-search{justify-content:center;width:44px;height:44px;padding:0}.app-shell .topbar-search span{display:none}.app-shell .summary-strip{grid-template-columns:1fr 1fr}.app-shell .table-head{display:none}.app-shell .job-table-row{border-top:1px solid var(--line);grid-template-columns:22px minmax(0,1fr) auto;grid-template-areas:"check open status"".dates dates"".progress progress";gap:8px 12px;padding:16px}.app-shell .job-table-row>input{grid-area:check;align-self:start;margin-top:4px}.app-shell .job-table-row>.job-row-open{grid-area:open}.app-shell .job-table-row>.status-pill{grid-area:status;align-self:start}.app-shell .job-table-row>span:not(.status-pill){font-size:var(--text-small);grid-area:dates;gap:8px;display:flex}.app-shell .job-table-row>.table-progress{grid-area:progress}.app-shell .job-table-row>.icon-button{display:none}.app-shell .job-row-open small{white-space:normal}}@media (max-width:720px){.app-shell{font-size:var(--text-body)}.app-shell .topbar{gap:8px;padding:8px 16px}.app-shell .topbar .button.primary{min-height:44px;padding:8px 16px}.app-shell .content{gap:20px;padding:20px 16px 96px}.app-shell .page-heading h1{font-size:29px}.app-shell .page-heading .heading-actions,.app-shell .page-heading>.button{width:100%}.app-shell .page-heading .heading-actions>*{flex:auto}.app-shell .panel{padding:20px 16px}.app-shell :is(.active-jobs-panel,.table-panel){padding:0}.app-shell .button,.app-shell :where(input:not([type=checkbox]),select){min-height:44px}.app-shell .active-jobs-panel>.panel-heading{padding:20px 16px 16px}.app-shell .overview-job{grid-template-columns:minmax(0,1fr);padding:16px}.app-shell .overview-next{width:100%;min-width:0}.app-shell .summary-strip button{padding:16px}.app-shell .summary-strip strong{font-size:24px}.app-shell .toolbar>.button{flex:100%}.app-shell .segmented{grid-template-columns:1fr 1fr;width:100%;display:grid}.app-shell .segmented button{flex:auto;justify-content:center}.app-shell .packet-cover{padding:20px 16px}.app-shell .packet-title h2{font-size:25px}.app-shell .packet-facts{grid-template-columns:1fr 1fr}.app-shell .packet-row{grid-template-columns:24px minmax(0,1fr)}.app-shell .packet-status{grid-column:2;justify-content:flex-start}.app-shell .history-filters{grid-template-columns:1fr}.app-shell .audit-detail>div{grid-template-columns:1fr;gap:0}.app-shell .audit-detail dd{grid-column:1}.app-shell .audit-event{flex-direction:column;gap:8px}.app-shell .audit-value{max-width:100%}.app-shell .detail-drawer{padding:20px 16px 40px}.app-shell .drawer-actions{grid-template-columns:1fr}.app-shell .modal-backdrop{align-items:end;padding:0}.app-shell .modal{border-radius:18px 18px 0 0;width:100%;max-height:calc(100dvh - 24px);padding:24px 20px 0}.app-shell .modal-actions{padding:16px 20px calc(16px + env(safe-area-inset-bottom));margin:4px -20px 0}.app-shell .modal-actions .button{flex:1}.app-shell .toast{bottom:calc(16px + env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){.app-shell :is(.detail-drawer,.modal,.toast,.drawer-backdrop,.modal-backdrop,.skeleton-line,.skeleton-block){animation:none}.app-shell .sidebar{transition:none}.app-shell .mini-form.form-focus{border-color:var(--brand);animation:none}}@media print{.app-shell .sidebar,.app-shell .topbar,.app-shell .toast,.app-shell .drawer-backdrop,.app-shell .modal-backdrop{display:none}.app-shell{background:#fff}.app-shell .panel{box-shadow:none}}.app-shell{font-size:var(--text-body);line-height:1.65}.app-shell .sidebar{flex-basis:272px}.app-shell .brand-mark{font-size:1.5rem}.app-shell .nav-item{min-height:48px;padding-block:12px}.app-shell .account-chip strong,.app-shell .account-chip small{white-space:normal;overflow-wrap:anywhere}.app-shell .topbar{min-height:76px}.app-shell .topbar-search{width:260px;min-height:48px}.app-shell .page-heading h1{font-size:clamp(2rem,3vw,2.75rem);line-height:1.2}.app-shell .lede{margin-top:12px;line-height:1.7}.app-shell .panel{padding:24px 28px}.app-shell :is(.active-jobs-panel,.table-panel){padding:0}.app-shell .panel-heading h2,.app-shell .panel>h2,.app-shell .panel>div>h2,.app-shell .person-card h2,.app-shell .document-preview h2{font-size:1.375rem;line-height:1.4}.app-shell .button{white-space:normal;text-align:center;height:auto;min-height:48px;padding:12px 16px;line-height:1.5}.app-shell .button svg{flex-shrink:0}.app-shell .text-button{white-space:normal;text-align:left;min-height:44px;line-height:1.5}.app-shell .icon-button{min-width:44px;min-height:44px}.app-shell :where(input:not([type=checkbox]),select){min-height:50px;font-size:var(--text-body)}.app-shell textarea{font-size:var(--text-body);line-height:1.65}.app-shell .form-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px}.app-shell .status-pill{white-space:normal;text-align:left;min-height:32px;padding-block:4px}.app-shell .summary-strip button{padding:20px 24px}.app-shell .overview-grid{grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);gap:24px}.app-shell .overview-job{gap:16px 24px;padding-block:24px}.app-shell .overview-job-open strong,.app-shell .job-row-open strong{font-size:1.25rem;line-height:1.4}.app-shell .overview-next{min-width:280px}.app-shell .segmented{flex-wrap:wrap;gap:8px}.app-shell .segmented button{white-space:normal;min-height:44px}.app-shell .job-head,.app-shell .job-table-row{grid-template-columns:22px minmax(0,2fr) 110px minmax(180px,1.3fr) 150px 44px}.app-shell .job-row-open small{white-space:normal;overflow-wrap:anywhere}.app-shell .job-row-open,.app-shell .toolbar>*{min-width:0}.app-shell .people-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:24px}.app-shell .records-layout{grid-template-columns:320px minmax(0,1fr)}.app-shell .rail-next,.app-shell .form-jump button{line-height:1.5}.app-shell .billing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.app-shell .plan-top{min-height:72px}.app-shell .plan-card>.button{margin-top:auto}.app-shell .plan-feature{align-items:flex-start;line-height:1.6}.app-shell .plan-feature svg{margin-top:4px}.app-shell .plan-current{text-align:center;min-height:48px;padding:12px 16px}.app-shell .settings-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:24px}.app-shell .detail-drawer{gap:24px;width:min(560px,100%)}.app-shell .drawer-header h2{font-size:2rem;line-height:1.25}.app-shell .drawer-facts span{padding:16px}.app-shell .check-row{padding-block:12px;line-height:1.6}.app-shell .check-row>span:nth-child(2){min-width:0}.app-shell .modal{gap:20px;width:min(680px,100%)}.app-shell .modal-header h2{font-size:2rem;line-height:1.25}.app-shell .modal-actions{flex-wrap:wrap}@media (max-width:1280px){.app-shell .overview-grid,.app-shell .portal-layout,.app-shell .records-layout{grid-template-columns:1fr}.app-shell .records-rail{max-height:none;position:static}.app-shell .form-jump{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}.app-shell .table-head{display:none}.app-shell .job-table-row{border-top:1px solid var(--line);grid-template-columns:22px minmax(0,1fr) auto;grid-template-areas:"check open status"".dates dates"".progress progress";gap:12px 16px;padding:20px}.app-shell .job-table-row>input{grid-area:check;align-self:start;margin-top:4px}.app-shell .job-table-row>.job-row-open{grid-area:open}.app-shell .job-table-row>.status-pill{grid-area:status;align-self:start;max-width:180px}.app-shell .job-table-row>span:not(.status-pill){flex-wrap:wrap;grid-area:dates;gap:8px;display:flex}.app-shell .job-table-row>.table-progress{grid-area:progress}.app-shell .job-table-row>.icon-button{display:none}.app-shell .topbar-search{justify-content:center;width:48px;padding:0}.app-shell .topbar-search span{display:none}}@media (max-width:900px){.app-shell .sidebar{width:min(320px,100vw - 40px)}}@media (max-width:720px){.app-shell .topbar{gap:8px;padding:12px 16px}.app-shell .crumb strong{font-size:var(--text-small)}.app-shell .topbar-actions{gap:4px}.app-shell .topbar .button.primary{padding-inline:12px}.app-shell .topbar .button.primary svg{display:none}.app-shell .panel{padding:24px 20px}.app-shell :is(.active-jobs-panel,.table-panel){padding:0}.app-shell .summary-strip button{padding:20px 16px}.app-shell .overview-job{grid-template-columns:minmax(0,1fr);padding:20px}.app-shell .overview-next{min-width:0}.app-shell .job-table-row{grid-template-columns:22px minmax(0,1fr);grid-template-areas:"check open"".status"".dates"".progress";padding:20px 16px}.app-shell .job-table-row>.status-pill{justify-self:start;max-width:100%}.app-shell .packet-cover{padding:24px 20px}.app-shell .modal{width:100%;padding-inline:20px}.app-shell .modal-actions{margin-inline:-20px;padding-inline:20px}.app-shell .plan-top{min-height:0}.app-shell .billing-grid{grid-template-columns:1fr}}@media (min-width:1740px){.app-shell .billing-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:400px){.app-shell .topbar{flex-wrap:wrap}.app-shell .topbar-actions{flex:1;justify-content:flex-end}.app-shell .drawer-facts{grid-template-columns:1fr}.app-shell .packet-facts>div{padding:12px 16px}}.app-shell .topbar{background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:saturate(1.3)blur(12px)}.app-shell .sidebar-scroll{scrollbar-width:thin;scrollbar-color:#ffffff29 transparent}.app-shell :is(.records-rail,.detail-drawer,.modal){scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}.app-shell .sidebar-label{letter-spacing:0;padding-bottom:8px;font-size:.875rem}.app-shell .account-chip{border:1px solid #ffffff0f;gap:0 12px;padding:16px 16px 0;overflow:hidden}.app-shell .account-chip>div:nth-child(2){gap:2px;line-height:1.35;display:grid}.app-shell .account-chip .saving-dot{margin-top:12px}.app-shell .account-chip .text-button{border-top:1px solid #ffffff14;justify-self:stretch;min-height:44px;margin:16px -16px 0;padding:12px 16px;transition:background-color .15s,color .15s}.app-shell .account-chip .text-button:hover{background:#ffffff0f;text-decoration:none}.app-shell .button.secondary{box-shadow:0 1px 2px #17241f0f}.app-shell .button.primary:hover{box-shadow:0 2px 6px -1px #1d513459}.app-shell :is(.overview-next,.rail-next){text-align:left}.app-shell :is(.overview-next,.rail-next) svg{transition:transform .15s var(--ease)}.app-shell :is(.overview-next,.rail-next):hover svg{transform:translate(2px)}.app-shell .status-pill{flex-shrink:0}.app-shell .table-head{letter-spacing:0;padding-block:12px;font-size:.875rem}.app-shell .activity-list li{padding-block:12px}.app-shell .activity-list li:before{top:24px}.app-shell .summary-strip button{gap:4px}.app-shell .summary-strip strong{font-size:2rem;line-height:1.1}.app-shell .overview-job{transition:background-color .15s}.app-shell .overview-job:hover{background:var(--surface-2)}.app-shell .table-panel>:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.app-shell .records-main{gap:20px}.app-shell .mini-form{gap:16px}.app-shell .rail-job{gap:12px}.app-shell .form-jump button{padding-block:8px}.app-shell .audit-event{gap:20px;padding-block:16px}.app-shell .person-card{padding:24px;transition:box-shadow .2s,border-color .2s}.app-shell .person-card:hover{border-color:var(--line-strong)}.app-shell .plan-card{gap:12px}.app-shell .plan-card>.button{width:100%}.app-shell .plan-price{font-size:2.25rem;line-height:1.1}.app-shell .role-capabilities{gap:12px 28px}@media (min-width:721px){.app-shell .content{gap:28px;padding-top:40px}.app-shell .content>.page-heading{margin-bottom:4px}.app-shell .active-jobs-panel>.panel-heading{padding:24px 28px 20px}.app-shell .overview-job,.app-shell .table-head,.app-shell .job-table-row{padding-inline:28px}.app-shell .records-rail{padding:20px}.app-shell .audit-history>.audit-event{align-items:center}}@media (min-width:1380px){.app-shell .billing-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.app-shell .plan-top{min-height:104px}}@media (max-height:920px) and (min-width:901px){.app-shell .sidebar{padding-top:20px}.app-shell .brand-lockup{padding-bottom:20px}.app-shell .sidebar-scroll{gap:16px}.app-shell .nav-item{min-height:42px;padding-block:8px}}.app-shell .activity-panel{container-type:inline-size}@container (min-width:560px){.app-shell .activity-list li{grid-template-columns:minmax(0,1fr) auto;column-gap:24px}.app-shell .activity-list li>time{grid-area:1/2/span 2;align-self:center}}.app-shell .job-table-row>span:not(.status-pill){align-items:baseline}.app-shell .bulk-bar{justify-content:flex-end;gap:8px;padding:12px 12px 12px 20px}.app-shell .bulk-bar .button{padding-inline:12px}.app-shell .bulk-bar select{min-width:150px}.app-shell .bulk-bar :is(.button,select){min-height:40px;padding-block:8px}.app-shell .bulk-bar .text-button{min-height:40px;padding-inline:12px}.app-shell .bulk-bar:has(>span)>span{order:-2;margin-right:0}.app-shell .bulk-bar:has(>span)>.text-button:last-child{order:-1;margin-right:auto}.app-shell .mini-form{flex-wrap:wrap;align-items:flex-end;gap:16px 12px;display:flex}.app-shell .mini-form>*{flex:100%;min-width:0}.app-shell .mini-form>label:not(.check-label):not(.button){flex:max(260px,40%)}.app-shell .mini-form>label:not(.check-label):not(.button):has(+.button){flex-basis:100%}.app-shell .mini-form>:is(.button,label.button){flex:none}@media (max-width:1280px){.app-shell .records-main{max-width:none}}.app-shell .check-label+small{padding-left:28px}.app-shell .history-list .audit-event:before{top:22px}.app-shell .history-list .audit-event:not(:last-child):after{top:37px}.app-shell .person-actions{justify-content:flex-start;gap:8px 20px}.app-shell .person-actions>.button.secondary{flex:100%}.app-shell .records-main .mini-form{animation:step-in .25s var(--ease);padding:28px}.app-shell .records-main .mini-form .panel-heading h2{font-size:1.375rem}@keyframes step-in{0%{opacity:0;transform:translateY(6px)}}.app-shell .step-nav{flex-wrap:wrap;justify-content:space-between;gap:12px;padding-top:4px;display:flex}.app-shell .step-nav .button{min-height:48px}.app-shell .form-jump .jump-dot{width:20px;height:20px;color:var(--ink-3);place-items:center;margin-top:0;font-size:.6875rem;font-weight:600;display:grid}.app-shell .form-jump button.current .jump-dot{background:var(--brand);color:#fff}.app-shell .form-jump button svg{width:20px}@media (max-width:1280px){.app-shell .form-jump{flex-wrap:wrap;gap:8px;padding-bottom:4px;display:flex}.app-shell .form-jump button{border:1px solid var(--line);border-radius:999px;flex:none;align-items:center;width:auto;max-width:240px;padding:8px 12px}.app-shell .form-jump .jump-warn{display:none}}@media (max-width:720px){.app-shell .records-main .mini-form{padding:20px}.app-shell .step-nav .button{flex:1;justify-content:center}}@media (prefers-reduced-motion:reduce){.app-shell .records-main .mini-form{animation:none}}.app-shell .step-card{gap:0}.app-shell .step-card>.panel-heading{margin-bottom:8px}.app-shell .task-row{border-top:1px solid var(--line);gap:12px;padding:20px 0;display:grid}.app-shell .task-title{font-size:var(--text-body);color:var(--ink);align-items:center;gap:12px;font-weight:600;display:flex}.app-shell .task-title svg{color:var(--brand);flex:none}.app-shell .task-dot{border:2px solid var(--line-strong);border-radius:50%;flex:none;width:16px;height:16px}.app-shell .task-row>small{color:var(--ink-3);margin-left:28px}.app-shell .task-row>label,.app-shell .task-row>.button,.app-shell .task-row>.chip-group{margin-left:28px}.app-shell .task-row>.button{justify-self:start}.app-shell .task-actions{flex-wrap:wrap;align-items:center;gap:12px 16px;margin-left:28px;display:flex}.app-shell .task-actions input{flex:220px;min-width:0}.app-shell .chip-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.app-shell .chip-group>small{width:100%;color:var(--ink-2);font-weight:600}.app-shell .required-mark{color:var(--red);margin-left:2px;font-weight:600}.app-shell .field-hint{color:var(--ink-3);font-weight:400;display:block}.app-shell .crew-list{font-size:var(--text-small);color:var(--ink-2);gap:12px;margin-left:28px;font-weight:600;display:grid}.app-shell .crew-list .field-hint{display:inline}.app-shell .crew-list>span .field-hint{display:block}.app-shell .chip{border:1px solid var(--line-strong);background:var(--surface);font-size:var(--text-small);cursor:pointer;border-radius:999px;align-items:center;gap:8px;padding:8px 16px;font-weight:500;transition:background-color .15s,border-color .15s;display:inline-flex;position:relative}.app-shell .chip input{opacity:0;pointer-events:none;position:absolute}.app-shell .chip:has(input:checked){background:var(--brand-soft);border-color:var(--brand);color:var(--brand-ink)}.app-shell .chip:has(input:checked):before{content:"✓";font-weight:600}.app-shell .chip:has(input:focus-visible){outline:2px solid var(--brand);outline-offset:2px}.app-shell .chip em{color:var(--amber);font-size:.75rem;font-style:normal}.app-shell .big-check{border:1px solid var(--line);border-radius:var(--radius);font-size:var(--text-body);align-items:flex-start;margin-top:12px;padding:16px;font-weight:600}.app-shell .big-check:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}.app-shell .big-check span{gap:4px;display:grid}.app-shell .big-check small{color:var(--ink-3);font-weight:400;font-size:var(--text-small)}.app-shell .step-card>.form-grid,.app-shell .step-card>label,.app-shell .step-card>.legal-note,.app-shell .step-card>.task-actions{margin-top:16px}.app-shell .step-card>.task-actions{margin-left:0}.app-shell .finish-button{justify-self:stretch;min-height:52px;margin-top:20px;font-size:1rem}.app-shell .all-done{border-radius:var(--radius);background:var(--brand-soft);color:var(--brand-ink);align-items:center;gap:12px;margin:8px 0 0;padding:16px;font-weight:600;display:flex}.app-shell .form-jump button.minor{color:var(--ink-3);margin-top:8px}@media (max-width:720px){.app-shell .task-row>small,.app-shell .task-row>label,.app-shell .task-row>.chip-group,.app-shell .task-row>.crew-list,.app-shell .task-actions{margin-left:0}}.app-shell .modal-summary{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);font-size:var(--text-small);color:var(--ink-2);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:12px 16px;display:flex}.app-shell .tour-layer{z-index:95;position:fixed;inset:0}.app-shell .tour-dim{background:#0f1a158c;animation:.25s ease-out ws-fade;position:absolute;inset:0}.app-shell .tour-spotlight{pointer-events:none;transition:top .4s var(--ease), left .4s var(--ease), width .4s var(--ease), height .4s var(--ease);border-radius:12px;position:absolute;box-shadow:0 0 0 3px #ffffffe6,0 0 0 9999px #0f1a158c}.app-shell .tour-card{background:var(--surface);width:min(380px,100vw - 32px);max-height:calc(100vh - 32px);box-shadow:var(--shadow-lg);animation:ws-rise .3s var(--ease);border-radius:16px;gap:12px;padding:20px 24px;display:grid;position:absolute;overflow-y:auto}.app-shell .tour-card.centered{top:50%;left:50%;translate:-50% -50%}.app-shell .tour-top{align-items:center;gap:12px;display:flex}.app-shell .tour-icon{background:var(--brand-soft);width:36px;height:36px;color:var(--brand-ink);border-radius:10px;place-items:center;display:grid}.app-shell .tour-count{font-size:var(--text-small);color:var(--ink-3);font-weight:600}.app-shell .tour-skip{color:var(--ink-3);margin-left:auto;font-weight:600}.app-shell .tour-card h2{font-family:var(--font-display), Georgia, serif;letter-spacing:-.01em;font-size:22px;font-weight:600}.app-shell .tour-card p{color:var(--ink-2)}.app-shell :is(.tour-steps,.tour-roadmap){counter-reset:road;gap:8px;padding:0;list-style:none;display:grid}.app-shell :is(.tour-steps,.tour-roadmap) li{counter-increment:road;align-items:baseline;gap:12px;display:flex}.app-shell .tour-roadmap li{align-items:center;font-weight:600}.app-shell .tour-steps li:before{content:counter(road) ".";min-width:16px;color:var(--brand);flex:none;font-weight:600}.app-shell .tour-roadmap li:before{content:counter(road);background:var(--brand-soft);width:24px;height:24px;color:var(--brand-ink);border-radius:999px;flex:none;place-items:center;font-size:13px;font-weight:600;display:grid}.app-shell .tour-tip{border-radius:var(--radius-sm);background:var(--surface-2);font-size:var(--text-small);color:var(--ink-2);padding:12px}.app-shell .tour-dots{gap:8px;margin-top:4px;display:flex}.app-shell .tour-dots span{background:var(--line-strong);width:6px;height:6px;transition:width .3s var(--ease), background .3s;border-radius:999px}.app-shell .tour-dots .done{background:var(--brand);opacity:.45}.app-shell .tour-dots .active{background:var(--brand);width:20px}.app-shell .tour-actions{background:var(--surface);flex-wrap:wrap;justify-content:flex-end;gap:12px;margin:8px -24px -20px;padding:12px 24px 20px;display:flex;position:sticky;bottom:-20px}.app-shell .tour-actions .button:first-child:not(:only-child):not(.primary){margin-right:auto}@media (max-width:720px){.app-shell .tour-card,.app-shell .tour-card.centered{width:auto;inset:auto 16px 16px;translate:none}.app-shell .tour-actions .button{min-height:44px}}@media (prefers-reduced-motion:reduce){.app-shell :is(.tour-card,.tour-dim){animation:none}.app-shell .tour-spotlight{transition:none}}.app-shell .nav-item{min-height:36px;padding-block:4px;line-height:1.4}.app-shell .billing-grid{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr))}@media (max-width:900px){.app-shell .nav-item{min-height:48px;padding-block:8px}}
