/* Public 3D/VR tour gallery. Scoped to tour-* UI; palette follows dashboard.css. */

.hos-tour-links{margin:20px 0;color:#203c33}
.hos-tour-links h3{display:flex;align-items:center;gap:7px;margin:0 0 9px;font-size:15px;font-weight:700;line-height:1.4}
.hos-tour-links h3 .ui-icon{width:17px;height:17px;color:#164c3b}

.tour-caption{font-size:11px;line-height:1.6;color:#617269;margin:0 0 10px}
.tour-provider{display:block;font-size:11px;line-height:1.55;color:#617269;margin:7px 0 0}

.tour-map{display:flex;align-items:center;gap:9px;min-height:44px;padding:10px 12px;border:1px solid #cfe0d5;border-radius:9px;background:#edf4ee;color:#164c3b;text-decoration:none;line-height:1.4}
.tour-map>span{flex:1;min-width:0}
.tour-map strong{display:block;font-size:13px;font-weight:700;overflow-wrap:break-word}
.tour-map small{display:block;margin-top:2px;font-size:11px;line-height:1.45;color:#617269}
.tour-map>.ui-icon{width:22px;height:22px;color:#164c3b}
.tour-map>.ui-icon:last-child{width:14px;height:14px;color:#6c8273}
.tour-map:hover{border-color:#a9c9b4}
.tour-map:hover strong{text-decoration:underline}

.tour-vr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 0}
.tour-vr{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;min-height:44px;padding:10px 9px;border:1px solid #dfe7df;border-radius:9px;background:#fff;color:#164c3b;text-decoration:none}
.tour-vr>.ui-icon{width:22px;height:22px;color:#164c3b}
.tour-vr strong{font-size:24px;line-height:1.15;font-weight:700;letter-spacing:-.01em;font-variant-numeric:tabular-nums;white-space:nowrap}
.tour-vr small{font-size:11px;line-height:1.4;color:#617269}
.tour-vr:hover{border-color:#b9d2c1;background:#f6faf7}

.tour-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:10px 0 0}
.tour-video{display:flex;align-items:center;gap:9px;min-width:0;min-height:44px;padding:10px 11px;border:1px solid #dfe7df;border-radius:9px;background:#fff;color:#164c3b;text-decoration:none}
.tour-video>.ui-icon{width:22px;height:22px;color:#164c3b;flex-shrink:0}
.tour-video>span{flex:1;min-width:0}
.tour-video strong{display:block;font-size:13px;font-weight:700;line-height:1.35;overflow-wrap:break-word}
.tour-video small{display:block;margin-top:2px;font-size:11px;line-height:1.45;color:#617269}
.tour-video:hover{border-color:#b9d2c1;background:#f6faf7}

.tour-older{margin-top:14px;border-top:1px solid #dfe7df;padding-top:2px}
.tour-older summary{min-height:44px;padding:11px 0;font-size:12px;line-height:1.45;font-weight:600;color:#617269;cursor:pointer}
.tour-older summary:hover,.tour-older[open] summary{color:#164c3b}

.tour-hub{margin:18px 0}
.tour-hub-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
.tour-hub-grid>*{min-width:0}
.tour-hub-grid>.tour-hub-copy{grid-column:1/-1;margin:0}
.tour-hub-copy{font-size:12px;line-height:1.6;color:#617269;margin:0 0 11px}
.tour-hub-map{display:flex;flex-direction:column;gap:7px;padding:12px;border:1px solid #dfe7df;border-radius:11px;background:#fff}
.tour-hub-map>label{font-size:11px;line-height:1.4;font-weight:700;color:#617269;letter-spacing:.02em}
.tour-hub-map select{width:100%;min-width:0;min-height:44px;padding:8px 28px 8px 10px;border:1px solid #cfdcd3;border-radius:8px;background:#fff;color:#203c33;font-size:13px;line-height:1.4}
.tour-hub-map .tour-map{width:100%}
.estate-drawer .tour-hub-grid{grid-template-columns:1fr}

.tour-quick-link{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 4px;margin-inline:-4px;color:#164c3b;font-size:11px;font-weight:650;line-height:1.2;text-decoration:none}
.tour-quick-link>.ui-icon{width:18px;height:18px;color:#164c3b;flex-shrink:0}
.tour-quick-link:hover span{text-decoration:underline}

.intro-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.intro-actions a.button.ghost{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;text-align:center}

.tour-map:focus-visible,.tour-vr:focus-visible,.tour-video:focus-visible,.tour-older summary:focus-visible,.tour-hub-map select:focus-visible,.tour-quick-link:focus-visible,.intro-actions a.button.ghost:focus-visible{outline:3px solid #bb8d32;outline-offset:3px}

@media(max-width:760px){
  .tour-hub-grid{grid-template-columns:1fr;gap:12px}
}

@media(max-width:650px){
  .hos-tour-links{margin:16px 0}
  .tour-caption,.tour-provider{font-size:12px}
  .tour-video-grid{grid-template-columns:1fr}
  .tour-hub{margin:14px 0}
  .intro-actions{gap:6px}
  .intro-actions a.button.ghost{font-size:12px;padding:8px 10px}
}

@media(max-width:520px){
  .tour-vr{padding:9px 7px}
  .tour-vr strong{font-size:22px}
}

@media(max-width:360px){
  .tour-vr{padding:8px 6px;gap:2px}
  .tour-vr strong{font-size:20px}
}

/* Inline resource metadata and compact source links. */
.tour-vr>small{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}
.tour-vr>small .ui-icon{width:11px;height:11px;display:inline-block;flex-shrink:0}
.tour-video>.ui-icon:last-child{width:13px;height:13px}
.tour-provider{display:flex;flex-wrap:wrap;gap:0 14px}
.tour-provider .official-resource{font-size:11px;min-height:44px;padding:4px 0}
.tour-provider .official-resource>.ui-icon:first-child{display:none}
.hos-tour-links .tour-caption{margin:8px 0}
@media(max-width:650px){
  .page-intro:has(.intro-actions){display:block}
  .intro-actions{margin-top:12px;flex-wrap:nowrap}
  .intro-actions .button{width:auto;flex:1}
}
