:root {
    --bg: #f6f1ea;
    --bg-soft: #fffaf3;
    --panel: rgba(255, 252, 247, 0.92);
    --panel-deep: #fff7ed;
    --text: #19222d;
    --muted: #6d7682;
    --line: rgba(25, 34, 45, 0.1);
    --brand: #0e6d68;
    --brand-deep: #094845;
    --accent: #ef8f36;
    --accent-deep: #d16817;
    --accent-soft: #fff1df;
    --danger: #d1464f;
    --success: #188a60;
    --shadow: 0 24px 60px rgba(21, 29, 36, 0.12);
    --radius-xl: 36px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

[v-cloak] {
    display: none;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    color: var(--text);
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(14, 109, 104, 0.16), transparent 24%),
        radial-gradient(circle at top right, rgba(239, 143, 54, 0.14), transparent 26%), linear-gradient(180deg, #faf6f0 0%, #f3eadf 100%);
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
    letter-spacing: inherit;
}

button {
    cursor: pointer;
}

.page-shell {
    width: min(1340px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 22px 0 calc(40px + env(safe-area-inset-bottom));
}

.hero-card,
.section-card,
.service-card,
.footer-card,
.admin-hero,
.admin-panel,
.modal-card,
.toast {
    box-shadow: var(--shadow);
}

.hero-card,
.admin-hero {
    padding: 24px;
    border-radius: 42px;
    color: #fff;
    background: linear-gradient(135deg, rgba(9, 72, 69, 0.98), rgba(14, 109, 104, 0.92)), linear-gradient(135deg, #083a43, #0e6d68);
}

.admin-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
}

.admin-hero-copy {
    flex: 1 1 580px;
    min-width: 0;
}

.admin-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.admin-meta-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 700;
}

.hero-topbar,
.hero-actions,
.hero-layout,
.hero-cta,
.hero-tags,
.section-head,
.card-actions,
.flow-grid,
.service-strip,
.footer-meta,
.tab-row,
.toolbar,
.dashboard-grid,
.inline-badges,
.pill-row,
.builder-layout,
.flow-switch,
.quantity-row,
.counter,
.payment-switch,
.editor-layout {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-topbar,
.section-head,
.quantity-row,
.order-topline {
    justify-content: space-between;
    align-items: center;
}

.brand-line {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.brand-badge,
.mini-badge,
.flow-badge,
.tag-chip,
.pill,
.status-pill,
.floating-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
}

.brand-badge {
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 700;
}

.brand-name {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.brand-desc,
.hero-summary {
    margin: 10px 0 0;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.hero-layout {
    align-items: stretch;
    margin-top: 18px;
}

.hero-copy {
    flex: 1.25 1 640px;
}

.hero-side {
    flex: 0.85 1 320px;
    display: grid;
    gap: 14px;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-kicker {
    color: rgba(255, 255, 255, 0.78);
}

.section-kicker {
    color: var(--brand);
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

.hero-card h1 {
    max-width: 13ch;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
}

.hero-tags,
.hero-cta {
    margin-top: 18px;
}

.trust-strip,
.onboarding-grid,
.bundle-grid,
.faq-list,
.notes-grid,
.footer-actions,
.contact-actions,
.timeline-strip,
.quick-status-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.tag-chip {
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
}

.hero-metric,
.section-card,
.service-card,
.footer-card,
.admin-panel,
.dashboard-card,
.summary-card,
.admin-item-card,
.order-admin-card,
.order-card,
.modal-card {
    backdrop-filter: blur(14px);
}

.hero-metric,
.dashboard-card,
.summary-card {
    padding: 20px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.13);
}

.hero-metric.accent,
.dashboard-card.accent {
    background: linear-gradient(135deg, rgba(239, 143, 54, 0.92), rgba(209, 104, 23, 0.88));
}

.hero-metric.warm,
.dashboard-card.warn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.1));
}

.hero-metric strong,
.dashboard-card strong,
.summary-card strong {
    display: block;
    margin: 10px 0 6px;
    font-size: 30px;
}

.summary-card.success,
.status-pill.success {
    background: linear-gradient(180deg, rgba(235, 251, 244, 0.98), rgba(248, 255, 251, 0.96));
    color: var(--success);
}

.summary-card.warning,
.summary-card.warm,
.status-pill.warning,
.status-pill.warm {
    background: linear-gradient(180deg, rgba(255, 243, 226, 0.98), rgba(255, 250, 243, 0.96));
    color: var(--accent-deep);
}

.summary-card.info,
.status-pill.info,
.status-pill.accent {
    background: linear-gradient(180deg, rgba(237, 244, 255, 0.98), rgba(249, 252, 255, 0.96));
    color: #2c65bd;
}

.summary-card.danger,
.status-pill.danger {
    background: linear-gradient(180deg, rgba(255, 239, 241, 0.98), rgba(255, 249, 250, 0.96));
    color: var(--danger);
}

.summary-card.muted,
.status-pill.muted {
    background: rgba(245, 247, 249, 0.96);
    color: var(--muted);
}

.trust-strip {
    margin-top: 18px;
}

.trust-card {
    flex: 1 1 180px;
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-card strong {
    display: block;
    margin-bottom: 6px;
}

.trust-card p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.section-card,
.admin-panel,
.service-card,
.footer-card {
    margin-top: 24px;
    padding: 22px;
    border-radius: var(--radius-xl);
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.75);
}

.intro-card {
    margin-top: 24px;
}

.onboarding-grid {
    margin-top: 18px;
}

.onboarding-item,
.bundle-card,
.info-panel,
.faq-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
}

.onboarding-item {
    flex: 1 1 260px;
    padding: 18px;
}

.onboarding-index {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--brand-deep);
    background: rgba(14, 109, 104, 0.1);
    font-size: 12px;
    font-weight: 800;
}

