:root{--ink:#24342d;--green:#325947;--muted:#778078;--paper:#fbfbf7;--line:#e5e8e1;--accent:#dfea9c}*{box-sizing:border-box}body{font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:14px}a{color:inherit;text-decoration:none}a:hover{color:var(--green)}button,input,select,textarea{font:inherit}button:disabled{opacity:.45;cursor:not-allowed}.shell{max-width:1480px;padding-left:5.4%;padding-right:5.4%}.announcement{background:var(--ink);color:#f2f5e9;text-align:center;font-size:11px;padding:10px;letter-spacing:.4px}.announcement span{margin-left:28px;color:#d2dabd}.site-header{position:sticky;top:0;z-index:100;border-bottom:1px solid var(--line);background:var(--paper);box-shadow:0 2px 8px rgba(36,52,45,.06)}.site-header>.shell{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:90px}.brand{display:flex;align-items:center;font-size:23px;font-weight:700;letter-spacing:-1px;gap:8px;white-space:nowrap}.brand-mark{display:grid;place-items:center;font-size:26px;background:var(--ink);color:var(--paper);width:38px;height:38px;border-radius:9px;margin-right:5px}.brand-dot{font-size:10px;color:#a0b753;align-self:flex-start;margin-top:11px}.site-header nav{display:flex;gap:32px}.site-header nav a{padding:31px 0;color:#747b72;font-size:13px}.site-header nav a.selected{color:var(--ink);border-bottom:2px solid var(--ink)}.header-actions{display:flex;align-items:center;gap:20px;font-size:12px}.bag{border-left:1px solid var(--line);padding-left:22px;font-weight:600}.bag span{display:inline-grid;place-items:center;background:var(--accent);width:22px;height:22px;border-radius:50%;margin-left:6px}.admin-link{color:var(--green)}.main-content{padding-top:34px}.hero{display:grid;grid-template-columns:1fr 1.02fr;min-height:480px;border-radius:12px;overflow:hidden;background:#f0f1e9}.hero-copy{padding:58px 52px;position:relative}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.8px;display:flex;align-items:center;gap:8px;margin-bottom:22px}.small-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8caa5c}.hero h1,.auth-story h1{font-size:clamp(38px,4.4vw,65px);font-weight:500;line-height:1.07;letter-spacing:-3px;margin:18px 0 22px}.hero em,.auth-story em{font-family:Georgia,serif;font-weight:400;color:var(--green)}.hero-copy>p{max-width:325px;color:#757c71;line-height:1.8;font-size:13px}.btn{border-radius:6px;font-size:12px;padding:12px 18px;font-weight:550}.btn-dark{background:var(--ink);border-color:var(--ink)}.btn-dark:hover{background:#365847;border-color:#365847}.hero-btn{margin-top:12px;padding:15px 22px;display:inline-flex;gap:38px}.hero-trust{display:flex;align-items:center;gap:12px;margin-top:32px;font-size:9px;line-height:1.7}.hero-trust strong{font-weight:600}.hero-trust div>span{color:var(--muted)}.avatar-stack{display:flex;align-items:center;position:relative;width:67px;height:30px;background:#c6bca9;border:2px solid #f0f1e9;border-radius:50%;width:30px;justify-content:center;margin-right:40px}.avatar-stack span{position:absolute;left:20px;background:#779080;border:2px solid #f0f1e9;color:white;width:30px;height:30px;border-radius:50%;display:grid;place-items:center}.avatar-stack span:last-child{left:40px;background:#d3ac90}.hero-art{background:#e2e7d3;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.hero-art>img{width:95%;height:90%;object-fit:contain;z-index:1;position:relative}.art-disc{position:absolute;background:#d3dbc0;width:370px;height:370px;border-radius:50%;left:18%;top:16%}.art-label{position:absolute;top:28px;left:28px;font-size:9px;letter-spacing:1.5px;z-index:2}.art-caption{position:absolute;bottom:24px;left:28px;right:28px;display:flex;justify-content:space-between;z-index:2;font-size:10px}.art-caption span:last-child{color:#6b755e}.floating-label{position:absolute;right:24px;top:85px;transform:rotate(8deg);font-family:Georgia,serif;padding:13px 18px;border:1px solid #8e9a78;border-radius:50%;font-size:13px;z-index:3}.benefits{display:grid;grid-template-columns:repeat(4,1fr);padding:25px 12px;border-bottom:1px solid var(--line);gap:10px;margin-bottom:48px}.benefits>span{font-size:19px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.benefits strong{font-size:11px;font-weight:550}.benefits small{font-size:10px;color:var(--muted);padding-left:28px;flex-basis:100%;margin-top:-10px}.section-heading .eyebrow{margin-bottom:12px}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.heading-row h2{font-size:29px;font-weight:500;letter-spacing:-1px}.heading-row>span{color:var(--muted);font-size:11px}.collection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0}.category-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.category-tabs a{font-size:11px;padding:9px 16px;border-radius:30px;white-space:nowrap;color:#677163;border:1px solid var(--line)}.category-tabs a.active{background:var(--ink);color:white;border-color:var(--ink)}.search-sort{display:flex;gap:7px;align-items:center}.search-sort input{max-width:175px}.form-control,.form-select{background:#fff;border:1px solid #dfe3d9;border-radius:5px;font-size:12px;padding:11px 12px;color:var(--ink)}.search-sort .form-select{width:155px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 21px}.product-image{height:252px;display:flex;align-items:center;justify-content:center;border-radius:8px;position:relative;overflow:hidden;background:#eceee5}.tone-0{background:#eee8dc}.tone-1{background:#e8ede1}.tone-2{background:#ece7e1}.tone-3{background:#e7ebec}.product-image img{width:83%;height:83%;object-fit:contain;transition:transform .25s}.product-image:hover img{transform:scale(1.06)}.product-tag{position:absolute;top:15px;left:15px;font-size:8px;letter-spacing:1px;background:#ffffffb8;border-radius:3px;padding:5px 7px;z-index:1}.product-open{position:absolute;right:13px;bottom:13px;border-radius:50%;background:white;width:28px;height:28px;display:grid;place-items:center}.product-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:9px;margin:16px 0 7px}.product-name{font-size:14px;font-weight:550}.product-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.product-bottom strong{font-size:12px;font-weight:550}.add-button{border:0;background:none;font-size:10px;border-bottom:1px solid #cad0c2;padding:3px 0;color:var(--green)}.editorial{margin:56px 0 20px;background:#e9ecdf;display:grid;grid-template-columns:1fr 1fr;border-radius:8px;padding:42px 48px;overflow:hidden}.editorial h2{font-size:38px;font-weight:450;line-height:1.12;letter-spacing:-1.6px}.editorial p{color:var(--muted);font-size:12px;margin:18px 0}.editorial a{font-size:12px;border-bottom:1px solid #a3af94;padding-bottom:5px}.editorial-art{font-family:Georgia,serif;font-size:95px;letter-spacing:-5px;line-height:1;transform:rotate(-7deg);color:#c0c9a5;text-align:center;align-self:center}.editorial-art span{display:block;font-size:51px;font-style:italic;letter-spacing:-2px;color:#8a9870}.footer{border-top:1px solid var(--line);display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:26px;padding-top:38px;padding-bottom:38px;margin-top:50px}.footer .brand{font-size:31px}.footer p,.footer-note{font-size:11px;color:var(--muted);margin-top:10px;line-height:1.8}.footer>div>strong{display:block;font-size:11px;margin-bottom:16px;font-weight:600}.footer>div>a:not(.brand){display:block;font-size:11px;color:var(--muted);margin-bottom:10px}.footer-note{text-align:right}.text-button{border:0;background:none;padding:0;color:inherit;font-size:12px;text-decoration:underline;text-underline-offset:4px}.danger{color:#a8493d}.panel{background:white;border:1px solid var(--line);padding:26px;border-radius:9px;margin-bottom:22px}.panel h3{font-size:18px;letter-spacing:-.4px;margin-bottom:20px}.panel p{line-height:1.7}.panel h4{font-size:18px;margin-top:15px}.page-heading{margin:20px 0 32px}.page-title{font-size:42px;font-weight:500;letter-spacing:-1.8px;line-height:1.12;margin:15px 0 22px}.muted{color:var(--muted)}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:500;margin-bottom:18px}.field>span{font-weight:500}.check-field{display:flex;align-items:center;gap:9px;margin:15px 0;font-size:12px;line-height:1.4}.check-field input{accent-color:var(--green);width:15px;height:15px}.switch-row{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--line);gap:15px}.switch-row input{accent-color:var(--green);width:20px;height:20px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;max-width:1000px;margin:50px auto;gap:75px;align-items:center}.auth-story{padding:30px}.auth-story p{color:var(--muted);line-height:1.8;max-width:330px}.auth-story h1{font-size:60px}.auth-panel{padding:38px}.auth-panel h2{font-size:26px;letter-spacing:-1px}.auth-switch{font-size:12px;margin-top:24px;margin-bottom:0}.auth-switch a{text-decoration:underline}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.account-orders{display:block;margin-top:22px;text-decoration:underline}details{border-top:1px solid var(--line);padding:16px 0;font-size:12px}summary{cursor:pointer;margin-bottom:8px;font-weight:550}details form{padding-top:12px}.address-card{padding:18px 0;border-bottom:1px solid var(--line)}.address-card p{font-size:12px;color:var(--muted);margin:8px 0}.empty-state{text-align:center;padding:80px 20px}.empty-state h2{font-weight:500;letter-spacing:-1px}.empty-state p{color:var(--muted);margin-bottom:25px}.empty-symbol{font-size:44px;color:#80975f;margin-bottom:10px}.breadcrumb-line{font-size:11px;color:var(--muted);padding:8px 0 28px}.detail-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:65px;margin-bottom:60px}.detail-image{border-radius:12px;min-height:500px;display:flex;align-items:center;justify-content:center}.detail-image img{width:85%;max-height:480px;object-fit:contain}.detail-grid>div:last-child{padding:35px 10px}.detail-description{font-size:14px;color:var(--muted);line-height:1.9;margin:25px 0}.detail-notes{border-top:1px solid var(--line);margin-top:30px;padding-top:20px;font-size:11px;color:var(--muted)}.quantity{max-width:80px}.checkout-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:28px}.cart-row{display:flex;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.cart-row:last-child{border:0}.cart-row img{width:95px;height:95px;background:#edf0e7;border-radius:6px;object-fit:contain}.cart-row>div{flex:1}.cart-row p{font-size:12px;color:var(--muted);margin:9px 0}.cart-row>strong{font-size:13px}.inline-form{display:flex;align-items:center;gap:12px}.inline-form .form-select{width:auto;min-width:110px}.order-line{display:flex;gap:20px;justify-content:space-between;padding:13px 0;border-top:1px solid var(--line);font-size:12px}.quote-summary{background:#f4f6ef;border-radius:6px;padding:15px;margin:20px 0;font-size:12px}.quote-summary .order-line:last-child{font-weight:650}.status{display:inline-block;font-size:10px;background:#eef0e8;color:#627154;border-radius:20px;padding:5px 10px;white-space:nowrap}.status.on{background:#e4edda;color:#396740}.payment-note{background:#f3f5ec;padding:18px;border-radius:5px;margin-top:20px;font-size:12px}.payment-note p{margin:10px 0}.pagination-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:25px}.toast-message{position:fixed;bottom:30px;right:30px;max-width:450px;background:var(--ink);color:white;box-shadow:0 8px 30px #0002;padding:20px 25px;border-radius:8px;z-index:99;font-size:13px}.toast-message.error{background:#873f35}.skip-link{position:absolute;top:-100px;left:10px;z-index:100;background:white;padding:10px}.skip-link:focus{top:10px}:focus-visible{outline:3px solid #8ea65a;outline-offset:3px}.admin-layout{display:grid;grid-template-columns:235px 1fr;max-width:1600px;margin:auto;min-height:70vh}.admin-sidebar{padding:30px 20px;border-right:1px solid var(--line)}.admin-sidebar .eyebrow{font-size:9px;margin-bottom:10px}.admin-sidebar h3{font-size:18px;margin-bottom:24px;display:flex;align-items:center;gap:8px}.admin-sidebar nav{display:flex;flex-direction:column;gap:4px}.admin-sidebar nav a{font-size:12px;padding:12px;border-radius:5px;color:var(--muted)}.admin-sidebar nav a.active{background:#e9eedf;color:var(--ink);font-weight:600}.sidebar-note{font-size:11px;border-top:1px solid var(--line);margin-top:30px;padding:20px 5px;line-height:1.6}.sidebar-note p{color:var(--muted);margin-top:8px}.admin-main{padding:25px 35px;min-width:0;background:#f6f7f2}.admin-topline{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:20px}.admin-heading{display:flex;align-items:center;justify-content:space-between;margin:32px 0 25px;gap:20px}.admin-heading .eyebrow{margin-bottom:13px}.admin-heading h1{font-size:31px;letter-spacing:-1.1px;font-weight:500}.admin-heading p{font-size:12px;margin-top:12px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stat-card{background:white;border:1px solid var(--line);border-radius:8px;padding:22px}.stat-card>span{font-size:11px;color:var(--muted)}.stat-card strong{display:block;font-size:28px;font-weight:500;letter-spacing:-1px;margin:15px 0 10px}.stat-card small{font-size:9px;color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:22px}.table{font-size:11px;--bs-table-color:var(--ink)}.table th{font-weight:500;font-size:10px;color:var(--muted);border-bottom:1px solid var(--line);padding:14px 10px}.table td{padding:17px 10px;border-color:var(--line);vertical-align:middle}.table-actions{display:flex;gap:12px;align-items:center}.table-actions button{font-size:11px}.table td code{font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--green)}.portal-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid var(--line);font-size:11px}.portal-panel>a{font-size:11px;display:block;margin-top:22px}.mini-empty{font-size:12px;color:var(--muted);padding:30px;text-align:center}.master-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:24px}.master-form{align-self:start}.master-layout>.panel:first-child{align-self:start}.permission-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0 20px}.permission-grid .check-field{font-size:10px}.admin-tabs{margin-bottom:22px}.restore-panel{border-color:#d9b6ad}.small{font-size:11px}.table-responsive{overflow-x:auto}.inventory-list:empty::after{content:'Your inventory is in good shape.';color:var(--muted);font-size:12px}input::placeholder{color:#9a9f94!important}code{overflow-wrap:anywhere}
@media(min-width:1700px){.hero h1{font-size:68px}}@media(max-width:1150px){.shell{padding-left:4%;padding-right:4%}.hero-copy{padding:40px 30px}.hero{min-height:440px}.collection-toolbar{align-items:flex-start;flex-direction:column}.search-sort{width:100%}.search-sort input{max-width:none;flex:1}.product-image{height:210px}.header-actions{gap:13px}.site-header nav{gap:20px}.admin-main{padding:22px}.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.master-layout{grid-template-columns:1fr}.permission-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.site-header>.shell{flex-wrap:wrap;gap:12px;padding-top:18px;min-height:0}.site-header nav{order:3;width:100%;justify-content:center;border-top:1px solid var(--line)}.site-header nav a{padding:14px 0}.brand{font-size:20px}.header-actions{font-size:11px}.brand-mark{width:30px;height:30px;font-size:22px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:35px}.hero h1{font-size:54px}.hero-art{min-height:360px}.hero-art>img{height:330px}.hero-trust{margin-top:25px}.benefits{grid-template-columns:repeat(2,1fr);gap:23px;margin-bottom:35px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.product-image{height:235px}.heading-row h2{font-size:25px}.editorial{padding:30px;grid-template-columns:1fr 1fr}.editorial h2{font-size:31px}.editorial-art{font-size:60px}.editorial-art span{font-size:33px}.footer{grid-template-columns:repeat(2,1fr)}.footer-note{text-align:left}.auth-layout{grid-template-columns:1fr;gap:10px;margin:15px auto;max-width:500px}.auth-story h1{font-size:40px}.auth-story{padding:20px}.auth-story p{display:none}.auth-panel{padding:25px}.account-grid,.checkout-layout,.detail-grid{grid-template-columns:1fr}.detail-grid{gap:15px}.detail-image{min-height:360px}.detail-image img{max-height:350px}.admin-layout{grid-template-columns:1fr}.admin-sidebar{border-right:0;padding:20px}.admin-sidebar nav{flex-direction:row;overflow-x:auto;gap:6px}.admin-sidebar nav a{white-space:nowrap}.admin-sidebar .sidebar-note{display:none}.admin-sidebar h3{margin-bottom:12px}.admin-sidebar .eyebrow{display:none}.admin-main{padding:20px}.admin-heading h1{font-size:27px}.admin-heading{flex-wrap:wrap}.panel{padding:22px}.order-line{flex-wrap:wrap}.page-title{font-size:36px}}@media(max-width:480px){.announcement{font-size:9px}.announcement span{display:none}.shell{padding-left:18px;padding-right:18px}.header-actions{gap:10px}.header-actions .admin-link{display:none}.site-header nav{gap:24px}.site-header nav a{font-size:11px}.brand{font-size:17px}.hero-copy{padding:30px 25px}.hero h1{font-size:45px;letter-spacing:-2px}.hero-art{min-height:290px}.hero-art>img{height:280px}.art-label{font-size:8px;top:18px;left:18px}.art-caption{left:18px;right:18px;font-size:8px}.floating-label{font-size:10px;top:50px}.benefits{padding:24px 0}.benefits strong{font-size:10px}.benefits small{font-size:9px}.heading-row{flex-wrap:wrap}.heading-row h2{font-size:24px}.category-tabs a{font-size:10px;padding:8px 12px}.search-sort{flex-wrap:wrap}.search-sort input{flex-basis:100%}.search-sort .form-select{flex:1}.product-image{height:175px}.product-tag{top:10px;left:10px;font-size:6px;padding:4px}.product-name{font-size:12px}.product-meta{font-size:8px}.product-meta span:last-child{display:none}.product-bottom{flex-wrap:wrap;gap:10px}.product-bottom strong{font-size:11px}.editorial{grid-template-columns:1fr;padding:28px}.editorial-art{display:none}.footer{gap:20px;font-size:10px}.footer>div:first-child{grid-column:1/-1}.footer-note{grid-column:1/-1}.cart-row{gap:12px;flex-wrap:wrap}.cart-row img{width:65px;height:65px}.cart-row>strong{margin-left:77px}.cart-row .inline-form{gap:10px}.stats-grid{gap:10px}.stat-card{padding:15px}.stat-card strong{font-size:23px}.admin-main{padding:14px}.admin-topline span:last-child{display:none}.permission-grid{grid-template-columns:1fr}.inline-form{flex-wrap:wrap}.toast-message{left:15px;right:15px;bottom:15px}.page-title{font-size:32px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.partner-profile{max-width:760px}.route-stop{background:#f4f6ef;border-radius:7px;padding:20px;margin:12px 0}.route-stop .eyebrow{margin-bottom:12px}.delivery-address{font-size:12px;color:var(--muted);line-height:1.8}.timeline-event{display:flex;gap:14px;padding:15px 4px;border-bottom:1px solid var(--line)}.timeline-event .small-dot{margin-top:6px;flex-shrink:0}.timeline-event strong{font-size:12px;text-transform:capitalize}.timeline-event p{font-size:11px;margin:5px 0}.timeline-event small{font-size:10px}.customer-tracking{margin:18px 0;background:#f4f6ef;padding:18px;border-radius:7px;font-size:12px}.customer-tracking details{margin-top:12px}.delivery-card .order-line{margin:15px 0}.partner-profile form+ p{margin-top:20px}

.store-logo{width:var(--logo-size,48px);height:var(--logo-size,48px);object-fit:contain;flex-shrink:0}.image-upload{margin:18px 0;padding:16px;border:1px solid #ddd;border-radius:12px}.image-upload-actions{display:flex;gap:16px;align-items:center;margin-bottom:12px}.image-preview{display:block;max-width:100%;width:160px;height:120px;object-fit:contain;background:#f4f4f4;border-radius:8px}.image-preview[hidden]{display:none}.about-settings{border-top:1px solid #ddd;margin-top:24px;padding-top:20px}.about-settings legend{float:none;font-size:1.25rem;font-weight:600}.permission-modules{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px;margin:20px 0}.permission-module{padding:16px;border:1px solid #ddd;border-radius:12px;min-width:0}.permission-module legend{float:none;width:auto;font-size:1rem;font-weight:700;padding:0 8px}.permission-module .permission-grid{display:grid;grid-template-columns:1fr;gap:12px}.permission-code{display:block;color:#666;font-size:.75rem;overflow-wrap:anywhere}.permission-select{border-bottom:1px solid #eee;padding-bottom:12px;margin-bottom:14px}.about-copy{line-height:1.8;overflow-wrap:anywhere}


/* Keep anchor targets visible below the sticky navigation. */
html{scroll-padding-top:110px}@media(max-width:800px){html{scroll-padding-top:170px}}
/* Portal identities share components while prioritizing different tasks. */
.workspace-badge{font-size:11px;font-weight:700;letter-spacing:.6px;padding:8px 12px;border-radius:6px;background:var(--accent);white-space:nowrap}.workspace-footer{display:flex;gap:24px;justify-content:flex-end;padding:22px 32px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}.workspace-footer>span{margin-right:auto}
body.portal-admin{--ink:#243249;--green:#3156ae;--muted:#64748b;--paper:#fff;--line:#dce3ee;--accent:#e1eaff;background:#f2f5fa}.portal-admin .site-header{background:#15243c;color:#fff;border:0}.portal-admin .site-header a,.portal-admin .site-header .text-button{color:#fff}.portal-admin .workspace-badge{background:#314565;color:#e4edff}.portal-admin .admin-sidebar{background:#1f304c;color:#fff}.portal-admin .admin-sidebar nav a{color:#c2cee1}.portal-admin .admin-sidebar nav a.active{background:#37558b;color:#fff}.portal-admin .admin-sidebar .sidebar-note p{color:#c2cee1}.portal-admin .admin-main{background:#f2f5fa}.portal-admin .stat-card{border-radius:6px;border-top:3px solid #3156ae}.portal-admin .panel{border-radius:8px}.portal-admin .table th{background:#f0f4fa;font-weight:650}.portal-admin .admin-heading h1{font-weight:650}
body.portal-seller{--ink:#382d4d;--green:#7546a3;--muted:#766b83;--paper:#fff;--line:#e7e0ee;--accent:#efe2ff;background:#faf7fd}.portal-seller .site-header{background:#512b78;color:#fff;border:0}.portal-seller .site-header a,.portal-seller .site-header .text-button{color:#fff}.portal-seller .workspace-badge{background:#e9d5ff;color:#452064}.portal-seller .admin-sidebar{background:#39214f;color:#fff}.portal-seller .admin-sidebar nav a{color:#e3d5f0}.portal-seller .admin-sidebar .sidebar-note{border-color:#65437e;color:#e3d5f0}.portal-seller .admin-sidebar .small-dot{background:#d5acfa}.portal-seller .admin-sidebar nav a.active{background:#7546a3;color:#fff}.portal-seller .admin-main{background:#faf7fd}.portal-seller .admin-heading{background:linear-gradient(115deg,#6b3c96,#512b78);color:#fff;padding:28px;border-radius:16px}.portal-seller .admin-heading .muted{color:#efdefc}.portal-seller .admin-heading .btn-outline-dark{border-color:#e9d5ff;color:#fff}.portal-seller .admin-heading .btn-outline-dark:hover{background:#e9d5ff;color:#39214f}.portal-seller .admin-heading .small-dot{background:#e9d5ff}.portal-seller .stat-card{border-radius:16px;border-bottom:3px solid #b490d6}.portal-seller .panel{border-radius:16px}.portal-seller .btn-dark{background:#7546a3;border-color:#7546a3}.portal-seller .btn-dark:hover{background:#60388a;border-color:#60388a}
body.portal-logistics{--ink:#173f4c;--green:#096d83;--muted:#587781;--paper:#fff;--line:#d5e5e9;--accent:#d6f0f5;background:#eff7f9}.portal-logistics .site-header{background:#104958;color:#fff;border:0}.portal-logistics .site-header a,.portal-logistics .site-header .text-button{color:#fff}.portal-logistics .workspace-badge{background:#c9eef4;color:#104958}.portal-logistics .admin-sidebar{background:#123d48;color:#fff}.portal-logistics .admin-sidebar nav a{color:#cdebf1}.portal-logistics .admin-sidebar .sidebar-note{border-color:#356573;color:#cdebf1}.portal-logistics .admin-sidebar .small-dot{background:#86dcea}.portal-logistics .admin-sidebar nav a.active{background:#096d83;color:#fff}.portal-logistics .admin-main{background:#eff7f9}.portal-logistics .stat-card{border-left:4px solid #096d83}.portal-logistics .delivery-card{border-left:5px solid #096d83;border-radius:10px}.portal-logistics .route-stop{background:#e3f1f5;border:1px solid #c6e1e8}.portal-logistics .delivery-address{font-size:14px;color:#173f4c}.portal-logistics .btn{min-height:44px;font-size:14px}.portal-logistics .btn-dark{background:#096d83;border-color:#096d83}.portal-logistics .btn-dark:hover{background:#07586a;border-color:#07586a}.portal-logistics .admin-heading{padding:24px;background:#096d83;color:#fff;border-radius:6px;border-left:6px solid #f3b640}.portal-logistics .admin-heading .muted{color:#e0f6fb}.portal-logistics .admin-heading h1{font-weight:650}.portal-logistics .admin-heading .eyebrow{color:#ffdd8d}.portal-logistics .status{background:#d6eef4;color:#104958;font-weight:650}
body:not(.portal-storefront) .site-header>.shell{min-height:76px;gap:16px}body:not(.portal-storefront) .site-header .brand{font-size:20px;min-width:0;white-space:normal}body:not(.portal-storefront) .site-header nav{margin-left:auto}body:not(.portal-storefront) .site-header nav a{padding:20px 0}body:not(.portal-storefront) .header-actions{flex-wrap:wrap}
@media(max-width:800px){body:not(.portal-storefront) .site-header>.shell{padding-top:12px;padding-bottom:12px}body:not(.portal-storefront) .site-header nav{width:auto;order:0;border:0}body:not(.portal-storefront) .site-header nav a{padding:8px 0}body:not(.portal-storefront) .header-actions{width:100%;gap:16px}.workspace-footer{flex-wrap:wrap;padding:20px;gap:16px}.workspace-footer>span{flex-basis:100%}.portal-seller .admin-heading{padding:20px}.portal-logistics .delivery-card .account-grid{gap:0}.portal-logistics .admin-sidebar nav a{padding:14px}}
@media(max-width:480px){body:not(.portal-storefront) .workspace-badge{font-size:10px;padding:6px 8px}body:not(.portal-storefront) .site-header nav{flex-basis:100%;justify-content:flex-start}body:not(.portal-storefront) .site-header .brand{font-size:17px}.portal-logistics .delivery-card{padding:18px}}

/* Shared brand system: local system fonts, readable type, and logo-led surfaces. */
body.portal-storefront{font-family:"Segoe UI",Inter,Arial,sans-serif;font-size:16px;line-height:1.6;background:var(--paper)}
:where(body.portal-storefront) h1,:where(body.portal-storefront) h2,:where(body.portal-storefront) h3,:where(body.portal-storefront) .brand{font-family:"Segoe UI",Inter,Arial,sans-serif;font-weight:700;letter-spacing:-.035em}
:where(body.portal-storefront) .announcement{background:var(--logocolor1);color:var(--brand-on-primary);font-size:13px;padding:11px}
:where(body.portal-storefront) .site-header{background:#ffffffed;backdrop-filter:blur(16px)}
:where(body.portal-storefront) .site-header nav a,:where(body.portal-storefront) .header-actions{font-size:14px}
:where(body.portal-storefront) .site-header nav a.selected{border-color:var(--logocolor2)}
:where(body.portal-storefront) .brand-mark,:where(body.portal-storefront) .btn-dark,:where(body.portal-storefront) .category-tabs a.active{background:var(--logocolor1);border-color:var(--logocolor1);color:var(--brand-on-primary)}
:where(body.portal-storefront) .bag span{background:var(--logocolor3);color:var(--brand-on-accent)}
:where(body.portal-storefront) .btn{font-size:14px;font-weight:650;padding:12px 20px;min-height:44px;border-radius:10px;transition:transform .2s,box-shadow .2s}
:where(body.portal-storefront) .btn-dark:hover{background:var(--logocolor2);border-color:var(--logocolor2);color:var(--brand-on-secondary);box-shadow:0 6px 18px #182a3020}
:where(body.portal-storefront) .btn-outline-dark{color:var(--ink);border-color:var(--line)}
:where(body.portal-storefront) .form-control,:where(body.portal-storefront) .form-select{font-size:16px;min-height:46px;border-radius:9px}
:where(body.portal-storefront) .field,:where(body.portal-storefront) .check-field,:where(body.portal-storefront) .switch-row{font-size:14px}
:where(body.portal-storefront) .field input[type=color]{width:100%;height:48px;padding:6px}
:where(body.portal-storefront) .eyebrow{font-size:12px;letter-spacing:.14em}
:where(body.portal-storefront) .small-dot{background:var(--logocolor2)}
:where(body.portal-storefront) .main-content{padding-top:32px}
:where(body.portal-storefront) .hero{border-radius:24px;background:#f1f5f3;background:color-mix(in srgb,var(--logocolor3) 17%,white);box-shadow:0 18px 50px #182a300b;min-height:520px}
:where(body.portal-storefront) .hero-copy{padding:64px 48px}
:where(body.portal-storefront) .hero h1{font-size:clamp(40px,4.5vw,68px);font-weight:750;letter-spacing:-.045em;overflow-wrap:anywhere}
:where(body.portal-storefront) .hero-copy>p{font-size:17px;max-width:390px;color:var(--muted);line-height:1.8}
:where(body.portal-storefront) .hero-trust{font-size:13px}
:where(body.portal-storefront) .hero-trust .avatar-stack{display:none}
:where(body.portal-storefront) .hero-art{background:#e9f0e7;background:linear-gradient(140deg,color-mix(in srgb,var(--logocolor2) 22%,white),color-mix(in srgb,var(--logocolor3) 50%,white));min-width:0}
:where(body.portal-storefront) .art-disc{background:color-mix(in srgb,var(--logocolor3) 50%,white);width:380px;height:380px;left:calc(50% - 190px);top:50px;border:1px solid #ffffff80}
:where(body.portal-storefront) .carousel-slides{width:100%;align-self:stretch;z-index:1}
:where(body.portal-storefront) .carousel-slide{height:100%;padding:54px 28px 88px}
:where(body.portal-storefront) .carousel-slide[hidden]{display:none}
:where(body.portal-storefront) .carousel-image{display:flex;height:310px;align-items:center;justify-content:center}
:where(body.portal-storefront) .carousel-image img{width:90%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 18px #182a3018);animation:product-reveal .5s ease}
:where(body.portal-storefront) .art-label{font-size:11px;top:26px}
:where(body.portal-storefront) .featured-product-caption{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;background:#ffffffdf;border:1px solid #fff;padding:16px 20px;border-radius:14px;color:var(--ink)}
:where(body.portal-storefront) .featured-product-caption small{display:block;font-size:12px;color:var(--muted)}
:where(body.portal-storefront) .featured-product-caption strong{display:block;font-size:18px;line-height:1.4}
:where(body.portal-storefront) .featured-product-caption>span:last-child{font-size:14px;white-space:nowrap}
:where(body.portal-storefront) .carousel-controls{position:absolute;bottom:20px;left:28px;right:28px;display:flex;align-items:center;justify-content:center;gap:10px;z-index:4}
:where(body.portal-storefront) .carousel-controls button{border:1px solid #ffffffaa;background:#fffffff0;color:var(--ink);border-radius:50%;min-width:44px;height:44px}
:where(body.portal-storefront) .carousel-controls [data-carousel-pause]{border-radius:24px;padding:0 14px;font-size:12px}
:where(body.portal-storefront) .carousel-dots{display:flex;gap:3px}
:where(body.portal-storefront) .carousel-dots button{min-width:28px;width:28px;background:transparent;border:0;position:relative}
:where(body.portal-storefront) .carousel-dots button:after{content:"";display:block;width:8px;height:8px;border-radius:8px;background:var(--muted);margin:auto}
:where(body.portal-storefront) .carousel-dots button[aria-pressed=true]:after{width:20px;background:var(--ink)}
:where(body.portal-storefront) .benefits{padding:30px 12px;margin-bottom:44px}
:where(body.portal-storefront) .benefits strong{font-size:14px}
:where(body.portal-storefront) .benefits small{font-size:12px;margin-top:0}
:where(body.portal-storefront) .heading-row h2{font-size:clamp(26px,3vw,36px);font-weight:700}
:where(body.portal-storefront) .heading-row>span{font-size:14px}
:where(body.portal-storefront) .category-tabs a{font-size:13px;padding:10px 18px}
:where(body.portal-storefront) .search-sort input{max-width:240px}
:where(body.portal-storefront) .search-sort .form-select{width:190px}
:where(body.portal-storefront) .product-card{background:#fff;border:1px solid var(--line);padding:12px;border-radius:18px;transition:transform .2s,box-shadow .2s}
:where(body.portal-storefront) .product-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px #182a3010}
:where(body.portal-storefront) .product-image{height:260px;border-radius:12px;background:color-mix(in srgb,var(--logocolor3) 18%,white)}
:where(body.portal-storefront) .tone-1,:where(body.portal-storefront) .tone-3{background:color-mix(in srgb,var(--logocolor2) 13%,white)}
:where(body.portal-storefront) .product-tag{font-size:10px}
:where(body.portal-storefront) .product-meta{font-size:12px;gap:8px}
:where(body.portal-storefront) .product-name{font-size:17px;font-weight:650;display:block;line-height:1.45}
:where(body.portal-storefront) .product-bottom strong{font-size:16px}
:where(body.portal-storefront) .add-button{font-size:13px;min-height:44px;color:var(--ink)}
:where(body.portal-storefront) .editorial{border-radius:20px;background:color-mix(in srgb,var(--logocolor3) 25%,white)}
:where(body.portal-storefront) .editorial h2{font-weight:700}
:where(body.portal-storefront) .editorial p,:where(body.portal-storefront) .editorial a{font-size:16px}
:where(body.portal-storefront) .editorial-art{color:var(--logocolor2)}
:where(body.portal-storefront) .editorial-art span{color:var(--ink)}
:where(body.portal-storefront) .panel{border-radius:16px;box-shadow:0 8px 24px #182a3005}
:where(body.portal-storefront) .panel h3{font-size:22px;font-weight:650}
:where(body.portal-storefront) .page-title{font-size:clamp(32px,4vw,48px);font-weight:750}
:where(body.portal-storefront) .page-heading{padding:20px 0;border-bottom:1px solid var(--line)}
:where(body.portal-storefront) .detail-description{font-size:17px}
:where(body.portal-storefront) .detail-notes,:where(body.portal-storefront) .breadcrumb-line,:where(body.portal-storefront) .cart-row p,:where(body.portal-storefront) .order-line,:where(body.portal-storefront) .quote-summary,:where(body.portal-storefront) .payment-note,:where(body.portal-storefront) .auth-switch,:where(body.portal-storefront) .address-card p,:where(body.portal-storefront) details,:where(body.portal-storefront) .small{font-size:14px}
:where(body.portal-storefront) .status{font-size:12px}
:where(body.portal-storefront) .footer p,:where(body.portal-storefront) .footer-note,:where(body.portal-storefront) .footer>div>a:not(.brand),:where(body.portal-storefront) .footer>div>strong{font-size:14px}
:where(body.portal-storefront) .footer{padding-top:44px}
:where(body.portal-storefront) .auth-story h1{font-weight:700}
:where(body.portal-storefront) .auth-panel h2{font-size:30px}
:where(body.portal-storefront) :focus-visible{outline:3px solid var(--ink);outline-offset:4px}
:where(body.portal-storefront) .skip-link{z-index:200}
@keyframes product-reveal{from{opacity:.2;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1150px){
:where(body.portal-storefront) .hero-copy{padding:44px 30px}
:where(body.portal-storefront) .product-image{height:210px}}
@media(max-width:800px){
:where(body.portal-storefront) .hero-copy{padding:36px}
:where(body.portal-storefront) .hero-art{min-height:470px}
:where(body.portal-storefront) .carousel-slide{padding-bottom:88px}
:where(body.portal-storefront) .hero-trust{margin-top:24px}
:where(body.portal-storefront) .product-name{font-size:16px}
:where(body.portal-storefront) .site-header nav a,:where(body.portal-storefront) .header-actions{font-size:13px}}
@media(max-width:480px){
:where(body.portal-storefront) .hero{border-radius:18px}
:where(body.portal-storefront) .hero-copy{padding:30px 24px}
:where(body.portal-storefront) .hero-art{min-height:430px}
:where(body.portal-storefront) .carousel-image{height:260px}
:where(body.portal-storefront) .carousel-slide{padding:50px 16px 84px}
:where(body.portal-storefront) .featured-product-caption{padding:12px;gap:8px}
:where(body.portal-storefront) .featured-product-caption strong{font-size:16px}
:where(body.portal-storefront) .featured-product-caption>span:last-child{font-size:12px}
:where(body.portal-storefront) .carousel-controls{left:12px;right:12px;gap:4px}
:where(body.portal-storefront) .product-grid{gap:14px}
:where(body.portal-storefront) .product-card{padding:9px}
:where(body.portal-storefront) .product-image{height:165px}
:where(body.portal-storefront) .product-name{font-size:15px}
:where(body.portal-storefront) .product-meta{font-size:11px}
:where(body.portal-storefront) .product-bottom strong{font-size:15px}
:where(body.portal-storefront) .benefits strong{font-size:13px}
:where(body.portal-storefront) .benefits small{font-size:12px}
:where(body.portal-storefront) .search-sort .form-select{width:auto}
:where(body.portal-storefront) .header-actions{flex-wrap:wrap}
:where(body.portal-storefront) .hero h1{font-size:42px}
:where(body.portal-storefront) .hero-copy>p{font-size:16px}}
@media(prefers-reduced-motion:reduce){
:where(body.portal-storefront) *,:where(body.portal-storefront) *::before,:where(body.portal-storefront) *::after{animation:none!important;transition:none!important}}

/* Width-based wordmark sizing applies to all portal headers. */
body[class*="portal-"] .site-header>.shell{flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:14px 24px}
body[class*="portal-"] .site-header .brand{max-width:100%;min-width:0;white-space:normal;flex-wrap:wrap}
body[class*="portal-"] .store-logo{width:var(--logo-width,420px);height:auto;max-width:100%;max-height:var(--logo-max-height,160px);object-fit:contain;object-position:left center;flex-shrink:1}
body[class*="portal-"] .header-actions{flex-wrap:wrap}
.logo-layout-settings{border-top:1px solid var(--line);margin:24px 0;padding-top:20px;min-width:0}
.logo-layout-settings legend{float:none;font-size:20px;font-weight:600}
.logo-layout-preview{border:1px solid var(--line);border-radius:12px;padding:16px;overflow:hidden;background:#f4f6fa;color:#243249}
.logo-layout-preview>strong{font-size:13px;display:block;margin:8px 0}
.logo-preview-surface{display:flex;align-items:center;gap:12px;background:white;border-radius:8px;padding:12px;max-width:100%;flex-wrap:wrap}
.logo-preview-surface img{width:var(--logo-width,420px);height:auto;max-width:100%;max-height:var(--logo-max-height,160px);object-fit:contain;object-position:left center}
.logo-preview-mobile{max-width:360px;margin-top:8px}.logo-preview-mobile img{width:var(--logo-mobile-width,280px)}
.logo-preview-surface [hidden]{display:none}
@media(max-width:1200px){body[class*="portal-"] .site-header nav{order:3;width:100%;justify-content:center;border-top:1px solid var(--line)}body[class*="portal-"] .site-header nav a{padding:12px 0}body[class*="portal-"] .header-actions{margin-left:auto}}
@media(max-width:800px){body[class*="portal-"] .store-logo{width:var(--logo-mobile-width,280px);max-width:100%}body[class*="portal-"] .site-header>.shell{padding-top:12px;gap:12px}body[class*="portal-"] .site-header .brand{flex-basis:100%}body[class*="portal-"] .header-actions{width:100%;margin-left:0;justify-content:flex-end}body[class*="portal-"] .site-header nav{gap:20px;flex-wrap:wrap}body[class*="portal-"] .site-header nav a{font-size:13px}}

.social-login{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.social-login form{margin:10px 0}.social-button{font-size:14px;min-height:44px}.social-provider{border-top:1px solid var(--line);padding-top:18px;margin-top:22px;min-width:0}.social-provider legend{float:none;font-size:18px;font-weight:600}.auth-portals{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.auth-portals a{font-size:13px;border:1px solid var(--line);padding:8px 12px;border-radius:20px}.auth-portals [aria-current=page]{background:var(--ink);color:white}

body:not(.portal-storefront) .site-header .store-logo{background:white;padding:8px;border-radius:8px}

/* Storefront: independent hero, featured product stage, and catalog. */
.portal-storefront .storefront-hero{min-height:0;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);border:1px solid var(--line);margin-bottom:44px}
.portal-storefront .storefront-hero .hero-copy{padding:clamp(28px,4vw,56px)}
.portal-storefront .storefront-hero h1{font-size:clamp(34px,4vw,58px);line-height:1.12;max-width:650px;margin:16px 0 22px}
.portal-storefront .storefront-hero p{max-width:520px}
.hero-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;gap:18px;background:color-mix(in srgb,var(--logocolor2) 12%,white);min-width:0}
.hero-visual img{display:block;width:100%;height:340px;object-fit:contain;border-radius:14px}
.portal-storefront .hero-layout-text,.portal-storefront .hero-layout-image{grid-template-columns:minmax(0,1fr)}
.hero-layout-text .hero-copy{max-width:850px}.hero-layout-image .hero-visual img{height:auto;max-height:480px}
.featured-section{margin:0 0 36px}.featured-section>.heading-row{margin-bottom:20px;align-items:flex-end}.featured-section .eyebrow{margin-bottom:10px}
.featured-carousel{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:white;box-shadow:0 12px 32px #182a3009;min-width:0}
.portal-storefront .featured-carousel .carousel-slides{width:100%;align-self:auto}
.portal-storefront .featured-carousel .carousel-slide{height:auto;padding:24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto 1fr;gap:12px 32px;align-items:center;min-width:0}
.portal-storefront .featured-carousel .carousel-slide[hidden]{display:none}
.portal-storefront .featured-carousel .art-label{position:static;grid-column:2;grid-row:1;display:block;font-size:12px;color:var(--muted);letter-spacing:.12em;margin:0}
.portal-storefront .featured-carousel .carousel-image{grid-column:1;grid-row:1/3;height:280px;padding:20px;border-radius:14px;background:color-mix(in srgb,var(--logocolor3) 16%,white);min-width:0}
.portal-storefront .featured-carousel .carousel-image img{width:100%;height:100%;max-width:100%;object-fit:contain;filter:drop-shadow(0 12px 12px #182a3010)}
.portal-storefront .featured-carousel .featured-product-caption{position:static;inset:auto;text-align:left;width:100%;max-width:100%;grid-column:2;grid-row:2;align-self:start;display:flex;flex-direction:column;align-items:flex-start;gap:18px;margin:0;padding:16px 0;background:transparent;border:0;border-radius:0;min-width:0}
.portal-storefront .featured-carousel .featured-product-caption small{font-size:14px;margin-bottom:10px}
.portal-storefront .featured-carousel .featured-product-caption strong{font-size:clamp(22px,3vw,36px);line-height:1.25;overflow-wrap:anywhere}
.portal-storefront .featured-carousel .featured-product-caption>span:last-child{font-size:20px;white-space:normal;background:color-mix(in srgb,var(--logocolor3) 28%,white);padding:10px 18px;border-radius:10px}
.portal-storefront .featured-carousel .carousel-controls{position:static;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:16px 20px;border-top:1px solid var(--line);background:#fafcfc;width:100%;margin:0;min-height:76px}
.portal-storefront .featured-carousel .carousel-controls>button{border:1px solid var(--line);background:white}
.portal-storefront .featured-carousel .carousel-dots{display:flex;flex-wrap:wrap;justify-content:center}
.portal-storefront .featured-carousel .carousel-dots button{width:32px;min-width:32px;height:44px}
.portal-storefront .grid-columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.portal-storefront .storefront-nav{align-items:center;gap:24px}.portal-storefront .storefront-nav>a{font-size:15px;font-weight:600;white-space:nowrap}
.portal-storefront .partner-menu{position:relative;border:0;margin:0;padding:0;font-size:15px}.portal-storefront .partner-menu summary{margin:0;min-height:44px;display:flex;align-items:center;gap:8px;list-style:none}.partner-menu summary:after{content:'?'}.partner-menu summary::-webkit-details-marker{display:none}
.partner-menu>div{position:absolute;top:100%;left:0;width:210px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 28px #182a3020;padding:10px;z-index:105}.portal-storefront .site-header .partner-menu>div>a{display:block;padding:12px;border:0;color:var(--ink);font-size:14px}.partner-menu>div>a:hover{background:var(--paper);border-radius:6px}
@media(max-width:800px){.portal-storefront .storefront-hero{grid-template-columns:minmax(0,1fr);margin-bottom:30px}.hero-visual img{height:280px}.portal-storefront .featured-carousel .carousel-slide{gap:12px 20px;padding:20px}.portal-storefront .featured-carousel .carousel-image{height:230px}.portal-storefront .grid-columns-3{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-storefront .storefront-nav{gap:12px 20px;flex-wrap:wrap}.portal-storefront .storefront-nav>a,.portal-storefront .partner-menu{font-size:14px}}
@media(max-width:540px){.portal-storefront .featured-carousel .carousel-slide{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:14px;padding:16px}.portal-storefront .featured-carousel .art-label{grid-column:1;grid-row:1}.portal-storefront .featured-carousel .carousel-image{grid-column:1;grid-row:2;height:220px}.portal-storefront .featured-carousel .featured-product-caption{grid-column:1;grid-row:3;padding:8px 0;gap:12px}.portal-storefront .featured-carousel .featured-product-caption strong{font-size:24px}.portal-storefront .featured-carousel .carousel-controls{gap:6px;padding:12px 8px}.portal-storefront .featured-carousel .carousel-dots{order:3;flex-basis:100%}.featured-section>.heading-row{align-items:flex-start;gap:12px}.hero-visual{padding:18px}.hero-visual img{height:230px}}

.theme-picker{display:flex;align-items:center;gap:6px;font-size:13px}.theme-picker .form-select{width:auto;min-height:40px;font-size:13px;padding:8px 30px 8px 10px}
body.portal-storefront{color-scheme:light}
body.portal-storefront[data-theme="dark"]{color-scheme:dark;--ink:#edf3f6;--muted:#b6c2cb;--paper:#101820;--line:#354552;--surface:#1b2833;--surface-raised:#243541;--green:#a7ccec;background:var(--paper);color:var(--ink)}
body.portal-storefront[data-theme="dark"] .site-header{background:#15212bf5;border-color:var(--line)}
body.portal-storefront[data-theme="dark"] .site-header nav a{color:var(--muted)}
body.portal-storefront[data-theme="dark"] .site-header nav a.selected{color:var(--ink)}
body.portal-storefront[data-theme="dark"] .store-logo{background:#fff;border-radius:8px;padding:6px}
body.portal-storefront[data-theme="dark"] .panel,body.portal-storefront[data-theme="dark"] .product-card,body.portal-storefront[data-theme="dark"] .featured-carousel,body.portal-storefront[data-theme="dark"] .partner-menu>div{background:var(--surface);border-color:var(--line);color:var(--ink)}
body.portal-storefront[data-theme="dark"] .form-control,body.portal-storefront[data-theme="dark"] .form-select{background-color:var(--surface-raised);color:var(--ink);border-color:var(--line)}
body.portal-storefront[data-theme="dark"] .form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23edf3f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}
body.portal-storefront[data-theme="dark"] .storefront-hero,body.portal-storefront[data-theme="dark"] .editorial{background:var(--surface);border-color:var(--line)}
body.portal-storefront[data-theme="dark"] .hero-visual,body.portal-storefront[data-theme="dark"] .product-image,body.portal-storefront[data-theme="dark"] .detail-image,body.portal-storefront[data-theme="dark"] .featured-carousel .carousel-image{background:var(--surface-raised)}
body.portal-storefront[data-theme="dark"] .featured-carousel .carousel-controls{background:var(--surface);border-color:var(--line)}
body.portal-storefront[data-theme="dark"] .featured-carousel .carousel-controls>button{background:var(--surface-raised);border-color:var(--line);color:var(--ink)}
body.portal-storefront[data-theme="dark"] .featured-carousel .featured-product-caption>span:last-child{background:var(--surface-raised);color:var(--ink)}
body.portal-storefront[data-theme="dark"] .product-tag,body.portal-storefront[data-theme="dark"] .product-open{background:var(--surface);color:var(--ink)}
body.portal-storefront[data-theme="dark"] .category-tabs a,body.portal-storefront[data-theme="dark"] .btn-outline-dark{color:var(--ink);border-color:var(--line)}
body.portal-storefront[data-theme="dark"] .btn-outline-dark:hover{background:var(--surface-raised);color:var(--ink)}
body.portal-storefront[data-theme="dark"] .quote-summary,body.portal-storefront[data-theme="dark"] .payment-note,body.portal-storefront[data-theme="dark"] .customer-tracking,body.portal-storefront[data-theme="dark"] .route-stop,body.portal-storefront[data-theme="dark"] .status{background:var(--surface-raised);color:var(--ink)}
body.portal-storefront[data-theme="dark"] .auth-story em,body.portal-storefront[data-theme="dark"] .add-button,body.portal-storefront[data-theme="dark"] .editorial-art,body.portal-storefront[data-theme="dark"] .editorial-art span,body.portal-storefront[data-theme="dark"] a:hover{color:var(--ink)}
body.portal-storefront[data-theme="dark"] .alert-info{background:#203a4c;color:#d4edff;border-color:#436579}
body.portal-storefront[data-theme="dark"] input::placeholder{color:var(--muted)!important}
body.portal-storefront[data-theme="dark"] .theme-picker select option{color:var(--ink);background:var(--surface)}
body.portal-storefront[data-theme="dark"] .table{--bs-table-color:var(--ink);--bs-table-bg:var(--surface)}
body.portal-storefront[data-theme="dark"] .partner-menu>div>a:hover{background:var(--surface-raised)}
@media(prefers-color-scheme:dark){
body.portal-storefront[data-theme="system"]{color-scheme:dark;--ink:#edf3f6;--muted:#b6c2cb;--paper:#101820;--line:#354552;--surface:#1b2833;--surface-raised:#243541;--green:#a7ccec;background:var(--paper);color:var(--ink)}
body.portal-storefront[data-theme="system"] .site-header{background:#15212bf5;border-color:var(--line)}
body.portal-storefront[data-theme="system"] .site-header nav a{color:var(--muted)}
body.portal-storefront[data-theme="system"] .site-header nav a.selected{color:var(--ink)}
body.portal-storefront[data-theme="system"] .store-logo{background:#fff;border-radius:8px;padding:6px}
body.portal-storefront[data-theme="system"] .panel,body.portal-storefront[data-theme="system"] .product-card,body.portal-storefront[data-theme="system"] .featured-carousel,body.portal-storefront[data-theme="system"] .partner-menu>div{background:var(--surface);border-color:var(--line);color:var(--ink)}
body.portal-storefront[data-theme="system"] .form-control,body.portal-storefront[data-theme="system"] .form-select{background-color:var(--surface-raised);color:var(--ink);border-color:var(--line)}
body.portal-storefront[data-theme="system"] .form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23edf3f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}
body.portal-storefront[data-theme="system"] .storefront-hero,body.portal-storefront[data-theme="system"] .editorial{background:var(--surface);border-color:var(--line)}
body.portal-storefront[data-theme="system"] .hero-visual,body.portal-storefront[data-theme="system"] .product-image,body.portal-storefront[data-theme="system"] .detail-image,body.portal-storefront[data-theme="system"] .featured-carousel .carousel-image{background:var(--surface-raised)}
body.portal-storefront[data-theme="system"] .featured-carousel .carousel-controls{background:var(--surface);border-color:var(--line)}
body.portal-storefront[data-theme="system"] .featured-carousel .carousel-controls>button{background:var(--surface-raised);border-color:var(--line);color:var(--ink)}
body.portal-storefront[data-theme="system"] .featured-carousel .featured-product-caption>span:last-child{background:var(--surface-raised);color:var(--ink)}
body.portal-storefront[data-theme="system"] .product-tag,body.portal-storefront[data-theme="system"] .product-open{background:var(--surface);color:var(--ink)}
body.portal-storefront[data-theme="system"] .category-tabs a,body.portal-storefront[data-theme="system"] .btn-outline-dark{color:var(--ink);border-color:var(--line)}
body.portal-storefront[data-theme="system"] .btn-outline-dark:hover{background:var(--surface-raised);color:var(--ink)}
body.portal-storefront[data-theme="system"] .quote-summary,body.portal-storefront[data-theme="system"] .payment-note,body.portal-storefront[data-theme="system"] .customer-tracking,body.portal-storefront[data-theme="system"] .route-stop,body.portal-storefront[data-theme="system"] .status{background:var(--surface-raised);color:var(--ink)}
body.portal-storefront[data-theme="system"] .auth-story em,body.portal-storefront[data-theme="system"] .add-button,body.portal-storefront[data-theme="system"] .editorial-art,body.portal-storefront[data-theme="system"] .editorial-art span,body.portal-storefront[data-theme="system"] a:hover{color:var(--ink)}
body.portal-storefront[data-theme="system"] .alert-info{background:#203a4c;color:#d4edff;border-color:#436579}
body.portal-storefront[data-theme="system"] input::placeholder{color:var(--muted)!important}
body.portal-storefront[data-theme="system"] .theme-picker select option{color:var(--ink);background:var(--surface)}
body.portal-storefront[data-theme="system"] .table{--bs-table-color:var(--ink);--bs-table-bg:var(--surface)}
body.portal-storefront[data-theme="system"] .partner-menu>div>a:hover{background:var(--surface-raised)}
}

.typography-row{border-bottom:1px solid var(--line);padding:12px 0}.typography-row:last-child{border:0}.typography-row .field{margin-bottom:8px}.font-preview{font-size:18px;padding:12px;background:#f3f6fa;color:#243249;border-radius:8px;margin:0;overflow-wrap:anywhere}
