:root{--ink:#172238;--muted:#6c7890;--line:#dce5f3;--blue:#3869dc;--blue2:#6e96f0;--soft:#f4f7fc;--white:#fff;--green:#2a9b76;--orange:#e99443;--shadow:0 24px 70px rgba(33,56,103,.14)}
*{box-sizing:border-box}html{min-height:100%;background:#edf3ff}body{margin:0;min-height:100vh;color:var(--ink);font-family:Manrope,system-ui,sans-serif;background:radial-gradient(circle at 8% 6%,rgba(115,157,246,.24),transparent 34%),linear-gradient(135deg,#f8faff 0%,#edf3ff 58%,#f8faff 100%)}button,input{font:inherit}button{cursor:pointer}.portal-loading{min-height:100vh;display:grid;place-items:center}.portal-loader{display:grid;justify-items:center;gap:10px}.portal-loader i{width:44px;height:44px;border:5px solid #dbe6fb;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite}.portal-loader strong{font:700 24px Geologica}.portal-loader span{color:var(--muted)}@keyframes spin{to{transform:rotate(360deg)}}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(360px,560px) minmax(380px,1fr);padding:24px}.auth-panel{position:relative;z-index:2;display:flex;flex-direction:column;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.9);border-radius:30px;box-shadow:var(--shadow);padding:34px 48px}.portal-brand{display:flex;align-items:center;gap:14px;color:var(--ink);text-decoration:none}.portal-brand-mark{position:relative;width:38px;height:38px;transform:rotate(-28deg)}.portal-brand-mark:before,.portal-brand-mark:after{content:"";position:absolute;border-radius:7px;background:linear-gradient(145deg,var(--blue),#86abf6);box-shadow:0 8px 18px rgba(56,105,220,.24)}.portal-brand-mark:before{width:30px;height:15px;left:2px;top:3px}.portal-brand-mark:after{width:15px;height:30px;left:2px;top:3px}.portal-brand strong{display:block;font:700 22px Geologica;letter-spacing:.04em}.portal-brand small{display:block;color:#8b96a9;font-size:10px;letter-spacing:.18em;text-transform:uppercase}.auth-copy{margin:auto 0;max-width:430px}.auth-copy>span,.portal-kicker{display:block;color:var(--blue);font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.auth-copy h1{margin:13px 0 12px;font:700 clamp(32px,4vw,52px)/1.02 Geologica;letter-spacing:-.045em}.auth-copy>p{margin:0 0 28px;color:var(--muted);line-height:1.65}.auth-form{display:grid;gap:15px}.auth-form label{display:grid;gap:7px;color:#46536a;font-size:13px;font-weight:600}.auth-form input{width:100%;border:1px solid var(--line);border-radius:14px;background:#fbfcff;padding:14px 16px;outline:none;transition:.2s}.auth-form input:focus{border-color:#89aaf1;box-shadow:0 0 0 4px rgba(56,105,220,.1);background:#fff}.portal-primary{border:0;border-radius:14px;padding:15px 20px;color:#fff;font-weight:700;background:linear-gradient(135deg,var(--blue),#4f7ce4);box-shadow:0 12px 22px rgba(56,105,220,.22)}.portal-primary:disabled{opacity:.55;cursor:wait}.auth-switch{margin-top:16px;color:var(--muted);font-size:13px}.auth-switch button{border:0;background:none;color:var(--blue);font-weight:700;padding:0}.auth-note{display:flex;gap:9px;align-items:center;color:#718099;font-size:12px}.auth-note i{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(42,155,118,.1)}.auth-visual{position:relative;overflow:hidden;margin-left:-24px;border-radius:0 30px 30px 0;background:linear-gradient(145deg,#23468d 0%,#3b6bd0 50%,#8eb1f7 100%);padding:70px;color:#fff}.auth-visual:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,transparent,black 25%,black 70%,transparent)}.auth-visual-copy{position:relative;max-width:560px;margin-top:18vh}.auth-visual h2{margin:14px 0;font:600 clamp(34px,4vw,60px)/1.03 Geologica;letter-spacing:-.04em}.auth-visual p{max-width:470px;color:rgba(255,255,255,.78);font-size:16px;line-height:1.7}.route-card{position:relative;margin-top:45px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.route-card span{padding:16px 13px;border:1px solid rgba(255,255,255,.22);border-radius:15px;background:rgba(255,255,255,.1);backdrop-filter:blur(10px)}.route-card i{display:block;font-style:normal;color:#bad0ff;font-size:11px}.route-card b{display:block;margin-top:5px;font-size:13px}
.portal-shell{min-height:100vh}.portal-topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 max(26px,calc((100vw - 1320px)/2));background:rgba(255,255,255,.9);border-bottom:1px solid var(--line);backdrop-filter:blur(16px);position:sticky;top:0;z-index:5}.portal-user{display:flex;align-items:center;gap:12px}.portal-user span{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;color:#fff;font-weight:700;background:linear-gradient(145deg,var(--blue),var(--blue2))}.portal-user strong,.portal-user small{display:block}.portal-user small{color:var(--muted);font-size:11px;margin-top:2px}.portal-logout{border:1px solid var(--line);border-radius:12px;background:#fff;color:#536079;padding:10px 14px}.portal-content{max-width:1320px;margin:0 auto;padding:38px 26px 70px}.portal-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:26px}.portal-hero h1{margin:8px 0 4px;font:700 clamp(30px,4vw,46px) Geologica;letter-spacing:-.035em}.portal-hero p{margin:0;color:var(--muted)}.portal-status{display:flex;align-items:center;gap:8px;color:var(--green);font-size:13px;font-weight:700}.portal-status i{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(42,155,118,.12)}.portal-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.portal-kpis article,.portal-card{background:rgba(255,255,255,.93);border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 30px rgba(50,74,120,.07)}.portal-kpis article{padding:20px}.portal-kpis small{color:var(--muted)}.portal-kpis strong{display:block;margin-top:8px;font:700 28px Geologica}.portal-kpis em{font:600 13px Manrope;color:var(--muted);font-style:normal}.portal-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:22px}.portal-card{overflow:hidden}.portal-card header{display:flex;align-items:center;justify-content:space-between;padding:21px 23px;border-bottom:1px solid var(--line)}.portal-card h2{margin:4px 0 0;font:600 20px Geologica}.portal-card header span{color:var(--muted);font-size:12px}.portal-table{width:100%;border-collapse:collapse}.portal-table th{padding:12px 18px;background:#f7f9fd;color:#8490a5;font-size:10px;text-transform:uppercase;letter-spacing:.08em;text-align:left}.portal-table td{padding:15px 18px;border-top:1px solid #edf1f7;font-size:13px}.portal-table td strong,.portal-table td small{display:block}.portal-table td small{color:var(--muted);margin-top:3px}.portal-empty{padding:42px 24px;text-align:center;color:var(--muted)}.portal-empty strong{display:block;color:var(--ink);font:600 18px Geologica;margin-bottom:6px}.portal-timeline{padding:8px 22px}.portal-timeline article{display:grid;grid-template-columns:12px 1fr auto;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #edf1f7}.portal-timeline article:last-child{border-bottom:0}.portal-timeline i{width:9px;height:9px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 5px rgba(56,105,220,.1)}.portal-timeline strong,.portal-timeline small{display:block}.portal-timeline small{color:var(--muted);font-size:11px;margin-top:3px}.portal-timeline b{font-size:12px;color:#536079}.portal-toast{position:fixed;right:22px;bottom:22px;z-index:20;max-width:360px;padding:14px 17px;border-radius:14px;color:#fff;background:#273650;box-shadow:var(--shadow);font-size:13px}
@media(max-width:900px){.auth-shell{display:block;padding:12px}.auth-panel{min-height:calc(100vh - 24px);padding:26px;border-radius:24px}.auth-visual{display:none}.portal-kpis{grid-template-columns:repeat(2,1fr)}.portal-grid{grid-template-columns:1fr}.portal-hero{display:block}.portal-status{margin-top:15px}.portal-user div{display:none}.portal-table{min-width:650px}.portal-card{overflow:auto}}@media(max-width:520px){.portal-kpis{grid-template-columns:1fr 1fr}.portal-content{padding:25px 14px 50px}.portal-topbar{padding:0 14px}.auth-panel{padding:24px}.auth-copy h1{font-size:34px}}

/* Client portal readability standard */
body{font-size:16px;line-height:1.5}.auth-copy>p,.auth-switch,.portal-hero p,.portal-empty,.portal-card{font-size:15px}.auth-copy>span,.portal-kicker{font-size:12px}.auth-form label{font-size:15px}.auth-form input,.portal-primary,.portal-logout{min-height:48px;font-size:15px}.auth-note{font-size:14px}.portal-brand small,.portal-user small,.portal-timeline small{font-size:12px}.portal-kpis small,.portal-card header span{font-size:13px}.portal-table th{font-size:12px}.portal-table td{font-size:14px;line-height:1.45}.portal-table td small{font-size:12px}.portal-timeline b{font-size:13px}

.wb-connect-band{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:20px;align-items:center;margin:0 0 22px;padding:22px 24px;border:1px solid #c9d8fb;border-radius:22px;color:#fff;background:linear-gradient(115deg,#31125f 0%,#6237a7 44%,#8757d0 100%);box-shadow:0 16px 36px rgba(79,44,139,.2);overflow:hidden}.wb-connect-band:after{content:"";position:absolute;width:260px;height:260px;right:-80px;top:-150px;border:1px solid rgba(255,255,255,.15);border-radius:50%}.wb-connect-band.connected{background:linear-gradient(115deg,#173f43,#236f6d 52%,#49a28e)}.wb-connect-mark{width:60px;height:60px;display:grid;place-items:center;border-radius:18px;background:rgba(255,255,255,.16);font:800 29px Geologica;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}.wb-connect-band>div{position:relative;z-index:1}.wb-connect-band>div>span{font-size:12px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#e6d9ff}.wb-connect-band.connected>div>span{color:#c8f3e9}.wb-connect-band h2{margin:4px 0 3px;font:650 22px Geologica}.wb-connect-band p{margin:0;max-width:760px;color:rgba(255,255,255,.78);font-size:14px}.wb-access{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.wb-access b{padding:6px 9px;border-radius:8px;background:rgba(255,255,255,.11);font-size:11px}.wb-access b.ok{background:rgba(151,255,219,.18);color:#d6fff1}.wb-connect-band>.portal-primary,.wb-connect-actions{position:relative;z-index:1}.wb-connect-actions{display:grid;gap:8px}.portal-light{min-height:40px;border:1px solid rgba(255,255,255,.35);border-radius:12px;color:#fff;background:transparent;font-weight:700}.portal-modal{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:20px;background:rgba(15,24,44,.52);backdrop-filter:blur(7px)}.portal-modal[hidden]{display:none}.portal-modal>section{position:relative;width:min(680px,calc(100vw - 28px));max-height:calc(100vh - 40px);overflow:auto;padding:30px;border-radius:24px;background:#fff;box-shadow:0 30px 100px rgba(13,28,58,.3)}.portal-modal h2{margin:6px 0 10px;font:700 26px Geologica}.portal-modal p{color:var(--muted);line-height:1.6}.portal-modal-close{position:absolute;right:15px;top:15px;width:38px;height:38px;border:0;border-radius:12px;background:#f1f4f9;font-size:20px}.portal-modal form{display:grid;gap:15px}.portal-modal label{display:grid;gap:7px;color:#46536a;font-weight:700}.portal-modal input{min-height:50px;padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:#fafcff;font-size:15px;outline:none}.portal-modal input:focus{border-color:#82a3ef;box-shadow:0 0 0 4px rgba(56,105,220,.1)}.wb-token-note{display:grid;padding:13px 15px;border:1px solid #d7e9e3;border-radius:13px;background:#f4fbf8}.wb-token-note b{color:#22755e}.wb-token-note span{margin-top:3px;color:#698178;font-size:13px}.wb-preview-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:18px 0}.wb-preview-counts span{padding:12px;border:1px solid var(--line);border-radius:13px;color:var(--muted);font-size:12px}.wb-preview-counts b{display:block;color:var(--ink);font:700 24px Geologica}.wb-client-preview{display:grid;gap:7px;max-height:340px;overflow:auto}.wb-client-preview article{display:grid;grid-template-columns:44px 1fr auto;gap:11px;align-items:center;padding:9px;border:1px solid #e4e9f2;border-radius:12px}.wb-client-preview article>span{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#f0eaff;color:#7244b8;font-weight:800;overflow:hidden}.wb-client-preview img{width:100%;height:100%;object-fit:cover}.wb-client-preview strong,.wb-client-preview small{display:block}.wb-client-preview small{margin-top:2px;color:var(--muted);font-size:12px}.wb-client-preview article>b{font-size:11px;text-transform:uppercase;color:#66738a}
.wb-selection-tools{display:flex;justify-content:space-between;gap:14px;align-items:end;margin:16px 0 12px}.wb-selection-tools label{display:grid;gap:6px;flex:1}.wb-selection-tools label span{font-size:12px;font-weight:750;color:#536078}.wb-selection-tools input{width:100%;min-height:44px;padding:10px 13px;border:1px solid var(--line);border-radius:12px;font-size:14px}.wb-selection-tools>div{display:flex;gap:7px}.portal-mini{min-height:40px;padding:8px 12px;border:1px solid #cbd7ed;border-radius:10px;background:#fff;color:#31538c;font-weight:750}.wb-select-list{max-height:430px}.wb-select-item{display:grid;grid-template-columns:24px 48px minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px;border:1px solid #dfe6f2;border-radius:13px;cursor:pointer;background:#fff;transition:.15s}.wb-select-item:hover{border-color:#9ab5ee;background:#f8faff}.wb-select-item:has(input:checked){border-color:#4775df;background:#f0f5ff;box-shadow:inset 3px 0 #4775df}.wb-select-item.blocked{cursor:not-allowed;opacity:.62;background:#f6f7f9}.wb-select-item input{width:19px;height:19px;accent-color:#3965da}.wb-select-photo{width:46px;height:46px;display:grid;place-items:center;border-radius:11px;background:#f0eaff;color:#7244b8;font-weight:800;overflow:hidden}.wb-select-photo img{width:100%;height:100%;object-fit:cover}.wb-select-copy{min-width:0}.wb-select-copy strong,.wb-select-copy small,.wb-select-copy em{display:block}.wb-select-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wb-select-copy small{margin-top:3px;color:var(--muted);font-size:12px}.wb-select-copy em{margin-top:4px;color:#b24c4c;font-size:11px;font-style:normal}.wb-select-item>b{font-size:11px;text-transform:uppercase;color:#66738a}.wb-selection-footer{position:sticky;bottom:-30px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin:14px -30px -10px;padding:14px 30px 20px;background:linear-gradient(180deg,rgba(255,255,255,.86),#fff 25%);border-top:1px solid #e4eaf3}.wb-selection-footer>span{font-size:15px;color:#536078}.wb-selection-footer>span b{font-size:22px;color:var(--ink)}.wb-after-note{font-size:13px!important}
@media(max-width:760px){.wb-connect-band{grid-template-columns:52px 1fr;padding:18px}.wb-connect-mark{width:50px;height:50px}.wb-connect-band>.portal-primary,.wb-connect-actions{grid-column:1/-1;width:100%}.wb-connect-actions .portal-light{width:100%}.wb-preview-counts{grid-template-columns:repeat(2,1fr)}.wb-selection-tools{display:grid}.wb-selection-tools>div{display:grid;grid-template-columns:1fr 1fr}.wb-select-item{grid-template-columns:22px 44px minmax(0,1fr)}.wb-select-item>b{grid-column:3}.wb-selection-footer{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px;align-items:stretch;flex-direction:column}.wb-selection-footer .portal-primary{width:100%}}
.wb-access b.pending{background:rgba(255,217,140,.2);color:#fff1c7}
.portal-modal>section{width:min(920px,calc(100vw - 28px))}
.client-inbound{margin:0 0 22px;padding:24px;border:1px solid #cddaf3;border-radius:22px;background:linear-gradient(135deg,#fff,#f4f8ff);box-shadow:0 12px 34px rgba(50,74,120,.08)}.client-inbound>header{display:flex;align-items:center;justify-content:space-between;gap:20px}.client-inbound h2{margin:4px 0;font:650 24px Geologica}.client-inbound header p{margin:0;color:var(--muted)}.inbound-route{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:12px;align-items:center;margin-top:20px}.inbound-route span{display:flex;gap:10px;align-items:center;padding:14px;border:1px solid #dce5f5;border-radius:14px;background:#fff;font-weight:700}.inbound-route b{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;color:#fff;background:var(--blue)}.inbound-route i{color:#9aa9c1}.client-inbound-list{display:grid;gap:10px;margin-top:18px}.client-inbound-list article{display:grid;grid-template-columns:1fr auto auto auto;gap:12px;align-items:center;padding:14px 16px;border:1px solid #dce5f2;border-radius:14px;background:#fff}.client-inbound-list strong,.client-inbound-list small{display:block}.client-inbound-list small{margin-top:3px;color:var(--muted)}.client-inbound-list article>span{padding:6px 9px;border-radius:9px;background:#fff2d6;color:#8d6112;font-size:12px;font-weight:800}.client-inbound-list article.approved>span{background:#ddf6eb;color:#187156}.client-inbound-list article.rejected>span{background:#ffe6e1;color:#a43f34}.client-inbound-list article>p{grid-column:1/-1;margin:0;padding:9px 12px;border-radius:10px;background:#f6f8fc;color:#536079}.client-inbound-list article>button{border:0;background:transparent;color:#a04d4d}.inbound-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.portal-modal select,.portal-modal textarea{width:100%;min-height:50px;padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:#fafcff;font:15px Manrope}.inbound-products{display:grid;gap:7px;max-height:330px;overflow:auto}.portal-modal .inbound-products>label{grid-template-columns:22px 1fr 90px;align-items:center;padding:11px;border:1px solid #e0e6f1;border-radius:13px}.inbound-products>label:has(input:checked){border-color:#6d90e4;background:#f3f7ff}.inbound-products input[type=checkbox]{width:18px;height:18px;min-height:0}.inbound-products strong,.inbound-products small{display:block}.inbound-products small{color:var(--muted);font-size:12px}.inbound-products input[type=number]{min-height:42px}
@media(max-width:700px){.client-inbound>header{align-items:stretch;flex-direction:column}.inbound-route{grid-template-columns:1fr}.inbound-route i{display:none}.client-inbound-list article{grid-template-columns:1fr}.inbound-form-grid{grid-template-columns:1fr}.portal-modal .inbound-products>label{grid-template-columns:22px 1fr}.inbound-products input[type=number]{grid-column:2}}

/* Отмена поставки: заметное действие и отдельная спокойная история. */
.client-inbound-list article>button{min-height:38px;padding:8px 12px;border:1px solid #efcaca;border-radius:10px;background:#fff7f7;color:#9b3f3f;font-weight:750;cursor:pointer}.client-inbound-list article>button:hover{background:#ffeded}.client-inbound-list article>button:disabled{cursor:wait;opacity:.6}.cancelled-inbound-history{margin-top:16px;border-top:1px solid #dce5f2;padding-top:14px}.cancelled-inbound-history summary{width:max-content;color:#667590;font-size:14px;font-weight:750;cursor:pointer}.cancelled-inbound-history .client-inbound-list article{background:#f8faff;opacity:.82}.cancelled-inbound-history .client-inbound-list article>span{background:#e9eef7;color:#667590}
.client-product-photo{float:left;width:58px;height:58px;margin:0 12px 4px 0;padding:0;border:1px solid #cedaf0;border-radius:13px;overflow:hidden;background:#eff4ff;color:#3965da;font-size:25px}.client-product-photo img{width:100%;height:100%;object-fit:cover}.product-photo-preview{height:320px;display:grid;place-items:center;margin:10px 0 16px;border:1px dashed #b9c8e3;border-radius:18px;overflow:hidden;background:#f5f8fd;color:var(--muted)}.product-photo-preview img{width:100%;height:100%;object-fit:contain}.product-photo-picker{padding:15px;border:1px solid #d9e2f1;border-radius:14px;background:#f8faff}.product-photo-picker input{min-height:0!important;padding:0!important;border:0!important;background:transparent!important}.product-photo-picker span,.product-photo-picker small{display:block}.product-photo-picker small{color:var(--muted);font-size:12px}
/* KIZ traceability: the dark rail mirrors a physical Data Matrix journey. */
.client-kiz-vault{margin:24px 0;border:1px solid #cbd8f4;border-radius:25px;background:linear-gradient(135deg,#f9fbff 0%,#edf3ff 60%,#f7f1ff 100%);box-shadow:0 18px 50px rgba(46,78,145,.09);padding:26px}.client-kiz-vault>header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.client-kiz-vault h2{margin:5px 0 7px;color:#17233d;font-size:28px}.client-kiz-vault header p{max-width:700px;margin:0;color:#687791;font-size:16px;line-height:1.5}.kiz-status-rail{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:12px;margin:22px 0;border-radius:19px;background:#182642;padding:15px;color:#fff}.kiz-status-rail>span{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px}.kiz-status-rail i{display:grid;width:34px;height:34px;place-items:center;border-radius:11px;background:#315bd1;font-style:normal;font-weight:800}.kiz-status-rail small{color:#aebbd3;font-size:12px}.kiz-status-rail strong{font-size:24px}.kiz-status-rail>b{color:#6f80a0}.kiz-status-rail .stock i{background:#13896d}.kiz-status-rail .wb i{background:#8137bd}.kiz-status-rail .shipped i{background:#d87526}.kiz-product-grid{display:grid;gap:9px}.kiz-product-grid article{display:grid;grid-template-columns:auto minmax(220px,1fr) 130px 110px auto;align-items:center;gap:15px;border:1px solid #dbe4f4;border-radius:16px;background:rgba(255,255,255,.86);padding:13px 15px}.kiz-product-mark{display:grid;width:46px;height:46px;place-items:center;border-radius:12px;background:repeating-conic-gradient(#16233e 0 25%,#fff 0 50%) 50%/8px 8px;border:5px solid #fff;box-shadow:0 0 0 1px #cbd5e6;color:transparent}.kiz-product-grid article>div strong,.kiz-product-grid article>div small,.kiz-product-grid article>span small,.kiz-product-grid article>span b{display:block}.kiz-product-grid article small{color:#728099}.kiz-product-grid article>span b{margin-top:2px;color:#1a2945;font-size:20px}.kiz-product-grid button{border:0;border-radius:10px;background:#e8efff;color:#2454c5;padding:10px 13px;font-weight:800;cursor:pointer}.kiz-upload-history{margin-top:14px;border-top:1px solid #d7e1f2;padding-top:13px}.kiz-upload-history summary{color:#40506c;font-weight:800;cursor:pointer}.kiz-upload-history>div{display:grid;grid-template-columns:1fr auto 170px;gap:12px;padding:10px 4px;border-bottom:1px solid #e1e7f1}.kiz-upload-history strong,.kiz-upload-history small{display:block}.kiz-upload-history small,.kiz-upload-history em{color:#738198;font-size:12px}.kiz-upload-history b{color:#13896d}.kiz-file-drop{display:grid!important;gap:5px!important;border:1px dashed #9fb4df!important;border-radius:14px!important;background:#f2f6ff!important;padding:15px!important;cursor:pointer}.kiz-file-drop input{min-height:0!important;padding:0!important;border:0!important;background:transparent!important}.kiz-file-drop span{font-weight:800}.kiz-file-drop small{color:#72809a}.kiz-safety-note{display:flex;gap:10px;border-radius:13px;background:#fff5dd;padding:13px;color:#77501d}.kiz-safety-note b{white-space:nowrap}
@media(max-width:800px){.client-kiz-vault{padding:18px}.client-kiz-vault>header{display:grid}.kiz-status-rail{grid-template-columns:1fr 1fr}.kiz-status-rail>b{display:none}.kiz-status-rail>span{grid-template-columns:30px 1fr auto}.kiz-product-grid article{grid-template-columns:auto 1fr}.kiz-product-grid article>span,.kiz-product-grid article>button{grid-column:2}.kiz-upload-history>div{grid-template-columns:1fr auto}.kiz-upload-history em{grid-column:1/-1}}

/* Client-owned measurement and sales recipes. */
.inbound-unit-head{display:grid;grid-template-columns:minmax(0,1fr) 100px 170px;gap:10px;padding:0 12px;color:#7b879d;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.inbound-unit-head span:first-child{padding-left:30px}.portal-modal .inbound-products>label{grid-template-columns:22px minmax(190px,1fr) 100px 170px}.inbound-products input[type=number],.inbound-products select{min-height:44px}.inbound-unit-note{margin:0!important;padding:12px 14px;border-radius:13px;background:#fff7e7;color:#6d572f!important;font-size:13px!important}.inbound-unit-note b{color:#61450f}
.client-composition-button{display:grid;gap:2px;min-width:175px;padding:10px 12px;border:1px solid #cbd8ef;border-radius:12px;background:#f5f8ff;color:#3158b4;text-align:left;cursor:pointer}.client-composition-button strong,.client-composition-button small{display:block}.client-composition-button strong{font-size:13px}.client-composition-button small{max-width:220px;overflow:hidden;color:#6f7d95;text-overflow:ellipsis;white-space:nowrap}.client-composition-button.configured{border-color:#afdccc;background:#effaf5;color:#197358}.client-composition-equation{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;margin:18px 0;padding:17px;border-radius:18px;background:#172540;color:#fff}.client-composition-equation span small,.client-composition-equation span strong{display:block}.client-composition-equation small{color:#afbdd4}.client-composition-equation strong{margin-top:4px}.client-composition-equation>b{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#4775df}.client-component-list{display:grid;gap:8px;max-height:390px;overflow:auto}.client-component-list>label{display:grid;grid-template-columns:22px 48px minmax(180px,1fr) 95px;align-items:center;gap:11px;padding:10px 12px;border:1px solid #dfe6f1;border-radius:14px;background:#fff}.client-component-list>label.selected{border-color:#6589df;background:#f2f6ff;box-shadow:inset 3px 0 #4775df}.client-component-list input[type=checkbox]{width:19px;height:19px;min-height:0;accent-color:#3869dc}.client-component-photo{display:grid;width:46px;height:46px;place-items:center;overflow:hidden;border-radius:11px;background:#edf2fb;color:#6d7b94}.client-component-photo img{width:100%;height:100%;object-fit:cover}.client-component-list strong,.client-component-list small{display:block}.client-component-list small{color:#72809a;font-size:12px}.client-component-list input[type=number]{min-height:42px}.client-composition-footer{position:sticky;bottom:-30px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px -30px -8px;padding:14px 30px 22px;border-top:1px solid #e2e8f2;background:linear-gradient(180deg,rgba(255,255,255,.88),#fff 28%)}.client-composition-footer>span{color:#5d6c84;font-weight:750}.client-composition-note{margin:12px 0 0!important;padding:12px 14px;border-radius:13px;background:#eef8f4;color:#456b5f!important;font-size:13px!important}
@media(max-width:700px){.inbound-unit-head{display:none}.portal-modal .inbound-products>label{grid-template-columns:22px 1fr 86px}.inbound-products select{grid-column:2/-1}.inbound-products input[type=number]{grid-column:3}}
@media(max-width:650px){.client-composition-equation{grid-template-columns:1fr}.client-composition-equation>b{transform:rotate(90deg)}.client-component-list>label{grid-template-columns:22px 42px 1fr}.client-component-list>label>input[type=number]{grid-column:3}.client-composition-footer{align-items:stretch;flex-direction:column;margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}.client-composition-footer .portal-primary{width:100%}}

/* Several seller cabinets, one physical stock pool. */
.wb-accounts{margin:0 0 22px;padding:24px;border:1px solid #cbd9f2;border-radius:24px;background:linear-gradient(135deg,#fff,#f2f6ff);box-shadow:0 15px 40px rgba(48,76,132,.09)}.wb-accounts>header{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:17px}.wb-accounts>header h2{margin:4px 0 2px;font:700 25px Geologica}.wb-accounts>header p{margin:0;color:var(--muted)}.wb-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wb-account-card{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:15px;min-height:138px;padding:17px;border:1px solid #d6e0f0;border-radius:18px;color:#fff;background:linear-gradient(115deg,#173f43,#277873 62%,#439987)}.wb-account-card.reconnect{background:linear-gradient(115deg,#41216c,#7546b8)}.wb-account-card .wb-connect-mark{width:52px;height:52px;border-radius:15px;font-size:25px}.wb-account-copy{min-width:0}.wb-account-copy>small{display:block;color:rgba(255,255,255,.72);font-size:12px;font-weight:750}.wb-account-copy h3{margin:4px 0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 19px Geologica}.wb-account-card .wb-access{margin:0}.wb-account-card .wb-connect-actions{min-width:150px}.wb-account-card button{min-height:44px;padding:9px 12px}.wb-account-card .portal-primary{background:#fff;color:#2858c4;box-shadow:none}.wb-pool-note{margin:16px 0 0;padding:12px 14px;border-radius:13px;background:#eaf1ff;color:#536583;font-size:14px}.wb-pool-note b{color:#254c9f}.wb-cabinet-tag{display:inline-flex;margin-left:6px;padding:2px 7px;border-radius:7px;background:#eee7ff;color:#6840a0;font-size:11px;font-weight:800;vertical-align:middle}
@media(max-width:1050px){.wb-account-grid{grid-template-columns:1fr}}@media(max-width:700px){.wb-accounts{padding:18px}.wb-accounts>header{align-items:stretch;flex-direction:column}.wb-accounts>header .portal-primary{width:100%}.wb-account-card{grid-template-columns:48px minmax(0,1fr)}.wb-account-card .wb-connect-actions{grid-column:1/-1;grid-template-columns:1fr 1fr}.wb-account-card .wb-connect-actions button{width:100%}}

/* Physical stock cards stay visually distinct from marketplace sales offers. */
.client-catalog-model{margin:0 0 22px;padding:24px;border:1px solid #c9d8f2;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(50,74,120,.07)}
.client-catalog-model>header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.client-catalog-model h2{margin:4px 0;font:650 24px Geologica;color:#17233d}
.client-catalog-model header p{margin:0;max-width:720px;color:#65738b}
.catalog-model-flow{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center;margin-top:20px}
.catalog-model-flow>article{display:grid;grid-template-columns:52px 1fr;gap:14px;align-items:center;min-height:104px;padding:17px;border:1px solid #dce5f4;border-radius:17px;background:#f8faff}
.catalog-model-flow>article>span{display:grid;width:48px;height:48px;place-items:center;border-radius:14px;background:#dfe9ff;color:#2b5dcc;font-weight:850}
.catalog-model-flow>article.offer>span{background:#eee7ff;color:#7040b8}
.catalog-model-flow small,.catalog-model-flow strong,.catalog-model-flow p{display:block}
.catalog-model-flow small{color:#73819a;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.catalog-model-flow strong{margin-top:2px;color:#17233d;font-size:18px}
.catalog-model-flow p{margin:3px 0 0;color:#68768d;font-size:13px}
.catalog-model-flow>b{color:#8ca0c4;font-size:22px}
.physical-catalog-list{margin-top:18px;border:1px solid #dce5f4;border-radius:18px;background:#f8faff;overflow:hidden}.physical-catalog-list>header{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;border-bottom:1px solid #e1e8f4;background:#fff}.physical-catalog-list>header strong,.physical-catalog-list>header small{display:block}.physical-catalog-list>header strong{color:#17233d;font-size:17px}.physical-catalog-list>header small{margin-top:3px;color:#6f7d95;font-size:13px}.physical-catalog-list>header>b{display:grid;min-width:36px;height:36px;place-items:center;border-radius:11px;color:#fff;background:#3564dc}.physical-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.physical-catalog-grid article{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:82px;padding:11px;border:1px solid #dde5f1;border-radius:15px;background:#fff}.physical-catalog-grid article.just-created{border-color:#6c91ee;background:#f2f6ff;box-shadow:0 0 0 3px rgba(72,112,217,.11)}.physical-catalog-photo{display:grid;width:56px;height:56px;place-items:center;overflow:hidden;padding:0;border:1px solid #d5deed;border-radius:13px;color:#3e68d1;background:#f2f6ff;font-size:24px;font-weight:700;cursor:pointer}.physical-catalog-photo img{width:100%;height:100%;object-fit:contain}.physical-catalog-grid article>div{min-width:0}.physical-catalog-grid article>div span,.physical-catalog-grid article>div strong,.physical-catalog-grid article>div small{display:block}.physical-catalog-grid article>div span{color:#3a67d2;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.physical-catalog-grid article>div strong{margin-top:3px;overflow:hidden;color:#17233d;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.physical-catalog-grid article>div small{margin-top:3px;color:#6e7b92;font-size:12px;line-height:1.35}.physical-catalog-edit{min-height:38px!important;padding:8px 10px;border:1px solid #cbd8ee;border-radius:10px;color:#315bbb;background:#fff;font-size:12px;font-weight:750;cursor:pointer}.physical-catalog-empty{display:grid;gap:4px;padding:22px;text-align:center}.physical-catalog-empty strong{color:#26334c}.physical-catalog-empty span{color:#718098;font-size:13px}.warehouse-form-alert{margin-bottom:14px;padding:13px 15px;border:1px solid #f0bd9e;border-radius:13px;color:#8f461f;background:#fff5ee}.warehouse-form-alert b,.warehouse-form-alert span{display:block}.warehouse-form-alert span{margin-top:3px;font-size:13px}.field-invalid{padding:8px;border:2px solid #e48254!important;border-radius:12px;background:#fff8f3}
.inbound-empty-action{display:grid;grid-template-columns:1fr auto;gap:3px 20px;align-items:center;margin-top:18px;padding:16px 18px;border:1px dashed #aebfe1;border-radius:15px;background:#f7faff}
.inbound-empty-action strong{color:#1c2b47}.inbound-empty-action span{color:#68768e;font-size:14px}.inbound-empty-action button{grid-column:2;grid-row:1/3;min-height:44px;padding:10px 16px;border:1px solid #b7c9ec;border-radius:12px;background:#fff;color:#315bbb;font-weight:800;cursor:pointer}
.client-product-kind{display:inline-flex;margin:2px 8px 4px 0;padding:3px 7px;border-radius:7px;background:#e3f5ee;color:#17694f;font-size:10px;font-weight:850;letter-spacing:.05em}
.client-product-kind.marketplace_offer{background:#eee8ff;color:#6b3eaa}
.client-physical-status{min-width:175px;padding:10px 12px;border:1px solid #bfe0d3;border-radius:12px;background:#f1faf6}
.client-physical-status strong,.client-physical-status small,.client-physical-status em{display:block}.client-physical-status strong{color:#1e745b;font-size:13px}.client-physical-status small{margin-top:2px;color:#667b74;font-size:12px;line-height:1.4}.client-physical-status button{min-height:40px;margin-top:8px;padding:8px 11px;border:1px solid #a8d6c5;border-radius:9px;background:#fff;color:#176c52;font-weight:800;cursor:pointer}.client-physical-status em{margin-top:5px;color:#68778d;font-size:10px;font-style:normal}.client-composition-button em{display:block;margin-top:5px;color:#766d8e;font-size:10px;font-style:normal;line-height:1.35}
.warehouse-product-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.warehouse-product-form-grid label small{color:#718097;font-size:12px;font-weight:500}
.warehouse-product-rule{display:flex;gap:12px;padding:14px 16px;border-radius:14px;background:#eef5ff;color:#405a86}
.warehouse-product-rule b{flex:none;color:#214d9b}.warehouse-product-rule span{line-height:1.5}
.client-catalog-model button,.inbound-empty-action button,.client-composition-button{min-height:44px}
.client-product-actions{min-width:132px;display:grid;gap:5px}.client-product-actions button{min-height:44px;padding:9px 14px;border:1px solid #efb5b2;border-radius:11px;background:#fff7f6;color:#a4342f;font-weight:800;cursor:pointer;transition:background .18s ease,border-color .18s ease}.client-product-actions button:hover:not(:disabled){border-color:#dc716b;background:#fff0ee}.client-product-actions button:focus-visible{outline:3px solid rgba(218,70,61,.2);outline-offset:2px}.client-product-actions button:disabled{border-color:#dfe4ed;background:#f3f5f8;color:#8a94a6;cursor:not-allowed}.client-product-actions small{max-width:150px;color:#718097;font-size:11px;line-height:1.35}
.client-product-actions-inline{min-width:0;max-width:240px;margin-top:14px}.client-product-actions-inline button{width:100%;font-size:13px}.client-product-actions-inline small{max-width:none;font-size:12px}.portal-table td:first-child{min-width:280px;vertical-align:top}
.physical-dimensions{margin:16px 0;padding:17px;border:1px solid #cbd8ef;border-radius:16px;background:#f7faff}.physical-dimensions legend{padding:0 8px;color:#1c3159;font-size:15px;font-weight:850}.physical-dimensions>p{margin:0 0 13px;color:#61718c;line-height:1.5}.physical-dimensions>div{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.physical-dimensions label{display:grid;gap:6px;color:#263955;font-weight:750}.physical-dimensions input{width:100%;min-height:48px;padding:10px 12px;border:1px solid #cbd6e8;border-radius:11px;background:#fff;font:16px Manrope}.physical-dimensions>small{display:block;margin-top:12px;color:#35684f;font-size:12px;line-height:1.5}
@media(max-width:760px){.client-catalog-model>header{display:grid}.client-catalog-model>header .portal-primary{width:100%}.catalog-model-flow{grid-template-columns:1fr}.catalog-model-flow>b{justify-self:center;transform:rotate(90deg)}.physical-catalog-grid{grid-template-columns:1fr}.physical-catalog-grid article{grid-template-columns:52px minmax(0,1fr)}.physical-catalog-photo{width:50px;height:50px}.physical-catalog-edit{grid-column:2;justify-self:start}.warehouse-product-form-grid{grid-template-columns:1fr}.physical-dimensions>div{grid-template-columns:1fr 1fr}.inbound-empty-action{grid-template-columns:1fr}.inbound-empty-action button{grid-column:1;grid-row:auto;margin-top:10px}.client-catalog-model{padding:18px}}

/* Клиент видит полный состав и фактический ход каждой поставки. */
.client-inbound-list article{grid-template-columns:minmax(0,1fr) auto auto auto auto}
.client-inbound-list article>.inbound-view-button{min-height:40px;padding:8px 13px;border:1px solid #b9cbed;border-radius:10px;background:#f4f7ff;color:#2f59ba;font-weight:800;cursor:pointer}.client-inbound-list article>.inbound-view-button:hover{background:#eaf1ff}
.client-inbound-list article>.inbound-cancel-button{min-height:40px;padding:8px 12px;border:1px solid #efcaca;border-radius:10px;background:#fff7f7;color:#9b3f3f;font-weight:750;cursor:pointer}.client-inbound-list article>.inbound-cancel-button:hover{background:#ffeded}.client-inbound-list article>.inbound-cancel-button:disabled{cursor:wait;opacity:.6}
.inbound-detail-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.inbound-detail-summary>span{padding:13px 15px;border:1px solid #dfe6f2;border-radius:13px;background:#f8faff}.inbound-detail-summary small,.inbound-detail-summary strong{display:block}.inbound-detail-summary small{color:#718098;font-size:12px}.inbound-detail-summary strong{margin-top:3px;color:#1b2a46}
.inbound-detail-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-bottom:16px;overflow:hidden;border:1px solid #d8e2f2;border-radius:14px;background:#d8e2f2}.inbound-detail-progress>span{padding:12px 14px;background:#fff}.inbound-detail-progress small,.inbound-detail-progress b{display:block}.inbound-detail-progress small{color:#718098;font-size:11px}.inbound-detail-progress b{margin-top:3px;font-size:18px}.inbound-detail-progress .damaged,.inbound-detail-items .damaged{color:#c7652c}
.inbound-detail-items{overflow:hidden;border:1px solid #dbe4f2;border-radius:16px}.inbound-detail-items>header,.inbound-detail-items>article{display:grid;grid-template-columns:minmax(280px,1fr) 100px 80px 70px 90px;gap:10px;align-items:center}.inbound-detail-items>header{padding:10px 14px;color:#7e8aa0;background:#f5f8fc;font-size:11px;font-weight:800;text-transform:uppercase}.inbound-detail-items>article{position:relative;min-height:78px;padding:12px 14px 12px 82px;border-top:1px solid #e7ecf4}.inbound-detail-photo{position:absolute;left:14px;width:56px;height:56px;display:grid;place-items:center;overflow:hidden;border-radius:12px;color:#7c899e;background:#eef2f8;font-size:10px}.inbound-detail-photo img{width:100%;height:100%;object-fit:contain}.inbound-detail-copy{min-width:0}.inbound-detail-copy strong,.inbound-detail-copy small{display:block}.inbound-detail-copy small{margin-top:3px;color:#718098;font-size:11px}.inbound-detail-copy i{display:block;height:4px;margin-top:8px;overflow:hidden;border-radius:4px;background:#e5ebf4}.inbound-detail-copy i b{display:block;height:100%;background:#4775df}.inbound-detail-items>article>b{font-size:13px}.inbound-detail-note{display:grid;gap:3px;margin-top:12px;padding:12px 14px;border-radius:13px;background:#f5f7fb;color:#536079}.inbound-detail-note.manager{background:#edf5ff;color:#315586}.inbound-detail-note b{color:#233654}.inbound-detail-note span{white-space:pre-wrap}
@media(max-width:760px){.client-inbound-list article{grid-template-columns:1fr}.inbound-detail-summary,.inbound-detail-progress{grid-template-columns:1fr 1fr}.inbound-detail-items{overflow:auto}.inbound-detail-items>header,.inbound-detail-items>article{min-width:720px}}

/* Поставка редактируется одним спокойным набором действий, без россыпи кнопок. */
.client-inbound-list article{grid-template-columns:minmax(0,1fr) auto auto auto}.inbound-request-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.inbound-request-actions button{min-height:40px;padding:8px 12px;border:1px solid #cbd8ee;border-radius:10px;background:#fff;color:#315bbb;font:750 13px Manrope;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}.inbound-request-actions button:hover:not(:disabled){border-color:#8eaae5;background:#f2f6ff;transform:translateY(-1px)}.inbound-request-actions button:focus-visible{outline:3px solid rgba(53,100,220,.2);outline-offset:2px}.inbound-request-actions .inbound-edit-button{border-color:#9cb5ec;background:#edf3ff;color:#244fae}.inbound-request-actions .inbound-repeat-button{border-color:#a8d9ca;background:#effaf6;color:#176b53}.inbound-request-actions .inbound-cancel-button{border-color:#efcaca;background:#fff7f7;color:#9b3f3f}.inbound-request-actions .inbound-cancel-button:hover:not(:disabled){border-color:#df9e9e;background:#ffeded}.inbound-request-actions button:disabled{cursor:wait;opacity:.6}.inbound-edit-notice{display:grid;gap:3px;margin:14px 0;padding:13px 15px;border:1px solid #f0cf8f;border-radius:13px;background:#fff8e8;color:#775314}.inbound-edit-notice b{color:#62430c}.inbound-edit-notice span{font-size:13px;line-height:1.45}.portal-modal .inbound-products>label.selected{border-color:#6d90e4;background:#f3f7ff}
@media(max-width:980px){.client-inbound-list article{grid-template-columns:minmax(0,1fr) auto}.inbound-request-actions{grid-column:1/-1;justify-content:flex-start}}@media(max-width:700px){.client-inbound-list article{grid-template-columns:1fr}.inbound-request-actions{display:grid;grid-template-columns:1fr 1fr}.inbound-request-actions button{width:100%}}