.onboarding-item p {
    color: var(--muted);
    line-height: 1.7;
}

.section-desc,
.body-copy,
.muted-copy,
.detail-card p,
.footer-card p,
.qr-empty {
    color: var(--muted);
    line-height: 1.75;
}

.compatibility-note {
    min-height: 44px;
    margin-top: 8px;
    font-size: 13px;
}

.plan-showcase-list,
.admin-card-grid,
.order-admin-list,
.order-list {
    display: grid;
    gap: 18px;
}

.plan-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.plan-quick-card,
.plan-focus-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
}

.plan-quick-card {
    padding: 10px;
    text-align: left;
}

.plan-quick-card.active {
    border-color: rgba(14, 109, 104, 0.34);
    box-shadow: inset 0 0 0 2px rgba(14, 109, 104, 0.12);
}

.plan-quick-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    padding: 8px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f3ec 100%);
}

.plan-quick-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.plan-quick-info {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}

.sales-copy {
    color: var(--accent-deep);
    font-size: 12px;
    line-height: 1.6;
    font-weight: 700;
}

.plan-focus-card {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 20px;
    margin-top: 18px;
    padding: 18px;
}

.bundle-grid,
.notes-grid,
.faq-list {
    margin-top: 18px;
}

.bundle-card {
    flex: 1 1 320px;
    padding: 16px;
}

.bundle-cover {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.bundle-media {
    aspect-ratio: 1 / 1;
    padding: 10px;
    border-radius: 22px;
    border: 1px solid rgba(25, 34, 45, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8f3ec 100%);
}

.bundle-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bundle-media.plan-side {
    background: linear-gradient(180deg, #fffdf8 0%, #f1f8f7 100%);
}

.bundle-content {
    margin-top: 14px;
}

.bundle-content h3 {
    margin-top: 10px;
}

.bundle-content p {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.75;
}

.plan-showcase,
.device-card,
.flow-card,
.admin-item-card,
.order-admin-card,
.order-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
}

.plan-showcase {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
}

.plan-showcase.active {
    border-color: rgba(14, 109, 104, 0.34);
    box-shadow: inset 0 0 0 1px rgba(14, 109, 104, 0.16);
}

.plan-visual,
.device-cover,
.admin-cover,
.editor-image,
.qr-preview,
.choice-media {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(14, 109, 104, 0.08), transparent 30%), linear-gradient(180deg, #ffffff 0%, #f8f3ec 100%);
    border: 1px solid rgba(25, 34, 45, 0.08);
}

.plan-visual img,
.device-cover img,
.admin-cover img,
.editor-image img,
.choice-media img,
.qr-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.plan-visual {
    aspect-ratio: 4 / 5;
    padding: 12px;
}

.plan-visual img {
    aspect-ratio: 4 / 5;
}

.device-cover,
.admin-cover {
    aspect-ratio: 1.2 / 1;
    padding: 12px;
}

.device-cover img,
.admin-cover img {
    aspect-ratio: 1.22 / 1;
}

.choice-media,
.editor-image {
    aspect-ratio: 1 / 1;
    padding: 10px;
}

.zoom-tip,
.floating-label {
    position: absolute;
    left: 14px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
}

.zoom-tip {
    bottom: 14px;
    color: #fff;
    background: rgba(0, 0, 0, 0.48);
}

.spotlight-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    background: linear-gradient(135deg, #ef8f36, #d16817);
    box-shadow: 0 10px 22px rgba(209, 104, 23, 0.24);
}

.spotlight-tag.device {
    background: linear-gradient(135deg, #0e6d68, #0a4f4b);
    box-shadow: 0 10px 22px rgba(14, 109, 104, 0.22);
}

.floating-label {
    top: 14px;
    color: var(--brand-deep);
    background: rgba(255, 255, 255, 0.86);
}

.sales-panel {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 243, 230, 0.96), rgba(255, 250, 244, 0.92));
    border: 1px solid rgba(239, 143, 54, 0.18);
}

.sales-panel p {
    margin-top: 8px;
    color: var(--text);
    line-height: 1.7;
}

.spotlight-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--accent-deep);
    background: rgba(239, 143, 54, 0.14);
    font-size: 12px;
    font-weight: 800;
}

.card-headline,
.price-box,
.detail-grid,
.builder-title,
.summary-row {
    display: flex;
    gap: 12px;
}

.card-headline,
.builder-title,
.summary-row,
.price-box {
    justify-content: space-between;
}

.card-headline {
    align-items: flex-start;
}

.mini-badge,
.pill {
    padding: 8px 12px;
    color: var(--brand-deep);
    background: rgba(14, 109, 104, 0.1);
    font-size: 12px;
    font-weight: 700;
}

.price-box {
    flex-direction: column;
    text-align: right;
}

.price-box strong {
    font-size: 28px;
    color: var(--accent-deep);
}

