/* Planner entry only; existing engine, forms and other pages are unchanged. */
.tos-planner-entry{font:400 16px/1.5 Prompt,Tahoma,sans-serif;color:#081550;background:#f5faff;width:min(96%,1320px);margin:24px auto 90px;border-radius:26px;overflow:hidden;border:1px solid #d6e6ff}.tos-planner-entry *{box-sizing:border-box;min-width:0}.tos-planner-entry[hidden]{display:none!important}.tos-planner-entry :is(h1,h2,h3,p){margin:0}.tos-planner-entry .tos-copy>[lang=th],.pe-workspace .tos-copy>[lang=th]{display:none}.tos-planner-entry[data-language=th] .tos-copy>[lang=en],.pe-workspace[data-language=th] .tos-copy>[lang=en]{display:none}.tos-planner-entry[data-language=th] .tos-copy>[lang=th],.pe-workspace[data-language=th] .tos-copy>[lang=th]{display:inline}.tos-planner-entry :focus-visible,.pe-workspace>button:focus-visible{outline:3px solid #7528ff;outline-offset:4px}.tos-planner-entry svg{width:22px;height:22px;vertical-align:middle}.tos-planner-entry .pe-hero{position:relative;isolation:isolate;min-height:310px;padding:36px 5%;background:#b9e9ff;overflow:hidden}.tos-planner-entry .pe-scenery{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}.tos-planner-entry .pe-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#e6faffef,#d1f3ff90,transparent)}.tos-planner-entry .pe-robot{position:absolute;right:3%;bottom:-18px;width:30%;height:95%;object-fit:contain}.tos-planner-entry .pe-heading{width:70%}.tos-planner-entry .pe-badge{display:inline-block;padding:8px 20px;border-radius:24px;color:white;background:linear-gradient(120deg,#9234ff,#066bff);font-weight:600}.tos-planner-entry h1{font-size:44px;line-height:1.25;margin:20px 0 12px}.tos-planner-entry .pe-heading p{font-size:20px}.tos-planner-entry .pe-body{position:relative;margin-top:-20px;border-radius:32px 32px 0 0;background:#fafdff;padding:26px 5%}.tos-planner-entry h2{font-size:26px;text-align:center;margin-bottom:24px}.tos-planner-entry .pe-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.tos-planner-entry .pe-choice{border:1px solid #d6e5ff;border-radius:26px;overflow:hidden;background:white;box-shadow:0 6px 16px #1659a716;display:flex;flex-direction:column}.tos-planner-entry .pe-choice>img,.tos-planner-entry .pe-ai-art{width:100%;height:190px;object-fit:cover}.tos-planner-entry .pe-ai-art{background:radial-gradient(ellipse,#e0ebff,#9761f2);text-align:center}.tos-planner-entry .pe-ai-art img{height:100%;width:100%;object-fit:contain}.tos-planner-entry .pe-choice>div:last-child{padding:20px;display:flex;flex-direction:column;gap:14px;flex:1;text-align:center}.tos-planner-entry h3{font-size:25px;line-height:1.35}.tos-planner-entry .pe-cta{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 16px;border-radius:28px;background:linear-gradient(120deg,#16b6ff,#173aff);color:white;text-decoration:none;font-weight:600;font-size:18px;margin-top:auto}.tos-planner-entry .pe-ai .pe-cta{background:linear-gradient(120deg,#af66ff,#4b00ed)}.tos-planner-entry .pe-limit{font-size:13px;color:#455f7b;margin:16px 0;text-align:center}.tos-planner-entry .pe-inspiration{margin-top:26px}.tos-planner-entry .pe-inspiration>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tos-planner-entry .pe-inspiration a{display:block;position:relative;aspect-ratio:1.7;border-radius:18px;overflow:hidden;color:white}.tos-planner-entry .pe-inspiration img{width:100%;height:100%;object-fit:cover}.tos-planner-entry .pe-inspiration strong{position:absolute;inset:auto 0 0;padding:25px 14px 12px;background:linear-gradient(transparent,#012238e8)}.tos-planner-entry .pe-credits{font-size:12px;margin-top:18px}.tos-planner-entry summary{cursor:pointer;min-height:44px;padding:12px 0}.pe-workspace{margin:16px auto 90px;width:min(96%,1320px)}.pe-workspace>summary,.pe-workspace>[data-journey-back]{font:500 16px Prompt,Tahoma,sans-serif;min-height:48px;padding:12px 18px;border:1px solid #cdd7ff;border-radius:12px;color:#243fa3;background:#f4f7ff;cursor:pointer}
@media(max-width:600px){.tos-planner-entry{width:100%;margin-top:8px;border-radius:16px}.tos-planner-entry .pe-hero{min-height:230px;padding:22px 16px 32px}.tos-planner-entry .pe-heading{width:69%}.tos-planner-entry h1{font-size:27px;margin:14px 0 10px}.tos-planner-entry .pe-heading p{font-size:15px}.tos-planner-entry .pe-robot{width:35%;right:0;height:76%}.tos-planner-entry .pe-badge{font-size:13px;padding:6px 12px}.tos-planner-entry .pe-body{padding:20px 12px;border-radius:20px 20px 0 0}.tos-planner-entry h2{font-size:22px;margin-bottom:16px}.tos-planner-entry .pe-choices{gap:10px}.tos-planner-entry .pe-choice{border-radius:20px}.tos-planner-entry .pe-choice>img,.tos-planner-entry .pe-ai-art{height:105px}.tos-planner-entry .pe-choice>div:last-child{padding:12px 8px;gap:12px}.tos-planner-entry h3{font-size:18px}.tos-planner-entry .pe-choice p{display:none}.tos-planner-entry .pe-cta{padding:10px 6px;font-size:15px;gap:4px;min-height:46px}.tos-planner-entry .pe-inspiration>div{gap:8px}.tos-planner-entry .pe-inspiration a{aspect-ratio:1}.tos-planner-entry .pe-inspiration strong{font-size:14px;padding:20px 8px 10px}.tos-planner-entry .pe-limit{font-size:12px}}
.pe-library {width:min(96%,1320px);margin:16px auto 32px;font-family:Prompt,Tahoma,sans-serif}
.pe-library>summary {display:list-item;cursor:pointer;padding:12px 16px;min-height:44px}
.jq:not([lang=th]) .pe-library>summary [lang=th],.jq[lang=th] .pe-library>summary [lang=en]{display:none}
.jq .tos-planner-entry{margin-bottom:20px}
.jq .pe-workspace:not([open]){margin-bottom:16px}
.jq .tos-planner-entry .pe-hero{min-height:215px}
.jq .tos-planner-entry .pe-choice>img,.jq .tos-planner-entry .pe-ai-art{height:clamp(90px,12vw,152px)}
@media(max-width:600px){
 .jq .tos-planner-entry .pe-hero{min-height:145px;padding:12px 14px 24px}
 .jq .tos-planner-entry .pe-heading h1{font-size:25px;margin:7px 0}
 .jq .tos-planner-entry .pe-heading p{font-size:14px}
 .jq .tos-planner-entry .pe-body{padding:14px 10px}
 .jq .tos-planner-entry .pe-choice>img,.jq .tos-planner-entry .pe-ai-art{height:84px}
}
