/* Light Premium • roles, customers, storefront and orders */
.portal{min-height:100dvh;background:var(--bg);color:var(--tx);padding-bottom:88px}
.portal-header{max-width:980px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:22px 20px 10px}
.portal-brand{font:700 25px Georgia,serif;letter-spacing:1px;color:#10533f}
.portal-language{width:auto;min-width:120px;padding:9px 12px;font-size:13px;background:white}
.portal-content{max-width:520px;margin:0 auto;padding:12px 22px 55px}
.portal-content h1,.customer-heading h1{font-size:clamp(27px,5vw,35px);line-height:1.18;color:#123f30;letter-spacing:-.6px;margin:20px 0 14px}
.portal-muted{color:#76847a;font-size:14px;line-height:1.5}
.role-cards{display:flex;flex-direction:column;gap:16px;margin-top:26px}
.role-card{background:white;border:1px solid #e4e5db;color:#213c31;text-align:start;display:grid;grid-template-columns:56px 1fr 25px;column-gap:14px;row-gap:5px;align-items:center;padding:22px 18px;min-height:125px;box-shadow:0 12px 25px #123d2b0a}
.role-card:active{transform:scale(.99)}.role-card .role-icon{grid-row:1/3;display:grid;place-items:center;width:52px;height:52px;background:#e9f0e9;border-radius:17px;color:#17553f;font-size:28px}
.role-card strong{font-size:17px}.role-card small{grid-column:2;font-size:13px;line-height:1.4;color:#71837a}.role-card .role-next{grid-row:1/3;grid-column:3;font-size:22px;color:#12533e}
.link-btn{background:transparent;color:#1d654a;border:0;padding:10px 0;text-align:start;font-size:14px}
.portal-form{display:flex;flex-direction:column;gap:16px}.portal-form label{display:block;color:#586d5d;font-size:13px;font-weight:650}.portal-form input,.portal-form textarea{display:block;margin-top:7px}.portal-form textarea{width:100%;resize:vertical;background:white;border:1px solid var(--br);border-radius:13px;padding:14px;font:inherit;color:var(--tx)}
.portal-form button{min-height:50px}.portal-role-label{background:#e7eee6;border-radius:11px;padding:12px;font-weight:700;color:#17563f}
.two-buttons{display:flex;gap:9px;align-items:stretch;margin-top:5px}.two-buttons>*{flex:1;min-width:0}.outline-btn{background:white;color:#11543e;border:1px solid #cfded0;padding:10px 14px}.outline-btn.tiny{font-size:12px;padding:7px 10px}.outline-btn.full{width:100%}
.customer-portal{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}.customer-heading{max-width:850px;margin:0 auto;padding:22px 20px 10px}.customer-heading h1{margin:6px 0 10px}.customer-top{display:flex;justify-content:space-between;align-items:center;gap:9px}.customer-top select{max-width:140px}
.customer-body{max-width:850px;margin:0 auto;padding:15px 20px 30px}.customer-body>h3{font-size:18px;margin:25px 0 12px}
.portal-card{border:1px solid #e3e8df;border-radius:18px;padding:17px;margin:12px 0;background:white;box-shadow:0 5px 22px #143b2a0a}
.portal-card h3{margin:0 0 8px;color:#233d2e;font-size:17px}.portal-card p{line-height:1.5;word-break:break-word}.portal-card button{font-size:13px}
.inline-form{display:flex;align-items:center;gap:8px}.inline-form input{flex:1}.inline-form button{flex:none;padding:12px}
.p-badge{display:inline-flex;border-radius:99px;background:#e8eee6;color:#256049;font-size:11px;font-weight:650;padding:7px 10px}
.connection>.two-buttons{margin-top:12px}.row-split{display:flex;align-items:center;justify-content:space-between;gap:12px}.row-split strong{color:#214534}
.customer-nav{position:fixed;bottom:0;left:0;right:0;margin:0 auto;background:white;border-top:1px solid #e5e9e1;display:flex;justify-content:space-around;padding:9px 6px calc(8px + env(safe-area-inset-bottom,0px));max-width:650px;z-index:34}
.customer-nav button{flex:1;display:flex;align-items:center;flex-direction:column;gap:4px;background:transparent;color:#849187;padding:6px 2px;font-size:11px}.customer-nav button span{font-size:23px;line-height:1.1}.customer-nav button.sel{color:#11543e;font-weight:750}
.portal-empty{background:white;border:1px dashed #cddad0;text-align:center;border-radius:16px;padding:30px 18px;color:#7c897e;font-size:14px}
.product-listing{display:flex;align-items:center;gap:13px}.product-listing .thumb{width:80px;height:94px;flex:none;background:#e3e9e0;border-radius:13px;display:grid;place-items:center;overflow:hidden;color:#13543f;font-size:30px}.thumb img{width:100%;height:100%;object-fit:cover}
.product-body{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;flex:1}.product-body strong{font-size:14px}.product-body small{color:#788c7a}.product-body span{font-size:12px;color:#355947}.product-body button{padding:8px 12px}
.portal-seller-tools{margin-top:18px}.portal-seller-tools h3{margin:24px 0 12px;font-size:17px;color:#114f3a}.portal-code{padding:13px;background:#e5eee5;color:#205943;border-radius:13px;margin-bottom:14px;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.portal-code button{font-size:12px;padding:6px 9px;margin-left:auto}
#app[data-view="orders"] #home-panel,#app[data-view="orders"] #catalog-panel,#app[data-view="orders"] #history-heading,#app[data-view="orders"] #grid,#app[data-view="orders"] #jv,#app[data-view="orders"] #more-screen,#app[data-view="orders"] .shop-intro,#app[data-view="orders"] .top{display:none!important}
#seller-orders{max-width:850px;margin:0 auto;padding:20px 18px 110px}.seller-orders .section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.status-label{display:block;margin-top:12px;color:#6d8173;font-size:12px}.status-label select{margin-top:6px}
#portal-overlay{position:fixed;inset:0;z-index:80;background:#10271bc9;display:grid;place-items:center;overflow:auto;padding:15px}
#portal-overlay[hidden]{display:none!important}.overlay-card{background:#f8f4ec;border-radius:22px;padding:20px;max-width:620px;width:100%;max-height:90dvh;overflow:auto;box-shadow:0 30px 60px #13271c4a}.overlay-card h2{font-size:22px;color:#1a543f}.overlay-card a,.seller-orders a{color:#145b43;text-decoration:none;font-weight:650}
.storefront-item{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:14px;border-bottom:1px solid #e1e8de;background:#fff}.storefront-item small{display:block;color:#788b7c;margin-top:5px}.storefront-item input{width:23px;height:23px;accent-color:#12543f}
@media(min-width:760px){.portal-content{padding-top:50px}.customer-body{max-width:750px}.customer-heading{max-width:750px}}

/* SKLAD 2.2: цена витрины управляется отдельно от истории продаж */
.storefront-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}
.storefront-item-title{min-width:0}
.storefront-item-price{grid-column:1/-1;display:flex;align-items:flex-end;gap:10px}
.storefront-item-price label{flex:1;min-width:0;font-size:12px;color:#536e5c}
.storefront-item-price input{font-size:15px;margin-top:5px;max-width:200px;height:43px}
.storefront-item-price button{font-size:12px;white-space:nowrap}
.storefront-visibility{grid-column:2;grid-row:1;display:flex;align-items:center;gap:5px;font-size:12px;color:#536e5c}
.storefront-visibility input{flex:none;width:21px;height:21px;accent-color:#12543f}
.product-body button:disabled{opacity:.48;cursor:not-allowed}
@media(max-width:430px){.storefront-item{grid-template-columns:1fr}.storefront-visibility{grid-column:1;grid-row:auto}.storefront-item-price{flex-wrap:wrap}}

/* SKLAD 2.2: order state highlights and automatic in-app order counter */
#mobile-nav button[data-view="orders"]{position:relative}
#mobile-nav .nav-order-count{position:absolute;top:-7px;right:7px;min-width:24px;height:21px;padding:3px 6px;border-radius:999px;background:#1970cf;color:#fff;font-weight:800;font-size:11px;line-height:15px;box-shadow:0 3px 9px #1d5ea14a;z-index:1}
#mobile-nav .nav-order-count[hidden]{display:none!important}
.seller-new-count{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;min-width:29px;border-radius:999px;background:#176bc0;color:#fff;font:750 12px sans-serif;padding:5px 8px;margin-left:5px}
.seller-new-count[hidden]{display:none!important}
.seller-orders-summary{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 16px}
.seller-summary-chip{display:inline-flex;align-items:center;gap:6px;border-radius:999px;border:1px solid transparent;padding:7px 11px;font-size:12px;font-weight:650}
.seller-summary-chip b{font-variant-numeric:tabular-nums;font-size:14px}
.seller-summary-chip.order-blue{background:#e9f2ff;border-color:#bfd8f8;color:#1664ab}
.seller-summary-chip.order-green{background:#e5f4ea;border-color:#bde2c6;color:#207f47}
.seller-summary-chip.order-red{background:#fff0ed;border-color:#f4c9c3;color:#b64846}
.seller-order-card{border-left:5px solid #d6ded7}
.seller-order-card.order-blue{background:#f2f7ff;border-left-color:#2b79d7}
.seller-order-card.order-green{background:#effaf2;border-left-color:#2a9b5e}
.seller-order-card.order-red{background:#fff3f1;border-left-color:#d65250}
.p-badge.order-blue{background:#dcecff;color:#185fae}
.p-badge.order-green{background:#ddf3e2;color:#257e45}
.p-badge.order-red{background:#ffe0df;color:#b13d3f}
@media(max-width:380px){#mobile-nav .nav-order-count{right:0}}

/* SKLAD 2.3: in-app notifications */
.sk-bell{position:relative;display:inline-grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #d6e4d9;border-radius:50%;background:#fff;color:#154f3d;font-size:24px;line-height:1}.sk-bell-count{position:absolute;top:-6px;right:-6px;background:#216fc5;color:#fff;border-radius:99px;min-width:20px;padding:3px 5px;font:750 11px sans-serif;text-align:center}.sk-bell-count[hidden]{display:none!important}
#sk-notify-float{position:fixed;right:15px;top:calc(13px + env(safe-area-inset-top,0px));z-index:50}#sk-notify-float[hidden]{display:none!important}#sk-notify-panel{position:fixed;inset:0;z-index:130}#sk-notify-panel[hidden]{display:none!important}.sk-notify-shade{position:absolute;inset:0;background:#12261bcc}.sk-notify-sheet{position:absolute;right:0;top:0;bottom:0;width:min(100%,440px);background:#f7f3eb;display:flex;flex-direction:column;padding:calc(20px + env(safe-area-inset-top,0px)) 16px calc(15px + env(safe-area-inset-bottom,0px));box-shadow:-5px 0 35px #101d1430}.sk-notify-sheet header,.sk-notify-tools{display:flex;align-items:center;justify-content:space-between;gap:10px}.sk-notify-sheet header{padding:8px 4px 15px;color:#194b39;font-size:21px}.sk-notify-sheet header button{background:#e8eee8;color:#22543e;padding:9px 13px}.sk-notify-tools{border-top:1px solid #dce4dd;border-bottom:1px solid #dce4dd;padding:12px 2px;color:#65796d;font-size:13px}.sk-notify-tools button{background:transparent;color:#17614a;font-size:12px;padding:7px}.sk-notify-tools button:disabled{opacity:.45}.sk-notify-list{flex:1;overflow:auto;padding:10px 0}.sk-note{width:100%;display:flex;gap:10px;align-items:center;text-align:left;background:white;border:1px solid #e0e6df;border-left:4px solid #2376c2;border-radius:14px;padding:14px 11px;margin-bottom:9px;color:#273b30}.sk-note.green{border-left-color:#2b9763}.sk-note.red{border-left-color:#c95b5b}.sk-note.sk-read{opacity:.66}.sk-note-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#eef4f8;color:#1e609a;font-size:19px;flex:none}.sk-note.green .sk-note-icon{background:#e8f5ec;color:#328754}.sk-note.red .sk-note-icon{background:#ffeded;color:#b44b4b}.sk-note-copy{flex:1;min-width:0;display:grid;gap:5px}.sk-note-copy b{font-size:13px}.sk-note-copy small{font-size:12px;line-height:1.4;color:#5c7165}.sk-note-copy time{font-size:10px;color:#839087}.sk-unread-dot{width:8px;height:8px;border-radius:50%;background:#2076c8;flex:none}.customer-top .sk-bell{width:39px;height:39px}.customer-top .sk-bell-count{font-size:10px}

/* SKLAD 2.3.1 notification polish */
.sk-bell{font-size:0!important;display:inline-flex!important;align-items:center;justify-content:center;}
.sk-bell svg,.sk-notify-sheet header svg{vertical-align:middle;flex:none;}
.sk-invite-count{display:inline-flex;justify-content:center;align-items:center;background:#2371c8;color:#fff;min-width:22px;padding:3px 6px;border-radius:30px;font-size:11px;font-weight:700;margin-inline:5px;}
.sk-invite-count[hidden]{display:none!important;}
.sk-sound-btn{background:#e7efe7!important;color:#185d47!important;font-size:11px!important;border-radius:9px;padding:8px!important;white-space:nowrap;}
.sk-notify-tools{flex-wrap:wrap;}
.sk-notify-sheet header strong{display:inline-flex;align-items:center;gap:8px;}
