/* Separate illustrations and semantic controls compose the accepted story world. */
/* The accepted worked example uses real controls and text on a separate art layer. */
.visitor-backdrop{display:none;pointer-events:none}
body.storyworld[data-world=visitor] .visitor-backdrop{display:block;position:absolute;inset:70px 0 0;background:url('/assets/storyworld/salon-setting-v1.png') center bottom/100% auto no-repeat;z-index:0;opacity:.92}
body.storyworld[data-world=visitor] .conversation-stage{width:32vw;max-width:510px;top:50%}
body.storyworld[data-world=visitor] .context-column{display:block;position:absolute;top:27%;width:29%;max-width:480px;z-index:3;padding:0;min-height:0;margin:0}
body.storyworld[data-world=visitor] #left-content{left:2%}
body.storyworld[data-world=visitor] #right-content{right:2%;top:33%}
.visitor-pane{padding:20px;border:1px solid #d6f1e2;border-radius:22px;background:linear-gradient(155deg,#fff 30%,#f8fdfa 100%);box-shadow:0 12px 30px #33a86e20;color:#213c2e}
.visitor-pane h3{font-size:21px;line-height:1.25;margin:0 0 16px;font-weight:600}
.visitor-pane p{font-size:15px;line-height:1.5;margin:0 0 14px}
.visitor-kicker{font-size:11px;color:#4b6b59;margin:0 0 6px;letter-spacing:.04em}
.visitor-choice{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:12px 13px;text-align:left;border-radius:13px;background:#effaf4;color:#213c2e;margin:8px 0;min-height:44px}
.visitor-choice strong{font-size:14px;font-weight:500;line-height:1.3}
.visitor-choice span{font-size:12px;line-height:1.4;color:#4b6b59}
.visitor-choice:hover{background:#e5f6ec}
.visitor-source{font-size:14px;color:#17784a;display:block;margin-top:15px;min-height:32px;line-height:1.4}
.visitor-pane .visitor-note{font-size:12px;line-height:1.4;color:#4b6b59;margin:14px 0 0}
.visitor-pane .visitor-brief{overflow-wrap:anywhere;font-size:17px}
.sample-question{background:#edf9f2;border-radius:17px;padding:14px;font-size:17px;line-height:1.4;margin-bottom:16px}
.salon-dialogue{display:flex;flex-direction:column;gap:11px}
.salon-turn{max-width:96%}
.salon-speaker{font-size:10px;color:#4b6b59;display:block;margin:0 0 3px 8px}
.salon-turn p{font-size:14px;margin:0;border-radius:14px;padding:10px 12px;background:#f4fbf7;line-height:1.4}
.salon-turn.user{align-self:flex-end}
.salon-turn.user p{background:#eaf8f0}
.salon-demo .visitor-choice{margin:15px 0 0;background:transparent;color:#17784a;padding:5px;min-height:32px}
.salon-draft dl{display:flex;flex-direction:column;gap:9px;margin:0}
.salon-draft dl>div{padding:11px 13px;border-radius:12px;background:#f2fbf5}
.salon-draft dt{font-size:11px;color:#4b6b59;margin-bottom:3px}
.salon-draft dd{font-size:15px;line-height:1.35;margin:0}
body.storyworld[data-world=visitor] .thought-cloud{width:15%;height:98px;font-size:16px;padding:20px 23px;max-width:250px}
body.storyworld[data-world=visitor] .thought-cloud.top-left{left:33%;right:auto;top:105px;bottom:auto}
body.storyworld[data-world=visitor] .thought-cloud.top-right{left:51%;right:auto;top:112px;bottom:auto}
body.storyworld[data-world=visitor] .thought-cloud.bottom-left{left:33%;right:auto;top:auto;bottom:29px}
body.storyworld[data-world=visitor] .thought-cloud.bottom-right{left:51%;right:auto;top:auto;bottom:22px}
body.storyworld[data-world=visitor] .timon-avatar{width:54px;height:48px;margin-bottom:8px}
body.storyworld[data-world=visitor] .message.assistant{font-size:16px;line-height:1.5}
body.storyworld .context-column.is-entering{animation:story-layer-in .55s ease both}
body.storyworld .context-column.is-changing{opacity:0}
body.storyworld .meeting-notebook{box-shadow:none!important;background:transparent!important}
body.storyworld .meeting-notebook::before{display:none!important}
@media(max-width:859px),(max-height:599px){
 body.storyworld[data-world=visitor] .conversation-layout{display:flex;height:auto;min-height:0;padding:30px 20px;flex-direction:column;align-items:center;gap:22px}
 body.storyworld[data-world=visitor] .conversation-stage{position:relative;inset:auto;transform:none;width:100%;max-width:600px;order:0}
 body.storyworld[data-world=visitor] .thought-field{position:relative;inset:auto;display:grid;grid-template-columns:1fr 1fr;order:1;max-width:580px;width:100%;gap:12px}
 body.storyworld[data-world=visitor] .thought-cloud{position:relative;inset:auto!important;width:100%;max-width:none;height:100px;font-size:16px;padding:20px 24px}
 body.storyworld[data-world=visitor] .context-column{position:relative;inset:auto!important;width:100%;max-width:600px;order:2}
 body.storyworld[data-world=visitor] #right-content{order:3}
 body.storyworld[data-world=visitor] .visitor-backdrop{display:none}
 body.storyworld[data-world=visitor] .conversation::before{display:none}
 .visitor-pane{padding:18px}
 .visitor-pane h3{font-size:21px}
 .salon-turn p{font-size:16px}
 .salon-draft dd{font-size:16px}
 .visitor-choice{min-height:44px}
}
@media(max-width:380px){body.storyworld[data-world=visitor] .thought-field{grid-template-columns:1fr}}
body.storyworld{background:radial-gradient(ellipse at 50% 46%,#fff 0 25%,#f7fcf8 48%,#eaf6ee 100%);overflow-x:hidden}
body.storyworld::before,body.storyworld::after{display:none}
body.storyworld .site-header{position:absolute;inset:0 0 auto;max-width:none;width:100%;height:78px;z-index:8;padding:15px 2.8%;gap:35px;pointer-events:none}
body.storyworld .site-header button{pointer-events:auto}
body.storyworld .wordmark{font-size:30px}
body.storyworld .site-header nav{gap:24px}
body.storyworld .site-header nav a{font-size:13px}
body.storyworld .header-note,body.storyworld .site-footer{display:none}
body.storyworld main{max-width:none;padding:0;margin:0}
body.storyworld .scene-toolbar{position:absolute;inset:72px 3% auto;z-index:7;pointer-events:none;min-height:30px;margin:0}
body.storyworld .scene-toolbar>button{pointer-events:auto}
body.storyworld #home-button{display:none}
body.storyworld #model-info{font-size:10px;padding:5px 0;opacity:.8}
body.storyworld.is-welcome #home-button{display:none}
body.storyworld .conversation-layout{display:block;position:relative;min-height:800px;height:100svh;padding:0;isolation:isolate}
body.storyworld .conversation-stage{position:absolute;inset:auto;top:54%;left:50%;transform:translate(-50%,-50%);width:min(490px,38vw);max-width:none;margin:0;z-index:5;gap:0}
body.storyworld .conversation{padding:0;gap:0;background:transparent;border:0;box-shadow:none}
body.storyworld .conversation::before{content:'';position:absolute;inset:-24px -30px;z-index:-1;background:radial-gradient(ellipse,#fff 0 52%,#fff0 74%);pointer-events:none}
body.storyworld .conversation-back{position:relative;inset:auto;align-self:flex-start;margin:0 0 9px;padding:0;width:36px;min-height:32px;font-size:25px}
body.storyworld .timon-avatar{width:66px;height:58px;object-fit:contain;align-self:center;order:0;margin:0 0 14px;filter:drop-shadow(0 5px 10px #33a86e25)}
body.storyworld .messages{gap:13px;padding:0;overflow:visible;flex:none}
body.storyworld .message{font-size:17px;line-height:1.48;max-width:100%;padding:11px 15px;white-space:pre-wrap}
body.storyworld .message.user{max-width:95%;font-size:15px;background:#e4f4e9;border-radius:19px 19px 5px 19px;align-self:flex-end}
body.storyworld .message.assistant{padding:0;background:transparent;border-radius:0;align-self:center;max-width:100%;width:100%;font-size:17px}
body.storyworld .message.event{font-size:11px;padding:0;align-self:center;color:#4b6b59}
body.storyworld .greeting{animation:none;padding:0!important;text-align:center;width:100%;font-size:23px}
body.storyworld .welcome-title{font-size:32px;line-height:1.25}
body.storyworld .welcome-subtitle{font-size:19px;margin-top:9px;line-height:1.4}
body.storyworld .composer{width:100%;margin:25px 0 0;padding:4px 6px 4px 20px;min-height:54px;gap:12px;border:1px solid #d1f0df;border-radius:28px;background:#fff;box-shadow:0 0 50px 16px #68c6a333,0 8px 24px #41ad7e1f,0 1px 3px #1f293714}
body.storyworld .composer:focus-within{border-color:#72bb95;box-shadow:0 0 0 2px #86c9a540,0 0 55px 18px #63c4b347,0 8px 24px #41ad7e26}
body.storyworld .composer textarea{font-size:16px;padding:7px 0;max-height:100px}
body.storyworld .composer textarea:focus-visible{outline:none}
body.storyworld .send-button{width:44px;height:44px;background:transparent;color:var(--blue);border-radius:50%;box-shadow:none}
body.storyworld .send-button svg{width:20px;height:20px}
body.storyworld .composer{position:relative}
@media(min-width:1000px) and (min-height:600px){body.storyworld .composer{width:calc(100% + 80px);margin-left:-40px;margin-right:-40px}}
body.storyworld .conversation-stage:has(.composer-suggestions:not([hidden])){z-index:9}
.composer-suggestions{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:10;padding:8px;background:#fff;border:1px solid #e1efe7;border-radius:20px;box-shadow:0 10px 30px #213c2e1f;pointer-events:auto;text-align:left}
.composer-suggestions[hidden]{display:none}
.composer-suggestions-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 10px 8px;font-size:11px;line-height:1.4;color:#4b6b59}
.composer-suggestions-heading span{font-size:10px;color:#4b6b59}
#message-suggestions{max-height:min(280px,38svh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.composer-suggestion{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px;border-radius:12px;font-size:14px;line-height:1.4;color:var(--ink);cursor:pointer;overflow-wrap:anywhere}
.composer-suggestion:hover,.composer-suggestion[aria-selected=true]{background:#f2fbf5;color:#17784a}
.suggestion-icon{width:20px;flex-shrink:0;text-align:center;font-size:20px;line-height:1;color:#4b6b59}
@media(max-width:480px){.composer-suggestions{border-radius:18px}.composer-suggestions-heading{padding-right:6px;padding-left:6px}.composer-suggestion{font-size:14px;padding:10px 8px}}
body.storyworld .turn-stack{margin:7px 0 0;max-width:none;align-self:center;width:auto;height:auto;min-height:0;padding:0;background:transparent;border:0;box-shadow:none}
body.storyworld .history-link{display:block;padding:6px 10px;min-height:32px;font-size:12px;line-height:20px;color:#4b6b59;background:transparent;border:0;border-radius:0;box-shadow:none}
body.storyworld .history-link:hover{color:#17784a}
body.storyworld .history-link:focus-visible{outline:2px solid #17784a;outline-offset:2px}
body.storyworld .world-scenes{position:absolute;inset:0;z-index:1;pointer-events:none}
body.storyworld .world-island[hidden]{display:none}
body.storyworld .world-island{position:absolute;pointer-events:auto;width:31%;max-width:510px;padding:0;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;transition:opacity .6s ease,transform .6s ease,filter .3s ease}
body.storyworld .world-island img{width:100%;height:auto;display:block;object-fit:contain;pointer-events:none}
body.storyworld .north-west{top:70px;left:-3%;transform:rotate(-2deg)}
body.storyworld .north-east{top:69px;right:-3%;transform:rotate(2deg)}
body.storyworld .south-west{bottom:-15px;left:-3%;width:27%;transform:rotate(-1deg)}
body.storyworld .south-east{bottom:-2px;right:-3%;width:29%;transform:rotate(2deg)}
body.storyworld .world-caption{display:flex;gap:7px;align-items:center;justify-content:center;margin:-20px 0 0;position:relative;z-index:1;background:#fffefb;border-radius:30px;padding:11px 18px;box-shadow:0 5px 18px #33a86e20;font-size:13px;color:#213c2e;max-width:92%;flex-wrap:wrap}
body.storyworld .world-caption>span{color:#4b6b59}
body.storyworld .world-island:hover,body.storyworld .world-island:focus-visible{filter:drop-shadow(0 4px 12px #33a86e25)}
body.storyworld .world-island.is-current .world-caption{background:#ebf8f1;box-shadow:0 0 0 2px #b2e5c9,0 5px 18px #33a86e20}
body.storyworld .thought-field{position:absolute;inset:0;z-index:4;pointer-events:none;min-height:0;width:auto;margin:0;display:block}
body.storyworld .thought-cloud{position:absolute;inset:auto;width:17%;height:114px;min-height:0;max-width:270px;padding:24px 25px;font-size:17px;line-height:1.32;transition:color .3s ease,filter .3s ease;pointer-events:auto;margin:0;animation:thought-in .7s ease both;color:#213c2e;font-weight:400}
body.storyworld .thought-cloud::before{opacity:1;filter:drop-shadow(0 5px 9px #33a86e16)}
body.storyworld .thought-cloud.is-selected{color:#17784a;font-weight:600}
body.storyworld .thought-cloud.is-selected::before{filter:drop-shadow(0 3px 9px #33a86e40)}
body.storyworld .thought-cloud::after{width:12px;height:12px;box-shadow:var(--tail-step-x,24px) var(--tail-step-y,0px) 0 -3px #e4f6ec;background:#e4f6ec}
body.storyworld .thought-cloud.top-left{top:24%;left:26%;width:16%;height:111px;transform:rotate(-4deg)}
body.storyworld .thought-cloud.top-right{top:23%;right:26%;width:16%;height:117px;transform:rotate(3deg)}
body.storyworld .thought-cloud.middle-left{top:47%;left:6%;width:19%;height:118px;transform:rotate(-3deg)}
body.storyworld .thought-cloud.middle-right{top:47%;right:5%;width:19%;height:118px;transform:rotate(4deg)}
body.storyworld .thought-cloud.bottom-left{top:auto;bottom:11%;left:25%;width:17%;height:122px;transform:rotate(3deg)}
body.storyworld .thought-cloud.bottom-right{top:auto;bottom:10%;right:25%;width:17%;height:112px;transform:rotate(-3deg)}
body.storyworld .thought-cloud.top-center{top:100px;left:42.5%;width:15%;height:98px;transform:rotate(-2deg)}
body.storyworld .thought-cloud.bottom-center{bottom:15px;left:42.5%;width:15%;height:98px;transform:rotate(2deg)}
body.storyworld #above-content,body.storyworld #below-content{position:absolute;inset:auto;margin:0;z-index:3;padding:0;max-width:none;min-height:0;display:block}
body.storyworld #above-content[hidden],body.storyworld #below-content[hidden],body.storyworld .thought-cloud[hidden],body.storyworld .conversation-back[hidden]{display:none}
body.storyworld #below-content{left:50%;bottom:17%;transform:translateX(-50%);width:min(490px,38vw)}
body.storyworld .story-next{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
body.storyworld .story-next button{font-size:13px;line-height:1.3;padding:9px 14px;min-height:40px;color:#17784a;background:#fff;border-radius:20px;box-shadow:0 4px 14px #33a86e12}
body.storyworld[data-world=meeting] .conversation-stage{top:55%;width:min(505px,39vw)}
body.storyworld[data-world=meeting] .timon-avatar{width:44px;height:39px;margin-bottom:9px}
body.storyworld[data-world=meeting] .message.assistant{font-size:16px}
body.storyworld[data-world=meeting] .north-west{top:91px;width:23%;left:-3%;opacity:.82}
body.storyworld[data-world=meeting] .north-east{top:100px;width:21%;right:-2%;opacity:.72}
body.storyworld[data-world=meeting] .south-west,body.storyworld[data-world=meeting] .south-east{width:16%;bottom:0;opacity:.5;pointer-events:none}
body.storyworld[data-world=meeting] .south-west .world-caption,body.storyworld[data-world=meeting] .south-east .world-caption{display:none}
body.storyworld[data-world=meeting] #above-content{top:85px;left:50%;transform:translateX(-50%);width:47%;max-width:760px}
body.storyworld .meeting-scene{position:relative;text-align:center}
body.storyworld .meeting-scene img{display:block;width:100%;height:clamp(170px,23svh,275px);object-fit:contain}
body.storyworld .meeting-stages{display:flex;justify-content:center;gap:15px;position:relative;margin-top:-15px}
body.storyworld .meeting-stages button{min-height:38px;padding:8px 20px;font-size:14px;line-height:1.25;border-radius:12px;background:#fff;box-shadow:0 4px 14px #398d5e16;transform:rotate(-3deg);color:#4b6b59}
body.storyworld .meeting-stages button:nth-child(2){transform:rotate(2deg);background:#e9f8f0}
body.storyworld .meeting-stages button:nth-child(3){background:#e7f7de}
body.storyworld .meeting-stages button[aria-current=step]{color:#17784a;box-shadow:0 0 0 2px #98ddb7,0 5px 12px #33a86e25;font-weight:600}
body.storyworld[data-world=meeting] #below-content{bottom:20px;width:53%;max-width:870px}
body.storyworld .meeting-notebook{padding:17px 24px 15px;background:linear-gradient(160deg,#fff 0 60%,#fff5e7);box-shadow:0 7px 0 #eddfcc,0 11px 0 #cdb69e,0 16px 28px #42795a22;border-radius:7px 18px 18px 7px;position:relative}
body.storyworld .meeting-notebook::before{content:'';position:absolute;left:10px;top:12px;bottom:12px;width:3px;border-left:1px solid #e4dacd;border-right:1px solid #e4dacd;pointer-events:none}
body.storyworld .notebook-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:19px;font-weight:600;margin-bottom:12px}
body.storyworld .notebook-title small{font-weight:400;font-size:11px;color:#4b6b59}
body.storyworld .meeting-notebook p{font-size:15px;line-height:1.4;margin:0 0 12px}
body.storyworld .plan-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.storyworld .plan-item{background:#fff;padding:11px 10px;display:flex;gap:9px;text-align:left;border-radius:10px;box-shadow:0 4px 12px #53766212;align-items:flex-start;min-width:0}
body.storyworld .plan-item>span:last-child{display:flex;flex-direction:column;gap:4px;min-width:0}
body.storyworld .plan-item strong{font-size:13px;line-height:1.3}
body.storyworld .plan-item small{font-size:11px;color:#4b6b59}
body.storyworld .plan-item span span{font-size:11px;line-height:1.3;color:#4b6b59}
body.storyworld .plan-symbol{font-size:19px;width:23px;min-height:23px;border-radius:5px;background:#1dc77b;color:#fff;display:grid;place-items:center;flex-shrink:0}
body.storyworld .plan-item.task .plan-symbol,body.storyworld .plan-item.question .plan-symbol{background:#17784a}
body.storyworld .notebook-next{display:block;margin:10px 0 0 auto;font-size:12px;color:#17784a;min-height:30px;padding:4px 0}
body.storyworld[data-world=meeting] .thought-cloud{width:20%;height:109px;max-width:260px;font-size:16px}
body.storyworld[data-world=meeting] .thought-cloud.top-left{top:31%;left:4%;transform:rotate(-4deg)}
body.storyworld[data-world=meeting] .thought-cloud.top-right{top:31%;right:4%;transform:rotate(3deg)}
body.storyworld[data-world=meeting] .thought-cloud.middle-left{top:48%;left:1%}
body.storyworld[data-world=meeting] .thought-cloud.middle-right{top:48%;right:1%}
body.storyworld[data-world=meeting] .thought-cloud.bottom-left{bottom:15%;left:3%}
body.storyworld[data-world=meeting] .thought-cloud.bottom-right{bottom:15%;right:3%}
body.storyworld[data-world=meeting] .thought-cloud.top-center{top:auto;bottom:2%;left:2%;width:20%;height:98px}
body.storyworld[data-world=meeting] .thought-cloud.bottom-center{bottom:2%;left:auto;right:2%;width:20%;height:98px}
body.storyworld .world-scenes[hidden],body.storyworld.is-welcome .world-scenes{display:none}
body.storyworld.is-welcome .timon-avatar{display:none}
body.storyworld:not(.is-welcome) .world-scenes{animation:story-layer-in .65s ease both}
body.storyworld.is-welcome[data-welcome-phase=greeting] .composer{visibility:hidden;opacity:0;transform:translateY(7px)}
body.storyworld .world-island.image-unavailable img{display:none}
@media (min-width:900px) and (max-width:1150px){
 body.storyworld .conversation-stage{width:38vw}
 body.storyworld .thought-cloud{font-size:15px;padding:20px 21px}
 body.storyworld .world-caption{font-size:12px;padding:9px 13px;gap:4px}
 body.storyworld .message.assistant{font-size:16px}
 body.storyworld .welcome-title{font-size:29px}
 body.storyworld[data-world=meeting] .thought-cloud{font-size:14px}
 body.storyworld .plan-item{padding:9px 8px;gap:5px}
 body.storyworld .plan-symbol{font-size:16px;width:19px;min-height:19px}
}
@media (max-width:899px), (max-height:699px), (max-width:1150px) and (max-height:900px){
 body.storyworld .site-header{position:relative;height:86px;align-items:flex-start;padding:20px 20px;gap:20px}
 body.storyworld .site-header nav{position:absolute;top:59px;left:20px;transform:none;margin:0;gap:23px}
 body.storyworld .site-header nav a{font-size:12px;padding:0}
 body.storyworld .play-button{top:19px;left:50%;right:auto;transform:translateX(-50%);width:38px;height:38px}
 body.storyworld .scene-toolbar{top:56px;left:auto;right:20px;width:auto}
 body.storyworld #home-button{display:none}
 body.storyworld #model-info{max-width:135px;text-align:right;font-size:9px;line-height:1.3}
 body.storyworld .conversation-layout,body.storyworld.is-welcome .conversation-layout,body.storyworld.is-welcome.welcome-reduced .conversation-layout{display:flex;flex-direction:column;height:auto;min-height:calc(100svh - 86px);padding:32px 20px 40px;gap:26px;align-items:center}
 body.storyworld .conversation-stage,body.storyworld.is-welcome .conversation-stage,body.storyworld[data-world=meeting] .conversation-stage{position:relative;inset:auto;transform:none;width:100%;max-width:560px;order:0;margin:0}
 body.storyworld .timon-avatar{width:56px;height:50px}
 body.storyworld .conversation::before{display:none}
 body.storyworld .message.assistant{font-size:17px}
 body.storyworld .composer,body.storyworld.is-welcome .composer{width:100%;margin-top:22px}
 body.storyworld .welcome-title{font-size:30px}
 body.storyworld .welcome-subtitle{font-size:18px}
 body.storyworld .thought-field,body.storyworld.is-welcome .thought-field,body.storyworld.is-welcome.welcome-reduced .thought-field{position:relative;inset:auto;display:grid;grid-template-columns:1fr 1fr;order:3;width:100%;max-width:580px;margin:0;min-height:0;gap:17px 12px}
 body.storyworld .thought-cloud,body.storyworld.is-welcome .thought-cloud,body.storyworld[data-world=meeting] .thought-cloud{position:relative;inset:auto;width:100%;max-width:none;height:112px;min-height:0;margin:0!important;font-size:16px;padding:21px 27px;transform:rotate(-2deg)}
 body.storyworld .thought-cloud:nth-child(even){transform:rotate(3deg)}
 body.storyworld .thought-cloud::after{display:none}
 body.storyworld .world-scenes{position:relative;inset:auto;display:grid;grid-template-columns:1fr 1fr;gap:20px 10px;order:4;width:100%;max-width:760px;pointer-events:auto}
 body.storyworld .world-island,body.storyworld[data-world=meeting] .world-island{position:relative;inset:auto;width:100%;max-width:none;transform:none;opacity:1;pointer-events:auto}
 body.storyworld .world-caption{font-size:12px;padding:9px 12px;gap:4px;flex-direction:column;margin-top:-8px;max-width:100%}
 body.storyworld[data-world=meeting] .south-west .world-caption,body.storyworld[data-world=meeting] .south-east .world-caption{display:flex}
 body.storyworld #above-content,body.storyworld[data-world=meeting] #above-content{position:relative;inset:auto;width:100%;max-width:650px;transform:none;order:1}
 body.storyworld #below-content,body.storyworld[data-world=meeting] #below-content{position:relative;inset:auto;width:100%;max-width:650px;transform:none;order:2}
 body.storyworld .meeting-scene img{height:auto;width:100%}
 body.storyworld .meeting-stages{gap:9px;margin-top:0}
 body.storyworld .meeting-stages button{padding:9px 15px;min-height:44px;font-size:14px}
 body.storyworld .meeting-notebook{padding:17px 21px}
 body.storyworld .notebook-title{font-size:18px;align-items:flex-start}
 body.storyworld .notebook-title small{font-size:11px}
 body.storyworld .plan-items{grid-template-columns:1fr;gap:10px}
 body.storyworld .plan-item{padding:13px;min-height:68px}
 body.storyworld .plan-item strong{font-size:15px}
 body.storyworld .plan-item small,body.storyworld .plan-item span span{font-size:12px}
 body.storyworld .notebook-next{font-size:14px;min-height:44px}
 body.storyworld .story-next button{min-height:44px;font-size:14px}
}
@media(max-width:480px){
 body.storyworld .thought-field,body.storyworld.is-welcome .thought-field,body.storyworld.is-welcome.welcome-reduced .thought-field{grid-template-columns:1fr;gap:17px;max-width:300px}
 body.storyworld .thought-cloud,body.storyworld.is-welcome .thought-cloud,body.storyworld[data-world=meeting] .thought-cloud{height:112px;font-size:18px;padding:23px 35px}
}
@media(max-width:380px){
 body.storyworld .world-scenes{grid-template-columns:1fr}
 body.storyworld .world-island img{max-width:350px}
 body.storyworld .world-caption{flex-direction:row}
 body.storyworld .wordmark{font-size:28px}
 body.storyworld .notebook-title{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
 body.storyworld *,body.storyworld *::before,body.storyworld *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
/* Centered layers must keep their positioning during a cross-fade. */
@keyframes story-layer-in{from{opacity:0}to{opacity:1}}
body.storyworld #above-content.is-entering,body.storyworld #below-content.is-entering{animation:story-layer-in .55s ease both}
body.storyworld #above-content.is-changing,body.storyworld #below-content.is-changing{opacity:0;transform:translateX(-50%)}
body.storyworld .world-scenes{overflow:hidden}
body.storyworld .conversation-back{align-self:center;margin-bottom:4px}
body.storyworld .message.event{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
body.storyworld #below-content{z-index:6;bottom:13%}
body.storyworld[data-world=meeting] #below-content{z-index:3;bottom:20px}
@media(max-width:899px),(max-height:699px),(max-width:1150px) and (max-height:900px){
 body.storyworld #above-content.is-changing,body.storyworld #below-content.is-changing{transform:none}
 body.storyworld .world-scenes{overflow:visible}
 body.storyworld #below-content,body.storyworld[data-world=meeting] #below-content{bottom:auto}
}
body.storyworld .thought-cloud::before{background-image:url('/assets/storyworld/thought-cloud-v1.svg')}
body.storyworld .conversation-stage,body.storyworld[data-world=meeting] .conversation-stage{top:50%}
@media(max-width:899px),(max-height:699px),(max-width:1150px) and (max-height:900px){body.storyworld .conversation-stage,body.storyworld[data-world=meeting] .conversation-stage{top:auto}}
/* Only the actual conversation controls capture clicks, never its empty bounds. */
body.storyworld .conversation-stage,body.storyworld .conversation{pointer-events:none}
body.storyworld .messages,body.storyworld .composer,body.storyworld .conversation button{pointer-events:auto}
body.storyworld[data-world=meeting] .conversation-back{align-self:flex-start}
@media(min-width:900px) and (min-height:700px){
 body.storyworld .meeting-scene img{height:200px;object-fit:cover;object-position:center 22%;mask-image:linear-gradient(#000 0 82%,transparent 100%)}
 body.storyworld .meeting-stages{position:absolute;top:-12px;left:0;right:0;margin:0;gap:24px}
}
@media(max-width:899px),(max-height:699px),(max-width:1150px) and (max-height:900px){
 body.storyworld .scene-toolbar{top:18px;right:16px}
 body.storyworld #model-info{font-size:0;width:34px;min-height:36px;padding:0;text-align:center}
}
body.storyworld .scene-toolbar #model-info{position:absolute;right:0;top:-51px;font-size:0;width:34px;min-height:36px;padding:0;text-align:center;opacity:.75}
body.storyworld .message.selection{background:#f1faf5;color:#4b6b59;font-size:14px}
@media(max-width:899px),(max-height:699px),(max-width:1150px) and (max-height:900px){body.storyworld .scene-toolbar #model-info{top:0}}
body.storyworld .conversation::before{inset:90px -28px -20px}
body.storyworld .conversation-back{background:#ffffffb8;border-radius:50%}
@media(min-width:900px) and (max-width:1150px) and (min-height:1000px){
 body.storyworld[data-world=meeting] #above-content{top:110px;width:60%}
 body.storyworld .meeting-scene img{height:260px}
 body.storyworld[data-world=meeting] .south-west,body.storyworld[data-world=meeting] .south-east{width:23%;opacity:.6}
}
@media(min-width:900px) and (min-height:700px){body.storyworld[data-world=meeting] .world-caption{display:none}}
body.storyworld #above-content,body.storyworld #below-content,body.storyworld .story-next,body.storyworld .meeting-stages{pointer-events:none}
body.storyworld #above-content button,body.storyworld #below-content button,body.storyworld .meeting-notebook{pointer-events:auto}
/* The surrounding questions and artifacts belong to the active answer. */
body.storyworld .thought-cloud.is-recommended{color:#17784a;font-weight:600}
body.storyworld .thought-cloud.is-recommended::before{filter:drop-shadow(0 3px 9px #33a86e30)}
body.storyworld .thought-cloud:disabled{opacity:.6}
body.storyworld[data-world=meeting] .conversation-stage{width:min(560px,42vw)}
body.storyworld .company-cases,body.storyworld .analysis-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.storyworld .company-cases button,body.storyworld .analysis-rows button{display:flex;flex-direction:column;justify-content:center;gap:7px;padding:12px 10px;background:#fff;border-radius:10px;box-shadow:0 4px 12px #53766212;text-align:left;min-width:0;min-height:72px}
body.storyworld .company-cases strong{font-size:14px;line-height:1.25}
body.storyworld .company-cases span,body.storyworld .analysis-rows span{font-size:12px;line-height:1.4;color:#4b6b59}
body.storyworld .analysis-rows strong{font-size:13px;line-height:1.3;color:#17784a}
body.storyworld .analysis-rows [aria-current=true],body.storyworld .plan-item.is-focused{box-shadow:0 0 0 2px #a6e1c0,0 4px 12px #53766212;background:#f7fcf9}
body.storyworld .source-excerpt{font-size:12px;line-height:1.35;color:#4b6b59;margin-top:9px}
body.storyworld .scene-caption{display:block;font-size:14px;line-height:1.3;color:#4b6b59;margin-top:-6px}
body.storyworld .company-scene img,body.storyworld .launch-scene img{object-position:center 35%}
@media(max-width:899px),(max-height:699px),(max-width:1150px) and (max-height:900px){
 body.storyworld[data-world=meeting] .conversation-stage{width:100%}
 body.storyworld .company-cases,body.storyworld .analysis-rows{grid-template-columns:1fr}
 body.storyworld .company-cases button,body.storyworld .analysis-rows button{padding:13px;min-height:65px}
 body.storyworld .company-cases strong,body.storyworld .analysis-rows strong{font-size:15px}
 body.storyworld .company-cases span,body.storyworld .analysis-rows span,body.storyworld .source-excerpt{font-size:13px}
 body.storyworld .scene-caption{margin:10px 0 0}
}
body.storyworld .thought-cloud[aria-disabled=true]{opacity:.6}

body.storyworld[data-world=visitor] .conversation-layout{min-height:100svh}
.salon-draft .visitor-choice{background:transparent;min-height:32px;padding:4px 0;margin-top:8px;color:#17784a}

@media(max-width:859px),(max-height:599px){
 body.storyworld[data-world=visitor] .site-header{position:relative;height:86px;align-items:flex-start;padding:20px;gap:20px}
 body.storyworld[data-world=visitor] .site-header nav{position:absolute;top:59px;left:20px;margin:0;gap:23px}
 body.storyworld[data-world=visitor] .site-header nav a{font-size:12px;padding:0}
 body.storyworld[data-world=visitor] .scene-toolbar{top:18px;right:16px}
 body.storyworld[data-world=visitor] .scene-toolbar #model-info{top:0}
}

/* The existing video control is represented by the original TeamON mark. */
body.storyworld .play-button.logo-button{width:48px;height:48px;padding:0;background:transparent;border-radius:0;box-shadow:none}
body.storyworld .logo-button img{display:block;width:48px;height:48px;object-fit:contain}

/* A laptop is a surrounding canvas, not the phone's vertical document. */
@media (min-width:860px) and (min-height:600px){
 body.storyworld[data-world=visitor]{height:100svh;overflow:hidden}
 body.storyworld[data-world=visitor] .site-header{position:absolute;inset:0 0 auto;height:78px;padding:15px 2.8%}
 body.storyworld[data-world=visitor] .scene-toolbar{inset:20px 24px auto;width:auto}
 body.storyworld[data-world=visitor] #home-button{display:none}
 body.storyworld[data-world=visitor] main{padding:0}
 body.storyworld[data-world=visitor] .conversation-layout{display:block;position:relative;height:100svh;min-height:0;padding:0;margin:0}
 body.storyworld[data-world=visitor] .conversation-stage{position:absolute;inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:32%;max-width:510px;order:initial;margin:0}
 body.storyworld[data-world=visitor] .conversation{padding:0}
 body.storyworld[data-world=visitor] .conversation-back{width:32px;min-height:28px;margin:0 0 4px;font-size:23px}
 body.storyworld[data-world=visitor] .timon-avatar{width:40px;height:36px;margin:0 0 5px}
 body.storyworld[data-world=visitor] .messages{gap:10px}
 body.storyworld[data-world=visitor] .message.user{font-size:14px;padding:8px 12px}
 body.storyworld[data-world=visitor] .message.assistant{font-size:16px;line-height:1.45}
 body.storyworld[data-world=visitor] .composer{margin-top:18px}
 body.storyworld[data-world=visitor] .thought-field{position:absolute;inset:0;display:block;width:auto;max-width:none;margin:0}
 body.storyworld[data-world=visitor] .thought-cloud{position:absolute;inset:auto;width:17%;max-width:250px;height:98px;min-height:0;margin:0;font-size:16px;padding:18px 21px}
 body.storyworld[data-world=visitor] .thought-cloud.top-left{left:32%;right:auto;top:96px;bottom:auto;transform:rotate(-3deg)}
 body.storyworld[data-world=visitor] .thought-cloud.top-right{left:51%;right:auto;top:104px;bottom:auto;transform:rotate(3deg)}
 body.storyworld[data-world=visitor] .thought-cloud.bottom-left{left:32%;right:auto;top:auto;bottom:25px;transform:rotate(2deg)}
 body.storyworld[data-world=visitor] .thought-cloud.bottom-right{left:51%;right:auto;top:auto;bottom:20px;transform:rotate(-2deg)}
 body.storyworld[data-world=visitor] .thought-cloud::after{display:block}
 body.storyworld[data-world=visitor] .context-column{display:block;position:absolute;inset:auto;top:50%;transform:translateY(-50%);width:28%;max-width:480px;max-height:calc(100svh - 120px);overflow:auto;overscroll-behavior:contain;padding:0;margin:0;order:initial}
 body.storyworld[data-world=visitor] #left-content{left:2%;right:auto;top:50%}
 body.storyworld[data-world=visitor] #right-content{right:2%;left:auto;top:50%}
 body.storyworld[data-world=visitor] .visitor-backdrop{display:block}
 body.storyworld[data-world=visitor] .visitor-pane{padding:16px;border-radius:20px}
 body.storyworld[data-world=visitor] .visitor-pane h3{font-size:19px;margin-bottom:12px}
 body.storyworld[data-world=visitor] .visitor-pane p{font-size:14px;line-height:1.45;margin-bottom:12px}
 body.storyworld[data-world=visitor] .visitor-choice{padding:10px;gap:4px;margin:7px 0}
 body.storyworld[data-world=visitor] .salon-demo .visitor-choice,body.storyworld[data-world=visitor] .salon-draft .visitor-choice{padding:4px 0}
 body.storyworld[data-world=visitor] .salon-turn p{font-size:14px;padding:9px 10px;margin:0}
 body.storyworld[data-world=visitor] .salon-draft dl{gap:7px}
 body.storyworld[data-world=visitor] .salon-draft dl>div{padding:9px 11px}
 body.storyworld[data-world=visitor] .salon-draft dd{font-size:14px}
}
/* Narrow screens keep readable cloud targets even when the desktop slots differ. */
@media(max-width:859px),(max-height:599px){
 body.storyworld .thought-field .thought-cloud{width:100%;max-width:none;inset:auto!important}
}
@media(min-width:860px) and (min-height:600px) and (max-height:699px){
 body.storyworld[data-world=visitor] .timon-avatar{display:none}
 body.storyworld[data-world=visitor] .messages{gap:8px}
 body.storyworld[data-world=visitor] .message.assistant{font-size:14px}
 body.storyworld[data-world=visitor] .composer{margin-top:12px}
 body.storyworld[data-world=visitor] .thought-cloud{height:70px;font-size:14px;padding:10px 18px}
 body.storyworld[data-world=visitor] .thought-cloud.top-left{left:30%;top:52px}
 body.storyworld[data-world=visitor] .thought-cloud.top-right{left:53%;top:56px}
 body.storyworld[data-world=visitor] .thought-cloud.bottom-left,body.storyworld[data-world=visitor] .thought-cloud.bottom-right{bottom:18px}
}
/* Keep the eight-cloud welcome around the dialogue at laptop widths too. */
@media(min-width:860px) and (min-height:700px){
 body.storyworld.is-welcome{height:100svh;overflow:hidden}
 body.storyworld.is-welcome .site-header{position:absolute;height:78px}
 body.storyworld.is-welcome .conversation-layout,body.storyworld.is-welcome.welcome-reduced .conversation-layout{display:block;height:100svh;min-height:0;padding:0;gap:0}
 body.storyworld.is-welcome .conversation-stage{position:absolute;inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:min(490px,40vw);max-width:none;margin:0}
 body.storyworld.is-welcome .thought-field,body.storyworld.is-welcome.welcome-reduced .thought-field{position:absolute;inset:0;display:block;width:auto;max-width:none;margin:0}
 body.storyworld.is-welcome .thought-cloud{position:absolute;inset:auto;max-width:270px;min-height:0;margin:0!important;font-size:16px;padding:20px 21px}
 body.storyworld.is-welcome .thought-cloud.top-left{top:22%;left:26%;width:16%;height:111px;transform:rotate(-4deg)}
 body.storyworld.is-welcome .thought-cloud.top-right{top:21%;right:26%;width:16%;height:117px;transform:rotate(3deg)}
 body.storyworld.is-welcome .thought-cloud.middle-left{top:47%;left:6%;width:19%;height:118px;transform:rotate(-3deg)}
 body.storyworld.is-welcome .thought-cloud.middle-right{top:47%;right:5%;width:19%;height:118px;transform:rotate(4deg)}
 body.storyworld.is-welcome .thought-cloud.bottom-left{bottom:11%;left:25%;width:17%;height:122px;transform:rotate(3deg)}
 body.storyworld.is-welcome .thought-cloud.bottom-right{bottom:10%;right:25%;width:17%;height:112px;transform:rotate(-3deg)}
 body.storyworld.is-welcome .thought-cloud.top-center{top:86px;left:42.5%;width:15%;height:98px;transform:rotate(-2deg)}
 body.storyworld.is-welcome .thought-cloud.bottom-center{bottom:15px;left:42.5%;width:15%;height:98px;transform:rotate(2deg)}
 body.storyworld.is-welcome .thought-cloud::after{display:block}
}

/* All three situations are immediately selectable on the illustrations. */
body.storyworld[data-cjm-view=visitor-benefit] .visitor-backdrop{display:none}
.situation-island,.situation-pair{width:100%}
.situation-pair{display:flex;flex-direction:column;gap:24px}
.situation-choice{display:flex;flex-direction:column;align-items:center;width:100%;padding:0;background:transparent;border:0;box-shadow:none;color:#213c2e;text-align:center;gap:6px;border-radius:24px}
.situation-choice img{display:block;width:100%;height:clamp(180px,31svh,300px);object-fit:contain;transition:transform .25s ease,filter .25s ease;filter:drop-shadow(0 10px 15px #2a7d4f12);pointer-events:none}
.situation-pair .situation-choice img{height:clamp(150px,24svh,250px)}
.situation-caption{display:flex;flex-direction:column;align-items:center;gap:5px;padding:0 8px}
.situation-caption strong{font-size:20px;line-height:1.25;font-weight:600}
.situation-caption>span{font-size:13px;line-height:1.4;color:#4b6b59}
.situation-choice:hover img,.situation-choice:focus-visible img{transform:translateY(-3px) scale(1.02);filter:drop-shadow(0 10px 18px #2a7d4f28)}
@media(min-width:860px) and (min-height:600px){
 body.storyworld[data-cjm-view=visitor-benefit] .context-column{overflow:visible;max-height:none}
}
@media(max-width:859px),(max-height:599px){
 .situation-choice{max-width:340px;margin:0 auto}
 .situation-choice img,.situation-pair .situation-choice img{height:220px}
}
@media(prefers-reduced-motion:reduce){.situation-choice img{transition:none}.situation-choice:hover img,.situation-choice:focus-visible img{transform:none}}
body.storyworld[data-cjm-view=visitor-team-preview] .visitor-backdrop,body.storyworld[data-cjm-view=visitor-leader-preview] .visitor-backdrop{display:none}
.selected-situation-art{display:block;width:100%;height:clamp(110px,20svh,210px);object-fit:contain;margin-bottom:12px}

/* Old questions leave as a group; the selected line's questions reveal once. */
body.storyworld .thought-field{transition:opacity 160ms ease}
body.storyworld .thought-field.clouds-leaving{opacity:0;pointer-events:none}
body.storyworld .client-steps{list-style:none;padding:0;margin:0;display:grid;gap:14px;counter-reset:client-step}
body.storyworld .client-steps li{counter-increment:client-step;display:grid;grid-template-columns:26px 1fr;column-gap:8px;align-items:start}
body.storyworld .client-steps li::before{content:counter(client-step);color:var(--blue);grid-row:1/3;font-size:17px}
body.storyworld .client-steps strong{font-size:15px;line-height:1.35}
body.storyworld .client-steps span{font-size:13px;line-height:1.4;color:var(--muted);margin-top:3px}
body.storyworld .client-fact+ .client-fact{margin-top:15px;padding-top:15px;border-top:1px solid #def4e8}
body.storyworld .client-fact h4{font-size:15px;margin:0 0 7px}
body.storyworld .conversion-preview{display:grid;gap:5px}
body.storyworld .conversion-preview>strong{font-size:24px;color:var(--blue)}
body.storyworld .conversion-preview>span{font-size:12px;line-height:1.4;color:var(--muted)}
body.storyworld .client-sources{font-size:14px;line-height:1.5;padding-left:18px;margin:0 0 12px}
body.storyworld .conversion-calculator{display:grid;gap:12px}
body.storyworld .conversion-calculator label{display:grid;gap:5px;font-size:13px;color:var(--ink)}
body.storyworld .conversion-calculator input{width:100%;min-width:0;font:inherit;font-size:16px;color:var(--ink);background:#f8fdfa;border:1px solid #d0efde;border-radius:9px;padding:9px}
body.storyworld .conversion-counts{display:grid;grid-template-columns:1fr 1fr;gap:9px}
body.storyworld .conversion-calculator output{font-size:18px;line-height:1.4;color:var(--blue);overflow-wrap:anywhere}
/* ImageGen islands are real accessible controls; all copy and numbers stay native. */
body.storyworld[data-cjm-view=visitor-clients] .visitor-backdrop{display:none}
body.storyworld .client-scene{display:flex;flex-direction:column;align-items:center;width:100%;padding:0;border:0;background:transparent;border-radius:18px;text-align:center;color:var(--ink);transition:transform 220ms ease}
body.storyworld .client-scene:disabled{opacity:.65}
body.storyworld .client-scene:hover:not(:disabled){transform:translateY(-3px)}
body.storyworld .client-scene:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
body.storyworld .client-scene>img{width:100%;height:clamp(190px,34svh,320px);object-fit:contain;pointer-events:none;filter:drop-shadow(0 8px 10px #65ca9217)}
body.storyworld .client-scene-caption{display:grid;gap:6px;max-width:300px;padding:0 7px;pointer-events:none}
body.storyworld .client-scene-caption>strong{font-size:20px;line-height:1.25}
body.storyworld .client-scene-caption>span{font-size:13px;line-height:1.45;color:var(--muted)}
body.storyworld .client-scene-caption .client-scene-hint{font-size:12px;color:var(--blue)}
body.storyworld .client-scene-pair{display:grid;gap:16px}
body.storyworld .client-scene-pair .client-scene>img{height:clamp(110px,19svh,180px)}
body.storyworld .client-scene-pair .client-scene.conversion>img{object-fit:cover}
body.storyworld .client-scene-pair .client-scene-caption>strong{font-size:17px}
body.storyworld .client-scene-pair .conversion-preview{gap:3px}
body.storyworld .client-scene-pair .conversion-preview>strong{font-size:21px}
body.storyworld .client-scene-pair .conversion-preview>span{font-size:11px}
body.storyworld .client-detail-art{display:block;width:100%;height:clamp(96px,18svh,150px);object-fit:contain;margin-bottom:12px}
body.storyworld .client-detail-art.conversion{object-fit:cover}
@media(min-width:860px) and (min-height:600px) and (max-height:699px){
 body.storyworld .client-scene-pair{gap:9px}
 body.storyworld .client-scene-pair .client-scene>img{height:100px}
 body.storyworld .client-scene-caption{gap:4px}
 body.storyworld .client-scene-pair .client-scene-caption>strong{font-size:15px}
 body.storyworld .client-scene-caption>span{font-size:12px}
 body.storyworld .client-scene-main .client-scene>img{height:210px}
}
@media(prefers-reduced-motion:reduce){body.storyworld .client-scene{transition:none}}

/* A thought and its illustration share one stable, keyboard-accessible target. */
body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state]{position:relative;transform:none;transition:opacity 650ms ease}
body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state=future]{opacity:0;visibility:hidden;pointer-events:none}
body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state=future]>img,body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state=future]>:is(.client-scene-caption,.situation-caption){opacity:0;transform:translateY(12px) scale(.96)}
body.storyworld :is(.client-scene,.situation-choice,.company-story-node) .story-thought{display:none}
body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state] .story-thought{position:absolute;display:flex;align-items:center;justify-content:center;left:50%;top:28%;width:min(95%,260px);height:110px;padding:20px 28px;transform:translate(-50%,-50%) scale(1);background:url('/assets/storyworld/thought-cloud-v1.svg') center/100% 100% no-repeat;color:var(--ink);font-size:18px;line-height:1.35;filter:drop-shadow(0 6px 12px #43b6761c);transition:opacity 650ms ease,transform 650ms ease,filter 650ms ease;pointer-events:none}
body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state=thought] .story-thought{opacity:1}
body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state=thought]>img,body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state=thought]>:is(.client-scene-caption,.situation-caption){opacity:0;transform:translateY(12px) scale(.96)}
body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state=revealed] .story-thought{opacity:0;transform:translate(-50%,-50%) scale(1.12);filter:blur(4px)}
body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state]>img,body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state]>:is(.client-scene-caption,.situation-caption){transition:opacity 750ms ease,transform 750ms cubic-bezier(.22,.7,.24,1);will-change:opacity,transform}
body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state=revealed]>img,body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state=revealed]>:is(.client-scene-caption,.situation-caption){opacity:1;transform:translateY(0) scale(1)}
body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state]:hover:not(:disabled)>img{filter:drop-shadow(0 9px 16px #65ca9229)}
body.storyworld .story-controls{display:flex;align-items:center;justify-content:center;gap:13px;min-height:30px;margin-top:10px;color:var(--muted);font-size:12px}
body.storyworld .story-controls[hidden]{display:none}
body.storyworld .story-controls button{padding:5px 7px;min-height:30px;color:#4b6b59;background:transparent;border-radius:8px;font:inherit}
body.storyworld .story-controls button:hover:not(:disabled){background:#effaf4}
body.storyworld .story-controls button:disabled{opacity:.4}
body.storyworld .story-controls span{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:11px}
body.storyworld .story-reply-in{animation:story-reply-in 500ms ease both}
@keyframes story-reply-in{from{opacity:.25;filter:blur(2px)}to{opacity:1;filter:blur(0)}}
@media(min-width:860px) and (min-height:600px){
 body.storyworld[data-client-story=true] #conversation .message.assistant{height:132px;display:flex;align-items:center}
 body.storyworld[data-client-story=true] .story-controls{height:30px}
}
@media(min-width:860px) and (min-height:600px) and (max-height:699px){
 body.storyworld[data-client-story=true] #conversation .message.assistant{height:112px}
 body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state] .story-thought{font-size:16px;height:98px;padding:17px 24px}
}
@media(prefers-reduced-motion:reduce){
 body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state],body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state]>img,body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state]>:is(.client-scene-caption,.situation-caption),body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state] .story-thought{transition:none}
 body.storyworld .story-reply-in{animation:none}
}
@media(max-width:859px),(max-height:599px){
 body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state=future]{display:none}
 body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state=thought]>img,body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state=thought]>:is(.client-scene-caption,.situation-caption){display:none}
 body.storyworld :is(.client-scene,.situation-choice,.company-story-node)[data-story-state=thought] .story-thought{position:relative;left:auto;top:auto;transform:none;width:min(100%,280px);height:112px;opacity:1}
}
body.storyworld .thought-cloud.is-revealing{animation:line-question-in 450ms ease both;animation-delay:var(--cloud-delay,0ms)}
@keyframes line-question-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){body.storyworld .thought-field{transition:none}body.storyworld .thought-cloud.is-revealing{animation:none}}

/* Eight questions occupy the surroundings before any answer is revealed. */
body.storyworld[data-cjm-view=visitor-benefit] #above-content{position:absolute;inset:0;transform:none;width:100%;height:100%;max-width:none;max-height:none;overflow:visible;padding:0;pointer-events:none}
.company-story{position:absolute;inset:0}
body.storyworld .company-story-node[data-story-state]{position:absolute;left:var(--story-x);top:var(--story-y);transform:translateY(-50%);width:26%;height:clamp(105px,19svh,210px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:transparent;border:0;padding:0;color:var(--ink);text-align:center;pointer-events:auto}
.company-story-node.left-top{--story-x:2.5%;--story-y:13%}
.company-story-node.left-middle{--story-x:4%;--story-y:35%}
.company-story-node.left-lower{--story-x:1.5%;--story-y:60%}
.company-story-node.left-bottom{--story-x:5%;--story-y:83%}
.company-story-node.right-top{--story-x:72%;--story-y:15%}
.company-story-node.right-middle{--story-x:70%;--story-y:38%}
.company-story-node.right-lower{--story-x:73%;--story-y:62%}
.company-story-node.right-bottom{--story-x:71%;--story-y:86%}
@media(min-width:860px) and (min-height:850px){
 .company-story-node.left-lower{--story-x:36%;--story-y:16%}
 .company-story-node.right-bottom{--story-x:39%;--story-y:86%}
 .company-story-node.left-middle{--story-y:43%}
 .company-story-node.right-middle{--story-y:43%}
 .company-story-node.right-lower{--story-y:73%}
 .company-story-node.left-bottom{--story-y:79%}
}
body.storyworld .company-story-node[data-story-state=future]{pointer-events:none}
body.storyworld .company-story-node[data-story-state] .story-thought{top:50%;width:min(98%,280px);height:min(100%,148px);font-size:18px;padding:22px 25px}
body.storyworld .company-story-node[data-story-state=revealed] .story-thought{transform:translate(-50%,-50%) scale(1.03)}
body.storyworld .company-story-node .story-thought::before,body.storyworld .company-story-node .story-thought::after{content:'';position:absolute;background:#e3f6eb;border-radius:50%;top:var(--tail-y,60%)}
body.storyworld .company-story-node .story-thought::before{width:10px;height:10px}
body.storyworld .company-story-node .story-thought::after{width:5px;height:5px;margin-top:9px}
body.storyworld .company-story-node[class*="left-"] .story-thought::before{right:-5%}
body.storyworld .company-story-node[class*="left-"] .story-thought::after{right:-10%}
body.storyworld .company-story-node[class*="right-"] .story-thought::before{left:-5%}
body.storyworld .company-story-node[class*="right-"] .story-thought::after{left:-10%}
.company-story-node[class*="-top"],.company-story-node[class*="-middle"]{--tail-y:65%}
.company-story-node[class*="-lower"],.company-story-node[class*="-bottom"]{--tail-y:35%}
.company-story-node[data-tail=right]{--dot-x:100%;--dot-y:52%;--dot2-x:108%;--dot2-y:54%}
.company-story-node[data-tail=down-right]{--dot-x:90%;--dot-y:84%;--dot2-x:100%;--dot2-y:100%}
.company-story-node[data-tail=down]{--dot-x:49%;--dot-y:100%;--dot2-x:50%;--dot2-y:112%}
.company-story-node[data-tail=down-left]{--dot-x:6%;--dot-y:84%;--dot2-x:-4%;--dot2-y:100%}
.company-story-node[data-tail=left]{--dot-x:-4%;--dot-y:52%;--dot2-x:-12%;--dot2-y:54%}
.company-story-node[data-tail=up-left]{--dot-x:6%;--dot-y:10%;--dot2-x:-4%;--dot2-y:0%}
.company-story-node[data-tail=up]{--dot-x:49%;--dot-y:-4%;--dot2-x:50%;--dot2-y:-12%}
.company-story-node[data-tail=up-right]{--dot-x:90%;--dot-y:10%;--dot2-x:100%;--dot2-y:0%}
body.storyworld .company-story-node[data-tail] .story-thought::before{left:var(--dot-x);right:auto;top:var(--dot-y)}
body.storyworld .company-story-node[data-tail] .story-thought::after{left:var(--dot2-x);right:auto;top:var(--dot2-y);margin-top:0}
body.storyworld .company-story-node>img{width:100%;height:clamp(48px,9svh,120px);object-fit:contain;pointer-events:none;filter:drop-shadow(0 6px 10px #65ca9217)}
body.storyworld .company-story-node .situation-caption{gap:4px;max-width:270px;padding:0 10px}
body.storyworld .company-story-node .situation-caption strong{font-size:16px;line-height:1.2}
body.storyworld .company-story-node .situation-caption>span{font-size:13px;line-height:1.35}
body.storyworld .company-story-node.is-cloud-entering{animation:company-cloud-in 700ms ease both}
@keyframes company-cloud-in{from{opacity:0;filter:blur(3px)}to{opacity:1;filter:blur(0)}}
@media(max-width:859px),(max-height:599px){
 body.storyworld[data-cjm-view=visitor-benefit] #above-content{position:relative;inset:auto;transform:none;width:100%;height:auto;order:3}
 .company-story{position:relative;inset:auto;display:grid;gap:18px}
 body.storyworld .company-story-node[data-story-state]{position:relative;inset:auto;transform:none;width:100%;height:auto;min-height:120px;max-width:320px;margin:0 auto}
 body.storyworld .company-story-node[data-story-state] .story-thought{position:relative;inset:auto;transform:none;width:100%;height:120px}
 body.storyworld .company-story-node[data-story-state=revealed] .story-thought{display:none}
 body.storyworld .company-story-node[data-story-state=future]{display:none}
 body.storyworld .company-story-node .story-thought::before,body.storyworld .company-story-node .story-thought::after{display:none}
 body.storyworld .company-story-node>img{height:110px}
}
@media(prefers-reduced-motion:reduce){body.storyworld .company-story-node.is-cloud-entering{animation:none}}
/* The opening uses the same finite story as the company screen. */
body.storyworld[data-intro-story=true] .timon-avatar,body.storyworld[data-intro-story=true] #home-button{display:none}
body.storyworld[data-intro-story=true] .message.greeting{flex-direction:column;justify-content:center}
body.storyworld[data-intro-story=true] .story-controls[hidden]{display:flex;visibility:hidden;pointer-events:none}
@media(min-width:860px) and (min-height:600px){
 body.storyworld[data-intro-story=true] .conversation-stage{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:32%;max-width:none;margin:0}
}

/* A single cloud cues the next answer; previous scenes remain available. */
body.storyworld [data-story-node][data-story-cue=true] .story-thought{color:#17784a;filter:drop-shadow(0 0 15px #33a86e35);font-weight:600}
body.storyworld [data-story-node][data-story-active=true][data-story-state=revealed] .situation-caption strong,body.storyworld [data-story-node][data-story-active=true][data-story-state=revealed] .client-scene-caption strong{color:#17784a}
body.storyworld [data-story-node][data-story-cue=true][data-story-paused=false] .story-thought{animation:story-cue 900ms ease both}
@keyframes story-cue{0%{filter:drop-shadow(0 6px 12px #43b6761c)}60%,100%{filter:drop-shadow(0 0 15px #33a86e35)}}
@media(prefers-reduced-motion:reduce){body.storyworld [data-story-node] .story-thought{animation:none!important}}

/* The example is the scene: images set the place, native text carries the evidence. */
.scenario-scene,.scenario-result{color:#213c2e;min-width:0;overflow-wrap:anywhere}
.scenario-scene{overflow:hidden;border-radius:26px;background:linear-gradient(160deg,#fff 55%,#f2fbf6);box-shadow:0 12px 38px #33a86e12}
.scenario-art{position:relative;height:clamp(120px,21svh,220px);overflow:hidden;background:#effaf4}
.scenario-art img{width:100%;height:100%;object-fit:cover;object-position:center 42%;display:block}
.scenario-art>span,.salon-art>span{position:absolute;left:14px;bottom:10px;background:#ffffffed;padding:5px 9px;border-radius:9px;font-size:11px;color:#4b6b59}
.scenario-copy{padding:18px}
.scenario-copy h3,.scenario-result h3{font-size:20px;line-height:1.25;margin:0 0 13px;color:#213c2e}
.scenario-copy p,.scenario-result p{font-size:14px;line-height:1.5;margin:0 0 13px}
.scenario-prompt{font-weight:600}
.scenario-result{padding:22px 17px;border-radius:24px;background:#ffffffb5;box-shadow:0 8px 32px #379c640b}
.source-lines,.result-lines,.preparation-steps{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:10px}
.source-lines li{font-size:14px;line-height:1.5;display:flex;gap:9px;align-items:baseline;padding:9px 0;border-bottom:1px solid #e5f6ec}
.source-line{font-size:11px;color:#17784a;background:#eef9f3;border-radius:5px;min-width:20px;text-align:center}
.result-lines li{padding:12px 13px;background:#e9f6f2;border-radius:13px;border-left:3px solid #4ac07e;display:grid;gap:5px}
.result-lines li.unknown{background:#fff5e6;border-color:#edb85e}
.result-lines small{font-size:11px;color:#4b6b59}
.result-lines strong{font-size:15px;line-height:1.4;font-weight:550}
.preparation-steps li{display:grid;gap:4px;border-bottom:1px solid #e5f6ec;padding:8px 0}
.preparation-steps strong{font-size:14px}.preparation-steps span{font-size:13px;line-height:1.5;color:#4b6b59}
.scenario-result .visitor-note,.scenario-copy .visitor-note{font-size:12px;color:#4b6b59;line-height:1.45;margin:12px 0}
.scenario-result .visitor-choice,.scenario-copy .visitor-choice{min-height:42px;border-radius:13px;font-size:13px;margin:8px 0 0;padding:10px 12px}
.scenario-result .visitor-choice+ .visitor-choice{background:transparent;color:#17784a}
.own-task label{display:grid;gap:6px;font-size:12px;color:#4b6b59;margin:0 0 13px}
.own-task input,.own-task textarea{font:inherit;font-size:16px;line-height:1.4;width:100%;box-sizing:border-box;border:1px solid #d8f2e3;border-radius:11px;background:#fafdfb;color:#213c2e;padding:10px 11px;resize:vertical}
.own-task input:focus,.own-task textarea:focus{outline:2px solid #7dd4a3;outline-offset:2px;background:white}
.own-task .visitor-brief{font-size:12px;white-space:pre-line;color:#4b6b59;max-height:80px;overflow:auto;padding:10px;background:#effaf4;border-radius:10px}
.brief-error{color:#a64b39!important;font-size:13px!important}.brief-error[hidden]{display:none}
.own-task .brief-submit{width:100%;background:#17784a;color:white;cursor:pointer}
.salon-art{position:relative;height:clamp(80px,12svh,130px);overflow:hidden;border-radius:15px;margin:-2px -2px 14px}
.salon-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.scenario-salon .salon-turn{padding:8px 10px}.scenario-salon .salon-turn p{font-size:13px!important;margin:3px 0 0!important}
body.storyworld[data-world=visitor]:not([data-cjm-view=visitor-benefit]):not([data-cjm-view=visitor-clients]) .visitor-backdrop{display:none}
@media(min-width:860px) and (min-height:600px){
 body.storyworld[data-world=visitor] .context-column:has(.scenario-scene),body.storyworld[data-world=visitor] .context-column:has(.scenario-result){overflow:visible;max-height:none}
 body.storyworld[data-world=visitor] .context-column:has(.own-task){overflow:auto;max-height:calc(100svh - 112px);border-radius:24px}
 body.storyworld[data-world=visitor] .scenario-result h3,body.storyworld[data-world=visitor] .scenario-copy h3{font-size:18px}
}
@media(min-width:860px) and (max-height:760px){
 .scenario-art{height:120px}.scenario-copy,.scenario-result{padding:13px}
 .result-lines{gap:7px}.result-lines li{padding:9px 10px}.result-lines strong{font-size:13px}
 .scenario-copy p,.scenario-result p{font-size:13px;margin-bottom:9px}
 .scenario-result .visitor-choice,.scenario-copy .visitor-choice{padding:8px 9px;margin-top:6px;min-height:36px}
 .own-task label{margin-bottom:9px}.own-task input,.own-task textarea{padding:7px 9px}
}
@media(max-width:859px),(max-height:599px){
 .scenario-scene,.scenario-result{width:100%;box-sizing:border-box}.scenario-art{height:190px}
 .scenario-result{padding:20px}.scenario-copy{padding:20px}
 .own-task input,.own-task textarea{font-size:16px}.own-task .visitor-choice{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.scenario-scene,.scenario-result{animation:none}}
.audience-choices{display:grid;gap:11px}.audience-choice{display:flex;gap:11px;align-items:center;width:100%;padding:9px;border:0;border-radius:17px;background:#f2fbf5;text-align:left;font:inherit;color:#213c2e;cursor:pointer;transition:background .2s,transform .2s}
.audience-choice:hover{background:#e8f8ef;transform:translateY(-2px)}.audience-choice img{width:78px;height:78px;object-fit:contain;flex-shrink:0}
.audience-choice>span{display:grid;gap:4px}.audience-choice small{font-size:11px;color:#4b6b59}.audience-choice strong{font-size:17px}.audience-choice span span{font-size:12px;line-height:1.4;color:#4b6b59}
@media(min-width:860px) and (max-height:760px){.audience-choice img{width:58px;height:58px}.audience-choice{padding:7px}.audience-choices{gap:8px}}
@media(prefers-reduced-motion:reduce){.audience-choice{transition:none}}
.salon-art{background:linear-gradient(130deg,#f3fbf7,#fff8f0)}.salon-art img{object-position:50% 35%}
.salon-draft dl>div.is-unknown{background:#fff4e2;border-left:2px solid #ecbc67}
@media(max-width:859px),(max-height:599px){
 body.storyworld[data-world=visitor]:not([data-cjm-view=visitor-benefit]) #left-content{order:1}
 body.storyworld[data-world=visitor]:not([data-cjm-view=visitor-benefit]) #right-content{order:2}
 body.storyworld[data-world=visitor]:not([data-cjm-view=visitor-benefit]) .thought-field{order:3}
}

/* A stable cloud anchor becomes a real choice; no element crosses the canvas edge. */
@media(min-width:860px) and (min-height:600px){
 body.storyworld .company-story-node[data-story-state]{--node-width:26%;--node-height:clamp(155px,24svh,220px);width:var(--node-width);height:var(--node-height);left:clamp(28px,var(--story-x),calc(100% - var(--node-width) - 28px));top:clamp(calc(70px + var(--node-height)/2),var(--story-y),calc(100% - var(--node-height)/2 - 30px))}
 body.storyworld .company-story-node.story-introduction[data-story-state]{--node-height:clamp(210px,31svh,275px)}
}
body.storyworld .story-introduction .story-thought{border:0;font:inherit;text-align:center;cursor:pointer}
body.storyworld .story-introduction[data-story-state=thought] button.story-thought{pointer-events:auto}
body.storyworld .story-introduction .story-reveal{display:flex;flex-direction:column;align-items:center;width:100%;box-sizing:border-box;padding:10px 5px;opacity:0;transform:scale(.93);filter:blur(3px);transition:opacity 650ms ease,transform 800ms cubic-bezier(.2,.8,.2,1),filter 650ms ease;pointer-events:none}
body.storyworld .story-introduction[data-story-state=revealed] .story-reveal{opacity:1;transform:scale(1);filter:none;pointer-events:auto}
.story-entry{display:flex;flex-direction:column;align-items:center;gap:7px;width:100%;padding:0;background:none;border:0;font:inherit;color:var(--ink);cursor:pointer}
.story-entry img{display:block;width:100%;height:clamp(72px,12svh,125px);object-fit:contain;pointer-events:none;filter:drop-shadow(0 6px 12px #33a86e1a)}
body.storyworld .story-introduction .situation-caption strong{font-size:18px}
.story-audience-actions{display:flex;gap:6px;width:100%;justify-content:center;margin-top:12px}
.story-audience-actions button{font:inherit;font-size:12px;line-height:1.25;white-space:nowrap;color:#17784a;background:#fff;border:1px solid #e0f4e9;border-radius:13px;padding:10px 8px;min-height:38px;box-shadow:0 4px 10px #30925b0b;cursor:pointer;transition:background 180ms ease,transform 180ms ease,box-shadow 180ms ease}
.story-audience-actions button:hover{background:#eef9f3;transform:translateY(-2px);box-shadow:0 7px 14px #30925b17}
.story-audience-actions button:focus-visible,.story-entry:focus-visible{outline:2px solid #17784a;outline-offset:4px}
@media(max-width:859px),(max-height:599px){
 body.storyworld .story-introduction[data-story-state=thought] .story-reveal{display:none}
 body.storyworld .story-introduction[data-story-state=revealed]{min-height:220px}
 .story-audience-actions button{min-height:44px}
}
@media(prefers-reduced-motion:reduce){body.storyworld .story-introduction .story-reveal,.story-audience-actions button{transition:none;filter:none}}
@media(min-width:860px) and (min-height:600px){
 body.storyworld .company-story-node[data-story-state]{--node-height:clamp(126px,20svh,205px)}
 body.storyworld .company-story-node.story-introduction[data-story-state]{--node-height:clamp(190px,28svh,250px)}
 .company-story-node.left-lower{--story-x:36%;--story-y:16%}
 .company-story-node.right-bottom{--story-x:39%;--story-y:86%}
 .company-story-node.left-middle,.company-story-node.right-middle{--story-y:49%}
 .company-story-node.left-bottom{--story-y:81%}.company-story-node.right-lower{--story-y:83%}
 body.storyworld .company-story-node.left-middle[data-story-state],body.storyworld .company-story-node.right-middle[data-story-state]{top:clamp(calc(86px + clamp(190px,28svh,250px) + var(--node-height)/2),var(--story-y),calc(100% - var(--node-height)/2 - 30px))}
}
/* Keep generated scenes intact rather than cropping characters to a banner. */
.scenario-art img,.salon-art img{object-fit:contain;object-position:center}
body.storyworld .company-story-node .story-node-action{color:#17784a;font-size:12px;margin-top:4px;text-decoration:underline;text-underline-offset:3px}
body.storyworld .company-story-node[data-story-state=revealed]:hover .story-node-action{color:#17784a}
/* The cloud arrives gently, rests, then becomes the next interactive scene. */
body.storyworld .company-story-node.is-cloud-entering{animation:company-cloud-in 1400ms cubic-bezier(.2,.7,.25,1) both}
body.storyworld .company-story-node[data-story-state] .story-thought{transition:opacity 800ms ease,transform 800ms cubic-bezier(.2,.8,.2,1),filter 800ms ease}
body.storyworld .company-story-node[data-story-state]>img,body.storyworld .company-story-node[data-story-state]>.situation-caption{transition:opacity 850ms ease,transform 850ms cubic-bezier(.2,.8,.2,1)}
@media(prefers-reduced-motion:reduce){body.storyworld .company-story-node.is-cloud-entering{animation:none}body.storyworld .company-story-node[data-story-state] .story-thought,body.storyworld .company-story-node[data-story-state]>img,body.storyworld .company-story-node[data-story-state]>.situation-caption{transition:none}}
