.story-dock{max-width:96vw}.story-dock button{padding:10px 12px}.story-hud .hud-settings{background:#fff8e8aa;border:0}.story-speech{max-height:23vh;overflow:auto;margin:0 0 12px}.story-speech .callout{background:none;border:0;padding:0;margin:0}.story-speech p{font-size:18px;margin:6px 0}.story-speech .translation{font-size:14px}.dialogue-actions>div{display:flex;gap:10px}.story-worksheet .assignment-layout{display:block}.story-worksheet .assignment-layout>aside,.story-worksheet .client-meeting,.story-worksheet .assignment-layout>section>p:first-of-type{display:none}.story-worksheet .card{background:transparent;border:0;padding:0;box-shadow:none}.story-solution>.card{border:0;padding:0;background:transparent}.story-solution .result-client{display:none}.story-worksheet .task-brief{font-size:16px}.story-worksheet input,.story-worksheet select{min-width:80px}#story-panel{max-width:1050px;width:min(1050px,94vw)}.casebook-entry{display:flex;text-align:left;justify-content:space-between;gap:20px;width:100%;margin:10px 0;background:#fffaf0}.casebook-entry small{display:block;font-weight:400;margin-top:5px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-bottom:1px solid #e5d9c4}.settings-row input{width:24px;height:24px}.settings-row label{margin:0}.story-save-error{position:absolute;top:85px;z-index:9;left:25px;right:25px;background:#a95649;color:white;padding:12px;border-radius:10px}.reduce-motion *{transition:none!important}.story .welcome{max-width:420px}.story .dialogue{min-height:155px}.story #office-backdrop .clay-stage{pointer-events:none}.story .story-dock small{font-size:8px}
@media(max-width:760px){.story-dock{width:96%;display:grid;grid-template-columns:repeat(4,1fr);gap:0;bottom:5px}.story-dock button{width:auto;font-size:10px;padding:8px 3px}.story .dialogue{bottom:95px;max-height:43vh;overflow:visible}.story-speech{max-height:22vh}.story-speech p{font-size:16px}.dialogue-actions{align-items:flex-end}.dialogue-actions>div{flex-wrap:wrap;justify-content:flex-end}.dialogue-actions button{font-size:12px;padding:9px}.dialogue-actions>span{font-size:10px}.story-hud #hud{font-size:10px;max-width:90vw}.casebook-entry{flex-direction:column;gap:8px}#story-panel .stats{grid-template-columns:repeat(2,1fr)}.story #visitor{bottom:215px;max-height:340px}.story #office-backdrop{top:16%}.story-hud small{font-size:8px}}
.story .welcome h1 .translation{font-size:24px;line-height:1.4;margin-top:15px;color:#365950}.story .welcome{top:25%}.story .welcome h1{font-size:clamp(30px,3.7vw,52px)}@media(max-width:760px){.story .welcome{top:24%;max-width:85vw}.story .welcome h1{font-size:28px}.story .welcome h1 .translation{font-size:18px}}
@media(max-width:760px){.story .dialogue{bottom:140px}.story #visitor{bottom:265px}.story-dock{min-height:102px}.story-dock button{line-height:1.35}.story .welcome{max-height:calc(76dvh - 155px);overflow:auto}}
.story:not(.talking) #office-backdrop .clay-stage{pointer-events:none}
.story:not(.talking) #office-backdrop .decor-slot.is-pet{pointer-events:auto;cursor:pointer}
