:root{--wine:#732c32;--wine-dark:#56232a;--cream:#faf8f3;--ink:#2e302c;--muted:#73736d;--line:#e8e5dc;--orange:#bd5f30;--green:#46725c;--soft-green:#edf4ee;--soft-wine:#f7eeed;--radius:16px;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #c27c40;outline-offset:3px}button{color:inherit}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,serif;font-size:clamp(28px,2.4vw,38px);font-weight:500;letter-spacing:-1.1px;line-height:1.2;margin-bottom:12px}h2{font-size:17px;letter-spacing:-.3px}h3{font-size:16px}p{line-height:1.65}.sidebar{width:246px;position:fixed;inset:0 auto 0 0;background:#f3f0e8;border-right:1px solid var(--line);padding:35px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;margin:0 0 50px}.brand strong{font-family:Georgia,serif;font-size:28px;color:var(--wine);font-weight:bold;letter-spacing:-1px;line-height:1}.brand strong span{font-family:inherit;letter-spacing:1px;font-size:12px;margin-left:5px;font-style:italic;font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:1.5px;font-weight:600;color:#797369;margin-top:10px}.nav-label{font-size:9px;letter-spacing:1.6px;color:#8a867c;margin:0 0 14px 12px;font-weight:700}.nav-item{display:flex;align-items:center;width:100%;gap:12px;text-decoration:none;background:none;border:0;border-radius:9px;padding:14px 13px;font-size:13px;text-align:left;margin-bottom:7px;color:#67675e}.nav-item.active{background:var(--wine);color:white;font-weight:600;box-shadow:0 4px 12px #732c3210}.nav-item>span:first-child{font-size:19px}.nav-pill{margin-left:auto;background:#ffffff22;border-radius:5px;padding:3px 7px;font-size:10px}.sidebar-card{margin-top:auto;margin-bottom:36px;padding:19px 15px 14px;background:#eae6db;border-radius:12px}.sidebar-card .small-dot{display:block;width:22px;height:3px;border-radius:4px;background:#b57e45;margin-bottom:13px}.sidebar-card strong{font-family:Georgia,serif;font-size:17px;font-weight:400;line-height:1.4;display:block}.sidebar-card p{font-size:12px;color:#757064;margin:9px 0 0}.sidebar-bottom{font-size:10px;color:#827e73}.sidebar-bottom p{margin:12px 0 0;font-size:10px}.connection{display:flex;align-items:center;gap:7px}.connection span{width:6px;height:6px;background:#a7a294;border-radius:100%}.shell{margin-left:246px}.topbar{height:77px;border-bottom:1px solid var(--line);background:#fffefa;display:flex;justify-content:space-between;align-items:center;padding:0 36px;font-size:12px;color:var(--muted)}.topbar strong{color:#4e5049;font-weight:500}.crumb{padding:0 12px;color:#c5c0b4}.operator{display:flex;gap:10px;align-items:center;font-size:11px}.local-chip{border:1px solid #dfd9cc;border-radius:4px;padding:4px 7px;letter-spacing:1px;font-size:8px;color:#6f6758;margin-right:10px}.avatar{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#eee8db;border-radius:50%;color:#7b6f5b;font-size:12px;font-weight:600}.avatar.small{width:28px;height:28px;font-size:11px;background:var(--soft-wine);color:var(--wine)}main{max-width:1600px;margin:auto;padding:24px 36px 20px}.demo-banner{border:1px solid #e8dfc9;background:#f6f0df;border-radius:9px;display:flex;align-items:center;gap:12px;padding:12px 16px;font-size:11px;line-height:1.6;color:#77633f}.demo-banner strong{font-weight:600}.demo-symbol{font-size:23px;color:#aa7e3e}.banner-tag{margin-left:auto;white-space:nowrap;font-size:8px;letter-spacing:1.2px;border:1px solid #e2d4b4;border-radius:4px;padding:4px 6px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:33px 0 27px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:var(--orange);margin-bottom:12px}.page-heading>div>p:last-child{font-size:12px;color:var(--muted);margin-bottom:0}.button{border-radius:7px;min-height:39px;display:inline-flex;gap:8px;align-items:center;justify-content:center;font-size:11px;font-weight:600;padding:10px 14px;border:1px solid transparent;text-decoration:none}.primary{background:var(--wine);color:white}.primary:hover:not(:disabled){background:var(--wine-dark)}.secondary{border-color:#ded9ce;background:#fffefa}.secondary:hover:not(:disabled){background:#f2eee6}.text-button{border:0;background:none;color:#7c7366;font-size:11px;padding:8px 0;text-decoration:underline;text-underline-offset:3px}.overview{display:grid;grid-template-columns:1.18fr 1fr 1fr 1fr;margin-bottom:29px;border:1px solid var(--line);border-radius:var(--radius);background:#fffefa;overflow:hidden}.unit-card,.stat{padding:22px 25px}.unit-card{background:#f3f0e8;display:flex;flex-direction:column;justify-content:center}.unit-card .eyebrow{font-size:8px;color:#81745f;margin-bottom:9px}.unit-card select{border:0;background:transparent;margin-left:-4px;width:100%;max-width:240px;font-weight:600;font-size:15px;color:var(--ink);padding:4px 0}.unit-note{font-size:9px;color:#8a8275;margin-top:7px}.stat{border-left:1px solid var(--line)}.stat-label{font-size:11px;color:#77766f;display:block}.stat strong{display:block;font-family:Georgia,serif;font-weight:400;font-size:34px;margin:9px 0 6px;line-height:1}.stat small{font-size:9px;color:#8e897e}.workspace{display:grid;grid-template-columns:minmax(290px,.82fr) minmax(350px,1.25fr);border:1px solid var(--line);border-radius:var(--radius);background:#fffefa;min-height:610px;overflow:hidden}.queue{border-right:1px solid var(--line);padding-top:23px}.queue-header{display:flex;justify-content:space-between;align-items:center;padding:0 22px}.queue-header h2{font-size:14px;margin:0}.count-badge{font-size:10px;border:1px solid var(--line);border-radius:5px;padding:4px 7px;color:#817b6e}.search{margin:20px 22px 14px;display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:7px;padding:0 11px;background:#fcfbf8}.search span{font-size:22px;color:#999284}.search input{width:100%;min-width:0;border:0;background:none;padding:11px 0;font-size:11px;color:var(--ink);outline-offset:0}.filters{display:flex;gap:6px;padding:0 22px 19px;flex-wrap:wrap}.filters button{border:0;background:none;font-size:10px;padding:6px 8px;border-radius:5px;color:#7c786e}.filters button[aria-pressed=true]{background:#eee8df;color:var(--wine);font-weight:600}.review-list{max-height:660px;overflow:auto}.review-item{display:block;text-align:left;background:none;border:0;border-top:1px solid var(--line);padding:21px 22px;width:100%;position:relative}.review-item:hover{background:#faf8f2}.review-item.selected{background:#f8f2eb}.review-item.selected:before{content:"";position:absolute;left:0;top:0;bottom:0;background:var(--wine);width:3px}.review-row{display:flex;align-items:center;gap:10px}.review-person{font-size:11px;font-weight:600;display:block}.review-date{font-size:9px;color:#979082;margin-top:5px;display:block}.review-item .avatar{width:30px;height:30px;font-size:10px}.review-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:12px 0 9px}.stars{letter-spacing:2px;color:#b67a30;font-size:12px;white-space:nowrap}.empty-star{color:#ddd4c4}.badge{font-size:8px;letter-spacing:.3px;border-radius:4px;padding:4px 6px;display:inline-block;font-weight:600;background:#f0ece3;color:#827454}.badge.draft{background:#eee9f3;color:#766088}.badge.done{background:var(--soft-green);color:#51735c}.badge.alert{background:#f8e9e2;color:#9b593a}.badge.waiting{background:#eaf0f5;color:#5f7285}.preview-text{font-size:11px;line-height:1.65;color:#767165;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}.detail{padding:25px 29px}.detail-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:22px;border-bottom:1px solid var(--line);gap:8px}.detail-top .eyebrow{font-size:8px;color:#8e8678;margin:0}.unit-tag{display:inline-flex;gap:5px;align-items:center;font-size:10px;background:#f2eee5;color:#746d5d;border-radius:5px;padding:6px 8px}.customer{margin-top:24px;display:flex;gap:12px;align-items:center}.customer h2{font-size:14px;margin:0 0 5px}.customer p{font-size:10px;color:#969082;margin:0}.rating-line{display:flex;align-items:center;gap:9px;margin:15px 0}.rating-line .stars{font-size:15px}.rating-line>span:last-child{font-size:10px;color:#958b7a}.comment{font-size:14px;line-height:1.8;margin:15px 0 20px}.no-comment{font-style:italic;color:#898276}.fictional-note{font-size:9px;color:#9c9587;margin-bottom:23px}.editor{border-top:1px solid var(--line);padding-top:23px}.editor-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.editor-header h3{font-size:13px;margin:0;display:flex;gap:7px;align-items:center}.spark{color:var(--orange);font-size:18px}.editor-note{font-size:10px;line-height:1.65;color:#8a8275;margin:0 0 14px}.editor textarea{width:100%;resize:vertical;min-height:145px;border:1px solid #dfdbd1;background:#fffefa;border-radius:9px;padding:14px;font-size:12px;line-height:1.9;color:#4e4e45}.editor textarea::placeholder{color:#aaa293}.editor-info{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#948b7d;margin:8px 0 15px}.editor-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.editor-actions .primary{margin-left:auto}.editor-footer{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.editor-footer span{font-size:9px;color:#928a7c}.notice{background:#f6f1e6;border-radius:8px;padding:13px 14px;font-size:11px;color:#7b6949;line-height:1.7;margin:16px 0}.notice.success{background:var(--soft-green);color:#496c55}.reply-box{border:1px solid #dce6da;border-radius:9px;padding:17px;margin-top:20px;background:#f4f8f1}.reply-box h3{font-size:12px;color:var(--green);margin-bottom:8px}.reply-box p{font-size:12px;line-height:1.8;margin-bottom:0;white-space:pre-wrap;overflow-wrap:anywhere}.simulation{border-top:1px dashed var(--line);padding-top:15px;margin-top:23px;font-size:10px;color:#8a8275}.simulation summary{cursor:pointer;font-size:10px;color:#857c6b}.simulation label{display:block;margin:13px 0 7px}.simulation select{max-width:100%;font-size:11px;padding:8px;border:1px solid var(--line);border-radius:6px;background:#fffefa}.simulation .pause-row{display:flex;align-items:center;gap:8px}.simulation p{font-size:10px;margin:9px 0 0}.page-footer{display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#aaa18f;padding:20px 0 0;line-height:1.6}.empty-state{padding:55px 24px;text-align:center;color:#918775;font-size:12px;line-height:1.8}.empty-state strong{display:block;color:#625b4d;font-family:Georgia,serif;font-size:24px;font-weight:400;margin-bottom:12px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:min(550px,90vw);background:#343a31;color:white;padding:14px 21px;border-radius:10px;font-size:12px;box-shadow:0 8px 30px #0002;z-index:10}.toast[hidden]{display:none}dialog{border:1px solid var(--line);border-radius:18px;max-width:560px;width:calc(100% - 32px);padding:32px;box-shadow:0 20px 90px #241c2630;color:var(--ink);background:#fffefa}dialog::backdrop{background:#25241f80;backdrop-filter:blur(3px)}dialog h2{font-family:Georgia,serif;font-size:27px;font-weight:400;line-height:1.3}dialog p{font-size:12px;color:#817866}.dialog-close{position:absolute;right:15px;top:13px;border:0;background:none;font-size:25px;line-height:1;color:#8c8273;padding:6px}.dialog-subtitle{font-size:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.approval-text{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--line);background:#faf8f2;padding:18px;border-radius:8px;font-size:13px;line-height:1.8;max-height:260px;overflow:auto;margin-top:15px}.dialog-note{font-size:10px;text-align:right;margin:14px 0 0}.approval-person{font-size:11px;color:#867b6a;margin-top:12px}.help-steps{padding-left:21px;font-size:12px;line-height:1.9;color:#79705f}.help-steps li{margin:14px 0}.help-steps strong{color:#4d4c43}.skip-link{position:fixed;top:-100px;left:10px;background:white;z-index:100;padding:12px}.skip-link:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ai-budget-note{font-size:10px;line-height:1.7;color:#796f60;margin:12px 0;overflow-wrap:anywhere}.ai-review-notes{background:#f7f2e9;border:1px solid var(--line);border-left:3px solid var(--wine);border-radius:7px;padding:14px 16px;margin:14px 0 18px;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.ai-review-notes h4{font-size:12px;margin:0 0 8px}.ai-review-notes p{font-size:11px;margin:7px 0;color:#746958}.ai-review-notes ul{padding-left:19px;margin:5px 0 12px}.editor textarea[readonly]{background:#f5f2ec;cursor:wait}
@media(min-width:1550px){main{padding:30px 50px}.topbar{padding:0 50px}.workspace{grid-template-columns:minmax(340px,.85fr) minmax(400px,1.2fr)}.detail{padding:28px 35px}}
@media(max-width:1150px){.sidebar{width:205px;padding:30px 16px}.shell{margin-left:205px}.brand strong{font-size:24px}.brand strong span{display:none}.brand{gap:9px}.brand small{font-size:7px;letter-spacing:1px}main{padding:20px}.topbar{padding:0 20px}.workspace{grid-template-columns:minmax(250px,.85fr) minmax(300px,1.15fr)}.detail{padding:23px 20px}.unit-card,.stat{padding:19px 17px}.page-heading{align-items:flex-start}.page-heading .button{margin-top:24px;white-space:nowrap}.operator>span:last-child{display:none}.banner-tag{display:none}.editor-actions .primary{margin-left:0}}
@media(max-width:850px){.sidebar{position:static;width:100%;padding:16px 20px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);border-right:0}.brand{margin:0}.brand img{width:35px;height:35px}.brand small{display:none}.nav-label,.nav-item.active,.sidebar-card,.sidebar-bottom{display:none}.nav-item{width:auto;margin:0;font-size:11px}.shell{margin-left:0}.topbar{height:54px}.overview{grid-template-columns:1.2fr 1fr 1fr 1fr}.workspace{grid-template-columns:280px minmax(300px,1fr)}.stat-label{font-size:10px}.stat small{display:none}.unit-note{font-size:8px}.page-heading{padding-top:26px}.page-heading>div>p:last-child{font-size:11px}.page-heading .button{font-size:10px;padding:9px}.local-chip{margin:0}.detail .comment{font-size:13px}}
@media(max-width:650px){main{padding:15px}.topbar{padding:0 15px}.demo-banner{font-size:10px;padding:10px 12px}.demo-symbol{display:none}.page-heading{display:block;padding:25px 0 22px}.page-heading .button{margin-top:18px}h1{font-size:30px;max-width:340px}.overview{grid-template-columns:repeat(3,1fr);margin-bottom:20px}.unit-card{grid-column:1/-1;padding:14px 18px;display:grid;grid-template-columns:auto 1fr;gap:0 18px;align-items:center}.unit-card .eyebrow{margin:0}.unit-note{grid-column:2}.unit-card select{font-size:14px;max-width:none}.stat{padding:16px 12px;border-top:1px solid var(--line);text-align:center}.stat:nth-child(2){border-left:0}.stat strong{font-size:29px}.stat-label{font-size:9px}.workspace{display:block}.queue{border-right:0;border-bottom:1px solid var(--line);padding-top:20px}.review-list{max-height:235px}.review-item{padding:15px 20px}.queue-header{padding:0 20px}.search{margin:14px 20px 10px}.filters{padding-bottom:14px}.review-item .preview-text{display:none}.review-item .review-meta{margin-bottom:0}.review-item .review-row{float:left;margin-right:12px}.detail{padding:22px 20px;scroll-margin-top:12px}.customer{margin-top:20px}.page-footer{display:block}.page-footer span{display:block}.editor-actions{gap:8px}.editor-actions .button{flex:1;font-size:10px;min-width:130px}.editor-footer{gap:10px}.operator{gap:8px}.local-chip{font-size:7px}.dialog-actions{flex-direction:column-reverse}.dialog-actions .button{width:100%}dialog{padding:28px 22px}.detail-top .eyebrow{font-size:7px}.unit-tag{font-size:9px}.unit-card .unit-note{margin-top:1px}}
@media(prefers-reduced-motion:no-preference){.button,.review-item{transition:background .15s ease}dialog[open]{animation:appear .15s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
