:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#13213c;background:#f2f5f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}.loading{min-height:100vh;display:grid;place-items:center}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 10%,#dcecff,transparent 36%),#f5f7fb}.login-card{width:min(420px,100%);background:#fff;padding:40px;border-radius:22px;box-shadow:0 25px 70px #2449751c;border:1px solid #e2e9f2}.login-card h1{font-size:46px;margin:8px 0 0;letter-spacing:-2px}.login-card p{color:#68778e;margin:0 0 28px}label{display:grid;gap:8px;margin:16px 0;color:#40516b;font-weight:650}input,textarea,select{width:100%;border:1px solid #ced8e6;border-radius:10px;padding:12px 14px;background:#fff;color:#13213c}input:focus,textarea:focus,select:focus{outline:3px solid #d8e8ff;border-color:#2879ee}button{border:0;border-radius:10px;padding:11px 16px;background:#edf2f8;color:#16345f;font-weight:750}.login-card button,.primary{width:100%;background:#176ee8;color:#fff;margin-top:8px}.error{color:#b42318;background:#fff0ee;padding:10px 12px;border-radius:8px}.eyebrow{color:#2673df;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.app-shell{min-height:100vh;display:grid;grid-template-columns:220px 1fr;grid-template-rows:74px 1fr}header{grid-column:1 / -1;display:flex;align-items:center;gap:24px;background:#fff;border-bottom:1px solid #dfe6ef;padding:0 28px}.brand{display:flex;align-items:center;gap:12px;min-width:190px}.brand>span{display:grid;place-items:center;width:38px;height:38px;color:#fff;background:#166ee8;border-radius:11px;font-weight:900}.brand div,.profile div{display:grid}.brand small,.profile small{color:#7a8799}.node{margin-left:auto;padding:10px 14px;border-radius:999px;background:#fff7e8;color:#a15c00;font-size:13px;font-weight:700}.node i,.server-note i{display:inline-block;width:8px;height:8px;background:#ed9c27;border-radius:50%;margin-right:7px}.profile{display:flex;align-items:center;gap:14px;text-align:right}.profile button{padding:8px 12px}aside{background:#fff;border-right:1px solid #dfe6ef;padding:26px 18px;display:flex;flex-direction:column;gap:22px}aside>strong{padding:0 10px}nav{display:grid;gap:6px}nav button{width:100%;padding:11px 12px;border-radius:9px;background:transparent;color:#53647c;font-weight:650;text-align:left}nav button.active{background:#e9f2ff;color:#176ee8}.server-note{margin-top:auto;padding:14px;background:#f4f7fb;border-radius:12px;font-size:13px}.server-note small{color:#7a8799}.workspace{padding:28px;overflow:hidden}.page-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.page-title h1{margin:5px 0 0;font-size:30px;letter-spacing:-.7px}.refresh{background:#fff;border:1px solid #d6dfeb}.columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);gap:20px;align-items:start}.panel{background:#fff;border:1px solid #dfe6ef;border-radius:16px;box-shadow:0 8px 30px #2545680a;overflow:hidden}.panel-title{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6ebf2}.panel-title h2{margin:4px 0 0}.count{display:grid;place-items:center;min-width:34px;height:34px;border-radius:12px;background:#e9f2ff;color:#176ee8;font-weight:800}.request-list{max-height:calc(100vh - 230px);overflow:auto}.request-card{padding:18px 24px;border-bottom:1px solid #edf0f4;cursor:pointer;transition:background .15s,box-shadow .15s}.request-card:hover{background:#f8fbff}.request-card.selected{background:#edf5ff;box-shadow:inset 4px 0 #176ee8}.request-card:last-child{border-bottom:0}.request-head{display:flex;justify-content:space-between;gap:16px}.request-head time{color:#8390a2;font-size:12px}.request-card p{color:#5f6e83;margin:10px 0}.test-pill{display:inline-block;margin-top:10px;padding:4px 8px;border-radius:999px;background:#fff0d7;color:#9c5a00;font-size:11px;font-weight:800}.states{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.states span{background:#f5f7fa;padding:8px 10px;border-radius:8px;font-size:12px;color:#53647c}.states span.ai{background:#ebf3ff;color:#176ee8}.states small{display:block;color:#8b97a7;margin-bottom:3px}.empty{padding:50px;text-align:center;color:#8b97a7}.form-panel{padding:22px}.segment{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:#eef2f7;border-radius:11px}.segment button{background:transparent}.segment button.active{background:#fff;color:#176ee8;box-shadow:0 2px 8px #1c3e6b18}.check{display:flex;align-items:center;gap:9px}.check input{width:auto}.test-banner{margin:-22px -22px 18px;padding:12px 18px;background:#ffedc7;color:#8a4c00;font-size:12px;font-weight:850;letter-spacing:.04em}.message{color:#51627a;text-align:center;font-size:13px}.right-stack{display:grid;gap:20px}.detail-panel{min-height:180px}.empty-detail{display:grid;place-items:center;color:#7a8799;padding:40px}.detail-body{padding:20px 24px}.test-banner.inline{margin:-20px -24px 18px}.detail-heading{display:flex;justify-content:space-between;align-items:baseline;margin:22px 0 12px}.detail-heading small{color:#8995a5}.page-grid{display:grid;gap:12px}.page-tile{display:grid;grid-template-columns:96px 1fr;gap:14px;border:1px solid #e0e7f0;border-radius:12px;padding:10px}.page-tile img{width:96px;height:104px;object-fit:cover;background:#eef2f7;border-radius:8px}.page-tile>div{display:grid;align-content:start;gap:5px}.page-tile small{color:#7b899c;overflow-wrap:anywhere}.page-tile label{grid-template-columns:auto 64px;align-items:center;margin:4px 0 0;font-size:12px}.page-tile input{padding:6px 8px}.group-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.primary.compact{width:auto;margin:0}.audit-list{display:grid;gap:7px}.audit-list>div{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;background:#f5f7fa;border-radius:8px;font-size:12px}.audit-list time{color:#8290a3}.password-button{width:100%}.password-panel{padding:20px 24px}.password-panel label{margin:12px 0}.request-client{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;color:#40516b;font-size:13px}.request-client.detail-client{margin:0 0 18px;padding:12px;border:1px solid #e0e7f0;border-radius:10px}.request-client>span:first-child{display:grid;gap:2px}.request-client small{color:#8390a2}.client-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(420px,1.2fr);gap:20px;align-items:start}.client-list{max-height:calc(100vh - 180px);overflow:auto}.client-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-radius:0;border-bottom:1px solid #edf0f4;background:#fff;text-align:left}.client-row:hover,.client-row.selected{background:#edf5ff}.client-row.selected{box-shadow:inset 4px 0 #176ee8}.client-row>span:first-child{display:grid;gap:4px}.client-row small{color:#7a8799}.billing-badge,.hub{display:inline-flex;align-items:center;width:max-content;padding:5px 9px;border-radius:999px;background:#eef2f7;color:#59697e;font-size:11px;font-weight:800;white-space:nowrap}.billing-badge.paid{background:#e4f7ea;color:#19713a}.billing-badge.partially_paid,.billing-badge.awaiting_payment{background:#fff4d9;color:#8a5a00}.billing-badge.overdue,.billing-badge.cancelled{background:#ffebe8;color:#a82b20}.billing-badge.waived{background:#eee8ff;color:#6640a5}.hub.offline{background:#fff4d9;color:#8a5a00}.billing-history,.payment-history{display:grid;gap:8px}.billing-history>div,.payment-history>div{display:grid;grid-template-columns:90px 1fr auto;align-items:center;gap:12px;padding:10px 12px;background:#f5f7fa;border-radius:9px;font-size:13px}.payment-history>div{grid-template-columns:110px 1fr minmax(80px,auto)}.payment-history small{color:#7a8799;text-align:right}.billing-form{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr)) auto;align-items:end;gap:8px;margin-top:20px;padding-top:18px;border-top:1px solid #e6ebf2}.billing-form h3{grid-column:1 / -1;margin:0}.billing-form button{margin:0}.team-panel{padding:8px 24px}.team-panel article{display:grid;grid-template-columns:minmax(160px,.35fr) 1fr;gap:24px;padding:20px 0;border-bottom:1px solid #e6ebf2}.team-panel article:last-child{border-bottom:0}.team-panel article>div:first-child{display:grid;align-content:start;gap:4px}.team-panel small{color:#7a8799}.role-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px 16px}.role-grid label{margin:0;font-size:13px}.notice{padding:14px 18px;color:#40516b}@media(max-width:1100px){.client-layout{grid-template-columns:1fr}.client-list{max-height:none}}@media(max-width:900px){.app-shell{display:block}header{height:68px;padding:0 16px}.node,aside{display:none}.profile div{display:none}.workspace{padding:18px}.columns{grid-template-columns:1fr}.request-list{max-height:none}.billing-form,.team-panel article{grid-template-columns:1fr}.billing-history>div,.payment-history>div{grid-template-columns:1fr}.payment-history small{text-align:left}}
