/* variables */
:root{--black:#050505;--ink:#151515;--muted:#777;--line:#e7e7e7;--soft:#f5f5f5;--white:#fff;--pink:#ff2f68;--pink-soft:#ff8fb0;--orange:#ff4b22;--blue:#0b83ff;--green:#12a862;--shadow:0 10px 30px rgba(0,0,0,.08);--radius:10px;--container:1370px;--font:Arial,Helvetica,sans-serif}

/* reset/base */
*{box-sizing:border-box}html{font-size:16px}body{margin:0;font-family:var(--font);color:var(--ink);background:#f6f6f6;line-height:1.45}a{color:inherit;text-decoration:none}a:hover{color:var(--pink)}img{max-width:100%;display:block}button,input,textarea,select{font:inherit}button{cursor:pointer}.container{width:min(var(--container),calc(100% - 32px));margin:0 auto}.main-content{min-height:58vh}.section{padding:36px 0}.compact-section{padding-top:10px}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 1px 0 rgba(0,0,0,.02)}.eyebrow{margin:0 0 8px;color:var(--pink);font-size:12px;text-transform:uppercase;letter-spacing:.08em}.note,.meta{color:var(--muted);font-size:13px}.center-actions{text-align:center;margin:34px 0}.empty-state{padding:34px;text-align:center;color:var(--muted)}

/* header */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}.header-utility{background:#fff;color:#777;font-size:14px}.utility-inner{height:38px;display:flex;justify-content:space-between;align-items:center}.header-switchers,.utility-links,.header-icons{display:flex;align-items:center;gap:14px}.utility-links a,.logout-form button{color:#777;border:0;background:transparent;padding:0}.utility-links a:not(:last-child),.logout-form{border-right:1px solid #ddd;padding-right:12px}.user-chip{display:inline-flex;align-items:center;gap:6px;color:#333}.role-badge{font-size:10px;border:1px solid var(--line);border-radius:99px;padding:2px 7px}.switcher{position:relative}.switcher summary{list-style:none;display:flex;gap:6px;align-items:center;cursor:pointer}.switcher summary::-webkit-details-marker{display:none}.switcher summary:after{content:'⌄';font-size:12px;color:#888}.switcher-menu{position:absolute;top:28px;left:0;min-width:190px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);z-index:80;padding:8px}.switcher-menu.wide{min-width:270px}.switcher-menu a{display:flex;justify-content:space-between;gap:14px;padding:8px 10px;color:#333}.switcher-menu a.active,.switcher-menu a:hover{background:#f7f7f7;color:var(--pink)}.header-main{height:84px;display:grid;grid-template-columns:180px 48px 1fr 210px;gap:22px;align-items:center}.brand{display:inline-flex;align-items:center}.brand img{width:96px;height:auto;background:#000}.mobile-menu-button{height:40px;border:1px solid #d6dbe1;background:#f7f8fa;border-radius:4px;font-size:22px;color:#555}.search-box{display:grid;grid-template-columns:1fr 48px;max-width:640px}.search-box input{height:39px;border:1px solid #aaa;padding:0 14px}.search-box button{height:39px;background:#111;color:#fff;border:1px solid #111;font-size:22px}.header-icons{justify-content:flex-end}.header-icons a,.header-icons button{position:relative;border:0;background:transparent;font-size:25px;color:#555;line-height:1}.header-icons button span{position:absolute;top:-7px;right:-8px;background:var(--pink);color:#fff;border-radius:99px;font-size:10px;padding:1px 5px}.category-nav{background:var(--black);color:#fff}.category-scroll{display:flex;gap:26px;align-items:center;overflow-x:auto;white-space:nowrap;height:42px;font-size:13px}.category-scroll a{color:#fff}.category-scroll a:hover{color:#ffb6c9}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 18px;border-radius:4px;border:1px solid transparent;font-weight:700;font-size:14px}.btn-dark{background:#111;color:#fff}.btn-dark:hover{background:#333;color:#fff}.btn-outline{background:#fff;color:#111;border-color:#cfcfcf}.btn-outline:hover{border-color:#111;color:#111}.btn-light{background:#fff;color:#111}.btn-pink{background:var(--pink);color:#fff;border-color:var(--pink);border-radius:999px}.btn-pink:hover{background:#e81854;color:#fff}.btn-blue{background:var(--blue);color:#fff;border-color:var(--blue);border-radius:999px}.full{width:100%}

/* home */
.home-hero{background:#eee;padding:16px 0 22px}.hero-market{display:grid;grid-template-columns:300px 1fr 300px;gap:16px}.hero-side{display:grid;gap:10px}.banner-tile,.hero-banner{border-radius:6px;overflow:hidden;min-height:86px;display:flex;align-items:flex-end;padding:14px;color:#fff;background:#ddd;position:relative}.banner-tile:before,.hero-banner:before,.mock-image:before,.shop-cover:before,.bubble-image:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 25% 20%,rgba(255,255,255,.45),transparent 28%),linear-gradient(135deg,rgba(255,255,255,.2),transparent 45%)}.hero-banner{min-height:250px;align-items:center;justify-content:center;text-align:center;flex-direction:column}.hero-banner h1{font-size:46px;line-height:1;margin:8px 0;color:#fff}.trend-label{font-size:22px;font-style:italic;color:#fff}.category-rail{display:flex;gap:28px;align-items:flex-start;overflow-x:auto;background:#f6f6f6;padding:22px 0}.category-bubble{width:112px;text-align:center;color:#555;font-size:13px;flex:0 0 auto}.bubble-image{width:92px;height:92px;border-radius:50%;margin:0 auto 8px;display:grid;place-items:center;color:#111;font-size:36px;font-weight:800;position:relative;overflow:hidden;background:#fff}.section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.section-title h2{margin:0;font-size:22px}.section-title span{color:#888;font-size:13px}.shein-product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:28px 24px}.product-card{min-width:0}.product-image-link{display:block}.mock-image{position:relative;aspect-ratio:1/1.08;border-radius:5px;overflow:hidden;display:grid;place-items:center;background:#d7e8ff;color:#111;font-weight:900;text-align:center}.mock-image span{position:relative;z-index:1;max-width:80%;font-size:22px;line-height:1.1}.mock-blue{background:linear-gradient(135deg,#b7dbff,#eef7ff)}.mock-pink{background:linear-gradient(135deg,#ffc5d6,#fff0f4)}.mock-green{background:linear-gradient(135deg,#c8f5df,#f4fff9)}.mock-orange{background:linear-gradient(135deg,#ffd1a8,#fff3e8)}.mock-purple{background:linear-gradient(135deg,#d4c4ff,#f4f0ff)}.mock-dark{background:linear-gradient(135deg,#111,#393939)}.quick-add{position:absolute;right:9px;bottom:9px;z-index:2;width:33px;height:33px;border-radius:50%;border:1px solid #ddd;background:#fff;color:#222;font-size:24px;line-height:1}.quick-add:hover{background:#111;color:#fff}.product-content{padding-top:8px}.product-content h3{margin:0 0 7px;font-size:14px;font-weight:400;line-height:1.35;min-height:38px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.price-row{display:flex;align-items:center;gap:9px;color:var(--orange);font-size:14px}.price-row strong{font-size:16px}.price-row del{color:#999}.product-mini-actions{display:flex;gap:10px;margin-top:6px;font-size:12px;color:#777}.copy-inline{margin-top:7px;border:0;background:transparent;color:#777;padding:0;font-size:12px;text-decoration:underline}.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.shop-cover{height:110px;border-radius:var(--radius) var(--radius) 0 0;position:relative;overflow:hidden}.shop-content{padding:18px}.shop-content h3{margin:8px 0}.shop-metrics{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;color:#777;font-size:12px}.card-actions,.role-links,.product-actions{display:flex;flex-wrap:wrap;gap:10px}.status{display:inline-flex;border-radius:999px;background:#eefbf3;color:#16824a;padding:4px 9px;font-size:12px}.status.offline{background:#f5f5f5;color:#777}

/* product */
.product-page{padding:18px 0 28px}.breadcrumb{display:flex;gap:8px;color:#777;font-size:12px;margin-bottom:12px}.product-detail{display:grid;grid-template-columns:minmax(0,760px) minmax(330px,480px);gap:28px;align-items:start}.product-gallery{display:grid;grid-template-columns:74px 1fr;gap:14px}.thumb-list{display:grid;gap:10px;align-content:start}.thumb{aspect-ratio:1;border:1px solid var(--line);border-radius:4px;background:#f2f2f2;overflow:hidden;font-size:11px}.thumb.active{border-color:#111}.product-hero-image{aspect-ratio:1/1.2;border-radius:0}.product-buybox{padding:24px;position:sticky;top:170px}.product-buybox h1{font-size:21px;line-height:1.3;margin:0 0 8px}.rating-line{font-size:13px;color:#f3a600}.rating-line span{color:#777}.large strong{font-size:34px;color:#111}.stock-note{background:#e9fbef;color:#25764a;padding:9px 12px;font-size:13px}.option-block{margin:18px 0}.chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.chip{border:1px solid var(--line);padding:7px 12px;border-radius:999px;font-size:13px}.chip.active{border-color:#111;color:#111}.quantity{display:inline-grid;grid-template-columns:38px 64px 38px;border:1px solid var(--line);height:40px;margin:8px 0 14px}.quantity button{border:0;background:#f8f8f8}.quantity input{border:0;text-align:center}.buy-form label{display:grid;gap:6px;font-size:13px}.buy-form textarea{border:1px solid var(--line);padding:10px;resize:vertical}.shipping-list{margin-top:20px;background:#f7f7f7}.shipping-list details{border-bottom:1px solid #e2e2e2;padding:12px}.shipping-list summary{font-weight:700;cursor:pointer}.shipping-list p{margin:8px 0 0;color:#666;font-size:13px}.product-description-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:18px}.panel{padding:22px}.panel h2{margin-top:0}.review-score strong{font-size:42px}.review-score span{color:#f3a600}

/* auth/forms */
.auth-split{min-height:520px;display:grid;grid-template-columns:minmax(300px,470px) minmax(320px,480px);gap:80px;justify-content:center;align-items:center;background:#f3f4f6;padding:72px 24px}.auth-promo h1{font-size:40px;line-height:1.25;margin:0 0 60px;font-weight:900}.auth-promo p{font-size:20px;line-height:1.5}.auth-card{padding:30px}.auth-card h1{font-size:26px;margin:0 0 28px}.auth-card label,.register-card label{display:grid;gap:7px;margin-bottom:10px;color:#777}.auth-card input,.register-card input{height:41px;border:1px solid #cfd6df;padding:0 12px}.password-field{display:grid;grid-template-columns:1fr 56px;align-items:center}.password-field input{min-width:0}.password-field button{height:41px;border:1px solid #cfd6df;border-left:0;background:#fff;color:#777}.form-row{display:flex;justify-content:space-between;align-items:center;margin:10px 0 18px;color:#777;font-size:14px}.check-row{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px}.check-row input{width:16px;height:16px}.form-alt{text-align:center;color:#777}.form-message{display:grid;gap:4px;background:#edf9f1;color:#167244;border:1px solid #bde8ca;padding:10px;margin-bottom:14px}.form-message.error,.chat-error{background:#fff0f3;color:#be1747;border-color:#ffc4d3}.register-page{min-height:780px;background:#f3f4f6;display:grid;place-items:start center;padding:34px 16px}.register-card{width:min(520px,100%);padding:34px 34px 42px}.register-card h1{font-size:24px;margin:28px 0 12px}.register-card p{color:#777}.register-card a{color:var(--pink)}.back-link{font-size:42px;color:#555!important}.wide-label{grid-template-columns:120px 1fr!important;align-items:center;color:#222!important}.verify-tabs{margin:24px 0;color:#777}.verify-tabs div{display:flex;gap:18px;margin-top:22px}.verify-tabs button{border:0;background:#fff;padding:9px 16px;border-radius:4px}.verify-tabs button.active{background:var(--pink);color:#fff}.terms-row{margin:22px 0!important;color:#888!important}

/* dashboards/tables */
.role-page{padding:34px 0}.role-hero{padding:28px;margin-bottom:20px;background:linear-gradient(135deg,#fff,#f7f7f7)}.role-hero h1{margin:0 0 8px;font-size:32px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.stat{padding:18px}.stat strong{display:block;font-size:24px}.stat span{color:#777}table{width:100%;border-collapse:collapse;background:#fff}th,td{text-align:left;border-bottom:1px solid var(--line);padding:12px 14px;font-size:14px}th{background:#111;color:#fff;font-weight:700}.badge{display:inline-flex;border-radius:999px;padding:4px 9px;background:#f2f2f2;font-size:12px}.status-completed,.status-paid{background:#e7f8ef;color:#10763f}.status-pending{background:#fff7df;color:#9a6700}.status-cancelled{background:#fff0f3;color:#be1747}

/* chat */
.chat-page{padding:34px 0}.chat-shell{display:grid;grid-template-columns:320px 1fr;min-height:650px;overflow:hidden}.chat-aside{background:#111;color:#fff;padding:24px}.chat-aside .note{color:#bbb}.conversation-list{display:grid;gap:10px;margin-top:20px}.conversation-link{display:grid;gap:4px;color:#ddd;border:1px solid #333;border-radius:8px;padding:12px}.conversation-link.active,.conversation-link:hover{background:#fff;color:#111}.conversation-link span,.conversation-link small{font-size:12px;color:inherit;opacity:.75}.chat-main{display:grid;grid-template-rows:auto 1fr auto auto;background:#f7f7f7}.chat-heading{display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid var(--line);padding:18px 22px}.chat-heading h2{margin:5px 0 0}.messages{padding:24px;overflow:auto;display:flex;flex-direction:column;gap:12px;max-height:520px}.message{max-width:70%;padding:11px 14px;border-radius:16px;background:#fff;border:1px solid var(--line)}.message.user{align-self:flex-end;background:#111;color:#fff}.message p{margin:0 0 6px}.message time{font-size:11px;opacity:.65}.chat-form{display:grid;grid-template-columns:1fr 110px;gap:10px;background:#fff;border-top:1px solid var(--line);padding:16px}.chat-form textarea{border:1px solid var(--line);border-radius:8px;padding:12px;resize:vertical}.chat-error{margin:0;padding:10px 16px}

/* toast */
.toast{position:fixed;right:22px;bottom:22px;z-index:100;background:#111;color:#fff;padding:12px 16px;border-radius:8px;box-shadow:var(--shadow)}.toast.error{background:#be1747}

/* responsive */
@media (max-width:1100px){.hero-market{grid-template-columns:1fr}.hero-side{grid-template-columns:repeat(3,1fr)}.shein-product-grid{grid-template-columns:repeat(4,1fr)}.product-detail{grid-template-columns:1fr}.product-buybox{position:static}.stat-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:820px){.utility-inner{height:auto;gap:10px;padding:8px 0;align-items:flex-start}.utility-inner,.header-main{display:flex;flex-wrap:wrap}.header-main{height:auto;padding:12px 0}.brand img{width:82px}.search-box{order:4;flex:1 0 100%;max-width:none}.header-icons{margin-left:auto}.category-nav{display:none}.category-nav.open{display:block}.category-scroll{height:auto;padding:10px 0;align-items:flex-start}.shein-product-grid{grid-template-columns:repeat(2,1fr);gap:22px 14px}.shop-grid,.product-description-grid,.auth-split,.chat-shell{grid-template-columns:1fr}.auth-split{gap:28px;padding:38px 18px}.auth-promo h1{font-size:30px;margin-bottom:18px}.chat-shell{min-height:auto}.chat-aside{border-radius:10px 10px 0 0}.message{max-width:88%}.wide-label{grid-template-columns:1fr!important}.product-gallery{grid-template-columns:1fr}.thumb-list{grid-template-columns:repeat(5,1fr)}}
@media (max-width:520px){.container{width:min(100% - 22px,var(--container))}.header-icons a,.header-icons button{font-size:20px}.hero-banner h1{font-size:34px}.hero-side{grid-template-columns:1fr}.category-rail{gap:16px}.category-bubble{width:86px}.bubble-image{width:72px;height:72px}.shein-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 10px}.product-content h3{font-size:12px}.mock-image span{font-size:17px}.auth-card,.register-card{padding:24px 18px}.stat-grid{grid-template-columns:1fr}.chat-form{grid-template-columns:1fr}.product-actions .btn{width:100%}}


/* phase 9b footer, icons, polish */
.fa-solid,.fa-regular,.fa-brands{display:inline-block;min-width:1em;text-align:center}.btn i,.utility-links i,.category-scroll i,.product-mini-actions i,.copy-inline i,.shop-metrics i,.status i,.stat i,.footer-column i,.footer-social i{margin-right:7px}.header-icons i{margin:0}.mobile-menu-button i{margin:0}.product-meta-row.mini{display:flex;gap:10px;flex-wrap:wrap;color:#777;font-size:12px;margin:0 0 6px}.product-meta-row.mini i{color:#f5a400;margin-right:4px}.site-footer{background:#1f2028;color:#d7d7df;margin-top:54px;border-top:1px solid #2c2d36}.footer-main{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:34px;padding:48px 0 40px}.footer-logo{width:96px;background:#000;margin-bottom:14px}.footer-brand p,.footer-column p,.footer-note{color:#aeb0bb;font-size:13px;line-height:1.7;margin:0 0 10px}.footer-column{display:flex;flex-direction:column;gap:9px}.footer-column h3{display:flex;align-items:center;gap:8px;color:#fff;font-size:15px;margin:0 0 8px}.footer-column a{color:#d7d7df;font-size:13px}.footer-column a:hover{color:#fff;text-decoration:underline}.footer-social,.payment-icons{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.footer-social a{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#11131a;color:#fff;border:1px solid #343641}.footer-social a:hover{background:var(--pink);color:#fff}.payment-icons i{font-size:28px;color:#fff;margin:0 8px 0 0}.footer-bottom{border-top:1px solid #343641;background:#171820;color:#aeb0bb;font-size:12px}.footer-bottom .container{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px 0}.footer-note{padding-top:8px}.shop-profile-hero{display:grid;grid-template-columns:260px 1fr;gap:24px;align-items:center}.shop-profile-hero .shop-cover{height:180px;border-radius:10px}.switcher summary i{margin-right:2px}.utility-links a,.logout-form button{display:inline-flex;align-items:center;gap:4px}.category-scroll a{display:inline-flex;align-items:center}.shipping-list summary i{margin-right:8px}.rating-line i{margin-right:3px}.rating-line a i{margin-left:8px;color:#777}.quick-add i{margin:0;font-size:14px}.btn{white-space:nowrap}.table-card{overflow:auto}.table-card table,.panel table{min-width:720px}.form-message span{display:block}
@media (max-width:1100px){.footer-main{grid-template-columns:repeat(3,1fr)}.footer-brand{grid-column:1/-1}.shop-profile-hero{grid-template-columns:1fr}}
@media (max-width:720px){.footer-main{grid-template-columns:1fr;padding:34px 0}.footer-bottom .container{flex-direction:column;align-items:flex-start}.site-footer{margin-top:34px}.footer-social a{width:32px;height:32px}.payment-icons i{font-size:25px}.shop-profile-hero .shop-cover{height:140px}}

/* phase 9c role UX and dashboard polish */
.role-nav{background:#15151c}.role-nav .category-scroll{gap:14px}.role-nav a{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:8px 13px}.role-nav a:hover{background:#fff;color:#15151c}.role-page{padding-top:42px}.role-hero{border:0;box-shadow:0 18px 45px rgba(15,18,32,.08);border-radius:18px}.role-hero h1{letter-spacing:-.025em}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:20px}.section-title{gap:14px;flex-wrap:wrap}.section-title h1,.section-title h2{text-wrap:balance}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.stat{border:0;border-radius:16px;box-shadow:0 12px 28px rgba(18,20,28,.06)}.stat strong{font-variant-numeric:tabular-nums}.panel{border:0;border-radius:16px;box-shadow:0 12px 28px rgba(18,20,28,.06)}.table-card{border:0;border-radius:16px;box-shadow:0 12px 28px rgba(18,20,28,.06);overflow:auto}.action-row{display:flex;gap:8px;flex-wrap:wrap}.manual-badge{background:#fff1d6;color:#8a5a00;border:1px solid #ffd58a;margin-top:6px}.admin-order-form label{font-weight:700;color:#333}.admin-order-form input,.admin-order-form select,.admin-order-form textarea{width:100%;border:1px solid #d8dce3;border-radius:8px;padding:11px 12px;background:#fff;margin-top:6px}.form-grid{display:grid;gap:18px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.span-two{grid-column:1/-1}.form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.shop-profile-hero{background:linear-gradient(135deg,#fff,#f8f5f6)}.shop-profile-hero h1{font-size:36px;margin-bottom:10px}.shop-profile-hero .meta{display:flex;gap:14px;flex-wrap:wrap}.shop-profile-hero .shop-cover{box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),0 20px 40px rgba(0,0,0,.12)}
@media(max-width:900px){.dashboard-grid,.form-grid.two{grid-template-columns:1fr}.role-nav .category-scroll{align-items:flex-start}.role-nav a{flex:0 0 auto}.role-page{padding-top:26px}}

/* phase 9d final UX polish */
.header-main{grid-template-columns:180px 1fr 210px}.mobile-menu-button{display:none}.product-card{background:#fff;border-radius:8px;overflow:hidden}.shein-product-grid{grid-template-columns:repeat(auto-fill,minmax(185px,1fr));align-items:start}.product-grid:not(.shein-product-grid){display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:22px}.product-content h3{min-height:40px}.product-note,.product-chat-box{border:1px solid var(--line);background:#fbfbfb;border-radius:10px;padding:12px 14px;margin:16px 0;color:#555;font-size:13px}.product-chat-box h2{font-size:16px;margin:0 0 8px}.product-chat-box p{margin:0 0 10px}.chat-aside h1,.chat-heading h2{letter-spacing:-.02em}.message{box-shadow:0 8px 18px rgba(18,20,28,.05)}.message.user{background:#15151c}.chat-main{min-width:0}.messages{scroll-behavior:smooth}.btn,.header-icons a,.header-icons button,.category-scroll a,.conversation-link,.product-card{transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}.btn:active,.quick-add:active{transform:translateY(1px) scale(.98)}.btn:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--pink);outline-offset:2px}.status-pending{background:#fff7df;color:#9a6700}.status-confirmed{background:#e7f0ff;color:#2752a0}.status-shipped{background:#e9f8ff;color:#006d9b}.status-completed{background:#e7f8ef;color:#10763f}.status-cancelled{background:#fff0f3;color:#be1747}.admin-toolbar{padding:14px;margin-bottom:16px}.dashboard-head{padding:26px 0}.dashboard-head h1{margin:0 0 8px}.activity{padding-left:18px;line-height:1.8}.table-card td,.table-card th{vertical-align:top}.mock-image{min-height:190px}.quick-add{box-shadow:0 8px 18px rgba(0,0,0,.12)}
@media (min-width:821px){.category-nav{display:block!important}.mobile-menu-button{display:none!important}}
@media (max-width:820px){.header-main{display:grid;grid-template-columns:110px 44px 1fr;gap:10px}.mobile-menu-button{display:inline-flex;align-items:center;justify-content:center}.brand img{width:86px}.header-icons{grid-column:3;justify-content:flex-end}.search-box{grid-column:1/-1;order:initial}.category-nav{display:none}.category-nav.open{display:block}.category-scroll{display:flex;flex-direction:column;gap:8px}.category-scroll a{width:100%;border-radius:8px}.utility-links{width:100%;justify-content:flex-start;flex-wrap:wrap}.header-switchers{flex-wrap:wrap}.switcher-menu{position:fixed;left:16px;right:16px;top:54px;max-height:70vh;overflow:auto}.shein-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid:not(.shein-product-grid){grid-template-columns:repeat(2,minmax(0,1fr))}.mock-image{min-height:150px}.chat-shell{grid-template-columns:1fr}.messages{max-height:58vh}.chat-heading{gap:10px;align-items:flex-start}.chat-heading .btn{width:auto}.table-card table,.panel table{min-width:680px}}
@media (max-width:480px){.product-grid:not(.shein-product-grid),.shein-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.product-mini-actions{flex-direction:column;gap:4px}.product-card{border-radius:6px}.mock-image{min-height:130px}.price-row strong{font-size:14px}.footer-main{padding:28px 0}.role-hero h1,.shop-profile-hero h1{font-size:26px}.product-buybox{padding:18px}.product-actions .btn{min-height:44px}.header-icons{gap:8px}.header-icons a,.header-icons button{font-size:17px}.utility-inner{font-size:13px}}

/* phase 9e loading screen */
.loading-page{position:relative;min-height:calc(100vh - 190px);display:grid;place-items:center;overflow:hidden;padding:56px 16px;background:radial-gradient(circle at 20% 20%,rgba(255,47,104,.18),transparent 32%),radial-gradient(circle at 78% 18%,rgba(255,75,34,.14),transparent 30%),linear-gradient(135deg,#fff 0%,#fff7fa 48%,#fff0f3 100%)}
.loading-card{position:relative;z-index:1;width:min(460px,100%);text-align:center;background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.75);border-radius:28px;box-shadow:0 24px 80px rgba(255,47,104,.18),0 10px 28px rgba(18,20,28,.08);padding:42px 30px;backdrop-filter:blur(14px)}
.loading-logo-wrap{width:132px;height:132px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 12px 32px rgba(18,20,28,.08);animation:loadingPulse 1.9s ease-in-out infinite}
.loading-logo{width:92px;height:auto}
.loading-spinner{width:54px;height:54px;margin:8px auto 18px;border-radius:50%;border:4px solid rgba(255,47,104,.16);border-top-color:var(--pink);border-right-color:var(--orange);animation:loadingSpin 1s linear infinite}
.loading-card h1{margin:0 0 8px;font-size:30px;letter-spacing:-.03em;color:var(--ink)}
.loading-card p{margin:0;color:var(--muted);font-size:15px}
.loading-dots{display:flex;justify-content:center;gap:8px;margin:20px 0 18px}
.loading-dots span{width:9px;height:9px;border-radius:50%;background:var(--pink);animation:loadingDot 1.1s ease-in-out infinite}
.loading-dots span:nth-child(2){animation-delay:.16s;background:var(--orange)}
.loading-dots span:nth-child(3){animation-delay:.32s;background:var(--pink-soft)}
.loading-progress{height:8px;border-radius:999px;overflow:hidden;background:#f1d8e0;margin:0 auto 24px;max-width:280px}
.loading-progress span{display:block;width:42%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--pink),var(--orange),var(--pink-soft));animation:loadingProgress 1.8s ease-in-out infinite}
.loading-home-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:158px}
.loading-bg-orb{position:absolute;border-radius:50%;filter:blur(4px);opacity:.52;animation:loadingFloat 5.5s ease-in-out infinite alternate}
.loading-bg-orb.orb-one{width:220px;height:220px;left:max(22px,8vw);top:18%;background:rgba(255,47,104,.20)}
.loading-bg-orb.orb-two{width:280px;height:280px;right:max(18px,9vw);bottom:8%;background:rgba(255,75,34,.16);animation-delay:.8s}
@keyframes loadingSpin{to{transform:rotate(360deg)}}
@keyframes loadingPulse{0%,100%{transform:scale(1);box-shadow:0 12px 32px rgba(18,20,28,.08)}50%{transform:scale(1.045);box-shadow:0 16px 44px rgba(255,47,104,.20)}}
@keyframes loadingDot{0%,80%,100%{transform:translateY(0);opacity:.45}40%{transform:translateY(-8px);opacity:1}}
@keyframes loadingProgress{0%{transform:translateX(-110%)}55%{transform:translateX(60%)}100%{transform:translateX(260%)}}
@keyframes loadingFloat{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(18px,-18px,0) scale(1.05)}}
@media (max-width:640px){.loading-page{min-height:calc(100vh - 150px);padding:34px 14px}.loading-card{padding:34px 22px;border-radius:22px}.loading-logo-wrap{width:112px;height:112px}.loading-logo{width:78px}.loading-card h1{font-size:24px}.loading-spinner{width:46px;height:46px}.loading-bg-orb.orb-one{width:160px;height:160px}.loading-bg-orb.orb-two{width:190px;height:190px}}
/* phase 10 seller/admin rebuild */
body[data-page^="shop"],body[data-page^="admin"]{background:#f6f7fb}.seller-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh;background:#f6f7fb;color:#101828}.seller-sidebar{background:#fff;border-right:1px solid #e8edf4;padding:18px 10px;position:sticky;top:0;height:100vh;overflow:auto}.seller-logo{width:86px;height:86px;background:#c8cccf;color:#fff;display:grid;place-items:center;font-size:20px;margin:0 auto 14px}.seller-profile-links{display:flex;justify-content:center;gap:14px;font-size:14px;margin-bottom:22px}.seller-profile-links a,.seller-profile-links button{border:0;background:transparent;color:#111;display:inline-flex;gap:4px;align-items:center}.seller-identity{font-size:14px;line-height:1.35;margin:0 4px 24px}.seller-identity p{margin:7px 0}.seller-identity span,.seller-stars{color:#7c3cff}.seller-nav{display:grid;gap:4px}.seller-nav a{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:5px;font-size:15px;color:#24304a}.seller-nav a.active,.seller-nav a:hover{background:#eef4ff;color:#101828}.seller-nav em{margin-left:auto;background:#10b981;color:#fff;border-radius:5px;font-size:12px;font-style:normal;padding:1px 6px}.seller-main{min-width:0}.seller-topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#f8f9fb}.seller-topbar>div{display:flex;align-items:center;gap:24px}.seller-topbar a{display:inline-flex;align-items:center;gap:6px}.seller-menu{font-size:28px;border:0;background:transparent}.seller-topbar b{color:#f59e0b}.seller-content{padding:22px 30px 28px}.seller-page-head{margin:0 0 22px}.seller-page-head h1{margin:0 0 8px;font-size:30px}.seller-page-head p,.seller-muted{color:#667085}.seller-verify{height:54px;background:#fff;display:flex;align-items:center;gap:16px;padding:0 28px;margin-bottom:22px}.seller-verify span{font-weight:700;color:#0f6975}.seller-verify button,.seller-dark{background:#303740;color:#fff;border:0;border-radius:4px;padding:12px 22px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px}.seller-stats{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:26px;margin-bottom:28px}.seller-stats.orders{grid-template-columns:repeat(6,minmax(140px,1fr))}.seller-stat{position:relative;min-height:126px;border-radius:5px;padding:22px;color:#fff;overflow:hidden}.seller-stat span{display:block;font-weight:700;margin-bottom:14px}.seller-stat strong{font-size:28px}.seller-stat i{position:absolute;right:24px;top:34px;font-size:54px;opacity:.22}.seller-stat.cyan{background:#19a6b8}.seller-stat.green{background:#28a745}.seller-stat.orange{background:#dd611f}.seller-stat.red{background:#df2f49}.seller-stat.magenta{background:#cf3cc2}.seller-grid{display:grid;gap:22px}.seller-grid.two{grid-template-columns:1fr 1fr}.seller-grid.dashboard{grid-template-columns:1.2fr 1fr 280px}.seller-panel{background:#fff;border:1px solid #edf0f4;border-radius:4px;padding:22px;box-shadow:0 1px 0 rgba(16,24,40,.02);overflow:auto}.seller-panel h2{margin:0 0 18px}.seller-bars{height:260px;display:flex;gap:50px;align-items:end;border-bottom:1px solid #d9dee8;padding:0 36px}.seller-bars span{width:24px;background:#df3d21;color:#1f2937;text-align:center;border-radius:12px 12px 0 0;font-weight:800}.seller-line-chart{height:210px;background:repeating-linear-gradient(to bottom,#d9ebff 0 1px,transparent 1px 32px)}.seller-donut{width:300px;height:300px;border-radius:50%;margin:20px auto;background:conic-gradient(#5870c8 0 96%,#7ac96b 96% 100%);display:grid;place-items:center;position:relative}.seller-donut:after{content:"";width:150px;height:150px;background:#fff;border-radius:50%;position:absolute}.seller-donut span{z-index:1}.seller-package{text-align:center}.seller-package>i{font-size:58px;color:#24304a}.seller-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:22px 0}.seller-shortcuts a{background:#fff;border-radius:6px;min-height:140px;padding:24px;text-align:center;font-weight:700;display:grid;place-items:center}.seller-shortcuts i{font-size:42px;color:#0070c9}.seller-product-row{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}.seller-product-row article{background:#fff;border:1px solid #edf0f4}.seller-product-row p,.seller-product-row strong{display:block;padding:0 12px}.seller-top-cards{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;margin-bottom:24px}.seller-top-cards>*{background:#fff;border:1px solid #edf0f4;border-radius:6px;min-height:120px;display:grid;place-items:center;text-align:center}.seller-top-cards i{font-size:42px;color:#8b95aa}.seller-filterbar{display:flex;align-items:center;gap:14px;margin-bottom:18px;flex-wrap:wrap}.seller-filterbar h2{margin-right:auto}.seller-filterbar input,.seller-filterbar select{border:1px solid #d8deea;border-radius:6px;padding:13px 16px;min-width:220px;background:#fff}.seller-table{width:100%;border-collapse:collapse;font-size:14px}.seller-table th{color:#111827;text-align:left;border-bottom:1px solid #edf0f4;padding:14px 10px;font-weight:800}.seller-table td{border-bottom:1px solid #edf0f4;padding:16px 10px;vertical-align:top}.seller-thumb{width:76px;height:76px;border-radius:3px;display:grid;place-items:center;color:#fff;font-weight:800}.seller-badge{display:inline-flex;background:#eef2ff;color:#344054;border-radius:4px;padding:4px 8px;font-size:12px;font-weight:800}.seller-badge.green{background:#12b76a;color:#fff}.seller-badge.red{background:#f43f5e;color:#fff}.seller-actions{display:flex;gap:10px;flex-wrap:wrap}.seller-actions.inline{gap:6px}.seller-icon{width:38px;height:38px;border:0;border-radius:50%;background:#e0f2fe;color:#0f172a}.seller-storehouse{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px}.seller-store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-height:720px;overflow:auto;padding-right:10px}.seller-store-grid article{position:relative;background:#fff;border-radius:6px;padding-bottom:14px;overflow:hidden}.seller-store-grid article>span{position:absolute;left:8px;top:8px;background:#10b981;color:#fff;font-weight:800;padding:3px 8px;border-radius:3px;z-index:1}.seller-store-grid .mock-image{height:210px}.seller-store-grid h3,.seller-store-grid p,.seller-store-grid a,.seller-store-grid button{margin-left:10px;margin-right:10px}.seller-store-grid b{color:#ff334e}.seller-empty{min-height:120px;display:grid;place-items:center;color:#98a2b3;border:1px dashed #d0d5dd;border-radius:6px}.seller-message{border:1px solid #edf0f4;border-radius:8px;padding:14px;margin-bottom:12px}.seller-copy{text-align:center;background:#fff;border-top:1px solid #e8edf4;padding:18px}.product-comments .review-item{border-top:1px solid var(--line);padding:12px 0}.product-comments .review-item span{color:#f59e0b}.review-form{display:grid;gap:12px;margin-top:14px}.review-form label{display:grid;gap:6px;font-weight:700}.review-form select,.review-form textarea{border:1px solid var(--line);border-radius:8px;padding:10px}
@media(max-width:1100px){.seller-shell{grid-template-columns:1fr}.seller-sidebar{position:relative;height:auto}.seller-stats,.seller-stats.orders,.seller-grid.dashboard,.seller-grid.two,.seller-shortcuts,.seller-top-cards,.seller-storehouse{grid-template-columns:1fr}.seller-product-row,.seller-store-grid{grid-template-columns:repeat(2,1fr)}.seller-topbar{height:auto;gap:14px;padding:16px;flex-wrap:wrap}.seller-content{padding:16px}.seller-table{min-width:900px}}
@media(max-width:560px){.seller-product-row,.seller-store-grid{grid-template-columns:1fr}.seller-filterbar input,.seller-filterbar select{min-width:100%;width:100%}.seller-stat{min-height:100px}.seller-stat strong{font-size:24px}}
/* phase 10b storehouse add */
.seller-dark.disabled,.seller-dark:disabled{background:#98a2b3;cursor:not-allowed;opacity:.72}.seller-store-grid form{margin:0 10px}.seller-store-grid form .seller-dark{margin:0;width:calc(100% - 0px)}

/* phase 10c dashboard polish */
body[data-page^="admin"],body[data-page^="shop"]{background:#f4f6f9;color:#111827}.seller-shell{grid-template-columns:264px minmax(0,1fr);background:#f4f6f9}.seller-sidebar{border-right:1px solid #e4e7ec;box-shadow:8px 0 30px rgba(16,24,40,.035);padding:20px 12px}.seller-logo{border-radius:12px;background:linear-gradient(135deg,#c9ced3,#aeb5bd);font-weight:800;letter-spacing:.04em;box-shadow:0 10px 24px rgba(16,24,40,.08)}.seller-profile-links{padding:0 8px;justify-content:space-between}.seller-profile-links a,.seller-profile-links button{font-weight:700;color:#475467}.seller-identity{background:#fbfcff;border:1px solid #eef2f7;border-radius:14px;padding:14px;margin:0 0 18px}.seller-identity p{margin:8px 0;color:#344054}.seller-identity span,.seller-stars{color:#7a3cff;font-weight:800}.seller-nav{gap:6px}.seller-nav a{border-radius:10px;padding:12px 14px;font-weight:700;transition:background .18s ease,color .18s ease,transform .18s ease}.seller-nav a.active,.seller-nav a:hover{background:#eef4ff;color:#1d4ed8;transform:translateX(2px)}.seller-nav i{width:18px;text-align:center;color:#667085}.seller-nav a.active i,.seller-nav a:hover i{color:#1d4ed8}.seller-topbar{height:70px;background:#fff;border-bottom:1px solid #e8edf4;box-shadow:0 1px 0 rgba(16,24,40,.03);position:sticky;top:0;z-index:30}.seller-topbar a,.seller-topbar span,.seller-topbar strong{font-size:14px;color:#344054}.seller-menu{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;color:#111827}.seller-menu:hover{background:#f2f4f7}.seller-content{padding:28px}.seller-page-head{background:linear-gradient(135deg,#fff,#f8fbff);border:1px solid #edf1f7;border-radius:18px;padding:22px 24px;margin-bottom:22px;box-shadow:0 10px 30px rgba(16,24,40,.04)}.seller-page-head h1{font-size:28px;letter-spacing:-.03em}.seller-verify{border:1px solid #edf1f7;border-radius:16px;box-shadow:0 10px 24px rgba(16,24,40,.035);height:auto;min-height:62px}.seller-verify button,.seller-dark{border-radius:10px;box-shadow:0 8px 18px rgba(48,55,64,.12);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.seller-verify button:hover,.seller-dark:hover{background:#1f2937;color:#fff;transform:translateY(-1px);box-shadow:0 12px 24px rgba(48,55,64,.18)}.seller-stats{gap:18px}.seller-stat{min-height:116px;border-radius:16px;box-shadow:0 14px 30px rgba(16,24,40,.08)}.seller-stat span{font-size:13px;text-transform:none;opacity:.94}.seller-stat strong{letter-spacing:-.03em}.seller-stat.cyan{background:linear-gradient(135deg,#16a6b8,#0e8398)}.seller-stat.green{background:linear-gradient(135deg,#22a447,#15803d)}.seller-stat.orange{background:linear-gradient(135deg,#e56b22,#c2410c)}.seller-stat.red{background:linear-gradient(135deg,#e63252,#be123c)}.seller-stat.magenta{background:linear-gradient(135deg,#d946c6,#a21caf)}.seller-panel{border-radius:18px;border-color:#edf1f7;box-shadow:0 12px 30px rgba(16,24,40,.045);padding:24px}.seller-panel h2{font-size:20px;letter-spacing:-.02em;color:#111827}.seller-grid.dashboard{align-items:start}.seller-donut{box-shadow:inset 0 0 0 1px rgba(88,112,200,.08)}.seller-shortcuts a{border:1px solid #edf1f7;border-radius:18px;box-shadow:0 10px 24px rgba(16,24,40,.035);transition:transform .18s ease,box-shadow .18s ease}.seller-shortcuts a:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(16,24,40,.08);color:#111827}.seller-top-cards>*{border-radius:18px;box-shadow:0 10px 24px rgba(16,24,40,.035);padding:18px}.seller-filterbar{background:#fbfcff;border:1px solid #edf1f7;border-radius:14px;padding:14px}.seller-filterbar input,.seller-filterbar select{border-color:#d9e1ec;border-radius:10px;color:#344054}.seller-filterbar input:focus,.seller-filterbar select:focus{outline:2px solid #bfdbfe;border-color:#60a5fa}.seller-table{font-size:14px}.seller-table th{background:#f8fafc;color:#475467;white-space:nowrap}.seller-table th:first-child{border-radius:10px 0 0 10px}.seller-table th:last-child{border-radius:0 10px 10px 0}.seller-table tr{transition:background .16s ease}.seller-table tbody tr:hover{background:#fbfcff}.seller-table td{color:#344054}.seller-badge{border-radius:999px;padding:5px 10px}.seller-actions.inline{align-items:center}.seller-icon{background:#eff6ff;color:#1d4ed8;transition:transform .16s ease,background .16s ease}.seller-icon:hover{background:#dbeafe;transform:translateY(-1px)}.seller-storehouse{align-items:start}.seller-store-grid{gap:18px}.seller-store-grid article{border:1px solid #edf1f7;border-radius:16px;box-shadow:0 10px 24px rgba(16,24,40,.04)}.seller-store-grid article>span{border-radius:999px}.seller-store-grid .mock-image{border-radius:0;min-height:190px}.seller-store-grid h3{min-height:42px;color:#111827}.seller-empty{background:#fbfcff}.seller-message{background:#fbfcff;border-radius:14px}.seller-copy{color:#667085}.form-message{border-radius:12px;border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;padding:12px 14px;margin-bottom:16px}.form-message.error{border-color:#fecdd3;background:#fff1f2;color:#be123c}.admin-order-form,.auth-card form,.product-form{background:#fff;border:1px solid #edf1f7;border-radius:18px;box-shadow:0 12px 30px rgba(16,24,40,.045);padding:22px}.admin-order-form input,.admin-order-form select,.admin-order-form textarea,.product-form input,.product-form select,.product-form textarea{border-radius:10px;border:1px solid #d9e1ec;padding:12px}.table-card.card,.role-hero.card,.panel.card{border-radius:18px;box-shadow:0 12px 30px rgba(16,24,40,.045)}
@media(max-width:1180px){.seller-stats.orders{grid-template-columns:repeat(2,minmax(0,1fr))}.seller-grid.dashboard{grid-template-columns:1fr}.seller-store-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.seller-shell{grid-template-columns:1fr}.seller-sidebar{position:relative;height:auto;max-height:none}.seller-topbar{position:relative}.seller-topbar>div{flex-wrap:wrap;gap:12px}.seller-content{padding:18px}.seller-stats,.seller-stats.orders,.seller-top-cards,.seller-shortcuts,.seller-storehouse,.seller-grid.two{grid-template-columns:1fr}.seller-store-grid,.seller-product-row{grid-template-columns:repeat(2,minmax(0,1fr))}.seller-table{min-width:860px}.seller-panel{overflow:auto}.seller-page-head h1{font-size:24px}}
@media(max-width:560px){.seller-store-grid,.seller-product-row{grid-template-columns:1fr}.seller-content{padding:14px}.seller-sidebar{padding:14px 10px}.seller-topbar{padding:12px}.seller-stat{min-height:104px}.seller-stat i{font-size:42px}.seller-filterbar{padding:12px}.seller-filterbar input,.seller-filterbar select,.seller-filterbar .seller-dark{width:100%;min-width:0}.seller-panel{padding:16px}.seller-logo{width:74px;height:74px}.seller-profile-links{justify-content:center;gap:16px}}
/* phase 10d admin vietnamese cleanup + product crud polish */
.admin-shop-head h1,.admin-product-form-head h1{display:flex;align-items:center;gap:10px}.admin-shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.admin-shop-card{overflow:hidden;border-color:#e8edf4;border-radius:18px;box-shadow:0 14px 32px rgba(16,24,40,.06)}.admin-shop-cover{min-height:86px;position:relative;padding:14px;background:#eef4ff}.admin-shop-cover .seller-badge{position:absolute;right:14px;top:14px;display:inline-flex;align-items:center;gap:6px;background:#fff}.seller-badge.gray{background:#f2f4f7;color:#475467}.seller-badge.orange{background:#fff7ed;color:#c2410c}.admin-shop-body{padding:18px}.admin-shop-body h2{margin:0 0 12px;color:#111827;font-size:20px;letter-spacing:-.02em}.admin-shop-info{display:grid;gap:8px;margin-bottom:14px}.admin-shop-info span,.admin-shop-money span{display:grid;grid-template-columns:22px 112px minmax(0,1fr);gap:8px;align-items:center;color:#475467;font-size:13px}.admin-shop-info i,.admin-shop-money i,.admin-shop-metrics i{color:#1d4ed8}.admin-shop-info strong,.admin-shop-money strong{color:#111827}.admin-shop-info code{background:#f8fafc;border:1px solid #e4e7ec;border-radius:8px;padding:4px 7px;color:#344054}.admin-shop-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.admin-shop-metrics span{display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid #edf1f7;border-radius:12px;padding:10px;color:#667085;font-size:13px}.admin-shop-metrics strong{font-size:18px;color:#111827}.admin-shop-money{display:grid;gap:8px;border-top:1px solid #edf1f7;padding-top:14px}.admin-shop-actions{margin-top:16px;gap:10px;flex-wrap:wrap}.seller-icon.text{width:auto;height:auto;min-height:40px;border-radius:10px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700}.admin-product-actions{margin-bottom:16px}.admin-product-index .seller-actions.inline{gap:8px;flex-wrap:wrap}.stock-pill{display:inline-flex;align-items:center;border-radius:999px;background:#ecfdf3;color:#047857;padding:5px 10px;font-weight:800}.stock-pill.empty{background:#fff1f2;color:#be123c}.admin-product-form-card{background:#fff;border:1px solid #edf1f7;border-radius:20px;box-shadow:0 18px 40px rgba(16,24,40,.06);padding:24px;display:grid;gap:22px}.form-section{border:1px solid #edf1f7;border-radius:18px;padding:20px;background:linear-gradient(135deg,#fff,#fbfdff)}.form-section-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:16px}.form-section-title>span{width:30px;height:30px;border-radius:999px;display:grid;place-items:center;background:#eef4ff;color:#1d4ed8;font-weight:900}.form-section-title h2{margin:0;color:#111827;font-size:18px}.form-section-title p{margin:4px 0 0;color:#667085;font-size:13px}.admin-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.admin-form-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}.admin-form-grid.textareas{grid-template-columns:repeat(3,minmax(0,1fr))}.form-field{display:grid;gap:7px;color:#344054;font-weight:800;font-size:13px}.form-field.span-two{grid-column:span 2}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #d9e1ec;border-radius:12px;background:#fff;color:#111827;padding:12px 13px;min-height:46px;box-shadow:0 1px 0 rgba(16,24,40,.02)}.form-field textarea{resize:vertical;line-height:1.5}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:3px solid #dbeafe;border-color:#60a5fa}.form-field small{color:#667085;font-weight:500;line-height:1.35}.admin-form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.admin-form-actions .seller-dark{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 18px;border:0;color:#fff}.admin-toolbar .product-form{display:grid;gap:10px}.admin-toolbar .product-form label{display:grid;gap:6px;color:#344054;font-weight:700}
@media(max-width:1180px){.admin-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-form-grid,.admin-form-grid.five{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-form-grid.textareas{grid-template-columns:1fr}.admin-form-grid.textareas .span-two{grid-column:span 1}}
@media(max-width:640px){.admin-shop-grid,.admin-form-grid,.admin-form-grid.five{grid-template-columns:1fr}.form-field.span-two{grid-column:span 1}.admin-product-form-card,.form-section{padding:16px}.admin-form-actions{justify-content:flex-start}.admin-shop-info span,.admin-shop-money span{grid-template-columns:22px 1fr}.admin-shop-info span>*:last-child,.admin-shop-money span>*:last-child{grid-column:2}.admin-shop-metrics{grid-template-columns:1fr}}

/* phase 10e actual admin product form rendering fix */
.admin-form-page{max-width:1180px;margin:0 auto}.admin-form-page .seller-page-head strong{color:#1d4ed8}.admin-form-card{display:grid;gap:24px;background:#fff;border:1px solid #e6ebf2;border-radius:22px;box-shadow:0 18px 48px rgba(16,24,40,.075);padding:30px}.admin-form-section{background:linear-gradient(135deg,#fff,#fbfdff);border:1px solid #edf1f7;border-radius:18px;padding:22px}.admin-form-section-title{display:flex;align-items:flex-start;gap:13px;margin-bottom:18px}.admin-form-section-title>span{flex:0 0 32px;width:32px;height:32px;border-radius:999px;background:#eef4ff;color:#1d4ed8;display:grid;place-items:center;font-weight:900}.admin-form-section-title h2{margin:0;color:#101828;font-size:19px;letter-spacing:-.02em}.admin-form-section-title p{margin:5px 0 0;color:#667085;font-size:13px}.admin-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.admin-form-group{display:flex;flex-direction:column;gap:7px;min-width:0}.admin-form-group.span-2{grid-column:span 2}.admin-form-group.span-3{grid-column:span 3}.admin-form-group label{display:block;color:#344054;font-size:13px;font-weight:800;line-height:1.25}.admin-form-group input,.admin-form-group select,.admin-form-group textarea{display:block;width:100%;min-width:0;border:1px solid #d7e0ea;border-radius:12px;background:#fff;color:#111827;padding:12px 13px;min-height:46px;box-shadow:0 1px 0 rgba(16,24,40,.02);line-height:1.35}.admin-form-group textarea{resize:vertical;min-height:118px}.admin-form-group input:focus,.admin-form-group select:focus,.admin-form-group textarea:focus{outline:3px solid #dbeafe;border-color:#60a5fa}.admin-form-group small{display:block;color:#667085;font-size:12px;font-weight:500;line-height:1.35}.admin-form-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;padding-top:2px}.admin-form-primary,.admin-form-secondary,.admin-form-outline{min-height:44px;border-radius:12px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;border:1px solid transparent;text-decoration:none}.admin-form-primary{background:#111827;color:#fff;box-shadow:0 10px 22px rgba(17,24,39,.16)}.admin-form-primary:hover{background:#1f2937;color:#fff;transform:translateY(-1px)}.admin-form-secondary{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.admin-form-secondary:hover{background:#dbeafe;color:#1d4ed8}.admin-form-outline{background:#fff;color:#344054;border-color:#d0d5dd}.admin-form-outline:hover{border-color:#111827;color:#111827}.admin-product-form-head h1{display:flex;align-items:center;gap:10px}
@media(max-width:1024px){.admin-form-card{padding:24px}.admin-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-form-group.span-3{grid-column:span 2}}
@media(max-width:640px){.admin-form-page{max-width:none}.admin-form-card{padding:16px;border-radius:18px}.admin-form-section{padding:16px}.admin-form-grid{grid-template-columns:1fr}.admin-form-group.span-2,.admin-form-group.span-3{grid-column:span 1}.admin-form-actions{justify-content:flex-start}.admin-form-primary,.admin-form-secondary,.admin-form-outline{width:100%}}
