:root { --bg: #0d0d0d; --side: #121212; --card: #171717; --line: #262626; --text: #f2f2f2; --muted: #8f8f8f; --accent: #f5b301; --on-accent: #1a1200; --grad: linear-gradient(135deg, #ffd65a 0%, #f5b301 48%, #d99a00 100%); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.login { min-height: 100vh; display: grid; place-items: center; }
.login-card { width: min(380px, 92vw); background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.login-logo { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.login-card h1 { margin: 8px 0 0; }
.login-card p { margin: 0 0 8px; color: var(--muted); }
.login-card input, .field input, .field textarea, .field select { width: 100%; background: #0e0e0e; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.login-card button, .primary { background: linear-gradient(135deg, #f5b301, #d99a00); color: #1a1200; border: 0; border-radius: 10px; padding: 12px 16px; font-weight: 700; }
.err { color: #ff6b81; min-height: 18px; margin: 0; font-size: 13px; }
.shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: var(--side); border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; }
.side-label { font-size: 12px; letter-spacing: 1.5px; color: #f5b301; font-weight: 800; padding: 8px 12px 16px; }
.menu-btn { width: 100%; text-align: left; background: transparent; border: 0; color: #b7b7c6; border-radius: 10px; padding: 11px 12px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.menu-btn.active, .menu-btn:hover { background: #1c1c1c; color: #fff; }
.menu-btn .drag-grip { color: #4a4a5c; font-size: 12px; cursor: grab; opacity: 0; transition: opacity .15s; line-height: 1; }
.menu-btn:hover .drag-grip { opacity: 1; }
.menu-btn.dragging { opacity: .5; }
.menu-btn.drop-before { box-shadow: inset 0 2px 0 0 #f5b301; }
.menu-btn.drop-after { box-shadow: inset 0 -2px 0 0 #f5b301; }
.side-back { margin-top: auto; color: var(--muted); text-decoration: none; padding: 12px; font-size: 13px; }
.content { padding: 28px; }
.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.top h2 { margin: 0; }
#logout { background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.cards, .dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dcard { position: relative; overflow: hidden; border-radius: 14px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.06); min-height: 108px; }
.dcard span { display: block; font-size: 12px; letter-spacing: .4px; text-transform: uppercase; color: rgba(255,255,255,.72); font-weight: 700; }
.dcard b { display: block; font-size: 28px; margin: 10px 0 6px; letter-spacing: -.4px; }
.dcard small { color: rgba(255,255,255,.62); font-size: 12px; }
.c-users { background: linear-gradient(135deg, #2a2158, #17132e); }
.c-plans { background: linear-gradient(135deg, #12343a, #101820); }
.c-week { background: linear-gradient(135deg, #0e3a32, #101816); }
.c-total { background: linear-gradient(135deg, #0c3030, #101614); }
.c-pending { background: linear-gradient(135deg, #3a3014, #1a160e); }
.c-support { background: linear-gradient(135deg, #1a2740, #12151c); }
.chart-panel { margin-top: 16px; background: #141414; border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 8px; }
.chart-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 8px; }
.chart-head p { margin: 0; color: #ffcf40; font-size: 13px; font-weight: 700; }
.chart-head strong { display: block; font-size: 28px; margin-top: 4px; }
.chart-head small { color: var(--muted); }
.chart-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.chart-pills div { background: #101010; border: 1px solid #262626; border-radius: 10px; padding: 10px 14px; min-width: 120px; }
.chart-pills span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .4px; }
.chart-pills b { font-size: 16px; }
.sales-panel { padding: 18px 20px 14px; }
.sales-panel .chart-head small { display: block; margin-top: 4px; font-size: 12.5px; }
.sales-panel .chart-head .up { color: #4ade80; font-weight: 700; }
.sales-panel .chart-head .down { color: #f87171; font-weight: 700; }
.lc-range { display: flex; gap: 6px; }
.lc-range .ghost.on { background: rgba(245,179,1,.18); border-color: rgba(245,179,1,.55); color: #ffe3a3; }
.lc { position: relative; margin-top: 6px; font-family: Inter, sans-serif; }
.lc-legend { display: flex; gap: 6px; margin: 4px 0 10px; }
.lc-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; border: 1px solid #2a2a2a; background: transparent; color: #d0d0d0; font: inherit; font-size: 12px; cursor: pointer; transition: opacity .16s, border-color .16s; }
.lc-toggle:hover { border-color: #3a3a3a; }
.lc-toggle[aria-pressed="false"] { opacity: .45; }
.lc-toggle[aria-pressed="false"] .lc-swatch { background: transparent; border-color: #6b7280; }
.lc-swatch { width: 12px; height: 3px; border-radius: 2px; background: var(--series); border: 1px solid var(--series); flex-shrink: 0; }
.lc-swatch[data-dashed] { background: repeating-linear-gradient(90deg, var(--series) 0 3px, transparent 3px 5px); border: 0; height: 3px; }
.lc-chart { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; }
.lc-gutter { position: relative; grid-column: 1; grid-row: 1; min-width: 46px; }
.lc-tick { position: absolute; right: 0; transform: translateY(-50%); font-size: 11px; color: #777777; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .24s cubic-bezier(.22,1,.36,1); }
.lc-tick.on { opacity: 1; }
.lc-plot { position: relative; grid-column: 2; grid-row: 1; outline: none; touch-action: pan-y; cursor: crosshair; border-radius: 6px; }
.lc-plot:focus-visible { box-shadow: 0 0 0 2px rgba(245,179,1,.5); }
.lc-svg { display: block; overflow: visible; }
.lc-gridline { stroke: rgba(255,255,255,.06); stroke-width: 1; opacity: 0; transition: opacity .24s; }
.lc-gridline.on { opacity: 1; }
.lc-baseline { stroke: rgba(255,255,255,.14); stroke-width: 1; }
.lc-line { fill: none; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.lc-area { stroke: none; }
.lc-crosshair { stroke: rgba(255,255,255,.22); stroke-width: 1; opacity: 0; transition: opacity .12s; }
.lc-dot { stroke: #141414; stroke-width: 2.5; opacity: 0; transition: opacity .12s; }
.lc[data-scrubbing] .lc-crosshair { opacity: 1; }
.lc[data-scrubbing] .lc-dot { opacity: 1; }
.lc[data-loading] .lc-svg { opacity: .45; transition: opacity .16s; }
.lc-tip { position: absolute; left: 0; top: 0; z-index: 2; min-width: 168px; padding: 10px 12px; border-radius: 10px; background: rgba(20,20,20,.96); border: 1px solid #2c2c2c; box-shadow: 0 20px 48px rgba(0,0,0,.45), 0 3px 10px rgba(0,0,0,.25); pointer-events: none; opacity: 0; transition: opacity .12s, transform .14s cubic-bezier(.22,1,.36,1); }
.lc[data-scrubbing] .lc-tip { opacity: 1; }
.lc-tip p { margin: 0; font-size: 12px; }
.lc-tip-title { color: #a3a3a3; font-weight: 600; margin-bottom: 6px !important; }
.lc-tip-row { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
.lc-tip-name { flex: 1; color: #d0d0d0; }
.lc-tip-row b { color: #fff; font-variant-numeric: tabular-nums; }
.lc-tip-extra { margin-top: 6px !important; padding-top: 6px; border-top: 1px solid #2a2a2a; color: #999999; }
.lc-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); font-size: 13px; pointer-events: none; }
.lc-axis { position: relative; grid-column: 2; grid-row: 2; height: 26px; }
.lc-axis-label { position: absolute; top: 9px; font-size: 11px; color: #777777; white-space: nowrap; }
.chart { width: 100%; height: auto; display: block; }
.chart text { fill: #999999; font-size: 11px; font-family: Inter, sans-serif; }
.chart line { stroke: rgba(255,255,255,.06); }
.card, .panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.card span { color: var(--muted); font-size: 13px; }
.card b { display: block; font-size: 26px; margin-top: 6px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-size: 12px; }
.ghost { background: #1c1c1c; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; margin-right: 4px; }
.ghost.danger { border-color: #5a2230; color: #ff8fa3; }
.ghost.danger:hover { background: #2a1620; }
.sa-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: grid; place-items: center; z-index: 9999; padding: 20px; }
.sa-modal { background: #171717; border: 1px solid var(--line); border-radius: 14px; padding: 20px; width: 100%; max-width: 440px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.sa-modal h3 { margin: 0 0 8px; font-size: 17px; color: #fff; }
.sa-modal-msg { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.sa-modal .field { margin-bottom: 12px; }
.sa-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.sa-modal-actions .primary.danger { background: linear-gradient(135deg,#ff5c7a,#d12f4f); border: 0; }
.who { display: flex; align-items: center; gap: 10px; }
.who span { display: flex; flex-direction: column; gap: 2px; }
.who small { color: #8d8d9c; font-size: 12px; font-weight: 500; }
.who i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-weight: 800; background: linear-gradient(135deg, #f5b301, #d99a00); }
.who b { font-weight: 650; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #1e1e1e; color: #c8c8d4; }
.badge-ok { background: rgba(46, 230, 166, .12); color: #5defc0; }
.badge-wait { background: rgba(255, 204, 102, .12); color: #ffcc66; }
.badge-bad { background: rgba(255, 107, 129, .12); color: #ff8fa3; }
.badge-admin { background: rgba(245,179,1, .18); color: #ffd66b; }
.act { position: relative; display: flex; justify-content: flex-end; }
.act-cell { width: 120px; text-align: right; }
.act-trigger { height: 34px; padding: 0 14px; border-radius: 10px; border: 1px solid #2e2e3c; background: #171717; color: #eee; font-weight: 650; }
.act-trigger:hover { border-color: #f5b301; }
.act-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: 240px; padding: 6px; border-radius: 14px; background: #161616; border: 1px solid #2a2a38; box-shadow: 0 18px 50px rgba(0,0,0,.45); text-align: left; }
.act-menu.up { top: auto; bottom: calc(100% + 8px); }
.act-label { margin: 8px 10px 4px; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; color: #6f6f80; font-weight: 700; }
.act-menu button { width: 100%; text-align: left; background: transparent; border: 0; border-radius: 10px; padding: 9px 10px; display: flex; flex-direction: column; gap: 2px; }
.act-menu button:hover { background: #1e1e1e; }
.act-menu span { font-weight: 700; }
.act-menu small { color: #8d8d9c; font-size: 11px; }
.act-menu .danger span { color: #ff8fa3; }
.panel { overflow: visible; }
.coupon-form h3 { margin: 0 0 12px; font-size: 16px; }
.coupon-fields { display: grid; grid-template-columns: 1fr 120px auto; gap: 12px; align-items: end; }
.coupon-fields .field { margin: 0; }
.coupon-acts { display: flex; gap: 6px; justify-content: flex-end; }
@media (max-width: 720px) { .coupon-fields { grid-template-columns: 1fr; } }
.store-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.store-tabs .on { border-color: #f5b301; color: #fff; }
.store-tabs .chat-tab { position: relative; display: inline-flex; align-items: center; gap: 6px; border-color: rgba(245,179,1,.55); background: rgba(245,179,1,.12); color: #bfdbfe; font-weight: 700; }
.store-tabs .chat-tab.on { background: linear-gradient(135deg, #d99a00, #c98d00); border-color: #f5b301; color: #1a1200; }
.store-tabs .chat-tab.has-unread { border-color: #ef4444; background: rgba(239,68,68,.16); color: #fff; animation: supportPulse 1.4s ease-in-out infinite; }
.store-tabs .chat-tab.has-unread.on { background: linear-gradient(135deg, #d99a00, #c98d00); }
.tab-badge, .menu-badge { min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 800; box-shadow: 0 0 0 2px #0e0e0e; }
.menu-badge { margin-left: auto; animation: badgePop 1.4s ease-in-out infinite; }
.menu-btn.needs-support { color: #fff; background: rgba(239,68,68,.12); box-shadow: inset 3px 0 0 #ef4444; }
@keyframes supportPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.55); } 50% { box-shadow: 0 0 0 7px rgba(239,68,68,0); } }
@keyframes badgePop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.chat-toast { position: fixed; right: 20px; bottom: 20px; z-index: 9999; width: min(360px, calc(100vw - 40px)); display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid rgba(239,68,68,.5); border-left: 4px solid #ef4444; border-radius: 14px; background: #14141c; box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04); animation: toastIn .35s cubic-bezier(.2,.9,.3,1.2); }
.chat-toast b { font-size: 15px; padding-right: 20px; }
.chat-toast small { color: var(--muted); font-size: 12px; }
.chat-toast p { margin: 4px 0 6px; color: #e5e7eb; font-size: 13px; line-height: 1.45; max-height: 60px; overflow: hidden; }
.chat-toast .ct-open { align-self: flex-start; }
.ct-close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; }
.ct-close:hover { color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; }
.bars div { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.bars i { display: block; width: 100%; max-width: 28px; border-radius: 8px 8px 2px 2px; background: linear-gradient(#f5b301, #ffcf40); }
.bars span { font-size: 10px; color: #8d8d9c; }
.bar { height: 10px; border-radius: 99px; background: #1e1e1e; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #f5b301, #ffcf40); }
#productForm { display: flex; flex-direction: column; gap: 0; }
.form-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.form-head h3 { margin: 0; }
.form-sec { border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 14px; background: #0f0f16; }
.form-title { margin: 0 0 12px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #f5b301; font-weight: 800; }
.form-help { margin: -6px 0 10px; color: var(--muted); font-size: 12px; }
.banner-upload { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.upload-btn { display: inline-block; background: #1c1c1c; border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; color: #dcdce8; cursor: pointer; font-size: 13px; }
.upload-btn:hover { background: #232333; }
.upload-status { font-size: 12px; color: var(--muted); }
.batch-file { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 12px; }
.batch-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.batch-mode button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; text-align: left; font-weight: 600; }
.batch-mode button small { font-weight: 400; font-size: 12px; color: var(--muted); }
.batch-mode button.on { border-color: var(--accent, #f5b301); box-shadow: inset 0 0 0 1px var(--accent, #f5b301); }
.file-list { list-style: none; margin: 0 0 12px; padding: 0; max-height: 320px; overflow: auto; border: 1px solid #282828; border-radius: 10px; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #1f1f28; font-size: 13px; }
.file-list li:last-child { border-bottom: 0; }
.file-list li.empty { color: var(--muted); justify-content: center; }
.file-list li.gone .fl-name { text-decoration: line-through; opacity: .5; }
.file-list li.new .fl-size { color: #5ad19a; }
.file-list .fl-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .fl-size { color: var(--muted); font-size: 12px; white-space: nowrap; }
.file-list button { padding: 4px 10px; font-size: 12px; }
.split-box { border: 1px dashed #3a3a48; border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.split-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.split-box textarea {
  width: 100%; min-height: 120px; resize: vertical; margin-bottom: 10px; padding: 10px 12px;
  font-family: "JetBrains Mono", Consolas, monospace; font-size: 12px; color: #e6e6ee;
  background: #121212; border: 1px solid #282828; border-radius: 10px; outline: none;
}
.split-box textarea:focus { border-color: #f5b301; }
.split-box .batch-file { margin-bottom: 0; }
.split-format { margin: 0; display: flex; flex-direction: row; align-items: center; gap: 8px; }
.split-format span { white-space: nowrap; margin: 0; }
.split-box #splitRun { padding: 9px 16px; }
.inbox { border: 1px dashed #3a3a48; border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.inbox-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.inbox-head code { background: #1a1a1a; padding: 2px 6px; border-radius: 6px; }
.inbox .row { margin-bottom: 8px; }
.file-list button.primary { background: linear-gradient(135deg, #f5b301, #ffc83d); border: 0; color: #1a1200; font-weight: 600; }
.orders-panel { padding: 20px; }
.orders-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.orders-head h3 { margin: 0; font-size: 18px; }
.orders-count { font-size: 13px; color: var(--muted); }
.orders-list { display: grid; gap: 10px; }
.order-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; transition: all .2s; }
.order-card:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.order-card.paid { border-left: 3px solid #22c55e; }
.order-card.pending { border-left: 3px solid #fbbf24; }
.order-card.cancelled, .order-card.expired { border-left: 3px solid #6b7280; opacity: .7; }
.order-main { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.order-id { font-family: Consolas, monospace; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.05); padding: 4px 8px; border-radius: 6px; flex: none; }
.order-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.order-info b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-info span { font-size: 12px; color: var(--muted); }
.order-side { display: flex; align-items: center; gap: 12px; flex: none; }
.order-status { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; padding: 4px 10px; border-radius: 20px; }
.order-status.paid { background: rgba(34,197,94,.15); color: #22c55e; }
.order-status.pending { background: rgba(251,191,36,.15); color: #fbbf24; }
.order-status.cancelled, .order-status.expired { background: rgba(107,114,128,.15); color: #9ca3af; }
.order-date { font-size: 12px; color: var(--muted); }
.order-card .ghost.small { padding: 6px 12px; font-size: 12px; }
.order-empty { text-align: center; padding: 40px; color: var(--muted); }
.orders-pages { display: flex; justify-content: center; gap: 6px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); }
.orders-pages button { min-width: 36px; height: 36px; padding: 0; }
.orders-pages button.on { background: linear-gradient(135deg, #f5b301, #ffc83d); border: 0; color: #1a1200; }
.logs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; }
.log-stat { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.log-stat small { color: var(--muted); font-size: 12px; }
.log-stat b { font-size: 22px; }
.log-stat span { color: var(--muted); font-size: 12px; }
.log-stat.paid b { color: #f5b301; }
.logs-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.logs-filters .ghost.small { padding: 6px 12px; font-size: 12px; }
.logs-filters .ghost.on { background: #c98d00; border-color: #c98d00; color: #1a1200; }
.logs-list { display: flex; flex-direction: column; gap: 6px; }
.log-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); border-left: 3px solid #4a4a4a; }
.log-row.pix { border-left-color: #f5b301; }
.log-row.paid { border-left-color: #22c55e; background: rgba(34,197,94,.05); }
.log-row.delivery { border-left-color: #f5b301; }
.log-row.cancel, .log-row.alert { border-left-color: #ef4444; }
.log-row.stock { border-left-color: #f5b301; }
.log-stat.danger b { color: #f87171; }
.logs-filters .ghost.red.on { background: rgba(239,68,68,.18); border-color: rgba(239,68,68,.5); color: #fca5a5; }
.cu-list { display: flex; flex-direction: column; gap: 6px; }
.cu-row { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); color: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.cu-row:hover { border-color: rgba(245,179,1,.45); background: rgba(245,179,1,.06); }
.cu-row.blocked { border-left: 3px solid #ef4444; background: rgba(239,68,68,.04); }
.cu-avatar { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; font-weight: 800; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 40) 70% 40%)); }
.cu-avatar.big { width: 52px; height: 52px; font-size: 20px; }
.cu-main { flex: 1; min-width: 0; }
.cu-name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cu-name b { font-size: 14.5px; }
.cu-sub { font-size: 12px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cu-sub code, .cu-info code, .cu-table code, .cu-order code { background: #1a1a1a; padding: 1px 6px; border-radius: 5px; font-size: 11.5px; }
.cu-num { display: flex; flex-direction: column; align-items: flex-end; min-width: 84px; }
.cu-num b { font-size: 15px; }
.cu-num.money b { color: #4ade80; }
.cu-num small { font-size: 11px; color: var(--muted); }
.cu-go { font-size: 22px; color: var(--muted); }
.cu-badge { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: rgba(255,255,255,.06); color: #b5b8c5; border: 1px solid rgba(255,255,255,.08); }
.cu-badge.admin { color: #c4b5fd; background: rgba(245,179,1,.15); border-color: rgba(245,179,1,.35); }
.cu-badge.blocked { color: #fca5a5; background: rgba(239,68,68,.15); border-color: rgba(239,68,68,.4); }
.cu-badge.plan { color: #67e8f9; background: rgba(255,207,64,.1); border-color: rgba(255,207,64,.3); }
.cu-badge.buyer { color: #86efac; background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.3); }
.cu-badge.warn { color: #fcd34d; background: rgba(245,179,1,.1); border-color: rgba(245,179,1,.3); }
.cu-detail { display: flex; flex-direction: column; gap: 12px; }
.cu-detail .panel { margin: 0; }
.cu-detail h3 { margin: 0 0 10px; font-size: 15px; }
.cu-detail h3 small { font-weight: 500; }
.cu-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cu-head.blocked { border-color: rgba(239,68,68,.45); }
.cu-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ghost.danger-fill { background: rgba(239,68,68,.16); border-color: rgba(239,68,68,.5); color: #fecaca; font-weight: 700; }
.ghost.danger-fill:hover { background: rgba(239,68,68,.28); }
.cu-alert { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.4); }
.cu-alert b { color: #fca5a5; font-size: 14.5px; }
.cu-alert span { font-size: 13px; color: #fecaca; }
.cu-alert small { font-size: 12px; color: #d4a5a5; }
.cu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 1000px) { .cu-grid { grid-template-columns: 1fr; } }
.cu-info { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; margin: 0; font-size: 13px; }
.cu-info dt { color: var(--muted); }
.cu-info dd { margin: 0; word-break: break-all; }
.cu-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cu-mini div { padding: 10px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.cu-mini div.warn b { color: #fbbf24; }
.cu-mini small { display: block; font-size: 11px; color: var(--muted); }
.cu-mini b { font-size: 17px; }
#custNotes { width: 100%; margin-bottom: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid #282828; background: #121212; color: #e6e6ee; font: inherit; font-size: 13px; resize: vertical; }
.cu-table { width: 100%; font-size: 13px; }
.cu-same { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(245,179,1,.08); border: 1px solid rgba(245,179,1,.3); }
.cu-same b { color: #fcd34d; font-size: 13px; }
.cu-same small { color: var(--muted); margin-left: 4px; }
.cu-orders { display: flex; flex-direction: column; gap: 6px; }
.cu-order { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); border-left: 3px solid #4a4a4a; }
.cu-order.paid { border-left-color: #22c55e; }
.cu-order.pending { border-left-color: #f5b301; }
.cu-order.cancelled { border-left-color: #ef4444; }
.cu-order-main { flex: 1; min-width: 0; font-size: 13px; }
.cu-order-main small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 3px; }
.cu-order-total { min-width: 80px; text-align: right; }
.cu-order-actions { display: flex; gap: 6px; }
.cu-history { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.cu-history li { padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.03); border-left: 3px solid #ef4444; }
.cu-history li.unblock { border-left-color: #22c55e; }
.cu-history small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.sa-modal .field select, .sa-modal .field textarea { width: 100%; padding: 9px 11px; border-radius: 9px; border: 1px solid #282828; background: #121212; color: #e6e6ee; font: inherit; font-size: 13px; }
.stock-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.stock-top .logs-filters { margin: 0; }
.stock-top .logs-filters b { margin-left: 4px; opacity: .75; }
.stock-search { display: flex; gap: 8px; flex-wrap: wrap; }
.stock-search select, .stock-search input { height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid #282828; background: #121212; color: #e6e6ee; font-size: 13px; }
.stock-search input { width: 280px; }
.stock-list { display: flex; flex-direction: column; gap: 6px; }
.stock-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); border-left: 3px solid #4a4a4a; }
.stock-row.ok { border-left-color: #22c55e; }
.stock-row.off { border-left-color: #ef4444; background: rgba(239,68,68,.04); }
.stock-row.off .stock-preview { text-decoration: line-through; opacity: .55; }
.stock-row.wait { border-left-color: #f5b301; }
.stock-row.sold { border-left-color: #f5b301; opacity: .8; }
.stock-ico { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.05); font-size: 15px; }
.stock-main { flex: 1; min-width: 0; }
.stock-file { font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.stock-preview { display: block; font-family: "JetBrains Mono", Consolas, monospace; font-size: 12px; color: #d6d6de; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: none; padding: 0; }
.stock-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stock-state { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; min-width: 96px; }
.stock-state small { font-size: 11px; color: var(--muted); }
.stock-badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; border: 1px solid transparent; }
.stock-badge.ok { color: #4ade80; background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.3); }
.stock-badge.off { color: #f87171; background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.3); }
.stock-badge.wait { color: #fbbf24; background: rgba(245,179,1,.12); border-color: rgba(245,179,1,.3); }
.stock-badge.sold { color: #ffcf40; background: rgba(245,179,1,.12); border-color: rgba(245,179,1,.3); }
.stock-actions { display: flex; gap: 6px; flex-shrink: 0; }
.stock-actions .danger { color: #f87171; }
.stock-modal { width: min(720px, 92vw); }
.stock-content { max-height: 55vh; overflow: auto; margin: 10px 0 14px; padding: 12px; border-radius: 10px; background: #0b0d13; border: 1px solid #282828; font-family: "JetBrains Mono", Consolas, monospace; font-size: 12px; color: #e6e6ee; white-space: pre-wrap; word-break: break-all; }
.log-row.move-in { border-left-color: #f5b301; }
.log-row.move-adjust { border-left-color: #ffc83d; }
.log-row.move-reserve { border-left-color: #f5b301; }
.log-row.move-release { border-left-color: #64748b; }
.log-row.move-sale { border-left-color: #22c55e; background: rgba(34,197,94,.05); }
.move-qty { display: flex; flex-direction: column; align-items: flex-end; min-width: 74px; font-size: 18px; font-weight: 800; line-height: 1.1; }
.move-qty small { font-size: 10.5px; font-weight: 500; color: var(--muted); }
.move-qty.in { color: #4ade80; }
.move-qty.out { color: #f87171; }
.moves-panel .log-side { min-width: 92px; }
.log-ico { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.05); font-size: 15px; }
.log-main { flex: 1; min-width: 0; }
.log-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.log-code { padding: 1px 6px; border-radius: 4px; background: #262833; color: #c8cbd6; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.log-amount { color: #22c55e; font-weight: 600; font-size: 13px; }
.log-row:not(.paid) .log-amount { color: #c8cbd6; }
.log-detail { margin-top: 2px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; font-size: 13px; }
.log-side small { color: var(--muted); font-size: 11px; }
.logs-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); color: var(--muted); font-size: 13px; }
.logs-foot .orders-pages { margin: 0; padding: 0; border: 0; align-items: center; }
.logs-pos { padding: 0 8px; }
.banner-preview { margin-top: 10px; border: 1px dashed #30303c; border-radius: 12px; min-height: 120px; display: grid; place-items: center; color: var(--muted); font-size: 13px; overflow: hidden; }
.banner-preview img { width: 100%; max-height: 240px; object-fit: cover; display: block; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 12px; color: #bdbdca; font-weight: 600; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.plan-edit { padding: 14px 16px 2px; margin-bottom: 12px; border: 1px solid #262626; border-radius: 12px; background: rgba(255,255,255,.02); }
.plan-edit .check small { color: var(--muted); font-weight: 500; }
.plan-edit:has(input[data-active]:not(:checked)) .row { opacity: .45; }
.ok { color: #3ddc97; }
.warn { color: #ffcc66; }
.ca { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 12px; height: calc(100vh - 170px); min-height: 520px; }
.ca-side, .ca-conv { display: flex; flex-direction: column; min-height: 0; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; background: rgba(255,255,255,.02); overflow: hidden; }
.ca-search { margin: 12px 12px 8px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(0,0,0,.25); color: #fff; outline: 0; }
.ca-search:focus { border-color: #f5b301; }
.ca-filters { display: flex; gap: 6px; padding: 0 12px 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.ca-filters .ghost.small, .ca-rate .ghost.small, .ca-resolve { padding: 6px 10px; font-size: 12px; }
.ca-filters .ghost.on, .ca-rate .ghost.on { background: #c98d00; border-color: #c98d00; color: #1a1200; }
.ca-list { flex: 1; overflow-y: auto; }
.ca-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px; border: 0; border-bottom: 1px solid rgba(255,255,255,.05); background: transparent; color: inherit; text-align: left; cursor: pointer; border-left: 3px solid transparent; }
.ca-item:hover { background: rgba(255,255,255,.03); }
.ca-item.on { background: rgba(245,179,1,.1); border-left-color: #f5b301; }
.ca-item.problem { border-left-color: #f5b301; }
.ca-av { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #f5b301, #c98d00); font-weight: 700; }
.ca-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ca-item-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.ca-item-top small { color: var(--muted); font-size: 11px; flex-shrink: 0; }
.ca-item-sub, .ca-item-last { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-item-last { color: #c8cbd6; }
.ca-unread { min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: #ef4444; font-size: 11px; font-weight: 800; animation: badgePop 1.4s ease-in-out infinite; }
.ca-item.unread { background: rgba(239,68,68,.08); border-left-color: #ef4444; }
.ca-item.unread .ca-item-last { color: #fff; font-weight: 600; }
.ca-none { padding: 30px; text-align: center; color: var(--muted); font-size: 13px; }
.ca-empty { margin: auto; max-width: 340px; display: flex; flex-direction: column; gap: 8px; text-align: center; color: var(--muted); font-size: 13px; }
.ca-empty b { color: #fff; font-size: 16px; }
.ca-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.ca-code { padding: 1px 6px; border-radius: 4px; background: #262833; color: #c8cbd6; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.ca-st { margin-left: 4px; font-size: 12px; font-weight: 700; color: #22c55e; }
.ca-st.paid_pending { color: #f5b301; }
.ca-st.refunded { color: #ef4444; }
.ca-meta { margin-top: 3px; font-size: 12px; color: var(--muted); }
.ca-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: rgba(0,0,0,.2); }
.ca-msg { display: flex; max-width: 75%; }
.ca-msg.mine { align-self: flex-end; }
.ca-bubble { padding: 9px 13px 5px; border-radius: 10px; background: #1d1f27; font-size: 14px; line-height: 1.5; }
.ca-msg.mine .ca-bubble { background: #c98d00; }
.ca-bubble p, .ca-sys p { margin: 0; overflow-wrap: anywhere; }
.ca-bubble time, .ca-sys time { display: block; margin-top: 4px; text-align: right; font-size: 10px; color: rgba(255,255,255,.55); }
.ca-auto { display: inline-block; margin-bottom: 4px; padding: 1px 6px; border-radius: 4px; background: rgba(255,255,255,.15); font-size: 10px; font-weight: 700; }
.ca-sys { padding: 9px 13px 5px; border: 1px solid rgba(245,179,1,.3); border-left: 3px solid #f5b301; border-radius: 6px; background: rgba(245,179,1,.06); font-size: 13px; }
.ca-sys span { font-size: 10px; font-weight: 700; color: #ffcf40; }
.ca-send { display: flex; flex-direction: column; gap: 8px; align-items: stretch; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.06); }
.ca-send-row { display: flex; gap: 10px; align-items: flex-end; }
.ca-send textarea { flex: 1; padding: 10px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(0,0,0,.25); color: #fff; font: inherit; font-size: 14px; resize: none; outline: 0; }
.ca-send textarea:focus { border-color: #f5b301; }
.ca-pic { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #c8cbd6; cursor: pointer; }
.ca-pic:hover { border-color: #f5b301; color: #fff; }
.ca-pick { position: relative; width: 72px; }
.ca-pick img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); }
.ca-pick button { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: #ef4444; color: #fff; cursor: pointer; line-height: 1; }
.chat-pic { max-width: 240px; max-height: 180px; border-radius: 8px; display: block; margin-bottom: 6px; cursor: zoom-in; background: #0d0e13; }
.pic-view { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: rgba(0,0,0,.82); cursor: zoom-out; }
.pic-view img { max-width: 92vw; max-height: 90vh; border-radius: 8px; }
.pic-view button { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #1d1f27; color: #fff; font-size: 22px; cursor: pointer; }
.ca-reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px 14px; }
.ca-rv { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; font-size: 13px; }
.ca-rv small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .4px; }
.ca-rv p { margin: 0; color: #c8cbd6; }
.ca-rv input { padding: 7px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(0,0,0,.25); color: #fff; outline: 0; }
.ca-rate { display: flex; gap: 6px; flex-wrap: wrap; }
.rv-good { color: #22c55e; }
.rv-neutral { color: #f5b301; }
.rv-bad { color: #ef4444; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .cards, .dash-cards, .row { grid-template-columns: 1fr; }
  .ca { grid-template-columns: 1fr; height: auto; }
  .ca-side { max-height: 320px; }
  .ca-conv { min-height: 520px; }
  .ca-reviews { grid-template-columns: 1fr; }
}

/* ============ TEMA DOURADO ============ */
body { background:
  linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 44px 44px, var(--bg); }
::selection { background: rgba(245,179,1,.35); }
.login-card { background: #141414; border-color: #2a2a2a; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), 0 0 60px -30px rgba(245,179,1,.45); }
.login-logo { box-shadow: 0 0 0 1px rgba(245,179,1,.4), 0 0 30px rgba(245,179,1,.3); }
.reset-gap { margin-top: 10px; }
.reset-ok { margin: 0; color: #4ade80; font-size: 14px; font-weight: 600; }
.human-check { display: flex; justify-content: center; min-height: 65px; }
.login-card .reset-again, .login-card .login-forgot { align-self: center; margin: 2px 0 0; padding: 8px 10px; }
.login-forgot { background: transparent; border: 0; box-shadow: none; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; border-radius: 9px; transition: color .15s, background .15s; }
.login-card button.login-forgot, .login-card button.login-forgot:hover, .login-card button.login-forgot:active { background: transparent; box-shadow: none; transform: none; color: var(--muted); font-weight: 600; }
.login-card button.login-forgot:hover { color: #ffcf40; background: rgba(245,179,1,.08); }
/* .login-card button herda o estilo dourado do bot\00e3 o principal, ent\00e3 o o
   voltar precisa desfazer isso quando for <button> em vez de <a>. */
.login-card button.login-back, .login-card button.login-back:hover, .login-card button.login-back:active {
  background: transparent; box-shadow: none; transform: none; border: 0; font-weight: 600; color: var(--muted);
}
.login-card button.login-back:hover { color: #ffcf40; background: rgba(245,179,1,.08); }
.login-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; padding: 6px 10px 6px 6px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; transition: color .15s, background .15s; }
.login-back:hover { color: #ffcf40; background: rgba(245,179,1,.08); }
.login-back svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pass-wrap { position: relative; }
.login-card .pass-wrap input { padding-right: 46px; }
.login-card .pass-eye, .login-card .pass-eye:hover, .login-card .pass-eye:active { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; box-shadow: none; color: #8e8f99; cursor: pointer; transition: color .15s, background .15s; }
.login-card .pass-eye:hover { color: #ffcf40; background: rgba(245,179,1,.08); }
.pass-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pass-eye .eye-off { display: none; }
.pass-eye.on { color: #ffcf40; }
.pass-eye.on .eye-off { display: inline; }
.side { background: #111; border-right-color: #1f1f1f; }
.side-label { color: var(--accent); letter-spacing: 2px; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; margin-bottom: 8px; border-bottom: 1px solid #1f1f1f; }
.side-brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 1px rgba(245,179,1,.45), 0 0 22px rgba(245,179,1,.3); }
.side-brand span { display: flex; flex-direction: column; font: 800 16px/1.1 Poppins, Inter, sans-serif; color: #fff; }
.side-brand strong { font-weight: 800; }
.side-brand b { color: var(--accent); font-weight: 800; }
.side-brand small { margin-top: 3px; font-size: 10px; letter-spacing: 2.5px; color: #8a8a8a; font-weight: 700; }
.menu-btn { color: #a3a3a3; border: 1px solid transparent; font-weight: 500; }
.menu-btn:hover { background: #181818; color: #fff; }
.menu-btn.active { background: #1c1c1c; border-color: #2c2c2c; color: #fff; box-shadow: inset 3px 0 0 var(--accent); font-weight: 600; }
.content { max-width: 1480px; }
.top { padding: 18px 22px; border-radius: 18px; background: #151515; border: 1px solid #242424; }
.dcard { background: linear-gradient(160deg, #1b1b1b, #141414) !important; border: 1px solid #262626; border-radius: 16px; }
.dcard::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--dc, var(--accent)); box-shadow: 0 0 14px var(--dc, var(--accent)); }
.c-users { --dc: #f5b301; } .c-plans { --dc: #ffcf40; } .c-week { --dc: #22c55e; } .c-total { --dc: #2ee6a6; } .c-pending { --dc: #fb923c; } .c-support { --dc: #ef4444; }
.dcard span { color: #9a9a9a; }
.card, .panel, .chart-panel { background: #161616; border-color: #262626; border-radius: 16px; }
.form-sec { background: #121212; }
.chart-head p { color: var(--accent); }
.store-tabs .chat-tab { color: #ffe08a; }
.store-tabs .on { background: #1e1e1e; }

.primary, .login-card button {
  background: var(--grad); color: var(--on-accent); font-weight: 800; border-radius: 12px; border: 0;
  box-shadow: 0 4px 0 #8f5f00, 0 12px 26px -10px rgba(245,179,1,.6), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.primary:hover, .login-card button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #8f5f00, 0 16px 32px -10px rgba(245,179,1,.75), inset 0 1px 0 rgba(255,255,255,.5); }
.primary:active, .login-card button:active { transform: translateY(3px); box-shadow: 0 1px 0 #8f5f00, inset 0 1px 0 rgba(255,255,255,.4); }
.primary:disabled { filter: grayscale(.5) brightness(.75); transform: none; }
.sa-modal-actions .primary.danger { color: #fff; box-shadow: 0 4px 0 #7d1a2c, inset 0 1px 0 rgba(255,255,255,.3); }
.ghost {
  background: linear-gradient(180deg, #1f1f1f, #171717); border: 1px solid #303030; border-radius: 10px; color: #eaeaea; font-weight: 600;
  box-shadow: 0 2px 0 #050505, inset 0 1px 0 rgba(255,255,255,.05); transition: border-color .15s, transform .12s, background .15s;
}
.ghost:hover { border-color: rgba(245,179,1,.55); color: #fff; }
.ghost:active { transform: translateY(2px); box-shadow: none; }
.ghost.on, .lc-range .ghost.on { background: var(--grad); border-color: transparent; color: var(--on-accent); font-weight: 800; box-shadow: 0 3px 0 #8f5f00; }
#logout { background: linear-gradient(180deg, #1f1f1f, #171717); border-color: #303030; font-weight: 700; box-shadow: 0 2px 0 #050505; }
#logout:hover { border-color: rgba(239,68,68,.6); color: #fca5a5; }
.who i { color: var(--on-accent); }
.ca-av { color: var(--on-accent); }
.badge-admin { background: rgba(245,179,1,.16); color: #ffd66b; }
.sa-modal { background: #161616; border-color: #2a2a2a; }
