/* Presenter script: approved CONNECT AI paper, green, mint and Pretendard. */
@font-face{font-family:Pretendard;src:url('./assets/Pretendard-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Pretendard;src:url('./assets/Pretendard-Bold.woff2') format('woff2');font-weight:700 900;font-display:swap}
:root{--script-paper:#FAFAF5;--script-ink:#0F2720;--script-green:#087F5B;--script-soft:#E9F8F2;--script-muted:#5B616C;--script-line:#E2E5DB;--script-controls-height:78px;color-scheme:light}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.scenario-page{margin:0;background:var(--script-paper);color:var(--script-ink);font-family:Pretendard,'Apple SD Gothic Neo',sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
.scenario-page button,.scenario-page input,.scenario-page textarea{font:inherit}
.scenario-page button,.scenario-page a,.scenario-page input{-webkit-tap-highlight-color:transparent}
.scenario-page a{color:var(--script-green);text-underline-offset:4px}
.scenario-page button{cursor:pointer}
.scenario-page button:disabled{cursor:default;opacity:1}
.scenario-page a:focus-visible,.scenario-page button:focus-visible,.scenario-page input:focus-visible,.scenario-page summary:focus-visible,.scenario-page textarea:focus-visible{outline:2px solid var(--script-green);outline-offset:5px}
.scenario-page [hidden]{display:none!important}
.scenario-page ::selection{background:#BDEAD7;color:var(--script-ink)}
.script-topbar{max-width:1280px;margin:auto;padding:23px clamp(20px,4vw,56px);display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--script-line)}
.script-brand{font-size:1.0625rem;font-weight:700;letter-spacing:.015em;text-decoration:none;display:inline-flex;align-items:center;gap:10px;color:var(--script-ink)!important}
.script-brand img{display:block;width:150px;height:auto;flex:none}
.script-skip{position:absolute;left:20px;top:-1000px;z-index:50;padding:10px 14px;background:var(--script-green);color:#FFF!important;border-radius:5px}
.script-skip:focus{top:12px}
.script-delivery{font-size:.875rem;line-height:1.8;color:var(--script-muted);max-width:900px;margin:23px 0 0;word-break:keep-all}
.script-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.script-actions button,.script-actions a.script-stage-link,.script-stage-link a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 13px;border:1px solid #C3D2C6;border-radius:6px;background:transparent;color:var(--script-ink);font-size:.875rem;font-weight:700;line-height:1.5;text-decoration:none}
.script-actions a.script-stage-link,.script-stage-link a{background:#F0F6EC;border-color:#BDD1C1;color:#275A3C}
.script-actions button:not(:disabled):hover{background:#E5F2E6;border-color:#84B193}
.script-actions a.script-stage-link:hover,.script-stage-link a:hover{background:#DDEEDF;border-color:#84B193}
.script-actions button[data-copy-state="success"]{background:#E1F4E9;border-color:#83B99A;color:#086443}
.script-actions button[data-copy-state="pending"]{background:#EEF1E9;border-color:#D5DDD1;color:#607361}
.script-actions button[data-copy-state="fallback"]{background:#EDF5E8;border-color:#A7C8AA;color:#3B6B3E}
.script-newtab{display:inline-flex;align-items:center;font-size:.75rem;line-height:1.4;font-weight:400;padding:1px 5px;border:1px solid #B4C9B7;border-radius:3px;color:#4B6B55;white-space:nowrap;flex:none}
.script-hero{max-width:1280px;margin:0 auto;padding:70px clamp(20px,4vw,56px) 42px}
.script-hero>label,.script-hero>.script-label,.script-hero>p:first-child{display:block;color:var(--script-green);font-size:.8125rem;line-height:1.6;font-weight:700;letter-spacing:.13em;margin:0 0 19px}
.script-hero h1{font-size:clamp(2.5rem,4.3vw,4rem);line-height:1.2;font-weight:700;letter-spacing:-.055em;word-break:keep-all;margin:0;max-width:950px}
.script-lede{font-size:1.125rem;line-height:1.85;color:#495E51;word-break:keep-all;max-width:830px;margin:24px 0 0}
.script-hero-actions{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap;margin-top:27px}
.script-hero-actions a,.script-hero-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;border:1px solid var(--script-green);border-radius:6px;padding:12px 19px;font-size:1rem;font-weight:700;line-height:1.5;text-decoration:none}
.script-hero-actions .script-read-action{background:var(--script-green);color:#FFF}
.script-hero-actions .script-read-action:hover{background:#066A4C;border-color:#066A4C}
.script-hero-actions .script-start-action{background:#FAFAF5;color:#086548}
.script-hero-actions .script-start-action:hover{background:#E7F4EA;border-color:#096849}
.script-hero-actions .script-start-action[aria-pressed="true"]{background:#0F2720;border-color:#0F2720;color:#FFF}
.script-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:34px}
.script-summary article{min-width:0;padding:21px 23px 20px;background:var(--script-soft);border:1px solid #D5EADF;border-radius:12px;box-shadow:0 4px 12px #001E1205}
.script-summary h2{font-size:1rem;line-height:1.5;font-weight:700;letter-spacing:-.02em;color:var(--script-green);margin:0 0 8px}
.script-summary p{font-size:1rem;line-height:1.7;word-break:keep-all;margin:0;color:#294A3A}
.rehearsal-controls{position:sticky;top:0;z-index:10;max-width:1168px;margin:0 auto 38px;display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;padding:15px 18px;border:1px solid #D5E2D7;border-radius:9px;background:#FAFAF5F5;box-shadow:0 6px 20px #173B2110;backdrop-filter:blur(12px)}
.rehearsal-controls button{min-height:44px;padding:9px 13px;border:1px solid #BECEC2;border-radius:5px;background:transparent;color:var(--script-ink);font-size:.875rem;font-weight:700;white-space:nowrap}
.rehearsal-controls #rehearsal-toggle{background:var(--script-ink);border-color:var(--script-ink);color:#FFF;min-width:112px}
.rehearsal-controls button:not(:disabled):hover{background:#E9F2E8}
.rehearsal-controls #rehearsal-toggle:hover{background:#194532}
.rehearsal-controls #rehearsal-reset:disabled{background:#EEF1E9;border-color:#D6DDD1;color:#737D73}
#rehearsal-time{font-size:1.125rem;line-height:1.5;font-weight:700;letter-spacing:.015em;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--script-ink)}
#rehearsal-phase{font-size:.875rem;line-height:1.6;color:#52685A;word-break:keep-all;flex:1;min-width:150px}
.rehearsal-controls>label{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 12px;border:1px solid #CAD8C8;border-radius:5px;background:#FFF;font-size:.875rem;line-height:1.5;white-space:nowrap;color:#365441;cursor:pointer}
.rehearsal-controls>label:hover{background:#EFF6E9;border-color:#92B899}
.rehearsal-controls>label:focus-within{outline:2px solid var(--script-green);outline-offset:3px}
.script-reading-mode .script-reading-choice{background:#E1F4E8;border-color:#5AA77B;color:#075C40;font-weight:700;box-shadow:inset 0 0 0 1px #8EC9A6}
#script-reading-mode{width:17px;height:17px;margin:0;accent-color:var(--script-green)}
#script-status{font-size:.8125rem;line-height:1.6;color:#536D5D}
#script-status:empty{display:none}
.rehearsal-controls[data-goal-reached="true"] #rehearsal-time{color:var(--script-green)}
.script-layout{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:214px minmax(0,1fr);gap:52px;padding:0 clamp(20px,4vw,56px)}
.script-toc{align-self:start;position:sticky;top:calc(var(--script-controls-height) + 24px);padding:6px 0 20px}
.script-toc h2{font-size:.8125rem;line-height:1.5;letter-spacing:.08em;font-weight:700;color:#65766A;margin:0 0 16px}
.script-toc ol{list-style:none;padding:0;margin:0;display:grid;gap:3px}
.script-toc li{min-width:0}
.script-toc a{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-height:44px;padding:10px 11px;border-left:2px solid transparent;border-radius:0 5px 5px 0;color:#586A5E;font-size:.875rem;line-height:1.55;text-decoration:none;word-break:keep-all}
.script-toc a:hover{color:var(--script-green);background:#EEF4EA}
.script-toc a[aria-current="location"],.script-toc a.is-active{color:var(--script-green);border-left-color:var(--script-green);background:#EAF5EC;font-weight:700}
.script-toc-time{font-size:.75rem;color:#7B8B7F;font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0}
#script-main{min-width:0;max-width:830px}
.script-scene{scroll-margin-top:calc(var(--script-controls-height) + 28px);padding:0 0 48px;margin:0 0 46px;border-bottom:1px solid var(--script-line)}
.script-scene-head{position:relative;padding-right:165px;margin-bottom:25px}
.script-timing{font-size:.8125rem;font-weight:700;letter-spacing:.045em;font-variant-numeric:tabular-nums;line-height:1.6;margin:0 0 11px;color:var(--script-green)}
.script-scene h2{font-size:clamp(1.65rem,2.2vw,2.15rem);line-height:1.35;letter-spacing:-.04em;word-break:keep-all;margin:0;font-weight:700}
.script-stage-open{position:absolute;right:0;top:1px;font-size:.8125rem;line-height:1.6;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 10px;border:1px solid #C6D5C3;border-radius:5px;color:#3C6447!important;text-decoration:none;background:#F1F6EC}
.script-stage-open:hover{background:#E8F2E5;color:var(--script-green)!important}
.script-keyline{font-size:1.0625rem;line-height:1.8;color:var(--script-green);font-weight:700;word-break:keep-all;border-left:3px solid #94D7B7;padding:1px 0 1px 17px;margin:0 0 27px}
.script-speech{font-size:1.1875rem;line-height:1.95;letter-spacing:-.012em;color:#19372A;word-break:keep-all;overflow-wrap:break-word}
.script-speech p{margin:0 0 20px}
.script-speech p:last-child{margin-bottom:0}
.script-transition{margin:29px 0 0;padding:18px 21px 19px;border-radius:8px;background:#E9F8F2;border:1px solid #D4EAE0}
.script-label{font-size:.75rem;line-height:1.6;letter-spacing:.05em;color:#5B7C69;font-weight:700;margin:0 0 7px}
.script-transition p:not(.script-label){font-size:1.0625rem;line-height:1.8;color:#1D5C40;word-break:keep-all;margin:0}
.script-cues{margin:25px 0 0;padding:18px 21px 19px;background:#F1F2E9;border:1px solid #E2E5D7;border-radius:8px;color:#546052}
.script-cues h3{font-size:.8125rem;line-height:1.6;font-weight:700;letter-spacing:.02em;margin:0 0 9px;color:#5A6D5D}
.script-cues ol{margin:0;padding-left:20px;display:grid;gap:7px}
.script-cues li{font-size:.9375rem;line-height:1.75;word-break:keep-all;padding-left:3px}
.script-option{margin-top:20px;color:#657064;font-size:.875rem;line-height:1.8;word-break:keep-all}
.script-option summary{cursor:pointer;font-weight:700;color:#5D715F;min-height:44px;padding:10px 0}
.script-option p{margin:10px 0 0;max-width:730px}
.script-cases-link{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:44px;font-size:.875rem;line-height:1.6;margin-top:17px;color:#4D765B!important}
.script-aftertalk{background:#F2F2E9;border-color:#E0E1D4}
.script-aftertalk p:not(.script-label){color:#65715F;font-size:.9375rem}
.script-footer{max-width:1280px;margin:0 auto;padding:0 clamp(20px,4vw,56px) 48px;color:#6B766B;font-size:.8125rem;line-height:1.8;word-break:keep-all}
.script-footer p{margin:0 0 12px}
.script-sources{margin-top:22px;border-top:1px solid var(--script-line);padding-top:18px}
.script-sources summary{font-weight:700;color:#526956;cursor:pointer;min-height:44px;padding:10px 0}
.script-sources ul{padding-left:20px;display:grid;gap:10px;margin-top:16px}
.script-sources a{overflow-wrap:anywhere}
.script-copy-fallback{max-width:1168px;margin:20px auto 0;padding:23px;background:#E9F8F2;border:1px solid #BDD9CB;border-radius:9px}
.script-copy-fallback label{display:block;font-weight:700;font-size:1rem;color:var(--script-ink);margin-bottom:6px}
.script-copy-fallback p{font-size:.875rem;line-height:1.75;color:#496653;margin:0 0 13px}
.script-copy-fallback textarea{display:block;width:100%;max-width:100%;min-height:250px;resize:vertical;padding:15px;border:1px solid #B4CDBE;border-radius:5px;background:#FFF;color:#183B29;font-size:1rem;line-height:1.8}
.script-copy-fallback .script-copy-tools{display:flex;align-items:center;gap:10px;margin-top:13px}
.script-copy-fallback button{min-height:44px;padding:10px 12px;border:1px solid #ABC4B3;border-radius:5px;background:transparent;color:#1C573A;font-size:.875rem}
.script-reading-mode .script-keyline,.script-reading-mode .script-cues,.script-reading-mode .script-option,.script-reading-mode .script-cases-link,.script-reading-mode .script-aftertalk{display:none!important}
.script-reading-mode .script-speech{font-size:1.25rem;line-height:2}
.script-reading-mode .script-scene-head{margin-bottom:28px}
@media(min-width:1440px){.script-hero{padding-top:86px}.script-layout{gap:64px;grid-template-columns:220px minmax(0,1fr)}.script-speech{font-size:1.25rem}}
@media(max-width:1190px){.rehearsal-controls,.script-copy-fallback{margin-left:4vw;margin-right:4vw}.script-layout{gap:30px;grid-template-columns:183px minmax(0,1fr)}.script-toc a{padding-left:9px;padding-right:9px;font-size:.8125rem}.script-toc-time{font-size:.6875rem}.script-summary{gap:13px}.script-summary article{padding:19px}.rehearsal-controls{gap:9px 12px}#rehearsal-phase{min-width:130px;flex-basis:180px}}
@media(max-width:900px){.script-layout{grid-template-columns:154px minmax(0,1fr);gap:23px}.script-toc a{display:block}.script-toc-time{display:block;font-size:.75rem;margin-top:3px}.script-speech{font-size:1.125rem;line-height:1.95}.script-scene-head{padding-right:0}.script-stage-open{position:static;margin-top:14px}.script-summary article{padding:17px}.script-summary p{font-size:.9375rem}.script-topbar{padding-top:18px;padding-bottom:18px}.script-hero{padding-top:50px}.script-hero h1{font-size:3rem}.script-summary{margin-top:28px}}
@media(max-width:700px){
  html{scroll-behavior:auto}
  .script-topbar{padding:18px 6%;align-items:flex-start;gap:15px;flex-direction:column}
  .script-brand{font-size:1rem}.script-brand img{width:136px;height:auto}
  .script-actions{width:100%;justify-content:flex-start;gap:8px}
  .script-actions button,.script-actions a.script-stage-link,.script-stage-link a{font-size:.8125rem;min-height:44px;padding:9px 10px;gap:6px}
  .script-hero{padding:39px 6% 28px}
  .script-hero h1{font-size:clamp(2rem,8.5vw,2.8rem);line-height:1.23;letter-spacing:-.05em}
  .script-hero>label,.script-hero>.script-label,.script-hero>p:first-child{font-size:.75rem;letter-spacing:.08em;margin-bottom:15px}
  .script-lede{font-size:1rem;line-height:1.85;margin-top:20px}
  .script-hero-actions{margin-top:23px;gap:10px}
  .script-hero-actions a,.script-hero-actions button{font-size:.9375rem;min-height:48px;padding:11px 16px}
  .script-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:25px}
  .script-summary article{padding:13px 10px;border-radius:8px}
  .script-summary h2{font-size:.875rem;margin-bottom:4px}
  .script-summary p{font-size:1rem;line-height:1.55;letter-spacing:-.025em}
  .rehearsal-controls{position:static;backdrop-filter:none;border-radius:8px;margin:0 6% 30px;padding:15px 14px;gap:11px 9px;align-items:center}
  .rehearsal-controls button{font-size:.8125rem;min-height:44px;padding:9px 11px}
  .rehearsal-controls #rehearsal-toggle{min-width:104px}
  #rehearsal-time{font-size:1rem;flex:1;text-align:right}
  #rehearsal-phase{font-size:.8125rem;min-width:0;flex:1 1 150px;order:2}
  .rehearsal-controls>label{font-size:.8125rem;min-height:44px;order:2;padding:10px 11px}
  #script-status{flex-basis:100%;order:3;font-size:.75rem}
  .script-layout{display:block;padding:0 6%}
  .script-toc{position:static;padding:0 0 22px;margin:0 0 31px;border-bottom:1px solid var(--script-line)}
  .script-toc h2{font-size:.8125rem;margin-bottom:12px}
  .script-toc ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 9px}
  .script-toc a{display:block;height:100%;font-size:.8125rem;line-height:1.6;padding:9px 10px;background:#F0F3EA;border-radius:5px;min-height:44px}
  .script-toc-time{font-size:.75rem;margin-top:2px}
  #script-main{max-width:none}
  .script-scene{scroll-margin-top:24px;margin-bottom:33px;padding-bottom:32px}
  .script-scene-head{margin-bottom:21px}
  .script-timing{font-size:.75rem;margin-bottom:9px}
  .script-scene h2{font-size:1.75rem;line-height:1.35;letter-spacing:-.04em}
  .script-stage-open{font-size:.8125rem;min-height:44px;margin-top:13px}
  .script-keyline{font-size:1rem;line-height:1.8;padding-left:14px;margin-bottom:23px}
  .script-speech,.script-reading-mode .script-speech{font-size:1.125rem;line-height:1.95;letter-spacing:-.01em}
  .script-speech p{margin-bottom:19px}
  .script-transition{padding:16px 17px;margin-top:23px}
  .script-label{font-size:.75rem;margin-bottom:7px}
  .script-transition p:not(.script-label){font-size:1rem;line-height:1.85}
  .script-cues{padding:16px 17px;margin-top:20px}
  .script-cues li{font-size:.875rem;line-height:1.85;padding-left:2px}
  .script-cues ol{gap:8px;padding-left:18px}
  .script-option{font-size:.875rem;line-height:1.85;margin-top:17px}
  .script-cases-link{font-size:.8125rem;min-height:44px;margin-top:14px}
  .script-footer{padding:0 6% 34px;font-size:.8125rem;line-height:1.85}
  .script-copy-fallback{margin:17px 6% 0;padding:18px}
  .script-copy-fallback textarea{padding:12px;min-height:280px}
  /* After an explicit rehearsal start, keep the same four controls in reach.
     Pause and reset retain this mode for the rest of the reading session. */
  .script-rehearsal-engaged .rehearsal-controls{position:sticky;top:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:10px 12px;align-items:center;background:#FAFAF5F7;box-shadow:0 5px 16px #173B2114;backdrop-filter:blur(12px)}
  .script-rehearsal-engaged .rehearsal-controls button{width:100%;min-height:44px;margin:0}
  .script-rehearsal-engaged #rehearsal-toggle{grid-column:1;grid-row:1}
  .script-rehearsal-engaged #rehearsal-reset{grid-column:2;grid-row:1}
  .script-rehearsal-engaged #rehearsal-time{grid-column:1;grid-row:2;width:100%;font-size:.9375rem;text-align:left;white-space:nowrap;padding:0 2px}
  .script-rehearsal-engaged .rehearsal-controls>label{grid-column:2;grid-row:2;order:initial;width:100%;min-height:44px;gap:6px;padding:8px 7px;white-space:nowrap;font-size:.8125rem}
  .script-rehearsal-engaged #rehearsal-phase,.script-rehearsal-engaged #script-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
  .script-rehearsal-engaged .script-scene{scroll-margin-top:calc(var(--script-controls-height) + 20px)}
}
@media(max-width:360px){.script-actions{gap:7px}.script-actions button,.script-actions a.script-stage-link,.script-stage-link a{padding:9px 8px}.script-hero-actions a,.script-hero-actions button{flex:1 1 100%;min-height:48px}.rehearsal-controls{padding:13px 11px;gap:9px 7px}#rehearsal-time{flex-basis:100%;text-align:left;padding-top:2px}.rehearsal-controls>label{white-space:normal}.script-toc ol{gap:6px}.script-toc a{padding:8px}.script-scene h2{font-size:1.6rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{
  @page{size:A4;margin:18mm 17mm}
  :root{color-scheme:light;--script-controls-height:0px}
  html{scroll-behavior:auto}
  body.scenario-page{background:#FFF;color:#000;font-size:11pt;line-height:1.65}
  .script-topbar{padding:0 0 9mm;border-bottom:1px solid #BBB;display:block;max-width:none}
  .script-brand{font-size:12pt;color:#000!important}
  .script-actions,.script-hero-actions,.rehearsal-controls,.script-toc,.script-stage-open,.script-cases-link,.script-copy-fallback{display:none!important}
  .script-hero{padding:9mm 0 7mm;max-width:none}
  .script-hero>label,.script-hero>.script-label,.script-hero>p:first-child{font-size:9pt;color:#555;margin-bottom:4mm}
  .script-hero h1{font-size:25pt;line-height:1.25;color:#000;max-width:none}
  .script-lede{font-size:11pt;line-height:1.7;color:#333;margin-top:5mm}
  .script-summary{display:none}
  .script-layout{display:block;padding:0;max-width:none}
  #script-main{max-width:none}
  .script-scene{padding-bottom:7mm;margin-bottom:8mm;border-bottom:1px solid #CCC;scroll-margin:0}
  .script-scene-head{padding:0;margin-bottom:5mm;break-inside:avoid;break-after:avoid}
  .script-timing{font-size:9pt;color:#444;margin-bottom:2mm}
  .script-scene h2{font-size:17pt;line-height:1.4;color:#000}
  .script-keyline{font-size:11pt;line-height:1.65;color:#222;border-color:#999;padding-left:4mm;margin-bottom:5mm;break-inside:avoid;break-after:avoid}
  .script-speech,.script-reading-mode .script-speech{font-size:12pt;line-height:1.9;color:#000;word-break:keep-all}
  .script-speech p{margin:0 0 4mm;orphans:3;widows:3}
  .script-transition{background:none;border:1px solid #AAA;border-radius:0;padding:4mm;margin-top:5mm;break-inside:avoid}
  .script-transition .script-label{font-size:9pt;color:#555}
  .script-transition p:not(.script-label){font-size:11pt;line-height:1.8;color:#000}
  .script-cues{background:none;border:1px solid #CCC;border-radius:0;padding:4mm;margin-top:5mm;break-inside:avoid;color:#333}
  .script-cues h3{font-size:9pt;color:#555}
  .script-cues li{font-size:10pt;line-height:1.7;color:#333}
  .script-option{font-size:10pt;line-height:1.7;color:#444}
  .script-aftertalk{background:none}
  .script-footer{max-width:none;padding:0;font-size:9pt;color:#555}
  .script-sources{font-size:9pt}
  .scenario-page a{color:#222;text-decoration:none}
}