.price-box span,
.model-text,
.strike-text {
    color: var(--muted);
}

.strike-text {
    text-decoration: line-through;
    font-size: 13px;
}

.info-grid,
.device-grid,
.detail-grid,
.editor-grid,
.admin-form-grid {
    display: grid;
    gap: 14px;
}

.info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 16px 0 12px;
}

.info-grid div,
.detail-card,
.choice-card,
.builder-section,
.summary-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.7);
}

.info-grid div {
    padding: 12px 14px;
}

.info-grid span,
.detail-card span,
.summary-row span {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--muted);
}

.capability-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 14px;
}

.capability-card {
    padding: 16px;
}

.capability-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.capability-icon {
    min-width: 48px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(14, 109, 104, 0.16);
    background: linear-gradient(180deg, rgba(14, 109, 104, 0.12), rgba(255, 255, 255, 0.92));
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 auto;
    padding: 0 8px;
}

.capability-card.success {
    border-color: rgba(24, 138, 96, 0.18);
    background: linear-gradient(180deg, rgba(235, 251, 244, 0.98), rgba(248, 255, 251, 0.96));
}

.capability-card.warning {
    border-color: rgba(239, 143, 54, 0.18);
    background: linear-gradient(180deg, rgba(255, 243, 226, 0.98), rgba(255, 250, 243, 0.96));
}

.capability-card.danger {
    border-color: rgba(209, 70, 79, 0.18);
    background: linear-gradient(180deg, rgba(255, 239, 241, 0.98), rgba(255, 249, 250, 0.96));
}

.capability-card.muted {
    border-color: rgba(25, 34, 45, 0.08);
    background: rgba(245, 247, 249, 0.96);
}

.capability-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--text);
}

.feature-list,
.step-list {
    margin: 14px 0 0;
    padding-left: 18px;
    line-height: 1.9;
}

.feature-list.compact {
    margin-top: 12px;
}

.flow-grid {
    align-items: stretch;
}

.flow-card {
    flex: 1 1 420px;
    padding: 20px;
}

.flow-card.secondary {
    background: linear-gradient(180deg, rgba(255, 248, 240, 0.9), rgba(247, 240, 232, 0.92));
}

.flow-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flow-badge {
    padding: 7px 12px;
    background: rgba(14, 109, 104, 0.12);
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
}

.device-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.device-card,
.admin-item-card {
    padding: 16px;
}

.service-card {
    flex: 1 1 260px;
}

.info-panel {
    flex: 1 1 300px;
    padding: 18px;
}

.compact-head {
    margin-bottom: 4px;
}

.faq-card {
    flex: 1 1 280px;
    padding: 18px;
}

.faq-card strong {
    display: block;
    margin-bottom: 10px;
}

.faq-card p {
    color: var(--muted);
    line-height: 1.8;
}

.footer-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-meta span {
    color: var(--muted);
}

.footer-actions {
    align-items: center;
}

.tab-row {
    position: sticky;
    top: 12px;
    z-index: 18;
    padding: 10px;
    border-radius: 24px;
    border: 1px solid rgba(14, 109, 104, 0.1);
    background: rgba(255, 250, 243, 0.8);
    backdrop-filter: blur(16px);
}

.tab-btn,
.ghost-btn,
.solid-btn,
.outline-btn,
.danger-btn,
.icon-btn,
.counter-btn {
    border: none;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        opacity 0.18s ease;
}

.tab-btn,
.ghost-btn,
.outline-btn,
.counter-btn {
    padding: 12px 16px;
    border-radius: 999px;
}

.ghost-btn,
.tab-btn {
    background: rgba(255, 255, 255, 0.15);
    color: inherit;
}

.ghost-btn.dark {
    background: rgba(255, 255, 255, 0.12);
}

.tab-btn.active {
    color: #fff;
    background: var(--brand);
}

.solid-btn,
.danger-btn {
    padding: 12px 18px;
    border-radius: 999px;
    color: #fff;
}

.solid-btn,
.outline-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.solid-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.solid-btn.alt {
    background: rgba(255, 255, 255, 0.18);
}

.solid-btn.large {
    padding-inline: 24px;
}

.outline-btn {
    background: transparent;
    color: var(--brand-deep);
    border: 1px solid rgba(9, 72, 69, 0.18);
}

.outline-btn.light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.26);
}

.danger-btn {
    background: linear-gradient(135deg, #df5d68, #b73346);
}

.wide-btn {
    width: 100%;
}

.small {
    padding: 10px 14px;
    font-size: 14px;
}

.tab-btn:hover,
.ghost-btn:hover,
.solid-btn:hover,
.outline-btn:hover,
.danger-btn:hover,
.icon-btn:hover,
.counter-btn:hover {
    transform: translateY(-1px);
}

.toolbar .input {
    min-width: 180px;
    flex: 1 1 220px;
}

.toolbar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 4px;
}

.toolbar-meta span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(14, 109, 104, 0.12);
    background: rgba(255, 255, 255, 0.76);
    color: var(--muted);
    font-size: 13px;
}

.batch-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(14, 109, 104, 0.12);
    background: rgba(255, 255, 255, 0.78);
}

.dashboard-grid {
    align-items: stretch;
}

.dashboard-card,
.summary-card {
    flex: 1 1 190px;
}

.wide-card {
    flex-basis: 100%;
}

