/* Release 179: one compact header and a readable, scrollable estate tools menu. */
html body.estate-tour-page{padding:0!important;overflow:hidden;color:#183e43;background:#b7d9dc}
.estate-tour-page #estate-scene{position:fixed;inset:0;width:100vw;height:100dvh}
html body.estate-tour-page>.estate-tour-header{position:fixed;z-index:12;top:calc(env(safe-area-inset-top,0px) + 10px);left:12px;right:12px;display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #ffffffb3;border-radius:18px;background:#fffffff0;box-shadow:0 5px 22px #193e431a;max-width:900px;margin:auto}
.estate-tour-header>div{flex:1;min-width:0}.estate-tour-page .estate-tour-header h1{font:750 16px/1.25 system-ui;margin:0 0 3px;overflow-wrap:break-word}.estate-tour-header #verified{font:600 11px/1.3 system-ui;color:#57766c}
html body .estate-tour-header>a,html body .estate-tour-header>button{flex:none;min-height:44px;display:inline-flex;align-items:center;padding:10px 12px;border-radius:12px;font:650 12px/1.3 system-ui;background:#e9f1ec;color:#205c58;white-space:nowrap}
html body .estate-tour-header>button{background:#205c58;color:white}
html body.estate-tour-page #walk{z-index:10;bottom:calc(env(safe-area-inset-bottom,0px) + 16px);right:16px;gap:5px;grid-template-columns:repeat(3,44px)}
html body.estate-tour-page #walk button{width:44px;height:44px;padding:0;min-height:44px;background:#205c58e8;box-shadow:0 2px 8px #173e4320;border:1px solid #ffffff75;border-radius:13px;font-size:22px}
html body.estate-tour-page:not(.estate-labels-on) .e159-sign{display:none}
html body.estate-tour-page .e159-sign{font-size:11px;padding:7px 10px;max-width:150px;white-space:normal}
html body.estate-tour-page dialog{font:15px/1.6 system-ui;color:#183e43;background:#f8fbf8;border:1px solid #d5e3d9;border-radius:22px;width:min(580px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:22px;box-sizing:border-box}
html body.estate-tour-page dialog::backdrop{background:#173e4366;backdrop-filter:blur(5px)}
html body.estate-tour-page dialog h2{font-size:23px;line-height:1.25;margin:0 0 15px;letter-spacing:-.3px}html body.estate-tour-page dialog h3{font-size:16px;line-height:1.4;margin:24px 0 10px}
html body #estate-tools .estate-tools-heading{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.estate-tools-heading h2{flex:1}.estate-tools-heading button{flex:none}
html body #estate-tools button,html body #estate-tools a{font:600 13px/1.4 system-ui;min-height:44px;border:1px solid #c2d8ce;border-radius:12px;padding:10px 12px;background:#eaf2ed;color:#205c58;text-align:left;margin:0;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;overflow-wrap:break-word}
html body #estate-tools #estate-tools-close{background:#205c58;color:white;border-color:#205c58;font-size:12px;white-space:nowrap}
html body #estate-tools #themes{position:static;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:8px;margin:0}
html body #estate-tools #themes button{white-space:normal;width:100%}
html body #estate-tools #stations{position:static;inset:auto;max-height:none}
html body #estate-tools aside{position:static;inset:auto;padding:0;background:none;display:flex;flex-wrap:wrap;gap:8px;margin:0;max-width:none}
html body #estate-tools aside>p{flex-basis:100%;font-size:13px;line-height:1.6;margin:4px 0 10px;color:#5c746b}
html body #estate-tools aside>:is(button,a){flex:1 1 160px}
html body #estate-tools .e159-row{flex-basis:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 6px;width:100%}
html body #estate-tools .e159-row>a{font:600 13px/1.4 system-ui!important;color:#205c58!important;padding:10px 12px!important}
html body #estate-tools .e159-row button.e159-live{background:#a52d41;color:#fff}
html body #estate-tools .estate-view-option{display:flex;gap:10px;align-items:center;font-size:14px;margin:12px 0;cursor:pointer}
html body #estate-tools input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:#205c58;margin:0;flex:none}
html body #estate-tools .bp-chip,html body #estate-tools #live172-banner{position:static!important;inset:auto!important;max-width:100%;margin:14px 0 0!important;box-shadow:none!important}
html body #estate-tools .waka-trust-links{position:static!important;display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;padding:0;background:none;box-shadow:none}
html body.estate-tour-page .ui156-back{display:none}
html body.estate-tour-page dialog :is(input:not([type=checkbox]),textarea,select){font:16px/1.5 system-ui;max-width:100%;padding:10px;border:1px solid #bfd4c7;border-radius:10px}
html body.estate-tour-page dialog p{line-height:1.65;margin:10px 0 16px}
html body.estate-tour-page :is(button,a,input):focus-visible{outline:3px solid #be8732;outline-offset:3px}
@media(max-width:600px){html body.estate-tour-page>.estate-tour-header{left:10px;right:10px;gap:8px;padding:10px}.estate-tour-page .estate-tour-header h1{font-size:13px}html body .estate-tour-header>a{font-size:0;padding:10px;min-width:44px;justify-content:center}html body .estate-tour-header>a:before{content:'←';font-size:19px}html body .estate-tour-header>button{padding:10px;font-size:11px}html body.estate-tour-page dialog{padding:18px}html body.estate-tour-page dialog h2{font-size:21px}html body.estate-tour-page #walk{right:12px;bottom:calc(env(safe-area-inset-bottom,0px) + 12px)}}

html body #estate-tools>.ui156-x{display:none!important}
html body #estate-tools .estate-tools-heading{position:sticky;top:-18px;z-index:3;background:#f8fbf8;padding:10px 0;border-bottom:1px solid #d5e3d9;margin-bottom:16px}

html body.estate-tour-page .e159 .msg:empty{display:none}
