:root{--red:#f2170b;--red-dark:#bd1007;--ink:#111318;--muted:#6f7380;--line:#e4e5e9;--soft:#f5f6f8;--green:#128a47;--amber:#a86c00;--shadow:0 20px 55px rgba(10,12,18,.12);font-family:Arial,"Segoe UI",Tahoma,sans-serif;color:var(--ink);background:var(--soft)}*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{background:radial-gradient(circle at 10% 0,rgba(242,23,11,.07),transparent 30rem),var(--soft)}button,input,select,textarea{font:inherit}.hidden{display:none!important}.topbar{position:sticky;top:0;z-index:50;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px clamp(18px,4vw,58px);border-bottom:1px solid rgba(0,0,0,.08);background:rgba(255,255,255,.94);backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none}.brand>span{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:var(--red);color:#fff;font-weight:1000;box-shadow:0 8px 18px rgba(242,23,11,.25)}.brand b{font-size:20px}.brand em{color:var(--red);font-style:normal}.top-actions{display:flex;gap:8px}.ghost,.secondary,.primary{min-height:43px;border-radius:11px;padding:0 17px;font-weight:900;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.ghost{border:1px solid var(--line);background:#fff;color:var(--ink)}.secondary{border:1px solid var(--ink);background:#fff;color:var(--ink)}.primary{border:1px solid var(--red);background:linear-gradient(135deg,var(--red),#c80f06);color:#fff;box-shadow:0 10px 20px rgba(242,23,11,.2)}button:disabled{opacity:.5;cursor:not-allowed}.app-shell{width:min(1480px,100%);margin:auto;padding:28px clamp(14px,3vw,44px) 60px}.center-card{min-height:60vh;display:grid;place-items:center;align-content:center;gap:15px}.loader{width:48px;height:48px;border:5px solid #eee;border-top-color:var(--red);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-layout{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(460px,1.1fr);min-height:720px;border-radius:28px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}.auth-intro{position:relative;padding:clamp(36px,6vw,84px);color:#fff;background:linear-gradient(150deg,#070707 0,#1b1b1d 58%,#c91007 58%,#f2170b 100%)}.auth-intro:after{content:"";position:absolute;inset:28px;border:1px solid rgba(255,255,255,.18);border-radius:30px;pointer-events:none}.eyebrow{display:inline-block;color:var(--red);font-size:12px;font-weight:1000;letter-spacing:.12em;text-transform:uppercase}.auth-intro .eyebrow{color:#ff8e87}.auth-intro h1{position:relative;z-index:1;max-width:560px;margin:18px 0;font-size:clamp(36px,5vw,66px);line-height:1.08}.auth-intro>p{position:relative;z-index:1;max-width:560px;color:#ddd;font-size:17px;line-height:1.8}.steps{position:relative;z-index:1;display:grid;gap:16px;margin:50px 0 0;padding:0;list-style:none}.steps li{display:flex;align-items:center;gap:13px}.steps b{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--red)}.steps span{font-weight:800}.auth-card{padding:clamp(28px,5vw,64px);overflow:auto}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:24px;padding:4px;border-radius:13px;background:#eceef2}.tabs button{min-height:46px;border:0;border-radius:10px;background:transparent;color:#666;font-weight:900;cursor:pointer}.tabs button.active{background:var(--ink);color:#fff}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid.one{grid-template-columns:1fr}.form-grid label{display:block}.form-grid label>span{display:block;margin:0 0 7px;color:#2a2d33;font-size:13px;font-weight:900}.form-grid small{color:#999}.form-grid label b{color:var(--red)}input,select,textarea{width:100%;border:1px solid #cfd2d8;border-radius:11px;background:#fff;color:var(--ink);outline:none}input,select{min-height:48px;padding:0 13px}textarea{padding:12px 13px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(242,23,11,.1)}.full{grid-column:1/-1}.upload{padding:12px;border:1px dashed #b9bdc7;border-radius:12px;background:#fafafa}.upload input{min-height:35px;padding:5px;border:0}.check{display:flex!important;align-items:flex-start;gap:10px;padding:12px;border-radius:11px;background:#fff7f6}.check input{width:19px;min-height:19px}.supplier-type{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;border:1px solid var(--line);border-radius:13px}.supplier-type button{min-height:42px;border:0;border-radius:9px;font-weight:900}.supplier-type button.active{background:var(--red);color:#fff}.text-link{color:var(--red);font-weight:800;text-align:center}.message{margin:12px 0;padding:12px 14px;border:1px solid #ffd0cd;border-radius:11px;background:#fff2f1;color:#a91a12;font-weight:800;line-height:1.6}.message.success{border-color:#bfe9d0;background:#effbf4;color:#087638}.turnstile{min-height:65px}.portal-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}.sidebar{position:sticky;top:96px;padding:16px;border-radius:22px;background:#111;color:#fff;box-shadow:var(--shadow)}.sidebar.admin{background:linear-gradient(160deg,#111,#251010)}.supplier-card{display:flex;align-items:center;gap:12px;padding:6px 4px 18px;border-bottom:1px solid #333}.supplier-card>div:last-child{min-width:0}.supplier-card b,.supplier-card span{display:block}.supplier-card b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.avatar{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:14px;background:var(--red);color:#fff;font-weight:1000}.status{margin-top:5px;color:#ffc15d;font-size:11px;font-weight:900}.status.approved{color:#62e69a}.sidebar nav{display:grid;gap:5px;padding:14px 0}.sidebar nav button,.logout{width:100%;min-height:44px;border:0;border-radius:10px;padding:0 13px;background:transparent;color:#ddd;text-align:start;font-weight:850;cursor:pointer}.sidebar nav button:hover,.sidebar nav button.active{background:#fff;color:#111}.logout{margin-top:8px;border:1px solid #5b2b28;color:#ff837d}.workspace{min-width:0}.panel{display:none;min-height:600px;padding:clamp(20px,3vw,36px);border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 14px 42px rgba(15,18,25,.07)}.panel.active{display:block}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.panel-head h2{margin:4px 0 7px;font-size:clamp(25px,3vw,36px)}.panel-head p{margin:0;color:var(--muted);line-height:1.7}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat{padding:20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#fff,#fafafa)}.stat span,.stat b{display:block}.stat span{color:var(--muted);font-size:12px;font-weight:800}.stat b{margin-top:9px;font-size:28px}.banner{margin-top:24px;padding:24px;border-radius:18px;background:#111;color:#fff}.banner.warn{background:linear-gradient(130deg,#7b4400,#b36d00)}.banner.success{background:linear-gradient(130deg,#075d32,#0f9550)}.slug-box{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:end}.slug-box label{display:block}.slug-box label>span{display:block;margin-bottom:7px;font-weight:900}.slug-input{display:flex;align-items:center;border:1px solid #cfd2d8;border-radius:11px;overflow:hidden;direction:ltr}.slug-input input{border:0;border-radius:0}.slug-input b{padding:0 12px;color:#666;white-space:nowrap;font-size:13px}.price-preview{padding:15px;border-radius:13px;background:#effbf4;color:#087638;font-weight:900}.locked{padding:55px 25px;border:1px dashed #ccc;border-radius:18px;text-align:center;background:#fafafa}.locked b{font-size:24px}.locked p{color:var(--muted)}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.product-card{padding:16px;border:1px solid var(--line);border-radius:15px}.product-card h3{margin:0 0 9px;font-size:16px}.product-card dl{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0;color:#666;font-size:12px}.product-card .pill{display:inline-flex;margin-top:10px}.pill{padding:5px 9px;border-radius:999px;background:#f1f1f3;font-size:11px;font-weight:900}.map{height:380px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#e7e9ec}.notice{padding:14px;border-radius:12px;font-weight:800;line-height:1.7}.notice.danger{border:1px solid #ffc7c3;background:#fff2f1;color:#a61b13}.notice.success{border:1px solid #bce8cd;background:#effbf4;color:#087638}.wallet-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.wallet-value{padding:20px;border-radius:16px;background:#111;color:#fff}.wallet-value.primary-value{background:linear-gradient(135deg,var(--red),#a90d06)}.wallet-value span,.wallet-value b{display:block}.wallet-value b{margin-top:8px;font-size:27px}.ledger{margin-top:22px}.cards-note{margin-top:24px;padding:18px;border:1px solid #f2d48c;border-radius:14px;background:#fff9e8}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:15px}.data-table{width:100%;border-collapse:collapse;min-width:900px}.data-table th,.data-table td{padding:12px;border-bottom:1px solid var(--line);text-align:start;vertical-align:middle;font-size:13px}.data-table th{position:sticky;top:0;background:#f3f4f6;font-size:11px;text-transform:uppercase}.row-actions{display:flex;gap:5px;flex-wrap:wrap}.row-actions button{min-height:32px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:11px;font-weight:900;cursor:pointer}.row-actions .approve{border-color:#93d5af;color:#087638}.row-actions .reject{border-color:#ffb3ae;color:#b3130b}.store-hero{padding:clamp(38px,7vw,90px);border-radius:28px;background:linear-gradient(140deg,#0a0a0a,#26100f);color:#fff;text-align:center}.store-logo{width:86px;height:86px;object-fit:cover;border-radius:23px;background:#fff}.store-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}.store-product{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}.store-product img{width:100%;aspect-ratio:1;object-fit:cover}.store-product div{padding:13px}.store-product h3{margin:0 0 8px;font-size:15px}.store-product a{color:var(--red);font-weight:900}footer{display:flex;justify-content:center;gap:24px;padding:24px;border-top:1px solid var(--line);background:#fff;color:#666;font-size:13px}footer a{color:var(--red)}
@media(max-width:1050px){.auth-layout{grid-template-columns:1fr}.auth-intro{min-height:360px}.portal-layout{grid-template-columns:220px minmax(0,1fr)}.stats,.wallet-summary{grid-template-columns:repeat(2,1fr)}.cards-grid,.store-products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.topbar{min-height:62px;padding:8px 12px}.brand b{display:none}.top-actions .ghost:last-child{display:none}.app-shell{padding:12px 8px 45px}.auth-layout{min-height:auto;border-radius:18px}.auth-intro{min-height:330px;padding:35px 25px}.auth-intro h1{font-size:38px}.auth-intro:after{inset:14px}.auth-card{padding:24px 16px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.portal-layout{display:block}.sidebar{position:relative;top:auto;margin-bottom:12px;padding:10px;border-radius:16px}.supplier-card{padding:2px 2px 9px}.sidebar nav{display:flex;overflow-x:auto;padding:8px 0;scrollbar-width:none}.sidebar nav button{flex:0 0 auto;width:auto;white-space:nowrap}.logout{min-height:38px}.panel{min-height:520px;padding:17px 13px;border-radius:16px}.panel-head{display:block}.panel-head .primary,.panel-head .secondary{margin-top:12px}.stats,.wallet-summary{grid-template-columns:1fr 1fr}.slug-box{grid-template-columns:1fr 1fr}.slug-box label,.slug-box .message{grid-column:1/-1}.slug-input b{font-size:10px;padding:0 7px}.cards-grid,.store-products{grid-template-columns:1fr 1fr;gap:8px}.product-card{padding:11px}.map{height:300px}footer{display:grid;text-align:center}}
@media(max-width:420px){.stats,.wallet-summary,.cards-grid,.store-products{grid-template-columns:1fr}.top-actions .ghost{padding:0 11px}.auth-intro h1{font-size:32px}}
.link-button{border:0;background:transparent;cursor:pointer;font:inherit}.reset-card{width:min(580px,100%);padding:clamp(24px,5vw,48px);border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow)}.reset-card h1{margin:8px 0 10px}.reset-card>p{color:var(--muted);line-height:1.7}.section-gap{margin-top:24px}
