:root {
    --ink: #172033;
    --muted: #6c7789;
    --faint: #99a3b3;
    --line: #e4e9f0;
    --page: #f6f8fb;
    --surface: #fff;
    --blue: #2167f3;
    --blue-deep: #174dcc;
    --blue-soft: #edf4ff;
    --green: #159b6d;
    --orange: #df8a22;
    --coral: #e16c52;
    --navy: #182131;
    --shadow: 0 18px 48px rgba(24, 53, 92, .08);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 30; height: 72px; border-bottom: 1px solid rgba(228, 233, 240, .9); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; color: #fff; background: var(--blue); font-weight: 900; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; line-height: 1.15; }
.brand small { margin-top: 3px; color: var(--faint); font-size: 10px; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a, .text-link { padding: 10px 12px; color: var(--muted); font-size: 13px; }
.site-nav a:hover, .site-nav a.active, .text-link:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.inline-form { display: inline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-blue { color: #fff; background: var(--blue); box-shadow: 0 8px 18px rgba(33, 103, 243, .2); }
.button-blue:hover { background: var(--blue-deep); }
.button-dark { color: #fff; background: #202a3a; }
.button-light, .button-outline { color: var(--ink); border-color: var(--line); background: #fff; }
.button-light:hover, .button-outline:hover { border-color: #a9c4fa; color: var(--blue); }
.button-green { color: #0b8c60; border-color: #b9f2d8; background: #effcf6; }
.button.compact { min-height: 34px; padding: 0 13px; font-size: 12px; box-shadow: none; }
.mobile-nav-toggle { display: none; border: 0; color: var(--ink); background: transparent; font-size: 21px; }
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; color: var(--faint); font-size: 12px; }
.footer-inner strong { margin-right: 10px; color: var(--muted); }
.footer-inner a { margin-left: 22px; }
.footer-inner a:hover { color: var(--blue); }
.kicker { margin: 0 0 15px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.back-link, .arrow-link { display: inline-block; color: var(--blue); font-size: 12px; font-weight: 800; }
.empty-row { padding: 28px; color: var(--faint); text-align: center; font-size: 12px; }

/* public home */
.platform-home { overflow: hidden; }
.platform-hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(480px, 1.14fr); align-items: center; gap: 72px; min-height: 0; padding: 26px 0 34px; }
.hero-copy, .ops-console, .template-showcase { opacity: 0; transform: translateY(16px); }
[data-reveal].is-visible { animation: rise .7s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.system-label { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--faint); font-size: 10px; letter-spacing: .04em; }
.system-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(21, 155, 109, .12); }
.system-label strong { color: var(--blue); letter-spacing: .13em; }
.hero-copy h1 { margin: 26px 0 0; overflow-wrap: anywhere; font-size: clamp(46px, 5vw, 68px); line-height: 1.04; letter-spacing: -.07em; }
.hero-copy h1 em { display: block; color: var(--blue); font-style: normal; }
.lead { max-width: 520px; margin: 28px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 31px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 46px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }
.ops-console { overflow: hidden; border: 1px solid #dbe2ec; border-radius: 13px; background: #fff; box-shadow: 0 25px 65px rgba(26, 53, 90, .15); transform: rotate(1deg); }
.console-top { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 17px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 10px; }
.window-dot { display: inline-block; width: 7px; height: 7px; margin-right: 3px; border-radius: 50%; background: #cfd7e2; }
.window-dot.red { background: #e9877d; } .window-dot.yellow { background: #dfb64e; } .window-dot.green { background: #62b789; }
.console-top small { margin-left: 8px; } .console-top b { margin-left: auto; color: var(--green); font-size: 10px; }
.console-main { display: grid; grid-template-columns: 142px minmax(0, 1fr); min-height: 405px; }
.console-main aside { display: grid; align-content: start; gap: 4px; padding: 23px 13px; border-right: 1px solid var(--line); background: #fbfcfe; }
.console-main aside strong { margin-bottom: 18px; font-size: 12px; }
.console-main aside a { padding: 9px 10px; border-radius: 5px; color: var(--muted); font-size: 11px; }
.console-main aside a.selected { color: var(--blue); background: #eaf2ff; font-weight: 800; }
.console-main aside a:last-child { color: var(--blue); font-weight: 800; }
.console-rule { height: 1px; margin: 13px 4px; background: var(--line); }
.console-body { min-width: 0; padding: 28px 26px; }
.console-heading { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.console-heading small { color: var(--faint); font-size: 10px; } .console-heading h2 { margin: 6px 0 0; font-size: 20px; letter-spacing: -.04em; }
.status-pill { padding: 5px 8px; border-radius: 4px; font-size: 10px; font-weight: 800; } .status-pill.success { color: var(--green); background: #effcf6; }
.console-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 27px; }
.console-kpis div { padding: 13px; border: 1px solid var(--line); border-top: 2px solid var(--blue); }
.console-kpis small, .console-kpis strong, .console-kpis em { display: block; }
.console-kpis small { color: var(--faint); font-size: 10px; } .console-kpis strong { margin-top: 10px; font-size: 17px; }
.console-kpis em { margin-top: 5px; color: var(--green); font-size: 10px; font-style: normal; } .console-kpis em.warning { color: var(--orange); }
.activity-chart { margin-top: 25px; padding: 15px; border: 1px solid var(--line); }
.chart-title { display: flex; justify-content: space-between; font-size: 10px; } .chart-title span { color: var(--green); }
.bars { display: flex; align-items: end; gap: 9px; height: 92px; margin-top: 16px; }
.bars i { flex: 1; height: var(--bar); border-radius: 2px 2px 0 0; background: #cbdcff; } .bars i.current { background: var(--blue); }
.chart-axis { display: flex; justify-content: space-between; margin-top: 8px; color: var(--faint); font-size: 9px; }
.console-order { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 13px; border: 1px solid var(--line); font-size: 10px; }
.console-order b, .console-order small { display: block; } .console-order small { margin-top: 4px; color: var(--faint); } .console-order em { color: var(--green); font-style: normal; }
.proof-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 116px; }
.proof-grid > div { display: flex; flex-direction: column; justify-content: center; padding-left: 25px; border-left: 1px solid var(--line); }
.proof-grid > div:first-child { border-left: 0; } .proof-grid strong { font-size: 24px; letter-spacing: -.04em; }
.proof-grid span { margin-top: 7px; color: var(--faint); font-size: 11px; } .proof-grid i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--green); }
.platform-flow { display: grid; grid-template-columns: .77fr 1.23fr; gap: 90px; padding: 100px 0 110px; }
.section-intro h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.07em; }
.section-intro h2 em { color: var(--blue); font-style: normal; } .section-intro > p:last-child { max-width: 35ch; margin: 24px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.flow-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.flow-steps article { min-height: 220px; padding: 25px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.flow-steps article:hover { position: relative; z-index: 1; transform: translateY(-5px); box-shadow: 0 16px 30px rgba(29, 55, 95, .1); }
.flow-steps small { color: var(--blue); font-family: monospace; font-size: 10px; } .flow-steps h3 { margin: 42px 0 10px; font-size: 18px; }
.flow-steps p { min-height: 60px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; } .flow-steps a { display: inline-block; margin-top: 17px; color: var(--blue); font-size: 11px; font-weight: 800; }
.final-band { padding: 64px 0; color: #fff; background: var(--navy); } .final-band-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.final-band .kicker { color: #9cbcff; } .final-band h2 { max-width: 10ch; margin: 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.05; letter-spacing: -.07em; }
.final-band p:not(.kicker) { max-width: 42ch; margin: 12px 0 24px; color: #aab5c6; font-size: 13px; line-height: 1.8; } .final-band .arrow-link { color: #fff; }
/* storefront */
.store-page { position: relative; min-height: calc(100vh - 72px); padding: 36px 0 80px; background: #f5f8fd; }
.store-backdrop { position: absolute; inset: 0 0 auto; height: 280px; border-bottom: 1px solid #e8eef8; background: #eef4ff; }
.store-shell { position: relative; }
.store-profile { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 28px 28px 24px; }
.store-avatar { display: grid; place-items: center; width: 76px; height: 76px; border: 6px solid #fff; border-radius: 22px; color: #fff; background: var(--blue); box-shadow: 0 8px 18px rgba(33, 103, 243, .18); font-size: 18px; font-weight: 900; }
.store-name-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; } .store-name-row h1 { margin: 0; font-size: 20px; letter-spacing: -.04em; }
.verified, .guarantee { padding: 4px 8px; border-radius: 4px; font-size: 10px; font-weight: 800; } .verified { color: #c38b00; background: #fff7db; } .guarantee { color: #0a9c61; background: #eafff3; }
.store-profile-main > p { margin: 10px 0 0; color: var(--muted); font-size: 12px; } .store-actions { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.more-button { padding: 0 8px; border: 0; color: var(--faint); background: transparent; letter-spacing: 2px; }
.store-stats { display: flex; gap: 28px; text-align: center; } .store-stats b, .store-stats span { display: block; } .store-stats b { font-size: 18px; } .store-stats span { margin-top: 5px; color: var(--faint); font-size: 10px; }
.store-links { display: flex; gap: 26px; padding: 0 28px 21px; color: var(--muted); font-size: 12px; } .store-links a:hover { color: var(--blue); }
.store-main-card { padding: 18px 25px 45px; border: 1px solid #e8edf5; border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.store-tabs { display: flex; align-items: center; gap: 26px; } .store-tabs button { position: relative; padding: 8px 2px 15px; border: 0; color: var(--muted); background: none; font-size: 14px; }
.store-tabs button.active { color: var(--blue); font-weight: 900; } .store-tabs button.active::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; border-radius: 3px; background: var(--blue); }
.store-tabs small { margin-left: 3px; color: var(--faint); font-size: 10px; }
.store-search { display: flex; align-items: center; width: 220px; height: 32px; margin-left: auto; background: #f3f5f8; }
.store-search input { width: 100%; height: 100%; padding: 0 12px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; } .store-search span { padding-right: 10px; color: var(--muted); font-size: 18px; }
.category-strip { display: flex; gap: 10px; overflow-x: auto; padding: 22px 0 16px; scrollbar-width: none; } .category-strip::-webkit-scrollbar { display: none; }
.category-pill { position: relative; flex: 0 0 150px; min-height: 66px; padding: 12px 14px; border: 1px solid #e8ebf0; border-radius: 9px; color: var(--muted); background: #fff; text-align: left; }
.category-pill.active { border-color: #75a6ff; color: #fff; background: var(--blue); box-shadow: 0 8px 15px rgba(33, 103, 243, .16); } .category-pill strong, .category-pill small { display: block; }
.category-pill strong { font-size: 12px; } .category-pill small { margin-top: 10px; color: var(--faint); font-size: 10px; } .category-pill.active small { color: #dbe8ff; }
.category-pill i { position: absolute; right: 10px; bottom: 9px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #8bb5ff; background: rgba(255, 255, 255, .25); font-style: normal; font-size: 16px; }
.store-divider { height: 1px; background: var(--line); } .product-heading { display: flex; align-items: center; justify-content: space-between; margin: 22px 5px 17px; color: var(--muted); font-size: 12px; }
.product-heading span { color: var(--faint); font-size: 10px; } .store-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.store-product { overflow: hidden; border: 1px solid #e7ecf4; border-radius: 8px; background: #fff; box-shadow: 0 5px 12px rgba(31, 65, 111, .05); }
.store-product:hover { border-color: #a9c7ff; box-shadow: 0 10px 22px rgba(31, 65, 111, .1); } .product-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1.18 / 1; overflow: hidden; padding: 16px; color: #fff; }
.product-art::after { content: ""; position: absolute; right: -30px; bottom: -38px; width: 150px; height: 150px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 50%; box-shadow: 0 0 0 16px rgba(255, 255, 255, .05), 0 0 0 32px rgba(255, 255, 255, .04); }
.invite-dark { background: #11152c; } .service-blue { color: #17457a; background: #eef5ff; } .invite-purple { background: #6d52c3; }
.product-art span, .product-art strong, .product-art b { position: relative; z-index: 1; } .product-art span { font-size: 10px; opacity: .75; } .product-art strong { max-width: 8ch; font-size: 24px; line-height: 1.1; letter-spacing: .05em; } .product-art b { font-size: 10px; font-weight: 500; opacity: .75; }
.product-copy { padding: 13px 14px 15px; } .product-copy h2 { min-height: 35px; margin: 0 0 13px; font-size: 13px; line-height: 1.5; } .product-copy > div { display: flex; align-items: baseline; gap: 8px; }
.product-copy > div strong { color: var(--blue); font-size: 16px; } .product-copy del { color: var(--faint); font-size: 10px; } .product-copy span { margin-left: auto; padding: 3px 5px; color: var(--blue); background: #edf4ff; font-size: 9px; white-space: nowrap; }
.load-more { padding-top: 27px; color: var(--faint); text-align: center; font-size: 12px; } .customer-float { position: fixed; right: 28px; bottom: 28px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; background: #6b57cf; box-shadow: 0 8px 28px rgba(107, 87, 207, .45); font-size: 27px; }

/* product, order and auth */
.product-page, .order-page, .auth-page { min-height: calc(100vh - 72px); padding: 64px 0 90px; background: #f6f8fb; }
.product-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(360px, .9fr); gap: 80px; align-items: center; }
.product-detail-art { min-height: 430px; padding: 35px; border-radius: 11px; box-shadow: 0 25px 55px rgba(25, 50, 89, .15); } .product-detail-art strong { max-width: 8ch; font-size: 50px; } .product-detail-art span, .product-detail-art b { font-size: 13px; }
.product-detail h1 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.07em; } .product-description { margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.detail-price { display: flex; align-items: baseline; gap: 12px; margin-top: 28px; } .detail-price strong { color: var(--blue); font-size: 29px; } .detail-price del { color: var(--faint); font-size: 13px; } .detail-price span { margin-left: auto; color: var(--green); font-size: 12px; }
.purchase-box { margin-top: 27px; padding: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; } label + label { margin-top: 15px; } input, textarea, select { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid #ced7e4; outline: 0; color: var(--ink); background: #fff; font-size: 13px; }
textarea { padding-top: 10px; resize: vertical; } input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33, 103, 243, .1); }
.purchase-box form > .button { width: 100%; margin-top: 19px; } .form-hint, .field-help { margin: 10px 0 0; color: var(--faint); font-size: 10px; line-height: 1.6; }
.security-notes { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 18px; color: var(--green); font-size: 11px; }
.order-shell { display: flex; justify-content: center; } .order-card { width: min(850px, 100%); padding: 76px 100px 66px; border: 1px solid #edf0f5; background: #fff; box-shadow: var(--shadow); text-align: center; }
.order-card h1 { margin: 0; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.2; letter-spacing: -.06em; } .order-card h1 em { color: var(--blue); font-style: normal; }
.order-lead { margin: 22px auto 0; color: var(--faint); font-size: 13px; line-height: 1.7; } .order-form { display: grid; grid-template-columns: 1.1fr 1fr 90px; gap: 8px; max-width: 650px; margin: 42px auto 0; } .order-form .button { min-height: 42px; }
.warm-tip { max-width: 650px; margin: 22px auto 0; padding: 17px; color: #6d5b39; background: #fffaf0; text-align: left; font-size: 11px; line-height: 1.8; } .warm-tip strong { color: var(--orange); } .warm-tip ol { margin: 9px 0; padding-left: 21px; }
.auth-page { display: grid; place-items: center; } .auth-card { width: min(460px, calc(100% - 48px)); padding: 44px; background: #fff; box-shadow: var(--shadow); } .auth-card.wide { width: min(560px, calc(100% - 48px)); }
.auth-card h1 { margin: 0; font-size: 38px; letter-spacing: -.06em; } .auth-card > p:not(.kicker) { margin: 12px 0 27px; color: var(--muted); font-size: 13px; line-height: 1.7; } .auth-card form > .button { width: 100%; margin-top: 22px; }
.auth-card label + label { margin-top: 16px; } .demo-credentials { display: grid; gap: 6px; margin-top: 25px; padding: 13px; color: var(--muted); background: #f7f9fc; font-size: 11px; } .demo-credentials strong { color: var(--ink); } .auth-card .back-link { margin-top: 26px; }
.alert { padding: 12px 14px; margin: 0 0 18px; font-size: 12px; line-height: 1.6; } .alert-error { color: #a33a37; border: 1px solid #f2c6c1; background: #fff0ee; } .alert-success { color: #0d7a55; border: 1px solid #bcead4; background: #eafaf3; }
.order-result { display: grid; gap: 8px; margin: 20px auto 0; padding: 14px; text-align: left; font-size: 12px; } .order-result strong { color: var(--ink); } .order-result span { color: var(--muted); }
.result-pending { border: 1px solid #cbdcff; background: #f5f8ff; } .result-success { border: 1px solid #bae8d1; background: #effcf6; } .result-error { border: 1px solid #f2c6c1; background: #fff0ee; } .order-result code, .card-output code { display: block; padding: 10px; color: #17366d; background: #eef4ff; font-family: ui-monospace, monospace; font-size: 12px; }
.server-result { max-width: 650px; border: 1px solid var(--line); background: #fbfcfe; } .server-result > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); } .server-result > div:last-child { border-bottom: 0; } .server-result span { color: var(--faint); }
.card-output { display: grid !important; gap: 8px !important; align-items: start !important; justify-content: stretch !important; } .status-green { color: var(--green); } .status-orange { color: var(--orange); }
.complaint-form { display: grid; gap: 9px; max-width: 650px; margin: 18px auto 0; padding: 15px; border: 1px solid #f0ddd1; background: #fffaf7; text-align: left; } .complaint-form textarea { min-height: 70px; } .complaint-form > .button { justify-self: start; } .complaint-form > span { font-size: 11px; }
/* workspaces */
.workspace-page { min-height: calc(100vh - 72px); background: #f3f1ee; }
.workspace-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 54px; padding: 42px 0 90px; }
.workspace-sidebar { position: sticky; top: 105px; align-self: start; min-height: 560px; padding: 20px 14px; border-radius: 10px; color: #fff; background: var(--navy); }
.workspace-brand { display: flex; align-items: center; gap: 10px; padding-bottom: 30px; } .workspace-brand strong, .workspace-brand small { display: block; }
.workspace-brand strong { font-size: 14px; } .workspace-brand small { margin-top: 4px; color: #aab5c6; font-size: 10px; } .workspace-brand .dark { background: #2a3851; }
.workspace-sidebar nav { display: grid; gap: 4px; } .workspace-sidebar nav a { display: flex; align-items: center; justify-content: space-between; min-height: 39px; padding: 0 12px; border-radius: 6px; color: #aab5c6; font-size: 12px; }
.workspace-sidebar nav a:hover, .workspace-sidebar nav a.active { color: #fff; background: #2b3a55; font-weight: 800; } .workspace-sidebar nav small { color: #718198; font-size: 9px; }
.workspace-store-link { display: inline-block; margin-top: 29px; color: #9cbcff; font-size: 11px; font-weight: 800; } .workspace-content { min-width: 0; }
.workspace-heading { display: flex; justify-content: space-between; gap: 22px; align-items: end; margin-bottom: 27px; } .workspace-heading h1 { margin: 0; font-size: 38px; letter-spacing: -.06em; }
.workspace-heading p:not(.kicker) { margin: 8px 0 0; color: var(--muted); font-size: 12px; } .heading-actions { display: flex; align-items: center; gap: 15px; } .live-status { color: var(--green); font-size: 11px; font-weight: 800; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } .metric-item { min-height: 118px; padding: 17px; border-top: 2px solid var(--blue); background: #fff; }
.metric-item.warning { border-top-color: var(--orange); } .metric-item span, .metric-item strong, .metric-item small { display: block; } .metric-item span { color: var(--faint); font-size: 11px; }
.metric-item strong { margin-top: 13px; font-size: 23px; letter-spacing: -.04em; } .metric-item small { margin-top: 7px; color: var(--faint); font-size: 10px; } .metric-item small.good { color: var(--green); } .metric-item small.orange { color: var(--orange); }
.workspace-grid, .admin-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 18px; margin-top: 28px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 13px; } .section-title h2 { margin: 0; font-size: 16px; letter-spacing: -.03em; } .section-title > span { color: var(--faint); font-size: 11px; }
.data-table { overflow: hidden; border: 1px solid var(--line); background: #fff; } .data-row { display: grid; grid-template-columns: minmax(170px, 1.5fr) .65fr .65fr .7fr; gap: 14px; align-items: center; min-height: 67px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 11px; }
.data-row:last-child { border-bottom: 0; } .data-row > div strong, .data-row > div small { display: block; } .data-row > div small { margin-top: 5px; color: var(--faint); font-size: 10px; }
.data-header { min-height: 38px; color: var(--faint); background: #fbfcfe; font-size: 10px; } .data-row em { font-style: normal; }
.stock-item { display: flex; align-items: center; gap: 11px; min-height: 66px; padding: 0 14px; border: 1px solid var(--line); border-bottom: 0; background: #fff; } .stock-item:last-child { border-bottom: 1px solid var(--line); }
.stock-item > div { min-width: 0; flex: 1; } .stock-item strong, .stock-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .stock-item strong { font-size: 11px; } .stock-item small { margin-top: 5px; color: var(--faint); font-size: 10px; }
.stock-item > b { font-size: 13px; } .stock-color { width: 9px; height: 35px; border-radius: 4px; background: var(--blue); } .stock-color.purple { background: #8065d3; } .stock-color.orange { background: var(--orange); }
.workspace-note, .system-boundary { display: flex; gap: 12px; margin-top: 28px; padding: 16px 17px; border: 1px solid #ded9d3; color: #6c665e; background: #fbfaf8; font-size: 11px; line-height: 1.7; }
.workspace-note strong, .system-boundary strong { color: var(--ink); } .merchant-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.tool-panel, .admin-content-editor { padding: 22px; border: 1px solid var(--line); background: #fff; } .tool-panel.wide-tool { grid-column: 1 / -1; } .tool-panel form { display: grid; gap: 14px; } .tool-panel form > .button { justify-self: start; }
.admin-side-note { display: grid; gap: 6px; margin-top: 52px; padding: 14px; border: 1px solid #34445f; color: #aab5c6; background: #202d43; font-size: 10px; } .admin-side-note strong { color: #73d2a8; font-size: 11px; }
.admin-side-note i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--green); }
.risk-item { display: flex; align-items: center; gap: 10px; min-height: 74px; padding: 0 12px; border: 1px solid var(--line); border-bottom: 0; background: #fff; } .risk-item:last-child { border-bottom: 1px solid var(--line); }
.risk-item > div { min-width: 0; flex: 1; } .risk-item strong, .risk-item small { display: block; } .risk-item strong { font-size: 11px; } .risk-item small { margin-top: 5px; overflow: hidden; color: var(--faint); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.risk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); } .risk-dot.orange { background: var(--orange); } .risk-dot.blue { background: var(--blue); } .risk-item form { margin-left: auto; }
.admin-content-editor { margin-top: 28px; } .admin-content-editor > .section-title { align-items: start; } .admin-content-editor .kicker { margin-bottom: 8px; } .admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; } .admin-form-grid .wide { grid-column: 1 / -1; }
.home-copy-editor { padding-top: 10px; } .home-copy-editor > .button { margin-top: 20px; } .system-boundary { align-items: flex-start; margin-top: 18px; color: #635c55; background: #fff; } .system-boundary span { color: var(--muted); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.store-page { background: var(--store-background, #f4f7fb); }
.store-banner { overflow: hidden; width: 100%; max-height: 280px; margin: 0 0 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.store-banner img { display: block; width: 100%; aspect-ratio: 4 / 1; object-fit: cover; }
.store-logo { display: block; object-fit: cover; background: #fff; }
.store-announcement { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--store-primary, #2563eb); color: var(--muted); background: rgba(255,255,255,.72); font-size: 12px; line-height: 1.7; }
.store-theme-clean .verified, .store-theme-clean .category-pill.active, .store-theme-clean .product-copy strong { color: var(--store-primary, #2563eb); }
.store-theme-contrast .store-main-card { border: 2px solid #111827; box-shadow: 10px 10px 0 #111827; }
.store-theme-contrast .category-pill.active { color: #fff; background: #111827; border-color: #111827; }
.store-theme-soft .store-main-card, .store-theme-soft .store-product { border-radius: 8px; box-shadow: 0 12px 35px rgba(42, 58, 82, .08); }
.store-theme-soft .category-pill.active { color: var(--store-primary, #2563eb); background: #fff; border-color: var(--store-primary, #2563eb); }
.store-custom-footer { padding: 28px 0 10px; color: var(--muted); text-align: center; font-size: 12px; line-height: 1.8; }
.manage-list, .support-list, .admin-operation-list { margin-top: 18px; }
.manage-row { display: grid; grid-template-columns: minmax(160px, 1.5fr) minmax(120px, 1fr) 110px auto; gap: 12px; align-items: end; padding: 14px; border: 1px solid var(--line); border-bottom: 0; background: #fff; }
.manage-row:last-child { border-bottom: 1px solid var(--line); }
.product-manage-row { grid-template-columns: minmax(180px, 1.5fr) minmax(120px, 1fr) 100px 100px 100px; }
.product-manage-row .wide { grid-column: 1 / -2; }
.manage-meta { align-self: center; color: var(--muted); font-size: 11px; white-space: nowrap; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px; padding: 14px; border: 1px solid var(--line); background: #fff; }
.filter-bar input { min-width: 220px; flex: 1; }
.filter-bar select { width: auto; min-width: 140px; }
.support-ticket, .operation-card, .buyer-ticket { margin-bottom: 14px; padding: 18px; border: 1px solid var(--line); background: #fff; }
.support-ticket > .section-title, .operation-card { display: flex; gap: 14px; align-items: flex-start; }
.support-ticket > .section-title > div, .operation-card > div { min-width: 0; flex: 1; }
.support-ticket h2, .operation-card strong, .buyer-ticket h2 { margin: 0; font-size: 13px; }
.support-ticket .section-title p, .operation-card small { display: block; margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.message-thread { display: grid; gap: 8px; margin: 15px 0; }
.message-item { max-width: 82%; padding: 10px 12px; border: 1px solid var(--line); background: #f7f8fa; }
.message-item.merchant, .message-item.admin { justify-self: end; background: #eef4ff; border-color: #d7e5ff; }
.message-item strong, .message-item small { display: block; font-size: 10px; }
.message-item p { margin: 5px 0; font-size: 12px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.message-item small { color: var(--faint); }
.reply-form, .operation-form, .operation-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.reply-form input, .operation-form input { min-width: 180px; flex: 1; }
.operation-card { flex-wrap: wrap; }
.operation-card > b { white-space: nowrap; }
.operation-form, .operation-actions { flex: 0 0 100%; }
.operation-actions form { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-create-panel { margin-bottom: 18px; }
.content-details summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; }
.content-details summary span { color: var(--muted); font-size: 11px; }
.content-details[open] summary { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.buyer-ticket { margin-top: 18px; }
.workspace-heading h1, .store-name-row h1 { letter-spacing: 0; }

/* authorized landing template direction */
.template-showcase { overflow: hidden; border: 1px solid #d8e1ee; border-radius: 14px; background: #fff; box-shadow: 0 26px 65px rgba(27, 58, 99, .14); }
.showcase-top { display: flex; align-items: center; gap: 7px; height: 45px; padding: 0 17px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 10px; }
.showcase-top small { margin-left: 8px; letter-spacing: .06em; } .showcase-top b { margin-left: auto; color: var(--green); font-size: 10px; }
.showcase-reels { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; height: 447px; overflow: hidden; padding: 17px 17px 0; background: #f6f9fd; }
.showcase-reels::before { position: absolute; inset: 0; pointer-events: none; content: ""; border: 1px solid rgba(255, 255, 255, .42); z-index: 2; }
.showcase-reel { min-width: 0; overflow: hidden; } .showcase-reel-track { display: grid; gap: 12px; animation: reel-drift var(--reel-duration) ease-in-out infinite alternate; }
@keyframes reel-drift { from { transform: translateY(var(--reel-offset)); } to { transform: translateY(calc(var(--reel-offset) - 115px)); } }
.showcase-card { position: relative; min-height: 188px; overflow: hidden; padding: 17px; border: 1px solid rgba(214, 225, 240, .96); border-radius: 10px; background: #fff; box-shadow: 0 9px 18px rgba(31, 65, 111, .07); }
.showcase-card::after { position: absolute; right: -32px; bottom: -50px; width: 126px; height: 126px; border: 1px solid rgba(33, 103, 243, .17); border-radius: 50%; box-shadow: 0 0 0 14px rgba(33, 103, 243, .04), 0 0 0 29px rgba(33, 103, 243, .025); content: ""; }
.showcase-card span, .showcase-card strong, .showcase-card p, .showcase-card i { position: relative; z-index: 1; display: block; }
.showcase-card span { color: var(--blue); font: 700 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.showcase-card strong { max-width: 7ch; margin-top: 31px; font-size: 20px; line-height: 1.2; letter-spacing: -.04em; }
.showcase-card p { max-width: 15ch; margin: 9px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.showcase-card i { width: 28px; height: 3px; margin-top: 22px; border-radius: 2px; background: var(--blue); }
.showcase-card-1 { background: #101a2d; border-color: #101a2d; color: #fff; } .showcase-card-1 p { color: #aebbd0; } .showcase-card-1 span { color: #8cb0ff; } .showcase-card-1 i { background: #8cb0ff; }
.showcase-card-2 { background: #edf4ff; } .showcase-card-2 i { background: #5f8df4; }
.showcase-card-3 { background: #f6f2ff; } .showcase-card-3 i { background: #7a63c6; }
.showcase-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 0 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.showcase-bottom span:last-child { overflow: hidden; color: var(--faint); text-overflow: ellipsis; white-space: nowrap; } .showcase-bottom i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(21, 155, 109, .12); }
.copy-group { margin-top: 22px; padding-top: 21px; border-top: 1px solid var(--line); } .copy-group:first-of-type { margin-top: 7px; padding-top: 0; border-top: 0; }
.copy-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 14px; } .copy-group-heading h3 { margin: 0; font-size: 14px; } .copy-group-heading p { margin: 0; color: var(--faint); font-size: 10px; }

@media (max-width: 900px) {
    .platform-hero, .platform-flow, .final-band-inner { grid-template-columns: 1fr; gap: 45px; }
    .platform-hero { padding-top: 55px; } .ops-console, .template-showcase { transform: none; }
    .platform-flow { padding: 72px 0; } .store-profile { grid-template-columns: 70px minmax(0, 1fr); } .store-stats { grid-column: 1 / -1; justify-content: flex-start; padding-left: 90px; }
    .workspace-shell { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; } .data-row { grid-template-columns: minmax(150px, 1.4fr) .7fr .7fr; } .data-row > span:last-child { display: none; }
}

@media (max-width: 680px) {
    html, body { overflow-x: hidden; } .shell { width: min(100% - 30px, 1180px); } .site-header { height: 64px; }
    .site-nav { display: none; position: absolute; top: 64px; right: 0; left: 0; padding: 10px 15px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 12px 20px rgba(20, 40, 70, .08); }
    .site-nav[data-open="true"] { display: grid; } .site-nav a { padding: 12px; } .mobile-nav-toggle { display: block; } .desktop-only { display: none; }
    .footer-inner { display: grid; gap: 11px; padding: 18px 0; } .footer-inner a { margin-left: 13px; } .hero-copy h1 { font-size: 50px; } .hero-meta { margin-top: 30px; }
    .console-main { grid-template-columns: 1fr; } .console-main aside { display: none; } .console-body { padding: 22px 16px; } .console-kpis { gap: 6px; } .console-kpis strong { font-size: 14px; } .showcase-reels { height: 360px; gap: 8px; padding: 12px 12px 0; } .showcase-card { min-height: 154px; padding: 13px; } .showcase-card strong { margin-top: 21px; font-size: 16px; } .showcase-card p { font-size: 9px; } .showcase-bottom { min-height: 52px; padding: 0 13px; }
    .proof-grid { grid-template-columns: 1fr 1fr; } .proof-grid > div { min-height: 82px; padding-left: 18px; border-bottom: 1px solid var(--line); } .proof-grid > div:nth-child(odd) { border-left: 0; } .proof-grid strong { font-size: 19px; }
    .flow-steps { grid-template-columns: 1fr; } .store-page { padding-top: 15px; } .store-profile { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; padding: 22px 0; }
    .store-avatar { width: 58px; height: 58px; border-width: 4px; border-radius: 16px; font-size: 14px; } .store-name-row h1 { font-size: 16px; } .store-stats { grid-column: 1 / -1; justify-content: space-around; padding-left: 0; }
    .store-links { gap: 14px; overflow-x: auto; padding: 0 0 18px; white-space: nowrap; } .store-main-card { padding: 15px 14px 35px; } .store-search { width: 145px; }
    .store-product-grid { grid-template-columns: 1fr 1fr; gap: 9px; } .product-art { padding: 12px; } .product-art strong { font-size: 18px; } .product-copy { padding: 10px; } .product-copy h2 { font-size: 11px; } .product-copy > div strong { font-size: 14px; }
    .customer-float { right: 18px; bottom: 18px; width: 49px; height: 49px; } .product-layout { grid-template-columns: 1fr; gap: 30px; } .product-page, .order-page, .auth-page { padding: 35px 0 65px; }
    .product-detail-art { min-height: 260px; } .product-detail-art strong { font-size: 38px; } .order-card { padding: 45px 18px; } .order-form { grid-template-columns: 1fr; margin-top: 27px; } .order-form .button { width: 100%; }
    .workspace-shell { display: block; padding: 25px 0 65px; } .workspace-sidebar { position: static; min-height: auto; margin-bottom: 30px; } .workspace-brand { padding-bottom: 18px; }
    .workspace-sidebar nav { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 5px; } .workspace-sidebar nav a { flex: 0 0 auto; padding: 0 11px; } .workspace-sidebar nav a small, .workspace-store-link, .admin-side-note { display: none; }
    .workspace-heading { display: block; } .heading-actions { margin-top: 15px; } .workspace-heading h1 { font-size: 32px; } .metric-grid { grid-template-columns: 1fr 1fr; } .metric-item { min-height: 103px; padding: 13px; } .metric-item strong { font-size: 19px; }
    .workspace-grid, .admin-grid, .merchant-tools { grid-template-columns: 1fr; } .tool-panel.wide-tool { grid-column: auto; } .data-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; padding: 0 10px; } .data-row > span:last-child { display: none; } .data-row > div { min-width: 0; } .data-row > div strong, .data-row > div small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .admin-form-grid { grid-template-columns: 1fr; } .admin-form-grid .wide { grid-column: auto; } .copy-group-heading { display: block; } .copy-group-heading p { margin-top: 6px; line-height: 1.6; } .risk-item form .button { padding: 0 8px; } .product-detail h1 { font-size: 38px; }
    .manage-row, .product-manage-row { grid-template-columns: 1fr 1fr; align-items: end; }
    .product-manage-row .wide { grid-column: 1 / -1; }
    .manage-row .button, .manage-meta { width: 100%; }
    .filter-bar { align-items: stretch; }
    .filter-bar input, .filter-bar select, .filter-bar .button { width: 100%; min-width: 0; }
    .risk-item { min-height: 0; padding: 12px; flex-wrap: wrap; }
    .risk-item > b { margin-left: auto; font-size: 10px; }
    .risk-item > input, .risk-item > select { min-width: 0; flex: 1; }
    .support-ticket, .operation-card, .buyer-ticket { padding: 14px; }
    .message-item { max-width: 94%; }
    .reply-form, .operation-form, .operation-actions, .operation-actions form { display: grid; grid-template-columns: 1fr; width: 100%; }
    .reply-form input, .operation-form input, .operation-form select { width: 100%; min-width: 0; }
}
/* article and account recovery */
.article-page { min-height: calc(100vh - 72px); padding: 64px 0 90px; background: #f6f8fb; }
.article-card { width: min(780px, calc(100% - 30px)); margin: 0 auto; padding: 48px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.article-card h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; }
.article-summary { color: var(--muted); line-height: 1.8; }
.article-body { margin-top: 30px; color: var(--ink); font-size: 15px; line-height: 2; white-space: pre-wrap; }
@media (max-width: 680px) { .article-page { padding: 30px 0 55px; } .article-card { padding: 28px 20px; } }

@media (max-width: 760px) {
    .page-home .home-template-header { height: 60px; box-sizing: border-box; box-shadow: 0 1px 0 rgba(19, 27, 44, .08); }
    .page-home .home-template-header .content { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .page-home .home-template-header .logo { width: auto !important; min-width: 0; max-width: 62%; padding-right: 0 !important; }
    .page-home .home-template-header .logo a { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .page-home .home-template-header .logo small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .page-home .home-template-header .actions { flex: none; }
    .page-home .home-template-header .merchant { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; box-sizing: border-box; padding: 0 13px; border-radius: 8px; color: #fff !important; background: #3370ff !important; font-size: 13px; line-height: 1; text-decoration: none; }
    .page-home .style_bg__first { padding-top: 0 !important; }
    .page-home .style_bg__first::before { top: 0 !important; height: 100% !important; }
    .page-home .first-section { width: 100% !important; }
    .page-home .home-first-left { padding-right: 20px; padding-left: 20px; }
    .page-home .button-list { display: flex; width: 100%; max-width: 320px; box-sizing: border-box; }
    .page-home .button-item { flex: 1 1 0; min-width: 0; padding-right: 6px; padding-left: 6px; text-align: center; white-space: nowrap; }
    .page-home .item-desc { font-size: 32px; line-height: 1.35; }
    .page-home .item-desc { height: 96px; }
    .page-home .item-sub-desc { max-width: 100%; }
    .page-home .join-button { width: 100%; max-width: 320px; }
    .page-home .fourth-item-content { display: grid !important; grid-template-columns: 1fr; gap: 22px; margin-top: 30px; }
    .page-home .fourth-item { width: 100%; margin: 0 !important; }
    .page-home .fourth-item-text,
    .page-home .fourth-item-text-sub { max-width: 100%; white-space: normal; text-align: left; }
}
