.theme-toggle{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 11px;border:1px solid #e1ede2;border-radius:10px;background:#fffdfb;color:#335436;font-size:.78rem;font-weight:800;white-space:nowrap}
.theme-toggle span:first-child{font-size:1rem;line-height:1}
.head-actions{display:flex;gap:10px;flex-wrap:wrap}
.row-actions{white-space:nowrap;text-align:right}
.row-actions .text-button{margin-left:5px}
.button.small{font-size:.76rem;min-height:31px;padding:6px 10px;border-radius:8px}
.check-label{display:flex;align-items:center;gap:9px;font-weight:700}
.check-label input{width:auto!important;min-height:0!important;margin:0}
.upload-placeholder{width:75px;height:75px;display:grid;place-items:center;border-radius:10px;background:#f4f2ec;color:#81a684;font-size:.72rem;font-weight:800}
.branding-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:7px 0 14px}
.branding-preview{display:grid;grid-template-rows:auto 1fr;min-width:0;min-height:108px;padding:12px;border:1px solid #d9e7da;border-radius:12px}
.branding-preview>span{font-size:.69rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;opacity:.67}
.branding-preview-art{display:flex;align-items:center;justify-content:center;min-width:0;min-height:60px;overflow:hidden}
.branding-preview img{display:block;max-width:min(100%,210px);max-height:48px;width:auto;height:auto;object-fit:contain}
.branding-preview strong{font:700 1.15rem 'Outfit',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.branding-preview.preview-light{background:#fffdfb;color:#263b30}
.branding-preview.preview-dark{background:#19251e;color:#fffdfb;border-color:#385c3b}
.logo-guidance{margin:11px 0 0;padding:13px 15px;border-radius:10px;background:#f9f7f3;color:#4e7c52;font-size:.79rem;line-height:1.45}
.logo-guidance strong{display:block;margin-bottom:5px;color:#2b462d;font-size:.83rem}
.logo-guidance ul{margin:0;padding-left:18px}.logo-guidance li+li{margin-top:4px}

.chart-card{margin:0 0 22px;padding:0 22px 12px}
.chart-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0 8px}
.chart-head h2{margin:0;font:700 1.08rem 'Outfit',sans-serif}
.chart-head p{margin:5px 0 0;color:#83a486;font-size:.78rem}
.segment{display:inline-flex;gap:3px;padding:3px;border:1px solid #e2eee3;border-radius:10px;background:#f9f7f3;max-width:100%;overflow:auto}
.segment button{border:0;border-radius:7px;background:transparent;color:#68926c;padding:7px 10px;font-size:.78rem;font-weight:800;white-space:nowrap}
.segment button.selected{background:#fffdfb;color:#263b30;box-shadow:0 1px 5px #2d492f20}
.chart-legend{display:flex;gap:18px;align-items:center;margin:10px 0;color:#628f66;font-size:.76rem;font-weight:700}
.chart-legend span{display:flex;align-items:center;gap:6px}
.chart-legend i{display:inline-block;width:19px;height:3px;border-radius:4px}
.chart-current{background:#bc8555}.chart-previous{background:#bdd6bf}
.chart-scroll{width:100%;overflow:auto}
.chart-scroll svg{display:block;width:100%;min-width:570px;height:auto}
.chart-gridline{stroke:#f5f3ed;stroke-width:1}.chart-axis{fill:#91b094;font-size:11px;font-family:Arial,sans-serif}
.chart-current-line,.chart-previous-line{fill:none;stroke-linejoin:round;stroke-linecap:round}
.chart-current-line{stroke:#bc8555;stroke-width:3}.chart-previous-line{stroke:#bdd6bf;stroke-width:2.5}
.chart-dot{fill:#bc8555;stroke:#fffdfb;stroke-width:1.5}

.orders-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.orders-toolbar>span{font-size:.8rem;color:#84a587}
.order-table{min-width:820px}.order-table td:last-child{min-width:150px}
.calendar-card{overflow:hidden}.calendar-top{display:flex;align-items:center;justify-content:center;gap:18px;padding:18px;border-bottom:1px solid #e9f1e9}
.calendar-top h2{min-width:170px;margin:0;text-align:center;font:700 1.08rem 'Outfit',sans-serif}
.calendar-top .icon-button{font-size:1.5rem;font-weight:500;line-height:1}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.calendar-weekday{padding:10px;text-align:center;color:#86a789;font-size:.74rem;font-weight:800;border-bottom:1px solid #f5f3ec}
.calendar-cell{min-width:0;min-height:105px;border:0;border-right:1px solid #f5f3ec;border-bottom:1px solid #f5f3ec;background:#fffdfb;color:#2e4c31;text-align:left;padding:10px;display:flex;flex-direction:column;gap:5px}
.calendar-cell:nth-child(7n){border-right:0}.calendar-cell.outside{background:#fbfbf9}.calendar-cell.selected{background:#fff5e9;box-shadow:inset 0 0 0 2px #f2a963}
.calendar-cell.today .calendar-day{background:#263b30;color:#fffdfb;border-radius:50%;width:24px;height:24px;display:grid;place-items:center}
.calendar-day{font-size:.82rem;font-weight:800}.calendar-count{color:#bb7333;font-size:.7rem;font-weight:800}
.calendar-events{display:grid;gap:3px;max-width:100%;overflow:hidden;font-size:.68rem;color:#538858}
.calendar-events span{background:#f6f4ef;border-radius:5px;padding:4px 5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.calendar-events small{font-size:.68rem}.calendar-detail{margin-top:16px}
.calendar-order-list{padding:3px 22px 12px}.calendar-order{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #f5f3ec}
.calendar-order:last-child{border:0}.calendar-order strong,.calendar-order small{display:block}.calendar-order strong{font-size:.85rem}.calendar-order small{color:#82a185;margin-top:4px;font-size:.76rem}

.voucher-tip{display:inline-block;margin:0 0 15px;padding:10px 13px;border-radius:9px;background:#fff4e4;color:#8a5b29;font-size:.82rem}
.store-header{border-bottom:1px solid #e6f0e7;max-width:none;padding:18px max(24px,calc((100vw - 1120px)/2));background:#fffdfb}
.store-header-actions{display:flex;align-items:center;gap:11px}
.store-wordmark{max-width:220px;min-height:44px;display:flex;align-items:center;overflow:hidden}
.store-logo{display:block;max-width:210px;max-height:48px;width:auto;height:auto;object-fit:contain;object-position:left center}
.store-main{max-width:1120px;padding:29px 24px 55px}
.store-simple-head{margin-bottom:25px}.store-simple-head h1{margin:0;font:700 clamp(1.7rem,3vw,2.3rem) 'Outfit',sans-serif;letter-spacing:-.04em}
.store-simple-head p{color:#7c9e7f;margin:6px 0 0;font-size:.91rem}
.category-block{margin:0 0 31px}.category-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e1ede2;padding:0 0 11px;margin-bottom:14px}
.category-head h2{font:700 1.28rem 'Outfit',sans-serif;letter-spacing:-.025em;margin:0}.category-head span{font-size:.78rem;color:#83a486}
.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.store-item{display:flex;gap:16px;min-width:0;padding:15px;border:1px solid #e4efe5;border-radius:13px;background:#fffdfb;box-shadow:0 4px 18px #2e4b3008}
.store-item-media{width:116px;height:116px;flex:none;border-radius:9px;overflow:hidden;background:#e8f1e9;display:grid;place-items:center}
.store-item-media img{display:block;width:100%;height:100%;object-fit:cover}.store-item-media span{font:700 2.5rem 'Outfit',sans-serif;color:#91ba94}
.store-item-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:9px}.store-item-top{display:flex;justify-content:space-between;gap:10px}
.store-item-top h3{font:700 1rem 'Outfit',sans-serif;margin:0 0 5px}.store-item-top p{font-size:.78rem;color:#759b78;line-height:1.4;margin:0 0 4px}
.store-item-top>strong{white-space:nowrap;font-size:.9rem}.store-item .store-actions{margin-top:auto;align-items:end}.store-item .store-actions .button{min-height:38px;padding:8px 10px;font-size:.78rem}
.store-item .qty-label input{min-height:38px;width:56px}.store-item .store-select{min-height:38px;padding:6px;font-size:.76rem}
.store-item .store-label{margin-bottom:-6px}.stock-low{margin:6px 0;color:#c43737;font-size:.76rem;font-weight:800}
.cart-item-media{width:50px;height:50px;border-radius:8px;background:#e8f1e9;display:grid;place-items:center;overflow:hidden;flex:none}
.cart-item-media img{width:100%;height:100%;object-fit:cover}.cart-item-media span{font-weight:800;color:#81a884}
.cart-item-info{flex:1;min-width:0}.cart-line{align-items:center}.cart-line .text-button{flex:none}
.cart-totals{padding:15px 0 5px}.cart-totals>div{display:flex;justify-content:space-between;gap:15px;font-size:.86rem;margin-bottom:8px}
.cart-totals .discount-row{color:#2c9365}.cart-totals .cart-grand-total{border-top:1px solid #e8f1e9;padding-top:13px;margin-top:13px;font-size:1.05rem;font-weight:800}
.voucher-box{padding:12px 0 20px}.voucher-box label{display:block;font-size:.8rem;font-weight:800;margin-bottom:7px}.voucher-entry{display:flex;gap:8px}
.voucher-entry input{flex:1;min-width:0;border:1px solid #deebdf;border-radius:9px;padding:10px 11px}.voucher-entry .button{min-height:40px}
.voucher-applied{display:flex;align-items:center;justify-content:space-between;border:1px solid #c8e7d5;background:#f1fbf5;color:#287850;border-radius:9px;padding:10px 11px;font-size:.82rem;font-weight:800}
.voucher-applied button{border:0;background:none;color:inherit;font-weight:800}.voucher-error{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:9px;padding:9px 11px;border-radius:8px;background:#fcebec;color:#a33438;font-size:.79rem;font-weight:800}
.voucher-error button{background:none;border:0;color:inherit;font-size:1.1rem;line-height:1}

.owner-list{margin-top:10px}.owner-account-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(200px,.8fr) auto;align-items:center;gap:24px;padding:24px}
.owner-account-main{display:flex;gap:14px;align-items:flex-start}.owner-account-main h3{margin:0 0 5px;font:700 1.06rem 'Outfit',sans-serif}.owner-account-main p{margin:0 0 11px;color:#82a285;font-size:.78rem}
.owner-sales{display:grid;gap:4px}.owner-sales small{font-size:.79rem;color:#82a285}.owner-sales strong{font:700 1.45rem 'Outfit',sans-serif;white-space:nowrap}
.owner-growth{font-size:.76rem;font-weight:800}.owner-growth.positive{color:#28865b}.owner-growth.negative{color:#c44848}.owner-growth.neutral{color:#83a085}

@media(max-width:1000px){.category-grid{grid-template-columns:1fr}.owner-account-row{grid-template-columns:1fr auto}.owner-sales{grid-column:1;grid-row:2}.owner-account-row>.button{grid-column:2;grid-row:1 / 3}}
@media(max-width:700px){.theme-toggle{min-width:36px;justify-content:center;padding:6px}.theme-toggle span:last-child{display:none}.head-actions{margin-top:15px}.head-actions .button{margin-top:0!important}.chart-head{align-items:flex-start;flex-direction:column;gap:10px}.chart-card{padding:0 14px 10px}.chart-scroll svg{min-width:520px}.orders-toolbar{align-items:flex-start;flex-direction:column}.orders-toolbar>span{display:none}.calendar-cell{min-height:62px;padding:5px}.calendar-events{display:none}.calendar-weekday{font-size:.62rem;padding:7px 2px}.calendar-day{font-size:.72rem}.calendar-count{font-size:.64rem}.calendar-cell.today .calendar-day{height:19px;width:19px}.store-header{padding:12px 16px}.store-main{padding:20px 16px 45px}.store-item{gap:11px;padding:11px}.store-item-media{width:82px;height:82px}.store-item-top{display:block}.store-item-top>strong{display:block;margin-top:7px}.store-item .store-actions{flex-wrap:wrap}.store-item .store-actions .button{min-width:125px}.owner-account-row{display:flex;align-items:stretch;flex-direction:column;gap:17px}.owner-sales{margin-left:62px}.owner-account-row>.button{align-self:flex-start;margin-left:62px}}
@media(max-width:460px){.branding-preview-grid{grid-template-columns:1fr}}

[data-theme="dark"]{color-scheme:dark}
[data-theme="dark"] body,[data-theme="dark"] .main,[data-theme="dark"] .owner-main,[data-theme="dark"] .owner-shell,[data-theme="dark"] .store-shell{background:#131f14;color:#edf0e5}
[data-theme="dark"] .sidebar,[data-theme="dark"] .owner-sidebar,[data-theme="dark"] .store-preview-bar,[data-theme="dark"] .mobile-nav{background:#101a11;color:#deeadf}
[data-theme="dark"] .topbar,[data-theme="dark"] .owner-topbar,[data-theme="dark"] .store-header{background:#19251e;border-color:#335336;color:#adcdb0}
[data-theme="dark"] .card,[data-theme="dark"] .store-item,[data-theme="dark"] .modal,[data-theme="dark"] .store-product,[data-theme="dark"] .calendar-cell,[data-theme="dark"] .theme-toggle{background:#202e24;border-color:#3d4c3d;color:#edf0e5;box-shadow:none}
[data-theme="dark"] .calendar-cell.outside{background:#1b2d1d}[data-theme="dark"] .calendar-cell.selected{background:#433525;box-shadow:inset 0 0 0 2px #e9a35f}
[data-theme="dark"] .section-head,[data-theme="dark"] .category-head,[data-theme="dark"] .calendar-top,[data-theme="dark"] .calendar-weekday,[data-theme="dark"] .calendar-cell,[data-theme="dark"] .cart-line,[data-theme="dark"] .calendar-order,[data-theme="dark"] .owner-order{border-color:#3d4c3d}
[data-theme="dark"] .data-table th{background:#253c27;color:#a9caac;border-color:#3d4c3d}[data-theme="dark"] .data-table td{border-color:#3d4c3d}[data-theme="dark"] .data-table tr:hover td{background:#28422a}
[data-theme="dark"] .page-head h1,[data-theme="dark"] .page-head p,[data-theme="dark"] .breadcrumb strong,[data-theme="dark"] .owner-topbar strong,[data-theme="dark"] .metric-value,[data-theme="dark"] .owner-metric strong,[data-theme="dark"] .owner-sales strong,[data-theme="dark"] .store-item-top h3,[data-theme="dark"] .store-item-top>strong,[data-theme="dark"] .store-wordmark,[data-theme="dark"] .category-head h2,[data-theme="dark"] .store-simple-head h1{color:#edf0e5}
[data-theme="dark"] .page-head p,[data-theme="dark"] .store-item-top p,[data-theme="dark"] .owner-account-main p,[data-theme="dark"] .store-simple-head p,[data-theme="dark"] .metric-foot,[data-theme="dark"] .metric-label,[data-theme="dark"] .muted,[data-theme="dark"] .help,[data-theme="dark"] .cart-item-info small{color:#a1c6a4}
[data-theme="dark"] .button.secondary,[data-theme="dark"] .icon-button,[data-theme="dark"] .store-cart-button,[data-theme="dark"] .segment button.selected{background:#2d4a30;color:#f7f5f0;border-color:#49784d}
[data-theme="dark"] .button.ghost,[data-theme="dark"] .text-button{color:#b8d5af}
[data-theme="dark"] input,[data-theme="dark"] textarea,[data-theme="dark"] select,[data-theme="dark"] .search,[data-theme="dark"] .filter{background:#19251e;color:#edf0e5;border-color:#526b57}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:#78a57c}
[data-theme="dark"] .modal-head,[data-theme="dark"] .modal-actions{background:#202e24;border-color:#3d4c3d}
[data-theme="dark"] .segment{background:#19251e;border-color:#3d4c3d}[data-theme="dark"] .segment button{color:#a4c8a7}[data-theme="dark"] .segment button.selected{color:#fffdfb}
[data-theme="dark"] .chart-gridline{stroke:#3d4c3d}[data-theme="dark"] .chart-axis{fill:#93bd97}[data-theme="dark"] .chart-previous-line{stroke:#669e6b}[data-theme="dark"] .chart-previous{background:#669e6b}
[data-theme="dark"] .calendar-events span,[data-theme="dark"] .branding-preview,[data-theme="dark"] .thumb.blank,[data-theme="dark"] .store-item-media,[data-theme="dark"] .cart-item-media{background:#2e4a30;color:#bcd6be}
[data-theme="dark"] .voucher-tip,[data-theme="dark"] .demo-callout{background:#403021;color:#ffd5a5}
[data-theme="dark"] .voucher-applied{background:#183c33;color:#9de1be;border-color:#316a54}[data-theme="dark"] .voucher-error{background:#4b252a;color:#ffc8cb}
[data-theme="dark"] .store-paused{background:#493420;color:#ffd5a5;border-color:#765236}
[data-theme="dark"] .detail-note{background:#2a442c;color:#bfd7c1}
[data-theme="dark"] .owner-live{background:#173b31;border-color:#285b47;color:#a3e2bb}
[data-theme="dark"] .store-label,[data-theme="dark"] .qty-label,[data-theme="dark"] .empty,[data-theme="dark"] .empty h3,[data-theme="dark"] .field label,[data-theme="dark"] .chart-head p,[data-theme="dark"] .category-head span,[data-theme="dark"] .owner-sales small,[data-theme="dark"] .calendar-order small,[data-theme="dark"] .section-head span,[data-theme="dark"] .section-head a{color:#b2d0b5}
[data-theme="dark"] .empty h3{color:#edf0e5}
[data-theme="dark"] .status{background:#183d31;color:#9ee0b9}
[data-theme="dark"] .status.pending{background:#49351e;color:#f5c88a}
[data-theme="dark"] .branding-preview.preview-light{background:#fffdfb;color:#263b30;border-color:#d9e7da}
[data-theme="dark"] .branding-preview.preview-dark{background:#19251e;color:#fffdfb;border-color:#385c3b}
[data-theme="dark"] .logo-guidance{background:#2e4a30;color:#bcd6be}
[data-theme="dark"] .logo-guidance strong{color:#edf0e5}
