:root{--ink:#202630;--muted:#737984;--red:#b82437;--red-dark:#94172a;--line:#e5e7eb;--paper:#f5f6f8;--white:#fff;--green:#17734c;--radius:18px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Tahoma,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.8}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a:focus-visible,button:focus-visible{outline:3px solid #bb7e30;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #b824372a;border-color:var(--red)}h1,h2,h3,p{margin-top:0}h1{font-size:31px;line-height:1.6;margin-bottom:8px;letter-spacing:-.6px}h2{font-size:20px;line-height:1.6;margin-bottom:12px}h3{font-size:16px}p{margin-bottom:12px}small,.help{font-size:12px;color:var(--muted)}strong{font-weight:700}.muted{color:var(--muted)}.topbar{height:auto;min-height:88px;padding:16px max(24px,calc((100vw - 1260px)/2));background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand strong{display:block;font-size:18px;letter-spacing:-.4px}.brand small{display:block;font-size:11px;letter-spacing:1px}.brandmark{display:grid;place-items:center;font-size:28px;font-weight:bold;background:var(--red);color:#fff;width:48px;height:48px;border-radius:14px 14px 14px 3px}.topbar nav{display:flex;align-items:center;gap:24px;font-size:13px}.topbar nav a:hover{color:var(--red)}.topbar nav form{margin:0}.nav-cta{background:#f8e9eb;padding:8px 16px;border-radius:9px;color:var(--red)}.nav-button{border:0;background:none;color:var(--muted);padding:0}.container{max-width:1308px;padding:38px 24px 56px;margin:auto;min-height:calc(100vh - 170px)}footer{max-width:1260px;margin:auto;padding:24px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;font-size:11px;color:var(--muted)}footer a{color:var(--red)}.panel{padding:28px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-width:0}.eyebrow{font-size:11px;font-weight:bold;letter-spacing:1px;color:var(--red);display:block;margin-bottom:9px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.page-heading p{margin:0}.page-heading>div{min-width:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;border:1px solid transparent;border-radius:10px;padding:11px 21px;background:var(--red);color:#fff;font-weight:700;min-height:46px;text-align:center}.button:hover{background:var(--red-dark)}.button.secondary{background:#fff;color:var(--ink);border-color:var(--line)}.button.secondary:hover{background:#f6f7f8}.button.subtle{background:#f5f6f8;color:var(--muted);padding:6px 12px;min-height:36px;font-size:12px}.wide{width:100%}.stack{display:flex;flex-direction:column;gap:22px}.stack h2{margin-bottom:0}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700}input,select,textarea{width:100%;min-width:0;border:1px solid #dce0e5;background:#fff;border-radius:9px;padding:11px 13px;color:var(--ink);font-weight:400;min-height:46px}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#969ba5}input[type=checkbox]{width:19px;min-height:19px;height:19px;flex-shrink:0;accent-color:var(--red)}.check{flex-direction:row;align-items:flex-start;font-weight:400;margin-bottom:18px;gap:12px}.check input{margin-top:5px}.grid{display:grid;gap:20px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.top-space{margin-top:24px}.registration{display:flex;flex-direction:column;gap:22px}.section-title{display:flex;gap:14px;align-items:flex-start;margin-bottom:25px}.section-title h2{margin:0}.section-title p{font-size:12px;color:var(--muted);margin:5px 0 0}.step{font-size:12px;font-weight:700;color:var(--red);width:38px;height:38px;border-radius:10px;background:#f9ebed;display:grid;place-items:center;flex-shrink:0}.upload{border:1.5px dashed #cfd3da;border-radius:12px;background:#fafbfc;padding:20px 12px;text-align:center;align-items:center;position:relative;cursor:pointer;gap:8px;overflow:hidden}.upload input{position:absolute;inset:0;opacity:0;cursor:pointer;height:100%;z-index:2}.upload:focus-within{outline:2px solid var(--red)}.upload strong{font-size:12px}.upload-symbol{font-size:25px;color:var(--red);border-radius:50%;width:40px;height:40px;background:#f8eaec;line-height:40px}.file-caption{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.file-preview{height:100px;width:100%;object-fit:contain}.uploads small{font-size:10px}.consent .button{margin-top:10px}.text-link{color:var(--red);font-weight:700}.divider{height:1px;background:var(--line);margin:24px 0}.auth-layout{display:grid;grid-template-columns:1.08fr 1fr;max-width:1060px;margin:24px auto;min-height:610px;gap:0}.welcome{padding:52px;background:#171c24;color:#fff;border-radius:0 var(--radius) var(--radius) 0;display:flex;flex-direction:column;position:relative;overflow:hidden}.welcome:after{content:"";position:absolute;width:290px;height:290px;border:54px solid #ffffff04;transform:rotate(-24deg);left:-160px;top:35px;border-radius:50px;pointer-events:none}.welcome .light{color:#f0acb5;font-size:12px}.welcome h1{font-size:45px;line-height:1.5;margin-top:14px;margin-bottom:24px}.welcome p{font-size:14px;max-width:340px;color:#bfc5ce;line-height:2}.welcome-lines{margin:20px 0;display:flex;flex-direction:column;gap:18px;font-size:13px;color:#ec7889}.welcome-lines b{color:#e6e8ed;margin-right:17px}.welcome-bottom{margin-top:auto;padding-top:28px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff15;font-size:11px;color:#b1b9c5}.welcome-bottom span{font-size:30px;color:#e87080}.login-panel{padding:50px 42px;border-radius:var(--radius) 0 0 var(--radius)}.login-panel h2{font-size:28px}.login-panel .stack{margin-top:28px}.login-panel .button{margin-top:6px}.notice{display:block;background:#fff5df;border:1px solid #f2d797;color:#78571d;padding:13px 18px;border-radius:10px;margin-bottom:20px}.notice.error{background:#fff0f0;color:#992b39;border-color:#f1c1c9}.notice.success{background:#eaf7ef;color:#17623f;border-color:#bde3ca}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:28px}.stats a{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px 25px;display:flex;flex-direction:column;gap:7px}.stats span{color:var(--muted);font-size:12px}.stats strong{font-size:36px;line-height:1.5;letter-spacing:1px}.stats small{font-size:10px}.stats .accent{background:var(--red);color:#fff;border-color:var(--red)}.stats .accent span,.stats .accent small{color:#f5d5da}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.panel-heading h2{margin:0}.panel-heading p{font-size:12px;margin:5px 0 0}.filters{display:flex;gap:12px;margin-bottom:22px}.filters .search-label{flex:1}.filters select{max-width:190px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:right;white-space:nowrap;font-size:12px}thead th{background:#f7f8fa;color:var(--muted);font-weight:400;padding:13px 12px}tbody td{padding:18px 12px;border-bottom:1px solid #f0f1f4;vertical-align:middle}tbody tr:hover{background:#fcfcfd}tbody td small{display:block;font-size:10px;margin-top:5px}td.date{font-size:10px;color:var(--muted)}.person{display:flex;align-items:center;gap:10px}.person strong{font-size:12px}.avatar{flex-shrink:0;width:38px;height:38px;border-radius:12px;background:#eef0f5;color:#586174;display:grid;place-items:center;font-size:17px;font-weight:bold}.avatar.red{background:#f8e9ec;color:var(--red)}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:4px 10px;font-size:10px;font-weight:700;white-space:nowrap;line-height:2}.pill.pending,.pill.correction{background:#fff3d9;color:#98671b}.pill.approved{background:#e7f5ee;color:#1c7d51}.pill.blocked,.pill.rejected{background:#fbe9ec;color:#a93147}.pill.neutral{background:#eef0f4;color:#657082}.count{background:#f5e6e9;color:var(--red);padding:0 7px;border-radius:5px;font-size:12px}.empty{text-align:center;padding:50px 20px;color:var(--muted)}.empty h3,.empty h2{color:var(--ink)}.empty-symbol{display:grid;place-items:center;width:55px;height:55px;background:#f5e9ec;color:var(--red);border-radius:16px;font-size:25px;margin:0 auto 20px}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:22px;font-size:12px}.back-link{display:inline-block;color:var(--muted);font-size:12px;margin-bottom:15px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px}.details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px;margin:25px 0 0}.details dt{font-size:11px;color:var(--muted);margin-bottom:5px}.details dd{margin:0;font-size:14px;overflow-wrap:anywhere}.details dd[dir=ltr]{text-align:right}.details .full{grid-column:1/-1}.document-card{display:block;border:1px solid var(--line);border-radius:12px;overflow:hidden}.document-card img{width:100%;height:185px;object-fit:contain;background:#f1f3f6;display:block}.document-card strong{display:block;padding:12px;font-size:12px}.decision{border-top:3px solid var(--red)}.status-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 30px;border-radius:var(--radius);background:#fff4dc;margin-bottom:26px;border:1px solid #ecdba9}.status-banner.approved{background:#e9f6ef;border-color:#c6e6d2}.status-banner.blocked,.status-banner.rejected{background:#fae9ed;border-color:#efc3cc}.status-banner h2{margin-bottom:7px}.status-banner p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.narrow{max-width:690px;margin:20px auto}.prose h2{margin-top:28px}.prose p{line-height:2.1;color:#5d6673}.chat-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:20px}.chat-sidebar{align-self:start}.chat-sidebar .muted{font-size:12px}.chat-panel{padding:0;overflow:hidden;display:flex;flex-direction:column;height:640px;min-height:480px}.chat-header{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:center}.chat-header h2{font-size:15px;margin:0}.chat-header small{font-size:10px}.messages{flex:1;overflow-y:auto;background:#f9fafb;padding:22px;display:flex;flex-direction:column;gap:14px;min-height:200px}.bubble{max-width:80%;padding:13px 17px;background:#fff;border:1px solid var(--line);border-radius:14px 3px 14px 14px;align-self:flex-start;overflow-wrap:anywhere}.bubble.mine{background:#f6e6e9;border-color:#efcbd2;align-self:flex-end;border-radius:3px 14px 14px 14px}.bubble-name{font-size:11px;color:var(--red);font-weight:700;margin-bottom:5px}.bubble p{white-space:pre-wrap;margin:0 0 5px;font-size:13px;unicode-bidi:plaintext}.bubble small{font-size:9px}.report-button{border:0;background:none;font-size:10px;color:#8b919c;margin-right:12px}.message-form{display:flex;padding:16px;gap:12px;align-items:center;border-top:1px solid var(--line)}.message-form textarea{resize:none;min-height:62px}.message-form button{flex-shrink:0}.chat-panel>.help{padding:0 20px}.error-text{color:#a02d40}.actions{display:flex;gap:12px;flex-wrap:wrap}blockquote{background:#f7f8fa;border-right:3px solid var(--red);padding:15px;margin:18px 0;white-space:pre-wrap;overflow-wrap:anywhere}.submit-status{margin-right:12px;color:var(--muted);font-size:12px}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1000px){.topbar{padding:16px 24px}.topbar nav{gap:15px}.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-layout{grid-template-columns:minmax(0,1fr) 300px}.welcome{padding:35px}.welcome h1{font-size:36px}.login-panel{padding:35px 28px}.stats a{padding:18px}.stats span{font-size:11px}footer{margin:0 24px}.chat-layout{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:760px){.topbar{padding:15px 18px;flex-direction:column;align-items:stretch;gap:14px}.brand{justify-content:center}.brand strong{font-size:16px}.brandmark{width:41px;height:41px}.topbar nav{justify-content:center;flex-wrap:wrap;gap:12px 19px;font-size:12px}.container{padding:24px 16px 38px}.page-heading{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:23px}h1{font-size:25px}h2{font-size:18px}.panel{padding:21px}.grid.three,.grid.two{grid-template-columns:1fr}.grid.four{gap:13px}.stats{grid-template-columns:repeat(2,1fr);gap:12px}.stats a{padding:17px}.stats strong{font-size:30px}.stats small{font-size:9px}.filters{flex-wrap:wrap}.filters .search-label{flex-basis:100%}.filters select{flex:1;max-width:none}.filters .button{min-width:85px}.auth-layout{display:flex;flex-direction:column;margin:0;min-height:0;gap:18px}.welcome{border-radius:var(--radius);padding:26px}.welcome h1{font-size:31px;line-height:1.5;margin:6px 0 12px}.welcome h1 br{display:none}.welcome p{margin:0;max-width:none;font-size:12px}.welcome-lines,.welcome-bottom{display:none}.welcome .eyebrow{font-size:10px}.login-panel{padding:25px;border-radius:var(--radius)}.login-panel h2{font-size:25px}.detail-layout{grid-template-columns:1fr}.details{gap:20px}.details dd{font-size:13px}.document-card img{height:150px}.status-banner{flex-direction:column;align-items:stretch;padding:22px}.status-banner p{font-size:12px}.upload{padding:17px 9px}.upload strong{font-size:11px}.upload small{font-size:9px}.check{font-size:12px}.chat-layout{grid-template-columns:1fr}.chat-sidebar{padding:18px}.chat-sidebar h2,.chat-sidebar .divider,.chat-sidebar h3,.chat-sidebar .muted,.chat-sidebar .help{display:none}.chat-panel{height:65vh;min-height:480px;padding:0}.chat-header{padding:15px}.messages{padding:14px}.bubble{max-width:90%}.message-form{padding:12px;gap:8px}.message-form button{padding:10px 14px}.message-form textarea{font-size:13px}.registration .button{width:100%}.section-title{gap:10px}.section-title p{font-size:11px}footer{padding:20px 0;margin:0 16px;flex-wrap:wrap;justify-content:center;font-size:10px}.narrow{margin:0 auto}.actions .button{width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
