:root{--est-bg: #eef2f7;--est-bg-ambient: radial-gradient(circle at top left, #dcecff 0%, transparent 32%), radial-gradient(circle at top right, #ebf8f2 0%, transparent 28%), linear-gradient(180deg, #f8fbff 0%, #edf2f7 100%);--est-surface: rgba(255, 255, 255, .92);--est-surface-strong: #ffffff;--est-surface-ink: #0d1730;--est-border: rgba(150, 168, 195, .28);--est-border-strong: rgba(105, 126, 159, .36);--est-text: #15213a;--est-text-muted: #65748f;--est-primary: #0f1d44;--est-primary-bright: #4358ff;--est-primary-soft: rgba(67, 88, 255, .12);--est-focus: rgba(67, 88, 255, .22);--est-success: #0e9f6e;--est-warning: #d97706;--est-danger: #dc2626;--est-info: #3456f5;--est-shadow-sm: 0 18px 40px rgba(18, 30, 64, .08);--est-shadow-md: 0 32px 80px rgba(18, 30, 64, .14);--est-radius-lg: 24px;--est-radius-md: 16px;--est-radius-sm: 12px;--est-control-height: 46px;--est-font-family: "Manrope", "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif}*{box-sizing:border-box}html,body,#root{margin:0;width:100%;min-height:100%}body{font-family:var(--est-font-family);color:var(--est-text);background:var(--est-bg);background-image:var(--est-bg-ambient)}#appbar{flex-shrink:0;height:var(--t3os-appbar-height, 64px)}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.estimator-app-shell{display:grid;grid-template-columns:88px minmax(0,1fr);min-height:calc(100vh - var(--t3os-appbar-height, 64px))}.estimator-rail{display:flex;flex-direction:column;align-items:center;gap:22px;padding:18px 14px;border-right:1px solid rgba(169,183,210,.2);background:#f8faffad;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.estimator-brand{padding-top:8px}.estimator-brand__mark{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:18px;background:linear-gradient(180deg,#0d1730,#172756);color:#fff;box-shadow:var(--est-shadow-sm)}.estimator-rail__nav{display:grid;gap:14px}.estimator-rail__item{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border:1px solid transparent;border-radius:18px;background:transparent;color:#7a88a3;transition:transform .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.estimator-rail__item:hover,.estimator-rail__item.is-active{background:#4358ff17;border-color:#4358ff29;color:var(--est-primary-bright);transform:translateY(-1px)}.estimator-rail__footer{margin-top:auto}.estimator-rail__pill{padding:10px 12px;border-radius:999px;background:#0f1d4414;color:#53627e;font-size:12px;font-weight:700;letter-spacing:.03em}.estimator-main{padding:32px}.estimator-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:26px}.estimator-header__eyebrow,.panel-heading__eyebrow,.workspace-gate__eyebrow{color:var(--est-primary-bright);font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.estimator-header__title,.panel-heading__title,.workspace-gate__title{margin:8px 0 0;font-size:38px;line-height:1.05;letter-spacing:-.04em}.estimator-header__subtitle,.panel-heading__copy,.workspace-gate__copy{margin:10px 0 0;max-width:780px;color:var(--est-text-muted);font-size:16px;line-height:1.55}.estimator-header__actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px}.estimator-content{min-width:0}.estimator-grid{display:grid;grid-template-columns:minmax(300px,.84fr) minmax(540px,1.5fr) minmax(320px,.9fr);gap:20px;align-items:start}.estimator-panel,.workspace-gate__panel{border:1px solid var(--est-border);border-radius:var(--est-radius-lg);background:var(--est-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:var(--est-shadow-sm)}.estimator-panel{padding:22px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.search-input{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding:0 14px;height:var(--est-control-height);border:1px solid var(--est-border);border-radius:14px;background:#ffffffc7;color:var(--est-text-muted)}.search-input .ui-input{border:0;padding:0;height:auto;background:transparent;box-shadow:none}.ui-input,.ui-textarea{width:100%;border:1px solid var(--est-border-strong);border-radius:14px;background:#ffffffe6;color:var(--est-text);transition:border-color .15s ease,box-shadow .15s ease}.ui-input{height:var(--est-control-height);padding:0 14px}.ui-textarea{min-height:116px;padding:14px;resize:vertical}.ui-input:focus,.ui-textarea:focus{outline:none;border-color:#4358ff6b;box-shadow:0 0 0 4px var(--est-focus)}.ui-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:var(--est-control-height);padding:0 18px;border-radius:14px;border:1px solid transparent;cursor:pointer;font-weight:700;letter-spacing:-.02em;transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease}.ui-button:hover:not(:disabled){transform:translateY(-1px)}.ui-button:disabled{cursor:not-allowed;opacity:.48}.ui-button--primary{background:linear-gradient(180deg,#15234d,#0d1730);color:#fff;box-shadow:0 18px 40px #0d173033}.ui-button--secondary{border-color:#4358ff29;background:#4358ff14;color:var(--est-primary-bright)}.project-list,.upload-list,.evidence-list{display:grid;gap:12px}.project-list__item,.worksheet-row{display:grid;width:100%;border:1px solid var(--est-border);border-radius:18px;background:#ffffffc2;text-align:left;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.project-list__item{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:16px 18px}.project-list__item:hover,.project-list__item.is-selected,.worksheet-row:hover,.worksheet-row.is-selected{border-color:#4358ff57;box-shadow:0 14px 32px #1f335c14;transform:translateY(-1px)}.project-list__code{color:var(--est-primary-bright);font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.project-list__name{margin-top:6px;font-size:16px;font-weight:700;letter-spacing:-.02em}.project-list__meta{display:flex;align-items:center;gap:8px;color:var(--est-text-muted)}.ui-badge{display:inline-flex;align-items:center;gap:8px;min-height:28px;padding:0 11px;border:1px solid transparent;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.03em}.ui-badge--muted{background:#8c9cb51f;color:#5b6881}.ui-badge--success{background:#0f9f6e1f;color:var(--est-success)}.ui-badge--warning{background:#d9770624;color:var(--est-warning)}.ui-badge--danger{background:#dc26261f;color:var(--est-danger)}.ui-badge--info{background:#4358ff1f;color:var(--est-info)}.agent-card,.agent-timeline,.evidence-panel{border:1px solid var(--est-border);border-radius:20px;background:#ffffffd6;padding:18px}.agent-card{margin-top:18px}.agent-card__header{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:14px;font-weight:800;letter-spacing:.02em}.agent-card__textarea{margin-bottom:12px}.inline-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.worksheet-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.worksheet-toolbar__summary{display:flex;flex-wrap:wrap;gap:10px}.worksheet-toolbar__message{color:var(--est-primary-bright);font-size:13px;font-weight:700}.upload-dropzone{display:grid;justify-items:start;gap:10px;padding:22px;border:1px dashed rgba(67,88,255,.26);border-radius:20px;background:linear-gradient(180deg,#fafcffe6,#f0f4fce6);margin-bottom:16px}.upload-dropzone.is-dragging{border-color:#4358ff8f;background:#4358ff14}.upload-dropzone.is-disabled{opacity:.5}.upload-dropzone__icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;background:#4358ff1f;color:var(--est-primary-bright)}.upload-dropzone__title{font-size:18px;font-weight:800;letter-spacing:-.03em}.upload-dropzone__copy,.timeline-step__copy,.upload-list__meta,.upload-list__message,.evidence-list__locator{color:var(--est-text-muted);font-size:13px;line-height:1.5}.upload-list__item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid var(--est-border);border-radius:16px;background:#ffffffbd}.upload-list__name,.timeline-step__title,.worksheet-row__title{font-weight:700;letter-spacing:-.02em}.upload-list__status{display:flex;align-items:center;gap:10px}.worksheet-table{margin-top:18px;overflow:hidden;border:1px solid var(--est-border);border-radius:20px;background:#ffffffc7}.worksheet-table__header,.worksheet-row{grid-template-columns:minmax(240px,.9fr) minmax(140px,.38fr) minmax(0,1fr);gap:14px}.worksheet-table__header{display:grid;padding:14px 18px;border-bottom:1px solid var(--est-border);color:#60708d;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.worksheet-row{padding:15px 18px;border-radius:0;border-width:0 0 1px}.worksheet-row:last-child{border-bottom:0}.worksheet-row__scope{display:grid;gap:5px}.worksheet-row__number{color:var(--est-primary-bright);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.worksheet-row__type{color:#55627c;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.worksheet-row__preview,.evidence-list__body{color:#33405c;font-size:13px;line-height:1.55}.worksheet-table__empty,.evidence-list__empty{display:flex;align-items:center;gap:10px;padding:24px 18px;color:var(--est-text-muted)}.timeline-step{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:14px 0;border-top:1px solid rgba(168,181,206,.18)}.timeline-step:first-of-type{border-top:0}.timeline-step__icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px}.timeline-step__icon--success{background:#0f9f6e24;color:var(--est-success)}.timeline-step__icon--info{background:#4358ff24;color:var(--est-info)}.timeline-step__icon--warning{background:#d9770624;color:var(--est-warning)}.live-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:999px;background:#4358ff1a;color:var(--est-primary-bright);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.live-pill__dot{width:8px;height:8px;border-radius:999px;background:var(--est-primary-bright)}.evidence-panel{margin-top:18px}.evidence-list__item{padding:14px;border:1px solid var(--est-border);border-radius:16px;background:#ffffffb8}.evidence-list__header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.evidence-list__confidence{color:#53627e;font-size:12px;font-weight:800}.evidence-list__body{margin:8px 0 0;white-space:pre-wrap;font-family:IBM Plex Mono,SFMono-Regular,Consolas,Liberation Mono,monospace}.workspace-gate{display:flex;min-height:calc(100vh - var(--t3os-appbar-height, 64px));align-items:center;justify-content:center;padding:32px}.workspace-gate__panel{width:min(540px,100%);padding:32px}.workspace-gate__actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-top:18px}.subtle-icon{color:var(--est-text-muted)}.estimate-header-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.estimate-header-actions__meta{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.estimate-header-actions__hint{max-width:240px;color:var(--est-text-muted);font-size:12px;line-height:1.4;text-align:right}.estimate-index-layout,.initialize-layout{display:grid;gap:22px}.estimate-index-layout{grid-template-columns:minmax(0,1fr)}.estimate-index-panel,.create-estimate-panel{padding:24px}.create-estimate-panel__form{display:grid;gap:16px}.create-estimate-panel__actions{display:flex;justify-content:flex-end;gap:12px}.estimate-index-panel__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.estimate-index-panel__search{flex:1;max-width:720px;margin-bottom:0}.estimate-list-table{overflow:hidden;border:1px solid var(--est-border);border-radius:20px;background:#ffffffd1}.estimate-list-table__header,.estimate-list-table__row{display:grid;grid-template-columns:minmax(220px,1.15fr) minmax(220px,1.15fr) minmax(140px,.6fr) minmax(160px,.7fr) minmax(120px,.45fr);gap:16px;align-items:center}.estimate-list-table__header{padding:16px 22px;border-bottom:1px solid var(--est-border);color:#60708d;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.estimate-list-table__row{padding:18px 22px;border-bottom:1px solid var(--est-border)}.estimate-list-table__row:last-child{border-bottom:0}.estimate-list-table__cell{display:flex;align-items:center;gap:12px;min-width:0;color:#44526e}.estimate-list-table__cell--title{color:var(--est-text);font-size:16px;font-weight:700;letter-spacing:-.02em}.estimate-list-table__cell span{display:flex;flex-direction:column;min-width:0}.estimate-list-table__cell small{color:var(--est-text-muted);font-size:12px}.estimate-list-table__empty,.loading-state,.loading-inline{display:flex;align-items:center;gap:10px;color:var(--est-text-muted)}.estimate-list-table__empty{padding:28px 22px}.loading-state{justify-content:center;min-height:320px}.loading-inline{margin-bottom:16px}.estimate-breadcrumbs{display:flex;align-items:center;gap:14px;margin-bottom:18px;color:#62728e;font-size:14px;font-weight:700}.estimate-breadcrumbs__link{display:inline-flex;align-items:center;gap:8px}.estimate-breadcrumbs__divider{color:#62728e75}.estimate-breadcrumbs__current{color:var(--est-text)}.initialize-layout{grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);align-items:start}.initialize-main-column,.estimate-side-column{display:grid;gap:18px}.estimate-step-card{padding:0;overflow:hidden}.estimate-step-card__header{display:flex;align-items:flex-start;gap:14px;padding:22px 24px;border-bottom:1px solid rgba(168,181,206,.16)}.estimate-step-card__header--spread{justify-content:space-between}.estimate-step-card__header-group{display:flex;align-items:flex-start;gap:14px}.estimate-step-card__index{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:12px;background:#4358ff1f;color:var(--est-primary-bright);font-size:16px;font-weight:800}.estimate-step-card__title{margin:2px 0 0;font-size:20px;line-height:1.15;letter-spacing:-.03em}.estimate-step-card__copy{margin:8px 0 0;color:var(--est-text-muted);font-size:14px;line-height:1.5}.estimate-step-card__actions{display:flex;align-items:center;gap:10px}.estimate-context-field{display:grid;gap:10px;padding:20px 24px 24px}.estimate-context-field__label{color:#44526e;font-size:14px;font-weight:800}.estimate-context-field__label--icon{display:inline-flex;align-items:center;gap:8px}.estimate-context-field__value{display:flex;align-items:center;gap:12px;min-height:56px;padding:0 16px;border:1px solid var(--est-border-strong);border-radius:14px;background:#ffffffeb}.estimate-context-field__text{font-size:16px;font-weight:700;letter-spacing:-.02em}.estimate-context-field__meta{margin-top:3px;color:var(--est-text-muted);font-size:12px}.estimate-instructions__textarea{min-height:128px}.document-ingestion__table{margin:0 24px 24px;overflow:hidden;border:1px solid var(--est-border);border-radius:20px;background:#fffc}.document-ingestion__header,.document-ingestion__row{display:grid;grid-template-columns:minmax(240px,1.2fr) minmax(120px,.45fr) minmax(180px,.65fr);gap:16px;align-items:center}.document-ingestion__header{padding:14px 18px;border-bottom:1px solid var(--est-border);color:#60708d;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.document-ingestion__row{padding:16px 18px;border-bottom:1px solid var(--est-border)}.document-ingestion__row:last-child{border-bottom:0}.document-ingestion__file,.document-ingestion__status{display:flex;align-items:center;gap:12px}.document-ingestion__icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:14px;background:#4358ff14;color:var(--est-primary-bright)}.document-ingestion__name{font-size:15px;font-weight:700;letter-spacing:-.02em}.document-ingestion__meta,.document-ingestion__status-copy,.classification-card__empty{color:var(--est-text-muted);font-size:13px;line-height:1.45}.document-ingestion__type{color:#54637f;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.document-ingestion__empty{padding:20px 18px;color:var(--est-text-muted)}.pipeline-card,.classification-card,.evidence-drawer-card{padding:22px}.pipeline-card__title{font-size:18px}.pipeline-step-list{display:grid;gap:14px}.pipeline-step{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:start}.pipeline-step__indicator{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;background:#4358ff1a;color:var(--est-info)}.pipeline-step__indicator--done{background:#0f9f6e1f;color:var(--est-success)}.pipeline-step__title{font-size:16px;font-weight:700;letter-spacing:-.02em}.pipeline-step__copy{margin-top:4px;color:var(--est-text-muted);font-size:14px;line-height:1.5}.classification-card{border:1px solid rgba(17,28,58,.16);border-radius:24px;background:linear-gradient(180deg,#111c3a,#0d1730);color:#fff;box-shadow:var(--est-shadow-md)}.classification-card__header{display:inline-flex;align-items:center;gap:10px;font-size:15px;font-weight:800;letter-spacing:-.02em}.classification-card__rows{display:grid;gap:14px;margin-top:18px}.classification-card__row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#e2e9ffe6}.classification-card__row strong{padding:6px 10px;border-radius:12px;background:#ffffff1a;color:#fff;font-size:13px}.estimate-action-banner{margin-top:18px;padding:14px 18px;border:1px solid rgba(67,88,255,.16);border-radius:16px;background:#4358ff14;color:var(--est-primary-bright);font-size:14px;font-weight:700}.is-spinning{animation:spin .9s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(max-width:1380px){.estimator-grid{grid-template-columns:minmax(280px,.9fr) minmax(0,1.2fr)}.estimator-agent-panel{grid-column:1 / -1}.initialize-layout{grid-template-columns:1fr}}@media(max-width:1024px){.estimator-app-shell{grid-template-columns:1fr}.estimator-rail{display:none}.estimator-main{padding:20px}.estimator-grid,.inline-form,.workspace-gate__actions{grid-template-columns:1fr}.create-estimate-panel__actions,.estimate-header-actions,.estimate-header-actions__meta,.estimate-step-card__actions{align-items:stretch}.estimate-list-table__header,.estimate-list-table__row,.document-ingestion__header,.document-ingestion__row,.worksheet-table__header,.worksheet-row{grid-template-columns:1fr}}
