:root{--color-background: #f6f8fb;--color-surface: #ffffff;--color-surface-muted: #eef3f8;--color-text: #16202a;--color-text-muted: #4f6172;--color-border: #d7e0ea;--color-accent: #1d4ed8;--shadow-surface: 0 10px 30px rgba(15, 23, 42, .08);--font-family-base: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-6: 1.5rem;--space-8: 2rem;--space-12: 3rem;--radius-md: .75rem;--radius-lg: 1rem;--max-content-width: 1100px}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--color-background);color:var(--color-text);font-family:var(--font-family-base);line-height:1.5}a{color:var(--color-accent);text-decoration:none}a:hover{text-decoration:underline}h1,p{margin-top:0}p:last-child{margin-bottom:0}.page-container{width:min(100% - 2rem,var(--max-content-width));margin:0 auto}.app-shell{min-height:100vh;display:grid;grid-template-rows:auto 1fr auto}.app-header,.app-footer{background:var(--color-surface);border-color:var(--color-border);border-style:solid}.app-header{border-width:0 0 1px 0}.app-footer{border-width:1px 0 0 0}.app-header__inner,.app-footer__inner{display:flex;justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-4) 0}.app-nav,.app-footer__nav{display:flex;flex-wrap:wrap;gap:var(--space-4)}.app-brand{font-weight:700;color:var(--color-text)}.app-main{padding:var(--space-8) 0}.page-surface{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-surface)}.page-stack{display:grid;gap:var(--space-6);padding:var(--space-8)}.page-eyebrow{color:var(--color-text-muted);font-size:.875rem;text-transform:uppercase;letter-spacing:.04em;margin-bottom:var(--space-2)}.page-summary{color:var(--color-text-muted);max-width:70ch}.page-content{padding-top:var(--space-2)}.legal-document__stack{gap:var(--space-8)}.legal-document__hero{padding-bottom:var(--space-2);border-bottom:1px solid var(--color-border)}.legal-document__content{max-width:78ch}.markdown-renderer{color:var(--color-text)}.markdown-renderer>:first-child{margin-top:0}.markdown-renderer h1,.markdown-renderer h2,.markdown-renderer h3,.markdown-renderer h4{color:var(--color-text);line-height:1.25;margin-top:var(--space-8);margin-bottom:var(--space-3)}.markdown-renderer h1{font-size:2rem}.markdown-renderer h2{font-size:1.5rem}.markdown-renderer h3{font-size:1.25rem}.markdown-renderer p,.markdown-renderer ul,.markdown-renderer ol{margin-top:0;margin-bottom:var(--space-4);color:var(--color-text)}.markdown-renderer li+li{margin-top:var(--space-2)}.markdown-renderer ul,.markdown-renderer ol{padding-left:1.5rem}.markdown-renderer strong{color:var(--color-text)}.markdown-renderer hr{border:0;border-top:1px solid var(--color-border);margin:var(--space-8) 0}.submit-page{display:grid;gap:var(--space-6)}.submit-page__intro{display:grid;gap:var(--space-3)}.submit-grid{display:grid;gap:var(--space-6);grid-template-columns:minmax(0,2fr) minmax(18rem,1fr)}.submit-stack{display:grid;gap:var(--space-6)}.submit-section{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:var(--space-6)}.submit-section__header{margin-bottom:var(--space-4)}.submit-section__header h2{margin-bottom:var(--space-2)}.submit-section__description{color:var(--color-text-muted)}.submit-section__body{display:grid;gap:var(--space-4)}.form-grid{display:grid;gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr))}.form-field{display:grid;gap:var(--space-2)}.form-field--full{grid-column:1 / -1}.form-label{font-weight:600}.form-help{color:var(--color-text-muted);font-size:.95rem}.form-input,.form-select,.form-textarea{width:100%;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);font:inherit;padding:.75rem .875rem}.form-textarea{min-height:8rem;resize:vertical}.choice-list{display:grid;gap:var(--space-3)}.choice-card{display:grid;gap:var(--space-2);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.choice-card--disabled{opacity:.6}.choice-card__title-row{display:flex;gap:var(--space-3);align-items:center}.choice-card__meta{color:var(--color-text-muted);font-size:.95rem}.choice-card__badge{display:inline-flex;align-items:center;padding:.125rem .5rem;border-radius:999px;background:var(--color-surface-muted);border:1px solid var(--color-border);font-size:.8rem;color:var(--color-text-muted)}.checkbox-list{display:grid;gap:var(--space-3)}.checkbox-row{display:flex;align-items:flex-start;gap:var(--space-3)}.placeholder-panel{display:grid;gap:var(--space-3);padding:var(--space-4);border:1px dashed var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.placeholder-panel__label{font-size:.875rem;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted)}.placeholder-panel__value{font-weight:600}.inline-note{color:var(--color-text-muted)}.status-seam{padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.status-seam--warning{border-color:#d97706}.status-seam--error{border-color:#b91c1c}.error-text{color:#b91c1c;font-size:.95rem}.error-list{margin:0;padding-left:1.25rem;color:#b91c1c}.summary-panel{position:sticky;top:var(--space-6);display:grid;gap:var(--space-4);align-self:start}.summary-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-surface);padding:var(--space-6);display:grid;gap:var(--space-4)}.summary-card h2,.summary-card h3{margin-bottom:0}.summary-list{display:grid;gap:var(--space-3)}.summary-list__row{display:grid;gap:var(--space-1)}.summary-list__label{color:var(--color-text-muted);font-size:.9rem}.summary-code{background:#0f172a;color:#e2e8f0;border-radius:var(--radius-md);padding:var(--space-4);overflow-x:auto;font-size:.9rem}.action-row{display:flex;flex-wrap:wrap;gap:var(--space-3)}.button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);font:inherit;font-weight:600;padding:.75rem 1rem;cursor:pointer}.button--primary{background:var(--color-accent);border-color:var(--color-accent);color:#fff}.button:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 960px){.submit-grid{grid-template-columns:1fr}.summary-panel{position:static}}@media (max-width: 720px){.form-grid{grid-template-columns:1fr}}.processing-page{display:grid;gap:var(--space-6)}.processing-layout{display:grid;gap:var(--space-6);grid-template-columns:minmax(0,2fr) minmax(18rem,1fr)}.processing-stack{display:grid;gap:var(--space-6)}.processing-panel{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:var(--space-6)}.processing-panel__header{margin-bottom:var(--space-4)}.processing-panel__header h2{margin-bottom:var(--space-2)}.processing-panel__description{color:var(--color-text-muted)}.processing-panel__body{display:grid;gap:var(--space-4)}.processing-hero{display:grid;gap:var(--space-3)}.processing-reference{display:inline-flex;align-items:center;width:fit-content;gap:var(--space-2);padding:.375rem .625rem;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:.9rem}.processing-status-card{display:grid;gap:var(--space-3);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.processing-status-label{color:var(--color-text-muted);font-size:.9rem}.processing-step-list{display:grid;gap:var(--space-3)}.processing-step{display:grid;gap:var(--space-1);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.processing-step--active{border-color:var(--color-accent)}.processing-step--complete{background:#f8fbff}.processing-step__row{display:flex;align-items:center;gap:var(--space-3)}.processing-step__indicator{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-muted);font-weight:700;color:var(--color-text-muted);flex:0 0 auto}.processing-step--active .processing-step__indicator{border-color:var(--color-accent);color:var(--color-accent);background:#eff6ff}.processing-step--complete .processing-step__indicator{border-color:#15803d;color:#15803d;background:#f0fdf4}.processing-step__meta{color:var(--color-text-muted);font-size:.9rem}.processing-note{color:var(--color-text-muted)}.processing-rotating-card{min-height:12rem;display:grid;gap:var(--space-3);padding:var(--space-5);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.processing-rotating-card__tag{display:inline-flex;align-items:center;width:fit-content;padding:.125rem .5rem;border:1px solid var(--color-border);border-radius:999px;color:var(--color-text-muted);font-size:.8rem;text-transform:uppercase;letter-spacing:.04em}.processing-rotating-card__body{color:var(--color-text-muted)}.processing-action-grid{display:grid;gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr))}.processing-select,.processing-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);font:inherit}.processing-select{padding:.75rem .875rem;width:100%}.processing-button{padding:.75rem 1rem;font-weight:600;cursor:pointer}.processing-button--primary{background:var(--color-accent);border-color:var(--color-accent);color:#fff}.processing-button-row{display:flex;flex-wrap:wrap;gap:var(--space-3)}.processing-button:disabled{opacity:.6;cursor:not-allowed}.processing-aside{display:grid;gap:var(--space-4);align-self:start;position:sticky;top:var(--space-6)}.processing-summary-card{display:grid;gap:var(--space-4);padding:var(--space-6);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-surface)}.processing-summary-card h2,.processing-summary-card h3{margin-bottom:0}.processing-summary-list{display:grid;gap:var(--space-3)}.processing-summary-row{display:grid;gap:var(--space-1)}.processing-summary-label{color:var(--color-text-muted);font-size:.9rem}.processing-dev-note{color:var(--color-text-muted);font-size:.95rem}.processing-emphasis{font-weight:600}@media (max-width: 960px){.processing-layout{grid-template-columns:1fr}.processing-aside{position:static}}@media (max-width: 720px){.processing-action-grid{grid-template-columns:1fr}}.processing-polling-card{gap:.5rem}.processing-polling-meta{margin:0;font-size:.875rem;color:var(--color-text-muted)}.result-page{display:grid;gap:var(--space-6)}.result-layout{display:grid;gap:var(--space-6);grid-template-columns:minmax(0,2fr) minmax(18rem,1fr)}.result-stack{display:grid;gap:var(--space-6)}.result-panel{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:var(--space-6)}.result-panel__header{margin-bottom:var(--space-4)}.result-panel__header h2{margin-bottom:var(--space-2)}.result-panel__description{color:var(--color-text-muted)}.result-panel__body{display:grid;gap:var(--space-4)}.result-hero{display:grid;gap:var(--space-3)}.result-reference{display:inline-flex;align-items:center;width:fit-content;gap:var(--space-2);padding:.375rem .625rem;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-muted);color:var(--color-text-muted);font-size:.9rem}.result-outcome-card{display:grid;gap:var(--space-3);padding:var(--space-5);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.result-outcome-card--approved{border-color:#15803d}.result-outcome-card--declined{border-color:#b91c1c}.result-outcome-card--review{border-color:#b45309}.result-badge{display:inline-flex;align-items:center;width:fit-content;padding:.125rem .5rem;border:1px solid var(--color-border);border-radius:999px;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);background:var(--color-surface-muted)}.result-badge--approved{color:#166534;border-color:#15803d;background:#f0fdf4}.result-badge--declined{color:#991b1b;border-color:#b91c1c;background:#fef2f2}.result-badge--review{color:#92400e;border-color:#b45309;background:#fffbeb}.result-summary-grid{display:grid;gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr))}.result-summary-item{display:grid;gap:var(--space-1);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.result-summary-label{color:var(--color-text-muted);font-size:.9rem}.result-signal-list{display:grid;gap:var(--space-3)}.result-signal{display:grid;gap:var(--space-2);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.result-signal__row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.result-signal__status{display:inline-flex;align-items:center;width:fit-content;padding:.125rem .5rem;border:1px solid var(--color-border);border-radius:999px;font-size:.8rem;color:var(--color-text-muted)}.result-signal__status--positive{color:#166534;border-color:#15803d;background:#f0fdf4}.result-signal__status--watch{color:#92400e;border-color:#b45309;background:#fffbeb}.result-signal__status--negative{color:#991b1b;border-color:#b91c1c;background:#fef2f2}.result-explanation-card,.result-future-seam,.result-dev-card{display:grid;gap:var(--space-3);padding:var(--space-5);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.result-action-grid{display:grid;gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr))}.result-select,.result-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);font:inherit}.result-select{width:100%;padding:.75rem .875rem}.result-button{padding:.75rem 1rem;font-weight:600;cursor:pointer}.result-button--primary{background:var(--color-accent);border-color:var(--color-accent);color:#fff}.result-button-row{display:flex;flex-wrap:wrap;gap:var(--space-3)}.result-aside{display:grid;gap:var(--space-4);align-self:start;position:sticky;top:var(--space-6)}.result-side-card{display:grid;gap:var(--space-4);padding:var(--space-6);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-surface)}.result-side-card h2,.result-side-card h3{margin-bottom:0}.result-side-list{display:grid;gap:var(--space-3)}.result-side-row{display:grid;gap:var(--space-1)}.result-side-label{color:var(--color-text-muted);font-size:.9rem}.result-code{background:#0f172a;color:#e2e8f0;border-radius:var(--radius-md);padding:var(--space-4);overflow-x:auto;font-size:.9rem}.result-note{color:var(--color-text-muted)}.result-emphasis{font-weight:600}@media (max-width: 960px){.result-layout{grid-template-columns:1fr}.result-aside{position:static}}@media (max-width: 720px){.result-summary-grid,.result-action-grid{grid-template-columns:1fr}}.error-state{display:grid;gap:.5rem;padding:1rem 1.125rem;border-radius:.875rem;border:1px solid var(--color-border-subtle);background:var(--color-surface-raised)}.error-state--critical{border-color:#b91c1c38;background:#fef2f2eb}.error-state--inline{border-color:#b4530938;background:#fffbebeb}.error-state--degraded{border-color:#2563eb2e;background:#eff6ffeb}.error-state__message,.error-state__meta,.error-state__guidance{margin:0}.error-state__meta,.error-state__guidance{color:var(--color-text-muted)}.status-page{display:block}.status-layout{display:grid;gap:1.5rem;grid-template-columns:minmax(0,1fr) 320px}@media (max-width: 960px){.status-layout{grid-template-columns:1fr}}.status-stack{display:grid;gap:1.25rem}.status-card{display:grid;gap:.5rem}.status-label{font-size:.75rem;text-transform:uppercase;color:var(--color-text-muted)}.status-note{margin:0;color:var(--color-text-muted)}.status-action-grid{display:grid;gap:.75rem}.status-button-row{display:flex;flex-wrap:wrap;gap:.5rem}.status-aside{display:grid;gap:1rem}.status-summary-card{display:grid;gap:.5rem}.status-summary-row{display:flex;justify-content:space-between;gap:1rem}
