:root{color:#182230;background:#f5f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #f5f7fb;--surface: #ffffff;--surface-strong: #f8fafc;--text: #182230;--muted: #667085;--border: #d9e1ec;--border-strong: #bfccda;--blue: #1a73e8;--blue-dark: #1557b0;--green: #188038;--orange: #b86f00;--red: #b42318;--shadow: 0 18px 45px rgba(24, 34, 48, .08)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#fffffff5,#f5f7fbf5),var(--bg)}button,input,select,textarea{font:inherit}button{border:0}.app-shell{display:grid;grid-template-columns:286px minmax(0,1fr);min-height:100vh}.side-rail{display:flex;flex-direction:column;gap:28px;padding:24px 20px;background:#fff;border-right:1px solid var(--border)}.brand-lockup{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:8px;color:#fff;background:var(--blue);box-shadow:0 10px 24px #1a73e838}.brand-lockup h1,.topbar h2,.panel h3,.review-panel h3{margin:0;letter-spacing:0}.brand-lockup h1{font-size:17px;line-height:1.25}.brand-lockup p{margin:3px 0 0;color:var(--muted);font-size:12px}.step-list{display:grid;gap:10px;padding:0;margin:0;list-style:none}.step-item{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:center;padding:10px;border-radius:8px;color:var(--muted)}.step-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;color:var(--muted);background:#eef2f7}.step-item strong,.step-item small{display:block}.step-item strong{color:inherit;font-size:14px}.step-item small{margin-top:2px;font-size:12px}.step-item.active{color:var(--blue);background:#eef5ff}.step-item.active .step-icon,.step-item.complete .step-icon{color:#fff;background:var(--blue)}.step-item.complete{color:var(--text)}.rail-note{display:flex;gap:10px;align-items:flex-start;margin-top:auto;padding:13px;border:1px solid #cce2d3;border-radius:8px;color:#155f2a;background:#f1faf4;font-size:13px;line-height:1.45}.workspace{display:flex;flex-direction:column;min-width:0;padding:22px;gap:16px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px}.section-kicker{margin:0 0 4px;color:var(--blue);font-size:12px;font-weight:700}.topbar h2{font-size:clamp(21px,2vw,30px);line-height:1.16}.account-strip{display:flex;align-items:center;gap:9px;padding:9px 10px 9px 12px;border:1px solid var(--border);border-radius:999px;background:var(--surface);box-shadow:0 6px 18px #1822300d;color:var(--muted);font-size:13px;white-space:nowrap}.account-strip strong{color:var(--text);font-size:13px}.login-button,.icon-command{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.login-button{gap:8px;min-height:40px;padding:0 14px;border-radius:999px;color:#fff;background:var(--blue);font-size:13px;font-weight:760;white-space:nowrap}.login-button:hover:not(:disabled){background:var(--blue-dark)}.login-button:disabled{cursor:not-allowed;opacity:.62}.icon-command{width:28px;height:28px;border-radius:999px;color:var(--muted);background:#f2f4f7}.icon-command:hover{color:var(--text);background:#e7edf6}.status-dot{width:8px;height:8px;border-radius:999px;background:var(--green)}.avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;color:#fff;background:#344054;font-weight:700}.control-grid{display:grid;grid-template-columns:minmax(250px,.82fr) minmax(310px,1.1fr) minmax(330px,1fr);gap:16px}.notice-bar{display:flex;align-items:flex-start;gap:9px;padding:12px 14px;border:1px solid #fedf89;border-radius:8px;color:#7a4a00;background:#fffaeb;font-size:13px;line-height:1.45}.panel,.review-panel{border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.panel{padding:16px}.panel-heading,.review-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.panel-heading h3,.review-heading h3{font-size:16px;line-height:1.25}.panel-heading p,.review-heading p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.45}.select-label{display:grid;gap:8px;margin-top:16px;color:var(--muted);font-size:13px;font-weight:650}select,.cell-input,.date-pair input,textarea{width:100%;border:1px solid var(--border);border-radius:7px;color:var(--text);background:#fff;outline:none}select{height:42px;padding:0 12px}textarea{resize:vertical}select:focus,input:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1a73e821}.calendar-summary{display:flex;gap:10px;align-items:center;margin-top:14px;padding:12px;border-radius:8px;background:var(--surface-strong)}.calendar-summary>span{width:12px;height:34px;border-radius:999px}.calendar-summary strong,.calendar-summary small{display:block}.calendar-summary small{margin-top:2px;color:var(--muted)}.dropzone{position:relative;display:grid;place-items:center;min-height:198px;margin-top:16px;overflow:hidden;border:1px dashed var(--border-strong);border-radius:8px;background:#f8fbff;cursor:pointer}.dropzone input{position:absolute;inset:0;opacity:0;cursor:pointer}.dropzone img{width:100%;height:198px;object-fit:cover}.dropzone-empty{display:grid;place-items:center;gap:6px;color:var(--blue)}.dropzone-empty strong{color:var(--text)}.dropzone-empty small,.file-meta small{color:var(--muted)}.file-meta{display:flex;justify-content:space-between;gap:12px;margin-top:10px;color:var(--text);font-size:13px}.sample-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:36px;margin-top:10px;border:1px solid var(--border);border-radius:7px;color:#175cd3;background:#f5f9ff;font-size:13px;font-weight:750;cursor:pointer}.sample-button:hover{border-color:#b8d4ff;background:#eef5ff}.instruction-panel textarea{min-height:126px;margin-top:16px;padding:12px;line-height:1.55}.action-row{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 14px;border-radius:7px;font-size:13px;font-weight:750;cursor:pointer}.primary-button{color:#fff;background:var(--blue)}.primary-button:hover:not(:disabled){background:var(--blue-dark)}.secondary-button{border:1px solid var(--border);color:var(--text);background:#fff}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.56}.review-panel{min-height:400px;overflow:hidden}.review-heading{padding:16px;border-bottom:1px solid var(--border)}.review-counts{display:flex;gap:8px;align-items:center;white-space:nowrap}.review-counts span,.review-counts strong{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;font-size:12px}.review-counts span{color:var(--muted);background:#f2f4f7}.review-counts strong{color:#175cd3;background:#eef5ff}.table-wrap{overflow-x:auto}table{width:100%;min-width:980px;table-layout:fixed;border-collapse:collapse}th,td{padding:12px 10px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}th{color:#475467;background:#f8fafc;font-size:12px;font-weight:800}td{font-size:13px}th:first-child,td:first-child{width:48px;text-align:center}th:nth-child(2),td:nth-child(2){width:220px}th:nth-child(3),td:nth-child(3){width:300px}th:nth-child(4),td:nth-child(4){width:58px}th:nth-child(6),td:nth-child(6){width:76px}th:nth-child(7),td:nth-child(7){width:130px}.cell-input,.cell-textarea,.date-pair input{padding:8px 9px;font-size:13px}.date-pair input{padding:8px 7px;font-size:12px}.title-input{font-weight:760}.source-text{display:block;width:176px;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.35;white-space:pre-line}.date-pair{display:grid;grid-template-columns:minmax(116px,1fr) 12px minmax(116px,1fr);gap:6px;align-items:center}.cell-textarea{min-width:150px;min-height:78px;resize:vertical}.confidence{display:inline-flex;min-width:48px;justify-content:center;padding:5px 8px;border-radius:999px;font-size:12px;font-weight:800}.confidence.high{color:#155f2a;background:#e7f6ec}.confidence.medium{color:#8a4b00;background:#fff2d5}.confidence.low{color:#9f1e15;background:#fee4e2}.status-pill{display:inline-flex;align-items:center;gap:6px;max-width:122px;min-height:28px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:760;line-height:1.25;white-space:normal}.status-pill.draft{color:#475467;background:#f2f4f7}.status-pill.creating{color:#175cd3;background:#eef5ff}.status-pill.created{color:#155f2a;background:#e7f6ec}.status-pill.failed{color:var(--red);background:#fee4e2}.event-link{display:inline-flex;align-items:center;gap:5px;margin-top:7px;color:#175cd3;font-size:12px;font-weight:750;text-decoration:none}.event-link:hover{text-decoration:underline}.created-row{background:#fbfffc}.empty-state{display:grid;place-items:center;gap:8px;min-height:306px;padding:28px;color:var(--muted);text-align:center}.empty-state strong{color:var(--text);font-size:16px}.create-bar{position:sticky;bottom:16px;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 16px;border:1px solid var(--border-strong);border-radius:8px;background:#fffffff0;box-shadow:0 18px 45px #18223024;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.create-bar strong,.create-bar span{display:block}.create-bar span{margin-top:3px;color:var(--muted);font-size:13px}.create-button{min-width:188px}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1180px){.app-shell{grid-template-columns:1fr}.side-rail{position:static;gap:14px;border-right:0;border-bottom:1px solid var(--border)}.step-list{grid-template-columns:repeat(4,minmax(0,1fr))}.rail-note{margin-top:0}.control-grid{grid-template-columns:1fr 1fr}.instruction-panel{grid-column:1 / -1}}@media(max-width:760px){.workspace,.side-rail{padding:16px}.brand-lockup{grid-template-columns:38px 1fr}.brand-mark{width:38px;height:38px}.step-list,.control-grid{grid-template-columns:1fr}.topbar,.review-heading,.create-bar{align-items:stretch;flex-direction:column}.account-strip,.review-counts,.action-row{flex-wrap:wrap;justify-content:flex-start}.file-meta{flex-direction:column}.create-button{width:100%}}
