html.color-sidebar .sidebar-wrapper,
html.color-sidebar .sidebar-wrapper .sidebar-header { background-color: transparent !important; }
html.color-sidebar .sidebar-wrapper .metismenu a,
html.color-sidebar .sidebar-wrapper .menu-label,
html.color-sidebar .logo-text,
html.color-sidebar .toggle-icon { color: #fff !important; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
html.color-sidebar .sidebar-wrapper .metismenu .mm-active > a,
html.color-sidebar .sidebar-wrapper .metismenu a:hover { background: rgba(255,255,255,.2) !important; color: #fff !important; }
.logo-text span { color: #ffe082; }
.logo-bubble, .menu-bubble {
    width: 36px; height: 36px; border-radius: 12px; display: inline-grid; place-items: center;
    color: #fff; background: linear-gradient(135deg, #6a11cb, #2575fc);
    box-shadow: 0 8px 16px rgba(37, 117, 252, .35);
}
.logo-bubble.lg { width: 58px; height: 58px; border-radius: 18px; font-size: 28px; }
.logo-bubble i, .menu-bubble i { font-size: 20px; line-height: 1; color: #fff; }
.menu-bubble.c2 { background: linear-gradient(135deg, #fc4a1a, #f7b733); box-shadow: 0 8px 16px rgba(252, 74, 26, .28); }
.menu-bubble.c3 { background: linear-gradient(135deg, #11998e, #38ef7d); box-shadow: 0 8px 16px rgba(17, 153, 142, .28); }
.menu-bubble.c4 { background: linear-gradient(135deg, #ee0979, #ff6a00); box-shadow: 0 8px 16px rgba(238, 9, 121, .28); }
.menu-bubble.c5 { background: linear-gradient(135deg, #4776e6, #8e54e9); box-shadow: 0 8px 16px rgba(71, 118, 230, .28); }
.menu-bubble.c6 { background: linear-gradient(135deg, #f7971e, #ffd200); box-shadow: 0 8px 16px rgba(247, 151, 30, .28); color: #3b2a00; }
.sidebar-wrapper .metismenu a { display: flex; align-items: center; }
.sidebar-wrapper .metismenu .mm-active > a {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    border-radius: 12px;
}
.sidebar-wrapper .metismenu .menu-title { font-weight: 500; }
.user-name { font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.auth-page { background: #f4f6fb; }
.auth-top {
    position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center;
    padding: 14px 28px; background: linear-gradient(90deg, #5b2cdb, #2575fc);
    color: #fff;
}
.auth-brand-mini { color: #fff; font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: -.03em; }
.auth-brand-mini span { color: #ffd56a; }
.auth-top-links { display: flex; gap: 14px; align-items: center; }
.auth-top-links a { color: #fff; font-weight: 700; text-decoration: none; }
.auth-links { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.invite-card { background: linear-gradient(180deg, #f4f0ff, #fff 42%); }
.invite-code {
    display: inline-block; margin: 8px 0 12px; padding: 10px 16px; border-radius: 12px;
    background: linear-gradient(90deg, #6a11cb, #2575fc); color: #fff; font-size: 1.35rem;
    font-weight: 800; letter-spacing: .12em;
}
.invite-preview { padding: .7rem .9rem; border-radius: 12px; background: #eef8f3; color: #157d4c; font-weight: 700; }
.user-initial {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, #ffd200, #f7971e); color: #3b2200; font-weight: 700;
}
.page-content > .card,
.page-content .two-col > .card,
.page-content .stack > .card,
.page-content form.card,
.page-content section.card { padding: 1.25rem; }
.page-content .card h2, .card-head h2 { font-size: 1.15rem; font-weight: 600; }
.card-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.card-head h2 { margin: 0; }
.section-gap { margin-top: 1rem; }
.hero-card {
    display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap;
    padding: 1.4rem 1.5rem; border: 0; border-radius: 14px; color: #fff; margin-bottom: 1rem;
    background: linear-gradient(120deg, #6a11cb, #2575fc 55%, #11998e);
    box-shadow: 0 12px 28px rgba(37, 117, 252, .25);
}
.hero-card h1 { color: #fff; font-size: 1.8rem; margin: 0 0 .35rem; }
.hero-card .muted, .hero-card .eyebrow, .hero-card p { color: rgba(255,255,255,.88); }
.eyebrow { letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; font-weight: 700; margin-bottom: .25rem; }
.stat-grid, .form-grid, .two-col, .split, .profile-grid, .product-grid { display: grid; gap: 14px; }
.stat-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 1rem; }
.form-grid { grid-template-columns: 1fr 1fr; }
.two-col, .split, .profile-grid { grid-template-columns: 1.4fr .8fr; align-items: start; }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); width: 100%; }
.stat {
    border: 0; border-radius: 12px; padding: 1rem 1.1rem; color: #fff; min-height: 108px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
}
.stat span, .stat em { display: block; color: rgba(255,255,255,.9); font-style: normal; }
.stat strong { display: block; font-size: 1.35rem; margin-top: .3rem; }
.stat em { margin-top: .25rem; font-size: .82rem; }
.stat-grid .stat:nth-child(6n+1) { background: linear-gradient(45deg, #6a11cb, #2575fc); }
.stat-grid .stat:nth-child(6n+2) { background: linear-gradient(45deg, #fc4a1a, #f7b733); }
.stat-grid .stat:nth-child(6n+3) { background: linear-gradient(45deg, #11998e, #38ef7d); }
.stat-grid .stat:nth-child(6n+4) { background: linear-gradient(45deg, #ee0979, #ff6a00); }
.stat-grid .stat:nth-child(6n+5) { background: linear-gradient(45deg, #4776e6, #8e54e9); }
.stat-grid .stat:nth-child(6n+6) { background: linear-gradient(45deg, #f7971e, #ffd200); color: #3b2a00; }
.stat-grid .stat:nth-child(6n+6) span, .stat-grid .stat:nth-child(6n+6) em { color: #4a3708; }
.period-switch { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 1rem; }
.period-switch a {
    text-decoration: none; border-radius: 999px; padding: .45rem .9rem; background: #fff;
    color: #5f6368; border: 1px solid #e6e8ee; font-weight: 600;
}
.period-switch a.is-active { background: linear-gradient(90deg, #6a11cb, #2575fc); color: #fff; border-color: transparent; }
.chip-row, .button-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.badge, .pill { border-radius: 999px; }
.pill, .badge-ok, .badge-warn, .badge-career {
    display: inline-flex; align-items: center; padding: .3rem .7rem; border-radius: 999px; font-weight: 700; font-size: .78rem;
}
.pill-ok, .badge-ok { background: #e7f8ef; color: #157d4c; }
.pill-warn, .badge-warn { background: #fff4e5; color: #b45309; }
.pill-danger { background: #fde8ea; color: #b91c1c; }
.pill-career, .badge-career { background: #fff6d8; color: #92400e; }
.pill-info { background: #e8f1ff; color: #1d4ed8; }
.pill-violet { background: #f3e8ff; color: #6d28d9; }
.pill-muted { background: #f1f3f5; color: #5f6368; }
.field { margin-bottom: 1rem; }
.field > span, .field > .form-label { display: block; margin-bottom: .35rem; font-weight: 500; }
.field input.form-control, .field textarea, .field select, .filter-bar input, .filter-bar select, .search-line input {
    display: block; width: 100%; min-height: 46px; padding: .6rem .85rem; border-radius: .5rem;
    border: 1px solid #d7deea; background: #fff; color: #212529;
}
.field textarea { min-height: 120px; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin: .75rem 0; font-weight: 600; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: #673ab7; }
.btn-ghost { background: #fff; border: 1px solid #d7deea; color: #344054; }
.btn-small { padding: .3rem .7rem; font-size: .82rem; }
.btn-block, .btn-block.btn { width: 100%; }
.btn-copper { background: linear-gradient(90deg, #f7971e, #ffd200); border: 0; color: #3b2a00; font-weight: 700; }
.btn-excel, .dt-buttons .btn-success { background: #157d4c; border-color: #157d4c; color: #fff; }
.btn-pdf, .dt-buttons .btn-danger { background: #e10a1f; border-color: #e10a1f; color: #fff; }
.filter-bar, .toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin-bottom: 1rem; }
.filter-bar .field { margin: 0; min-width: 160px; flex: 1; }
.table-wrap { overflow: auto; }
.row-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.row-actions form { margin: 0; }
.product-cell { display: flex; gap: 10px; align-items: center; }
.product-cell > div { display: flex; flex-direction: column; min-width: 0; }
.product-cell small, .fine, .muted, .hint { color: #6c757d; }
.dt-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.dt-buttons .btn { display: inline-flex; align-items: center; gap: 6px; }
.dt-buttons .btn svg { width: 16px; height: 16px; }
.fine { font-size: .85rem; }
.thumb { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.thumb-letter { display: grid; place-items: center; color: #fff; font-weight: 700; background: var(--accent, #2575fc); }
.thumb-stack { display: flex; }
.thumb-stack .thumb { margin-left: -14px; border: 2px solid #fff; }
.thumb-stack .thumb:first-child { margin-left: 0; }
.gallery { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 16px; }
.gallery label { width: 110px; font-size: .8rem; font-weight: 700; }
.gallery img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; }
.empty { padding: 1.5rem; text-align: center; color: #6c757d; }
.plan-list { list-style: none; padding: 0; margin: 0; }
.plan-list li { margin: .5rem 0; padding: .75rem .9rem; border-radius: 12px; background: #f4f7ff; }
.balance { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: #e9eef8; margin: 14px 0 8px; }
.leg-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.leg-side { margin: 0; padding: 16px 18px; border-radius: 18px; background: #f8fafc; }
.leg-side span, .leg-side small { display: block; color: #64748b; font-weight: 700; }
.leg-side strong { display: block; margin: 4px 0; font-size: 2.4rem; letter-spacing: -.04em; line-height: 1; }
.leg-side.is-left { background: linear-gradient(180deg, #ecfdf5, #fff); }
.leg-side.is-left strong { color: #047857; }
.leg-side.is-right { background: linear-gradient(180deg, #fff7ed, #fff); }
.leg-side.is-right strong { color: #c2410c; }
.pool-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.pool-steps article { background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 8px 20px rgba(15, 23, 42, .05); }
.pool-steps span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, #6a11cb, #2575fc); }
.pool-steps strong { display: block; margin: 10px 0 4px; }
.pool-steps p { margin: 0; color: #64748b; }
.price-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 8px 0 16px; }
.balance i { display: block; height: 100%; }
.balance .left { background: linear-gradient(90deg, #11998e, #38ef7d); }
.balance .right { background: linear-gradient(90deg, #fc4a1a, #f7b733); }
.impersonate-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.notice-banner { display: block; text-decoration: none; margin-bottom: 1rem; }
.flash { border-radius: .7rem; padding: .75rem 1rem; margin-bottom: 1rem; }
.flash-error { background: #fde8ea; color: #b91c1c; }
.flash-success { background: #e7f8ef; color: #157d4c; }
.flash-info { background: #e8f1ff; color: #1d4ed8; }
.page-content { width: 100%; max-width: none; }
.shop-hero {
    display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap;
    padding: 1.3rem 1.4rem; border-radius: 16px; color: #fff; margin-bottom: 1rem;
    background: linear-gradient(120deg, #5b2cdb, #2575fc 60%, #11998e);
}
.shop-hero h1, .shop-hero p, .shop-hero .eyebrow { color: #fff; margin: 0; }
.shop-hero .search-line { margin: 0; min-width: min(360px, 100%); }
.category-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.category-row a { text-decoration: none; background: #fff; color: #334155; border-radius: 999px; padding: 8px 14px; font-weight: 700; }
.category-row a.is-on { background: linear-gradient(90deg, #6a11cb, #2575fc); color: #fff; }
.product-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 28px rgba(15,23,42,.08); display: flex; flex-direction: column; }
.product-card img, .product-visual, .product-photo img { width: 100%; height: 220px; object-fit: cover; display: block; }
.product-visual { display: grid; place-items: center; color: #fff; font-size: 2rem; font-weight: 700; background: linear-gradient(160deg, var(--accent, #2575fc), #dbeafe); text-decoration: none; }
.product-body { padding: 1rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.product-body h2 { font-size: 1.15rem; margin: 0; }
.product-body h2 a { text-decoration: none; color: #212529; }
.price { font-weight: 700; color: #2575fc; }
.price small { display: block; color: #6c757d; font-weight: 500; }
.search-line { display: flex; gap: 8px; margin-bottom: 1rem; }
.search-line input { flex: 1; }
.shop-cart { position: sticky; top: 88px; }
.cart-line, .totals div, .cart-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.cart-line { padding: .6rem 0; border-bottom: 1px solid #eef1f6; }
.totals { margin: .8rem 0; }
.qty { width: 78px; }
.cart-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); opacity: 0; visibility: hidden; transition: .2s ease; z-index: 1070; }
.cart-backdrop.is-open, body.cart-open .cart-backdrop { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: #fff; transform: translateX(105%); transition: transform .22s ease; z-index: 1080; overflow: auto; box-shadow: -18px 0 40px rgba(15,23,42,.2); display: flex; flex-direction: column; }
.cart-drawer.is-open { transform: none; }
.cart-drawer-bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.1rem; background: linear-gradient(90deg, #5b2cdb, #2575fc); color: #fff; position: sticky; top: 0; }
.cart-drawer-bar p, .cart-drawer-bar strong { color: #fff; }
.cart-drawer [data-cart-mount] { padding: .4rem 1rem 1.2rem; }
.topbar .navbar { min-width: 0; gap: 16px; }
.topbar .search-bar { width: auto; flex: 1 1 220px; max-width: 420px; min-width: 0; }
.topbar .top-menu { margin-left: auto; flex: 0 0 auto; }
.topbar .top-menu .navbar-nav { flex-wrap: nowrap; gap: 14px !important; }
.topbar .navbar .navbar-nav .nav-item { width: auto; height: auto; }
.topbar .navbar .navbar-nav .nav-link.cart-launch,
.topbar .navbar .navbar-nav a.activity-chip {
    width: auto; height: 44px; min-height: 44px; border-radius: 14px; padding: 0 14px;
    display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex: none;
    background: rgba(255,255,255,.16); color: #fff; line-height: 1.05;
}
.topbar .navbar .navbar-nav .nav-link.position-relative { width: 42px; height: 42px; flex: none; }
.topbar .user-box { flex: none; }
.cart-launch-copy { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.cart-launch-copy small { font-size: 11px; opacity: .85; }
.cart-launch-copy strong { font-size: 14px; font-weight: 800; }
.cart-count {
    position: static; width: 22px; height: 22px; margin: 0; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: #4c1d95; font-size: 12px; font-weight: 800;
}
.cart-line { align-items: flex-start; }
.cart-line img, .cart-letter { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex: none; }
.cart-letter { display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(160deg, var(--accent, #2575fc), #6a11cb); }
.cart-meta { flex: 1; min-width: 0; }
.cart-empty { text-align: center; padding: 2.5rem 1rem; color: #64748b; }
.cart-empty i { font-size: 42px; color: #2575fc; }
.qty-step { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.qty-step button { width: 32px; height: 32px; border: 0; border-radius: 10px; background: #eef2ff; font-weight: 800; }
.qty-step .qty { width: 54px; text-align: center; }
.qty-remove { width: auto !important; padding: 0 10px; background: #fee2e2 !important; color: #b91c1c; }
.product-buy { display: flex; gap: 8px; }
.product-buy .qty { width: 74px; }
.product-detail, .checkout-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .85fr); gap: 16px; width: 100%; align-items: start; }
.product-detail > *, .checkout-grid > * { min-width: 0; }
.product-hero { width: 100%; height: 420px; object-fit: cover; border-radius: 16px; }
.bank-card { position: relative; min-height: 168px; border-radius: 18px; padding: 1.1rem 1.2rem; color: #fff; margin-bottom: 1rem; background: linear-gradient(135deg, #312e81, #2563eb 55%, #0f766e); }
.bank-card strong { display: block; margin: 28px 0 18px; font-size: 1.25rem; letter-spacing: .12em; }
.bank-card em { font-style: normal; margin-right: 18px; }
.summary-line, .totals div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eef1f6; }
.summary-line small { display: block; color: #6c757d; }
.totals .grand { font-size: 1.15rem; font-weight: 800; }
.mobile-cart-bar { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: linear-gradient(90deg, #6a11cb, #2575fc); color: #fff; text-decoration: none; border-radius: 14px; padding: 14px 16px; justify-content: space-between; font-weight: 700; }
.tree-scroll { overflow-x: auto; padding-bottom: 1rem; }
.btree { min-width: 760px; }
.bslot { display: flex; flex-direction: column; align-items: center; }
.bcard { width: 200px; min-height: 128px; border-radius: 14px; border: 0; background: #fff; padding: 12px; text-decoration: none; color: #212529; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 10px 24px rgba(18,40,80,.08); }
.bcard small, .bcard em { color: #6c757d; font-style: normal; font-size: 12px; }
.bcard.is-active { box-shadow: inset 0 0 0 2px #11998e, 0 10px 24px rgba(17,153,142,.15); }
.bcard.is-career { background: linear-gradient(180deg, #fff8e6, #fff); }
.bcard.is-empty { border: 1px dashed #c9d4e8; color: #6c757d; min-height: 92px; justify-content: center; background: #f8fbff; }
.bkids { display: flex; gap: 16px; margin-top: 8px; }
.bleg { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #2575fc; }
.bleg-col { display: flex; flex-direction: column; align-items: center; position: relative; padding-top: 16px; }
.bleg-col::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 16px; background: #c7d7fe; }
.bkids .bleg-col::after { content: ""; position: absolute; top: 0; left: 0; right: 0; border-top: 2px solid #c7d7fe; }
.bkids .bleg-col:first-child::after { left: 50%; }
.bkids .bleg-col:last-child::after { right: 50%; }
.bmore { margin-top: 8px; font-size: 13px; font-weight: 700; color: #2575fc; }
.copy-row { display: flex; gap: 8px; margin-bottom: 10px; }
.copy-row input { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; color: #6c757d; margin-bottom: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 6px; background: #cbd5e1; }
.dot.on { background: #11998e; }
.dot.off { background: #94a3b8; }
.dot.career { background: #f7971e; }
.bavatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #6a11cb, #2575fc); color: #fff; font-weight: 700; margin-bottom: 4px; }
.demo-box { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; background: linear-gradient(180deg, #eef4ff, #f3fff8); border: 1px solid #d7e3ff; font-size: .9rem; }
.phone-note { min-height: 1.2rem; font-size: .85rem; color: #6c757d; }
.phone-note.is-bad { color: #b91c1c; }
.stepper { display: flex; gap: 8px; margin-bottom: 14px; font-weight: 700; }
.stepper span { background: #fff; border-radius: 999px; padding: 6px 10px; color: #6c757d; }
.stepper .on { color: #fff; background: linear-gradient(90deg, #6a11cb, #2575fc); }
.export-links[hidden] { display: none !important; }
.dataTables_wrapper .dt-top, .dataTables_wrapper .dt-bottom { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin: .6rem 0; }
.swal2-popup { border-radius: 18px !important; }
.color-pick { display: flex; gap: 10px; align-items: center; }
.color-pick input[type="color"] { width: 72px; height: 52px; padding: 4px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #dbe3f0; }
.gallery-sort { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; margin: 12px 0; }
.shot { background: #f8fafc; border-radius: 16px; padding: 8px; cursor: grab; display: flex; flex-direction: column; gap: 8px; }
.shot img { width: 100%; height: 168px; object-fit: cover; border-radius: 12px; }
.shot.is-removed { opacity: .35; }
.shot.is-dragging { opacity: .45; }
.product-page { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 16px; width: 100%; align-items: start; }
.product-main { width: 100%; height: min(560px, 68vh); object-fit: contain; background: linear-gradient(180deg, #f8fbff, #e8eef8); border-radius: 18px; }
.product-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.thumb-btn { width: 96px; height: 96px; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: #fff; }
.thumb-btn.is-on { border-color: #2575fc; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.product-lead { color: #475569; }
.product-copy { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #eef1f6; }
.order-line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #eef1f6; }
.order-line img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; flex: none; }
.order-line .cart-letter { width: 76px; height: 76px; }
.order-line div { flex: 1; min-width: 0; }
.order-line small { display: block; color: #6c757d; }
.activity-board { background: linear-gradient(180deg, #f7f8ff, #fff 88px); }
.activity-status { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.activity-status > i {
    width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex: none; font-size: 24px;
    background: #e7f8ef; color: #157d4c;
}
.activity-status.is-closed > i { background: #fff7ed; color: #c2410c; }
.activity-status strong { display: block; font-size: 1.05rem; }
.activity-status span { color: #64748b; }
.activity-status .btn { margin-left: auto; }
.activity-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.activity-plan {
    position: relative; display: block; margin: 0; padding: 16px; border-radius: 18px; cursor: pointer;
    border: 1px solid #e6ebf4; background: #fff; text-decoration: none; color: inherit;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}
.activity-plan .bx {
    width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px;
    background: #eef2ff; color: #3b5bdb; font-size: 20px;
}
.activity-plan.is-year { background: linear-gradient(180deg, #f4f0ff, #fff); border-color: #ddd6fe; }
.activity-plan.is-year .bx { background: linear-gradient(135deg, #6a11cb, #2575fc); color: #fff; }
.activity-plan input { position: absolute; opacity: 0; pointer-events: none; }
.activity-plan span { display: block; color: #64748b; font-size: 13px; font-weight: 700; }
.activity-plan strong { display: block; margin-top: 4px; font-size: 1.35rem; letter-spacing: -.03em; color: #1e3a8a; }
.activity-plan small { display: block; margin-top: 6px; color: #64748b; }
.activity-plan:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(37, 117, 252, .12); }
.activity-plan:has(input:checked) { border-color: #2575fc; box-shadow: 0 0 0 3px rgba(37, 117, 252, .16); }
.activity-due { margin-bottom: 14px; padding: 14px 16px; border-radius: 16px; background: #fff7ed; color: #9a3412; }
@media (max-width: 980px) {
    .page-wrapper { margin-left: 0 !important; }
    .shop-layout, .two-col, .split, .profile-grid, .form-grid, .product-grid, .product-detail, .product-page, .checkout-grid { grid-template-columns: 1fr; }
    .activity-plans, .leg-pair, .pool-steps, .price-picks { grid-template-columns: 1fr; }
    .activity-status { align-items: flex-start; flex-wrap: wrap; }
    .activity-status .btn { margin-left: 0; }
    .product-hero, .product-main { height: 280px; }
    .cart-launch-copy { display: none; }
    .activity-chip em { display: none; }
    .mobile-cart-bar { display: flex; }
    .hero-card h1 { font-size: 1.45rem; }
}
.gate {
    margin: 0;
    min-height: 100vh;
    background: #eef2f8;
    color: #0f172a;
    font-family: "Plus Jakarta Sans", Roboto, sans-serif;
}
.gate-stage { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr); }
.gate-story {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(1200px 700px at 10% 10%, #3b2a8a 0%, transparent 55%),
        radial-gradient(900px 600px at 90% 90%, #0f766e 0%, transparent 50%),
        linear-gradient(160deg, #120c2e 0%, #1d1460 42%, #163a8a 100%);
    display: flex; align-items: center; padding: 64px 72px;
}
.gate-orb { position: absolute; border-radius: 50%; filter: blur(8px); pointer-events: none; }
.gate-orb-a { width: 340px; height: 340px; right: -80px; top: -60px; background: rgba(255, 213, 106, .28); }
.gate-orb-b { width: 280px; height: 280px; left: -70px; bottom: -40px; background: rgba(56, 189, 248, .22); }
.gate-grid {
    position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
}
.gate-story-inner { position: relative; z-index: 1; max-width: 520px; }
.gate-brand { color: #fff; font-weight: 800; font-size: 28px; letter-spacing: -.04em; text-decoration: none; }
.gate-brand span { color: #ffd56a; }
.gate-story h1 { margin: 28px 0 14px; font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1.12; font-weight: 800; letter-spacing: -.04em; color: #fff; }
.gate-story p { margin: 0; max-width: 420px; color: rgba(255,255,255,.78); font-size: 1.05rem; line-height: 1.6; }
.gate-points { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 12px; }
.gate-points li {
    display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px);
}
.gate-points i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(255,255,255,.14); }
.gate-points strong, .gate-points span { display: block; }
.gate-points strong { font-size: 15px; }
.gate-points span { color: rgba(255,255,255,.72); font-size: 13px; }
.gate-panel { display: grid; place-items: center; padding: 36px 28px; }
.gate-card {
    width: min(440px, 100%); background: #fff; border-radius: 28px; padding: 36px 32px 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
}
.gate-mark {
    width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-size: 28px;
    background: linear-gradient(135deg, #6a11cb, #2575fc); box-shadow: 0 12px 24px rgba(37, 117, 252, .28);
}
.gate-card h2 { margin: 18px 0 6px; font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.gate-lead { margin: 0 0 22px; color: #64748b; }
.gate-alert { margin-bottom: 16px; padding: 12px 14px; border-radius: 14px; background: #fde8ea; color: #b91c1c; font-weight: 600; }
.gate-field { display: block; margin-bottom: 14px; }
.gate-field > span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #334155; }
.gate-control { position: relative; display: block; }
.gate-control i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 20px; }
.gate-control input {
    width: 100%; height: 54px; border-radius: 16px; border: 1px solid #e6ebf4; background: #f8fafc;
    padding: 0 48px; font: inherit; font-size: 15px; color: #0f172a; outline: none;
}
.gate-control input:focus { border-color: #6d5efc; background: #fff; box-shadow: 0 0 0 4px rgba(109, 94, 252, .14); }
.gate-eye {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px;
    border: 0; border-radius: 12px; background: transparent; color: #64748b;
}
.gate-row { display: flex; justify-content: flex-end; margin: -4px 0 16px; }
.gate-row a, .gate-switch a { color: #3b5bdb; font-weight: 700; text-decoration: none; }
.gate-submit {
    width: 100%; height: 54px; border: 0; border-radius: 16px; color: #fff; font-weight: 800; font-size: 16px;
    background: linear-gradient(90deg, #6a11cb, #2575fc); box-shadow: 0 14px 28px rgba(37, 117, 252, .28);
}
.gate-submit:hover { filter: brightness(1.05); }
.gate-switch { margin: 16px 0 0; text-align: center; color: #64748b; }
.gate-demos { margin-top: 22px; padding-top: 16px; border-top: 1px solid #eef2f7; display: grid; gap: 8px; }
.gate-demos > p { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.gate-demo-note { margin: 0 0 4px; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #64748b; }
.gate-demo {
    display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; width: 100%;
    padding: 10px; border: 1px solid #e8eef8; border-radius: 14px; background: #f8fafc; text-align: left;
}
.gate-demo > span:first-child {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}
.gate-demo.is-admin { border-color: #fdba74; background: linear-gradient(180deg, #fff7ed, #fff); }
.gate-demo.is-admin > span:first-child { background: linear-gradient(135deg, #f7971e, #ffd200); color: #3b2200; }
.gate-demo-copy strong { color: #0f172a; font-size: 14px; }
.gate-demo-copy em {
    margin-left: 6px; font-style: normal; font-size: 11px; font-weight: 800; color: #1d4ed8;
    background: #e8f1ff; border-radius: 999px; padding: 2px 8px;
}
.gate-demo.is-admin em { color: #9a3412; background: #ffedd5; }
.gate-demo-copy small, .gate-demo-copy b { display: block; }
.gate-demo-copy small { color: #334155; font-weight: 700; margin-top: 2px; }
.gate-demo-copy b { margin-top: 2px; color: #3b5bdb; font-size: 12px; }
@media (max-width: 960px) {
    .gate-stage { grid-template-columns: 1fr; }
    .gate-story { min-height: 240px; padding: 28px 22px 48px; align-items: flex-end; }
    .gate-story h1 { margin-top: 16px; font-size: 1.7rem; }
    .gate-points { display: none; }
    .gate-panel { padding: 0 16px 28px; margin-top: -28px; align-items: start; }
    .gate-card { padding: 28px 20px 22px; }
}
@media (max-width: 640px) {
    .activity-plans { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .gate-submit:hover, .activity-plan:hover { filter: none; transform: none; }
}
.sidebar-wrapper { display: flex; flex-direction: column; }
.sidebar-wrapper .simplebar-wrapper { flex: 1 1 auto; min-height: 0; height: auto !important; }
.sidebar-wrapper .simplebar-mask { top: 0; bottom: 72px !important; height: auto !important; }
.sidebar-wrapper .simplebar-offset { top: 0 !important; bottom: 0 !important; height: auto !important; }
.sidebar-wrapper .simplebar-content-wrapper { height: 100% !important; }
.sidebar-wrapper .simplebar-content { padding-bottom: 8px; }
.sidebar-logout { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 8px 14px 16px; background: transparent; }
.sidebar-logout a {
    display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff;
    background: rgba(255,255,255,.12); border-radius: 12px; padding: 12px 14px; font-weight: 700;
}
.sidebar-logout a:hover { background: rgba(255,255,255,.22); color: #fff; }
.activity-chip { text-decoration: none; color: #fff; }
.activity-chip > i { font-size: 22px; }
.activity-chip > span { display: flex; flex-direction: column; }
.activity-chip small, .activity-chip em { font-size: 11px; font-style: normal; opacity: .9; }
.activity-chip em { padding-left: 8px; border-left: 1px solid rgba(255,255,255,.35); }
.activity-chip strong { font-size: 14px; white-space: nowrap; }
.activity-chip.is-off { background: rgba(185, 28, 28, .55); }
.cart-launch strong, .cart-launch-copy strong { white-space: nowrap; }
.cart-ladder { margin: 12px 0; padding: 12px; border-radius: 14px; background: #f4f7ff; }
.cart-ladder-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cart-ladder ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cart-ladder li { display: flex; justify-content: space-between; gap: 8px; background: #fff; border-radius: 10px; padding: 8px 10px; }
.cart-ladder li small { display: block; color: #64748b; font-weight: 600; }
.cart-ladder li.is-ready { outline: 2px solid #16a34a; }
.cart-ladder li.is-ready b { color: #15803d; }
.pay-board, .plan-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.plan-grid { grid-template-columns: repeat(3, 1fr); margin: 16px 0; }
.pay-figure { display: block; font-size: 2rem; color: #5b2cdb; }
.pay-form { display: grid; gap: 10px; margin: 12px 0; }
.wallet-hero, .result-banner {
    border-radius: 16px; padding: 1.2rem 1.4rem; color: #fff; margin-bottom: 1rem;
    background: linear-gradient(120deg, #5b2cdb, #2575fc);
}
.wallet-hero h1, .wallet-hero p, .wallet-hero strong, .result-banner strong { color: #fff; }
.wallet-hero strong, .result-banner strong { font-size: 2rem; display: block; }
.result-banner { display: flex; justify-content: space-between; align-items: center; }
.result-banner.is-loss { background: linear-gradient(120deg, #9f1239, #f97316); }
.plan-card { background: #fff; border-radius: 16px; padding: 1rem 1.1rem; box-shadow: 0 10px 24px rgba(15,23,42,.06); }
.plan-card h2 { font-size: 1rem; margin: 0 0 .35rem; }
.plan-card p { margin: 0; color: #475569; }
.depth-row, .request-board, .request-list { display: grid; gap: 14px; margin: 16px 0; }
.depth-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.request-board { grid-template-columns: 1.1fr .9fr; }
.request-card h2 { margin: 0; font-size: 1.15rem; }
.request-head, .request-figures { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.request-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 12px 0; }
.request-figures span { display: block; color: #64748b; font-size: 12px; }
.request-figures strong { font-size: 1.05rem; }
.request-pay { grid-template-columns: 1fr auto auto; align-items: end; }
.depth-card {
    background: #fff; border-radius: 16px; padding: 1rem 1.1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}
.depth-card span { color: #64748b; font-weight: 700; font-size: 13px; }
.depth-card strong { display: block; margin: 6px 0; font-size: 1.8rem; color: #5b2cdb; }
.depth-card p { margin: 0; color: #475569; }
@media (max-width: 980px) {
    .pay-board, .plan-grid, .depth-row, .request-board, .request-figures, .request-pay { grid-template-columns: 1fr; }
}
@media print {
    .sidebar-wrapper, header, .page-breadcrumb, .filter-bar, .export-links, .btn, .no-print, .cart-drawer, .mobile-cart-bar { display: none !important; }
    .page-wrapper { margin: 0 !important; }
}
