:root{--ink:#17231d;--muted:#6e7c74;--line:#e1e8e4;--bg:#f3f6f4;--green:#15935c;--green2:#29c47a;--dark:#14231c;--red:#c5483e;--amber:#b67413;--white:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:16px}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--bg)}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a{tap-highlight-color:transparent}.sidebar{position:fixed;inset:0 auto 0 0;width:255px;background:var(--dark);color:#edf5f0;padding:28px 18px;display:flex;flex-direction:column;z-index:30}.logo{display:flex;align-items:center;gap:12px}.logo>span{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--green2);color:#0b2819;font-size:.82rem;font-weight:900}.logo div{display:flex;flex-direction:column}.logo b{font-size:.95rem}.logo small{font-size:.7rem;color:#8da096;margin-top:2px}.sidebar nav{display:flex;flex-direction:column;gap:5px;margin-top:42px}.sidebar nav a{display:flex;align-items:center;gap:12px;color:#9aaba2;padding:13px 14px;border-radius:9px;font-size:.88rem}.sidebar nav a:hover,.sidebar nav a.active{background:#22352b;color:#fff}.sidebar nav i{font-style:normal;font-size:1.15rem;width:20px;text-align:center}.side-foot{margin-top:auto;border-top:1px solid #2d4036;padding:20px 8px 0;display:flex;flex-direction:column}.side-foot span{font-size:.82rem;font-weight:700}.side-foot small{color:#8da096;font-size:.7rem;margin-top:4px}.side-foot button{border:0;background:none;color:#93a69c;padding:15px 0 0;text-align:left;font-size:.75rem;cursor:pointer}.workspace{width:calc(100% - 255px);margin-left:255px;padding:0 36px 60px}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between}.store-switch{position:relative}.store-switch>button{border:0;background:none;text-align:left;padding:7px 0;cursor:pointer;display:flex;flex-direction:column}.store-switch>button span{font-size:.68rem;color:var(--muted)}.store-switch>button b{font-size:.92rem;margin-top:3px}.store-switch>a{font-size:.82rem;color:var(--green);font-weight:700}.store-menu{display:none;position:absolute;top:55px;left:0;width:285px;background:white;border:1px solid var(--line);border-radius:12px;padding:8px;box-shadow:0 20px 50px #173a2820;z-index:40}.store-menu.open{display:block}.store-menu form button{width:100%;border:0;background:none;border-radius:8px;padding:10px;text-align:left;display:flex;flex-direction:column;cursor:pointer}.store-menu form button:hover,.store-menu form button.selected{background:#edf7f1}.store-menu b,.store-menu span{font-size:.78rem}.store-menu small{font-size:.68rem;color:var(--muted);margin-top:3px}.store-menu>a{display:block;padding:11px;color:var(--green);font-size:.75rem;font-weight:700;border-top:1px solid var(--line);margin-top:5px}.top-user>span,.avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#dce8e1;color:#244a36;font-weight:800}.page-head{display:flex;align-items:flex-end;justify-content:space-between;margin:12px 0 24px;gap:18px}.page-head h1{font-size:2rem;letter-spacing:-.04em;margin:6px 0}.page-head p{margin:0;color:var(--muted);font-size:.86rem}.eyebrow{text-transform:uppercase;color:var(--green);font-size:.67rem;font-weight:800;letter-spacing:.12em}.button,.primary,.danger{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d7e0db;background:#fff;color:#34463d;border-radius:9px;padding:11px 16px;font-size:.78rem;font-weight:700;cursor:pointer}.button.primary,.primary{background:#17432f;border-color:#17432f;color:white}.button.danger{background:var(--red);border-color:var(--red);color:white}.wide{width:100%;padding:13px}.flash{border-radius:9px;padding:12px 15px;margin-bottom:14px;font-size:.8rem;background:#eaf6ef;color:#176e48;border:1px solid #cce9d8}.flash.error{background:#fcebea;color:#a63c34;border-color:#f0cfcb}.flash.floating{position:fixed;top:20px;left:50%;transform:translateX(-50%);z-index:100;max-width:520px}.status-line{display:flex;align-items:center;gap:9px;background:white;border:1px solid var(--line);padding:13px 16px;border-radius:10px;margin-bottom:14px;font-size:.76rem}.status-line>span:nth-of-type(2){color:var(--muted)}.status-line a{margin-left:auto;color:var(--green);font-weight:700}.dot{width:8px;height:8px;border-radius:50%;background:#e1a33f}.dot.ok{background:#28b66f;box-shadow:0 0 8px #28b66f}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:14px}.kpis article,.panel{background:white;border:1px solid var(--line);border-radius:12px}.kpis article{padding:20px}.kpis small{display:block;color:var(--muted);font-size:.72rem}.kpis strong{display:block;font-size:1.55rem;letter-spacing:-.04em;margin:10px 0 7px}.kpis span{font-size:.68rem;color:#87938d}.two-col{display:grid;grid-template-columns:1.5fr 1fr;gap:14px}.panel{padding:21px}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.panel-head h2{font-size:1rem;margin:0 0 4px}.panel-head p{font-size:.72rem;color:var(--muted);margin:0}.panel-head a{color:var(--green);font-size:.72rem;font-weight:700}.product-row{display:grid;grid-template-columns:44px minmax(190px,1.8fr) repeat(3,1fr);gap:12px;align-items:center;border-top:1px solid #edf1ef;padding:12px 4px}.product-image{width:42px;height:42px;display:grid;place-items:center;border-radius:8px;background:#edf3ef;color:#288159;font-size:.8rem;font-weight:900;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover}.product-name,.product-row>span{display:flex;flex-direction:column;gap:3px}.product-row b{font-size:.76rem}.product-row small{font-size:.65rem;color:var(--muted)}.success-text{color:var(--green)!important}.danger-text{color:var(--red)!important}.order-list>div{display:grid;grid-template-columns:1fr auto;gap:9px;border-top:1px solid #edf1ef;padding:13px 3px}.order-list span{display:flex;flex-direction:column;gap:3px}.order-list b,.order-list strong{font-size:.76rem}.order-list small{font-size:.66rem;color:var(--muted)}.order-list em{font-style:normal;font-size:.62rem;color:var(--green);grid-column:2}.empty{text-align:center;color:var(--muted);padding:36px 15px}.empty p{font-size:.82rem}.empty a{color:var(--green);font-size:.78rem;font-weight:700}.hero-empty{background:white;border:1px solid var(--line);border-radius:14px;padding:80px 20px}.hero-empty i{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#e9f6ef;color:var(--green);font-style:normal;font-size:1.25rem;margin:auto}.hero-empty h2{color:var(--ink);font-size:1.25rem;margin:18px 0 8px}.hero-empty .button{color:white}.store-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.store-card{background:white;border:1px solid var(--line);border-radius:13px;padding:22px}.store-card-head{display:grid;grid-template-columns:45px 1fr auto;align-items:center;gap:12px}.store-letter{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#e6f4ec;color:var(--green);font-weight:900}.store-card h2{font-size:1rem;margin:0 0 4px}.store-card p{font-size:.7rem;color:var(--muted);margin:0}.badge{display:inline-flex;width:max-content;border-radius:30px;padding:5px 8px;background:#eef1ef;color:#68766f;font-size:.62rem;font-weight:800}.badge.good{background:#e5f5ec;color:#147a4c}.badge.warn{background:#fff2dd;color:#a26812}.store-card dl{border-top:1px solid var(--line);margin:18px 0 0}.store-card dl div{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid var(--line);font-size:.72rem}.store-card dt{color:var(--muted)}.store-card dd{margin:0;text-align:right;max-width:70%;overflow-wrap:anywhere}.store-card code{font-size:.62rem}.token-form{margin-top:17px}.token-form label,.auth-card label,dialog label,.panel>label{display:flex;flex-direction:column;gap:7px;color:#56655d;font-size:.72rem;font-weight:650}.token-form label>div{display:flex;gap:8px}.token-form input{flex:1}.token-form+form{margin-top:9px}.products-table{overflow:auto}.table-head,.table-row{min-width:940px;display:grid;grid-template-columns:2fr .8fr .8fr .7fr .9fr .9fr 20px;gap:12px;align-items:center}.table-head{padding:0 9px 10px;text-transform:uppercase;letter-spacing:.07em;color:#849089;font-size:.62rem}.table-row{border-top:1px solid #edf1ef;padding:12px 9px;font-size:.74rem}.product-cell{display:flex;align-items:center;gap:10px}.product-cell>span:last-child,.table-row>span{display:flex;flex-direction:column;gap:3px}.table-row small{font-size:.64rem;color:var(--muted)}.edit-layout{display:grid;grid-template-columns:1fr 1fr;gap:14px}.edit-layout>.panel:nth-of-type(3),.form-actions{grid-column:1/-1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}label{margin-bottom:13px}input,textarea,select{width:100%;border:1px solid #d7e0db;background:#fbfcfb;border-radius:8px;padding:11px 12px;color:var(--ink);outline:none;font-size:.8rem}input:focus,textarea:focus,select:focus{border-color:#49ad78;box-shadow:0 0 0 3px #34a96c18}input:disabled{background:#f0f2f1;color:#89938e}.checkbox{display:flex!important;flex-direction:row!important;align-items:center;cursor:pointer}.checkbox input{position:absolute;opacity:0}.checkbox span{width:18px;height:18px;border:1px solid #cbd5d0;border-radius:5px}.checkbox input:checked+span{background:var(--green);box-shadow:inset 0 0 0 4px white}.image-preview{height:150px;border-radius:10px;background:#edf3ef;display:grid;place-items:center;margin-bottom:16px;overflow:hidden}.image-preview img{width:100%;height:100%;object-fit:contain}.image-preview span{font-size:2rem;color:var(--green);font-weight:900}.calc-result{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}.calc-result span{background:#f1f6f3;padding:12px;border-radius:8px;color:var(--muted);font-size:.68rem;display:flex;flex-direction:column;gap:5px}.calc-result b{font-size:.9rem;color:var(--green)}.warning{padding:11px;border-radius:8px;background:#fff0e3;color:#9c5f13;font-size:.72rem;margin-top:12px}.form-actions{display:flex;justify-content:flex-end;gap:9px}.back{font-size:.72rem;color:var(--green)}.admin-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:14px;margin-bottom:14px}.application-list article,.user-list article{border-top:1px solid var(--line);padding:13px 2px;display:flex;gap:11px;align-items:center}.application-list article>div:first-child,.user-list article>div{display:flex;flex-direction:column;gap:3px;flex:1}.application-list b,.user-list b{font-size:.76rem}.application-list span,.application-list small,.user-list small{font-size:.65rem;color:var(--muted)}.inline-actions{display:flex!important;flex:0!important;flex-direction:row!important}.mini{border:1px solid #d8e0dc;background:white;border-radius:7px;padding:7px 9px;font-size:.64rem;cursor:pointer}.mini.success{color:var(--green)}.audit-panel{overflow:auto}.audit-head,.audit-list>div{min-width:780px;display:grid;grid-template-columns:120px 180px 180px 1fr;gap:13px;padding:10px 7px;border-top:1px solid var(--line);font-size:.68rem}.audit-head{color:var(--muted);text-transform:uppercase;font-size:.6rem}.audit-list time,.audit-list span{color:var(--muted)}dialog{border:0;border-radius:14px;padding:0;box-shadow:0 30px 80px #102d1d42;width:min(480px,calc(100% - 30px));color:var(--ink)}dialog::backdrop{background:#10251b99}dialog>form{padding:28px;position:relative}dialog h2{font-size:1.35rem;margin:7px 0 18px}.dialog-close{position:absolute;right:15px;top:13px;border:0;background:none;font-size:1.5rem;color:var(--muted);cursor:pointer}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.confirm-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#ffeadf;color:var(--red);font-size:1.2rem;font-weight:900}.auth-body{background:var(--dark)}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.auth-brand{padding:48px max(40px,7vw);color:white;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(circle at 85% 20%,#28533d 0,transparent 38%),var(--dark)}.auth-brand>div:last-child{max-width:620px;margin:auto 0}.auth-brand p{color:var(--green2);font-size:.72rem;text-transform:uppercase;letter-spacing:.13em;font-weight:800}.auth-brand h1{font-size:clamp(2.6rem,5vw,5rem);line-height:.98;letter-spacing:-.065em;margin:18px 0 40px}.auth-brand ul{list-style:none;padding:0;display:flex;gap:8px;flex-wrap:wrap}.auth-brand li{border:1px solid #365244;border-radius:30px;padding:9px 13px;color:#b2c3ba;font-size:.72rem}.auth-card{background:#f7f9f8;display:grid;place-items:center;padding:35px}.auth-card>form,.success-state{width:min(440px,100%);background:white;border:1px solid var(--line);border-radius:16px;padding:35px}.auth-card h2{font-size:1.75rem;margin:8px 0}.auth-card p{font-size:.78rem;color:var(--muted);line-height:1.55;margin:0 0 24px}.auth-link{text-align:center;margin-top:17px;font-size:.72rem;color:var(--muted)}.auth-link a{color:var(--green);font-weight:800}.success-state{text-align:center}.success-state i{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#e5f5ec;color:var(--green);font-style:normal;margin:auto;font-size:1.2rem}.success-state .button{margin-top:10px}.bottom-nav{display:none}
@media(max-width:1050px){.kpis{grid-template-columns:repeat(2,1fr)}.two-col,.admin-grid{grid-template-columns:1fr}.store-grid{grid-template-columns:1fr}.auth-shell{grid-template-columns:1fr}.auth-brand{min-height:380px}.auth-brand h1{font-size:3rem}.auth-card{min-height:600px}}
@media(max-width:720px){:root{font-size:17px}.sidebar{display:none}.workspace{width:100%;margin:0;padding:0 14px 92px}.topbar{height:72px;position:sticky;top:0;background:var(--bg);z-index:20}.top-user{display:none}.page-head{align-items:flex-start;margin-top:12px}.page-head h1{font-size:1.55rem}.page-head p{font-size:.78rem}.page-head>.button{padding:10px 12px;white-space:nowrap}.status-line>span:nth-of-type(2){display:none}.kpis{grid-template-columns:1fr 1fr;gap:9px}.kpis article{padding:15px}.kpis strong{font-size:1.18rem}.two-col{display:block}.two-col>.panel{margin-bottom:12px}.panel{padding:15px}.product-row{grid-template-columns:42px 1fr auto}.product-row>span:nth-of-type(3),.product-row>span:nth-of-type(4){display:none}.product-row>span:nth-of-type(5){text-align:right}.order-list>div{padding:12px 2px}.edit-layout{display:block}.edit-layout>.panel{margin-bottom:12px}.form-grid{grid-template-columns:1fr 1fr;gap:9px}.calc-result{grid-template-columns:1fr}.form-actions{position:sticky;bottom:72px;background:var(--bg);padding:10px 0;z-index:10}.store-card{padding:16px}.store-card-head{grid-template-columns:40px 1fr}.store-card-head>.badge{grid-column:2}.token-form label>div{flex-direction:column}.auth-brand{min-height:310px;padding:28px 22px}.auth-brand>div:last-child{margin-top:55px}.auth-brand h1{font-size:2.25rem;margin-bottom:22px}.auth-brand ul{display:none}.auth-card{padding:18px;min-height:520px}.auth-card>form,.success-state{padding:25px}.bottom-nav{position:fixed;left:10px;right:10px;bottom:10px;height:64px;border:1px solid #dce4df;background:#ffffffed;backdrop-filter:blur(14px);border-radius:16px;display:flex;align-items:center;justify-content:space-around;z-index:50;box-shadow:0 12px 40px #142d201f}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;color:#79877f;font-size:.58rem;min-width:60px}.bottom-nav a i{font-style:normal;font-size:1.08rem}.bottom-nav a.active{color:var(--green);font-weight:800}.store-menu{position:fixed;left:14px;right:14px;top:65px;width:auto}.audit-list{overflow:auto}.application-list article{flex-wrap:wrap}.inline-actions{width:100%;margin-left:42px}.page-head .eyebrow{display:none}}
@media(max-width:430px){.kpis{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.page-head{display:block}.page-head>.button{margin-top:14px}.auth-brand h1{font-size:1.9rem}.store-card dl div{display:block}.store-card dd{text-align:left;max-width:100%;margin-top:4px}.product-row{grid-template-columns:42px 1fr}.product-row>span:nth-of-type(5){grid-column:2}.calc-result{grid-template-columns:1fr}.dialog-actions{flex-direction:column}.dialog-actions .button{width:100%}}
.head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.products-table .table-head,.products-table .table-row{min-width:1100px;grid-template-columns:2.25fr .72fr 1.05fr .8fr .55fr .62fr .82fr 20px}.connector-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-bottom:12px}.connector-panel>div{display:flex;align-items:center;gap:10px}.connector-panel>div>div{display:flex;flex-direction:column;gap:3px}.connector-panel b{font-size:.8rem}.connector-panel small{font-size:.68rem;color:var(--muted)}.catalog-tools{display:flex;align-items:center;gap:8px;margin:16px 0}.catalog-tabs{display:flex;align-items:center;gap:5px;margin-right:auto;overflow:auto}.catalog-tabs a{white-space:nowrap;padding:9px 12px;border-radius:8px;color:var(--muted);font-size:.72rem;font-weight:700}.catalog-tabs a.active{background:#dfeee6;color:#17432f}.catalog-tabs b{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:20px;background:#fff;font-size:.62rem;margin-left:3px}.catalog-tools input{max-width:270px}.product-status{width:max-content;border-radius:20px;padding:3px 7px;font-style:normal;font-size:.57rem;font-weight:800;background:#e7f5ed;color:#16784b}.product-status.archive{background:#eef0ef;color:#66736c}.product-status.review{background:#fff2dd;color:#9d6514}.manual-import{margin-top:14px;color:var(--muted);font-size:.72rem}.manual-import summary{cursor:pointer;width:max-content}.manual-import>div{margin-top:10px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:10px}.manual-import p{margin:0 0 10px}.catalog-note{line-height:1.5}
@media(max-width:720px){.head-actions{justify-content:flex-start;margin-top:12px}.connector-panel{align-items:flex-start;flex-direction:column}.connector-panel .button{width:100%}.catalog-tools{align-items:stretch;flex-wrap:wrap}.catalog-tabs{width:100%;order:1}.catalog-tools input{max-width:none;flex:1;order:2}.catalog-tools>.button{order:3}.products-table{margin-left:-14px;margin-right:-14px;border-radius:0}.manual-import{margin-bottom:20px}}
