/* Brown-first brand refresh: higher contrast surfaces and copy. */
:root{color-scheme:light;--brown-deep:#493326;--brown:#644631;--brown-mid:#785538;--brown-soft:#ead8c2;--cream:#ead8c1;--cream2:#ddc3a4;--terracotta:#9a6240;--gold:#c29243;--ink:#302319;--muted:#625143;--line:#c8ad8d;--pastel-surface:#ead7c0;--pastel-green:#e1e8da;--moss:#596d50;--forest:#596d50}
html,body{background:var(--cream)!important;color:var(--ink)!important;color-scheme:light!important}body{background-image:none!important}
p,li,dd,.hero-copy>p,.story-copy p,.contact-section>div>p,.admin-shell,.admin-panel,.admin-form,.admin-table-wrap{color:var(--ink)!important}
small,.muted,.product-desc,.featured-card small,.cart-item small,.checkout-payment-intro,.checkout-profile-hint,.checkout-field small,.admin-welcome p,.admin-login-card>p,.admin-form small,.admin-empty-note,.admin-table-wrap td small{color:var(--muted)!important;opacity:1!important}
.demo-bar,.site-footer,.admin-topbar{background:linear-gradient(110deg,#493326,#684a34)!important;color:#fffaf1!important;border-color:#bd965f!important}
.demo-bar *,.site-footer *,.admin-topbar *,.footer-brand strong,.footer-brand small,.footer-inner p,.footer-inner>span{color:#fffaf1!important}
.site-header,.main-nav{background:#ead7c0!important;color:var(--ink)!important;border-color:var(--line)!important}.brand,.brand strong,.brand-symbol,.main-nav a,.main-nav a:hover{color:var(--ink)!important}.brand small,.admin-brand small{color:var(--muted)!important}.brand-symbol{border-color:var(--brown-mid)!important}.main-nav a:hover,.main-nav a:focus-visible{background:var(--cream2)!important;color:#302319!important}
.cart-trigger,.category-tab,.contact-card,.qty-button,.admin-secondary,.table-action,.order-save{background:#ead7c0!important;color:var(--ink)!important;border-color:var(--line)!important}.cart-trigger b{background:var(--brown)!important;color:#fffaf1!important}
.hero,.story-section,.contact-section{background:linear-gradient(120deg,#e6d0b6,#f4e9db 62%,#e3e5d7)!important;color:var(--ink)!important;border-color:var(--line)!important}.hero h1,.story-copy h2,.menu-heading h2,.contact-section h2,.hero-copy h1,.product-title-row h3,.product-category-heading h3,.featured-heading h3,.contact-card div b,.contact-card div b a{color:var(--ink)!important}.hero h1 em,.story-copy h2 em,.menu-heading h2 em,.contact-section h2 em,.product-price,.featured-card em{color:#704726!important}.eyebrow,.hero-note,.hero-note span,.product-category,.product-category-heading>span,.featured-card small{color:#625143!important}.hero-visual,.story-art{background:linear-gradient(135deg,#79553a,#ad855c)!important}
.benefit-row,.menu-category-rail,.featured-menu{background:#ead8c2!important;border-color:var(--line)!important}.benefit-row *,.rail-title{color:var(--ink)!important}.benefit-icon{color:var(--moss)!important}.category-tab.active,#category-tabs .category-tab.active{background:var(--brown)!important;border-color:#493326!important;color:#fffaf1!important}.category-tab.active span,#category-tabs .category-tab.active span{background:#493326!important;color:#fffaf1!important}
.featured-card,.product-card{background:#ead7c0!important;color:var(--ink)!important;border-color:var(--line)!important}.featured-card b,.product-title-row h3{color:var(--ink)!important}.featured-card small,.product-desc{color:var(--muted)!important}.product-art{background:#ead8c2!important}.product-controls select{background:#ead7c0!important;color:var(--ink)!important;border-color:var(--line)!important}.product-detail-trigger{color:#644631!important}
.add-button,.buy-now-button,.checkout-button,.install-app-trigger,.account-trigger--primary,.admin-primary,#admin-refresh{background:linear-gradient(120deg,#79563a,#60432f)!important;color:#fffaf1!important;border-color:#493326!important}.add-button:hover,.buy-now-button:hover,.checkout-button:hover,.install-app-trigger:hover,.admin-primary:hover{background:#493326!important;color:#fffaf1!important}.add-button *,.buy-now-button *,.checkout-button *,.install-app-trigger *{color:#fffaf1!important}
.quick-cart-dock,.cart-panel,.demo-dialog,.product-detail-dialog,.checkout-dialog,.checkout-summary,.payment-success-notice{background:#ead7c0!important;color:var(--ink)!important;border-color:var(--line)!important}.cart-head,.cart-item,.checkout-address-summary{border-color:var(--line)!important}.cart-head h3,.cart-item-price,.subtotal strong,.detail-copy h2,.payment-success-notice strong{color:var(--ink)!important}.cart-head h3 span,.cart-item small,.subtotal,.cart-footer>p,.detail-copy>p,.detail-copy dd,.detail-copy dt{color:var(--muted)!important}.contact-card div span{color:var(--muted)!important}
input,select,textarea,.admin-form input,.admin-form textarea,.admin-form select,.admin-table-wrap select{background:#fffdf9!important;color:var(--ink)!important;border-color:var(--line)!important}input::placeholder,textarea::placeholder{color:#706052!important;opacity:1!important}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #8d9a77!important;outline-offset:2px!important}
.admin-shell{color:var(--ink)!important}.admin-panel,.admin-login-card,.workflow-card,.admin-form,.admin-table-wrap,.temporary-access-card{background:#ead7c0!important;color:var(--ink)!important;border-color:var(--line)!important}.admin-login-card h1,.admin-welcome h1,.panel-heading h2,.admin-form h3,.admin-panel h3,.admin-panel h4{color:var(--ink)!important}.admin-kicker,.panel-heading .admin-kicker{color:#705238!important}.admin-tabs{border-color:var(--line)!important}.admin-tabs button{color:#4b392b!important}.admin-tabs button.active{color:#302319!important;border-color:var(--brown)!important;background:#ead8c2!important}.admin-tabs span,.count-pill{background:#ead8c2!important;color:#493326!important}.admin-table-wrap table,.admin-table-wrap td,#admin-dashboard .admin-table-wrap td,#admin-dashboard .admin-table-wrap td small{color:var(--ink)!important;opacity:1!important}.admin-table-wrap th,#admin-dashboard .admin-table-wrap th{color:#493326!important;border-color:var(--line)!important}.admin-table-wrap td{border-color:#e4d6c5!important}.workflow-footnote,.admin-panel .workflow-intro,.admin-panel .admin-form label,.admin-panel .admin-table-wrap{color:var(--ink)!important}
/* Repair previous dark-mode overrides in warehouse and order views. */
#admin-dashboard .admin-panel :where(p,span,label,small,strong,td,th,li),#admin-dashboard .admin-form :where(p,span,label,small,strong){color:var(--ink)!important;opacity:1!important}
#admin-dashboard .admin-panel :where(.admin-kicker,.count-pill,.status-pill,.status-badge){color:#493326!important}
#admin-dashboard .admin-table-wrap th,#admin-dashboard .admin-table-wrap th *{color:#493326!important}#admin-dashboard .admin-table-wrap td,#admin-dashboard .admin-table-wrap td *{color:var(--ink)!important;opacity:1!important}
#admin-orders-panel tbody tr{background:#ead7c0!important;border-color:var(--line)!important;color:var(--ink)!important}#admin-orders-panel tbody td{background:transparent!important;color:var(--ink)!important;border-color:#e4d6c5!important;opacity:1!important}#admin-orders-panel tbody td::before{color:#60432f!important}#admin-orders-panel tbody td :where(small,span,strong,b){color:var(--ink)!important;opacity:1!important}
#admin-dashboard :where(.admin-form,.admin-table-wrap,.workflow-card,.admin-panel) :where(input,select,textarea){background:#fffdf9!important;color:var(--ink)!important}#admin-dashboard :where(button,a,.table-action,.order-save,.order-advance,.order-print){opacity:1!important}
input[type=checkbox],input[type=radio]{accent-color:var(--moss)!important}.payment-success-notice{box-shadow:0 20px 60px #30231930!important}.payment-success-mark{background:var(--pastel-green)!important;color:#40533b!important}.status-pill,.status-badge{color:#40533b!important}
/* Very subtle photoluminescent trim on important interactions only. */
.admin-primary,.checkout-button,.buy-now-button,.install-app-trigger,.account-trigger--primary,.category-tab.active{box-shadow:0 0 0 1px #d3b76e,0 0 12px #a9bc8b45!important}.floating-contact a,.contact-widget a,.contact-float a{box-shadow:0 0 0 2px #fffaf199,0 0 13px #95aa7a70!important}.admin-kicker,.eyebrow{text-shadow:0 0 8px #d9bd7955}
.floating-contact,.contact-widget,.contact-widget a,.floating-contact a,.contact-float a{background-color:var(--brown)!important;color:#fffaf1!important;border-color:#493326!important}.floating-contact *,.contact-widget *,.floating-contact a *,.contact-widget a *{color:#fffaf1!important}
@media(max-width:700px){.menu-category-rail{background:#ead8c1f7!important;border-color:var(--line)!important}.category-tab{background:#ead7c0!important;color:var(--ink)!important}.category-tab.active{background:var(--brown)!important;color:#fffaf1!important}#admin-dashboard .admin-table-wrap :where(th,td,td small){opacity:1!important}#admin-dashboard .admin-panel :where(p,span,label,small,strong,td,th,li){color:var(--ink)!important;opacity:1!important}}
/* Moss contrast pass: replace pale gold microcopy and reduce wood texture under text. */
:root{--moss:#40563d;--forest:#40563d}
.admin-topbar .admin-brand small{color:#f1dec4!important}
#admin-login-card .admin-kicker,#admin-login-card .admin-login-form label,#admin-login-card .admin-message,#admin-login-card>small{color:#40563d!important;opacity:1!important}
#admin-login-card>p{color:#44382d!important;opacity:1!important}
#admin-dashboard .admin-welcome p,#admin-dashboard .admin-panel .admin-kicker,#admin-dashboard .admin-panel .panel-heading .admin-kicker,#admin-dashboard .admin-form label,#admin-dashboard .admin-form small,#admin-dashboard .admin-panel .workflow-intro,#admin-dashboard .admin-panel .workflow-footnote,#admin-dashboard .admin-empty-note,#admin-dashboard .admin-table-wrap td small{color:#40563d!important;opacity:1!important}
#admin-dashboard .admin-panel :where(.status-pill,.status-badge,.count-pill){color:#40563d!important}
.admin-kicker,.eyebrow,.product-category,.product-category-heading>span,.featured-card small,.product-detail-trigger,.benefit-icon,.payment-methods legend,.payment-methods label small,.checkout-profile-hint,.checkout-payment-intro{color:#40563d!important;opacity:1!important}
.admin-login-card::before,.admin-panel::before,.admin-form::before,.workflow-panel::before,.workflow-step::before,.temporary-access-card::before,.admin-boss-link-card::before{opacity:.12!important}
.admin-topbar::before{opacity:.28!important}
/* Full-site legibility sweep for customer flows and every admin panel. */
body .product-card :is(p,small,label,span,li,dd,dt),body .featured-card :is(p,small,label,span,li,dd,dt),body .featured-menu :is(p,small,label,span,li,dd,dt),body .menu-category-rail :is(p,small,label,span,li,dd,dt),body .cart-panel :is(p,small,label,span,li,dd,dt),body .quick-cart-dock :is(p,small,label,span,li,dd,dt),body .checkout-dialog :is(p,small,label,span,li,dd,dt,legend),body .checkout-summary :is(p,small,label,span,li,dd,dt),body .product-detail-dialog :is(p,small,label,span,li,dd,dt),body .account-dialog :is(p,small,label,span,li,dd,dt),body .demo-dialog :is(p,small,label,span,li,dd,dt),body .contact-card :is(p,small,label,span){color:#302319!important;opacity:1!important}
body .product-card :is(.product-category,.product-detail-trigger),body .featured-card :is(.product-category,small),body .menu-category-rail .rail-title,body .contact-card div span,body .checkout-dialog :is(.payment-methods legend,.checkout-field>label),body .account-dialog :is(.customer-auth-form>label,.account-user form>label,.account-optional-note){color:#40563d!important;opacity:1!important}
body .checkout-dialog .payment-choice:has(input:checked){border-color:#40563d!important;box-shadow:0 0 0 2px #40563d45!important}
body .checkout-dialog .payment-choice:has(input:checked) :is(b,small,span){color:#fff8ed!important}
.category-tab.active,#category-tabs .category-tab.active{border-color:#40563d!important;box-shadow:inset 0 -3px #40563d!important}
body .admin-shell .admin-panel :is(p,small,label,span,li,dd,dt,summary,legend),body .admin-shell .admin-form :is(p,small,label,span,li,dd,dt),body .admin-shell .admin-table-wrap :is(p,small,label,span,li,dd,dt,td,th){color:#302319!important;opacity:1!important}
body .admin-shell .admin-panel :is(.admin-kicker,.workflow-intro,.workflow-footnote,.admin-form label,.admin-form small,.admin-empty-note,.admin-table-wrap td small),body .admin-shell .admin-form :is(label,small),body .admin-shell .admin-table-wrap td small{color:#40563d!important;opacity:1!important}
#admin-dashboard .admin-tabs button.active{color:#40563d!important;border-color:#40563d!important;background:#e1e8da!important}
#admin-dashboard .admin-panel .count-pill,#admin-dashboard .admin-panel .status-pill,#admin-dashboard .admin-panel .status-badge{background:#e1e8da!important;color:#40563d!important;border-color:#a8b89e!important}
#admin-dashboard .admin-panel :is(.admin-secondary,.table-action,.order-save){border-color:#87977d!important}
#admin-login-card .admin-login-form label,#admin-login-card .admin-kicker,#admin-login-card .admin-message,#admin-login-card>small{color:#40563d!important}
/* Final contrast and moss accents across all customer/admin surfaces. */
body :is(.add-button,.buy-now-button,.checkout-button,.install-app-trigger,.account-trigger--primary,.admin-primary,#admin-refresh),
body :is(.add-button,.buy-now-button,.checkout-button,.install-app-trigger,.account-trigger--primary,.admin-primary,#admin-refresh) *{color:#fffaf1!important}
body :is(.admin-secondary,.table-action,.order-save,.qty-button,.cart-trigger,.category-tab:not(.active)),
body :is(.admin-secondary,.table-action,.order-save,.qty-button,.cart-trigger,.category-tab:not(.active)) *{color:#302319!important}
body :is(a,.product-detail-trigger):not(.site-footer a):not(.admin-topbar a){text-decoration-color:#40563d!important}
body :is(a,.product-detail-trigger):not(.site-footer a):not(.admin-topbar a):hover{color:#40563d!important}
body :is(.panel-heading,.admin-panel h3,.admin-panel h4,.checkout-dialog h3,.checkout-summary h3){text-decoration-color:#87977d}
body .admin-shell .admin-panel :is(.admin-kicker,.workflow-intro,.workflow-footnote,.admin-form label,.admin-form small,.admin-empty-note,.admin-table-wrap td small){color:#40563d!important;opacity:1!important}
body .site-header :is(.main-nav a[aria-current],.main-nav a.active){text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;text-decoration-color:#40563d!important}
body :is(.admin-tabs button.active,.category-tab.active,#category-tabs .category-tab.active){box-shadow:inset 0 -3px #40563d!important}
/* Balanced brown + moss accents: moss is visible in selected states, brown stays primary. */
.category-tab.active,#category-tabs .category-tab.active{background:#40563d!important;border-color:#40563d!important;color:#fff8ed!important;box-shadow:inset 0 -3px #c9a45d,0 0 0 1px #40563d!important}
.category-tab.active span,#category-tabs .category-tab.active span{background:#e1e8da!important;color:#40563d!important}
#admin-dashboard .admin-tabs button.active{background:#40563d!important;color:#fff8ed!important;border-color:#40563d!important;box-shadow:inset 0 -3px #d1ad67!important}
#admin-dashboard .admin-tabs button.active *{color:#fff8ed!important}
#admin-dashboard .admin-panel .count-pill,#admin-dashboard .admin-panel .status-pill,#admin-dashboard .admin-panel .status-badge{background:#e1e8da!important;color:#40563d!important;border-color:#a8b89e!important}
.payment-success-mark,.benefit-icon{background:#e1e8da!important;color:#40563d!important;border-color:#87977d!important}
body .checkout-dialog .payment-choice:has(input:checked){background:linear-gradient(100deg,#e1e8da 0%,#ead7c0 68%)!important;border-color:#40563d!important}
body .checkout-dialog .payment-choice:has(input:checked) :is(b,small,span){color:#302319!important}
body .checkout-dialog .payment-choice:has(input:checked) :is(input){accent-color:#40563d!important}
body .admin-panel .workflow-step-number,body .workflow-card .step-number{background:#40563d!important;color:#fff8ed!important;border-color:#40563d!important}
/* Visible two-tone identity: brown base + clear moss panels, balanced for text contrast. */
:root{--moss:#40563d;--moss-mid:#718264;--moss-soft:#c4ccb6;--moss-pale:#dce2d2}
/* Customer menu: a visible moss band anchors the category chooser. */
.menu-category-rail{background:linear-gradient(115deg,#718264,#879273)!important;border:1px solid #40563d!important;box-shadow:inset 0 3px 0 #40563d!important}
.menu-category-rail .rail-title,.menu-category-rail :is(label,.menu-category-count){color:#fff8ed!important}
.menu-category-rail .category-tab:not(.active){background:#e2e5d8!important;color:#302319!important;border-color:#697b5d!important}
.menu-category-rail .category-tab.active,#category-tabs .category-tab.active{background:#40563d!important;color:#fff8ed!important;border:1px solid #263824!important;box-shadow:inset 0 -3px #d2af69!important}
.menu-category-rail .category-tab.active *,#category-tabs .category-tab.active *{color:#fff8ed!important}
.menu-category-rail .category-tab.active span,#category-tabs .category-tab.active span{background:#dce2d2!important;color:#302319!important}
/* Moss is also visible in customer contact area, with dark readable copy. */
.contact-section{background:linear-gradient(115deg,#e6d0b6 0%,#d3dac7 100%)!important}
.contact-card{background:#c4ccb6!important;border:1px solid #718264!important;box-shadow:inset 4px 0 #40563d!important}
.contact-card :is(b,a,span){color:#302319!important}
/* Admin: active navigation and workflow markers use the same moss as the shop. */
#admin-dashboard .admin-tabs button.active{background:#40563d!important;color:#fff8ed!important;border-color:#263824!important;box-shadow:inset 0 -3px #d2af69!important}
#admin-dashboard .admin-tabs button.active *{color:#fff8ed!important}
#admin-dashboard .workflow-card,#admin-dashboard .workflow-step{border-top:4px solid #718264!important}
#admin-dashboard .workflow-card :is(.step-number,.step-index,.workflow-number){background:#40563d!important;color:#fff8ed!important;border-color:#263824!important}
#admin-dashboard .admin-panel .count-pill,#admin-dashboard .admin-panel .status-pill,#admin-dashboard .admin-panel .status-badge{background:#dce2d2!important;color:#30432d!important;border:1px solid #718264!important}
#admin-dashboard .admin-panel .panel-heading{border-bottom:1px solid #879477!important}
#admin-login-card{border-left:7px solid #718264!important}
#admin-login-card .admin-kicker{display:inline-block;background:#dce2d2!important;color:#30432d!important;padding:6px 10px!important;border-radius:999px!important}
#admin-login-card .admin-login-form :is(input,button){border-color:#718264!important}

/* High contrast for order controls and every inventory setup disclosure. */
#admin-dashboard #admin-orders-panel .order-filters label,#admin-dashboard #admin-orders-panel #order-live-status,#admin-dashboard #admin-orders-panel .orders-payment-help,#admin-dashboard #admin-orders-panel .orders-payment-help :where(strong,span){color:#302319!important;opacity:1!important}
#admin-dashboard #admin-orders-panel .order-filters label{font-weight:700!important}
#admin-dashboard #admin-orders-panel #order-live-status{font-weight:600!important}
#admin-dashboard #admin-orders-panel .orders-payment-help{background:#f7e4b9!important;border-color:#95632f!important}
#admin-dashboard #admin-orders-panel .orders-payment-help strong{color:#493326!important}
#admin-dashboard #admin-inventory-panel .inventory-setup>summary{color:#302319!important;font-weight:800!important;opacity:1!important}
#admin-dashboard #admin-inventory-panel .inventory-setup>p,#admin-dashboard #admin-inventory-panel .inventory-setup small,#admin-dashboard #admin-inventory-panel .inventory-setup .admin-kicker{color:#493326!important;opacity:1!important}
#admin-dashboard #admin-inventory-panel .inventory-setup h3,#admin-dashboard #admin-inventory-panel .admin-table-wrap>h3{color:#302319!important;opacity:1!important}
#admin-dashboard #admin-inventory-panel .admin-form label,#admin-dashboard #admin-inventory-panel .admin-form>small,#admin-dashboard #admin-inventory-panel .admin-table-wrap th,#admin-dashboard #admin-inventory-panel .admin-table-wrap td,#admin-dashboard #admin-inventory-panel .admin-table-wrap td small{color:#302319!important;opacity:1!important}
/* Workflow cards stay in the agreed brown + moss palette; never render as white cards. */
#admin-dashboard #admin-workflow-panel{background:linear-gradient(135deg,#765238 0%,#60432f 58%,#526044 100%)!important;color:#fff4df!important}
#admin-dashboard #admin-workflow-panel .panel-heading h2,
#admin-dashboard #admin-workflow-panel .panel-heading .admin-kicker{color:#fff1d4!important;opacity:1!important}
#admin-dashboard #admin-workflow-panel .workflow-step{background:linear-gradient(145deg,#e5c69c 0%,#d5b184 100%)!important;border:1px solid #b99361!important;border-top:5px solid #718264!important;color:#302319!important;box-shadow:0 5px 14px #2c1d1230!important}
#admin-dashboard #admin-workflow-panel .workflow-step :is(h3,strong,.workflow-step-top small){color:#302319!important;opacity:1!important}
#admin-dashboard #admin-workflow-panel .workflow-step-top>span{background:#40563d!important;color:#fff8ed!important}
#admin-dashboard #admin-workflow-panel .workflow-step button{background:#40563d!important;color:#fff8ed!important;border-color:#30432d!important}
#admin-dashboard #admin-workflow-panel .workflow-step button:hover{background:#30432d!important}
#admin-dashboard #admin-status:empty{display:none!important}
#admin-dashboard #admin-inventory-panel .inventory-setup>summary{background:#d4b48c!important;color:#302319!important;border-left:5px solid #718264!important}
#admin-dashboard #admin-inventory-panel .inventory-setup .admin-form>small{display:none!important}