:root{--orange:#FF681D;--green:#149B59;--cream:#FFF9F2;--ink:#202B32;--muted:#64727b;--line:#e9e9e6;--navy:#102338;--bg:#faf9f7;--shadow:0 16px 46px rgba(33,35,31,.07)}
*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--bg)}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.55;cursor:not-allowed}header.portal-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30} .wrap{max-width:1230px;margin:auto;padding:0 22px}.portal-nav{min-height:84px;display:flex;align-items:center;gap:26px}.portal-brand img{display:block;max-width:205px;max-height:65px;object-fit:contain} .portal-links{display:flex;gap:8px;align-items:center;margin-left:12px}.portal-links a{padding:10px 13px;border-radius:12px;font-weight:700;color:#42515b}.portal-links a.active,.portal-links a:hover{background:#fff2e9;color:#d84c11}.portal-me{margin-left:auto;display:flex;align-items:center;gap:10px}.portal-me small{color:var(--muted)} .mini-link{border:1px solid var(--line);background:white;padding:10px 14px;border-radius:12px;color:var(--ink);font-weight:750}.mini-link:hover{border-color:#f5b293}.primary,.secondary,.danger,.outline{border-radius:12px;padding:12px 17px;font-weight:800;border:1px solid transparent;display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:42px}.primary{background:var(--orange);color:#fff}.primary:hover{background:#e85312}.secondary{background:var(--green);color:#fff}.outline{background:#fff;border-color:#e0e4e1;color:var(--ink)}.danger{background:#fff1f1;color:#b92727;border-color:#ffdbdb}.small-btn{padding:7px 12px;min-height:32px;font-size:12px;border-radius:9px}.portal-hero{display:grid;grid-template-columns:1.5fr .7fr;gap:24px;margin:32px 0 25px;align-items:stretch}.welcome{background:linear-gradient(110deg,#fff1e4 0%,#fff7ed 61%,#eaf8ed 100%);border:1px solid #f5e7d6;border-radius:26px;padding:30px;position:relative;overflow:hidden}.welcome::after{content:"";position:absolute;width:250px;height:250px;right:-75px;bottom:-180px;border-radius:50%;border:40px solid #149B5912;pointer-events:none}.welcome small{color:#d35413;font-weight:850;letter-spacing:.14em}.welcome h1{font-size:clamp(25px,3vw,38px);letter-spacing:-.045em;line-height:1.12;margin:12px 0;color:#152537}.welcome h1 em{font-style:normal;color:var(--green)}.welcome p{line-height:1.65;color:#586673;max-width:610px}.welcome .hero-actions{display:flex;gap:9px;margin-top:22px;flex-wrap:wrap}.trust{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:26px;padding:26px;display:flex;flex-direction:column;justify-content:space-between}.trust .kicker{font-size:12px;letter-spacing:.1em;color:var(--green);font-weight:800}.trust strong{display:block;font-size:21px;line-height:1.35;margin:13px 0}.trust p{line-height:1.6;color:var(--muted)}.trust .dots{display:flex;gap:8px}.trust .dots span{width:12px;height:12px;border-radius:50%;background:#ff681d}.trust .dots span:nth-child(2){background:#149b59}.trust .dots span:nth-child(3){background:#ffd18b}.layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:22px;align-items:start;margin-bottom:60px}.sidebar{background:#fff;border:1px solid var(--line);border-radius:20px;padding:12px;position:sticky;top:108px}.sidebar h3{font-size:11px;color:var(--muted);letter-spacing:.11em;margin:12px 13px}.sidebar button{border:0;width:100%;text-align:left;padding:12px 14px;background:transparent;border-radius:12px;color:#52616b;font-weight:750}.sidebar button.active,.sidebar button:hover{background:#fff0e7;color:#df5516}.sidebar .separator{border-top:1px solid var(--line);margin:10px 5px}.content>section[hidden],.panel[hidden],[hidden]{display:none!important}.panel{border-radius:22px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow);padding:24px;margin-bottom:18px}.panel h2,.section-title{font-size:21px;letter-spacing:-.026em;margin:0 0 5px}.subtle{color:var(--muted)}.panel>p:first-of-type{color:var(--muted);line-height:1.6}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat{padding:22px;border-radius:18px;background:#fff;border:1px solid var(--line)}.stat span{display:block;color:var(--muted);font-size:12px}.stat b{font-size:27px;display:block;margin-top:7px;color:#19354a}.stat:nth-child(2) b{color:var(--green)}.pill{border-radius:30px;padding:5px 10px;background:#eef3f7;color:#365c71;font-size:11px;font-weight:800;display:inline-block}.pill.PENDING{color:#9a5900;background:#fff3d8}.pill.APPROVED,.pill.CONFIRMED,.pill.COMPLETED,.pill.READY_FOR_PICKUP{color:#077843;background:#e8f8ef}.pill.REJECTED,.pill.CANCELLED,.pill.SUSPENDED{color:#b52b2b;background:#ffe7e4}.pill.PREPARING{color:#2763aa;background:#e8f2ff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.field label{font-weight:740;color:#3c4b54;font-size:12px}.field input,.field select,.field textarea,select,input[type=search]{border:1px solid #dce3e3;border-radius:11px;padding:12px 13px;outline:0;width:100%;background:#fff;color:var(--ink)}.field :is(input,select,textarea):focus,input[type=search]:focus{border-color:#fa8c53;box-shadow:0 0 0 3px #ff681d12}.field textarea{resize:vertical;min-height:100px}.field-note{font-size:11px;color:var(--muted);line-height:1.4} .form-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:14px}.auth-shell{display:grid;grid-template-columns:1fr 1fr;gap:18px}.auth-copy{background:#fff5e9;border-radius:18px;padding:23px}.auth-copy h3{font-size:20px}.auth-copy li{margin-bottom:10px;line-height:1.5}.auth-switch{display:flex;gap:8px;margin-bottom:19px}.auth-switch button{border:0;background:#f5f6f6;padding:9px 18px;border-radius:12px;font-weight:800;color:#777}.auth-switch button.active{background:#fff0e6;color:#df5516}.alert{background:#eafbff;border:1px solid #b9e8f4;color:#195268;border-radius:13px;padding:13px 15px;margin:15px 0;line-height:1.6}.alert.warning{background:#fff5df;border-color:#f4d899;color:#8b5e04}.alert.error{background:#fff0f0;border-color:#f8c5c5;color:#a32929}.alert.good{background:#e9faef;border-color:#b9ebc9;color:#11683d}.empty{text-align:center;border:1px dashed #e5dbd1;border-radius:18px;background:#fffdfb;padding:45px 24px;color:var(--muted)}.empty .symbol{font-size:36px;display:block;margin-bottom:10px}.empty strong{display:block;color:#314456;font-size:19px;margin-bottom:5px}.section-bar{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:18px}.table-scroll{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;min-width:700px}.data-table th,.data-table td{text-align:left;padding:13px 10px;border-bottom:1px solid #edf0ee;vertical-align:middle;font-size:13px}.data-table th{background:#f9faf9;font-size:11px;color:#72818c;text-transform:uppercase;letter-spacing:.04em}.data-table td .subtle{display:block;margin-top:5px;font-size:11px}.data-table .actions{display:flex;gap:7px;flex-wrap:wrap}.product-thumb{border-radius:9px;object-fit:cover;width:48px;height:48px;background:#f6e7dc}.picture-row{display:flex;gap:12px;align-items:center}.picture-row input{width:auto}.picture-preview{height:90px;width:90px;border-radius:12px;object-fit:cover;border:1px solid var(--line)}.toolbar{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:14px 0 20px}.toolbar>*{min-width:0}.toolbar input{flex:1;min-width:150px}.toolbar select{width:auto}.catalog-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.product-card{background:#fff;border:1px solid var(--line);border-radius:19px;overflow:hidden;display:flex;flex-direction:column;transition:transform .16s,box-shadow .16s}.product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.product-card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#fff3eb}.product-card .cardbody{padding:15px;flex:1;display:flex;flex-direction:column;gap:8px}.product-card .merchant{font-size:11px;color:var(--green);font-weight:800}.product-card h3{font-size:15px;margin:0;line-height:1.4}.product-card .price{font-size:18px;font-weight:900;color:var(--orange)}.product-card .stock{font-size:11px;color:#71808a}.product-card .cardbody .primary{margin-top:auto;font-size:12px}.order-card{border:1px solid var(--line);border-radius:17px;padding:18px;margin-top:13px}.order-head{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}.order-head strong{font-size:16px}.order-items{padding:11px 0;color:#61737d;line-height:1.8}.order-foot{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.order-foot b{font-size:16px;color:#233843}.tagline-note{font-size:12px;color:#71808a;padding:11px 0 34px;text-align:center}.drawer-backdrop{position:fixed;inset:0;background:#0b253a73;z-index:50;display:none;align-items:center;justify-content:center;padding:15px}.drawer-backdrop.open{display:flex}.modal{background:#fff;border-radius:22px;padding:25px;width:min(520px,95vw);max-height:92vh;overflow-y:auto;box-shadow:0 30px 80px #0003}.modal h2{margin:0 0 8px;font-size:22px}.modal-header{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:15px}.icon-close{background:#f4f5f4;border:0;border-radius:50%;width:35px;height:35px;font-size:18px}.toast{position:fixed;right:20px;bottom:22px;max-width:370px;padding:14px 19px;border-radius:12px;background:#1c3643;color:#fff;box-shadow:0 10px 40px #112c3c50;z-index:70}.cart-list .row{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line)}.cart-list .row strong{display:block}.count-buttons{display:flex;align-items:center;gap:9px}.count-buttons button{border:1px solid var(--line);border-radius:8px;background:#fff;width:29px;height:29px}.money{font-variant-numeric:tabular-nums}.commerce-hero{margin:27px 0 20px;padding:28px 33px;background:linear-gradient(100deg,#fff1e4 0%,#fff7f0 57%,#e9f8ef 100%);border-radius:22px;position:relative}.commerce-hero .tag{font-size:12px;color:var(--green);font-weight:850}.commerce-hero h1{font-size:34px;line-height:1.15;letter-spacing:-.04em;margin:10px 0;color:var(--navy)}.commerce-hero p{color:var(--muted)}.commerce-tabs{display:flex;gap:9px;margin:10px 0 22px;flex-wrap:wrap}.commerce-tabs button{border:1px solid #ebe7e1;background:#fff;border-radius:25px;padding:10px 16px;color:#57626b;font-weight:800}.commerce-tabs button.active{background:#fff0e6;color:#e05e22;border-color:#faccb8}.commerce-tabs button:focus-visible{outline:2px solid #fa8147}.commerce-grid{display:grid;grid-template-columns:1fr 280px;gap:20px}.cart-sidebar{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;position:sticky;top:110px;align-self:start}.cart-sidebar h2{margin:0 0 10px;font-size:18px}.cart-badge{background:#fff0e8;color:#e35117;padding:4px 9px;border-radius:20px;font-size:11px}.cart-sidebar .checkout{width:100%;margin-top:15px}.info-line{display:flex;justify-content:space-between;gap:10px;padding:9px 0}.muted-note{background:#fff9e9;padding:11px 13px;border-radius:10px;color:#78632e;line-height:1.5;font-size:12px}.step-line{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:750;color:#8a979c}.step-dot{height:26px;width:26px;border-radius:50%;background:#149b59;color:#fff;display:inline-flex;align-items:center;justify-content:center}.site-footer{border-top:1px solid var(--line);margin-top:50px;background:#fff;padding:25px 0;color:var(--muted);font-size:12px}.site-footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:15px}.site-footer strong{color:#324452}.mobile-menu{display:none}
@media(max-width:900px){.portal-nav{gap:12px}.portal-links{gap:2px;margin:0}.portal-links a{font-size:12px;padding:9px}.portal-brand img{max-width:155px}.portal-hero{grid-template-columns:1fr}.trust{display:none}.layout{grid-template-columns:1fr}.sidebar{position:static;display:flex;overflow-x:auto;gap:5px;align-items:center;white-space:nowrap}.sidebar h3,.sidebar .separator{display:none}.sidebar button{width:auto}.stats{grid-template-columns:repeat(2,1fr)}.catalog-grid{grid-template-columns:repeat(3,1fr)}.commerce-grid{grid-template-columns:1fr}.cart-sidebar{position:static}}
@media(max-width:590px){.wrap{padding:0 14px}.portal-nav{min-height:70px;flex-wrap:wrap;justify-content:space-between;padding-top:7px;padding-bottom:7px}.portal-brand img{max-width:155px}.portal-links{order:3;width:100%;overflow-x:auto;justify-content:space-between}.portal-links a{font-size:11px;white-space:nowrap}.portal-me{margin-left:auto}.portal-me small{display:none}.mini-link{padding:7px 9px;font-size:11px}.portal-hero{margin:16px 0}.welcome{padding:21px;border-radius:19px}.welcome h1{font-size:27px}.welcome p{font-size:13px}.panel{padding:17px;border-radius:18px}.form-grid{grid-template-columns:1fr;gap:0}.auth-shell{grid-template-columns:1fr}.auth-copy{display:none}.stats{gap:9px}.stat{padding:14px}.stat b{font-size:21px}.catalog-grid{grid-template-columns:repeat(2,1fr);gap:9px}.product-card .cardbody{padding:10px}.product-card h3{font-size:13px}.product-card .price{font-size:15px}.product-card .cardbody .primary{font-size:11px;padding:8px 7px}.commerce-hero{margin:15px 0;padding:24px 21px}.commerce-hero h1{font-size:28px}.section-bar{align-items:start}.site-footer .wrap{flex-direction:column;align-items:start}.order-card{padding:13px}}
/* V4.5 hardening: existing V3 brand and surfaces stay intact. */
html{scroll-padding-top:150px}main,.content,.panel,.order-card{min-width:0}
button,a,input,select,textarea{touch-action:manipulation}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #149B59;outline-offset:3px}
.dashboard-nav{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.dashboard-nav a,.sidebar>a{padding:12px;border-radius:12px;background:#fff5ed;font-weight:700}
.dashboard-kicker{font-size:11px;letter-spacing:.1em;color:var(--green);font-weight:800}
.dashboard-v45 .toolbar .field{flex:1;margin:0;min-width:180px}
.dashboard-v45 .section-bar,.dashboard-v45 .actions{display:flex;gap:10px;flex-wrap:wrap}
.dashboard-v45 h4{margin:10px 0;overflow-wrap:anywhere}.dashboard-v45 p,.audit{overflow-wrap:anywhere}
.dashboard-v45 details>summary{font-size:17px;font-weight:800;cursor:pointer;padding:8px 0}
.dashboard-v45 .stats{margin:18px 0;grid-template-columns:repeat(3,minmax(0,1fr))}
.check-row{display:flex;align-items:flex-start;gap:10px;margin:14px 0}.check-row input{width:20px;height:20px;flex:none}
.order-progress{display:flex;list-style:none;padding:0;gap:6px;margin:20px 0}
.order-progress li{flex:1;border-top:4px solid #e4e9e7;padding-top:9px;color:#64727b;font-size:12px}
.order-progress li.done{border-color:var(--green);color:#126b40;font-weight:750}
.order-progress li[aria-current]{border-color:var(--orange)}
.laka-dialog{width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 28px);border:1px solid var(--line);border-radius:22px;padding:24px;color:var(--ink);box-shadow:var(--shadow);overflow-y:auto}
.laka-dialog::backdrop{background:#10233899}.laka-dialog h2{font-size:22px;margin:0 0 12px}
.laka-dialog p,.laka-dialog small{line-height:1.6;color:var(--muted)}
.laka-dialog input,.laka-dialog select,.laka-dialog textarea{font-size:16px}
.laka-dialog .form-actions,.modal .form-actions{position:sticky;bottom:-1px;background:white;padding:14px 0 4px;z-index:2;border-top:1px solid var(--line)}
.modal{overscroll-behavior:contain;max-height:calc(100dvh - 32px)}
.toast{max-width:calc(100vw - 28px);bottom:max(18px,env(safe-area-inset-bottom))}
[aria-busy=true]{cursor:progress}
@media(max-width:900px){.portal-nav{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.portal-links{order:3;width:100%;overflow-x:auto;white-space:nowrap}.sidebar a{flex:none}.laka-dialog{width:min(640px,calc(100vw - 32px))}.modal{width:min(680px,calc(100vw - 32px))}.primary,.secondary,.outline,.danger,.mini-link{min-height:44px}.field input,.field select,.field textarea{font-size:16px}}
@media(max-width:590px){.dashboard-v45 .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.order-progress{flex-wrap:wrap}.order-progress li{flex-basis:28%}.dashboard-nav a{flex:1;text-align:center;white-space:nowrap}.dashboard-v45 .form-actions button,.laka-dialog .form-actions button{flex:1;min-width:130px}.dashboard-v45 .toolbar .field{min-width:100%}.laka-dialog{padding:19px}.portal-links{justify-content:flex-start}.order-head h4{font-size:15px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.modal #productForm{display:flex;flex-direction:column;max-height:calc(100dvh - 210px);min-height:180px;overflow:hidden}.modal #productForm .modal-fields{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 3px}.modal #productForm>.form-actions{flex:none;position:static;margin-top:0;padding-top:14px}