.admin-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.admin-item-body,
.device-info,
.plan-content {
    min-width: 0;
}

.order-admin-card,
.order-card {
    padding: 18px;
}

.order-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.order-overview-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.order-overview-item {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(25, 34, 45, 0.08);
    background: rgba(255, 255, 255, 0.84);
}

.order-overview-item span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--muted);
}

.order-overview-item strong {
    display: block;
    line-height: 1.45;
}

.order-overview-item.success {
    border-color: rgba(24, 138, 96, 0.22);
    background: linear-gradient(180deg, rgba(238, 252, 245, 0.98), rgba(255, 255, 255, 0.94));
}

.order-overview-item.warning,
.order-overview-item.accent {
    border-color: rgba(239, 143, 54, 0.22);
    background: linear-gradient(180deg, rgba(255, 246, 232, 0.98), rgba(255, 255, 255, 0.94));
}

.order-overview-item.danger {
    border-color: rgba(209, 70, 79, 0.2);
    background: linear-gradient(180deg, rgba(255, 241, 242, 0.98), rgba(255, 255, 255, 0.94));
}

.order-overview-item.info {
    border-color: rgba(14, 109, 104, 0.18);
    background: linear-gradient(180deg, rgba(238, 251, 248, 0.98), rgba(255, 255, 255, 0.94));
}

.print-confirm-strip {
    display: grid;
    gap: 10px;
}

.detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
}

.detail-card {
    padding: 14px;
}

.order-admin-card.urgent {
    border-color: rgba(239, 143, 54, 0.34);
    box-shadow: inset 0 0 0 1px rgba(239, 143, 54, 0.16);
}

.timeline-strip {
    margin-top: 14px;
}

.ems-stage-strip {
    margin-top: 0;
}

.timeline-step {
    position: relative;
    flex: 1 1 92px;
    padding: 10px 12px;
    border-radius: 16px;
    text-align: center;
    background: rgba(25, 34, 45, 0.05);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.timeline-step.done {
    background: rgba(14, 109, 104, 0.12);
    color: var(--brand-deep);
}

.timeline-step.active {
    background: rgba(239, 143, 54, 0.16);
    color: var(--accent-deep);
}

.timeline-step.muted {
    opacity: 0.78;
}

.reupload-proof {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.compact-actions {
    margin-top: 12px;
}

.copy-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ship-info-box {
    margin-top: 14px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    border: 1px solid rgba(239, 143, 54, 0.2);
}

.ems-panel {
    display: grid;
    gap: 14px;
    margin-top: 14px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(14, 109, 104, 0.08), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(14, 109, 104, 0.16);
}

.ems-detail-grid {
    margin-top: 0;
}

.ems-action-row {
    margin-top: 0;
}

.ems-error-strip {
    margin-top: 0;
}

.ems-execution-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.ems-execution-item {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(25, 34, 45, 0.08);
    background: rgba(255, 255, 255, 0.86);
}

.ems-execution-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.ems-execution-head span {
    font-size: 12px;
    color: var(--muted);
}

.ems-execution-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
}

.ems-execution-item.success {
    border-color: rgba(14, 109, 104, 0.22);
    background: linear-gradient(180deg, rgba(236, 252, 248, 0.98), rgba(255, 255, 255, 0.92));
}

.ems-execution-item.running,
.ems-execution-item.pending {
    border-color: rgba(239, 143, 54, 0.28);
    background: linear-gradient(180deg, rgba(255, 246, 232, 0.98), rgba(255, 255, 255, 0.92));
}

.ems-execution-item.error {
    border-color: rgba(209, 70, 79, 0.22);
    background: linear-gradient(180deg, rgba(255, 241, 242, 0.98), rgba(255, 255, 255, 0.92));
}

.ems-execution-item.skipped {
    border-style: dashed;
    background: rgba(248, 245, 239, 0.92);
}

.user-notice-banner {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(14, 109, 104, 0.18);
    background: linear-gradient(135deg, rgba(233, 249, 246, 0.98), rgba(255, 247, 236, 0.96));
}

.user-notice-banner span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--muted);
}

.user-notice-banner p {
    margin-top: 6px;
    color: var(--muted);
}

.user-reminder-center {
    margin-bottom: 16px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(25, 34, 45, 0.08);
    background: rgba(255, 255, 255, 0.76);
}

