@font-face{font-family:LocalSerif;src:local('Georgia')}*{box-sizing:border-box} :root{font-family:Arial,Helvetica,sans-serif;color:#233b37;background:#f7f5ee;font-synthesis:none}body{margin:0;display:flex;width:100vw;height:100dvh;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:1px solid #dcded5;background:transparent;color:inherit;border-radius:7px;transition:background .18s,border .18s,transform .18s;min-height:38px}button:hover{background:#eaece2;border-color:#adb9ac}button:active{transform:scale(.97)}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #bf6d34;outline-offset:3px}button:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}.panel{width:252px;flex-shrink:0;display:flex;flex-direction:column;background:#f7f5ee;border-right:1px solid #ffffff66;z-index:5;box-shadow:4px 0 24px #3146410b}.panel header{padding:29px 22px 24px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.65px;color:#68796a}h1{font-family:Georgia,serif;font-weight:400;font-size:37px;letter-spacing:-1.5px;margin:13px 0 0;line-height:1.08}h1 span{display:block;font-family:Arial,sans-serif;font-weight:400;letter-spacing:0;font-size:11px;color:#738076;margin-top:11px;line-height:1.6}.panel-scroll{padding:0 18px;overflow-y:auto;scrollbar-width:thin;flex:1}.panel section{margin-bottom:23px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}h2{font-size:11px;font-weight:600;margin:0}.section-heading>span{font-size:9px;color:#8d978c}.floors{display:grid;gap:6px}.floor{display:flex;align-items:center;text-align:left;padding:10px 11px;gap:11px;border-color:transparent;min-height:57px;border-radius:8px}.floor.active{background:#234b40;color:#fff;border-color:#234b40}.floor.active small,.floor.active .floor-symbol,.floor.active .arrow{color:#bcd2c6}.floor span:nth-child(2){font-size:12px}.floor small{display:block;font-size:9px;margin-top:5px;color:#788479}.floor-symbol{font-size:10px;color:#7a8a7f;font-weight:600;min-width:18px}.arrow{margin-left:auto;color:#8c978b;font-size:15px}.wide{width:100%;margin-top:8px;font-size:11px}.views{display:grid;grid-template-columns:1fr 1fr;gap:7px}.views button{font-size:10px;background:#fff6;padding:8px 3px}.views button.active{background:#e3e9dd;border-color:#5b7b67;color:#203e31}.help{border-top:1px solid #dcdfd4;margin:20px 5px 15px;padding-top:17px;color:#7b857b;font-size:10px;line-height:1.65}.help>span{font-size:8px;font-weight:bold;letter-spacing:1.5px}.help p{margin:8px 0}.panel footer{padding:14px 22px;border-top:1px solid #e0e1d8}.text-button{min-height:22px;padding:0;border:0;border-radius:0;font-size:10px;text-align:left}.panel footer button{width:100%;display:flex;justify-content:space-between}.source-note{font-size:10px;line-height:1.5;color:#8a7455;margin:0 0 10px}#room-list{list-style:none;padding:0;margin:0;display:grid;gap:3px}#room-list button{display:flex;width:100%;align-items:center;gap:8px;text-align:left;font-size:10px;line-height:1.5;border:0;min-height:32px;padding:5px}#room-list b{border-radius:50%;background:#e6e7db;min-width:20px;height:20px;display:grid;place-items:center;font-size:9px}#room-list .selected{background:#e6e9d9}#room-list .selected b{background:#234b40;color:white}#labels-toggle{font-size:9px;color:#667961}#viewer{position:relative;min-width:0;flex:1;background:#b9dcee;overflow:hidden}#canvas{width:100%;height:100%;display:block;touch-action:none}#pins{position:absolute;inset:0;pointer-events:none}.pin{position:absolute;width:22px;height:22px;min-height:22px;padding:0;border-radius:50%;border:1px solid #ffffffde;background:#f8f4e9e8;color:#234b40;box-shadow:0 2px 6px #1a382a33;font-size:10px;font-weight:700;pointer-events:auto;transform:translate(-50%,-50%)}.pin.selected{background:#234b40;color:white;z-index:3;border:2px solid white}.pin:active{transform:translate(-50%,-50%) scale(.95)}.topbar{position:absolute;top:22px;left:25px;right:22px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.view-caption{display:flex;align-items:center;gap:8px;font-size:11px;color:#35596b}.live-dot{width:5px;height:5px;border-radius:50%;background:#507a71}.top-actions{display:flex;gap:7px;pointer-events:auto}.top-actions button{background:#fbfaf0e0;border:1px solid #fff7;font-size:18px;padding:0 13px;min-height:37px;box-shadow:0 2px 9px #33443308}.top-actions span{font-size:10px;margin-left:5px;vertical-align:2px}.bottom-left{position:absolute;left:25px;bottom:25px;display:flex;align-items:center;gap:14px}.bottom-left button{background:#f7f5ecef;border:0;padding:0 15px;font-size:13px;box-shadow:0 2px 10px #28473912}.bottom-left button span{font-size:10px;margin-left:6px}#mode-note{font-size:10px;color:#345448;max-width:260px;line-height:1.5;background:#f9f7edb0;padding:6px 9px;border-radius:5px}.navigation{position:absolute;right:24px;bottom:24px;display:flex;align-items:flex-end;gap:13px}.zoom{display:flex;flex-direction:column;background:#f8f7edf2;border-radius:10px;box-shadow:0 3px 15px #28473918}.zoom button{font-size:23px;border:0;width:43px;height:42px}.zoom div{height:1px;background:#d8ded4;margin:0 10px}.arrows{width:94px;height:94px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);background:#f8f7edea;border-radius:50%;padding:3px}.arrows button{border:0;min-height:0;padding:0;font-size:17px;border-radius:50%}.arrows [data-orbit=up]{grid-area:1/2}.arrows [data-orbit=left]{grid-area:2/1}.arrows [data-orbit=right]{grid-area:2/3}.arrows [data-orbit=down]{grid-area:3/2}.arrows span{grid-area:2/2;display:grid;place-items:center;font-size:17px;color:#91a18c}#toast{position:absolute;left:50%;bottom:85px;transform:translateX(-50%);padding:9px 15px;border-radius:20px;background:#234b40ed;color:white;font-size:11px;pointer-events:none;opacity:0;transition:opacity .2s;max-width:85%;text-align:center}#toast.show{opacity:1}#loading{position:absolute;inset:0;background:#b9dcee;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;z-index:10}.loading-mark{font-family:Georgia,serif;font-size:42px;color:#355f63;letter-spacing:3px;margin-bottom:20px}#loading h2{font-weight:400;font-size:15px}#loading p{font-size:11px;color:#53737f}.progress{width:170px;height:2px;background:#89b3c5;margin-top:12px}.progress i{height:100%;display:block;width:3%;background:#31584d;transition:width .3s}#landscape{position:fixed;inset:0;z-index:30;background:#f7f5eef7;backdrop-filter:blur(10px);display:none;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px}.rotate-device{font-size:65px;color:#48654e;margin-bottom:20px}#landscape h2{font:30px Georgia,serif}#landscape p{font-size:14px;line-height:1.7;max-width:310px;color:#778373}#landscape button{margin-top:15px;padding:8px 18px;font-size:12px}dialog{border:0;border-radius:15px;max-width:520px;width:calc(100vw - 32px);padding:36px;color:#324b3f;background:#faf8f0;box-shadow:0 18px 90px #142f3555}dialog::backdrop{background:#203b4560;backdrop-filter:blur(4px)}dialog h2{font:29px Georgia,serif;margin:15px 0}dialog p{font-size:12px;line-height:1.8;color:#657364}.close{position:absolute;right:14px;top:10px;border:0;font-size:24px}.document-link{display:inline-block;color:#234b40;font-size:12px;margin:8px 0}.credits{font-size:9px!important;padding-top:15px;border-top:1px solid #ddd} @media(max-height:650px){.panel header{padding:18px 18px 16px}h1{font-size:30px}.panel section{margin-bottom:16px}.floor{min-height:47px;padding:7px 9px}.help{display:none}.panel footer{padding:9px 18px}.topbar{top:15px;left:18px;right:15px}.bottom-left{left:18px;bottom:16px}.navigation{bottom:15px;right:15px}}@media(max-width:950px){.panel{width:212px}.panel header{padding-left:18px}.panel-scroll{padding:0 12px}.bottom-left{flex-direction:column;align-items:flex-start;gap:6px}#mode-note{max-width:210px;font-size:9px}.arrows{width:82px;height:82px}.desktop-help{display:none}}@media(hover:none){button{min-height:42px}.arrows button{min-height:0}.pin{width:25px;height:25px;min-height:25px}}@media(max-width:600px) and (orientation:portrait){body:not(.portrait-ok) #landscape{display:flex}.panel{width:160px}.panel header{padding:22px 12px}h1{font-size:27px}.eyebrow{font-size:7px}.panel-scroll{padding:0 8px}.floor{padding:8px 5px;gap:7px}.floor small{font-size:8px}.floor span:nth-child(2){font-size:11px}.floor .arrow{display:none}.views{grid-template-columns:1fr}.section-heading h2{font-size:10px}.topbar{left:10px;right:10px;top:12px}.view-caption{display:none}.top-actions{margin-left:auto}.navigation{right:10px;gap:7px}.arrows{width:74px;height:74px}.bottom-left{left:10px;bottom:120px}#mode-note{max-width:130px}.panel footer{padding:10px}.panel footer button{font-size:9px}.loading-mark{font-size:25px}#loading h2{font-size:12px}}@media(prefers-reduced-motion:reduce){button{transition:none}}
@media (pointer:coarse) and (orientation:portrait){body:not(.portrait-ok) #landscape{display:flex}}
/* Readable controls at desktop and handheld sizes. */
.panel{width:272px}.eyebrow{font-size:10px;letter-spacing:1.2px}h1 span{font-size:13px}h2{font-size:14px}.floor span:nth-child(2){font-size:14px}.floor small{font-size:12px}.floor-symbol{font-size:12px}.floor{min-height:64px}.views button{font-size:13px}.wide{font-size:13px}.source-note{font-size:12px}.text-button{font-size:12px}#room-list button{font-size:13px}#room-list b{font-size:11px;min-width:23px;height:23px}#labels-toggle{font-size:11px}.help{font-size:12px}.help>span{font-size:10px}.view-caption{font-size:13px}.top-actions span,.bottom-left button span{font-size:13px}#mode-note{font-size:12px;max-width:300px}.pin{font-size:12px;width:25px;height:25px;min-height:25px}#toast{font-size:13px}dialog p{font-size:14px}.document-link{font-size:14px}.credits{font-size:12px!important}#loading p{font-size:13px}.panel footer button{font-size:12px}
@media(max-width:950px){.panel{width:220px}.panel header{padding:15px}.panel-scroll{padding:0 10px}.eyebrow{font-size:10px;letter-spacing:.5px}.floor{padding:8px;gap:9px}.floor small{font-size:11px}.floor span:nth-child(2){font-size:14px}#mode-note{font-size:11px;max-width:240px}.section-heading h2{font-size:13px}.floor-symbol{font-size:11px}}
@media(max-height:500px){.panel header{padding:13px 16px}h1{font-size:29px;margin-top:7px}h1 span{display:none}.floor{min-height:53px;padding:7px 9px}.floor small{margin-top:3px}.panel section{margin-bottom:15px}.section-heading{margin-bottom:9px}.panel footer{padding:8px 14px}.panel footer button{font-size:12px}.bottom-left #mode-note{display:none}}
@media(max-width:600px) and (orientation:portrait){.panel{width:170px}.panel header{padding:18px 10px}.eyebrow{font-size:9px}.floor span:nth-child(2){font-size:13px}.floor small{font-size:11px}.floor{gap:6px;padding:8px 4px}.section-heading h2{font-size:12px}.views button{font-size:13px}.panel footer button{font-size:11px}.view-caption{display:none}.bottom-left #mode-note{display:none}}

/* Palace identity takes precedence over the garden and viewer name. */
.panel .palace-title{font-size:32px;line-height:1.12;letter-spacing:-1px;margin:13px 0 0;text-wrap:balance}
.palace-context{margin:12px 0 0;font-size:13px;line-height:1.5;color:#68796a}
.palace-context span{white-space:nowrap}
@media(max-width:950px){.panel .palace-title{font-size:27px;letter-spacing:-.7px}.palace-context{font-size:12px}}
@media(max-height:500px){.panel .palace-title{font-size:25px;margin-top:7px}.palace-context{margin-top:7px;font-size:11px}}
@media(max-width:600px) and (orientation:portrait){.panel .palace-title{font-size:24px}}

#language-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px}#language-toggle img{display:block;border-radius:2px}#language-toggle span{display:inline}html[lang="en"] .palace-title{font-size:30px}@media(max-width:950px){html[lang="en"] .palace-title{font-size:26px}}@media(max-height:500px){html[lang="en"] .palace-title{font-size:24px}.top-actions{gap:5px}#language-toggle{padding:7px 9px}}

.project-links{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px;font-size:11px}.project-links a{color:#234b40;text-decoration:underline;text-underline-offset:3px}
