:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202733;background:#f6f7f9;--wine:#24364b;--muted:#647184;--line:#dce1e8;--cream:#f6f7f9}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:6px;background:#fff;color:#26364a;padding:10px 16px;font-size:13px;font-weight:600}button:hover{background:#edf1f5}button:disabled{cursor:not-allowed;opacity:.5}button.primary{background:#24364b;color:white;border-color:#24364b}button.primary:hover{background:#354f6d}button.danger{color:#a33333}button.quiet{background:transparent;border-color:transparent}button,input,textarea,select,a{outline-offset:3px}a{color:inherit}
.shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.sidebar{background:white;border-right:1px solid var(--line);padding:28px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{font-size:18px;margin-bottom:30px}.workspace{margin-bottom:26px}.workspace label{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}.workspace select{width:100%;font-size:13px;border:1px solid var(--line);border-radius:6px;background:white;padding:10px}nav{display:grid;gap:6px}nav button{text-align:left;border:0;background:transparent}nav button.active{background:#e9eef4;color:#183b62}.sidebar-foot{margin-top:auto;display:grid;gap:18px}.account{border-top:1px solid var(--line);padding-top:18px;font-size:13px;display:grid;gap:12px}.account small{display:block;color:var(--muted);margin-top:4px;font-size:11px}.main{padding:36px 40px;max-width:1320px;width:100%;min-width:0}.page-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}h1{font-size:26px;line-height:1.2;margin:0 0 8px;font-weight:650;letter-spacing:-.5px}h2{font-size:18px;margin:0 0 14px;font-weight:600}h3{font-size:14px;margin:0 0 10px}p{line-height:1.6}.subtitle,.help,.small{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.panel{border:1px solid var(--line);border-radius:8px;padding:24px;margin-bottom:20px;background:white}.batch-form{max-width:720px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.field label{font-size:12px;font-weight:600}.field input,.field textarea,.field select{width:100%;border:1px solid #cfd6e0;border-radius:6px;background:white;padding:11px;color:#202733;font-size:14px;line-height:1.5}.field textarea{resize:vertical;min-height:70px}.field small{font-size:11px;color:var(--muted)}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.actions .spacer{flex:1}.batch-list{display:grid;gap:12px}.batch-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:22px;background:white}.batch-row h2{font-size:15px;margin-bottom:7px}.batch-row p{font-size:12px;margin:10px 0 0}.meta{font-size:11px;color:var(--muted)}.badge{display:inline-block;padding:5px 9px;border-radius:5px;font-size:11px;background:#edf0f4;color:#536071;text-transform:capitalize}.badge.approved,.badge.completed,.badge.passed,.badge.processed{background:#e8f2eb;color:#386844}.badge.failed,.badge.rejected{background:#fae9e9;color:#9b3434}.badge.running,.badge.queued,.badge.testing,.badge.uncertain{background:#fff3d8;color:#876520}.error{color:#a33333}.import-error{font-size:12px;color:#a33333;display:flex;gap:12px;align-items:center;margin-top:12px}.notice{border:1px solid #ead7af;background:#fff8e8;padding:12px 16px;font-size:12px;line-height:1.6;border-radius:6px;margin:16px 0}.empty{text-align:center;padding:50px 24px;border:1px dashed var(--line);border-radius:8px;background:white}.empty p{font-size:13px;color:var(--muted)}.empty-mark{display:none}
.review-mode{max-width:1100px;margin:auto;padding:30px 32px 48px;min-height:100vh}.review-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.review-top h1{font-size:21px;margin-bottom:4px}.review-top p{margin:0;font-size:12px;color:var(--muted)}.review-top>span{font-size:13px;color:var(--muted)}progress{display:block;width:100%;height:6px;appearance:none;border:0;background:#e4e9f0;border-radius:3px}progress::-webkit-progress-bar{background:#e4e9f0;border-radius:3px}progress::-webkit-progress-value{background:#416f9c;border-radius:3px}progress::-moz-progress-bar{background:#416f9c}.queue-position{font-size:12px;color:var(--muted);margin:20px 0 14px}.review-item{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.content-preview{padding:42px 48px;min-height:300px;overflow-wrap:anywhere}.preview-field{margin-bottom:26px}.preview-field:last-child{margin-bottom:0}.preview-field small,.preview-group small{display:block;color:var(--muted);font-size:11px;margin-bottom:10px}.preview-field div{font-size:24px;line-height:1.55;white-space:pre-wrap}.preview-group li{font-size:20px;line-height:1.6;margin:14px 0;white-space:pre-wrap}.preview-group ol{padding-left:24px}.review-actions{border-top:1px solid var(--line);padding:18px 24px;display:flex;justify-content:space-between;gap:18px}.review-complete{background:white;border:1px solid var(--line);border-radius:8px;padding:50px 28px;text-align:center;margin-top:28px}.review-complete p{font-size:13px;color:var(--muted)}.review-complete button{margin:10px 5px}.editor{padding:24px;border-top:1px solid var(--line)}.editor>.actions{justify-content:flex-end}.structured-group{border:1px solid var(--line);border-radius:6px;padding:16px}.group-item{border-top:1px solid var(--line);padding:14px 0}.group-item .section-head strong{font-size:12px}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.section-head h2{margin:0}.recipe-setting{border-top:1px solid var(--line);margin-top:18px;padding-top:20px}.recipe-setting h3{margin:0}.recipe-setting .actions{margin-top:12px}.member{border-top:1px solid var(--line);padding:16px 0;display:flex;justify-content:space-between;gap:16px;font-size:13px}.member small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.member details{margin-top:12px}.curator-marker{display:block;font-size:11px;margin:9px 0;overflow-wrap:anywhere}.assignment-workspace{border:1px solid var(--line);border-radius:6px;margin:16px 0;padding:14px}.assignment-workspace legend{font-size:13px;font-weight:600}.assignment-option{display:flex;align-items:center;gap:8px;font-size:12px;margin:12px 0}.audit{max-height:260px;overflow:auto}.audit-line{border-top:1px solid var(--line);padding:12px 0;font-size:11px;display:flex;justify-content:space-between;gap:12px}.audit-line time{color:var(--muted)}
.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:#24364b;color:white;padding:70px 15%;display:flex;flex-direction:column;justify-content:center}.auth-story h1{font-size:34px}.auth-story p{font-size:14px;color:#ccd6e2}.auth-story .brand{display:none}.auth-note{display:none}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-form form{max-width:370px;width:100%}.auth-form .subtitle{margin-bottom:28px}.auth-form .primary{width:100%}.auth-form .help{margin-top:20px}.eyebrow{font-size:11px;color:var(--muted);margin-bottom:10px}.brand-mark{display:none}
dialog{border:1px solid var(--line);border-radius:9px;padding:26px;background:white;color:#202733;width:min(540px,94vw);max-height:90vh;overflow:auto}dialog::backdrop{background:#17253666}dialog p{font-size:12px;color:var(--muted)}dialog .actions{justify-content:flex-end}.invite-link{width:100%;border:1px solid var(--line);border-radius:6px;padding:12px}.loading{padding:60px;text-align:center}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#24364b;color:white;border-radius:7px;padding:13px 20px;max-width:90vw;font-size:13px;display:none;z-index:20}#toast.visible{display:block}
@media(max-width:780px){.shell{display:block}.sidebar{position:relative;height:auto;padding:18px 20px}.brand{margin-bottom:16px}.workspace{margin-bottom:14px}nav{display:flex}.sidebar-foot{margin-top:16px;display:flex;justify-content:space-between;align-items:center}.account{border:0;padding:0;display:flex;align-items:center;gap:12px}.main{padding:26px 20px}.batch-row{grid-template-columns:1fr}.page-header{align-items:flex-start}.review-mode{padding:20px 16px}.review-top{flex-wrap:wrap;gap:16px}.review-top>span{width:100%}.content-preview{padding:30px 24px;min-height:240px}.preview-field div{font-size:21px}.review-actions{padding:16px;flex-wrap:wrap;justify-content:flex-start}.review-actions .actions:last-child{margin-left:auto}.auth{grid-template-columns:1fr}.auth-story{padding:30px}.member{flex-wrap:wrap}.import-error{flex-wrap:wrap}}
.field input[type=range]{padding:8px 0;border:0;accent-color:#24364b;cursor:pointer}.field output{font-variant-numeric:tabular-nums}