.user-reminder-center-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.user-reminder-item {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(25, 34, 45, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.user-reminder-item.info {
    border-color: rgba(14, 109, 104, 0.18);
    background: linear-gradient(180deg, rgba(238, 251, 248, 0.98), rgba(255, 255, 255, 0.94));
}

.user-reminder-item.success {
    border-color: rgba(24, 138, 96, 0.2);
    background: linear-gradient(180deg, rgba(238, 252, 245, 0.98), rgba(255, 255, 255, 0.94));
}

.user-reminder-item.warm,
.user-reminder-item.accent {
    border-color: rgba(239, 143, 54, 0.22);
    background: linear-gradient(180deg, rgba(255, 246, 232, 0.98), rgba(255, 255, 255, 0.94));
}

.user-reminder-item.unread,
.user-order-notice.unread {
    box-shadow: inset 0 0 0 1px rgba(209, 70, 79, 0.22);
}

.user-reminder-item-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.user-reminder-item-head span {
    font-size: 12px;
    color: var(--muted);
}

.user-reminder-item p {
    margin: 0 0 8px;
    line-height: 1.7;
    color: var(--text);
}

.user-order-notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.user-order-notice {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(25, 34, 45, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.user-order-notice.info {
    border-color: rgba(14, 109, 104, 0.18);
    background: linear-gradient(180deg, rgba(238, 251, 248, 0.98), rgba(255, 255, 255, 0.94));
}

.user-order-notice.success {
    border-color: rgba(24, 138, 96, 0.2);
    background: linear-gradient(180deg, rgba(238, 252, 245, 0.98), rgba(255, 255, 255, 0.94));
}

.user-order-notice.warm,
.user-order-notice.accent {
    border-color: rgba(239, 143, 54, 0.22);
    background: linear-gradient(180deg, rgba(255, 246, 232, 0.98), rgba(255, 255, 255, 0.94));
}

.user-order-notice-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.user-order-notice-head span {
    font-size: 12px;
    color: var(--muted);
}

.user-order-notice p {
    margin: 0 0 8px;
    line-height: 1.7;
    color: var(--muted);
}

.notice-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.notice-pill.unread {
    color: #fff;
    background: linear-gradient(135deg, #d1464f, #ef8f36);
}

.track-inline-list {
    display: grid;
    gap: 10px;
}

.track-inline-item {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(14, 109, 104, 0.12);
}

.track-inline-item p {
    margin: 8px 0 6px;
}

.track-inline-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.track-inline-head span {
    color: var(--muted);
    font-size: 12px;
}

.user-track-list {
    margin-top: 14px;
}

.editor-grid,
.admin-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-span {
    grid-column: 1 / -1;
}

.input,
textarea,
select {
    width: 100%;
    padding: 13px 15px;
    border-radius: 16px;
    border: 1px solid rgba(25, 34, 45, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    outline: none;
}

.input:focus,
textarea:focus,
select:focus {
    border-color: rgba(14, 109, 104, 0.44);
    box-shadow: 0 0 0 4px rgba(14, 109, 104, 0.08);
}

.password-field {
    position: relative;
    width: 100%;
}

.password-field .input {
    padding-right: 72px;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(14, 109, 104, 0.08);
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.password-toggle-btn:hover {
    background: rgba(14, 109, 104, 0.14);
}

.password-toggle-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 109, 104, 0.16);
}

.overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    padding: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(12, 18, 27, 0.6);
}

.modal-card {
    width: min(1180px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    border-radius: 32px;
    background: var(--bg-soft);
    overscroll-behavior: contain;
}

.modal-card.compact {
    width: min(420px, 100%);
}

.modal-head,
.modal-body {
    padding: 22px;
}

.modal-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid rgba(25, 34, 45, 0.08);
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(14, 109, 104, 0.08);
    color: var(--brand-deep);
    font-size: 24px;
}

.builder-main {
    flex: 1.15 1 640px;
}

.builder-side {
    flex: 0.85 1 320px;
    display: grid;
    gap: 14px;
    align-self: flex-start;
    position: sticky;
    top: 16px;
}

.builder-section,
.summary-card {
    padding: 16px;
}

.builder-mobile-summary {
    display: none;
}

.builder-submit-bar {
    display: none;
}

.builder-title {
    align-items: center;
    margin-bottom: 14px;
}

.builder-title span {
    color: var(--muted);
    font-size: 13px;
}

.builder-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.choice-card {
    padding: 12px;
    text-align: left;
    display: grid;
    align-content: start;
    gap: 6px;
}

.choice-card strong {
    display: block;
    margin: 6px 0 2px;
    line-height: 1.45;
}

.choice-card span {
    display: block;
    color: var(--muted);
    line-height: 1.6;
}

.choice-card.selected {
    border-color: rgba(14, 109, 104, 0.45);
    box-shadow: inset 0 0 0 2px rgba(14, 109, 104, 0.16);
}

.choice-card:disabled {
    opacity: 0.56;
    cursor: not-allowed;
}

.choice-media img {
    aspect-ratio: 1 / 1;
}

.counter-btn {
    width: 40px;
    height: 40px;
    background: rgba(14, 109, 104, 0.1);
    color: var(--brand-deep);
}

.summary-row {
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(25, 34, 45, 0.08);
}

.summary-row.total {
    border-bottom: none;
}

.warning-strip,
.address-card {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(239, 143, 54, 0.18);
    background: linear-gradient(180deg, rgba(255, 245, 233, 0.96), rgba(255, 250, 243, 0.94));
}

.danger-lite {
    border-color: rgba(209, 70, 79, 0.16);
    background: linear-gradient(180deg, rgba(255, 241, 242, 0.98), rgba(255, 250, 243, 0.94));
}

.warning-strip strong,
.address-card strong {
    display: block;
    margin-bottom: 6px;
}

.warning-strip p,
.address-card p,
.address-card span {
    color: var(--muted);
    line-height: 1.7;
}

.alert-stack,
.trend-list,
.metric-list {
    display: grid;
    gap: 12px;
}

.alert-item,
.report-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
}

.alert-item {
    padding: 14px 16px;
}

.alert-item.danger {
    border-color: rgba(209, 70, 79, 0.18);
    background: linear-gradient(180deg, rgba(255, 241, 242, 0.98), rgba(255, 249, 250, 0.96));
}

.alert-item.warning {
    border-color: rgba(239, 143, 54, 0.18);
    background: linear-gradient(180deg, rgba(255, 247, 238, 0.98), rgba(255, 251, 245, 0.96));
}

.alert-item.info {
    border-color: rgba(44, 101, 189, 0.18);
    background: linear-gradient(180deg, rgba(240, 246, 255, 0.98), rgba(249, 252, 255, 0.96));
}

.alert-item-head,
.report-head,
.metric-row,
.trend-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.alert-item-head span,
.report-head span,
.metric-row span,
.trend-row span {
    color: var(--muted);
    font-size: 13px;
}

.dashboard-report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.report-card {
    padding: 16px;
}

.report-head {
    margin-bottom: 14px;
}

.trend-bar {
    position: relative;
    flex: 1 1 auto;
    min-width: 90px;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(25, 34, 45, 0.08);
}

.trend-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(14, 109, 104, 0.9), rgba(81, 167, 163, 0.82));
}

.metric-row {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(25, 34, 45, 0.08);
}

.metric-row:last-child {
    border-bottom: none;
}

.choice-pill-group {
    display: grid;
    gap: 10px;
}

.field-label {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.pill-choice-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pill-choice {
    padding: 12px 14px;
    border: 1px solid rgba(25, 34, 45, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--muted);
}

.pill-choice.active {
    border-color: rgba(14, 109, 104, 0.3);
    background: rgba(14, 109, 104, 0.1);
    color: var(--brand-deep);
    box-shadow: inset 0 0 0 1px rgba(14, 109, 104, 0.08);
}

.address-card {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.user-logistics-panel {
    margin-top: 14px;
}

.compact-grid {
    margin-top: 14px;
}

.address-spotlight,
.account-panel,
.log-panel {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.74);
}

.address-spotlight {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-tag-row {
    margin-top: 12px;
}

.contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 2px 0 2px;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(14, 109, 104, 0.12);
    background: linear-gradient(180deg, rgba(241, 251, 249, 0.96), rgba(255, 250, 243, 0.94));
}

.contact-strip-copy {
    min-width: 0;
}

.contact-strip-copy span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
}

.contact-strip-copy strong {
    display: block;
    font-size: 18px;
    color: var(--brand-deep);
}

.contact-strip-copy p {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.6;
}

.contact-actions {
    align-items: center;
}

.quick-status-row {
    margin-top: 12px;
}

.template-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.template-row .input {
    flex: 1 1 100%;
}

.log-head,
.log-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.log-head {
    margin-bottom: 12px;
}

.log-head span,
.log-item-head span {
    color: var(--muted);
    font-size: 12px;
}

.log-list {
    display: grid;
    gap: 10px;
}

.log-item {
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(25, 34, 45, 0.08);
    background: rgba(248, 245, 239, 0.72);
}

.log-item p {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.6;
}

.tenant-card-grid {
    margin-top: 18px;
}

.tenant-admin-card {
    display: grid;
    gap: 14px;
}

.tenant-link-list {
    display: grid;
    gap: 12px;
}

.tenant-link-item {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(25, 34, 45, 0.08);
    background: rgba(248, 245, 239, 0.72);
}

.tenant-path {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(14, 109, 104, 0.12);
    background: rgba(255, 255, 255, 0.84);
    color: var(--brand-deep);
    font-family: 'Consolas', 'SFMono-Regular', 'Liberation Mono', monospace;
    font-size: 12px;
    line-height: 1.6;
    word-break: break-all;
    white-space: pre-wrap;
}

.compact-warning {
    margin-bottom: 0;
    padding: 14px 16px;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 18px 0;
}

.qr-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
}

