@font-face { font-family: KakaoSmall; src: url("assets/fonts/KakaoSmallSans-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: KakaoSmall; src: url("assets/fonts/KakaoSmallSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: KakaoSmall; src: url("assets/fonts/KakaoSmallSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: KakaoBig; src: url("assets/fonts/KakaoBigSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: KakaoBig; src: url("assets/fonts/KakaoBigSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: KakaoBig; src: url("assets/fonts/KakaoBigSans-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --yellow: #fee500;
  --yellow-soft: #fff6b8;
  --ink: #171717;
  --muted: #767676;
  --muted-2: #a2a2a2;
  --line: #e9e9e6;
  --line-strong: #d9d9d4;
  --paper: #fff;
  --cream: #f5f4f1;
  --blue: #2777ff;
  --red: #ec4b64;
  --green: #18a56b;
  --shadow: 0 18px 44px rgba(38, 35, 22, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: var(--cream); text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body { min-width: 320px; margin: 0; background: var(--cream); color: var(--ink); font-family: KakaoSmall, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
button, input { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgba(39,119,255,.35); outline-offset: 2px; }

.market-app { position: relative; width: min(100%, 520px); min-height: 100dvh; margin: 0 auto; padding-bottom: calc(104px + env(safe-area-inset-bottom)); overflow: hidden; background: var(--paper); box-shadow: 0 0 60px rgba(0,0,0,.06); }
.top-bar { height: 62px; padding: 0 16px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); }
.icon-button, .watch-button, .sheet-close, .nudge-close { width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); }
.icon-button { font-size: 29px; font-weight: 400; line-height: 1; }
.top-actions { display: flex; gap: 2px; }
.brand-lockup { display: flex; align-items: center; justify-self: center; gap: 5px; letter-spacing: -.055em; }
.brand-ci-crop { position: relative; width: 46px; height: 17px; overflow: hidden; border-radius: 3px; background: #ffcd00; }
.brand-ci-crop img { position: absolute; width: 176px; max-width: none; height: auto; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.brand-pay-mark { width: 27px; height: 27px; display: block; overflow: hidden; border-radius: 8px; background: white; }
.brand-pay-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kakao-mark { position: relative; width: 25px; height: 25px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50% 50% 50% 5px; background: var(--yellow); color: transparent; }
.kakao-mark::after { content: ""; position: absolute; left: 2px; bottom: -3px; width: 7px; height: 7px; background: var(--yellow); clip-path: polygon(0 0, 100% 0, 0 100%); }
.kakao-mark-lg { width: 34px; height: 34px; border-radius: 50% 50% 50% 7px; }
.kakao-mark-lg::after { left: 3px; bottom: -4px; width: 10px; height: 10px; }
.brand-bubble { position: relative; width: 16px; height: 16px; margin-right: 1px; border-radius: 50% 50% 50% 4px; background: var(--yellow); }
.brand-bubble::after { content: ""; position: absolute; right: 0; bottom: -3px; border-top: 5px solid var(--yellow); border-left: 5px solid transparent; }
.brand-name { font-family: KakaoBig, sans-serif; font-size: 14px; font-weight: 700; }
.brand-product { color: #747474; font-size: 10px; font-weight: 700; }
.demo-pill { margin-left: 3px; padding: 3px 5px; border: 1px solid #d9c200; border-radius: 999px; color: #746500; background: #fffbea; font-size: 6px; font-weight: 700; letter-spacing: .04em; }

.market-strip { height: 28px; padding: 0 20px; display: flex; align-items: center; gap: 7px; color: var(--muted); background: #fafaf8; font-size: 9px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(24,165,107,.10); }
.market-strip-divider { color: #cececa; }
#data-freshness.delayed { color: #b87a00; }

.stock-heading { padding: 23px 22px 18px; }
.stock-title-row { display: flex; justify-content: space-between; align-items: flex-start; }
.stock-name-line { display: flex; align-items: center; gap: 7px; }
.stock-name-line > span:first-child { font-family: KakaoBig, sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.055em; }
.stock-name-line small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.market-badge, .source-chip { padding: 4px 6px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-size: 8px; font-weight: 700; }
.price-line { display: flex; align-items: baseline; gap: 10px; margin-top: 9px; }
.price-line h1 { margin: 0; font-family: KakaoBig, sans-serif; font-size: clamp(28px, 8vw, 40px); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.change { font-size: 12px; font-weight: 700; }
.change.up { color: var(--red); }
.change.down { color: var(--blue); }
.change.neutral { color: var(--muted); }
.watch-button { width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); font-size: 23px; }
.watch-button[aria-pressed="true"] { border-color: #d2bd00; color: #ad9800; background: var(--yellow-soft); }
.as-of { margin: 9px 0 0; color: var(--muted-2); font-size: 9px; line-height: 1.5; }

.context-ribbon { min-height: 41px; margin: 0 20px 10px; padding: 9px 11px; display: flex; align-items: center; gap: 9px; border: 1px solid #f0e08b; border-radius: 10px; background: #fffbea; color: #665900; font-size: 10px; line-height: 1.45; }
.context-ribbon b { color: #302b00; }
.context-icon, .coach-symbol { display: grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; border-radius: 8px 8px 8px 2px; background: var(--yellow); color: var(--ink); font-size: 8px; font-weight: 800; }
.context-icon.kakao-mark, .coach-symbol.kakao-mark { border-radius: 50% 50% 50% 5px; background: var(--yellow); color: transparent; }
.kakao-pay-mark { overflow: hidden; background: white !important; }
.kakao-pay-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.context-icon.kakao-pay-mark { width: 25px; height: 25px; border-radius: 6px; }

.stock-tabs { height: 50px; padding: 0 13px; display: flex; gap: 1px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.stock-tabs::-webkit-scrollbar { display: none; }
.stock-tabs button { position: relative; flex: 1 0 52px; min-width: 48px; height: 50px; padding: 2px 5px 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #999; font-size: 11px; font-weight: 700; white-space: nowrap; }
.stock-tabs button.active { border-color: var(--ink); color: var(--ink); }
.new-dot { position: absolute; top: 13px; right: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

.view-stack { min-height: 600px; }
.stock-view { min-height: 600px; padding: 19px 22px 150px; }
.chart-view { padding-inline: 0; }
.chart-toolbar { height: 44px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.intervals { display: flex; align-items: center; gap: 2px; }
.intervals button { min-width: 35px; height: 30px; padding: 0 7px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 9px; }
.intervals button.active { background: var(--ink); color: white; font-weight: 700; }
.chart-label { color: var(--muted-2); font-size: 8px; }
.chart-stage { position: relative; height: 300px; overflow: hidden; }
.chart-stage::before { content: ""; position: absolute; inset: 0 22px; border-block: 1px solid #f3f3f0; pointer-events: none; }
#price-chart { width: calc(100% - 30px); height: 270px; margin: 5px 15px 0; overflow: visible; }
.grid-lines line { stroke: #f0f0ed; stroke-width: 1; }
#chart-path { fill: none; stroke: var(--blue); stroke-width: 2.3; vector-effect: non-scaling-stroke; }
#chart-area { fill: rgba(39,119,255,.07); stroke: none; }
#chart-last-dot { fill: var(--blue); stroke: var(--paper); stroke-width: 3; }
.chart-stage.positive #chart-path { stroke: var(--red); }
.chart-stage.positive #chart-area { fill: rgba(236,75,100,.07); }
.chart-stage.positive #chart-last-dot { fill: var(--red); }
.chart-labels { position: absolute; inset: 12px 22px 16px; pointer-events: none; }
.chart-labels span { position: absolute; right: 0; padding: 5px 7px; border-radius: 5px; background: var(--blue); color: white; font-size: 8px; font-weight: 700; transform: translateY(-50%); }
.chart-stage.positive .chart-labels span { background: var(--red); }
.chart-labels small { position: absolute; bottom: 0; color: #aaa; font-size: 8px; }
.chart-labels small:first-of-type { left: 0; }
.chart-labels small:last-of-type { right: 0; }
.chart-skeleton { position: absolute; inset: 24px 22px 46px; opacity: .7; background: linear-gradient(110deg, transparent 5%, #f0f0ed 5% 6%, transparent 6% 21%, #f0f0ed 21% 22%, transparent 22% 40%, #f0f0ed 40% 41%, transparent 41% 62%, #f0f0ed 62% 63%, transparent 63%); animation: pulse 1.2s ease-in-out infinite alternate; }
.chart-error { margin: 100px 24px 0; color: var(--muted); text-align: center; font-size: 12px; }
@keyframes pulse { to { opacity: .25; } }
.market-summary { margin: 0 22px; padding: 17px 0; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.market-summary div { min-width: 0; padding: 0 10px; border-right: 1px solid var(--line); }
.market-summary div:first-child { padding-left: 0; }
.market-summary div:last-child { padding-right: 0; border: 0; }
.market-summary span, .market-summary b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.market-summary span { margin-bottom: 6px; color: var(--muted-2); font-size: 8px; }
.market-summary b { font-family: KakaoBig, sans-serif; font-size: 11px; }

.news-panel { margin: 22px 22px 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.eyebrow, .view-kicker { display: block; margin-bottom: 6px; color: #a28e00; font-size: 9px; font-weight: 700; }
.section-heading h2, .stock-view h2 { margin: 0; font-family: KakaoBig, sans-serif; font-size: 20px; line-height: 1.35; letter-spacing: -.055em; }
.news-list { display: grid; gap: 1px; margin-top: 14px; border: 1px solid var(--line); background: var(--line); }
.news-item { padding: 13px 14px; background: white; text-decoration: none; }
.news-item:hover { background: #fffdf0; }
.news-item h3 { margin: 0; color: var(--ink); font-size: 11px; line-height: 1.5; }
.news-item p { margin: 6px 0 0; color: var(--muted); font-size: 8px; }
.news-loading { padding: 17px; display: flex; align-items: center; gap: 9px; color: var(--muted); background: white; font-size: 9px; }
.news-loading span { width: 14px; height: 14px; border: 2px solid #ddd; border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
.news-empty { padding: 17px; display: grid; gap: 5px; background: white; }
.news-empty b { color: var(--ink); font-size: 10px; }
.news-empty span { color: var(--muted); font-size: 8px; line-height: 1.5; }
.public-data-note { margin: 11px 22px 0; color: #aaa; font-size: 8px; line-height: 1.5; }

.info-list { margin-top: 27px; border-top: 1px solid var(--line); }
.info-list div { min-height: 61px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.info-list span { color: var(--muted); font-size: 11px; }
.info-list b { max-width: 65%; text-align: right; font-size: 11px; }
.empty-state { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-state > span { width: 52px; height: 52px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 17px; background: var(--yellow-soft); color: #776800; font-size: 20px; }
.empty-state h2 { font-size: 17px; }
.empty-state p { max-width: 300px; margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.view-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mock-badge { padding: 5px 7px; border: 1px solid #e4d36a; border-radius: 999px; background: #fffbea; color: #776500; font-size: 7px; font-weight: 700; white-space: nowrap; }
.orderbook-meta { margin-top: 23px; padding: 10px 0; display: flex; justify-content: space-between; border-block: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.orderbook-meta b { color: #8e7900; font-weight: 700; }
.orderbook-table { margin-top: 10px; display: grid; gap: 2px; }
.order-row { min-height: 32px; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; gap: 8px; font-size: 9px; }
.order-row > span { position: relative; z-index: 1; padding: 8px; }
.order-row .ask { color: var(--blue); text-align: right; background: linear-gradient(90deg, transparent, rgba(39,119,255,.08)); }
.order-row .bid { color: var(--red); background: linear-gradient(90deg, rgba(236,75,100,.08), transparent); }
.order-row .quantity { color: var(--muted); text-align: center; font-size: 8px; }
.orderbook-mid { margin: 13px 0; padding: 13px 15px; display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid #ead000; border-radius: 9px; background: #fffbea; }
.orderbook-mid span { color: #756d42; font-size: 8px; }
.orderbook-mid b { font-family: KakaoBig, sans-serif; font-size: 15px; }
.orderbook-mid small { grid-column: 1 / -1; margin-top: 3px; color: #a19870; font-size: 7px; }
.orderbook-note, .holding-note { margin-top: 13px; padding: 13px; border-left: 3px solid #e2c800; background: #fffbea; }
.orderbook-note b, .holding-note b { font-size: 9px; }
.orderbook-note p, .holding-note p { margin: 6px 0 0; color: #716944; font-size: 8px; line-height: 1.6; }
.holding-card { margin-top: 23px; padding: 16px; border-radius: 12px; background: var(--ink); color: white; }
.holding-card-head, .holding-main, .holding-profit { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.holding-card-head { color: #d1d1cb; font-size: 9px; }
.holding-card-head b { padding: 4px 6px; border-radius: 4px; background: var(--yellow); color: var(--ink); font-size: 7px; }
.holding-main { margin-top: 20px; align-items: flex-end; }
.holding-main div { min-width: 0; }
.holding-main small { display: block; color: #9b9b94; font-size: 7px; }
.holding-main strong { display: block; margin-top: 5px; font-family: KakaoBig, sans-serif; font-size: 13px; }
.holding-main strong em { margin-left: 2px; color: #aaa9a1; font-size: 8px; font-style: normal; }
.holding-profit { margin-top: 17px; padding-top: 11px; border-top: 1px solid #3b3b37; color: #aaa9a1; font-size: 8px; }
.holding-profit b { color: var(--yellow); font-size: 11px; }
.holding-input-card { margin-top: 10px; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 1px solid var(--line); border-radius: 10px; }
.holding-input-card > div { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.holding-input-card > div b { font-size: 10px; }
.holding-input-card > div span { color: var(--muted); font-size: 7px; }
.holding-input-card label { color: var(--muted); font-size: 8px; }
.holding-input-card input { width: 100%; height: 38px; margin-top: 5px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fafaf8; font-family: KakaoBig, sans-serif; font-size: 12px; }
.holding-input-card button { grid-column: 1 / -1; min-height: 39px; border: 0; border-radius: 7px; background: var(--yellow); color: var(--ink); font-size: 9px; font-weight: 700; }
.community-head { display: flex; align-items: flex-start; justify-content: space-between; }
.community-head > span { padding: 5px 7px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-size: 8px; }
.community-summary { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.community-summary div { min-width: 0; padding: 12px 8px; border-right: 1px solid var(--line); }
.community-summary div:last-child { border-right: 0; }
.community-summary small, .community-summary b { display: block; }
.community-summary small { color: var(--muted-2); font-size: 7px; }
.community-summary b { margin-top: 6px; font-size: 9px; line-height: 1.4; }
.community-filters { margin-top: 14px; display: flex; gap: 5px; }
.community-filters button { min-height: 28px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 99px; background: white; color: var(--muted); font-size: 8px; }
.community-filters button.active { border-color: var(--ink); background: var(--ink); color: white; }
.community-post { padding: 20px 0; border-bottom: 1px solid var(--line); }
.community-post div { display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 10px; }
.community-post i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow-soft); color: #776800; font-size: 8px; font-style: normal; }
.community-post b { font-size: 12px; line-height: 1.55; }
.community-post p { margin: 10px 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.community-post small { color: var(--muted-2); font-size: 8px; }
.community-warning { margin: 16px 0 0; padding: 13px; border-left: 3px solid #e6cc00; background: #fffbea; color: #716400; font-size: 9px; line-height: 1.6; }
.option-list { margin-top: 22px; border-top: 1px solid var(--line); }
.option-row { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); cursor: pointer; }
.option-row span { min-width: 0; }
.option-row b, .option-row small { display: block; }
.option-row b { font-size: 10px; }
.option-row small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.option-row input { position: absolute; opacity: 0; }
.option-row i { position: relative; width: 36px; height: 20px; flex: 0 0 36px; border-radius: 99px; background: #d9d9d4; }
.option-row i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: white; transition: transform .2s ease; }
.option-row input:checked + i { background: var(--ink); }
.option-row input:checked + i::after { transform: translateX(16px); background: var(--yellow); }
.option-card { margin-top: 18px; padding: 16px; border-radius: 11px; background: #fffbea; }
.option-card span, .option-card strong, .option-card p { display: block; }
.option-card span { color: #897800; font-size: 8px; font-weight: 700; }
.option-card strong { margin-top: 8px; font-family: KakaoBig, sans-serif; font-size: 14px; }
.option-card p { margin: 8px 0 14px; color: #756d42; font-size: 8px; line-height: 1.6; }
.option-card button { min-height: 37px; padding: 0 12px; border: 0; border-radius: 6px; background: var(--ink); color: white; font-size: 8px; font-weight: 700; }

.decision-zone { position: fixed; z-index: 40; inset: 0; width: 100%; pointer-events: none; }
.ai-nudge { position: absolute; left: max(12px, calc(50% - 260px)); top: 49%; width: min(252px, calc(100vw - 28px)); padding: 14px 15px 13px; display: grid; grid-template-columns: 34px 1fr; gap: 10px; border: 1px solid #ead000; border-radius: 15px 15px 15px 4px; background: #fffdf0; box-shadow: var(--shadow); pointer-events: auto; transform: translateY(-50%); animation: nudge-in .54s cubic-bezier(.16,1,.3,1) both; }
.ai-nudge.waiting { opacity: 0; transform: translate(calc(-100% - 26px), -50%); animation: none; pointer-events: none; }
.nudge-pointer { position: absolute; left: -6px; top: 38px; width: 11px; height: 11px; border-left: 1px solid #ead000; border-bottom: 1px solid #ead000; background: #fffdf0; transform: rotate(45deg); }
@keyframes nudge-in {
  0% { opacity: 0; transform: translate(calc(-100% - 26px), -50%); }
  72% { opacity: 1; transform: translate(7px, -50%); }
  100% { opacity: 1; transform: translate(0, -50%); }
}
.nudge-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px 11px 11px 3px; background: var(--yellow); color: var(--ink); font-size: 9px; font-weight: 800; }
.nudge-mark.kakao-pay-mark { border-radius: 8px; background: white; }
.nudge-copy { min-width: 0; padding-right: 14px; }
.nudge-copy > span { display: block; margin-bottom: 4px; color: #9d8b00; font-size: 8px; font-weight: 700; }
.nudge-copy h2 { margin: 0; font-family: KakaoBig, sans-serif; color: var(--ink); font-size: 13px; line-height: 1.45; letter-spacing: -.04em; word-break: keep-all; }
.nudge-copy h2 b { color: #8f7900; }
.nudge-copy p { margin: 6px 0 0; color: #807a55; font-size: 9px; line-height: 1.5; }
.nudge-close { position: absolute; top: 4px; right: 3px; color: #9d9270; font-size: 19px; }
.nudge-cta { grid-column: 1 / -1; min-height: 40px; margin-top: 2px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 8px; background: var(--yellow); color: var(--ink); font-size: 10px; font-weight: 700; }
.nudge-cta:active { transform: scale(.99); }
.trade-dock { position: absolute; bottom: 0; left: 50%; width: min(100%, 520px); min-height: calc(82px + env(safe-area-inset-bottom)); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: minmax(118px,.9fr) 1fr 1fr; gap: 7px; transform: translateX(-50%); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -10px 28px rgba(0,0,0,.05); pointer-events: auto; }
.quick-order { display: grid; grid-template-columns: 1fr 46px; gap: 4px; }
.quick-order button { min-width: 0; padding: 0 8px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border: 1px solid var(--line-strong); border-radius: 8px; background: #fafaf8; color: var(--ink); }
.quick-order button span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; font-family: KakaoBig, sans-serif; font-size: 10px; white-space: nowrap; }
.quick-order button i { margin-top: 3px; color: var(--muted-2); font-size: 8px; font-style: normal; }
.trade-button { min-height: 54px; border: 0; border-radius: 8px; color: white; font-size: 13px; font-weight: 700; }
.trade-button.sell { background: var(--blue); }
.trade-button.buy { background: var(--red); }
.trade-button:active { filter: brightness(.9); }

.coach-sheet { width: min(100%, 520px); max-width: none; height: min(90dvh, 860px); max-height: none; margin: auto auto 0; padding: 0; overflow: hidden; border: 0; border-radius: 22px 22px 0 0; background: #fff; color: var(--ink); box-shadow: 0 -15px 60px rgba(0,0,0,.18); }
.coach-sheet[open] { display: grid; grid-template-rows: auto auto auto auto 1fr auto; animation: sheet-up .42s cubic-bezier(.16,1,.3,1) both; }
.coach-sheet::backdrop { background: rgba(20,20,16,.34); backdrop-filter: blur(2px); }
.coach-sheet:focus { outline: none; }
@keyframes sheet-up { from { opacity: 0; transform: translateY(54px) scale(.985); } }
.sheet-handle { width: 36px; height: 4px; margin: 9px auto 1px; border-radius: 99px; background: #d4d4d0; }
.coach-header { min-height: 64px; padding: 8px 13px 8px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.coach-identity { display: flex; align-items: center; gap: 10px; }
.coach-symbol { width: 34px; height: 34px; font-size: 9px; }
.coach-symbol.kakao-pay-mark { border-radius: 8px; background: white; }
.coach-identity small, .coach-identity b { display: block; }
.coach-identity small { margin-bottom: 3px; color: var(--muted); font-size: 8px; }
.coach-identity b { font-family: KakaoBig, sans-serif; font-size: 13px; }
.sheet-close { color: var(--muted); font-size: 22px; }
.coach-progress { padding: 10px 18px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.coach-progress span { min-width: 0; display: flex; align-items: center; gap: 4px; color: #aaa9a1; font-size: 7px; font-weight: 700; white-space: nowrap; }
.coach-progress span::after { content: ""; height: 2px; flex: 1; border-radius: 99px; background: #e9e9e4; }
.coach-progress span:last-child::after { display: none; }
.coach-progress i { width: 18px; height: 18px; display: grid; place-items: center; flex: 0 0 18px; border-radius: 50%; background: #ecece7; color: #8c8c86; font-size: 7px; font-style: normal; }
.coach-progress span.active { color: var(--ink); }
.coach-progress span.active i { background: var(--yellow); color: var(--ink); }
.coach-progress span.done { color: #7d7100; }
.coach-progress span.done i { background: var(--ink); color: var(--yellow); }
.coach-progress span.done::after { background: #d9c322; }
.intent-picker { margin: 12px 18px 0; padding: 14px 16px 0; }
.intent-step { display: inline-block; margin-bottom: 8px; color: #9a8a00; font-size: 8px; font-weight: 700; }
.intent-picker h2 { margin: 0; font-family: KakaoBig, sans-serif; font-size: 23px; line-height: 1.3; letter-spacing: -.065em; }
.intent-picker p { margin: 9px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.coach-content { overflow-y: auto; overscroll-behavior: contain; padding: 18px 18px 30px; }
.coach-loading { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 14px; color: var(--muted); text-align: center; font-size: 11px; }
.coach-loading span { width: 28px; height: 28px; border: 3px solid #deded9; border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.intent-options { display: grid; gap: 8px; }
.intent-options button { min-height: 82px; padding: 14px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line-strong); border-radius: 11px; background: white; color: var(--ink); text-align: left; }
.intent-options button:hover, .intent-options button:focus-visible { border-color: var(--ink); background: #fffbea; }
.intent-options button b { font-family: KakaoBig, sans-serif; font-size: 16px; letter-spacing: -.04em; white-space: nowrap; }
.intent-options button span { color: var(--muted); font-size: 8px; line-height: 1.45; text-align: right; }
.intent-options button i { margin-left: 3px; color: #967f00; font-size: 12px; font-style: normal; }
.dilemma-options button { min-height: 74px; }
.dilemma-options button b { max-width: 62%; white-space: normal; line-height: 1.35; }
.portfolio-step { padding-bottom: 8px; }
.portfolio-badge { margin-top: 16px; padding: 12px 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-left: 4px solid var(--yellow); background: #fffbea; }
.portfolio-badge span { color: #8c7900; font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.portfolio-badge b { font-size: 9px; }
.portfolio-form { margin-top: 9px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.portfolio-form label { min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 9px; background: #fafaf8; }
.portfolio-form label > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 8px; font-weight: 700; }
.portfolio-form label div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px; }
.portfolio-form input { min-width: 0; width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: KakaoBig, sans-serif; font-size: 14px; font-weight: 700; }
.portfolio-form i { color: var(--muted-2); font-size: 8px; font-style: normal; }
.portfolio-context { margin-top: 8px; padding: 10px 11px; display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; border: 1px solid var(--line); border-radius: 8px; }
.portfolio-context span { color: var(--muted); font-size: 7px; text-align: center; }
.portfolio-context b { display: block; margin-top: 4px; color: var(--ink); font-size: 8px; }
.portfolio-error { margin: 8px 0 0 !important; padding: 9px 10px; border-radius: 7px; background: #fff0f2; color: #ad2440 !important; font-size: 8px !important; }
.report-cta { width: 100%; min-height: 50px; margin-top: 13px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 9px; background: var(--yellow); color: var(--ink); font-size: 10px; font-weight: 800; }
.report-cta span { font-size: 14px; }
.stage-disclaimer { display: block; margin-top: 8px; color: var(--muted-2); font-size: 7px; line-height: 1.5; text-align: center; }
.report-loading { min-height: 430px; display: grid; place-items: center; align-content: center; gap: 11px; text-align: center; }
.report-loading > span { width: 34px; height: 34px; border: 4px solid #e5e5df; border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
.report-loading h2 { margin: 7px 0 0; font-family: KakaoBig, sans-serif; font-size: 19px; line-height: 1.45; }
.report-loading p { margin: 0; color: var(--muted); font-size: 9px; }
.timing-report { padding-bottom: 10px; }
.analysis-stage { max-width: 390px; margin: 0 auto; padding: 7px 1px 16px; }
.analysis-stage-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.analysis-stage-head span { color: #8e7900; font-size: 10px; font-weight: 800; }
.analysis-stage-head b { color: var(--muted); font-size: 9px; }
.analysis-stage h2 { margin: 15px 0 0; font-family: KakaoBig, sans-serif; font-size: 26px; line-height: 1.35; letter-spacing: -.03em; word-break: keep-all; }
.analysis-stage > p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.analysis-meter { height: 3px; margin-top: 19px; overflow: hidden; border-radius: 99px; background: #ecece7; }
.analysis-meter i { width: 100%; height: 100%; display: block; border-radius: inherit; background: var(--yellow); transform: translateX(-100%); animation: analysis-fill 4.8s cubic-bezier(.22, .75, .25, 1) forwards; }
.analysis-checks { margin: 11px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.analysis-checks li { min-height: 68px; padding: 10px 1px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); opacity: .48; transition: opacity .22s ease, transform .22s ease; }
.analysis-checks li:first-child, .analysis-checks li.done { opacity: 1; }
.analysis-checks li > i { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #efefe9; color: #8c8c85; font-size: 9px; font-style: normal; font-weight: 800; transition: background .22s ease, color .22s ease; }
.analysis-checks li:first-child > i, .analysis-checks li.done > i { background: var(--ink); color: var(--yellow); }
.analysis-checks li div { min-width: 0; }
.analysis-checks li b, .analysis-checks li span { display: block; }
.analysis-checks li b { font-size: 12px; }
.analysis-checks li span { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.analysis-checks li em { color: var(--muted-2); font-size: 9px; font-style: normal; }
.analysis-checks li:first-child em, .analysis-checks li.done em { color: #746300; font-weight: 700; }
.analysis-ai-line { margin-top: 16px; display: flex; align-items: center; gap: 8px; color: #5f5f59; }
.analysis-ai-line > span { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(254, 229, 0, .5); animation: analysis-pulse 1.2s ease-out infinite; }
.analysis-ai-line b { font-size: 10px; }
@keyframes analysis-fill { to { transform: translateX(-6%); } }
@keyframes analysis-pulse { 70% { box-shadow: 0 0 0 7px rgba(254, 229, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(254, 229, 0, 0); } }
.report-overline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.report-overline span { color: #8d7b00; font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.report-overline b { color: var(--muted); font-size: 8px; }
.timing-hero { margin-top: 10px; padding: 18px; border-radius: 13px; background: var(--ink); color: white; }
.timing-hero.sell { box-shadow: inset 4px 0 0 #4aa9ff; }
.timing-hero.buy { box-shadow: inset 4px 0 0 #ff5e73; }
.timing-hero.wait { box-shadow: inset 4px 0 0 var(--yellow); }
.timing-hero > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.timing-hero > div span { padding: 5px 7px; border-radius: 4px; background: var(--yellow); color: var(--ink); font-size: 7px; font-weight: 800; }
.timing-hero.sell > div span { background: #dcedff; color: #075f9f; }
.timing-hero.buy > div span { background: #ffe0e5; color: #aa1931; }
.timing-hero small { color: #aaa9a1; font-size: 7px; }
.timing-hero h2 { margin: 14px 0 0; font-family: KakaoBig, sans-serif; font-size: 22px; line-height: 1.38; letter-spacing: -.055em; word-break: keep-all; }
.timing-hero p { margin: 9px 0 0; color: #bcbcb7; font-size: 9px; line-height: 1.55; }
.portfolio-scoreboard { margin-top: 8px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.portfolio-scoreboard div { min-width: 0; padding: 12px 9px; border-right: 1px solid var(--line); background: white; }
.portfolio-scoreboard div:last-child { border: 0; }
.portfolio-scoreboard span, .portfolio-scoreboard b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portfolio-scoreboard span { color: var(--muted); font-size: 7px; }
.portfolio-scoreboard b { margin-top: 7px; font-family: KakaoBig, sans-serif; font-size: 11px; }
.portfolio-scoreboard b.up { color: var(--red); }
.portfolio-scoreboard b.down { color: var(--blue); }
.portfolio-scoreboard b.warn { color: #a87500; }
.visual-evidence { margin-top: 19px; }
.evidence-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.evidence-head span { font-family: KakaoBig, sans-serif; font-size: 14px; font-weight: 700; }
.evidence-head b { color: var(--muted); font-size: 7px; }
.visual-evidence article { padding: 13px; border: 1px solid var(--line); border-bottom: 0; background: white; }
.visual-evidence article:nth-child(2) { border-radius: 10px 10px 0 0; }
.visual-evidence article:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.visual-evidence article > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.visual-evidence article > div:first-child span { color: var(--muted); font-size: 8px; font-weight: 700; }
.visual-evidence article > div:first-child b { font-size: 9px; }
.visual-evidence article > p { margin: 10px 0 0; color: #66665f; font-size: 8px; line-height: 1.55; }
.metric-track { position: relative; height: 7px; margin-top: 13px; border-radius: 99px; background: #ededE8; }
.metric-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#fee500,#e98900); }
.metric-track em { position: absolute; top: -5px; width: 1px; height: 17px; background: var(--ink); color: transparent; font-size: 0; }
.day-range { position: relative; height: 8px; margin-top: 13px; border-radius: 99px; background: linear-gradient(90deg,#388bff,#e9e9e4 50%,#ef5268); }
.day-range i { position: absolute; top: 50%; width: 13px; height: 13px; border: 3px solid white; border-radius: 50%; background: var(--ink); transform: translate(-50%,-50%); box-shadow: 0 0 0 1px var(--ink); }
.day-range span { position: absolute; top: 12px; color: var(--muted-2); font-size: 6px; }
.day-range span:last-child { right: 0; }
.news-pulse { height: 34px; margin-top: 9px; display: flex; align-items: end; gap: 4px; }
.news-pulse i { flex: 1; border-radius: 3px 3px 0 0; background: var(--yellow); }
.report-news { margin-top: 12px; padding: 13px; border-radius: 10px; background: #f5f5f1; }
.report-news > div { display: flex; justify-content: space-between; margin-bottom: 7px; }
.report-news > div span, .report-news > div b { font-size: 7px; }
.report-news > div span { color: var(--muted); }
.report-news a { padding: 8px 0; display: grid; grid-template-columns: 1fr auto; gap: 8px; border-top: 1px solid #e4e4de; color: var(--ink); font-size: 8px; line-height: 1.4; text-decoration: none; }
.report-news a i { color: var(--muted); font-style: normal; }
.report-boundary { margin: 8px 0 0; color: var(--muted-2); font-size: 7px; line-height: 1.5; text-align: center; }
.action-plan-list { margin: 18px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.action-plan-list li { padding: 14px; display: grid; grid-template-columns: 30px 1fr; gap: 11px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.action-plan-list li > b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--yellow); font-size: 9px; }
.action-plan-list span { color: #897700; font-size: 7px; font-weight: 800; }
.action-plan-list p { margin: 5px 0 0 !important; color: var(--ink) !important; font-size: 10px !important; line-height: 1.55 !important; }
.action-risk { margin-top: 10px; padding: 13px; border-left: 3px solid #e1c800; background: #fffbea; }
.action-risk b { font-size: 8px; }
.action-risk p { margin: 5px 0 0 !important; color: #6a6031 !important; font-size: 8px !important; line-height: 1.5 !important; }
.stage-screen { min-height: 410px; display: flex; flex-direction: column; animation: reveal-step .28s ease both; }
.stage-kicker { display: inline-block; margin-bottom: 9px; color: #9a8a00; font-size: 8px; font-weight: 700; }
.stage-screen h2 { margin: 0; font-family: KakaoBig, sans-serif; font-size: 23px; line-height: 1.35; letter-spacing: -.06em; }
.stage-screen > p { margin: 9px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.stage-choice-list, .evidence-focus-list { display: grid; gap: 7px; margin-top: 24px; }
.stage-choice-list button, .evidence-focus-list button { min-height: 62px; padding: 12px 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line-strong); border-radius: 9px; background: white; color: var(--ink); text-align: left; }
.stage-choice-list button:hover, .stage-choice-list button:focus-visible, .evidence-focus-list button:hover, .evidence-focus-list button:focus-visible { border-color: var(--ink); background: #fffbea; }
.stage-choice-list b, .evidence-focus-list b { font-family: KakaoBig, sans-serif; font-size: 13px; }
.stage-choice-list span, .evidence-focus-list span { color: var(--muted); font-size: 8px; }
.stage-choice-list i { margin-left: 4px; color: #917900; font-size: 12px; font-style: normal; }
.evidence-focus-list { grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
.evidence-focus-list button { min-height: 82px; display: block; padding: 11px 9px; }
.evidence-focus-list b, .evidence-focus-list span { display: block; }
.evidence-focus-list b { font-size: 10px; }
.evidence-focus-list span { margin-top: 7px; line-height: 1.4; }
.evidence-focus-list button.selected { border: 2px solid var(--ink); padding: 10px 8px; background: #fffbea; }
.evidence-snapshot { margin-top: 13px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fafaf8; }
.snapshot-row { min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); font-size: 8px; }
.snapshot-row:last-of-type { border-bottom: 0; }
.snapshot-row span, .snapshot-news > span { color: var(--muted); }
.snapshot-row b { font-family: KakaoBig, sans-serif; font-size: 10px; }
.snapshot-row b em { margin-left: 4px; color: var(--red); font-size: 8px; font-style: normal; }
.snapshot-news { padding-top: 9px; font-size: 8px; }
.snapshot-news > div { margin-top: 7px; display: grid; gap: 5px; }
.snapshot-news a { min-width: 0; padding: 7px; display: block; border-radius: 5px; background: white; color: var(--ink); text-decoration: none; }
.snapshot-news a b, .snapshot-news a span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.snapshot-news a b { font-size: 8px; }
.snapshot-news a span { margin-top: 3px; color: var(--muted-2); font-size: 7px; }
.stage-muted { margin: 7px 0 0; color: var(--muted-2); font-size: 8px; }
.stage-next { min-height: 46px; margin-top: 12px; border: 0; border-radius: 8px; background: var(--ink); color: white; font-size: 10px; font-weight: 700; }
.stage-next span { margin-left: 6px; color: var(--yellow); }
.stage-next:disabled { opacity: .35; cursor: not-allowed; }
.stage-source { margin-top: auto !important; color: var(--muted-2) !important; font-size: 7px !important; }
.stage-loading { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--muted); text-align: center; font-size: 10px; }
.stage-loading span, .analysis-loading span { width: 26px; height: 26px; border: 3px solid #deded9; border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
.compact-verdict { margin-top: 17px; padding: 15px; border-radius: 11px; background: var(--ink); color: white; }
.compact-verdict > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.compact-verdict .stance { padding: 5px 7px; border-radius: 4px; background: var(--yellow); color: var(--ink); font-size: 7px; font-weight: 700; }
.compact-verdict .stance.sell { background: #dcedff; color: #0562a8; }
.compact-verdict .stance.buy { background: #ffe0e5; color: #ae1730; }
.compact-verdict .stance.unknown { background: #e8e8e4; color: #5f5f59; }
.compact-verdict small { color: #aaa9a1; font-size: 7px; }
.compact-verdict h3 { margin: 12px 0 0; font-family: KakaoBig, sans-serif; font-size: 17px; line-height: 1.4; letter-spacing: -.05em; }
.compact-verdict p { margin: 8px 0 0; color: #bdbdb8; font-size: 9px; line-height: 1.55; }
.decision-question { margin-top: 18px !important; font-family: KakaoBig, sans-serif; font-size: 13px !important; color: var(--ink) !important; }
.decision-choice-list { margin-top: 9px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.decision-choice-list button { min-height: 77px; padding: 10px 8px; border: 1px solid var(--line-strong); border-radius: 8px; background: white; color: var(--ink); text-align: left; }
.decision-choice-list b, .decision-choice-list span { display: block; }
.decision-choice-list b { font-family: KakaoBig, sans-serif; font-size: 10px; line-height: 1.35; }
.decision-choice-list span { margin-top: 6px; color: var(--muted); font-size: 7px; line-height: 1.35; }
.decision-choice-list button.selected { border: 2px solid var(--ink); padding: 9px 7px; background: #fffbea; }
.decision-response { margin-top: 8px; padding: 11px; border-radius: 7px; background: #fffbea; }
.decision-response b { font-size: 9px; }
.decision-response p { margin: 4px 0 0; color: #756d42; font-size: 8px; line-height: 1.5; }
.decision-evidence { margin-top: 13px; padding-top: 10px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); }
.decision-evidence b { font-size: 8px; }
.decision-evidence span { color: var(--muted); font-size: 7px; }
.coach-question { margin: 0 0 10px; color: var(--muted); font-size: 9px; font-weight: 700; }
.execution-choice { margin-bottom: 12px; padding: 18px; border: 2px solid var(--ink); border-radius: 14px; background: white; }
.execution-heading > span { display: inline-block; margin-bottom: 8px; padding: 5px 7px; border-radius: 4px; background: var(--yellow); color: var(--ink); font-size: 8px; font-weight: 700; }
.execution-heading h2 { margin: 0; font-family: KakaoBig, sans-serif; font-size: 22px; font-weight: 800; line-height: 1.35; letter-spacing: -.055em; word-break: keep-all; }
.execution-heading p { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.execution-options { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.execution-options button { min-width: 0; min-height: 112px; padding: 13px 11px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line-strong); border-radius: 10px; background: #fafaf8; color: var(--ink); text-align: left; }
.execution-options button.guided { position: relative; border-color: #d9c400; background: #fffdf0; }
.execution-options button em { position: absolute; top: 8px; right: 8px; padding: 3px 5px; border-radius: 999px; background: var(--yellow); color: #5d5100; font-size: 6px; font-style: normal; font-weight: 700; }
.execution-options button > span { color: #887600; font-size: 9px; font-weight: 700; }
.execution-options button b { margin-top: 10px; font-family: KakaoBig, sans-serif; font-size: 14px; line-height: 1.35; word-break: keep-all; }
.execution-options button small { margin-top: auto; padding-top: 10px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.execution-options button.selected { border-color: var(--ink); background: var(--ink); color: white; box-shadow: inset 0 0 0 1px var(--ink); }
.execution-options button.selected em { background: var(--yellow); color: var(--ink); }
.execution-options button.selected > span { color: var(--yellow); }
.execution-options button.selected small { color: #aaa; }
.plan-result { margin-top: 9px; padding: 14px; border-radius: 10px; background: #fffbea; }
.plan-result > span { color: #857300; font-size: 8px; font-weight: 700; }
.plan-result h3 { margin: 7px 0 0; font-family: KakaoBig, sans-serif; font-size: 13px; line-height: 1.5; }
.plan-result ol { margin: 11px 0 0; padding-left: 18px; color: #4d4d48; font-size: 9px; line-height: 1.7; }
.plan-result p { margin: 11px 0 0; padding-top: 10px; border-top: 1px solid #e8db87; color: #625800; font-size: 9px; line-height: 1.6; }
.plan-result p b { margin-right: 5px; }
.analysis-after-plan { margin-top: 12px; animation: reveal-step .35s ease both; }
.analysis-loading { min-height: 170px; display: grid; place-items: center; align-content: center; gap: 12px; border-radius: 12px; background: #f7f7f3; color: var(--muted); text-align: center; font-size: 9px; line-height: 1.6; }
.analysis-loading span { width: 24px; height: 24px; border: 3px solid #deded9; border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
.restart-flow { width: 100%; min-height: 44px; margin-top: 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: white; color: #66665f; font-size: 9px; font-weight: 700; }
@keyframes reveal-step { from { opacity: 0; transform: translateY(10px); } }
.verdict-card { padding: 18px; border-radius: 12px; background: var(--ink); color: white; }
.verdict-card > span { display: inline-block; margin-bottom: 11px; padding: 5px 7px; border-radius: 4px; background: var(--yellow); color: var(--ink); font-size: 8px; font-weight: 700; }
.verdict-meta { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.verdict-meta .stance { padding: 6px 8px 5px; border-radius: 4px; background: var(--yellow); color: var(--ink); font-size: 8px; font-weight: 700; }
.verdict-meta .stance.sell { background: #dcedff; color: #0562a8; }
.verdict-meta .stance.buy { background: #ffe0e5; color: #ae1730; }
.verdict-meta .stance.unknown { background: #e8e8e4; color: #5f5f59; }
.verdict-meta small { color: #858580; font-size: 7px; letter-spacing: .05em; }
.verdict-card h2 { margin: 0; font-family: KakaoBig, sans-serif; font-size: 20px; line-height: 1.45; letter-spacing: -.055em; word-break: keep-all; }
.verdict-card p { margin: 11px 0 0; color: #bdbdb8; font-size: 10px; line-height: 1.65; }
.plain-flow { margin-top: 9px; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: white; }
.plain-flow div { min-height: 61px; padding: 12px 13px; display: grid; grid-template-columns: 64px 1fr; align-items: start; gap: 8px; border-bottom: 1px solid var(--line); }
.plain-flow div:last-child { border-bottom: 0; }
.plain-flow b { padding-top: 2px; color: var(--ink); font-size: 9px; }
.plain-flow span { color: #61615c; font-size: 10px; line-height: 1.55; word-break: keep-all; }
.plain-flow div:first-child { background: #fffbea; }
.plain-flow div:first-child b { color: #8d7900; }
.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.section-row small { display: block; margin-bottom: 4px; color: #9a8a00; font-size: 7px; font-weight: 700; letter-spacing: .08em; }
.section-row h3 { margin: 0; font-family: KakaoBig, sans-serif; font-size: 15px; letter-spacing: -.035em; }
.section-row > span { color: var(--muted); font-size: 8px; }
.action-roadmap { margin-top: 24px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.action-roadmap ol { margin: 16px 0 0; padding: 0; display: grid; gap: 13px; list-style: none; }
.action-roadmap li { display: grid; grid-template-columns: 25px 1fr; align-items: start; gap: 9px; }
.action-roadmap li b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--yellow); font-size: 8px; }
.action-roadmap li span { padding-top: 4px; color: #44443f; font-size: 10px; line-height: 1.55; word-break: keep-all; }
.execution-compare { margin-top: 12px; padding: 17px; border: 1px solid #ead000; border-radius: 12px; background: #fffdf0; }
.execution-compare > p { margin: 9px 0 12px; color: #756d42; font-size: 9px; line-height: 1.55; }
.execution-input { height: 46px; display: grid; grid-template-columns: 1fr auto auto; border: 1px solid #d9d1a0; border-radius: 8px; overflow: hidden; background: white; }
.execution-input input { min-width: 0; padding: 0 4px 0 12px; border: 0; color: var(--ink); font-family: KakaoBig, sans-serif; font-size: 15px; font-weight: 700; }
.execution-input input:focus { outline: 0; }
.execution-input > span { padding: 0 8px; display: flex; align-items: center; color: var(--muted); font-size: 8px; }
.execution-input button { padding: 0 12px; border: 0; background: var(--ink); color: white; font-size: 8px; font-weight: 700; }
.execution-cards { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.execution-card { min-width: 0; padding: 13px; border: 1px solid #deded8; border-radius: 9px; background: white; }
.execution-card.picked { border: 2px solid var(--ink); padding: 12px; }
.execution-card > div { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.execution-card > div span { font-size: 9px; font-weight: 700; }
.execution-card > div b { padding: 4px 5px; border-radius: 3px; background: var(--yellow); color: var(--ink); font-size: 6px; }
.execution-card strong { display: block; margin-top: 12px; font-family: KakaoBig, sans-serif; font-size: 14px; letter-spacing: -.04em; }
.execution-card > p { margin: 10px 0 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.execution-card ol { margin: 9px 0 0; padding: 0; display: grid; gap: 5px; list-style: none; }
.execution-card li { display: flex; align-items: center; gap: 6px; }
.execution-card li i { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: #f0f0ec; color: #777; font-size: 6px; font-style: normal; }
.execution-card li span { min-width: 0; overflow: hidden; font-family: KakaoBig, sans-serif; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.execution-error { margin: 10px 0 0; padding: 10px; border-radius: 7px; background: #fff0f2; color: #b02a40; font-size: 9px; }
.news-brief { margin-top: 12px; padding: 17px; border-radius: 12px; background: #f3f3f0; }
.news-brief .news-list { margin-top: 13px; display: grid; gap: 6px; border: 0; background: transparent; }
.news-card { min-height: 67px; padding: 11px; display: grid; grid-template-columns: 22px 1fr 14px; align-items: start; gap: 8px; border: 1px solid var(--line-strong); border-radius: 8px; background: white; color: var(--ink); text-decoration: none; }
.news-card > i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-size: 7px; font-style: normal; font-weight: 700; }
.news-card div { min-width: 0; }
.news-card b { display: -webkit-box; overflow: hidden; font-size: 10px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; }
.news-card em { color: var(--muted-2); font-size: 10px; font-style: normal; }
.news-card:focus-visible { border-color: var(--ink); }
.news-empty { margin: 13px 0 0; padding: 14px; border-radius: 8px; background: white; color: var(--muted); font-size: 9px; line-height: 1.6; }
.news-brief > p { margin: 10px 0 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.reason-prompt { margin-top: 23px; }
.reason-prompt > p { margin: 0 0 10px; font-family: KakaoBig, sans-serif; font-size: 14px; font-weight: 700; }
.reason-buttons { display: grid; gap: 6px; }
.reason-buttons button { min-height: 49px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line-strong); border-radius: 8px; background: white; color: var(--ink); text-align: left; font-size: 10px; font-weight: 700; }
.reason-buttons button span { color: var(--muted-2); }
.reason-buttons button.selected { border-color: var(--ink); background: var(--ink); color: white; }
.reason-buttons button.selected span { color: var(--yellow); }
.reason-response { margin-top: 7px; padding: 14px; border-left: 3px solid #e2c800; border-radius: 0 7px 7px 0; background: #fffbea; }
.reason-response b { display: block; margin-bottom: 6px; font-size: 11px; }
.reason-response p { margin: 0; color: #666660; font-size: 9px; line-height: 1.65; }
.evidence-details { margin-top: 22px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.evidence-details summary { min-height: 54px; padding: 0 2px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; }
.evidence-details summary::-webkit-details-marker { display: none; }
.evidence-details summary span { color: #3e3e39; font-size: 10px; font-weight: 700; }
.evidence-details summary b { color: var(--muted); font-size: 8px; }
.evidence-details[open] { padding-bottom: 15px; }
.evidence-links { margin-top: 10px; display: grid; gap: 5px; }
.evidence-links a { padding: 10px 11px; border: 1px solid var(--line); border-radius: 7px; background: white; color: #4d4d48; font-size: 8px; line-height: 1.4; text-decoration: none; }
.evidence-title { margin: 25px 0 11px; display: flex; align-items: center; justify-content: space-between; }
.evidence-title h3 { margin: 0; font-family: KakaoBig, sans-serif; font-size: 14px; }
.evidence-title span { color: var(--muted); font-size: 8px; }
.signal-list { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--line); }
.signal-item { min-height: 65px; padding: 12px 13px; display: grid; grid-template-columns: 27px 1fr; column-gap: 10px; background: white; }
.signal-item i { grid-row: 1 / 3; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow-soft); color: #736200; font-size: 9px; font-style: normal; font-weight: 700; }
.signal-item b { font-size: 10px; }
.signal-item span { margin-top: 3px; color: #7c7c77; font-size: 9px; line-height: 1.5; }
.unknown-box { margin-top: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: #fafaf8; }
.unknown-box b { display: block; margin-bottom: 5px; font-size: 9px; }
.unknown-box p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.agent-note { margin: 16px 0 0; padding: 14px 14px 14px 42px; position: relative; border: 1px solid var(--line); border-radius: 8px; background: white; color: #4c4c48; font-size: 10px; line-height: 1.65; }
.agent-note::before { content: ""; position: absolute; top: 13px; left: 12px; width: 22px; height: 22px; border-radius: 6px; background: white url("assets/brand/kakaopay-pay-mark.png") center / cover no-repeat; }
.agent-note::after { display: none; }
.personalize-button { width: 100%; min-height: 50px; margin-top: 16px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line-strong); border-radius: 8px; background: white; color: var(--ink); font-size: 11px; font-weight: 700; }
.criteria-panel { padding: 15px; border: 1px solid var(--line); border-top: 0; background: white; }
.criteria-panel p { margin: 0 0 13px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.criteria-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.criteria-row label { min-width: 0; }
.criteria-row label span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 8px; font-weight: 700; }
.criteria-row input { width: 100%; height: 46px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 7px; background: #fafaf8; color: var(--ink); }
.criteria-row button { align-self: end; min-height: 46px; padding: 0 15px; border: 0; border-radius: 7px; background: var(--ink); color: white; font-size: 9px; font-weight: 700; }
.personal-result { margin: 12px 0 0 !important; padding: 11px; background: #f3f3ef; color: #3c3c38 !important; }
.decision-actions { margin-top: 18px; display: grid; gap: 7px; }
.decision-actions button { min-height: 50px; padding: 0 14px; border: 0; border-radius: 8px; font-size: 10px; font-weight: 700; }
.decision-actions .primary { background: var(--yellow); color: var(--ink); }
.decision-actions .secondary { border: 1px solid var(--line-strong); background: transparent; color: #555550; }
.decision-note { margin: 10px 0 0; color: var(--muted); font-size: 8px; line-height: 1.6; text-align: center; }
.coach-error { padding: 40px 15px; text-align: center; }
.coach-error h2 { font-size: 17px; }
.coach-error p { color: var(--muted); font-size: 10px; line-height: 1.7; }
.coach-error button { min-height: 46px; margin-top: 15px; padding: 0 18px; border: 0; border-radius: 7px; background: var(--ink); color: white; }
.coach-boundary { min-height: calc(48px + env(safe-area-inset-bottom)); padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); background: #fafaf8; color: var(--muted); font-size: 7px; }
.coach-boundary b { color: #4c4c48; }

/* Decision-first mobile report */
.selected-dilemma { width: fit-content; padding: 5px 8px; display: inline-flex; border-radius: 4px; background: var(--yellow); color: var(--ink); font-size: 9px; font-weight: 800; }
.portfolio-compact { margin-top: 16px; }
.portfolio-compact label { min-height: 72px; background: white; }
.report-loading.compact { min-height: 250px; }
.report-loading.compact h2 { font-size: 20px; }
.decision-report { max-width: 100%; padding-bottom: 6px; }
.decision-report-head { padding: 2px 1px 15px; }
.decision-report-head > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.decision-report-head span { color: #8b7800; font-size: 10px; font-weight: 800; }
.decision-report-head small { color: var(--muted); font-size: 9px; }
.decision-report-head h2 { max-width: 340px; margin: 9px 0 0; font-family: KakaoBig, sans-serif; font-size: 25px; line-height: 1.32; letter-spacing: -.03em; word-break: keep-all; }
.today-action { padding: 18px; border-radius: 14px; background: var(--ink); color: white; }
.today-action > span { display: block; color: #bcbcb6; font-size: 10px; font-weight: 700; }
.today-action > strong { display: block; margin-top: 7px; font-family: KakaoBig, sans-serif; font-size: 25px; line-height: 1.25; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.today-action > p { margin: 12px 0 0; padding-top: 11px; border-top: 1px solid #3a3a36; color: #d7d7d1; font-size: 10px; line-height: 1.45; }
.today-action > p b { margin-right: 5px; color: var(--yellow); }
.today-action.buy { background: #3d1520; }
.today-action.sell { background: #102b52; }
.compact-proof { margin-top: 20px; }
.compact-proof h3 { margin: 0 0 7px; font-family: KakaoBig, sans-serif; font-size: 16px; letter-spacing: -.02em; }
.compact-proof > div, .compact-proof > a { min-height: 58px; padding: 10px 1px; display: grid; grid-template-columns: 66px 66px minmax(0, 1fr); align-items: center; gap: 7px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.compact-proof b { color: var(--muted); font-size: 10px; }
.compact-proof strong { overflow: hidden; font-size: 11px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.compact-proof strong.up { color: var(--red); }
.compact-proof strong.down { color: var(--blue); }
.compact-proof span { display: -webkit-box; overflow: hidden; color: #555550; font-size: 10px; line-height: 1.45; word-break: keep-all; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.compact-proof > a { grid-template-columns: 66px 66px minmax(0, 1fr) 12px; }
.compact-proof > a i { color: var(--muted); font-size: 11px; font-style: normal; }
.compact-detail { margin-top: 10px; border-bottom: 1px solid var(--line); }
.compact-detail summary { min-height: 50px; display: flex; align-items: center; justify-content: space-between; color: #4f4f4a; cursor: pointer; font-size: 10px; font-weight: 700; list-style: none; }
.compact-detail summary::-webkit-details-marker { display: none; }
.compact-detail summary span { font-size: 16px; font-weight: 400; }
.compact-detail[open] { padding-bottom: 13px; }
.compact-detail[open] summary span { transform: rotate(45deg); }
.compact-detail ol { margin: 0; padding: 0; display: grid; gap: 7px; list-style: none; }
.compact-detail li { display: grid; grid-template-columns: 21px 1fr; align-items: start; gap: 8px; }
.compact-detail li b { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-size: 8px; }
.compact-detail li span { padding-top: 2px; color: #3f3f3a; font-size: 10px; line-height: 1.5; }
.compact-detail > p { margin: 11px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.compact-detail > div { margin-top: 9px; display: flex; gap: 12px; }
.compact-detail > div a { color: #605300; font-size: 9px; font-weight: 700; text-decoration: none; }
.report-actions { margin-top: 14px; display: grid; grid-template-columns: 1.35fr .8fr; gap: 7px; }
.report-actions button { min-height: 49px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 9px; background: white; color: var(--ink); font-size: 10px; font-weight: 800; }
.report-actions .primary { border-color: var(--yellow); background: var(--yellow); }
.decision-report .report-boundary { margin: 9px 0 0; color: var(--muted); font-size: 8px; line-height: 1.45; text-align: center; }

@media (min-width: 700px) {
  body { padding: 24px 0; }
  .market-app { min-height: calc(100dvh - 48px); border-radius: 26px; overflow: hidden; }
  .coach-sheet { margin-bottom: 3vh; border-radius: 22px; }
}
@media (max-width: 560px) {
  .ai-nudge { left: 10px; width: min(250px, calc(100vw - 24px)); }
}
@media (max-width: 370px) {
  .stock-heading, .stock-view { padding-inline: 16px; }
  .chart-view { padding-inline: 0; }
  .chart-toolbar { padding-inline: 16px; }
  .market-summary, .news-panel { margin-inline: 16px; }
  .public-data-note { margin-inline: 16px; }
  .context-ribbon { margin-inline: 16px; }
  .stock-tabs { padding-inline: 6px; }
  .stock-tabs button { flex-basis: 47px; }
  .trade-dock { grid-template-columns: 106px 1fr 1fr; padding-inline: 10px; }
  .quick-order { grid-template-columns: 1fr 40px; }
  .nudge-copy p { display: none; }
  .execution-cards { grid-template-columns: 1fr; }
}

/* Mobile finish: readable Korean typography, deliberate density, restrained motion. */
@media (max-width: 520px) {
  body { letter-spacing: -.012em; }
  .market-app { box-shadow: none; }
  .top-bar { height: 58px; padding-inline: 12px; }
  .brand-lockup { letter-spacing: -.02em; }
  .brand-product { font-size: 11px; }
  .demo-pill { padding: 3px 6px; font-size: 8px; letter-spacing: .02em; }
  .market-strip { min-height: 31px; height: auto; padding: 7px 16px; font-size: 10px; line-height: 1.35; }
  .stock-heading { padding: 20px 18px 16px; }
  .stock-name-line { flex-wrap: wrap; }
  .stock-name-line > span:first-child { font-size: 21px; letter-spacing: -.025em; }
  .stock-name-line small { font-size: 11px; letter-spacing: 0; }
  .market-badge, .source-chip { font-size: 9px; }
  .price-line { flex-wrap: wrap; row-gap: 3px; }
  .change { font-size: 13px; }
  .as-of { font-size: 10px; line-height: 1.55; }
  .context-ribbon { margin-inline: 16px; padding: 10px 12px; font-size: 11px; line-height: 1.5; word-break: keep-all; overflow-wrap: break-word; }
  .stock-tabs { height: 48px; padding-inline: 8px; }
  .stock-tabs button { height: 48px; font-size: 12px; }
  .section-heading h2, .stock-view h2 { font-size: 21px; line-height: 1.35; letter-spacing: -.025em; }
  .news-item h3 { font-size: 12px; line-height: 1.55; word-break: keep-all; overflow-wrap: break-word; }
  .news-empty span, .public-data-note { font-size: 10px; }

  .ai-nudge { top: 47%; width: min(272px, calc(100vw - 24px)); padding: 15px 15px 14px; grid-template-columns: 36px 1fr; box-shadow: 0 20px 48px rgba(41, 36, 8, .16); }
  .nudge-copy > span { font-size: 9px; }
  .nudge-copy h2 { font-size: 15px; line-height: 1.42; letter-spacing: -.025em; }
  .nudge-copy p { font-size: 10px; line-height: 1.55; word-break: keep-all; }
  .nudge-cta { min-height: 44px; font-size: 11px; }
  .trade-dock { min-height: calc(78px + env(safe-area-inset-bottom)); grid-template-columns: 110px 1fr 1fr; padding-inline: 10px; }
  .quick-order button span { font-size: 11px; }
  .quick-order button i { font-size: 9px; }
  .trade-button { min-height: 56px; font-size: 14px; transition: transform .16s ease, filter .16s ease; }
  .trade-button:active { transform: scale(.975); }

  .coach-sheet { height: min(94dvh, 900px); border-radius: 24px 24px 0 0; }
  .coach-sheet::backdrop { background: rgba(20, 20, 16, .42); backdrop-filter: blur(4px); }
  .coach-header { min-height: 66px; padding-inline: 16px 10px; }
  .coach-identity, .coach-identity > div { min-width: 0; }
  .coach-identity small { font-size: 10px; }
  .coach-identity b { overflow: hidden; font-size: 14px; letter-spacing: -.015em; text-overflow: ellipsis; white-space: nowrap; }
  .sheet-close { width: 44px; height: 44px; font-size: 24px; }
  .coach-progress { padding: 11px 15px 0; gap: 2px; }
  .coach-progress span { gap: 3px; font-size: 9px; letter-spacing: -.02em; }
  .coach-progress i { width: 20px; height: 20px; flex-basis: 20px; font-size: 8px; }
  .coach-content { padding: 18px 16px calc(34px + env(safe-area-inset-bottom)); scrollbar-width: thin; }
  .intent-picker { margin-inline: 0; padding-inline: 2px; }
  .intent-step, .stage-kicker { font-size: 10px; letter-spacing: 0; }
  .intent-picker h2, .stage-screen h2 { font-size: clamp(23px, 6.5vw, 27px); line-height: 1.34; letter-spacing: -.028em; word-break: keep-all; overflow-wrap: break-word; }
  .intent-picker p, .stage-screen > p { font-size: 11px; line-height: 1.62; word-break: keep-all; }
  .intent-options button { min-height: 72px; padding: 14px 15px; border-radius: 13px; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
  .intent-options button:active { transform: scale(.985); }
  .intent-options button b { max-width: 65%; font-size: 16px; line-height: 1.38; letter-spacing: -.02em; white-space: normal; word-break: keep-all; }
  .intent-options button span { font-size: 10px; line-height: 1.45; }
  .portfolio-badge span { font-size: 9px; letter-spacing: .03em; }
  .portfolio-badge b { font-size: 11px; }
  .portfolio-form label { min-height: 66px; padding: 12px; }
  .portfolio-form label > span { font-size: 10px; }
  .portfolio-form input { font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
  .portfolio-form i, .portfolio-context span { font-size: 9px; }
  .portfolio-context b { font-size: 10px; }
  .portfolio-error { font-size: 10px !important; }
  .report-cta { min-height: 52px; padding-inline: 16px; border-radius: 11px; font-size: 12px; transition: transform .16s ease; }
  .report-cta:active { transform: scale(.985); }
  .stage-disclaimer, .report-boundary { font-size: 9px; }

  .report-overline span { font-size: 9px; }
  .report-overline b { font-size: 10px; }
  .timing-hero { padding: 19px 18px; border-radius: 15px; }
  .timing-hero > div span, .timing-hero small { font-size: 9px; }
  .timing-hero h2 { font-size: 23px; line-height: 1.4; letter-spacing: -.028em; }
  .timing-hero p { font-size: 11px; line-height: 1.62; word-break: keep-all; }
  .portfolio-scoreboard span { font-size: 9px; }
  .portfolio-scoreboard b { font-size: 12px; font-variant-numeric: tabular-nums; }
  .evidence-head span { font-size: 16px; letter-spacing: -.02em; }
  .visual-evidence article > p { font-size: 10px; line-height: 1.6; }
  .report-news a { font-size: 10px; line-height: 1.5; word-break: keep-all; overflow-wrap: break-word; }
  .action-plan-list p { font-size: 12px !important; line-height: 1.58 !important; word-break: keep-all; }
  .action-risk p { font-size: 10px !important; }
  .stage-choice-list b, .evidence-focus-list b { font-size: 14px; letter-spacing: -.015em; word-break: keep-all; }
  .stage-choice-list span, .evidence-focus-list span { font-size: 10px; line-height: 1.45; }
  .execution-heading h2 { font-size: 24px; letter-spacing: -.028em; }
  .execution-heading p { font-size: 11px; }
  .verdict-card h2 { font-size: 22px; letter-spacing: -.028em; }
  .verdict-card p, .plain-flow span, .action-roadmap li span { font-size: 11px; }
  .coach-boundary { min-height: calc(54px + env(safe-area-inset-bottom)); font-size: 9px; line-height: 1.35; }
  .decision-report-head h2 { font-size: 25px; }
  .today-action > strong { font-size: 25px; }
  .compact-proof > div, .compact-proof > a { min-height: 61px; }
  .report-actions button { min-height: 52px; font-size: 11px; }

  .stage-screen > * { animation: content-rise .44s cubic-bezier(.16, 1, .3, 1) both; }
  .stage-screen > :nth-child(2) { animation-delay: .04s; }
  .stage-screen > :nth-child(3) { animation-delay: .08s; }
  .stage-screen > :nth-child(n+4) { animation-delay: .12s; }
  .price-line h1:not(:empty) { animation: price-settle .5s cubic-bezier(.16, 1, .3, 1) both; }
}

@media (max-width: 350px) {
  .coach-progress span { font-size: 8px; }
  .coach-progress span::after { display: none; }
  .intent-options button { align-items: flex-start; flex-direction: column; gap: 7px; }
  .intent-options button b { max-width: 100%; }
  .intent-options button span { text-align: left; }
  .portfolio-form { grid-template-columns: 1fr; }
  .coach-boundary { align-items: flex-start; flex-direction: column; gap: 3px; }
  .compact-proof > div { grid-template-columns: 61px 60px minmax(0, 1fr); }
  .compact-proof > a { grid-template-columns: 61px 60px minmax(0, 1fr) 10px; }
  .report-actions { grid-template-columns: 1fr; }
}

@keyframes content-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes price-settle {
  from { opacity: .35; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
