:root {
  --yellow: #ffe600;
  --yellow-soft: #fff6bf;
  --navy: #20265f;
  --navy-deep: #151a46;
  --ink: #22242a;
  --muted: #676b78;
  --line: #dfe1e7;
  --surface: #ffffff;
  --background: #f5f5f2;
  --success: #147d50;
  --warning: #a76008;
  --danger: #b42318;
  --shadow: 0 20px 55px rgba(27, 32, 73, 0.11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 78% 0%, #fff9d7 0, transparent 28rem), var(--background); }
body[data-marketplace="shopee"] {
  --yellow: #ee4d2d;
  --yellow-soft: #fff0eb;
  background: radial-gradient(circle at 78% 0%, #fff0eb 0, transparent 28rem), var(--background);
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 230, 0, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(32, 38, 95, 0.12); }
.topbar__content { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--yellow); background: var(--navy); font-size: 13px; font-weight: 900; letter-spacing: -0.03em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; line-height: 1.1; }
.brand small { margin-top: 3px; font-size: 11px; opacity: 0.72; }
.status-pill { border: 1px solid rgba(32, 38, 95, 0.25); border-radius: 999px; padding: 8px 12px; color: var(--navy); font-size: 12px; font-weight: 750; text-decoration: none; }
.status-group { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.status-pill--agent { color: #fff; background: var(--navy); }
.page { padding-block: 56px 72px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.5fr); align-items: end; gap: 50px; margin-bottom: 38px; }
.eyebrow { display: inline-block; color: var(--navy); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.14em; }
.hero h1 { max-width: 760px; margin: 10px 0 14px; color: var(--navy-deep); font-size: clamp(36px, 5vw, 64px); line-height: 0.98; letter-spacing: -0.055em; }
.hero p { max-width: 680px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero__note { padding: 20px 22px; border-left: 4px solid var(--yellow); background: rgba(255, 255, 255, 0.62); }
.hero__note strong, .hero__note span { display: block; }
.hero__note strong { color: var(--navy); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.hero__note span { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.marketplace-switcher { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: -8px 0 28px; }
.marketplace-tab { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 68px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; color: var(--navy); background: rgba(255,255,255,.75); text-align: left; transition: 180ms ease; }
.marketplace-tab:hover { transform: translateY(-1px); border-color: rgba(32,38,95,.35); }
.marketplace-tab.is-active { border-color: var(--navy); background: var(--yellow-soft); box-shadow: inset 0 0 0 1px var(--navy); }
.marketplace-tab span { font-size: 15px; font-weight: 850; }
.marketplace-tab small { color: var(--muted); font-size: 10px; line-height: 1.35; text-align: right; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.97fr); align-items: start; gap: 24px; }
.panel, .results { border: 1px solid rgba(32, 38, 95, 0.1); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.panel { background: var(--surface); padding: 30px; }
.panel__heading, .section-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.panel__heading > div { display: flex; align-items: center; gap: 12px; }
.panel__heading h2, .section-heading h3 { margin: 0; color: var(--navy-deep); }
.panel__heading h2 { font-size: 22px; }
.step { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 11px; font-weight: 900; }
.text-button { border: 0; background: transparent; color: var(--navy); font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.field-group { margin: 28px 0 24px; padding: 0; border: 0; }
.field-group legend { margin-bottom: 10px; color: var(--navy-deep); font-size: 13px; font-weight: 800; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-card { position: relative; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card__body { min-height: 76px; display: flex; flex-direction: column; justify-content: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; transition: 180ms ease; }
.choice-card__body strong { color: var(--navy-deep); font-size: 14px; }
.choice-card__body small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.choice-card input:checked + .choice-card__body { border-color: var(--navy); background: var(--yellow-soft); box-shadow: inset 0 0 0 1px var(--navy); }
.choice-card input:focus-visible + .choice-card__body { outline: 3px solid rgba(32, 38, 95, 0.2); outline-offset: 2px; }
.shopee-policy { display: grid; grid-template-columns: minmax(150px,.42fr) minmax(0,1fr); gap: 18px; margin: 0 0 24px; padding: 16px; border: 1px solid rgba(238,77,45,.28); border-radius: 14px; background: #fff7f4; }
.shopee-policy > div:first-child span, .shopee-policy > div:first-child strong, .shopee-policy > div:first-child small { display: block; }
.shopee-policy > div:first-child span { color: #b8341d; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.shopee-policy > div:first-child strong { margin-top: 4px; color: var(--navy-deep); font-size: 13px; }
.shopee-policy > div:first-child small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.shopee-policy__bands { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.shopee-policy__bands span { color: var(--muted); font-size: 9px; line-height: 1.4; }
.shopee-policy__bands b { display: block; color: var(--navy-deep); font-size: 9px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > span { display: flex; align-items: center; min-height: 20px; margin-bottom: 7px; color: var(--navy-deep); font-size: 12px; font-weight: 750; }
.field > span b { margin-left: 4px; color: var(--danger); }
.field > span small { margin-left: 5px; color: var(--muted); font-weight: 500; }
.field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.4; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 0 13px; color: var(--ink); background: #fff; outline: none; transition: 160ms ease; }
input, select { height: 46px; }
textarea { min-height: 92px; padding-block: 12px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(32, 38, 95, 0.1); }
input::placeholder, textarea::placeholder { color: #a2a5ae; }
.money-input, .percent-input { display: flex; align-items: center; height: 46px; border: 1px solid var(--line); border-radius: 11px; background: #fff; overflow: hidden; transition: 160ms ease; }
.money-input:focus-within, .percent-input:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(32, 38, 95, 0.1); }
.money-input span, .percent-input span { color: var(--muted); font-size: 12px; font-weight: 750; }
.money-input span { padding-left: 13px; }
.percent-input span { padding-right: 13px; }
.money-input input, .percent-input input { height: 44px; border: 0; border-radius: 0; box-shadow: none; }
.advanced { margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.advanced summary { padding: 15px 0; color: var(--navy); cursor: pointer; font-size: 12px; font-weight: 800; }
.advanced__content { padding: 4px 0 18px; }
.primary-button, .secondary-button { border: 0; border-radius: 12px; font-weight: 850; transition: 160ms ease; }
.primary-button { width: 100%; margin-top: 22px; padding: 15px 20px; color: var(--yellow); background: var(--navy); box-shadow: 0 10px 22px rgba(32, 38, 95, 0.2); }
.primary-button:hover { transform: translateY(-1px); background: var(--navy-deep); }
.form-footnote { margin: 10px 0 0; color: var(--muted); font-size: 10px; text-align: center; }
.form-error { display: none; margin-top: 16px; padding: 11px 13px; border-radius: 10px; color: var(--danger); background: #fff0ef; font-size: 12px; line-height: 1.45; }
.form-error:not(:empty) { display: block; }
.results { position: sticky; top: 100px; color: #fff; background: var(--navy-deep); }
.empty-state { min-height: 590px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 42px; text-align: center; background: linear-gradient(145deg, var(--navy-deep), #2c337a); }
.empty-state__number { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: var(--yellow); font-size: 12px; font-weight: 900; }
.empty-state h2 { max-width: 330px; margin: 0; font-size: 28px; line-height: 1.1; }
.empty-state p { max-width: 340px; margin: 12px 0 0; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.55; }
.result-group-heading { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,.12); background: #151a50; }
.result-group-heading--seo { border-top: 10px solid rgba(255,255,255,.09); background: linear-gradient(145deg, #20265f, #171c52); }
.result-group-heading > span { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255,230,0,.55); border-radius: 50%; color: var(--yellow); font-size: 9px; font-weight: 900; }
.result-group-heading h2 { margin: 0; color: #fff; font-size: 15px; line-height: 1.25; }
.result-group-heading p { margin: 3px 0 0; color: rgba(255,255,255,.56); font-size: 9px; line-height: 1.4; }
.result-hero { display: flex; justify-content: space-between; gap: 20px; padding: 30px; border-bottom: 1px solid rgba(255,255,255,.12); background: linear-gradient(145deg, var(--navy-deep), #303883); }
.result-hero strong { display: block; margin-top: 7px; color: var(--yellow); font-size: 42px; letter-spacing: -0.045em; }
.result-hero strong.is-range { max-width: 390px; font-size: 30px; line-height: 1.18; }
.result-hero small { display: block; max-width: 300px; margin-top: 4px; color: rgba(255,255,255,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-hero .result-basis { margin-top: 7px; color: rgba(255,255,255,.82); font-size: 9px; white-space: normal; }
.eyebrow--light { color: rgba(255,255,255,.7); }
.classification { align-self: flex-start; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 10px; color: #bff4d8; background: rgba(20,125,80,.22); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.classification.warning { color: #ffe1a8; background: rgba(167,96,8,.25); }
.classification.danger { color: #ffc7c2; background: rgba(180,35,24,.25); }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.04); }
.metric-card { padding: 20px 24px; border-right: 1px solid rgba(255,255,255,.09); border-bottom: 1px solid rgba(255,255,255,.09); }
.metric-card:nth-child(even) { border-right: 0; }
.metric-card span { display: block; color: rgba(255,255,255,.58); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.metric-card strong { display: block; margin-top: 6px; font-size: 19px; }
.metric-card strong.is-range { font-size: 15px; line-height: 1.35; }
.result-warning { margin: 20px 24px 0; padding: 12px 14px; border-left: 3px solid var(--yellow); color: #fff1a5; background: rgba(255,230,0,.08); font-size: 11px; line-height: 1.5; }
.result-section { padding: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.section-heading h3 { color: #fff; font-size: 14px; }
.section-heading > span { color: rgba(255,255,255,.52); font-size: 10px; }
.current-comparison { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 14px; }
.current-comparison div { padding: 12px; border-radius: 10px; background: rgba(255,255,255,.07); }
.current-comparison span, .current-comparison strong { display: block; }
.current-comparison span { color: rgba(255,255,255,.52); font-size: 9px; text-transform: uppercase; }
.current-comparison strong { margin-top: 5px; font-size: 13px; }
.mini-pill { border-radius: 999px; padding: 5px 8px; color: #fff; background: rgba(255,255,255,.12); font-size: 9px !important; font-weight: 800; text-transform: uppercase; }
.commission-scenario-intro { margin: 10px 0 0; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.5; }
.commission-scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.commission-scenario-card { padding: 14px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; background: rgba(255,255,255,.055); }
.commission-scenario-card.is-conservative { border-color: rgba(255,230,0,.45); background: rgba(255,230,0,.075); }
.commission-scenario-card > span { color: rgba(255,255,255,.55); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.commission-scenario-card > strong { display: block; margin-top: 5px; color: var(--yellow); font-size: 16px; }
.commission-scenario-card > small { display: block; margin-top: 4px; color: rgba(255,255,255,.56); font-size: 8px; line-height: 1.4; }
.commission-scenario-card dl { display: grid; gap: 7px; margin: 13px 0 0; }
.fiscal-guidance-section { background: linear-gradient(145deg, rgba(74,170,255,.09), rgba(255,255,255,.025)); }
.seo-level-guidance { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 18px; margin: 18px; padding: 20px; border: 2px solid var(--yellow); border-radius: 16px; background: linear-gradient(145deg, rgba(255,230,0,.2), rgba(255,255,255,.055)); box-shadow: 0 14px 30px rgba(0,0,0,.18), inset 0 0 30px rgba(255,230,0,.055); }
.seo-level-guidance__badge { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 92px; border-radius: 14px; color: var(--navy-deep); background: var(--yellow); text-align: center; box-shadow: 0 10px 22px rgba(0,0,0,.18); }
.seo-level-guidance__badge small { font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.seo-level-guidance__badge strong { margin-top: 3px; font-size: 18px; line-height: 1; }
.seo-level-guidance__content { min-width: 0; }
.seo-level-guidance__eyebrow { color: var(--yellow); font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.seo-level-guidance h3 { margin: 5px 0 0; color: #fff; font-size: 19px; line-height: 1.2; }
.seo-level-guidance p { margin: 8px 0 0; color: rgba(255,255,255,.82); font-size: 10px; line-height: 1.6; }
.seo-level-guidance__advanced { margin-top: 13px; padding: 10px 12px; border-left: 3px solid var(--yellow); border-radius: 8px; background: rgba(0,0,0,.16); }
.seo-level-guidance__advanced strong, .seo-level-guidance__advanced span { display: block; }
.seo-level-guidance__advanced strong { color: #fff; font-size: 9px; }
.seo-level-guidance__advanced span { margin-top: 4px; color: rgba(255,255,255,.68); font-size: 8px; line-height: 1.5; }
.fiscal-guidance-intro { margin: 10px 0 0; color: rgba(255,255,255,.72); font-size: 10px; line-height: 1.55; }
.fiscal-guidance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.fiscal-guidance-grid article { padding: 12px; border: 1px solid rgba(74,170,255,.2); border-radius: 10px; background: rgba(74,170,255,.065); }
.fiscal-guidance-grid strong { color: #bfe3ff; font-size: 10px; }
.fiscal-guidance-grid p { margin: 5px 0 0; color: rgba(255,255,255,.62); font-size: 8px; line-height: 1.5; }
.commission-scenario-card dl div { display: flex; justify-content: space-between; gap: 8px; }
.commission-scenario-card dt { color: rgba(255,255,255,.52); font-size: 8px; }
.commission-scenario-card dd { margin: 0; color: #fff; font-size: 9px; font-weight: 750; text-align: right; }
.market-search-card { display: grid; gap: 16px; margin-top: 16px; padding: 16px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; background: rgba(255,255,255,.06); }
.market-search-card strong, .market-search-card p, .market-search-card span { display: block; }
.market-search-card strong { color: #fff; font-size: 12px; }
.market-search-card p { margin: 5px 0 0; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.5; }
.market-search-card span { margin-top: 10px; overflow: hidden; color: var(--yellow); font-size: 10px; font-weight: 750; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.market-search-link { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; border-radius: 10px; padding: 10px 14px; color: var(--navy-deep); background: var(--yellow); font-size: 11px; font-weight: 850; text-align: center; text-decoration: none; transition: 160ms ease; }
.market-search-link:hover { transform: translateY(-1px); background: #fff06a; }
.seo-agent-section { background: linear-gradient(145deg, rgba(255,230,0,.06), rgba(255,255,255,.025)); }
.seo-agent-intro p { margin: 12px 0 0; color: rgba(255,255,255,.66); font-size: 11px; line-height: 1.55; }
.seo-analyze-button { min-height: 42px; margin-top: 15px; border: 0; border-radius: 10px; padding: 10px 15px; color: var(--navy-deep); background: var(--yellow); font-size: 11px; font-weight: 850; transition: 160ms ease; }
.seo-analyze-button:hover { transform: translateY(-1px); background: #fff06a; }
.seo-analyze-button:disabled { cursor: wait; opacity: .6; transform: none; }
.seo-analyze-button--secondary { width: 100%; color: #fff; background: rgba(255,255,255,.12); }
.seo-analyze-button--secondary:hover { background: rgba(255,255,255,.18); }
.seo-loading, .seo-error { margin-top: 15px; padding: 12px 14px; border-radius: 10px; font-size: 11px; line-height: 1.5; }
.seo-loading { color: #fff5a8; background: rgba(255,230,0,.09); }
.seo-loading::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border: 2px solid rgba(255,255,255,.25); border-top-color: var(--yellow); border-radius: 50%; vertical-align: -1px; animation: seo-spin .8s linear infinite; }
.seo-error { color: #ffc7c2; background: rgba(180,35,24,.23); }
.seo-result { display: grid; gap: 10px; margin-top: 15px; }
.seo-score-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(255,230,0,.3); border-radius: 12px; background: rgba(255,230,0,.08); }
.seo-score-card > div { display: flex; align-items: baseline; }
.seo-score-card strong { color: var(--yellow); font-size: 32px; line-height: 1; }
.seo-score-card > div span { margin-left: 3px; color: rgba(255,255,255,.48); font-size: 10px; }
.seo-classification { border-radius: 999px; padding: 6px 9px; color: var(--navy-deep); background: var(--yellow); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.seo-score-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seo-score-dimension { padding: 10px; border-radius: 10px; background: rgba(255,255,255,.055); }
.seo-score-dimension > div { display: flex; justify-content: space-between; gap: 8px; color: rgba(255,255,255,.62); font-size: 8px; }
.seo-score-dimension strong { color: #fff; font-size: 8px; }
.seo-score-track { display: block; height: 4px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.seo-score-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4aaaff, var(--yellow)); }
.seo-market-card { padding: 14px; border: 1px solid rgba(74,170,255,.28); border-radius: 12px; background: rgba(74,170,255,.08); }
.seo-market-card > div:first-child { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.seo-market-card > div:first-child span { color: rgba(255,255,255,.55); font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.seo-market-card > div:first-child strong { color: #bfe3ff; font-size: 11px; }
.seo-market-card > small { display: block; margin-top: 5px; color: rgba(255,255,255,.45); font-size: 8px; }
.seo-market-card > p { margin: 7px 0 0; color: #bfe3ff; font-size: 9px; line-height: 1.45; }
.seo-content-card { padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.055); }
.seo-content-card > span { display: block; color: rgba(255,255,255,.5); font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.seo-content-card > strong { display: block; margin-top: 6px; color: var(--yellow); font-size: 12px; line-height: 1.5; }
.seo-diagnosis-card { border-color: rgba(255,230,0,.22); }
.seo-content-card p { margin: 6px 0 0; color: rgba(255,255,255,.78); font-size: 10px; line-height: 1.55; white-space: pre-line; }
.seo-content-card ul { margin: 8px 0 0; padding-left: 17px; color: rgba(255,255,255,.78); font-size: 10px; line-height: 1.55; }
.seo-content-card li + li { margin-top: 4px; }
.seo-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seo-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.seo-chips span { border: 1px solid rgba(255,230,0,.25); border-radius: 999px; padding: 5px 7px; color: #fff5a8; background: rgba(255,230,0,.06); font-size: 8px; font-weight: 700; }
.seo-title-list { display: grid; gap: 8px; margin-top: 9px; }
.seo-title-item { display: grid; grid-template-columns: 24px 1fr auto; align-items: start; gap: 8px; padding: 10px; border-radius: 9px; background: rgba(255,255,255,.06); }
.seo-title-item > span:first-child { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--navy-deep); background: var(--yellow); font-size: 9px; font-weight: 900; }
.seo-title-item strong { color: #fff; font-size: 10px; line-height: 1.45; }
.seo-title-item em { display: block; margin-bottom: 4px; color: #bfe3ff; font-size: 7px; font-style: normal; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.seo-title-item small { display: block; margin-top: 3px; color: rgba(255,255,255,.5); font-size: 8px; line-height: 1.4; }
.seo-title-length { color: #fff5a8; font-size: 8px; white-space: nowrap; }
.seo-card-note { display: block; margin-top: 9px; color: rgba(255,255,255,.52); font-size: 8px; line-height: 1.45; }
.seo-keyword-groups { display: grid; gap: 8px; margin-top: 9px; }
.seo-keyword-group { padding: 10px; border-radius: 9px; background: rgba(255,255,255,.05); }
.seo-keyword-group > strong { color: #fff; font-size: 9px; }
.seo-keyword-group > p { margin-top: 3px; color: rgba(255,255,255,.5); font-size: 8px; }
.seo-attribute-list { display: grid; gap: 8px; margin-top: 9px; }
.seo-attribute-item { padding: 10px; border-left: 3px solid #4aaaff; border-radius: 8px; background: rgba(255,255,255,.05); }
.seo-attribute-item.required { border-left-color: #ff8177; }
.seo-attribute-item.confirmed { border-left-color: #4cdd83; }
.seo-attribute-item > div { display: flex; justify-content: space-between; gap: 10px; }
.seo-attribute-item strong { color: #fff; font-size: 9px; }
.seo-attribute-item span { color: rgba(255,255,255,.52); font-size: 7px; text-align: right; }
.seo-attribute-item p { margin-top: 5px; }
.cosmos-product-list { display: grid; gap: 8px; margin-top: 10px; }
.cosmos-search-notice { margin-top: 10px; padding: 10px 11px; border-left: 3px solid var(--yellow); border-radius: 9px; color: #fff1a5; background: rgba(255,230,0,.09); font-size: 9px; line-height: 1.5; }
.cosmos-search-notice.no_reliable_match { border-left-color: #ff8177; color: #ffc7c2; background: rgba(180,35,24,.18); }
.cosmos-search-notice.matched { border-left-color: #4cdd83; color: #bff4d8; background: rgba(20,125,80,.18); }
.cosmos-product-item { padding: 11px; border-left: 3px solid #4aaaff; border-radius: 9px; background: rgba(255,255,255,.055); }
.cosmos-product-item > strong { display: block; color: #fff; font-size: 9px; line-height: 1.45; }
.cosmos-product-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.cosmos-product-meta span { border-radius: 999px; padding: 4px 6px; color: #bfe3ff; background: rgba(74,170,255,.12); font-size: 7px; font-weight: 750; }
.cosmos-product-item small { display: block; margin-top: 6px; color: rgba(255,255,255,.48); font-size: 7px; line-height: 1.4; }
.seo-checklist { display: grid; gap: 8px; margin-top: 9px; }
.seo-check-item { padding: 10px; border-left: 3px solid rgba(255,255,255,.28); border-radius: 8px; background: rgba(255,255,255,.05); }
.seo-check-item.ok { border-left-color: #4cdd83; }
.seo-check-item.warning { border-left-color: var(--yellow); }
.seo-check-item.error { border-left-color: #ff8177; }
.seo-check-item__heading { display: flex; justify-content: space-between; gap: 10px; }
.seo-check-item__heading strong { color: #fff; font-size: 10px; }
.seo-check-status { border-radius: 999px; padding: 3px 6px; font-size: 7px; font-weight: 850; text-transform: uppercase; }
.seo-check-status.ok { color: #bff4d8; background: rgba(20,125,80,.28); }
.seo-check-status.warning { color: #fff1a5; background: rgba(255,230,0,.12); }
.seo-check-status.error { color: #ffc7c2; background: rgba(180,35,24,.28); }
.seo-check-item p { margin: 5px 0 0; color: rgba(255,255,255,.72); font-size: 9px; line-height: 1.45; }
.seo-check-item small { display: block; margin-top: 4px; color: rgba(255,255,255,.45); font-size: 8px; line-height: 1.4; }
.seo-final { padding: 13px 14px; border-left: 3px solid var(--yellow); color: #fff; background: rgba(255,255,255,.06); font-size: 10px; line-height: 1.55; }
@keyframes seo-spin { to { transform: rotate(360deg); } }
.composition { margin-top: 14px; }
.composition-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; color: rgba(255,255,255,.68); font-size: 11px; }
.composition-row strong { color: #fff; font-weight: 650; }
.composition-row.total { margin-top: 5px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 800; }
.composition-row.profit strong { color: var(--yellow); }
.composition-row.bonus { margin: 4px 0; padding: 8px 10px; border-radius: 8px; color: #bff4d8; background: rgba(20,125,80,.16); }
.composition-row.bonus strong { color: #bff4d8; }
.table-wrap { margin-top: 14px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th { color: rgba(255,255,255,.48); font-size: 9px; text-align: right; text-transform: uppercase; letter-spacing: .06em; }
th:first-child, td:first-child { text-align: left; }
td { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); text-align: right; }
.table-status { display: inline-block; border-radius: 999px; padding: 4px 7px; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.table-status.ok { color: #bff4d8; background: rgba(20,125,80,.23); }
.table-status.no { color: #ffc7c2; background: rgba(180,35,24,.23); }
.result-actions { display: flex; gap: 10px; padding: 24px; }
.secondary-button { flex: 1; display: inline-flex; justify-content: center; align-items: center; padding: 12px 16px; color: var(--navy); background: var(--yellow); text-align: center; text-decoration: none; }
.whatsapp-button { color: #092e1a; background: #25d366; }
.whatsapp-button:hover { transform: translateY(-1px); background: #4cdd83; }
.text-button--light { color: #fff; padding-inline: 12px; }
.is-hidden { display: none !important; }
footer { padding: 24px 0 36px; }
.footer__content { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
.footer__content span:first-child { color: var(--navy); font-weight: 850; }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .hero__note { max-width: 420px; }
  .workspace { grid-template-columns: 1fr; }
  .results { position: static; }
}

@media (max-width: 520px) {
  .seo-score-breakdown, .seo-two-columns { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1180px); }
  .status-group { display: none; }
  .page { padding-block: 36px 48px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 15px; }
  .marketplace-switcher { grid-template-columns: 1fr; }
  .marketplace-tab { min-height: 58px; }
  .shopee-policy { grid-template-columns: 1fr; }
  .shopee-policy__bands { grid-template-columns: 1fr; }
  .seo-level-guidance { grid-template-columns: 1fr; margin-inline: 12px; }
  .seo-level-guidance__badge { min-height: 68px; }
  .panel { padding: 22px 18px; border-radius: 18px; }
  .choice-grid, .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .result-hero { flex-direction: column; padding: 24px 20px; }
  .result-hero strong { font-size: 36px; }
  .metric-card, .result-section { padding-inline: 18px; }
  .result-group-heading { padding-inline: 18px; }
  .current-comparison { grid-template-columns: 1fr; }
  .commission-scenario-grid { grid-template-columns: 1fr; }
  .fiscal-guidance-grid { grid-template-columns: 1fr; }
  .seo-two-columns { grid-template-columns: 1fr; }
  .seo-title-item { grid-template-columns: 24px 1fr; }
  .seo-title-length { grid-column: 2; }
  .footer__content { flex-direction: column; }
}

@media print {
  .topbar, .hero, .marketplace-switcher, .form-panel, footer, .result-actions, .seo-agent-intro, .seo-loading, .seo-error, .seo-analyze-button { display: none !important; }
  body, .page { background: #fff; padding: 0; }
  .shell, .workspace { width: 100%; display: block; }
  .results { position: static; border: 0; border-radius: 0; box-shadow: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