.qr-preview {
    min-height: 220px;
    margin: 14px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-preview.large {
    min-height: 260px;
    margin-top: 12px;
}

.upload-field {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px dashed rgba(14, 109, 104, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 241, 0.9)), var(--bg-soft);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
    cursor: pointer;
}

.upload-field:hover {
    transform: translateY(-1px);
    border-color: rgba(14, 109, 104, 0.42);
    box-shadow: 0 14px 28px rgba(14, 109, 104, 0.08);
}

.upload-field:focus-within {
    border-color: rgba(14, 109, 104, 0.5);
    box-shadow: 0 0 0 4px rgba(14, 109, 104, 0.08);
}

.upload-field.has-file {
    border-style: solid;
    border-color: rgba(14, 109, 104, 0.34);
    background: linear-gradient(180deg, rgba(240, 251, 249, 0.98), rgba(255, 248, 241, 0.96)), var(--bg-soft);
}

.upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

.upload-meta {
    min-width: 0;
    display: grid;
    gap: 4px;
    flex: 1;
}

.upload-title {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
}

.upload-hint,
.upload-filename {
    line-height: 1.6;
}

.upload-hint {
    color: var(--muted);
    font-size: 13px;
}

.upload-filename {
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 700;
    word-break: break-all;
}

.upload-trigger {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 11px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(14, 109, 104, 0.12), rgba(239, 143, 54, 0.16));
    color: var(--brand-deep);
    font-size: 13px;
    font-weight: 800;
}

.proof-preview {
    margin-top: 2px;
    border-radius: 18px;
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    background: #fff;
    border: 1px solid rgba(25, 34, 45, 0.08);
}

.editor-preview {
    flex: 0.88 1 320px;
}

