:root {
    --eda-bg: #f7f8fa;
    --eda-card: #ffffff;
    --eda-ink: #1f2933;
    --eda-muted: #7b8794;
    --eda-line: #e9edf1;
    --eda-accent: #e85d3f;
    --eda-accent-deep: #bd3c25;
    --eda-mint: #fef7f4;
    --eda-warm: #fffbf8;
    --eda-danger: #c53f46;
    --eda-shadow: 0 12px 38px rgba(31, 41, 51, .045);
}

* { box-sizing: border-box; }
html { background: var(--eda-bg); }
body.eda-page {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    color: var(--eda-ink);
    background:
        radial-gradient(circle at 100% 0, rgba(232, 93, 63, .10), transparent 30rem),
        linear-gradient(180deg, #fefcfb 0, var(--eda-bg) 24rem);
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }

.eda-app { width: 100%; min-height: 100vh; }
.eda-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 60px;
    padding: max(8px, env(safe-area-inset-top)) 14px 8px;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(233, 237, 241, .85);
    backdrop-filter: blur(16px);
}
.eda-nav__back, .eda-nav__help, .eda-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: none;
    height: 36px;
    padding: 0 10px;
    color: var(--eda-ink);
    background: #fff;
    border: 1px solid var(--eda-line);
    border-radius: 10px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(31, 41, 51, .04);
}
.eda-nav__help { color: var(--eda-accent-deep); }
.eda-nav__back i, .eda-nav__help i { font-size: 11px; }
.eda-nav__back span, .eda-nav__help span { display: inline; }
.eda-nav__title { flex: 1; min-width: 0; text-align: center; }
.eda-nav__title strong { display: block; font-size: 15px; letter-spacing: .02em; }
.eda-nav__title span { display: block; margin-top: 1px; color: var(--eda-muted); font-size: 9px; letter-spacing: .06em; }

