:root { --black: #11110f; --ink: #1b1a17; --muted: #6d685c; --cream: #f7f3e8; --yellow: #f4c430; --yellow-dark: #d7a900; --yellow-soft: #fff3bd; --line: #ded6bf; --white: #fff; }
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; color: var(--ink); background: var(--cream); font-family: ui-sans-serif, system-ui, sans-serif; }
.topbar { min-height: 72px; padding: .65rem 5vw; display: flex; align-items: center; justify-content: space-between; background: var(--black); color: white; border-bottom: 4px solid var(--yellow); }
.brand { display: inline-flex; align-items: center; gap: .65rem; padding: .45rem .6rem; border-radius: 9px; color: white; text-decoration: none; font-weight: 850; font-size: 1.15rem; letter-spacing: -.02em; }
.brand:hover { background: #292821; }
.brand .icon { width: 30px; height: 30px; color: var(--yellow); }
.site-logo { width: 38px; height: 38px; object-fit: contain; }
.account { display: flex; gap: 1.25rem; align-items: center; font-size: .9rem; }
.account nav { display: flex; gap: .4rem; }
.container { width: min(1060px, 90vw); margin: 7vh auto; flex: 1; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: 0 18px 55px rgba(23,33,27,.08); }
.auth-card, .form-card { max-width: 520px; margin: 10vh auto; }
h1 { margin: .25rem 0 .5rem; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.045em; }
.eyebrow { margin: 0; color: #8a6900; font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; }
.muted { color: var(--muted); margin-bottom: 2rem; }
.stack { display: grid; gap: 1.2rem; margin-top: 1.75rem; }
label { display: block; margin-bottom: .45rem; font-weight: 700; font-size: .9rem; }
input, select { width: 100%; padding: .85rem 1rem; border: 1px solid #bbb8b0; border-radius: 9px; background: white; font: inherit; }
input:focus, select:focus { outline: 3px solid rgba(244,196,48,.35); border-color: var(--yellow-dark); }
input[type=submit], .button { width: auto; padding: .85rem 1.25rem; border: 1px solid var(--yellow); border-radius: 9px; background: var(--yellow); color: var(--black); font-weight: 800; text-decoration: none; cursor: pointer; }
input[type=submit]:hover, .button:hover { background: #ffd84f; border-color: #ffd84f; }
.page-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 1.5rem; }
.page-actions { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; flex-wrap: wrap; }
.management-heading { align-items: flex-end; }
.management-heading .muted { margin: .35rem 0 0; }
.management-heading .page-actions { align-self: flex-end; }
.management-form { margin: 0 auto; }
.header-button-form { display: inline-block; }
.table-card { padding: .5rem 1.5rem; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 1.1rem .5rem; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
tbody tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; padding: .3rem .65rem; border-radius: 99px; background: var(--yellow-soft); color: #6d5100; font-size: .8rem; font-weight: 800; }
.flash, .errors { padding: .9rem 1rem; margin-bottom: 1rem; border-radius: 9px; background: #e1eee6; }
.flash.alert, .errors { background: #f9dfda; color: #792b1d; }
.actions { display: flex; align-items: center; gap: 1rem; }
.icon { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; }
.ui-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 42px; padding: .7rem 1rem; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-weight: 800; line-height: 1; transition: background .15s ease, transform .15s ease, border-color .15s ease; }
.ui-button:hover { transform: translateY(-1px); }
.ui-button--primary { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.ui-button--primary:hover { background: #ffd84f; }
.ui-button--secondary { background: white; border-color: #b8ae92; color: var(--black); }
.ui-button--secondary:hover { border-color: var(--black); }
.ui-button--nav { min-height: 38px; padding: .55rem .7rem; color: white; }
.ui-button--nav:hover { background: #333127; color: var(--yellow); }
.ui-button--icon { min-height: 36px; padding: .5rem .65rem; background: var(--yellow-soft); border-color: #ead681; color: var(--black); font-size: .8rem; }
.ui-button--footer { min-height: 34px; padding: .45rem .65rem; color: var(--yellow); border-color: #3f3d34; }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #4a483f; border-radius: 9px; background: #25241f; color: white; cursor: pointer; }
.icon-button:hover { color: var(--yellow); border-color: var(--yellow); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; }
.product-card { padding: 0; overflow: hidden; }
.product-photo { width: 100%; height: 210px; display: block; object-fit: cover; background: var(--line); }
.product-content { padding: 1.25rem; }
.product-title { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.product-title h2 { margin: 0; font-size: 1.3rem; }
.product-card dl { display: flex; gap: 2rem; margin: 1.2rem 0 0; }
.product-card dl div { display: grid; gap: .2rem; }
.product-card dt { color: var(--muted); font-size: .75rem; text-transform: uppercase; }
.product-card dd { margin: 0; font-weight: 800; }
.price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.empty-state { grid-column: 1 / -1; text-align: center; }
.dashboard-heading { margin-bottom: 2rem; }
.dashboard-heading .muted { margin-bottom: 0; }
.floating-cart { position: fixed; right: 0; bottom: 0; left: 0; z-index: 50; padding: .7rem 3vw; background: var(--black); color: white; border-top: 4px solid var(--yellow); box-shadow: 0 -12px 35px rgba(0,0,0,.25); }
.floating-cart-inner { width: min(1320px, 100%); min-width: 1060px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; white-space: nowrap; }
.floating-cart span { color: #c9c4b5; font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.cart-amount { min-width: 105px; }
.cart-amount span, .recipient-inline > span, .credit-balance span { display: block; }
.cart-amount strong { display: block; color: var(--yellow); font-size: 1.65rem; }
.recipient-inline { min-width: 260px; flex: 1; }
.checkout-button { width: auto !important; min-width: 190px; min-height: 54px; padding: 1rem 1.75rem !important; border-radius: 14px !important; border-color: #176b2b !important; font-size: 1.05rem; font-weight: 850; transition: background .15s ease, transform .15s ease, opacity .15s ease, box-shadow .15s ease; }
.checkout-button:not(:disabled) { background: #238636 !important; color: #fff !important; box-shadow: 0 8px 22px rgba(35,134,54,.32); }
.checkout-button:not(:disabled):hover { background: #1b6f2c !important; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(35,134,54,.4); }
.checkout-button:disabled { border-color: #56534a !important; background: #45433d !important; color: #aaa69a !important; opacity: .65; cursor: not-allowed; }
.checkout-button.insufficient:disabled { border-color: #9f2f24 !important; background: #c63f32 !important; color: #fff !important; opacity: 1; }
.quantity-button:disabled { opacity: .38; cursor: not-allowed; }
.recipient-form { display: block; }
.top-up-form { display: grid; grid-template-columns: 1fr auto; gap: .4rem; }
.recipient-form input, .top-up-form input { min-width: 0; padding: .55rem .65rem; }
.recipient-form input[type=submit], .top-up-form input[type=submit] { padding: .6rem .7rem; font-size: .75rem; }
.self-account-button { display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: .55rem .7rem; border: 1px solid #6b6658; border-radius: 8px; background: #302f29; color: var(--yellow); font-size: .67rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.self-account-button span { color: var(--yellow); }
.self-account-button .icon { width: .9rem; height: .9rem; }
.self-account-button:hover { border-color: var(--yellow); background: #3a382f; }
.recipient-name { display: block; color: white; }
.credit-balance { min-width: 105px; }
.credit-balance strong { display: block; color: var(--yellow); font-size: 1.2rem; }
.cash-debt { min-width: 120px; }
.cash-debt span { display: block; }
.cash-debt strong { display: block; color: #ffb5a6; font-size: 1.05rem; }
.top-up-form { min-width: 210px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.shop-card { min-width: 0; padding: 0; overflow: hidden; transition: transform .15s ease, border-color .15s ease; }
.shop-card.selected { border: 2px solid var(--yellow-dark); box-shadow: 0 18px 55px rgba(151,112,0,.18); transform: translateY(-3px); }
.shop-photo { width: 100%; max-width: 100%; height: 150px; display: block; object-fit: contain; object-position: center; background: #fff; }
.shop-content { display: grid; gap: 1rem; padding: 1.2rem; }
.shop-content h2 { margin: .2rem 0 0; font-size: 1.25rem; }
.stock { color: #836400; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.shop-price { font-size: 1.5rem; }
.quantity-picker { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: .65rem; }
.quantity-picker form { display: contents; }
.quantity-button { width: 44px !important; height: 44px; padding: 0 !important; border-radius: 50% !important; font-size: 1.5rem; }
.quantity-picker span { text-align: center; }
.quantity-picker small { display: block; color: var(--muted); font-size: .67rem; text-transform: uppercase; }
.quantity-picker span strong { font-size: 1.3rem; }
.line-total { display: flex; justify-content: space-between; margin: 0; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.line-total strong { color: var(--ink); }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.admin-heading .muted { margin-bottom: 0; }
.admin-actions { display: flex; gap: .7rem; }
.admin-user-search { display: grid; grid-template-columns: 1fr auto auto; gap: .75rem; align-items: center; margin: 0 0 1.5rem; }
.search-field { position: relative; }
.search-field .icon { position: absolute; left: 1rem; top: 50%; z-index: 1; transform: translateY(-50%); color: var(--muted); }
.search-field input { padding-left: 2.8rem; }
.admin-user-search input[type=submit] { height: 100%; }
.button-light { background: white; color: var(--black); border: 1px solid var(--black); }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.metric-card { padding: 1.3rem 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: white; }
.metric-card.primary { color: var(--black); background: var(--yellow); border-color: var(--yellow-dark); }
.metric-card span { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; }
.metric-card.primary span { color: #644d00; }
.metric-card.warning { background: var(--black); color: white; }
.metric-card.warning span { color: #c9c4b5; }
.metric-card.expense { background: #fff1ed; border-color: #e8c2b8; }
.metric-card.profit { background: #e8f3df; border-color: #bdd4aa; }
.metric-card small { display: block; margin-top: .35rem; color: #705600; }
.metric-card strong { font-size: 1.8rem; }
.admin-section { margin-top: 3rem; }
.admin-hub { margin-top: 2.5rem; }
.admin-menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.admin-menu-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; min-height: 112px; padding: 1.35rem; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); text-decoration: none; box-shadow: 0 10px 30px rgba(23,33,27,.06); transition: transform .15s ease, border-color .15s ease; }
.admin-menu-card:hover { border-color: var(--yellow-dark); transform: translateY(-2px); }
.admin-menu-card.primary { border-color: var(--yellow-dark); background: var(--yellow); }
.admin-menu-card > .icon { width: 38px; height: 38px; padding: .45rem; border-radius: 10px; background: var(--yellow-soft); }
.admin-menu-card.primary > .icon { background: rgba(255,255,255,.55); }
.admin-menu-card strong, .admin-menu-card small { display: block; }
.admin-menu-card strong { margin-bottom: .3rem; font-size: 1.15rem; }
.admin-menu-card small { color: var(--muted); }
.menu-arrow { font-size: 2rem; line-height: 1; }
.cash-navigation { display: flex; gap: .65rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.cash-section { margin-top: 1.5rem; }
.logo-settings { margin: 0 0 2rem; }
.logo-settings-card { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 2rem; padding: 1.5rem; }
.logo-settings-card h3 { margin: 0 0 .35rem; }
.logo-settings-card .muted { margin: 0 0 1rem; }
.logo-preview { display: grid; place-items: center; width: 150px; height: 120px; padding: 1rem; border-radius: 14px; background: var(--black); color: var(--yellow); }
.logo-preview .icon { width: 72px; height: 72px; }
.logo-preview-image { width: 100%; height: 100%; object-fit: contain; }
.logo-upload-form { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.logo-upload-form input[type=file] { max-width: 420px; }
.logo-settings-card form.button_to { display: inline-block; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 1rem; }
.section-heading h2 { margin: .25rem 0 0; font-size: 1.65rem; }
.numeric { text-align: right; }
.debt-amount { font-size: 1.05rem; font-weight: 800; }
.debt-amount.has-debt { color: #a43c28; }
.user-handle { display: block; margin-top: .2rem; color: var(--muted); }
.settlement-action { text-align: right; }
.settlement-actions { display: flex; justify-content: flex-end; align-items: center; gap: .5rem; }
.payment-form { display: inline-grid; grid-template-columns: 92px auto; gap: .4rem; align-items: center; }
.payment-form input[type=number] { min-width: 0; padding: .55rem .6rem; }
.settle-button { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .7rem; border: 1px solid var(--yellow-dark); border-radius: 8px; background: var(--yellow); color: var(--black); font-weight: 800; cursor: pointer; }
.settle-button .icon, .paid-label .icon { width: 1rem; height: 1rem; }
.paid-label { display: inline-flex; align-items: center; gap: .3rem; color: #527041; font-size: .82rem; font-weight: 800; white-space: nowrap; }
.payment-status { padding: .25rem .5rem; border-radius: 99px; font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.payment-status.open { background: #ffe0da; color: #8d2d1c; }
.payment-status.settled { background: #e2efd8; color: #456635; }
.cash-amount { color: #527041; font-size: 1.05rem; font-weight: 850; }
.warehouse-search { display: grid; grid-template-columns: 1fr auto auto; gap: .75rem; align-items: center; margin-bottom: 1.25rem; }
.warehouse-search input[type=submit] { height: 100%; }
.warehouse-list { padding: .4rem 1.25rem; overflow-x: auto; }
.warehouse-list td { vertical-align: middle; }
.thumb-cell { width: 64px; }
.product-thumb { display: block; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--line); }
.stock-count { display: inline-block; min-width: 62px; padding: .35rem .55rem; border-radius: 8px; background: #e2efd8; color: #456635; font-weight: 850; text-align: center; }
.stock-count.low { background: #ffe0da; color: #8d2d1c; }
.inventory-purchase-form .warehouse-list input { min-width: 120px; padding: .65rem; }
.purchase-date-field { max-width: 360px; margin-bottom: 1rem; padding: 1rem 1.25rem; }
.inventory-submit { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--yellow-dark); border-radius: 12px; background: var(--yellow-soft); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.inventory-submit p { margin: 0; }
.purchase-footer-actions { display: flex; align-items: center; gap: 1rem; }
.product-analytics-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.analytics-product-photo { width: 100px; height: 100px; border-radius: 18px; object-fit: cover; }
.analytics-product-context { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.analytics-product-context > div { display: grid; gap: .4rem; justify-items: start; }
.product-analytics-heading .muted { margin: 0; }
.analytics-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.analytics-section { margin-top: 1.5rem; }
.chart-card { padding-bottom: 1.5rem; }
.chart-legend { display: flex; justify-content: flex-end; gap: 1.25rem; margin: -.4rem 0 .7rem; color: var(--muted); font-size: .82rem; font-weight: 750; }
.chart-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.chart-legend span::before { width: 22px; height: 4px; border-radius: 99px; background: currentColor; content: ""; }
.chart-legend .cost, .chart-legend .profit { color: #d7a900; }
.chart-legend .sale { color: var(--black); }
.chart-legend .revenue { color: #4e7f3a; }
.chart-wrap { position: relative; padding: 0 0 1.4rem; }
.line-chart { display: block; width: 100%; height: auto; min-height: 260px; overflow: visible; border-radius: 14px; background: linear-gradient(180deg, #fffdf5, #faf8f1); }
.chart-grid { stroke: #e7e1d1; stroke-width: 1; }
.zero-line { stroke: #938d7c; stroke-width: 1.5; stroke-dasharray: 5 5; }
.chart-line { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.cost-line, .profit-line { stroke: var(--yellow-dark); }
.sale-line { stroke: var(--black); }
.revenue-line { stroke: #4e7f3a; }
.chart-dot { stroke: white; stroke-width: 2.5; cursor: help; }
.cost-dot, .profit-dot { fill: var(--yellow-dark); }
.sale-dot { fill: var(--black); }
.revenue-dot { fill: #4e7f3a; }
.chart-y-label { position: absolute; left: .2rem; padding: .12rem .3rem; border-radius: 5px; background: rgba(255,255,255,.85); color: var(--muted); font-size: .72rem; font-weight: 750; }
.chart-y-label.top { top: .3rem; }
.chart-y-label.bottom { bottom: 1.75rem; }
.chart-dates { position: absolute; right: 4.25%; bottom: 0; left: 4.25%; display: flex; justify-content: space-between; color: var(--muted); font-size: .76rem; }
.profit-value { color: #527041; }
.adjustment-help { display: grid; gap: .25rem; padding: .85rem 1rem; border-left: 4px solid var(--yellow-dark); border-radius: 8px; background: var(--yellow-soft); }
.adjustment-help span { color: var(--muted); font-size: .85rem; }
.adjustment-kind { display: inline-block; padding: .3rem .55rem; border-radius: 99px; font-size: .72rem; font-weight: 850; white-space: nowrap; }
.adjustment-kind.gain { background: #e2efd8; color: #456635; }
.adjustment-kind.loss { background: #ffe0da; color: #8d2d1c; }
.adjustment-quantity.gain { color: #527041; }
.adjustment-quantity.loss { color: #a43c28; }
.cash-ledger-note { display: grid; gap: .25rem; margin-bottom: 1rem; padding: 1rem 1.2rem; border-left: 4px solid var(--yellow-dark); border-radius: 10px; background: var(--yellow-soft); }
.cash-ledger-note span { color: var(--muted); font-size: .86rem; }
.ledger-kind { display: inline-block; padding: .3rem .55rem; border-radius: 99px; font-size: .72rem; font-weight: 850; white-space: nowrap; }
.ledger-kind.income { background: #e2efd8; color: #456635; }
.ledger-kind.expense { background: #fff1ed; color: #8d2d1c; }
.ledger-kind.loss { background: var(--black); color: var(--yellow); }
.ledger-kind.transfer-in { background: #dceee8; color: #27604d; }
.ledger-kind.transfer-out { background: #eadff2; color: #62427a; }
.ledger-value.positive { color: #527041; }
.ledger-value.negative { color: #a43c28; }
.cash-transfer-card { display: grid; grid-template-columns: minmax(190px, .7fr) 2fr; gap: 2rem; margin-bottom: 1.25rem; padding: 1.35rem; }
.cash-transfer-card h2 { margin: .25rem 0; }
.cash-transfer-card .muted { margin: 0; }
.cash-transfer-form { display: grid; grid-template-columns: 1.25fr .6fr 1fr auto; align-items: end; gap: .75rem; }
.cash-transfer-form label { font-size: .78rem; }
.cash-transfer-form input, .cash-transfer-form select { min-width: 0; }
.analytics-empty { padding: 0 1rem; }
.editing-product { display: flex; align-items: center; gap: .8rem; margin: 1.25rem 0; padding: .8rem; border-radius: 12px; background: var(--cream); }
.editing-product span { display: block; margin-top: .2rem; color: var(--muted); font-size: .82rem; }
.purchase-log { display: grid; gap: 1rem; }
.purchase-entry { padding: 0; overflow: hidden; }
.purchase-meta, .purchase-entry footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; }
.purchase-meta { background: #f7f5ef; border-bottom: 1px solid var(--line); }
.purchase-meta > div { display: flex; align-items: center; gap: .6rem; }
.purchase-user { font-size: 1.05rem; font-weight: 800; }
.purchase-meta time { color: var(--muted); font-size: .85rem; }
.purchase-lines { padding: .35rem 1.25rem; }
.purchase-line { display: grid; grid-template-columns: 1fr 120px 100px; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.purchase-line:last-child { border-bottom: 0; }
.purchase-line > :nth-child(2), .purchase-line > :last-child { text-align: right; }
.purchase-line > :nth-child(2) { color: var(--muted); font-size: .85rem; }
.purchase-entry footer { background: var(--ink); color: white; }
.purchase-entry footer span { color: #aebbb4; font-size: .8rem; }
.user-search { display: grid; grid-template-columns: 1fr auto auto; gap: .75rem; align-items: center; margin-bottom: 1.25rem; }
.user-search input[type=submit] { height: 100%; }
.user-identity { display: flex; align-items: center; gap: .75rem; }
.avatar { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; object-fit: cover; background: var(--yellow-soft); }
.avatar.placeholder, .profile-photo.placeholder { display: grid; place-items: center; color: #725600; font-weight: 850; }
.row-actions { white-space: nowrap; text-align: right; }
.row-actions .ui-button { margin-left: .35rem; }
.row-actions form.button_to { display: inline-block; margin-left: .35rem; }
.row-actions .product-state-action { font: inherit; cursor: pointer; }
.row-actions .product-state-action.danger { border-color: #e1b2aa; background: #fff1ed; color: #922f20; }
.inactive-product { background: #f3f1eb; color: var(--muted); }
.inactive-product .product-thumb { filter: grayscale(1); opacity: .6; }
.product-status { display: inline-block; padding: .3rem .55rem; border-radius: 99px; font-size: .72rem; font-weight: 850; }
.product-status.active { background: #e2efd8; color: #456635; }
.product-status.inactive { background: #e5e2da; color: #625e54; }
.empty-row { padding: 2.5rem; text-align: center; color: var(--muted); }
.profile-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.profile-preview { width: 100px; height: 100px; border-radius: 14px; object-fit: cover; }
.profile-header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; }
.profile-photo { width: 120px; height: 120px; border-radius: 24px; object-fit: cover; background: var(--yellow-soft); }
.profile-main h1 { margin-bottom: .75rem; }
.profile-actions { display: flex; align-items: center; gap: .7rem; }
.danger-button { width: auto; padding: .85rem 1.25rem; border: 1px solid #b33c29; border-radius: 9px; background: white; color: #9b2e1d; font-weight: 750; cursor: pointer; }
.profile-details { width: 100%; margin-top: 1.25rem; }
.profile-details dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 0 0 2rem; }
.profile-details dt { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; }
.profile-details dd { margin: .3rem 0 0; font-weight: 750; }
.profile-delete-action { display: flex; justify-content: flex-end; width: 100%; margin-top: 1.25rem; }
.site-footer { min-height: 64px; padding: .75rem 5vw; display: flex; align-items: center; justify-content: space-between; background: var(--black); color: #c9c4b5; border-top: 4px solid var(--yellow); font-size: .85rem; }
.info-hero { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2rem; background: var(--black); color: white; border-color: #2d2c27; }
.info-hero .eyebrow { color: var(--yellow); }
.info-logo { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 26px; background: var(--yellow); color: var(--black); }
.info-logo .icon { width: 76px; height: 76px; }
.info-logo-image { width: 100%; height: 100%; object-fit: contain; }
.info-lead { max-width: 650px; margin-bottom: 0; color: #d0cbbc; font-size: 1.1rem; line-height: 1.65; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 1.25rem; margin-top: 1.25rem; }
.info-card { padding: 1.5rem; }
.info-card h2 { margin: 1rem 0 .5rem; }
.info-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.info-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--yellow); color: var(--black); }
.info-icon .icon { width: 25px; height: 25px; }
.info-actions { margin-top: 1.5rem; }
@media (max-width: 700px) { .container { margin-top: 4vh; } .page-heading, .admin-heading { align-items: start; gap: 1rem; } .page-heading, .admin-heading { flex-direction: column; } .admin-actions, .management-heading .page-actions { width: 100%; flex-wrap: wrap; justify-content: flex-start; align-self: stretch; } .account span { display: none; } .account { gap: .7rem; } .account nav { gap: .6rem; font-size: .78rem; } .price-fields, .metrics-grid, .analytics-metrics, .admin-menu-grid { grid-template-columns: 1fr; } .logo-settings-card, .product-analytics-heading, .cash-transfer-card, .cash-transfer-form { grid-template-columns: 1fr; } .logo-preview { width: 100%; } .logo-upload-form { align-items: stretch; flex-direction: column; } .purchase-line { grid-template-columns: 1fr auto; } .purchase-line > :nth-child(2) { display: none; } .purchase-meta { align-items: start; flex-direction: column; } .chart-card { padding-inline: .75rem; } .chart-legend { justify-content: flex-start; flex-wrap: wrap; } .line-chart { min-width: 680px; } .chart-wrap { overflow-x: auto; } .floating-cart { overflow-x: auto; padding-inline: .75rem; } .floating-cart-inner { justify-content: flex-start; } }