.editor-image img {
    aspect-ratio: 1 / 1;
}

.grow {
    flex: 1.12 1 520px;
}

.switch-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.status-pill {
    padding: 8px 12px;
    background: rgba(14, 109, 104, 0.08);
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 700;
}

.status-pill.pending_payment_review {
    background: rgba(239, 143, 54, 0.16);
    color: var(--accent-deep);
}

.status-pill.awaiting_device_delivery,
.status-pill.configuring,
.status-pill.active {
    background: rgba(14, 109, 104, 0.14);
}

.status-pill.ready_to_ship,
.status-pill.shipped {
    background: rgba(44, 101, 189, 0.14);
    color: #2c65bd;
}

.status-pill.completed {
    background: rgba(24, 138, 96, 0.16);
    color: var(--success);
}

.status-pill.cancelled,
.status-pill.inactive {
    background: rgba(209, 70, 79, 0.16);
    color: var(--danger);
}

.status-pill.suspended {
    background: rgba(209, 70, 79, 0.16);
    color: var(--danger);
}

.empty-box {
    text-align: center;
    padding: 42px 18px;
    color: var(--muted);
}

.compact-empty {
    padding: 18px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px dashed rgba(25, 34, 45, 0.12);
}

.mobile-action-bar {
    display: none;
}

.compatibility-editor {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(25, 34, 45, 0.08);
    background: rgba(255, 255, 255, 0.76);
}

.compact-title {
    margin-bottom: 10px;
}

.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.compatibility-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(14, 109, 104, 0.06);
}

.image-overlay {
    background: rgba(0, 0, 0, 0.84);
}

.preview-image {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    border-radius: 18px;
    object-fit: contain;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 60;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(25, 34, 45, 0.95);
    color: #fff;
    opacity: 0;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
}

