.music-widget{position:fixed;right:28px;bottom:25px;z-index:24;display:flex;gap:0;filter:drop-shadow(0 4px 10px #234f7720)}
.music-widget>button{background:#f6fbff;border:1px solid #9cbdd3;color:#214e72;min-height:46px;padding:8px 15px;font-size:17px;border-radius:24px 0 0 24px}
.music-widget>button+button{border-left:0;border-radius:0 24px 24px 0;padding:8px 12px;font-size:16px}
.music-widget>button[aria-pressed="true"]{background:#285e88;color:white}
#music-controls{position:absolute;right:0;bottom:56px;background:#f8fcff;border:1px solid #91b5cd;border-radius:15px;padding:16px;width:270px;color:#244e6e}
#music-controls p{font-size:17px;line-height:1.4;margin:0 0 12px}
#music-controls label{display:flex;align-items:center;gap:10px;font-size:17px}
#music-controls input{min-width:0;width:132px;min-height:44px;accent-color:#285e88}
#music-controls output{min-width:38px}
.footnote{padding-right:225px}
.dialogue-open .music-widget{bottom:auto;top:110px;right:24px}
.dialogue-open #music-controls{top:56px;bottom:auto}
.conversation[data-kind="faq"]{height:340px;max-height:57dvh;animation:none;padding:17px 25px}
.conversation[data-kind="faq"] .person-heading{min-height:52px;margin-bottom:10px}
.conversation[data-kind="faq"] .person-heading .portrait{zoom:.72}
.conversation[data-kind="faq"] .dialogue-body{align-items:start;grid-template-columns:minmax(0,1fr) 390px;gap:25px;height:calc(100% - 65px)}
.faq-copy{overflow-y:auto;max-height:100%;scrollbar-width:thin;padding-right:8px}
.conversation[data-kind="faq"] .speech{line-height:1.45;font-size:21px}
.faq-questions{display:flex;flex-direction:column;gap:7px;overflow-y:auto;max-height:100%}
.faq-questions>button{font-size:18px;line-height:1.35;min-height:48px;padding:9px 13px;text-align:left;background:#edf5fa;border:1px solid #b8d1e2;border-radius:9px;flex-shrink:0}
.faq-questions>button[aria-pressed="true"]{background:#275e88;color:white;border-color:#275e88}
.faq-questions>button:hover{border-color:#356e98;transform:none}
.faq-questions .faq-next{background:#e0edf5;font-weight:600}
.faq-footer{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #c7dbe8;padding-top:8px}
.faq-footer button{font-size:17px;min-height:44px;padding:7px 10px;text-decoration:underline;text-underline-offset:4px}
.faq-copy ul{padding-left:1.3em;margin:9px 0;font-size:20px;line-height:1.45}
.faq-copy li{margin:3px 0}
.faq-copy .faq-contact{font-size:19px;line-height:1.45;margin:12px 0 6px}
.faq-copy .dialogue-evidence{margin-top:12px}
.choices button:hover{transform:none}
.conversation[data-kind="story"] .dialogue-actions .choices{min-height:110px}
.conversation .person-heading h2{font-size:25px}
@media(min-width:701px){.explore-view .mission-card{min-height:88px;padding:14px 18px;border-left:5px solid #5b89a8}.explore-view .card-copy{gap:5px}.explore-view .card-copy strong{font-size:20px;line-height:1.35}.explore-view .portrait{width:40px;height:50px}.explore-view .dock-heading{margin-bottom:10px}.explore-view #mission-dock{bottom:65px}.explore-view #world{bottom:200px}}
.conversation[data-kind="faq"]{height:440px;max-height:60dvh;background:#f0f5f7}
.conversation[data-kind="faq"] .dialogue-body{grid-template-columns:minmax(0,1fr) 400px;height:calc(100% - 65px)}
.chat-message{position:relative;width:fit-content;max-width:94%;padding:12px 16px;border-radius:15px;margin:0 0 13px;box-shadow:0 2px 4px #23455d0b}
.citizen-message{margin-left:auto;background:#d2e8df;border:1px solid #aacfc0;border-top-right-radius:3px;color:#253f3b}
.officer-message{margin-right:auto;background:#fff;border:1px solid #d4dfe5;border-top-left-radius:3px}
.chat-speaker{display:block;font-size:16px;font-weight:600;color:#536c77;margin-bottom:5px}
.chat-message h3,.conversation .chat-message h3{font-size:20px;line-height:1.4;margin:0 0 5px}
.chat-message .speech{color:#293f4d}
.faq-questions{padding-left:20px;border-left:1px solid #c6d6df;gap:8px}
.conversation .faq-menu-title{font-size:18px;margin:0 0 2px;color:#4a6272;font-weight:600}
.faq-questions>button{display:flex;align-items:center;gap:10px;background:#fff;color:#2f4452;border-color:#c7d4dc;font-weight:600;padding:9px 11px;min-height:53px}
.question-number{flex-shrink:0;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#dce9f2;color:#355d7c;font-family:Georgia,serif;font-size:18px}
.question-arrow{margin-left:auto;color:#7796ac;font-size:23px}
.faq-questions>button[aria-pressed="true"]{background:#d9eaf5;color:#214c6b;border:2px solid #4b83a7;padding:8px 10px}
.faq-questions>button[aria-pressed="true"] .question-number{background:#2c658e;color:white}
.faq-questions>.faq-next,.faq-questions>.faq-next[aria-pressed="true"]{background:#255b80;color:#fff;border:1px solid #255b80;justify-content:center;margin-top:4px;box-shadow:0 3px 0 #123b59;min-height:50px}
.faq-questions>.faq-next:hover{background:#1a4868}
.faq-footer{border:0;padding-top:6px;justify-content:space-between}
.faq-footer button{color:#516570;font-size:16px;padding:6px 0}
.conversation[data-kind="story"] .choices button{background:#fff;color:#2f4452;border-left:5px solid #5d8caa}
@media(min-width:701px) and (max-width:1100px){.conversation[data-kind="faq"]{height:420px}.conversation[data-kind="faq"] .dialogue-body{grid-template-columns:minmax(0,1fr) 340px}.faq-questions{padding-left:14px}}
@media(max-width:700px){.conversation[data-kind="faq"]{height:auto;max-height:69dvh}.conversation[data-kind="faq"] .dialogue-body{height:auto}.faq-questions{padding-left:0;border-left:0;border-top:1px solid #c6d6df;padding-top:13px}.chat-message{max-width:96%;padding:11px 13px}.chat-message h3,.conversation .chat-message h3{font-size:19px}.faq-footer button{font-size:17px}}
@media(max-width:1100px) and (min-width:701px){.conversation[data-kind="faq"] .dialogue-body{grid-template-columns:minmax(0,1fr) 340px;gap:18px}.conversation[data-kind="faq"]{height:420px}.music-widget{right:20px}.dialogue-open .music-widget{top:166px}}
@media(max-width:700px){.music-widget{right:12px;bottom:14px}.music-widget>button{font-size:16px;padding:7px 12px}.footnote{padding-right:0;padding-bottom:75px}.dialogue-open .music-widget{top:145px;right:12px}.conversation[data-kind="faq"]{height:auto;max-height:66dvh;padding:14px 16px}.conversation[data-kind="faq"] .dialogue-body{display:flex;flex-direction:column;gap:13px;height:auto}.conversation[data-kind="faq"] .person-heading{margin-bottom:10px}.conversation[data-kind="faq"] .person-heading h2{font-size:23px}.conversation[data-kind="faq"] .speech{font-size:20px}.faq-copy{max-height:none;width:100%;overflow:visible}.faq-questions{overflow:visible;max-height:none;width:100%;gap:7px}.faq-questions>button{font-size:18px;min-height:48px}.faq-copy ul{font-size:19px}.faq-footer{padding-top:6px}.faq-footer button{font-size:17px}#music-controls{width:265px}.dialogue-open #music-controls{top:52px}}

.dialogue-open .pin{display:none}
.island-label.island-current{background:#285f8b;color:#fff;opacity:1}
@media(max-width:700px){
 .conversation[data-kind="faq"]{height:calc(100dvh - 212px);max-height:none;overflow:hidden;display:flex;flex-direction:column;gap:10px;padding:13px 15px}
 .conversation[data-kind="faq"] .person-heading{flex-shrink:0;min-height:48px;margin:0}
 .conversation[data-kind="faq"] .person-heading p{margin:3px 0 0}
 .conversation[data-kind="faq"] .dialogue-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;overflow:hidden}
 .conversation[data-kind="faq"] .faq-copy{flex:1;min-height:110px;max-height:none;overflow-y:auto;padding-right:6px}
 .conversation[data-kind="faq"] .faq-questions{flex-shrink:0;max-height:57%;overflow-y:auto;padding-top:10px;gap:6px}
 .conversation[data-kind="faq"] .faq-questions>button{font-size:17px;min-height:45px;padding:7px 9px}
 .conversation[data-kind="faq"] .faq-questions>button[aria-pressed="true"]{padding:6px 8px}
 .conversation[data-kind="faq"] .faq-next{min-height:46px}
 .conversation[data-kind="faq"] .faq-footer{padding:0}
 .conversation[data-kind="faq"] .faq-footer button{min-height:36px}
}

.life-entry{margin-left:18px;background:#285e88;color:white;border-radius:22px;padding:8px 18px;font-size:18px}.life-kicker{color:#416e8c;font-size:18px}.life-note{font-size:17px;color:#586a75;line-height:1.5}.life-portrait .portrait{transform:scale(1.5);margin:20px}.life-list{display:grid;gap:12px}.life-list>button{display:flex;gap:14px;align-items:center;text-align:left;padding:14px;border:1px solid #b9cdd8;background:#edf4f7;border-radius:12px}.life-list>button>span:nth-child(2){display:grid;gap:6px;flex:1}.life-list strong{font-size:20px}.life-list span span{font-size:18px;color:#536976}@media(max-width:700px){.life-entry{margin:4px 0;font-size:17px}.life-list strong{font-size:19px}}


/* Single soft daylight palette. */
:root{background:#c8d8da;color:#183849;--ink:#183849;--muted:#405969;--line:#9cb2b9;--paper:#f1f0e9}
body{background:#c8d8da;color:#183849}
#loading{background:#c8d8da}.intro:before{background:radial-gradient(ellipse at left,#c8d8daf5 40%,transparent 85%)}
.view-switch,#explore-bar,.mission-card,.detail,.directory,.policy-panel,.journey-panel,dialog,#onboarding{background:#f1f0e9;border-color:#a2b6bc;color:#183849}
#explore-bar .life-entry,.primary,.faq-questions>.faq-next{background:#24546c;color:#fff;border-color:#24546c}
.secondary,.faq-questions>button,.life-list>button,.choices button{background:#dce5e5;color:#183849;border-color:#91aab4}
.faq-questions>button[aria-pressed="true"]{background:#b9d3dc;color:#163c50;border-color:#356a80}
.island-label{background:#eaece5;color:#183849;border:1px solid #688997;box-shadow:0 3px 0 #41657735}
.island-label small,.card-copy>span,.life-list span span,.life-note{color:#405969}
.officer-message{background:#f3f1e8;color:#183849;border-color:#b4c1c2}.citizen-message{background:#c5d9d3;color:#203f3c}
.conversation[data-kind="faq"]{background:#dce5e5}.conversation .speech{color:#244354}
.service-block{border-radius:12px;padding:10px 14px;background:#e2e8e5;margin-bottom:12px}
.map-tools button,#help{background:#e9ede7;color:#21495f;border-color:#8da8b3}
.avatar-art{display:block;flex:none;width:58px;height:64px;border-radius:18px;overflow:hidden;box-shadow:0 2px 4px #284c5920}
.avatar-art svg{display:block;width:100%;height:100%}.person-heading .avatar-art{width:74px;height:82px}.life-portrait{transform:none;height:auto;margin:0 0 18px}.life-portrait .avatar-art{width:94px;height:104px;border-radius:25px}
.life-list .avatar-art{width:56px;height:62px}.mission-card{border-left:5px solid #557e8f}
button:focus-visible,a:focus-visible{outline:3px solid #936c28;outline-offset:4px}
#explore-bar .life-entry{text-decoration:none;margin-left:0}
/* Keep the introduction beside the map, never painted over it. */
.home-view .intro:before{display:none}
.home-view #world{mask-image:none;-webkit-mask-image:none}
@media(min-width:1001px){
 .home-view .intro{left:28px;top:140px;width:calc(29vw - 48px);max-width:350px}
 .home-view #world{inset:110px 16px 55px max(29vw,300px);border:1px solid #8ba8b4;border-radius:24px;overflow:hidden}
 .home-view .intro h1{font-size:clamp(29px,2.5vw,38px);line-height:1.35}
 .home-view .hero-explain{font-size:21px;line-height:1.5}
}
@media(min-width:701px) and (max-width:1000px){
 body.home-view{min-height:1300px!important;overflow-y:auto!important}
 .home-view .intro{top:170px;left:30px;right:30px;width:auto;max-width:none}
 .home-view .intro h1{font-size:36px;line-height:1.3;margin-bottom:16px}
 .home-view .hero-explain{font-size:21px;line-height:1.45;max-width:none}
 .home-view #world{inset:660px 0 auto;height:570px;mask-image:none;-webkit-mask-image:none}
 .home-view .footnote{top:1250px;bottom:auto}
}

/* Give touch users a substantial map without covering the introduction. */
@media(max-width:700px){
 body.home-view #world{top:660px;height:470px;mask-image:none;-webkit-mask-image:none;border-top:1px solid #8ba8b4;border-bottom:1px solid #8ba8b4}
 .home-view .footnote{top:1150px}
 .large-type.home-view #world{top:760px}
 .large-type.home-view .footnote{top:1250px}
}

/* Resident profiles use only the space their content needs. */
#detail:has(.life-profile-heading){bottom:auto;height:auto;max-height:calc(100dvh - 145px);width:min(480px,calc(100vw - 40px));padding:22px 24px;border-radius:20px}
.life-profile-heading{display:flex;align-items:center;gap:16px;padding-right:36px;margin-bottom:18px}
.life-profile-heading .life-portrait{margin:0;flex-shrink:0}
.life-profile-heading .avatar-art{width:70px;height:78px;border-radius:18px}
.life-profile-heading .life-kicker{font-size:16px;line-height:1.35;margin:0 0 5px}
#detail .life-profile-heading h2{font-size:25px;line-height:1.35;margin:0}
#detail:has(.life-profile-heading) .service-block{padding:11px 14px;margin:0 0 10px}
#detail:has(.life-profile-heading) .service-block h3{font-size:20px;line-height:1.35;margin:0 0 5px}
#detail:has(.life-profile-heading) .service-block p{font-size:20px;line-height:1.45;margin:0}
#detail:has(.life-profile-heading) .life-note{font-size:16px;line-height:1.4;margin:12px 0 16px}
.life-profile-actions{display:flex;gap:10px;align-items:stretch}
#detail .life-profile-actions button{width:auto;min-height:48px;padding:9px 13px;font-size:18px;line-height:1.4;margin:0}
.life-profile-actions .primary{flex:1}
@media(max-width:700px){
 #detail:has(.life-profile-heading){top:auto;bottom:85px;left:12px;right:12px;width:auto;max-height:calc(100dvh - 245px);padding:18px}
 #detail .life-profile-heading h2{font-size:23px}
 .life-profile-heading{gap:12px;margin-bottom:14px}
 .life-profile-heading .avatar-art{width:58px;height:65px}
 #detail .life-profile-actions button{font-size:17px;padding:9px 10px}
}
body.overlay-open:not(.dialogue-open):not(.policy-open):has(.life-profile-heading) #world{inset:0;height:auto;mask-image:none;-webkit-mask-image:none}
/* Chat floats over the map instead of reducing the map to a narrow strip. */
body.dialogue-open #world{inset:96px 0 0;height:auto;min-height:0}
body.dialogue-open .map-tools{bottom:auto;top:115px;left:20px}
@media(min-width:701px){
 .conversation,.conversation[data-kind="faq"]{bottom:18px;max-height:40dvh;padding:14px 20px;border-width:1px;box-shadow:0 8px 30px #173e6b30}
 .conversation[data-kind="faq"]{height:320px}
 .conversation:before{display:none}
 .conversation .person-heading,.conversation[data-kind="faq"] .person-heading{min-height:45px;margin-bottom:10px;gap:12px}
 .conversation .person-heading .avatar-art{width:44px;height:49px;border-radius:12px}
 .conversation .person-heading h2{font-size:23px}
 .conversation .person-heading p{display:none}
 .conversation[data-kind="faq"] .dialogue-body{grid-template-columns:minmax(0,1fr) minmax(380px,.95fr);gap:18px;height:calc(100% - 59px)}
 .faq-questions{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:8px;padding-left:16px}
 .faq-menu-title,.faq-footer{grid-column:1/-1}
 .faq-questions>button{font-size:17px;min-height:58px;padding:8px;line-height:1.35}
 .faq-questions>button[aria-pressed="true"]{padding:7px}
 .faq-questions>.faq-next{margin:0;font-size:17px;min-height:58px;box-shadow:none}
 .question-number{width:24px;height:24px;font-size:16px}
 .question-arrow{display:none}
 .faq-footer button{font-size:16px;min-height:32px;padding:3px 0}
 .chat-message{padding:10px 13px;margin-bottom:10px}
 .conversation .speech{font-size:20px;line-height:1.4}
 .conversation[data-kind="story"] .dialogue-copy{max-height:calc(40dvh - 95px);overflow-y:auto}
}
@media(max-width:700px){
 body.dialogue-open #world{inset:145px 0 0;height:auto}
 .conversation,.conversation[data-kind="faq"]{bottom:10px;max-height:43dvh;height:auto;padding:12px 14px}
 .conversation[data-kind="faq"]{height:43dvh}
 .conversation .person-heading .avatar-art{width:38px;height:42px}
 .conversation .person-heading p{display:none}
 .conversation .person-heading h2{font-size:21px}
 .conversation[data-kind="faq"] .person-heading{min-height:42px}
 .conversation[data-kind="faq"] .faq-copy{min-height:70px}
 .conversation[data-kind="faq"] .faq-questions{max-height:48%}
}
/* Screen-sized reading pages keep navigation visible without shrinking text. */
.screen-pages{overflow:hidden!important;min-height:0}
.page-window{overflow:hidden;position:relative;width:100%;scroll-behavior:auto;overscroll-behavior:none}
.page-content{column-count:auto;column-gap:24px;column-fill:auto;width:100%;overflow:visible}
.page-content p{orphans:2;widows:2}
.page-content button,.page-content label,.page-content summary,.page-content .life-list>button,.page-content .directory-entry,.page-content .org-unit{break-inside:avoid}
.page-content h2,.page-content h3,.page-content h4{break-after:avoid}
.page-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;height:44px;margin-top:4px;border-top:1px solid #9cb2b9}
.page-controls button{width:auto!important;min-height:40px!important;margin:0!important;padding:6px 12px!important;font-size:17px!important;background:#24546c;color:white;border-radius:8px;line-height:1.3}
.page-controls button:disabled{opacity:.4;cursor:default}.page-controls span{font-size:17px;white-space:nowrap}
.page-controls.single-page{visibility:hidden}
.page-content .life-list,.page-content .org-unit-list,.page-content .org-groups,.page-content .policy-pillars{display:block}
.page-content .life-list>button,.page-content .org-unit,.page-content .policy-pillars article{margin-bottom:10px;width:100%;break-inside:avoid}
.page-content .story-card{break-inside:auto}
.page-content .story-card:not([open]){break-inside:avoid}
#detail:not(:has(.life-profile-heading)),#directory,#policy-panel,#journey-panel{bottom:20px;max-height:none;overflow:hidden}
#journey-panel{height:calc(100dvh - 155px)}
.conversation .dialogue-copy.screen-pages{max-height:none!important;height:100%;padding-right:0}
.conversation[data-kind="story"] .dialogue-body{align-items:start;height:calc(100% - 59px)}
.conversation[data-kind="story"]{height:320px}
@media(min-width:701px){
 #detail:not(:has(.life-profile-heading)),#directory{width:min(640px,calc(100vw - 50px))}
 .policy-panel{top:105px;width:min(1050px,calc(100vw - 64px));padding:20px 28px}
 .policy-head h2{margin:0;font-size:27px}.policy-lead{margin:6px 0 10px!important}
 .policy-tabs{margin:8px 0!important}.policy-panel .search{margin:8px 0!important}
 .policy-method{margin:6px 0!important;font-size:17px}
}
@media(max-width:700px){
 body.home-view,body.explore-view{min-height:100dvh!important;height:100dvh;overflow:hidden!important}
 .home-view .intro{top:140px;left:18px;right:18px}
 .home-view .hero-kicker,.home-view .hero-note{display:none}
 .home-view .intro h1{font-size:26px;line-height:1.25;margin:0 0 9px}
 .home-view .hero-explain{font-size:18px;line-height:1.4;margin-bottom:10px}
 .home-view .intro .primary,.home-view .intro .secondary{font-size:17px;min-height:44px;padding:8px 10px;margin-top:6px}
 .home-view .intro .explore-link{font-size:17px;min-height:36px;margin:2px 0;padding:5px 0}
 body.home-view #world{top:490px;bottom:55px;height:auto;min-height:100px}
 .home-view .footnote{top:auto;bottom:9px;padding:0;font-size:14px;left:14px;right:auto}.home-view .download-link{display:none}
 .explore-view #world{top:250px;bottom:75px;height:auto}
 .explore-view #mission-dock{display:none}
 .explore-view .footnote{top:auto;bottom:8px}
 #detail:not(:has(.life-profile-heading)),#directory,#policy-panel,#journey-panel{top:145px;bottom:75px;height:auto;padding:14px 16px}
 .conversation[data-kind="faq"] .faq-copy{flex:1;min-height:0}
 .conversation[data-kind="faq"] .dialogue-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.8fr);gap:10px}
 .conversation[data-kind="faq"] .faq-questions{max-height:none;padding:0 0 0 8px;border-top:0;border-left:1px solid #9cb2b9;overflow:auto}
 .conversation[data-kind="faq"]{height:43dvh}
 .page-controls{gap:5px}.page-controls button{font-size:16px!important;padding:6px!important}.page-controls span{font-size:16px}
}
@media print{.page-window,.page-content{height:auto!important;overflow:visible;columns:auto!important}.page-controls{display:none}}

.robot-status{display:inline-block;background:#24546c;color:#fff;border-radius:8px;padding:3px 9px;font-size:17px!important;margin:0 0 8px!important}

.open-data-menu{display:grid;grid-template-columns:1fr 1fr;gap:12px}.open-data-menu button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:16px;background:#d9e5e6;border:1px solid #94aeb9;border-radius:14px;min-height:132px;gap:7px}.open-data-menu button span{font-size:17px;color:#385b6f}.open-data-menu button strong{font-size:22px;color:#163e55}.open-data-menu button b{font-size:17px;color:#24546c}.open-data-boundary{border-left:4px solid #467f96;padding:4px 16px;background:#d6e3e6}.open-data-boundary h4{margin:8px 0}.open-data-boundary p{margin:8px 0}.policy-panel li{margin-bottom:8px}.page-content .open-data-menu{display:block}.page-content .open-data-menu button{width:100%;margin-bottom:12px;break-inside:avoid}@media(max-width:700px){.open-data-menu{grid-template-columns:1fr}}

@media(min-width:701px){.page-content .open-data-menu{display:grid}.page-content .open-data-menu button{margin-bottom:0}}

/* Keep conversations beside the island, with all choices in one right-hand panel. */
@media(min-width:901px){
 body.dialogue-open{--chat-width:clamp(420px,35vw,560px)}
 body.dialogue-open #world{inset:96px calc(var(--chat-width) + 32px) 0 0;height:auto}
 #conversation.conversation{left:auto;right:16px;top:108px;bottom:16px;transform:none;width:var(--chat-width);height:auto;max-height:none;padding:16px 18px;box-sizing:border-box;border-radius:22px}
 #conversation.conversation:not([hidden]){display:flex;flex-direction:column}
 #conversation .person-heading{flex:none;padding-right:36px;margin-bottom:10px}
 #conversation .dialogue-body{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:12px;flex:1;min-height:0;height:auto;overflow:hidden}
 #conversation .dialogue-copy.screen-pages{height:100%;min-height:0;margin:0}
 #conversation .faq-questions{grid-template-columns:1fr 1fr;border-left:0;border-top:1px solid #9cb2b9;padding:10px 0 0;gap:8px;overflow:visible;max-height:none}
 #conversation .faq-menu-title{margin:0 0 2px;font-size:18px}
 #conversation .faq-questions>button{min-height:58px;font-size:17px;line-height:1.35}
 #conversation .faq-footer{margin:0;padding-top:2px}
 #conversation .dialogue-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid #9cb2b9;padding-top:10px}
 #conversation .dialogue-actions button{margin:0;font-size:17px;min-height:46px}
 body.dialogue-open .music-widget{top:auto;bottom:18px;right:calc(var(--chat-width) + 48px)}
 body.dialogue-open #music-controls{top:auto;bottom:56px}
}
/* Full-bleed map and a persistent, scrollable chat history. */
body.dialogue-open #world{inset:96px 0 0;height:auto}
#conversation .faq-copy{overflow-y:auto!important;overflow-x:hidden;min-height:0;max-height:none;height:100%;padding-right:8px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#648c9b transparent}
#conversation .chat-turn{padding-top:14px;margin-top:14px;border-top:1px solid #a5bfc6}
#conversation .faq-copy .speech{line-height:1.45}
@media(min-width:901px){#conversation.conversation{background:#e5eef0f5;box-shadow:0 12px 35px #18394738}}
@media(max-width:900px){
 #conversation.conversation[data-kind="faq"]{top:148px;bottom:12px;left:12px;right:12px;transform:none;width:auto;height:auto;max-height:none;padding:12px 14px}
 #conversation.conversation[data-kind="faq"]:not([hidden]){display:flex;flex-direction:column}
 #conversation[data-kind="faq"] .person-heading{flex:none;margin-bottom:8px}
 #conversation[data-kind="faq"] .dialogue-body{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(100px,1fr) minmax(100px,40%);height:auto;min-height:0;flex:1;gap:10px;overflow:hidden}
 #conversation .faq-questions{display:grid;grid-template-columns:1fr 1fr;overflow-y:auto;max-height:none;min-height:0;padding:8px 0 0;border-left:0;border-top:1px solid #9cb2b9;gap:6px}
 #conversation .faq-questions>button{min-height:48px;font-size:16px;line-height:1.35}
 #conversation .faq-menu-title,#conversation .faq-footer{grid-column:1/-1}
 body.dialogue-open .music-widget{top:96px;bottom:auto}
}
