/* Shared public explanation: existing Sonnaru tokens, no new font or dependency. */
.ai-story-steps button>span{flex:none;min-width:1.8rem;white-space:nowrap}.ai-shot-open{display:inline-flex;align-items:center;min-height:44px;padding:.35rem .7rem;font-size:.8rem}.ai-product-shot figcaption a{color:var(--green)}
@media(max-width:400px){html[data-text-size=large] .ai-story-steps{grid-template-columns:1fr}html[data-text-size=large] .ai-story-steps button{min-height:64px}}
.ai-eyebrow{color:var(--green,#155e4e);font-size:.78rem;font-weight:750;letter-spacing:.04em;margin:0 0 .7rem}
.ai-story{padding:4rem 0;scroll-margin-top:5rem}.ai-story-head{max-width:38rem;margin-bottom:2rem}.ai-story h2{font-size:clamp(1.5rem,3vw,2.3rem);line-height:1.3;letter-spacing:-.04em;margin:0 0 1rem}.ai-story-head>p:last-child{font-size:.85rem;color:var(--muted,#52635b);line-height:1.7}
.ai-story-layout{display:grid;grid-template-columns:minmax(12rem,.7fr) minmax(0,1.6fr);gap:3rem;align-items:start}.ai-story-steps{display:grid;gap:.35rem;position:sticky;top:5rem}.ai-story-steps button{display:grid;grid-template-columns:1.8rem 1fr;gap:.2rem .5rem;text-align:left;border:0;border-left:3px solid transparent;background:transparent;color:var(--muted,#52635b);padding:1rem;min-height:64px;cursor:pointer;font:inherit;border-radius:0 .7rem .7rem 0}.ai-story-steps button strong{font-size:.95rem;font-weight:700}.ai-story-steps button small{grid-column:2;font-size:.72rem}.ai-story-steps button[aria-pressed=true]{border-left-color:var(--green,#155e4e);background:var(--green-wash,#e6f0eb);color:var(--ink,#172b25)}
.ai-story-stage{min-width:0}.ai-story-stage article[hidden]{display:none}.ai-stage-copy h3{font-size:1.25rem;margin:0 0 .5rem;letter-spacing:-.025em}.ai-stage-copy>p:last-child{color:var(--muted,#52635b);line-height:1.75;margin-bottom:1.5rem}.ai-chat-sample,.ai-draft-sample{padding:1.6rem;border-radius:1.3rem;background:var(--surface,#fff);border:1px solid var(--line,#d8dfda);box-shadow:0 12px 40px #17392a0b}.ai-sample-label{display:block;font-size:.7rem;color:var(--muted,#52635b);margin-bottom:1rem}.ai-chat-user{background:var(--green-wash,#e6f0eb);border-radius:1rem 1rem .15rem 1rem;padding:.8rem 1rem;margin:0 0 1.2rem 2.5rem;font-size:.95rem}.ai-chat-answer{font-size:1rem;line-height:1.8}.ai-chat-answer>span{color:var(--green,#155e4e);font-size:1.4rem}.ai-chat-short{margin-left:auto;max-width:max-content}.ai-sample-note,.ai-stage-count{font-size:.72rem;color:var(--muted,#52635b)}.ai-stage-count{display:flex;justify-content:space-between;gap:1rem;margin-top:1rem}.ai-draft-title{font-size:1.25rem;font-weight:750}.ai-draft-sample dl{margin:1rem 0}.ai-draft-sample dl>div{display:grid;grid-template-columns:7rem 1fr;gap:1rem;padding:.8rem 0;border-bottom:1px solid var(--line,#d8dfda)}.ai-draft-sample dt{color:var(--muted,#52635b);font-size:.8rem}.ai-draft-sample dd{margin:0;font-size:.9rem;font-weight:600}.ai-example-action{background:var(--green-wash,#e6f0eb);color:var(--green,#155e4e);padding:.8rem 1rem;border-radius:.6rem;display:flex;justify-content:space-between}.ai-draft-sample small{color:var(--muted,#52635b);font-size:.72rem}
.ai-product-shot{margin:0;padding:.55rem;background:var(--surface,#fff);border:1px solid var(--line,#d8dfda);border-radius:1rem;box-shadow:0 12px 40px #17392a0b;overflow:hidden}.ai-product-shot img{display:block;width:100%;height:auto;border-radius:.55rem}.ai-product-shot figcaption{font-size:.7rem;text-align:center;color:var(--muted,#52635b);padding:.6rem 0 .2rem}
.ai-guidance{display:grid;grid-template-columns:1.3fr 1fr;gap:2rem;padding:2rem 0;margin:2rem 0;border-top:1px solid var(--line,#d8dfda);border-bottom:1px solid var(--line,#d8dfda)}.ai-guidance h2{font-size:1.3rem;line-height:1.5;margin:0 0 .8rem}.ai-guidance p{font-size:.88rem;line-height:1.8}.ai-guidance details{margin-top:.8rem}.ai-guidance summary{padding:.6rem 0;min-height:44px;cursor:pointer}.ai-copy-status{min-height:1.5em;margin:.5rem 0;color:var(--green,#155e4e)}.ai-guidance .btn,.ai-guidance .button{min-height:48px;height:auto;white-space:normal;flex:none}.ai-prompt-text{max-width:40rem;color:var(--muted,#52635b)}
.ai-story button:focus-visible,.ai-guidance button:focus-visible{outline:3px solid var(--focus,#087b69);outline-offset:4px}
@media(max-width:700px){.ai-story{padding:2.8rem 0}.ai-story-layout{grid-template-columns:1fr;gap:1.3rem}.ai-story-steps{position:static;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.ai-story-steps button{padding:.7rem;grid-template-columns:1.2rem 1fr;min-height:72px}.ai-story-steps button small{display:none}.ai-story-steps button strong{font-size:.85rem}.ai-chat-sample,.ai-draft-sample{padding:1rem}.ai-chat-user{margin-left:1rem}.ai-guidance{grid-template-columns:1fr;gap:.8rem;padding:1.5rem 0}.ai-stage-count{display:block}.ai-stage-count span{display:block;margin-top:.35rem}.ai-draft-sample dl>div{grid-template-columns:1fr;gap:.3rem}}
@media(prefers-reduced-motion:no-preference){.ai-story-stage article:not([hidden]){animation:ai-stage-in .22s ease-out}.ai-story-steps button{transition:background .16s,color .16s}.ai-product-shot{transition:box-shadow .2s}.ai-product-shot:hover{box-shadow:0 16px 45px #17392a16}@keyframes ai-stage-in{from{opacity:.55;transform:translateY(8px)}to{opacity:1;transform:none}}}
/* 디자인 v2(2026-11-15): 네 장면 위 진행 과정 그림 카드(설명용이라 모든 단계를 같은 무게로)와 선택한 장면 색 */
.ai-story-head .ai-story-process{margin:20px 0 16px}
.sn-process.sn-process--guide li:not(.is-done):not([aria-current]){color:var(--sn-color-text-strong)}
.sn-process.sn-process--guide li:not(.is-done):not([aria-current]) img{opacity:1}
.ai-story-steps button[aria-pressed=true]{border-left-color:var(--sn-color-primary);background:var(--sn-color-primary-weak);color:var(--sn-color-text-strong)}
.ai-story-steps button:hover{color:var(--sn-color-text-strong)}
.ai-chat-sample,.ai-draft-sample,.ai-product-shot{border-radius:var(--sn-radius-lg,16px);border-color:var(--sn-color-line);box-shadow:var(--sn-shadow-card)}
