:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#2c2637;background:#f9f7fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:inherit}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}[hidden]{display:none!important}
.shell{min-height:100vh;display:grid;grid-template-columns:241px minmax(0,1fr)}.sidebar{background:linear-gradient(170deg,#231a33 0%,#32253d 60%,#3c2a42 100%);color:white;min-height:100vh;padding:25px 18px;display:flex;flex-direction:column;gap:24px}.brand{display:flex;align-items:center;gap:11px;font-size:20px;font-weight:850;letter-spacing:-.8px;line-height:1.05}.brand em{font-style:normal;color:#e9b3c8}.brand small{display:block;font-size:9px;font-weight:600;letter-spacing:1.6px;color:#c7b7d1;margin-top:8px}.brand-symbol{background:linear-gradient(135deg,#d890b0,#9e6cae);width:44px;height:44px;border-radius:15px;display:grid;place-items:center;flex:none;font-size:30px}.side-note{color:#e2d6e9;font-size:12px;line-height:1.65}.side-link{display:flex;align-items:center;gap:9px;text-decoration:none;border-radius:11px;padding:13px 14px;font-size:13px;font-weight:700;color:#e1d5e6}.side-link:hover,.side-link.current{background:#ffffff1e;color:#fff}.side-foot{margin-top:auto;color:#c8b8d1;font-size:11px;line-height:1.7}.main{min-width:0;max-width:1850px;width:100%;margin:0 auto;padding:28px 31px 65px}.page-head,.section-top,.filter-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.page-head{margin-bottom:19px}.page-head h1{margin:4px 0;font-size:29px;letter-spacing:-1px}.page-head p{margin:0;color:#817687;font-size:13px}.overline{font-size:10px;letter-spacing:1.3px;font-weight:850;color:#9b5b96}.head-tools,.action-bar{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.cloud-pill{background:#edf8f0;color:#24634a;padding:9px 11px;border:1px solid #d0e8d8;border-radius:30px;font-size:11px;font-weight:800}.cloud-pill.error{background:#ffedf1;border-color:#f1cad3;color:#8c2a46}.btn{border:1px solid #e3d7e8;background:#f7f1f9;color:#644775;border-radius:10px;padding:10px 14px;min-height:39px;font-size:12px;font-weight:800;white-space:nowrap}.btn.primary{background:linear-gradient(108deg,#6b468c,#a761a2);border-color:transparent;color:#fff}.btn.outline{background:#fff}.btn:hover:not(:disabled){filter:brightness(.97)}.btn:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d3acd7;outline-offset:1px}.status{padding:13px 17px;background:#f1eafa;color:#6d4d83;border:1px solid #e2d5eb;border-radius:11px;margin-bottom:17px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.status.error{background:#fff0f1;color:#993347;border-color:#edbec9}.status.success{background:#eaf9f0;color:#246d4b;border-color:#c3e8d1}.panel{background:#fff;border:1px solid #e9e2eb;border-radius:15px;padding:21px;box-shadow:0 6px 28px rgba(42,26,65,.045);min-width:0}.workspace-box{margin-bottom:16px;max-width:550px}.workspace-box label{margin-bottom:8px;display:block;font-weight:700}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}.stat{background:#fff;border:1px solid #e9e2eb;border-radius:14px;padding:15px}.stat span{font-size:11px;color:#8c7a90;font-weight:700;display:block}.stat strong{font-size:23px;display:block;margin-top:8px}.filters-panel{margin-bottom:17px}.filters-panel h2{font-size:16px;margin:0}.filter-grid{display:grid;grid-template-columns:2fr 1.25fr 1fr 1.2fr 1fr;gap:11px;margin-top:7px}.filter-grid label,.field-grid label{display:flex;flex-direction:column;gap:7px;min-width:0}.filter-grid label span,.field-grid label span{font-size:11px;font-weight:750;color:#66526d}input,textarea,select{background:#fff;border:1px solid #dfd5e3;color:#32283b;border-radius:9px;padding:11px;width:100%;min-height:41px;min-width:0}textarea{resize:vertical;min-height:74px}input[type=date]{min-width:0}.seller-tabs{display:flex;gap:8px;overflow:auto;padding:13px 0 14px;scrollbar-width:thin}.seller-tab{flex:none;border-radius:22px;border:1px solid #eaddec;padding:9px 13px;background:#fbf8fb;color:#77607c;font-size:12px;font-weight:800}.seller-tab.active{background:#754e90;color:#fff;border-color:#754e90}.work-area{display:grid;grid-template-columns:minmax(265px,340px) minmax(0,1fr);gap:17px;align-items:start}.list-panel{position:sticky;top:15px}.section-top{margin-bottom:14px}.section-top h2{margin:0;font-size:17px}.count{color:#9d6da1;font-size:13px}.client-list{display:flex;flex-direction:column;gap:5px;max-height:72vh;overflow:auto}.client-item{width:100%;border:1px solid transparent;border-radius:11px;background:#fff;padding:11px;display:flex;align-items:center;gap:10px;text-align:left}.client-item:hover{background:#fcf8ff;border-color:#e8d5ed}.client-item.active{border-color:#cba1d5;background:#faf2fd}.avatar{background:#f1e5f6;color:#82539b;font-weight:850;border-radius:12px;width:37px;height:37px;flex:none;display:grid;place-items:center}.client-details{min-width:0;flex:1}.client-details strong,.client-details small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.client-details strong{font-size:12px;color:#38283f}.client-details small{font-size:10px;color:#8d8192;margin-top:4px}.empty{font-size:13px;color:#8a7b90;padding:20px 5px;line-height:1.7}.empty.large{padding:45px 12px;text-align:center}.muted{color:#887b8d;font-size:11px;line-height:1.6}.editor-top h2{font-size:19px;margin:3px 0}.editor-top small{font-size:11px;color:#88788c}.action-bar{padding:13px 0;position:sticky;top:0;z-index:5;background:white;border-bottom:1px solid #f0e8f1;margin-bottom:15px}#editorMessage:not(:empty){padding:11px 14px;border-radius:10px;background:#eef7ee;border:1px solid #cfe4d0;color:#276041;white-space:pre-wrap;margin-bottom:14px;font-size:12px}#editorMessage.error{background:#fff0f3;color:#92384f;border-color:#ebc6cf}fieldset{border:1px solid #efe9f1;border-radius:12px;padding:18px 15px;margin:0 0 16px;min-width:0}legend{font-size:14px;font-weight:850;color:#724b82;padding:0 6px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field-grid .wide{grid-column:1/-1}.field-help{margin:0;padding:7px 0;font-size:11px;color:#85778b;line-height:1.5}.submit-bottom{display:flex;gap:15px;align-items:center;margin-top:15px;flex-wrap:wrap}.history-section{padding:17px 0 0;border-top:1px solid #eee4f0;margin-top:24px}.history-section h3{font-size:16px;margin:0}.history-item{border-top:1px solid #f2eaf2;padding:13px 0;font-size:12px}.history-item strong{font-size:11px}.history-item .muted{display:block;margin-top:3px}.history-item dl{display:grid;grid-template-columns:minmax(90px,160px) 1fr;gap:5px 10px;margin:9px 0 0}.history-item dt{font-weight:750;color:#765e7d}.history-item dd{margin:0;overflow-wrap:anywhere}.history-section pre{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:1200px){.shell{grid-template-columns:210px minmax(0,1fr)}.main{padding:23px 18px}.filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.work-area{grid-template-columns:minmax(250px,285px) 1fr}}
@media(max-width:880px){.shell{display:block}.sidebar{min-height:auto;flex-direction:row;align-items:center;justify-content:space-between;padding:15px;gap:10px}.sidebar nav{display:flex;flex-wrap:wrap}.side-note,.side-foot{display:none}.main{padding:20px 13px}.work-area{grid-template-columns:1fr}.list-panel{position:static}.client-list{max-height:250px}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:570px){.page-head h1{font-size:24px}.field-grid,.filter-grid,.stats{grid-template-columns:1fr}.field-grid .wide{grid-column:auto}.panel{padding:15px}.sidebar{display:block}.sidebar nav{margin-top:10px}.head-tools{width:100%}.btn{padding:9px 11px}.client-list{max-height:220px}.action-bar{position:static}}
