:root{--ink:#10131a;--slate:#172033;--muted:#697386;--line:#e5e8ee;--soft:#f5f6f8;--orange:#f66718;--orange2:#ff8a4c;--green:#149a68;--red:#dc3545;--amber:#c47b09;--white:#fff;--shadow:0 24px 60px rgba(15,23,42,.1)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--soft);font-family:Manrope,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a{transition:.2s}a{text-decoration:none;color:inherit}.login-body{min-height:100vh;background:#10131a}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.08fr .92fr}.login-brand{padding:8vw;display:flex;flex-direction:column;justify-content:center;color:#fff;position:relative;overflow:hidden;background:radial-gradient(circle at 15% 90%,rgba(246,103,24,.26),transparent 34%),linear-gradient(145deg,#111827,#10131a)}.login-brand:before,.login-brand:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.07);border-radius:50%;width:640px;height:640px;right:-290px;top:-250px}.login-brand:after{width:420px;height:420px;right:-150px;top:-120px;border-style:dashed;animation:spin 30s linear infinite}.brand-symbol{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:var(--orange);font-size:29px;font-weight:900;box-shadow:0 16px 35px rgba(246,103,24,.3);position:relative;z-index:1}.login-brand>p,.kicker{font-size:10px;font-weight:900;letter-spacing:.18em;color:var(--orange);margin:28px 0 16px}.login-brand h1{font-size:clamp(48px,5vw,82px);line-height:.98;letter-spacing:-.06em;margin:0;max-width:690px;font-weight:850;position:relative;z-index:1}.login-brand h1 em{font-style:normal;color:var(--orange2)}.login-brand>span{color:#aeb5c2;line-height:1.7;max-width:540px;margin-top:30px}.brand-points{display:flex;gap:24px;flex-wrap:wrap;margin-top:48px;color:#cbd1da;font-size:10px}.brand-points b{font-weight:700}.brand-points b:first-letter{color:var(--orange)}.login-card{background:#fff;padding:9vw;display:flex;justify-content:center;flex-direction:column}.login-card>*{width:min(440px,100%);margin-left:auto;margin-right:auto}.mobile-logo{display:none}.login-card h2{font-size:40px;line-height:1.1;letter-spacing:-.04em;margin:0;font-weight:850}.muted{color:var(--muted);line-height:1.65;font-size:14px}.login-card form{margin-top:28px}.login-card label,.form-grid label,.totals label{font-size:10px;font-weight:850;letter-spacing:.08em;color:#475065;text-transform:uppercase}.login-card input,.form-grid input,.form-grid select,.form-grid textarea,.inline input,.inline select,.totals input,.filters input,.filters select{width:100%;border:1px solid #dfe3e9;background:#fff;border-radius:11px;padding:14px 15px;color:var(--ink);outline:0;margin-top:8px;text-transform:none;letter-spacing:0;font-size:13px}.login-card input:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.inline input:focus,.inline select:focus,.filters input:focus,.filters select:focus{border-color:var(--orange);box-shadow:0 0 0 4px rgba(246,103,24,.1)}.login-card form>button,.primary{width:100%;border:0;background:var(--orange);color:#fff;border-radius:11px;padding:15px 18px;margin-top:15px;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 12px 28px rgba(246,103,24,.25)}.login-card form>button:hover,.primary:hover{background:#e9570b;transform:translateY(-1px)}.login-card form>button:disabled{opacity:.45;cursor:not-allowed}.support{border-top:1px solid var(--line);margin-top:40px;padding-top:25px;display:flex;justify-content:space-between;font-size:11px;color:#8991a0}.support a{font-weight:800;color:var(--orange)}.alert{border:1px solid;border-radius:11px;padding:13px 15px;font-size:12px;font-weight:700;line-height:1.5;margin:18px 0}.alert.error{background:#fff2f2;color:#a92331;border-color:#f5c7cc}.alert.success{background:#ecfbf5;color:#08744d;border-color:#b8ead8}.alert.warning{background:#fff8e8;color:#8d5a06;border-color:#f0d99f}.alert.floating{position:fixed;right:25px;top:22px;z-index:100;box-shadow:var(--shadow);max-width:420px;background:#fff}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:#111827;color:#fff;padding:24px 18px;display:flex;flex-direction:column;z-index:40}.side-brand{display:flex;align-items:center;gap:12px;padding:3px 7px 25px;border-bottom:1px solid #283142}.side-brand>span{width:42px;height:42px;border-radius:12px;background:var(--orange);display:grid;place-items:center;font-size:22px;font-weight:900}.side-brand b,.side-brand small{display:block}.side-brand b{font-size:15px;letter-spacing:.08em}.side-brand small{font-size:7px;color:#8892a4;letter-spacing:.16em;margin-top:4px}.sidebar nav{display:flex;flex-direction:column;gap:6px;padding-top:25px}.sidebar nav a{display:flex;align-items:center;gap:12px;border-radius:10px;color:#aeb6c5;padding:12px;font-size:12px;font-weight:750}.sidebar nav a:hover,.sidebar nav a.active{background:#232d3d;color:#fff}.sidebar nav a.active{box-shadow:inset 3px 0 var(--orange)}.sidebar nav i{font-style:normal;width:27px;height:27px;border-radius:7px;background:#293344;display:grid;place-items:center;font-size:10px;font-weight:900;color:#dbe0e8}.sidebar nav a.active i{background:var(--orange);color:#fff}.sync-card{margin-top:auto;border:1px solid #303a4a;background:#1b2433;border-radius:12px;padding:13px;display:flex;align-items:flex-start;gap:10px}.sync-dot{width:9px;height:9px;border-radius:50%;background:#20bd7d;box-shadow:0 0 0 5px rgba(32,189,125,.12);margin-top:3px;flex:none}.sync-dot.warn{background:#f2a21b;box-shadow:0 0 0 5px rgba(242,162,27,.12)}.sync-card b,.sync-card small{display:block}.sync-card b{font-size:9px}.sync-card small{font-size:7px;color:#8993a4;margin-top:4px;line-height:1.45}.logout{width:100%;border:0;background:transparent;color:#8993a4;font-size:9px;font-weight:800;padding:14px 0 0;cursor:pointer}.logout:hover{color:#fff}.content{grid-column:2;min-width:0;padding:0 4vw 80px}.topbar{height:92px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:15px}.topbar p,.topbar h1{margin:0}.topbar p{font-size:9px;color:#9aa1ad;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.topbar h1{font-size:16px;font-weight:850;margin-top:4px}.license-pill{margin-left:auto;border:1px solid #bde6d6;background:#effbf6;color:#0d8659;border-radius:100px;padding:7px 10px;font-size:8px;font-weight:900;letter-spacing:.08em}.menu-button{display:none}.page-heading{display:flex;justify-content:space-between;gap:35px;align-items:flex-end;padding:54px 0 35px}.page-heading .kicker{margin:0 0 10px}.page-heading h2{font-size:43px;letter-spacing:-.045em;margin:0;font-weight:850}.page-heading>div>span{display:block;color:var(--muted);font-size:12px;margin-top:9px}.summary{display:flex;gap:10px}.summary article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 16px;min-width:120px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.summary small,.account-list article small,.quote-list article small,.product-values small{display:block;font-size:7px;color:#9aa1ad;letter-spacing:.1em;font-weight:850}.summary strong{display:block;font-size:20px;margin-top:5px}.page-heading>.primary{width:auto;margin:0;gap:25px}.filters{display:grid;grid-template-columns:1.3fr .8fr .75fr auto auto;gap:10px;align-items:end;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:22px}.filters.compact{grid-template-columns:1.4fr .8fr auto auto}.filters label>span{display:block;font-size:7px;color:#8e96a4;letter-spacing:.11em;font-weight:850;margin-left:3px}.filters input,.filters select{margin-top:6px;padding:11px 12px}.filters button,.filters>a{height:39px;border-radius:9px;padding:0 18px;display:grid;place-items:center;font-size:10px;font-weight:850}.filters button{border:0;background:#111827;color:#fff;cursor:pointer}.filters>a{border:1px solid var(--line);color:#777f8d}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.product-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px;box-shadow:0 8px 24px rgba(15,23,42,.035);min-width:0}.product-card:hover{border-color:#f0b28d;transform:translateY(-2px);box-shadow:0 14px 35px rgba(15,23,42,.08)}.product-top{display:flex;justify-content:space-between;gap:7px}.category,.stock,.status-tag,.queue{border-radius:100px;padding:5px 7px;font-size:7px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category{background:#f2f3f5;color:#7e8693;max-width:50%}.stock.ok{background:#ecfaf4;color:#0e8659}.stock.low{background:#fff6e5;color:#a56708}.stock.out{background:#fff0f1;color:#b42634}.product-card h3{font-size:13px;margin:18px 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-card>p{font-size:8px;color:#9aa1ad;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-values{display:grid;grid-template-columns:1fr auto;margin-top:20px;padding-top:14px;border-top:1px solid #eef0f3;gap:10px}.product-values div:last-child{text-align:right}.product-values strong{font-size:12px;display:block;margin-top:5px}.account-list,.quote-list{display:flex;flex-direction:column;gap:8px}.account-list article,.quote-list article{display:grid;align-items:center;gap:15px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px 17px}.account-list article{grid-template-columns:42px minmax(180px,1fr) 130px 130px auto}.quote-list article{grid-template-columns:minmax(230px,1fr) 130px 65px 120px auto}.avatar{width:40px;height:40px;border-radius:11px;background:#fff0e8;color:var(--orange);display:grid;place-items:center;font-size:16px;font-weight:900}.account-client h3,.quote-list h3{font-size:12px;margin:0}.account-client p,.quote-list p{font-size:8px;color:#9aa1ad;margin:4px 0 0}.account-list article>div>strong,.quote-list article>div>strong{font-size:11px;display:block;margin-top:5px}.danger{color:var(--red)}.status-tag.overdue{background:#fff0f1;color:#b42634}.status-tag.future{background:#ecfaf4;color:#0e8659}.queue.pending{background:#fff5e4;color:#9b6107}.queue.done{background:#eafaf3;color:#08744d}.quote-list article>div:first-child{min-width:0}.quote-list article>div:first-child h3{margin-top:8px}.quote-list article>a{font-size:8px;font-weight:900;color:var(--orange);border:1px solid #ffd2b9;border-radius:7px;padding:7px}.empty{grid-column:1/-1;border:1px dashed #cdd2da;border-radius:14px;padding:40px;text-align:center;color:#9098a5;font-size:12px;background:rgba(255,255,255,.4)}.empty.large{display:flex;flex-direction:column;gap:7px;padding:70px}.empty.large b{color:#4d5665;font-size:15px}.empty.small{padding:28px;font-size:10px}.pagination{display:flex;justify-content:center;gap:5px;flex-wrap:wrap;margin-top:25px}.pagination a{width:34px;height:34px;border-radius:8px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;font-size:10px;font-weight:800}.pagination a.active{background:#111827;color:#fff;border-color:#111827}.modal{position:fixed;inset:0;background:rgba(10,15,25,.65);backdrop-filter:blur(5px);z-index:80;padding:20px;display:none;align-items:center;justify-content:center}.modal.open{display:flex}.modal-card{background:#fff;border-radius:18px;width:min(1000px,100%);max-height:94vh;overflow:auto;box-shadow:0 40px 100px rgba(0,0,0,.3)}.modal-card>header{position:sticky;top:0;background:#111827;color:#fff;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;z-index:2}.modal-card>header .kicker{margin:0 0 5px;color:#ff9a62}.modal-card>header h2{margin:0;font-size:24px}.modal-card>header>button{border:0;background:#293344;color:#fff;border-radius:9px;width:36px;height:36px;font-size:24px;cursor:pointer}.modal-card form{padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid .full{grid-column:1/-1}.builder{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.catalog,.items{border:1px solid var(--line);border-radius:14px;padding:16px}.catalog h3,.items h3{font-size:11px;margin:0 0 12px}.catalog h3:not(:first-child){margin-top:22px}.inline{display:grid;grid-template-columns:1fr 70px auto;gap:7px}.inline.service{grid-template-columns:1fr 110px 70px auto}.inline input,.inline select{padding:10px;margin:0;min-width:0}.inline button{border:0;background:#111827;color:#fff;border-radius:8px;font-size:9px;font-weight:850;padding:0 12px;cursor:pointer}.quote-item{display:grid;grid-template-columns:1fr 55px 90px 28px;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #eceef2}.quote-item b,.quote-item span{font-size:9px}.quote-item small{display:block;font-size:7px;color:#9aa1ad;margin-top:3px}.quote-item button{width:27px;height:27px;border:0;border-radius:7px;background:#fff0f1;color:#bd2635;cursor:pointer}.totals{display:flex;align-items:end;justify-content:space-between;margin-top:17px}.totals label{width:130px}.totals input{padding:10px}.totals>div{text-align:right}.totals>div small{font-size:7px;color:#999}.totals>div strong{display:block;font-size:23px;margin-top:4px}.footer-fields{margin-top:17px;grid-template-columns:180px 1fr}.modal-card footer{display:flex;justify-content:flex-end;gap:9px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.modal-card footer .primary{width:auto;margin:0;gap:25px}.secondary{border:1px solid var(--line);background:#fff;border-radius:10px;padding:12px 18px;font-size:10px;font-weight:850;cursor:pointer}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1200px){.product-grid{grid-template-columns:repeat(3,1fr)}.page-heading{align-items:flex-start;flex-direction:column}.summary{width:100%}.summary article{flex:1}.builder{grid-template-columns:1fr}.account-list article{grid-template-columns:42px minmax(140px,1fr) 110px 110px auto}.quote-list article{grid-template-columns:1fr 110px 55px 100px}}@media(max-width:850px){.app-shell{display:block}.sidebar{transform:translateX(-100%);box-shadow:20px 0 50px rgba(0,0,0,.25);transition:.25s}.sidebar.open{transform:none}.content{padding:0 18px 60px}.menu-button{display:grid;place-items:center;border:1px solid var(--line);background:#fff;width:38px;height:38px;border-radius:9px;cursor:pointer}.topbar{height:76px}.product-grid{grid-template-columns:repeat(2,1fr)}.filters,.filters.compact{grid-template-columns:1fr 1fr}.filters label:first-of-type{grid-column:1/-1}.account-list article,.quote-list article{grid-template-columns:42px 1fr auto}.account-list article>div:nth-of-type(n+3),.quote-list article>div:nth-of-type(n+2){display:none}.login-shell{grid-template-columns:1fr}.login-brand{display:none}.login-card{min-height:100vh;padding:30px}.mobile-logo{display:flex;align-items:center;gap:10px;margin-bottom:35px}.mobile-logo span{width:38px;height:38px;background:var(--orange);color:#fff;border-radius:10px;display:grid;place-items:center;font-weight:900}.mobile-logo b{letter-spacing:.08em}.login-card h2{font-size:34px}.inline,.inline.service{grid-template-columns:1fr 75px}.inline button{min-height:38px}.inline.service input:first-child{grid-column:1/-1}}@media(max-width:560px){.page-heading{padding:35px 0 25px}.page-heading h2{font-size:34px}.summary{overflow:auto}.summary article{min-width:120px}.product-grid{grid-template-columns:1fr}.filters,.filters.compact{grid-template-columns:1fr}.filters label:first-of-type{grid-column:auto}.filters button,.filters>a{width:100%}.account-list article,.quote-list article{padding:12px}.status-tag{display:none}.form-grid,.footer-fields{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.modal{padding:0}.modal-card{height:100%;max-height:none;border-radius:0}.modal-card form{padding:18px}.catalog,.items{padding:13px}.quote-item{grid-template-columns:1fr 42px 75px 28px}.modal-card footer{position:sticky;bottom:0;background:#fff;padding-bottom:5px}.alert.floating{left:15px;right:15px;top:12px}}
