:root {
            --navy: #071d49;
            --blue: #073b91;
            --blue2: #0b55b8;
            --gold: #d7a83d;
            --gold2: #f3d88a;
            --gold-text: #865e17;
            --ink: #182338;
            --muted: #606b7e;
            --paper: #f7f8fb;
            --line: #e7eaf0;
            --white: #fff;
            --radius: 18px;
            --shadow: 0 16px 48px rgba(6, 25, 65, .10)
        }

        * {
            box-sizing: border-box
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 90px
        }

        body {
            margin: 0;
            font-family: Inter, "IBM Plex Sans Thai", "Noto Sans Thai", Arial, sans-serif;
            color: var(--ink);
            background: #fff
        }

        button,
        input,
        select,
        textarea {
            font: inherit
        }

        button,
        a {
            cursor: pointer
        }

        a {
            text-decoration: none;
            color: inherit
        }

        :where(a, button, input, select, textarea, summary):focus-visible {
            outline: 2px solid var(--navy);
            outline-offset: 3px;
            box-shadow: 0 0 0 3px #fff
        }

        .skip-link {
            position: fixed;
            z-index: 1000;
            top: 12px;
            left: 12px;
            padding: 10px 14px;
            color: var(--navy);
            background: #fff;
            transform: translateY(calc(-100% - 20px))
        }

        .skip-link:focus {
            transform: none
        }

        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto }
        }

        .wrap {
            width: min(1180px, calc(100% - 40px));
            margin: auto
        }

        .topbar {
            background: var(--navy);
            color: #dce7ff;
            font-size: 12px;
            padding: 9px 0
        }

        .topbar .wrap {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap
        }

        .topbar a {
            color: var(--gold2)
        }

        header {
            position: sticky;
            top: 0;
            z-index: 20;
            background: rgba(255, 255, 255, .96);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--line)
        }

        .nav {
            height: 82px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px
        }

        .brand {
            display: flex;
            align-items: center;
            min-width: 180px
        }

        .brand img {
            width: 180px;
            height: 65px;
            object-fit: contain
        }

        .navlinks {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 14px;
            font-weight: 600;
            color: #27334b
        }

        .navlinks a:hover {
            color: var(--blue2)
        }

        .navright {
            display: flex;
            align-items: center;
            gap: 12px
        }

        .navlinks a,
        .navright .btn {
            white-space: nowrap;
            font-size: 14px;
            padding: 8px 14px
        }

        .account-menu {
            position: relative;
            flex: 0 0 auto
        }

        .account-menu-toggle {
            display: grid;
            width: 42px;
            height: 42px;
            place-items: center;
            list-style: none;
            border: 1px solid #b9c6dc;
            border-radius: 50%;
            color: var(--blue);
            background: #fff;
            cursor: pointer;
            transition: background-color .2s, border-color .2s
        }

        .account-menu-toggle::-webkit-details-marker {
            display: none
        }

        .account-menu-toggle:hover,
        .account-menu[open] .account-menu-toggle {
            border-color: var(--blue);
            background: #f3f6fb
        }


        .account-menu-toggle svg {
            width: 21px;
            height: 21px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round
        }

        .account-menu-panel {
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            z-index: 50;
            display: flex;
            min-width: 190px;
            flex-direction: column;
            gap: 4px;
            padding: 8px;
            border: 1px solid var(--line);
            border-radius: 12px;
            background: #fff;
            box-shadow: var(--shadow)
        }

        .account-menu-item {
            display: block;
            width: 100%;
            padding: 10px 12px;
            border: 0;
            border-radius: 8px;
            color: var(--ink);
            background: transparent;
            font: inherit;
            font-size: 14px;
            text-align: left;
            text-decoration: none;
            cursor: pointer
        }

        .account-menu-item:hover {
            color: var(--blue);
            background: #f3f6fb
        }

        .account-menu-item[hidden] {
            display: none !important
        }

        .lang {
            border: 1px solid var(--line);
            border-radius: 30px;
            padding: 9px 12px;
            background: white;
            color: var(--navy)
        }

        .btn {
            border: 0;
            border-radius: 999px;
            padding: 13px 21px;
            background: var(--blue);
            color: white;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            transition: .2s
        }

        .btn:hover {
            background: var(--navy);
            transform: translateY(-1px)
        }

        .btn.gold {
            background: linear-gradient(120deg, #b77b18, #f0d27c);
            color: #182338
        }

        .btn.outline {
            background: transparent;
            color: var(--blue);
            border: 1px solid #b9c6dc
        }

        .mobile-toggle {
            display: none;
            border: 0;
            background: none;
            font-size: 25px;
            color: var(--navy)
        }

        .hero {
            position: relative;
            min-height: 610px;
            display: flex;
            align-items: center;
            overflow: hidden;
            background: linear-gradient(90deg, rgba(3, 18, 52, .92), rgba(3, 29, 79, .70) 48%, rgba(4, 27, 72, .08)), url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=85') center/cover
        }

        .hero:after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 5px;
            background: linear-gradient(90deg, var(--gold), #fff0b5, var(--gold))
        }

        .hero-content {
            position: relative;
            z-index: 1;
            color: white;
            max-width: 700px;
            padding: 85px 0
        }

        .eyebrow {
            color: var(--gold2);
            font-size: 12px;
            letter-spacing: 3px;
            text-transform: uppercase;
            font-weight: 800
        }

        .hero h1 {
            font-family: Georgia, serif;
            font-weight: 500;
            font-size: clamp(42px, 6vw, 70px);
            line-height: 1.08;
            margin: 18px 0
        }

        .hero p {
            font-size: 17px;
            line-height: 1.8;
            color: #e1e9f8;
            max-width: 570px
        }

        .hero-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 28px
        }

        .search-panel {
            position: relative;
            z-index: 3;
            margin-top: -55px
        }

        .search-box {
            background: white;
            border-radius: 18px;
            box-shadow: var(--shadow);
            padding: 22px;
            display: grid;
            grid-template-columns: 1.1fr 1fr 1fr 1fr auto;
            gap: 12px;
            align-items: end
        }

        .field label {
            display: block;
            font-size: 12px;
            color: var(--muted);
            font-weight: 700;
            margin: 0 0 8px
        }

        .field input,
        .field select {
            width: 100%;
            border: 1px solid var(--line);
            border-radius: 10px;
            padding: 13px;
            background: #fff;
            color: var(--ink);
            outline-color: var(--gold)
        }

        section {
            padding: 88px 0
        }

        .section-head {
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 30px
        }

        .kicker {
            color: var(--gold-text);
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 11px;
            font-weight: 800
        }

        .section-head h2 {
            font-family: Georgia, serif;
            color: var(--navy);
            font-size: clamp(30px, 4vw, 43px);
            font-weight: 500;
            margin: 8px 0 0
        }

        .section-head p {
            color: var(--muted);
            max-width: 480px;
            line-height: 1.7;
            margin: 0
        }

        .cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px
        }

        .property-card {
            border: 1px solid var(--line);
            border-radius: var(--radius);
            overflow: hidden;
            background: white;
            transition: .25s
        }

        .property-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow)
        }

        .property-photo {
            height: 235px;
            position: relative;
            background: #dce3ef
        }

        .property-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover
        }

        .favorite-toggle {
            border: 0;
            border-radius: 999px;
            background: #fff;
            color: #a32d43;
            cursor: pointer;
            font-size: 15px;
            font-weight: 700;
            box-shadow: var(--shadow)
        }

        .property-photo .favorite-toggle {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 40px;
            height: 40px;
            font-size: 24px
        }

        .detail-favorite-toggle {
            margin: 0 0 14px;
            padding: 10px 14px
        }

        .tag {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--navy);
            color: white;
            border-radius: 30px;
            padding: 7px 12px;
            font-size: 11px;
            font-weight: 700
        }

        .card-body {
            padding: 20px
        }

        .card-body h3 {
            font-size: 18px;
            margin: 0 0 8px;
            color: var(--navy)
        }

        .location {
            font-size: 13px;
            color: var(--muted)
        }

        .price {
            color: #a9781c;
            font-weight: 800;
            font-size: 21px;
            margin: 15px 0
        }

        .specs {
            display: flex;
            gap: 15px;
            color: #657086;
            font-size: 12px;
            border-top: 1px solid var(--line);
            padding-top: 14px
        }

        .card-foot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 17px;
            font-size: 13px;
            color: var(--blue);
            font-weight: 700
        }

        .link-arrow {
            color: var(--blue);
            font-weight: 700
        }

        .trust {
            background: var(--paper)
        }

        .trust-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px
        }

        .trust-item {
            padding: 28px;
            background: white;
            border: 1px solid var(--line);
            border-radius: 16px
        }

        .trust-icon {
            width: 46px;
            height: 46px;
            border-radius: 14px;
            background: #edf3ff;
            color: var(--blue);
            display: grid;
            place-items: center;
            font-size: 22px
        }

        .trust-item h3 {
            color: var(--navy);
            margin: 17px 0 8px
        }

        .trust-item p {
            color: var(--muted);
            line-height: 1.7;
            font-size: 14px;
            margin: 0
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center
        }

        .about-visual {
            position: relative
        }

        .about-visual img {
            width: 100%;
            border-radius: 22px;
            box-shadow: var(--shadow);
            max-height: 490px;
            object-fit: cover
        }

        .about-copy h2 {
            font: 500 clamp(32px, 4vw, 46px)/1.15 Georgia, serif;
            color: var(--navy);
            margin: 12px 0 18px
        }

        .about-copy p {
            color: var(--muted);
            line-height: 1.9
        }

        .team {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 18px
        }

        .person {
            border-radius: 16px;
            overflow: hidden;
            background: white;
            border: 1px solid var(--line)
        }

        .person img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            object-position: top
        }

        .person div {
            padding: 15px
        }

        .person strong {
            color: var(--navy)
        }

        .person small {
            display: block;
            color: var(--muted);
            margin-top: 5px
        }

        .contact-band {
            background: linear-gradient(115deg, var(--navy), #0b459b);
            color: white;
            border-radius: 24px;
            padding: 42px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px
        }

        .contact-band h2 {
            font: 500 34px Georgia, serif;
            margin: 0 0 8px
        }

        .contact-band p {
            color: #d6e2f6;
            margin: 0
        }

        .footer {
            background: #061735;
            color: #d6e0f2;
            padding: 55px 0 22px
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.3fr 1fr 1fr;
            gap: 40px
        }

        .footer img {
            width: 190px;
            background: white;
            border-radius: 8px
        }

        .footer p,
        .footer li {
            font-size: 13px;
            line-height: 1.9;
            color: #b9c6dd
        }

        .footer h4 {
            color: white
        }

        .footer ul {
            padding: 0;
            list-style: none
        }

        .copyright {
            border-top: 1px solid #25385a;
            margin-top: 35px;
            padding-top: 18px;
            color: #9cacc8;
            font-size: 12px
        }

        .page {
            display: none;
            min-height: 60vh
        }

        .page.active {
            display: block
        }

        .page-hero {
            padding: 65px 0;
            background: linear-gradient(110deg, #061b46, #0d4a9c);
            color: white
        }

        .page-hero h1 {
            font: 500 44px Georgia, serif;
            margin: 0 0 10px
        }

        .page-hero p {
            color: #d9e6fb;
            margin: 0
        }

        .listing-layout {
            display: grid;
            grid-template-columns: 260px 1fr;
            gap: 28px
        }

        .filters {
            background: var(--paper);
            border: 1px solid var(--line);
            border-radius: 16px;
            padding: 20px;
            height: max-content
        }

        .filters h3 {
            margin: 0 0 18px;
            color: var(--navy)
        }

        .filters .field {
            margin-bottom: 15px
        }

        .listing-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 18px;
            color: var(--muted);
            font-size: 14px
        }

        .listing-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px
        }

        .detail-grid {
            display: grid;
            grid-template-columns: 1.5fr .8fr;
            gap: 35px
        }

        .detail-grid[hidden] {
            display: none !important
        }

        .detail-data-status,
        .inquiry-status {
            color: var(--muted);
            font-size: 13px;
            line-height: 1.6
        }

        .detail-data-status:empty,
        .inquiry-status:empty {
            display: none
        }

        .lead-captcha {
            min-height: 65px;
            margin: 12px 0
        }

        .gallery {
            display: grid;
            grid-template-columns: 2fr 1fr;
            grid-template-rows: 180px 180px;
            gap: 10px
        }

        .gallery img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 13px
        }

        .gallery img:first-child {
            grid-row: span 2
        }

        .detail-info h2 {
            color: var(--navy);
            font: 500 34px Georgia, serif
        }

        .detail-price {
            font-size: 28px;
            color: #a9781c;
            font-weight: 800
        }

        .detail-box {
            border: 1px solid var(--line);
            border-radius: 17px;
            padding: 22px;
            height: max-content;
            box-shadow: 0 8px 25px rgba(8, 30, 70, .06)
        }

        .detail-box h3 {
            margin-top: 0;
            color: var(--navy)
        }

        .detail-box input,
        .detail-box textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--line);
            border-radius: 9px;
            margin: 6px 0 12px
        }

        .share-panel {
            margin-top: 30px;
            padding: 22px;
            background: linear-gradient(145deg, #f8faff, #f2f5fb);
            border: 1px solid #e3e9f3;
            border-radius: 18px
        }

        .share-heading {
            margin-bottom: 16px
        }

        .share-eyebrow {
            color: var(--gold-text);
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 1.8px
        }

        .share-heading h3 {
            margin: 5px 0;
            color: var(--navy);
            font: 500 24px Georgia, serif
        }

        .share-heading p,
        .share-note {
            margin: 0;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.6
        }

        .share-row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
            gap: 9px
        }

        .share {
            display: inline-flex;
            align-items: center;
            justify-content: flex-start;
            gap: 10px;
            min-height: 48px;
            padding: 10px 12px;
            color: #34425a;
            background: #fff;
            border: 1px solid #e0e6f0;
            border-radius: 11px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease
        }

        .share svg {
            width: 20px;
            height: 20px;
            flex: 0 0 20px;
            fill: currentColor
        }

        .share:hover {
            transform: translateY(-2px);
            border-color: currentColor;
            box-shadow: 0 8px 18px rgba(7, 29, 73, .1)
        }


        .share-facebook:hover {
            color: #1877f2
        }

        .share-line:hover {
            color: #06a957
        }

        .share-wechat:hover {
            color: #07c160
        }

        .share-whatsapp:hover {
            color: #1da851
        }

        .share-telegram:hover {
            color: #168ac4
        }

        .share-email:hover,
        .share-copy:hover,
        .share-device:hover {
            color: var(--blue)
        }

        .share-note {
            margin-top: 14px;
            font-size: 11px
        }

        .share-status {
            min-height: 0;
            color: var(--blue);
            font-size: 12px;
            font-weight: 700
        }

        .share-status:not(:empty) {
            margin-top: 9px
        }

        .admin-wrap {
            display: grid;
            grid-template-columns: 220px 1fr;
            gap: 25px
        }

        #adminDashboard[hidden] {
            display: none !important
        }

        [data-admin-only][hidden] {
            display: none !important
        }

        .admin-tab-content[hidden] {
            display: none !important
        }

        .admin-access-notice {
            margin-top: 40px;
            padding: 22px;
            border: 1px solid #f1d69b;
            border-radius: 14px;
            color: #705114;
            background: #fff9e9;
            line-height: 1.7
        }

        .admin-data-status {
            min-height: 20px;
            color: var(--muted);
            font-size: 13px
        }

        .admin-form-title {
            margin-top: 30px;
            color: var(--navy)
        }

        .admin-form-help {
            color: var(--muted);
            font-size: 12px;
            line-height: 1.7
        }

        .admin-featured-field label {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--navy);
            font-weight: 700
        }

        .admin-featured-field input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin: 0;
            accent-color: var(--blue)
        }

        .admin-image-list {
            display: grid;
            gap: 10px;
            margin-top: 12px
        }

        .admin-image-card {
            display: grid;
            grid-template-columns: 96px minmax(0, 1fr) auto;
            align-items: center;
            gap: 12px;
            padding: 10px;
            border: 1px solid var(--line);
            border-radius: 10px;
            background: #fff
        }

        .admin-image-card img {
            width: 96px;
            height: 72px;
            object-fit: cover;
            border-radius: 7px;
            background: var(--paper)
        }

        .admin-image-card[hidden] {
            display: none !important
        }

        .admin-image-controls {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 6px
        }

        .admin-image-controls .btn {
            padding: 8px 11px;
            font-size: 12px
        }

        .admin-image-cover {
            color: #94701f;
            font-size: 12px;
            font-weight: 800
        }

        .admin-lead-note {
            width: min(260px, 100%);
            min-height: 76px;
            padding: 9px;
            border: 1px solid var(--line);
            border-radius: 8px;
            resize: vertical
        }

        .admin-lead-note-save {
            margin-top: 6px;
            padding: 8px 12px;
            font-size: 12px
        }

        .admin-role-badge {
            margin: 0 0 18px;
            color: var(--muted);
            text-align: right;
            font-size: 13px
        }

        .admin-section {
            margin-top: 32px
        }

        .admin-section-head {
            margin: 0 0 12px
        }

        .admin-section-head h2 {
            margin: 0;
            color: var(--navy);
            font-size: 28px
        }

        .customer-profile,
        .customer-favorite-card,
        .customer-inquiry-card,
        .reset-password-card {
            padding: 22px;
            border: 1px solid var(--line);
            border-radius: 14px;
            background: #fff
        }

        .customer-dashboard-section {
            margin-top: 32px
        }

        .customer-dashboard-page {
            padding: 48px 0 80px;
            background: var(--paper)
        }

        .customer-dashboard-status,
        .customer-login-action,
        .customer-account-panel {
            padding: 20px;
            border: 1px solid var(--line);
            border-radius: 14px;
            background: #fff;
            box-shadow: 0 8px 26px rgba(6, 25, 65, .05)
        }

        .customer-dashboard-status {
            margin: 0 0 22px;
            color: var(--muted);
            line-height: 1.7
        }

        .customer-login-action p {
            margin: 0 0 16px;
            color: var(--muted)
        }

        .customer-account-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 20px
        }

        .customer-account-panel {
            min-width: 0
        }

        .customer-panel-heading {
            margin-bottom: 18px
        }

        .customer-panel-heading .kicker {
            display: block;
            margin-bottom: 6px
        }

        .customer-panel-heading h2 {
            margin: 0;
            color: var(--navy);
            font: 500 28px/1.2 Georgia, serif
        }

        .customer-account-email {
            overflow-wrap: anywhere;
            color: var(--muted);
            font-size: 14px
        }

        .customer-account-email strong {
            color: var(--ink)
        }

        .customer-dashboard-form {
            display: grid;
            gap: 14px;
            margin-top: 20px
        }

        .customer-dashboard-form .field {
            margin: 0
        }

        .customer-dashboard-form button {
            justify-self: start
        }

        .customer-form-status {
            min-height: 1.5em;
            margin: 0;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.5
        }

        .customer-favorites-list {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 18px;
            margin-top: 16px
        }

        .customer-favorite-card,
        .customer-inquiry-card {
            min-width: 0;
            overflow-wrap: anywhere
        }

        .customer-favorite-card img {
            width: 100%;
            height: 175px;
            object-fit: cover;
            border-radius: 10px
        }

        .customer-favorite-card .btn {
            margin-top: 12px
        }

        .customer-favorite-card > a {
            display: inline-block;
            margin-top: 6px;
            color: var(--blue);
            font-weight: 700
        }

        .customer-favorite-price {
            color: var(--navy);
            font-weight: 800
        }

        .customer-inquiry-list {
            display: grid;
            gap: 14px;
            margin-top: 16px
        }

        .reset-password-page {
            max-width: 640px;
            padding-top: 40px
        }

        .reset-password-card {
            margin-top: 24px
        }

        .reset-password-card form {
            display: grid;
            gap: 14px;
            margin: 20px 0
        }

        .reset-password-card form[hidden] {
            display: none
        }

        .admin-main table select {
            min-width: 125px;
            max-width: 190px;
            padding: 8px;
            border: 1px solid var(--line);
            border-radius: 8px;
            background: #fff
        }

        .admin-side {
            background: var(--navy);
            color: white;
            border-radius: 16px;
            padding: 20px;
            height: max-content
        }

        .admin-side h3 {
            color: var(--gold2)
        }

        .admin-side a {
            display: block;
            padding: 11px 9px;
            color: #d8e4fa;
            font-size: 13px;
            border-radius: 8px
        }

        .admin-side a:hover {
            background: #183a72
        }

        .admin-side a.active {
            background: #183a72;
            color: #fff
        }

        .admin-main {
            min-width: 0
        }

        .stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 14px
        }

        .stat {
            border: 1px solid var(--line);
            padding: 18px;
            border-radius: 14px
        }

        .stat small {
            color: var(--muted)
        }

        .stat b {
            display: block;
            font-size: 28px;
            color: var(--navy);
            margin-top: 7px
        }

        .table-wrap {
            overflow: auto;
            border: 1px solid var(--line);
            border-radius: 14px;
            margin-top: 20px
        }

        table {
            width: 100%;
            border-collapse: collapse;
            min-width: 620px
        }

        th,
        td {
            text-align: left;
            padding: 14px;
            border-bottom: 1px solid var(--line);
            font-size: 13px
        }

        th {
            background: var(--paper);
            color: var(--muted)
        }

        .admin-form {
            background: var(--paper);
            border-radius: 14px;
            padding: 18px;
            margin-top: 20px;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px
        }

        .admin-form input,
        .admin-form select,
        .admin-form textarea {
            padding: 12px;
            border: 1px solid var(--line);
            border-radius: 9px;
            width: 100%
        }

        .admin-form input[type="file"] {
            background: #fff
        }

        .admin-form .full {
            grid-column: 1/-1
        }

        .toast {
            position: fixed;
            bottom: 22px;
            right: 22px;
            background: var(--navy);
            color: white;
            padding: 13px 18px;
            border-radius: 12px;
            box-shadow: var(--shadow);
            opacity: 0;
            pointer-events: none;
            z-index: 40
        }

        .toast.show {
            opacity: 1
        }

        .auth-modal {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100%;
            max-width: none;
            max-height: none;
            margin: 0;
            border: 0;
            color: inherit;
            background: transparent;
            overflow-y: auto;
            padding: 18px
        }

        .auth-modal[open] {
            display: grid;
            place-items: center
        }

        .auth-modal::backdrop {
            background: rgba(5, 18, 43, .62);
            backdrop-filter: blur(5px)
        }

        .mobile-menu [hidden] {
            display: none !important
        }

        body.auth-open {
            overflow: hidden
        }

        .auth-dialog {
            position: relative;
            width: min(440px, 100%);
            max-height: calc(100vh - 36px);
            overflow-y: auto;
            padding: 34px;
            border: 1px solid rgba(255, 255, 255, .75);
            border-radius: 22px;
            background: #fff;
            box-shadow: 0 28px 90px rgba(2, 15, 42, .3)
        }

        .auth-close {
            position: absolute;
            top: 16px;
            right: 16px;
            display: grid;
            width: 36px;
            height: 36px;
            place-items: center;
            border: 1px solid var(--line);
            border-radius: 50%;
            color: var(--muted);
            background: #fff;
            font-size: 20px
        }

        .auth-eyebrow {
            color: var(--gold-text);
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 2px
        }

        .auth-dialog h2 {
            margin: 8px 42px 8px 0;
            color: var(--navy);
            font: 500 30px/1.2 Georgia, serif
        }

        .auth-intro {
            margin: 0 0 22px;
            color: var(--muted);
            font-size: 14px;
            line-height: 1.6
        }

        .auth-setup-notice {
            margin-bottom: 16px;
            padding: 12px 14px;
            border: 1px solid #f1d69b;
            border-radius: 10px;
            color: #705114;
            background: #fff9e9;
            font-size: 12px;
            line-height: 1.6
        }

        .auth-dialog [hidden] {
            display: none !important
        }

        .auth-field {
            margin-bottom: 15px
        }

        .auth-field label {
            display: block;
            margin-bottom: 7px;
            color: #34425a;
            font-size: 13px;
            font-weight: 700
        }

        .auth-field input {
            width: 100%;
            min-height: 46px;
            padding: 11px 13px;
            border: 1px solid #dce3ee;
            border-radius: 10px;
            outline-color: var(--gold);
            background: #fff
        }

        .auth-status {
            min-height: 0;
            color: var(--blue);
            font-size: 12px;
            line-height: 1.5
        }

        .auth-status:not(:empty) {
            margin: 0 0 12px
        }

        .auth-status[data-type="error"] {
            color: #b42318
        }

        .auth-submit {
            width: 100%;
            min-height: 48px
        }

        .auth-submit:disabled {
            cursor: wait;
            opacity: .7
        }

        .auth-switch {
            margin: 20px 0 0;
            color: var(--muted);
            font-size: 13px;
            text-align: center
        }

        .auth-toggle {
            padding: 4px;
            border: 0;
            color: var(--blue);
            background: transparent;
            font-weight: 800
        }

        .mobile-menu {
            display: none
        }

        .contact-form-section {
            padding: 50px 20px;
            background-color: #f9fafb;
        }

        .contact-form-wrap {
            max-width: 600px;
            margin: 0 auto;
            background: #ffffff;
            padding: 35px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        .contact-form-wrap h2 {
            font-size: 24px;
            font-weight: 600;
            color: #111827;
            margin-bottom: 8px;
        }

        .contact-form-wrap > p {
            font-size: 14px;
            color: #6b7280;
            margin-bottom: 24px;
        }

        .contact-inquiry-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .contact-inquiry-form .field {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .contact-inquiry-form label {
            font-size: 14px;
            font-weight: 500;
            color: #374151;
        }

        .contact-inquiry-form input,
        .contact-inquiry-form textarea {
            width: 100%;
            padding: 12px 14px;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            font-size: 14px;
            color: #1f2937;
            background-color: #fff;
            box-sizing: border-box;
            transition: border-color 0.2s, box-shadow 0.2s;
        }

        .contact-inquiry-form input::placeholder,
        .contact-inquiry-form textarea::placeholder {
            color: #9ca3af;
        }

        .contact-inquiry-form input:focus,
        .contact-inquiry-form textarea:focus {
            border-color: #c5a059;
            box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
        }

        .btn.gold.contact-submit-button {
            width: 100%;
            padding: 14px;
            background-color: #c5a059;
            color: #ffffff;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .btn.gold.contact-submit-button:hover {
            background-color: #b08d4c;
        }

        #contactFormStatus {
            font-size: 14px;
            text-align: center;
            margin-top: 10px;
        }

        @media(max-width:1100px) and (min-width:901px) {
            .navlinks {
                gap: 12px;
                font-size: 12px
            }

            .navright .btn.gold {
                display: none
            }
        }

        @media(max-width:900px) {
            .navlinks {
                display: none
            }

            .mobile-toggle {
                display: block
            }

            .navright .btn {
                display: none
            }

            .mobile-menu.open {
                display: flex;
                flex-direction: column;
                gap: 15px;
                padding: 0 20px 20px
            }

            .search-box {
                grid-template-columns: repeat(2, 1fr)
            }

            .search-box .btn {
                grid-column: span 2
            }

            .cards {
                grid-template-columns: repeat(2, 1fr)
            }

            .team {
                grid-template-columns: repeat(2, 1fr)
            }

            .stats {
                grid-template-columns: repeat(2, 1fr)
            }

            .listing-layout {
                grid-template-columns: 1fr
            }

            .filters {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 10px
            }

            .filters h3 {
                grid-column: 1/-1
            }

            .detail-grid {
                grid-template-columns: 1fr
            }

            .about-grid {
                gap: 30px
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr
            }

            .customer-favorites-list {
                grid-template-columns: repeat(2, minmax(0, 1fr))
            }
        }

        @media(max-width:600px) {
            .wrap {
                width: min(100% - 28px, 1180px)
            }

            .topbar .wrap {
                font-size: 10px
            }

            .nav {
                height: 70px
            }

            .customer-account-grid,
            .customer-favorites-list {
                grid-template-columns: 1fr
            }

            .customer-site-header .nav {
                gap: 8px
            }

            .customer-site-header .brand {
                min-width: 120px
            }

            .customer-site-header .brand img {
                width: 120px;
                height: 55px
            }

            .customer-site-header .navright {
                gap: 6px
            }

            .brand img {
                width: 145px
            }

            .hero {
                min-height: 570px;
                background-position: 60% center
            }

            .hero-content {
                padding: 65px 0
            }

            .hero p {
                font-size: 15px
            }

            .search-panel {
                margin-top: -30px
            }

            .search-box {
                grid-template-columns: 1fr;
                padding: 16px
            }

            .search-box .btn {
                grid-column: auto
            }

            .section-head {
                display: block
            }

            .section-head p {
                margin-top: 12px
            }

            .cards,
            .trust-grid,
            .listing-grid,
            .customer-favorites-list {
                grid-template-columns: 1fr
            }

            .about-grid {
                grid-template-columns: 1fr
            }

            .about-visual {
                order: 2
            }

            .team {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px
            }

            .person img {
                height: 220px
            }

            .contact-band {
                display: block;
                padding: 28px
            }

            .contact-band .btn {
                margin-top: 20px
            }

            .footer-grid {
                grid-template-columns: 1fr
            }

            .page-hero h1 {
                font-size: 36px
            }

            .gallery {
                grid-template-rows: 130px 130px
            }

            .share-panel {
                padding: 17px
            }

            .share-row {
                grid-template-columns: repeat(2, minmax(0, 1fr))
            }

            .share {
                gap: 7px;
                padding: 9px
            }

            .admin-wrap {
                grid-template-columns: minmax(0, 1fr)
            }

            .admin-side {
                display: flex;
                align-items: center;
                gap: 8px;
                overflow-x: auto;
                padding: 8px 12px
            }

            .admin-side > * {
                flex: 0 0 auto;
                white-space: nowrap
            }

            .admin-form {
                grid-template-columns: 1fr
            }

            .admin-form .full {
                grid-column: auto
            }

            .admin-image-card {
                grid-template-columns: 72px minmax(0, 1fr)
            }

            .admin-image-card img {
                width: 72px;
                height: 60px
            }

            .admin-image-controls {
                grid-column: 1/-1;
                justify-content: flex-start
            }

            .auth-dialog {
                padding: 28px 22px
            }

            .stats {
                gap: 8px
            }

            .stat {
                padding: 12px
            }

            .stat b {
                font-size: 23px
            }
        }

        .locale-wrap {
            position: relative
        }

        .locale-trigger {
            display: flex;
            align-items: center;
            border: 0;
            background: #fff;
            border-radius: 4px;
            padding: 4px;
            color: var(--ink);
            width: 50px;
            height: 52px;
            justify-content: center;
            cursor: pointer
        }

        .dashboard-rate-source {
            margin: 0 8px 8px;
            color: #505a6b;
            font-size: 10px;
            line-height: 1.5
        }

        .locale-trigger-flag {
            display: block;
            width: 42px;
            height: 28px;
            object-fit: cover;
            border: 1px solid rgba(0, 0, 0, .08);
            flex-shrink: 0
        }

        .locale-row label {
            display: block;
            color: #f22b38;
            font-size: 12px;
            margin-bottom: 4px
        }

        .locale-panel {
            display: none;
            position: absolute;
            right: 0;
            top: 100%;
            width: 234px;
            padding: 8px;
            background: #d9d9d9;
            z-index: 50
        }

        .locale-panel.open {
            display: block
        }

        .locale-rate-status {
            margin: 4px 8px 8px;
            color: #505a6b;
            font-size: 10px;
            line-height: 1.5
        }

        .locale-row {
            position: relative;
            margin-bottom: 8px;
            padding: 8px;
            background: #fff;
            border-radius: 2px
        }

        .locale-select-wrap {
            position: relative
        }

        .locale-select-wrap select {
            border: 0;
            background: #fff;
            width: 100%;
            font-size: 14px;
            color: #202633;
            padding: 0 18px 0 0;
            cursor: pointer;
            appearance: none
        }

        .locale-select-wrap::after {
            content: "⌄";
            position: absolute;
            right: 0;
            top: -3px;
            color: #f22b38;
            font-size: 19px;
            pointer-events: none
        }

        @media(max-width:600px) {
            .locale-panel {
                width: 200px
            }
        }

        .listing-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 24px
        }

        .pagination-button {
            min-width: 40px;
            min-height: 40px;
            padding: 8px 12px;
            border: 1px solid var(--line);
            border-radius: 8px;
            background: #fff;
            color: var(--blue);
            font-weight: 600
        }

        .pagination-button:hover:not(:disabled),
        .pagination-button.is-current {
            border-color: var(--blue);
            background: var(--blue);
            color: #fff
        }

        .pagination-button:disabled {
            color: var(--muted);
            cursor: not-allowed;
            opacity: .55
        }

        .pagination-status,
        .pagination-ellipsis {
            color: var(--muted);
            font-size: 13px
        }

        .filter-apply-button,
        .inquiry-submit,
        .detail-call-button {
            width: 100%
        }

        .hero .btn.outline.hero-about-button {
            color: white;
            border-color: #ffffff88
        }

        .team-note {
            margin-top: 15px;
            color: var(--muted);
            font-size: 12px
        }

        .trust-grid-spaced {
            margin-top: 25px
        }

        .trust-item-spaced {
            margin-top: 20px
        }

        .contact-form-section {
            padding: 40px 0
        }

        .contact-form-wrap {
            max-width: 600px;
            margin: 0 auto
        }

        .contact-inquiry-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 20px
        }

        .btn.gold.contact-submit-button {
            padding: 12px;
            cursor: pointer
        }

        .admin-properties-head {
            margin: 28px 0 12px
        }

        .admin-properties-head h2.admin-properties-title {
            font-size: 30px
        }

        .form-language-divider {
            margin-top: 10px;
            border-top: 1px dashed #ccc;
            padding-top: 15px
        }

        .reset-property-form-button {
            margin-top: 8px
        }

        .detail-description {
            color: var(--muted);
            line-height: 1.9
        }

        .inquiry-intro {
            color: var(--muted);
            font-size: 13px
        }

        .inquiry-separator {
            margin: 20px 0;
            border: 0;
            border-top: 1px solid var(--line)
        }

        .clipboard-copy-field {
            position: fixed;
            opacity: 0
        }

        .consent-banner {
            position: fixed;
            z-index: 80;
            right: 18px;
            bottom: 18px;
            width: min(660px, calc(100vw - 36px));
            max-height: min(80vh, 680px);
            overflow-y: auto;
            padding: 22px;
            border: 1px solid #dfe5ef;
            border-radius: 16px;
            background: #fff;
            box-shadow: 0 18px 60px rgba(4, 20, 52, .24)
        }

        .consent-banner[hidden],
        .consent-trigger[hidden],
        .consent-preferences[hidden],
        .consent-actions [hidden] {
            display: none !important
        }

        .consent-content h2 {
            margin: 0 0 8px;
            color: var(--navy);
            font-size: 19px
        }

        .consent-summary {
            margin: 0;
            color: #48566c;
            font-size: 13px;
            line-height: 1.65
        }

        .consent-preferences {
            display: grid;
            gap: 8px;
            margin-top: 16px;
            padding: 12px;
            border: 1px solid var(--line);
            border-radius: 10px;
            background: var(--paper)
        }

        .consent-option {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            color: var(--ink);
            font-size: 12px;
            line-height: 1.5
        }

        .consent-option input {
            width: 17px;
            height: 17px;
            flex: 0 0 auto;
            margin: 0;
            accent-color: var(--blue)
        }

        .consent-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 8px;
            margin-top: 18px
        }

        .consent-button {
            min-height: 40px;
            padding: 9px 13px;
            border: 1px solid var(--line);
            border-radius: 8px;
            font-size: 12px;
            font-weight: 700
        }

        .consent-secondary {
            color: var(--navy);
            background: #fff
        }

        .consent-primary {
            border-color: var(--navy);
            color: #fff;
            background: var(--navy)
        }

        .consent-button:focus-visible,
        .consent-trigger:focus-visible {
            outline: 3px solid var(--gold);
            outline-offset: 2px
        }

        .consent-trigger {
            position: fixed;
            z-index: 79;
            right: 18px;
            bottom: 18px;
            min-height: 42px;
            padding: 10px 14px;
            border: 1px solid rgba(255, 255, 255, .25);
            border-radius: 999px;
            color: #fff;
            background: var(--navy);
            box-shadow: var(--shadow);
            font-size: 12px;
            font-weight: 700
        }

        .consent-noscript {
            position: fixed;
            z-index: 100;
            right: 12px;
            bottom: 12px;
            max-width: min(520px, calc(100vw - 24px));
            padding: 12px 16px;
            border-radius: 10px;
            color: #fff;
            background: var(--navy);
            font-size: 12px;
            line-height: 1.5
        }

        @media(max-width:600px) {
            .consent-banner {
                right: 10px;
                bottom: 10px;
                width: calc(100vw - 20px);
                max-height: 85vh;
                padding: 17px
            }

            .consent-actions {
                display: grid;
                grid-template-columns: 1fr 1fr
            }

            .consent-button {
                min-height: 44px
            }

            .consent-trigger {
                right: 10px;
                bottom: 10px
            }
        }
