:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#172033;background:#f5f7fb}*{box-sizing:border-box}body{margin:0;background:#f5f7fb;color:#172033}a{color:#3457d5;text-decoration:none}.wrap{max-width:1100px;margin:auto;padding:24px}.top{background:white;border-bottom:1px solid #e5e9f0}.top .wrap{display:flex;justify-content:space-between;align-items:center}.brand{font-weight:800;font-size:20px}.card{background:white;border:1px solid #e5e9f0;border-radius:16px;padding:20px;margin:16px 0;box-shadow:0 5px 18px rgba(0,0,0,.03)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.btn{display:inline-block;border:0;border-radius:10px;background:#3457d5;color:white;padding:11px 16px;font-weight:700;cursor:pointer}.btn.secondary{background:#eef2ff;color:#273f9c}.field{margin:12px 0}.field label{display:block;font-weight:700;margin-bottom:6px}.field input{width:100%;padding:11px;border:1px solid #cfd6e3;border-radius:9px}.status{font-weight:700}.pass{color:#137333}.warning{color:#9a6700}.fail{color:#b3261e}.muted{color:#687386}.nav{display:flex;gap:14px;align-items:center}.alert{padding:12px;border-radius:10px;background:#fff1f0;color:#9f1d17;margin:12px 0}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:10px;border-bottom:1px solid #e8ebf1}@media(max-width:600px){.wrap{padding:16px}.top .wrap{align-items:flex-start;gap:12px;flex-direction:column}.nav{flex-wrap:wrap}}
.field select{width:100%;padding:11px;border:1px solid #cfd6e3;border-radius:9px;background:#fff;color:#172033}.action-field{display:flex;align-items:end}.notice{padding:12px;border-radius:10px;background:#eef8f0;color:#185c2b;margin:12px 0}.chip{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef2ff;color:#273f9c;font-size:12px}.hero-card{background:linear-gradient(135deg,#ffffff,#eef3ff);border:1px solid #e1e7f5;border-radius:20px;padding:28px;margin:16px 0}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.09em;font-weight:800;color:#52657d}.category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.category-tile{border:1px solid #e5e9f0;border-radius:12px;padding:14px;background:#fbfcff}.category-tile small{display:block;color:#687386;margin-top:5px;text-transform:capitalize}hr{border:0;border-top:1px solid #e8ebf1;margin:20px 0}
.search-row{display:flex;gap:.65rem;flex-wrap:wrap;margin-top:1rem}.search-row input{flex:1;min-width:240px;padding:.9rem 1rem;border:1px solid #ccd5e0;border-radius:12px;font:inherit}.result-list{display:grid;gap:1rem}.result-card{border:1px solid #e2e8f0;border-radius:14px;padding:1rem}.result-card h3{margin:.25rem 0}.category-tile{text-decoration:none;color:inherit}

.public-nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.nav-group{position:relative}.nav-group>a{display:block;padding:10px 4px}.dropdown{display:none;position:absolute;z-index:30;top:100%;left:0;min-width:220px;background:#fff;border:1px solid #e5e9f0;border-radius:12px;padding:8px;box-shadow:0 12px 30px rgba(0,0,0,.1)}.dropdown a{display:block;padding:9px 10px;border-radius:8px;color:#172033}.dropdown a:hover{background:#f5f7fb}.nav-group:hover .dropdown,.nav-group:focus-within .dropdown{display:block}@media(max-width:700px){.public-nav{align-items:stretch}.nav-group{width:100%}.dropdown{position:static;display:block;box-shadow:none;border:0;border-left:2px solid #e5e9f0;border-radius:0;margin-left:8px}}
.map-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.mesraguide-map{height:520px;min-height:360px;border:1px solid #dce3ef;border-radius:18px;overflow:hidden;background:#eef2f7;margin:18px 0}.entity-meta{display:flex;gap:8px;flex-wrap:wrap}.result-card>a{font-weight:700}@media(max-width:700px){.mesraguide-map{height:420px}}

/* Build 009 — Admin UI system */
.admin-body{background:#f5f8fd;color:#102342}.admin-shell{min-height:100vh;display:grid;grid-template-columns:264px minmax(0,1fr)}.admin-sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid #e5eaf2;padding:18px 12px;overflow:auto}.admin-logo{display:flex;align-items:center;gap:10px;padding:8px 12px 22px;color:#102342;font-weight:800;font-size:22px}.admin-logo .logo-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#eaf8ef;color:#1eaf55}.admin-logo small{font-size:11px;padding:3px 8px;border-radius:999px;background:#daf7e4;color:#13723a}.side-nav{display:grid;gap:4px}.side-nav a{display:flex;gap:11px;align-items:center;padding:10px 12px;border-radius:9px;color:#536783;font-size:14px}.side-nav a:hover{background:#f2f6fc;color:#1d64d8}.side-nav a.active{background:#eaf3ff;color:#1263df;font-weight:800}.side-label{padding:18px 12px 7px;color:#7f8da5;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.admin-main{min-width:0}.admin-topbar{height:66px;background:#fff;border-bottom:1px solid #e5eaf2;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.admin-top-title{font-size:14px;color:#60728b}.admin-account{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700}.role-chip,.role-pill{display:inline-flex;align-items:center;width:max-content;padding:4px 9px;border-radius:999px;background:#e9f2ff;color:#1765d8;font-size:11px;font-weight:800}.admin-content{padding:24px 28px 40px;max-width:1540px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}.page-heading h1{margin:0 0 5px;font-size:29px;letter-spacing:-.02em}.page-heading p{margin:0;color:#667890}.breadcrumbs{display:flex;gap:8px;align-items:center;font-size:12px;color:#74849c;padding-top:10px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0}.metric-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e1e7f0;border-radius:12px;padding:18px;box-shadow:0 4px 18px rgba(24,55,98,.035)}.metric-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#eef5ff,#e7f0ff);color:#1464de;font-size:22px}.metric-card strong{display:block;font-size:24px;line-height:1.05}.metric-card b{display:block;font-size:13px;margin-top:4px}.metric-card small{display:block;color:#7c8ba2;margin-top:3px;font-size:11px}.panel{background:#fff;border:1px solid #e1e7f0;border-radius:12px;margin:16px 0;box-shadow:0 4px 18px rgba(24,55,98,.035);overflow:hidden}.panel-accent{border-color:#9fc3ff}.panel-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:18px 20px;border-bottom:1px solid #edf0f5}.panel-heading h2{margin:0;color:#1464de;font-size:17px}.panel-heading p{margin:4px 0 0;color:#74849b;font-size:12px}.admin-form{padding:20px}.form-grid{display:grid;gap:16px}.form-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.form-span-3{grid-column:span 3}.form-field{display:grid;gap:7px;font-size:12px;color:#283d5d;font-weight:700}.form-field em{color:#df334d;font-style:normal}.form-field input,.form-field select,.form-field textarea,.inline-actions select{width:100%;min-height:42px;border:1px solid #ced8e6;border-radius:7px;background:#fff;color:#102342;padding:9px 11px;font:inherit;outline:none;transition:.18s}.form-field textarea{resize:vertical}.form-field input:focus,.form-field select:focus,.form-field textarea:focus,.inline-actions select:focus{border-color:#3f82e8;box-shadow:0 0 0 3px rgba(63,130,232,.12)}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.btn{background:#1767df;border-radius:7px;padding:10px 16px;font-size:13px}.btn:hover{filter:brightness(.97)}.btn-light{background:#eef2f7;color:#344965}.btn-small{padding:7px 10px;font-size:11px;white-space:nowrap}.content-split{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.75fr);gap:16px;align-items:start}.roles-panel{margin:16px 0}.role-card{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin:12px 16px;padding:13px;border:1px solid #e6ebf2;border-radius:9px}.role-card>div{display:grid;gap:7px}.role-card small{color:#6d7d94;line-height:1.45}.role-card>b{font-size:12px;white-space:nowrap}.table-wrap{overflow:auto}.admin-table{min-width:680px}.admin-table th{background:#f8fafd;color:#52657e;text-transform:none;font-size:11px}.admin-table td{font-size:12px;color:#334763}.admin-table th,.admin-table td{padding:11px 13px;border-bottom:1px solid #edf0f4}.user-cell{display:flex;align-items:center;gap:9px;min-width:180px}.user-cell small{display:block;color:#74849b;margin-top:2px}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eaf3ff;color:#1767df;font-weight:800}.status-pill{display:inline-flex;padding:4px 8px;border-radius:6px;background:#eef2f7;color:#596a80;font-size:10px;font-weight:800}.status-active{background:#ddf8e5;color:#16833c}.status-inactive{background:#fde6e9;color:#c72f48}.inline-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.inline-actions select{width:auto;min-width:120px;min-height:32px;padding:6px 8px}.permission-banner{display:flex;align-items:flex-start;gap:12px;background:#f5f9ff;border:1px solid #d7e7ff;border-radius:10px;padding:14px 16px;margin-top:16px}.permission-banner>span{color:#1767df;font-size:20px}.permission-banner b{color:#1767df}.permission-banner p{margin:4px 0 0;color:#667890;font-size:12px}.check-field{display:flex;align-items:center;gap:10px;min-height:42px;padding:9px 11px;border:1px solid #d7dfe9;border-radius:7px}.check-field input{width:17px;height:17px}.check-field span{display:grid}.check-field small{color:#74849b;font-weight:400;margin-top:2px}.create-panel{scroll-margin-top:80px}
@media(max-width:1100px){.admin-shell{grid-template-columns:210px minmax(0,1fr)}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid-4,.form-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.form-span-3{grid-column:span 2}.content-split{grid-template-columns:1fr}.roles-panel{margin-top:0}}
@media(max-width:760px){.admin-shell{display:block}.admin-sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid #e5eaf2}.side-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.side-label{grid-column:1/-1}.admin-topbar{height:auto;padding:12px 16px;gap:12px}.admin-content{padding:18px 14px 30px}.page-heading{display:block}.breadcrumbs{padding-top:8px}.metric-grid,.metric-grid-3,.form-grid-4,.form-grid-3{grid-template-columns:1fr}.form-span-3{grid-column:auto}.form-actions{justify-content:stretch}.form-actions .btn{flex:1}.admin-account{font-size:12px}.admin-logo{padding-bottom:12px}}


/* Build 009 R2 — shared responsive Admin shell */
.panel-body{padding:20px}.logout-form{margin:0}.form-span-4{grid-column:span 4}.form-button-field{align-self:end}.form-button-field .btn{min-height:42px;width:100%}.admin-table-wide{min-width:820px}.migration-list{padding-left:20px}.up-to-date{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid #ccebd7;background:#f2fbf5;border-radius:10px;color:#176c38}.up-to-date>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#dff6e7;font-weight:900}.up-to-date p{margin:4px 0 0;color:#5e7968}.table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.admin-table{width:100%}.admin-table td,.admin-table th{vertical-align:top}.side-nav a,.btn,.metric-card,.panel{transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease}.metric-card:hover,.panel:hover{box-shadow:0 8px 26px rgba(24,55,98,.065)}.side-nav a:hover{transform:translateX(2px)}.btn:hover{transform:translateY(-1px)}
@media(max-width:1100px){.form-span-4{grid-column:span 2}.admin-content{padding-left:20px;padding-right:20px}}
@media(max-width:760px){.admin-sidebar{position:relative;z-index:2}.admin-logo{position:sticky;top:0;background:#fff;z-index:1}.side-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.side-nav a{min-width:0}.side-nav a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-topbar{position:sticky;top:0;z-index:3;flex-wrap:wrap}.admin-account{flex-wrap:wrap;justify-content:flex-end}.form-span-4{grid-column:auto}.panel-heading{align-items:flex-start}.panel{border-radius:10px}.table-wrap{margin:0}.admin-table{min-width:620px}.page-heading h1{font-size:25px}.metric-card:hover,.panel:hover,.side-nav a:hover,.btn:hover{transform:none}}
@media(max-width:480px){.side-nav{grid-template-columns:1fr}.side-label{grid-column:1}.admin-topbar{align-items:flex-start}.admin-account{width:100%;justify-content:flex-start}.admin-content{padding:14px 10px 26px}.panel-heading,.admin-form,.panel-body{padding:15px}.metric-card{padding:14px}.admin-table{min-width:560px}}
@media(prefers-reduced-motion:reduce){.side-nav a,.btn,.metric-card,.panel{transition:none!important;transform:none!important}}
/* Build 011 R2: substantial travel guide authoring area */
.editor-surface-large{min-height:420px;max-height:75vh;overflow:auto;line-height:1.65;padding:18px 20px;background:#fff}
.travel-guide-body{line-height:1.7;margin:18px 0 24px}.travel-guide-body img{max-width:100%;height:auto}.travel-guide-body table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}
@media (max-width:700px){.editor-surface-large{min-height:320px}.editor-toolbar{position:sticky;top:0;z-index:2}}

/* Build 011 R3 — rich editor visibility and responsive authoring fix */
.editor-language{margin:22px 0;padding:18px;border:1px solid #e3e9f2;border-radius:12px;background:#fbfcff}.editor-language>h3{margin:0 0 16px;color:#102342}.editor-wrap{width:100%;border:1px solid #cfd9e7;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 1px 2px rgba(16,35,66,.03)}.editor-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:9px;background:#f6f8fc;border-bottom:1px solid #dfe6f0}.editor-toolbar button{min-height:32px;padding:5px 9px;border:1px solid #c9d4e2;border-radius:6px;background:#fff;color:#203653;font:inherit;font-size:12px;font-weight:700;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,transform .15s ease}.editor-toolbar button:hover,.editor-toolbar button:focus-visible{background:#eaf3ff;border-color:#8db8f5;outline:none}.editor-toolbar button.active{background:#1767df;color:#fff;border-color:#1767df}.editor-surface{display:block;width:100%;min-height:280px;padding:16px 18px;background:#fff;color:#172033;font:400 15px/1.65 Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;outline:none;overflow:auto;white-space:normal;word-break:break-word}.editor-surface:focus{box-shadow:inset 0 0 0 3px rgba(63,130,232,.12)}.editor-surface:empty:before{content:'Start writing here…';color:#9aa8ba;pointer-events:none}.editor-surface-large{min-height:460px}.rich-editor-source{width:100%;min-height:360px;padding:16px;border:0;font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;resize:vertical}.form-span-2{grid-column:span 2}@media(max-width:760px){.form-span-2{grid-column:auto}.editor-language{padding:13px}.editor-toolbar{gap:4px;padding:7px}.editor-toolbar button{min-height:34px;padding:6px 8px}.editor-surface{min-height:250px;padding:14px}.editor-surface-large{min-height:360px}}@media(prefers-reduced-motion:reduce){.editor-toolbar button{transition:none!important;transform:none!important}}

/* Build 012 rich authoring completion */
.editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:#f8fafc;border-bottom:1px solid #dfe6f0;position:sticky;top:0;z-index:2}
.editor-toolbar button{min-height:34px;padding:6px 9px;border:1px solid #d7e0eb;border-radius:8px;background:#fff;cursor:pointer}
.editor-toolbar button:hover,.editor-toolbar button:focus-visible{border-color:#94a3b8;transform:translateY(-1px)}
.editor-toolbar button.active{background:#e8eefc;border-color:#8197d8}
.editor-media-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:9px 12px;background:#fbfdff;border-bottom:1px solid #e5eaf1}
.editor-media-row label{display:flex;gap:8px;align-items:center;font-size:.88rem}.editor-media-row select{max-width:420px}
.editor-surface:empty:before{content:attr(data-placeholder);color:#94a3b8;pointer-events:none}
.editor-surface.editor-source-mode{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;color:#334155;background:#f8fafc}
.editor-surface table{border-collapse:collapse;width:100%;margin:1rem 0}.editor-surface th,.editor-surface td{border:1px solid #cbd5e1;padding:8px}.editor-surface img{max-width:100%;height:auto}.editor-surface figure{margin:1rem 0}.editor-surface figcaption{font-size:.88rem;color:#64748b;margin-top:6px}
@media(max-width:720px){.editor-toolbar{position:static}.editor-toolbar button{font-size:.78rem;padding:5px 7px}.editor-media-row{align-items:stretch;flex-direction:column}.editor-media-row label{align-items:stretch;flex-direction:column}.editor-media-row select{max-width:none;width:100%}}
@media(prefers-reduced-motion:reduce){.editor-toolbar button{transition:none!important;transform:none!important}}

/* Build 013 — active location clarity */
.location-link{display:inline-flex!important;align-items:center;gap:.35rem;white-space:nowrap}
.location-link small{font-size:.68rem;font-weight:700;padding:.12rem .38rem;border-radius:999px;background:rgba(15,23,42,.07);color:var(--muted,#64748b)}
.location-current{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;margin:1rem 0;border:1px solid rgba(148,163,184,.28);border-radius:16px;background:rgba(248,250,252,.75)}
.location-current div{display:grid;gap:.25rem}.location-current strong{font-size:1.08rem}.location-current small{color:var(--muted,#64748b)}
.location-actions{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin:1rem 0}.location-actions form{margin:0}
.location-privacy-note{margin-top:1.25rem;padding:1rem 1.1rem;border-radius:14px;background:rgba(59,130,246,.06);border:1px solid rgba(59,130,246,.12)}
.location-privacy-note p{margin:.35rem 0 0;color:var(--muted,#64748b)}
@media(max-width:720px){.location-current{align-items:flex-start;flex-direction:column}.location-actions .btn,.location-actions form{width:100%}.location-actions form .btn{width:100%}}

/* Build 014 — MesraGuide brand identity */
.brand{display:inline-flex;align-items:center;flex:0 0 auto;line-height:1}.brand img{display:block;width:auto;height:48px;max-width:min(310px,46vw);object-fit:contain}.admin-logo{min-height:68px}.admin-logo img{display:block;width:auto;height:44px;max-width:176px;object-fit:contain}.admin-logo .logo-mark{display:none}@media(max-width:760px){.brand img{height:42px;max-width:72vw}.admin-logo img{height:40px;max-width:168px}}

/* Build 015 — public homepage visual discovery transformation */
.public-home{background:#f7f9fc}.public-home .top{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:saturate(140%) blur(10px)}.public-home .top .wrap{max-width:1240px;padding-top:13px;padding-bottom:13px}.public-home .brand img{height:36px;max-width:202px}.public-home .public-nav{gap:18px}.public-home .public-nav a{font-weight:650;color:#173052}.public-home .public-nav a:hover{color:#1267df}.home-shell{max-width:1240px;margin:0 auto;padding:24px 24px 52px}.home-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);min-height:390px;border:1px solid #dfe7f2;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 18px 50px rgba(20,54,96,.08)}.home-hero-copy{padding:44px 46px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(125deg,#fff 0%,#f6fbff 72%,#eef9f5 100%)}.home-kicker{display:inline-block;color:#176bdb;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.105em}.home-hero h1{font-size:48px;line-height:1.04;letter-spacing:-.045em;margin:12px 0 16px;color:#14283f;max-width:660px}.home-hero h1 span{background:linear-gradient(90deg,#1476ee,#03a2d2,#16b84d);-webkit-background-clip:text;background-clip:text;color:transparent}.home-hero-copy>p{max-width:620px;font-size:17px;line-height:1.7;color:#5b6d82;margin:0 0 24px}.home-search{display:flex;gap:0;max-width:650px;border:1px solid #d6e0ec;border-radius:13px;background:#fff;box-shadow:0 10px 26px rgba(31,76,128,.08);overflow:hidden}.home-search input{flex:1;min-width:0;border:0;padding:16px 17px;font:inherit;color:#172033;outline:0}.home-search input:focus{box-shadow:inset 0 0 0 2px rgba(30,112,235,.22)}.home-search-btn{border:0;background:#1475ee;color:#fff;padding:0 21px;font-weight:800;font:inherit;cursor:pointer;display:flex;gap:7px;align-items:center}.home-search-btn:hover{background:#0c64d5}.home-location-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px;font-size:13px}.home-location-row span{font-weight:800;color:#223b59}.home-location-row small{border-radius:999px;background:#eef2f7;color:#67788d;padding:4px 8px}.home-location-row a{margin-left:auto;font-weight:750}.home-hero-visual{position:relative;min-height:390px;background:#dcebf7;overflow:hidden}.home-hero-visual>picture,.home-hero-visual>.hero-special-link,.home-hero-visual>.hero-sponsored-link{display:block;width:100%;height:100%;min-height:inherit}.home-hero-visual picture{display:block;width:100%;height:100%}.home-hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .55s ease}.home-hero-visual>img{min-height:inherit}.home-hero:hover .home-hero-visual img{transform:scale(1.02)}.home-hero-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(243,249,254,.28),transparent 45%),linear-gradient(0deg,rgba(8,33,62,.25),transparent 52%)}.hero-float-card{position:absolute;z-index:2;left:24px;bottom:24px;padding:13px 16px;border:1px solid rgba(255,255,255,.4);border-radius:14px;background:rgba(255,255,255,.89);box-shadow:0 12px 30px rgba(10,37,68,.18);backdrop-filter:blur(8px);display:grid;gap:2px}.hero-float-card strong{color:#173052}.hero-float-card span{font-size:11px;color:#63758a}.home-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0 36px}.home-quick-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:18px;border-radius:16px;background:#fff;border:1px solid #e1e8f1;color:#1a2f49;box-shadow:0 5px 20px rgba(28,61,101,.035);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.home-quick-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(28,61,101,.09);border-color:#cbdcf3}.home-quick-card strong{display:block;font-size:15px}.home-quick-card small{display:block;color:#718196;font-size:11px;margin-top:4px;line-height:1.4}.home-quick-card b{color:#1671e8}.quick-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-size:22px;font-weight:800}.quick-icon-1{background:#e8f2ff;color:#1472e6}.quick-icon-2{background:#e8f8ed;color:#19a94a}.quick-icon-3{background:#fff0e2;color:#ed7a12}.quick-icon-4{background:#f3eaff;color:#8c46d9}.home-empty-card{grid-column:1/-1;padding:20px;border:1px dashed #cdd8e5;border-radius:14px;color:#718196;background:#fff}.home-section{margin-top:16px}.home-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:15px}.home-section-heading h2,.home-discovery-band h2{margin:5px 0 0;font-size:28px;letter-spacing:-.025em}.home-section-heading>a{font-weight:750}.destination-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.destination-card{position:relative;height:205px;border-radius:18px;overflow:hidden;background:#dce5ef;color:#fff;box-shadow:0 8px 24px rgba(27,55,87,.08)}.destination-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.destination-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(6,24,42,.78),rgba(6,24,42,.05) 65%)}.destination-copy{position:absolute;z-index:2;left:18px;right:18px;bottom:15px}.destination-copy strong{display:block;font-size:19px}.destination-copy small{display:block;color:rgba(255,255,255,.82);font-size:11px;margin-top:3px}.destination-card:hover img{transform:scale(1.045)}.home-discovery-band{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-top:38px;padding:30px 34px;border-radius:20px;border:1px solid #d9e5f2;background:linear-gradient(110deg,#eff7ff,#f2fbf5)}.home-discovery-band p{max-width:780px;color:#5d7188;line-height:1.65;margin:9px 0 0}.discovery-actions{display:flex;gap:10px;flex-wrap:wrap;flex:0 0 auto}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Build 015 logo scaling correction */
.admin-logo{min-height:54px;padding-top:4px;padding-bottom:14px}.admin-logo img{height:30px;max-width:150px}.public-home .brand{min-width:0}
@media(max-width:1000px){.home-hero{grid-template-columns:1fr}.home-hero-visual{min-height:280px}.home-hero-copy{padding:40px 36px}.home-hero h1{font-size:42px}.home-quick-grid,.destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-discovery-band{align-items:flex-start;flex-direction:column}}
@media(max-width:700px){.public-home .top{position:relative}.public-home .top .wrap{padding:11px 16px}.public-home .brand img{height:30px;max-width:176px}.home-shell{padding:14px 14px 38px}.home-hero{border-radius:18px}.home-hero-copy{padding:30px 22px}.home-hero h1{font-size:36px}.home-hero-copy>p{font-size:15px}.home-search{flex-direction:column;background:transparent;border:0;box-shadow:none;overflow:visible;gap:8px}.home-search input,.home-search-btn{min-height:50px;border-radius:11px}.home-search input{border:1px solid #d6e0ec;background:#fff}.home-search-btn{justify-content:center}.home-location-row a{margin-left:0;width:100%}.home-hero-visual{min-height:220px}.hero-float-card{left:14px;bottom:14px}.home-quick-grid,.destination-grid{grid-template-columns:1fr 1fr;gap:10px}.home-quick-card{padding:14px;grid-template-columns:auto minmax(0,1fr)}.home-quick-card b{display:none}.destination-card{height:170px}.home-section-heading{align-items:flex-start;flex-direction:column}.home-section-heading h2,.home-discovery-band h2{font-size:24px}.home-discovery-band{padding:23px 20px}.discovery-actions,.discovery-actions .btn{width:100%}.discovery-actions .btn{text-align:center}.admin-logo img{height:28px;max-width:142px}}
@media(max-width:460px){.home-quick-grid,.destination-grid{grid-template-columns:1fr}.destination-card{height:190px}.home-hero h1{font-size:32px}}
@media(prefers-reduced-motion:reduce){.home-hero-visual img,.home-quick-card,.destination-card img{transition:none!important}.home-hero:hover .home-hero-visual img,.home-quick-card:hover,.destination-card:hover img{transform:none!important}}

/* Build 016 R1 — compact MesraGuide branding */
.admin-logo{min-height:42px;padding:2px 8px 10px;overflow:hidden}
.admin-logo img{height:22px!important;max-width:112px!important;width:auto!important;object-fit:contain}
.public-home .brand img{height:30px!important;max-width:174px!important;width:auto!important;object-fit:contain}
@media(max-width:760px){.admin-logo{min-height:38px;padding-bottom:8px}.admin-logo img{height:20px!important;max-width:102px!important}.public-home .brand img{height:27px!important;max-width:156px!important}}

/* Build 017 — scalable language & translation manager */
.translation-list{display:grid;gap:10px;margin-top:16px}.translation-row{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(320px,1.5fr) 150px auto;gap:10px;align-items:center;padding:12px;border:1px solid #e3e9f1;border-radius:14px;background:#fff}.translation-key{display:grid;gap:4px;min-width:0}.translation-key strong{overflow-wrap:anywhere}.translation-key small{color:#6b7d90}.translation-row textarea{width:100%;min-height:62px;resize:vertical}.filter-bar{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.filter-bar label{display:grid;gap:5px}.filter-grow{flex:1;min-width:220px}.home-language-switch{max-width:1240px;margin:28px auto 0;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.home-language-switch a{padding:7px 11px;border-radius:999px;border:1px solid #d9e2ee;background:#fff;color:#41566f;font-size:12px;font-weight:700}.home-language-switch a.active{background:#173052;color:#fff;border-color:#173052}@media(max-width:900px){.translation-row{grid-template-columns:1fr}.translation-row .btn{width:100%}}@media(prefers-reduced-motion:reduce){.home-language-switch a{transition:none!important}}


/* Build 019 — globally compact branding + fixed media thumbnail presentation */
.top .brand img,.public-header .brand img,.brand img{height:30px!important;max-width:174px!important;width:auto!important;object-fit:contain!important}
.admin-logo{min-height:40px!important;padding:2px 8px 8px!important;overflow:hidden!important}
.admin-logo img{height:21px!important;max-width:108px!important;width:auto!important;object-fit:contain!important}
.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;padding:18px}
.media-card{overflow:hidden;border:1px solid #e1e8f1;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(20,54,96,.04)}
.media-thumb-frame{width:100%;height:168px;background:#eef3f8;display:flex;align-items:center;justify-content:center;overflow:hidden;border-bottom:1px solid #e3eaf2}
.media-thumb-frame img{display:block;width:100%;height:100%;object-fit:cover;max-width:none!important}
.media-card-body{padding:13px;display:grid;gap:8px}
.media-card-body>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.media-card-body>small{color:#6b7d90;line-height:1.45}
@media(max-width:760px){.top .brand img,.public-header .brand img,.brand img{height:27px!important;max-width:156px!important}.admin-logo img{height:19px!important;max-width:98px!important}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px}.media-thumb-frame{height:132px}}
@media(max-width:460px){.media-grid{grid-template-columns:1fr}.media-thumb-frame{height:180px}}

/* Build 021 — Media Library maintenance/search */
.media-filter-form{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap}.media-filter-form input,.media-filter-form select{min-height:38px;border:1px solid #d7dfeb;border-radius:10px;padding:.55rem .7rem;background:#fff}.media-maintenance{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin:0 0 1rem;padding:.9rem 1rem;border:1px solid #dce6f1;border-radius:14px;background:#f8fbff}.media-maintenance p{margin:.2rem 0 0;color:#607086}.empty-state{padding:2rem;text-align:center;color:#6b7789}@media(max-width:720px){.media-filter-form,.media-maintenance{align-items:stretch;flex-direction:column}.media-filter-form input,.media-filter-form select,.media-filter-form button,.media-maintenance button{width:100%}}

/* Build 023 — safe media lifecycle controls */
.media-card.is-archived{opacity:.78;background:var(--surface-subtle,#f8fafc)}
.media-card-title-row,.media-card-actions{display:flex;align-items:center;justify-content:space-between;gap:.55rem;flex-wrap:wrap}
.media-card-actions{justify-content:flex-start;margin-top:.35rem}
.media-card-actions form{margin:0}
button[disabled]{opacity:.52;cursor:not-allowed}

/* Build 025: Travel Tips global search */
.travel-tip-search{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap;margin-top:1rem}.travel-tip-search input[type=search]{flex:1 1 320px;min-width:0;max-width:680px;padding:.82rem 1rem;border:1px solid #cbd5e1;border-radius:12px;background:#fff;font:inherit}.travel-tip-search input[type=search]:focus{outline:3px solid rgba(37,99,235,.18);border-color:#2563eb}.travel-search-summary{margin:.8rem 0 0}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}@media(max-width:640px){.travel-tip-search input[type=search]{flex-basis:100%}.travel-tip-search .btn{flex:1}}

/* Build 026 — site-wide Smart Discovery Search */
.site-search-mini{display:flex;align-items:center;min-width:210px;max-width:330px;flex:1;margin-left:auto;border:1px solid #d9e4ef;border-radius:999px;background:#fff;overflow:hidden;box-shadow:0 5px 18px rgba(15,49,78,.06)}
.site-search-mini input{border:0;outline:0;background:transparent;padding:.62rem .2rem .62rem .82rem;min-width:0;width:100%;font:inherit}
.site-search-mini button{border:0;background:transparent;padding:.55rem .75rem;cursor:pointer;font-size:1rem}
.smart-search-hero{margin-bottom:1.1rem}.search-understood{margin-top:.8rem}.smart-results-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;flex-wrap:wrap}.result-type-summary{display:flex;gap:.4rem;flex-wrap:wrap}.smart-result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:1rem}.smart-result-card{display:grid;grid-template-columns:108px minmax(0,1fr);min-height:150px;border:1px solid #e5edf4;border-radius:18px;overflow:hidden;background:#fff;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.smart-result-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(19,54,86,.10);border-color:#c9dbea}.smart-result-media{display:block;background:#edf4f8;min-height:100%}.smart-result-media img{display:block;width:100%;height:100%;object-fit:cover}.smart-result-placeholder{display:grid;place-items:center;width:100%;height:100%;min-height:150px;font-size:2.2rem;font-weight:800;color:#587286;background:linear-gradient(145deg,#edf7fb,#eff6ef)}.smart-result-body{padding:.9rem}.smart-result-body h3{margin:.3rem 0 .45rem;font-size:1.05rem}.smart-result-body p{margin:.35rem 0;font-size:.92rem}.smart-result-meta{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.result-type,.verified-chip{font-size:.72rem;font-weight:700;padding:.22rem .45rem;border-radius:999px;background:#eef5fa;color:#375269}.verified-chip{background:#e9f7ef;color:#2e6844}.smart-result-link{display:inline-block;margin-top:.4rem;font-weight:700;font-size:.88rem}.empty-state{padding:1.2rem;text-align:center}
@media(max-width:900px){.site-search-mini{order:20;flex-basis:100%;max-width:none;margin:.45rem 0 0}.public-nav{flex-wrap:wrap}.smart-result-grid{grid-template-columns:1fr}}
@media(max-width:520px){.smart-result-card{grid-template-columns:92px minmax(0,1fr)}.smart-result-placeholder{min-height:138px}}
@media(prefers-reduced-motion:reduce){.smart-result-card{transition:none}.smart-result-card:hover{transform:none}}
/* Build 026 R1 — compact 80x80 search media + site-wide smart suggestions */
.smart-result-grid{display:grid;grid-template-columns:1fr;gap:.7rem}
.smart-result-card{display:grid;grid-template-columns:80px minmax(0,1fr);min-height:80px;align-items:stretch}
.smart-result-media{width:80px;height:80px;min-height:80px;align-self:start}
.smart-result-media img{width:80px;height:80px;object-fit:cover}
.smart-result-placeholder{width:80px;height:80px;min-height:80px;font-size:1.6rem}
.smart-result-body{padding:.65rem .8rem}.smart-result-body h3{margin:.18rem 0 .25rem}.smart-result-body p{margin:.2rem 0}.smart-result-link{margin-top:.2rem}
.mg-smart-search-ready{position:relative;overflow:visible!important}
.mg-search-suggestions{position:absolute;z-index:1000;top:calc(100% + 7px);left:0;right:0;max-height:min(440px,70vh);overflow:auto;background:#fff;border:1px solid #d8e3ee;border-radius:14px;box-shadow:0 18px 44px rgba(18,50,82,.17);padding:6px;text-align:left}
.mg-search-suggestions[hidden]{display:none!important}
.mg-search-suggestions a{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:center;padding:7px;border-radius:10px;color:#18324d;text-decoration:none}
.mg-search-suggestions a:hover,.mg-search-suggestions a.active{background:#eef6ff;color:#0f5fc6}
.mg-suggest-thumb,.mg-suggest-thumb img,.mg-suggest-placeholder{display:block;width:52px;height:52px;border-radius:9px}
.mg-suggest-thumb{overflow:hidden;background:#edf4f8}.mg-suggest-thumb img{object-fit:cover}.mg-suggest-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#edf7fb,#eff6ef);font-weight:800;color:#587286}
.mg-suggest-copy{min-width:0}.mg-suggest-copy strong,.mg-suggest-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mg-suggest-copy strong{font-size:.92rem}.mg-suggest-copy small{margin-top:3px;color:#718196;font-size:.74rem;text-transform:capitalize}
@media(max-width:700px){.smart-result-card{grid-template-columns:80px minmax(0,1fr)}.mg-search-suggestions{max-height:55vh}}


/* Build 026 R2 — collapsible mobile public navigation */
.public-nav-toggle{display:none;align-items:center;gap:8px;border:1px solid #d7e1ec;border-radius:10px;background:#fff;color:#173052;padding:8px 10px;font:inherit;font-size:.86rem;font-weight:750;cursor:pointer;box-shadow:0 3px 12px rgba(15,49,78,.05)}
.public-nav-toggle:hover{background:#f7faff;border-color:#c8d7e7}.public-nav-toggle:focus-visible{outline:3px solid rgba(37,99,235,.22);outline-offset:2px}
.public-nav-toggle-icon{width:20px;height:16px;display:flex;flex-direction:column;justify-content:space-between}.public-nav-toggle-icon i{display:block;height:2px;border-radius:999px;background:currentColor;transition:transform .18s ease,opacity .18s ease}
.public-nav-toggle[aria-expanded="true"] .public-nav-toggle-icon i:nth-child(1){transform:translateY(7px) rotate(45deg)}.public-nav-toggle[aria-expanded="true"] .public-nav-toggle-icon i:nth-child(2){opacity:0}.public-nav-toggle[aria-expanded="true"] .public-nav-toggle-icon i:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(max-width:900px){
  .top .wrap{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;gap:10px!important;padding-top:11px!important;padding-bottom:11px!important}
  .public-nav-toggle{display:inline-flex;justify-self:end}
  .public-nav{grid-column:1/-1;width:100%;display:none!important;flex-direction:column;align-items:stretch!important;gap:2px!important;padding:8px 0 2px;border-top:1px solid #e8edf3;margin-top:2px}
  .public-nav.is-open{display:flex!important}
  .public-nav>.nav-group,.public-nav>.location-link,.public-nav>.site-search-mini{width:100%;max-width:none!important;margin:0!important}
  .public-nav>.nav-group>a,.public-nav>.location-link{display:flex;align-items:center;min-height:44px;padding:10px 8px!important;border-radius:9px}
  .public-nav>.nav-group>a:hover,.public-nav>.location-link:hover{background:#f4f8fc}
  .site-search-mini{order:0!important;flex-basis:auto!important;margin:7px 0!important;border-radius:12px!important;min-width:0!important}
}
@media(max-width:700px){
  .top .wrap{flex-direction:initial!important;align-items:center!important}
  .public-nav .nav-group{width:100%}
  .public-nav .dropdown{position:static;display:block;box-shadow:none;border:0;border-left:2px solid #e5e9f0;border-radius:0;margin:0 0 5px 14px;padding:0 0 0 8px;min-width:0}
  .public-nav .dropdown a{padding:9px 10px}
}
@media(prefers-reduced-motion:reduce){.public-nav-toggle-icon i{transition:none!important}}

/* Build 027: public Travel Guide detail pages */
.guide-detail-page{padding-top:22px;padding-bottom:48px}.guide-breadcrumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:.9rem;margin:0 0 16px;color:#667085}.guide-breadcrumbs a{text-decoration:none}.guide-detail-card{background:#fff;border:1px solid #e6eaf0;border-radius:24px;padding:clamp(20px,4vw,42px);box-shadow:0 16px 50px rgba(20,35,60,.06)}.guide-detail-header{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:28px;align-items:start}.guide-detail-header h1{font-size:clamp(2rem,5vw,3.6rem);line-height:1.06;margin:.3em 0}.guide-intro{font-size:1.12rem;line-height:1.7;color:#475467}.guide-location{font-weight:700}.guide-featured-media{margin:0}.guide-featured-media img{display:block;width:100%;max-height:460px;object-fit:cover;border-radius:18px}.guide-featured-media figcaption{font-size:.82rem;color:#667085;margin-top:8px}.guide-longform{font-size:1.04rem;max-width:900px;margin:34px auto}.guide-tip-list{max-width:900px;margin:34px auto}.guide-tip-list ol{display:grid;gap:14px;padding-left:1.5rem}.guide-tip-list li{padding:16px 18px;background:#f8fafc;border:1px solid #e8edf4;border-radius:16px}.guide-tip-list li p{margin:.45rem 0 0;line-height:1.65}.guide-detail-footer{display:flex;gap:16px;flex-wrap:wrap;border-top:1px solid #e8edf4;padding-top:18px;margin-top:32px;color:#667085;font-size:.9rem}.guide-return{margin-top:18px}.travel-guide-card h2 a{text-decoration:none;color:inherit}.travel-guide-card h2 a:hover{text-decoration:underline}@media(max-width:780px){.guide-detail-header{grid-template-columns:1fr}.guide-featured-media{order:-1}.guide-detail-card{border-radius:18px;padding:18px}.guide-detail-header h1{font-size:2.15rem}.guide-longform{margin-top:24px}}

/* Build 030: Travel Guide map actions */
.guide-map-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0;padding:22px;border:1px solid #dce3ef;border-radius:18px;background:linear-gradient(135deg,#f8fbff,#f4fff9)}.guide-map-card h2{margin:.35rem 0}.guide-map-card .map-actions{margin-top:0;justify-content:flex-end}@media(max-width:760px){.guide-map-card{align-items:flex-start;flex-direction:column}.guide-map-card .map-actions{width:100%;justify-content:flex-start}.guide-map-card .map-actions .btn{flex:1 1 140px;text-align:center}}

/* Build 031 — Free & Sponsored Listings + location-detection demos */
.home-listings-section{margin-top:34px}.home-listing-note{margin:-4px 0 16px;color:#68778a;font-size:.91rem}.home-listing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.home-listing-card{display:grid;grid-template-columns:112px minmax(0,1fr);min-height:132px;background:#fff;border:1px solid #e2e9f1;border-radius:18px;overflow:hidden;box-shadow:0 7px 22px rgba(30,60,92,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.home-listing-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(30,60,92,.09)}.home-listing-card.is-sponsored{border-color:#f0dca7;background:linear-gradient(145deg,#fff,#fffdf7)}.home-listing-thumb{width:112px;min-height:132px;background:linear-gradient(145deg,#edf5ff,#eef9f1);display:grid;place-items:center;color:#3976ba;font-size:2rem;overflow:hidden}.home-listing-thumb img{width:100%;height:100%;object-fit:cover}.home-listing-body{padding:14px 15px;min-width:0}.home-listing-badges{display:flex;gap:6px;flex-wrap:wrap}.listing-badge{font-size:.68rem;line-height:1;padding:5px 7px;border-radius:999px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.listing-badge.sponsored,.sponsor-pill{background:#fff0c9!important;color:#7b5310!important}.listing-badge.free{background:#eaf6ee;color:#287444}.listing-badge.demo{background:#edf2f8;color:#607086}.home-listing-card h3{font-size:1rem;margin:9px 0 5px}.home-listing-card h3 a{color:#18324d;text-decoration:none}.home-listing-card p{margin:0 0 8px;color:#69798b;font-size:.82rem;line-height:1.45}.home-listing-card small{font-size:.76rem;color:#4e6278}.listing-limit-strip{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.listing-limit-strip span{padding:7px 10px;border-radius:10px;background:#f5f8fb;border:1px solid #e3eaf2;font-size:.82rem}.admin-subtext{display:block;color:#718096;margin-top:3px}.admin-inline-actions{display:flex;flex-wrap:wrap;gap:6px}.admin-inline-actions form{margin:0}@media(max-width:800px){.home-listing-grid{grid-template-columns:1fr}}@media(max-width:440px){.home-listing-card{grid-template-columns:88px minmax(0,1fr)}.home-listing-thumb{width:88px}}@media(prefers-reduced-motion:reduce){.home-listing-card{transition:none}.home-listing-card:hover{transform:none}}

/* Build 032: Travel Tips admin tabs and paginated guide library */
.admin-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}.admin-tab{display:flex;flex-direction:column;gap:2px;min-width:170px;padding:12px 16px;border:1px solid var(--border,#dbe4ee);border-radius:14px;background:#fff;text-decoration:none;color:inherit;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.admin-tab:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,23,42,.08)}.admin-tab.active{border-color:#7aa7ff;box-shadow:0 0 0 3px rgba(59,130,246,.10)}.admin-tab span{font-weight:700}.admin-tab small{opacity:.7}.admin-filter-bar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(160px,220px) auto;gap:12px;align-items:end;margin:0 0 14px}.filter-actions{display:flex;gap:8px;align-items:center;padding-bottom:2px}.table-summary{font-size:.9rem;opacity:.72;margin:0 0 10px}.admin-pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.empty-state{padding:26px;text-align:center;opacity:.7}@media(max-width:760px){.admin-tabs{display:grid;grid-template-columns:1fr 1fr}.admin-tab{min-width:0}.admin-filter-bar{grid-template-columns:1fr}.filter-actions{padding:0}.admin-pagination{justify-content:space-between}}@media(prefers-reduced-motion:reduce){.admin-tab{transition:none}.admin-tab:hover{transform:none}}

/* Build 033: button-style Travel Tips tabs */
.admin-tabs-buttons{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:14px;margin:0 0 20px;max-width:1080px}.admin-tab-button{min-height:78px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:14px;padding:15px 22px;border:1px solid #d6dfeb;border-radius:11px;background:#fff;color:#13243c;box-shadow:0 2px 7px rgba(20,45,80,.03);text-decoration:none}.admin-tab-button .admin-tab-icon{display:grid;place-items:center;width:38px;height:38px;font-size:27px;line-height:1;font-weight:800}.admin-tab-button .admin-tab-copy{display:grid;gap:3px;text-align:left}.admin-tab-button .admin-tab-copy strong{font-size:18px;line-height:1.1}.admin-tab-button .admin-tab-copy small{font-size:13px;opacity:.86}.admin-tab-button:hover{border-color:#9abaff;box-shadow:0 8px 22px rgba(22,103,223,.10);transform:translateY(-1px)}.admin-tab-button.active{color:#fff;border-color:#1767df;background:linear-gradient(180deg,#2c72eb,#155fd4);box-shadow:0 8px 20px rgba(23,103,223,.22)}.admin-tab-button.active .admin-tab-copy small{color:#fff;opacity:.94}.admin-tab-button:focus-visible{outline:3px solid rgba(23,103,223,.25);outline-offset:3px}@media(max-width:760px){.admin-tabs-buttons{grid-template-columns:1fr}.admin-tab-button{justify-content:flex-start;min-height:68px}.admin-tab-button .admin-tab-copy strong{font-size:16px}}@media(prefers-reduced-motion:reduce){.admin-tab-button{transition:none}.admin-tab-button:hover{transform:none}}

/* Build 034 — Current Guides library */
.admin-info-strip{display:flex;align-items:flex-start;gap:9px;margin:-4px 0 16px;padding:11px 14px;border:1px solid #cfe0fb;border-radius:9px;background:#f4f8ff;color:#2359a5;font-size:14px}.guide-library-panel .panel-heading{align-items:flex-start}.guide-library-filters{display:grid;grid-template-columns:minmax(280px,1fr) minmax(180px,230px) auto;gap:12px;align-items:end}.guide-library-filters .guide-search-field{min-width:0}.guide-library-table th{white-space:nowrap}.guide-title-cell{display:flex;align-items:center;gap:12px;min-width:290px}.guide-admin-thumb{width:64px;height:48px;flex:0 0 64px;border-radius:7px;object-fit:cover;background:#eef3f8;border:1px solid #d9e2ec}.guide-admin-thumb-placeholder{display:grid;place-items:center;font-size:20px}.guide-admin-title{font-weight:750;color:#145fd3;text-decoration:none}.guide-admin-title:hover{text-decoration:underline}.guide-title-cell small{color:#68788d;overflow-wrap:anywhere}.guide-lang-list{white-space:nowrap;font-weight:650}.guide-actions{display:flex;gap:7px;flex-wrap:wrap}.guide-status-active{background:#e9f9ef;color:#137333}.guide-status-draft{background:#fff5da;color:#8a5b00}.guide-status-pending{background:#eaf2ff;color:#215db0}.guide-status-disabled,.guide-status-archived{background:#f0f2f5;color:#52606d}
@media(max-width:900px){.guide-library-filters{grid-template-columns:1fr 1fr}.guide-library-filters .guide-search-field{grid-column:1/-1}.guide-library-table{min-width:980px}}
@media(max-width:620px){.guide-library-filters{grid-template-columns:1fr}.guide-library-filters .guide-search-field{grid-column:auto}.guide-title-cell{min-width:250px}.admin-info-strip{font-size:13px}}

/* Build 035 — homepage smart-search dropdown clipping hotfix */
.public-home .home-hero{overflow:visible;position:relative;z-index:4}
.public-home .home-hero-copy{position:relative;z-index:5;border-radius:24px 0 0 24px}
.public-home .home-hero-visual{border-radius:0 24px 24px 0}
.public-home .home-search.mg-smart-search-ready{z-index:20}
.public-home .home-search .mg-search-suggestions{z-index:3000;max-height:min(440px,65vh)}
.public-home .home-quick-grid,.public-home .home-section,.public-home .home-listings-section,.public-home .home-discovery-band{position:relative;z-index:1}
@media(max-width:1000px){
  .public-home .home-hero-copy{border-radius:24px 24px 0 0}
  .public-home .home-hero-visual{border-radius:0 0 24px 24px}
}
@media(max-width:700px){
  .public-home .home-hero-copy{border-radius:18px 18px 0 0}
  .public-home .home-hero-visual{border-radius:0 0 18px 18px}
  .public-home .home-search .mg-search-suggestions{left:0;right:0;max-height:50vh}
}

/* Build 037 — public listing discovery */
.listing-index,.listing-detail{padding-top:26px;padding-bottom:48px}.listing-hero{margin-bottom:20px}.listing-results{padding:22px}.public-listing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.public-listing-card{display:grid;grid-template-columns:128px minmax(0,1fr);background:#fff;border:1px solid #dfe7f2;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(23,43,77,.06)}.public-listing-card.is-sponsored{border-color:#b9d5ff}.public-listing-media{min-height:128px;background:#eef5f7;display:flex;align-items:center;justify-content:center;font-size:32px;text-decoration:none}.public-listing-media img{width:100%;height:100%;min-height:128px;object-fit:cover}.public-listing-body{padding:16px}.public-listing-body h3{margin:8px 0 7px;font-size:18px}.public-listing-body h3 a{text-decoration:none;color:#12233f}.public-listing-body p{margin:0 0 8px;color:#56677f}.public-listing-body small{display:block;color:#6a7890;margin-bottom:8px}.pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:22px}.breadcrumbs{margin:0 0 14px;color:#6a7890}.breadcrumbs a{color:#1f64d8;text-decoration:none}.listing-detail-card{display:grid;grid-template-columns:minmax(0,38%) minmax(0,62%);background:#fff;border:1px solid #dfe7f2;border-radius:20px;overflow:hidden;box-shadow:0 12px 32px rgba(23,43,77,.07)}.listing-detail-image{min-height:320px;background:#edf4f8}.listing-detail-image img{width:100%;height:100%;object-fit:cover}.listing-detail-content{padding:30px}.listing-detail-content h1{margin:8px 0 10px}.listing-business-name{font-weight:700;color:#344861}.listing-summary{font-size:16px;line-height:1.65}.listing-disclosure{margin-top:18px;padding:18px}.listing-disclosure p{margin-bottom:0;color:#5c6b7e}@media(max-width:760px){.public-listing-grid{grid-template-columns:1fr}.public-listing-card{grid-template-columns:92px minmax(0,1fr)}.public-listing-media,.public-listing-media img{min-height:110px}.listing-detail-card{grid-template-columns:1fr}.listing-detail-image{min-height:220px}.listing-detail-content{padding:22px}.listing-results{padding:16px}.pagination{flex-wrap:wrap}}

/* Build 038 — visual Media Library picker + cursor image resizing */
.editor-media-picker{position:relative;display:flex;align-items:center;gap:8px;min-width:0;flex:1}.editor-media-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}.media-picker-selected{font-size:.84rem;color:#5b6b81;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-picker-panel{position:absolute;z-index:80;top:calc(100% + 8px);left:0;width:min(760px,92vw);max-height:520px;overflow:auto;padding:12px;border:1px solid #cfdaea;border-radius:12px;background:#fff;box-shadow:0 18px 50px rgba(15,35,65,.18)}.media-picker-panel[hidden]{display:none}.media-picker-panel-head{position:sticky;top:-12px;z-index:2;display:flex;gap:12px;align-items:center;justify-content:space-between;margin:-12px -12px 12px;padding:12px;background:#fff;border-bottom:1px solid #e7edf5}.media-picker-panel-head input{width:min(300px,52%);padding:8px 10px;border:1px solid #cdd8e7;border-radius:8px}.media-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:10px}.media-picker-card{display:flex;min-width:0;flex-direction:column;gap:5px;padding:7px;border:2px solid transparent;border-radius:10px;background:#f7f9fc;color:#172033;text-align:left;cursor:pointer}.media-picker-card:hover,.media-picker-card:focus-visible{border-color:#8ab8f5;outline:none;background:#eef6ff}.media-picker-card.is-selected{border-color:#1767df;background:#eaf3ff}.media-picker-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:7px;background:#e8edf5}.media-picker-card span{font-size:.78rem;font-weight:700;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-picker-card small{color:#708096}.editor-image-help{padding:7px 12px;background:#f2f8ff;border-bottom:1px solid #dfeaf7;color:#506984;font-size:.78rem}.editor-surface .content-media-resizable{position:relative;display:block;box-sizing:border-box;min-width:100px;min-height:70px;max-width:100%;margin:14px 0;padding:0;border:2px solid transparent;resize:both!important;overflow:auto!important;cursor:se-resize}.editor-surface .content-media-resizable:hover,.editor-surface .content-media-resizable:focus-within{border-color:#7caef1}.editor-surface .content-media-resizable img{display:block!important;width:100%!important;height:auto!important;max-width:none!important}.editor-surface .content-media-caption{padding:6px 8px;background:#f7f9fc;color:#5a687a;font-size:.82rem}.content-media-resizable{max-width:100%;margin:1em 0}.content-media-resizable img{max-width:100%;height:auto}.content-media-caption{font-size:.88em;color:#64748b}@media(max-width:720px){.editor-media-picker{align-items:stretch;flex-wrap:wrap}.media-picker-panel{position:fixed;z-index:1000;left:4vw;right:4vw;top:12vh;width:auto;max-height:76vh}.media-picker-panel-head{align-items:stretch;flex-direction:column}.media-picker-panel-head input{width:100%}.media-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.media-picker-selected{flex:1 1 100%}}

/* Build 039 — Travel Guide publishing/discovery upgrade */
.travel-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.travel-guide-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px rgba(15,23,42,.06);display:flex;flex-direction:column}.travel-guide-summary-media{aspect-ratio:16/10;background:#eef4f8;display:block;overflow:hidden}.travel-guide-summary-media img{width:100%;height:100%;object-fit:cover}.travel-guide-summary-placeholder{display:grid;place-items:center;font-size:44px}.travel-guide-summary-copy{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1}.travel-guide-summary-copy h2{font-size:1.16rem;margin:0}.travel-guide-summary-copy p{margin:0;color:#526071}.travel-guide-card-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:.82rem;color:#64748b}.guide-category-chips{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 22px}.guide-category-chips span{padding:6px 10px;border-radius:999px;background:#eff6ff;border:1px solid #dbeafe;font-size:.84rem}.guide-related-section{margin-top:34px}.related-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.related-guide-card{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid #e2e8f0;border-radius:14px;text-decoration:none;background:#fff}.related-guide-card img{width:96px;height:72px;object-fit:cover;border-radius:10px}.related-guide-card span{display:flex;flex-direction:column;gap:4px}.related-guide-card small{color:#64748b}.featured-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;max-height:360px;overflow:auto;margin-top:10px;padding:8px;border:1px solid #dbe4ee;border-radius:12px;background:#f8fafc}.featured-media-card{border:2px solid transparent;background:#fff;border-radius:10px;padding:6px;cursor:pointer;text-align:left}.featured-media-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:7px;display:block}.featured-media-card small{display:block;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.featured-media-card.is-selected{border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.12)}.guide-category-options{display:flex;gap:10px 16px;flex-wrap:wrap}.guide-category-options label{display:flex;gap:6px;align-items:center;padding:8px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.content-media-resizable.is-selected{outline:3px solid #2563eb;outline-offset:3px}
@media(max-width:900px){.travel-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.travel-guide-grid,.related-guide-grid{grid-template-columns:1fr}}

/* Build 040 — Place/Business profile media */
.directory-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px;margin-top:14px}.directory-media-card{border:1px solid #dce5ee;border-radius:16px;background:#fff;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.directory-media-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.08)}.directory-media-card.is-featured{border:2px solid #1677ff;box-shadow:0 0 0 3px rgba(22,119,255,.09)}.directory-media-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#eef3f7}.directory-media-card>div{padding:9px 10px}.directory-media-card b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.88rem}.directory-media-card small{display:block;color:#64748b;margin-top:3px}.directory-media-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #edf2f7}.directory-media-actions label{display:flex;gap:5px;align-items:center;font-size:.82rem}.entity-profile-cover{margin:-1px -1px 22px;border-radius:22px 22px 14px 14px;overflow:hidden;max-height:520px;background:#eef3f7}.entity-profile-cover img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover}.entity-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.entity-photo-card{margin:0;border-radius:16px;overflow:hidden;background:#f8fafc;border:1px solid #e5eaf0}.entity-photo-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.entity-photo-card figcaption{padding:9px 11px;font-size:.86rem;color:#475569}.section-heading{display:flex;justify-content:space-between;gap:14px;align-items:end;margin-bottom:14px}.section-heading h2{margin:.15rem 0 0}.section-heading small{color:#64748b}@media(max-width:700px){.directory-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.directory-media-actions{display:grid}.entity-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.entity-profile-cover{margin-bottom:16px}}@media(prefers-reduced-motion:reduce){.directory-media-card{transition:none}.directory-media-card:hover{transform:none}}

/* Build 041 — clearer Travel Guide authoring sections */
.guide-editor-section{margin:18px 0;padding:18px;border:1px solid #dbe7f3;border-radius:16px;background:#fff}.guide-editor-section-head{margin-bottom:14px}.guide-editor-section-head h3{margin:0 0 4px;font-size:1.05rem}.guide-editor-section-head p{margin:0;color:#64748b;font-size:.9rem}.guide-editor-media-section{background:linear-gradient(180deg,#f8fbff,#fff)}.guide-editor-map-section{background:linear-gradient(180deg,#f7fffb,#fff)}.guide-editor-content-section{border-top:3px solid #dbeafe;padding-top:18px}.featured-media-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.featured-media-card.is-selected{outline:3px solid #2563eb;outline-offset:2px}.featured-media-card.is-selected:after{content:'Selected';display:block;font-weight:700;color:#1d4ed8;margin-top:5px}@media(max-width:700px){.guide-editor-section{padding:13px;margin:14px 0}}

/* Build 042 — reversible listing archive, editable maps, editor image context menu */
.editor-image-context-menu{position:fixed;z-index:10000;min-width:150px;padding:6px;background:#fff;border:1px solid #d8e1ec;border-radius:10px;box-shadow:0 14px 36px rgba(15,23,42,.18)}
.editor-image-context-menu[hidden]{display:none!important}.editor-image-context-menu button{width:100%;border:0;background:transparent;text-align:left;padding:9px 10px;border-radius:7px;cursor:pointer;color:#b42318;font-weight:700}.editor-image-context-menu button:hover,.editor-image-context-menu button:focus{background:#fff1f0;outline:none}.content-media-resizable.is-selected{outline:2px solid #2563eb;outline-offset:3px}
.listing-admin-tabs{display:flex;gap:10px;margin:0 0 18px}.admin-tab{display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;border:1px solid #d8e1ec;border-radius:10px;background:#fff;color:#334155;text-decoration:none;font-weight:700}.admin-tab.is-active{background:#1d4ed8;color:#fff;border-color:#1d4ed8}.listing-edit-panel{margin-bottom:18px}.admin-subsection{border-top:1px solid #e5eaf1;padding-top:14px}.admin-subsection h3{margin:0 0 4px}.admin-subsection p{margin:0;color:#64748b}.map-clear-form{margin-top:10px}
@media(max-width:700px){.listing-admin-tabs{flex-direction:column}.admin-tab{width:100%}.editor-image-context-menu{min-width:140px}}

/* Build 043 — Claim This Business / Place foundation */
.claim-cta{margin-top:20px;padding:16px;border:1px solid var(--line,#dfe6ee);border-radius:16px;background:rgba(255,255,255,.76);display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap}.claim-cta strong{display:block;margin-bottom:4px}.claim-cta small{display:block;max-width:680px;color:var(--muted,#64748b)}.claim-page{max-width:980px}.claim-page .hero-card h2{margin:.35rem 0 0}.claim-form label{display:block}.claim-success{border-left:4px solid #16a34a}.honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.check-row{display:flex!important;gap:10px;align-items:flex-start;margin:18px 0}.check-row input{width:auto!important;margin-top:4px}.muted-chip{opacity:.78}.button-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}.button-tabs a{display:inline-flex;padding:10px 16px;border:1px solid var(--line,#dfe6ee);border-radius:12px;text-decoration:none;background:#fff;font-weight:700}.button-tabs a.active{background:#0f6fff;color:#fff;border-color:#0f6fff}.table-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.table-actions form{margin:0}
@media(max-width:700px){.claim-cta{align-items:stretch}.claim-cta .btn{width:100%;text-align:center}}
/* Build 044 member & owner workspace */
.member-auth{min-height:100vh;display:grid;place-items:center;padding:32px 16px;background:linear-gradient(135deg,#f4f8ff,#f3fff8)}.member-card{background:#fff;border:1px solid #dce5ef;border-radius:22px;padding:28px;box-shadow:0 16px 50px rgba(20,45,75,.08);max-width:760px}.member-auth .member-card{width:min(100%,520px)}.member-card form{display:grid;gap:16px}.member-card label{display:grid;gap:7px;font-weight:700}.member-card input,.member-card textarea{width:100%;padding:12px 14px;border:1px solid #cbd7e3;border-radius:11px;font:inherit}.member-dashboard{padding-top:30px;padding-bottom:60px}.member-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:24px;border-radius:22px;background:linear-gradient(135deg,#eef6ff,#effff5);margin-bottom:28px}.owner-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.owner-card,.empty-card{border:1px solid #dce5ef;border-radius:18px;padding:20px;background:#fff}.status-chip{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef6ff;font-size:.82rem;font-weight:700}.owner-editor{margin-top:18px}.guardrail{margin-top:22px;padding:16px;border-radius:14px;background:#fff8e8}.table-scroll{overflow:auto}.table-scroll table{width:100%;border-collapse:collapse}.table-scroll th,.table-scroll td{padding:12px;border-bottom:1px solid #e5ebf1;text-align:left}@media(max-width:680px){.member-hero{display:block}.member-hero form{margin-top:14px}}
/* Build 045 hours, services & amenities */
.owner-form-section{margin:1.25rem 0;padding:1rem;border:1px solid #dfe7ef;border-radius:16px;background:#fff}.owner-form-section h2{margin-top:0}.hours-grid{display:grid;gap:.65rem}.hours-row{display:grid;grid-template-columns:minmax(90px,1fr) auto minmax(110px,1fr) minmax(110px,1fr) minmax(140px,1.4fr);gap:.6rem;align-items:end;padding:.65rem;border-radius:12px;background:#f7fafc}.hours-row label{margin:0}.inline-check{align-self:center}.feature-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.feature-picker fieldset{border:1px solid #dfe7ef;border-radius:12px;padding:.8rem}.feature-option{display:flex;gap:.5rem;align-items:center;padding:.45rem}.public-hours{max-width:720px}.public-hours-row{display:grid;grid-template-columns:130px 150px 1fr;gap:.75rem;padding:.55rem 0;border-bottom:1px solid #edf1f5}.feature-chips{display:flex;flex-wrap:wrap;gap:.5rem}.feature-chip{display:inline-flex;padding:.5rem .75rem;border-radius:999px;background:#f0f7f5;border:1px solid #d7eae4}.public-features{margin-top:1.25rem}@media(max-width:720px){.hours-row{grid-template-columns:1fr 1fr}.hours-row>strong{grid-column:1/-1}.feature-picker{grid-template-columns:1fr}.public-hours-row{grid-template-columns:1fr 1fr}.public-hours-row small{grid-column:1/-1}}

/* Build 046 Reviews */
.community-reviews{margin-top:24px}.review-list{display:grid;gap:14px}.review-card{border:1px solid #e5e7eb;border-radius:14px;padding:16px}.review-card h3{margin:.45rem 0}.review-form{max-width:760px;margin:28px auto}.review-form label{display:block;margin:14px 0}.review-form input,.review-form textarea,.review-form select{width:100%;margin-top:6px}
/* Build 048 — Mesra Award public integration */
.mesra-award-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.38rem .65rem;border-radius:999px;font-weight:800;background:linear-gradient(135deg,#fff8dc,#fff);border:1px solid #e6c96b;color:#594300}
.award-profile-grid{display:grid;gap:1rem}.award-profile-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid var(--border,#dbe4ee);border-radius:16px;background:#fff}.award-profile-card h3{margin:.55rem 0 .25rem}.award-profile-card p{margin:.2rem 0}.award-public-card{max-width:900px;margin:2rem auto}.award-recipient{font-size:1.3rem;font-weight:700}.award-status-line{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin:1rem 0}.award-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1.25rem 0}.award-facts>div{padding:.85rem 1rem;border:1px solid var(--border,#dbe4ee);border-radius:14px;background:#fff}.award-facts dt{font-size:.8rem;color:#64748b}.award-facts dd{margin:.25rem 0 0;font-weight:700}.award-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.award-link-grid select{width:100%}@media(max-width:760px){.award-profile-card{align-items:flex-start;flex-direction:column}.award-facts,.award-link-grid{grid-template-columns:1fr}}

/* Build 050 — comprehensive demo data controls and visible sample labelling */
.demo-control-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.demo-control-actions form{margin:0}.demo-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:18px 0}.demo-stat{display:flex;flex-direction:column;gap:4px;align-items:flex-start}.demo-stat strong{font-size:1.55rem}.demo-stat span{color:#64748b}.demo-readiness-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.demo-readiness-grid>div{padding:14px;border:1px solid #dfe7ef;border-radius:14px;background:#fff}.demo-readiness-grid b,.demo-readiness-grid span{display:block}.demo-readiness-grid span{margin-top:4px;color:#64748b}.demo-access{border-left:4px solid #2563eb}.demo-chip{margin-left:.4rem;background:#fff3cd!important;color:#664d03!important;border:1px solid #ffecb5}.demo-public-warning{margin:1rem 0;padding:14px 16px;border:2px solid #e5a100;border-radius:14px;background:#fff8df;color:#5f4600}.admin-subtext{display:block;color:#64748b;margin-top:3px}@media(max-width:760px){.demo-readiness-grid{grid-template-columns:1fr}.demo-control-actions{align-items:stretch}.demo-control-actions form,.demo-control-actions button{width:100%}}
.owner-review-reply{margin-top:14px;padding:12px 14px;border-left:3px solid currentColor;background:rgba(0,0,0,.035);border-radius:8px}.owner-review-reply p{margin:.45rem 0}.review-actions{margin-top:10px;font-size:.88rem}.review-actions a{text-decoration:none}.review-actions a:hover{text-decoration:underline}
.trip-inline-form,.trip-create-grid,.trip-item-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;align-items:end}.trip-inline-form label,.trip-create-grid label,.trip-item-form label{display:grid;gap:6px;font-weight:700}.trip-inline-form input,.trip-inline-form select,.trip-create-grid input,.trip-create-grid textarea,.trip-item-form input{width:100%;padding:11px 12px;border:1px solid #cbd7e3;border-radius:10px;font:inherit}.trip-notes{grid-column:span 2}.trip-timeline{display:grid;gap:18px}.trip-stop{position:relative}.trip-stop:before{content:"";position:absolute;left:-10px;top:28px;width:10px;height:10px;border-radius:50%;background:currentColor}.trip-stop-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}@media(max-width:680px){.trip-notes{grid-column:auto}.trip-stop-head{display:block}.trip-stop-head>a{display:inline-block;margin-top:8px}}
/* Build 057 — Trip Map & Directions */
.trip-map-page{padding-top:28px;padding-bottom:60px}.trip-map-actions{margin-bottom:16px}.trip-itinerary-map{min-height:520px;border-radius:18px;overflow:hidden;border:1px solid #dbe4ee}.trip-map-stop-list{margin-top:16px;padding:18px 18px 18px 42px}.trip-map-stop-list li{padding:10px 4px;border-bottom:1px solid #edf1f5}.trip-map-stop-list li:last-child{border-bottom:0}.trip-map-stop-list span{display:block;color:#64748b;margin:4px 0}.trip-map-stop-list a{text-decoration:none;font-size:.9rem}@media(max-width:700px){.trip-itinerary-map{min-height:380px}.trip-map-actions .map-actions{align-items:stretch}.trip-map-actions .btn{width:100%;text-align:center}}@media print{.trip-itinerary-map{min-height:360px}.leaflet-control-container,.trip-map-actions .btn{display:none!important}}
/* Build 059 — Road Trip Planner & Budget Engine */
.road-trip-profile,.trip-budget-card,.trip-route-card{margin:20px 0}.trip-budget-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.trip-budget-summary article{padding:14px;border:1px solid #dfe7ef;border-radius:14px;background:#f8fbff}.trip-budget-summary span,.trip-budget-summary strong{display:block}.trip-budget-summary span{font-size:.82rem;color:#64748b;margin-bottom:4px}.trip-budget-summary strong{font-size:1.15rem}.trip-budget-list{display:grid;gap:10px;margin:16px 0}.trip-budget-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #e1e8ef;border-radius:12px;background:#fff}.trip-budget-row>div:first-child{display:grid;gap:4px}.trip-budget-row small{color:#64748b}.trip-budget-row>div:last-child{text-align:right}.trip-budget-add{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;align-items:end;margin-top:16px}.trip-budget-add label{display:grid;gap:6px;font-weight:700}.trip-budget-add input,.trip-budget-add select{width:100%;padding:11px 12px;border:1px solid #cbd7e3;border-radius:10px;font:inherit}@media(max-width:720px){.trip-budget-summary{grid-template-columns:1fr}.trip-budget-row{align-items:flex-start;flex-direction:column}.trip-budget-row>div:last-child{text-align:left;width:100%}}
/* Build 067 — easy feature discovery */
.feature-discovery-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:18px 0 28px}.feature-discovery-card{display:flex;min-height:118px;flex-direction:column;justify-content:center;gap:8px;padding:20px;border:1px solid #dbe5ef;border-radius:18px;background:#fff;text-decoration:none;color:inherit;box-shadow:0 8px 24px rgba(30,55,80,.06);transition:transform .15s ease,box-shadow .15s ease}.feature-discovery-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(30,55,80,.1)}.feature-discovery-card b{font-size:1.05rem}.feature-discovery-card span{color:#52606d}.plan-book-section{padding-top:8px}.plan-trip-link{font-weight:700}.partner-link{white-space:nowrap}@media(max-width:1050px){.feature-discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.feature-discovery-grid{grid-template-columns:1fr}.feature-discovery-card{min-height:88px}.plan-trip-link,.partner-link{display:block}}
@media(prefers-reduced-motion:reduce){.feature-discovery-card{transition:none}.feature-discovery-card:hover{transform:none}}


/* Build 067 R2 — Travel Assistant card rendering hardening. Unique mg-ta-* selectors prevent global link/card rules from flattening the service grid. */
.mg-ta-section{margin:34px 0 42px;padding:28px 30px 30px;border:1px solid #dce6f2;border-radius:22px;background:linear-gradient(135deg,#f8fbff 0%,#f7fff9 100%);box-shadow:0 10px 30px rgba(22,54,92,.045)}
.mg-ta-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px}.mg-ta-head h2{margin:5px 0 6px;font-size:28px;letter-spacing:-.025em;color:#17243a}.mg-ta-head p{margin:0;color:#607086;line-height:1.55}.mg-ta-bookings{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;padding:10px 14px;border:1px solid #cfe0f4;border-radius:11px;background:#fff;font-weight:800;text-decoration:none!important;box-shadow:0 4px 14px rgba(27,65,107,.05)}.mg-ta-bookings:hover{background:#f4f9ff;border-color:#abcaf0}
.mg-ta-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;width:100%;margin:0!important}.mg-ta-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important;float:none!important;position:relative;min-width:0!important;min-height:190px!important;padding:19px 18px!important;border:1px solid #dce5ef!important;border-radius:17px!important;background:#fff!important;color:#18324d!important;text-decoration:none!important;box-shadow:0 6px 20px rgba(24,55,90,.045)!important;white-space:normal!important;overflow-wrap:anywhere;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.mg-ta-card:hover{transform:translateY(-3px);border-color:#bdd4ef!important;box-shadow:0 14px 30px rgba(24,55,90,.10)!important}.mg-ta-card>*{float:none!important;position:static}.mg-ta-icon{display:grid!important;place-items:center;width:44px;height:44px;margin:0 0 14px!important;border-radius:13px;background:#f0f6ff;font-size:22px;line-height:1}.mg-ta-title{display:block!important;font-size:1rem;line-height:1.3;color:#173052!important;font-weight:800}.mg-ta-desc{display:block!important;margin:7px 0 0!important;color:#6a7b8f!important;font-size:.82rem!important;line-height:1.5!important;font-weight:400!important}.mg-ta-action{display:block!important;margin-top:auto!important;padding-top:15px;color:#1267df!important;font-size:.88rem!important;font-weight:800!important}
@media(max-width:1100px){.mg-ta-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:760px){.mg-ta-section{padding:22px 18px 24px;margin-bottom:34px}.mg-ta-head{align-items:flex-start;flex-direction:column;gap:14px}.mg-ta-bookings{width:100%}.mg-ta-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mg-ta-card{min-height:176px!important}}@media(max-width:480px){.mg-ta-grid{grid-template-columns:1fr!important}.mg-ta-card{min-height:0!important}.mg-ta-action{margin-top:8px!important}.mg-ta-head h2{font-size:24px}}@media(prefers-reduced-motion:reduce){.mg-ta-card{transition:none}.mg-ta-card:hover{transform:none}}

/* Build 068 — Trip-to-Request handoff */
.owner-card:target,.card:target{scroll-margin-top:7rem;outline:3px solid rgba(15,118,110,.22);outline-offset:3px}.owner-card .btn+.btn{margin-left:.45rem}.notice+section{margin-top:1rem}@media(max-width:640px){.owner-card .btn+.btn{margin-left:0;margin-top:.55rem}}

/* Build 069 — visible language selector, default-location guidance, password recovery */
.mg-language-bar{position:relative;z-index:120;background:#f7faff;border-bottom:1px solid #e2eaf4}.mg-language-bar-inner{max-width:1240px;margin:0 auto;padding:7px 18px;display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.mg-language-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 11px;border:1px solid #d4dfec;border-radius:999px;background:#fff;color:#314a66;text-decoration:none;font-size:12px;font-weight:800;line-height:1.2}.mg-language-button:hover,.mg-language-button:focus-visible{border-color:#8eb8ef;background:#edf5ff;outline:none}.mg-language-button.active{background:#173052;color:#fff;border-color:#173052}.home-location-guidance{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin-top:14px;padding:14px 16px;border:1px solid #cfe1fa;border-radius:14px;background:#f6faff;color:#2a405b}.home-location-guidance-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#2f78df;color:#fff;font-weight:900}.home-location-guidance-text{font-size:.94rem;line-height:1.5}.home-location-change-btn{white-space:nowrap}.member-auth-actions{display:flex;justify-content:flex-end;margin:-2px 0 12px}.member-auth-actions a{font-size:.9rem;font-weight:700}.translation-health{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}.translation-health-card{padding:15px;border:1px solid #dfe7f1;border-radius:14px;background:#fbfdff}.translation-health-card strong{display:block;font-size:1.45rem;color:#173052}.translation-source{margin-top:5px;padding:7px 9px;border-radius:8px;background:#f4f7fb;color:#53667c;font-size:12px;line-height:1.4}.translation-new-badge{display:inline-flex;margin-top:5px;padding:3px 7px;border-radius:999px;background:#fff3cd;color:#6c5100;font-size:11px;font-weight:800}
@media(max-width:760px){.mg-language-bar-inner{justify-content:center;padding:7px 10px}.mg-language-button{flex:1 1 auto;max-width:150px}.home-location-guidance{grid-template-columns:auto 1fr}.home-location-change-btn{grid-column:1/-1;width:100%}.translation-health{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.mg-language-button{transition:none!important}}

/* Build 070 — provider-aware registration */
.member-register-page{padding-top:1.25rem;padding-bottom:3rem}.member-register-hero{margin-bottom:1rem}.member-register-hero h1{margin:.25rem 0}.member-register-form{display:grid;gap:1rem;max-width:1100px}.registration-section{margin:0}.registration-section h2,.registration-section h3{margin-top:0}.registration-grid{align-items:start}.registration-grid label{display:flex;flex-direction:column;gap:.42rem}.registration-grid .full{grid-column:1/-1}.registration-submit-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding:.5rem 0}.registration-submit-row p{margin:0}.provider-specific[hidden],.provider-common[hidden],.provider-field[hidden]{display:none!important}@media(max-width:720px){.member-register-page{padding-top:.75rem}.registration-grid{grid-template-columns:1fr!important}.registration-grid .full{grid-column:auto}.registration-submit-row .btn{width:100%}}

/* Build 071 — partner detail, private credential documents and mobile registration */
.provider-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1rem 0}.provider-detail-grid>div{padding:.9rem;border:1px solid rgba(15,23,42,.1);border-radius:14px;background:rgba(255,255,255,.72);overflow-wrap:anywhere}.danger-zone{border:1px solid rgba(153,27,27,.22)}.admin-action-row{display:flex;gap:1rem;flex-wrap:wrap;align-items:flex-end}.admin-json{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.btn.danger{border-color:rgba(153,27,27,.35)}.member-provider-application input[type=file]{padding:.8rem;background:#fff;border:1px dashed rgba(15,23,42,.25);border-radius:12px}@media(max-width:900px){.provider-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.provider-detail-grid{grid-template-columns:1fr}.admin-action-row{display:block}.admin-action-row form{margin-bottom:1rem}}
/* Build 134: location attention + governed sponsored hero */
.location-attention{display:inline-block;margin-right:4px;animation:mgLocationTwinkle 1.6s ease-in-out infinite;transform-origin:center}.hero-sponsored-link{display:block;position:absolute;inset:0;color:inherit}.hero-sponsored-link>img{width:100%;height:100%;object-fit:cover}.hero-sponsored-label{position:absolute;z-index:4;right:14px;top:14px;background:rgba(255,255,255,.94);padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;color:#26384b}.hero-sponsored-link .hero-float-card{color:#173052}@keyframes mgLocationTwinkle{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1.25)}}@media(prefers-reduced-motion:reduce){.location-attention{animation:none!important;opacity:1}}

/* Build 138 — environmental/tide condition card */
.environment-condition-card{border:1px solid rgba(16,185,129,.22);background:linear-gradient(135deg,rgba(236,253,245,.94),rgba(239,246,255,.94));}
.environment-warning-chip{font-weight:700;}
.environment-safety-note{margin:1rem 0;padding:.9rem 1rem;border-left:4px solid currentColor;border-radius:.65rem;background:rgba(255,255,255,.78);}
.environment-observations{display:grid;gap:.75rem;margin-top:1rem}.environment-observations article{padding:.8rem 1rem;border-radius:.75rem;background:rgba(255,255,255,.72)}.environment-observations article strong,.environment-observations article small{display:block}.environment-observations article p{margin:.35rem 0}
@media (max-width:700px){.environment-condition-card .section-heading{align-items:flex-start;gap:.6rem}.environment-condition-card .btn{width:100%;text-align:center}}
@media (prefers-reduced-motion:reduce){.environment-condition-card *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Build 145 — compact 150px Media Library with click-through detail dialog */
.media-grid-compact{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px;align-items:start}.media-card-compact{display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px;min-width:0}.media-thumb-button{border:0;background:transparent;padding:0;cursor:pointer;border-radius:8px}.media-thumb-button:focus-visible{outline:3px solid currentColor;outline-offset:3px}.media-thumb-button img{display:block;width:150px;height:auto;max-height:150px;object-fit:contain;border-radius:8px}.media-filename{width:150px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem}.media-detail-dialog{width:min(900px,94vw);max-height:90vh;border:0;border-radius:14px;padding:0;box-shadow:0 20px 70px rgba(0,0,0,.28)}.media-detail-dialog::backdrop{background:rgba(0,0,0,.5)}.media-detail-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;border-bottom:1px solid rgba(127,127,127,.22)}.media-detail-layout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(280px,1fr);gap:20px;padding:18px;overflow:auto}.media-detail-image{display:block;max-width:100%;height:auto;max-height:65vh;object-fit:contain;margin:auto}.media-detail-meta p{margin:.45rem 0}.media-detail-meta .admin-form{margin-top:14px}@media(max-width:720px){.media-detail-layout{grid-template-columns:1fr}.media-grid-compact{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}}
/* Build 151: MesraGuide Partner installable app shell. */
.partner-app-body{min-height:100vh;padding-bottom:calc(18px + env(safe-area-inset-bottom));background:#f6f9fc}.partner-app-bar{position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px max(14px,env(safe-area-inset-left)) 10px max(14px,env(safe-area-inset-right));background:rgba(255,255,255,.96);border-bottom:1px solid #dbe4ee;backdrop-filter:blur(12px)}.partner-app-shell{padding-top:18px}.partner-app-hero{margin-bottom:18px}.partner-app-card{display:flex;flex-direction:column;align-items:flex-start}.partner-app-card .partner-app-open{margin-top:auto}.partner-app-stats .owner-card strong{font-size:1.7rem}@media(max-width:720px){.partner-app-bar{align-items:flex-start;flex-direction:column}.partner-app-bar>div{display:flex;gap:8px;flex-wrap:wrap}.partner-app-shell{padding-left:12px;padding-right:12px}.partner-app-hero{display:block}.partner-app-card .btn{width:100%;text-align:center;margin-top:8px}}

/* Build 158 — in-content Google ad blocks + Hidden Gems */
.mg-google-ad-block{margin:1rem 0;padding:18px;border:2px dashed #b8c7d9;border-radius:14px;background:#f7faff;text-align:center;color:#4a5f77;user-select:none}.mg-google-ad-block strong{display:block;letter-spacing:.08em;font-size:.75rem}.editor-ad-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px;border-top:1px solid #e4eaf1;background:#fbfdff}.editor-ad-row label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.editor-ad-row select{min-width:240px}.mg-incontent-ad{display:block;margin:28px 0;padding:10px 0;overflow:hidden;text-align:center}.mg-ad-label{display:block;margin-bottom:8px;color:#6b7280;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase}.guide-detail-page .mg-incontent-ad{border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5}.guide-detail-page .mg-incontent-ad:empty{display:none!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}@media(max-width:640px){.editor-ad-row{align-items:stretch;flex-direction:column}.editor-ad-row label,.editor-ad-row select{width:100%}}

/* Build 159 Partner Travel Plan content blocks */
.editor-travel-plan-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px;border-top:1px solid #e4eaf1;background:#fbfdff}.editor-travel-plan-row label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.editor-travel-plan-row select{min-width:220px}.mg-travel-plan-block{margin:1rem 0;padding:18px;border:2px dashed #a8b8ca;border-radius:14px;background:#f8fbff;text-align:center;color:#43566d;user-select:none}.mg-travel-plan-block strong{display:block;letter-spacing:.08em;font-size:.75rem}.mg-travel-plan-embed{display:block;margin:28px 0;padding:20px;border:1px solid #dfe7ef;border-radius:18px;background:#fff;box-shadow:0 8px 26px rgba(15,23,42,.06)}.mg-travel-plan-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.mg-travel-plan-label{font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.mg-travel-plan-embed h3{margin:.55rem 0 .35rem}.mg-travel-plan-meta{color:#475569}.mg-travel-plan-compact{padding:16px}.mg-travel-plan-full{padding:24px}.mg-travel-plan-section{margin-top:1.1rem;padding-top:.9rem;border-top:1px solid #edf1f5}.mg-travel-plan-section h4{margin:0 0 .45rem}.mg-travel-plan-disclaimer{font-size:.9rem;color:#64748b}.mg-travel-plan-inline{display:inline;padding:.18em .35em;margin:0;border:0;box-shadow:none;background:#f7fafc;border-radius:6px}.mg-travel-plan-inline a{font-weight:700}.owner-card[id^=travel-package-]{scroll-margin-top:100px}@media(max-width:640px){.editor-travel-plan-row{align-items:stretch;flex-direction:column}.editor-travel-plan-row label,.editor-travel-plan-row select{width:100%}.mg-travel-plan-top{align-items:flex-start;flex-direction:column}.mg-travel-plan-embed .btn{width:100%;text-align:center}}

/* Build 160 — homepage advertising contact + social buttons */
.home-contact-social{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:28px 0;padding:18px 20px;border:1px solid #dce6f2;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(24,55,90,.04)}
.home-contact-social:empty{display:none}.home-ad-contact{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#52657a}.home-ad-contact-label{font-weight:700}.home-ad-contact-phone{font-weight:900;text-decoration:none;color:#145fc4}.home-ad-contact-phone:hover{text-decoration:underline}.home-social-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.home-social-button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 11px;border:1px solid #d7e2ef;border-radius:999px;background:#f9fbfe;color:#243b55;text-decoration:none;font-size:.86rem;font-weight:800;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.home-social-button span{display:grid;place-items:center;min-width:20px;font-weight:900}.home-social-button:hover{transform:translateY(-1px);border-color:#aebfd3;box-shadow:0 5px 14px rgba(24,55,90,.07)}
@media(max-width:720px){.home-contact-social{align-items:flex-start;flex-direction:column}.home-social-buttons{width:100%}.home-social-button{flex:1 1 calc(50% - 8px);justify-content:center}.home-ad-contact{width:100%}}
@media(max-width:430px){.home-social-button{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.home-social-button{transition:none}.home-social-button:hover{transform:none}}
/* Build 161 RC2 — content safety, sharing, reporting and production operations */
.health-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0}.health-card-grid .card h2{font-size:2rem;margin:.35rem 0}.mg-share-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0;padding:12px 14px;border:1px solid rgba(15,23,42,.1);border-radius:14px;background:rgba(255,255,255,.72)}.mg-share-actions a,.mg-share-actions .btn-link{font:inherit;border:0;background:transparent;padding:5px 7px;text-decoration:none;cursor:pointer}.mg-share-actions a:hover,.mg-share-actions .btn-link:hover{text-decoration:underline}.mg-report-incorrect{margin:18px 0;padding:12px 14px;border:1px solid rgba(15,23,42,.1);border-radius:14px;background:rgba(248,250,252,.82)}.mg-report-incorrect summary{cursor:pointer;font-weight:700}.mg-report-incorrect form{margin-top:12px}.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.inline-form{display:flex;gap:6px;flex-wrap:wrap}.status-chip+form{margin-top:6px}
@media(max-width:1000px){.health-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.health-card-grid{grid-template-columns:1fr}.mg-share-actions{align-items:flex-start}.mg-share-actions strong{width:100%}}
/* Build 164 RC5 — geography cascades and admin previews */
.admin-inline-preview{margin-top:.55rem}.admin-inline-preview>summary{display:inline-flex;cursor:pointer;list-style:none}.admin-inline-preview>summary::-webkit-details-marker{display:none}.admin-preview-card{margin-top:.6rem;padding:.85rem;border:1px solid rgba(0,0,0,.12);border-radius:12px;background:rgba(255,255,255,.72);max-width:680px}.article-admin-preview .article-content{max-width:900px;margin:1rem auto;line-height:1.7}.geo-cascade-form select option[hidden]{display:none}

/* Build 168 RC9 — tidy accordion Admin menu, Hidden Gem Option 9, emergency/safety */
.side-accordion{margin:4px 0}.side-accordion-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;background:transparent;color:inherit;padding:10px 12px;font:inherit;font-weight:800;text-align:left;cursor:pointer;border-radius:10px}.side-accordion-toggle:hover,.side-accordion-toggle:focus-visible{background:rgba(255,255,255,.08);outline:none}.side-accordion-toggle b{transition:transform .18s ease}.side-accordion.open .side-accordion-toggle b{transform:rotate(180deg)}.side-accordion-body{display:none}.side-accordion.open .side-accordion-body{display:block}.side-accordion-body>a{padding-left:20px!important}
.hidden-gem-page{--hg-purple:#5b3df5;--hg-pink:#d23de8;--hg-blue:#1877f2}.hidden-gem-hero{position:relative;overflow:hidden;padding:34px;border-radius:24px;background:linear-gradient(120deg,#101a3c,#4a34d7 58%,#cc3ad9);color:#fff;box-shadow:0 18px 50px rgba(38,37,109,.2)}.hidden-gem-hero h1{font-size:clamp(2.2rem,5vw,4.6rem);margin:.2rem 0}.hidden-gem-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.hidden-gem-card{overflow:hidden;padding:0;border:1px solid #e4e8f2;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(31,41,55,.08)}.hidden-gem-media{position:relative;aspect-ratio:3/2;overflow:hidden;background:#e9eef6}.hidden-gem-media img{width:100%;height:100%;object-fit:cover}.hidden-gem-badge{position:absolute;top:12px;left:12px;z-index:2;display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:linear-gradient(120deg,var(--hg-blue),var(--hg-purple) 50%,var(--hg-pink));color:#fff;font-size:.78rem;font-weight:900;letter-spacing:.03em;box-shadow:0 7px 20px rgba(72,54,218,.36);animation:mgHiddenGemFloat 4s ease-in-out infinite}.hidden-gem-badge:before{content:'◆';font-size:.92rem;text-shadow:0 0 9px rgba(255,255,255,.8)}.hidden-gem-body{padding:18px}.hidden-gem-why{margin:12px 0;padding:12px 14px;border-left:4px solid var(--hg-purple);border-radius:10px;background:#f7f5ff}.hidden-gem-why strong{display:block;margin-bottom:4px}.emergency-page{padding-bottom:40px}.emergency-hero{margin:24px 0;padding:24px;border-radius:20px;background:linear-gradient(135deg,#fff4f4,#fff);border:1px solid #f0c8c8}.emergency-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.emergency-card{padding:20px;border:1px solid #e5e7eb;border-radius:18px;background:#fff}.emergency-number{font-size:2rem;font-weight:900;margin:12px 0}.weather-provider-admin{padding:16px 0;border-top:1px solid #e5e7eb}
@keyframes mgHiddenGemFloat{0%,100%{transform:translateY(0);filter:saturate(1)}50%{transform:translateY(-3px);filter:saturate(1.12)}}
@media(max-width:900px){.hidden-gem-grid,.emergency-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.hidden-gem-grid,.emergency-grid{grid-template-columns:1fr}.hidden-gem-hero{padding:24px}}
@media(prefers-reduced-motion:reduce){.hidden-gem-badge{animation:none}.side-accordion-toggle b{transition:none}}

/* Build 179 RC20 — Admin menu search */
.admin-menu-search{padding:10px 12px 8px}.admin-menu-search label{display:block;margin:0 0 5px;font-size:.72rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;opacity:.78}.admin-menu-search input{width:100%;min-width:0;padding:9px 10px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(255,255,255,.10);color:inherit;outline:none}.admin-menu-search input::placeholder{color:rgba(255,255,255,.62)}.admin-menu-search input:focus{border-color:rgba(255,255,255,.6);box-shadow:0 0 0 3px rgba(255,255,255,.10)}.admin-menu-search small{display:block;min-height:1em;margin-top:4px;font-size:.7rem;opacity:.72}


/* Build 181 RC22 — Hidden Gems public discovery redesign */
.hidden-gem-page{--hg-navy:#071b3c;--hg-blue:#0a73f7;--hg-cyan:#0fd2ff;--hg-purple:#6042ff;--hg-pink:#ff2fa4;background:#f6f9fd;color:#0b2247}.hg-shell{display:grid;grid-template-columns:minmax(260px,330px) minmax(0,1fr);gap:18px;max-width:1540px;margin:22px auto;padding:0 18px}.hg-sidebar{position:sticky;top:18px;align-self:start;overflow:hidden;border-radius:20px;padding:24px 18px;background:radial-gradient(circle at 20% 6%,rgba(27,209,255,.25),transparent 24%),linear-gradient(160deg,#07152f,#073763 72%,#08527a);color:#fff;box-shadow:0 18px 45px rgba(10,42,85,.18)}.hg-sidebar-brand{display:flex;align-items:center;gap:13px}.hg-sidebar-brand h1{margin:0;font-size:1.65rem}.hg-sidebar-brand p,.hg-sidebar-intro{color:#e7f4ff}.hg-sidebar-brand p{margin:3px 0 0;font-size:.83rem}.hg-sidebar-intro{line-height:1.55;margin:20px 0}.hg-gem-icon{display:inline-grid;place-items:center;width:58px;height:58px;color:#8ef4ff;font-size:2.3rem;transform:rotate(45deg);text-shadow:0 0 8px #00d9ff,0 0 22px #6e45ff,0 0 32px #ff2fa4}.hg-filter-list{display:grid;gap:5px;padding:0 0 16px;border-bottom:1px solid rgba(255,255,255,.15)}.hg-filter-list a{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:9px 11px;border-radius:9px;color:#f7fbff;text-decoration:none}.hg-filter-list a:hover,.hg-filter-list a.active{background:linear-gradient(90deg,#0875f4,#0b66d6)}.hg-filter-list b{font-size:.9rem}.hg-filter-types{padding-top:14px}.hg-sidebar-why{padding:14px 10px}.hg-sidebar-why h2{font-size:1.05rem;margin:0 0 10px}.hg-sidebar-why p{margin:7px 0;color:#eaf8ff;font-size:.88rem}.hg-sidebar-signoff{margin:16px 4px 2px;text-align:center;font-size:1.25rem;font-style:italic;color:#fff;text-shadow:0 0 16px rgba(255,47,164,.7)}.hg-content{min-width:0}.hg-hero{position:relative;min-height:330px;overflow:hidden;border-radius:22px;background:linear-gradient(90deg,rgba(3,27,55,.12),rgba(2,33,59,.74)),url('home/hero-malaysia.webp') center/cover no-repeat;box-shadow:0 15px 42px rgba(14,62,107,.14);color:#fff}.hg-hero-copy{margin-left:auto;max-width:720px;padding:68px 44px 38px}.hg-hero-copy h2{font-size:clamp(2.2rem,4vw,4rem);line-height:.98;margin:12px 0}.hg-hero-copy>p{font-size:1.08rem;max-width:680px}.hg-hero-badge{position:static;width:max-content}.hg-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;background:#fff;border:4px solid rgba(255,255,255,.45);border-radius:999px;padding:5px 6px 5px 16px;margin-top:16px;box-shadow:0 8px 25px rgba(0,0,0,.14)}.hg-search>span{color:#0a3768;font-size:1.35rem}.hg-search input{border:0;outline:0;background:transparent;min-width:0;padding:8px;color:#163b65;font-size:1rem}.hg-search .btn{border-radius:999px;padding:11px 24px}.hg-hero-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.hg-hero-chips a{padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.95);color:#07315e;text-decoration:none;font-size:.78rem;font-weight:700}.hg-section{margin:18px 0 26px}.hg-section-title{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:0 4px 10px}.hg-section-title h2{margin:2px 0;font-size:1.45rem}.hg-section-title>a{color:#076de7;font-weight:700;text-decoration:none}.hg-card-grid{display:grid;gap:14px}.hg-featured-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.hg-card,.hg-mini-card{overflow:hidden;background:#fff;border:1px solid #dfe8f3;border-radius:14px;box-shadow:0 7px 20px rgba(27,61,96,.07)}.hg-card-media,.hg-mini-media{position:relative;display:block;overflow:hidden;background:linear-gradient(140deg,#0a75e8,#5d43fc 55%,#ff2fa4)}.hg-card-media{aspect-ratio:1.45/1}.hg-mini-media{aspect-ratio:1.8/1}.hg-card-media img,.hg-mini-media img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.hg-card:hover img,.hg-mini-card:hover img{transform:scale(1.035)}.hg-media-fallback{display:grid;place-items:center;width:100%;height:100%;font-size:3.2rem;color:#8ff5ff;text-shadow:0 0 18px #fff,0 0 30px #ff2fa4;transform:rotate(45deg)}.hidden-gem-badge{position:absolute;top:10px;left:10px;z-index:2;display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid rgba(255,255,255,.75);border-radius:999px;background:linear-gradient(110deg,#08b9ff,#6843ff 48%,#ff259c);color:#fff;font-size:.72rem;font-weight:900;letter-spacing:.03em;text-transform:uppercase;box-shadow:0 0 8px rgba(11,211,255,.9),0 0 18px rgba(255,37,156,.7);animation:mgHiddenGemFloat 4s ease-in-out infinite}.hidden-gem-badge:before{content:'◆';color:#9cf7ff;text-shadow:0 0 8px #fff}.hg-card-body{padding:12px}.hg-location{display:block;color:#0a4f98;font-size:.73rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hg-card h3,.hg-mini-card h3{margin:6px 0 5px;line-height:1.15}.hg-card h3{font-size:1rem}.hg-card h3 a,.hg-mini-card h3 a{color:#0b234a;text-decoration:none}.hg-card p{min-height:3.45em;margin:0 0 8px;color:#53657c;font-size:.82rem;line-height:1.38}.hg-card-type{display:inline-block;color:#6a3bd7;font-size:.76rem;font-weight:700}.hg-nearby-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hg-mini-card>div:last-child{padding:10px 12px}.hg-mini-card h3{font-size:.95rem}.hg-mini-card p{margin:4px 0 0;color:#48627e;font-size:.76rem}.hg-empty{margin:22px 0;padding:50px 24px;text-align:center;border:1px dashed #b9cae0;border-radius:18px;background:#fff}.hg-empty .hg-gem-icon{margin:auto}.hg-trust-strip{display:flex;justify-content:center;flex-wrap:wrap;gap:30px;padding:16px 20px;border-top:1px solid #d8e7f5;border-bottom:1px solid #d8e7f5;background:#eaf5fc;color:#17426e;font-size:.84rem}.hg-footer{display:flex;justify-content:space-between;gap:20px;max-width:1540px;margin:auto;padding:18px 22px 28px;color:#61738a;font-size:.8rem}.hg-footer nav{display:flex;flex-wrap:wrap;gap:15px}.hg-footer a{color:#47617e;text-decoration:none}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1200px){.hg-featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hg-nearby-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hg-hero-copy{max-width:650px}}
@media(max-width:900px){.hg-shell{grid-template-columns:1fr}.hg-sidebar{position:static}.hg-filter-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hg-sidebar-why,.hg-sidebar-signoff{display:none}.hg-hero{min-height:300px}.hg-hero-copy{max-width:none;padding:52px 28px}.hg-featured-grid,.hg-nearby-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.hg-shell{padding:0 10px;margin-top:12px}.hg-sidebar{padding:18px 14px}.hg-filter-list{grid-template-columns:1fr 1fr}.hg-hero{border-radius:16px}.hg-hero-copy{padding:40px 18px 24px;background:linear-gradient(90deg,rgba(3,29,55,.58),rgba(2,32,59,.7))}.hg-search{grid-template-columns:auto 1fr}.hg-search .btn{grid-column:1/-1;width:100%}.hg-featured-grid,.hg-nearby-grid{grid-template-columns:1fr}.hg-section-title{align-items:start}.hg-section-title>a{font-size:.82rem}.hg-trust-strip{justify-content:flex-start;gap:12px 20px}.hg-footer{flex-direction:column}.hg-card p{min-height:0}}
@media(prefers-reduced-motion:reduce){.hidden-gem-badge{animation:none}.hg-card-media img,.hg-mini-media img{transition:none}.hg-card:hover img,.hg-mini-card:hover img{transform:none}}


/* Build 182 RC23 — Admin POI/search restoration */
.admin-menu-search-row{display:flex;gap:7px;align-items:center}.admin-menu-search-row input{min-width:0;flex:1}.admin-menu-search-row .btn{flex:0 0 auto}.dashboard-quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.dashboard-quick-card{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid #dbe5f0;border-radius:14px;background:#fff;color:inherit;text-decoration:none}.dashboard-quick-card:hover{border-color:#b7cce4;box-shadow:0 8px 22px rgba(30,65,105,.08)}.dashboard-quick-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#eef6ff;color:#1267df;font-weight:800}.dashboard-quick-card small{color:#64778d;line-height:1.45}.dashboard-quick-card>a,.source-link-row a{font-weight:700}.source-link-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px;font-size:.8rem}@media(max-width:640px){.admin-menu-search-row{align-items:stretch}.admin-menu-search-row .btn{min-width:76px}.dashboard-quick-grid{grid-template-columns:1fr}}
.admin-menu-search-row .btn{background:rgba(255,255,255,.96)!important;color:#173052!important;border:1px solid #d5e2f1!important;border-radius:11px!important;box-shadow:0 3px 12px rgba(17,54,92,.10)!important}.admin-menu-search-row .btn:hover,.admin-menu-search-row .btn:focus-visible{border-color:#8fb7e8!important;box-shadow:0 0 0 3px rgba(52,132,224,.16),0 5px 16px rgba(17,54,92,.12)!important}.home-emergency-panel{margin:28px 0;padding:22px;border:1px solid #f0c7c7;border-radius:18px;background:#fffafa;display:flex;justify-content:space-between;gap:22px;align-items:center}.home-emergency-panel h2{margin:4px 0}.home-emergency-numbers{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.home-emergency-number{padding:9px 12px;border:1px solid #efcaca;border-radius:12px;background:#fff;text-decoration:none}.home-emergency-number span{display:block;font-size:.72rem}.home-emergency-number strong{display:block}@media(max-width:720px){.home-emergency-panel{align-items:stretch;flex-direction:column}.home-emergency-numbers{flex-direction:column;align-items:stretch}}

/* Build 196: make the Admin sidebar menu search unmistakably visible. */
.admin-menu-search input{background:#fff!important;color:#173052!important;border:2px solid #7fa9d8!important;box-shadow:0 1px 3px rgba(17,54,92,.12)!important}
.admin-menu-search input::placeholder{color:#6b7f96!important;opacity:1!important}
.admin-menu-search input:hover{border-color:#5c91cf!important}
.admin-menu-search input:focus,.admin-menu-search input:focus-visible{border-color:#176fd6!important;box-shadow:0 0 0 3px rgba(23,111,214,.20),0 3px 12px rgba(17,54,92,.14)!important;outline:none!important}
/* Build 206: listing public profile, sponsored gallery and community */
.listing-promo-headline{font-size:1.15rem;font-weight:700;margin:.4rem 0 1rem}.listing-contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;margin:1rem 0}.listing-contact-grid p,.listing-info-section{padding:.9rem;border:1px solid #e5eaf0;border-radius:12px;background:#fff}.listing-info-section h2{font-size:1.05rem;margin:0 0 .45rem}.listing-gallery{margin-top:1rem}.listing-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem}.listing-gallery-grid img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}.listing-awards,.listing-community{margin-top:1rem}.award-callout{padding:1rem;border:1px solid #e6e7eb;border-radius:12px;margin:.75rem 0}.listing-community-head{display:flex;gap:1rem;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}.listing-comments{margin-top:1rem}.listing-comment{padding:1rem 0;border-top:1px solid #e5e7eb}.listing-comment time{display:block;font-size:.8rem;opacity:.7;margin:.2rem 0}.listing-comment-form{display:grid;gap:.75rem;margin-top:1rem}.listing-comment-form label{display:grid;gap:.35rem}.listing-comment-form textarea{width:100%;min-height:110px}.listing-description{line-height:1.65;margin:1rem 0}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}.media-card{border:1px solid #e5e7eb;border-radius:12px;padding:.65rem;background:#fff}.media-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;margin-bottom:.5rem}[hidden]{display:none!important}@media(max-width:700px){.listing-community-head{display:block}.listing-community-head form,.listing-community-head .btn{margin-top:.65rem;width:100%}}

/* Build 207: search location change, GPS accuracy and normalized listing facilities */
.search-change-location{font-weight:700}.ip-location-accuracy{display:inline-block;margin-left:6px;font-weight:700}.listing-facility-picker .feature-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:10px}.listing-facility-picker fieldset{border:1px solid #dfe7ef;border-radius:12px;padding:12px}.feature-option{display:inline-flex;align-items:center;gap:6px;margin:4px 10px 4px 0}.admin-focus-row{outline:3px solid rgba(0,0,0,.15);outline-offset:-3px}@media(max-width:700px){.listing-facility-picker .feature-picker{grid-template-columns:1fr}}
/* Build 208: resilient Listing links/media and Admin auto-slug behavior. */

/* Build 210 password visibility + compact POI admin controls */
.password-toggle-wrap{position:relative;display:block;width:100%}.password-toggle-wrap>input{width:100%;padding-right:46px!important}.password-toggle-btn{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:8px;background:transparent;display:grid;place-items:center;cursor:pointer;font-size:17px;line-height:1;color:#52657e}.password-toggle-btn:hover,.password-toggle-btn:focus-visible{background:#eef4fb;outline:2px solid transparent}.password-toggle-btn.is-visible{background:#e8f2ff;color:#1767df}.poi-admin-cell{display:flex;align-items:center;gap:11px;min-width:230px}.poi-admin-thumb{width:58px;height:58px;flex:0 0 58px;border-radius:10px;object-fit:cover;border:1px solid #dbe5f0;background:#eef4fa}.poi-admin-thumb-empty{display:grid;place-items:center;font-size:22px;color:#6f8198}.poi-actions-col{width:1%;white-space:nowrap}.poi-actions-cell{width:1%;white-space:nowrap}.poi-inline-actions{flex-wrap:nowrap!important;gap:5px!important}.poi-inline-actions form{display:inline-flex!important;margin:0}.poi-inline-actions .btn{padding:7px 9px!important}@media(max-width:1100px){.poi-inline-actions{flex-wrap:wrap!important}.poi-actions-cell{white-space:normal}}

/* Build 215: compact POI cover + complete linked Guide content */
.entity-place-detail .entity-profile-cover{max-height:350px}
.entity-place-detail .entity-profile-cover img{width:100%;height:350px;max-height:350px;object-fit:cover;object-position:center}
.poi-linked-guides{margin-top:22px}.poi-linked-guide{max-width:900px;margin:0 auto;padding:6px 0 24px}.poi-linked-guide+.poi-linked-guide{border-top:1px solid #e8edf4;padding-top:28px}.poi-linked-guide .travel-guide-body img{max-width:100%;height:auto}.poi-linked-guide .travel-guide-body{overflow-wrap:anywhere}
@media(max-width:700px){.entity-place-detail .entity-profile-cover,.entity-place-detail .entity-profile-cover img{height:240px;max-height:240px}.poi-linked-guides{margin-top:16px}.poi-linked-guide{padding-bottom:18px}}


/* Build 216 — unified modern public article/listing/detail design */
.mg-content-detail{background:linear-gradient(180deg,#f8fbff 0,#f5f7fb 42%,#f7f9fc 100%);color:#15233b}
.mg-content-page{max-width:1180px;margin-left:auto;margin-right:auto;padding-bottom:56px}
.mg-content-hero,.mg-content-section,.mg-content-article{background:#fff;border:1px solid #e5ebf3;border-radius:22px;box-shadow:0 12px 34px rgba(31,50,81,.065)}
.mg-content-hero{overflow:hidden;margin-bottom:16px}
.mg-content-section{margin-top:18px;padding:clamp(20px,3vw,32px)}
.mg-detail-nav{position:sticky;top:0;z-index:25;display:flex;gap:6px;align-items:center;overflow-x:auto;padding:9px 10px;margin:0 0 18px;background:rgba(255,255,255,.96);border:1px solid #e4eaf2;border-radius:16px;box-shadow:0 8px 24px rgba(31,50,81,.07);backdrop-filter:blur(12px);scrollbar-width:none}
.mg-detail-nav::-webkit-scrollbar{display:none}.mg-detail-nav a{flex:0 0 auto;padding:9px 14px;border-radius:11px;color:#34445d;font-weight:700;text-decoration:none;font-size:.92rem}.mg-detail-nav a:hover,.mg-detail-nav a:focus{background:#edf5ff;color:#0b63d8;outline:none}
.mg-content-featured-image{display:block;width:100%;height:clamp(220px,33vw,390px);object-fit:cover;object-position:center;border-radius:18px;margin:14px 0 24px;background:#edf3f8}
.mg-article-section{max-width:980px;margin-left:auto;margin-right:auto}.mg-article-section>article{max-width:820px;margin-left:auto;margin-right:auto}
.mg-article-prose,.mg-article-section .travel-guide-body{font-size:1.04rem;line-height:1.82;color:#34445d;overflow-wrap:anywhere}.mg-article-prose p,.mg-article-section .travel-guide-body p{margin:0 0 1.15em}.mg-article-prose h2,.mg-article-section .travel-guide-body h2{font-size:clamp(1.45rem,3vw,2rem);line-height:1.25;color:#13233c;margin:1.7em 0 .65em}.mg-article-prose h3,.mg-article-section .travel-guide-body h3{font-size:1.3rem;color:#172945;margin:1.45em 0 .55em}.mg-article-prose ul,.mg-article-prose ol,.mg-article-section .travel-guide-body ul,.mg-article-section .travel-guide-body ol{padding-left:1.35rem;margin:0 0 1.3rem}.mg-article-prose li,.mg-article-section .travel-guide-body li{margin:.45rem 0}.mg-article-prose img,.mg-article-section .travel-guide-body img{display:block;max-width:100%;height:auto;max-height:520px;object-fit:cover;border-radius:16px;margin:24px auto}.mg-article-prose blockquote,.mg-article-section .travel-guide-body blockquote{margin:1.4rem 0;padding:16px 20px;border-left:4px solid #2580e8;background:#f3f8ff;border-radius:0 14px 14px 0}.mg-article-prose table,.mg-article-section .travel-guide-body table{width:100%;border-collapse:collapse;margin:1.5rem 0}.mg-article-prose th,.mg-article-prose td,.mg-article-section .travel-guide-body th,.mg-article-section .travel-guide-body td{padding:10px 12px;border:1px solid #dfe7f1;text-align:left}
.entity-place-detail .entity-profile-hero{padding-bottom:24px}.entity-place-detail .entity-profile-cover{height:340px;max-height:340px;margin-bottom:24px}.entity-place-detail .entity-profile-cover img{height:340px;max-height:340px}.entity-place-detail .entity-profile-hero h1{font-size:clamp(2rem,4.4vw,3.15rem);line-height:1.08}.poi-linked-guides.mg-article-section{padding:clamp(24px,4vw,42px)}.poi-linked-guides .guide-intro{font-size:1.1rem;line-height:1.7;color:#667085;padding-bottom:18px;border-bottom:1px solid #edf1f5}
.listing-detail-card.mg-content-hero{grid-template-columns:minmax(320px,47%) minmax(0,53%);border-radius:22px}.listing-detail-card .listing-detail-image{height:390px;min-height:390px}.listing-detail-card .listing-detail-image img{height:100%;object-fit:cover}.listing-detail-card .listing-detail-content{padding:clamp(24px,4vw,42px)}.listing-detail-card h1{font-size:clamp(2rem,4vw,3rem);line-height:1.1}.listing-summary{font-size:1.08rem;color:#475467}.listing-article .mg-article-prose{white-space:normal}.listing-gallery-grid img{border-radius:14px;aspect-ratio:4/3;object-fit:cover}
.guide-detail-card.mg-content-article{padding:clamp(22px,4vw,42px)}.guide-detail-card .guide-featured-media img{height:360px;max-height:360px;object-fit:cover}.guide-detail-card .guide-longform{max-width:820px}.guide-detail-card .guide-map-card{border-radius:18px}.guide-related-section{margin-top:28px}
.seasonal-public-detail .card-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));align-items:start}.mg-seasonal-card{overflow:hidden}.mg-seasonal-card .mg-content-featured-image{height:240px;margin:-20px -20px 20px;width:calc(100% + 40px);border-radius:22px 22px 0 0}.mg-seasonal-card .mg-article-prose{font-size:.98rem;line-height:1.7}
.advertising-public-detail .public-container{max-width:1080px}.advertising-public-detail .mg-content-section{padding:clamp(22px,4vw,38px)}
.mg-anchor{display:block;position:relative;top:-85px;visibility:hidden}
@media(max-width:780px){.mg-content-page{padding-left:14px;padding-right:14px}.mg-content-hero,.mg-content-section,.mg-content-article{border-radius:17px}.mg-content-section{padding:18px}.mg-detail-nav{margin-left:-2px;margin-right:-2px;border-radius:13px}.mg-detail-nav a{padding:8px 11px;font-size:.86rem}.entity-place-detail .entity-profile-cover,.entity-place-detail .entity-profile-cover img{height:235px;max-height:235px}.listing-detail-card.mg-content-hero{grid-template-columns:1fr}.listing-detail-card .listing-detail-image{height:235px;min-height:235px}.listing-detail-card .listing-detail-content{padding:21px}.guide-detail-card .guide-featured-media img{height:240px;max-height:240px}.mg-content-featured-image{height:235px}.mg-article-prose,.mg-article-section .travel-guide-body{font-size:1rem;line-height:1.72}.mg-seasonal-card .mg-content-featured-image{height:220px}}
@media(prefers-reduced-motion:reduce){.mg-detail-nav{scroll-behavior:auto}}
\n/* Build 217: POI media hotfix. Keep POI hero compact even when older generic/Hidden Gem rules exist. */
body.entity-place-detail .entity-profile-cover,
body.entity-place-detail.hidden-gem-detail-page .entity-profile-cover{
  height:320px !important;
  max-height:320px !important;
  min-height:0 !important;
  overflow:hidden;
}
body.entity-place-detail .entity-profile-cover img,
body.entity-place-detail.hidden-gem-detail-page .entity-profile-cover img{
  display:block;
  width:100%;
  height:320px !important;
  max-height:320px !important;
  object-fit:cover !important;
  object-position:center;
}
@media(max-width:780px){
  body.entity-place-detail .entity-profile-cover,
  body.entity-place-detail .entity-profile-cover img,
  body.entity-place-detail.hidden-gem-detail-page .entity-profile-cover,
  body.entity-place-detail.hidden-gem-detail-page .entity-profile-cover img{
    height:220px !important;
    max-height:220px !important;
  }
}


/* Build 220: unified secondary article feature image */
.mg-article-feature-image{margin:0 0 26px;border-radius:18px;overflow:hidden;background:#eef3f8;border:1px solid #e1e8f0;box-shadow:0 8px 28px rgba(16,35,66,.06)}
.mg-article-feature-image img{display:block;width:100%;height:clamp(220px,38vw,450px);max-height:450px;object-fit:cover;object-position:center}
.mg-article-feature-image figcaption{padding:9px 14px;color:#687b94;font-size:12px;background:#fff}
.poi-full-article,.listing-article{max-width:1100px;margin-left:auto;margin-right:auto}
@media(max-width:700px){.mg-article-feature-image{border-radius:14px;margin-bottom:20px}.mg-article-feature-image img{height:220px;max-height:220px}}

/* Build 224: global MesraGuide footer */
.legacy-mg-site-footer{margin-top:64px;background:linear-gradient(145deg,#25104f,#39146b 55%,#4b1877);color:#f7f1ff;box-shadow:0 -12px 36px rgba(42,18,82,.12)}
.legacy-mg-site-footer a{color:#f4eaff;text-decoration:none}.legacy-mg-site-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.legacy-mg-site-footer-inner{max-width:1500px;margin:0 auto;padding:48px 28px 34px}.legacy-mg-site-footer-brand{display:flex;align-items:flex-start;gap:16px;max-width:760px;padding-bottom:28px;margin-bottom:28px;border-bottom:1px solid rgba(255,255,255,.16)}
.mg-footer-mark{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:16px;background:rgba(255,255,255,.12);font-weight:900;letter-spacing:.05em;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.legacy-mg-site-footer-brand strong{font-size:1.35rem}.legacy-mg-site-footer-brand p{margin:.4rem 0 0;color:#ddcff3;line-height:1.55}
.legacy-mg-site-footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px}.legacy-mg-site-footer-grid section{display:flex;flex-direction:column;gap:10px}.legacy-mg-site-footer-grid h2{margin:0 0 7px;color:#fff;font-size:.92rem;text-transform:uppercase;letter-spacing:.08em}.legacy-mg-site-footer-grid p{margin:0;color:#dcccf2;line-height:1.5;font-size:.9rem}.legacy-mg-site-footer-grid section{min-width:0}.mg-footer-link{display:flex;align-items:center;width:100%;min-width:0;min-height:40px;padding:5px 0;line-height:1.35;overflow-wrap:anywhere;word-break:normal;touch-action:manipulation}.legacy-mg-site-footer-grid small{color:#cdbce6;line-height:1.45}.mg-footer-emergency{display:inline-flex;width:max-content;margin-top:4px;padding:9px 12px;border-radius:10px;background:rgba(255,255,255,.12);font-weight:800}
.legacy-mg-site-footer-bottom{display:flex;justify-content:space-between;gap:20px;padding:16px max(28px,calc((100vw - 1444px)/2));border-top:1px solid rgba(255,255,255,.15);background:rgba(17,4,40,.32);color:#d9cbed;font-size:.82rem}
.mg-contact-page{padding-top:30px;padding-bottom:20px}.mg-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.mg-contact-grid article{padding:20px;border:1px solid #dfe6f0;border-radius:16px;background:#fff}.mg-contact-grid h2{margin-top:0;font-size:1.08rem}
@media(max-width:900px){.legacy-mg-site-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-mg-site-footer-bottom{flex-direction:column}.mg-contact-grid{grid-template-columns:1fr}}
@media(max-width:560px){.legacy-mg-site-footer-inner{padding:36px 18px 28px}.legacy-mg-site-footer-grid{grid-template-columns:minmax(0,1fr);gap:26px}.mg-footer-link{min-height:44px;padding:8px 0}.legacy-mg-site-footer-bottom{padding:16px 18px}.legacy-mg-site-footer-brand{align-items:center}}

/* Build 226: governed Hidden Gem status badge and readable metadata */
.mg-hidden-gem-status{display:inline-flex;align-items:center;gap:.55rem;padding:.28rem .72rem .28rem .38rem;border-radius:999px;background:#fff;border:1px solid color-mix(in srgb,var(--hg-badge-accent,#b423d6) 45%,#d8dee9);font-size:.82rem;font-weight:850;color:#25213a;box-shadow:0 2px 10px rgba(15,23,42,.08)}
.mg-hidden-gem-option9{width:30px;height:30px;display:inline-grid;place-items:center;transform:rotate(45deg);border:2px solid var(--hg-badge-accent,#b423d6);border-radius:8px;background:color-mix(in srgb,var(--hg-badge-accent,#b423d6) 14%,white);box-shadow:0 0 8px color-mix(in srgb,var(--hg-badge-accent,#b423d6) 34%,transparent)}
.mg-hidden-gem-option9 span{transform:rotate(-45deg);color:var(--hg-badge-accent,#b423d6);font-size:.9rem;line-height:1}
.mg-hidden-gem-status-image{width:32px;height:32px;object-fit:contain}
.mg-hidden-gem-meta{font-weight:850!important;letter-spacing:.075em!important}
@media (prefers-reduced-motion:no-preference){.mg-hidden-gem-option9{animation:mgHgBadgePulse 3.6s ease-in-out infinite}@keyframes mgHgBadgePulse{50%{filter:brightness(1.08);box-shadow:0 0 14px color-mix(in srgb,var(--hg-badge-accent,#b423d6) 48%,transparent)}}}

/* Build 227 editor + social/video + bottom ad */
.editor-visual-control{display:inline-flex;align-items:center;gap:5px;padding:3px 6px;border:1px solid #d8e0ea;border-radius:7px;background:#fff;font-size:.75rem}.editor-visual-control input[type=color]{width:30px;height:28px;padding:1px;border:0;background:transparent}.editor-visual-control select{height:30px;min-width:125px;border:1px solid #d8e0ea;border-radius:6px;background:#fff}.mg-social-embed-block{margin:1rem 0;padding:16px;border:2px dashed #8b5cf6;border-radius:12px;background:#faf7ff;text-align:center;color:#4c1d95}.mg-social-embed{position:relative;width:100%;max-width:900px;aspect-ratio:16/9;margin:24px auto;overflow:hidden;border-radius:14px;background:#000}.mg-social-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.mg-social-link-card{display:grid;gap:5px;margin:20px 0;padding:16px 18px;border:1px solid #d8dee8;border-radius:14px;background:#f8fafc}.mg-social-link-card a{font-weight:800}.mg-bottom-ad-wrap{max-width:1280px;margin:26px auto 0;padding:0 20px}.mg-bottom-ad-slot{display:block;overflow:hidden;padding:10px 0;text-align:center}.hidden-gem-detail-page .mg-hidden-gem-meta{color:#334155!important}.mg-hidden-gem-status{display:inline-flex!important;align-items:center;gap:8px}.mg-hidden-gem-option9{display:inline-grid;place-items:center;width:28px;height:28px;transform:rotate(45deg);border:2px solid var(--hg-badge-accent,#c026d3);border-radius:6px;background:linear-gradient(135deg,#351184,#071f66);box-shadow:0 0 10px color-mix(in srgb,var(--hg-badge-accent,#c026d3) 70%,transparent);animation:hgPulse 3.2s ease-in-out infinite}.mg-hidden-gem-option9>span{transform:rotate(-45deg);color:#fff;font-size:.8rem}@media(prefers-reduced-motion:reduce){.mg-hidden-gem-option9{animation:none!important}}

/* Build 228 — responsive POI Admin rows + long-form Listing editor */
.listing-full-description{min-width:0}.listing-full-description>.editor-wrap{margin-top:.45rem}.listing-full-description .editor-surface{min-height:520px}
.poi-responsive-table{width:100%;table-layout:fixed}.poi-responsive-table th,.poi-responsive-table td{vertical-align:top;overflow-wrap:anywhere;word-break:normal}.poi-responsive-table th:nth-child(1),.poi-responsive-table td:nth-child(1){width:42px}.poi-responsive-table th:nth-child(2),.poi-responsive-table td:nth-child(2){width:27%}.poi-responsive-table th:nth-child(3),.poi-responsive-table td:nth-child(3){width:10%}.poi-responsive-table th:nth-child(4),.poi-responsive-table td:nth-child(4){width:12%}.poi-responsive-table th:nth-child(5),.poi-responsive-table td:nth-child(5){width:10%}.poi-responsive-table th:nth-child(6),.poi-responsive-table td:nth-child(6){width:14%}.poi-responsive-table th:nth-child(7),.poi-responsive-table td:nth-child(7){width:11%}.poi-responsive-table th:nth-child(8),.poi-responsive-table td:nth-child(8){width:8%}.poi-responsive-table th:nth-child(9),.poi-responsive-table td:nth-child(9){width:180px}.poi-inline-actions{display:flex!important;flex-wrap:wrap;gap:6px;align-items:flex-start}.poi-inline-actions form{margin:0}.poi-actions-cell{min-width:180px}
@media(max-width:1180px){.poi-table-wrap{overflow:visible}.poi-responsive-table,.poi-responsive-table thead,.poi-responsive-table tbody,.poi-responsive-table tr,.poi-responsive-table td{display:block;width:100%!important}.poi-responsive-table thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}.poi-responsive-table tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.poi-responsive-table tbody tr{border:1px solid #dce5f0;border-radius:12px;background:#fff;padding:12px;box-shadow:0 2px 8px rgba(24,42,76,.05)}.poi-responsive-table tbody tr td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;padding:7px 0!important;border:0!important;min-width:0!important}.poi-responsive-table tbody tr td:before{content:attr(data-label);font-size:12px;font-weight:800;color:#58677b;text-transform:uppercase;letter-spacing:.02em}.poi-responsive-table tbody tr td[data-label="POI"]{grid-template-columns:1fr;padding-top:0!important}.poi-responsive-table tbody tr td[data-label="POI"]:before{display:none}.poi-responsive-table tbody tr td[data-label="Actions"]{grid-template-columns:1fr;padding-top:10px!important;border-top:1px solid #edf1f6!important}.poi-responsive-table tbody tr td[data-label="Actions"]:before{margin-bottom:4px}.poi-responsive-table .poi-admin-cell{min-width:0}.poi-responsive-table .poi-admin-cell>div{min-width:0}.poi-responsive-table .poi-inline-actions{width:100%}.poi-responsive-table .poi-inline-actions .btn{white-space:normal}}
@media(max-width:760px){.poi-responsive-table tbody{grid-template-columns:1fr}.poi-responsive-table tbody tr td{grid-template-columns:92px minmax(0,1fr)}.poi-responsive-table .poi-admin-thumb{width:68px;height:54px}.listing-full-description .editor-surface{min-height:420px}}

.editor-preservation-status{display:flex;flex-wrap:wrap;gap:.45rem 1rem;align-items:center;padding:8px 12px;background:#f8fafc;border-top:1px solid #dfe6f0;color:#334155;font-size:12px}.editor-preservation-status small{color:#64748b}

/* Build 230 — Hidden Gem purple identity + subtle glowing media frame */
body.hidden-gem-detail-page .mg-unified-hero-copy h1{color:#5b21b6!important;}
body.hidden-gem-detail-page .mg-hidden-gem-meta{color:#334155!important;}
body.hidden-gem-detail-page .mg-unified-location{color:#334155!important;}
body.hidden-gem-detail-page .mg-unified-hero>.mg-unified-media{border:1px solid #a855f7!important;border-radius:18px!important;overflow:visible!important;box-shadow:0 0 0 1px rgba(168,85,247,.16),0 0 14px rgba(168,85,247,.30)!important;animation:mgHiddenGemMediaGlow 3.4s ease-in-out infinite!important;margin:18px!important;}
body.hidden-gem-detail-page .mg-unified-hero>.mg-unified-media img{border-radius:16px!important;}
@keyframes mgHiddenGemMediaGlow{0%,100%{box-shadow:0 0 0 1px rgba(168,85,247,.14),0 0 9px rgba(168,85,247,.24)}50%{box-shadow:0 0 0 1px rgba(192,38,211,.22),0 0 18px rgba(168,85,247,.46)}}
@media(prefers-reduced-motion:reduce){body.hidden-gem-detail-page .mg-unified-hero>.mg-unified-media{animation:none!important;box-shadow:0 0 0 1px rgba(168,85,247,.18),0 0 10px rgba(168,85,247,.28)!important}}
@media(max-width:820px){body.hidden-gem-detail-page .mg-unified-hero>.mg-unified-media{margin:14px!important;border-radius:16px!important}body.hidden-gem-detail-page .mg-unified-hero>.mg-unified-media img{border-radius:14px!important}}

/* Build 231 — unified category discovery + image-level Hidden Gem glow correction */
body.hidden-gem-detail-page .mg-unified-hero>.mg-unified-media{border:0!important;border-radius:0!important;box-shadow:none!important;animation:none!important;margin:0!important;overflow:visible!important;}
body.hidden-gem-detail-page .mg-unified-hero>.mg-unified-media img{border:1px solid #a855f7!important;border-radius:16px!important;box-shadow:0 0 0 1px rgba(168,85,247,.14),0 0 10px rgba(168,85,247,.28)!important;animation:mgHiddenGemImageGlow 3.4s ease-in-out infinite!important;}
@keyframes mgHiddenGemImageGlow{0%,100%{box-shadow:0 0 0 1px rgba(168,85,247,.14),0 0 8px rgba(168,85,247,.24)}50%{box-shadow:0 0 0 1px rgba(192,38,211,.20),0 0 16px rgba(168,85,247,.44)}}
@media(prefers-reduced-motion:reduce){body.hidden-gem-detail-page .mg-unified-hero>.mg-unified-media img{animation:none!important;box-shadow:0 0 0 1px rgba(168,85,247,.16),0 0 9px rgba(168,85,247,.28)!important}}
.hidden-gem-search-badge{background:linear-gradient(135deg,#6d28d9,#a855f7)!important;color:#fff!important;border-color:#c084fc!important}.smart-result-card.is-sponsored{box-shadow:0 10px 28px rgba(124,58,237,.12)}

/* Build 232 — keep Listing discovery cards independent from linked canonical entities */

/* Build 235: permanent legal footer and contact/legal pages */
.legacy-mg-site-footer-legal{margin-top:30px;padding-top:22px;border-top:1px solid rgba(255,255,255,.16);display:flex;gap:18px;align-items:flex-start;justify-content:space-between}.legacy-mg-site-footer-legal strong{white-space:nowrap}.legacy-mg-site-footer-legal nav{display:flex;gap:10px 18px;flex-wrap:wrap;justify-content:flex-end}.mg-legal-page{max-width:980px;margin:32px auto;padding:0 18px}.mg-legal-page article{line-height:1.7}.mg-contact-grid a{overflow-wrap:anywhere}@media(max-width:700px){.legacy-mg-site-footer-legal{flex-direction:column}.legacy-mg-site-footer-legal nav{justify-content:flex-start}}

/* Build 239: approved scenic Compare Plans presentation. All commercial values remain DB-backed. */
.mg-plan-page{margin:0;background:#07192c;color:#10213d}.mg-plan-page .site-header{position:relative;z-index:20}.mg-plan-hero{position:relative;isolation:isolate;padding:38px 0 72px;background-image:linear-gradient(180deg,rgba(240,248,255,.22),rgba(5,29,58,.34) 62%,rgba(5,22,43,.72)),var(--mg-plan-bg);background-size:cover;background-position:center;overflow:hidden}.mg-plan-hero:after{content:"";position:absolute;inset:auto 0 0;height:180px;background:linear-gradient(180deg,transparent,rgba(5,22,43,.88));z-index:-1}.mg-plan-overlay{position:absolute;inset:0;z-index:-2;background:radial-gradient(circle at 50% -8%,rgba(255,255,255,.72),transparent 38%),linear-gradient(90deg,rgba(255,180,70,.15),transparent 28%,transparent 72%,rgba(79,178,255,.12));pointer-events:none}.mg-plan-wrap{position:relative;z-index:1}.mg-plan-intro{text-align:center;color:#0b2850;max-width:1020px;margin:0 auto 18px;text-shadow:0 1px 8px rgba(255,255,255,.75)}.mg-plan-intro .eyebrow{display:inline-flex;align-items:center;gap:12px;color:#9b6500;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.mg-plan-intro .eyebrow:before,.mg-plan-intro .eyebrow:after{content:"";width:78px;height:1px;background:linear-gradient(90deg,transparent,#b78a2f)}.mg-plan-intro .eyebrow:after{background:linear-gradient(90deg,#b78a2f,transparent)}.mg-plan-intro h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.15rem,4.4vw,4rem);line-height:1.03;margin:.55rem 0 .35rem;color:#0a2c60}.mg-plan-intro p{font-size:clamp(1rem,1.7vw,1.2rem);max-width:840px;margin:0 auto}.mg-plan-value-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:900px;margin:24px auto 12px;padding:0 16px}.mg-plan-value-strip article{display:flex;align-items:center;gap:12px;padding:7px 24px;border-right:1px solid rgba(127,89,20,.32);color:#0b2b58}.mg-plan-value-strip article:last-child{border-right:0}.mg-plan-value-strip article>span{font-size:2rem;color:#9d6812}.mg-plan-value-strip strong,.mg-plan-value-strip small{display:block}.mg-plan-value-strip small{margin-top:2px;line-height:1.25}.mg-plan-page-copy{max-width:980px;margin:18px auto 26px;padding:12px 18px;border:1px solid rgba(255,255,255,.65);border-radius:16px;background:rgba(255,255,255,.84);box-shadow:0 12px 28px rgba(11,42,79,.12);backdrop-filter:blur(8px)}.mg-plan-page-copy:empty{display:none}.mg-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch;max-width:1100px;margin:34px auto 0;padding:0 8px}.mg-plan-card{position:relative;display:flex;flex-direction:column;min-height:620px;background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(244,248,253,.98));border:2px solid rgba(255,255,255,.96);border-radius:24px 24px 34px 34px;box-shadow:0 24px 55px rgba(5,24,48,.32),inset 0 1px 0 #fff;overflow:visible;transition:transform .2s ease,box-shadow .2s ease}.mg-plan-card:after{content:"";position:absolute;left:50%;bottom:-22px;transform:translateX(-50%);width:0;height:0;border-left:54px solid transparent;border-right:54px solid transparent;border-top:22px solid rgba(235,242,250,.98);filter:drop-shadow(0 8px 5px rgba(5,24,48,.16))}.mg-plan-card header{display:flex;align-items:center;justify-content:center;gap:14px;min-height:98px;padding:22px 18px 18px;text-align:left;color:#fff;border-radius:21px 21px 34px 34px;background:linear-gradient(135deg,#0b75bf,#13a5e8);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 8px 18px rgba(8,73,125,.18)}.mg-plan-card.tone-gold header{background:linear-gradient(135deg,#a56b00,#e2ad00 48%,#b67b00)}.mg-plan-card.tone-silver header{background:linear-gradient(135deg,#15191f,#4f5864 50%,#171b21)}.mg-plan-card.tone-bronze header{background:linear-gradient(135deg,#a55d20,#e89e45)}.mg-plan-card.tone-green header{background:linear-gradient(135deg,#106b42,#31a468)}.mg-plan-card h2{margin:0 0 2px;font-size:1.65rem;text-transform:uppercase;letter-spacing:.015em}.mg-plan-card header p{margin:0;font-size:.94rem;opacity:.96}.mg-plan-icon{font-size:2.3rem;line-height:1;text-shadow:0 2px 7px rgba(0,0,0,.2)}.mg-plan-badge{position:absolute;z-index:3;top:-18px;left:50%;transform:translateX(-50%);padding:7px 22px;border-radius:12px 12px 4px 4px;background:linear-gradient(180deg,#ffd84f,#d59a00);color:#3f2b00;font-weight:900;box-shadow:0 5px 16px rgba(0,0,0,.22);white-space:nowrap}.mg-plan-price{text-align:center;padding:22px 18px 16px;border-bottom:1px solid #dce4ed;color:#10244c}.mg-plan-price strong{font-size:2.55rem;line-height:1}.mg-plan-price .mg-currency{font-size:1.35rem;font-weight:900;color:#10244c}.mg-plan-price small{font-size:1rem;color:#50627d}.mg-plan-benefits{padding:20px 28px 10px;flex:1}.mg-plan-benefits ul{padding-left:0;list-style:none;margin:0}.mg-plan-benefits li{position:relative;padding:.42rem 0 .42rem 1.75rem;line-height:1.25}.mg-plan-benefits li:before{content:'✓';position:absolute;left:0;top:.42rem;width:1.18rem;height:1.18rem;border-radius:50%;display:grid;place-items:center;background:#11864e;color:#fff;font-size:.73rem;font-weight:900}.mg-plan-fit{margin:6px 20px 0;padding:14px 16px;border:1px solid #d5dfeb;border-radius:10px;background:rgba(247,250,253,.95);font-size:.92rem;line-height:1.35;min-height:62px}.mg-plan-actions{padding:14px 22px 24px;text-align:center}.mg-plan-cta{display:flex;align-items:center;justify-content:center;gap:.65rem;padding:14px 18px;border-radius:999px;background:linear-gradient(180deg,#149fe9,#0877c3);color:#fff;text-decoration:none;font-weight:900;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 7px 16px rgba(7,91,153,.2)}.tone-gold .mg-plan-cta{background:linear-gradient(180deg,#e5aa00,#b97c00)}.tone-silver .mg-plan-cta{background:linear-gradient(180deg,#363d46,#15191e)}.tone-bronze .mg-plan-cta{background:linear-gradient(180deg,#dc9140,#a85f21)}.tone-green .mg-plan-cta{background:linear-gradient(180deg,#2da269,#147a4b)}.mg-plan-details{display:inline-block;margin-top:11px;color:#143f78;font-weight:700;text-decoration:underline}.mg-plan-card:hover{transform:translateY(-5px);box-shadow:0 30px 68px rgba(5,24,48,.4),inset 0 1px 0 #fff}.mg-plan-card.tone-gold{border-color:#f5c735;box-shadow:0 28px 68px rgba(5,24,48,.35),0 0 30px rgba(255,204,42,.34)}.mg-plan-trust-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:1180px;margin:62px auto 0;padding:18px 26px;border:1px solid rgba(255,255,255,.75);border-radius:22px;background:rgba(255,255,255,.95);box-shadow:0 16px 40px rgba(0,0,0,.18)}.mg-plan-trust-strip article{padding:5px 20px;border-right:1px solid #d7e0ea}.mg-plan-trust-strip article:last-child{border-right:0}.mg-plan-trust-strip strong,.mg-plan-trust-strip small{display:block}.mg-plan-trust-strip strong{color:#0a2b5c}.mg-plan-trust-strip small{margin-top:3px;color:#3a638d}.mg-plan-page .legacy-mg-site-footer{margin-top:0}
@media(max-width:900px){.mg-plan-value-strip{grid-template-columns:1fr;max-width:620px}.mg-plan-value-strip article{border-right:0;border-bottom:1px solid rgba(127,89,20,.25)}.mg-plan-value-strip article:last-child{border-bottom:0}.mg-plan-grid{grid-template-columns:1fr;max-width:610px;gap:44px}.mg-plan-card{min-height:auto}.mg-plan-trust-strip{grid-template-columns:repeat(2,1fr);gap:0}.mg-plan-trust-strip article:nth-child(2){border-right:0}.mg-plan-trust-strip article{border-bottom:1px solid #d7e0ea}.mg-plan-trust-strip article:nth-child(3),.mg-plan-trust-strip article:nth-child(4){border-bottom:0}.mg-plan-intro .eyebrow:before,.mg-plan-intro .eyebrow:after{width:34px}}
@media(max-width:560px){.mg-plan-hero{padding-top:24px}.mg-plan-intro h1{font-size:2.2rem}.mg-plan-value-strip{padding:0}.mg-plan-value-strip article{padding:8px 10px}.mg-plan-grid{padding:0}.mg-plan-card header{justify-content:flex-start}.mg-plan-benefits{padding-left:22px;padding-right:22px}.mg-plan-trust-strip{grid-template-columns:1fr;padding:14px}.mg-plan-trust-strip article{border-right:0!important;border-bottom:1px solid #d7e0ea!important}.mg-plan-trust-strip article:last-child{border-bottom:0!important}}
@media(prefers-reduced-motion:reduce){.mg-plan-card,.mg-plan-card:hover{transform:none;transition:none}}

/* Build 241 — listing detail gallery: polished two-up desktop layout, responsive on every Listing page. */
.listing-public-detail .listing-photo-section{padding:clamp(18px,2.4vw,28px)}
.listing-public-detail .listing-photo-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}
.listing-public-detail .listing-photo-heading h2{margin:.2rem 0 0;font-size:clamp(1.5rem,2.2vw,2rem);color:#102a56}
.listing-public-detail .listing-photo-heading h2 small{font-size:.7em;font-weight:600;color:#667892}
.listing-public-detail .listing-photo-hint{font-size:.88rem;color:#60718a}
.listing-public-detail .listing-gallery-grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.listing-public-detail .listing-gallery-item{margin:0;min-width:0}
.listing-public-detail .listing-gallery-item a{display:block;overflow:hidden;border-radius:16px;background:#eef4f9;border:1px solid #dde6f0;box-shadow:0 7px 20px rgba(24,50,86,.08)}
.listing-public-detail .listing-gallery-item img{display:block;width:100%;aspect-ratio:16/10;height:auto;object-fit:cover;border-radius:0;transition:transform .2s ease}
.listing-public-detail .listing-gallery-item a:hover img{transform:scale(1.015)}
.listing-public-detail .listing-gallery-item figcaption{padding:8px 3px 0;color:#334c70;font-size:.9rem;line-height:1.35}
@media(max-width:700px){.listing-public-detail .listing-gallery-grid-two{grid-template-columns:1fr;gap:14px}.listing-public-detail .listing-photo-heading{align-items:flex-start;flex-direction:column;gap:5px}.listing-public-detail .listing-gallery-item img{aspect-ratio:4/3}.listing-public-detail .listing-photo-hint{font-size:.82rem}}
@media(prefers-reduced-motion:reduce){.listing-public-detail .listing-gallery-item img{transition:none}.listing-public-detail .listing-gallery-item a:hover img{transform:none}}

/* Build 242: centered responsive Listing hero media + thumbnail navigator */
.listing-public-detail .listing-detail-card.mg-content-hero{align-items:stretch}
.listing-public-detail .listing-hero-media{min-width:0;padding:24px 0 24px 24px;display:flex;flex-direction:column;justify-content:center;align-self:stretch;background:#fff}
.listing-public-detail .listing-primary-stage{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:clamp(320px,36vw,560px);overflow:hidden;border-radius:18px;background:#eef4f8}
.listing-public-detail .listing-primary-stage>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center center;background:#eef4f8}
.listing-public-detail .listing-photo-count{position:absolute;right:16px;bottom:16px;padding:8px 12px;border-radius:10px;background:rgba(10,29,58,.78);color:#fff;font-weight:700;font-size:.9rem}
.listing-public-detail .listing-hero-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(90px,1fr);gap:10px;margin-top:12px;align-items:stretch}
.listing-public-detail .listing-hero-thumb{appearance:none;border:2px solid transparent;padding:0;border-radius:12px;overflow:hidden;background:#edf4f8;cursor:pointer;min-width:0;aspect-ratio:4/3}
.listing-public-detail .listing-hero-thumb.is-active{border-color:#1473e6;box-shadow:0 0 0 2px rgba(20,115,230,.12)}
.listing-public-detail .listing-hero-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.listing-public-detail .listing-view-all{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid #dce6f1;border-radius:12px;background:#f8fbff;color:#12396f;text-decoration:none;font-size:.82rem;line-height:1.25;padding:6px}
@media(max-width:780px){.listing-public-detail .listing-hero-media{padding:14px}.listing-public-detail .listing-primary-stage{height:clamp(240px,72vw,430px)}.listing-public-detail .listing-hero-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.listing-public-detail .listing-hero-thumb:nth-of-type(n+5){display:none}.listing-public-detail .listing-view-all{grid-column:1/-1;min-height:48px;flex-direction:row;gap:5px}.listing-public-detail .listing-view-all br{display:none}}
@media(prefers-reduced-motion:reduce){.listing-public-detail .listing-hero-thumb{scroll-behavior:auto}}
/* Build 243: Admin category image editor + consistent article thumbnails. */
.admin-row-thumb{width:92px;height:64px;object-fit:cover;border-radius:10px;border:1px solid #dbe5ee;background:#f4f7fa;display:block}.admin-row-thumb-placeholder{width:92px;height:64px;border-radius:10px;border:1px dashed #cbd5e1;background:#f8fafc;color:#64748b;display:flex;align-items:center;justify-content:center;font-size:12px;text-align:center}.admin-thumb-col{width:112px;text-align:right}.admin-row-thumb-right{margin-left:auto}.category-edit-layout{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:24px;align-items:start}.category-image-editor{border:1px solid #dbe5ee;border-radius:16px;padding:16px;background:#f8fafc}.category-admin-image,.category-image-placeholder{width:100%;aspect-ratio:4/3;border-radius:12px;margin:8px 0 16px}.category-admin-image{display:block;object-fit:cover}.category-image-placeholder{display:flex;align-items:center;justify-content:center;border:1px dashed #cbd5e1;color:#64748b;background:#fff}@media(max-width:760px){.category-edit-layout{grid-template-columns:1fr}.admin-row-thumb,.admin-row-thumb-placeholder{width:72px;height:52px}.admin-thumb-col{width:84px}}

/* Build 246: Hero Images scope tabs and Special Hero campaign editor */
.hero-country-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-top:10px}.hero-country-option{display:flex;gap:9px;align-items:center;padding:10px 12px;border:1px solid #dbe4ee;border-radius:10px;background:#fff}.special-hero-current{display:flex;align-items:center;gap:12px;margin-top:10px}.special-hero-current img{width:140px;height:92px;object-fit:cover;border-radius:10px}.hero-special-link{display:block;position:relative;width:100%;height:100%;text-decoration:none;color:inherit}.hero-special-link picture,.hero-special-link img{display:block;width:100%;height:100%}.hero-special-link img{object-fit:cover}

/* Build 247 — clearer password visibility state, Users & Roles tabs/matrix, Sponsored Listing payment detail */
.password-toggle-btn .password-eye-icon{width:22px;height:22px;display:block}.password-toggle-btn{border:1px solid transparent;background:#f5f8fc}.password-toggle-btn:not(.is-visible){color:#35516f}.password-toggle-btn.is-visible{background:#fff1f1!important;color:#a92f2f!important;border-color:#efbcbc}.password-toggle-btn.is-visible .password-eye-icon{transform:scale(.96)}
.user-role-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.user-role-tabs a{padding:9px 14px;border:1px solid #dce5ef;border-radius:999px;text-decoration:none;background:#fff;font-weight:700;color:#33465b}.user-role-tabs a.active{background:#162f4b;color:#fff;border-color:#162f4b}.users-role-table td{vertical-align:top}.role-pill-stack,.ownership-links,.pending-claim-links{display:flex;flex-direction:column;gap:5px}.ownership-links b{color:#17663c}.pending-claim-links b{color:#9b6710}.ownership-links span,.pending-claim-links span{font-size:12px;line-height:1.45}.role-remove-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.link-button{border:0;background:none;padding:0;font:inherit;text-decoration:underline;cursor:pointer}.link-button.danger{color:#a43333;font-size:12px}.permission-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.permission-role-card{border:1px solid #dce6ef;border-radius:14px;padding:16px;background:#fff}.permission-role-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.permission-role-head h3{margin:0}.permission-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px;max-height:420px;overflow:auto}.permission-checks label{display:flex;gap:8px;align-items:flex-start;padding:8px;border:1px solid #edf1f5;border-radius:9px}.permission-checks small{display:block;color:#728096;font-family:ui-monospace,monospace;font-size:10px}.sponsored-payment-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,.75fr);gap:24px;align-items:start}.sponsored-package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.sponsored-package-card,.sponsored-payment-panel,.sponsored-demo-payment{border:1px solid #dce6ef;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(30,55,80,.08)}.sponsored-package-card{padding:20px;position:relative}.sponsored-package-card.is-active{border-color:#d6af50}.sponsored-package-card.is-preview{background:#f8fafc}.sponsored-price{display:flex;align-items:baseline;gap:6px;margin:16px 0}.sponsored-price strong{font-size:30px}.payment-detail-list{margin:12px 0}.payment-detail-list>div{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid #edf1f5}.payment-detail-list dt{color:#69778a}.payment-detail-list dd{margin:0;text-align:right;font-weight:700}.sponsored-payment-panel{padding:22px;position:sticky;top:20px}.sponsor-listing-select{display:grid;gap:7px;margin:14px 0}.sponsor-listing-select select{width:100%}.sponsored-hero-points{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.sponsored-hero-points span{background:#eff8ef;border:1px solid #cfe6cf;padding:7px 10px;border-radius:999px;font-size:13px}.sponsored-demo-payment{padding:24px}.demo-payment-receipt{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.demo-payment-receipt>div{padding:13px;border:1px solid #e4eaf0;border-radius:12px;background:#fafbfd}.demo-payment-receipt small{display:block;color:#708096;margin-bottom:4px}.payment-flow{display:flex;gap:8px;flex-wrap:wrap}.payment-flow span{padding:8px 10px;border-radius:9px;background:#eef4fa;font-size:12px;font-weight:700}.mg-back-link{margin-top:18px}
@media(max-width:900px){.permission-role-grid,.sponsored-payment-layout{grid-template-columns:1fr}.permission-checks,.sponsored-package-grid{grid-template-columns:1fr}.sponsored-payment-panel{position:static}.demo-payment-receipt{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.demo-payment-receipt{grid-template-columns:1fr}.users-role-table{min-width:980px}}
/* Build 248: modern Admin sidebar + listing launch enhancements */
.admin-shell{grid-template-columns:286px minmax(0,1fr)}
.admin-sidebar{background:linear-gradient(180deg,#f9fbff 0%,#f4f8fd 100%);border-right:1px solid #dfe8f2;padding:14px 12px 22px;box-shadow:10px 0 30px rgba(25,58,96,.035)}
.admin-logo{margin:0 2px 10px;padding:10px 12px;border:1px solid #e3ebf4;border-radius:16px;background:rgba(255,255,255,.9);box-shadow:0 8px 22px rgba(22,61,103,.06)}
.admin-logo img{max-width:150px;height:auto}.admin-logo small{margin-left:auto;background:linear-gradient(135deg,#dff8e8,#e4f5ff);border:1px solid #cdebd9}
.admin-menu-search{margin:0 2px 12px;padding:10px;border:1px solid #dde8f3;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(22,61,103,.045)}
.admin-menu-search label{font-size:.67rem;color:#5d718a;margin-left:3px}.admin-menu-search-row{position:relative}.admin-menu-search-row:before{content:'⌕';position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:17px;color:#6c84a0;z-index:1}.admin-menu-search input{padding-left:35px!important;border:1px solid #c9d8e8!important;border-radius:12px!important;background:#f9fbfe!important;box-shadow:none!important}.admin-menu-search-row .btn{display:none!important}
.side-nav{gap:8px}.side-nav>a{border:1px solid transparent;background:transparent}.side-accordion{border:1px solid #e3eaf2;border-radius:14px;background:rgba(255,255,255,.78);overflow:hidden;box-shadow:0 4px 14px rgba(31,63,99,.035)}
.side-accordion-toggle{width:100%;border:0;background:transparent;color:#173052;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;font:inherit;font-size:14px;font-weight:800;cursor:pointer;text-align:left}.side-accordion-toggle:hover{background:#f4f8fd}.side-accordion-toggle b{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#eef4fb;color:#4f6d8d;transition:transform .18s ease}.side-accordion.open>.side-accordion-toggle{background:linear-gradient(135deg,#edf6ff,#f5fbff);color:#1263c9}.side-accordion.open>.side-accordion-toggle b{transform:rotate(180deg);background:#dfeeff;color:#1263c9}.side-accordion-body{padding:4px 7px 8px;border-top:1px solid #edf2f7;background:rgba(255,255,255,.72)}.side-accordion-body>a{position:relative;margin-top:3px;padding:10px 11px 10px 13px;border-radius:10px;font-size:13px;color:#52677f}.side-accordion-body>a:hover{background:#f0f6fc;color:#125faf;transform:none}.side-accordion-body>a.active{background:linear-gradient(135deg,#176fd6,#2e8ee9);color:#fff;box-shadow:0 7px 16px rgba(23,111,214,.18)}.side-accordion-body>a.active:before{content:'';width:4px;height:18px;border-radius:5px;background:#fff;position:absolute;left:5px;top:50%;transform:translateY(-50%)}
.admin-topbar{background:rgba(255,255,255,.92);backdrop-filter:blur(12px);position:sticky;top:0;z-index:20}
.listing-temporary-closed{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;padding:13px 16px;margin:10px 0 16px;border:1px solid #f0c9a9;border-radius:14px;background:#fff7ef;color:#8b4c16}.listing-quick-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.listing-quick-actions form{margin:0}.listing-rating-summary{margin:8px 0;color:#5b6776}.listing-confirmed-meta{font-size:.84rem;color:#60758e}.listing-reviews .section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.review-score{font-size:1.25rem}.listing-review{padding:16px 0;border-top:1px solid #edf1f5}.listing-review:first-of-type{border-top:0}.listing-review h3{margin:6px 0}.owner-reply{margin-top:12px;padding:12px 14px;border-left:4px solid #2b7cce;background:#f4f9ff;border-radius:10px}.listing-review-form{margin-top:18px;padding-top:16px;border-top:1px solid #e8eef5}.listing-similar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.listing-similar-card{display:flex;gap:11px;align-items:center;padding:10px;border:1px solid #e0e8f0;border-radius:14px;text-decoration:none;background:#fff}.listing-similar-card img{width:82px;height:68px;object-fit:cover;border-radius:10px}.listing-similar-card span{display:grid;gap:4px}.listing-similar-card small{color:#6d7f92;line-height:1.3}.listing-report details summary{cursor:pointer}.compact-form{padding:14px 0 0}.owner-listing-overview{display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,1.5fr);gap:18px;padding:14px 0}.listing-completeness-bar{height:9px;background:#edf2f7;border-radius:999px;overflow:hidden;margin:8px 0}.listing-completeness-bar span{display:block;height:100%;background:linear-gradient(90deg,#39a96b,#2a82d8);border-radius:inherit}.owner-listing-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.owner-listing-stats span{padding:10px;border:1px solid #e3eaf2;border-radius:11px;background:#f9fbfd;font-size:.78rem}.owner-listing-stats b{display:block;font-size:1.15rem}.owner-closure-box{margin:14px 0;padding:14px;border:1px solid #e4eaf1;border-radius:14px;background:#fafcff}.owner-weekly-hours{display:grid;gap:8px}.weekly-hour-row{display:grid;grid-template-columns:120px 150px 120px 120px auto;gap:8px;align-items:center;padding:9px;border:1px solid #e4eaf1;border-radius:11px}.weekly-hour-row input,.weekly-hour-row select{min-height:38px;border:1px solid #ced8e6;border-radius:8px;padding:7px}.owner-review-card{padding:14px 0;border-top:1px solid #edf1f5}.owner-review-card:first-of-type{border-top:0}.owner-reply-form{margin-top:10px}
@media(max-width:900px){.admin-shell{grid-template-columns:248px minmax(0,1fr)}.listing-similar-grid{grid-template-columns:1fr 1fr}.owner-listing-overview{grid-template-columns:1fr}.weekly-hour-row{grid-template-columns:1fr 1fr}.weekly-hour-row strong{grid-column:1/-1}}
@media(max-width:760px){.admin-sidebar{background:#f7faff}.side-nav{display:block}.side-accordion{margin-bottom:8px}.admin-logo{position:static}.listing-similar-grid{grid-template-columns:1fr}.owner-listing-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.weekly-hour-row{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.side-accordion-toggle b{transition:none}}
/* Build 251: clean Directory overview and dedicated management workspaces */
.directory-command-center .panel-heading{margin-bottom:.35rem}.directory-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.admin-action-card{display:flex;flex-direction:column;gap:6px;min-height:112px;padding:16px;border:1px solid #dfe7f0;border-radius:16px;background:#fff;text-decoration:none;color:inherit;box-shadow:0 5px 18px rgba(15,23,42,.04);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.admin-action-card:hover{transform:translateY(-2px);border-color:#a9c8ee;box-shadow:0 10px 24px rgba(15,23,42,.08)}.admin-action-card b{font-size:1rem}.admin-action-card span{font-size:.88rem;line-height:1.45;color:#64748b}.table-subtext{display:block;margin-top:3px;color:#7b8797}.empty-state b,.empty-state span{display:block}.empty-state span{margin-top:4px}.directory-boundary-note .notice-soft{margin:0;background:#f8fbff;border-color:#dbe8f7}.directory-boundary-note .notice-soft a{text-decoration:none}@media(max-width:980px){.directory-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.directory-action-grid{grid-template-columns:1fr}.admin-action-card{min-height:auto}}@media(prefers-reduced-motion:reduce){.admin-action-card{transition:none}.admin-action-card:hover{transform:none}}
/* Build 255 — official country-aware travel-safety widgets */
.official-safety-widget{margin:22px 0;padding:22px}.official-safety-widget .section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.official-widget-frame{position:relative;overflow:hidden;border:1px solid var(--border,#dfe5ea);border-radius:16px;background:#fff;margin:16px 0}.official-widget-frame iframe{display:block;width:100%;min-height:440px;border:0}.official-warning-list{display:grid;gap:12px;margin:16px 0}.official-warning-list article{padding:14px 16px;border:1px solid var(--border,#dfe5ea);border-radius:14px;background:#fff}.official-warning-list h3{margin:0 0 6px}.official-warning-list p{margin:0}.admin-inline-actions{display:flex;flex-wrap:wrap;gap:6px}.admin-inline-actions form{display:inline}.danger-link{color:#9f1d20}.provider-help{font-size:.9rem;color:var(--muted,#64748b)}
@media(max-width:700px){.official-safety-widget .section-heading{display:block}.official-safety-widget .status-chip{display:inline-block;margin-top:8px}.official-widget-frame iframe{min-height:520px}}

/* Build 256 multi-country Emergency & Safety */
.emergency-country-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 24px;padding:8px;border:1px solid #e2e8f0;border-radius:18px;background:#fff}.emergency-country-tab{display:inline-flex;align-items:center;gap:7px;padding:10px 15px;border-radius:12px;text-decoration:none;font-weight:800;color:#334155}.emergency-country-tab:hover{background:#f8fafc}.emergency-country-tab.active{background:#172554;color:#fff}.emergency-card-head{display:flex;gap:12px;align-items:flex-start}.emergency-card-head h3{margin:.2rem 0 0}.emergency-icon{width:46px;height:46px;display:inline-grid;place-items:center;flex:0 0 46px;border-radius:14px;background:#fff1f2;border:1px solid #fecdd3;color:#b91c1c}.emergency-icon svg{width:27px;height:27px;fill:currentColor}.emergency-card p{color:#475569}.emergency-card small a{text-decoration:underline}.emergency-expansion-note{margin:24px 0}.emergency-expansion-note h2{margin-top:0}@media(max-width:620px){.emergency-country-tabs{display:grid;grid-template-columns:1fr}.emergency-country-tab{justify-content:center}.emergency-number{font-size:1.8rem}}


/* Build 260: responsive Places & POIs destination opened from Footer > Explore. */
.mg-places-page{max-width:1280px;margin:0 auto;padding:clamp(20px,3vw,40px) clamp(16px,3vw,28px) 56px}
.mg-places-section{min-width:0}
.mg-places-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.mg-places-head>div{min-width:0;max-width:820px}
.mg-places-head h1{margin:.2rem 0 .45rem;font-size:clamp(2rem,5vw,3.4rem);line-height:1.05;overflow-wrap:anywhere}
.mg-places-head p{margin:0;max-width:760px;line-height:1.6;color:#596579}
.mg-places-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch;width:100%;max-width:820px;margin:18px 0 28px}
.mg-places-search input{width:100%;min-width:0;min-height:46px;padding:11px 14px;border:1px solid #ccd5e1;border-radius:12px;background:#fff;font:inherit}
.mg-places-search .btn{min-height:46px;white-space:nowrap}
.mg-places-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%;min-width:0}
.mg-place-card{min-width:0;height:100%;overflow:hidden;border:1px solid #e0e6ee;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(22,39,65,.06)}
.mg-place-card .listing-card-body{padding:18px;min-width:0}
.mg-place-card h3{margin:0 0 8px;font-size:1.08rem;line-height:1.3;overflow-wrap:anywhere}
.mg-place-card h3 a{display:inline;color:inherit;text-decoration:none;overflow-wrap:anywhere}
.mg-place-card h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.mg-place-card p{margin:0 0 8px;color:#536176;line-height:1.45;overflow-wrap:anywhere}
.mg-place-card small{display:block;color:#6d7788;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:900px){.mg-places-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mg-places-page{padding:18px 14px 42px}.mg-places-head{align-items:flex-start}.mg-places-search{grid-template-columns:1fr;margin-bottom:22px}.mg-places-search .btn{width:100%;min-height:46px}.mg-places-grid{grid-template-columns:minmax(0,1fr);gap:14px}.mg-place-card .listing-card-body{padding:16px}.mg-places-head h1{font-size:clamp(1.85rem,10vw,2.5rem)}}
@media(max-width:360px){.mg-places-page{padding-left:10px;padding-right:10px}.mg-places-search input{font-size:16px}}

/* Build 272: multilingual Admin visual separation + persistent POI Edit affordance. */
.lang-panel.lang-en{background:#eaf3ff;border-color:#b9d2f4}.lang-panel.lang-ms{background:#e8f7eb;border-color:#b8ddc0}.lang-panel.lang-zh-cn{background:#fff1e9;border-color:#e8c5b5}
.lang-panel.lang-en>h3,.lang-panel.lang-ms>h3,.lang-panel.lang-zh-cn>h3{padding:8px 10px;border-radius:8px;background:rgba(255,255,255,.72);font-weight:800}
.lang-panel.lang-en>h3,.lang-panel.lang-en>legend,.lang-panel.lang-en legend b{color:#123f73;font-weight:800}
.lang-panel.lang-ms>h3,.lang-panel.lang-ms>legend,.lang-panel.lang-ms legend b{color:#155d2f;font-weight:800}
.lang-panel.lang-zh-cn>h3,.lang-panel.lang-zh-cn>legend,.lang-panel.lang-zh-cn legend b{color:#7a2633;font-weight:800}
.lang-panel>legend{padding:0 8px}
.poi-edit-primary{font-weight:800;white-space:nowrap}.poi-actions-col{min-width:260px}.poi-actions-cell{min-width:260px}.poi-inline-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
@media(max-width:760px){.poi-actions-cell{min-width:0}.poi-inline-actions .poi-edit-primary{order:-10;width:100%;justify-content:center}}

/* Build 275: authoritative multilingual Content & SEO panel colors. Keep these
   strong enough for fieldset-based POI editors and div-based Guide editors. */
.editor-language.lang-panel.lang-en{background-color:#e6f1ff!important;border:2px solid #a9c8ef!important;box-shadow:0 2px 10px rgba(18,63,115,.06)}
.editor-language.lang-panel.lang-ms{background-color:#e2f5e6!important;border:2px solid #9fd0aa!important;box-shadow:0 2px 10px rgba(21,93,47,.07)}
.editor-language.lang-panel.lang-zh-cn{background-color:#fff0e8!important;border:2px solid #e2b9aa!important;box-shadow:0 2px 10px rgba(122,38,51,.06)}
.editor-language.lang-panel.lang-en>h3,.editor-language.lang-panel.lang-en>legend,.editor-language.lang-panel.lang-en>legend b{color:#123f73!important;font-weight:900!important}
.editor-language.lang-panel.lang-ms>h3,.editor-language.lang-panel.lang-ms>legend,.editor-language.lang-panel.lang-ms>legend b{color:#155d2f!important;font-weight:900!important}
.editor-language.lang-panel.lang-zh-cn>h3,.editor-language.lang-panel.lang-zh-cn>legend,.editor-language.lang-panel.lang-zh-cn>legend b{color:#7a2633!important;font-weight:900!important}
.editor-language.lang-panel>legend{background:#fff;padding:7px 12px;border-radius:8px;border:1px solid rgba(0,0,0,.07)}

/* Build 276 — balanced Free Listing detail + Halal / Non-Halal ribbons */
.listing-dietary-ribbon{position:absolute;top:0;right:18px;z-index:5;width:128px;min-height:142px;padding:21px 12px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-decoration:none;color:#fff!important;font-weight:900;letter-spacing:.03em;box-shadow:0 10px 24px rgba(22,36,55,.22);clip-path:polygon(0 0,100% 0,100% 82%,50% 100%,0 82%);border:3px solid rgba(255,255,255,.82)}
.listing-dietary-ribbon b{font-size:1.05rem;line-height:1.05}.listing-dietary-ribbon small{display:block;margin-top:6px;font-size:.92rem;font-weight:800}.listing-dietary-ribbon.halal{background:linear-gradient(160deg,#159447,#087632)}.listing-dietary-ribbon.non-halal{background:linear-gradient(160deg,#e42327,#b9000d)}.listing-dietary-ribbon.muslim-friendly{background:linear-gradient(160deg,#17836e,#0d6656)}
.listing-dietary-ribbon:focus-visible{outline:4px solid #fff;outline-offset:-7px}.listing-dietary-inline{display:inline-block;padding:7px 12px;border-radius:999px;color:#fff!important;font-weight:900;text-decoration:none}.listing-dietary-inline.halal{background:#0a8338}.listing-dietary-inline.non-halal{background:#cf1520}
.listing-dietary-status-panel{display:flex;align-items:center;gap:18px;border-width:2px!important}.listing-dietary-status-panel.halal{background:#eefaf2;border-color:#9dd9b1}.listing-dietary-status-panel.non-halal{background:#fff1f1;border-color:#f0a2a6}.listing-dietary-status-panel.muslim-friendly{background:#effaf8;border-color:#9ed7cc}.listing-dietary-status-panel .listing-dietary-icon{width:52px;height:52px;flex:0 0 52px;border-radius:50%;display:grid;place-items:center;background:#fff;font-size:1.45rem;font-weight:900}.listing-dietary-status-panel h2{margin:.1rem 0 .35rem}.listing-dietary-status-panel p{margin:0;color:#3f5068}
.listing-public-detail .listing-detail-card.mg-content-hero.is-free{grid-template-columns:minmax(0,48%) minmax(0,52%);align-items:stretch}.listing-public-detail .listing-detail-card.mg-content-hero.is-free .listing-hero-media{padding:18px;justify-content:center}.listing-public-detail .listing-detail-card.mg-content-hero.is-free .listing-primary-stage{height:100%;min-height:360px;max-height:470px}.listing-public-detail .listing-detail-card.mg-content-hero.is-free .listing-primary-stage>img{object-fit:cover}.listing-public-detail .listing-detail-card.mg-content-hero.is-free .listing-detail-content{display:flex;flex-direction:column;justify-content:center}
.listing-free-details{margin-top:18px}.listing-free-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.listing-free-info-card{border:1px solid #dfe7f2;border-radius:16px;background:#fff;padding:18px;min-width:0}.listing-free-info-card h2{font-size:1.05rem;margin:0 0 10px;color:#102a56}.listing-free-info-card p:last-child{margin-bottom:0}.listing-free-facilities{margin-top:16px}.listing-free-info-card .map-actions{margin-top:10px}
.listing-ribbon-demo-row{display:flex;gap:18px;align-items:flex-start;margin:14px 0 4px;min-height:150px}.listing-dietary-ribbon.is-preview{position:relative;top:auto;right:auto;width:118px;min-height:130px;pointer-events:none}.listing-dietary-admin{overflow:visible}
@media(max-width:900px){.listing-free-detail-grid{grid-template-columns:1fr 1fr}.listing-free-detail-grid .listing-free-info-card:last-child:nth-child(odd){grid-column:1/-1}}
@media(max-width:780px){.listing-public-detail .listing-detail-card.mg-content-hero.is-free{grid-template-columns:1fr}.listing-public-detail .listing-detail-card.mg-content-hero.is-free .listing-hero-media{padding:14px}.listing-public-detail .listing-detail-card.mg-content-hero.is-free .listing-primary-stage{min-height:240px;height:68vw;max-height:420px}.listing-dietary-ribbon{right:12px;width:108px;min-height:122px;padding:17px 9px 23px}.listing-dietary-ribbon b{font-size:.92rem}.listing-free-detail-grid{grid-template-columns:1fr}.listing-free-detail-grid .listing-free-info-card:last-child:nth-child(odd){grid-column:auto}.listing-dietary-status-panel{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.listing-dietary-ribbon{transition:none}}

/* Build 277 — trilingual Listing/Sponsored Listing advertising */
.listing-language-panel{border-radius:14px;padding:16px;margin:8px 0 18px}.listing-language-panel legend{padding:0 8px}.listing-language-toggle{margin-bottom:12px}.listing-language-panel .is-disabled-language{opacity:.58}.listing-language-tabs{display:flex;gap:8px;flex-wrap:wrap;max-width:1180px;margin:14px auto 0;padding:0 20px}.listing-language-tabs a{display:inline-flex;align-items:center;padding:9px 14px;border:1px solid #d7dfeb;border-radius:10px;text-decoration:none;background:#fff;font-weight:700}.listing-language-tabs a.is-active{border-color:#0b74c9;box-shadow:0 0 0 2px rgba(11,116,201,.08);color:#0b5ca5}.listing-master-form [data-listing-category]:invalid{border-color:#b42318}.listing-master-form .lang-panel.lang-en{background:#eaf3ff!important;border-color:#b9d2f4!important}.listing-master-form .lang-panel.lang-ms{background:#e8f7eb!important;border-color:#b8ddc0!important}.listing-master-form .lang-panel.lang-zh-cn{background:#fff1e9!important;border-color:#e8c5b5!important}
@media(max-width:760px){.listing-language-tabs{padding:0 14px}.listing-language-tabs a{flex:1 1 auto;justify-content:center}.listing-language-panel{padding:12px}}

/* Build 278 — language-specific Listing SEO + saved-address visibility */
.listing-language-seo{margin-top:10px;padding-top:10px;border-top:1px dashed rgba(15,23,42,.16)}
.listing-language-seo h4{margin:0 0 4px;font-size:1rem}
.listing-language-seo p{margin:0;color:#5d6674;font-size:.9rem}
.listing-public-address{line-height:1.55;overflow-wrap:anywhere}
.listing-address-card .listing-public-address{font-size:1rem}

/* Build 279 — managed dietary badge artwork */
.listing-dietary-ribbon.has-custom-badge{padding:0;background:transparent!important;border:0;box-shadow:none;overflow:visible}.listing-dietary-ribbon.has-custom-badge img{display:block;max-width:150px;max-height:90px;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 5px 10px rgba(0,0,0,.2))}
@media(max-width:720px){.listing-dietary-ribbon.has-custom-badge img{max-width:112px;max-height:72px}}

/* Build 280 — multilingual attention, dietary discovery and sponsored presentation */
.mg-language-bar{position:relative}.mg-language-prompt{position:absolute;left:max(18px,calc((100% - 1240px)/2 + 18px));top:50%;transform:translateY(-50%);font-size:.78rem;font-weight:850;letter-spacing:.01em;color:#36526d;white-space:nowrap}.mg-language-attention{animation:mgLanguageAttention 1.25s ease-in-out 4;outline:2px solid rgba(48,126,205,.38);outline-offset:-2px}@keyframes mgLanguageAttention{0%,100%{box-shadow:0 0 0 0 rgba(48,126,205,.12)}50%{box-shadow:0 0 0 5px rgba(48,126,205,.18),0 3px 18px rgba(35,94,155,.16)}}
.dietary-filter-bar{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.dietary-filter-bar a{display:inline-flex;align-items:center;min-height:38px;padding:7px 12px;border:1px solid #ccd9e7;border-radius:999px;background:#fff;color:#29445f;text-decoration:none;font-size:.88rem;font-weight:800}.dietary-filter-bar a:hover,.dietary-filter-bar a:focus-visible{border-color:#7fa6ce}.dietary-filter-bar a.active{background:#173e67;color:#fff;border-color:#173e67}.dietary-filter-note{margin:.55rem 0 0;font-size:.84rem}
.public-listing-media,.home-listing-thumb,.travel-guide-summary-media{position:relative}.food-card-dietary-badge{position:absolute;z-index:5;top:9px;left:9px;display:inline-flex;align-items:center;justify-content:center;max-width:72%;min-height:26px;padding:5px 9px;border-radius:7px;font-size:.7rem;font-weight:950;letter-spacing:.05em;line-height:1;text-transform:uppercase;box-shadow:0 3px 10px rgba(0,0,0,.18)}.food-card-dietary-badge.halal{background:#08783d;color:#fff;border:1px solid rgba(255,255,255,.75)}.food-card-dietary-badge.non-halal{background:#b51f2e;color:#fff;border:1px solid rgba(255,255,255,.78)}.food-card-dietary-badge.muslim-friendly{background:#2f7d5b;color:#fff;border:1px solid rgba(255,255,255,.78)}.listing-badge.dietary-inline{font-weight:900;letter-spacing:.025em}.listing-badge.dietary-inline.halal{background:#e5f7ec;color:#0b6b3a;border-color:#9cd5b3}.listing-badge.dietary-inline.muslim-friendly{background:#edf7f2;color:#275e48;border-color:#a9d2bf}.listing-badge.dietary-inline.non-halal{background:#fff0f1;color:#a61d2b;border-color:#e3a4ab}.food-card-dietary-badge.has-image{padding:0;background:rgba(255,255,255,.96);border:1px solid rgba(0,0,0,.12);overflow:hidden}.food-card-dietary-badge.has-image img{display:block;width:auto!important;height:auto!important;max-width:118px!important;max-height:42px!important;object-fit:contain!important}.guide-dietary-status{display:inline-flex;align-items:center;gap:8px;margin:.35rem 0 .4rem}.guide-dietary-status .food-card-dietary-badge{position:static;max-width:none}.listing-language-unavailable{margin:12px 0}.sponsor-display-admin{margin:16px 0}
@media(max-width:760px){.mg-language-prompt{position:static;display:block;transform:none;text-align:center;padding:5px 10px 0;white-space:normal}.mg-language-bar-inner{justify-content:center!important}.dietary-filter-bar a{flex:1 1 auto;justify-content:center}.food-card-dietary-badge{top:7px;left:7px}}
@media(prefers-reduced-motion:reduce){.mg-language-attention{animation:none!important;box-shadow:0 0 0 3px rgba(48,126,205,.14)!important}}
/* Build 282 Admin save verification feedback */
.notice-error{border-color:#fecaca;background:#fff1f2;color:#9f1239}.admin-table tr.admin-row-saved>td{background:#ecfdf5}.admin-table tr.admin-row-saved>td:first-child{box-shadow:inset 4px 0 0 #16a34a}

/* Build 284 — category-first discovery / food filters */
.category-discovery-hero h1{margin-bottom:8px}
.food-discovery-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.food-discovery-filters .food-filter{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:38px;padding:8px 12px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:inherit;font-weight:700}
.food-discovery-filters .food-filter.active{border-color:#0f766e;box-shadow:0 0 0 2px rgba(15,118,110,.12)}
.search-understood .chip{margin-left:6px;vertical-align:middle}
@media (max-width:640px){.food-discovery-filters{display:grid;grid-template-columns:1fr}.food-discovery-filters .food-filter{width:100%}.category-discovery-hero .search-row{grid-template-columns:1fr}.category-discovery-hero .search-row .btn{width:100%}}

/* Build 285 — translation work search and status visibility */
.translation-search-panel{margin:14px 0 4px;padding:14px;border:1px solid #d8e4f2;border-radius:14px;background:#f8fbff}.translation-search-panel>div>strong{font-size:1rem;color:#173052}.translation-search-panel>div>p{margin:.25rem 0 .8rem;color:#60748a;font-size:.88rem}.translation-filter-bar{align-items:end}.translation-search-box{min-width:280px}.translation-search-box input{min-height:42px}.translation-filter-actions{display:flex;gap:8px;align-items:center}.translation-language-status{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}.translation-language-status span{display:inline-flex;padding:2px 6px;border-radius:999px;font-size:10px;font-weight:900;border:1px solid}.translation-language-status .done{background:#e9f8ef;border-color:#a9dab9;color:#176337}.translation-language-status .missing{background:#fff2ee;border-color:#efb8aa;color:#8a3322}@media(max-width:900px){.translation-search-box{min-width:100%}.translation-filter-actions{width:100%}.translation-filter-actions .btn{flex:1}}

/* Build 290: missing translation rows are visibly yellow for the currently selected target language. */
.translation-row.translation-row-missing{background:#fff8cf;border-color:#e4c95f;box-shadow:inset 4px 0 0 #d8b532}.translation-row.translation-row-saved{box-shadow:0 0 0 3px rgba(46,125,86,.16)}

/* Build 291: Discovery collector reference-capture repair. */

/* Build 292: explicit EN source + independent BM/ZH translation workspace */
.translation-row-v292{display:grid;grid-template-columns:minmax(180px,.55fr) minmax(240px,1fr) minmax(260px,1fr) minmax(260px,1fr);align-items:stretch}.translation-source-panel,.translation-edit-panel{display:grid;gap:7px;padding:10px;border:1px solid #dfe7f1;border-radius:12px;background:#fbfdff}.translation-source-panel{background:#f3f6fa}.translation-source-panel textarea{background:#eef2f6;color:#40546a}.translation-field-label{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.translation-field-label strong{color:#173052}.translation-panel-state{font-size:11px;font-weight:800;color:#557086}.translation-panel-missing{background:#fffbea;border-color:#e5cf72}.translation-edit-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.translation-edit-actions select{min-width:130px}.translation-save-state{font-size:12px;font-weight:800;color:#28734b}@media(max-width:1200px){.translation-row-v292{grid-template-columns:1fr 1fr}.translation-key-v292{grid-column:1/-1}}@media(max-width:760px){.translation-row-v292{grid-template-columns:1fr}.translation-key-v292{grid-column:auto}.translation-edit-actions>*{width:100%}}

/* Build 294 — footer/mobile branding and governed map-link fields */
.mg-footer-logo-wrap{flex:0 1 260px;max-width:min(260px,100%);min-width:0}.mg-footer-logo-image{display:block;width:100%;height:auto;max-height:76px;object-fit:contain;object-position:left center}.mg-map-link-field{padding:12px!important;border:2px solid #e2a400!important;border-radius:12px!important;background:#fff8d9!important}.mg-map-link-field input{background:#fff!important;border-color:#d39b00!important}.mg-map-link-field small{color:#684d00!important}.mg-coordinate-verified{background:#edf9f0;border:1px solid #9bd4a8;border-radius:10px;padding:10px}
@media(max-width:900px){.legacy-mg-site-footer-inner{width:100%;max-width:100%;padding-left:20px;padding-right:20px}.legacy-mg-site-footer-brand{max-width:100%;min-width:0}.legacy-mg-site-footer-grid{gap:26px 22px}.legacy-mg-site-footer-bottom{width:100%;overflow-wrap:anywhere}.legacy-mg-site-footer-legal{min-width:0}.legacy-mg-site-footer-legal nav{min-width:0}}
@media(max-width:560px){.legacy-mg-site-footer{overflow:hidden}.legacy-mg-site-footer-brand{flex-direction:column;align-items:flex-start!important;gap:12px}.mg-footer-logo-wrap{flex:none;width:min(240px,85vw)}.legacy-mg-site-footer-grid section,.legacy-mg-site-footer-grid p,.legacy-mg-site-footer-grid a{max-width:100%;overflow-wrap:anywhere}.legacy-mg-site-footer-legal nav{display:grid;grid-template-columns:1fr;width:100%;gap:2px}.legacy-mg-site-footer-bottom span{display:block;max-width:100%}}

/* Build 295 — Community Discovery Drops */
.discovery-drop-form .discovery-photo-input{border:2px dashed #8b5cf6;border-radius:14px;padding:16px;background:#faf7ff}.discovery-photo-input input{margin-top:10px}.discovery-admin-grid{display:grid;gap:18px}.discovery-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;margin:14px 0}.discovery-photo-grid img{width:100%;height:110px;object-fit:cover;border-radius:10px}.my-mesraguide .button-row{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:640px){.discovery-admin-card .form-grid{grid-template-columns:1fr}.discovery-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.my-mesraguide .button-row .btn{width:100%;text-align:center}}

/* Build 297 — video upgrade and media */
.free-video-upgrade-message{margin-top:10px}.listing-video-section .mg-social-embed{max-width:900px;margin:auto}.listing-video-section iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:14px}

/* Build 299 — compact one-row desktop footer + Hidden Gem readability repair */
@media(min-width:1101px){
.legacy-mg-site-footer-inner{max-width:1540px;padding:34px 24px 24px}.legacy-mg-site-footer-row{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(0,4fr);gap:30px;align-items:start}.legacy-mg-site-footer-brand{display:block;max-width:none;padding:0;margin:0;border:0}.mg-footer-logo-wrap{width:190px;max-width:100%;margin-bottom:12px}.mg-footer-logo-image{max-height:58px}.legacy-mg-site-footer-brand strong{font-size:1.05rem}.legacy-mg-site-footer-brand p{font-size:.86rem;line-height:1.45;margin:.35rem 0}.mg-footer-know{display:inline-block;margin-top:7px;font-weight:800;font-size:.86rem}.legacy-mg-site-footer-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.legacy-mg-site-footer-grid section{gap:5px}.mg-footer-link{min-height:32px;padding:3px 0}.legacy-mg-site-footer-legal{margin-top:24px;padding-top:16px;align-items:center}.legacy-mg-site-footer-legal nav{justify-content:flex-start;flex:1}.legacy-mg-site-footer-legal strong{font-size:.85rem}
}
body.hidden-gem-detail-page .mg-unified-hero-copy{padding-top:24px!important;padding-bottom:24px!important}body.hidden-gem-detail-page .mg-unified-badges{margin-top:6px!important;margin-bottom:12px!important;overflow:visible!important}body.hidden-gem-detail-page .mg-hidden-gem-status{margin-top:2px!important}body.hidden-gem-detail-page .mg-hidden-gem-meta{color:#9fb3c8!important;opacity:1!important}body.hidden-gem-detail-page .mg-unified-location{color:#c6d6e6!important;opacity:1!important}body.hidden-gem-detail-page .mg-unified-callout{display:flex!important;align-items:center!important;gap:8px 12px!important;flex-wrap:wrap!important;margin-top:10px!important;color:#f8fafc!important}body.hidden-gem-detail-page .mg-unified-callout a{color:#60a5fa!important;font-weight:800!important}body.hidden-gem-detail-page .mg-unified-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
@media(max-width:780px){body.hidden-gem-detail-page .mg-unified-callout{align-items:flex-start!important;flex-direction:column!important;gap:4px!important}.legacy-mg-site-footer-row{display:block}}

.listing-social-links{display:flex;flex-wrap:wrap;gap:10px}.listing-social-links .btn{min-width:120px;justify-content:center}

/* Build 304: Hidden Gem high-contrast accessibility */
body.hidden-gem-detail-page .mg-hidden-gem-meta,body.hidden-gem-detail-page .mg-unified-location,body.hidden-gem-detail-page .mg-unified-callout,body.hidden-gem-detail-page .mg-unified-callout strong{color:#fff!important;opacity:1!important}body.hidden-gem-detail-page .mg-unified-callout a{color:#fff!important;text-decoration:underline;text-underline-offset:3px}body.hidden-gem-detail-page .mg-unified-breadcrumbs>a:first-child{color:#fff!important;font-weight:800!important}

/* Build 306 — compact single-row desktop footer */
@media(min-width:1101px){
  .legacy-mg-site-footer-inner{max-width:1600px;padding:26px 24px 20px}
  .legacy-mg-site-footer-row{display:grid;grid-template-columns:minmax(150px,.62fr) minmax(0,4fr);gap:26px;align-items:start}
  .legacy-mg-site-footer-brand{display:block;min-width:0;padding:0;margin:0;border:0}
  .mg-footer-logo-wrap{width:120px;max-width:120px;margin:0 0 8px}
  .mg-footer-logo-image{width:100%;height:auto;max-height:40px;object-fit:contain;object-position:left center}
  .legacy-mg-site-footer-brand strong{font-size:.98rem}
  .legacy-mg-site-footer-brand p{font-size:.8rem;line-height:1.35;margin:.25rem 0}
  .mg-footer-know{margin-top:5px;font-size:.82rem}
  .legacy-mg-site-footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:start}
  .legacy-mg-site-footer-grid section{gap:3px}
  .legacy-mg-site-footer-grid h2{margin-bottom:4px;font-size:.84rem}
  .mg-footer-link{min-height:28px;padding:2px 0;font-size:.88rem}
  .legacy-mg-site-footer-grid p,.legacy-mg-site-footer-grid small{font-size:.82rem;line-height:1.35}
  .mg-footer-emergency{padding:7px 10px;font-size:.84rem}
  .legacy-mg-site-footer-legal{margin-top:18px;padding-top:12px}
}


/* Build 307 — strict one-row footer + simple Google-style weekly hours */
@media(min-width:901px){
 .legacy-mg-site-footer-inner{max-width:1680px!important;padding:22px 18px 16px!important}
 .legacy-mg-site-footer-row{display:grid!important;grid-template-columns:minmax(180px,.9fr) minmax(0,4fr)!important;gap:18px!important;align-items:start!important}
 .mg-footer-logo-wrap{width:92px!important;max-width:92px!important;margin:0 0 5px!important}
 .mg-footer-logo-image{max-height:30px!important}
 .legacy-mg-site-footer-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
 .legacy-mg-site-footer-brand p{font-size:.76rem!important;line-height:1.28!important;margin:.18rem 0!important}
 .mg-footer-know{font-size:.78rem!important;margin-top:3px!important}
 .legacy-mg-site-footer-grid h2{font-size:.8rem!important;margin:0 0 3px!important}
 .mg-footer-link{font-size:.82rem!important;min-height:24px!important;padding:1px 0!important}
 .legacy-mg-site-footer-grid p,.legacy-mg-site-footer-grid small{font-size:.76rem!important;line-height:1.28!important}
 .legacy-mg-site-footer-legal{margin-top:12px!important;padding-top:9px!important}
}
@media(max-width:900px){.legacy-mg-site-footer-row{display:block!important}.legacy-mg-site-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mg-footer-logo-wrap{width:100px!important}.mg-footer-logo-image{max-height:34px!important}}
@media(max-width:560px){.legacy-mg-site-footer-grid{grid-template-columns:1fr!important}}
.mg-simple-weekly-hours{max-width:850px}.mg-simple-hours-row{display:grid;grid-template-columns:130px 150px minmax(260px,1fr);gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid #e5e7eb}.mg-simple-hours-row strong{font-size:.95rem}.mg-simple-hours-row select,.mg-simple-hours-row input{min-height:40px}.mg-simple-hours-time{display:flex;align-items:center;gap:9px}.mg-simple-hours-time input{flex:1;min-width:0}.mg-simple-weekly-hours .form-actions{margin-top:16px}@media(max-width:700px){.mg-simple-hours-row{grid-template-columns:1fr 1fr}.mg-simple-hours-time{grid-column:1/-1}.mg-simple-weekly-hours .form-actions .btn{width:100%}}

/* Build 308 — desktop footer five-column compatibility + opening status */
@media(min-width:901px){
 .legacy-mg-site-footer-inner{max-width:none!important;width:100%!important;padding:18px 24px 12px!important}
 .legacy-mg-site-footer-row{display:grid!important;grid-template-columns:minmax(150px,190px) repeat(4,minmax(120px,1fr))!important;column-gap:clamp(12px,1.5vw,28px)!important;align-items:start!important;width:100%!important}
 .legacy-mg-site-footer-grid{display:contents!important}
 .legacy-mg-site-footer-brand{grid-column:1!important;min-width:0!important}
 .legacy-mg-site-footer-grid section{min-width:0!important;max-width:none!important}
 .mg-footer-logo-wrap{width:82px!important;max-width:82px!important;margin:0 0 4px!important}
 .mg-footer-logo-image{width:auto!important;max-width:82px!important;max-height:27px!important;object-fit:contain!important}
 .legacy-mg-site-footer-brand p,.legacy-mg-site-footer-grid p,.legacy-mg-site-footer-grid small{overflow-wrap:anywhere!important}
}
.mg-hours-status{font-weight:900}.mg-hours-status.is-open{color:#16803a}.mg-hours-status.is-closed,.mg-hours-status.is-closing{color:#c62828}


/* Build 309 — authoritative desktop footer and visible structured weekly hours */
@media (min-width: 1000px){
  .legacy-mg-site-footer .legacy-mg-site-footer-inner{width:100%!important;max-width:1800px!important;margin:0 auto!important;padding:16px 22px 10px!important}
  .legacy-mg-site-footer .mg-footer-five-columns{display:grid!important;grid-template-columns:minmax(130px,170px) repeat(4,minmax(0,1fr))!important;gap:12px 24px!important;align-items:start!important;width:100%!important}
  .legacy-mg-site-footer .mg-footer-five-columns>.mg-footer-column{display:flex!important;flex-direction:column!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;gap:3px!important}
  .legacy-mg-site-footer .legacy-mg-site-footer-brand{max-width:170px!important}
  .legacy-mg-site-footer .mg-footer-logo-wrap{width:72px!important;max-width:72px!important;margin:0 0 3px!important}
  .legacy-mg-site-footer .mg-footer-logo-image{display:block!important;width:auto!important;max-width:72px!important;max-height:24px!important}
  .legacy-mg-site-footer .mg-footer-brand-copy strong{font-size:.86rem!important}
  .legacy-mg-site-footer .legacy-mg-site-footer-brand p{font-size:.72rem!important;line-height:1.2!important;margin:2px 0!important}
  .legacy-mg-site-footer .mg-footer-know{font-size:.74rem!important;margin-top:2px!important}
  .legacy-mg-site-footer .mg-footer-column h2{font-size:.78rem!important;margin:0 0 3px!important}
  .legacy-mg-site-footer .mg-footer-link{font-size:.78rem!important;line-height:1.2!important;min-height:21px!important;padding:1px 0!important}
  .legacy-mg-site-footer .mg-footer-column p,.legacy-mg-site-footer .mg-footer-column small{font-size:.72rem!important;line-height:1.22!important;margin:0!important}
  .legacy-mg-site-footer .mg-footer-emergency{font-size:.72rem!important;padding:5px 7px!important;margin-top:3px!important}
  .legacy-mg-site-footer .legacy-mg-site-footer-legal{margin-top:9px!important;padding-top:7px!important}
}
@media (max-width:999px) and (min-width:601px){.legacy-mg-site-footer .mg-footer-five-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}.legacy-mg-site-footer .legacy-mg-site-footer-brand{grid-column:1/-1!important}}
@media (max-width:600px){.legacy-mg-site-footer .mg-footer-five-columns{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}}
.mg-public-weekly-hours{max-width:520px;border-top:1px solid #e4e7ec;margin-top:8px}
.mg-public-hours-row{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:7px 0;border-bottom:1px solid #eef0f3;align-items:center}
.mg-public-hours-row strong{font-size:.92rem}.mg-public-hours-row span{font-size:.92rem}.mg-hours-note{margin-top:10px}

/* Build 310 acceptance repair */
.mg-hours-status.is-closed,.mg-hours-status.is-closing{color:#c62828!important}.mg-hours-status.is-open{color:#16803b!important}.mg-public-hours-row{display:grid;grid-template-columns:minmax(100px,140px) 1fr;gap:12px;align-items:center}.mg-public-hours-row span{font-variant-numeric:tabular-nums}

/* Build 312 — footer balance, uniform nearby thumbnails, opening status and midnight control */
@media(min-width:1000px){.mg-footer-build312 .mg-footer-top>.mg-footer-column:nth-child(2){padding-left:clamp(18px,2.2vw,42px)}}
body .mg-public-opening-hours .mg-hours-status.is-closed,body .mg-public-opening-hours .mg-hours-status.is-closing{color:#c62828!important}
body .mg-public-opening-hours .mg-hours-status.is-open{color:#16803b!important}
.listing-similar-card img{display:block!important;width:82px!important;height:68px!important;min-width:82px!important;max-width:82px!important;flex:0 0 82px!important;object-fit:cover!important;object-position:center!important;border-radius:10px!important}
.mg-simple-hours-row{grid-template-columns:130px minmax(260px,1fr) auto auto auto!important}
@media(max-width:700px){.mg-simple-hours-row{grid-template-columns:1fr 1fr!important}.mg-simple-hours-time{grid-column:1/-1}}
/* Build 313 — country-aware clock */
.mg-country-clock{display:inline-flex;align-items:center;gap:.3rem;white-space:nowrap;font-size:.78rem;padding:.2rem .35rem;border:1px solid rgba(255,255,255,.25);border-radius:8px}.mg-country-clock small{opacity:.8}.mg-country-clock b{font-variant-numeric:tabular-nums}@media(max-width:900px){.mg-country-clock{width:100%;justify-content:center;margin:.15rem 0}}

/* Build 314: persistent country clock + authoritative live opening status */
.mg-country-clock-persistent{display:inline-flex!important;align-items:center;gap:.3rem;white-space:nowrap;font-size:.78rem;padding:.28rem .48rem;border:1px solid #d7e1ec;border-radius:9px;background:#f8fbff;color:#173052}.mg-country-clock-persistent b{font-variant-numeric:tabular-nums}.mg-hours-status{display:inline-flex!important;align-items:center;font-weight:850!important}.mg-hours-status.is-closed,.mg-hours-status.is-closing{color:#c62828!important}.mg-hours-status.is-open{color:#16803b!important}
@media(max-width:900px){.top .wrap{grid-template-columns:auto minmax(0,1fr) auto!important}.mg-country-clock-persistent{display:inline-flex!important;width:auto!important;justify-self:end;margin:0 .35rem 0 auto!important;font-size:.72rem;padding:.25rem .4rem}.mg-country-clock-persistent small{display:none}.public-nav-toggle{justify-self:end}}
@media(max-width:480px){.mg-country-clock-persistent{font-size:.68rem;margin-right:.2rem!important}.mg-country-clock-persistent b{min-width:4.4rem;text-align:center}}

/* Build 322 listing gallery + embedded Google map */
.listing-google-map-embed{margin:14px 0;border-radius:14px;overflow:hidden;min-height:280px}.listing-google-map-embed iframe{display:block;width:100%;height:320px;border:0}.listing-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.listing-gallery-item{padding:0;border:0;background:transparent;cursor:pointer;border-radius:12px;overflow:hidden}.listing-gallery-item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.notice.error{border-color:#c62828}
/* Build 325 — listing multi-image admin preview */
.listing-admin-gallery-preview{display:grid;grid-template-columns:repeat(auto-fill,120px);gap:10px;margin-top:12px;align-items:start}.listing-admin-gallery-preview figure{width:120px;margin:0;border:1px solid #ded8e9;border-radius:10px;padding:6px;background:#fff}.listing-admin-gallery-preview img{display:block;width:108px;height:81px;object-fit:cover;border-radius:7px}.listing-admin-gallery-preview figcaption{font-size:.72rem;margin-top:5px;color:#665d73}.listing-image-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.listing-image-actions .btn{font-size:.68rem;padding:4px 6px}

/* Build 328: hard thumbnail ceiling for Listing Admin media previews. */
.admin-form .listing-admin-gallery-preview{display:grid!important;grid-template-columns:repeat(auto-fill,132px)!important;gap:10px!important;align-items:start!important}.admin-form .listing-admin-gallery-preview figure{width:132px!important;max-width:132px!important;margin:0!important;padding:6px!important;overflow:hidden}.admin-form .listing-admin-gallery-preview figure img{width:120px!important;height:90px!important;max-width:120px!important;max-height:90px!important;object-fit:cover!important}.admin-form .current-media-preview{max-width:360px!important}.admin-form .current-media-preview img{width:120px!important;height:90px!important;max-width:120px!important;max-height:90px!important;object-fit:cover!important;flex:0 0 120px!important}

.hero-ad-admin-gallery{display:grid;grid-template-columns:repeat(auto-fill,132px);gap:10px}.hero-ad-admin-gallery a{display:block;width:132px;padding:6px;border:1px solid #ded8e9;border-radius:10px;background:#fff}.hero-ad-admin-gallery img{display:block;width:120px!important;height:90px!important;max-width:120px!important;object-fit:cover;border-radius:7px}.hero-ad-row-actions{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}.hero-ad-contact-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
/* Build 333 — mobile discovery: Local Customs & Culture is reachable within Explore / Discover. */
.mobile-discovery-core,.desktop-discovery-extra{display:contents}
@media(max-width:900px){
 .feature-nav .dropdown{display:block!important}
 .feature-nav .mobile-discovery-core,.feature-nav .desktop-discovery-extra{display:block}
 .feature-nav .mobile-discovery-core{border:1px solid #e8e1f2;border-radius:12px;padding:5px;margin:4px 0 8px;background:#fcfaff}
 .feature-nav .mobile-discovery-core a{min-height:42px;display:flex;align-items:center}
 .feature-nav .mobile-culture-priority{font-weight:700;color:#54238a;background:#f4edff}
}

/* Build 335 — Hidden Gem dark-header contrast acceptance. */
body.hidden-gem-detail-page .mg-hidden-gem-meta,
body.hidden-gem-detail-page .mg-unified-location{color:#fff!important;opacity:1!important;}
body.hidden-gem-detail-page .mg-unified-breadcrumbs>a:first-child{color:#fff!important;font-weight:800!important;}


/* Build 336 — approved colourful Hidden Gem jewel ribbon and breadcrumb hardening. */
body.hidden-gem-detail-page .mg-unified-breadcrumbs,
body.hidden-gem-detail-page .mg-unified-breadcrumbs span,
body.hidden-gem-detail-page .mg-unified-breadcrumbs a,
body.hidden-gem-detail-page .mg-unified-breadcrumbs .hgd-home-breadcrumb{color:#fff!important;opacity:1!important;}
body.hidden-gem-detail-page .mg-hidden-gem-status-v2{display:inline-flex!important;align-items:center;gap:8px;min-height:42px;padding:4px 14px 4px 5px;border:2px solid #ffca55!important;border-radius:999px!important;background:linear-gradient(100deg,#6d10ba 0%,#b50bd0 45%,#7815c8 100%)!important;color:#fff!important;box-shadow:0 0 0 2px rgba(255,75,245,.25),0 0 18px rgba(255,56,226,.55),inset 0 1px 0 rgba(255,255,255,.35)!important;overflow:visible;}
body.hidden-gem-detail-page .mg-hidden-gem-status-v2 strong{color:#fff!important;font-size:.88rem;letter-spacing:.01em;text-shadow:0 1px 2px rgba(0,0,0,.35);white-space:nowrap;}
body.hidden-gem-detail-page .mg-hidden-gem-jewel{display:grid;place-items:center;width:40px;height:40px;margin:-5px 1px -5px -6px;border:2px solid #ffd05c;border-radius:11px;transform:rotate(45deg);background:linear-gradient(145deg,#37107c,#7a17d1);box-shadow:0 0 10px rgba(255,78,239,.8),0 0 18px rgba(39,209,255,.45);}
body.hidden-gem-detail-page .mg-hidden-gem-jewel svg{width:31px;height:31px;transform:rotate(-45deg);filter:drop-shadow(0 0 4px rgba(255,255,255,.6));}
body.hidden-gem-detail-page .mg-hidden-gem-spark{color:#ffd348!important;font-size:1rem;line-height:1;text-shadow:0 0 8px #ff56e6;}
@media(max-width:580px){body.hidden-gem-detail-page .mg-hidden-gem-status-v2{min-height:38px;padding-right:11px;gap:6px}body.hidden-gem-detail-page .mg-hidden-gem-jewel{width:35px;height:35px}body.hidden-gem-detail-page .mg-hidden-gem-jewel svg{width:27px;height:27px}body.hidden-gem-detail-page .mg-hidden-gem-status-v2 strong{font-size:.8rem}}


/* Build 337 — supplied premium Hidden Gem PNG badge; international responsive header. */
body.hidden-gem-detail-page .mg-hidden-gem-status-v3{display:inline-flex!important;align-items:center!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;max-width:min(100%,620px)!important;}
body.hidden-gem-detail-page .mg-hidden-gem-badge-image{display:block!important;width:auto!important;height:auto!important;max-width:min(100%,520px)!important;max-height:112px!important;object-fit:contain!important;object-position:left center!important;filter:drop-shadow(0 7px 14px rgba(93,27,176,.28));}
body.hidden-gem-detail-page .mg-unified-badges{align-items:center!important;gap:12px!important;}
body.hidden-gem-detail-page .mg-unified-breadcrumbs,body.hidden-gem-detail-page .mg-unified-breadcrumbs a,body.hidden-gem-detail-page .mg-unified-breadcrumbs span,body.hidden-gem-detail-page .mg-unified-breadcrumbs .hgd-home-breadcrumb{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;}
@media(max-width:700px){body.hidden-gem-detail-page .mg-hidden-gem-badge-image{max-width:min(100%,360px)!important;max-height:82px!important}body.hidden-gem-detail-page .mg-unified-badges{gap:8px!important;flex-wrap:wrap!important}}
@media(max-width:430px){body.hidden-gem-detail-page .mg-hidden-gem-badge-image{max-width:min(100%,290px)!important;max-height:68px!important}}


/* Build 338 — owner-supplied compact Hidden Gem ribbon. */
body.hidden-gem-detail-page .mg-hidden-gem-status-v3{max-width:min(100%,360px)!important;}
body.hidden-gem-detail-page .mg-hidden-gem-badge-image{width:auto!important;height:auto!important;max-width:240px!important;max-height:105px!important;object-fit:contain!important;object-position:left center!important;}
@media(max-width:700px){body.hidden-gem-detail-page .mg-hidden-gem-badge-image{max-width:205px!important;max-height:90px!important}}
@media(max-width:430px){body.hidden-gem-detail-page .mg-hidden-gem-badge-image{max-width:175px!important;max-height:76px!important}}

/* Build 339: supplied compact Hidden Gem ribbon, no white capsule. */
body.hidden-gem-detail-page .mg-hidden-gem-status-v3{display:inline-flex!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
body.hidden-gem-detail-page .mg-hidden-gem-badge-image{display:block!important;width:auto!important;height:auto!important;max-width:240px!important;max-height:78px!important;object-fit:contain!important;filter:none!important}
@media(max-width:700px){body.hidden-gem-detail-page .mg-hidden-gem-badge-image{max-width:205px!important;max-height:68px!important}}
@media(max-width:430px){body.hidden-gem-detail-page .mg-hidden-gem-badge-image{max-width:175px!important;max-height:58px!important}}

/* Build 341 — transparent owner ribbon: eliminate inherited capsule on detail page. */
body.hidden-gem-detail-page .mg-unified-badges>.mg-hidden-gem-status.mg-hidden-gem-status-v3{background:transparent!important;background-color:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;outline:0!important;min-height:0!important;}
body.hidden-gem-detail-page .mg-hidden-gem-status-v3 .mg-hidden-gem-badge-image{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;}

/* Build 342 — POI/Hidden Gem responsive two-column hero */
body.entity-place-detail .mg-unified-hero{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr)!important;align-items:stretch!important;gap:0!important;background:#fff;border:1px solid #e5ebf3;border-radius:22px;overflow:hidden;box-shadow:0 12px 34px rgba(31,50,81,.065)}
body.entity-place-detail .mg-unified-hero>.mg-unified-media{grid-column:2!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:360px!important;padding:24px!important;background:#fff!important}
body.entity-place-detail .mg-unified-hero>.mg-unified-media img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:410px!important;object-fit:contain!important;object-position:center!important}
body.entity-place-detail .mg-unified-hero>.mg-unified-hero-copy{grid-column:1!important;grid-row:1!important;display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;padding:clamp(24px,4vw,44px)!important}
@media(max-width:820px){body.entity-place-detail .mg-unified-hero{grid-template-columns:1fr!important}body.entity-place-detail .mg-unified-hero>.mg-unified-hero-copy{grid-column:1!important;grid-row:1!important;padding:20px!important}body.entity-place-detail .mg-unified-hero>.mg-unified-media{grid-column:1!important;grid-row:2!important;min-height:0!important;padding:16px!important}body.entity-place-detail .mg-unified-hero>.mg-unified-media img{width:100%!important;max-height:420px!important}}

/* Build 343 — Hidden Gem two-column hero visual polish and contrast repair */
body.entity-place-detail.hidden-gem-detail-page .mg-unified-hero>.mg-unified-hero-copy{justify-content:flex-start!important;padding:24px 30px 28px!important}
body.entity-place-detail.hidden-gem-detail-page .mg-unified-badges{display:flex!important;align-items:center!important;gap:10px!important;margin:0 0 10px!important;min-height:0!important}
body.entity-place-detail.hidden-gem-detail-page .mg-hidden-gem-badge-image{max-width:230px!important;max-height:72px!important}
body.entity-place-detail.hidden-gem-detail-page .verified-chip{margin:0!important;align-self:center!important}
body.entity-place-detail.hidden-gem-detail-page .mg-hidden-gem-meta{color:#64748b!important;-webkit-text-fill-color:#64748b!important;font-weight:800!important;opacity:1!important}
body.entity-place-detail.hidden-gem-detail-page .mg-unified-location{color:#475569!important;-webkit-text-fill-color:#475569!important;opacity:1!important}
body.entity-place-detail.hidden-gem-detail-page .mg-unified-summary{color:#475569!important;opacity:1!important;line-height:1.65!important}
body.entity-place-detail.hidden-gem-detail-page .mg-unified-callout{color:#475569!important}
body.entity-place-detail.hidden-gem-detail-page .mg-unified-callout strong{color:#475569!important}
body.entity-place-detail.hidden-gem-detail-page .mg-unified-hero-copy .muted,body.entity-place-detail.hidden-gem-detail-page .mg-unified-hero-copy small{color:#64748b!important;opacity:1!important}
body.entity-place-detail.hidden-gem-detail-page .mg-unified-hero>.mg-unified-media{align-items:flex-start!important;padding-top:124px!important}
body.entity-place-detail.hidden-gem-detail-page .mg-unified-hero>.mg-unified-media img{max-height:410px!important}
@media(max-width:820px){body.entity-place-detail.hidden-gem-detail-page .mg-unified-hero>.mg-unified-hero-copy{padding:18px!important}body.entity-place-detail.hidden-gem-detail-page .mg-unified-hero>.mg-unified-media{padding:4px 16px 18px!important;align-items:center!important}body.entity-place-detail.hidden-gem-detail-page .mg-hidden-gem-badge-image{max-width:205px!important;max-height:66px!important}}
@media(max-width:430px){body.entity-place-detail.hidden-gem-detail-page .mg-unified-badges{gap:7px!important;flex-wrap:wrap!important}body.entity-place-detail.hidden-gem-detail-page .mg-hidden-gem-badge-image{max-width:175px!important;max-height:58px!important}}

/* Build 349 — modern animated Hidden Gem detail canvas, based on owner-approved visual direction. */
body.hidden-gem-detail-page.entity-place-detail{position:relative;isolation:isolate;overflow-x:hidden;background:linear-gradient(135deg,#fbf8ff 0%,#f5f9ff 44%,#eef7ff 100%)!important;color:#24324a!important}
body.hidden-gem-detail-page.entity-place-detail:before,body.hidden-gem-detail-page.entity-place-detail:after{content:"";position:fixed;z-index:-2;border-radius:50%;filter:blur(10px);pointer-events:none;opacity:.72}
body.hidden-gem-detail-page.entity-place-detail:before{width:46vw;height:46vw;min-width:420px;min-height:420px;left:-15vw;top:16vh;background:radial-gradient(circle,rgba(197,167,255,.32),rgba(255,255,255,0) 68%)}
body.hidden-gem-detail-page.entity-place-detail:after{width:50vw;height:50vw;min-width:460px;min-height:460px;right:-18vw;top:4vh;background:radial-gradient(circle,rgba(111,197,255,.28),rgba(255,255,255,0) 68%)}
body.hidden-gem-detail-page.entity-place-detail .hgd-topline{color:#64748b!important}
body.hidden-gem-detail-page.entity-place-detail .hgd-topline a{color:#6d28d9!important}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-breadcrumbs{color:#64748b!important}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-breadcrumbs a.hgd-home-breadcrumb{color:#5b5fc7!important}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-hero{position:relative!important;overflow:visible!important;gap:26px!important;margin-top:10px!important;padding:clamp(12px,1.8vw,22px)!important;border:1px solid rgba(255,255,255,.78)!important;border-radius:30px!important;background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(248,247,255,.84) 55%,rgba(238,248,255,.86))!important;box-shadow:0 24px 70px rgba(76,62,139,.14),inset 0 1px 0 #fff!important;backdrop-filter:blur(16px)}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-hero:before{content:"";position:absolute;inset:-1px;border-radius:31px;padding:1px;background:linear-gradient(125deg,rgba(152,85,255,.34),rgba(255,255,255,.1),rgba(45,180,255,.3));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-hero>.mg-unified-hero-copy{padding:22px 24px 26px!important}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-hero h1{color:#6323c6!important;font-size:clamp(2rem,3.3vw,3.65rem)!important;line-height:1.08!important;letter-spacing:-.035em!important;text-shadow:0 8px 28px rgba(106,45,190,.10)!important}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-location{color:#334155!important}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-summary{color:#3f5069!important;font-size:1.02rem!important}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-chips .chip{border:0!important;background:linear-gradient(135deg,#eef4ff,#f3eaff)!important;color:#2443a6!important;box-shadow:0 5px 16px rgba(78,88,160,.08)}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-actions .btn{border-radius:14px!important;box-shadow:0 8px 20px rgba(42,92,202,.10);transition:transform .2s ease,box-shadow .2s ease}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-actions .btn:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(42,92,202,.16)}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-hero>.mg-unified-media{align-items:center!important;padding:22px!important;background:transparent!important}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-hero>.mg-unified-media img{max-height:460px!important;border:1px solid rgba(151,71,255,.55)!important;border-radius:24px!important;box-shadow:0 20px 48px rgba(67,44,132,.22),0 0 0 5px rgba(255,255,255,.65)!important;transition:transform .45s ease,box-shadow .45s ease}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-hero>.mg-unified-media img:hover{transform:translateY(-5px) scale(1.012);box-shadow:0 28px 58px rgba(67,44,132,.27),0 0 0 5px rgba(255,255,255,.75)!important}
body.hidden-gem-detail-page.entity-place-detail .verified-chip{background:#e6f8ed!important;color:#147a3c!important;border:1px solid #c8efd7!important;padding:6px 11px!important;border-radius:999px!important;font-weight:850!important}
body.hidden-gem-detail-page.entity-place-detail .share-box,body.hidden-gem-detail-page.entity-place-detail .mg-unified-callout,body.hidden-gem-detail-page.entity-place-detail details.report-incorrect{background:rgba(255,255,255,.72)!important;border-color:rgba(130,144,180,.2)!important;box-shadow:0 10px 28px rgba(57,67,108,.07)!important;backdrop-filter:blur(10px)}
body.hidden-gem-detail-page.entity-place-detail .mg-detail-nav{background:rgba(255,255,255,.76)!important;border-color:rgba(126,140,180,.18)!important;backdrop-filter:blur(12px)}
body.hidden-gem-detail-page.entity-place-detail .hgd-discovery-strip>a,body.hidden-gem-detail-page.entity-place-detail .hgd-discovery-strip>div{background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(244,240,255,.9))!important;border-color:rgba(125,91,205,.18)!important;color:#26364f!important;box-shadow:0 12px 30px rgba(67,57,119,.08)!important}
body.hidden-gem-detail-page.entity-place-detail .hgd-discovery-strip small{color:#64748b!important}
@media(prefers-reduced-motion:no-preference){body.hidden-gem-detail-page.entity-place-detail:before{animation:mgHgFloatA 12s ease-in-out infinite alternate}body.hidden-gem-detail-page.entity-place-detail:after{animation:mgHgFloatB 15s ease-in-out infinite alternate}body.hidden-gem-detail-page.entity-place-detail .mg-hidden-gem-badge-image{animation:mgHgRibbonGlow 3.8s ease-in-out infinite}@keyframes mgHgFloatA{to{transform:translate(7vw,-4vh) scale(1.08)}}@keyframes mgHgFloatB{to{transform:translate(-6vw,8vh) scale(.94)}}@keyframes mgHgRibbonGlow{50%{filter:drop-shadow(0 8px 13px rgba(136,55,238,.22));transform:translateY(-2px)}}}
@media(max-width:820px){body.hidden-gem-detail-page.entity-place-detail .mg-unified-hero{padding:8px!important;border-radius:22px!important}body.hidden-gem-detail-page.entity-place-detail .mg-unified-hero>.mg-unified-media{padding:8px 10px 14px!important}body.hidden-gem-detail-page.entity-place-detail .mg-unified-hero>.mg-unified-media img{border-radius:18px!important;max-height:430px!important}body.hidden-gem-detail-page.entity-place-detail .mg-unified-hero>.mg-unified-hero-copy{padding:16px!important}}
@media(prefers-reduced-motion:reduce){body.hidden-gem-detail-page.entity-place-detail:before,body.hidden-gem-detail-page.entity-place-detail:after,body.hidden-gem-detail-page.entity-place-detail .mg-hidden-gem-badge-image{animation:none!important}body.hidden-gem-detail-page.entity-place-detail .mg-unified-hero>.mg-unified-media img,body.hidden-gem-detail-page.entity-place-detail .mg-unified-actions .btn{transition:none!important}}

/* Build 350 — owner-approved light scenic Hidden Gem background image. */
body.hidden-gem-detail-page.entity-place-detail{background-color:#f7f8ff!important;background-image:linear-gradient(180deg,rgba(255,255,255,.20),rgba(247,244,255,.18)),url('hidden-gem-light-scenery.svg')!important;background-size:cover!important;background-position:center top!important;background-attachment:fixed!important}
body.hidden-gem-detail-page.entity-place-detail:before,body.hidden-gem-detail-page.entity-place-detail:after{opacity:.38!important}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-hero{background:linear-gradient(135deg,rgba(255,255,255,.90),rgba(255,255,255,.76) 56%,rgba(244,249,255,.78))!important;backdrop-filter:blur(14px) saturate(1.06)!important}
body.hidden-gem-detail-page.entity-place-detail .share-box,body.hidden-gem-detail-page.entity-place-detail .mg-unified-callout,body.hidden-gem-detail-page.entity-place-detail details.report-incorrect{background:rgba(255,255,255,.78)!important}
@media(max-width:820px){body.hidden-gem-detail-page.entity-place-detail{background-attachment:scroll!important;background-position:center top!important;background-size:auto 1000px!important}}
@media(prefers-reduced-motion:no-preference){body.hidden-gem-detail-page.entity-place-detail{animation:mgHgSceneryDrift 24s ease-in-out infinite alternate}@keyframes mgHgSceneryDrift{to{background-position:52% top}}}
@media(prefers-reduced-motion:reduce){body.hidden-gem-detail-page.entity-place-detail{animation:none!important}}
/* Build 351 — thumbnail gallery + accessible lightbox */
body.entity-place-detail .mg-photo-strip{margin:18px 0 12px;padding:18px 20px;border:1px solid rgba(118,102,190,.18);border-radius:22px;background:rgba(255,255,255,.78);box-shadow:0 14px 40px rgba(63,54,125,.10);backdrop-filter:blur(14px)}
.mg-photo-strip-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:12px}.mg-photo-strip-head h2{margin:2px 0 0;color:#24324a}.mg-photo-strip-head>span{color:#64748b;font-size:.86rem}.mg-photo-thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.mg-photo-thumb,.mg-photo-more{min-width:0;height:96px;padding:0;border:1px solid #dbe4f0;border-radius:14px;overflow:hidden;background:#f8fafc;cursor:pointer}.mg-photo-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}.mg-photo-thumb:hover img{transform:scale(1.045)}.mg-photo-thumb:focus-visible,.mg-photo-more:focus-visible{outline:3px solid #7c3aed;outline-offset:2px}.mg-photo-more{display:grid;place-items:center;align-content:center;color:#6d28d9}.mg-photo-more strong{font-size:1.3rem}.mg-photo-more span{font-size:.75rem;font-weight:800}
.mg-photo-lightbox[hidden]{display:none!important}.mg-photo-lightbox{position:fixed;z-index:10050;inset:0;display:grid;grid-template-columns:64px minmax(0,1fr) 64px;grid-template-rows:minmax(0,1fr) auto;align-items:center;padding:28px;background:rgba(7,10,24,.88);backdrop-filter:blur(12px)}body.mg-lightbox-open{overflow:hidden}.mg-photo-lightbox figure{grid-column:2;grid-row:1;margin:0;display:flex;min-width:0;min-height:0;height:calc(100vh - 170px);flex-direction:column;align-items:center;justify-content:center}.mg-photo-lightbox figure>img{max-width:100%;max-height:calc(100% - 44px);width:auto;height:auto;object-fit:contain;border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.4)}.mg-photo-lightbox figcaption{width:min(100%,1000px);display:flex;justify-content:space-between;gap:18px;padding:12px 4px 0;color:#fff}.mg-lightbox-close,.mg-lightbox-prev,.mg-lightbox-next{border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer}.mg-lightbox-close{position:absolute;right:24px;top:20px;width:46px;height:46px;border-radius:50%;font-size:2rem}.mg-lightbox-prev,.mg-lightbox-next{width:50px;height:64px;border-radius:16px;font-size:2.5rem}.mg-lightbox-prev{grid-column:1}.mg-lightbox-next{grid-column:3}.mg-lightbox-thumbs{grid-column:1/-1;grid-row:2;display:flex;gap:8px;justify-content:center;overflow-x:auto;padding:10px}.mg-lightbox-thumbs button{flex:0 0 72px;height:52px;padding:2px;border:2px solid transparent;border-radius:9px;background:transparent;overflow:hidden}.mg-lightbox-thumbs button.active{border-color:#c084fc}.mg-lightbox-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:6px}.mg-unified-hero>.mg-unified-media img[role=button]{cursor:zoom-in}
body.entity-place-detail .poi-full-article{margin-top:16px}body.entity-place-detail .poi-full-article>.section-heading{margin-top:0}
@media(max-width:900px){.mg-photo-thumbs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:5px}.mg-photo-thumb,.mg-photo-more{flex:0 0 132px;height:88px;scroll-snap-align:start}.mg-photo-lightbox{grid-template-columns:44px minmax(0,1fr) 44px;padding:14px}.mg-photo-lightbox figure{height:calc(100vh - 145px)}.mg-lightbox-prev,.mg-lightbox-next{width:40px;height:52px}}
@media(max-width:560px){body.entity-place-detail .mg-photo-strip{padding:14px;border-radius:17px}.mg-photo-strip-head{align-items:start}.mg-photo-strip-head h2{font-size:1.15rem}.mg-photo-lightbox{grid-template-columns:1fr;padding:10px}.mg-photo-lightbox figure{grid-column:1;height:calc(100vh - 130px)}.mg-lightbox-prev,.mg-lightbox-next{position:absolute;top:50%;z-index:2}.mg-lightbox-prev{left:8px}.mg-lightbox-next{right:8px}.mg-lightbox-thumbs{grid-column:1}.mg-photo-lightbox figcaption{padding-inline:8px;font-size:.8rem}}
@media(prefers-reduced-motion:reduce){.mg-photo-thumb img{transition:none!important}}

/* Build 352 — approved narrower equal-height gallery thumbnails + breadcrumb contrast. */
body.hidden-gem-detail-page.entity-place-detail .mg-unified-breadcrumbs,body.hidden-gem-detail-page.entity-place-detail .mg-unified-breadcrumbs span{color:#334155!important;-webkit-text-fill-color:#334155!important;opacity:1!important}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-breadcrumbs a{color:#334155!important;-webkit-text-fill-color:#334155!important;font-weight:700!important;opacity:1!important}
body.hidden-gem-detail-page.entity-place-detail .mg-unified-breadcrumbs a:hover{color:#5b21b6!important;-webkit-text-fill-color:#5b21b6!important}
@media(min-width:901px){.mg-photo-thumbs{display:flex;flex-wrap:wrap;gap:10px}.mg-photo-thumb,.mg-photo-more{flex:0 0 150px;width:150px;height:96px}.mg-photo-thumb img{width:100%;height:100%;object-fit:cover}}

/* Build 353 — compact responsive thumbnails, article kerawang, health period counters. */
@media(min-width:901px){.mg-photo-thumbs{display:flex!important;flex-wrap:nowrap!important;overflow:hidden;gap:10px}.mg-photo-thumb,.mg-photo-more{flex:0 0 118px!important;width:118px!important;height:96px!important}.mg-photo-thumb img{width:100%;height:100%;object-fit:cover}}
@media(max-width:900px){.mg-photo-thumbs{display:flex!important;overflow-x:auto!important;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;gap:9px;padding:0 3px 7px}.mg-photo-thumb,.mg-photo-more{flex:0 0 108px!important;width:108px!important;height:88px!important;scroll-snap-align:start}}
@media(max-width:560px){.mg-photo-thumb,.mg-photo-more{flex-basis:96px!important;width:96px!important;height:82px!important}.mg-photo-thumbs{scroll-padding-inline:3px}}
body.entity-place-detail .poi-full-article{position:relative;overflow:hidden;padding-left:54px!important;padding-bottom:72px!important}
body.entity-place-detail .poi-full-article:before{content:"";position:absolute;left:14px;top:74px;bottom:58px;width:25px;background:url('kerawang-gold-vertical.svg') center top/25px auto repeat-y;opacity:.62;pointer-events:none}
body.entity-place-detail .poi-full-article:after{content:"";position:absolute;left:10%;right:10%;bottom:16px;height:46px;background:url('kerawang-gold.svg') center/contain no-repeat;opacity:.9;pointer-events:none;filter:drop-shadow(0 2px 5px rgba(214,162,42,.18))}
.health-period-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.health-period-tab{appearance:none;border:1px solid #d7e1ef;background:#fff;color:#274060;border-radius:9px;padding:9px 14px;font-weight:800;cursor:pointer}.health-period-tab.active{background:#1769e8;color:#fff;border-color:#1769e8}.health-period-tab:focus-visible{outline:3px solid rgba(23,105,232,.25);outline-offset:2px}
@media(max-width:700px){body.entity-place-detail .poi-full-article{padding-left:28px!important;padding-bottom:58px!important}body.entity-place-detail .poi-full-article:before{left:7px;width:14px;opacity:.42}body.entity-place-detail .poi-full-article:after{left:5%;right:5%;height:36px}.health-period-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.health-period-tab:last-child{grid-column:1/-1}}
@media(prefers-reduced-motion:no-preference){body.entity-place-detail .poi-full-article:after{animation:mgKerawangGlow 5s ease-in-out infinite}@keyframes mgKerawangGlow{50%{opacity:.68;filter:drop-shadow(0 2px 8px rgba(214,162,42,.35))}}}
@media(prefers-reduced-motion:reduce){body.entity-place-detail .poi-full-article:after{animation:none!important}}

/* Build 354 — explicit Hidden Gem Full Article kerawang + Admin Directory Management workspace. */
body.hidden-gem-detail-page .poi-full-article{position:relative;padding-left:58px;padding-bottom:72px;overflow:visible}
body.hidden-gem-detail-page .poi-full-article .poi-kerawang-left{position:absolute;z-index:2;left:16px;top:78px;bottom:66px;width:28px;background:url('kerawang-gold-vertical.svg') center top/28px auto repeat-y;opacity:.88;pointer-events:none;filter:drop-shadow(0 1px 3px rgba(175,118,15,.2))}
body.hidden-gem-detail-page .poi-full-article .poi-kerawang-bottom{height:52px;margin:28px auto -42px;width:min(720px,88%);background:url('kerawang-gold.svg') center/contain no-repeat;opacity:.98;pointer-events:none;filter:drop-shadow(0 2px 5px rgba(214,162,42,.22))}
@media(max-width:680px){body.hidden-gem-detail-page .poi-full-article{padding-left:30px;padding-bottom:60px}body.hidden-gem-detail-page .poi-full-article .poi-kerawang-left{left:7px;width:15px;background-size:15px auto;opacity:.7}body.hidden-gem-detail-page .poi-full-article .poi-kerawang-bottom{height:38px;width:94%;margin-bottom:-34px}}
.admin-directory-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 0 10px;scroll-snap-type:x proximity}.admin-directory-tabs a{white-space:nowrap;scroll-snap-align:start;padding:9px 13px;border:1px solid #d9dfea;border-radius:999px;background:#fff;text-decoration:none;font-weight:700}.admin-directory-tabs a.active{background:#4b287d;color:#fff;border-color:#4b287d}.admin-smart-filter{display:grid;grid-template-columns:minmax(240px,2fr) repeat(5,minmax(130px,1fr));gap:10px;align-items:end}.admin-smart-result-title{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.admin-action-menu{position:relative}.admin-action-menu summary{cursor:pointer;list-style:none}.admin-action-menu[open]{z-index:10}.admin-action-menu .menu{position:absolute;right:0;top:calc(100% + 4px);min-width:180px;background:#fff;border:1px solid #d8deea;border-radius:10px;padding:6px;box-shadow:0 12px 30px rgba(20,22,35,.14)}.admin-action-menu .menu a,.admin-action-menu .menu button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:8px 10px;border-radius:7px;color:#26334a;text-decoration:none;cursor:pointer}.admin-action-menu .menu a:hover,.admin-action-menu .menu button:hover{background:#f2eff8}.admin-action-menu form{margin:0}@media(max-width:1000px){.admin-smart-filter{grid-template-columns:1fr 1fr}}@media(max-width:620px){.admin-smart-filter{grid-template-columns:1fr}.admin-directory-tabs{margin-inline:-4px}.admin-smart-table thead{display:none}.admin-smart-table,.admin-smart-table tbody,.admin-smart-table tr,.admin-smart-table td{display:block;width:100%}.admin-smart-table tr{border:1px solid #e0e4ec;border-radius:12px;margin:0 0 10px;padding:10px}.admin-smart-table td{border:0;padding:5px 0}.admin-smart-table td:before{content:attr(data-label);font-weight:700;margin-right:8px;color:#56627a}.admin-action-menu .menu{left:0;right:auto}}

/* Build 357 — status attention is in the stylesheet actually loaded by the Admin shell. */
.admin-form .form-field:has(select[name="status"]){padding:10px;border:1px solid #f3b4ae;border-radius:10px;background:#fff8f7}
.admin-form .form-field:has(select[name="status"])>span,.admin-form label:has(>select[name="status"]){color:#b42318;font-weight:900}
.admin-form select[name="status"],.create-panel select[name="status"]{border:2px solid #d92d20!important;background:#fff1f0!important;color:#8f1d14!important;font-weight:800!important;box-shadow:0 0 0 3px rgba(217,45,32,.08)!important}
.admin-form .form-field:has(select[name="status"])>small{color:#b42318!important;font-weight:700}
.admin-form select[name="status"]:focus{border-color:#b42318!important;outline:3px solid rgba(217,45,32,.20)!important;outline-offset:1px}

/* Build 359 opening-hours public status */
.place-hours-status{margin:.7rem 0;padding:.7rem .9rem;border-radius:10px;background:rgba(255,255,255,.82);border:1px solid rgba(80,65,120,.16)}.place-hours-status.hours-open strong{color:#176b3a}.place-hours-status.hours-closed strong{color:#9b2c2c}.weekly-hours{display:grid;gap:4px;margin-top:8px}.weekly-hours>div{display:flex;justify-content:space-between;gap:16px}
/* Build 359 public opening-hours states */
.place-hours-status.hours-closed strong{color:#c62828}.place-hours-status.hours-opening strong,.place-hours-status.hours-closing strong{color:#b85c00}.place-hours-status.hours-open strong{color:#16803b}.weekly-hours .is-today{font-weight:700;background:#f5f1ff;border-radius:8px;padding:5px 7px}.weekly-hours>div{display:flex;justify-content:space-between;gap:16px}
/* Build 360: POI/Hidden Gem location map */
.mg-location-section{scroll-margin-top:90px}.mg-location-address{display:flex;flex-direction:column;gap:.25rem;margin-bottom:1rem}.mg-map-frame{position:relative;width:100%;aspect-ratio:16/7;min-height:280px;border-radius:16px;overflow:hidden;background:#eef2f7;border:1px solid rgba(35,45,70,.12)}.mg-map-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.mg-location-actions{display:flex;gap:.65rem;flex-wrap:wrap;margin-top:1rem}.hours-closed{color:#b42318}.hours-open{color:#16794a}.hours-opening,.hours-closing{color:#a15c00}@media(max-width:700px){.mg-map-frame{aspect-ratio:4/3;min-height:250px}.mg-location-actions .btn{flex:1 1 100%;text-align:center}}

/* Build 362 — approved POI/Hidden Gem hero: use the space below the primary image for Today-first opening hours. */
body.entity-place-detail .mg-unified-hero>.mg-hero-hours-panel{grid-column:2;grid-row:2;align-self:start;margin:0 22px 22px;padding:14px 16px;border:1px solid rgba(111,61,205,.20);border-radius:16px;background:rgba(255,255,255,.92);box-shadow:0 10px 28px rgba(70,47,125,.08)}
body.entity-place-detail .mg-hero-hours-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}body.entity-place-detail .mg-hero-hours-heading h2{margin:0;font-size:1.05rem;color:#4d1aa8}body.entity-place-detail .mg-hero-hours-heading>strong{font-size:.9rem}.mg-hero-hours-panel.hours-closed .mg-hero-hours-heading>strong{color:#c62828}.mg-hero-hours-panel.hours-open .mg-hero-hours-heading>strong{color:#16803b}.mg-hero-hours-panel.hours-opening .mg-hero-hours-heading>strong,.mg-hero-hours-panel.hours-closing .mg-hero-hours-heading>strong{color:#b85c00}
body.entity-place-detail .mg-hero-hours-panel .weekly-hours{gap:0;margin:0}body.entity-place-detail .mg-hero-hours-panel .weekly-hours>div{padding:6px 8px;border-bottom:1px solid rgba(67,52,100,.10)}body.entity-place-detail .mg-hero-hours-panel .weekly-hours>div:last-child{border-bottom:0}body.entity-place-detail .mg-hero-hours-panel .weekly-hours .is-today{background:#f3edff;color:#30135f}body.entity-place-detail .hours-text-closed{color:#c62828;font-weight:800}
body.entity-place-detail .place-hours-status-summary{display:flex;align-items:center;gap:8px;background:transparent;border:0;padding:0;margin:.65rem 0}.place-hours-status-summary a{color:#40516b;text-decoration:none}.place-hours-status-summary a:before{content:'▸ ';color:#24344f}
@media(max-width:820px){body.entity-place-detail .mg-unified-hero>.mg-hero-hours-panel{grid-column:1;grid-row:3;margin:0 10px 14px}body.entity-place-detail .mg-hero-hours-heading{align-items:flex-start;flex-direction:column;gap:4px}body.entity-place-detail .mg-hero-hours-panel .weekly-hours>div{font-size:.92rem}}


/* Build 363 — right rail is content-driven: image -> opening hours with no stretched blank hero row. */
body.entity-place-detail .mg-unified-hero>.mg-unified-right-rail{grid-column:2!important;grid-row:1!important;align-self:start!important;display:flex!important;flex-direction:column!important;gap:16px!important;min-width:0!important;padding:22px!important;background:transparent!important}
body.entity-place-detail .mg-unified-hero>.mg-unified-right-rail>.mg-unified-media{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;background:transparent!important}
body.entity-place-detail .mg-unified-hero>.mg-unified-right-rail>.mg-unified-media img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:460px!important;object-fit:contain!important;object-position:center!important;border-radius:24px!important}
body.entity-place-detail .mg-unified-hero>.mg-unified-right-rail>.mg-hero-hours-panel{position:static!important;align-self:stretch!important;margin:0!important;padding:14px 16px!important;border:1px solid rgba(111,61,205,.20)!important;border-radius:16px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 10px 28px rgba(70,47,125,.08)!important}
body.entity-place-detail .mg-unified-hero>.mg-unified-hero-copy{grid-column:1!important;grid-row:1!important;align-self:start!important}
@media(max-width:820px){body.entity-place-detail .mg-unified-hero>.mg-unified-hero-copy{grid-column:1!important;grid-row:1!important}body.entity-place-detail .mg-unified-hero>.mg-unified-right-rail{grid-column:1!important;grid-row:2!important;padding:8px 10px 14px!important;gap:14px!important}body.entity-place-detail .mg-unified-hero>.mg-unified-right-rail>.mg-unified-media img{max-height:430px!important;border-radius:18px!important}}

/* Build 364 — Smart Discovery public fallback UX */
.search-location-help{margin:.35rem 0 0;color:#52627a;font-size:.95rem}.search-location-help .search-change-location{font-weight:700}.nearby-state-fallback{margin-top:1.25rem;padding:1.15rem;border:1px solid #cfe0ff;border-radius:16px;background:#f7faff;text-align:center}.nearby-state-fallback h3{margin:0 0 .35rem;color:#145fd7}.nearby-state-fallback p{margin:.2rem 0 .85rem}.nearby-state-buttons{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}.nearby-state-buttons .btn{min-width:120px}@media(max-width:600px){.nearby-state-buttons{display:grid;grid-template-columns:1fr}.nearby-state-buttons .btn{width:100%}}

/* Build 369 — location distance + traveller discovery demo */
.mg-location-distance{color:#1667d9;margin-left:.35rem;white-space:nowrap}.mg-location-distance strong{font-weight:800}.mg-now-demo{display:grid;gap:18px}.mg-now-location{margin-top:14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.mg-now-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mg-now-actions .card{display:flex;flex-direction:column;gap:6px;text-decoration:none}.mg-now-actions strong{font-size:1.05rem}.mg-now-actions span{color:#64748b}.mg-now-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.mg-now-grid article{border:1px solid #dce6f4;border-radius:16px;padding:16px;background:#fff}.mg-day-route{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mg-day-route>div{display:flex;gap:10px;align-items:flex-start;padding:14px;border:1px solid #e2e8f0;border-radius:14px}.mg-day-route b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#5b21b6;color:#fff}.mg-day-route span{display:flex;flex-direction:column;font-weight:700}.mg-day-route small{font-weight:400;color:#64748b;margin-top:4px}@media(max-width:800px){.mg-now-actions,.mg-now-grid,.mg-day-route{grid-template-columns:1fr 1fr}.mg-location-distance{display:block;margin:.3rem 0 0}}@media(max-width:520px){.mg-now-actions,.mg-now-grid,.mg-day-route{grid-template-columns:1fr}}

/* Build 371 — Getting There / honest distance semantics */
.mg-location-distance{white-space:normal}.mg-route-example{margin-top:14px;padding:16px;border:1px solid rgba(80,60,150,.18);border-radius:14px;background:rgba(255,255,255,.72);line-height:1.8}.mg-getting-there-demo .muted{margin-top:12px}

/* Build 385: shared five-destination Member/Partner navigation */
.member-partner-nav{margin:0 0 18px}.member-partner-nav-scroll{display:grid;grid-template-columns:repeat(5,minmax(145px,1fr));gap:8px}.member-partner-nav-item{display:flex;flex-direction:column;gap:3px;min-width:0;padding:11px 12px;border:1px solid var(--border,#d9dce5);border-radius:12px;background:#fff;text-decoration:none;color:inherit}.member-partner-nav-item strong{font-size:.92rem}.member-partner-nav-item small{font-size:.76rem;line-height:1.25;opacity:.72}.member-partner-nav-item.is-active{border-width:2px;box-shadow:0 2px 10px rgba(0,0,0,.08)}@media(max-width:900px){.member-partner-nav-scroll{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:6px}.member-partner-nav-item{flex:0 0 190px;scroll-snap-align:start}}@media(max-width:520px){.member-partner-nav-item{flex-basis:165px;padding:9px 10px}.member-partner-nav-item small{font-size:.72rem}}

/* Build 388: prominent Free Listing acquisition CTA */
.free-listing-cta{font-weight:800!important;border:2px solid currentColor!important;border-radius:999px!important;padding:.55rem .85rem!important;white-space:nowrap}.member-auth .free-listing-intent{margin:0 0 14px;padding:12px 14px;border:1px solid #d8c8ff;border-radius:12px;background:#faf8ff}@media(max-width:900px){.free-listing-cta{display:flex!important;justify-content:center;margin:.35rem 0!important}}

/* Build 389 — Travel Guide editorial identity. Deliberately separate from Hidden Gem kerawang. */
.guide-public-detail .guide-detail-card{position:relative;overflow:hidden}
.guide-public-detail .travel-guide-body{position:relative;margin-top:1.35rem;padding-top:4.75rem}
.guide-public-detail .travel-guide-body:before{content:none}
.guide-public-detail .travel-guide-body h2,.guide-public-detail .travel-guide-body h3{scroll-margin-top:90px;line-height:1.25}
.guide-public-detail .travel-guide-body h2{margin-top:2.2rem;padding-top:1.15rem;border-top:1px solid rgba(154,106,24,.22)}
.guide-public-detail .travel-guide-body p{line-height:1.82}
.guide-public-detail .guide-featured-media img{width:100%;height:auto;object-fit:contain;border-radius:18px;display:block}
.guide-public-detail .guide-featured-media{align-self:center}
@media(max-width:720px){.guide-public-detail .travel-guide-body{padding-top:3.8rem}.guide-public-detail .travel-guide-body:before{height:52px;left:1%;right:1%}}

.partner-stage-track{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:8px;overflow-x:auto;padding:4px 0 8px}.partner-stage{border:1px solid #dbe2ec;border-radius:12px;padding:10px;background:#fff;min-width:120px}.partner-stage.is-done{border-color:#8fc99a}.partner-stage.is-current{box-shadow:0 0 0 2px rgba(37,99,235,.12)}.partner-checklist{display:grid;gap:8px;margin-top:12px}.partner-check{display:flex;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid #e4e8ef;border-radius:10px}.partner-check .ok{font-weight:700}.partner-check .missing{font-weight:700}

/* Build 390 — explicit Travel Guide ornament, independent of Hidden Gem kerawang. */
.guide-public-detail .travel-guide-kerawang{display:flex;justify-content:center;align-items:center;margin:14px auto 8px;width:min(360px,58vw);overflow:hidden;opacity:.9}.guide-public-detail .travel-guide-kerawang img{display:block;width:100%;height:auto;max-height:44px;object-fit:contain}.guide-public-detail .travel-guide-kerawang-bottom{margin:12px auto 20px;transform:rotate(180deg)}@media(max-width:680px){.guide-public-detail .travel-guide-kerawang{width:min(250px,68vw);margin:10px auto 5px}.guide-public-detail .travel-guide-kerawang img{max-height:32px}}


/* Build 423 — Claim workflow responsiveness + smaller About/Contact kerawang. */
.mg-claim-modern{display:grid;gap:20px}.mg-claim-modern .mg-claim-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mg-claim-modern label{display:grid;gap:7px;font-weight:700;min-width:0}.mg-claim-modern input:not([type=checkbox]),.mg-claim-modern textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:12px 14px;border:1px solid #ccd7e2;border-radius:12px;font:inherit;line-height:1.45}.mg-claim-modern textarea{min-height:118px;resize:vertical}.mg-claim-section{display:grid;gap:12px;padding:18px;border:1px solid #e1e8ef;border-radius:16px;background:#fbfcfe}.mg-claim-section h3{margin:0;font-size:1rem}.mg-claim-modern .form-help{margin:-2px 0 0;color:#64748b;font-size:.9rem}.mg-claim-modern .actions{display:flex;gap:10px;flex-wrap:wrap}
.mg-site-content-card{position:relative;overflow:hidden}.mg-site-content-card .mg-site-content-inner{position:relative;z-index:2;padding-left:clamp(20px,5vw,58px)}.mg-site-content-card .mg-kerawang-left{position:absolute;z-index:1;left:10px;top:86px;width:clamp(18px,2.2vw,30px);height:auto;max-height:260px;object-fit:contain;opacity:.68;pointer-events:none}.mg-site-content-card .mg-kerawang-bottom{display:block;width:min(300px,48%);max-height:42px;object-fit:contain;margin:28px auto 4px;opacity:.8;pointer-events:none}
@media(max-width:700px){.mg-claim-modern .mg-claim-details-grid{grid-template-columns:1fr}.mg-claim-modern .actions .btn{flex:1 1 150px;text-align:center}.mg-site-content-card .mg-site-content-inner{padding-left:22px}.mg-site-content-card .mg-kerawang-left{left:4px;top:94px;width:13px;max-height:170px;opacity:.48}.mg-site-content-card .mg-kerawang-bottom{width:min(210px,58%);max-height:30px;margin-top:22px}}

/* Build 429: full About/Contact article shell + balanced four-column footer */
.mg-site-content-page{padding-top:28px;padding-bottom:42px}
.mg-site-content-card{max-width:1180px;margin:0 auto}
.mg-site-content-full-article{display:block!important;max-height:none!important;height:auto!important;overflow:visible!important;white-space:normal}
.mg-site-content-full-article> :first-child{margin-top:0}.mg-site-content-full-article> :last-child{margin-bottom:0}
.mg-site-content-full-article img{max-width:100%;height:auto}
.mg-site-content-full-article table{display:block;max-width:100%;overflow-x:auto}
.mg-footer-build312 .mg-footer-top{grid-template-columns:minmax(230px,1.15fr) minmax(170px,.9fr) minmax(260px,1.15fr) minmax(260px,1.15fr)!important;gap:clamp(24px,3vw,52px)!important}
.mg-footer-build312 .mg-footer-logo-wrap{width:190px!important;margin:0 0 10px!important}
.mg-footer-build312 .mg-footer-logo-image{width:190px!important;max-width:190px!important;max-height:72px!important}
.mg-footer-build312 .mg-footer-combined{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px!important}
.mg-footer-build312 .mg-footer-link-group{display:flex;flex-direction:column;gap:4px;min-width:0}
.mg-footer-build312 .mg-footer-lower{margin-top:16px!important}
@media(max-width:999px){.mg-footer-build312 .mg-footer-top{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mg-footer-build312 .mg-footer-brand,.mg-footer-build312 .mg-footer-legal-top{grid-column:auto!important}.mg-footer-build312 .mg-footer-combined{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mg-footer-build312 .mg-footer-top{grid-template-columns:1fr!important}.mg-footer-build312 .mg-footer-combined{grid-template-columns:1fr 1fr}.mg-footer-build312 .mg-footer-logo-wrap,.mg-footer-build312 .mg-footer-logo-image{width:160px!important;max-width:160px!important}.mg-site-content-page{padding-top:18px;padding-bottom:28px}}
@media(max-width:420px){.mg-footer-build312 .mg-footer-combined{grid-template-columns:1fr}}
/* Build 430 footer V2 */
.mg-footer-build312{height:auto!important;min-height:0!important;max-height:none!important;font-size:15px!important;line-height:1.5!important}.mg-footer-build312 .mg-footer-inner{height:auto!important;min-height:0!important;display:block!important;padding:28px clamp(18px,3vw,46px) 14px!important}.mg-footer-build312 .mg-footer-top{height:auto!important;min-height:0!important;align-items:start!important;display:grid!important;grid-template-columns:minmax(220px,1.15fr) minmax(160px,.8fr) minmax(260px,1.2fr) minmax(230px,1fr)!important;gap:28px 44px!important;margin:0!important;padding:0!important}.mg-footer-build312 .mg-footer-column,.mg-footer-build312 .mg-footer-brand{height:auto!important;min-height:0!important;align-self:start!important;margin:0!important;padding:0!important;position:static!important}.mg-footer-build312 .mg-footer-column h2,.mg-footer-build312 .mg-footer-brand h2{font-size:17px!important;line-height:1.25!important;margin:0 0 10px!important}.mg-footer-build312 .mg-footer-column a,.mg-footer-build312 .mg-footer-brand p,.mg-footer-build312 .mg-footer-brand a,.mg-footer-build312 .mg-footer-legal-top a{font-size:15px!important;line-height:1.45!important}.mg-footer-build312 .mg-footer-logo-wrap{width:210px!important;height:auto!important;margin:0 0 12px!important}.mg-footer-build312 .mg-footer-logo-image{display:block!important;width:210px!important;max-width:100%!important;height:auto!important;max-height:80px!important;object-fit:contain!important;object-position:left center!important}.mg-footer-build312 .mg-footer-brand-copy{margin:0!important;max-width:30ch!important}.mg-footer-build312 .mg-footer-combined{display:grid!important;grid-template-columns:1fr 1fr!important;gap:24px!important}.mg-footer-build312 .mg-footer-lower{position:static!important;height:auto!important;min-height:0!important;margin:22px 0 0!important;padding:14px 0 0!important;border-top:1px solid rgba(255,255,255,.18)!important}.mg-footer-build312 .mg-footer-bottom,.mg-footer-build312 .mg-footer-safety{position:static!important;height:auto!important;min-height:0!important;font-size:14px!important;line-height:1.45!important}@media(max-width:1000px){.mg-footer-build312 .mg-footer-top{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:640px){.mg-footer-build312{font-size:16px!important}.mg-footer-build312 .mg-footer-inner{padding:24px 18px 88px!important}.mg-footer-build312 .mg-footer-top{grid-template-columns:1fr!important;gap:24px!important}.mg-footer-build312 .mg-footer-combined{grid-template-columns:1fr!important}.mg-footer-build312 .mg-footer-column h2,.mg-footer-build312 .mg-footer-brand h2{font-size:18px!important}.mg-footer-build312 .mg-footer-column a,.mg-footer-build312 .mg-footer-brand p,.mg-footer-build312 .mg-footer-brand a{font-size:16px!important}}

/* Build 431 exact footer: 4 columns per row, 180px logo, >=12px menu text */
.mg-footer-build431{height:auto!important;min-height:0!important;background:var(--mg-footer-admin-bg,#25104f)!important}
.mg-footer-build431 .legacy-mg-site-footer-inner{padding:24px clamp(18px,3vw,48px) 12px!important;height:auto!important;min-height:0!important}
.mg-footer-build431 .mg-footer-grid431{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px 36px!important;align-items:start!important}
.mg-footer-build431 .mg-footer-cell431{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;min-width:0!important;height:auto!important;min-height:0!important}
.mg-footer-build431 .mg-footer-cell431 h2{font-size:15px!important;line-height:1.3!important;margin:0 0 5px!important}
.mg-footer-build431 .mg-footer-cell431 a,.mg-footer-build431 .mg-footer-cell431 p,.mg-footer-build431 .mg-footer-cell431 small{font-size:12px!important;line-height:1.45!important;margin:0!important}
.mg-footer-build431 .mg-footer-cell431 nav{display:flex!important;flex-direction:column!important;gap:5px!important}
.mg-footer-build431 .mg-footer-logo-wrap{width:180px!important;max-width:100%!important;height:auto!important;margin:0 0 8px!important}
.mg-footer-build431 .mg-footer-logo-image{display:block!important;width:180px!important;max-width:100%!important;max-height:none!important;height:auto!important;object-fit:contain!important;object-position:left center!important}
.mg-footer-build431 .mg-footer-safety431>div{display:flex;align-items:center;gap:7px}.mg-footer-build431 .mg-footer-safety431 .mg-siren{width:26px;height:26px}
.mg-footer-build431 .mg-footer-copyright431{display:flex!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important;border-top:1px solid rgba(255,255,255,.18)!important;margin-top:20px!important;padding-top:10px!important;font-size:12px!important;line-height:1.4!important}
@media(max-width:900px){.mg-footer-build431 .mg-footer-grid431{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.mg-footer-build431 .mg-footer-grid431{grid-template-columns:1fr!important;gap:20px!important}.mg-footer-build431 .legacy-mg-site-footer-inner{padding-bottom:88px!important}.mg-footer-build431 .mg-footer-cell431 a,.mg-footer-build431 .mg-footer-cell431 p,.mg-footer-build431 .mg-footer-cell431 small{font-size:14px!important}.mg-footer-build431 .mg-footer-cell431 h2{font-size:16px!important}}

/* Build 432: isolated footer grid; legacy mg-footer-build312 rules cannot override it. */
.mg-footer-build432{display:block!important;width:100%!important;height:auto!important;min-height:0!important;background:var(--mg-footer-admin-bg,#25104f)!important;color:#fff!important}
.mg-footer-build432 .legacy-mg-site-footer-inner{display:block!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:24px 28px 12px!important}
.mg-footer-build432 .mg-footer-grid432{display:grid!important;width:100%!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:24px 34px!important;align-items:start!important;align-content:start!important}
.mg-footer-build432 .mg-footer-cell432{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;gap:5px!important}
.mg-footer-build432 .mg-footer-cell432 h2{display:block!important;margin:0 0 5px!important;font-size:15px!important;line-height:1.3!important;color:#fff!important}
.mg-footer-build432 .mg-footer-cell432 a{display:block!important;width:auto!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:1.5!important;color:#fff!important;white-space:normal!important}
.mg-footer-build432 .mg-footer-cell432 p,.mg-footer-build432 .mg-footer-cell432 small{display:block!important;margin:0!important;font-size:12px!important;line-height:1.5!important;color:#fff!important}
.mg-footer-build432 .mg-footer-cell432 nav{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important}
.mg-footer-build432 .mg-footer-logo-wrap{display:block!important;width:180px!important;max-width:100%!important;height:auto!important;margin:0 0 8px!important}
.mg-footer-build432 .mg-footer-logo-image{display:block!important;width:180px!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.mg-footer-build432 .mg-footer-safety432>div{display:flex!important;align-items:center!important;gap:8px!important}
.mg-footer-build432 .mg-footer-safety432 .mg-siren{width:26px!important;height:26px!important;flex:0 0 26px!important}
.mg-footer-build432 .mg-footer-copyright432{display:flex!important;justify-content:space-between!important;align-items:center!important;flex-wrap:wrap!important;gap:10px 18px!important;margin-top:20px!important;padding-top:10px!important;border-top:1px solid rgba(255,255,255,.18)!important;font-size:12px!important;line-height:1.4!important}
@media(max-width:760px){
 .mg-footer-build432 .mg-footer-grid432{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:480px){
 .mg-footer-build432 .mg-footer-grid432{grid-template-columns:1fr!important}
 .mg-footer-build432 .legacy-mg-site-footer-inner{padding:22px 18px 88px!important}
 .mg-footer-build432 .mg-footer-cell432 a,.mg-footer-build432 .mg-footer-cell432 p,.mg-footer-build432 .mg-footer-cell432 small{font-size:14px!important}
}

/* Build 433 footer: exact 4-column rows + original animated red/blue emergency sirens */
.mg-footer-build433{display:block!important;width:100%!important;height:auto!important;min-height:0!important;background:var(--mg-footer-admin-bg,#25104f)!important;color:#fff!important}
.mg-footer-build433 .legacy-mg-site-footer-inner{display:block!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:24px 28px 12px!important}
.mg-footer-build433 .mg-footer-grid433{display:grid!important;width:100%!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:22px 34px!important;align-items:start!important}
.mg-footer-build433 .mg-footer-cell433{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;gap:5px!important}
.mg-footer-build433 .mg-footer-cell433 h2{display:block!important;margin:0 0 5px!important;font-size:15px!important;line-height:1.3!important;color:#fff!important}
.mg-footer-build433 .mg-footer-cell433 a{display:block!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:1.5!important;color:#fff!important;white-space:normal!important}
.mg-footer-build433 .mg-footer-cell433 p,.mg-footer-build433 .mg-footer-cell433 small{display:block!important;margin:0!important;font-size:12px!important;line-height:1.5!important;color:#fff!important}
.mg-footer-build433 .mg-footer-cell433 nav{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important}
.mg-footer-build433 .mg-footer-logo-wrap{display:block!important;width:180px!important;max-width:100%!important;height:auto!important;margin:0 0 8px!important}
.mg-footer-build433 .mg-footer-logo-image{display:block!important;width:180px!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.mg-footer-build433 .mg-footer-emergency433{display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;width:auto!important;padding:6px 10px!important;border-radius:9px!important;background:rgba(255,255,255,.10)!important;text-decoration:none!important;white-space:nowrap!important}
.mg-footer-build433 .mg-footer-emergency433 strong{font-size:13px!important;line-height:1.3!important;color:#fff!important}
.mg-footer-build433 .mg-siren433{display:block!important;width:28px!important;height:28px!important;object-fit:contain!important;flex:0 0 28px!important}
.mg-footer-build433 .mg-footer-copyright433{display:flex!important;justify-content:space-between!important;align-items:center!important;flex-wrap:wrap!important;gap:10px 18px!important;margin-top:18px!important;padding-top:10px!important;border-top:1px solid rgba(255,255,255,.18)!important;font-size:12px!important;line-height:1.4!important}
@media(prefers-reduced-motion:reduce){.mg-footer-build433 .mg-siren433{visibility:visible!important}}
@media(max-width:760px){.mg-footer-build433 .mg-footer-grid433{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){.mg-footer-build433 .mg-footer-grid433{grid-template-columns:1fr!important}.mg-footer-build433 .legacy-mg-site-footer-inner{padding:22px 18px 88px!important}.mg-footer-build433 .mg-footer-cell433 a,.mg-footer-build433 .mg-footer-cell433 p,.mg-footer-build433 .mg-footer-cell433 small{font-size:14px!important}.mg-footer-build433 .mg-footer-emergency433{white-space:normal!important}.mg-footer-build433 .mg-footer-emergency433 strong{font-size:14px!important}}

/* Build 434 — parent pages, article images, exact footer, midnight hours */
.legacy-mg-footer-build434{display:block!important;width:100%!important;height:auto!important;min-height:0!important;background:var(--mg-footer-admin-bg,#25104f)!important;color:#fff!important}
.legacy-mg-footer-build434 .legacy-mg-site-footer-inner{width:100%!important;max-width:none!important;padding:24px 28px 12px!important}
.legacy-mg-footer-build434 .mg-footer-grid434{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-areas:"brand explore plan business" "legal safety emergency spare"!important;gap:22px 34px!important;align-items:start!important}
.mg-footer-brand434{grid-area:brand}.mg-footer-explore434{grid-area:explore}.mg-footer-plan434{grid-area:plan}.mg-footer-business434{grid-area:business}.mg-footer-legal434{grid-area:legal}.mg-footer-safety434{grid-area:safety}.mg-footer-emergency434{grid-area:emergency}.mg-footer-spare434{grid-area:spare}
.legacy-mg-footer-build434 .mg-footer-cell434{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;min-width:0!important;height:auto!important}
.legacy-mg-footer-build434 h2{font-size:15px!important;line-height:1.3!important;margin:0 0 5px!important}.legacy-mg-footer-build434 .mg-footer-cell434 a,.legacy-mg-footer-build434 .mg-footer-cell434 p,.legacy-mg-footer-build434 .mg-footer-cell434 small{display:block!important;font-size:12px!important;line-height:1.5!important;margin:0!important;color:#fff!important}.legacy-mg-footer-build434 nav{display:flex!important;flex-direction:column!important;gap:5px!important}
.legacy-mg-footer-build434 .mg-footer-logo-wrap,.legacy-mg-footer-build434 .mg-footer-logo-image{width:180px!important;max-width:100%!important;height:auto!important;max-height:none!important}
.legacy-mg-footer-build434 .mg-emergency-link434{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;padding:6px 10px!important;border-radius:9px!important;background:rgba(255,255,255,.10)!important;text-decoration:none!important;white-space:nowrap!important}.legacy-mg-footer-build434 .mg-emergency-link434 img{width:28px!important;height:28px!important;object-fit:contain!important;flex:0 0 28px!important}.legacy-mg-footer-build434 .mg-emergency-link434 strong{font-size:13px!important;color:#fff!important}
.legacy-mg-footer-build434 .mg-footer-copyright434{display:flex!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:10px 18px!important;border-top:1px solid rgba(255,255,255,.18)!important;margin-top:18px!important;padding-top:10px!important;font-size:12px!important}
@media(max-width:800px){.legacy-mg-footer-build434 .mg-footer-grid434{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-areas:"brand explore" "plan business" "legal safety" "emergency spare"!important}}
@media(max-width:520px){.legacy-mg-footer-build434 .legacy-mg-site-footer-inner{padding:22px 18px 88px!important}.legacy-mg-footer-build434 .mg-footer-grid434{grid-template-columns:1fr!important;grid-template-areas:"brand" "explore" "plan" "business" "legal" "safety" "emergency"!important;gap:20px!important}.mg-footer-spare434{display:none!important}.legacy-mg-footer-build434 .mg-footer-cell434 a,.legacy-mg-footer-build434 .mg-footer-cell434 p,.legacy-mg-footer-build434 .mg-footer-cell434 small{font-size:14px!important}.legacy-mg-footer-build434 .mg-emergency-link434{white-space:normal!important;max-width:100%!important}}
.mg-site-content-page{padding-top:28px!important;padding-bottom:42px!important}.mg-site-content-card{position:relative!important;overflow:hidden!important;max-width:1180px!important;margin:0 auto!important;border-radius:22px!important;box-shadow:0 14px 38px rgba(31,50,81,.08)!important}.mg-site-content-card .mg-site-content-inner{position:relative!important;padding:42px clamp(28px,6vw,76px) 34px clamp(42px,7vw,92px)!important}.mg-site-content-card .mg-kerawang-line{position:absolute!important;left:24px!important;top:42px!important;bottom:82px!important;width:8px!important;border-radius:8px!important;background:linear-gradient(to bottom,transparent 0,#d8a735 7%,#f0c65b 25%,#c88c22 50%,#f0c65b 75%,#d8a735 93%,transparent 100%)!important;opacity:.72!important}.mg-site-content-card .mg-kerawang-line:after{content:""!important;position:absolute!important;left:-5px!important;top:10%!important;bottom:10%!important;width:18px!important;border-left:1px solid rgba(200,140,34,.5)!important;border-right:1px solid rgba(240,198,91,.35)!important;border-radius:50%!important}.mg-site-content-card .mg-kerawang-bottom{display:block!important;width:min(520px,70%)!important;max-height:72px!important;height:auto!important;object-fit:contain!important;margin:40px auto 0!important;opacity:.9!important}.mg-site-content-card .eyebrow{letter-spacing:.08em!important}.mg-site-content-card h1{font-size:clamp(2rem,4vw,3.25rem)!important;line-height:1.08!important;margin-bottom:24px!important}.mg-site-content-full-article{font-size:1.04rem!important;line-height:1.75!important}.mg-contact-grid{margin-top:34px!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:16px!important}.mg-contact-grid article{border:1px solid #e3e9f2!important;border-radius:14px!important;padding:18px!important;background:#fbfdff!important}
.mg-article-prose .content-media-resizable,.editor-surface .content-media-resizable{resize:none!important;overflow:visible!important;max-width:100%!important;height:auto!important}.mg-article-prose .content-media-resizable img,.editor-surface .content-media-resizable img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;object-fit:contain!important}
.mg-midnight-choice{display:inline-flex!important;align-items:center!important;gap:6px!important;font-size:12px!important;white-space:nowrap!important}.mg-midnight-choice input{width:auto!important}
@media(max-width:600px){.mg-site-content-card .mg-site-content-inner{padding:28px 20px 28px 30px!important}.mg-site-content-card .mg-kerawang-line{left:12px!important;top:32px!important;bottom:68px!important;width:4px!important}.mg-site-content-card .mg-kerawang-line:after{display:none!important}.mg-site-content-card .mg-kerawang-bottom{width:min(360px,82%)!important;max-height:52px!important}.mg-site-content-card h1{font-size:clamp(1.75rem,8vw,2.35rem)!important}}

/* Build 435 — Category Manager is the public category-navigation source of truth */
.mg-category-dropdown{max-height:min(72vh,620px)!important;overflow:auto!important;min-width:320px!important}
.mg-category-menu-group{border-bottom:1px solid rgba(255,255,255,.10)!important;padding:3px 0!important}
.mg-category-menu-group:last-child{border-bottom:0!important}
.mg-category-dropdown .mg-category-parent{font-weight:700!important}
.mg-category-children{padding-left:12px!important}
.mg-category-children a{font-size:.92em!important;opacity:.94!important}
@media(max-width:900px){.mg-category-dropdown{max-height:none!important;min-width:0!important;overflow:visible!important}.mg-category-children{padding-left:14px!important}}

/* Build 438: approved About/Contact gold kerawang treatment */
.mg-site-content-card .mg-kerawang-line{display:none!important}
.mg-site-content-card .mg-kerawang-gold-rail{position:absolute!important;left:17px!important;top:34px!important;bottom:104px!important;width:30px!important;display:flex!important;flex-direction:column!important;align-items:center!important;pointer-events:none!important;z-index:1!important}
.mg-site-content-card .mg-kerawang-gold-rail img{display:block!important;width:28px!important;height:auto!important;max-height:64px!important;object-fit:contain!important;filter:sepia(1) saturate(3.2) hue-rotate(355deg) brightness(1.04)!important}
.mg-site-content-card .mg-kerawang-gold-rail img:last-child{transform:rotate(180deg)!important}
.mg-site-content-card .mg-kerawang-gold-rail span{display:block!important;flex:1 1 auto!important;width:2px!important;min-height:120px!important;background:linear-gradient(to bottom,#e5bb4a,#b77a17 48%,#e5bb4a)!important}
.mg-site-content-card .mg-kerawang-bottom{display:block!important;width:min(760px,86%)!important;max-width:86%!important;max-height:92px!important;height:auto!important;object-fit:contain!important;margin:44px auto 0!important;opacity:.96!important;filter:sepia(1) saturate(2.7) hue-rotate(355deg) brightness(1.04)!important}
@media(max-width:600px){.mg-site-content-card .mg-kerawang-gold-rail{left:7px!important;top:26px!important;bottom:76px!important;width:18px!important}.mg-site-content-card .mg-kerawang-gold-rail img{width:18px!important;max-height:42px!important}.mg-site-content-card .mg-kerawang-gold-rail span{width:1px!important}.mg-site-content-card .mg-kerawang-bottom{width:min(480px,92%)!important;max-width:92%!important;max-height:66px!important}}


/* Build 445 — responsive Listing hero media. Preserve source aspect ratio; never crop logos/portraits. */
.listing-public-detail .listing-detail-card.mg-content-hero.is-free .listing-primary-stage{height:clamp(300px,38vw,470px);min-height:0;max-height:470px}
.listing-public-detail .listing-detail-card.mg-content-hero.is-free .listing-primary-stage>img{width:100%;height:100%;object-fit:contain!important;object-position:center;background:#fff}
@media(max-width:780px){.listing-public-detail .listing-detail-card.mg-content-hero.is-free{grid-template-columns:1fr}.listing-public-detail .listing-detail-card.mg-content-hero.is-free .listing-primary-stage{height:clamp(240px,78vw,420px);max-height:none}.listing-public-detail .listing-hero-thumbs{max-width:100%;overflow:hidden}}
.mg-entity-locations{display:grid;gap:10px;margin:14px 0}.mg-location-card{padding:13px 15px;border:1px solid #dfe7f0;border-radius:13px;background:#fff}.mg-location-card-head{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.mg-location-badge{font-size:.72rem;font-weight:800;padding:4px 8px;border-radius:999px;background:#eaf6ee;color:#17643b}.mg-location-meta{margin-top:5px;color:#53677e}.mg-location-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:7px}

/* Build 459 D-012: sponsored opening hours below gallery */
.mg-sponsored-hours-under-gallery{margin-top:14px;text-align:left;width:100%;box-sizing:border-box}
.mg-sponsored-hours-under-gallery h2{margin-top:0}
@media (max-width:760px){.mg-sponsored-hours-under-gallery{margin-top:12px}}

/* Build 484 / D-033A — Business public template */
body.entity-business-premium{background:#f7f8fc!important;color:#172033}
body.entity-business-premium .mg-unified-detail-page{max-width:1240px!important}
body.entity-business-premium .mg-unified-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;grid-template-rows:auto auto!important;gap:0!important;margin-top:10px!important;background:#fff!important;border:1px solid #e7e8f2!important;border-radius:24px!important;overflow:hidden!important;box-shadow:0 18px 50px rgba(30,41,59,.09)!important}
body.entity-business-premium .mg-unified-right-rail{grid-column:1/-1!important;grid-row:1!important;position:relative!important;display:block!important;padding:0!important;background:#eef2ff!important;min-height:260px!important}
body.entity-business-premium .mg-unified-right-rail>.mg-unified-media{width:100%!important;height:300px!important;margin:0!important;padding:0!important;background:linear-gradient(135deg,#ede9fe,#f8fafc)!important;overflow:hidden!important}
body.entity-business-premium .mg-unified-right-rail>.mg-unified-media img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;border-radius:0!important}
body.entity-business-premium .mg-unified-right-rail>.mg-unified-media-empty{display:flex!important;align-items:center!important;justify-content:center!important;font-size:4rem!important;color:#8b5cf6!important}
body.entity-business-premium .mg-unified-right-rail>.mg-hero-hours-panel{position:absolute!important;right:22px!important;bottom:18px!important;width:min(280px,calc(100% - 44px))!important;margin:0!important;padding:14px 16px!important;background:rgba(255,255,255,.96)!important;border:1px solid #dbe4ef!important;border-radius:16px!important;box-shadow:0 12px 32px rgba(15,23,42,.14)!important;backdrop-filter:blur(10px)!important}
body.entity-business-premium .mg-unified-hero-copy{grid-column:1!important;grid-row:2!important;padding:28px 30px 30px!important}
body.entity-business-premium .mg-unified-hero-copy h1{font-size:clamp(2rem,3.5vw,3rem)!important;letter-spacing:-.035em!important;margin:8px 0 10px!important;color:#111827!important}
body.entity-business-premium .mg-unified-summary{max-width:780px!important;font-size:1.04rem!important;line-height:1.7!important;color:#475569!important}
body.entity-business-premium .mg-unified-badges{gap:8px!important;margin-bottom:6px!important}
body.entity-business-premium .mg-business-plan,body.entity-business-premium .verified-chip,body.entity-business-premium .chip{border-radius:999px!important;padding:7px 11px!important;font-weight:850!important}
body.entity-business-premium .mg-unified-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-top:18px!important}
body.entity-business-premium .mg-unified-actions .btn,body.entity-business-premium .mg-unified-actions a,body.entity-business-premium .mg-unified-actions button{min-height:46px!important;padding:11px 17px!important;border:1px solid #ddd6fe!important;border-radius:13px!important;background:#fff!important;color:#5b21b6!important;font-weight:850!important;box-shadow:0 5px 14px rgba(91,33,182,.07)!important}
body.entity-business-premium .mg-unified-callout{grid-column:2!important;grid-row:2!important;align-self:start!important;margin:28px 28px 0 0!important;padding:17px!important;border:0!important;border-radius:16px!important;background:linear-gradient(135deg,#7c3aed,#5b21b6)!important;color:#fff!important;box-shadow:0 12px 28px rgba(91,33,182,.24)!important}
body.entity-business-premium .mg-unified-callout strong{display:block!important;color:#fff!important;font-size:.86rem!important;margin-bottom:5px!important}
body.entity-business-premium .mg-unified-callout a{display:block!important;color:#fff!important;font-weight:900!important;text-decoration:none!important;font-size:1rem!important}
body.entity-business-premium .mg-share-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin-top:18px!important;padding:14px 16px!important;border:1px solid #e6e8f0!important;border-radius:16px!important;background:#fff!important}
body.entity-business-premium .mg-share-actions strong{margin-right:4px!important}
body.entity-business-premium .mg-share-actions a,body.entity-business-premium .mg-share-actions button{display:inline-flex!important;align-items:center!important;min-height:36px!important;padding:7px 10px!important;border:1px solid #ececf4!important;border-radius:10px!important;background:#f8fafc!important;color:#334155!important;text-decoration:none!important;font-weight:750!important}
body.entity-business-premium details.report-incorrect{margin-top:10px!important;border:1px solid #fecaca!important;border-radius:14px!important;background:#fff7f7!important}
body.entity-business-premium .mg-business-tabs{position:sticky!important;top:0!important;z-index:20!important;display:flex!important;gap:5px!important;overflow-x:auto!important;margin:14px 0!important;padding:9px!important;border:1px solid #e7e8f2!important;border-radius:17px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 8px 25px rgba(15,23,42,.07)!important;backdrop-filter:blur(12px)!important}
body.entity-business-premium .mg-business-tabs a{flex:0 0 auto!important;padding:10px 14px!important;border-radius:11px!important;color:#475569!important;text-decoration:none!important;font-weight:850!important}
body.entity-business-premium .mg-business-tabs a:first-child,body.entity-business-premium .mg-business-tabs a:hover{background:#6d28d9!important;color:#fff!important}
body.entity-business-premium .card,body.entity-business-premium .entity-photo-section{border:1px solid #e7e8f2!important;border-radius:20px!important;background:#fff!important;box-shadow:0 8px 28px rgba(15,23,42,.055)!important}
body.entity-business-premium .entity-photo-section{padding:20px!important}
body.entity-business-premium .entity-photo-grid{display:grid!important;grid-template-columns:2fr 1fr 1fr!important;grid-auto-rows:150px!important;gap:10px!important}
body.entity-business-premium .entity-photo-card{height:100%!important;margin:0!important;border-radius:14px!important;overflow:hidden!important;border:0!important;background:#eef2f7!important}
body.entity-business-premium .entity-photo-card:first-child{grid-row:span 2!important}
body.entity-business-premium .entity-photo-card img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important}
body.entity-business-premium .entity-photo-card figcaption{position:relative!important;margin-top:-38px!important;padding:8px 10px!important;background:linear-gradient(transparent,rgba(0,0,0,.68))!important;color:#fff!important;font-size:.82rem!important}
body.entity-business-premium #about-business .rich-content{font-size:1.02rem!important;line-height:1.75!important}
body.entity-business-premium #branches .grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important}
body.entity-business-premium #branches .result-card{border:1px solid #e6e8f0!important;border-radius:15px!important;background:#fbfcff!important}
@media(max-width:900px){body.entity-business-premium .mg-unified-hero{grid-template-columns:1fr!important}body.entity-business-premium .mg-unified-hero-copy{grid-column:1!important}body.entity-business-premium .mg-unified-callout{grid-column:1!important;grid-row:auto!important;margin:0 20px 20px!important}body.entity-business-premium .entity-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:170px!important}body.entity-business-premium .entity-photo-card:first-child{grid-row:span 1!important}}
@media(max-width:600px){body.entity-business-premium .mg-unified-hero{border-radius:18px!important}body.entity-business-premium .mg-unified-right-rail{min-height:220px!important}body.entity-business-premium .mg-unified-right-rail>.mg-unified-media{height:230px!important}body.entity-business-premium .mg-unified-right-rail>.mg-hero-hours-panel{right:12px!important;bottom:12px!important;width:calc(100% - 24px)!important}body.entity-business-premium .mg-unified-hero-copy{padding:20px!important}body.entity-business-premium .mg-unified-actions>*{flex:1 1 calc(50% - 8px)!important}body.entity-business-premium .mg-share-actions{align-items:stretch!important}body.entity-business-premium .mg-share-actions strong{width:100%!important}body.entity-business-premium .mg-share-actions a,body.entity-business-premium .mg-share-actions button{flex:1 1 calc(33.333% - 8px)!important;justify-content:center!important}body.entity-business-premium .entity-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:120px!important}body.entity-business-premium .entity-photo-section{padding:14px!important}}

/* Build 489 — R-005B + D-030C focused UI repair */
.smart-result-media{position:relative!important;overflow:hidden!important}
.smart-result-media>.hidden-gem-search-ribbon{position:absolute!important;left:4px!important;top:4px!important;z-index:8!important;display:block!important;width:auto!important;max-width:calc(100% - 8px)!important;margin:0!important;padding:4px 6px!important;border:0!important;border-radius:5px!important;background:#6d28d9!important;color:#fff!important;font-size:9px!important;font-weight:800!important;line-height:1!important;letter-spacing:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;box-shadow:0 2px 6px rgba(76,29,149,.30)!important}
.business-media-admin{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(190px,220px))!important;gap:14px!important;align-items:start!important;justify-content:start!important}
.business-media-admin>.entity-photo-card{width:100%!important;max-width:220px!important;margin:0!important;overflow:hidden!important;border:1px solid #dce5ee!important;border-radius:14px!important;background:#fff!important}
.business-media-admin>.entity-photo-card>img{display:block!important;width:100%!important;height:140px!important;max-height:140px!important;aspect-ratio:auto!important;object-fit:cover!important;background:#eef3f7!important}
.business-media-admin .status-pill{display:inline-flex!important;margin:8px 10px 0!important}
.business-media-admin .business-media-edit{display:grid!important;gap:7px!important;padding:10px!important}
.business-media-admin .business-media-edit input{width:100%!important;min-width:0!important}
.business-media-admin .admin-inline-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important;padding:0 10px 10px!important}
.business-media-admin .admin-inline-actions form{margin:0!important}
@media(max-width:520px){.business-media-admin{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.business-media-admin>.entity-photo-card{max-width:none!important}.business-media-admin>.entity-photo-card>img{height:110px!important;max-height:110px!important}}
@media(max-width:340px){.business-media-admin{grid-template-columns:1fr!important}.business-media-admin>.entity-photo-card>img{height:140px!important;max-height:140px!important}}

/* Build 495 B-008: conversion is important but non-destructive. */
.btn-convert{background:#efe7ff!important;color:#5b2aa8!important;border:1px solid #cbb7f4!important;box-shadow:0 2px 8px rgba(91,42,168,.10)}
.btn-convert:hover,.btn-convert:focus{background:#e5d8ff!important;color:#482080!important;transform:translateY(-1px);box-shadow:0 5px 14px rgba(91,42,168,.16)}