.eda-main { width: min(100%, 840px); margin: 0 auto; padding: 16px 14px calc(42px + env(safe-area-inset-bottom)); }
.eda-hero {
    position: relative;
    overflow: hidden;
    padding: 18px 18px 15px;
    color: var(--eda-ink);
    background:
        radial-gradient(circle at 96% 0, rgba(232, 93, 63, .1), transparent 46%),
        linear-gradient(160deg, #fff 0%, #fdf6f3 100%);
    border: 1px solid rgba(245, 194, 179, .55);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(31, 41, 51, .05);
}
.eda-hero::after {
    content: "";
    position: absolute;
    right: -24px;
    top: -40px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(232, 93, 63, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(232, 93, 63, .04), 0 0 0 44px rgba(232, 93, 63, .02);
}
.eda-hero__copy { position: relative; z-index: 1; }
.eda-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    color: var(--eda-accent-deep);
    background: rgba(232, 93, 63, .09);
    border: 1px solid rgba(232, 93, 63, .18);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
}
.eda-hero h1 { margin: 10px 0 6px; font-size: clamp(23px, 7vw, 33px); line-height: 1.28; letter-spacing: -.025em; color: var(--eda-ink); }
.eda-hero__copy > p { max-width: 540px; margin: 0; color: var(--eda-muted); font-size: 12px; line-height: 1.7; }
.eda-hero__flow {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    padding: 8px 10px;
    background: rgba(31, 41, 51, .03);
    border: 1px solid rgba(31, 41, 51, .06);
    border-radius: 12px;
}
.eda-hero__flow span { display: flex; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; font-size: 9px; color: var(--eda-muted); }
.eda-hero__flow b { color: var(--eda-accent-deep); font-size: 8px; }
.eda-hero__flow i { flex: 1; min-width: 5px; height: 1px; background: linear-gradient(90deg, rgba(31,41,51,.08), rgba(232,93,63,.45)); }

.eda-trustbar {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 10px 2px 14px;
    padding: 10px 12px;
    color: #6b7280;
    background: #fdf7f4;
    border: 1px solid rgba(232, 93, 63, .12);
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.6;
}
.eda-trustbar i { margin-top: 3px; color: var(--eda-accent); }
.eda-trustbar strong { color: var(--eda-accent-deep); }

.eda-tabs {
    position: sticky;
    top: 60px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 13px;
    padding: 6px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(233, 237, 241, .9);
    border-radius: 14px;
    backdrop-filter: blur(12px);
}
.eda-tab { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 8px; color: var(--eda-muted); background: transparent; border: 0; border-radius: 11px; font-size: 12px; font-weight: 700; }
.eda-tab i { font-size: 11px; opacity: .9; }
.eda-tab span { white-space: nowrap; }
.eda-tab.is-active { color: var(--eda-accent-deep); background: #fff; box-shadow: 0 4px 14px rgba(31,41,51,.05); }
.eda-panel { display: none; }
.eda-panel.is-active { display: block; }
.eda-card--selection-intro { color: #fff; background: linear-gradient(145deg, #21262d, #334155); border: 0; box-shadow: 0 14px 34px rgba(31, 41, 51, .10); }
.eda-card--selection-intro .eda-kicker { margin-bottom: 8px; }
.eda-card--selection-intro h2 { margin: 14px 0 7px; font-size: clamp(21px, 5vw, 30px); line-height: 1.3; }
.eda-card--selection-intro p { margin: 0; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.7; }
.eda-trustbar--qa { margin-top: -6px; margin-bottom: 14px; }
.eda-qa-panel {
    margin-bottom: 12px;
    padding: 12px 13px 11px;
    background: linear-gradient(180deg, rgba(232, 93, 63, .07), rgba(232, 93, 63, .025));
    border: 1px solid rgba(232, 93, 63, .13);
    border-radius: 14px;
}
.eda-qa-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.eda-qa-panel__head strong { color: #bd3c25; font-size: 12px; }
.eda-qa-panel__head span { color: var(--eda-muted); font-size: 10px; }
.eda-qa-chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.eda-qa-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    color: #bd3c25;
    background: rgba(255,255,255,.80);
    border: 1px solid rgba(232, 93, 63, .16);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}
.eda-qa-list { margin: 0; padding-left: 18px; color: #4b5563; font-size: 11px; line-height: 1.6; }
.eda-qa-list li + li { margin-top: 5px; }
.eda-qa-summary { margin-top: 10px; color: var(--eda-muted); font-size: 11px; line-height: 1.55; }
.eda-qa-summary strong { color: #bd3c25; }
.eda-qa-summary strong.is-ok { color: #0f766e; }
.eda-qa-summary strong.is-warn { color: #a16207; }
.eda-qa-summary strong.is-danger { color: #b91c1c; }
.eda-qa-summary.is-danger {
    padding: 9px 11px;
    color: #7f1d1d;
    background: rgba(220, 38, 38, .08);
    border: 1px solid rgba(185, 28, 28, .25);
    border-radius: 10px;
}
.eda-qa-summary.is-warn {
    padding: 9px 11px;
    color: #713f12;
    background: rgba(245, 158, 11, .08);
    border: 1px solid rgba(161, 98, 7, .22);
    border-radius: 10px;
}
.eda-qa-panel.is-flash { animation: eda-qa-flash .9s ease; }
@keyframes eda-qa-flash {
    0%, 100% { box-shadow: 0 0 0 0 rgba(185, 28, 28, 0); }
    30% { box-shadow: 0 0 0 4px rgba(185, 28, 28, .25); }
}
.eda-qa-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; padding-top: 10px; border-top: 1px dashed rgba(232, 93, 63, .18); }
.eda-qa-switch { display: flex; align-items: center; gap: 7px; cursor: pointer; font-size: 11px; font-weight: 700; color: #4b5563; user-select: none; }
.eda-qa-switch input { display: none; }
.eda-qa-switch__track { position: relative; width: 32px; height: 18px; flex: none; border-radius: 999px; background: #cbd5d1; transition: background .18s; }
.eda-qa-switch__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .25); transition: left .18s; }
.eda-qa-switch input:checked + .eda-qa-switch__track { background: #e85d3f; }
.eda-qa-switch input:checked + .eda-qa-switch__track::after { left: 16px; }
.eda-qa-switch i { font-style: normal; font-weight: 500; font-size: 10px; color: var(--eda-muted); }
.eda-qa-report-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 1px solid rgba(232, 93, 63, .22); background: rgba(255,255,255,.7); color: #bd3c25; border-radius: 10px; font-size: 11px; font-weight: 700; cursor: pointer; }
.eda-qa-report-btn span { min-width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #e85d3f; color: #fff; font-size: 9px; padding: 0 4px; }
.eda-qa-report { margin-top: 10px; }
.eda-qa-report__empty { padding: 14px; color: var(--eda-muted); font-size: 11px; text-align: center; background: rgba(255,255,255,.5); border-radius: 10px; }
.eda-qa-report__list { display: grid; gap: 6px; max-height: 260px; overflow-y: auto; }
.eda-qa-report__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 8px 10px; background: rgba(255,255,255,.65); border: 1px solid rgba(15, 23, 42, .06); border-radius: 10px; }
.eda-qa-report__badge { padding: 3px 7px; border-radius: 999px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.eda-qa-report__badge.is-passed { color: #0f766e; background: #dcf7ec; }
.eda-qa-report__badge.is-warned { color: #a16207; background: #fdf0d3; }
.eda-qa-report__badge.is-blocked { color: #b91c1c; background: #ffe2e2; }
.eda-qa-report__main { min-width: 0; display: grid; gap: 2px; }
.eda-qa-report__main strong { font-size: 11px; color: var(--eda-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eda-qa-report__main span { font-size: 10px; color: var(--eda-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eda-qa-report__item time { font-size: 9px; color: var(--eda-muted); white-space: nowrap; }
.eda-qa-panel__head { margin-bottom: 0; }
.eda-qa-panel__meta { display: flex; align-items: center; gap: 8px; color: var(--eda-muted); font-size: 10px; font-weight: 600; }
.eda-qa-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    color: #bd3c25;
    background: rgba(232, 93, 63, .1);
    border: 1px solid rgba(232, 93, 63, .2);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s, transform .15s;
}
.eda-qa-info:hover { background: rgba(232, 93, 63, .18); }
.eda-qa-pop { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(232, 93, 63, .18); }
.eda-kicker--light { color: #c4f5df; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.16); }
.eda-selection-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.eda-selection-fields label { display: block; color: var(--eda-ink); font-size: 12px; font-weight: 750; }
.eda-selection-fields input, .eda-selection-fields select { display: block; width: 100%; margin-top: 7px; padding: 12px 13px; color: var(--eda-ink); background: #f8faf9; border: 1px solid #dfe7e3; border-radius: 13px; outline: none; font-size: 13px; }
.eda-selection-keyword { grid-column: 1 / -1; }
.eda-selection-result { display: grid; gap: 13px; }
.eda-selection-report { padding: 18px; background: #fff; border: 1px solid var(--eda-line); border-radius: 21px; box-shadow: var(--eda-shadow); }
.eda-selection-report h2 { margin: 0; font-size: 18px; }
.eda-selection-report > p { margin: 7px 0 0; color: var(--eda-muted); font-size: 11px; line-height: 1.6; }
.eda-selection-notice { margin-top: 12px; padding: 11px 12px; color: #72521b; background: #fff8e5; border: 1px solid #f1dfac; border-radius: 12px; font-size: 11px; line-height: 1.55; }
.eda-selection-grid { display: grid; gap: 10px; margin-top: 12px; }
.eda-selection-item { padding: 14px; background: #fbfdfc; border: 1px solid var(--eda-line); border-radius: 15px; }
.eda-selection-item__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.eda-selection-item h3 { margin: 0; font-size: 14px; }
.eda-selection-score { flex: none; padding: 4px 8px; color: #fff; background: var(--eda-green); border-radius: 999px; font-size: 11px; font-weight: 800; }
.eda-selection-item p { margin: 7px 0 0; color: var(--eda-muted); font-size: 11px; line-height: 1.6; }
.eda-selection-item button { width: 100%; margin-top: 10px; padding: 9px 12px; color: var(--eda-green-dark); background: #effaf5; border: 1px solid #bfe5d4; border-radius: 10px; font-size: 11px; font-weight: 800; }
@media (min-width: 680px) { .eda-selection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.eda-card {
    margin-bottom: 13px;
    padding: 17px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(233, 237, 241, .95);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(31,41,51,.04);
}
.eda-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.eda-card__head h2 { margin: 3px 0 0; font-size: 17px; letter-spacing: -.01em; }
.eda-step { color: var(--eda-accent); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.eda-card__meta { flex: none; padding: 4px 8px; color: var(--eda-muted); background: #f8faf9; border-radius: 999px; font-size: 10px; }
.eda-card__tip { display: flex; align-items: flex-start; gap: 7px; margin: 11px 0 0; color: var(--eda-muted); font-size: 11px; line-height: 1.55; }
.eda-card__tip i { margin-top: 2px; color: var(--eda-accent); }

.eda-upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.eda-upload-item, .eda-upload-add {
    position: relative;
    overflow: visible;
    aspect-ratio: 1;
    min-width: 0;
    border-radius: 15px;
}
.eda-upload-item { background: #eef2f0; border: 1px solid var(--eda-line); padding-bottom: 31px; }
.eda-upload-item img { width: 100%; height: calc(100% - 31px); object-fit: cover; display: block; border-radius: 14px 14px 0 0; }
.eda-upload-item .eda-upload-role { position: absolute; left: 5px; right: 5px; bottom: 5px; width: calc(100% - 10px); margin: 0; }
.eda-upload-item .eda-upload-role:focus { outline: 2px solid #75bea5; outline-offset: 1px; }
.eda-upload-item__main { position: absolute; left: 6px; bottom: 6px; padding: 3px 6px; color: #fff; background: rgba(5, 47, 37, .7); border-radius: 999px; font-size: 8px; font-style: normal; }
.eda-upload-item button { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; padding: 0; color: #fff; background: rgba(10, 22, 18, .72); border: 0; border-radius: 50%; }
.eda-upload-item.is-uploading::after { content: "上传中"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(5,47,37,.65); font-size: 11px; font-weight: 700; }
.eda-upload-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--eda-green-dark); background: #f2faf7; border: 1.5px dashed #9fd4c1; }
.eda-upload-add i { font-size: 20px; }
.eda-upload-add span { font-size: 10px; font-weight: 700; }

.eda-field { margin-top: 14px; }
.eda-field:first-of-type { margin-top: 0; }
.eda-field label, .eda-dialog__body label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 750; }
.eda-field label em, .eda-dialog__body label em { margin-left: 5px; color: #97a19d; font-size: 10px; font-style: normal; font-weight: 500; }
.eda-field input, .eda-field textarea, .eda-dialog__body input, .eda-dialog__body textarea, .eda-dialog__body select {
    display: block;
    width: 100%;
    padding: 12px 13px;
    color: var(--eda-ink);
    background: #f8faf9;
    border: 1px solid #dfe7e3;
    border-radius: 13px;
    outline: none;
    resize: vertical;
    font-size: 13px;
    line-height: 1.6;
    transition: border-color .18s, box-shadow .18s, background .18s;
}
.eda-field input:focus, .eda-field textarea:focus, .eda-dialog__body input:focus, .eda-dialog__body textarea:focus, .eda-dialog__body select:focus { background: #fff; border-color: rgba(232, 93, 63, .42); box-shadow: 0 0 0 3px rgba(232, 93, 63, .12); }
.eda-field--verified { padding: 13px; background: #fffaf8; border: 1px solid rgba(232, 93, 63, .14); border-radius: 15px; }
.eda-field--verified label i { color: var(--eda-accent); }
.eda-field--verified textarea { background: #fff; }
.eda-field--verified > p { margin: 7px 2px 0; color: #64748b; font-size: 10px; line-height: 1.5; }
.eda-field--market { padding: 13px; background: #fff; border: 1px solid var(--eda-line); border-radius: 15px; }
.eda-market-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.eda-market-grid label { display: block; color: var(--eda-ink); font-size: 10px; font-weight: 700; }
.eda-market-grid select { width: 100%; margin-top: 6px; padding: 10px 8px; color: var(--eda-ink); background: #fff; border: 1px solid #dfe7e3; border-radius: 10px; outline: none; font-size: 11px; transition: border-color .16s ease, box-shadow .16s ease; }
.eda-market-grid select:focus { border-color: rgba(232, 93, 63, .42); box-shadow: 0 0 0 3px rgba(232, 93, 63, .10); }
.eda-market-grid label { line-height: 1.35; }
.eda-field__hint { margin: 8px 2px 0; color: var(--eda-muted); font-size: 10px; line-height: 1.5; }
.eda-copy-bank { margin-top: 9px; padding: 10px 11px; background: #fbfcff; border: 1px dashed #cdd9f0; border-radius: 12px; }
.eda-copy-bank__label { display: flex; align-items: flex-start; gap: 6px; margin-bottom: 8px; color: #5b6b85; font-size: 10px; line-height: 1.5; }
.eda-copy-bank__label i { margin-top: 2px; color: #7c93bd; }
.eda-copy-bank__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.eda-copy-bank__chips button {
    padding: 6px 9px;
    color: #43536b;
    background: #fff;
    border: 1px solid #dbe3f0;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: .15s ease;
}
.eda-copy-bank__chips button:hover { color: var(--eda-accent-deep); background: #fff7f4; border-color: rgba(232, 93, 63, .35); }
.eda-copy-bank__chips button.is-used { color: #8a9bb2; background: #f1f4f9; border-color: #e2e8f0; text-decoration: line-through; }
.eda-delivery-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.eda-delivery-presets button { min-height: 34px; padding: 6px 8px; color: var(--eda-ink); background: #fff; border: 1px solid #dfe7e3; border-radius: 10px; font-size: 10px; font-weight: 700; cursor: pointer; transition: .15s; }
.eda-delivery-presets button:hover { border-color: rgba(232, 93, 63, .32); background: #fffaf8; }
.eda-upload-role { appearance: auto; }
.eda-delivery-presets button.is-active { color: #fff; background: linear-gradient(135deg, var(--eda-accent-deep), var(--eda-accent)); border-color: transparent; }
.eda-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.eda-category-grid button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 7px 8px;
    color: #4b5563;
    background: #fff;
    border: 1px solid #e5e9ed;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: .16s ease;
    box-shadow: 0 1px 2px rgba(31,41,51,.03);
}
.eda-category-grid button i { font-size: 12px; opacity: .85; }
.eda-category-grid button:hover { border-color: rgba(232, 93, 63, .38); color: var(--eda-accent-deep); background: #fffaf8; }
.eda-category-grid button.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--eda-accent-deep), var(--eda-accent));
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(232, 93, 63, .25);
}
.eda-category-grid button.is-active i { opacity: 1; }
.eda-category-grid button.is-recommended { border-color: rgba(232, 93, 63, .5); box-shadow: 0 0 0 2px rgba(232, 93, 63, .12); }
.eda-upload-role { display: block; margin-top: 6px; padding: 4px 6px; width: 100%; color: var(--eda-ink); background: #fff; border: 1px solid #dfe7e3; border-radius: 8px; font-size: 10px; }
@media (max-width: 500px) {
    .eda-market-grid { grid-template-columns: 1fr; }
    .eda-delivery-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .eda-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
    .eda-category-grid button { min-height: 36px; font-size: 10px; }
    .eda-hero__flow { padding: 9px 10px; }
    .eda-hero { padding: 20px 16px 16px; border-radius: 20px; }
    .eda-card { padding: 14px; border-radius: 18px; }
}
@media (max-width: 360px) { .eda-delivery-presets { grid-template-columns: 1fr; } }

.eda-option-block + .eda-option-block { margin-top: 16px; }
.eda-option-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.eda-option-label strong { font-size: 12px; }
.eda-option-label span { color: var(--eda-muted); font-size: 10px; }
.eda-segment { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.eda-segment button, .eda-style {
    padding: 11px 7px;
    color: var(--eda-muted);
    background: #fff;
    border: 1px solid #e0e7e3;
    border-radius: 14px;
}
.eda-segment button b, .eda-style b { display: block; color: var(--eda-ink); font-size: 13px; }
.eda-segment button small, .eda-style small { display: block; margin-top: 3px; font-size: 9px; }
.eda-segment button.is-active, .eda-style.is-active { color: var(--eda-accent-deep); background: #fff7f4; border-color: rgba(232, 93, 63, .28); box-shadow: inset 0 0 0 1px rgba(232, 93, 63, .28); }
.eda-segment button.is-active b, .eda-style.is-active b { color: var(--eda-accent-deep); }
.eda-style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.eda-style { min-width: 0; padding: 8px 5px 9px; }
.eda-style__swatch { display: block; width: 100%; height: 26px; margin-bottom: 7px; border-radius: 8px; }
.eda-style__swatch--fresh { background: linear-gradient(135deg, #fff7f4, #f1c0b5 55%, #bd3c25); }
.eda-style__swatch--minimal { background: linear-gradient(135deg, #fff 0 35%, #d9dcde 35% 68%, #222 68%); }
.eda-style__swatch--premium { background: linear-gradient(135deg, #111827, #4b5563 58%, #e5b48f); }
.eda-style__swatch--guochao { background: linear-gradient(135deg, #f8efe7, #bf4a32 58%, #d9a15d); }

.eda-cost { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 2px 10px; padding: 10px 12px; color: var(--eda-muted); background: #fff; border: 1px solid var(--eda-line); border-radius: 13px; font-size: 11px; }
.eda-cost strong { color: var(--eda-accent-deep); }
.eda-primary, .eda-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 15px;
    font-weight: 800;
}
.eda-primary { width: 100%; color: #fff; background: linear-gradient(135deg, var(--eda-accent-deep), var(--eda-accent)); border: 0; box-shadow: 0 6px 18px rgba(232, 93, 63,.12); }
.eda-primary:disabled { opacity: .45; box-shadow: none; }
.eda-secondary { color: #334155; background: #fff; border: 1px solid rgba(15,23,42,.08); box-shadow: none; }

.eda-history-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 5px 2px 13px; }
.eda-history-head h2 { margin: 0; font-size: 18px; }
.eda-history-head p { margin: 4px 0 0; color: var(--eda-muted); font-size: 10px; }
.eda-history-head button, .eda-load-more { padding: 8px 11px; color: var(--eda-accent-deep); background: #fff; border: 1px solid var(--eda-line); border-radius: 11px; font-size: 10px; font-weight: 700; }
.eda-history-list { display: grid; gap: 12px; }
.eda-history-card { overflow: hidden; background: #fff; border: 1px solid var(--eda-line); border-radius: 19px; box-shadow: 0 8px 24px rgba(31,41,51,.04); }
.eda-history-card__head { display: flex; justify-content: space-between; gap: 10px; padding: 15px 16px 11px; }
.eda-history-card__head h3 { margin: 0; font-size: 14px; }
.eda-history-card__head p { margin: 4px 0 0; color: var(--eda-muted); font-size: 10px; }
.eda-status { align-self: flex-start; padding: 5px 8px; color: #9a3412; background: #fff7ed; border-radius: 999px; font-size: 9px; font-weight: 800; }
.eda-status.is-completed { color: #047857; background: #ecfdf5; }
.eda-status.is-failed { color: #b91c1c; background: #fef2f2; }
.eda-history-card__progress { display: flex; align-items: center; gap: 6px; padding: 0 16px 12px; }
.eda-history-card__progress > span { flex: 1; height: 5px; overflow: hidden; background: #edf1ef; border-radius: 999px; }
.eda-history-card__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--eda-accent), var(--eda-accent-deep)); border-radius: inherit; transition: width .3s; }
.eda-history-card__progress b { color: var(--eda-muted); font-size: 9px; }
.eda-history-card__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 0 16px 13px; }
.eda-history-card__thumbs img, .eda-history-placeholder { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #eef2f0; border-radius: 7px; }
.eda-history-placeholder { display: grid; place-items: center; color: #9ba7a1; font-size: 9px; }
.eda-history-card__error { margin: 0 16px 12px; padding: 9px 10px; color: #a43b42; background: #fff0f1; border-radius: 10px; font-size: 10px; line-height: 1.5; }
.eda-history-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 11px 16px; background: #f8faf9; border-top: 1px solid #edf1ef; }
.eda-history-card__foot span { color: var(--eda-muted); font-size: 9px; }
.eda-history-card__foot button { padding: 8px 13px; color: #fff; background: linear-gradient(135deg, var(--eda-accent-deep), var(--eda-accent)); border: 0; border-radius: 10px; font-size: 10px; font-weight: 800; }
.eda-load-more { display: block; margin: 15px auto 0; }
.eda-empty { padding: 50px 20px; color: #8d9994; text-align: center; background: #fff; border: 1px dashed #d7e0dc; border-radius: 19px; }
.eda-empty i { display: block; margin-bottom: 10px; font-size: 25px; color: rgba(232, 93, 63, .55); }
.eda-empty p { margin: 0; font-size: 12px; }

.eda-sheet, .eda-dialog, .eda-launch {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(17, 24, 39, .55);
    backdrop-filter: blur(8px);
}
.eda-sheet { display: flex; align-items: flex-end; justify-content: center; }
.eda-sheet__panel { width: min(100%, 920px); max-height: 95vh; overflow: auto; background: #f7f8fa; border-radius: 26px 26px 0 0; box-shadow: 0 -18px 60px rgba(31,41,51,.12); }
.eda-sheet__head { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 13px 15px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--eda-line); backdrop-filter: blur(14px); }
.eda-sheet__head h2 { margin: 0; font-size: 16px; }
.eda-sheet__head p { margin: 3px 0 0; color: var(--eda-muted); font-size: 9px; }
.eda-sheet__badge { max-width: 110px; padding: 5px 8px; overflow: hidden; color: var(--eda-green-dark); background: var(--eda-mint); border-radius: 999px; font-size: 9px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.eda-plan-body { padding: 14px 14px 105px; }
.eda-plan-summary, .eda-plan-warning { margin-bottom: 12px; padding: 14px; border-radius: 17px; }
.eda-plan-summary { color: #24483d; background: #e9f7f1; border: 1px solid #cee9de; }
.eda-plan-summary strong { display: block; margin-bottom: 4px; font-size: 13px; }
.eda-plan-summary p { margin: 0; font-size: 11px; line-height: 1.6; }
.eda-plan-category { display: inline-block; margin: 0 0 6px; padding: 3px 8px; color: var(--eda-accent-deep); background: rgba(232, 93, 63, .1); border: 1px solid rgba(232, 93, 63, .22); border-radius: 999px; font-size: 9px; font-weight: 800; }
.eda-plan-warning { color: #72521b; background: #fff7e6; border: 1px solid #f0dfb7; }
.eda-plan-warning strong { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.eda-plan-warning ul { margin: 7px 0 0; padding-left: 17px; font-size: 10px; line-height: 1.65; }
.eda-plan-screen { margin-bottom: 10px; padding: 14px; background: #fff; border: 1px solid var(--eda-line); border-radius: 18px; }
.eda-plan-screen__head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.eda-plan-screen__no { flex: none; display: grid; place-items: center; width: 31px; height: 31px; color: #fff; background: var(--eda-green); border-radius: 10px; font-size: 11px; font-weight: 900; }
.eda-plan-screen__head strong { display: block; font-size: 12px; }
.eda-plan-screen__head span { display: block; margin-top: 3px; color: var(--eda-muted); font-size: 9px; }
.eda-plan-screen label { display: block; margin-top: 8px; color: #65726c; font-size: 9px; font-weight: 700; }
.eda-plan-screen input, .eda-plan-screen textarea { width: 100%; margin-top: 4px; padding: 9px 10px; color: var(--eda-ink); background: #f8faf9; border: 1px solid #e2e8e5; border-radius: 10px; outline: none; font-size: 11px; line-height: 1.55; resize: vertical; }
.eda-plan-screen input:focus, .eda-plan-screen textarea:focus { border-color: #68bc9e; background: #fff; }
.eda-plan-copy { margin-top: 8px; padding: 9px 10px; color: var(--eda-ink); background: #f8faf9; border: 1px solid #e2e8e5; border-radius: 10px; }
.eda-plan-copy > span { display: block; margin-bottom: 3px; color: #65726c; font-size: 9px; font-weight: 800; }
.eda-plan-copy strong, .eda-plan-copy p { margin: 0; font-size: 11px; line-height: 1.55; }
.eda-plan-copy__badge { display: inline-block; margin-bottom: 5px; padding: 3px 7px; color: var(--eda-green-dark); background: var(--eda-mint); border-radius: 999px; font-size: 10px !important; }
.eda-plan-copy--visual p { color: #53625c; }
.eda-sheet__foot { position: sticky; bottom: 0; z-index: 6; display: grid; grid-template-columns: auto minmax(170px, 1fr); align-items: center; gap: 13px; padding: 12px 15px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--eda-line); box-shadow: 0 -8px 25px rgba(19,48,37,.08); }
.eda-sheet__foot div span { display: block; color: var(--eda-muted); font-size: 9px; }
.eda-sheet__foot div strong { display: block; margin-top: 2px; font-size: 12px; }
.eda-sheet__foot .eda-primary { min-height: 44px; }

.eda-sheet__panel--result { height: 96vh; }
.eda-copy-pack { padding: 7px 9px; color: var(--eda-green-dark); background: #edf8f3; border: 0; border-radius: 10px; font-size: 9px; font-weight: 800; }
.eda-result-actions { position: sticky; top: 69px; z-index: 4; display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; padding: 10px 14px; background: rgba(244,247,245,.94); backdrop-filter: blur(12px); }
.eda-result-actions button { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; color: var(--eda-green-dark); background: #fff; border: 1px solid #d6e4de; border-radius: 12px; font-size: 10px; font-weight: 800; }
.eda-result-actions button.is-primary { color: #fff; background: var(--eda-green); border-color: var(--eda-green); }
.eda-result-grid { display: grid; gap: 15px; padding: 4px 14px calc(28px + env(safe-area-inset-bottom)); }
.eda-result-item { overflow: hidden; background: #fff; border: 1px solid var(--eda-line); border-radius: 20px; box-shadow: 0 9px 28px rgba(19,51,39,.07); }
.eda-result-item__meta { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 11px 12px; }
.eda-result-item__meta div { min-width: 0; }
.eda-result-item__meta strong { display: block; font-size: 11px; }
.eda-result-item__meta span { display: block; margin-top: 3px; overflow: hidden; color: var(--eda-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.eda-result-item__actions { display: flex; gap: 5px; }
.eda-result-item__actions button { padding: 7px 8px; color: var(--eda-green-dark); background: #eff7f3; border: 0; border-radius: 9px; font-size: 9px; font-weight: 750; }

.eda-screen { position: relative; overflow: hidden; width: 100%; aspect-ratio: 3 / 4; background: #e9eeeb; isolation: isolate; }
.eda-screen > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.eda-screen__loading { position: absolute; inset: 0; display: grid; place-items: center; color: #7f8c86; background: linear-gradient(110deg, #eef2f0 25%, #f7f9f8 45%, #eef2f0 65%); background-size: 220% 100%; animation: edaShimmer 1.5s infinite; font-size: 11px; }
@keyframes edaShimmer { to { background-position: -220% 0; } }
.eda-screen__copy { position: absolute; z-index: 2; left: 0; right: 0; padding: 18% 8% 8%; color: #fff; pointer-events: none; }
.eda-screen.is-bottom .eda-screen__copy { bottom: 0; background: linear-gradient(180deg, transparent, rgba(7,27,21,.82) 58%, rgba(7,27,21,.94)); }
.eda-screen.is-top .eda-screen__copy { top: 0; padding-top: 8%; padding-bottom: 18%; background: linear-gradient(0deg, transparent, rgba(7,27,21,.82) 58%, rgba(7,27,21,.94)); }
.eda-screen.is-middle .eda-screen__copy { top: 50%; transform: translateY(-50%); padding: 8%; background: linear-gradient(90deg, rgba(7,27,21,.84), rgba(7,27,21,.36), transparent); }
.eda-screen__eyebrow { display: inline-block; margin-bottom: 8px; padding: 4px 7px; color: rgba(255,255,255,.86); background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: clamp(7px, 2vw, 10px); font-weight: 800; letter-spacing: .08em; }
.eda-screen__copy h3 { max-width: 88%; margin: 0; font-size: clamp(22px, 7vw, 43px); line-height: 1.14; letter-spacing: -.04em; text-wrap: balance; }
.eda-screen__copy p { max-width: 82%; margin: 8px 0 0; font-size: clamp(10px, 3vw, 17px); line-height: 1.55; }
.eda-screen__copy small { display: block; max-width: 85%; margin-top: 7px; color: rgba(255,255,255,.72); font-size: clamp(8px, 2.3vw, 13px); line-height: 1.45; }
.eda-screen__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.eda-screen__tags span {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    color: #24384a;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}
.eda-plan-copy .eda-screen__tags { margin-top: 6px; }
.eda-screen.theme-fresh .eda-screen__eyebrow { background: rgba(44,130,101,.35); }
.eda-screen.theme-minimal .eda-screen__copy { color: #fff; }
.eda-screen.theme-premium .eda-screen__eyebrow { color: #f5d89e; border-color: rgba(231,197,129,.42); }
.eda-screen.theme-premium .eda-screen__copy h3 { color: #fff4dc; }
.eda-screen.theme-guochao .eda-screen__eyebrow { color: #ffe3ad; background: rgba(125,30,29,.55); border-color: rgba(241,191,101,.42); }
.eda-screen.theme-guochao .eda-screen__copy h3 { color: #fff1d5; }

.eda-dialog { display: grid; place-items: center; padding: 18px; }
.eda-dialog__panel { width: min(100%, 470px); overflow: hidden; background: #fff; border: 1px solid rgba(233,237,241,.9); border-radius: 22px; box-shadow: 0 25px 80px rgba(31,41,51,.16); }
.eda-dialog__panel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 17px; border-bottom: 1px solid var(--eda-line); }
.eda-dialog__panel > header span { color: var(--eda-accent-deep); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.eda-dialog__panel > header h3 { margin: 2px 0 0; font-size: 16px; }
.eda-dialog__panel > header button { width: 34px; height: 34px; color: var(--eda-muted); background: #f8faf9; border: 0; border-radius: 11px; }
.eda-dialog__body { padding: 15px 17px; }
.eda-dialog__body label + label { margin-top: 12px; }
.eda-dialog__body label input, .eda-dialog__body label textarea, .eda-dialog__body label select { margin-top: 6px; }
.eda-dialog__body > p { display: flex; align-items: flex-start; gap: 6px; margin: 11px 0 0; color: var(--eda-muted); font-size: 10px; line-height: 1.5; }
.eda-dialog__notice { display: flex; gap: 9px; padding: 12px; color: #7c2d12; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 13px; font-size: 10px; line-height: 1.55; }
.eda-dialog__notice i { margin-top: 3px; color: var(--eda-accent-deep); }
.eda-dialog__panel > footer { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; padding: 12px 17px calc(12px + env(safe-area-inset-bottom)); background: #f8faf9; border-top: 1px solid var(--eda-line); }
.eda-dialog__panel > footer button { min-height: 43px; }
.eda-help-list { padding: 10px 17px 18px; }
.eda-help-list p { display: flex; gap: 11px; margin: 0; padding: 12px 0; border-bottom: 1px solid #edf1ef; }
.eda-help-list p:last-child { border-bottom: 0; }
.eda-help-list p > b { flex: none; display: grid; place-items: center; width: 27px; height: 27px; color: #fff; background: linear-gradient(135deg, var(--eda-accent-deep), var(--eda-accent)); border-radius: 9px; font-size: 10px; }
.eda-help-list p span { color: var(--eda-muted); font-size: 10px; line-height: 1.55; }
.eda-help-list p strong { display: block; margin-bottom: 2px; color: var(--eda-ink); font-size: 11px; }

.eda-launch { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; color: #fff; text-align: center; }
.eda-launch__orb { position: relative; display: grid; place-items: center; width: 78px; height: 78px; background: linear-gradient(145deg, #22bc8c, #087052); border: 1px solid rgba(255,255,255,.25); border-radius: 26px; box-shadow: 0 0 0 12px rgba(56,213,164,.1), 0 20px 45px rgba(0,0,0,.25); animation: edaFloat 1.8s ease-in-out infinite; }
.eda-launch__orb i { font-size: 27px; }
@keyframes edaFloat { 50% { transform: translateY(-8px) rotate(2deg); } }
.eda-launch h3 { margin: 23px 0 7px; font-size: 20px; }
.eda-launch p { margin: 0; color: rgba(255,255,255,.7); font-size: 11px; line-height: 1.6; }
.eda-launch__bar { width: min(72vw, 330px); height: 6px; margin-top: 20px; overflow: hidden; background: rgba(255,255,255,.13); border-radius: 999px; }
.eda-launch__bar i { display: block; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, #9df2d0, transparent); animation: edaProgress 1.25s linear infinite; }
@keyframes edaProgress { from { transform: translateX(-110%); } to { transform: translateX(260%); } }

.eda-toast { position: fixed; z-index: 300; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); max-width: min(88vw, 460px); padding: 10px 15px; color: #fff; background: rgba(13,34,27,.94); border-radius: 12px; box-shadow: 0 12px 35px rgba(0,0,0,.22); font-size: 11px; line-height: 1.45; opacity: 0; transform: translate(-50%, 18px); pointer-events: none; transition: .22s ease; }
.eda-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.eda-toast.is-error { background: rgba(143,35,44,.96); }

@media (min-width: 680px) {
    .eda-nav { min-height: 58px; padding: 8px 18px; }
    .eda-nav__back, .eda-nav__help { height: 36px; padding: 0 12px; }
    .eda-nav__title strong { font-size: 15px; }
    .eda-nav__title span { font-size: 9px; }
    .eda-main { padding-top: 18px; }
    .eda-tabs { position: relative; top: auto; }
    .eda-upload-grid { grid-template-columns: repeat(6, 1fr); }
    .eda-card { padding: 22px; }
    .eda-hero { padding: 22px 24px 16px; border-radius: 20px; }
    .eda-hero h1 { margin: 10px 0 7px; font-size: clamp(25px, 4vw, 33px); }
    .eda-hero__copy > p { font-size: 12px; }
    .eda-hero__flow { width: min(100%, 560px); margin-top: 14px; padding: 9px 11px; }
    .eda-history-card__thumbs { grid-template-columns: repeat(8, 1fr); }
    .eda-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .eda-plan-body { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
    .eda-plan-summary, .eda-plan-warning { grid-column: 1 / -1; margin-bottom: 0; }
    .eda-plan-screen { margin-bottom: 0; }
}

@media (max-width: 390px) {
    .eda-main { padding-inline: 10px; }
    .eda-card { padding: 15px; }
    .eda-style-grid { grid-template-columns: repeat(2, 1fr); }
    .eda-hero__flow span { font-size: 9px; }
    .eda-result-item__actions button span { display: none; }
}

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