:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#181818;background:#f4f1ea;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{border:0;cursor:pointer;font-weight:800}.app-shell{min-height:100vh;display:grid;grid-template-columns:280px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;background:#181818;color:#fffdf8;padding:1.2rem;display:flex;flex-direction:column;gap:1.2rem}.brand{display:grid;gap:.25rem;padding:.7rem .5rem 1rem;border-bottom:1px solid rgba(255,255,255,.14)}.brand span{text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;color:#cfc6b7;font-weight:900}.brand strong{font-size:1.35rem;letter-spacing:-.04em}.sidebar nav{display:grid;gap:.35rem}.sidebar nav button,.refresh{width:100%;border-radius:.9rem;background:transparent;color:#fffdf8;padding:.85rem .9rem;display:flex;align-items:center;justify-content:space-between;text-align:left}.sidebar nav button:hover,.sidebar nav button.active{background:#fffdf8;color:#181818}.sidebar nav small{background:#ffffff24;color:inherit;border-radius:999px;padding:.18rem .48rem;min-width:1.8rem;text-align:center}.refresh{margin-top:auto;justify-content:center;background:#2c2c2c}.dashboard{width:min(1320px,100%);padding:2.5rem 2rem 5rem}header{display:flex;justify-content:space-between;gap:2rem;align-items:flex-start;margin-bottom:2rem}h1{font-size:clamp(2.8rem,7vw,5.8rem);letter-spacing:-.07em;line-height:.9;margin:.25rem 0 1rem}h2{font-size:1.35rem;margin:0 0 1rem}h3{font-size:1.25rem;margin:1rem 0 .5rem}p{line-height:1.55}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-weight:900;font-size:.75rem}.muted{color:#6c685f}.error{color:#a32222}.banner{background:#ffe4e4;padding:1rem;border-radius:.8rem}section{margin-bottom:2.2rem}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.85rem;margin-bottom:2rem}.stats article{background:#dcd6c9;border-radius:1rem;padding:1.25rem;display:flex;flex-direction:column}.stats strong{font-size:2.5rem;letter-spacing:-.04em}.stats span{color:#6c685f}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:1rem}.cards.compact{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.job,.row,.empty,.conversation{background:#fffdf8;border:1px solid #d7d1c4;border-radius:1.1rem;padding:1.2rem;box-shadow:0 8px 30px #2d281e0a}.job-top{display:flex;justify-content:space-between;gap:1rem;align-items:center}.job-top small{color:#817b70;overflow-wrap:anywhere}.stage{display:inline-flex;border-radius:999px;padding:.3rem .6rem;background:#ded9ce;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;font-weight:900}.stage.review,.stage.pending{background:#fff0a6}.stage.approved,.stage.active,.stage.claimed{background:#bce7c5}.stage.working{background:#ded9ce}.stage.verification,.stage.final_confirmed{background:#fff0a6}.stage.inserted{background:#bce7c5}.stage.reference{background:#d9e4f5}.stage.rejected{background:#ffc6c6}.stage.superseded{background:#e6d4c2}.stage.archived{background:#d1d1d1}.stage.task-not_started{background:#ded9ce}.stage.task-in_progress{background:#fff0a6}.stage.task-finished{background:#bce7c5}dl{display:grid;grid-template-columns:78px minmax(0,1fr);gap:.55rem;font-size:.9rem}dt{color:#817b70}dd{margin:0;overflow-wrap:anywhere}.actions{display:flex;gap:.6rem;margin-top:1rem}.actions button,.empty button,.login button{border-radius:999px;padding:.75rem 1rem;background:#181818;color:#fff}.actions button.secondary{background:transparent;color:#181818;border:1px solid #b9b3a6}.actions button.danger{background:#b83232}.artifact-filters{display:flex;flex-wrap:wrap;gap:.8rem;margin:1rem 0}.artifact-filters label{display:grid;gap:.35rem;color:#6c685f;font-size:.8rem;font-weight:800}.artifact-filters select{min-width:220px;border:1px solid #b9b3a6;border-radius:.75rem;background:#fffdf8;color:#181818;padding:.7rem .85rem}.reviewer-picker{display:grid;gap:.35rem;color:#6c685f;font-size:.8rem;font-weight:800}.reviewer-picker select{min-width:160px;border:1px solid #b9b3a6;border-radius:.75rem;background:#fffdf8;color:#181818;padding:.7rem .85rem}.task-board-section{display:grid;gap:1.2rem}.task-board-heading{display:flex;justify-content:space-between;gap:1rem}.task-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1.5fr) minmax(180px,.7fr) auto;gap:.8rem;align-items:end;background:#e8e1d2;border:1px solid #d7d1c4;border-radius:1.1rem;padding:1rem}.task-form label,.task-controls label{display:grid;gap:.35rem;color:#6c685f;font-size:.8rem;font-weight:800}.task-form input,.task-form textarea,.task-form select,.task-controls select{width:100%;border:1px solid #b9b3a6;border-radius:.75rem;background:#fffdf8;color:#181818;padding:.7rem .85rem}.task-form textarea{resize:vertical;min-height:76px}.task-form>button{border-radius:999px;padding:.75rem 1rem;background:#181818;color:#fff;min-height:44px}button:disabled{cursor:wait;opacity:.55}.task-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:start}.task-column{background:#e8e1d2;border:1px solid #d7d1c4;border-radius:1.1rem;padding:1rem;min-height:280px}.task-column-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.8rem}.task-column-heading h3{margin:0;font-size:1rem}.task-column-heading span{border-radius:999px;background:#fffdf8;padding:.2rem .55rem;font-size:.78rem;font-weight:900}.task-card{background:#fffdf8;border:1px solid #d7d1c4;border-radius:1rem;padding:1rem;margin-bottom:.75rem;box-shadow:0 8px 24px #2d281e0a}.task-card:last-child{margin-bottom:0}.task-card-top{display:flex;justify-content:space-between;align-items:center;gap:1rem}.task-card h3{font-size:1.05rem;margin:.8rem 0 .45rem}.task-card p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 .9rem}.task-card dl{grid-template-columns:88px minmax(0,1fr);font-size:.84rem}.task-controls{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;margin-top:1rem}.task-controls select{padding:.55rem .65rem;font-size:.82rem}.task-history-toggle{width:100%;margin-top:.75rem;padding:.65rem .8rem;border-radius:999px;background:transparent;color:#181818;border:1px solid #b9b3a6}.task-empty{text-align:center;padding:2rem .5rem;font-size:.9rem}.task-history{border-top:1px solid #e1dbcf;padding:.8rem 0 0 1.2rem;margin:.8rem 0 0;display:grid;gap:.65rem;font-size:.82rem}.task-history li{padding-left:.2rem}.task-history span,.task-history small{display:block;color:#6c685f;margin-top:.15rem}.onboarding{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.85rem}.onboarding article{background:#e8e1d2;border:1px solid #d7d1c4;border-radius:1rem;padding:1rem;display:grid;gap:.35rem}.onboarding span{color:#6c685f;font-size:.92rem;line-height:1.45}.inbox-layout{display:grid;grid-template-columns:315px minmax(0,1fr);gap:1rem;align-items:start}.agent-list{background:#e8e1d2;border:1px solid #d7d1c4;border-radius:1.1rem;padding:1rem;position:sticky;top:1rem}.agent-list button{width:100%;background:#fffdf8;color:#181818;border:1px solid transparent;border-radius:.9rem;padding:.9rem;margin-bottom:.55rem;text-align:left;display:grid;gap:.2rem}.agent-list button.selected{border-color:#181818;box-shadow:0 0 0 2px #18181814}.agent-list span,.agent-list small{color:#6c685f;font-size:.85rem}.conversation-panel{display:grid;gap:1rem}.conversation-head{display:flex;justify-content:space-between;gap:1rem;margin-bottom:1rem}.conversation-head span{color:#6c685f}.bubble{border:1px solid #d7d1c4;border-radius:1rem;padding:1rem;margin:.75rem 0;background:#f8f4ea}.bubble.sent{background:#e9f2e9;margin-left:min(12%,5rem)}.bubble.received{background:#fffdf8;margin-right:min(12%,5rem)}.bubble div{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.bubble small{color:#817b70;text-align:right;min-width:190px}.bubble p{white-space:pre-wrap;margin:.7rem 0 0}.timeline{border-left:1px solid #b9b3a6;margin-left:.5rem}.timeline article{display:grid;grid-template-columns:180px 180px minmax(0,1fr);gap:1rem;padding:.85rem 1rem;border-bottom:1px solid #d7d1c4}.timeline time{color:#817b70;font-size:.82rem}.timeline span{overflow-wrap:anywhere}.history-heading{margin-top:2.4rem}.checkpoint-history .job p{white-space:pre-wrap}.archive{margin-top:1rem;background:#fffdf8;border:1px solid #d7d1c4;border-radius:1rem;padding:1rem 1.2rem}.archive summary{cursor:pointer;font-weight:900}.archive p{margin:.7rem 0 0;color:#6c685f}.login{min-height:100vh;display:grid;place-items:center;padding:1.5rem}.login section{width:min(440px,100%)}.login input{width:100%;padding:1rem;border-radius:.8rem;border:1px solid #b9b3a6;margin:1rem 0;background:#fff}.login button{width:100%}@media(max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto}.sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.refresh{margin-top:0}.dashboard{padding:2rem 1rem 4rem}.stats,.task-form{grid-template-columns:1fr 1fr}.task-form label:nth-child(2){grid-column:1 / -1}.task-board,.inbox-layout{grid-template-columns:1fr}.agent-list{position:static}.timeline article{grid-template-columns:1fr;gap:.2rem}.bubble.sent,.bubble.received{margin-left:0;margin-right:0}.bubble div{display:grid}.bubble small{min-width:0;text-align:left}}
