@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800;900&display=swap');
:root{--bg:#faf9f6;--ink:#30344a;--purple:#7879d8;--line:#e4e3eb;--accent:#7879d8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Noto Sans TC',system-ui,sans-serif;font-size:16px;line-height:1.75}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:white;border-radius:12px;padding:10px 17px;min-height:44px;color:var(--ink);text-decoration:none;cursor:pointer;transition:transform .2s,box-shadow .2s}button:hover,.btn:hover{transform:translateY(-2px);box-shadow:0 5px 15px #30344a12}button:focus-visible,a:focus-visible{outline:3px solid var(--purple);outline-offset:4px}.primary{background:var(--purple);color:white;border-color:var(--purple)}header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:14px;padding:15px 4%;background:#faf9f6ed;backdrop-filter:blur(15px);border-bottom:1px solid var(--line)}.brand{color:var(--ink);text-decoration:none;font-size:12px;font-weight:800;letter-spacing:1px;display:flex;align-items:center;gap:9px}.brand span{display:none}.brand-icon{font-size:32px;color:var(--purple)}nav{display:flex;gap:5px;flex:1;justify-content:center}nav a{font-size:11px;letter-spacing:1px;text-decoration:none;color:#65677a;padding:9px;border-radius:8px}nav a.active{background:#e9e8fa;color:#5555a6}header button{font-size:12px;padding:8px 12px}main{max-width:1280px;margin:auto;padding:48px 5%;min-height:calc(100vh - 155px);animation:enter .3s}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(40px,5vw,76px);line-height:1.22;letter-spacing:-2px}h2{font-size:clamp(30px,3.7vw,52px);line-height:1.3;letter-spacing:-1px}h3{font-size:21px}p{color:#6d7084}.eyebrow{font-size:12px;letter-spacing:3px;font-weight:700;color:#7c7ba6;margin-bottom:24px}.hero{min-height:65vh;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:30px}.hero h1 em{font-style:normal;color:var(--purple)}.hero p{font-size:19px;max-width:500px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.hero-art{position:relative;height:460px;display:grid;place-items:center;background:radial-gradient(ellipse,#e7e4f7 0,transparent 66%)}.orb{width:285px;height:285px;border-radius:40% 60% 56% 44%;background:linear-gradient(140deg,#b7b5f0,#8586dc 65%,#b8e0d3);box-shadow:inset 10px 14px 30px #ffffff80,20px 30px 60px #7879d826;transform:rotate(-15deg);display:grid;place-items:center}.orb span{font-size:102px;font-weight:800;color:white;transform:rotate(15deg);letter-spacing:-8px}.float{position:absolute;background:#ffffffec;box-shadow:0 12px 35px #30344a10;border:1px solid white;border-radius:18px;padding:17px 23px;font-size:15px;animation:float 6s ease-in-out infinite}.f1{top:38px;left:0;transform:rotate(-7deg)}.f2{right:0;top:165px;transform:rotate(7deg);background:#e3f3ec}.f3{left:20px;bottom:36px;transform:rotate(-4deg);background:#fbe6d5}.star{position:absolute;right:45px;top:28px;color:#e9b68e;font-size:65px}.strip{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px;font-size:12px;color:#7c7d90;letter-spacing:1px}.heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:30px}.heading p{max-width:400px;margin-bottom:4px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px;text-align:left;display:block;min-width:0}.card:hover{border-color:var(--accent)}.card .number{display:block;font-size:42px;font-weight:800;color:var(--accent);line-height:1.2;margin-bottom:32px}.card small{color:#828497}.card h3{margin:10px 0}.agenda{grid-template-columns:repeat(5,minmax(0,1fr))}.agenda .card{padding:23px 18px;min-height:270px}.agenda h3{font-size:17px}.agenda p{font-size:14px}.chapter-top{display:flex;align-items:center;gap:14px;font-size:12px;letter-spacing:1px;margin-bottom:35px}.progress{display:flex;gap:5px}.progress i{width:28px;height:4px;background:#e1e1e8}.progress i.on{background:var(--accent)}.chapter-title{border-left:5px solid var(--accent);padding-left:24px;margin-bottom:35px}.chapter-title h2{margin-bottom:10px}.chapter-title p{font-size:21px}.modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:28px}.module{background:#fff;border-radius:20px;padding:28px;border:1px solid var(--line)}.placeholder{background:repeating-linear-gradient(135deg,#f1f0f7,#f1f0f7 12px,#f6f5fa 12px,#f6f5fa 24px);border:1px dashed #cdcbdf;min-height:170px;display:grid;place-items:center;text-align:center;border-radius:15px;color:#77768d;padding:25px}.module img,.module video{max-width:100%;border-radius:12px}.section-label{display:flex;justify-content:space-between;align-items:center;margin:30px 0 18px}.section-label h3{margin:0}.badge{display:inline-block;border-radius:20px;background:#f0effa;padding:4px 12px;font-size:11px;color:#6262a0;letter-spacing:1px}.chapter-bottom{display:flex;justify-content:space-between;gap:12px;margin-top:45px;padding-top:25px;border-top:1px solid var(--line)}footer{padding:22px 5%;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px;color:#7d7e90}footer button{font-size:11px;padding:4px 12px;min-height:32px}.studio{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#efeff5}.studio-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px;background:white}.studio-head h3{margin:0}.studio-head p{margin:3px 0;font-size:13px}.studio-controls{display:flex;gap:8px;flex-wrap:wrap;padding:12px;background:white;border-top:1px solid var(--line)}.studio-controls button{font-size:13px}.viewport{height:58vh;min-height:320px;display:flex;justify-content:center;align-items:stretch;overflow:auto;padding:14px}.viewport iframe{border:0;width:100%;height:100%;background:white;border-radius:8px}.viewport.phone iframe{max-width:390px}.studio.expanded{position:fixed;inset:0;z-index:80;border-radius:0;display:flex;flex-direction:column}.studio:fullscreen{display:flex;flex-direction:column;width:100%;height:100%;border-radius:0}.studio.expanded .viewport,.studio:fullscreen .viewport{flex:1;height:auto;min-height:0}.notice{padding:13px 18px;border-radius:12px;background:#f7eedf;font-size:13px;color:#7d6545;margin:15px 0}.tabs{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.tabs button.selected{background:var(--ink);color:white}.prompt-text{white-space:pre-wrap;background:#f6f5fb;border-radius:14px;padding:22px;color:#4e5068;font-size:16px;overflow-wrap:anywhere}.create-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:25px}.step{font-size:11px;letter-spacing:2px;color:#8483b1;font-weight:700}.tool-choice{display:block;width:100%;text-align:left;margin:10px 0}.tool-choice.selected{border-color:var(--purple);background:#eeedf9}.custom-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}label{font-size:13px;display:block}input,textarea,select{width:100%;border:1px solid #d5d4df;border-radius:10px;padding:10px;background:white;color:var(--ink);min-height:44px}textarea{min-height:160px;resize:vertical}.search{max-width:360px}dialog{border:1px solid var(--line);border-radius:24px;width:min(660px,94vw);padding:36px;max-height:90vh;color:var(--ink)}dialog::backdrop{background:#30344a80;backdrop-filter:blur(5px)}.close{position:absolute;right:12px;top:12px;font-size:24px;padding:0;width:38px;min-height:38px}.qr{text-align:center}.qr svg{width:min(330px,100%);height:auto;background:white;padding:12px}.qr-link{overflow-wrap:anywhere;font-size:13px}.form-row{margin:16px 0}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:12px;padding:12px 22px;z-index:200;display:none}.skip{position:absolute;top:-80px}.skip:focus{top:0;z-index:100}.instructor{font-size:19px}.instructor .prompt-text{font-size:20px}.instructor main{max-width:1500px}.instructor .card p{font-size:17px}.key-hint{font-size:12px;color:#858697}.empty{padding:35px;text-align:center;color:#77798c}.demo-badge{background:#dff1e9;color:#397361}a{color:#6262b2}details{margin:20px 0}summary{cursor:pointer}button:disabled{opacity:.45;cursor:default}.resource-head{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}@keyframes enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes float{50%{translate:0 -9px}}@media(min-width:1400px){.brand span{display:block}}@media(max-width:1000px){header{flex-wrap:wrap;gap:8px}nav{order:3;width:100%;flex-basis:100%;justify-content:space-between;overflow:auto}.brand{flex:1}.agenda{grid-template-columns:repeat(3,1fr)}.hero-art{height:380px}.orb{width:230px;height:230px}.float{padding:12px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){main{padding:30px 6%}.hero{grid-template-columns:1fr;gap:0}.hero h1{font-size:46px}.hero-art{height:330px}.hero p{font-size:17px}.f1{top:15px}.f3{bottom:10px}.agenda,.grid,.modules,.create-layout{grid-template-columns:1fr}.agenda .card{min-height:0;position:relative;padding-left:83px}.agenda .number{position:absolute;left:20px;top:28px;font-size:32px}.heading{display:block}.heading p{margin-top:15px}.strip{gap:15px;flex-wrap:wrap}.chapter-title p{font-size:18px}.chapter-top{flex-wrap:wrap}.studio-head{flex-wrap:wrap}.viewport{height:60vh;padding:5px}.studio-controls{gap:5px}.studio-controls button{font-size:12px;padding:8px 10px}.chapter-bottom{flex-wrap:wrap}footer{gap:15px;flex-wrap:wrap}dialog{padding:35px 20px}.instructor{font-size:17px}nav a{padding:7px;font-size:10px}.custom-grid{grid-template-columns:1fr}h1{letter-spacing:-1px}.key-hint{display:none}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.personalization{grid-column:1/-1}.personalization .custom-grid{grid-template-columns:repeat(4,1fr)}@media(max-width:650px){.personalization .custom-grid{grid-template-columns:1fr 1fr}nav{scrollbar-width:none}nav::-webkit-scrollbar{display:none}}
html.expanded header,html.expanded footer{display:none}html.expanded::after{content:'放大檢視 · 按 Esc 返回';position:fixed;right:18px;bottom:12px;font-size:12px;color:#6d7084;pointer-events:none}html.expanded main{min-height:100vh}

/* v1.1 投影標籤與講師資料 */
.hero-art .float{font-size:clamp(19px,1.8vw,25px);font-weight:600;line-height:1.5}.multiline{white-space:pre-wrap}.profile-photo{width:100%;max-height:520px;object-fit:contain}#modalContent .form-row textarea{min-height:100px}@media(max-width:650px){.hero-art .float{font-size:18px;padding:12px 16px}.hero-art .f2{right:-4px}}
.thinking-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:30px 0}.thinking-card{border-radius:22px;padding:28px;background:#eeedf9;min-width:0}.thinking-card:nth-child(2){background:#e5f2ec}.thinking-card:nth-child(3){background:#f9e9dc}.thinking-card h3{margin:18px 0 12px}.thinking-card summary{font-size:14px;font-weight:600}.thinking-card details{font-size:14px}.site-map>strong{display:block;text-align:center;border-radius:10px;background:white;padding:12px;margin-bottom:18px}.map-branches{display:flex;flex-direction:column;gap:12px;border-left:2px solid #b0acd9;padding-left:15px}.map-branches>div{background:#ffffffc9;border-radius:10px;padding:12px}.map-branches span{display:block;font-size:12px;margin-top:5px}.storage-concepts{display:flex;gap:7px;flex-wrap:wrap}.storage-concepts span{background:white;padding:8px;border-radius:8px}.practice-examples{margin-top:32px}.practice-examples>summary{font-size:22px;font-weight:700;margin-bottom:24px}.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:800px){.thinking-grid{grid-template-columns:1fr}}@media(max-width:650px){.explore-grid{grid-template-columns:1fr}}

/* v1.6.2 清楚易讀的章節導覽 */
header{flex-wrap:wrap}header .brand{flex:1;white-space:nowrap}header nav{order:3;flex:0 0 100%;width:100%;min-width:0;justify-content:center;gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}header nav a{font-size:16px;font-weight:600;letter-spacing:.3px;min-height:46px;padding:10px 15px;white-space:nowrap;flex-shrink:0;display:inline-flex;align-items:center}header button{font-size:15px;min-height:44px}.instructor header nav a{font-size:18px}@media(max-width:1000px){header nav{justify-content:flex-start}}@media(max-width:650px){header{gap:8px;padding:12px 4%}header .brand{flex-basis:100%;font-size:14px}header button{font-size:14px;padding:9px 12px}header nav{gap:6px;padding-top:4px}header nav a,.instructor header nav a{font-size:16px;min-height:46px;padding:10px 14px}}
/* v1.6.4 筆電投影閱讀 */
@media(min-width:901px){.instructor{font-size:24px;line-height:1.8}.instructor main{max-width:1500px}.instructor h2{font-size:clamp(42px,4vw,64px)}.instructor h3{font-size:28px}.instructor .hero p,.instructor .chapter-title p{font-size:26px}.instructor .card p,.instructor .agenda p,.instructor .thinking-card p{font-size:22px}.instructor .agenda h3{font-size:23px}.instructor .prompt-text,.instructor textarea{font-size:23px}.instructor button,.instructor .btn{font-size:18px;min-height:48px}.instructor header button,.instructor header nav a{font-size:18px}.instructor .eyebrow,.instructor .step,.instructor .chapter-top{font-size:15px}.instructor .thinking-card summary,.instructor .thinking-card details{font-size:19px}.instructor .badge,.instructor .card small{font-size:14px}.instructor .studio-head p,.instructor .studio-controls button{font-size:17px}.instructor .custom-grid label{font-size:18px}.instructor .agenda{grid-template-columns:repeat(3,minmax(0,1fr))}.instructor .agenda .card{min-height:240px}.instructor .key-hint{font-size:15px}}

/* 認識 AI：可依現場選用的生活技巧 */
.quick-tips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:24px 0 36px}
.quick-tip{min-width:0;border-top:5px solid #B9DCEB;display:flex;flex-direction:column}
.quick-tip:nth-child(2){border-top-color:#A9DCCB}.quick-tip:nth-child(3){border-top-color:#F4BE91}
.quick-tip ol{padding-left:1.4em;line-height:1.9}.quick-tip details{margin-top:auto}.quick-tip summary{cursor:pointer;padding:12px 0;font-weight:600}
.quick-tip .prompt-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:inherit;padding:18px}.quick-tip small{line-height:1.7}
@media(max-width:1000px){.quick-tips{grid-template-columns:1fr}}

/* 04 操作 SOP */
.explore-sops{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:26px 0 48px;align-items:start}
.sop-card{min-width:0;border-top:5px solid #B9DCEB}.sop-card summary{cursor:pointer;padding:16px 0;font-weight:600}
.sop-card h4{font-size:1.05em;margin:22px 0 12px}.sop-card ol{padding-left:1.4em;line-height:1.9}.sop-card li+li{margin-top:8px}
.sop-card .prompt-text{font-size:inherit;white-space:pre-wrap;overflow-wrap:anywhere;padding:18px}.sop-section+.sop-section{border-top:1px solid #e7e6ef;margin-top:24px}.sop-note{border-left:3px solid #A9DCCB;padding-left:14px}.paid-badge{background:#f7e6d7;color:#674529}
@media(max-width:900px){.explore-sops{grid-template-columns:1fr}}

/* 首頁版本與共用桌面圖示 */
header .brand-icon{width:44px;height:44px;object-fit:contain;flex-shrink:0;border-radius:11px}
.version-label{display:inline-flex;align-items:center;padding:3px 12px;margin:0 0 20px;border:1px solid #dcdbee;border-radius:99px;background:#eeedf8;color:#56569b;font-size:15px;font-weight:600;letter-spacing:.5px}
.instructor .version-label{font-size:17px}

.interface-hints{display:flex;gap:14px;flex-wrap:wrap;margin:20px 0 32px}.interface-hints span{display:inline-flex;gap:10px;align-items:center;border:1px solid #dfdeeb;background:white;border-radius:16px;padding:12px 20px}.interface-hints b{font-size:25px;color:#7879d8}.edit-control{font-size:15px!important;color:#5555a6;border-style:dashed;margin:6px 0 12px}.editing header{border-bottom:3px solid #7879d8}.closing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:32px 0}.closing-page>h2{max-width:1000px}.closing-grid .card:nth-child(2){background:#eff7f3}.closing-grid .card:nth-child(3){background:#fbf0e6}.closing-grid .card:nth-child(4){background:#efedf9}.closing-grid .number{font-size:24px;color:#7879d8}.form-row textarea[data-editor-field]{min-height:95px;line-height:1.7}@media(max-width:700px){.closing-grid{grid-template-columns:1fr}}

/* 實作提示詞加高，保留手動調整高度 */
#createPrompt{height:65vh;min-height:420px;line-height:1.85;resize:vertical}
@media(max-width:650px){#createPrompt{height:65vh;min-height:360px}}

/* 首頁：保留原始主視覺，放大並調整留白 */
main:has(.hero-playground){max-width:1600px;padding-top:28px}
.hero-playground{position:relative;min-height:calc(100svh - 240px);padding:28px 0 50px;gap:4%;grid-template-columns:1fr 1fr}
.hero-playground h1{font-size:clamp(58px,6vw,96px);margin-bottom:32px}.hero-playground .eyebrow{margin-bottom:28px}
.hero-playground .hero-art{height:500px;background:radial-gradient(ellipse,#e7e4f760,transparent 66%)}
.hero-playground .orb{width:330px;height:330px}.hero-playground .orb span{font-size:130px}
.hero-playground .f1{top:20px;left:3%;font-size:22px}.hero-playground .f2{right:0;top:180px;font-size:22px}.hero-playground .f3{bottom:35px;left:0;font-size:22px}
.home-version{position:absolute;right:0;bottom:0;font-size:14px;letter-spacing:.7px;color:#77768f}
@media(max-width:1000px){.hero-playground .hero-art{height:430px}.hero-playground .orb{width:260px;height:260px}.hero-playground .orb span{font-size:100px}.hero-playground .f1,.hero-playground .f2,.hero-playground .f3{font-size:17px}.hero-playground .f2{top:150px}}
@media(max-width:650px){main:has(.hero-playground){padding-top:22px}.hero-playground{grid-template-columns:1fr;gap:25px;padding-top:0;padding-bottom:40px}.hero-playground h1{font-size:clamp(44px,10vw,62px);margin-bottom:24px}.hero-playground .hero-art{height:370px;min-width:0}.hero-playground .f1{left:0;top:8px}.hero-playground .f2{right:0;top:140px}.hero-playground .f3{bottom:10px}.hero-playground .eyebrow{font-size:11px;letter-spacing:2px}}

.bakery-entry{margin:36px 0;background:#fbf0e2;border-color:#e9d2b7;display:flex;align-items:center;justify-content:space-between;gap:24px}.bakery-entry p{margin-bottom:0}.bakery{color:#554334}.bakery-visual{text-align:center;font-size:72px;margin:18px}.bakery small{display:block;font-size:14px;line-height:1.8;margin-top:24px}.bakery-result{background:#f7eddd;border-left:4px solid #b98a58;padding:20px;margin-top:18px;animation:enter .3s}.bakery .prompt-text{background:#f8f0e7}.interface-hints button b{font-size:25px;color:#7879d8}@media(max-width:650px){.bakery-entry{display:block}.bakery-entry button{margin-top:18px}}

dialog:has(.bakery){width:min(1200px,92vw);max-height:92svh;padding:40px 5%;}.bakery h2{font-size:clamp(30px,4vw,58px)}.bakery>p{font-size:clamp(20px,2.3vw,30px);max-width:940px}.bakery-visual{font-size:90px;margin:20px}.bakery-navigation{position:sticky;bottom:-1px;background:var(--bg);padding:16px 0;margin-bottom:0}.bakery-result{white-space:pre-wrap;font-size:22px}.bakery>small{font-size:13px}@media(max-width:650px){dialog:has(.bakery){width:98vw;max-height:96svh;padding:40px 20px 12px}.bakery-visual{font-size:64px}}

.bread-machine-icon{display:block;width:160px;height:160px;margin:auto}@media(max-width:650px){.bread-machine-icon{width:130px;height:130px}}

.bakery-entry .bakery-intro,.instructor .bakery-entry .bakery-intro{font-size:clamp(23px,2.2vw,32px);line-height:1.9;margin:12px 0 0}.bakery-intro strong{font-weight:850;white-space:nowrap}.term-md{color:#6660b3}.term-json{color:#28735b}.term-html{color:#a6582d}

.ppt-option{display:flex;align-items:center;gap:12px;font-size:17px;margin:12px 0}.ppt-option input{width:22px;min-height:22px;height:22px;flex:none}.ppt-preview{padding:24px;background:#faf9f6;border:1px solid #e4e3eb;border-radius:16px}fieldset{border:1px solid #e4e3eb;border-radius:14px}

/* 精簡章節引言，保留內容與自適應高度 */
.chapter-top{margin-bottom:18px}.chapter-title{margin-bottom:18px}.chapter-title .eyebrow{margin-bottom:8px}.chapter-title h2{margin-bottom:4px}.chapter-title p{margin-bottom:0}.modules{margin-bottom:16px}.modules:has(> .module:only-child){grid-template-columns:1fr}.modules > .module:only-child{padding:16px 22px}.modules > .module:only-child h3{margin:0 0 4px}.modules > .module:only-child p{margin:0}.practice-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.practice-group{background:white;border:1px solid var(--line);border-radius:18px;padding:18px}.practice-group h3{margin:0 0 10px}.practice-choice{width:100%;justify-content:space-between;text-align:left;margin-top:8px}.practice-detail{margin-top:20px;scroll-margin-top:140px}.practice-detail textarea{width:100%;min-height:260px}.practice-detail details{margin-bottom:0}@media(max-width:900px){.practice-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.practice-groups{grid-template-columns:1fr}.practice-group{padding:14px}.chapter-top{margin-bottom:14px}.chapter-title{padding-left:16px;margin-bottom:14px}.modules > .module:only-child{padding:14px 16px}.practice-detail{scroll-margin-top:125px}}
