
:root{color-scheme:light;--ink:#183a36;--muted:#657973;--green:#23745d;--green-dark:#15533f;--line:#dbe5df;--paper:#fafbf6;--orange:#e8aa45;--font:"Malgun Gothic","Apple SD Gothic Neo",system-ui,sans-serif}
*{box-sizing:border-box}html{min-height:100%;background:var(--paper)}body{margin:0;color:var(--ink);font:16px/1.55 var(--font);background:radial-gradient(ellipse at 90% 0%,#e4f1e7 0,transparent 45%),var(--paper)}
button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:4px solid #e5a531;outline-offset:5px}
.topbar{max-width:1440px;margin:auto;min-height:80px;padding:16px 40px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px;border:0;background:none;text-align:left;color:var(--ink);padding:0}
.brand-symbol{width:42px;height:42px;border-radius:14px;background:var(--green);color:white;display:grid;place-items:center;font-weight:900;font-size:20px;transform:rotate(-6deg)}
.brand strong{display:block;font-size:16px;letter-spacing:-.4px}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:1.8px}
.tools{display:flex;gap:8px;align-items:center}.tool{min-height:42px;border:1px solid var(--line);background:#fff9;color:var(--ink);border-radius:12px;padding:8px 13px;font-size:13px}
main{max-width:1320px;margin:auto;padding:26px 40px 32px;min-height:calc(100vh - 132px)}.eyebrow{font-weight:800;font-size:12px;letter-spacing:2px;color:var(--green);text-transform:uppercase}
h1,h2,p{margin-top:0}h1{letter-spacing:-1.5px;font-size:clamp(28px,3.2vw,44px);line-height:1.32}h2{line-height:1.4;letter-spacing:-.5px}.sub{color:var(--muted)}
.primary,.secondary{border:0;border-radius:14px;min-height:56px;padding:15px 24px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:17px;text-decoration:none}
.primary{background:var(--green);color:#fff;box-shadow:0 6px 14px #174b3d15}.primary:hover{background:var(--green-dark)}.secondary{background:white;border:1px solid var(--line);color:var(--ink)}.primary:disabled{opacity:.5}
.arrow{font-size:22px;line-height:1}.hero{display:grid;grid-template-columns:1.04fr 1fr;gap:50px;align-items:center;min-height:calc(100vh - 218px);padding:20px 0}
.hero h1{font-size:clamp(36px,4.6vw,64px);font-weight:900;margin:18px 0 24px;letter-spacing:-2.4px}.hero h1 em{font-style:normal;color:var(--green)}.hero .lead{font-size:18px;max-width:480px;line-height:1.9;color:var(--muted)}
.rule-chips{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}.pill{background:#e7eee5;border:1px solid #dce6da;border-radius:99px;padding:7px 13px;font-size:13px;font-weight:700}.hero .primary{min-width:230px;margin:8px 0 20px}
.hero-note{color:var(--muted);font-size:12px}.hero-art{position:relative;padding:24px 0 24px 30px}.hero-main{width:100%;display:block;aspect-ratio:1;object-fit:cover;border-radius:40% 40% 22px 22px;box-shadow:0 20px 45px #184b2f16;border:8px solid white}
.hero-badge{position:absolute;bottom:48px;left:4px;background:#fff;border-radius:17px;padding:15px 23px;box-shadow:0 10px 25px #183a3620;font-size:14px;transform:rotate(-4deg)}.hero-badge b{display:block;color:var(--green);font-size:21px}.hero-mini{position:absolute;width:27%;aspect-ratio:1;object-fit:cover;border:7px solid white;border-radius:50%;right:-16px;top:0;box-shadow:0 8px 20px #183a3620}
.session-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.progress{display:flex;gap:7px}.progress span{height:8px;width:48px;border-radius:10px;background:#dee8df}.progress .active{background:var(--green)}.progress .correct{background:#58a27d}.progress .incorrect{background:#d9a078}.question-meta{display:flex;gap:10px;align-items:center;font-size:13px;color:var(--muted)}.topic-tag{font-weight:800;color:var(--green);background:#e6efe4;border-radius:99px;padding:6px 12px}
.heading{text-align:center;margin-bottom:20px}.heading h1{font-size:clamp(25px,2.6vw,36px);margin:10px auto;max-width:1000px}.heading p{margin:0;color:var(--muted);font-size:14px}
.choices{display:grid;grid-template-columns:1fr 1fr;gap:22px;max-width:1060px;margin:0 auto}
.choice{background:white;color:var(--ink);border:3px solid transparent;border-radius:22px;padding:9px;text-align:left;box-shadow:0 6px 20px #183a3609;position:relative;transition:transform .15s,border-color .15s;overflow:hidden}
.choice:not(:disabled):hover{transform:translateY(-4px);border-color:#68a88c}.choice img{width:100%;aspect-ratio:1;max-height:min(48vh,490px);object-fit:contain;display:block;border-radius:14px;background:#f0f3ed}
.choice-label{padding:11px 12px 3px;display:flex;justify-content:space-between;align-items:center;gap:10px}.choice-label strong{font-size:16px}.choice-label small{font-size:12px;color:var(--muted)}.letter{position:absolute;left:22px;top:22px;background:#fffef5ed;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;font-size:17px;font-weight:900;box-shadow:0 2px 8px #0001}
.choice.correct{border-color:#2a8e64}.choice.wrong{border-color:#d47d56}.choice.dim{opacity:.7}.choice-status{font-weight:800;font-size:13px;color:var(--green)}.choice.wrong .choice-status{color:#a04a29}
.feedback{max-width:1060px;margin:17px auto 0;padding:17px 22px;background:#e5f1e5;border:1px solid #c9dec8;border-radius:17px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.feedback.no{background:#fff0df;border-color:#eddbc3}.feedback strong{display:block;font-size:20px;line-height:1.4;margin-bottom:4px}.feedback p{margin:0;font-size:14px;color:#4b6458}.feedback.no strong{color:#914d29}
.request-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,.8fr);gap:38px;align-items:center;max-width:1150px;margin:12px auto}.image-stage{background:white;border:1px solid var(--line);border-radius:25px;padding:10px;position:relative;box-shadow:0 8px 22px #183a3608}
.image-stage img{display:block;width:100%;aspect-ratio:1;max-height:64vh;object-fit:contain;border-radius:17px;background:#f5f7f0}.image-caption{font-size:13px;color:var(--muted);text-align:center;padding:10px 4px 0}
.request-copy h1{font-size:clamp(28px,3vw,39px);margin:13px 0 18px}.prompt-card{background:white;border:1px solid var(--line);border-radius:20px;padding:22px;margin:20px 0}
.prompt-card small{font-size:12px;font-weight:800;letter-spacing:.5px;color:var(--muted);display:block;margin-bottom:12px}.prompt-card p{font-size:clamp(18px,2vw,24px);font-weight:700;line-height:1.8;margin:0}
mark{background:#fae7a1;color:var(--ink);box-decoration-break:clone;-webkit-box-decoration-break:clone;border-radius:4px;padding:1px 3px}
.request-copy>.primary{width:100%;margin-top:3px}.learning{border-left:4px solid var(--green);padding:5px 0 5px 18px;font-weight:800;font-size:21px;line-height:1.7;margin:18px 0 23px}.learning small{display:block;font-size:13px;font-weight:400;color:var(--muted);margin-top:6px}.changed-tag{position:absolute;top:22px;left:22px;background:var(--green);color:white;padding:7px 12px;border-radius:10px;font-size:12px;font-weight:800}.before-btn{border:0;background:transparent;color:var(--green);text-decoration:underline;text-underline-offset:3px;padding:10px 0;font-size:14px}
.result-wrap{max-width:890px;margin:12px auto;text-align:center}.result-emblem{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;background:#dfefdf;color:var(--green);font-size:44px;margin:15px auto 20px;border:2px dashed #79ac83;box-shadow:0 0 0 8px #ebf4e7}
.result-wrap.fail .result-emblem{background:#fff0d6;border-color:#d8a251;color:#a96b1f;box-shadow:0 0 0 8px #fff8e9}.result-wrap h1{font-size:clamp(32px,4vw,48px);margin:0 0 14px}.result-wrap h1 span{display:block}.result-wrap .score{font-size:44px;font-weight:900;letter-spacing:-2px;color:var(--green)}.score small{font-size:19px;color:var(--muted);font-weight:500;letter-spacing:0}.result-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:28px 0}.summary-item{background:white;border:1px solid var(--line);border-radius:16px;padding:15px 8px;font-size:13px}.summary-item b{display:block;font-size:23px;margin:4px 0}.summary-item .yes{color:var(--green)}.summary-item .no{color:#b46c45}.result-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.footer{max-width:1440px;margin:auto;padding:9px 40px 16px;display:flex;justify-content:space-between;gap:15px;color:#72877b;font-size:11px}.footer span:last-child{letter-spacing:1px}
[hidden]{display:none!important}.error{background:#fff2e8;border:1px solid #e5c7ac;border-radius:12px;padding:15px;margin:16px 0;color:#814b2b}
dialog{border:1px solid var(--line);border-radius:22px;padding:28px;max-width:430px;color:var(--ink);box-shadow:0 20px 80px #0003}dialog::backdrop{background:#183a3666}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.dialog-actions button{font-size:15px;min-height:48px;padding:10px 16px}
@media(max-width:900px){.topbar{padding:12px 22px}.hero{gap:25px}.hero h1{font-size:42px}.hero .lead{font-size:16px}main{padding:20px 22px}.request-layout{gap:22px;grid-template-columns:1fr .9fr}.prompt-card{padding:17px}.learning{font-size:18px}.footer{padding-inline:22px}.progress span{width:35px}}
@media(max-width:650px){.brand small{font-size:9px}.brand strong{font-size:14px}.topbar{padding:12px 16px}.brand-symbol{width:34px;height:34px}.tool{font-size:12px;padding:6px 10px}.hero,.request-layout{grid-template-columns:1fr;min-height:0}.hero-art{max-width:440px;padding:12px 20px;margin:auto;order:-1}.hero-main{max-height:32vh}.hero-mini{right:0}.hero-badge{bottom:25px;padding:8px 14px}.hero-badge b{font-size:17px}.hero h1{font-size:37px;margin:10px 0 17px}.hero{gap:20px;padding-top:5px}.hero .lead{font-size:16px}.hero .primary{width:100%}.heading h1{font-size:25px}.choices{gap:10px}.choice{padding:5px;border-radius:17px}.choice img{border-radius:10px}.choice-label{padding:10px 4px 4px;flex-wrap:wrap}.choice-label strong{font-size:14px}.choice-label small{display:none}.letter{top:13px;left:13px;width:30px;height:30px}.feedback{flex-direction:column;align-items:stretch}.feedback .primary{width:100%}.request-layout{gap:18px}.image-stage img{max-height:45vh}.request-copy h1{font-size:27px}.session-bar{gap:10px}.question-meta{font-size:12px}.topic-tag{padding:5px 9px}.progress span{width:23px}.result-summary{grid-template-columns:repeat(5,1fr);gap:5px}.summary-item{padding:10px 3px;font-size:11px}.footer{padding-inline:16px}.footer span:last-child{display:none}main{padding-inline:16px}}
@media(prefers-reduced-motion:no-preference){.enter{animation:enter .28s ease-out}.reveal{animation:reveal .55s ease-out}@keyframes enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes reveal{from{opacity:.15;filter:brightness(1.12)}to{opacity:1;filter:none}}}

@media(min-width:901px) and (max-height:820px){
 .topbar{min-height:68px;padding-block:10px}
 main{padding-top:18px;padding-bottom:20px;min-height:calc(100vh - 110px)}
 .session-bar{margin-bottom:12px}
 .heading{margin-bottom:14px}.heading h1{font-size:30px;margin:8px auto}
 .choice img{max-height:40vh}
 #app[data-phase="feedback"] .choice img{max-height:29vh}
 .choice-label{padding-block:8px 2px}
 .feedback{padding:12px 18px;margin-top:12px}
 .request-layout{margin:0 auto;gap:30px}
 .image-stage img{max-height:57vh}
 .prompt-card{margin:16px 0;padding:18px}
 .request-copy h1{font-size:32px;margin:10px 0 16px}
 .learning{margin:14px 0 18px;font-size:19px}
 .request-copy>.primary{min-height:50px}
 .hero{min-height:calc(100vh - 170px);padding-block:8px}.hero h1{font-size:51px;margin:12px 0 18px}
 .hero .lead{font-size:16px}.hero-art{max-width:480px;margin-left:auto}
 .footer{padding-top:7px;padding-bottom:12px}
 .result-emblem{width:76px;height:76px;font-size:36px;margin-top:8px;margin-bottom:14px}
 .result-wrap h1{font-size:38px}.result-summary{margin:20px 0}
}

/* AI 요청: 키워드 강조 0.5s → 빛으로 드러내기 1.5s → 완성 0.5s */
.picture-window{position:relative;overflow:hidden;isolation:isolate;border-radius:17px;background:#f5f7f0}
.image-stage .transform-after{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;border-radius:17px;clip-path:inset(0 100% 0 0);z-index:1}
.transform-effects{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2;border-radius:17px}
.transform-beam{position:absolute;top:0;bottom:0;left:-20%;width:20%;opacity:0;background:linear-gradient(90deg,transparent,rgba(192,255,239,.18) 30%,rgba(255,255,237,.92) 75%,rgba(255,224,126,.8) 87%,transparent);filter:drop-shadow(0 0 14px #fff2bd)}
.transform-spark{position:absolute;left:var(--x);top:var(--y);font-size:25px;color:#fff8cc;opacity:0;text-shadow:0 0 10px #fff,0 0 19px #e7bd59}
.transform-preparing .picture-window>img:first-child{transition:filter .5s ease;filter:blur(1.2px) brightness(1.04)}
.transform-scanning .picture-window>img:first-child{filter:blur(2px) brightness(1.06)}
.transform-scanning .transform-after{animation:ai-wipe 1.5s linear both}
.transform-scanning .transform-beam{animation:ai-sweep 1.5s linear both}
.transform-scanning .transform-spark{animation:ai-spark .75s ease-out var(--d) both}
.keyword-active{display:inline-block;max-width:100%;vertical-align:baseline;animation:ai-keyword .5s ease-in-out both}
.transform-complete .transform-after{clip-path:inset(0)}
.transform-complete .picture-window::after{content:"";position:absolute;inset:2px;z-index:3;pointer-events:none;border:3px solid #f3ca6e;border-radius:15px;animation:ai-finish .5s ease-out both}
.transform-complete .transform-spark{animation:ai-complete-spark .5s ease-out both}
.is-transforming [data-action="ask"]{opacity:1;background:#4d8874;cursor:wait}
@keyframes ai-keyword{0%,100%{transform:scale(1);box-shadow:0 0 0 transparent}50%{transform:scale(1.035);background:#ffe49a;box-shadow:0 0 20px #f8cf6c70}}
@keyframes ai-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes ai-sweep{0%{left:-20%;opacity:0}7%{opacity:1}90%{opacity:1}100%{left:100%;opacity:0}}
@keyframes ai-spark{0%{opacity:0;transform:scale(.4) rotate(-12deg)}40%{opacity:1;transform:scale(1.15) rotate(8deg)}100%{opacity:0;transform:scale(.7) translateY(-14px)}}
@keyframes ai-finish{0%{opacity:0;box-shadow:inset 0 0 0 #fce7a100}35%{opacity:1;box-shadow:inset 0 0 23px #fce7a190}100%{opacity:0;box-shadow:inset 0 0 0 #fce7a100}}
@keyframes ai-complete-spark{0%{opacity:0;transform:scale(.8)}35%{opacity:.9;transform:scale(1.2)}100%{opacity:0;transform:scale(1.5)}}
@media(prefers-reduced-motion:reduce){
 .keyword-active{animation:none;background:#ffe49a}
 .transform-preparing .picture-window>img:first-child,.transform-scanning .picture-window>img:first-child{filter:none}
 .transform-scanning .transform-after{animation:none;clip-path:inset(0);opacity:.85}
 .transform-scanning .transform-beam,.transform-scanning .transform-spark,.transform-complete .transform-spark{animation:none;opacity:0}
 .transform-complete .picture-window::after{animation:none;opacity:0}
}

.prompt-card p{word-break:keep-all;overflow-wrap:anywhere}
/* 요청 문장: 대상 / 강조 조건 / 요청 동사를 독립된 줄로 표시 */
.prompt-line,.prompt-keyword-line{display:block;word-break:keep-all;overflow-wrap:normal}
.prompt-keyword-line{margin:10px 0;line-height:1.65}
.prompt-keyword-line mark{display:inline-block;max-width:100%;padding:5px 9px;word-break:keep-all;overflow-wrap:normal;vertical-align:baseline}
.prompt-card p{line-height:1.6;word-break:keep-all;overflow-wrap:normal}
.request-copy h1{word-break:keep-all}

/* 세 가지 AI 조건: 버튼을 누르면 바로 변환 */
.variant-options{display:grid;gap:9px}.variant-option{display:flex;align-items:center;gap:12px;width:100%;border:1px solid #cbdcd2;border-radius:13px;background:white;color:var(--ink);text-align:left;padding:11px 14px;min-height:49px;font-size:16px;font-weight:700;word-break:keep-all}.variant-option:hover{background:#eaf3e8;border-color:var(--green)}.variant-option[aria-pressed="true"]{border:2px solid var(--green);background:#e6f2e6;padding:10px 13px}.variant-number{flex:none;border-radius:50%;background:#edf2e9;width:26px;height:26px;display:grid;place-items:center;font-size:13px}.variant-option[aria-pressed="true"] .variant-number{background:var(--green);color:white}.variant-option:disabled{opacity:.65;cursor:wait}.change-status{font-size:14px;color:var(--green);min-height:23px;margin:13px 0}.transform-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.transform-actions .primary{min-height:48px;padding:11px 20px;font-size:16px}.request-copy .prompt-card{padding:15px 19px;margin:14px 0}.request-copy .prompt-card p{font-size:20px}.request-copy .prompt-keyword-line{margin:5px 0}.request-copy h1{font-size:30px;margin:0 0 12px}.variant-option:focus-visible{outline-offset:2px}.is-transforming .variant-option{cursor:wait}@media(max-width:650px){.request-copy .prompt-card p{font-size:19px}.transform-actions{flex-wrap:wrap}}

.transform-actions>.primary:only-child{width:100%}

/* 휴대폰 앱은 가로 화면에서 동작합니다. */
html{min-height:100%;-webkit-text-size-adjust:100%}body{overscroll-behavior-y:none}button{-webkit-tap-highlight-color:transparent}button,.request-copy,.image-stage{min-width:0}.topbar{padding-top:max(8px,env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.footer{padding-bottom:max(10px,env(safe-area-inset-bottom))}

@media(max-height:600px) and (orientation:landscape){
 body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
 .topbar{min-height:46px;padding:3px 16px;gap:10px}.brand{gap:8px}.brand-symbol{width:30px;height:30px;border-radius:10px;font-size:15px}.brand strong{font-size:13px}.brand small{display:none}.tools{gap:6px}.tool{min-height:40px;padding:6px 10px;font-size:12px}#fullscreen{display:none}
 main{max-width:1100px;padding:7px 16px 8px;min-height:0}.footer{display:none}.session-bar{margin-bottom:6px;gap:10px;min-height:23px}.question-meta{font-size:11px;gap:6px;white-space:nowrap}.topic-tag{padding:3px 8px}.progress{gap:4px}.progress span{width:26px;height:5px}
 .hero{grid-template-columns:1fr 1fr;gap:25px;min-height:calc(100svh - 70px);padding:0;align-items:center}.hero-art{order:0;padding:10px 20px;max-width:300px;margin:auto}.hero-main{max-height:65svh;width:auto;max-width:100%;border-width:5px}.hero-mini{width:24%;border-width:4px;right:3px}.hero h1{font-size:32px;margin:5px 0 9px;letter-spacing:-1px}.hero .lead{font-size:13px;line-height:1.65;margin-bottom:10px}.hero .eyebrow{font-size:10px}.rule-chips{margin:10px 0;gap:5px}.pill{font-size:11px;padding:4px 8px}.hero .primary{width:auto;min-width:180px;margin:0;min-height:42px;font-size:15px;padding:9px 18px}
 .heading{margin-bottom:7px}.heading h1{font-size:21px;margin:2px auto;line-height:1.35}.choices{gap:12px;max-width:820px}.choice{padding:5px;border-width:2px;border-radius:15px}.choice img,#app[data-phase="feedback"] .choice img{max-height:calc(100svh - 155px);border-radius:9px}.choice-label{padding:5px 6px 1px;gap:4px}.choice-label strong{font-size:12px}.choice-status{font-size:11px}.letter{top:12px;left:12px;width:25px;height:25px;border-radius:8px;font-size:13px}#app[data-phase="feedback"] .choice img{max-height:calc(100svh - 215px)}.feedback{flex-direction:row;align-items:center;padding:8px 12px;gap:10px;margin-top:7px}.feedback strong{font-size:15px;margin-bottom:2px}.feedback p{font-size:11px;line-height:1.4}.feedback .primary{width:auto;flex-shrink:0;font-size:13px;min-height:40px;padding:8px 12px}
 .request-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:16px;margin:0;align-items:center;min-height:calc(100svh - 90px)}.image-stage{padding:6px;border-radius:16px}.image-stage img{max-height:calc(100svh - 114px);border-radius:11px}.picture-window{border-radius:11px}.changed-tag{top:13px;left:13px;font-size:10px;padding:4px 8px}.request-copy h1{font-size:22px;line-height:1.3;margin:0 0 5px}.request-copy .prompt-card{padding:7px 11px;border-radius:13px;margin:6px 0}.request-copy .prompt-card p{font-size:15px;line-height:1.3}.request-copy .prompt-keyword-line{margin:3px 0}.prompt-keyword-line mark{padding:3px 6px}.variant-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.variant-option{padding:6px;min-height:49px;border-radius:10px;gap:5px;font-size:12px;line-height:1.3;align-items:center}.variant-option[aria-pressed="true"]{padding:5px}.variant-number{width:19px;height:19px;font-size:10px}.change-status{font-size:11px;min-height:17px;margin:5px 0}.transform-actions{flex-wrap:nowrap;gap:8px}.transform-actions .primary{min-height:40px;padding:8px 15px;font-size:14px}.before-btn{font-size:12px;padding:8px 0}.transform-actions>.primary:only-child{width:100%}
 .result-wrap{max-width:780px;margin:0 auto}.result-emblem{width:42px;height:42px;font-size:24px;margin:3px auto 8px;box-shadow:none}.result-wrap .eyebrow{font-size:10px}.result-wrap h1{font-size:27px;margin:5px 0!important}.result-wrap h1 span{display:inline}.result-wrap h1 span+span{margin-left:10px}.result-wrap .score{font-size:27px;line-height:1.3}.score small{font-size:14px}.result-wrap .sub{font-size:12px;margin:4px 0}.result-summary{margin:10px 0;gap:7px}.summary-item{font-size:11px;padding:5px}.summary-item b{font-size:17px;margin:0}.result-actions .primary,.result-actions .secondary{font-size:14px;padding:8px 14px;min-height:40px}
 dialog{padding:18px;max-height:calc(100svh - 20px);overflow:auto}dialog h2{font-size:21px;margin-bottom:10px}.dialog-actions{margin-top:12px}
}
@media(max-height:350px) and (orientation:landscape){.hero h1{font-size:27px}.hero .lead{font-size:12px}.request-copy h1{font-size:18px}.request-copy .prompt-card p{font-size:13px}.variant-option{font-size:11px;min-height:44px}.variant-number{display:none}.request-layout{gap:10px}.request-copy .prompt-card{padding:5px 8px}.transform-actions .primary{min-height:36px}.change-status{margin:3px 0}.result-emblem{display:none}.feedback p{max-width:380px}}

@media(max-width:650px) and (orientation:portrait){.topbar{flex-wrap:wrap;gap:9px}.tools{margin-left:auto}.session-bar{flex-wrap:wrap}.session-bar .progress{order:3;width:100%;justify-content:center}.hero-mini{right:0}.request-copy h1{font-size:25px}.result-actions>*{width:100%}}