@media (max-width: 1024px) {
    .hero-layout,
    .builder-layout,
    .editor-layout,
    .flow-grid,
    .service-strip,
    .dashboard-grid,
    .footer-card {
        flex-direction: column;
    }

    .plan-showcase {
        grid-template-columns: 1fr;
    }

    .plan-focus-card {
        grid-template-columns: 1fr;
    }

    .detail-grid,
    .admin-form-grid,
    .editor-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(100vw - 12px, 1340px);
        padding-top: 8px;
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }

    .hero-card,
    .section-card,
    .service-card,
    .footer-card,
    .admin-hero,
    .admin-panel,
    .modal-head,
    .modal-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .overlay {
        padding: 0;
        align-items: flex-end;
        background: rgba(12, 18, 27, 0.72);
    }

    .hero-card,
    .section-card,
    .service-card,
    .footer-card,
    .admin-hero,
    .admin-panel {
        margin-top: 12px;
        border-radius: 24px;
    }

    .hero-topbar,
    .section-head,
    .toolbar,
    .order-topline,
    .modal-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-actions,
    .card-actions {
        width: 100%;
    }

    .hero-actions .ghost-btn,
    .hero-actions .solid-btn,
    .hero-actions .outline-btn,
    .card-actions .solid-btn,
    .card-actions .outline-btn,
    .card-actions .danger-btn {
        flex: 1 1 calc(50% - 7px);
        justify-content: center;
        text-align: center;
    }

    .tab-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .tab-row::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .plan-showcase,
    .device-card,
    .flow-card,
    .admin-item-card,
    .order-admin-card,
    .order-card {
        padding: 14px;
        border-radius: 22px;
    }

    .trust-strip,
    .onboarding-grid,
    .bundle-grid,
    .notes-grid,
    .faq-list {
        gap: 10px;
    }

    .bundle-cover {
        gap: 8px;
    }

    .plan-visual,
    .device-cover,
    .admin-cover {
        padding: 8px;
    }

    .plan-quick-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        overflow: visible;
        padding-bottom: 0;
    }

    .plan-quick-card {
        min-width: 0;
    }

    .device-grid,
    .builder-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-card-grid,
    .qr-grid {
        grid-template-columns: 1fr;
    }

    .builder-layout {
        gap: 12px;
    }

    .builder-mobile-summary {
        display: block;
        margin-top: 12px;
        padding: 14px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.82);
        border: 1px solid rgba(25, 34, 45, 0.08);
    }

    .builder-mobile-summary span,
    .builder-mobile-summary p {
        color: var(--muted);
    }

    .builder-mobile-summary strong {
        display: block;
        margin: 6px 0 4px;
        color: var(--text);
        font-size: 16px;
    }

    .modal-card {
        width: 100%;
        max-height: 92vh;
        border-radius: 24px 24px 0 0;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-card.compact {
        width: 100%;
    }

    .modal-head,
    .modal-body {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .modal-body.builder-layout {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }

    .modal-head {
        position: sticky;
        top: 0;
        z-index: 2;
        background: rgba(255, 250, 243, 0.96);
        backdrop-filter: blur(10px);
    }

    .builder-main,
    .builder-side,
    .hero-copy,
    .hero-side,
    .editor-preview,
    .grow {
        flex-basis: auto;
    }

    .builder-side {
        position: static;
    }

    .builder-submit-bar {
        position: sticky;
        bottom: calc(env(safe-area-inset-bottom) + 8px);
        z-index: 6;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 14px;
        padding: 12px 14px;
        border-radius: 22px;
        border: 1px solid rgba(25, 34, 45, 0.08);
        background: rgba(255, 250, 243, 0.96);
        backdrop-filter: blur(14px);
        box-shadow: 0 20px 42px rgba(21, 29, 36, 0.14);
    }

    .builder-submit-copy {
        min-width: 0;
    }

    .builder-submit-copy span,
    .builder-submit-copy p {
        color: var(--muted);
    }

    .builder-submit-copy span {
        display: block;
        font-size: 0;
    }

    .builder-submit-copy span::before {
        content: '应付合计';
        font-size: 12px;
    }

    .builder-submit-copy strong {
        display: block;
        margin: 4px 0 2px;
        font-size: 20px;
        color: var(--accent-deep);
    }

    .builder-submit-copy p {
        display: none;
    }

    .builder-submit-bar .solid-btn {
        flex: 0 0 auto;
        min-width: 122px;
        font-size: 0;
    }

    .builder-submit-bar .solid-btn::after {
        content: '立即提交';
        font-size: 14px;
    }

    .hero-card h1 {
        max-width: none;
        font-size: clamp(28px, 8vw, 40px);
    }

    .brand-name {
        font-size: clamp(22px, 6.6vw, 30px);
    }

    .price-box {
        width: 100%;
        text-align: left;
    }

    .device-card {
        padding: 12px;
    }

    .device-card .card-headline {
        flex-direction: column;
        gap: 8px;
    }

    .device-card h3 {
        font-size: 16px;
        line-height: 1.35;
    }

    .device-card .body-copy,
    .device-card .feature-list {
        display: none;
    }

    .device-card .pill-row {
        gap: 6px;
    }

    .device-card .pill {
        padding: 6px 10px;
    }

    .contact-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .address-card {
        flex-direction: column;
    }

    .address-spotlight {
        flex-direction: column;
    }

    .pill-choice {
        flex: 1 1 calc(50% - 5px);
        text-align: center;
    }

    .timeline-step {
        flex-basis: calc(50% - 6px);
    }

    .footer-actions,
    .contact-actions,
    .quick-status-row,
    .batch-toolbar {
        width: 100%;
    }

    .compatibility-note {
        min-height: 54px;
        font-size: 12px;
        line-height: 1.6;
    }

    .builder-title,
    .summary-row {
        gap: 8px;
    }

    .qr-preview {
        min-height: 180px;
    }

    .qr-preview.large {
        min-height: 220px;
    }

    .upload-field {
        padding: 14px;
        border-radius: 18px;
    }

    .upload-trigger {
        min-width: 84px;
        padding: 10px 12px;
    }

    .proof-preview,
    .preview-image {
        border-radius: 14px;
    }

    .mobile-action-bar {
        position: sticky;
        bottom: calc(env(safe-area-inset-bottom) + 12px);
        z-index: 8;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 16px;
        padding: 10px;
        border-radius: 20px;
        background: rgba(255, 250, 243, 0.94);
        border: 1px solid rgba(25, 34, 45, 0.08);
        backdrop-filter: blur(12px);
        box-shadow: 0 18px 40px rgba(21, 29, 36, 0.14);
    }

    .copy-inline .outline-btn.small,
    .contact-actions .outline-btn.small,
    .contact-actions a.outline-btn.small,
    .quick-status-row .outline-btn.small,
    .batch-toolbar .outline-btn.small,
    .template-row .outline-btn.small {
        flex: 1 1 calc(50% - 5px);
        justify-content: center;
        text-align: center;
    }

    .order-topline strong {
        display: inline-block;
        max-width: 100%;
        word-break: break-all;
    }

    .mobile-action-bar .outline-btn,
    .mobile-action-bar .solid-btn {
        width: 100%;
        padding: 12px 10px;
        font-size: 13px;
    }

    .compatibility-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-actions .ghost-btn,
    .hero-actions .solid-btn,
    .hero-actions .outline-btn,
    .card-actions .solid-btn,
    .card-actions .outline-btn,
    .card-actions .danger-btn {
        flex-basis: 100%;
    }

    .brand-line {
        gap: 8px;
    }

    .brand-badge,
    .tag-chip,
    .pill,
    .mini-badge {
        font-size: 11px;
    }

    .device-grid,
    .builder-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .plan-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .plan-visual {
        aspect-ratio: 3 / 4;
    }

    .choice-card,
    .builder-section,
    .summary-card,
    .detail-card {
        padding: 12px;
    }

    .icon-btn {
        width: 38px;
        height: 38px;
    }

    .spotlight-tag {
        top: 10px;
        right: 10px;
        padding: 7px 10px;
        font-size: 11px;
    }

    .upload-field {
        align-items: flex-start;
        flex-direction: column;
    }

    .upload-trigger {
        width: 100%;
    }

    .builder-submit-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .builder-submit-bar .solid-btn {
        width: 100%;
    }

    .pill-choice {
        flex-basis: 100%;
    }

    .footer-actions .solid-btn,
    .footer-actions .outline-btn,
    .contact-actions .outline-btn,
    .quick-status-row .outline-btn,
    .quick-status-row .solid-btn,
    .template-row .outline-btn {
        flex: 1 1 calc(50% - 7px);
        justify-content: center;
        text-align: center;
    }

    .choice-card span,
    .model-text,
    .compatibility-note {
        font-size: 11px;
    }

    .sales-copy {
        font-size: 11px;
    }
}
