body.directory-ready{background:#e8eeea;--green:#176346;--line:#dce7df}body.directory-ready .app{display:grid;grid-template-columns:175px minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;max-width:1250px;height:100dvh;min-height:0;background:white;margin:auto;position:relative;box-shadow:0 0 45px #254c3510}body.directory-ready header{grid-column:1/-1;grid-row:1;padding:12px 23px 15px;gap:12px}body.directory-ready header .logo{width:42px;height:42px}body.directory-ready header .brand strong{font-size:19px;line-height:1.4}body.directory-ready header .brand-en{font-size:10px}body.directory-ready header .brand-motto{font-size:12px;line-height:1.5}body.directory-ready #scroll{grid-column:2;grid-row:3;min-height:0;overflow:auto}body.directory-ready footer{grid-column:2;grid-row:4;border-top:1px solid #dce7df;background:white;padding:12px 24px 8px}body.directory-ready #featured,body.directory-ready .intro{display:none}body.directory-browse #scroll{display:none}body.directory-chat .dir-feed{display:none}body.directory-browse .latest-message-button{display:none!important}body.directory-browse .contact-actions{display:none}body.directory-ready #question{font-size:16px;border-radius:9px}body.directory-ready #send{border-radius:8px;min-width:76px}.dir-feed button,.dir-aside button,.dir-tabs button,#dir-viewer button,.dir-footer-nav button{font:inherit;cursor:pointer;border:1px solid #dce7df;background:white;color:#176346;border-radius:9px;padding:9px 13px;touch-action:manipulation}.dir-feed button:focus-visible,.dir-tabs button:focus-visible,#dir-viewer button:focus-visible{outline:3px solid #d5a657;outline-offset:3px}.dir-feed button:hover,.dir-tabs button:hover{background:#eff6f1}.dir-feed button:disabled,#dir-viewer button:disabled{opacity:.4;cursor:default}.dir-aside{grid-column:1;grid-row:2/5;background:#f6f8f4;border-right:1px solid #dce7df;display:flex;flex-direction:column;gap:8px;padding:27px 13px;font-size:14px}.dir-side-label{font-size:11px;color:#7c8a80;padding:0 10px 10px}.dir-aside .dir-side{border:0;text-align:left;background:transparent;line-height:24px}.dir-aside .active{background:#e2eee4;font-weight:650}.dir-aside-note{white-space:pre-line;font-size:12px;line-height:1.9;color:#879489;margin:30px 10px}.dir-tabs{grid-column:2;grid-row:2;display:flex;padding:12px 24px;gap:8px;border-bottom:1px solid #dce7df;background:white}.dir-tabs button{border:0;background:#f2f5ef;white-space:nowrap;border-radius:20px;font-size:13px;padding:9px 17px}.dir-tabs .active{background:#176346;color:white}.dir-tabs .dir-chat-tab{margin-left:auto;background:white;border:1px solid #dce7df}.dir-feed{grid-column:2;grid-row:3;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:25px 28px 30px;scrollbar-width:thin;scrollbar-color:#cad8cd transparent;color:#253f35;font-size:14px}.dir-eyebrow{font-size:11px;letter-spacing:1px;color:#7c8f7f}.dir-feed h1{font-size:25px;letter-spacing:1px;margin:10px 0;line-height:1.4}.dir-welcome>p{font-size:13px;color:#76837a;margin:0;max-width:650px;line-height:1.8}.dir-browse-tools{display:flex;align-items:center;justify-content:space-between;margin-top:22px;gap:12px}.dir-crumb{display:flex;gap:12px;align-items:center;font-size:12px;color:#8b978d}.dir-crumb button{padding:6px 0;border:0;background:transparent;font-size:12px}.dir-browse-tools>button{font-size:12px;background:#fffdf7;border-color:#e4d9ba;color:#817043;padding:7px 12px}.dir-regions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.dir-regions:empty{display:none}.dir-regions button{font-size:12px;padding:7px 10px}.dir-regions .active{background:#e6f1e7}.dir-list-hint{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin:16px 0 13px;color:#63846b}.dir-list-hint small{font-size:11px;color:#95a095}.dir-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}.dir-card{border:1px solid #e0e7dc;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 4px 14px #254c3507;min-width:0}.dir-feed .dir-photo{display:block;padding:0;border:0;border-radius:0;width:100%;aspect-ratio:9/16;position:relative;overflow:hidden;background:#e4e8db}.dir-photo img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block}.dir-tag{position:absolute;top:9px;left:9px;background:#ffffffed;color:#31553e;font-size:10px;border:1px solid #ffffff90;padding:4px 8px;border-radius:14px}.dir-zoom{position:absolute;bottom:9px;right:9px;border-radius:20px;background:#143f33c9;color:white;padding:5px 9px;font-size:10px}.dir-card-info{padding:12px}.dir-card h2{font-size:14px;margin:0 0 9px;line-height:1.5;height:42px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dir-card-meta{display:flex;align-items:baseline;justify-content:space-between;gap:4px;flex-wrap:wrap}.dir-card-info .dir-price{color:#cd542b;font-size:17px;white-space:nowrap;letter-spacing:-.3px;font-weight:700}.dir-days{color:#8b978b;font-size:10px;white-space:nowrap}.dir-feed .dir-select-route{width:100%;margin-top:10px;background:#eef5ed;border-color:#dfe9dc;padding:9px 4px;font-size:12px}.dir-more-row{text-align:center;padding:25px 0 0}.dir-more-row button{padding:11px 35px;border-radius:25px}.dir-more-row small{display:block;color:#98a295;font-size:11px;margin-top:9px}.dir-reference{font-size:11px;color:#98a295;text-align:center;margin:15px 0 0;line-height:1.8}.dir-footer-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;color:#8b9b8b;font-size:10px}.dir-footer-nav button{padding:2px 0;border:0;font-size:11px;min-height:24px}#dir-viewer{border:0;border-radius:14px;width:min(650px,calc(100vw - 24px));max-height:94dvh;padding:0;color:#253f35;box-shadow:0 20px 80px #0004}#dir-viewer::backdrop{background:#143f33b3;backdrop-filter:blur(3px)}.dir-viewer-head{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;gap:12px}.dir-viewer-head strong{font-size:14px}.dir-viewer-head button{border:0;padding:7px;background:#f3f5ef;white-space:nowrap}#dir-viewer .dir-viewer-scroll{max-height:63dvh;overflow:auto;background:#edf2e9}#dir-viewer img{width:100%;height:auto;display:block}.dir-viewer-controls{display:flex;justify-content:center;align-items:center;gap:15px;padding:10px}.dir-viewer-controls button{font-size:12px;padding:7px}.dir-viewer-controls span{font-size:12px;color:#84927f}#dir-viewer .dir-primary{background:#176346;color:white;border:0;border-radius:8px;display:block;width:calc(100% - 28px);margin:0 14px;padding:12px}#dir-viewer>p{font-size:10px;text-align:center;color:#8b9785;margin:7px 8px 10px;line-height:1.8}@media(max-width:700px){body.directory-ready .app{grid-template-columns:minmax(0,1fr)}body.directory-ready header{grid-column:1;padding:7px 12px 10px;gap:8px}body.directory-ready header .logo{width:30px;height:30px}body.directory-ready header .brand strong{font-size:15px}body.directory-ready header .brand-en{font-size:8px}body.directory-ready header .brand-motto{font-size:9px}body.directory-ready #scroll,body.directory-ready footer,.dir-tabs,.dir-feed{grid-column:1}.dir-aside{display:none}.dir-tabs{padding:10px 12px;gap:6px;overflow-x:auto;scrollbar-width:none}.dir-tabs button{font-size:12px;padding:8px 11px}.dir-tabs .dir-chat-tab{padding:7px 10px}.dir-feed{padding:19px 12px 24px}.dir-feed h1{font-size:21px;letter-spacing:0;line-height:1.45}.dir-eyebrow{font-size:10px;letter-spacing:.5px}.dir-welcome>p{font-size:12px;line-height:1.8}.dir-browse-tools{margin-top:14px}.dir-list-hint{font-size:11px;margin-top:14px}.dir-list-hint small{font-size:9px}.dir-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 10px}.dir-card{border-radius:10px}.dir-card-info .dir-price{font-size:13px}.dir-card-info{padding:9px}.dir-card h2{font-size:12px;line-height:1.5;height:36px;margin-bottom:7px}.dir-tag{top:6px;left:6px;font-size:9px;padding:3px 6px}.dir-zoom{bottom:6px;right:6px;font-size:9px;padding:4px 7px}.dir-feed .dir-select-route{font-size:11px;padding:9px 3px}.dir-feed .dir-more-row button{padding:11px 24px}.dir-reference{font-size:10px}body.directory-ready footer{padding:8px 12px max(7px,env(safe-area-inset-bottom))}.dir-footer-nav{font-size:9px;margin-bottom:5px}.dir-footer-nav span{text-align:right}.dir-footer-nav button{font-size:11px}#dir-viewer{max-height:95dvh}.dir-viewer-head{padding:10px 12px}.dir-viewer-head strong{font-size:12px}.dir-viewer-head button{font-size:12px}body.directory-ready #send{min-width:68px}}body.directory-ready header .brand-name{font-size:19px;width:9em;flex-shrink:0}body.directory-ready header .brand-name .brand-en{font-size:.49em}body.directory-ready header .brand{gap:10px}@media(max-width:700px){body.directory-ready header .brand-name{font-size:15px;width:9em}body.directory-ready header .brand-name .brand-en{font-size:.49em}body.directory-ready header .brand{gap:7px}}.dir-empty{grid-column:1/-1;padding:30px 15px;text-align:center;background:#f4f7f0;border:1px solid #dce7df;border-radius:12px;color:#6d826d}.dir-empty p{font-size:13px;line-height:1.8;margin:0 0 15px}.dir-reference-badge{position:absolute;top:38px;left:9px;background:#1e4c35e8;color:#fff;font-size:10px;padding:4px 8px;border-radius:14px;z-index:1}@media(max-width:700px){.dir-reference-badge{top:32px;left:6px;font-size:9px;padding:3px 6px}}.dir-tabs button[data-dir-area]{color:#23513a;background:#eef3ec}.dir-tabs button[data-dir-area].active,.dir-tabs button[data-dir-area].active:hover,.dir-tabs button[data-dir-area].active:focus,.dir-tabs button[data-dir-area].active:active{background:#176346;color:#fff}.dir-tabs button[data-dir-area]:not(.active):hover{background:#dfeade;color:#17482e}
/* 2026-10-31: compact shared contact controls for directory and conversation. */
body.directory-browse .contact-actions{display:flex}
.app footer .contact-actions{display:flex;gap:7px;margin:0 0 8px}
.app footer .contact-actions a,.app footer .contact-actions button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:32px;min-height:32px;padding:4px 8px;border:1px solid #176346;border-radius:999px;background:#176346;color:#fff;font:400 14px/20px sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer}
.app footer .contact-actions a:hover,.app footer .contact-actions button:hover{background:#125137}
.dir-crumb{display:none}
header>.honor-strip{gap:4px;font-size:10px}
header>.honor-strip i{color:#f2ce72;font-size:.8em;letter-spacing:0;flex-shrink:0}
@media(max-width:767px){
 #header-home{visibility:hidden;pointer-events:none}
 header>.honor-strip{gap:2px;font-size:clamp(6px,1.8vw,8px);letter-spacing:0}
 header>.honor-strip i{font-size:.78em}
 .app footer .contact-actions{gap:6px;margin-bottom:6px}
 .app footer .contact-actions a,.app footer .contact-actions button{height:32px;min-height:32px;padding:4px 5px;font-size:14px}
}

/* 2026-10-31: compact introduction and clearer destination tabs. */
.dir-browse-tools{justify-content:flex-end;margin-top:9px}
.dir-feed h1{margin:0 0 6px}
.dir-tabs button[data-dir-area]{border:1px solid #79a88b;background:#e5f0e7;color:#174d33;font-weight:700}
.dir-tabs button[data-dir-area].active,.dir-tabs button[data-dir-area].active:hover,.dir-tabs button[data-dir-area].active:focus{background:#176346;border-color:#176346;color:#fff;box-shadow:0 2px 5px #164e3324}
body.directory-ready header .brand{align-items:center}
body.directory-ready header .brand-motto{white-space:nowrap;text-align:center;align-self:center;line-height:1.4}
@media(max-width:700px){
 body.directory-ready .dir-feed{padding-top:10px}
 .dir-feed h1{margin:0 0 5px;line-height:1.4}
 .dir-welcome>p{line-height:1.65}
 .dir-browse-tools{margin-top:7px}
 .dir-list-hint{margin-top:8px}
 body.directory-ready header #header-home{display:none}
 body.directory-ready header .brand{flex:1;min-width:0;gap:7px;justify-content:space-between;align-items:center}
 body.directory-ready header .brand-motto{font-size:11px;line-height:1.4;white-space:nowrap;margin-left:auto}
 .dir-tabs button[data-dir-area]{font-weight:700;border-width:1px;min-height:34px}
}
@media(max-width:359px){
 body.directory-ready header .brand-name{font-size:13px}
 body.directory-ready header .brand-motto{font-size:9.5px}
 body.directory-ready header .brand{gap:5px}
}

/* 2026-10-31: four even destination tabs and a single compact browse row. */
.dir-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.dir-tabs #dir-chat-toggle{display:none}
.dir-tabs button[data-dir-area]{box-sizing:border-box;width:100%;min-width:0;margin:0;min-height:34px;padding:7px 4px;font-size:13px;letter-spacing:0;text-align:center}
.dir-browse-tools{display:none}
.dir-feed{padding-top:12px}
.dir-welcome>p{line-height:1.6}
.dir-regions{margin-top:8px;gap:6px}
.dir-list-hint{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin:8px 0 9px;min-height:28px}
.dir-list-hint>span{line-height:18px}
.dir-list-hint #dir-shuffle{box-sizing:border-box;height:28px;min-height:28px;line-height:18px;padding:4px 11px;font-size:12px;background:#fffdf7;border:1px solid #e4d9ba;color:#817043;white-space:nowrap}
.dir-more-row{padding-top:16px}
@media(max-width:700px){
 .dir-tabs{gap:6px;padding-top:8px;padding-bottom:8px}
 .dir-tabs button[data-dir-area]{font-size:13px;padding:6px 3px}
 body.directory-ready .dir-feed{padding-top:8px}
 .dir-list-hint{margin:7px 0 8px;font-size:11px}
 .dir-cards{gap:12px 10px}
 .dir-regions button{padding:6px 9px}
}

/* 2026-10-31: single-line card titles and translucent overlay bars. */
.dir-card h2{display:block;height:20px!important;min-height:0;line-height:20px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 5px!important}
body.directory-ready .dir-tabs,body.directory-ready footer{position:relative;z-index:3;background:rgba(255,255,255,.78);-webkit-backdrop-filter:blur(18px) saturate(150%);backdrop-filter:blur(18px) saturate(150%)}
body.directory-ready .dir-tabs{border-bottom:1px solid rgba(209,222,214,.65);box-shadow:0 3px 12px #23473306}
body.directory-ready footer{border-top:1px solid rgba(209,222,214,.65);box-shadow:0 -3px 12px #23473308}
body.directory-ready .dir-feed,body.directory-ready #scroll{grid-row:2 / 5!important;position:relative;z-index:0;min-height:0;padding-top:calc(var(--dir-tabs-h,54px) + 10px)!important;padding-bottom:calc(var(--dir-footer-h,130px) + 20px)!important;scroll-padding-top:calc(var(--dir-tabs-h,54px) + 10px);scroll-padding-bottom:calc(var(--dir-footer-h,130px) + 12px)}
@media(max-width:700px){
 body.directory-ready .dir-feed,body.directory-ready #scroll{padding-top:calc(var(--dir-tabs-h,50px) + 8px)!important;padding-bottom:calc(var(--dir-footer-h,125px) + 16px)!important}
 .dir-card h2{height:18px!important;line-height:18px!important;margin-bottom:4px!important}
}

/* Long-poster guidance and saving: no image prefetch. */
#dir-viewer[open]{display:flex;flex-direction:column;overflow:hidden}#dir-viewer .dir-viewer-head{flex-shrink:0}#dir-viewer .dir-viewer-scroll{min-height:0;flex:1 1 auto;max-height:58dvh;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#176346 #e5eee8}#dir-viewer .dir-scroll-guide{flex-shrink:0;display:block;width:100%;border:0;border-radius:0;background:#fff3d7;color:#62420b;font-size:14px;font-weight:650;line-height:1.5;padding:9px 5px}#dir-viewer .dir-scroll-guide[hidden]{display:none}#dir-viewer .dir-guide-moving span{display:inline-block;animation:dir-scroll-arrow 1.5s ease-in-out 4}#dir-viewer .dir-viewer-controls{flex-shrink:0;padding:7px;gap:12px}#dir-viewer .dir-viewer-actions{display:flex;gap:8px;padding:0 14px;flex-shrink:0}#dir-viewer .dir-viewer-actions>button{min-height:42px;padding:8px 7px;font-size:14px;border-radius:22px}#dir-viewer #dir-save{flex:0 0 38%;background:#eef5ed;border-color:#a6c4af;font-weight:650}#dir-viewer .dir-viewer-actions>.dir-primary{flex:1;width:auto;margin:0}#dir-viewer .dir-save-note{font-size:12px;color:#176346;text-align:center;padding:0 12px;line-height:1.5}#dir-viewer .dir-save-note:not(:empty){padding-top:7px}#dir-viewer>p{flex-shrink:0} @keyframes dir-scroll-arrow{0%,100%{transform:translateY(-2px)}50%{transform:translateY(3px)}}@media(prefers-reduced-motion:reduce){#dir-viewer .dir-guide-moving span{animation:none}}@media(max-width:360px){#dir-viewer .dir-scroll-guide{font-size:12px}#dir-viewer .dir-viewer-actions>button{font-size:12px}}

/* Compact helper under title; browse current category rather than a dead 1/1 pager. */
#dir-viewer .dir-viewer-title{flex:1;min-width:0}#dir-viewer .dir-viewer-title strong{display:block;line-height:1.45}#dir-viewer .dir-viewer-head .dir-scroll-guide{width:auto;background:transparent;border:0;padding:3px 0 0;text-align:left;color:#697c70;font-size:11px;font-weight:400;line-height:1.4}#dir-viewer #dir-close{background:#176346;color:#fff;border:1px solid #0f5137;border-radius:22px;padding:9px 15px;font-size:14px;font-weight:700;min-height:42px;box-shadow:0 2px 5px #17634625}#dir-viewer #dir-close:hover{background:#104d35}#dir-viewer .dir-viewer-controls[hidden]{display:none!important}@media(max-width:360px){#dir-viewer #dir-close{padding:8px 11px;font-size:13px}#dir-viewer .dir-viewer-head .dir-scroll-guide{font-size:10px}}

/* Sparse destination: offline route enquiry, no additional image loading. */
.dir-more-help{margin:12px 0 4px;padding:12px 14px;border:1px solid #cbded1;border-radius:12px;background:#f2f7f2;color:#405b4c}.dir-more-help[hidden]{display:none}.dir-more-help p{margin:0 0 10px;font-size:14px;line-height:1.65}.dir-more-help-actions{display:flex;gap:8px;flex-wrap:wrap}.dir-feed .dir-more-help-actions button,.dir-more-help-actions a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:32px;padding:6px 13px;border:1px solid #176346;border-radius:999px;background:#176346;color:#fff;font-size:14px;line-height:1.3;text-decoration:none;touch-action:manipulation}

/* Keep the browse return visible above the conversation; do not reset the feed or chat. */
body.directory-ready #dir-back-to-posters{display:none;grid-column:1/-1;width:100%;box-sizing:border-box;margin:2px 0 0;padding:6px 12px;min-height:32px;border:1px solid #9dbca5;border-radius:20px;background:#edf5e9;color:#176346;font-size:13px;font-weight:600;line-height:1.5;text-align:left}
body.directory-chat #dir-back-to-posters{display:block}
body.directory-chat #dir-back-to-posters:hover{background:#e2efdd}
@media(max-width:700px){body.directory-ready #dir-back-to-posters{font-size:13px;padding:6px 12px;min-height:32px}}
