:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f5f7fb;--surface:#fff;--surface-soft:#f8fafc;--surface-active:#eff6ff;--line:#e2e8f0;--text:#172033;--muted:#64748b;--primary:#4f46e5;--primary-dark:#3730a3;--success:#047857;--success-soft:#dcfce7;--soon:#7c3aed;--soon-soft:#f3e8ff;--danger:#b91c1c;--danger-soft:#fee2e2;--warning:#92400e;--warning-soft:#fef3c7;--shadow:0 18px 45px #0f172a14}*{box-sizing:border-box}html{background:var(--background);height:100%;min-height:100%}body{background:var(--background);height:100%;min-height:100%;color:var(--text);margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Hiragino Sans,Yu Gothic,sans-serif;overflow:hidden}a{color:inherit;text-decoration:none}.app-shell{grid-template-columns:272px minmax(0,1fr);height:100vh;min-height:100vh;display:grid;overflow:hidden}.sidebar{color:#e5e7eb;background:#111827;flex-direction:column;gap:28px;height:100vh;padding:28px 22px;display:flex;overflow-y:auto}.brand{align-items:center;gap:12px;display:flex}.brand-mark{background:var(--primary);color:#fff;border-radius:12px;place-items:center;width:40px;height:40px;font-weight:600;display:grid;box-shadow:0 12px 24px #4f46e559}.brand-name,.brand-subtitle{display:block}.brand-name{color:#fff;letter-spacing:0;font-size:18px;font-weight:600}.brand-subtitle{color:#94a3b8;margin-top:2px;font-size:12px}.sidebar-nav{gap:8px;display:grid}.sidebar-nav a{color:#cbd5e1;overflow-wrap:anywhere;border-radius:10px;padding:12px 14px;font-size:14px;font-weight:600}.sidebar-nav a:hover,.sidebar-nav a.active{color:#fff;background:#ffffff1a}.sidebar-note{color:#cbd5e1;background:#ffffff14;border-radius:14px;margin-top:auto;padding:14px;font-size:13px;line-height:1.7}.main-content{min-width:0;height:100vh;padding:28px;overflow:hidden auto}.topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.topbar h1{letter-spacing:0;margin:0;font-size:26px}.topbar p{color:var(--muted);margin:6px 0 0;font-size:14px}.workspace-badge{border:1px solid var(--line);background:var(--surface);min-height:34px;color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;padding:0 12px;font-size:13px;display:inline-flex}.hero{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:20px;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);align-items:center;gap:22px;padding:30px;display:grid}.eyebrow{color:var(--primary);margin:0 0 12px;font-size:13px;font-weight:600}.hero h2{letter-spacing:0;margin:0;font-size:34px;line-height:1.25}.hero-copy{max-width:760px;color:var(--muted);margin:16px 0 0;font-size:16px;line-height:1.8}.hero-actions,.page-actions{flex-wrap:wrap;gap:12px;margin-top:24px;display:flex}.section-heading .page-actions{margin-top:0}.hero-panel,.content-panel,.empty-state{border:1px solid var(--line);background:var(--surface);border-radius:16px;box-shadow:0 8px 24px #0f172a0d}.hero-panel{background:var(--surface-active);border-color:#c7d2fe;padding:18px}.hero-panel h3,.content-panel h3{margin:0 0 12px;font-size:16px}.format-list{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.format-list li{color:#3730a3;background:#fff;border:1px solid #c7d2fe;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:600}.section{margin-top:28px}.section-heading{justify-content:space-between;align-items:end;gap:16px;margin-bottom:14px;display:flex}.section-heading h2{letter-spacing:0;margin:0;font-size:20px}.section-heading p{color:var(--muted);margin:6px 0 0;font-size:14px}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.feature-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;flex-direction:column;min-height:194px;padding:18px;display:flex;box-shadow:0 8px 24px #0f172a0d}.feature-card-disabled{background:#ffffffb8}.feature-card-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.feature-card h3{letter-spacing:0;margin:0;font-size:17px}.feature-card p,.content-panel p,.empty-state p{color:var(--muted);margin:0;font-size:14px;line-height:1.7}.feature-card-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:18px;display:flex}.status-badge{white-space:nowrap;border-radius:999px;align-items:center;min-height:26px;padding:0 9px;font-size:12px;font-weight:600;display:inline-flex}.status-badge-available,.status-badge-completed{color:#1d4ed8;background:#eff6ff}.status-badge-coming-soon{background:var(--soon-soft);color:var(--soon)}.status-badge-running{background:var(--surface-active);color:var(--primary)}.status-badge-failed{background:var(--danger-soft);color:var(--danger)}.status-badge-warning{background:var(--warning-soft);color:var(--warning)}.button{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;min-height:42px;padding:0 16px;font-size:14px;font-weight:600;display:inline-flex}.button-primary{background:var(--primary);color:#fff;box-shadow:0 12px 22px #4f46e538}.button-primary:hover{background:var(--primary-dark)}.button-secondary{border-color:var(--line);background:var(--surface);color:var(--text)}.button-danger{background:var(--danger-soft);color:var(--danger);border-color:#fecaca}.button-danger-subtle{color:#b91c1c;box-shadow:none;background:#fff;border-color:#fecaca}.button-danger-subtle:hover:not(:disabled){background:#fff7f7}.button-disabled{border-color:var(--line);background:var(--surface-soft);color:#94a3b8;cursor:not-allowed}.button:disabled{border-color:var(--line);background:var(--surface-soft);color:#94a3b8;box-shadow:none;cursor:not-allowed}.login-page{background:linear-gradient(135deg, #4f46e51f, #14b8a614), var(--background);place-items:center;min-height:100vh;padding:28px;display:grid}.login-card{border:1px solid var(--line);background:var(--surface);width:min(100%,440px);box-shadow:var(--shadow);border-radius:16px;padding:30px}.login-brand{align-items:center;gap:14px;margin-bottom:28px;display:flex}.login-brand-mark{background:var(--primary);color:#fff;border-radius:14px;place-items:center;width:48px;height:48px;font-size:15px;font-weight:600;display:grid;box-shadow:0 12px 24px #4f46e547}.login-brand h1{letter-spacing:0;margin:4px 0 0;font-size:28px}.login-form{gap:16px;display:grid}.form-field{gap:8px;display:grid}.form-field span{color:var(--text);font-size:14px;font-weight:600}.form-field input,.form-field select{border:1px solid var(--line);background:var(--surface);width:100%;min-height:44px;color:var(--text);font:inherit;border-radius:10px;padding:0 12px}.form-field input:focus,.form-field select:focus{border-color:var(--primary);outline:3px solid #4f46e529}.login-error{background:var(--danger-soft);color:var(--danger);border-radius:10px;margin:0;padding:10px 12px;font-size:13px;font-weight:600;line-height:1.6}.login-button{width:100%;margin-top:4px}.landing-page{height:100vh;min-height:100vh;color:var(--text);background:radial-gradient(circle at 50% 0,#4f46e51f,#0000 34%),linear-gradient(#fff 0%,#f7f9fc 48%,#eef3f8 100%);overflow:hidden auto}.landing-nav{z-index:2;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);justify-content:space-between;align-items:center;gap:18px;width:min(100% - 48px,1180px);margin:0 auto;padding:22px 0;display:flex;position:sticky;top:0}.landing-brand,.landing-nav-actions{align-items:center;display:flex}.landing-brand{color:#111827;letter-spacing:0;gap:12px;font-size:15px;font-weight:700}.landing-brand-mark{width:38px;height:38px;color:var(--primary);background:#ffffffd1;border:1px solid #4f46e52e;border-radius:12px;place-items:center;font-size:12px;font-weight:800;display:grid;box-shadow:0 12px 28px #0f172a14}.landing-nav-actions{color:var(--muted);gap:16px;font-size:14px;font-weight:600}.landing-login-link{min-height:38px;padding:0 18px}.landing-hero{text-align:center;align-content:center;gap:34px;width:min(100% - 48px,1180px);min-height:calc(100vh - 160px);margin:0 auto;padding:82px 0 54px;display:grid}.landing-hero-inner{justify-items:center;display:grid}.landing-eyebrow{color:var(--primary);letter-spacing:0;margin:0 0 14px;font-size:13px;font-weight:700}.landing-hero h1{color:#0f172a;letter-spacing:0;margin:0;font-size:72px;line-height:1.02}.landing-subcopy{color:#475569;max-width:680px;margin:22px 0 0;font-size:20px;line-height:1.7}.landing-cta-row{flex-wrap:wrap;justify-content:center;gap:12px;margin-top:34px;display:flex}.landing-signal-panel{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffb8;border:1px solid #94a3b847;border-radius:24px;width:min(100%,780px);margin:14px auto 0;overflow:hidden;box-shadow:0 24px 80px #0f172a1f}.landing-signal-header{border-bottom:1px solid #e2e8f0c7;gap:7px;padding:16px 18px;display:flex}.landing-signal-header span{background:#cbd5e1;border-radius:999px;width:9px;height:9px}.landing-signal-body{gap:18px;padding:26px;display:grid}.landing-signal-line{background:linear-gradient(90deg,#c7d2fe,#e2e8f0);border-radius:999px;width:62%;height:12px}.landing-signal-line.wide{background:linear-gradient(90deg,#818cf8,#dbeafe);width:82%;height:16px}.landing-signal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.landing-signal-grid span{background:linear-gradient(#ffffffe0,#f8fafceb),#fff;border:1px solid #e2e8f0eb;border-radius:18px;min-height:92px}.landing-services{width:min(100% - 48px,1180px);margin:0 auto;padding:34px 0 86px}.landing-section-heading{margin-bottom:22px}.landing-section-heading h2{color:#0f172a;letter-spacing:0;margin:0;font-size:30px;line-height:1.35}.landing-service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.landing-service-card{background:#ffffffdb;border:1px solid #e2e8f0e6;border-radius:24px;min-height:210px;padding:24px;box-shadow:0 18px 46px #0f172a12}.landing-service-card h3{color:#111827;letter-spacing:0;margin:0;font-size:19px}.landing-service-card p{color:var(--muted);margin:14px 0 0;font-size:14px;line-height:1.8}.users-section-heading{margin-bottom:14px}.account-create-panel{background:#fffffff0;border-radius:24px;padding:24px;box-shadow:0 16px 38px #0f172a0f}.account-form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,240px));justify-content:start;align-items:end;gap:16px 18px;display:grid}.account-submit-button{justify-self:start;width:fit-content;min-width:180px;min-height:46px;padding-inline:28px}.account-group-list{gap:24px;display:grid}.account-group{box-shadow:none;background:0 0;border:0;border-radius:0;overflow:visible}.account-group-header{border-bottom:0}.account-group-header:hover{color:var(--text)}.account-group-header:focus-visible{outline-offset:3px}.account-group-indicator{color:#64748b}.account-group-title{min-width:0}.account-group-count{white-space:nowrap}.account-list,.account-company-list{gap:16px;margin:0;padding:0;list-style:none;display:grid}.account-company-group{background:#ffffffd1;border:1px solid #e2e8f0e6;border-radius:24px;gap:16px;min-width:0;padding:18px;list-style:none;display:grid;box-shadow:0 12px 30px #0f172a0b}.account-company-header{border-bottom:1px solid #e2e8f0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:0 2px 14px;display:grid}.account-company-toggle{width:100%;min-width:0;color:var(--text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:0;display:grid}.account-company-toggle:hover .account-company-title strong{color:var(--primary-dark)}.account-company-toggle:focus-visible{outline-offset:4px;border-radius:14px;outline:3px solid #4f46e538}.account-company-actions{justify-content:flex-end;min-width:148px;display:flex}.account-company-delete-button{white-space:nowrap;min-width:136px}.account-company-indicator{color:#64748b}.account-company-title{gap:2px;min-width:0;display:grid}.account-company-title span{color:#64748b;font-size:11px;font-weight:650}.account-company-title strong{overflow-wrap:anywhere;color:var(--text);font-size:15px;font-weight:650}.account-company-users{margin:0;padding:0}.account-user-list-item{min-width:0;list-style:none}.history-item-card.account-row{grid-template-columns:minmax(0,1fr) minmax(280px,320px);min-width:0;overflow:visible}.account-row-main{min-width:0}.account-row-main strong{font-size:18px}.account-user-metadata{grid-template-columns:repeat(4,minmax(120px,1fr))}.history-item-side.account-action-side{box-sizing:border-box;align-content:center;min-width:0;overflow:visible}.account-row-actions{gap:8px;width:100%;min-width:0;display:grid}.account-action-button{width:100%;min-width:150px}.history-item-actions.account-row-actions{gap:8px;width:100%;display:grid}.permission-help-text,.account-group-empty{color:var(--muted);font-size:13px;line-height:1.6}.permission-help-text{margin:0}.account-group-empty{background:#fffc;border:1px solid #e2e8f0e6;border-radius:18px;margin:0;padding:16px 18px}.account-company-empty{margin-top:0}.permission-note-panel{background:#fffffff0;border-radius:24px;box-shadow:0 16px 38px #0f172a0f}.format-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.content-panel{padding:20px}.dashboard-workspace-panel{margin-bottom:18px}.empty-state{align-content:center;gap:6px;min-height:128px;padding:20px;display:grid}.empty-state.compact{min-height:auto}.empty-state strong{font-size:16px}.placeholder-list{gap:12px;margin:0;padding:0;list-style:none;display:grid}.placeholder-row{border:1px solid var(--line);background:var(--surface);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.placeholder-row strong{font-size:15px}.history-table-wrapper{border:1px solid var(--line);background:var(--surface);border-radius:16px;overflow-x:auto;box-shadow:0 8px 24px #0f172a0d}.history-table{border-collapse:collapse;width:100%;min-width:820px}.history-table th,.history-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;padding:14px 16px;font-size:14px}.history-table th{background:var(--surface-soft);color:var(--muted);font-size:12px;font-weight:600}.history-table tr:last-child td{border-bottom:0}.history-table td:first-child{min-width:240px}.history-table td:first-child strong,.history-table td:first-child span{display:block}.history-table td:first-child strong{color:var(--text)}.history-table td:first-child span{color:var(--muted);margin-top:4px;font-size:12px}.history-group-list{gap:24px;display:grid}.history-group{gap:14px;display:grid}.history-group-header{width:100%;color:var(--text);cursor:pointer;text-align:left;background:#ffffffdb;border:1px solid #e2e8f0eb;border-radius:18px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;display:grid;box-shadow:0 10px 28px #0f172a0a}.history-group-header:hover{background:#fff;border-color:#bfdbfe}.history-group-header:focus-visible{outline-offset:3px;outline:3px solid #4f46e53d}.history-group-indicator{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;place-items:center;width:28px;height:28px;font-size:18px;line-height:1;display:grid}.history-group-title{gap:2px;display:grid}.history-group-title span{color:#64748b;font-size:11px;font-weight:650}.history-group-title strong{color:var(--text);font-size:16px;font-weight:650}.history-group-count{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:650}.token-usage-group-header{cursor:default;grid-template-columns:minmax(0,1fr) auto}.token-usage-list{margin-top:18px}.history-group-items{gap:16px;display:grid}.history-item-card{background:#fffffff0;border:1px solid #e2e8f0e6;border-radius:24px;grid-template-columns:minmax(0,1fr) minmax(240px,300px);align-items:stretch;gap:26px;padding:24px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid;box-shadow:0 16px 38px #0f172a0f}.history-item-card:hover{border-color:#bfdbfe;transform:translateY(-2px);box-shadow:0 20px 46px #0f172a1a}.history-item-content{grid-template-columns:46px minmax(0,1fr);gap:16px;min-width:0;display:grid}.history-document-icon{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;place-items:center;width:46px;height:46px;font-size:21px;display:grid}.history-item-main{align-content:start;gap:16px;min-width:0;display:grid}.history-item-main strong{overflow-wrap:anywhere;color:var(--text);font-size:18px;line-height:1.45}.history-source-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0;display:grid}.history-source-list div,.history-item-meta div{gap:5px;min-width:0;display:grid}.history-source-list dt,.history-item-meta dt{color:#64748b;font-size:11px;font-weight:650}.history-source-list dd,.history-item-meta dd{overflow-wrap:anywhere;color:#0f172a;min-width:0;margin:0;font-size:13px;font-weight:600}.history-item-side{border-left:1px solid #e2e8f0;align-content:start;gap:16px;min-width:0;padding-left:24px;display:grid}.history-item-meta{gap:12px;margin:0;display:grid}.history-status-badge{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;align-items:center;width:fit-content;min-height:28px;padding:0 10px;font-size:12px;font-weight:650;display:inline-flex}.history-status-running{color:#2563eb;background:#f8fbff;border-color:#dbeafe}.history-status-failed{color:#b91c1c;background:#fff7f7;border-color:#fecaca}.history-status-warning{color:#92400e;background:#fffbeb;border-color:#fde68a}.history-item-actions{justify-content:flex-start;display:flex}.history-download-button{gap:8px;min-width:160px}.template-page-actions{margin-top:0;margin-bottom:24px}.template-action-side{align-content:center}.template-management-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.template-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;flex-direction:column;min-height:286px;padding:20px;display:flex;box-shadow:0 8px 24px #0f172a0d}.template-card-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.template-card h3{letter-spacing:0;margin:0;font-size:18px;line-height:1.4}.template-metadata{gap:12px;margin:20px 0 0;display:grid}.template-metadata div{gap:4px;display:grid}.template-metadata dt{color:var(--muted);font-size:12px;font-weight:600}.template-metadata dd{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:14px;font-weight:600}.template-card-actions{flex-wrap:wrap;gap:12px;margin-top:auto;padding-top:20px;display:flex}.flow-hero{align-items:stretch}.flow-grid{gap:18px;margin-top:28px;display:grid}.flow-step-anchor{scroll-margin-top:24px}.flow-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:22px;box-shadow:0 8px 24px #0f172a0d}.flow-card-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.flow-card h2{letter-spacing:0;margin:0;font-size:20px}.flow-card p{color:var(--muted);margin:6px 0 0;font-size:14px;line-height:1.7}.step-progress{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.step-progress-item{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:14px;align-items:center;gap:10px;padding:12px 14px;font-weight:600;display:flex}.step-progress-number{background:var(--surface-soft);width:28px;height:28px;color:var(--muted);border-radius:999px;place-items:center;font-size:13px;display:grid}.step-progress-item.current{background:var(--surface-active);color:var(--primary-dark);border-color:#c7d2fe}.step-progress-item.current .step-progress-number{background:var(--primary);color:#fff}.step-progress-item.completed{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.step-progress-item.completed .step-progress-number{color:#fff;background:#2563eb}.step-progress-item.failed{background:var(--danger-soft);color:var(--danger);border-color:#fecaca}.step-progress-item.failed .step-progress-number{background:var(--danger);color:#fff}.template-list{gap:12px;display:grid}.template-option{border:1px solid var(--line);background:var(--surface-soft);cursor:pointer;border-radius:14px;gap:12px;padding:14px;display:flex}.template-option.selected{background:var(--surface-active);border-color:#c7d2fe}.template-option input{margin-top:4px}.template-option-body,.template-option-title,.template-option-meta{display:block}.template-option-title{color:var(--text);align-items:center;gap:10px;font-size:15px;font-weight:600;display:flex}.template-option-meta{color:var(--muted);margin-top:6px;font-size:13px;line-height:1.5}.selected-template-card{background:var(--surface-active);border:1px solid #c7d2fe;border-radius:16px;gap:18px;padding:18px;display:grid}.selected-template-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.selected-template-header h3{color:var(--text);letter-spacing:0;overflow-wrap:anywhere;margin:2px 0 0;font-size:18px}.selected-template-metadata{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;display:grid}.selected-template-metadata div{border:1px solid var(--line);background:#ffffffb8;border-radius:14px;padding:12px}.selected-template-metadata dt{color:var(--muted);font-size:12px;font-weight:600}.selected-template-metadata dd{color:var(--text);overflow-wrap:anywhere;margin:6px 0 0;font-size:14px;font-weight:600}.upload-box{background:var(--surface-soft);border:1px dashed #cbd5e1;border-radius:16px;gap:10px;padding:18px;display:grid}.upload-box input{max-width:100%}.upload-box span,.muted-text{color:var(--muted);font-size:14px}.requirement-upload-body,.requirement-upload-result{gap:20px;display:grid}.requirement-upload-body .loading-state,.requirement-upload-result .success-panel{margin-top:0}.requirement-upload-actions{align-items:center;display:flex}.progress-panel{background:var(--surface-active);color:var(--primary-dark);border:1px solid #c7d2fe;border-radius:16px;gap:8px;padding:16px;display:grid}.progress-panel.failed{background:var(--danger-soft);color:var(--danger);border-color:#fecaca}.progress-panel span{font-size:14px}.analysis-progress-card{color:var(--text);background:#f8fbff;border:1px solid #dbe4ff;border-radius:16px;gap:10px;padding:16px;display:grid}.analysis-progress-card.completed{background:#f8fbff;border-color:#bfdbfe}.analysis-progress-card.failed{background:var(--danger-soft);color:var(--danger);border-color:#fecaca}.analysis-progress-card p{margin:0}.analysis-progress-message{color:var(--text);font-size:15px;font-weight:500;line-height:1.7}.analysis-progress-card.failed .analysis-progress-message,.analysis-progress-card.failed .analysis-progress-meta{color:var(--danger)}.analysis-progress-meta,.analysis-progress-support{color:var(--muted);font-size:13px;line-height:1.6}.analysis-progress-support{color:var(--primary-dark)}.analysis-progress-bar{background:#e0e7ff;border-radius:999px;height:8px;overflow:hidden}.analysis-progress-bar span{border-radius:inherit;background:linear-gradient(90deg,#4f46e5,#2563eb);height:100%;transition:width .24s;display:block}.analysis-dashboard-shell{color:var(--text);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffe6;border:1px solid #e2e8f0db;border-radius:28px;gap:24px;padding:28px;display:grid;overflow:hidden;box-shadow:0 18px 48px #0f172a14}.analysis-dashboard-hero{grid-template-columns:minmax(0,1fr) minmax(148px,190px);align-items:start;gap:24px;display:grid}.analysis-dashboard-copy{min-width:0}.analysis-dashboard-copy .eyebrow{color:#2563eb}.analysis-dashboard-copy h2{color:var(--text);letter-spacing:0;margin:2px 0 0;font-size:24px;line-height:1.35}.analysis-dashboard-copy p{max-width:720px;color:var(--muted);margin:10px 0 0;font-size:14px;line-height:1.8}.analysis-selected-sheet{border:1px solid var(--line);background:var(--surface-soft);max-width:100%;color:var(--muted);overflow-wrap:anywhere;border-radius:999px;margin-top:10px;padding:6px 10px;font-size:12px;font-weight:600;display:inline-flex}.analysis-status-card{background:#f8fafcc7;border:1px solid #e2e8f0e6;border-radius:22px;gap:6px;padding:18px;display:grid;box-shadow:0 10px 26px #0f172a0d}.analysis-status-card span,.analysis-status-card small,.analysis-progress-estimate span,.analysis-progress-estimate p,.analysis-excel-readiness span{color:var(--muted);font-size:12px;font-weight:600}.analysis-status-card strong{color:var(--text);align-items:center;gap:8px;font-size:24px;line-height:1.35;display:inline-flex}.analysis-status-card small{color:#2563eb}.analysis-dashboard-success .analysis-status-card strong{color:var(--text)}.analysis-dashboard-success .analysis-status-card strong:before{color:#059669;content:"✓";background:#ecfdf5;border-radius:999px;place-items:center;width:18px;height:18px;font-size:12px;font-weight:700;line-height:1;display:inline-grid}.analysis-dashboard-danger .analysis-status-card strong{color:var(--danger)}.analysis-progress-estimate{background:#ffffffc2;border:1px solid #e2e8f0e6;border-radius:22px;gap:10px;padding:18px;display:grid;box-shadow:0 10px 26px #0f172a0a}.analysis-progress-estimate>div:first-child{justify-content:space-between;align-items:center;gap:12px;display:flex}.analysis-progress-estimate strong{color:var(--text);font-size:16px}.analysis-estimate-bar{background:#e5e7eb;border-radius:999px;height:8px;overflow:hidden}.analysis-estimate-bar span{border-radius:inherit;background:linear-gradient(90deg,#93c5fd,#2563eb);height:100%;transition:width .26s;display:block}.analysis-dashboard-danger .analysis-estimate-bar span{background:linear-gradient(90deg,#fca5a5,#ef4444)}.analysis-progress-estimate p{color:var(--muted);margin:0;line-height:1.6}.analysis-pipeline{grid-template-columns:repeat(9,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid;position:relative}.analysis-pipeline:before{content:"";background:#dbeafe;border-radius:999px;height:2px;position:absolute;top:20px;left:20px;right:20px}.analysis-pipeline-step{min-width:0;color:var(--muted);text-align:center;justify-items:center;gap:8px;font-size:12px;font-weight:600;line-height:1.4;display:grid;position:relative}.analysis-stage-node{z-index:1;border:1px solid var(--line);width:38px;height:38px;color:var(--muted);background:#fff;border-radius:999px;place-items:center;display:grid;position:relative;overflow:hidden;box-shadow:0 4px 12px #0f172a0a}.analysis-pipeline-step.completed{color:#1d4ed8}.analysis-pipeline-step.completed .analysis-stage-node{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.analysis-pipeline-step.current{color:#2563eb}.analysis-pipeline-step.current .analysis-stage-node{color:#2563eb;background:#eef2ff;border-color:#c7d2fe;box-shadow:0 8px 18px #2563eb1f}.analysis-pipeline-step.failed{color:var(--danger)}.analysis-pipeline-step.failed .analysis-stage-node{background:var(--danger-soft);color:var(--danger);border-color:#fecaca}.analysis-dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.analysis-metric-tile{background:#ffffffdb;border:1px solid #e2e8f0e6;border-radius:22px;gap:6px;min-width:0;padding:18px;display:grid;box-shadow:0 10px 26px #0f172a0a}.analysis-metric-tile span,.analysis-metric-tile small{color:var(--muted);font-size:12px;font-weight:600;line-height:1.5}.analysis-metric-tile strong{color:var(--text);overflow-wrap:anywhere;font-size:24px;line-height:1.2}.analysis-metric-success strong{color:var(--text)}.analysis-metric-warning strong{color:var(--warning)}.analysis-metric-danger strong{color:var(--danger)}.analysis-metric-tile.loading{position:relative;overflow:hidden}.analysis-metric-tile.loading:after{content:"";background:linear-gradient(105deg,#0000 20%,#ffffffb8,#0000 80%);animation:1.55s ease-in-out infinite analysis-skeleton-shimmer;position:absolute;inset:0}.analysis-failure-panel,.analysis-summary-error,.analysis-summary-loading,.analysis-excel-readiness{background:#ffffffdb;border:1px solid #e2e8f0e6;border-radius:22px;padding:18px;box-shadow:0 10px 26px #0f172a0a}.analysis-failure-panel,.analysis-summary-error{color:var(--danger);background:#fff7f7;border-color:#fecaca}.analysis-failure-panel p,.analysis-summary-error p,.analysis-excel-readiness p{color:var(--muted);margin:6px 0 0;font-size:14px;line-height:1.7}.analysis-summary-loading{color:#2563eb;font-size:14px;font-weight:700}.analysis-final-dashboard{gap:16px;display:grid}.analysis-excel-readiness{justify-content:space-between;align-items:center;gap:16px;display:flex}.analysis-excel-readiness.ready{background:linear-gradient(#fff 0%,#f8fbff 100%);border-color:#dbeafe}.analysis-excel-readiness.blocked{background:#fffdf5;border-color:#fde68a}.analysis-excel-readiness strong{color:var(--text);margin-top:4px;font-size:18px;display:block}@keyframes analysis-skeleton-shimmer{0%{transform:translate(-120%)}to{transform:translate(120%)}}.error-message,.loading-state{border-radius:14px;margin-top:18px;padding:14px 16px;font-weight:500}.error-message{background:var(--danger-soft);color:var(--danger);border:1px solid #fecaca}.error-message p,.loading-state p{margin:6px 0 0;font-weight:600;line-height:1.6}.loading-state{background:var(--surface-active);color:var(--primary-dark);border:1px solid #c7d2fe;align-items:flex-start;gap:12px;display:flex}.loading-dot{background:var(--primary);border-radius:999px;flex:none;width:11px;height:11px;margin-top:5px;animation:1.35s ease-in-out infinite pulse-dot;display:inline-block;box-shadow:0 0 #4f46e559}.state-actions{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}@keyframes pulse-dot{0%{opacity:1;box-shadow:0 0 #4f46e55c}70%{opacity:.72;box-shadow:0 0 0 8px #4f46e500}to{opacity:1;box-shadow:0 0 #4f46e500}}.success-text{font-weight:600;color:#1d4ed8!important}.analysis-summary-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.analysis-summary-grid div,.success-panel,.warning-message{border-radius:14px;padding:14px}.analysis-summary-grid div{border:1px solid var(--line);background:var(--surface-soft);padding-bottom:16px}.analysis-summary-grid span,.registration-summary-list dt{color:var(--muted);font-size:12px;font-weight:600;display:block}.analysis-summary-grid strong,.registration-summary-list dd{color:var(--text);overflow-wrap:anywhere;margin-top:5px;font-size:15px;font-weight:600;line-height:1.5;display:block}.safe-message-list{color:var(--warning);gap:8px;margin:16px 0 0;padding-left:20px;font-size:14px;line-height:1.7;display:grid}.warning-message{background:var(--warning-soft);color:var(--warning);border:1px solid #fde68a;margin-top:16px;font-weight:600}.success-panel{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;margin-top:18px}.success-panel p{color:#475569;margin:6px 0 0}.registration-summary-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 0;display:grid}.completion-metadata{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin:12px 0 0;display:grid}.completion-metadata div{background:#ffffffb8;border:1px solid #dbeafe;border-radius:12px;padding:12px}.completion-metadata dt{color:#1d4ed8;font-size:12px;font-weight:600}.completion-metadata dd{color:var(--text);overflow-wrap:anywhere;margin:5px 0 0;font-size:14px;font-weight:600}.registration-summary-list div{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;padding:14px}.registration-summary-list dd{margin:5px 0 0}.sheet-selector-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.sheet-selector-grid h3{margin:0 0 12px;font-size:16px}.sheet-card-list{gap:12px;display:grid}.sheet-candidate-card{border:1px solid var(--line);background:var(--surface-soft);width:100%;color:var(--text);text-align:left;cursor:pointer;border-radius:16px;gap:10px;padding:16px;display:grid}.sheet-candidate-card:hover,.sheet-candidate-card.selected{background:var(--surface-active);border-color:#c7d2fe}.sheet-candidate-card.selected{box-shadow:inset 0 0 0 1px #a5b4fc}.sheet-candidate-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.sheet-candidate-header strong,.sheet-candidate-header span,.sheet-candidate-meta,.sheet-candidate-summary,.selected-inline{display:block}.sheet-candidate-header strong{margin-bottom:4px;font-size:15px}.sheet-candidate-header span,.sheet-candidate-meta,.sheet-candidate-summary{color:var(--muted);font-size:13px;line-height:1.6}.sheet-candidate-summary{color:var(--text)}.ai-label{text-align:center;white-space:nowrap;border-radius:999px;min-width:64px;padding:5px 8px;font-weight:600;font-size:12px!important}.ai-label-recommended{background:var(--success-soft);color:var(--success)!important}.ai-label-possible{background:var(--surface-active);color:var(--primary-dark)!important}.ai-label-not_recommended{background:var(--warning-soft);color:var(--warning)!important}.ai-label-manual{background:#e2e8f0;color:var(--muted)!important}.selected-inline{color:var(--primary-dark);font-size:12px;font-weight:600}@media (max-width:1040px){body{overflow:auto}.app-shell{grid-template-columns:1fr;height:auto;overflow:visible}.sidebar{height:auto;min-height:auto;overflow:visible}.main-content{height:auto;overflow:visible}.sidebar-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.hero,.format-grid,.landing-service-grid,.template-management-grid,.analysis-summary-grid,.selected-template-metadata,.completion-metadata,.registration-summary-list,.sheet-selector-grid{grid-template-columns:1fr}.analysis-dashboard-hero{grid-template-columns:minmax(0,1fr) minmax(148px,190px)}.analysis-status-card{grid-column:1/-1}.analysis-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-item-card{grid-template-columns:1fr;align-items:flex-start}.history-item-side{border-left:0;width:100%;padding-left:0}.history-item-meta,.account-user-metadata{grid-template-columns:repeat(2,minmax(0,1fr))}.history-item-card.account-row{grid-template-columns:1fr}.history-item-meta,.history-item-actions{justify-content:flex-start}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.landing-page{height:100vh}.landing-nav{width:min(100% - 32px,1180px);padding:16px 0}.landing-nav-actions{gap:10px}.landing-nav-actions>a:not(.button){display:none}.landing-hero,.landing-services{width:min(100% - 32px,1180px)}.landing-hero{min-height:auto;padding:58px 0 34px}.landing-hero h1{font-size:46px}.landing-subcopy{font-size:17px}.landing-cta-row,.landing-cta-row .button{width:100%}.landing-signal-body{padding:18px}.landing-signal-grid{grid-template-columns:1fr}.landing-signal-grid span{min-height:58px}.landing-section-heading h2{font-size:24px}.main-content{padding:18px}.sidebar{padding:20px}.sidebar-nav,.card-grid,.analysis-dashboard-grid,.account-form-grid{grid-template-columns:1fr}.account-submit-button{justify-self:stretch;width:100%}.account-group-header{grid-template-columns:auto 1fr}.account-group-count{grid-column:2;width:fit-content}.history-item-card.account-row{align-items:flex-start}.analysis-dashboard-shell{border-radius:18px;padding:18px}.analysis-dashboard-hero{grid-template-columns:1fr}.analysis-pipeline{grid-template-columns:1fr;gap:12px}.analysis-pipeline:before{background:#dbeafe;width:2px;height:auto;top:20px;bottom:20px;left:19px}.analysis-pipeline-step{text-align:left;grid-template-columns:40px minmax(0,1fr);justify-items:start}.analysis-excel-readiness{flex-direction:column;align-items:stretch}.topbar,.section-heading,.placeholder-row{flex-direction:column;align-items:flex-start}.hero{padding:22px}.hero h2{font-size:26px}.workspace-badge{white-space:normal}.account-group-header,.history-group-header{grid-template-columns:auto 1fr}.account-group-count,.history-group-count{grid-column:2;width:fit-content}.account-company-header{grid-template-columns:1fr;align-items:stretch}.account-company-toggle{grid-template-columns:auto minmax(0,1fr)}.account-company-actions{justify-content:stretch;min-width:0}.account-company-delete-button{width:100%}.account-company-users{border-left:0;margin-left:0;padding-left:0}.token-usage-group-header{grid-template-columns:1fr}.token-usage-group-header .history-group-count{grid-column:1}.history-item-card{border-radius:18px;padding:18px}.history-item-content{grid-template-columns:40px minmax(0,1fr);gap:12px}.history-document-icon{border-radius:14px;width:40px;height:40px;font-size:18px}.history-source-list,.history-item-meta,.account-user-metadata{grid-template-columns:1fr}.history-item-actions,.history-download-button,.account-row-actions,.account-action-button{width:100%}}
