/* Mobil Plus: one identity, separate shopping and operational experiences. */
:root{--ink:#142b46;--navy:#153e70;--blue:#164680;--red:#e63c49;--muted:#697b8d;--line:#e3e9f0;--surface:#f5f7fa;--color-primary:#164680;--color-accent:#e63c49;--color-text:#142b46;--color-text-secondary:#697b8d;--color-page-bg:#f5f7fa;--radius-md:10px}
*{box-sizing:border-box}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.16;letter-spacing:-1.15px;margin-bottom:12px}h2{font-size:22px;letter-spacing:-.6px;margin-bottom:16px}h3{font-size:17px}a{color:var(--blue);text-decoration:none}a:hover{color:var(--red)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid #84b6f2;outline-offset:3px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{display:block;font-size:10px;letter-spacing:1.8px;font-weight:750;text-transform:uppercase;color:var(--muted);margin-bottom:14px}.nowrap{white-space:nowrap}.strong-link{font-weight:650}.full{width:100%}.spaced{margin-top:20px}.fine-print{font-size:12px;line-height:1.7;color:var(--muted);margin-top:16px;margin-bottom:0}.back-link{display:inline-block;font-size:13px;margin-bottom:24px}.wordmark{display:inline-flex;align-items:baseline;font-size:30px;font-weight:850;letter-spacing:-1.7px;line-height:1;color:var(--navy);white-space:nowrap}.wordmark span{font-weight:450}.wordmark i{font-size:32px;line-height:.8;font-weight:800;font-style:normal;color:var(--red);margin-left:2px}.wordmark.light{color:white}.avatar{display:inline-flex;align-items:center;justify-content:center;background:#e8eff7;color:var(--blue);height:38px;width:38px;flex-shrink:0;border-radius:50%;font-weight:700}
.btn,.btn-primary,.btn-outline{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:11px 20px;border-radius:9px;border:1px solid transparent;font-size:13px;font-weight:650;line-height:1.35;box-shadow:none;white-space:normal;text-align:center;transition:background .15s,transform .15s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--blue);color:white}.btn-primary:hover{background:#103561;color:white}.btn-outline{color:var(--blue);background:white;border-color:#ccd8e5}.btn-outline:hover{background:#eff4f9;color:var(--blue);border-color:#aebfd2}.btn-white{background:#fff;color:var(--navy)}.btn-sm{min-height:34px;padding:7px 12px;font-size:12px}.form-control{display:block;background:#fff;border:1px solid #d5dfe9;border-radius:8px;color:var(--ink);width:100%;min-height:44px;padding:11px 13px;font-size:14px;box-shadow:none;line-height:1.5}.form-control:focus{border-color:#537da9;box-shadow:0 0 0 3px #1646800d;outline:none}.form-label{display:block;font-size:12px;font-weight:650;margin:18px 0 7px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid label,.staff-form label{font-size:12px;font-weight:650}.form-grid .form-control,.staff-form .form-control{margin-top:6px}.label-row{display:flex;justify-content:space-between;align-items:baseline;font-size:12px}.alert{border-radius:8px;padding:14px 18px;margin:0 0 20px;font-size:13px;border:1px solid transparent}.alert-error{background:#fff0f1;border-color:#f4d1d5;color:#992a38}.alert-success{background:#edf8f0;border-color:#cee7d7;color:#246841}.alert-info{background:#edf3fd;border-color:#d2e0f3;color:#1c497a}.info-panel{padding:20px 24px;background:#edf3fa;border:1px solid #dce7f3;border-radius:10px;margin-bottom:26px;color:#34516f;font-size:13px}.info-panel p{margin:6px 0 0}.info-panel strong{color:var(--ink)}.source-badge{display:inline-flex;align-items:center;background:#edf3f9;border:1px solid #dfe9f3;border-radius:6px;padding:5px 9px;color:#426385;font-size:11px;font-weight:600;white-space:nowrap}.status-pill{display:inline-block;color:var(--status,#164680);background:color-mix(in srgb,var(--status,#164680) 7%,white);border:1px solid color-mix(in srgb,var(--status,#164680) 16%,white);border-radius:6px;font-size:12px;line-height:1.4;padding:6px 9px;white-space:nowrap}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading p{color:var(--muted);margin:0;max-width:760px}.page-heading .eyebrow{margin-bottom:10px}.panel,.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px;margin-bottom:24px;box-shadow:none}.panel>h2{font-size:19px}.panel-heading,.section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.panel-heading h2,.section-head h2{margin-bottom:0}.panel-heading{padding:0 0 18px;margin:0}.section-head>a{font-size:13px;font-weight:650}.section-spaced{margin-top:42px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:26px}.metric{border:1px solid var(--line);border-radius:12px;background:#fff;padding:23px}.metric span{font-size:13px;color:var(--muted)}.metric strong{display:block;font-size:40px;font-weight:700;line-height:1.2;letter-spacing:-1px;margin:12px 0}.metric small{color:var(--muted);font-size:11px}.filter-toolbar{display:flex;gap:10px;margin-bottom:20px}.filter-toolbar input{flex:1}.filter-toolbar select{max-width:240px}.filter-toolbar .btn{flex-shrink:0}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:11px}.panel .table-wrap{border:0;border-radius:0}.b2b-table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}.b2b-table th{padding:14px 18px;background:#f8fafc;border-bottom:1px solid var(--line);color:var(--muted);font-size:11px;font-weight:650;text-transform:none;letter-spacing:0;white-space:nowrap}.b2b-table td{padding:18px;border-bottom:1px solid #eef1f5;vertical-align:middle}.b2b-table tr:last-child td{border-bottom:0}.b2b-table tr:hover td{background:#fafcff}.b2b-table td small{display:block;color:var(--muted);margin-top:5px;font-size:11px}.b2b-table strong{font-weight:600}.empty-state{text-align:center;padding:55px 24px;color:var(--muted)}.empty-state h2,.empty-state h3{color:var(--ink)}.empty-symbol{font-size:40px;color:var(--red);margin-bottom:12px}.check-list{list-style:none;margin:0 0 20px;padding:0}.check-list li{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:13px 0;font-size:13px}.check-list li:last-child{border:0}.check-list li>span{color:var(--muted)}.check-list strong{text-align:right;font-weight:600}.action-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.action-stack{display:grid;gap:10px;margin-top:20px}.order-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.sticky{position:sticky;top:24px}.order-totals{display:flex;justify-content:space-between;padding-top:22px;gap:20px}.order-totals>span{color:var(--muted)}.order-totals>strong{font-size:20px}.timeline{list-style:none;margin:20px 0 0;padding:0 0 0 22px;border-left:1px solid #d6e1ed}.timeline li{padding:0 0 24px;position:relative}.timeline li:before{content:"";position:absolute;left:-27px;top:6px;width:9px;height:9px;border-radius:50%;background:#496d98;box-shadow:0 0 0 4px white}.timeline p{font-size:13px;margin:5px 0;color:var(--muted)}.timeline small{color:#8897a6;font-size:11px}.revision-line{display:flex;gap:20px;align-items:center;margin:16px 0}.revision-line>span{flex:1;font-size:13px}.revision-line input{max-width:100px}.audit-data{max-width:420px;white-space:pre-wrap;word-break:break-word;font-size:11px}.staff-form{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:20px}.check-label{display:flex;gap:10px;align-items:center}.logout-button{border:0;background:none;color:inherit;padding:8px 0;font-size:12px}
/* Purpose-built employee workspace */
.work-body{background:#f4f6f9}.work-shell{display:flex;min-height:100vh}.work-sidebar{width:244px;background:#102d50;color:#b9c8d9;padding:32px 22px 24px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:10;overflow-y:auto}.work-label{font-size:10px;margin-top:20px;padding-bottom:27px;color:#829dbb;letter-spacing:.3px}.work-sidebar nav{display:grid;gap:5px}.work-sidebar nav>a{display:flex;justify-content:space-between;padding:11px 12px;border-radius:7px;color:#c7d5e6;font-size:13px}.work-sidebar nav>a>span{opacity:0}.work-sidebar nav>a.active{background:#21466f;color:#fff;box-shadow:inset 3px 0 #e94a56}.work-sidebar nav>a.active>span{opacity:1}.work-sidebar nav>a:hover{background:#1b3c61;color:#fff}.work-sidebar-foot{margin-top:auto;padding:32px 10px 0;display:flex;flex-direction:column;align-items:start;gap:5px}.work-sidebar-foot .avatar{background:#254d77;color:#dbe7f6;margin-bottom:8px;width:34px;height:34px}.work-sidebar-foot strong{color:#fff;font-size:12px;line-height:1.3}.work-sidebar-foot small{font-size:10px;color:#87a3c1}.work-sidebar-foot a{font-size:11px;color:#a9c4e2;margin-top:12px}.work-main{margin-left:244px;min-width:0;width:calc(100% - 244px);display:flex;flex-direction:column;min-height:100vh}.work-top{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 36px;background:#fff;font-size:12px;color:var(--muted)}.work-content{padding:36px;max-width:1600px;width:100%;margin:0 auto;flex:1}.work-footer{padding:24px 36px;display:flex;justify-content:space-between;font-size:11px;color:#8a99a8}
/* Partner storefront */
.shop-body{background:#fff}.shop-container{max-width:1420px;margin:0 auto;padding-left:40px;padding-right:40px}.shop-topline{background:#f3f6fa;border-bottom:1px solid #edf1f5;color:#657a90;font-size:11px}.shop-topline>.shop-container{display:flex;justify-content:space-between;padding-top:8px;padding-bottom:8px}.shop-header{background:#fff;border-bottom:1px solid var(--line)}.shop-header-row{display:flex;align-items:center;gap:25px;height:99px}.shop-header .wordmark{font-size:32px}.catalog-link{padding:12px 22px;gap:10px}.shop-search{position:relative;display:flex;flex:1;border:1px solid #dfe7ef;border-radius:9px;min-width:160px;background:#f6f8fb;height:46px}.shop-search input{background:transparent;border:0;flex:1;min-width:0;outline:0;padding:12px 17px;font-size:12px}.shop-search button{background:transparent;border:0;color:var(--blue);font-size:28px;width:45px}.shop-header-actions{display:flex;gap:27px;align-items:center;font-size:11px;white-space:nowrap}.shop-header-actions>a{display:flex;align-items:center;gap:9px;color:var(--ink);line-height:1.4}.shop-header-actions small{display:block;color:var(--muted);font-size:10px}.nav-icon{font-size:25px;color:var(--navy)}.profile-link .avatar{width:34px;height:34px}.category-ribbon{display:flex;gap:26px;overflow:auto;white-space:nowrap;padding-bottom:17px;padding-top:2px;font-size:12px}.category-ribbon a{color:#50647a}.category-ribbon a:first-child{color:var(--blue)}.shop-content{padding-top:30px;padding-bottom:55px;min-height:65vh}.page-container{padding:0;max-width:none}.demo-ribbon{text-align:center;padding:8px 20px;background:#fff8e9;color:#82632e;font-size:11px}.market-hero{position:relative;background:#edf3f9;display:grid;grid-template-columns:1.15fr 1fr;border-radius:17px;overflow:hidden;min-height:363px;margin-bottom:20px}.hero-copy{padding:48px;position:relative;z-index:1}.hero-copy .eyebrow{color:#567ba0;letter-spacing:2px;font-size:10px}.hero-copy h1{font-size:43px;line-height:1.15;letter-spacing:-1.9px;max-width:600px;margin-bottom:20px}.hero-copy h1 em{font-style:normal;color:#315f91}.hero-copy p{font-size:13px;color:#6b7d90;line-height:1.75;margin-bottom:26px}.hero-copy .btn{padding:13px 24px;font-size:12px}.hero-visual{position:relative;overflow:hidden;min-height:360px;background:linear-gradient(125deg,transparent,#dce7f1)}.hero-ring{position:absolute;width:340px;height:340px;right:20px;top:45px;border:52px solid #d1e0ee;border-radius:50%}.appliance{position:absolute;box-shadow:14px 18px 22px #153a5922}.refrigerator{width:132px;height:255px;background:linear-gradient(100deg,#b1c0cc,#edf0f2 32%,#c3ccd4);right:98px;top:50px;border-radius:8px;transform:skewY(-3deg);border:1px solid #fff9}.refrigerator:before{content:"";position:absolute;left:0;right:0;top:151px;border-top:2px solid #7c8b983b}.refrigerator:after{content:"";position:absolute;left:12px;top:108px;width:3px;height:31px;background:#8a9ba9;box-shadow:0 60px #8a9ba9}.refrigerator div{height:7px;width:22px;position:absolute;top:13px;left:55px;background:#94a1ae;border-radius:3px}.washer{width:163px;height:177px;background:linear-gradient(100deg,#e7ebef,#fff 50%,#dbe2e8);top:153px;right:205px;border-radius:8px;transform:skewY(3deg);border:1px solid #fff}.washer-drum{position:absolute;width:102px;height:102px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#8ea7b8,#344e65 68%);border:12px solid #c4cdd4;outline:2px solid #9daab5;top:51px;left:31px;box-shadow:inset 2px 4px 12px #243c56}.washer-controls{border-bottom:1px solid #c7d0d8;height:37px}.washer-controls:after{content:"";position:absolute;width:19px;height:19px;border:3px solid #b2bdc7;border-radius:50%;left:72px;top:9px}.washer-controls:before{content:"";position:absolute;background:#4c647b;width:28px;height:11px;right:13px;top:13px;border-radius:2px}.hero-tag{position:absolute;right:17px;bottom:29px;transform:rotate(-6deg);background:#fff;box-shadow:0 12px 25px #223e5515;padding:15px 22px;border-radius:10px;color:var(--blue)}.hero-tag span,.hero-tag strong{display:block}.hero-tag span{font-size:11px}.hero-tag strong{font-size:14px}.hero-plus{font-size:78px;color:var(--red);position:absolute;top:18px;right:28px;line-height:1;font-weight:300}.benefit-row{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:24px 0 34px;border-bottom:1px solid var(--line);margin-bottom:35px}.benefit-row>div{display:flex;gap:16px;align-items:center}.benefit-row b{display:inline-flex;align-items:center;justify-content:center;color:#7693af;border:1px solid #e0e8f0;border-radius:9px;width:42px;height:42px;font-size:13px;font-weight:500}.benefit-row strong,.benefit-row small{display:block}.benefit-row strong{font-size:13px;margin-bottom:3px}.benefit-row small{font-size:11px;color:var(--muted)}.category-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.category-tile{position:relative;border-radius:10px;background:#f6f8fb;padding:20px;display:flex;flex-direction:column;min-height:122px;gap:8px;color:var(--ink);border:1px solid #edf1f5}.category-tile:hover{background:#edf3fa;color:var(--blue)}.category-number{color:#8199b0;font-size:10px;letter-spacing:1px}.category-tile strong{font-size:14px;font-weight:600}.category-tile small{font-size:10px;color:var(--muted)}.category-tile small>span{float:right;font-size:19px;line-height:1}.products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.product-card{border:1px solid #e7edf3;border-radius:12px;padding:17px;background:#fff;display:flex;flex-direction:column;transition:box-shadow .15s;box-shadow:none;min-width:0}.product-card:hover{transform:none;border-color:#c6d6e6;box-shadow:0 5px 16px #24476f0b}.product-thumb-box{position:relative;height:184px;width:100%;display:flex;justify-content:center;align-items:center;background:#f8fafc;border:0;border-radius:8px;margin:0 0 20px;overflow:hidden}.product-thumb-img{width:88%;height:88%;object-fit:contain;mix-blend-mode:multiply}.product-brand-tag{font-size:9px;color:#5d7b99;letter-spacing:1.1px;font-weight:700;text-transform:uppercase;margin-bottom:8px}.product-title{font-size:13px;line-height:1.5;font-weight:600;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:39px;margin:0 0 7px}.product-sku-row{font-size:10px;color:#8a99a8;margin-bottom:13px}.product-stock-tag{font-size:10px;margin-bottom:12px}.stock-in{color:#1f845c}.stock-out{color:#97713f}.product-price-box{margin-top:auto;margin-bottom:17px}.product-price-box>small{font-size:9px;color:var(--muted)}.product-main-price{font-size:22px;font-weight:750;color:var(--ink);letter-spacing:-.6px;line-height:1.4}.product-price-box del{font-size:11px;color:#8b9bad}.discount-label{color:#cf3347;font-size:11px;margin-left:7px;background:#fff0f2;padding:3px 5px;border-radius:4px}.product-card-bottom{display:flex;align-items:center;gap:9px;padding:0;border:0;margin:0}.qty-stepper{display:flex;align-items:center;border:1px solid #dfe6ee;border-radius:7px;height:38px;overflow:hidden;background:white;flex-shrink:0}.qty-btn{width:26px;min-width:26px;height:100%;border:0;background:#fff;color:var(--muted);font-size:16px;padding:0}.qty-btn:hover{background:#f0f4f8}.qty-input{width:32px;padding:0;border:0;background:#fff;color:var(--ink);text-align:center;font-size:12px;outline:0}.btn-add-cart{display:inline-flex;align-items:center;justify-content:center;background:var(--blue);color:#fff;border:0;border-radius:7px;height:38px;padding:0 10px;font-size:11px;font-weight:650;flex:1;white-space:nowrap}.btn-add-cart:hover{background:#103561}.partner-banner{display:flex;align-items:center;justify-content:space-between;gap:30px;background:#153d6b;border-radius:13px;padding:38px 42px;margin-top:44px;color:#fff}.partner-banner .eyebrow{color:#8daecc}.partner-banner h2{font-size:27px;color:white;margin-bottom:9px}.partner-banner p{font-size:12px;color:#adc4dc;margin:0}.partner-banner .btn{white-space:nowrap}.shop-footer{background:#102e51;color:#9cb4cd;padding:42px 0}.shop-footer>.shop-container{display:grid;grid-template-columns:1.4fr .7fr 1fr 1fr;gap:40px}.shop-footer .wordmark{font-size:26px}.shop-footer p{font-size:11px;margin:13px 0;line-height:1.8}.shop-footer nav{display:flex;flex-direction:column;gap:9px}.shop-footer a:not(.wordmark),.shop-footer strong{font-size:12px;color:#c6d7e9}.shop-footer strong{font-weight:650}.catalog-filters{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr auto auto;gap:10px;padding:18px;background:#f6f8fb;border-radius:11px;margin-bottom:26px}.catalog-filters .form-control{font-size:12px;min-width:0}.pagination{display:flex;justify-content:center;gap:8px;margin-top:30px}.pagination a{display:inline-flex;width:38px;height:38px;border:1px solid var(--line);align-items:center;justify-content:center;border-radius:7px}.pagination .active{background:var(--blue);color:white}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-bottom:38px}.product-main-image{background:#f7f9fc;border:1px solid #eef2f6;border-radius:15px;display:flex;align-items:center;justify-content:center;min-height:430px}.product-main-image img{width:80%;height:380px;object-fit:contain;mix-blend-mode:multiply}.product-hero h1{font-size:30px}.product-buy-panel{background:#f6f8fb;border-radius:12px;padding:24px;margin:23px 0}.detail-price{font-size:35px;font-weight:750;letter-spacing:-1px;margin-top:13px}.product-buy-panel .action-row{margin-top:20px}.product-buy-panel .qty-stepper{height:44px}.product-description{white-space:normal;font-size:13px;color:var(--muted);line-height:1.9}.cart-row{display:grid;grid-template-columns:85px 1fr auto;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.cart-row:first-child{padding-top:0}.cart-row:last-child{padding-bottom:0;border:0}.cart-row>img{width:85px;height:90px;object-fit:contain;background:#f8fafc;border-radius:7px}.cart-row small{display:block;margin:5px 0 10px;color:var(--muted);font-size:11px}.cart-row strong{font-size:13px}.cart-row-actions{display:flex;flex-direction:column;gap:12px;align-items:end}.link-button{border:0;background:none;color:var(--muted);font-size:11px;padding:0}.summary-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:18px;margin-bottom:22px}.summary-total strong{font-size:24px;letter-spacing:-.7px}.checkout-lines{list-style:none;padding:0;margin:0 0 20px}.checkout-lines li{display:flex;gap:18px;border-bottom:1px solid var(--line);padding:13px 0;font-size:12px}.checkout-lines small{display:block;color:var(--muted);font-size:11px}.checkout-lines strong{white-space:nowrap}.search-results-dropdown{position:absolute;top:51px;left:0;right:0;background:white;border:1px solid var(--line);border-radius:9px;box-shadow:0 12px 35px #153a5920;z-index:30;display:none;max-height:420px;overflow:auto}.search-result{display:flex;gap:12px;align-items:center;padding:12px 15px;color:var(--ink);font-size:12px;border-bottom:1px solid var(--line)}.search-result:hover{background:#f4f7fa}.search-result img{width:35px;height:40px;object-fit:contain}.search-result span{flex:1}.search-result small{display:block;color:var(--muted)}.toast{position:fixed;bottom:25px;right:25px;border:1px solid #cddded;background:#fff;color:var(--ink);border-radius:10px;box-shadow:0 8px 30px #102e5125;padding:16px 23px;z-index:9999;max-width:min(420px,90vw);font-size:13px}.toast.error{border-color:#e7b4bc;color:#a2293c}
/* Sign-in stays neutral; the role decides the destination. */
.auth-body{background:#f6f8fb;min-height:100vh}.auth-shell{display:grid;grid-template-columns:42% 58%;min-height:100vh}.auth-brand{background:#143c68;padding:48px 58px;display:flex;flex-direction:column;justify-content:space-between;color:white;position:relative;overflow:hidden;min-height:100vh}.auth-brand:after{content:"+";position:absolute;right:-20px;bottom:70px;color:#ffffff04;font-size:400px;line-height:1;pointer-events:none}.auth-brand .wordmark{font-size:36px}.auth-brand .eyebrow{color:#9cbbd9}.auth-brand h1{font-size:46px;line-height:1.17;letter-spacing:-1.7px;color:white;margin:20px 0 26px}.auth-brand p{color:#a6bed8;line-height:1.9;font-size:14px}.auth-brand-line{width:42px;height:3px;background:var(--red);margin:38px 0 15px}.auth-caption{font-size:10px;letter-spacing:2px;color:#7498bb}.auth-brand>small{font-size:10px;color:#7fa3c6}.auth-form-area{padding:45px 9%;display:flex;justify-content:center;align-items:center;flex-direction:column}.auth-card{width:100%;max-width:525px;background:none;border:0;border-radius:0;box-shadow:none;padding:0;text-align:left;margin:0}.auth-card h1{font-size:32px;margin-bottom:11px}.auth-card>.muted{font-size:13px;margin-bottom:28px}.auth-divider{height:1px;background:#dfe7ef;margin:27px 0 23px}.auth-bottom{margin-top:34px;font-size:10px;color:#99a6b4}.auth-card .full{min-height:47px}.auth-card .form-control{background:#fff}.auth-card .form-grid{gap:15px}.auth-card .eyebrow{color:#7893ad}
@media(min-width:1450px){.products-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.hero-copy h1{font-size:49px}}
@media(max-width:1190px){.shop-container{padding-left:25px;padding-right:25px}.shop-header-row{gap:18px}.shop-header-actions{gap:16px}.profile-link>span:last-child{display:none}.shop-header-actions>a:first-child{display:none}.products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-copy{padding:38px}.hero-copy h1{font-size:36px}.hero-visual{min-width:280px}.hero-tag{right:9px}.refrigerator{right:45px}.washer{right:140px}.work-sidebar{width:212px;padding:27px 17px}.work-main{margin-left:212px;width:calc(100% - 212px)}.work-content{padding:28px}.work-top{padding:0 28px}.order-layout{grid-template-columns:minmax(0,1fr) 290px;gap:20px}.catalog-filters{grid-template-columns:repeat(3,1fr)}.auth-brand{padding:40px}.auth-brand h1{font-size:39px}.auth-form-area{padding:40px 7%}.product-detail{gap:30px}}
@media(max-width:900px){.work-sidebar{position:static;width:100%;padding:20px;overflow:visible}.work-label{padding-bottom:14px;margin-top:12px}.work-sidebar nav{display:flex;overflow:auto;gap:6px}.work-sidebar nav>a{white-space:nowrap;font-size:12px;padding:9px 12px}.work-sidebar nav>a>span{display:none}.work-sidebar-foot{padding:10px 0 0;flex-direction:row;gap:14px;align-items:center}.work-sidebar-foot .avatar,.work-sidebar-foot small{display:none}.work-sidebar-foot a{margin:0}.work-shell{display:block}.work-main{margin:0;width:100%}.work-top{height:53px}.work-content{padding:25px}.work-sidebar .wordmark{font-size:24px}.two-col{grid-template-columns:1fr;gap:0}.order-layout{grid-template-columns:1fr}.sticky{position:static}.order-layout aside{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.metric-grid{gap:12px}.metric{padding:18px}.metric small{display:none}.shop-header-row{flex-wrap:wrap;height:auto;padding-top:22px;padding-bottom:18px;gap:17px}.shop-header .wordmark{font-size:28px}.shop-search{order:5;flex:1 0 100%}.shop-header-actions{margin-left:auto}.category-ribbon{font-size:11px;gap:22px}.shop-header-actions>a:first-child{display:flex}.hero-copy{padding:28px}.hero-copy h1{font-size:33px}.hero-visual{min-width:240px}.hero-ring{right:-70px}.refrigerator{right:30px;width:110px;height:235px}.washer{width:143px;right:110px}.washer-drum{left:23px;width:94px;height:94px}.hero-tag{right:8px;font-size:12px;padding:12px 15px;bottom:30px}.category-tiles{grid-template-columns:repeat(3,1fr)}.benefit-row{gap:15px}.benefit-row>div{gap:10px}.benefit-row b{display:none}.benefit-row strong{font-size:12px}.benefit-row small{font-size:10px}.shop-footer>.shop-container{grid-template-columns:1fr 1fr}.product-detail{grid-template-columns:1fr 1fr;gap:25px}.product-hero h1{font-size:25px}.product-main-image{min-height:300px}.product-main-image img{height:300px}.auth-shell{grid-template-columns:35% 65%}.auth-brand{padding:32px 25px}.auth-brand h1{font-size:30px}.auth-brand p{font-size:12px}.auth-brand .wordmark{font-size:28px}.auth-form-area{padding:35px 7%}.auth-card h1{font-size:28px}}
@media(max-width:620px){h1{font-size:27px;letter-spacing:-.7px}.shop-container{padding-left:17px;padding-right:17px}.shop-topline{font-size:9px}.shop-topline>.shop-container{gap:12px}.shop-topline span:last-child{max-width:58%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-header-actions>a:first-child,.profile-link>span:last-child{display:none}.shop-header-actions{gap:16px}.shop-header-actions .avatar{width:29px;height:29px}.shop-header .wordmark{font-size:25px}.shop-header .wordmark i{font-size:27px}.catalog-link{padding:9px 13px;font-size:11px;min-height:37px}.catalog-link span{display:none}.shop-header-row{gap:12px}.shop-header-actions .nav-icon{display:none}.basket-link{font-size:10px}.header-cart-count{font-size:9px!important}.shop-content{padding-top:18px}.market-hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:28px 25px}.hero-copy h1{font-size:32px;max-width:360px}.hero-copy .eyebrow{font-size:8px;letter-spacing:1.2px}.hero-copy p{font-size:12px;max-width:280px}.hero-visual{min-height:200px;margin-top:-15px}.hero-ring{height:245px;width:245px;top:-10px;right:15px;border-width:35px}.refrigerator{height:180px;width:92px;top:0;right:80px}.refrigerator:before{top:105px}.refrigerator:after{top:69px;box-shadow:0 60px #8a9ba9}.washer{width:126px;height:137px;top:48px;right:162px}.washer-drum{height:73px;width:73px;left:25px;top:48px;border-width:9px}.hero-tag{bottom:15px;right:21px;padding:10px 14px}.hero-tag strong{font-size:12px}.hero-plus{font-size:55px;top:2px;right:20px}.benefit-row{padding:13px 0 23px;margin-bottom:25px;gap:12px}.benefit-row strong{font-size:11px}.benefit-row small{font-size:9px;line-height:1.4}.section-head{gap:12px;align-items:end}.section-head h2{font-size:21px}.section-head>a{font-size:11px;text-align:right;max-width:100px}.section-head .eyebrow{font-size:9px;letter-spacing:1px}.category-tiles{grid-template-columns:repeat(2,1fr);gap:9px}.category-tile{padding:15px;min-height:107px}.category-tile strong{font-size:12px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{padding:11px;border-radius:10px}.product-thumb-box{height:130px;margin-bottom:14px}.product-title{font-size:11px;min-height:34px;line-height:1.5}.product-brand-tag{font-size:8px;letter-spacing:.6px}.product-sku-row{font-size:9px}.product-stock-tag{font-size:9px}.product-main-price{font-size:20px}.product-price-box{margin-bottom:11px}.product-card-bottom{flex-wrap:wrap;gap:8px}.product-card-bottom .qty-stepper{width:100%;justify-content:space-between;height:30px}.product-card-bottom .btn-add-cart{height:35px;flex:1 0 100%}.product-card-bottom .qty-btn{width:30px}.product-price-box>small{font-size:8px}.partner-banner{padding:26px;flex-direction:column;align-items:start;gap:21px;margin-top:30px}.partner-banner h2{font-size:23px}.shop-footer{padding:30px 0}.shop-footer>.shop-container{gap:25px}.shop-footer p{font-size:10px}.page-heading{align-items:start;flex-direction:column;gap:15px;margin-bottom:22px}.page-heading p{font-size:12px}.panel,.card{padding:20px;border-radius:10px}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.metric{padding:13px}.metric span{font-size:10px;line-height:1.3;display:block}.metric strong{font-size:28px;margin:8px 0 0}.work-content{padding:22px 15px}.work-top{padding:0 17px;font-size:10px}.work-sidebar{padding:20px 17px 14px}.work-sidebar-foot{flex-wrap:wrap;font-size:11px;gap:9px 14px}.work-footer{padding:20px 17px;display:block;font-size:10px}.work-footer>span{display:block;margin-top:5px}.order-layout aside{display:block}.order-totals{flex-direction:column;gap:8px}.filter-toolbar{flex-wrap:wrap}.filter-toolbar input{flex-basis:100%}.filter-toolbar select{flex:1;max-width:none;min-width:140px}.info-panel{padding:17px;font-size:12px}.table-wrap{margin-bottom:18px}.b2b-table td,.b2b-table th{padding:14px 12px}.form-grid,.staff-form{grid-template-columns:1fr}.catalog-filters{grid-template-columns:1fr 1fr;padding:13px}.catalog-filters>input{grid-column:span 2}.catalog-filters .btn{font-size:11px}.product-detail{grid-template-columns:1fr;gap:25px}.product-main-image{min-height:280px}.product-main-image img{height:255px}.product-hero h1{font-size:26px}.product-buy-panel{padding:20px}.cart-row{grid-template-columns:55px 1fr;gap:12px}.cart-row>img{width:55px;height:68px}.cart-row-actions{grid-column:2;flex-direction:row;align-items:center;gap:12px;flex-wrap:wrap}.cart-row-actions .qty-stepper{height:32px}.cart-row>div>a{font-size:12px}.summary-total strong{font-size:25px}.auth-shell{display:block}.auth-brand{min-height:0;padding:24px 26px}.auth-brand>div,.auth-brand>small{display:none}.auth-brand .wordmark{font-size:29px}.auth-form-area{padding:35px 25px}.auth-card h1{font-size:30px}.auth-card .form-grid{grid-template-columns:1fr 1fr;gap:12px}.auth-card .form-control{font-size:12px}.auth-brand:after{display:none}.auth-card .eyebrow{font-size:9px}.auth-bottom{font-size:9px}.check-list li{font-size:12px}.product-card .qty-input{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.work-body .b2b-table th { position: static; top: auto; z-index: auto; }
.order-items-table { width: 100%; min-width: 680px; table-layout: fixed; }
.order-items-table th:nth-child(1), .order-items-table td:nth-child(1) { width: 39%; white-space: normal; overflow-wrap: anywhere; }
.order-items-table th:nth-child(2), .order-items-table td:nth-child(2) { width: 19%; }
.order-items-table th:nth-child(3), .order-items-table td:nth-child(3) { width: 18%; }
.order-items-table th:nth-child(4), .order-items-table td:nth-child(4) { width: 10%; }
.order-items-table th:nth-child(5), .order-items-table td:nth-child(5) { width: 18%; }
.discount-editor-table { width: 100%; min-width: 620px; table-layout: fixed; }
.discount-editor-table th:first-child, .discount-editor-table td:first-child { width: 54%; white-space: normal; overflow-wrap: anywhere; }
.discount-editor-table th:nth-child(2), .discount-editor-table td:nth-child(2), .discount-editor-table th:nth-child(3), .discount-editor-table td:nth-child(3) { width: 23%; }
.discount-editor-table .form-control { min-width: 110px; }
.order-items-table th:nth-child(1), .order-items-table td:nth-child(1) { width: 38%; }
.order-items-table th:nth-child(2), .order-items-table td:nth-child(2) { width: 18%; }
.order-items-table th:nth-child(3), .order-items-table td:nth-child(3) { width: 18%; }
.order-items-table th:nth-child(4), .order-items-table td:nth-child(4) { width: 10%; }
.order-items-table th:nth-child(5), .order-items-table td:nth-child(5) { width: 16%; }
.order-items-table td:nth-child(n+2) { white-space: nowrap; }

/* Manager: new order for a 1C counterparty */
.counterparty-pick{display:flex;gap:8px;align-items:center;justify-content:flex-end}
.counterparty-pick .btn{white-space:nowrap}
.counterparty-pick .form-control{width:auto;min-width:150px;padding:7px 10px;font-size:12px}
.manager-order{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.manager-cart{position:sticky;top:20px}
.manager-products td{vertical-align:top}
.manager-products td small{white-space:normal}
.inline-qty{display:flex;gap:8px;align-items:center}
.inline-qty .form-control{width:84px;padding:7px 10px;font-size:12px}
.discount-note{color:#c0392b!important;font-weight:600}
.manager-cart-lines{list-style:none;margin:0 0 16px;padding:0}
.manager-cart-lines li{display:grid;grid-template-columns:1fr auto auto auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}
.manager-cart-lines small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.manager-cart-total{margin:0 0 16px;display:grid;gap:6px}
.manager-cart-total div{display:flex;justify-content:space-between;font-size:13px}
.manager-cart-total dt{color:var(--muted)}
.manager-cart-total dd{margin:0;font-weight:600}
.manager-cart-total .grand{font-size:17px;padding-top:8px;border-top:1px solid var(--line)}
.manager-cart-total .grand dt{color:var(--ink);font-weight:700}
.test-discount-form{display:grid;grid-template-columns:1fr 120px auto;gap:10px;align-items:end;margin-top:14px}
@media(max-width:1280px){.manager-order{grid-template-columns:1fr}.manager-cart{position:static;order:-1;display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}}
@media(max-width:760px){.manager-cart{grid-template-columns:1fr}}

/* Registration and login */
.auth-card-wide{max-width:560px}
.reg-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 14px}
.reg-grid label{display:block}
.reg-wide{grid-column:1/-1}
.password-field{position:relative;display:block}
.password-field .form-control{padding-right:96px}
.password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:#eef3f8;color:var(--blue);border-radius:6px;padding:6px 10px;font-size:12px;font-weight:600;cursor:pointer}
@media(max-width:620px){.reg-grid{grid-template-columns:1fr}}

/* Orders: shipping plan, repeat */
.ship-from{display:block;color:#9a6a1f!important;font-size:11px;margin-top:3px}
.repeat-order h3{margin-bottom:6px}
.quick-order summary{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;cursor:pointer;list-style:none}
.quick-order summary::-webkit-details-marker{display:none}
.quick-order summary::after{content:'＋';margin-left:auto;color:var(--blue)}
.quick-order[open] summary::after{content:'−'}
.quick-order form{margin-top:14px}
.quick-order textarea{font-family:ui-monospace,Consolas,monospace;font-size:13px}
.error-log{white-space:pre-wrap;font-size:12px;background:#f6f8fb;border:1px solid var(--line);border-radius:8px;padding:12px;max-height:320px;overflow:auto}

/* Manager: pick a client */
.client-pick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.client-pick{display:flex;flex-direction:column;gap:4px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);transition:border-color .15s,box-shadow .15s}
.client-pick:hover{border-color:var(--blue);box-shadow:0 6px 18px #24476f12}
.client-pick small,.client-pick span{color:var(--muted);font-size:12px}
.client-pick b{margin-top:8px;color:var(--blue);font-size:13px}
.work-body .stock-remote{color:#9a6a1f}

/* Order approval route */
.order-route ol{list-style:none;margin:0;padding:0;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:0}
.order-route li{position:relative;display:flex;flex-direction:column;gap:8px;padding:0 10px 0 0}
.order-route li::before{content:'';position:absolute;top:15px;left:32px;right:0;height:2px;background:#dfe7ef}
.order-route li:last-child::before{display:none}
.order-route li.route-done::before{background:#1f845c}
.route-dot{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#fff;border:2px solid #dfe7ef;color:var(--muted);font-weight:700;font-size:13px}
.route-text strong{display:block;font-size:13px;color:var(--ink)}
.route-text small{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.route-done .route-dot{background:#1f845c;border-color:#1f845c;color:#fff}
.route-current .route-dot{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 0 0 5px #16468022}
.route-current .route-text strong{color:var(--blue)}
.route-stopped .route-dot{border-color:#bc2638;color:#bc2638}
.route-stopped .route-text{opacity:.6}
.manager-cart .order-route ol{grid-auto-flow:row;gap:14px}
.manager-cart .order-route li::before{top:32px;bottom:-14px;left:15px;right:auto;width:2px;height:auto}
.manager-cart .order-route li{flex-direction:row;align-items:flex-start;gap:12px}
@media(max-width:900px){
  .order-route ol{grid-auto-flow:row;gap:14px}
  .order-route li{flex-direction:row;align-items:flex-start;gap:12px}
  .order-route li::before{top:32px;bottom:-14px;left:15px;right:auto;width:2px;height:auto}
}

/* Manager draft */
.draft-bar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:14px 18px;border-radius:10px;background:var(--blue);color:#fff;font-size:13px}
.draft-bar:hover{background:#103561;color:#fff}
.draft-bar span:last-child{font-weight:700;white-space:nowrap}
.draft-badge{font-style:normal;align-self:flex-start;margin-top:6px;padding:3px 9px;border-radius:20px;background:#fff4e0;color:#9a6a1f;font-size:11px;font-weight:700}


/* Order history */
.order-history ol{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:12px}
.order-history li{position:relative;padding:14px 16px 14px 20px;border:1px solid var(--line);border-radius:10px;background:#fff}
.order-history li::before{content:'';position:absolute;left:0;top:10px;bottom:10px;width:4px;border-radius:0 4px 4px 0;background:var(--tone,#164680)}
.history-ok{--tone:#1f845c}.history-warn{--tone:#c27a0e}.history-bad{--tone:#bc2638}.history-info{--tone:#164680}
.history-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.history-status{display:inline-block;padding:4px 10px;border-radius:20px;font-size:12px;font-weight:700;color:var(--tone);background:color-mix(in srgb,var(--tone) 10%,white)}
.history-from{font-size:12px;color:var(--muted)}
.history-head time{margin-left:auto;font-size:12px;color:var(--muted);white-space:nowrap}
.history-comment{margin:12px 0 0;padding:10px 14px;border-radius:8px;background:#f6f8fb;border-left:3px solid var(--tone);font-size:14px;line-height:1.5;color:var(--ink)}
.history-who{margin-top:10px;font-size:12px;font-weight:600;color:#50647a}
.history-comment small{display:block;font-size:10px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--tone);margin-bottom:4px}

/* Page hints */
.page-hint{position:relative;display:flex;gap:14px;align-items:flex-start;margin:0 0 22px;padding:16px 48px 16px 18px;border-radius:12px;background:#eef4fb;border:1px solid #d3e2f2;color:#2f4c6d;font-size:13px;line-height:1.55}
.page-hint strong{display:block;color:var(--ink);font-size:14px;margin-bottom:2px}
.page-hint p{margin:0}
.page-hint a{font-weight:650;white-space:nowrap}
.page-hint-icon{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--blue);color:#fff;font-weight:800}
.page-hint-close{position:absolute;top:10px;right:10px;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:#5d7792;font-size:15px;cursor:pointer}
.page-hint-close:hover{background:#dbe7f4;color:var(--ink)}
.setup-banner{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0 0 18px;padding:14px 18px;border-radius:12px;background:#fff4e0;border:1px solid #f1d9ad;color:#7a5418;font-size:13px}
.setup-banner .btn{margin-left:auto}

/* Training page */
.help-section h2{margin-bottom:12px}
.help-section p{color:#3d5268;line-height:1.65}
.help-route{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px}
.help-route span{padding:8px 12px;border-radius:8px;background:#f2f6fa;font-size:12px;font-weight:600;color:var(--ink)}
.help-route small{font-weight:400;color:var(--muted)}
.help-route b{color:var(--muted)}
.help-role summary{display:flex;flex-direction:column;gap:4px;cursor:pointer;list-style:none}
.help-role summary::-webkit-details-marker{display:none}
.help-role summary strong{font-size:18px}
.help-role summary em{font-style:normal;margin-left:8px;padding:2px 8px;border-radius:20px;background:var(--blue);color:#fff;font-size:11px;vertical-align:middle}
.help-role summary small{color:var(--muted);font-size:13px}
.help-steps{margin:18px 0 0;padding:0;list-style:none;counter-reset:step;display:grid;gap:12px}
.help-steps li{counter-increment:step;position:relative;padding:12px 14px 12px 52px;border:1px solid var(--line);border-radius:10px}
.help-steps li::before{content:counter(step);position:absolute;left:14px;top:12px;width:26px;height:26px;border-radius:50%;background:#e5eef8;color:var(--blue);font-weight:800;font-size:12px;display:flex;align-items:center;justify-content:center}
.help-steps p{margin:4px 0 0;font-size:13px}
.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.help-faq{border-top:1px solid var(--line);padding:12px 0}
.help-faq summary{cursor:pointer;font-weight:650;color:var(--ink)}
.help-faq p{margin:8px 0 0;font-size:13px}
@media(max-width:900px){.help-grid{grid-template-columns:1fr}.page-hint a{white-space:normal}}
