:root {
    --bg: #f5f6f2;
    --surface: #ffffff;
    --surface-2: #eef1eb;
    --ink: #152421;
    --muted: #697672;
    --line: #dfe5df;
    --accent: #0d6467;
    --accent-2: #0b5154;
    --accent-soft: #dceceb;
    --navy: #14282a;
    --amber: #bf7a20;
    --red: #b94a4a;
    --blue: #34738e;
    --purple: #725c95;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 16px 44px rgba(25, 46, 42, .08);
    --font: "DM Sans", system-ui, sans-serif;
    --display: "Manrope", "DM Sans", system-ui, sans-serif;
}

[data-theme="dark"] {
    --bg: #101716;
    --surface: #17211f;
    --surface-2: #1d2a27;
    --ink: #eff5f2;
    --muted: #9baba6;
    --line: #2a3935;
    --accent: #4cb2ae;
    --accent-2: #67c6c1;
    --accent-soft: #183b39;
    --navy: #0c1110;
    --shadow: 0 18px 50px rgba(0, 0, 0, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
body, button, input, textarea, select { font-family: var(--font); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-size: 14px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, strong { letter-spacing: -.02em; }
h1, h2, h3 { font-family: var(--display); }
code { padding: 3px 7px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--accent-2); font: 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
input, textarea, select { width: 100%; border: 1px solid var(--line); color: var(--ink); background: var(--surface); border-radius: 11px; outline: 0; padding: 12px 13px; transition: .18s ease; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
textarea { resize: vertical; }
label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 600; }
label > span { display: flex; justify-content: space-between; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; left: 10px; top: -60px; background: var(--ink); color: var(--surface); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
.eyebrow { display: block; margin-bottom: 8px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-light { color: #9dd1cd; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; border: 1px solid transparent; padding: 10px 18px; border-radius: 11px; font-weight: 700; transition: transform .18s ease, background .18s ease, border .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 7px 20px color-mix(in srgb, var(--accent) 22%, transparent); }
.button-primary:hover { background: var(--accent-2); }
.button-secondary { background: var(--accent-soft); color: var(--accent-2); border-color: color-mix(in srgb, var(--accent) 18%, transparent); }
.button-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.button-white { background: #fff; color: #163c3b; }
.button-lg { min-height: 52px; padding-inline: 23px; border-radius: 13px; }
.button-small { min-height: 34px; padding: 6px 12px; font-size: 12px; }
.button-block { width: 100%; }
.button-danger-outline { border-color: color-mix(in srgb, var(--red) 30%, var(--line)); background: transparent; color: var(--red); }
.text-link { color: var(--accent); font-weight: 700; }
.text-link span, .section-heading a span { margin-left: 5px; transition: margin .18s; }
.text-link:hover span, .section-heading a:hover span { margin-left: 9px; }
.icon-button { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 11px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; background: var(--accent); color: #fff; font: 800 20px/1 var(--display); box-shadow: inset 0 0 0 1px #ffffff2e; }
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { font: 800 16px/1.1 var(--display); }
.brand small { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.brand-light { color: #fff; }
.brand-light small { color: #9cb4af; }
.public-header { position: absolute; z-index: 20; width: 100%; top: 0; color: #fff; }
.nav-row { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.public-nav { display: flex; gap: 34px; }
.public-nav a { position: relative; color: #d7e3df; font-size: 13px; font-weight: 600; }
.public-nav a:hover, .public-nav a.active { color: #fff; }
.public-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: #7bc3be; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.public-header .button-ghost, .public-header .icon-button { border-color: #ffffff38; color: #fff; }
.mobile-menu { display: none; }

.hero { min-height: 760px; display: flex; align-items: center; padding: 126px 0 65px; overflow: hidden; color: #fff; background: radial-gradient(circle at 74% 32%, #214d4b 0, #183735 31%, transparent 58%), linear-gradient(125deg, #102827, #0e3332 54%, #0d2928); }
.hero-grid { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: 60px; }
.hero-copy { position: relative; z-index: 2; }
.hero-pill { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; border: 1px solid #ffffff2b; background: #ffffff0c; padding: 7px 12px; border-radius: 30px; color: #cce1dd; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.hero-pill span { width: 6px; height: 6px; background: #66c6bd; border-radius: 50%; box-shadow: 0 0 0 4px #66c6bd1d; }
.hero h1 { margin: 0 0 22px; font-size: clamp(46px, 5.2vw, 74px); line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: #7ec5bf; font-style: normal; }
.hero-copy > p { max-width: 580px; color: #bbceca; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; gap: 10px; margin: 33px 0; }
.hero-trust { display: flex; align-items: center; gap: 14px; }
.trust-avatars { display: flex; }
.trust-avatars span { width: 34px; height: 34px; display: grid; place-items: center; margin-left: -7px; border: 2px solid #163b39; border-radius: 50%; background: #e8d8bd; color: #253b37; font-size: 9px; font-weight: 800; }
.trust-avatars span:first-child { margin-left: 0; background: #bdd9d4; }
.trust-avatars span:nth-child(2) { background: #d1c9e2; }
.trust-avatars span:last-child { background: #2f5a57; color: #fff; }
.hero-trust p { display: grid; margin: 0; }
.hero-trust strong { font-size: 12px; }
.hero-trust small { color: #94aaa6; font-size: 10px; }
.hero-visual { position: relative; min-height: 570px; display: flex; align-items: center; justify-content: center; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-one { width: 430px; height: 430px; background: radial-gradient(circle at 35% 30%, #35716c, #153d3a 70%); box-shadow: 0 0 120px #64a49b18; }
.orb-two { width: 530px; height: 530px; border: 1px solid #ffffff0d; }
.bike-display { position: relative; z-index: 2; width: 470px; height: 420px; padding: 22px; border: 1px solid #ffffff1e; border-radius: 35px; background: linear-gradient(145deg, #ffffff13, #ffffff06); box-shadow: 0 40px 100px #00000033; backdrop-filter: blur(15px); }
.bike-badge { position: absolute; right: 20px; top: 20px; padding: 6px 9px; border: 1px solid #ffffff24; border-radius: 20px; color: #b8d7d2; font-size: 10px; font-weight: 800; }
.bike-shape { position: relative; height: 290px; transform: scale(.96); }
.wheel { position: absolute; bottom: 24px; width: 118px; height: 118px; border: 13px solid #0a1615; border-radius: 50%; box-shadow: inset 0 0 0 4px #65807c, 0 6px 15px #0004; }
.wheel::after { content: ""; position: absolute; inset: 28px; border: 3px solid #758e89; border-radius: 50%; background: repeating-conic-gradient(#718884 0 3deg, transparent 3deg 24deg); }
.wheel-one { left: 28px; }
.wheel-two { right: 21px; }
.bike-frame { position: absolute; left: 112px; bottom: 77px; width: 210px; height: 90px; border-left: 12px solid #253d39; border-bottom: 12px solid #253d39; transform: skewX(-20deg) rotate(-4deg); }
.bike-tank { position: absolute; left: 180px; bottom: 142px; width: 125px; height: 72px; border-radius: 55% 35% 45% 50%; background: linear-gradient(135deg, #d7c8a7, #826c49); transform: rotate(-7deg); box-shadow: inset 0 5px 8px #fff4, 0 8px 20px #0003; }
.bike-seat { position: absolute; left: 275px; bottom: 185px; width: 105px; height: 25px; border-radius: 20px 8px 8px 15px; background: #162220; transform: rotate(2deg); }
.bike-handle { position: absolute; right: 64px; top: 62px; width: 70px; height: 100px; border-left: 7px solid #202f2c; border-top: 6px solid #202f2c; transform: rotate(-14deg); }
.bike-caption { display: flex; justify-content: space-between; border-top: 1px solid #ffffff17; padding: 18px 5px 0; }
.bike-caption span { display: grid; }
.bike-caption span:last-child { text-align: right; }
.bike-caption small { color: #9fb6b1; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.bike-caption strong { margin-top: 4px; font: 700 16px var(--display); }
.floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid #ffffff1e; border-radius: 15px; background: #f5f8f4f0; color: #18312e; box-shadow: 0 18px 50px #0003; backdrop-filter: blur(12px); }
.floating-card > span:nth-child(2) { display: grid; }
.floating-card small { color: #73807d; font-size: 9px; }
.floating-card strong { font-size: 11px; }
.float-icon { width: 34px; height: 34px; display: grid; place-items: center; background: #dceae7; color: #16625f; border-radius: 10px; }
.float-icon .icon { width: 17px; }
.floating-stock { left: -12px; top: 128px; }
.floating-stock b { margin-left: 6px; color: #25766f; font-size: 9px; }
.floating-pay { right: -10px; bottom: 82px; }

.category-strip, .featured-section { padding: 88px 0; background: var(--surface); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.section-heading h2 { margin: 0; font-size: 34px; }
.section-heading a { color: var(--accent); font-weight: 700; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.category-card { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 16px; min-height: 105px; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); transition: .2s ease; }
.category-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: var(--shadow); }
.category-card > span:nth-child(2) { display: grid; }
.category-card strong { font: 700 14px var(--display); }
.category-card small { color: var(--muted); font-size: 11px; }
.category-card b { color: var(--muted); }
.category-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 15px; background: #e4ece9; font-size: 26px; filter: saturate(.7); }
.benefit-section { padding: 110px 0; background: var(--bg); }
.benefit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.benefit-copy h2 { font-size: 48px; line-height: 1.08; }
.benefit-copy p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.benefit-list { border-top: 1px solid var(--line); }
.benefit-list article { display: grid; grid-template-columns: 45px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.benefit-list article > span { width: 33px; height: 33px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border-radius: 9px; font-size: 10px; font-weight: 800; }
.benefit-list h3 { margin-bottom: 7px; font-size: 18px; }
.benefit-list p { margin: 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: .22s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media { position: relative; height: 230px; display: grid; place-items: center; overflow: hidden; }
.product-media::after, .product-hero-image::after { content: ""; position: absolute; width: 170px; height: 170px; border: 1px solid #ffffff88; border-radius: 50%; }
.product-symbol { position: relative; z-index: 2; font-size: 72px; filter: grayscale(.5) drop-shadow(0 16px 14px #0003); transition: transform .25s; }
.product-card:hover .product-symbol { transform: scale(1.08) rotate(-2deg); }
.product-media > b { position: absolute; z-index: 3; top: 13px; left: 13px; padding: 5px 8px; background: #ffffffdd; color: #23514e; border-radius: 20px; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.product-media > i { position: absolute; z-index: 3; right: 13px; bottom: 12px; opacity: 0; color: #fff; font-size: 10px; font-style: normal; transform: translateY(5px); transition: .2s; }
.product-card:hover .product-media > i { opacity: 1; transform: none; }
.product-tone-1 { background: radial-gradient(circle at 40% 30%, #dce9e4, #89a9a0); }
.product-tone-2 { background: radial-gradient(circle at 40% 30%, #efe7da, #c0a781); }
.product-tone-3 { background: radial-gradient(circle at 40% 30%, #e7e4ec, #9c91aa); }
.product-tone-4 { background: radial-gradient(circle at 40% 30%, #e1e9ec, #84a2ad); }
.product-tone-5 { background: radial-gradient(circle at 40% 30%, #e9e5df, #a89b8a); }
.product-info { padding: 17px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; }
.product-meta > small { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-info h3 { margin: 8px 0 4px; font-size: 15px; }
.product-info > p { min-height: 32px; margin-bottom: 15px; color: var(--muted); font-size: 10px; }
.product-bottom { display: flex; justify-content: space-between; align-items: end; padding-top: 13px; border-top: 1px solid var(--line); }
.product-bottom > span:first-child { display: grid; }
.product-bottom small { color: var(--muted); font-size: 9px; }
.product-bottom strong { font: 800 15px var(--display); }
.stock-count { color: var(--muted); font-size: 9px; }
.cta-section { padding: 72px 0; background: var(--surface); }
.cta-card { display: flex; justify-content: space-between; align-items: center; min-height: 330px; padding: 55px 70px; overflow: hidden; position: relative; border-radius: 32px; color: #fff; background: radial-gradient(circle at 82% 30%, #2f6661, transparent 38%), linear-gradient(120deg, #102e2c, #174340); }
.cta-card::after { content: ""; position: absolute; right: -70px; width: 340px; height: 340px; border: 1px solid #ffffff0e; border-radius: 50%; }
.cta-card h2 { margin: 0 0 14px; font-size: 45px; line-height: 1.04; }
.cta-card p { max-width: 520px; color: #b7cbc7; }
.cta-card > div:last-child { position: relative; z-index: 2; display: grid; gap: 11px; text-align: center; }
.cta-card > div:last-child small { color: #8eaaa5; font-size: 10px; }
.public-footer { padding: 68px 0 25px; color: #d9e4e1; background: #0c1d1c; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 70px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid p { max-width: 340px; color: #829692; }
.footer-grid h3 { color: #fff; font-size: 12px; }
.footer-grid a, .footer-grid span { color: #8fa19e; font-size: 12px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 18px; border-top: 1px solid #ffffff10; color: #647875; font-size: 10px; }

.catalog-hero { padding: 145px 0 42px; color: #fff; background: radial-gradient(circle at 80% 20%, #2a5c58, transparent 35%), linear-gradient(120deg, #102c2b, #173c39); }
.catalog-hero h1 { margin: 0 0 24px; font-size: 52px; line-height: 1.03; }
.catalog-search { max-width: 700px; display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 15px; border: 1px solid #ffffff1f; border-radius: 15px; background: #ffffff14; backdrop-filter: blur(10px); }
.catalog-search input { border: 0; background: transparent; color: #fff; box-shadow: none; }
.catalog-search input::placeholder { color: #afc4c0; }
.catalog-search button { border: 0; border-radius: 10px; padding: 10px 18px; background: #fff; color: #194845; font-weight: 700; }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.category-pills a { display: inline-flex; gap: 7px; padding: 8px 12px; border: 1px solid #ffffff1c; border-radius: 30px; color: #bad0cc; font-size: 10px; font-weight: 700; }
.category-pills a.active, .category-pills a:hover { background: #fff; color: #183f3d; }
.category-pills span { opacity: .65; }
.catalog-section { padding: 42px 0 90px; background: var(--surface); }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.catalog-toolbar p { margin: 0; color: var(--muted); }
.catalog-toolbar > div { display: flex; gap: 8px; }
.catalog-toolbar select { width: auto; }
.filter-button { border: 1px solid var(--line); padding: 9px 12px; border-radius: 10px; background: transparent; color: var(--ink); }
.product-detail-section { padding: 120px 0 80px; background: var(--surface); }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 25px; color: var(--muted); font-size: 11px; }
.breadcrumbs a:hover { color: var(--accent); }
.product-detail-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 65px; }
.product-gallery { display: grid; gap: 14px; }
.product-hero-image { position: relative; height: 550px; display: grid; place-items: center; overflow: hidden; border-radius: 28px; }
.product-hero-image > span { position: relative; z-index: 2; font-size: 170px; filter: grayscale(.4) drop-shadow(0 25px 20px #0003); }
.product-hero-image > b { position: absolute; left: 24px; bottom: 22px; z-index: 2; padding: 7px 11px; border-radius: 20px; background: #ffffffcc; color: #34514d; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.gallery-notes { display: flex; gap: 22px; color: var(--muted); font-size: 11px; }
.gallery-notes span { display: flex; align-items: center; gap: 7px; }
.gallery-notes .icon { width: 16px; color: var(--accent); }
.product-summary { padding-top: 35px; }
.product-summary h1 { margin-bottom: 14px; font-size: 42px; line-height: 1.08; }
.product-description { color: var(--muted); font-size: 16px; line-height: 1.7; }
.sku-line { display: flex; gap: 28px; margin: 24px 0; padding: 15px 0; border-block: 1px solid var(--line); }
.sku-line span { display: grid; color: var(--muted); font-size: 10px; }
.sku-line strong { color: var(--ink); font-size: 12px; }
.price-panel { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-radius: 15px; background: var(--surface-2); }
.price-panel > span { display: grid; }
.price-panel small, .price-panel em { color: var(--muted); font-size: 10px; font-style: normal; }
.price-panel strong { margin: 3px 0; font: 800 28px var(--display); }
.buy-form { display: grid; grid-template-columns: 110px 1fr; gap: 10px; margin: 17px 0; }
.payment-note, .secure-note, .security-note { display: flex; align-items: center; gap: 11px; margin-top: 16px; color: var(--muted); }
.payment-note .icon, .secure-note .icon, .security-note .icon { color: var(--accent); }
.payment-note span, .secure-note span, .security-note span { display: grid; }
.payment-note strong, .secure-note strong, .security-note strong { color: var(--ink); font-size: 11px; }
.payment-note small, .secure-note small, .security-note small { font-size: 10px; }
.detail-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 50px; }
.detail-panels article { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.detail-panels h2 { font-size: 22px; }
.detail-panels dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.detail-panels dl div { padding: 12px; border-radius: 10px; background: var(--surface-2); }
.detail-panels dt { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.detail-panels dd { margin: 4px 0 0; font-weight: 700; }
.stock-list { display: grid; gap: 8px; }
.stock-list div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); }
.stock-list span { display: grid; }
.stock-list small { color: var(--muted); font-size: 10px; }
.stock-list b { color: var(--accent); font-size: 11px; }

.auth-section { min-height: 100vh; background: var(--surface); }
.auth-grid { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-art { display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: 45px 7vw; color: #fff; background: radial-gradient(circle at 70% 60%, #2c5c58, transparent 35%), linear-gradient(145deg, #0f2d2b, #153d3a); }
.auth-art h1 { margin: 0; font-size: clamp(42px, 5vw, 64px); line-height: 1.02; }
.auth-art h1 em { color: #7dc5bf; font-style: normal; }
.auth-art > div > p { max-width: 510px; color: #b5cbc6; font-size: 16px; }
.auth-art-footer { display: flex; gap: 20px; color: #87a19c; font-size: 10px; }
.auth-form-wrap { display: grid; place-items: center; padding: 45px; }
.auth-form { width: min(420px, 100%); }
.auth-form h2 { margin-bottom: 6px; font-size: 32px; }
.auth-form > p { color: var(--muted); }
.auth-form form { display: grid; gap: 16px; margin: 26px 0 22px; }
.auth-form label a { color: var(--accent); font-weight: 600; }
.password-field { position: relative; }
.password-field button { position: absolute; right: 8px; top: 8px; border: 0; background: transparent; color: var(--accent); font-size: 11px; font-weight: 700; }
.demo-box { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.demo-box p { margin: 2px 0 10px; color: var(--muted); font-size: 11px; }
.demo-logins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.demo-logins button { border: 1px solid var(--line); padding: 7px; border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 10px; font-weight: 700; }
.auth-switch { margin-top: 22px; text-align: center; font-size: 12px; }
.auth-switch a { color: var(--accent); font-weight: 700; }
.application-section { min-height: 100vh; padding: 50px 0 80px; background: var(--bg); }
.application-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.application-intro { position: sticky; top: 40px; padding-top: 20px; }
.back-link { display: inline-block; margin-bottom: 70px; color: var(--muted); font-size: 11px; }
.application-intro h1 { font-size: 44px; line-height: 1.07; }
.application-intro > p { color: var(--muted); font-size: 16px; }
.application-intro ol { list-style: none; display: grid; gap: 20px; margin: 35px 0 0; padding: 0; }
.application-intro li { display: flex; align-items: center; gap: 13px; }
.application-intro li > span, .form-section-title > span, .checkout-step > span, .step-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 800; }
.application-intro li div { display: grid; }
.application-intro li small { color: var(--muted); }
.application-card { padding: 42px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.form-heading > span { color: var(--accent); font-size: 10px; font-weight: 800; }
.form-heading h2 { margin: 5px 0; font-size: 30px; }
.form-heading p { color: var(--muted); }
.application-form { display: grid; gap: 25px; }
.form-section-title { display: flex; align-items: center; gap: 12px; padding-top: 15px; border-top: 1px solid var(--line); }
.form-section-title div { display: grid; }
.form-section-title small { color: var(--muted); font-size: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.full-span { grid-column: 1 / -1; }
.checkbox-line { display: flex; align-items: start; gap: 10px; color: var(--muted); font-weight: 400; }
.checkbox-line input { width: 17px; margin-top: 3px; accent-color: var(--accent); }
.privacy-note { color: var(--muted); text-align: center; }
.status-section { min-height: 100vh; display: grid; place-items: center; padding: 100px 0; background: radial-gradient(circle at 50% 20%, #dcebe7, var(--bg) 40%); }
.status-card { width: min(670px, 100%); margin: auto; padding: 50px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-align: center; box-shadow: var(--shadow); }
.status-icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 26px; }
.status-card h1 { margin-bottom: 8px; font-size: 38px; }
.status-card > p { color: var(--muted); }
.status-timeline { display: grid; gap: 0; margin: 35px 0; text-align: left; }
.status-timeline > div { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 15px; min-height: 68px; }
.status-timeline > div:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 36px; width: 2px; height: 33px; background: var(--line); }
.status-timeline > div > span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); font-size: 11px; }
.status-timeline .done > span, .status-timeline .current > span { background: var(--accent); color: #fff; border-color: var(--accent); }
.status-timeline div div { display: grid; align-content: start; }
.status-timeline small { color: var(--muted); }
.status-actions { display: flex; justify-content: center; gap: 8px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.sidebar { position: sticky; z-index: 50; top: 0; height: 100vh; display: flex; flex-direction: column; border-right: 1px solid var(--line); padding: 21px 16px; background: var(--surface); overflow-y: auto; }
.sidebar-head { display: flex; justify-content: space-between; align-items: center; padding: 0 8px 20px; }
.sidebar-close { display: none; border: 0; background: transparent; color: var(--ink); font-size: 25px; }
.workspace-chip { display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.workspace-chip > span:last-child { min-width: 0; display: grid; }
.workspace-chip small { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.workspace-chip strong { overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.avatar { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; background: #d8e8e5; color: #215b57; font-size: 10px; font-weight: 800; }
.avatar-company { background: #233f3d; color: #fff; }
.sidebar-nav { display: grid; gap: 3px; margin: 20px 0; }
.sidebar-nav a { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 11px; min-height: 43px; padding: 8px 11px; border-radius: 10px; color: var(--muted); font-size: 12px; font-weight: 600; }
.sidebar-nav a:hover { color: var(--ink); background: var(--surface-2); }
.sidebar-nav a.active { color: var(--accent-2); background: var(--accent-soft); font-weight: 700; }
.sidebar-nav .icon { width: 17px; }
.sidebar-nav b { min-width: 20px; padding: 2px 5px; border-radius: 12px; background: var(--accent); color: #fff; text-align: center; font-size: 8px; }
.sidebar-foot { display: grid; gap: 13px; margin-top: auto; }
.support-card { display: grid; padding: 14px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #1a4845, #10312f); }
.support-card > span { width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 8px; background: #ffffff14; }
.support-card .icon { width: 16px; }
.support-card strong { font-size: 11px; }
.support-card small { color: #9bb4af; font-size: 9px; }
.support-card a { margin-top: 8px; color: #8cd1ca; font-size: 9px; font-weight: 700; }
.user-mini { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 9px; padding: 9px; border-top: 1px solid var(--line); }
.user-mini > span:nth-child(2) { min-width: 0; display: grid; }
.user-mini strong, .user-mini small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.user-mini strong { font-size: 11px; }
.user-mini small { color: var(--muted); font-size: 8px; }
.logout-mark { color: var(--muted); }
.app-main { min-width: 0; }
.app-header { position: sticky; z-index: 40; top: 0; height: 72px; display: flex; justify-content: space-between; align-items: center; padding: 0 28px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(18px); }
.app-header-left { display: flex; align-items: center; gap: 12px; }
.app-header-left > div { display: grid; }
.app-header-left small { color: var(--muted); font-size: 9px; }
.app-header-left strong { font: 700 14px var(--display); }
.sidebar-toggle { display: none; }
.app-header-actions { display: flex; align-items: center; gap: 8px; }
.header-search { width: 270px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding-left: 11px; border-radius: 10px; background: var(--surface); }
.header-search .icon { width: 15px; color: var(--muted); }
.header-search input { border: 0; padding: 9px 8px 9px 0; background: transparent; box-shadow: none; font-size: 11px; }
.notification-button { position: relative; }
.notification-button span { position: absolute; right: -3px; top: -4px; min-width: 16px; height: 16px; display: grid; place-items: center; border: 2px solid var(--bg); border-radius: 50%; background: var(--red); color: #fff; font-size: 7px; }
.page-content { padding: 30px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 25px; }
.page-heading h1 { margin: 0 0 5px; font-size: 32px; }
.page-heading p { max-width: 700px; margin: 0; color: var(--muted); }
.page-actions { display: flex; gap: 8px; }
.alert { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; margin-bottom: 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.flash-wrap { padding-top: 100px; }
.alert-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; font-weight: 800; }
.alert-success .alert-icon { background: #dff0e8; color: #28725f; }
.alert-error .alert-icon { background: #f4dede; color: #a34040; }
.alert-warning .alert-icon { background: #f5e8cf; color: #9c671d; }
.alert button { border: 0; background: transparent; color: var(--muted); font-size: 20px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 3px 14px rgba(30, 50, 46, .025); }
.panel-head { display: flex; justify-content: space-between; align-items: center; min-height: 75px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 17px; }
.panel-head .eyebrow { margin-bottom: 3px; font-size: 8px; }
.panel-head > a { color: var(--accent); font-size: 10px; font-weight: 700; }
.kpi-grid { display: grid; gap: 14px; margin-bottom: 18px; }
.kpi-four { grid-template-columns: repeat(4, 1fr); }
.kpi-card { position: relative; min-height: 122px; display: grid; grid-template-columns: 43px 1fr auto; align-items: start; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.kpi-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; }
.kpi-icon .icon { width: 19px; }
.kpi-icon.teal { background: var(--accent-soft); color: var(--accent); }
.kpi-icon.blue { background: #e2eef3; color: var(--blue); }
.kpi-icon.amber { background: #f4e9d6; color: var(--amber); }
.kpi-icon.purple { background: #ece7f3; color: var(--purple); }
.kpi-icon.red { background: #f4e1e1; color: var(--red); }
.kpi-card > div { display: grid; }
.kpi-card small { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.kpi-card strong { margin: 2px 0; font: 800 23px var(--display); }
.kpi-card em { color: var(--muted); font-size: 9px; font-style: normal; }
.kpi-card > a { color: var(--muted); }
.credit-bar { height: 5px; overflow: hidden; border-radius: 10px; background: var(--surface-2); }
.credit-bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.credit-card-kpi { grid-template-columns: 43px 1fr; }
.credit-card-kpi .credit-bar { grid-column: 1 / -1; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(270px, .7fr); gap: 16px; margin-bottom: 16px; }
.order-list { padding: 0 20px; }
.order-row { display: grid; grid-template-columns: 1.25fr .8fr 1fr 1fr 20px; align-items: center; gap: 13px; min-height: 79px; border-bottom: 1px solid var(--line); }
.order-row:last-child { border: 0; }
.order-id, .order-total { display: grid; }
.order-id b, .order-total b { font-size: 12px; }
.order-id small, .order-total small, .order-progress small { color: var(--muted); font-size: 8px; }
.order-progress { display: grid; gap: 5px; }
.order-progress i { height: 4px; overflow: hidden; background: var(--surface-2); border-radius: 6px; }
.order-progress i b { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.row-arrow { color: var(--muted); font-size: 20px; }
.balance-panel { padding: 20px; }
.balance-panel .panel-head { min-height: 0; padding: 0 0 15px; border: 0; }
.big-balance { display: block; margin-top: 12px; font: 800 30px var(--display); }
.balance-panel > small { color: var(--muted); }
.balance-line { display: flex; justify-content: space-between; margin: 25px 0 7px; color: var(--muted); font-size: 10px; }
.credit-bar.large { height: 8px; margin-bottom: 20px; }
.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.data-table th { padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--muted); background: color-mix(in srgb, var(--surface-2) 50%, transparent); text-align: left; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 11px; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.data-table td > small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
.data-table td > a { color: var(--accent); }
.table-action { color: var(--accent); font-size: 10px; font-weight: 700; }
.badge { width: fit-content; display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 20px; font-size: 8px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.badge span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge-success { background: #dfeee7; color: #28715e; }
.badge-warning { background: #f3e8d4; color: #9b681f; }
.badge-info { background: #e0eaf1; color: #386f8a; }
.badge-danger { background: #f2dddd; color: #a33d3d; }
.badge-neutral { background: var(--surface-2); color: var(--muted); }
.positive { color: #27745f; }
.danger-card { color: var(--red); }
.tabs { display: flex; gap: 5px; }
.tabs button { border: 0; padding: 7px 10px; border-radius: 8px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 700; }
.tabs button.active { background: var(--accent-soft); color: var(--accent); }
.tabs span { padding: 1px 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 7px; }
.table-search { width: 220px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 9px; padding-left: 9px; }
.table-search .icon { width: 14px; color: var(--muted); }
.table-search input { border: 0; padding: 8px 8px 8px 0; box-shadow: none; background: transparent; font-size: 10px; }
.empty-state { display: grid; place-items: center; padding: 60px 20px 25px; text-align: center; }
.empty-state > .icon { width: 45px; height: 45px; padding: 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.empty-state h3 { margin: 12px 0 4px; }
.empty-state p { max-width: 420px; color: var(--muted); }
.empty-actions { display: flex; justify-content: center; gap: 8px; padding-bottom: 50px; }

.quick-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-bottom: 16px; }
.quick-grid .panel { padding: 20px; }
.quick-grid .panel-head { padding: 0 0 16px; min-height: 0; }
.panel-description { color: var(--muted); }
.code-input-label { color: var(--muted); }
.code-input { font-family: ui-monospace, monospace; line-height: 1.8; }
.sample-skus { display: flex; justify-content: space-between; margin: 7px 0 14px; color: var(--muted); font-size: 10px; }
.sample-skus button { border: 0; background: transparent; color: var(--accent); font-weight: 700; }
.drop-zone { position: relative; min-height: 190px; display: grid; place-items: center; align-content: center; gap: 5px; border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 13px; background: var(--accent-soft); text-align: center; }
.drop-zone .icon { width: 34px; color: var(--accent); }
.drop-zone strong { font-size: 12px; }
.drop-zone small { color: var(--muted); }
.drop-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.format-box { display: grid; gap: 5px; margin-top: 14px; padding: 12px; border-radius: 10px; background: var(--surface-2); }
.format-box a { color: var(--accent); font-size: 10px; font-weight: 700; }
.inline-add { display: flex; }
.inline-add input { width: 55px; border-radius: 8px 0 0 8px; padding: 7px; }
.inline-add button { width: 32px; border: 0; border-radius: 0 8px 8px 0; background: var(--accent); color: #fff; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); gap: 18px; align-items: start; }
.cart-head { display: flex; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.text-button { border: 0; background: transparent; color: var(--accent); font-weight: 700; }
.cart-items { padding: 0 20px; }
.cart-item { display: grid; grid-template-columns: 70px 1fr 80px 100px; gap: 14px; align-items: center; min-height: 120px; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border: 0; }
.cart-thumb { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 13px; font-size: 31px; }
.cart-item-info { display: grid; }
.cart-item-info > small { color: var(--accent); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.cart-item-info > span { color: var(--muted); font-size: 9px; }
.cart-item-info em { color: #367765; font-size: 8px; font-style: normal; }
.qty-control input { padding: 8px; }
.cart-price { display: grid; text-align: right; }
.cart-price small { color: var(--muted); font-size: 8px; }
.order-summary, .checkout-summary { position: sticky; top: 90px; padding: 23px; }
.order-summary h2, .checkout-summary h2 { font-size: 18px; }
.order-summary dl, .checkout-summary dl, .order-money-card dl, .invoice-totals { display: grid; gap: 9px; margin: 20px 0; }
.order-summary dl div, .checkout-summary dl div, .order-money-card dl div, .invoice-totals div { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.order-summary dd, .checkout-summary dd, .order-money-card dd, .invoice-totals dd { margin: 0; color: var(--ink); font-weight: 700; }
.total-row { margin-top: 7px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 15px !important; font-weight: 800; }
.free { color: #28725f; }
.installment-preview { display: flex; align-items: center; gap: 10px; margin: 18px 0; padding: 11px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.installment-preview span:last-child { display: grid; }
.installment-preview small { color: var(--muted); font-size: 9px; }
.continue-link { display: block; margin: 12px 0; color: var(--muted); text-align: center; font-size: 10px; }
.checkout-main { display: grid; gap: 16px; }
.checkout-section { padding: 22px; }
.checkout-step { display: flex; gap: 13px; margin-bottom: 20px; }
.checkout-step h2 { margin: 0; font-size: 18px; }
.checkout-step p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.radio-cards, .payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.radio-cards label, .payment-options label { cursor: pointer; }
.radio-cards input, .payment-options input { position: absolute; opacity: 0; }
.radio-cards label > span, .payment-options label > span { position: relative; height: 100%; display: grid; justify-content: start; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.radio-cards input:checked + span, .payment-options input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.radio-cards span > .icon { color: var(--accent); margin-bottom: 8px; }
.radio-cards strong, .payment-options strong { font-size: 11px; }
.radio-cards small, .payment-options small { color: var(--muted); font-size: 9px; }
.radio-cards span > b, .payment-options span > b { position: absolute; right: 10px; top: 10px; display: none; color: var(--accent); }
.radio-cards input:checked + span > b, .payment-options input:checked + span > b { display: block; }
.payment-options span > i { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 8px; background: var(--surface); color: var(--accent); }
.payment-options .icon { width: 16px; }
.mini-items { display: grid; gap: 9px; margin: 16px 0; }
.mini-items > div { display: grid; grid-template-columns: 37px 1fr auto; align-items: center; gap: 8px; }
.mini-items span:nth-child(2) { display: grid; }
.mini-items strong { font-size: 9px; }
.mini-items small { color: var(--muted); font-size: 8px; }
.mini-items b { font-size: 9px; }
.mini-thumb { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 9px; font-size: 17px; }
.terms-note { color: var(--muted); font-size: 8px; text-align: center; }

.finance-summary, .inventory-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.inventory-summary { grid-template-columns: repeat(4, 1fr); }
.finance-summary article, .inventory-summary article { display: grid; min-height: 105px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.finance-summary small, .inventory-summary small { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.finance-summary strong, .inventory-summary strong { font: 800 23px var(--display); }
.finance-summary span, .inventory-summary span { color: var(--muted); font-size: 9px; }
.order-detail-top { display: grid; grid-template-columns: 1.5fr .5fr; gap: 16px; margin-bottom: 16px; }
.order-status-card { position: relative; padding: 22px; }
.order-status-card > .badge { position: absolute; right: 22px; top: 22px; }
.order-status-card h2 { margin: 0; font-size: 25px; }
.order-status-card p { color: var(--muted); }
.progress-steps { display: grid; grid-template-columns: repeat(6,1fr); margin-top: 25px; }
.progress-steps span { position: relative; display: grid; justify-items: center; gap: 5px; color: var(--muted); font-size: 8px; }
.progress-steps span::before { content: ""; position: absolute; z-index: 0; top: 11px; left: 0; width: 100%; height: 2px; background: var(--line); }
.progress-steps span:first-child::before { left: 50%; width: 50%; }
.progress-steps span:last-child::before { width: 50%; }
.progress-steps span.done::before { background: var(--accent); }
.progress-steps i { position: relative; z-index: 1; width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--surface); font-style: normal; font-weight: 800; }
.progress-steps .done i { border-color: var(--accent); background: var(--accent); color: #fff; }
.order-money-card { padding: 22px; }
.order-money-card > strong { display: block; margin-top: 15px; font: 800 28px var(--display); }
.order-money-card > small { color: var(--muted); }
.order-detail-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 16px; }
.order-items { padding: 0 20px; }
.order-items > div { display: grid; grid-template-columns: 42px 1fr 120px 90px; align-items: center; gap: 10px; min-height: 70px; border-bottom: 1px solid var(--line); }
.order-items span:nth-child(2) { display: grid; }
.order-items strong { font-size: 11px; }
.order-items small, .order-items span:nth-child(3) { color: var(--muted); font-size: 9px; }
.order-items > div > b { text-align: right; }
.invoice-totals { width: 300px; margin-left: auto; padding: 20px; }
.invoice-totals div:last-child { padding-top: 8px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 800; }
.stacked-panels { display: grid; align-content: start; gap: 16px; }
.stacked-panels > .panel { padding: 20px; }
.stacked-panels .panel-head { min-height: 0; padding: 0 0 15px; }
.schedule-list { display: grid; }
.schedule-list > div { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.schedule-list > div .badge { grid-column: 2 / -1; }
.schedule-list span:nth-child(2) { display: grid; }
.schedule-list small { color: var(--muted); font-size: 8px; }
.schedule-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.schedule-dot.success { background: #32816c; }
.schedule-dot.warning { background: var(--amber); }
.tracking-chip { display: flex; align-items: center; gap: 10px; margin-top: 15px; padding: 12px; border-radius: 10px; background: var(--surface-2); }
.tracking-chip > span { display: grid; }
.tracking-chip small { color: var(--muted); font-size: 8px; }
.shipment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.shipment-card { padding: 20px; }
.shipment-head { display: grid; grid-template-columns: 43px 1fr auto; align-items: center; gap: 11px; }
.shipment-head > span:nth-child(2) { display: grid; }
.shipment-head small { color: var(--muted); font-size: 9px; }
.shipment-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0; }
.shipment-meta > div { display: grid; padding: 10px; border-radius: 9px; background: var(--surface-2); }
.shipment-meta small { color: var(--muted); font-size: 8px; }
.shipment-meta a { color: var(--accent); font-weight: 700; }
.tracking-timeline { display: grid; }
.tracking-timeline > div { display: grid; grid-template-columns: 12px 1fr; gap: 9px; }
.tracking-timeline > div > span { width: 9px; height: 9px; margin-top: 5px; border: 2px solid var(--accent); border-radius: 50%; }
.tracking-timeline p { display: grid; margin-bottom: 12px; }
.tracking-timeline small, .tracking-timeline time { color: var(--muted); font-size: 8px; }

.exception-list, .approval-list, .audit-mini, .flag-list { display: grid; padding: 0 18px; }
.exception-list > div { display: grid; grid-template-columns: 28px 1fr auto; gap: 9px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.exception-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #f3dfdf; color: var(--red); font-weight: 800; }
.exception-list span:nth-child(2) { display: grid; }
.exception-list strong { font-size: 10px; }
.exception-list small { color: var(--muted); font-size: 8px; }
.exception-list b { color: var(--red); font-size: 9px; }
.inline-status, .return-admin-form { display: flex; gap: 5px; }
.inline-status select, .return-admin-form select, .return-admin-form input { min-width: 100px; padding: 7px; }
.inline-status button, .return-admin-form button { border: 0; border-radius: 7px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 700; }
.row-warning { background: color-mix(in srgb, #f5e8cf 35%, transparent); }
.approval-list > div { display: grid; grid-template-columns: 38px 1fr auto auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.approval-list span:nth-child(2) { display: grid; }
.approval-list strong { font-size: 10px; }
.approval-list small, .approval-list time { color: var(--muted); font-size: 8px; }
.audit-mini > div { display: grid; grid-template-columns: 8px 1fr; gap: 8px; padding: 8px 0; }
.audit-mini > div > span { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--accent); }
.audit-mini p { margin: 0; font-size: 10px; }
.audit-mini small { display: block; color: var(--muted); font-size: 8px; }
.mini-report-grid, .report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bar-chart { display: grid; gap: 13px; padding: 20px; }
.bar-chart > div { display: grid; grid-template-columns: 100px 1fr 80px; align-items: center; gap: 10px; }
.bar-chart span { overflow: hidden; color: var(--muted); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.bar-chart i { height: 7px; overflow: hidden; border-radius: 10px; background: var(--surface-2); }
.bar-chart i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #59aaa3); }
.bar-chart strong { text-align: right; font-size: 9px; }
.donut-wrap { display: flex; align-items: center; justify-content: center; gap: 25px; padding: 20px; }
.donut { width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--paid) * 1%), var(--surface-2) 0); }
.donut::before { content: ""; grid-area: 1/1; width: 82px; height: 82px; border-radius: 50%; background: var(--surface); }
.donut > span { z-index: 1; grid-area: 1/1; display: grid; text-align: center; }
.donut small { color: var(--muted); font-size: 8px; }
.donut-wrap ul { list-style: none; padding: 0; }
.donut-wrap li { display: grid; grid-template-columns: 9px 1fr auto; gap: 7px; margin: 8px 0; color: var(--muted); font-size: 9px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.teal-dot { background: var(--accent); }.amber-dot { background: var(--amber); }
.approval-cards, .company-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.approval-card, .company-card { padding: 20px; }
.approval-card-head, .company-card-head { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 11px; }
.approval-card-head .avatar, .company-card-head .avatar { width: 46px; height: 46px; border-radius: 13px; }
.approval-card-head h2, .company-card-head h2 { margin: 0; font-size: 16px; }
.approval-card-head p, .company-card-head p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.approval-details { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 20px 0; }
.approval-details > div { display: grid; padding: 12px; border-radius: 10px; background: var(--surface-2); }
.approval-details > div:last-child { grid-column: 1 / -1; }
.approval-details small, .approval-details span { color: var(--muted); font-size: 9px; }
.approval-details p { margin: 3px 0 0; }
.approval-form { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.approval-form > div { display: flex; justify-content: flex-end; gap: 6px; }
.reviewed-note { padding: 11px; border-radius: 9px; background: var(--surface-2); color: var(--muted); font-size: 9px; }
.company-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin: 20px 0; }
.company-stats span { display: grid; padding: 9px; border-radius: 9px; background: var(--surface-2); }
.company-stats small { color: var(--muted); font-size: 7px; }
.company-stats strong { font-size: 11px; }
.company-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.company-form label:nth-of-type(3), .company-form button { grid-column: span 1; }
.role-chip, .provider-chip { padding: 5px 7px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--surface-2); font-size: 8px; font-weight: 700; }
.user-cell { display: flex; align-items: center; gap: 8px; }
.user-cell > span:last-child { display: grid; }
.money-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.money-input span { padding: 0 7px; color: var(--muted); font-size: 9px; }
.money-input input { width: 100px; border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 7px; box-shadow: none; }
.product-admin-table select { padding: 7px; }
.mini-check { display: flex; align-items: center; gap: 5px; margin-top: 4px; color: var(--muted); font-size: 8px; }
.mini-check input { width: auto; accent-color: var(--accent); }
.report-grid { grid-template-columns: repeat(2, 1fr); }
.report-hero { min-height: 230px; display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; padding: 35px; margin-bottom: 16px; color: #fff; background: linear-gradient(130deg,#123a37,#1f5e59); }
.report-hero strong { font: 800 40px var(--display); }
.report-hero p { color: #abc3be; }
.spark-bars { height: 150px; display: flex; align-items: end; gap: 7px; }
.spark-bars span { flex: 1; min-width: 8px; border-radius: 5px 5px 0 0; background: linear-gradient(#67b7af,#2d7771); }
.environment-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 20px; background: #deeee7; color: #27715f; font-size: 9px; font-weight: 800; }
.environment-badge i { width: 6px; height: 6px; border-radius: 50%; background: #2c8a72; box-shadow: 0 0 0 4px #2c8a721a; }
.health-banner { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; margin-bottom: 16px; padding: 18px 22px; border: 1px solid #abd2c3; border-radius: var(--radius); background: #e3f1eb; color: #1f5e4f; }
.health-check { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #fff; font-size: 20px; }
.health-banner strong { font-size: 14px; }.health-banner p { margin: 2px 0 0; font-size: 9px; }.health-banner a { font-size: 10px; font-weight: 700; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.service-card { padding: 18px; }
.service-card > div:first-child { display: flex; justify-content: space-between; }
.service-card h3 { margin: 15px 0 2px; }.service-card p { color: var(--muted); font-size: 9px; }
.service-card dl { display: grid; gap: 5px; margin: 15px 0 0; }.service-card dl div { display: flex; justify-content: space-between; font-size: 9px; }.service-card dt { color: var(--muted); }.service-card dd { margin: 0; font-weight: 700; }
.ops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flag-list form { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.flag-list form > span { display: grid; }
.flag-list small { color: var(--muted); font-size: 9px; }
.flag-list code { width: fit-content; margin-top: 4px; }
.toggle { width: 42px; height: 24px; padding: 3px; border: 0; border-radius: 20px; background: #c6cecb; }
.toggle i { display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle.on { background: var(--accent); }
.toggle.on i { transform: translateX(18px); }
.release-card { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 11px; margin: 20px; padding: 14px; border-radius: 12px; background: var(--surface-2); }
.release-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; }
.release-card div { display: grid; }.release-card small { color: var(--muted); font-size: 8px; }.release-card code { width: fit-content; margin-top: 3px; }
.security-note { margin: 20px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.error-page { min-height: 65vh; display: grid; place-items: center; align-content: center; text-align: center; }
.error-page > span { color: var(--accent); font: 800 80px var(--display); opacity: .22; }
.error-page h1 { margin: -20px 0 5px; font-size: 34px; }.error-page p { color: var(--muted); }

.modal { position: fixed; z-index: 200; inset: 0; display: none; place-items: center; padding: 20px; }
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: #071211b3; backdrop-filter: blur(4px); }
.modal-card { position: relative; z-index: 1; width: min(500px, 100%); max-height: 90vh; overflow-y: auto; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 30px 100px #0006; }
.modal-card h2 { margin-bottom: 5px; }.modal-card > p { color: var(--muted); }
.modal-card form { display: grid; gap: 13px; }
.modal-close { position: absolute; right: 17px; top: 14px; border: 0; background: transparent; color: var(--muted); font-size: 25px; }

@media (max-width: 1100px) {
    .hero-grid { gap: 20px; }
    .bike-display { width: 410px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .app-shell { grid-template-columns: 220px 1fr; }
    .kpi-four { grid-template-columns: repeat(2, 1fr); }
    .mini-report-grid { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: repeat(2,1fr); }
    .header-search { width: 220px; }
}

@media (max-width: 860px) {
    .desktop-only, .public-nav { display: none; }
    .mobile-menu { display: inline-grid; }
    .hero { min-height: auto; padding-top: 125px; }
    .hero-grid, .benefit-grid, .product-detail-grid, .auth-grid, .application-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 470px; }
    .category-grid { grid-template-columns: repeat(2,1fr); }
    .product-grid { grid-template-columns: repeat(2,1fr); }
    .benefit-grid { gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .auth-art { min-height: 480px; }
    .application-intro { position: static; }
    .back-link { margin-bottom: 30px; }
    .app-shell { display: block; }
    .sidebar { position: fixed; left: -270px; width: 250px; transition: left .2s; box-shadow: 20px 0 60px #0003; }
    .sidebar.open { left: 0; }
    .sidebar-close, .sidebar-toggle { display: block; }
    .page-content { padding: 22px; }
    .dashboard-grid, .order-detail-top, .order-detail-grid, .quick-grid, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .order-summary, .checkout-summary { position: static; }
    .shipment-grid { grid-template-columns: 1fr; }
    .approval-cards, .company-grid { grid-template-columns: 1fr; }
    .ops-grid, .report-grid { grid-template-columns: 1fr; }
    .header-search { display: none; }
}

@media (max-width: 600px) {
    .container { width: min(100% - 26px, 1180px); }
    .nav-row { height: 72px; }
    .nav-actions .button-primary { display: none; }
    .hero { padding-top: 108px; }
    .hero h1 { font-size: 43px; }
    .hero-copy > p { font-size: 15px; }
    .hero-actions { display: grid; }
    .hero-visual { min-height: 370px; margin-top: 15px; }
    .bike-display { width: 310px; height: 320px; }
    .bike-shape { height: 210px; transform: scale(.7); transform-origin: 18% 40%; }
    .bike-caption { padding-top: 9px; }
    .bike-caption strong { font-size: 11px; }
    .floating-stock { left: 0; top: 60px; }
    .floating-pay { right: 0; bottom: 28px; }
    .floating-card { padding: 9px; }
    .category-strip, .featured-section, .benefit-section { padding: 60px 0; }
    .section-heading { align-items: start; }
    .section-heading h2 { font-size: 28px; }
    .section-heading a { font-size: 10px; }
    .category-grid, .product-grid { grid-template-columns: 1fr; }
    .benefit-copy h2 { font-size: 38px; }
    .cta-card { align-items: start; flex-direction: column; padding: 38px 25px; }
    .cta-card h2 { font-size: 36px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom { flex-direction: column; gap: 7px; }
    .catalog-hero { padding-top: 110px; }
    .catalog-hero h1 { font-size: 42px; }
    .catalog-toolbar { align-items: start; gap: 12px; flex-direction: column; }
    .product-detail-section { padding-top: 90px; }
    .product-hero-image { height: 340px; }
    .product-hero-image > span { font-size: 110px; }
    .product-summary h1 { font-size: 34px; }
    .detail-panels, .detail-panels dl { grid-template-columns: 1fr; }
    .auth-art { min-height: 430px; padding: 30px 24px; }
    .auth-art h1 { font-size: 40px; }
    .auth-form-wrap { padding: 45px 22px; }
    .application-section { padding-top: 25px; }
    .application-grid { gap: 35px; }
    .application-card { padding: 25px 18px; }
    .form-grid, .radio-cards, .payment-options { grid-template-columns: 1fr; }
    .status-card { padding: 35px 20px; }
    .app-header { padding: 0 14px; }
    .app-header-left small { display: none; }
    .app-header-actions .avatar { display: none; }
    .page-content { padding: 16px 12px 30px; }
    .page-heading { align-items: start; flex-direction: column; }
    .page-heading h1 { font-size: 28px; }
    .page-actions { width: 100%; overflow-x: auto; }
    .kpi-four, .finance-summary, .inventory-summary, .service-grid { grid-template-columns: 1fr; }
    .kpi-card { min-height: 105px; }
    .panel-head { align-items: start; gap: 10px; flex-direction: column; }
    .table-search { width: 100%; }
    .order-row { grid-template-columns: 1fr 1fr; padding: 12px 0; }
    .order-progress, .row-arrow { display: none; }
    .order-total { text-align: right; }
    .cart-item { grid-template-columns: 60px 1fr 80px; padding: 13px 0; }
    .cart-thumb { width: 60px; height: 60px; }
    .cart-price { grid-column: 2 / -1; }
    .progress-steps b { display: none; }
    .shipment-meta { grid-template-columns: 1fr; }
    .approval-details { grid-template-columns: 1fr; }
    .approval-details > div:last-child { grid-column: auto; }
    .approval-form > div { align-items: stretch; flex-direction: column; }
    .company-stats { grid-template-columns: repeat(2,1fr); }
    .company-form { grid-template-columns: 1fr; }
    .report-hero { grid-template-columns: 1fr; }
    .spark-bars { height: 100px; }
    .health-banner { grid-template-columns: 40px 1fr; }
    .health-banner a { grid-column: 2; }
    .release-card { grid-template-columns: 48px 1fr; }
    .release-card .badge { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
    .sidebar, .app-header, .page-actions, .button, .modal { display: none !important; }
    .app-shell { display: block; }
    .page-content { padding: 0; }
    body, .panel { background: #fff; box-shadow: none; }
}

/* v2: national distribution visual system */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(45, 158, 150, .18), transparent 34%),
        linear-gradient(135deg, #071f23 0%, #0b3539 56%, #0a282c 100%);
}
.hero-grid { min-height: 660px; align-items: center; }
.hero-copy { position: relative; z-index: 3; max-width: 650px; }
.hero-photo {
    min-height: 550px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 34px;
    box-shadow: 0 34px 90px rgba(0,0,0,.38);
    overflow: hidden;
    isolation: isolate;
}
.hero-photo > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-photo-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,22,25,.38), transparent 55%), linear-gradient(0deg, rgba(4,18,20,.28), transparent 46%);
}
.hero-photo .floating-card { z-index: 2; backdrop-filter: blur(14px); }
.product-media {
    overflow: hidden;
    background: linear-gradient(145deg, #f1f4f1, #e6ebe8);
}
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.product-card:hover .product-media img { transform: scale(1.045); }
.product-media > b, .product-media > i { z-index: 2; }
.product-hero-image { overflow: hidden; min-height: 540px; }
.product-hero-image > img {
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
}
.product-hero-image > b {
    position: absolute;
    left: 24px;
    bottom: 22px;
    padding: 8px 12px;
    color: white;
    background: rgba(6,35,38,.84);
    border-radius: 10px;
    backdrop-filter: blur(8px);
}
.cart-thumb img, .mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.warehouse-confirm {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid #c8e2de;
    border-radius: 16px;
    background: linear-gradient(135deg, #f4fbfa, #edf7f5);
}
.warehouse-confirm > svg { width: 28px; color: var(--primary); }
.warehouse-confirm > span { display: grid; gap: 4px; flex: 1; }
.warehouse-confirm strong { font-size: 16px; }
.warehouse-confirm small { color: var(--muted); }
.approval-term-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: 100%;
}
.approval-term-grid .full-span { grid-column: 1 / -1; }
.user-access-form { display: flex; align-items: center; gap: 8px; min-width: 410px; }
.user-access-form select { min-width: 125px; padding: 9px 30px 9px 10px; }
.ops-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.integration-list, .job-list { display: grid; gap: 0; }
.integration-list > div, .job-list > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.integration-list > div:last-child, .job-list > div:last-child { border-bottom: 0; }
.integration-list > div > span:nth-child(2) { display: grid; flex: 1; gap: 3px; }
.integration-list small, .job-list span { color: var(--muted); font-size: 12px; }
.job-list strong { flex: 1; font-size: 14px; }
.security-score { display: flex; gap: 20px; align-items: center; padding: 18px; border-radius: 18px; background: #eef8f6; }
.security-score > strong { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; color: white; font-size: 27px; background: conic-gradient(var(--primary) 94%, #cfe4e1 0); border: 7px solid #d7efeb; }
.security-score > span { display: grid; gap: 5px; }
.security-score small { color: var(--muted); line-height: 1.45; }
.ops-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; font-size: 13px; color: #216c65; }
.ops-kv { display: grid; gap: 0; }
.ops-kv div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.ops-kv div:last-child { border-bottom: 0; }
.ops-kv dt { color: var(--muted); }
.ops-kv dd { font-weight: 700; text-align: right; }
.muted { color: var(--muted); font-size: 13px; }
body[data-theme="dark"] .warehouse-confirm,
[data-theme="dark"] .warehouse-confirm,
[data-theme="dark"] .security-score { background: #123638; border-color: #255356; }
@media (max-width: 900px) {
    .hero-grid { min-height: auto; }
    .hero-photo { min-height: 430px; }
    .ops-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .hero-photo { min-height: 360px; border-radius: 22px; }
    .approval-term-grid, .ops-checks { grid-template-columns: 1fr; }
    .approval-term-grid .full-span { grid-column: auto; }
    .user-access-form { min-width: 330px; flex-wrap: wrap; }
}
