:root {
    --brand: #4d2383;
    --brand-dark: #321258;
    --brand-soft: #f3edfa;
    --ink: #1e1830;
    --muted: #6f6879;
    --warning: #ffca2c;
    --wine: #b72d4c;
    --navy: #08122f;
    --cream: #fbfaf8;
}

body { color: var(--ink); background: #fff; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
@media (min-width: 1200px) {
    .container { max-width: 1200px; }
}
a { color: var(--brand); }
.bg-brand { background: linear-gradient(110deg, var(--brand-dark), var(--brand)); }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--warning); color: var(--brand-dark); }
.hero { background: radial-gradient(circle at 80% 20%, #eadcf8 0, transparent 34%), linear-gradient(145deg, #fff, #f7f3fb); }
.hero h1 { max-width: 780px; letter-spacing: -.04em; }
.eyebrow { color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.search-shell { display: flex; max-width: 720px; padding: .45rem; border-radius: 1rem; background: #fff; box-shadow: 0 18px 50px rgba(50,18,88,.12); }
.btn-brand { color: #fff; background: var(--brand); border-color: var(--brand); }
.btn-brand:hover, .btn-brand:focus { color: #fff; background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-outline-brand { color: var(--brand); border-color: var(--brand); }
.btn-outline-brand:hover { color: #fff; background: var(--brand); }
.hero-card, .panel-card, .contact-card, .auth-card { padding: 1.6rem; border: 1px solid #ebe6ef; border-radius: 1.25rem; background: #fff; box-shadow: 0 14px 45px rgba(42,25,60,.07); }
.hero-stat { display: flex; align-items: baseline; gap: .8rem; }
.hero-stat strong { color: var(--brand); font-size: 3rem; }
.hero-stat span { color: var(--muted); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.category-card { display: flex; min-height: 150px; padding: 1.25rem; flex-direction: column; gap: .45rem; text-decoration: none; color: var(--ink); border: 1px solid #ebe6ef; border-radius: 1rem; transition: .2s ease; }
.category-card:hover { transform: translateY(-4px); border-color: #cbb5e4; box-shadow: 0 15px 35px rgba(50,18,88,.1); }
.category-card small { color: var(--muted); }
.category-icon, .company-avatar, .company-logo-lg { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--brand), #8e4bc1); font-weight: 800; }
.category-icon { width: 42px; height: 42px; border-radius: 12px; }
.company-avatar { width: 54px; height: 54px; margin: .5rem 0 1rem; border-radius: 16px; font-size: 1.3rem; }
.company-logo-lg { width: 110px; height: 110px; border-radius: 28px; font-size: 2.7rem; flex: 0 0 auto; }
.company-card { position: relative; padding: 1.35rem; border: 1px solid #e9e4ed; border-radius: 1rem; background: #fff; transition: .2s ease; }
.company-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(50,18,88,.09); }
.bg-soft, .page-header, .company-header, .auth-section { background: var(--brand-soft); }
.text-brand { color: var(--brand); }
.empty-state { padding: 3rem; text-align: center; color: var(--muted); border: 1px dashed #cfc5d6; border-radius: 1rem; }
.clamp-3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.company-description { font-size: 1.08rem; line-height: 1.85; color: #4f4856; }
.auth-card { max-width: 520px; }
.form-control, .form-select { border-color: #cfc3da; padding: .75rem .9rem; background-color: #f3eef6; }
.form-control:focus, .form-select:focus { border-color: #875daf; background-color: #fff; box-shadow: 0 0 0 .25rem rgba(77,35,131,.14); }
.is-invalid + .invalid-feedback { display: block; }
.status-pill { display: inline-flex; padding: .38rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.status-draft, .status-pending_review { color: #765700; background: #fff2be; }
.status-published, .status-active { color: #13653e; background: #dff6e9; }
.status-rejected, .status-suspended { color: #8b1f2a; background: #fde1e4; }
.plan-line { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #ece7ef; }
.plan-line small { display: block; color: var(--muted); }
.stat-card { display: flex; padding: 1.3rem; flex-direction: column; border-radius: 1rem; background: var(--brand); color: #fff; }
.stat-card strong { font-size: 2rem; }
.stat-card span { opacity: .8; }
.footer { background: #17121f; color: #fff; }

/* Classic Achei GBI public identity */
.public-navbar { min-height: 76px; border-bottom: 1px solid #eee8e5; background: rgba(255,255,255,.98); box-shadow: 0 4px 18px rgba(19,18,27,.05); }
.public-navbar .nav-link { color: #302b35; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.public-logo { color: #191420; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; letter-spacing: -.08em; }
.public-logo span, .public-logo i { color: var(--wine); font-style: normal; }
.public-logo:hover { color: #191420; }
.public-logo-image { min-width: 0; padding-top: 0; padding-bottom: 0; }
.public-logo-image img { display: block; width: auto; max-width: min(var(--site-logo-width), 50vw); height: auto; max-height: var(--site-logo-height); object-fit: contain; border: 0; }
.public-contact-button { border-radius: 0; color: #fff; background: var(--wine); border-color: var(--wine); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.site-hero-photo { position: relative; min-height: 470px; display: grid; place-items: center; background-image: linear-gradient(rgba(8,18,47,.08), rgba(8,18,47,.12)), var(--hero-image, linear-gradient(135deg, #62a9d9, #e6c390)); background-position: center; background-size: cover; }
.site-hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8,18,47,.15)); }
.hero-search-card { position: relative; z-index: 1; width: min(680px, calc(100% - 2rem)); }
.hero-search-inline { display: grid; grid-template-columns: 1fr 54px; background: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.18); }
.hero-search-inline input { min-width: 0; padding: 1.1rem 1.25rem; border: 0; outline: 0; color: #423b44; }
.hero-search-inline button { border: 0; color: #25202b; background: #fff; font-size: 1.5rem; }
.color-ribbon { display: grid; height: 54px; grid-template-columns: 56% 44%; }
.color-ribbon span:first-child { background: var(--wine); }
.color-ribbon span:last-child { background: var(--navy); }
.public-narrow { max-width: 1180px; }
.city-palm, .maybe-need, .restaurant-highlight { padding: 5.5rem 0; background: #fff; }
.classic-title { margin-bottom: 3rem; text-align: center; }
.classic-title h1, .classic-title h2 { margin: 0; color: #171321; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; text-transform: uppercase; }
.classic-title h1 span, .classic-title h2::first-letter { color: var(--wine); }
.classic-title p { margin: .8rem 0 0; color: var(--muted); }
.square-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.2rem 1rem; }
.square-category-card .photo-category-image { aspect-ratio: 1.2; margin-bottom: .65rem; border: 0; border-radius: 10px; background: linear-gradient(145deg, var(--wine), var(--navy)); box-shadow: none; }
.square-category-card strong { color: var(--wine); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.square-category-card small { display: none; }
.restaurant-highlight { padding-top: 3rem; }
.restaurant-banner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.restaurant-banner-card { overflow: hidden; min-height: 310px; color: #fff; border: 0; border-radius: 10px; text-decoration: none; background: var(--navy); }
.restaurant-banner-card picture, .restaurant-banner-card img { display: block; width: 100%; height: 100%; }
.restaurant-banner-card img { min-height: 310px; object-fit: cover; border: 0; border-radius: 10px; }
.classic-button { display: table; padding: .75rem 1.5rem; margin: 2.3rem auto 0; color: #fff; background: var(--wine); text-decoration: none; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.classic-button:hover { color: #fff; background: #91223c; }
.maybe-need { background: var(--cream); }
.extended-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.classic-premium { padding: 4rem 0; background: var(--navy); }
.classic-premium .public-section-title small { color: #e08aa0; }
.premium-empty-slot { display: grid; min-height: 220px; place-items: center; border: 1px solid rgba(255,255,255,.2); color: #fff; background: linear-gradient(135deg, #721f3a, #1a254d); font-size: 1.4rem; }
.classic-premium img { border-radius: 0; }
.featured-directory { padding: 5rem 0; }
.directory-company-row { border-radius: 0; border-color: #e4dfe0; box-shadow: none; }
.directory-company-row > a, .company-avatar { border-radius: 0; }
.footer { margin-top: 0 !important; background: var(--navy); }
.pix-qr { display: grid; place-items: center; background: #fff; }
.pix-qr img { width: 100%; max-width: 220px; height: auto; }

/* Reference landing page */
.public-navbar { min-height: 78px; }
.public-navbar .navbar-collapse { background: #fff; }
.public-logo { display: inline-flex; align-items: center; gap: .05rem; font-family: "Playfair Display", Georgia, serif; letter-spacing: -.08em; }
.public-logo > i { margin-right: .35rem; color: var(--wine); font-size: 1.1rem; }
.public-contact-button { padding: .65rem 1.2rem; }
.landing-hero { position: relative; min-height: 500px; display: grid; place-items: center; background-image: linear-gradient(rgba(7,17,47,.05), rgba(7,17,47,.16)), var(--hero-image, url("https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?auto=format&fit=crop&w=2000&q=90")); background-position: center; background-size: cover; }
.landing-hero-link { position: absolute; inset: 0; z-index: 1; }
.landing-search { position: relative; z-index: 20; width: min(680px, calc(100% - 2rem)); display: grid; grid-template-columns: 1fr 58px; background: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.2); }
.landing-search input { min-width: 0; padding: 1.05rem 1.25rem; border: 0; outline: 0; color: #443e46; }
.landing-search button { border: 0; color: #28222c; background: #fff; font-size: 1.35rem; }
.landing-search-results { position: absolute; z-index: 25; top: calc(100% + .45rem); left: 0; right: 0; display: block; max-height: 221px; overflow-y: auto; overflow-x: hidden; border: 1px solid #e4d8ea; background: #fff; box-shadow: 0 20px 45px rgba(14,8,24,.22); }
.landing-search-results[hidden] { display: none; }
.landing-search-results a { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: .8rem; min-height: 73px; padding: .62rem 1rem .62rem .75rem; color: #20142b; text-decoration: none; border-bottom: 1px solid #f0e9f4; }
.landing-search-results a:last-child { border-bottom: 0; }
.landing-search-results a:hover, .landing-search-results a.is-active { background: #f5eef9; }
.landing-search-results img, .landing-search-thumb-fallback { width: 52px; height: 52px; margin-right: .2rem; border-radius: 8px; object-fit: cover; background: #f1edf4; }
.landing-search-thumb-fallback { display: grid; place-items: center; color: var(--brand); font-weight: 800; text-transform: uppercase; }
.landing-search-copy { display: grid; gap: .12rem; min-width: 0; }
.landing-search-results strong { font-size: .98rem; line-height: 1.2; }
.landing-search-results small, .landing-search-empty { color: #6f6478; font-size: .84rem; }
.landing-search-empty { padding: .95rem 1rem; }
.landing-ribbon { position: relative; z-index: 3; display: grid; height: 56px; margin-top: -56px; grid-template-columns: 56% 22% 1fr; background: transparent; pointer-events: none; }
.landing-ribbon span:first-child { background: var(--wine); }
.landing-ribbon span:last-child { background: var(--navy); }
@media (min-width: 992px) {
    .landing-hero { min-height: calc(100vh - 78px); }
    .landing-ribbon + .landing-section { margin-top: 0; }
}
.landing-section { padding: 5.5rem 0; background: #fff; }
.landing-container, .restaurant-container { max-width: 1200px; }
.landing-title { margin-bottom: 3.5rem; text-align: center; }
.landing-title h1, .landing-title h2 { margin: 0; color: var(--wine); font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; text-transform: uppercase; }
.landing-title h1 { color: #181421; }
.landing-title h1 em { color: var(--wine); font-style: normal; }
.landing-photo-card { display: block; color: var(--wine); text-align: center; text-decoration: none; container-type: inline-size; }
.landing-photo-card img { width: 100%; height: 260px; aspect-ratio: 1 / 1; display: block; object-fit: cover; border: 0; border-radius: 10px; transition: transform .25s ease, filter .25s ease; }
.category-image-placeholder { display: grid; width: 100%; height: 260px; aspect-ratio: 1 / 1; place-items: center; color: #fff; border: 0; border-radius: 10px; background: var(--wine); font-size: 2rem; font-weight: 800; }
@supports (height: 100cqw) {
    .landing-photo-card img, .category-image-placeholder { height: 100cqw; }
}
.landing-photo-card strong { display: block; padding-top: .7rem; color: var(--wine); font-family: "Inconsolata", monospace; font-size: 20px; font-weight: 600; letter-spacing: .035em; text-transform: uppercase; }
.landing-photo-card:hover img { filter: brightness(.92); transform: translateY(-4px); }
.landing-restaurants { padding-top: 2rem; }
.landing-title-art { overflow: hidden; }
.landing-title-art img { display: block; width: min(68%, 696px); max-width: 68%; height: auto; margin: 0 auto; object-fit: contain; }
.restaurant-carousel-viewport { overflow: hidden; }
.restaurant-carousel-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.restaurant-carousel-slide { min-width: 0; }
.restaurant-photo-card { display: block; overflow: hidden; border-radius: 10px; }
.restaurant-photo-card picture { display: block; }
.restaurant-photo-card img { width: 100%; height: 470px; display: block; object-fit: cover; border: 0; border-radius: 10px; transition: transform .3s ease; }
.restaurant-photo-card:hover img { transform: scale(1.025); }
.landing-button { display: table; padding: .75rem 1.6rem; margin: 2.5rem auto 0; color: #fff; background: var(--wine); text-decoration: none; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.landing-button:hover { color: #fff; background: #922139; }
.landing-services { background: #fdfcfc; }
.categories-page { min-height: 58vh; }
.categories-page-title h1 { color: var(--wine); font-family: "Inconsolata", monospace; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.public-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 3rem; }
.public-pagination a, .public-pagination span, .public-pagination b { padding: .65rem .9rem; border: 1px solid #d8cfdf; color: #4b225f; text-decoration: none; font-size: .9rem; }
.public-pagination span { color: #aaa2ad; }
.public-pagination b { color: #1a1422; border-color: transparent; }
.landing-premium { padding: 4rem 0; background: var(--navy); }
.landing-premium img { border-radius: 0; }
.landing-footer { padding: 5rem 0; color: #fff; background: var(--navy); }
.footer-logo { display: inline-block; margin-bottom: 1.8rem; color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 1.65rem; font-weight: 600; text-decoration: none; }
.footer-logo span, .footer-logo i { color: #fff; }
.landing-footer p { margin: .65rem 0; color: rgba(255,255,255,.72); font-size: .82rem; }
.landing-footer small { display: block; margin-top: 2rem; color: rgba(255,255,255,.52); }
.landing-footer small a { color: rgba(255,255,255,.82); font-weight: 600; }
@media (max-width: 576px) {
    .search-shell { flex-direction: column; }
    .hero-card, .panel-card, .contact-card, .auth-card { padding: 1.15rem; }
}

/* Public directory experience */
.directory-hero { min-height: 480px; display: flex; align-items: center; color: #fff; background: linear-gradient(100deg, rgba(26,12,48,.96), rgba(77,35,131,.82)), radial-gradient(circle at 80% 30%, #b481df, #30124f 60%); }
.directory-hero-copy { max-width: 760px; padding: 5rem 0; }
.directory-hero-copy > span, .public-section-title small { font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.directory-hero h1 { margin: .7rem 0 1.8rem; font-size: clamp(3rem, 7vw, 5.8rem); line-height: .92; letter-spacing: -.06em; }
.directory-search { display: flex; max-width: 720px; padding: .45rem; border-radius: .9rem; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.directory-search input { flex: 1; min-width: 0; padding: .9rem 1rem; border: 0; outline: 0; }
.directory-search button { padding: .8rem 1.7rem; border: 0; border-radius: .65rem; color: #21102f; background: var(--warning); font-weight: 800; }
.hero-quick-links { display: flex; gap: 1.3rem; margin-top: 1.2rem; }
.hero-quick-links a { color: #fff; font-size: .9rem; }
.category-showcase, .editorial-banners, .featured-directory, .premium-public { padding: 4.5rem 0; }
.public-section-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 2rem; }
.public-section-title small { color: var(--brand); }
.public-section-title h2 { margin: .2rem 0 0; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; }
.photo-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem; }
.photo-category-card { min-width: 0; color: var(--ink); text-align: center; text-decoration: none; }
.photo-category-image { overflow: hidden; aspect-ratio: 1; margin-bottom: .8rem; border: 0; border-radius: 10px; background: linear-gradient(145deg, #6d36a3, #2d1249); box-shadow: none; }
.photo-category-image img { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 10px; transition: transform .3s ease; }
.photo-category-image span { display: grid; height: 100%; place-items: center; color: #fff; font-size: 2rem; font-weight: 900; }
.photo-category-card:hover img { transform: scale(1.06); }
.photo-category-card strong, .photo-category-card small { display: block; }
.photo-category-card small { color: var(--muted); }
.editorial-banners { background: #f6f3f8; }
.banner-stack { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; }
.editorial-banner { overflow: hidden; min-height: 280px; color: #fff; text-decoration: none; border-radius: 1.2rem; }
.editorial-banner picture, .editorial-banner img { display: block; width: 100%; height: 100%; }
.editorial-banner img { object-fit: cover; }
.banner-placeholder { display: flex; height: 100%; min-height: 280px; padding: 2rem; flex-direction: column; justify-content: end; background: linear-gradient(145deg, #281235, #7e2f79); }
.fixed-restaurant-banner .banner-placeholder { background: linear-gradient(145deg, #331813, #a54d26); }
.banner-placeholder strong { font-size: 1.6rem; }
.banner-placeholder small { color: #ffd394; font-weight: 800; letter-spacing: .12em; }
.premium-public { background: #1b1424; color: #fff; }
.premium-public-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.premium-public img { width: 100%; border-radius: 1rem; }
.featured-directory { background: #fff; }
.directory-company-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; min-height: 145px; padding: 1.2rem; border: 1px solid #e8e2ec; border-radius: 1rem; }
.directory-company-row h3 { margin: .2rem 0; font-size: 1.15rem; }
.directory-company-row p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.directory-company-row > a { padding: .5rem .8rem; border-radius: .5rem; background: var(--brand-soft); text-decoration: none; font-weight: 800; }
.public-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.public-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .8rem; }

/* Public business profile */
.business-profile-hero { display: none; }
.business-profile-heading { min-height: 180px; display: flex; align-items: center; gap: 1.5rem; padding-top: 2rem; padding-bottom: 2rem; }
.business-profile-heading h1 { margin: .3rem 0; color: #10091f; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 800; }
.business-profile-heading p { margin: 0; color: #756b82; }
.business-category { color: #be2d4c; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.business-profile-logo { width: 112px; height: 112px; flex: 0 0 112px; object-fit: contain; padding: .65rem; background: #fff; border: 1px solid #e6dceb; }
.business-profile-fallback { display: grid; place-items: center; padding: 0; color: #fff; background: var(--brand); font-size: 2rem; font-weight: 800; }
.business-profile { display: flex; max-width: 1200px; padding-top: 2rem; padding-bottom: 5rem; flex-direction: column; font-family: "Inconsolata", monospace; font-size: 20px; }
.business-profile-title { margin-bottom: 2.5rem; text-align: center; }
.business-profile-title h1 { margin: 0; color: var(--wine); font-family: "Inconsolata", monospace; font-size: clamp(2.4rem, 5vw, 3.15rem); font-weight: 600; line-height: 1.1; overflow-wrap: anywhere; }
.business-profile-title a, .business-profile-title > span { display: inline-block; margin-top: .6rem; color: var(--wine); font-family: "Inconsolata", monospace; font-size: 20px; font-weight: 400; text-decoration: none; text-transform: uppercase; }
.business-profile-title a:hover { text-decoration: underline; }
.business-rating { margin-top: .65rem; color: #f1a23a; font-size: 1.25rem; letter-spacing: .08em; }
.business-cover-button, .business-cover-static { position: relative; display: flex; width: 70%; min-height: 360px; padding: 0; margin: 0 auto 1rem; overflow: hidden; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: #fff; }
.business-cover-button { cursor: zoom-in; }
.business-cover { display: block; width: auto; max-width: 100%; height: auto; max-height: 620px; object-fit: contain; border: 0; border-radius: 10px; background: #fff; image-rendering: auto; transition: transform .35s ease; }
.business-cover-button:hover .business-cover { transform: scale(1.015); }
.business-cover-button > span { position: absolute; right: 1rem; bottom: 1rem; padding: .45rem .7rem; color: #fff; background: rgba(16, 9, 31, .72); font-size: .78rem; opacity: 0; transition: opacity .2s ease; }
.business-cover-button:hover > span, .business-cover-button:focus-visible > span { opacity: 1; }
.business-intro { max-width: 100%; margin: 2rem 0 1.25rem; color: #51485c; font-size: 18px; line-height: 1.75; }
.business-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; }
.business-gallery button { position: relative; padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: #eee; cursor: zoom-in; }
.business-gallery img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .65rem; transition: transform .3s ease; }
.business-gallery button:hover img { transform: scale(1.04); }
.business-gallery button span { position: absolute; right: .55rem; bottom: .55rem; display: grid; width: 2rem; height: 2rem; place-items: center; color: #fff; border-radius: 50%; background: rgba(16, 9, 31, .7); opacity: 0; transition: opacity .2s ease; }
.business-gallery button:hover span, .business-gallery button:focus-visible span { opacity: 1; }
.business-details { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 3rem; margin: 1.5rem 0 4rem; font-size: 17px; }
.business-profile-title { order: 1; }
.business-cover-button, .business-cover-static { order: 2; }
.business-intro { order: 3; }
.business-details { order: 4; }
.business-gallery { order: 5; }
.business-reviews { order: 6; }
.review-form-section { order: 7; }
.business-contact-list p { margin: 0 0 .9rem; }
.business-contact-list a { color: #be2d4c; text-decoration: none; }
.map-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.business-hours { padding: 1.25rem; border: 1px solid #e9e1ed; background: #fff; }
.business-hours h2 { font-size: 1.15rem; }
.business-hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid #eee8f1; font-size: .9rem; }
.business-hours div:last-child { border-bottom: 0; }
.business-reviews { margin-top: 3rem; }
.business-section-heading { margin-bottom: 2rem; text-align: center; }
.business-section-heading span { color: #be2d4c; font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.business-section-heading h2 { margin-top: .4rem; font-family: Georgia, serif; color: #10091f; }
.review-carousel-viewport { overflow: hidden; }
.review-carousel-track { display: flex; gap: 1.2rem; transition: transform .65s cubic-bezier(.22, .61, .36, 1); }
.review-card { flex: 0 0 calc((100% - 2.4rem) / 3); padding: 1.15rem; border: 1px solid #f0e4e9; border-top: 2px solid #ead4dc; background: #fff; box-shadow: 0 8px 22px rgba(34, 15, 48, .04); }
.review-card h3 { margin-bottom: .45rem; color: #be2d4c; font-size: .9rem; }
.review-card p { margin: .65rem 0 0; color: #6a5963; font-size: .79rem; line-height: 1.55; }
.review-stars { display: block; color: #f1a23a; font-size: .86rem; letter-spacing: .06em; white-space: nowrap; }
.review-carousel-controls { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1.35rem; }
.review-carousel-controls > button { display: grid; width: 2.25rem; height: 2.25rem; padding: 0; place-items: center; color: #9b2d49; border: 1px solid #ead6dd; border-radius: 50%; background: #fff; }
.review-carousel-controls > button:hover { color: #fff; border-color: #be2d4c; background: #be2d4c; }
.review-carousel-dots { display: flex; gap: .4rem; }
.review-carousel-dots span { display: block; width: .5rem; height: .5rem; border-radius: 50%; background: #dfd2e3; transition: width .2s ease, border-radius .2s ease, background .2s ease; }
.review-carousel-dots span.active { width: 1.35rem; border-radius: 1rem; background: #be2d4c; }

.lightbox-open { overflow: hidden; }
.company-lightbox[hidden] { display: none; }
.company-lightbox { position: fixed; z-index: 1100; inset: 0; display: grid; grid-template-columns: 4rem minmax(0, 1fr) 4rem; align-items: center; padding: 2rem; background: rgba(10, 5, 17, .94); }
.company-lightbox figure { display: grid; max-width: min(1180px, 100%); max-height: calc(100vh - 4rem); margin: auto; place-items: center; }
.company-lightbox figure img { display: block; max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.company-lightbox figcaption { margin-top: .75rem; color: rgba(255, 255, 255, .72); font-size: .85rem; }
.company-lightbox button { display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .24); border-radius: 50%; background: rgba(255, 255, 255, .08); }
.company-lightbox-close { position: absolute; z-index: 2; top: 1.25rem; right: 1.25rem; width: 2.75rem; height: 2.75rem; }
.company-lightbox-nav { width: 3rem; height: 3rem; justify-self: center; font-size: 1.25rem; }
.company-lightbox button:hover { background: rgba(190, 45, 76, .9); }
.review-form-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 3rem; align-items: start; margin-top: 4.5rem; padding: 2.5rem; background: #f5f0f9; }
.review-form-section h2 { margin-top: .5rem; font-family: Georgia, serif; }
.review-form-section form { padding: 1.5rem; background: #fff; }
.review-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }
.star-rating { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.star-rating input { position: absolute; opacity: 0; }
.star-rating label { color: #d7ced9; cursor: pointer; font-size: 2rem; line-height: 1; }
.star-rating label:hover, .star-rating label:hover ~ label,
.star-rating input:checked ~ label { color: #f1a23a; }
.company-avatar-image { object-fit: contain; padding: .3rem; border: 1px solid #e9e1ed; background: #fff; }
.company-directory-grid .company-card { overflow: hidden; padding: 0; border: 0; border-radius: 10px; background: #fff; box-shadow: none; }
.company-directory-grid .company-card:hover { transform: translateY(-3px); box-shadow: none; }
.company-list-banner { display: block; width: 100%; height: 190px; margin: 0; object-fit: contain; background: #fff; border: 0; border-radius: 10px 10px 0 0; }
.company-list-banner-fallback { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #612b8e, #2f164e); font-size: 2rem; font-weight: 800; }
.company-card-copy { width: 100%; min-height: 215px; padding: 2rem; margin: 0; color: #ba2948; border: 0; border-radius: 0 0 10px 10px; background: #efedeb; }
.company-card-copy small { display: block; margin-bottom: .8rem; color: #ba2948; font-family: "Inconsolata", monospace; font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.company-card-copy h2 { margin: 0 0 1rem; color: #ba2948; font-family: "Inconsolata", monospace; font-size: 25px; font-weight: 600; line-height: 1.35; }
.company-card-copy a { color: #ba2948; font-family: "Inconsolata", monospace; font-size: 17px; font-weight: 600; letter-spacing: .05em; text-decoration: none; }
.directory-category-title { padding: 3.5rem 0; background: #fff; }
.directory-category-title h1 { margin: 0; color: var(--wine); font-family: "Inconsolata", monospace; font-size: 50px; font-weight: 600; line-height: 1.15; text-align: center; text-transform: uppercase; }

.register-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.register-plan-card { position: relative; display: flex; min-height: 145px; padding: 1rem; border: 2px solid #e7dfeb; border-radius: .8rem; flex-direction: column; cursor: pointer; transition: .2s ease; }
.register-plan-card input { position: absolute; opacity: 0; }
.register-plan-card strong { color: #21152c; }
.register-plan-card b { margin: .25rem 0; color: var(--brand); font-size: 1.4rem; }
.register-plan-card small { color: #756b7c; line-height: 1.45; }
.register-plan-check { position: absolute; top: .65rem; right: .65rem; display: grid; width: 1.5rem; height: 1.5rem; place-items: center; color: transparent; border: 1px solid #cfc2d5; border-radius: 50%; }
.register-plan-card:has(input:checked) { border-color: var(--brand); background: #f8f2fc; box-shadow: 0 8px 24px rgba(84, 36, 130, .1); }
.register-plan-card:has(input:checked) .register-plan-check { color: #fff; border-color: var(--brand); background: var(--brand); }

.contract-alert { display: flex; align-items: center; gap: .8rem; margin: -1.4rem -1.4rem 1.5rem; padding: .8rem 1.4rem; color: #fff; background: #c73545; }
.contract-alert span { flex: 1; font-size: .9rem; }
.contract-alert.is-overdue { background: #a81225; }
.billing-alert { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; padding: 1.1rem 1.25rem; border-left: 4px solid #dc3545; background: #fff0f1; }
.billing-alert div { display: flex; flex-direction: column; }
.billing-alert span { color: #77535a; font-size: .9rem; }
.billing-alert.is-blocked { color: #fff; background: #8f1424; }
.billing-alert.is-blocked span { color: #f7dce0; }
.renewal-alert-form { display: flex; min-width: min(440px, 100%); gap: .6rem; align-items: center; }
.renewal-alert-form .form-select { min-width: 230px; background-color: #fff; }
.renewal-success-card { max-width: 760px; }
.renewal-success-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
.renewal-success-grid div { padding: 1rem; border: 1px solid #e7e0eb; border-radius: .75rem; background: #f7f3f9; }
.renewal-success-grid span { display: block; color: var(--muted); font-size: .78rem; font-weight: 700; }
.renewal-success-grid strong { display: block; margin-top: .25rem; font-size: 1.2rem; }
.legal-scroll { height: min(58vh, 560px); padding: 1.4rem; overflow-y: auto; border: 1px solid #ddd4e1; background: #faf9fb; line-height: 1.75; white-space: normal; }
.legal-progress { padding: .75rem 0; color: #756b7c; font-size: .9rem; text-align: right; }
.legal-actions { display: flex; justify-content: space-between; gap: 1rem; }
.legal-document-content { max-height: 580px; padding: 1.2rem; overflow-y: auto; border: 1px solid #e6dfe9; background: #faf9fb; line-height: 1.7; }
.legal-admin-editor { min-height: 620px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; line-height: 1.55; }
.communication-editor { min-height: 150px; line-height: 1.55; resize: vertical; }
.category-page-settings { display: grid; grid-template-columns: minmax(0, 1fr) 180px auto; gap: 1rem; align-items: end; margin-bottom: 1.2rem; padding: 1rem; border: 1px solid #e7deec; border-radius: 10px; background: #f7f2fa; }
.category-page-settings strong, .category-page-settings small { display: block; }
.category-page-settings small { color: #6b6072; font-size: .82rem; }
.site-logo-admin-grid { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); align-items: center; gap: 1.5rem; }
.site-logo-admin-preview { display: grid; min-height: 150px; padding: 1rem; place-items: center; border: 0; border-radius: 10px; background: #f7f4f8; }
.site-logo-admin-preview img { display: block; max-width: 100%; max-height: 120px; object-fit: contain; border: 0; }
.site-logo-admin-preview span { color: var(--muted); font-size: .85rem; }
.admin-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.chart-bars { display: flex; min-height: 190px; align-items: flex-end; justify-content: space-around; gap: .7rem; padding-top: 1rem; }
.chart-column { display: flex; min-width: 42px; flex: 1; align-items: center; flex-direction: column; justify-content: flex-end; }
.chart-column strong { margin-bottom: .4rem; color: #452067; font-size: .75rem; }
.chart-column span { display: block; width: min(48px, 70%); min-height: 8px; border-radius: .4rem .4rem 0 0; background: linear-gradient(180deg, #7b3caf, #4e2280); }
.chart-column small { margin-top: .45rem; color: #756b7c; font-size: .68rem; }
.analytics-dashboard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.analytics-panel { min-height: 300px; overflow: hidden; border: 1px solid #d7d7d7; border-radius: .35rem; background: #fff; box-shadow: 0 4px 14px rgba(30, 23, 38, .06); }
.analytics-panel > header { padding: .5rem .8rem; color: #4b4650; border-bottom: 1px solid #cfcfcf; background: linear-gradient(#fafafa, #e5e5e5); font-size: .74rem; font-weight: 700; text-align: center; }
.analytics-kpi-pair { display: grid; grid-template-columns: 1fr 1fr; padding: 1rem .8rem .2rem; }
.analytics-kpi-pair div { display: flex; align-items: center; flex-direction: column; text-align: center; }
.analytics-kpi-pair div + div { border-left: 1px solid #e5e1e8; }
.analytics-kpi-pair strong, .analytics-total strong { color: #3f3944; font-size: 1.45rem; }
.analytics-kpi-pair span, .analytics-total span, .single-gauge span, .dual-gauge span { color: #7a737f; font-size: .72rem; }
.mini-combo-chart { display: flex; height: 145px; padding: 1rem 1rem .7rem; align-items: flex-end; justify-content: center; gap: .65rem; border-top: 1px solid #eee; background: repeating-linear-gradient(to top, transparent 0 31px, #eee 32px); }
.mini-combo-chart > div { display: flex; height: 100%; min-width: 24px; align-items: center; flex-direction: column; justify-content: flex-end; }
.mini-combo-chart b { display: block; width: 25px; min-height: 8px; background: #1674b8; }
.mini-combo-chart small { margin-top: .35rem; color: #777; font-size: .62rem; }
.dual-gauge { display: grid; grid-template-columns: 1fr 1fr; padding: .6rem .5rem 0; gap: .35rem; }
.dual-gauge > div, .single-gauge { position: relative; display: flex; align-items: center; flex-direction: column; }
.dual-gauge svg { width: 100%; max-width: 160px; }
.single-gauge { padding-top: .7rem; }
.single-gauge svg { width: 210px; max-width: 80%; }
.dual-gauge strong { margin-top: -.15rem; color: #37323b; font-size: 1.05rem; }
.single-gauge strong { margin-top: -.3rem; color: #37323b; font-size: 1.35rem; }
.gauge-base { fill: none; stroke: #d8d8d8; stroke-width: 28; }
.gauge-value { fill: none; stroke-width: 28; }
.gauge-needle { stroke: #121212; stroke-width: 3; }
.gauge-center { fill: #121212; }
.analytics-legend { display: flex; padding: .75rem; justify-content: center; gap: 1rem; color: #746d78; font-size: .67rem; }
.analytics-legend span { display: flex; align-items: center; gap: .3rem; }
.analytics-legend i { width: .55rem; height: .55rem; border-radius: .1rem; }
.is-green { background: #51a769; }.is-red { background: #d94b57; }.is-blue { background: #5d91d8; }.is-gray { background: #aaa; }.is-purple { background: #692a97; }
.analytics-line { padding: .25rem 1rem .7rem; text-align: center; }
.analytics-line svg { width: 100%; height: 82px; overflow: visible; background: repeating-linear-gradient(to top, transparent 0 26px, #eee 27px); }
.analytics-line polyline { fill: rgba(76, 144, 210, .15); stroke: #5591d4; stroke-width: 3; vector-effect: non-scaling-stroke; }
.analytics-line.is-purple polyline { fill: rgba(105, 42, 151, .12); stroke: #692a97; }
.analytics-line > small { color: #756f79; font-size: .67rem; }
.analytics-total { display: flex; padding: 1rem 1rem 0; align-items: center; flex-direction: column; }
.analytics-months { display: flex; justify-content: space-around; color: #777; }
.analytics-months small { font-size: .62rem; }
.analytics-empty { align-self: center; color: #8b8490; font-size: .75rem; }
.overview-summary-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: .8rem; border: 1px solid #d9d6dc; border-radius: .35rem; background: #fff; box-shadow: 0 4px 14px rgba(30, 23, 38, .04); }
.overview-summary-strip > div { display: flex; min-height: 105px; padding: .9rem 1rem; justify-content: center; flex-direction: column; border-right: 1px solid #e7e3e9; }
.overview-summary-strip > div:last-child { border-right: 0; }
.overview-summary-strip span { color: #756d79; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.overview-summary-strip strong { margin: .12rem 0; color: #251c2d; font-size: 1.35rem; }
.overview-summary-strip small { color: #857d89; font-size: .67rem; }
.overview-summary-strip .trend-positive { color: #26834b; }
.overview-summary-strip .trend-negative { color: #c63d4c; }
.overview-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: .8rem; gap: .8rem; }
.overview-detail-card { min-width: 0; padding: 1rem; border: 1px solid #d9d6dc; border-radius: .35rem; background: #fff; box-shadow: 0 4px 14px rgba(30, 23, 38, .04); }
.overview-detail-card > header { display: flex; padding-bottom: .75rem; margin-bottom: .8rem; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid #eeeaf0; }
.overview-detail-card h2 { margin: .1rem 0 0; color: #251c2d; font-size: 1rem; }
.overview-detail-card > header a { color: var(--brand); font-size: .7rem; font-weight: 700; text-decoration: none; }
.overview-detail-wide { grid-column: 1 / -1; }
.plan-distribution { display: grid; gap: .7rem; }
.plan-distribution-row { display: grid; grid-template-columns: minmax(120px, 1.2fr) minmax(100px, 1.6fr) 34px 90px; align-items: center; gap: .65rem; }
.plan-distribution-row div { display: flex; min-width: 0; flex-direction: column; }
.plan-distribution-row strong { overflow: hidden; color: #38303e; font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.plan-distribution-row small { color: #8a818d; font-size: .62rem; }
.plan-distribution-row > span { height: .45rem; overflow: hidden; border-radius: 1rem; background: #eee9f1; }
.plan-distribution-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #50217c, #8c52b4); }
.plan-distribution-row b { color: #33283b; font-size: .78rem; text-align: center; }
.plan-distribution-row em { color: #716978; font-size: .67rem; font-style: normal; text-align: right; }
.overview-funnel { display: grid; gap: .55rem; }
.overview-funnel > div { position: relative; display: grid; grid-template-columns: 90px 1fr 120px; align-items: center; gap: .6rem; }
.overview-funnel span { color: #554d5a; font-size: .7rem; font-weight: 700; }
.overview-funnel b { display: flex; min-width: 45px; height: 1.65rem; padding-right: .45rem; align-items: center; justify-content: flex-end; border-radius: .15rem; background: linear-gradient(90deg, #1b75b5, #5ba7dc); }
.overview-funnel strong { color: #fff; font-size: .72rem; }
.overview-funnel small { color: #89818d; font-size: .62rem; }
.overview-alert-list { display: grid; gap: .25rem; }
.overview-alert-list a { display: flex; min-height: 38px; padding: .45rem .55rem; align-items: center; justify-content: space-between; color: #554d5a; border-radius: .25rem; background: #faf9fb; font-size: .7rem; text-decoration: none; }
.overview-alert-list a:hover { background: #f1ebf5; }
.overview-alert-list strong { display: grid; width: 1.7rem; height: 1.7rem; place-items: center; color: #4a414f; border-radius: 50%; background: #e8e5ea; font-size: .7rem; }
.overview-alert-list strong.has-alert { color: #a62535; background: #f8dce0; }
.overview-expiry-list { display: grid; gap: .35rem; }
.overview-expiry-list > div { display: flex; min-height: 45px; padding: .4rem .55rem; align-items: center; justify-content: space-between; border-bottom: 1px solid #eeeaf0; }
.overview-expiry-list span { display: flex; min-width: 0; flex-direction: column; }
.overview-expiry-list strong { overflow: hidden; color: #3d3542; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.overview-expiry-list small { color: #8a818d; font-size: .63rem; }
.overview-expiry-list b { color: #a62535; font-size: .7rem; }
.overview-empty { margin: .75rem 0; color: #8a818d; font-size: .72rem; text-align: center; }
.overview-activity-table { width: 100%; border-collapse: collapse; }
.overview-activity-table th { padding: .5rem; color: #746b78; background: #f5f3f6; font-size: .62rem; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.overview-activity-table td { padding: .55rem .5rem; color: #645c68; border-bottom: 1px solid #eeeaf0; font-size: .68rem; }
.overview-activity-table td strong { color: #352d3b; }
.activity-status { display: inline-flex; padding: .2rem .45rem; color: #5e5663; border-radius: 1rem; background: #ece9ee; font-size: .6rem; font-weight: 700; white-space: nowrap; }
.activity-status.status-active, .activity-status.status-approved, .activity-status.status-paid { color: #19683a; background: #dff3e7; }
.activity-status.status-pending_payment, .activity-status.status-pending_review { color: #8b5d10; background: #fff0cb; }
.activity-status.status-expired, .activity-status.status-rejected, .activity-status.status-canceled { color: #a62535; background: #f8dce0; }
.access-ranking-card { margin-top: .8rem; }
.access-ranking-filter { display: grid; grid-template-columns: repeat(3, minmax(115px, 1fr)) auto; gap: .55rem; align-items: end; }
.access-ranking-filter label { color: #5f5665; font-size: .68rem; font-weight: 700; }
.access-ranking-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.access-ranking-list h3, .access-day-chart h3 { margin: 0 0 .8rem; color: #251c2d; font-size: .85rem; }
.access-ranking-list { display: grid; align-content: start; gap: .45rem; }
.access-ranking-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(78px, 34%); gap: .7rem; align-items: center; color: #302737; text-decoration: none; }
.access-ranking-list span { min-width: 0; }
.access-ranking-list strong, .access-ranking-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.access-ranking-list strong { font-size: .76rem; }
.access-ranking-list small { color: #827985; font-size: .64rem; }
.access-ranking-list b { position: relative; display: block; height: 1.55rem; min-width: 2.2rem; border-radius: .2rem; background: linear-gradient(90deg, #1d75b6, #60a9dc); }
.access-ranking-list b em { position: absolute; right: .45rem; top: 50%; color: #fff; font-size: .7rem; font-style: normal; font-weight: 800; transform: translateY(-50%); }
.access-ranking-list:nth-child(2) b { background: linear-gradient(90deg, #692a97, #a769c9); }
.access-day-chart { grid-column: 1 / -1; min-width: 0; overflow: hidden; }
.access-day-chart > div { display: flex; width: 100%; min-height: 160px; align-items: end; gap: .55rem; padding: .6rem .3rem 0; overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid #e6e1e9; }
.access-day-chart span { display: grid; grid-template-columns: 1fr 1fr; flex: 0 0 28px; gap: .12rem; min-width: 0; align-items: end; justify-items: center; }
.access-day-chart span i { display: block; width: .55rem; min-height: 4px; border-radius: .18rem .18rem 0 0; }
.access-day-chart small { grid-column: 1 / -1; margin-top: .35rem; color: #817784; font-size: .58rem; }
.access-day-chart .is-company, .access-day-chart p .is-company { background: #1d75b6; }
.access-day-chart .is-category, .access-day-chart p .is-category { background: #692a97; }
.access-day-chart p { display: flex; gap: .4rem; align-items: center; justify-content: center; margin: .7rem 0 0; color: #756d79; font-size: .66rem; }
.access-day-chart p i { display: inline-block; width: .55rem; height: .55rem; border-radius: .1rem; }
.analytics-footer-links { display: flex; padding: .65rem .9rem; margin-top: .8rem; justify-content: center; gap: .7rem; border: 1px solid #ded9e2; border-radius: .35rem; background: #fff; }
.analytics-footer-links a { padding: .45rem .8rem; color: var(--brand); border-right: 1px solid #e5dfe9; font-size: .78rem; font-weight: 700; text-decoration: none; }
.analytics-footer-links a:last-child { border-right: 0; }

/* Company dashboard branding and review moderation */
.brand-upload-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 1rem; }
.brand-upload-card { position: relative; padding: 1.25rem; border: 1px solid #e7dfeb; background: #faf8fb; }
.brand-upload-card h3 { font-size: 1rem; }
.brand-upload-card p { margin: .8rem 0; color: #6c6273; font-size: .85rem; }
.brand-logo-preview { width: 120px; height: 120px; object-fit: contain; padding: .4rem; background: #fff; border: 1px solid #e7dfeb; }
.brand-banner-preview { width: 100%; height: 160px; object-fit: cover; background: #fff; border: 1px solid #e7dfeb; }
.brand-empty { display: grid; min-height: 120px; place-items: center; color: #817687; border: 1px dashed #cfc3d5; }
.review-moderation-card { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid #e8e0ec; }
.review-moderation-card small { display: block; color: #817687; }
.review-moderation-card p { margin: .7rem 0 0; }
.testimonial-cell { min-width: 280px; max-width: 500px; white-space: normal; }
.review-draft-details { min-width: 230px; max-width: 360px; }
.review-draft-details summary { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .6rem; border: 1px solid #d9d1df; border-radius: .45rem; color: var(--brand); background: #fff; font-weight: 800; cursor: pointer; list-style: none; }
.review-draft-details summary::-webkit-details-marker { display: none; }
.review-draft-details[open] summary { margin-bottom: .65rem; color: #fff; border-color: var(--brand); background: var(--brand); }
.review-draft-details dl { max-height: 320px; min-width: min(360px, 72vw); padding: .8rem; margin: 0; overflow: auto; border: 1px solid #e6dfea; border-radius: .6rem; background: #faf8fb; white-space: normal; }
.review-draft-details dt { color: #6f6478; font-size: .68rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.review-draft-details dd { margin: .15rem 0 .65rem; color: #21172d; line-height: 1.45; }
.order-actions-row td { padding-top: 0 !important; border-top: 0; background: #fff; }
.review-decision-form { display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: .75rem; align-items: end; padding: .8rem; border: 1px solid #ece6f1; border-radius: .7rem; background: #fbfafc; }
.review-decision-form label { color: #6f6478; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.review-decision-form textarea { margin-top: .35rem; text-transform: none; letter-spacing: 0; font-weight: 400; }
.review-decision-actions { display: flex; gap: .45rem; justify-content: flex-end; }
.order-rejection-note { margin-top: .35rem; color: #8b1f2a !important; }
.order-rejection-note strong { color: inherit; }

@media (max-width: 991.98px) {
    .business-gallery { grid-template-columns: repeat(2, 1fr); }
    .business-details, .review-form-section, .review-decision-form { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 575.98px) {
    .business-profile-heading { min-height: 145px; gap: 1rem; }
    .business-profile-logo { width: 82px; height: 82px; flex-basis: 82px; }
    .business-profile { padding-top: 1.5rem; font-size: 16px; }
    .business-profile-title { margin-bottom: 1.5rem; }
    .business-profile-title h1 { font-size: clamp(2rem, 10vw, 2.6rem); }
    .business-profile-title a, .business-profile-title > span { font-size: 16px; }
    .business-cover-button, .business-cover-static { width: 100%; }
    .business-cover-button, .business-cover-static { min-height: 260px; }
    .business-cover { max-height: 430px; }
    .business-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
    .business-profile-title { order: 1; }
    .business-cover-button, .business-cover-static { order: 2; }
    .business-gallery { order: 3; }
    .business-intro { order: 4; }
    .business-details { order: 5; }
    .business-reviews { order: 6; }
    .review-form-section { order: 7; }
    .brand-upload-grid { grid-template-columns: 1fr; }
    .review-card { flex-basis: 100%; }
    .company-list-banner { height: 175px; }
    .company-directory-grid .company-card { width: 100%; }
    .company-directory-grid .company-list-banner {
        width: 100% !important;
        max-width: none;
        object-fit: cover;
    }
    .company-lightbox { grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem; padding: 1rem .4rem; }
    .company-lightbox-nav { width: 2.35rem; height: 2.35rem; }
    .company-lightbox figure img { max-height: calc(100vh - 5rem); }
    .review-form-section { margin-right: -12px; margin-left: -12px; padding: 1.25rem; }
    .review-form-section form { padding: 1rem; }
    .review-moderation-card { align-items: flex-start; flex-direction: column; }
    .site-logo-admin-grid { grid-template-columns: 1fr; }
    .register-plan-grid, .admin-chart-grid { grid-template-columns: 1fr; }
    .contract-alert, .billing-alert, .legal-actions { align-items: stretch; flex-direction: column; }
}

/* SaaS consoles */
.saas-body { margin: 0; background: #f5f6fa; }
.saas-shell { display: flex; min-height: 100vh; }
.saas-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 1040; display: flex; width: 250px; height: 100vh; height: 100dvh; padding: 1.4rem 1rem calc(2rem + env(safe-area-inset-bottom)); flex-direction: column; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; color: #fff; background: #181220; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; }
.saas-sidebar::-webkit-scrollbar { width: 7px; }
.saas-sidebar::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(255,255,255,.28); }
.company-sidebar { background: linear-gradient(180deg, #321258, #1b1127); }
.saas-logo { display: flex; align-items: center; gap: .65rem; margin-bottom: 2rem; color: #fff; text-decoration: none; font-size: 1.2rem; font-weight: 900; }
.saas-logo span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: .7rem; color: #2d1643; background: var(--warning); }
.saas-sidebar > small { padding: 0 .7rem .5rem; color: #93899d; font-size: .65rem; letter-spacing: .15em; }
.saas-sidebar nav { display: flex; flex: 0 0 auto; flex-direction: column; gap: .25rem; }
.saas-sidebar nav a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .72rem .8rem; border-radius: .6rem; color: #cfc7d7; text-decoration: none; font-size: .9rem; }
.saas-sidebar nav a:hover, .saas-sidebar nav a.active { color: #fff; background: rgba(255,255,255,.1); }
.saas-sidebar > .btn { flex: 0 0 auto; margin-top: 1rem !important; }
.sidebar-badge { display: inline-grid; min-width: 1.45rem; height: 1.45rem; padding: 0 .35rem; place-items: center; border: 2px solid rgba(255,255,255,.32); border-radius: 999px; color: #2d1643; background: var(--warning); font-size: .7rem; font-weight: 900; line-height: 1; }
.saas-main { width: calc(100% - 250px); margin-left: 250px; }
.saas-topbar { position: sticky; top: 0; z-index: 1030; display: flex; min-height: 72px; padding: .8rem 1.5rem; align-items: center; justify-content: space-between; border-bottom: 1px solid #e6e2e9; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.saas-topbar div { display: flex; flex-direction: column; }
.saas-topbar small { color: var(--muted); }
.sidebar-toggle { display: none; border: 0; background: transparent; font-size: 1.4rem; }
.saas-content { max-width: 1600px; padding: 2rem; margin: 0 auto; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.admin-heading h1 { margin: .25rem 0 0; font-size: 2rem; font-weight: 850; letter-spacing: -.04em; }
.admin-heading p { margin: .3rem 0 0; color: var(--muted); }
.metric-grid, .company-summary-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.company-summary-grid { grid-template-columns: repeat(4, 1fr); }
.metric-card { display: flex; min-height: 130px; padding: 1.2rem; flex-direction: column; justify-content: center; border: 1px solid #e7e3ea; border-radius: 1rem; background: #fff; box-shadow: 0 8px 24px rgba(39,24,51,.04); }
.metric-card small, .metric-card span { color: var(--muted); }
.metric-card strong { margin: .2rem 0; font-size: 1.8rem; }
.metric-card-danger { border-color: #efb9c0; background: #fff5f6; }
.metric-card-danger strong { color: #9b1225; }
.metric-card-danger small, .metric-card-danger span { color: #8b1f2a; }
.saas-card { padding: 1.4rem; margin-bottom: 1.3rem; border: 1px solid #e5e1e8; border-radius: 1rem; background: #fff; box-shadow: 0 8px 24px rgba(39,24,51,.035); scroll-margin-top: 90px; }
.saas-card .form-label { width: 100%; }
.saas-card .form-control, .saas-card .form-select { border-color: #cbbdd7; background-color: #f1ebf5; color: #140c1d; }
.saas-card .form-control::placeholder { color: #7f7488; }
.saas-card .form-control:focus, .saas-card .form-select:focus { border-color: #6f4198; background-color: #fff; }
.saas-card textarea.form-control { width: 100%; resize: vertical; }
.communication-editor, .legal-admin-editor { width: 100%; min-height: 220px; }
.legal-admin-editor { min-height: 520px; font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; }
.card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.card-heading h2 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.card-heading p { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }
.saas-table { min-width: 980px; margin: 0; font-size: .86rem; }
.saas-table th { color: #665b6d; background: #f0edf3; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.saas-table td { vertical-align: middle; }
.saas-table td small { display: block; color: var(--muted); }
.online-dot { display: inline-flex; padding: .15rem .4rem; margin-left: .35rem; border-radius: 999px; color: #17683e; background: #dff6e9; font-size: .65rem; font-weight: 800; }
.action-row { display: flex; align-items: center; gap: .35rem; white-space: nowrap; }
.position-input { max-width: 85px; }
.admin-thumb { overflow: hidden; display: grid; width: 66px; height: 52px; place-items: center; border-radius: .5rem; color: var(--muted); background: #eeeaf1; font-size: .65rem; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.inline-create { display: grid; grid-template-columns: 2fr 100px 2fr auto; gap: .7rem; padding: 1rem; margin-bottom: 1rem; border-radius: .8rem; background: #f7f5f9; }
.banner-admin-row, .service-row { display: grid; grid-template-columns: 1fr 1fr 80px 1fr 1fr 1fr auto; align-items: end; gap: .7rem; padding: 1rem 0; border-bottom: 1px solid #ece8ef; }
.service-row { grid-template-columns: 150px 100px 150px 130px auto; }
.banner-admin-row label, .service-row label { color: var(--muted); font-size: .75rem; }
.service-actions { display: flex; align-items: center; gap: .5rem; }
.service-product-copy { display: flex; min-width: 0; padding-right: 1rem; flex-direction: column; gap: .45rem; }
.service-product-copy strong { display: block; color: #171020; font-size: .95rem; line-height: 1.3; }
.service-product-copy small { display: block; color: #655b6b; font-size: .78rem; line-height: 1.45; }
.service-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.service-details { padding: 1rem; margin: 1rem 0 .25rem; border: 1px solid #e6dfea; border-radius: .7rem; background: #faf8fb; }
.service-details label { width: 100%; color: var(--muted); font-size: .78rem; }
.access-days-control { display: grid; grid-template-columns: minmax(95px, 1fr) auto; gap: .4rem; }
.admin-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.admin-shortcuts a { display: flex; min-height: 120px; padding: 1.2rem; border: 1px solid #e4dfe8; border-radius: .8rem; flex-direction: column; justify-content: center; color: #181220; text-decoration: none; }
.admin-shortcuts strong { color: var(--brand); font-size: 1.55rem; }
.admin-shortcuts span { color: var(--muted); }
.admin-pagination { display: flex; padding-top: 1rem; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.published-testimonials-filter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: end; margin-bottom: 1rem; }
.empty-state { padding: 2rem !important; color: var(--muted); text-align: center; }
.banner-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.banner-config-card { display: grid; padding: 1rem; border: 1px solid #e4dfe8; border-radius: .8rem; gap: .8rem; }
.banner-config-card label, .package-create-grid label { color: var(--muted); font-size: .78rem; }
.banner-preview { overflow: hidden; aspect-ratio: 16 / 7; border-radius: .5rem; background: #f3f0f5; }
.banner-preview img { width: 100%; height: 100%; object-fit: cover; }
.package-create-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 1rem; }
.gateway-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 1.5rem; }
.gateway-steps span { padding: 1rem; border-radius: .6rem; color: #fff; background: #2a2033; }
.webhook-box { display: grid; padding: 1rem; border: 1px solid #d9d1df; border-radius: .6rem; background: #f6f3f8; gap: .35rem; }
.webhook-box code { overflow-wrap: anywhere; color: #b51f4b; }
.webhook-copy-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.webhook-copy-row code { flex: 1; }
.data-line { display: flex; padding: .9rem 0; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #eeeaf1; }
.data-line small { display: block; color: var(--muted); }
.client-pagination { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; padding-top: 1rem; color: var(--muted); font-size: .85rem; }
.client-pagination span { min-width: 7rem; text-align: center; }
.form-section { padding: 1.1rem; margin-bottom: 1rem; border-radius: .8rem; background: #f8f7fa; }
.form-section h3 { margin-bottom: 1rem; font-size: 1rem; font-weight: 800; }
.sticky-form-actions { display: flex; align-items: center; gap: 1rem; }
.sticky-form-actions span { color: var(--muted); font-size: .85rem; }
.review-callout { display: flex; padding: 1rem; margin-top: 1.3rem; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid #bfe5cd; border-radius: .8rem; background: #effaf3; }
.review-callout p { margin: .2rem 0 0; color: #55725f; }
.upload-dropzone { display: flex; padding: 1.3rem; align-items: center; justify-content: space-between; gap: 1rem; border: 2px dashed #cfc3d8; border-radius: .9rem; background: #faf8fc; }
.media-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-top: 1rem; }
.media-grid article { position: relative; overflow: hidden; border-radius: .7rem; background: #eee; }
.media-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.media-grid article > span { position: absolute; top: .4rem; left: .4rem; padding: .2rem .4rem; border-radius: .3rem; background: rgba(0,0,0,.7); color: #fff; font-size: .65rem; }
.media-grid form { position: absolute; right: .4rem; bottom: .4rem; }
.premium-offer { display: grid; grid-template-columns: 1fr auto auto; padding: 1.5rem; align-items: center; gap: 1.5rem; border-radius: 1rem; color: #fff; background: linear-gradient(120deg, #201127, #703276); }
.premium-offer h3 { margin: .5rem 0; }
.premium-offer p { margin: 0; color: #d9cbe1; }
.premium-offer.is-disabled { opacity: .55; }
.premium-price { display: flex; flex-direction: column; text-align: right; }
.premium-price strong { font-size: 1.45rem; }
.counter-badge { padding: .35rem .65rem; border-radius: 999px; color: var(--brand); background: var(--brand-soft); font-weight: 800; }
.notification-item { display: flex; padding: 1rem; justify-content: space-between; gap: 1rem; border-left: 4px solid #8b66aa; border-bottom: 1px solid #eee; }
.notification-item p { margin: .2rem 0 0; color: var(--muted); }
.notification-item small { white-space: nowrap; color: var(--muted); }
.type-success { border-left-color: #2c9b60; }.type-danger { border-left-color: #c73f4d; }.type-warning { border-left-color: #d4a514; }
.checkout-page { max-width: 760px; margin: 1rem auto; }
.checkout-card { padding: 2rem; margin-top: 1rem; border: 1px solid #e3dee7; border-radius: 1rem; background: #fff; box-shadow: 0 18px 45px rgba(42,25,60,.08); }
.checkout-total { display: flex; padding: 1rem; align-items: center; justify-content: space-between; border-radius: .7rem; background: #f3eff6; }
.checkout-total strong { font-size: 1.5rem; }
.pix-box { display: grid; grid-template-columns: 150px 1fr; gap: 1.2rem; padding: 1.2rem; margin: 1rem 0; border: 1px solid #ddd; border-radius: .8rem; }
.fake-qr { display: grid; aspect-ratio: 1; place-items: center; color: #fff; background: repeating-conic-gradient(#111 0 8%, #fff 0 16%); font-size: 1.4rem; font-weight: 900; text-shadow: 0 1px 3px #000; }
.pix-box code { display: block; padding: .8rem; margin: .5rem 0; word-break: break-all; background: #f4f4f4; }
.session-expired-page { display: grid; min-height: 68vh; padding: 3rem 1rem; place-items: center; background: linear-gradient(135deg, #f7f1fb, #fff 55%, #fceef2); }
.session-expired-card { width: min(100%, 620px); padding: clamp(2rem, 5vw, 3.5rem); border: 1px solid #e5dce9; border-radius: 1.2rem; background: #fff; text-align: center; box-shadow: 0 24px 60px rgba(40, 20, 55, .12); }
.session-expired-card h1 { margin: .6rem 0 1rem; color: #160c25; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
.session-expired-card p { max-width: 500px; margin: 0 auto 1.5rem; color: var(--muted); line-height: 1.7; }
.session-expired-card small { display: block; margin-top: 1.3rem; color: var(--muted); }
.session-expired-icon { display: grid; width: 74px; height: 74px; margin: 0 auto 1rem; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--brand), #7b3b92); font-size: 2rem; }
.session-expired-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.error-status-code { display: block; margin-top: .65rem; color: var(--brand); font-size: .82rem; letter-spacing: .18em; }
.error-status-429 { background: linear-gradient(135deg, #b26a00, #f0a51b); }
.error-status-413, .error-status-400 { background: linear-gradient(135deg, #a92b3c, #dc6573); }
.retry-countdown { max-width: 360px; padding: .8rem 1rem; margin: 0 auto 1.5rem; border: 1px solid #ead9b6; border-radius: .65rem; color: #75510d; background: #fff8e8; }
.retry-countdown strong { color: #5c3900; font-variant-numeric: tabular-nums; }
.captcha-box { display: grid; grid-template-columns: 1fr 130px; gap: .8rem; align-items: center; padding: .9rem 1rem; margin: 1rem 0; border: 1px solid #ded4e5; border-radius: .7rem; background: #f8f5fa; }
.captcha-box strong, .captcha-box span { display: block; }
.captcha-box span { color: var(--muted); font-size: .9rem; }
.help-create-card { padding: clamp(1.25rem, 3vw, 2rem); }
.help-editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 150px 170px; gap: 1rem; align-items: start; }
.help-field-title { min-width: 0; }
.help-field-wide { grid-column: 1 / -1; }
.help-editor-grid .form-label { margin: 0; }
.help-editor-grid textarea { min-height: 150px; resize: vertical; }
.help-upload-field { padding: 1rem; border: 1px dashed #cfc3d8; border-radius: .8rem; background: #faf8fc; }
.help-upload-field small { display: block; margin-top: .45rem; color: var(--muted); font-weight: 400; }
.help-admin-heading { display: flex; margin: 2rem 0 1rem; align-items: center; justify-content: space-between; }
.help-admin-heading h2 { margin: 0; font-size: 1.2rem; }
.help-admin-heading span { color: var(--muted); font-size: .9rem; }
.help-admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.help-admin-card { overflow: hidden; border: 1px solid #e4dfe7; border-radius: 1rem; background: #fff; box-shadow: 0 10px 28px rgba(36,20,50,.06); }
.help-admin-card.is-editing { grid-column: 1 / -1; }
.help-admin-thumbnail { position: relative; height: 190px; overflow: hidden; background: #eeeaf1; }
.help-admin-thumbnail img, .help-admin-thumbnail video { width: 100%; height: 100%; object-fit: cover; }
.help-thumbnail-empty { display: grid; width: 100%; height: 100%; place-items: center; color: #8b7a98; background: linear-gradient(135deg, #f1edf4, #faf9fb); font-size: 2.3rem; }
.help-media-type { position: absolute; right: .7rem; bottom: .7rem; padding: .3rem .55rem; border-radius: 999px; color: #fff; background: rgba(20,11,31,.78); font-size: .72rem; font-weight: 700; }
.help-admin-copy { padding: 1.1rem; }
.help-admin-meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.help-admin-meta small { color: var(--muted); }
.help-admin-copy h3 { margin: .85rem 0 .45rem; font-size: 1.15rem; }
.help-admin-copy p { min-height: 48px; margin-bottom: 1rem; color: var(--muted); font-size: .9rem; }
.help-inline-editor { grid-column: 1 / -1; padding: 1.25rem; border-top: 1px solid #e6e0e9; background: #fbfafc; }
.help-inline-editor[hidden] { display: none; }
.help-existing-media { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .7rem; }
.help-existing-media label { position: relative; overflow: hidden; margin: 0; border-radius: .65rem; background: #eae5ed; }
.help-existing-media img, .help-existing-media video { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.help-existing-media label > span { position: absolute; inset: auto .35rem .35rem; padding: .3rem .45rem; border-radius: .35rem; color: #fff; background: rgba(21,11,32,.82); font-size: .72rem; }
.help-client-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.help-client-card { padding: 0; overflow: hidden; border: 1px solid #e3dce8; border-radius: 1rem; background: #fff; text-align: left; box-shadow: 0 12px 32px rgba(36,20,50,.07); transition: transform .2s ease, box-shadow .2s ease; }
.help-client-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(36,20,50,.12); }
.help-client-cover { position: relative; display: block; height: 210px; overflow: hidden; background: #eeeaf1; }
.help-client-cover > img, .help-client-cover > video { width: 100%; height: 100%; object-fit: cover; }
.help-client-copy { display: flex; min-height: 210px; padding: 1.25rem; flex-direction: column; }
.help-client-copy small { color: var(--brand); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.help-client-copy strong { margin: .55rem 0; color: #160d22; font-size: 1.2rem; }
.help-client-copy > span { color: var(--muted); line-height: 1.55; }
.help-client-copy em { margin-top: auto; padding-top: 1rem; color: var(--brand); font-style: normal; font-weight: 800; }
.help-dialog { width: calc(100% - 24px); max-width: none; height: calc(100dvh - 24px); max-height: none; padding: 0; overflow: hidden; border: 0; border-radius: 1rem; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.help-dialog::backdrop { background: rgba(15,9,22,.78); backdrop-filter: blur(3px); }
.help-dialog-shell { position: relative; display: grid; height: 100%; min-height: 0; padding: clamp(.8rem, 2vw, 1.35rem); grid-template-rows: auto minmax(0, 1fr) auto; }
.help-dialog-close { position: absolute; top: .8rem; right: .8rem; z-index: 2; display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 50%; color: #fff; background: #21142c; }
.help-dialog header { max-width: 760px; margin: 0 auto .65rem; padding: 0 3rem; text-align: center; }
.help-dialog header h2 { margin: .4rem 0; }
.help-dialog header p { margin-bottom: 0; color: var(--muted); }
.help-gallery { display: grid; min-height: 0; grid-template-rows: minmax(0, 1fr) auto; }
.help-gallery-stage { display: grid; min-height: 0; place-items: center; overflow: hidden; border-radius: .9rem; background: #121016; }
.help-gallery-stage img, .help-gallery-stage video { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.help-gallery-thumbs { display: flex; padding: .55rem 0; gap: .5rem; overflow-x: auto; }
.help-gallery-thumbs button { position: relative; width: 78px; height: 58px; padding: 0; overflow: hidden; flex: 0 0 78px; border: 3px solid transparent; border-radius: .55rem; background: #ddd; }
.help-gallery-thumbs button.active { border-color: var(--brand); }
.help-gallery-thumbs img, .help-gallery-thumbs video { width: 100%; height: 100%; object-fit: cover; }
.help-gallery-thumbs button i { position: absolute; inset: 50% auto auto 50%; color: #fff; font-size: 1.5rem; text-shadow: 0 2px 5px #000; transform: translate(-50%, -50%); }
.help-article-content { max-height: 16vh; padding: .75rem 1rem; overflow-y: auto; border-radius: .8rem; background: #f8f6f9; font-size: .9rem; line-height: 1.55; white-space: normal; }
.bonus-admin-edit { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #ece6ef; }
.bonus-admin-edit + form { margin-top: .65rem; }
.public-chat { position: fixed; right: 20px; bottom: 18px; z-index: 1060; font-family: Inter, sans-serif; }
.public-chat-toggle { display: grid; width: 46px; height: 46px; margin-left: auto; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: #fff; background: #382249; box-shadow: 0 8px 24px rgba(30,15,42,.24); font-size: 1.15rem; transition: transform .2s ease, background .2s ease; }
.public-chat-toggle:hover { background: #4a2b61; transform: translateY(-2px); }
.public-chat-invite { position: absolute; right: 0; bottom: 58px; width: 210px; padding: .75rem .9rem; border: 1px solid #e6dfe9; border-radius: .8rem; color: #25162f; background: #fff; text-align: left; box-shadow: 0 12px 32px rgba(31,16,43,.16); animation: chat-invite-in .28s ease both; }
.public-chat-invite strong, .public-chat-invite span { display: block; }
.public-chat-invite strong { font-size: .9rem; }
.public-chat-invite span { margin-top: .18rem; color: #73697a; font-size: .76rem; line-height: 1.4; }
.public-chat-panel { position: absolute; right: 0; bottom: 58px; width: min(340px, calc(100vw - 30px)); overflow: hidden; border: 1px solid #e4dde7; border-radius: 1rem; background: #fff; box-shadow: 0 22px 55px rgba(27,14,38,.22); animation: chat-panel-in .22s ease both; }
.public-chat-panel > header { display: flex; padding: .85rem 1rem; align-items: start; justify-content: space-between; gap: .75rem; color: #fff; background: #382249; }
.public-chat-panel header strong, .public-chat-panel header span { display: block; }
.public-chat-panel header strong { font-size: .9rem; }
.public-chat-panel header span { margin-top: .1rem; color: #d9cedf; font-size: .68rem; }
.public-chat-panel header button { padding: .1rem; border: 0; color: #fff; background: transparent; }
.public-chat-conversation { padding: .85rem 1rem .25rem; background: #faf8fb; }
.public-chat-message, .public-chat-confirmation { width: fit-content; max-width: 92%; padding: .65rem .75rem; border-radius: .75rem .75rem .75rem .2rem; color: #493f50; background: #eee9f1; font-size: .78rem; line-height: 1.5; }
.public-chat-confirmation { margin: .65rem 0 0 auto; border-radius: .75rem .75rem .2rem .75rem; color: #185c3b; background: #ddf4e8; }
.public-chat-confirmation.is-error { color: #8b2632; background: #fde4e7; }
.public-chat form { display: grid; padding: .85rem 1rem 1rem; gap: .6rem; }
.public-chat form label { color: #53485a; font-size: .72rem; font-weight: 700; }
.public-chat form .form-control { margin-top: .2rem; font-size: .78rem; }
.public-chat form button { display: flex; align-items: center; justify-content: center; gap: .45rem; }
.public-chat form > small { color: #887d8e; font-size: .63rem; line-height: 1.4; text-align: center; }
.public-chat-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.chat-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.chat-admin-card { overflow: hidden; border: 1px solid #e2dce6; border-radius: 1rem; background: #fff; box-shadow: 0 10px 28px rgba(35,18,48,.06); }
.chat-admin-card.status-new { border-top: 4px solid #d7a113; }
.chat-admin-card.status-open { border-top: 4px solid #6c3c94; }
.chat-admin-card.status-replied { border-top: 4px solid #2d9662; }
.chat-admin-card > header { display: flex; padding: 1rem 1.1rem; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #eee9f1; }
.chat-admin-card > header > div { display: flex; min-width: 0; align-items: center; gap: .75rem; }
.chat-admin-card h2 { margin: 0; font-size: 1rem; }
.chat-admin-card header a { color: var(--brand); font-size: .8rem; text-decoration: none; }
.chat-avatar { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 50%; color: #fff; background: #4d2b65; font-weight: 800; }
.chat-status { padding: .28rem .55rem; border-radius: 999px; color: #574d5d; background: #f0ecf2; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.chat-admin-timeline { display: flex; max-height: 360px; min-height: 145px; padding: 1rem; overflow-y: auto; flex-direction: column; gap: .65rem; background: #faf9fb; }
.chat-bubble { width: fit-content; max-width: 88%; padding: .65rem .75rem; border-radius: .75rem; background: #ece7ef; }
.chat-bubble.is-admin { margin-left: auto; color: #fff; background: #51306a; }
.chat-bubble small { display: block; margin-bottom: .25rem; color: #7d7184; font-size: .64rem; }
.chat-bubble.is-admin small { color: #d9cce0; }
.chat-bubble p { margin: 0; font-size: .82rem; line-height: 1.5; }
.chat-reply-form { padding: 1rem; }
.chat-reply-form textarea { resize: vertical; }
.financeiro-table th:last-child, .financeiro-table td:last-child { min-width: 230px; }
.financial-action-form textarea { min-height: 58px; resize: vertical; }
.financial-action-form .action-row { gap: .4rem; }
@keyframes chat-invite-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes chat-panel-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.benefit-schedule-form { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(300px, 1.3fr) auto; gap: 1rem; align-items: end; }
.benefit-schedule-form label { font-weight: 700; }
.schedule-list { display: grid; gap: .7rem; margin-top: 1.25rem; }
.schedule-list article { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; padding: 1rem; border: 1px solid #e6dfe9; border-radius: .7rem; }
.schedule-list article div span, .schedule-list article small { display: block; color: var(--muted); }
.schedule-list article small { grid-column: 1 / -1; }
.bonus-history-heading { padding-top: 1.4rem; margin-top: 1.5rem; border-top: 1px solid #e6dfe9; }
.bonus-history-heading h3 { margin: 0; font-size: 1.1rem; }
.bonus-history-heading p { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }
.bonus-history-list article { background: #faf9fb; }
.bonus-section-title { display: flex; margin: 1.5rem 0 .8rem; align-items: center; justify-content: space-between; gap: 1rem; }
.bonus-section-title h2 { margin: 0; font-size: 1.15rem; }
.bonus-section-title span { color: var(--muted); font-size: .85rem; }
.bonus-history-title { padding-top: 1.5rem; margin-top: 2rem; border-top: 1px solid #ddd7e2; }
.package-bonus-admin.is-pending { border-left: 4px solid #d49a18; }
.package-bonus-history { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.bonus-history-notes { padding: .7rem .85rem; margin: .6rem 0; border-radius: .55rem; background: #f7f4f8; color: #554c5e; font-size: .9rem; }
.bonus-media-groups { display: grid; gap: 1.5rem; margin: 1rem 0 1.5rem; }
.bonus-media-groups h3 { margin-bottom: .7rem; font-size: 1rem; }
.bonus-media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.bonus-media-grid article { overflow: hidden; border-radius: .8rem; background: #f6f3f7; }
.bonus-media-grid img, .bonus-media-grid video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #111; }
.bonus-media-grid article > div { display: grid; gap: .35rem; padding: .75rem; }
.bonus-media-grid strong { overflow: hidden; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.bonus-media-grid small { color: var(--muted); }
.package-bonus-admin .bonus-media-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.package-bonus-admin .bonus-media-grid img, .package-bonus-admin .bonus-media-grid video { aspect-ratio: 1; }
.bonus-media-grid-compact { margin-top: 1rem; }
.bonus-media-grid-compact article > div { padding: .6rem; }
.popup-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: end; }
.popup-field-wide { grid-column: span 2; }
.popup-preview { display: grid; gap: .45rem; align-self: stretch; padding: .7rem; border: 1px solid #ded5e5; border-radius: .7rem; background: #f4eef7; }
.popup-preview img { width: 100%; max-height: 150px; object-fit: cover; border-radius: .55rem; }
.popup-preview label { margin: 0; color: #554b5d; font-size: .8rem; }
.visitor-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 1rem; align-items: end; margin-bottom: 1.25rem; }
.visitor-filter-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.visitor-dashboard-grid { display: grid; grid-template-columns: minmax(260px, .48fr) minmax(520px, 1.52fr); gap: 1.25rem; align-items: start; }
.visitor-controls { grid-column: 1; grid-row: 1; }
.visitor-map { position: relative; height: min(62vh, 620px); min-height: 520px; max-height: 620px; overflow: hidden; isolation: isolate; contain: layout paint; border: 1px solid #dfe7ef; border-radius: .9rem; background: #f8fbfd; }
.visitor-dashboard-grid > .visitor-map { grid-column: 2; grid-row: 1; }
.visitor-map.leaflet-container { width: 100%; z-index: 0; }
.visitor-leaflet-map .leaflet-tile { filter: saturate(.78) brightness(1.08) contrast(.92); }
.visitor-leaflet-map .leaflet-container, .visitor-leaflet-map { font-family: Inter, system-ui, sans-serif; }
.visitor-map p { position: absolute; z-index: 500; margin: 1rem; color: #5d5267; font-weight: 700; }
.visitor-heat-point { display: none; }
.visitor-map-fallback { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visitor-map.has-map-fallback p { z-index: 2; padding: .35rem .55rem; border-radius: .5rem; background: rgba(255,255,255,.88); }
.visitor-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; gap: 1rem; }
.visitor-filter-panel { display: grid; gap: .75rem; padding: .85rem; border: 1px solid #e1d9e6; border-radius: .8rem; background: #fbf9fc; }
.visitor-stats h2 { margin: .5rem 0 .1rem; font-size: 1rem; }
.visitor-stat-group { display: grid; align-content: start; gap: .55rem; min-width: 0; }
.visitor-stat-row, .visitor-stat-line { position: relative; display: grid; grid-template-columns: 1fr auto; gap: .75rem; padding: .65rem .75rem; overflow: hidden; border-radius: .65rem; background: #f4eef7; }
.visitor-stat-row span, .visitor-stat-row strong, .visitor-stat-line span, .visitor-stat-line strong { position: relative; z-index: 1; }
.visitor-stat-row i { position: absolute; inset: auto auto 0 0; height: 4px; border-radius: 0 99px 99px 0; background: #d69b18; }
.visitor-neighborhood-line { border-left: 3px solid #be2d4c; }
.seo-submit-links { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; padding: .75rem; border: 1px solid #e1d9e6; border-radius: .75rem; background: #f7f2fa; }
.seo-submit-links span { color: #5d5267; font-size: .9rem; }
.site-entry-popup[hidden], .cookie-consent[hidden] { display: none !important; }
.site-entry-popup { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 1.25rem; }
.site-entry-popup__backdrop { position: absolute; inset: 0; background: rgba(14,9,21,.64); backdrop-filter: blur(2px); }
.site-entry-popup__dialog { position: relative; width: min(760px, 96vw); max-height: 92vh; border-radius: .95rem; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.site-entry-popup__close { position: absolute; z-index: 2; top: .65rem; right: .65rem; display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 999px; color: #fff; background: rgba(17,11,24,.72); }
.site-entry-popup__media { display: block; overflow: hidden; border-radius: .95rem; }
.site-entry-popup__media img { display: block; width: 100%; max-height: 92vh; object-fit: contain; background: #120b18; }
.cookie-consent { position: fixed; z-index: 2500; right: 1rem; bottom: 1rem; display: flex; width: min(520px, calc(100vw - 2rem)); gap: 1rem; align-items: center; justify-content: space-between; padding: 1rem; border: 1px solid #ded5e5; border-radius: .85rem; background: #fff; box-shadow: 0 16px 48px rgba(35,18,48,.16); }
.cookie-consent strong { display: block; margin-bottom: .2rem; }
.cookie-consent p { margin: 0; color: #675d6e; font-size: .85rem; }
.cookie-consent__actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 1199px) {
    .photo-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .metric-grid { grid-template-columns: repeat(3, 1fr); }
    .banner-admin-row { grid-template-columns: repeat(2, 1fr); }
    .banner-card-grid, .package-create-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analytics-dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .access-ranking-grid { grid-template-columns: 1fr 1fr; }
    .access-day-chart { grid-column: 1 / -1; }
    .overview-summary-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .overview-summary-strip > div { border-bottom: 1px solid #e7e3e9; }
    .package-bonus-admin .bonus-media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .help-admin-grid, .help-client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .help-existing-media { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .visitor-dashboard-grid { grid-template-columns: 1fr; }
    .visitor-controls, .visitor-dashboard-grid > .visitor-map, .visitor-stats { grid-column: 1; grid-row: auto; }
    .visitor-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .bonus-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .landing-hero { min-height: 420px; }
    .landing-section { padding: 4rem 0; }
    .restaurant-photo-card img { height: 390px; }
    .square-grid, .extended-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .restaurant-banner-grid { grid-template-columns: 1fr 1fr; }
    .saas-sidebar { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); transform: translateX(-100%); transition: transform .2s ease; }
    .sidebar-open .saas-sidebar { transform: translateX(0); }
    .saas-main { width: 100%; margin-left: 0; }
    .sidebar-toggle { display: block; }
    .saas-content { padding: 1rem; }
    .company-summary-grid, .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .media-grid { grid-template-columns: repeat(3, 1fr); }
    .premium-offer { grid-template-columns: 1fr; }
    .premium-price { text-align: left; }
    .package-bonus-admin .bonus-media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .help-editor-grid { grid-template-columns: minmax(0, 1fr) 130px 150px; }
    .chat-admin-grid { grid-template-columns: 1fr; }
    .popup-form-grid, .visitor-filter-grid { grid-template-columns: 1fr 1fr; }
    .popup-field-wide { grid-column: span 2; }
}
@media (max-width: 767px) {
    .captcha-box, .benefit-schedule-form { grid-template-columns: 1fr; }
    .landing-hero { min-height: 340px; background-image: linear-gradient(rgba(7,17,47,.05), rgba(7,17,47,.16)), var(--hero-mobile-image, var(--hero-image)); }
    .landing-ribbon { height: 64px; margin-top: -64px; grid-template-columns: 1fr; grid-template-rows: 32px 32px; }
    .landing-title { margin-bottom: 2.5rem; }
    .landing-title-art img { width: 68%; max-width: 68%; }
    .landing-title h1, .landing-title h2 { font-size: 1.8rem; }
    .restaurant-carousel-track { display: flex; gap: 0; transition: transform .65s ease; }
    .restaurant-carousel-slide { flex: 0 0 100%; width: 100%; }
    .restaurant-photo-card img { height: auto; max-height: 520px; aspect-ratio: 4 / 3; object-fit: cover; }
    .landing-photo-card strong { font-size: 16px; }
    .directory-category-title { padding: 2.5rem 0; }
    .directory-category-title h1 { font-size: clamp(2rem, 10vw, 2.7rem); }
    .site-hero-photo { min-height: 360px; }
    .popup-form-grid, .visitor-filter-grid, .visitor-dashboard-grid { grid-template-columns: 1fr; }
    .popup-field-wide { grid-column: auto; }
    .visitor-controls, .visitor-dashboard-grid > .visitor-map, .visitor-stats { grid-column: 1; grid-row: auto; }
    .visitor-stats { grid-template-columns: 1fr; }
    .visitor-map { height: 420px; min-height: 360px; max-height: none; }
    .visitor-map::before { font-size: 2.4rem; }
    .renewal-alert-form, .renewal-alert-form .form-select { width: 100%; }
    .renewal-alert-form { flex-direction: column; align-items: stretch; }
    .renewal-success-grid { grid-template-columns: 1fr; }
    .cookie-consent { display: grid; right: .75rem; left: .75rem; bottom: .75rem; width: calc(100vw - 1.5rem); }
    .color-ribbon { height: 30px; }
    .city-palm, .maybe-need, .restaurant-highlight { padding: 3.5rem 0; }
    .square-grid, .extended-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .8rem; }
    .restaurant-banner-grid { grid-template-columns: 1fr; }
    .restaurant-banner-card, .restaurant-banner-card img { min-height: 240px; }
    .analytics-dashboard { grid-template-columns: 1fr; }
    .access-ranking-grid, .access-ranking-filter { grid-template-columns: 1fr; }
    .access-day-chart { grid-column: auto; }
    .published-testimonials-filter { grid-template-columns: 1fr; }
    .overview-summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .overview-summary-strip > div { min-height: 95px; }
    .overview-detail-grid { grid-template-columns: 1fr; }
    .overview-detail-wide { grid-column: auto; }
    .overview-funnel > div { grid-template-columns: 80px 1fr; }
    .overview-funnel small { grid-column: 2; }
    .analytics-footer-links { align-items: stretch; flex-direction: column; }
    .analytics-footer-links a { border-right: 0; border-bottom: 1px solid #e5dfe9; text-align: center; }
    .directory-hero { min-height: 420px; }
    .directory-hero-copy { padding: 3.5rem 0; }
    .directory-search { flex-direction: column; }
    .photo-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .banner-stack, .premium-public-grid { grid-template-columns: 1fr; }
    .editorial-banner { min-height: 220px; }
    .inline-create, .service-row, .category-page-settings { grid-template-columns: 1fr; }
    .banner-card-grid, .package-create-grid, .gateway-steps { grid-template-columns: 1fr; }
    .upload-dropzone, .review-callout, .admin-heading { align-items: stretch; flex-direction: column; }
    .pix-box { grid-template-columns: 1fr; }
    .fake-qr { max-width: 180px; }
    .package-bonus-admin .bonus-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .help-editor-grid, .help-admin-grid, .help-client-grid { grid-template-columns: 1fr; }
    .help-field-wide { grid-column: auto; }
    .help-existing-media { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .help-dialog { width: calc(100% - 10px); height: calc(100dvh - 10px); border-radius: .7rem; }
    .help-gallery-stage { min-height: 0; }
    .help-dialog header { padding: 0 2.5rem; }
    .help-article-content { max-height: 20vh; }
}
@media (max-width: 520px) {
    .bonus-media-grid { grid-template-columns: 1fr; }
    .landing-search { grid-template-columns: 1fr 48px; }
    .landing-photo-card strong { font-size: 15px; }
    .restaurant-photo-card img { height: auto; }
    .landing-footer { padding: 3.5rem 1rem; }
    .public-logo { font-size: 1.35rem; }
    .classic-title { margin-bottom: 2rem; }
    .classic-title h1, .classic-title h2 { font-size: 1.8rem; }
    .photo-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .company-summary-grid, .metric-grid { grid-template-columns: 1fr 1fr; }
    .overview-summary-strip { grid-template-columns: 1fr; }
    .overview-summary-strip > div { border-right: 0; }
    .plan-distribution-row { grid-template-columns: minmax(105px, 1fr) minmax(70px, 1fr) 28px; }
    .plan-distribution-row em { display: none; }
    .metric-card { min-height: 105px; padding: .9rem; }
    .metric-card strong { font-size: 1.2rem; }
    .media-grid { grid-template-columns: repeat(2, 1fr); }
    .saas-topbar { padding: .7rem; }
    .package-bonus-admin .bonus-media-grid { grid-template-columns: 1fr; }
    .help-existing-media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .help-client-cover { height: 180px; }
    .public-chat { right: 12px; bottom: 12px; }
    .public-chat-toggle { width: 43px; height: 43px; }
    .public-chat-panel, .public-chat-invite { bottom: 54px; }
}
