:root {
    --primary: #1d4f35;
    --primary-dark: #123924;
    --accent: #d6a736;
    --ink: #18221d;
    --muted: #64706a;
    --line: #dfe5e1;
    --surface: #ffffff;
    --soft: #f4f7f5;
    --soft-2: #eef3f0;
    --header-bg: #ffffff;
    --header-text: #18221d;
    --header-link: #1d4f35;
    --header-link-hover: #123924;
    --footer-bg: #ffffff;
    --footer-text: #64706a;
    --button-bg: #1d4f35;
    --button-text: #ffffff;
    --button-hover: #123924;
    --link-color: #1d4f35;
    --link-hover: #123924;
    --card-bg: #ffffff;
    --carousel-control: #123924;
    --carousel-control-text: #ffffff;
    --lightbox-control: #ffffff;
    --font-body: Arial,Helvetica,sans-serif;
    --font-heading: Arial,Helvetica,sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.55;
    --heading-weight: 900;
    --nav-size: 16px;
    --nav-weight: 800;
    --button-size: 16px;
    --button-weight: 800;
    --danger: #9c2929;
    --warning: #8a6412;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(0,0,0,.05);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; font-family:var(--font-body); font-size:var(--font-size-base); color:var(--ink); background:var(--soft); line-height:var(--line-height-base); }
h1, h2, h3, h4, h5, h6 { font-family:var(--font-heading); font-weight:var(--heading-weight); }
a { color:var(--link-color); }
img { max-width:100%; display:block; }
.public-main a:not(.business-tile-link):not(.featured-carousel-slide):hover { color:var(--link-hover); }
button, input, select, textarea { font:inherit; }
button, .button { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; border-radius:8px; background:var(--button-bg); color:var(--button-text); padding:11px 16px; font-size:var(--button-size); font-weight:var(--button-weight); text-decoration:none; cursor:pointer; }
button:hover, .button:hover { background:var(--button-hover); color:var(--button-text); }
button:disabled { opacity:.55; cursor:not-allowed; }
.button-light { background:#e8edea; color:var(--ink); }
.button-light:hover { background:#dbe3de; }
.button-ghost { background:transparent; color:var(--primary); border:1px solid var(--line); }
.button-ghost:hover { background:var(--soft); }
.button-small { padding:7px 10px; font-size:.88rem; }
.shell { width:min(1240px, calc(100% - 32px)); margin:0 auto; }
.site-header { background:var(--header-bg); border-bottom:1px solid var(--line); color:var(--header-text); }
.header-inner { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { font-family:var(--font-heading); font-size:1.25rem; font-weight:var(--heading-weight); text-decoration:none; color:var(--ink); letter-spacing:-.02em; }
.public-nav { display:flex; flex-wrap:wrap; gap:18px; }
.public-brand { color:var(--header-text); }
.public-brand:hover { color:var(--header-text); }
.public-nav a { text-decoration:none; font-size:var(--nav-size); font-weight:var(--nav-weight); color:var(--header-link); }
.public-nav a:hover { color:var(--header-link-hover); }
.public-main { padding:34px 0 70px; min-height:70vh; }
.site-footer { border-top:1px solid var(--line); padding:46px 0 0; color:var(--footer-text); background:var(--footer-bg); }
.footer-main { display:grid; grid-template-columns:minmax(260px,1.5fr) repeat(2,minmax(180px,.75fr)); gap:48px; padding-bottom:38px; }
.footer-brand-block { max-width:430px; }
.footer-brand { display:inline-block; color:var(--footer-text); font-family:var(--font-heading); font-size:1.3rem; font-weight:var(--heading-weight); letter-spacing:-.02em; text-decoration:none; }
.footer-brand:hover { color:var(--accent); }
.footer-brand-block p { margin:10px 0 0; max-width:390px; }
.footer-column h2 { margin:2px 0 13px; color:var(--footer-text); font-size:.78rem; font-weight:900; letter-spacing:.11em; text-transform:uppercase; }
.footer-links { display:grid; gap:9px; }
.footer-links a { width:max-content; max-width:100%; color:var(--footer-text); font-weight:700; text-decoration:none; }
.footer-links a:hover { color:var(--accent); }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; padding:18px 0 22px; border-top:1px solid rgba(127,127,127,.28); font-size:.88rem; }
.hero { padding:56px 0 30px; }
.hero h1 { font-size:clamp(2.4rem,6vw,4.8rem); line-height:.98; margin:8px 0 14px; letter-spacing:-.045em; }
.hero p { font-size:1.22rem; color:var(--muted); max-width:780px; }
.eyebrow { text-transform:uppercase; letter-spacing:.12em; font-size:.75rem; font-weight:900; color:var(--primary); }
.panel, .auth-card, .admin-card { background:var(--card-bg); border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); }
.auth-card { max-width:520px; margin:50px auto; }
.notice { padding:13px 15px; border-radius:9px; margin:0 0 18px; border:1px solid transparent; }
.notice.error { background:#fff0f0; color:#8b1d1d; border-color:#efcccc; }
.notice.success { background:#edf8f1; color:#21623b; border-color:#cce8d6; }
.notice.warning { background:#fff8e5; color:#76540c; border-color:#ead69a; }
.muted { color:var(--muted); }
.required { color:var(--danger); }
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.inline-form { display:inline; margin:0; }
.hidden-form { display:none; }
code { font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; font-size:.9em; }

/* Public directory */
.directory-core-hero { max-width:980px; }
.home-search { display:flex; width:min(1240px, calc(100vw - 32px)); max-width:none; margin-top:26px; padding:8px; border:1px solid var(--line); border-radius:12px; background:var(--card-bg); box-shadow:var(--shadow); }
.home-search input { flex:1; border:0; padding:12px 14px; min-width:0; outline:none; }
.home-search button { flex:none; }
.home-section { margin:44px 0 58px; }
.section-title-row { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:20px; }
.section-title-row h2 { font-size:clamp(1.7rem,3vw,2.4rem); margin:4px 0 0; letter-spacing:-.025em; }
.section-title-row > a { font-weight:800; text-decoration:none; }
.category-link-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.category-link-grid a { background:var(--card-bg); border:1px solid var(--line); padding:15px 16px; border-radius:10px; text-decoration:none; font-weight:800; }
.category-link-grid a:hover { border-color:var(--primary); }
.build-note { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:46px; padding:16px 18px; border:1px dashed #bdc9c2; border-radius:10px; color:var(--muted); font-size:.92rem; }
.directory-head { padding:24px 0 18px; }
.directory-head h1 { font-size:clamp(2.3rem,5vw,4rem); line-height:1; margin:7px 0 14px; letter-spacing:-.04em; }
.directory-head p { font-size:1.1rem; color:var(--muted); max-width:800px; }
.public-search-panel { display:grid; grid-template-columns:minmax(220px,1.5fr) minmax(180px,.8fr) minmax(180px,.8fr) auto; gap:12px; align-items:end; background:var(--card-bg); border:1px solid var(--line); border-radius:14px; padding:18px; margin-bottom:24px; box-shadow:var(--shadow); }
.search-field label { display:block; font-size:.82rem; font-weight:800; margin:0 0 5px; }
.search-field input, .search-field select, .filter-bar input, .filter-bar select { width:100%; border:1px solid #bcc8c1; border-radius:8px; padding:10px 11px; background:#fff; }
.directory-results-head { display:flex; justify-content:space-between; gap:20px; align-items:center; margin:20px 0; }
.quick-links { display:flex; gap:14px; }
.quick-links a { font-weight:800; text-decoration:none; }
.business-masonry { columns:4 250px; column-gap:16px; }
.business-tile { break-inside:avoid; margin:0 0 16px; background:var(--card-bg); border:1px solid var(--line); border-radius:11px; overflow:hidden; box-shadow:0 4px 14px rgba(0,0,0,.035); }
.business-tile-link { display:block; text-decoration:none; color:inherit; }
.business-tile img { width:100%; height:auto; }
.masonry-image-placeholder { min-height:190px; display:grid; place-items:center; background:linear-gradient(145deg,var(--primary),var(--primary-dark)); color:var(--accent); }
.masonry-image-placeholder span { font-size:4rem; font-weight:900; line-height:1; text-shadow:0 1px 0 rgba(255,255,255,.12); }
.business-tile-copy { padding:15px 16px 17px; }
.business-tile-copy h3 { margin:0 0 5px; font-size:1.15rem; line-height:1.18; }
.business-tile-meta { display:flex; flex-wrap:wrap; gap:6px 12px; color:var(--primary); font-size:.84rem; font-weight:800; }
.business-tile-copy p { color:var(--muted); margin:10px 0 0; font-size:.92rem; }
.public-status { display:inline-block; margin-top:8px; padding:4px 7px; border-radius:999px; background:#fff2dd; color:#81560b; font-size:.74rem; font-weight:900; }

/* Public business detail */
.business-detail { padding-bottom:26px; }
.business-hero { width:100%; aspect-ratio:16/7; overflow:hidden; border-radius:16px; background:#dce5df; }
.business-hero img { width:100%; height:100%; object-fit:cover; display:block; }
.business-hero-placeholder { width:100%; height:100%; min-height:320px; display:grid; place-items:center; background:linear-gradient(145deg,var(--primary),var(--primary-dark)); color:var(--accent); }
.business-hero-placeholder span { font-size:clamp(5rem,14vw,11rem); font-weight:900; line-height:1; text-shadow:0 2px 0 rgba(255,255,255,.12); }
.business-identity { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:28px; align-items:center; background:var(--card-bg); border:1px solid var(--line); border-radius:15px; padding:24px 26px; margin:-54px 22px 30px; position:relative; z-index:2; box-shadow:var(--shadow); }
.business-identity-main { display:grid; grid-template-columns:132px minmax(0,1fr); gap:24px; align-items:center; min-width:0; }
.business-identity-main--no-logo { grid-template-columns:minmax(0,1fr); }
.business-logo { width:132px; height:132px; border:1px solid var(--line); background:var(--card-bg); border-radius:14px; display:grid; place-items:center; padding:10px; overflow:hidden; }
.business-logo img { max-width:100%; max-height:100%; object-fit:contain; }
.business-identity-copy { min-width:0; }
.business-kicker a { font-size:.8rem; font-weight:900; text-transform:uppercase; letter-spacing:.08em; text-decoration:none; }
.business-identity h1 { margin:4px 0 6px; font-size:clamp(2rem,4vw,3.6rem); line-height:1; letter-spacing:-.04em; }
.business-location-line, .service-summary { margin:3px 0; color:var(--muted); }
.business-location-line a { color:inherit; font-weight:800; }
.business-header-intro { max-width:760px; margin:12px 0 0; color:#435048; font-size:1.03rem; line-height:1.55; }
.business-profile-actions { min-width:190px; display:flex; flex-direction:column; align-items:flex-end; gap:12px; }
.business-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:9px; margin:0; }
.business-profile-actions .social-links { justify-content:flex-end; }
.social-links { display:flex; gap:8px; flex-wrap:wrap; }
.social-links a { width:36px; height:36px; display:grid; place-items:center; border-radius:50%; background:var(--soft-2); border:1px solid var(--line); text-decoration:none; color:var(--ink); font-weight:900; font-size:.8rem; }
.social-links a:hover { border-color:var(--primary); color:var(--primary); }
.business-content-grid { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:30px; align-items:start; }
.business-main-content, .business-sidebar { min-width:0; }
.detail-section { margin:0 0 36px; }
.detail-section h2, .wide-detail-section h2, .related-businesses h2 { font-size:1.8rem; letter-spacing:-.025em; margin:0 0 15px; }
.prose { font-size:1.03rem; }
.services-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 18px; padding:0; margin:0; list-style:none; }
.services-list li { background:var(--card-bg); border:1px solid var(--line); border-radius:9px; padding:11px 13px; font-weight:700; }
.business-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.business-gallery a { overflow:hidden; border-radius:9px; background:#e9eeeb; aspect-ratio:1/1; cursor:zoom-in; }
.business-gallery img { width:100%; height:100%; object-fit:cover; transition:transform .2s ease; display:block; }
.business-gallery a:hover img { transform:scale(1.03); }
.business-lightbox[hidden] { display:none; }
.business-lightbox { position:fixed; inset:0; z-index:1000; display:grid; grid-template-columns:minmax(52px,1fr) minmax(0,1100px) minmax(52px,1fr); align-items:center; background:rgba(7,11,9,.94); padding:34px 18px; }
.business-lightbox-stage { grid-column:2; margin:0; max-height:calc(100vh - 68px); display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:0; }
.business-lightbox-stage img { display:block; max-width:100%; max-height:calc(100vh - 110px); object-fit:contain; border-radius:8px; box-shadow:0 18px 60px rgba(0,0,0,.4); }
.business-lightbox-stage figcaption { min-height:22px; margin-top:10px; color:#e9efeb; text-align:center; font-size:.9rem; }
.business-lightbox-close, .business-lightbox-nav { position:fixed; z-index:1001; border:0; border-radius:999px; width:44px; height:44px; padding:0; display:grid; place-items:center; background:rgba(255,255,255,.13); color:var(--lightbox-control); font-size:2rem; line-height:1; }
.business-lightbox-close { top:18px; right:18px; }
.business-lightbox-prev { left:18px; top:50%; transform:translateY(-50%); }
.business-lightbox-next { right:18px; top:50%; transform:translateY(-50%); }
.business-lightbox-close:hover, .business-lightbox-nav:hover { background:rgba(255,255,255,.22); }
body.lightbox-open { overflow:hidden; }
.business-sidebar { display:grid; gap:15px; }
.sidebar-card { background:var(--card-bg); border:1px solid var(--line); border-radius:12px; padding:19px; }
.sidebar-card h2 { font-size:1.05rem; margin:0 0 14px; }
.info-row { display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid #edf0ee; font-size:.92rem; }
.info-row:last-child { border-bottom:0; }
.info-row span { color:var(--muted); }
.info-row a, .info-row strong { text-align:right; }
.info-address { margin-top:12px; color:var(--muted); font-size:.9rem; }
.hours-list { display:grid; gap:5px; }
.hours-list > div { display:flex; justify-content:space-between; gap:12px; font-size:.88rem; }
.hours-list span { color:var(--muted); }
.sidebar-link-list { display:flex; flex-direction:column; gap:7px; }
.sidebar-link-list a { text-decoration:none; font-weight:800; }
.social-links-sidebar a { width:34px; height:34px; }
.wide-detail-section { margin:44px 0; }
.map-embed { border-radius:14px; overflow:hidden; border:1px solid var(--line); background:#ddd; }
.map-embed iframe { display:block; width:100%; height:430px; border:0!important; }
.contact-business-section { display:grid; grid-template-columns:.75fr 1.25fr; gap:30px; background:var(--card-bg); border:1px solid var(--line); border-radius:15px; padding:28px; }
.contact-preview-form { opacity:.82; }
.contact-preview-form label { display:block; font-weight:800; }
.contact-preview-form input, .contact-preview-form textarea { width:100%; margin-top:5px; }
.related-businesses { margin:56px 0 20px; }

/* Admin shell */
.admin-body { background:#f3f6f4; }
.admin-topbar { height:64px; padding:0 22px; display:flex; align-items:center; justify-content:space-between; gap:20px; background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:30; }
.admin-topbar-actions { display:flex; align-items:center; gap:14px; font-size:.9rem; }
.admin-topbar-actions > a { text-decoration:none; font-weight:800; }
.admin-user { color:var(--muted); }
.admin-frame { display:grid; grid-template-columns:230px minmax(0,1fr); min-height:calc(100vh - 64px); }
.admin-sidebar { padding:24px 14px; background:#fff; border-right:1px solid var(--line); }
.admin-nav-label { margin:0 10px 8px; font-size:.7rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.admin-nav-link { display:block; padding:10px 12px; border-radius:8px; margin:2px 0; color:var(--ink); text-decoration:none; font-weight:800; }
.admin-nav-link:hover { background:var(--soft); }
.admin-nav-link.active { background:var(--primary); color:#fff; }
.admin-nav-divider { border-top:1px solid var(--line); margin:18px 10px; }
.admin-nav-muted { display:flex; justify-content:space-between; gap:6px; padding:7px 12px; color:#9aa49e; font-weight:700; font-size:.88rem; }
.admin-nav-muted small { font-weight:400; }
.admin-main { padding:30px; min-width:0; }
.page-head { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; }
.page-head h1 { margin:.25rem 0 0; font-size:2.25rem; line-height:1.05; letter-spacing:-.03em; }
.page-head p { margin:.45rem 0 0; }
.page-head-actions { display:flex; flex-wrap:wrap; gap:9px; justify-content:flex-end; }
.stats { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:24px; }
.stat { background:#fff; border:1px solid var(--line); border-radius:12px; padding:20px; }
.stat strong { display:block; font-size:2rem; line-height:1; margin-bottom:6px; }
.stat span { color:var(--muted); }
.stat-link { color:inherit; text-decoration:none; }
.stat-link:hover { border-color:#aabbb1; }
.compact-stats { grid-template-columns:repeat(2,minmax(0,220px)); }
.admin-dashboard-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:20px; }
.card-heading { display:flex; justify-content:space-between; align-items:start; gap:15px; margin-bottom:18px; }
.card-heading h2 { margin:0 0 4px; }
.card-heading p { margin:0; color:var(--muted); }
.card-heading a { font-weight:800; }
.admin-action-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.admin-action-grid > a, .admin-action-disabled { display:flex; flex-direction:column; gap:4px; border:1px solid var(--line); border-radius:10px; padding:16px; text-decoration:none; color:inherit; }
.admin-action-grid > a:hover { border-color:var(--primary); }
.admin-action-grid span { color:var(--muted); font-size:.88rem; }
.admin-action-disabled { opacity:.55; }
.recent-business-list { display:grid; }
.recent-business-list > a { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0; border-bottom:1px solid var(--line); text-decoration:none; color:inherit; }
.recent-business-list > a:last-child { border-bottom:0; }
.recent-business-list > a > div { display:flex; flex-direction:column; }
.recent-business-list > a > div span { color:var(--muted); font-size:.85rem; }
.table-card { padding:0; overflow:hidden; }
.table-wrap { overflow-x:auto; }
.admin-table { width:100%; border-collapse:collapse; background:#fff; }
.admin-table th, .admin-table td { text-align:left; vertical-align:middle; padding:14px 16px; border-bottom:1px solid var(--line); }
.admin-table th { font-size:.76rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); background:#fafcfb; }
.admin-table tbody tr:last-child td { border-bottom:0; }
.table-subtext { color:var(--muted); font-size:.82rem; margin-top:3px; }
.actions-col { width:160px; }
.row-actions { display:flex; gap:6px; flex-wrap:wrap; }
.business-cell { display:flex; align-items:center; gap:12px; min-width:230px; }
.business-cell img, .business-thumb-placeholder { width:58px; height:58px; border-radius:8px; object-fit:cover; background:#edf1ef; flex:0 0 58px; }
.business-thumb-placeholder { display:grid; place-items:center; font-size:.68rem; color:#87948c; text-align:center; }
.status-pill { display:inline-flex; align-items:center; padding:4px 8px; border-radius:999px; font-size:.73rem; font-weight:900; white-space:nowrap; background:#edf0ee; color:#59645e; }
.status-published { background:#e7f6ed; color:#23663e; }
.status-draft, .status-pending { background:#fff4d8; color:#75520a; }
.status-rejected, .status-suspended { background:#ffe8e8; color:#8f2929; }
.status-archived, .status-muted, .status-permanently_closed { background:#edf0ee; color:#59645e; }
.status-temporarily_closed { background:#fff0db; color:#7f5614; }
.filter-bar { display:flex; gap:9px; align-items:end; margin:0 0 18px; }
.filter-bar .filter-grow { flex:1; }
.filter-bar input, .filter-bar select { min-height:42px; }
.business-filters select { width:auto; min-width:170px; }
.tab-bar { display:flex; gap:4px; margin-bottom:14px; }
.tab { padding:10px 14px; text-decoration:none; font-weight:800; border-radius:8px; }
.tab.active { background:var(--primary); color:#fff; }
.location-note, .image-law-box, .private-info-box { margin:0; padding:15px 18px; background:#f5f8f6; border-bottom:1px solid var(--line); color:#435048; }
.location-note { border-bottom:1px solid var(--line); }
.empty-state { text-align:center; padding:48px 24px; color:var(--muted); }
.empty-state h2 { color:var(--ink); }
.empty-state.compact { padding:24px 12px; }

/* Admin forms */
.business-editor { display:grid; gap:18px; }
.form-card, .form-section { padding:25px; }
.form-grid { display:grid; gap:18px; }
.form-grid.two-col { grid-template-columns:repeat(2,minmax(0,1fr)); }
.span-2 { grid-column:span 2; }
.field-group label { display:block; font-weight:800; margin-bottom:6px; }
.field-group input[type="text"], .field-group input[type="email"], .field-group input[type="url"], .field-group input[type="number"], .field-group input[type="search"], .field-group input[type="time"], .field-group input:not([type]), .field-group select, .field-group textarea,
.auth-card input { width:100%; padding:11px 12px; border:1px solid #b9c4be; border-radius:8px; background:#fff; }
.field-group textarea { resize:vertical; min-height:90px; }
.field-group input:focus, .field-group select:focus, .field-group textarea:focus, .filter-bar input:focus, .filter-bar select:focus { outline:3px solid rgba(29,79,53,.12); border-color:var(--primary); }
.checkbox-field { display:flex; flex-direction:column; justify-content:center; }
.checkbox-field label { display:flex; align-items:center; gap:9px; margin:0; }
.checkbox-field input[type="checkbox"] { width:auto; }
.help-text { color:var(--muted); font-size:.82rem; margin-top:5px; }
.field-error { color:var(--danger); font-size:.83rem; font-weight:700; margin-top:5px; }
.field-error-block { margin-bottom:12px; }
.form-actions { display:flex; gap:9px; margin-top:22px; }
.section-heading { display:flex; gap:13px; align-items:flex-start; margin-bottom:22px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.section-heading h2 { margin:0 0 3px; font-size:1.3rem; }
.section-heading p { margin:0; color:var(--muted); font-size:.92rem; }
.section-number { width:32px; height:32px; flex:0 0 32px; border-radius:50%; display:grid; place-items:center; background:var(--primary); color:#fff; font-weight:900; }
.radio-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.radio-card { display:flex!important; gap:9px; align-items:flex-start; padding:13px; border:1px solid var(--line); border-radius:9px; cursor:pointer; margin:0!important; font-weight:700!important; }
.radio-card:has(input:checked) { border-color:var(--primary); background:#eff6f2; }
.radio-card input { margin-top:3px; }
.service-area-panel { margin-top:22px; border-top:1px solid var(--line); padding-top:20px; }
.service-area-panel.is-hidden { display:none; }
.statewide-option { margin-bottom:16px; }
.county-picker { border:1px solid var(--line); border-radius:10px; padding:15px; }
.county-picker.is-disabled { opacity:.48; }
.county-picker-head { display:flex; justify-content:space-between; gap:18px; align-items:start; margin-bottom:13px; }
.county-picker-actions { display:flex; gap:6px; }
.county-checkbox-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px 12px; max-height:310px; overflow:auto; padding-right:5px; }
.county-checkbox-grid label { font-size:.86rem; display:flex; gap:7px; align-items:center; }
.private-info-box { border:1px solid #d9e5de; border-radius:9px; margin-bottom:18px; }
.private-info-box p { margin:4px 0 0; font-size:.9rem; }
.hours-editor { display:grid; }
.hours-row { display:grid; grid-template-columns:120px 160px 1fr 24px 1fr; gap:10px; align-items:center; padding:9px 0; border-bottom:1px solid #edf0ee; }
.hours-row:last-child { border-bottom:0; }
.hours-row select, .hours-row input { width:100%; padding:9px; border:1px solid #bcc8c1; border-radius:7px; background:#fff; }
.hours-to { text-align:center; color:var(--muted); font-size:.82rem; }
.image-law-box { border:1px solid #d9e5de; border-radius:9px; margin-bottom:18px; }
.image-upload-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.image-slot { border:1px solid var(--line); border-radius:11px; padding:16px; }
.image-slot h3, .gallery-editor h3 { margin:0 0 11px; }
.image-slot label { display:block; font-weight:800; margin:12px 0 6px; }
.image-placeholder { height:170px; display:grid; place-items:center; background:#f0f4f1; border:1px dashed #c9d2cc; border-radius:8px; color:#7e8b83; }
.existing-image { height:170px; display:grid; place-items:center; background:#f5f7f6; border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.existing-image img { width:100%; height:100%; object-fit:cover; }
.logo-preview img { object-fit:contain; padding:8px; }
.file-help { font-size:.8rem; color:var(--muted); margin-top:6px; min-height:1.2em; }
.gallery-editor { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); }
.gallery-editor-head { display:flex; justify-content:space-between; gap:15px; }
.admin-gallery-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:9px; margin:14px 0 18px; }
.admin-gallery-item { position:relative; aspect-ratio:1/1; overflow:hidden; border-radius:8px; border:1px solid var(--line); }
.admin-gallery-item img { width:100%; height:100%; object-fit:cover; }
.image-delete-button { position:absolute; bottom:5px; right:5px; padding:5px 7px; font-size:.72rem; background:rgba(24,34,29,.88); }
.save-bar { position:sticky; bottom:0; z-index:20; display:flex; justify-content:space-between; align-items:center; gap:20px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px 16px; box-shadow:0 -4px 24px rgba(0,0,0,.08); }
.save-bar-actions { display:flex; gap:8px; flex:none; }

@media (max-width: 1080px) {
    .admin-frame { grid-template-columns:190px minmax(0,1fr); }
    .admin-main { padding:24px; }
    .public-search-panel { grid-template-columns:1fr 1fr; }
    .public-search-panel .search-grow { grid-column:span 2; }
    .business-content-grid { grid-template-columns:minmax(0,1fr) 285px; gap:22px; }
    .business-identity { grid-template-columns:1fr; align-items:start; }
    .business-profile-actions { width:100%; min-width:0; align-items:flex-start; }
    .business-profile-actions .social-links, .business-actions { justify-content:flex-start; }
    .county-checkbox-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .admin-gallery-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width: 820px) {
    .header-inner { align-items:flex-start; flex-direction:column; padding:16px 0; }
    .footer-main { grid-template-columns:1fr 1fr; gap:30px 36px; }
    .footer-brand-block { grid-column:1 / -1; max-width:600px; }
    .public-nav { gap:12px; }
    .category-link-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .business-content-grid { grid-template-columns:1fr; }
    .business-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .business-identity { margin:-35px 12px 24px; }
    .business-identity-main { grid-template-columns:105px minmax(0,1fr); gap:18px; }
    .business-logo { width:105px; height:105px; }
    .contact-business-section { grid-template-columns:1fr; }
    .admin-frame { display:block; }
    .admin-sidebar { display:flex; gap:6px; overflow-x:auto; border-right:0; border-bottom:1px solid var(--line); padding:10px 14px; }
    .admin-nav-label, .admin-nav-divider, .admin-nav-muted { display:none; }
    .admin-nav-link { white-space:nowrap; margin:0; }
    .admin-main { padding:20px 16px; }
    .stats { grid-template-columns:repeat(2,1fr); }
    .admin-dashboard-grid { grid-template-columns:1fr; }
    .form-grid.two-col { grid-template-columns:1fr; }
    .span-2 { grid-column:span 1; }
    .radio-card-grid { grid-template-columns:1fr; }
    .image-upload-grid { grid-template-columns:1fr; }
    .county-checkbox-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .hours-row { grid-template-columns:92px 140px 1fr; }
    .hours-row .hours-to { display:none; }
    .hours-row input { grid-column:auto; }
    .save-bar { position:static; align-items:flex-start; flex-direction:column; }
    .save-bar-actions { width:100%; }
    .save-bar-actions > * { flex:1; }
}
@media (max-width: 600px) {
    .shell { width:min(100% - 22px,1240px); }
    .site-footer { padding-top:34px; }
    .footer-main { grid-template-columns:1fr; gap:26px; padding-bottom:28px; }
    .footer-brand-block { grid-column:auto; }
    .footer-bottom { flex-direction:column; gap:7px; }
    .hero { padding-top:34px; }
    .home-search { flex-direction:column; gap:7px; }
    .category-link-grid { grid-template-columns:1fr; }
    .build-note, .directory-results-head, .section-title-row { align-items:flex-start; flex-direction:column; }
    .public-search-panel { grid-template-columns:1fr; }
    .public-search-panel .search-grow { grid-column:auto; }
    .business-hero { aspect-ratio:auto; height:240px; }
    .business-identity { margin:-24px 8px 22px; padding:18px; }
    .business-identity-main { grid-template-columns:1fr; gap:14px; }
    .business-logo { width:92px; height:92px; }
    .business-header-intro { font-size:.97rem; }
    .business-lightbox { grid-template-columns:1fr; padding:64px 12px 20px; }
    .business-lightbox-stage { grid-column:1; }
    .business-lightbox-prev { left:10px; }
    .business-lightbox-next { right:10px; }
    .business-sidebar { grid-template-columns:1fr; }
    .services-list { grid-template-columns:1fr; }
    .business-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .admin-topbar { height:auto; padding:13px 14px; align-items:flex-start; }
    .admin-topbar-actions { flex-wrap:wrap; justify-content:flex-end; }
    .admin-user { display:none; }
    .page-head { align-items:flex-start; flex-direction:column; }
    .page-head-actions { justify-content:flex-start; }
    .stats { grid-template-columns:1fr 1fr; gap:9px; }
    .business-filters, .filter-bar { align-items:stretch; flex-direction:column; }
    .business-filters select { width:100%; }
    .admin-action-grid { grid-template-columns:1fr; }
    .county-picker-head { flex-direction:column; }
    .county-checkbox-grid { grid-template-columns:1fr 1fr; }
    .hours-row { grid-template-columns:80px 1fr; }
    .hours-row input { grid-column:2; }
    .admin-gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
.image-remove-single { margin-top:8px; }
.home-search select { border:0; border-left:1px solid var(--line); padding:10px 12px; min-width:210px; background:#fff; }
@media (max-width: 600px) { .home-search select { border-left:0; border-top:1px solid var(--line); min-width:0; width:100%; } }

/* v0.2.5 refinements */
.breadcrumbs { margin:18px 0 24px; font-size:.88rem; color:var(--muted); }
.breadcrumbs ol { display:flex; align-items:center; flex-wrap:wrap; gap:7px; list-style:none; margin:0; padding:0; }
.breadcrumbs li { display:flex; align-items:center; gap:7px; }
.breadcrumbs li:not(:last-child)::after { content:"/"; color:#a1aaa5; }
.breadcrumbs a { color:inherit; text-decoration:none; font-weight:700; }
.breadcrumbs a:hover { color:var(--primary); text-decoration:underline; text-underline-offset:3px; }
.breadcrumbs [aria-current="page"] span { color:var(--ink); font-weight:800; }

.business-lightbox-nav { display:flex; align-items:center; justify-content:center; }
.business-lightbox-nav svg { width:20px; height:20px; display:block; fill:none; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }

.icon-actions { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.icon-button { width:34px; height:34px; padding:0; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:7px; background:#fff; color:var(--ink); text-decoration:none; cursor:pointer; transition:border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease; }
.icon-button:hover { border-color:#9cadA3; background:var(--soft); color:var(--primary); transform:translateY(-1px); }
.icon-button svg { width:17px; height:17px; display:block; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.icon-button.is-muted { color:#647169; }
.icon-button.is-positive { color:#277044; }
.icon-button.is-warning { color:#8a6117; }
.icon-actions form { margin:0; }

.category-cell { display:flex; align-items:center; gap:12px; min-width:230px; }
.category-thumb, .category-thumb-placeholder { width:54px; height:54px; flex:0 0 54px; border-radius:8px; border:1px solid var(--line); background:#edf1ef; object-fit:cover; }
.category-thumb-placeholder { display:grid; place-items:center; color:#89958e; font-size:.68rem; text-align:center; }
.category-image-preview { width:min(340px,100%); aspect-ratio:16/10; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#edf1ef; margin-bottom:10px; }
.category-image-preview img { width:100%; height:100%; display:block; object-fit:cover; }

.bulk-help { margin-bottom:18px; }
.bulk-table-wrap { overflow:auto; border:1px solid var(--line); border-radius:12px; background:#fff; }
.bulk-table { width:100%; min-width:1450px; border-collapse:collapse; }
.bulk-table th, .bulk-table td { padding:9px; border-bottom:1px solid var(--line); vertical-align:top; }
.bulk-table th { position:sticky; top:0; z-index:2; background:#f8faf9; font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); text-align:left; }
.bulk-table input { width:100%; min-width:130px; }
.bulk-table .bulk-name { min-width:220px; }
.bulk-table .bulk-intro { min-width:260px; }
.bulk-row-number { width:36px; text-align:center; color:var(--muted); font-weight:800; }
.bulk-row-errors { margin-top:5px; color:#a22d2d; font-size:.76rem; line-height:1.3; }
.bulk-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; flex-wrap:wrap; }
.bulk-toolbar-left, .bulk-toolbar-right { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.bulk-remove-row { width:30px; height:30px; }
@media (max-width: 600px) { .breadcrumbs { margin:14px 0 18px; } }
.actions-col { width:100px; }

/* v0.2.6 maintenance mode */
.site-mode-card { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0 0 22px; padding:20px 22px; background:#fff; border:1px solid var(--line); border-left:5px solid var(--primary); border-radius:12px; box-shadow:var(--shadow); }
.site-mode-card.is-maintenance { border-left-color:#c58a16; background:#fffdf7; }
.site-mode-card.is-open { border-left-color:#2d7a4b; }
.site-mode-copy h2 { margin:2px 0 5px; font-size:1.22rem; }
.site-mode-copy p { margin:0; color:var(--muted); max-width:760px; }
.site-mode-actions { display:flex; align-items:center; gap:9px; flex:none; }
.site-mode-actions form { margin:0; }
.button-warning { background:#8a6412; }
.button-warning:hover { background:#6f500e; }
.site-mode-pill { display:inline-flex; align-items:center; min-height:28px; padding:4px 9px; border-radius:999px; font-size:.74rem; font-weight:900; letter-spacing:.03em; text-transform:uppercase; }
.site-mode-pill.is-maintenance { background:#fff0c7; color:#76520c; border:1px solid #e7cd87; }
.site-mode-pill.is-open { background:#e2f3e8; color:#22603a; border:1px solid #bcdcc8; }
.admin-preview-bar { background:#2a2d2b; color:#fff; font-size:.86rem; }
.admin-preview-inner { min-height:42px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.admin-preview-inner strong { color:#ffd66f; }
.admin-preview-inner span { color:#e9eeeb; }
.admin-preview-inner a { margin-left:auto; color:#fff; font-weight:800; text-decoration:none; }
.admin-preview-inner a:hover { text-decoration:underline; text-underline-offset:3px; }
.maintenance-body { min-height:100vh; margin:0; background:linear-gradient(145deg,var(--soft) 0%,var(--surface) 48%,var(--soft-2) 100%); color:var(--ink); display:grid; place-items:center; }
.maintenance-shell { width:min(760px,calc(100% - 32px)); padding:42px 0; }
.maintenance-card { background:var(--card-bg); border:1px solid var(--line); border-radius:18px; padding:clamp(30px,6vw,64px); box-shadow:0 22px 70px rgba(20,43,31,.10); text-align:center; }
.maintenance-mark { width:76px; height:76px; margin:0 auto 20px; border-radius:18px; display:grid; place-items:center; background:var(--primary); color:var(--button-text); font-size:1.45rem; font-weight:900; letter-spacing:-.04em; }
.maintenance-eyebrow { margin:0 0 12px; color:var(--primary); font-size:.82rem; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.maintenance-card h1 { margin:0 auto 18px; max-width:600px; font-size:clamp(2rem,5vw,3.65rem); line-height:1.02; letter-spacing:-.045em; }
.maintenance-copy { max-width:590px; margin:0 auto; color:var(--muted); font-size:1.05rem; }
.maintenance-rule { width:72px; height:3px; margin:28px auto 20px; background:var(--accent); border-radius:999px; }
.maintenance-foot { margin:0; font-weight:800; }
@media (max-width: 700px) {
    .site-mode-card { align-items:flex-start; flex-direction:column; }
    .site-mode-actions { width:100%; flex-wrap:wrap; }
    .site-mode-actions > *, .site-mode-actions form, .site-mode-actions button { flex:1; }
    .admin-preview-inner a { margin-left:0; width:100%; }
}

/* v0.2.10 CSV/TXT bulk import */
.bulk-import-card { margin-bottom:22px; }
.bulk-import-head, .bulk-preview-head { display:flex; align-items:flex-start; justify-content:space-between; gap:22px; }
.bulk-import-head h2, .bulk-preview-head h2 { margin:4px 0 8px; }
.bulk-import-head p { margin:0; max-width:830px; }
.bulk-import-form { display:flex; align-items:flex-end; gap:14px; margin-top:20px; padding-top:18px; border-top:1px solid var(--line); }
.bulk-import-file { flex:1; min-width:0; }
.bulk-import-file label { display:block; margin-bottom:7px; }
.bulk-import-file input[type="file"] { width:100%; padding:10px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.bulk-import-file small { display:block; margin-top:7px; color:var(--muted); line-height:1.45; }
.bulk-import-note { margin-top:14px; padding:11px 13px; border-radius:8px; background:var(--soft); color:var(--muted); font-size:.9rem; }
.bulk-preview-card { margin:0 0 24px; }
.bulk-preview-counts { display:flex; gap:9px; flex-wrap:wrap; }
.bulk-preview-counts span { display:inline-flex; align-items:center; gap:5px; padding:7px 10px; border-radius:999px; font-size:.82rem; font-weight:800; white-space:nowrap; }
.bulk-count-ready { background:#e7f4eb; color:#245f39; }
.bulk-count-attention { background:#fff0e9; color:#8b3c1d; }
.bulk-preview-table-wrap { overflow:auto; border:1px solid var(--line); border-radius:10px; }
.bulk-preview-table { width:100%; min-width:900px; border-collapse:collapse; }
.bulk-preview-table th, .bulk-preview-table td { padding:10px 12px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.bulk-preview-table th { background:#f8faf9; color:var(--muted); font-size:.74rem; text-transform:uppercase; letter-spacing:.04em; }
.bulk-preview-table tr.has-error td { background:#fff9f6; }
.bulk-status-ready, .bulk-status-error { display:inline-flex; align-items:center; padding:4px 8px; border-radius:999px; font-size:.75rem; font-weight:900; }
.bulk-status-ready { background:#e7f4eb; color:#245f39; }
.bulk-status-error { background:#ffe9df; color:#8b3c1d; }
.bulk-preview-errors { margin-top:6px; max-width:320px; color:#8b3c1d; font-size:.78rem; line-height:1.35; }
.bulk-preview-bottom-note { margin:14px 0 0; }
.bulk-preview-actions { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
.bulk-manual-divider { display:flex; align-items:center; gap:14px; margin:28px 0 18px; color:var(--muted); font-weight:800; font-size:.9rem; }
.bulk-manual-divider::before, .bulk-manual-divider::after { content:""; flex:1; height:1px; background:var(--line); }
@media (max-width: 760px) {
    .bulk-import-head, .bulk-preview-head, .bulk-import-form, .bulk-preview-actions { align-items:stretch; flex-direction:column; }
    .bulk-import-head .button, .bulk-import-form button, .bulk-preview-actions button { width:100%; text-align:center; }
}

/* v0.2.13 Featured Business Carousel */
.featured-carousel { position:relative; width:100vw; margin:-34px 0 44px calc(50% - 50vw); background:var(--primary-dark); overflow:hidden; }
.featured-carousel-viewport { width:100%; overflow:hidden; }
.featured-carousel-track { display:flex; flex-wrap:nowrap; width:max-content; will-change:transform; }
.featured-carousel-slide { position:relative; flex:0 0 calc(100vw / var(--featured-columns-desktop,4)); width:calc(100vw / var(--featured-columns-desktop,4)); aspect-ratio:3/2; overflow:hidden; display:block; color:#fff; text-decoration:none; background:var(--primary-dark); }
.featured-carousel-slide img { width:100%; height:100%; object-fit:cover; display:block; }
.featured-carousel-slide::after { content:""; position:absolute; inset:auto 0 0; height:48%; background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,0)); pointer-events:none; opacity:.92; }
.featured-carousel-slide:not(:has(.featured-carousel-caption))::after { display:none; }
.featured-carousel-caption { position:absolute; z-index:2; left:0; right:0; bottom:0; padding:28px 20px 18px; display:flex; flex-direction:column; gap:2px; text-shadow:0 1px 3px rgba(0,0,0,.55); }
.featured-carousel-caption strong { color:#fff; font-size:clamp(1rem,1.45vw,1.35rem); line-height:1.12; }
.featured-carousel-caption small { color:rgba(255,255,255,.9); font-size:.83rem; font-weight:700; }
.featured-carousel-nav { position:absolute; z-index:5; top:50%; transform:translateY(-50%); width:42px; height:52px; padding:0; border-radius:0; background:var(--carousel-control); color:var(--carousel-control-text); font-size:2rem; line-height:1; opacity:.18; transition:opacity .16s ease,background .16s ease; }
.featured-carousel:hover .featured-carousel-nav, .featured-carousel:focus-within .featured-carousel-nav { opacity:.94; }
.featured-carousel-nav:hover { background:var(--carousel-control); color:var(--carousel-control-text); }
.featured-carousel-prev { left:0; }
.featured-carousel-next { right:0; }
.featured-carousel-nav[hidden] { display:none; }

/* Featured / Promo Admin */
.promotion-summary-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-bottom:20px; }
.promotion-summary-card { padding:20px 22px; }
.promotion-summary-card strong { display:block; margin:3px 0 0; font-size:2.2rem; line-height:1; }
.promotion-summary-card p { color:var(--muted); margin:8px 0 0; }
.promotion-section { margin-bottom:20px; padding:0; overflow:hidden; }
.promotion-section .admin-section-title-row { padding:22px 24px 0; margin-bottom:18px; }
.promotion-section .empty-state { padding:12px 24px 28px; }
.promotion-business-cell { display:flex; align-items:center; gap:12px; min-width:240px; }
.promotion-business-cell img, .promo-mini-placeholder { width:92px; aspect-ratio:3/2; object-fit:cover; border-radius:6px; border:1px solid var(--line); flex:none; }
.promo-mini-placeholder { display:grid; place-items:center; font-size:.72rem; color:var(--muted); background:var(--soft); }
.promotion-status-active { background:#e2f3e8!important; color:#22603a!important; }
.promotion-status-scheduled { background:#edf2ff!important; color:#34528a!important; }
.promotion-status-paused { background:#fff0c7!important; color:#76520c!important; }
.promotion-status-expired, .promotion-status-cancelled { background:#ecefed!important; color:#66706a!important; }
.promo-slide-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; padding:0 24px 24px; }
.promo-slide-card { border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fff; }
.promo-slide-card.is-inactive { opacity:.58; }
.promo-slide-card > img { width:100%; aspect-ratio:3/2; object-fit:cover; }
.promo-slide-copy { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px; }
.carousel-admin-preview { width:min(560px,100%); aspect-ratio:3/2; margin:0 0 12px; border:1px solid var(--line); border-radius:9px; overflow:hidden; background:var(--soft); }
.carousel-admin-preview img { width:100%; height:100%; object-fit:cover; }
.promotion-history-note { margin:22px 0 0; }

@media (max-width: 900px) {
    .featured-carousel-slide { flex-basis:calc(100vw / var(--featured-columns-tablet,2)); width:calc(100vw / var(--featured-columns-tablet,2)); }
    .promo-slide-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
    .featured-carousel { margin-top:-34px; margin-bottom:30px; }
    .featured-carousel-slide { flex-basis:100vw; width:100vw; }
    .featured-carousel-caption { padding:34px 18px 16px; }
    .featured-carousel-nav { opacity:.82; width:36px; height:46px; }
    .promotion-summary-grid, .promo-slide-grid { grid-template-columns:1fr; }
    .promotion-section .admin-section-title-row { padding:18px 18px 0; }
    .promo-slide-grid { padding:0 18px 18px; }
}

.featured-carousel + .directory-core-hero { padding-top:12px; }

/* v0.2.17 Admin Foundation: Settings + Branding */
.public-brand.has-logo { display:inline-flex; align-items:center; min-width:0; }
.site-logo { display:block; max-width:min(320px,42vw); max-height:50px; width:auto; height:auto; object-fit:contain; }
.admin-brand { display:inline-flex; align-items:center; gap:9px; min-width:0; }
.admin-site-logo { display:block; max-width:230px; max-height:38px; width:auto; height:auto; object-fit:contain; }
.admin-brand-tag { display:inline-flex; align-items:center; padding:3px 7px; border-radius:999px; background:var(--soft-2); color:var(--muted); font-size:.68rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.dashboard-recent-card { margin-top:20px; }
.settings-editor, .branding-editor { display:grid; gap:18px; }
.settings-toggle-card { border:1px solid var(--line); border-radius:10px; background:var(--soft); padding:16px; }
.settings-toggle-card label { display:flex; align-items:flex-start; gap:11px; cursor:pointer; }
.settings-toggle-card input { margin-top:4px; }
.settings-toggle-card span { display:flex; flex-direction:column; gap:3px; }
.settings-toggle-card small { color:var(--muted); font-size:.84rem; line-height:1.45; }
.branding-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.branding-card { min-width:0; }
.branding-preview { min-height:190px; margin-bottom:18px; padding:24px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; text-align:center; border:1px dashed #bdc9c2; border-radius:12px; background:var(--soft); overflow:hidden; }
.branding-logo-preview img { max-width:100%; max-height:150px; width:auto; height:auto; object-fit:contain; }
.branding-logo-preview strong { font-size:1.7rem; overflow-wrap:anywhere; }
.branding-preview > span:not(.favicon-fallback) { color:var(--muted); font-size:.82rem; }
.branding-favicon-preview img { width:112px; height:112px; object-fit:cover; border-radius:18px; box-shadow:var(--shadow); }
.favicon-fallback { width:112px; height:112px; display:grid; place-items:center; border-radius:18px; background:linear-gradient(145deg,var(--primary),var(--primary-dark)); color:var(--accent); font-size:2.25rem; font-weight:900; }
.branding-remove { margin-top:15px; padding-top:15px; border-top:1px solid var(--line); }
.maintenance-logo { display:flex; justify-content:center; margin:0 auto 18px; }
.maintenance-logo img { max-width:min(360px,80vw); max-height:100px; width:auto; height:auto; object-fit:contain; }

@media (max-width: 820px) {
    .branding-grid { grid-template-columns:1fr; }
    .site-logo { max-width:min(300px,75vw); max-height:46px; }
}
@media (max-width: 600px) {
    .admin-site-logo { max-width:150px; max-height:32px; }
    .admin-brand-tag { display:none; }
}


/* v0.2.18 Admin Foundation: Appearance + Themes */
.appearance-theme-manager { margin-bottom:18px; }
.theme-list { display:grid; gap:9px; margin-bottom:20px; }
.theme-list-item { display:flex; align-items:center; justify-content:space-between; gap:16px; border:1px solid var(--line); border-radius:10px; padding:13px 14px; background:#fff; }
.theme-list-item.is-active { border-color:#9fb6a8; background:#f4faf6; }
.theme-list-item.is-editing { box-shadow:inset 3px 0 0 var(--primary); }
.theme-list-item > div:first-child { display:flex; flex-direction:column; gap:2px; min-width:0; }
.theme-list-item > div:first-child span { color:var(--muted); font-size:.82rem; }
.theme-list-actions { display:flex; align-items:center; gap:7px; flex-wrap:wrap; justify-content:flex-end; }
.theme-create-form { padding-top:18px; border-top:1px solid var(--line); }
.theme-create-row { display:grid; grid-template-columns:minmax(220px,1fr) auto; gap:9px; }
.theme-create-row input { width:100%; padding:11px 12px; border:1px solid #b9c4be; border-radius:8px; background:#fff; }
.appearance-editor { display:grid; gap:18px; }
.theme-active-note { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:6px; }
.theme-active-note small { color:var(--muted); }
.theme-color-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.theme-color-control { display:grid; grid-template-columns:50px minmax(0,1fr); gap:8px; align-items:center; }
.theme-color-picker { width:50px; height:42px; padding:3px; border:1px solid #b9c4be; border-radius:8px; background:#fff; cursor:pointer; }
.theme-color-hex { width:100%; min-width:0; padding:10px 11px; border:1px solid #b9c4be; border-radius:8px; background:#fff; font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; text-transform:lowercase; }
.theme-color-hex:focus, .theme-create-row input:focus { outline:3px solid rgba(29,79,53,.12); border-color:var(--primary); }

.theme-typography-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.theme-typography-grid select, .theme-typography-grid input { width:100%; padding:10px 11px; border:1px solid #b9c4be; border-radius:8px; background:#fff; }
.theme-number-control { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:center; }
.theme-number-control span { color:var(--muted); font-weight:800; }
.theme-branding-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.theme-branding-card { min-width:0; border:1px solid var(--line); border-radius:12px; padding:18px; background:var(--soft); }
.theme-branding-preview { min-height:170px; margin-bottom:16px; padding:20px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; border:1px dashed #bdc9c2; border-radius:10px; background:#fff; text-align:center; overflow:hidden; }
.theme-branding-preview img { display:block; max-width:100%; width:auto; height:auto; object-fit:contain; }
.theme-branding-logo-preview img { max-height:120px; }
.theme-branding-favicon-preview img { width:96px; height:96px; object-fit:cover; border-radius:16px; box-shadow:var(--shadow); }
.theme-branding-preview > span:not(.favicon-fallback) { color:var(--muted); font-size:.82rem; }
.theme-branding-preview strong { font-size:1.45rem; overflow-wrap:anywhere; }
.theme-branding-card .branding-remove { border-top-color:#ccd6d0; }
@media (max-width: 980px) { .theme-color-grid, .theme-typography-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 650px) {
    .theme-list-item { align-items:flex-start; flex-direction:column; }
    .theme-list-actions { justify-content:flex-start; }
    .theme-create-row, .theme-color-grid, .theme-typography-grid, .theme-branding-grid { grid-template-columns:1fr; }
    .theme-create-row button { width:100%; }
}

/* FAQs / centralized help */
.tutorial-link { font-weight:800; white-space:nowrap; }
.faq-page-head { max-width:780px; margin-bottom:24px; }
.faq-page-head h1 { margin-bottom:8px; }
.faq-page-head p { margin:0; color:var(--muted); font-size:1.02rem; }
.faq-list { display:grid; gap:12px; max-width:960px; }
.faq-item { background:var(--card-bg); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.faq-item summary { cursor:pointer; list-style:none; padding:19px 22px; font-weight:900; font-size:1.04rem; color:var(--ink); display:flex; align-items:center; justify-content:space-between; gap:18px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:'+'; font-size:1.45rem; line-height:1; color:var(--primary); }
.faq-item[open] summary::after { content:'–'; }
.faq-item[open] summary { border-bottom:1px solid var(--line); }
.faq-answer { padding:20px 22px 24px; }
.faq-answer-text { line-height:1.7; }
.faq-video { width:100%; max-width:820px; aspect-ratio:16 / 9; margin-top:20px; border-radius:12px; overflow:hidden; background:#111; }
.faq-video iframe { width:100%; height:100%; border:0; display:block; }
@media (max-width: 640px) {
    .faq-item summary { padding:16px 17px; }
    .faq-answer { padding:17px; }
}
.icon-button.is-danger { color:var(--danger); }

/* Pages CMS */
.footer-main--cms { grid-template-columns:minmax(250px,1.4fr) repeat(3,minmax(150px,.7fr)); gap:38px; }
.admin-stack { display:grid; gap:20px; }
.input-prefix { display:flex; align-items:center; border:1px solid #bcc8c1; border-radius:8px; background:#fff; overflow:hidden; }
.input-prefix > span { padding:10px 0 10px 12px; color:var(--muted); }
.input-prefix input { border:0!important; border-radius:0!important; flex:1; min-width:0; }
.page-image-current { margin-top:12px; display:flex; align-items:center; gap:14px; }
.page-image-current img { width:150px; max-height:90px; object-fit:cover; border-radius:8px; border:1px solid var(--line); }
.rich-editor-shell { border:1px solid #bcc8c1; border-radius:10px; overflow:hidden; background:#fff; }
.rich-editor-toolbar { display:flex; flex-wrap:wrap; gap:5px; padding:7px; border-bottom:1px solid var(--line); background:var(--soft); }
.rich-editor-toolbar .rich-tool { min-height:32px; padding:5px 9px; border-radius:6px; background:#fff; color:var(--ink); border:1px solid var(--line); font-size:.82rem; font-weight:800; }
.rich-editor-toolbar .rich-tool:hover { background:var(--soft-2); color:var(--ink); }
.rich-editor { min-height:300px; padding:18px; outline:none; line-height:1.6; }
.page-sidebar-editor .rich-editor { min-height:190px; }
.rich-editor:focus { box-shadow:inset 0 0 0 2px rgba(29,79,53,.16); }
.rich-editor h2, .rich-editor h3 { margin-top:1.2em; }
.page-sidebar-editor.is-hidden { display:none; }
.sticky-save-bar { position:sticky; bottom:14px; z-index:12; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:14px 16px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.96); box-shadow:0 10px 35px rgba(0,0,0,.1); backdrop-filter:blur(8px); }
.sticky-save-bar > div:first-child { display:flex; flex-direction:column; gap:2px; }
.cms-page { margin:14px auto 20px; }
.cms-layout-standard { max-width:900px; }
.cms-layout-wide { max-width:1180px; }
.cms-layout-sidebar-right, .cms-layout-sidebar-left { max-width:1180px; }
.cms-page-heading { margin:24px 0 28px; }
.cms-page-heading h1 { margin:6px 0 0; font-size:clamp(2.5rem,6vw,4.6rem); line-height:1; letter-spacing:-.04em; }
.cms-page-featured { margin:0 0 30px; border-radius:16px; overflow:hidden; border:1px solid var(--line); background:var(--card-bg); }
.cms-page-featured img { width:100%; max-height:620px; object-fit:cover; }
.cms-page-grid { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:36px; align-items:start; }
.cms-page-grid.sidebar-left { grid-template-columns:330px minmax(0,1fr); }
.cms-page-grid.sidebar-left > .cms-prose:first-child { grid-column:2; grid-row:1; }
.cms-page-grid.sidebar-left > .cms-sidebar { grid-column:1; grid-row:1; }
.cms-sidebar { display:grid; gap:16px; position:sticky; top:92px; }
.cms-sidebar-module { background:var(--card-bg); border:1px solid var(--line); border-radius:14px; padding:20px; }
.cms-sidebar-module h3 { margin:0 0 12px; font-size:1.08rem; }
.cms-sidebar-prose { font-size:.98rem; }
.cms-module-list { list-style:none; margin:0; padding:0; }
.cms-module-list li + li { border-top:1px solid var(--line); }
.cms-module-list a { display:flex; gap:10px; align-items:center; justify-content:space-between; padding:10px 0; text-decoration:none; }
.cms-module-list a:hover strong, .cms-module-list a:hover span { text-decoration:underline; }
.cms-module-list small { color:var(--muted); font-size:.78rem; font-weight:700; }
.business-module-list a { display:block; }
.business-module-list strong { display:block; color:var(--ink); line-height:1.25; }
.business-module-list small { display:block; margin-top:3px; }
.cms-module-more { display:inline-block; margin-top:13px; font-size:.86rem; font-weight:800; }
.cms-module-slots { margin-top:4px; }
.cms-prose { font-size:1.05rem; line-height:1.72; }
.cms-prose > :first-child { margin-top:0; }
.cms-prose > :last-child { margin-bottom:0; }
.cms-prose h2 { margin:1.6em 0 .55em; font-size:2rem; letter-spacing:-.025em; }
.cms-prose h3 { margin:1.4em 0 .5em; font-size:1.45rem; }
.cms-prose p, .cms-prose ul, .cms-prose ol, .cms-prose blockquote { margin:0 0 1.15em; }
.cms-prose blockquote { border-left:4px solid var(--accent); padding:4px 0 4px 18px; color:var(--muted); }
.cms-prose a { font-weight:700; }
.cms-preview-notice { margin-top:0; }

@media (max-width: 980px) {
    .footer-main--cms { grid-template-columns:1fr 1fr; }
    .footer-main--cms .footer-brand-block { grid-column:1 / -1; }
    .cms-page-grid, .cms-page-grid.sidebar-left { grid-template-columns:1fr; }
    .cms-page-grid.sidebar-left > .cms-prose:first-child, .cms-page-grid.sidebar-left > .cms-sidebar { grid-column:auto; grid-row:auto; }
    .cms-sidebar { position:static; }
}
@media (max-width: 640px) {
    .footer-main--cms { grid-template-columns:1fr; }
    .footer-main--cms .footer-brand-block { grid-column:auto; }
    .sticky-save-bar { position:static; align-items:stretch; flex-direction:column; }
    .sticky-save-bar .form-actions { width:100%; }
    .sticky-save-bar .form-actions > * { flex:1; }
    .rich-editor-toolbar { gap:4px; }
}

/* CMS rich media + advanced sidebar coding */
.rich-editor-source { width:100%; min-height:300px; padding:18px; border:0; outline:none; resize:vertical; font:14px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background:#101714; color:#e8f0eb; }
.page-sidebar-editor .rich-editor-source { min-height:190px; }
.rich-editor-toolbar .rich-tool.is-active { background:var(--primary); color:#fff; border-color:var(--primary); }
.rich-editor img, .cms-prose img { max-width:100%; height:auto; border-radius:10px; }
.cms-content-image { margin:1.1em 0; }
.cms-content-image img { display:block; max-width:100%; height:auto; }
.cms-video { position:relative; width:100%; aspect-ratio:16/9; margin:1.1em 0; overflow:hidden; border-radius:10px; background:#111; }
.cms-video iframe { width:100%; height:100%; border:0; display:block; }
.cms-code-editor { width:100%; min-height:240px; font:13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size:4; }
.cms-sidebar-code { overflow-wrap:anywhere; }
.cms-sidebar-code iframe, .cms-sidebar-code img, .cms-sidebar-code video, .cms-sidebar-code audio { max-width:100%; }


/* Business owner account foundation */
.account-register-card { max-width: 720px; }
.account-auth-form { display: grid; gap: 10px; }
.account-auth-form label { font-weight: 800; }
.account-auth-form button { justify-self: start; margin-top: 8px; }
.auth-switch { margin: 18px 0 0; }
.account-page-head { align-items: flex-start; }
.account-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.account-summary-card { display: grid; gap: 8px; }
.account-summary-card p { margin: 0; color: var(--muted); }
.account-summary-number { font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.account-businesses-panel { display: grid; gap: 18px; }
.account-business-list { display: grid; gap: 10px; }
.account-business-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid var(--border); }
.account-business-row:first-child { border-top: 0; }
.account-business-row > div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) {
    .account-summary-grid { grid-template-columns: 1fr; }
    .account-business-row { align-items: flex-start; flex-direction: column; }
}

/* Business owner listing workflow */
.owner-draft-note { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin:0 0 18px; padding:14px 16px; border:1px solid var(--line); border-radius:10px; background:var(--soft-2); }
.owner-draft-note span { color:var(--muted); }
.owner-business-editor .admin-card { box-shadow:var(--shadow); }
.account-list-heading { gap:18px; flex-wrap:wrap; }
.account-business-actions { justify-content:flex-end; }
.owner-save-bar .save-bar-actions { flex-wrap:wrap; }
@media (max-width:720px) {
    .account-list-heading { align-items:flex-start; flex-direction:column; }
    .account-business-actions { width:100%; justify-content:flex-start; }
    .owner-save-bar .save-bar-actions { width:100%; }
    .owner-save-bar .save-bar-actions > * { flex:1 1 auto; }
}

/* v0.3.2 Business Owner moderation */
.review-summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.review-summary-grid > div { display:grid; gap:4px; padding:16px; border:1px solid var(--border); border-radius:10px; background:var(--card-bg); }
.review-summary-grid strong { font-size:1.05rem; }
.review-summary-grid span:not(.eyebrow) { color:var(--muted); }
.review-cover-preview { margin-top:18px; overflow:hidden; border-radius:12px; border:1px solid var(--border); }
.review-cover-preview img { display:block; width:100%; max-height:360px; object-fit:cover; }
.review-copy-block { margin-top:18px; }
.review-copy-block p { margin-bottom:0; }
.moderation-actions-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.moderation-decision-card { padding:18px; border:1px solid var(--border); border-radius:12px; background:var(--card-bg); }
.moderation-decision-card h3 { margin-top:0; }
.moderation-decision-card form { display:grid; gap:10px; }
.review-history-list { display:grid; gap:10px; }
.review-history-list article { padding:14px 0; border-top:1px solid var(--border); }
.review-history-list article:first-child { border-top:0; }
.review-history-list article > span { margin-left:8px; color:var(--muted); font-size:.9rem; }
.review-history-list p { margin:8px 0 0; }
.account-return-note { flex-basis:100%; color:#76540c; font-size:.92rem; line-height:1.45; }
.owner-review-note { display:grid; gap:6px; }

@media (max-width: 900px) {
    .review-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .moderation-actions-grid { grid-template-columns:1fr; }
}
@media (max-width: 560px) {
    .review-summary-grid { grid-template-columns:1fr; }
}

/* Pagination */
.pagination-wrap { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:24px 0 8px; flex-wrap:wrap; }
.table-card > .pagination-wrap { margin:0; padding:14px 16px; border-top:1px solid var(--line); background:#fafcfb; }
.pagination-summary { color:var(--muted); font-size:.9rem; }
.pagination { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.pagination-link { min-width:38px; min-height:38px; display:inline-flex; align-items:center; justify-content:center; padding:7px 11px; border:1px solid var(--line); border-radius:8px; background:var(--card-bg); color:var(--ink); text-decoration:none; font-weight:800; font-size:.9rem; }
.pagination-link:hover { border-color:var(--primary); color:var(--primary); }
.pagination-link.is-current { background:var(--primary); border-color:var(--primary); color:var(--button-text); }
.pagination-link.is-disabled { opacity:.45; cursor:not-allowed; }
.pagination-prev, .pagination-next { min-width:auto; }
.pagination-ellipsis { color:var(--muted); padding:0 2px; }

@media (max-width: 600px) {
    .pagination-wrap { align-items:flex-start; flex-direction:column; }
    .pagination { width:100%; }
    .pagination-prev, .pagination-next { flex:1; }
}


/* v0.3.4 Admin Pages pagination + compact actions */
.page-actions-col { width:96px !important; min-width:96px; }
.page-action-grid {
    display:grid;
    grid-template-columns:repeat(2, 34px);
    gap:7px;
    justify-content:end;
    align-items:center;
}
.page-action-grid .inline-form { margin:0; }
.page-action-grid .icon-button { margin:0; }

/* v0.3.7 FAQ-specific compact actions.
   Keep this class isolated from the Admin Dashboard's .admin-action-grid. */
.faq-action-grid {
    display:grid;
    grid-template-columns:repeat(2, 34px);
    gap:7px;
    justify-content:end;
    align-items:center;
}
.faq-action-grid .inline-form { margin:0; }
.faq-action-grid .icon-button { margin:0; }
.faq-action-spacer { width:34px; height:34px; display:block; }
.faq-actions-col { width:96px !important; min-width:96px; }

/* Hot Spot Biz — v0.3.12 */
.promotion-summary-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.hot-spot-summary-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.promotion-status-draft { background:#f2f3f2!important; color:#59645e!important; }
.hot-spot-table .promotion-business-cell img { width:72px; height:54px; object-fit:cover; border-radius:7px; }
.hot-spot-actions-col { width:96px !important; min-width:96px; }
.hot-spot-action-grid { display:grid; grid-template-columns:repeat(2,34px); gap:7px; justify-content:end; align-items:center; }
.hot-spot-action-grid .inline-form, .hot-spot-action-grid .icon-button { margin:0; }
.hot-spot-image-admin-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr); gap:24px; align-items:start; }
.hot-spot-current-image { display:grid; gap:8px; }
.hot-spot-current-image img { width:100%; max-height:280px; object-fit:cover; border-radius:10px; border:1px solid var(--line); background:var(--soft); }
.hot-spot-current-image > span { color:var(--muted); font-size:.84rem; font-weight:800; }
.hot-spot-remove-image { margin-top:12px; }
.hot-spot-remove-image, .hot-spot-publish-check { display:flex; flex-direction:row; align-items:center; gap:9px; font-weight:800; }
.hot-spot-remove-image input, .hot-spot-publish-check input { width:auto; }
.hot-spot-schedule-law { margin-bottom:12px; }
.hot-spot-gallery-admin-section { margin-top:24px; }
.hot-spot-gallery-admin { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:22px; }
.hot-spot-gallery-admin-item { overflow:hidden; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.hot-spot-gallery-admin-item img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.hot-spot-gallery-admin-item form { padding:10px; }
.hot-spot-gallery-upload { display:flex; gap:16px; align-items:end; padding-top:4px; }
.hot-spot-gallery-upload .field-group { flex:1; }

.hot-spot-home { margin-top:64px; }
.hot-spot-home-panel { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); overflow:hidden; border:1px solid var(--line); border-radius:16px; background:var(--card-bg); box-shadow:var(--shadow); }
.hot-spot-home-copy { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:clamp(30px,5vw,64px); }
.hot-spot-home-business { margin-top:12px; color:var(--muted); font-weight:900; }
.hot-spot-home-copy h2 { margin:7px 0 14px; font-size:clamp(2rem,4vw,3.7rem); line-height:1; letter-spacing:-.035em; }
.hot-spot-home-copy p { margin:0 0 16px; color:var(--muted); font-size:1.08rem; }
.hot-spot-home-meta { margin:0 0 22px; color:var(--primary); font-weight:800; }
.hot-spot-home-image { min-height:390px; background:linear-gradient(145deg,var(--primary),var(--primary-dark)); display:grid; place-items:center; overflow:hidden; color:var(--accent); text-decoration:none; }
.hot-spot-home-image img { width:100%; height:100%; object-fit:cover; }
.hot-spot-home-image > span { font-size:7rem; font-weight:900; }

.hot-spot-detail { padding-bottom:30px; }
.hot-spot-article-header { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:0; overflow:hidden; border:1px solid var(--line); border-radius:18px; background:var(--card-bg); box-shadow:var(--shadow); }
.hot-spot-article-heading { padding:clamp(30px,5vw,66px); align-self:center; }
.hot-spot-article-business { margin-top:12px; color:var(--primary); font-weight:900; }
.hot-spot-article-heading h1 { margin:7px 0 18px; font-size:clamp(2.4rem,5vw,4.7rem); line-height:.98; letter-spacing:-.045em; }
.hot-spot-article-intro { margin:0; color:var(--muted); font-size:1.15rem; line-height:1.7; }
.hot-spot-article-meta { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:18px; color:var(--muted); font-weight:800; }
.hot-spot-article-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.hot-spot-article-hero { min-height:480px; background:var(--soft-2); }
.hot-spot-article-hero > img { width:100%; height:100%; object-fit:cover; }
.hot-spot-image-placeholder { width:100%; height:100%; min-height:480px; display:grid; place-items:center; background:linear-gradient(145deg,var(--primary),var(--primary-dark)); color:var(--accent); }
.hot-spot-image-placeholder span { font-size:9rem; font-weight:900; }
.hot-spot-highlight-quote { width:min(900px,92%); margin:46px auto 0; padding:26px 30px; border-left:5px solid var(--accent); background:var(--card-bg); border-radius:0 12px 12px 0; box-shadow:var(--shadow); font-family:var(--font-heading); font-size:clamp(1.35rem,2.5vw,2rem); font-weight:800; line-height:1.35; }
.hot-spot-story { width:min(900px,92%); margin:46px auto; font-size:1.05rem; line-height:1.78; }
.hot-spot-story h2 { margin-top:2.2em; font-size:2rem; }
.hot-spot-story h3 { margin-top:1.8em; font-size:1.45rem; }
.hot-spot-story img { max-width:100%; height:auto; border-radius:10px; }
.hot-spot-story iframe { width:100%; aspect-ratio:16/9; height:auto; border:0; border-radius:10px; }
.hot-spot-gallery-section { margin:56px 0; }
.hot-spot-gallery a { aspect-ratio:4/3; }
.hot-spot-business-cta { display:flex; align-items:center; justify-content:space-between; gap:30px; margin-top:48px; }
.hot-spot-business-cta h2 { margin:4px 0 6px; }
.hot-spot-business-cta p { margin:0; color:var(--muted); }

@media (max-width: 900px) {
    .hot-spot-summary-grid, .promotion-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .hot-spot-image-admin-grid { grid-template-columns:1fr; }
    .hot-spot-gallery-admin { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .hot-spot-home-panel, .hot-spot-article-header { grid-template-columns:1fr; }
    .hot-spot-home-image { min-height:320px; order:-1; }
    .hot-spot-article-hero { min-height:360px; order:-1; }
}
@media (max-width: 600px) {
    .hot-spot-summary-grid, .promotion-summary-grid { grid-template-columns:1fr; }
    .hot-spot-gallery-admin { grid-template-columns:1fr 1fr; }
    .hot-spot-gallery-upload, .hot-spot-business-cta { align-items:stretch; flex-direction:column; }
    .hot-spot-article-heading { padding:28px 22px 32px; }
    .hot-spot-home-copy { padding:28px 22px 32px; }
    .hot-spot-home-image, .hot-spot-article-hero { min-height:270px; }
}


/* v0.3.16 Business User Admin */
.button-danger { background:var(--danger); color:#fff; }
.button-danger:hover { background:#7d2020; color:#fff; }
.business-user-summary-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.business-user-filters select { width:auto; min-width:170px; }
.business-user-actions-col { width:96px !important; min-width:96px; }
.business-user-action-grid { display:grid; grid-template-columns:repeat(2,34px); gap:7px; justify-content:end; align-items:center; }
.business-user-action-grid .inline-form, .business-user-action-grid .icon-button { margin:0; }
.business-user-summary-date { font-size:.92rem !important; line-height:1.35; }
.business-user-paid-toggle { display:flex!important; align-items:flex-start; gap:10px; margin:0!important; padding:13px 14px; border:1px solid var(--line); border-radius:9px; background:var(--soft-2); cursor:pointer; font-weight:700!important; }
.business-user-paid-toggle input { width:auto!important; margin-top:3px; }
.business-user-paid-toggle span { display:grid; gap:3px; }
.business-user-paid-toggle small { color:var(--muted); font-weight:500; }
.business-user-paid-toggle.is-locked { opacity:.72; cursor:not-allowed; }
.business-user-business-list { display:grid; }
.business-user-business-list > a { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px 0; border-top:1px solid var(--line); color:inherit; text-decoration:none; }
.business-user-business-list > a:first-child { border-top:0; }
.business-user-business-list > a > div { display:grid; gap:3px; }
.business-user-business-list > a > div span { color:var(--muted); font-size:.84rem; }
.business-user-business-list > a:hover strong { color:var(--primary); }
.business-user-danger-zone { border-color:#e8caca; }
.business-user-danger-row { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.business-user-danger-row > div { display:grid; gap:4px; }
.business-user-danger-row > div span { color:var(--muted); font-size:.9rem; }
.business-user-danger-row form { margin:0; }
@media (max-width: 900px) {
    .business-user-summary-grid { grid-template-columns:1fr; }
    .business-user-danger-row { align-items:flex-start; flex-direction:column; }
}

/* v0.3.17 Contact + Email */
.public-contact-form { display:grid; gap:18px; }
.public-contact-form .form-actions { margin-top:4px; }
.public-contact-form button[disabled] { opacity:.55; cursor:not-allowed; }
.contact-honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.contact-page-head { max-width:850px; }
.contact-page-card { max-width:920px; }
.contact-unavailable-note { align-self:start; margin:0; }
.email-enable-card { margin-bottom:22px; }
.email-settings-grid { margin-bottom:22px; }
.smtp-settings-panel { border-top:1px solid var(--line); padding-top:20px; }
.smtp-settings-panel h3 { margin:0 0 16px; font-size:1.05rem; }
.email-test-card { margin-top:18px; }
.email-test-form { display:flex; gap:12px; align-items:end; max-width:760px; }
.email-test-form .field-group { flex:1; }
.email-test-form button { flex:none; }

@media (max-width: 700px) {
    .email-test-form { align-items:stretch; flex-direction:column; }
}

/* v0.3.18 Promotion Results */
.promotion-results-summary-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.promotion-result-detail { padding:24px; }
.promotion-result-meta-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:22px; }
.promotion-result-meta-row > div { display:grid; align-content:start; gap:5px; padding:16px; border:1px solid var(--line); border-radius:10px; background:var(--soft); }
.promotion-result-meta-row strong { font-size:1.05rem; }
.promotion-result-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0 0 24px; }
.promotion-result-metrics article { display:grid; gap:5px; padding:20px; border:1px solid var(--line); border-radius:12px; background:var(--card-bg); }
.promotion-result-metrics span { color:var(--muted); font-size:.82rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.promotion-result-metrics strong { font-size:clamp(2rem,4vw,3.2rem); line-height:1; }
.promotion-activity-block { padding-top:4px; }
.promotion-chart-heading { display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom:12px; }
.promotion-chart-heading h3 { margin:3px 0 0; }
.promotion-chart-scroll { overflow-x:auto; padding:10px 2px 2px; }
.promotion-chart { display:flex; align-items:stretch; gap:4px; min-width:100%; height:210px; padding:0 0 1px; border-bottom:1px solid var(--line); }
.promotion-chart-day { position:relative; display:flex; align-items:flex-end; justify-content:center; flex:1 0 12px; min-width:12px; height:100%; padding-bottom:29px; }
.promotion-chart-bar { width:min(100%,20px); min-height:3px; background:var(--primary); border-radius:4px 4px 0 0; }
.promotion-chart-bar.is-zero { min-height:1px; background:var(--line); }
.promotion-chart-date { position:absolute; left:50%; bottom:2px; transform:translateX(-50%) rotate(-45deg); transform-origin:center; color:var(--muted); font-size:.65rem; white-space:nowrap; }
.promotion-chart-date.is-hidden-label { visibility:hidden; }
.promotion-chart-note { margin:9px 0 0; color:var(--muted); font-size:.82rem; }
.promotion-chart-empty { padding:28px; border:1px dashed var(--line); border-radius:10px; background:var(--soft); color:var(--muted); text-align:center; }
.promotion-owner-summary { margin-top:0; }
.owner-promotion-result-card { margin-bottom:20px; }
.promotion-result-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:18px; }
.promotion-result-card-head h2 { margin:3px 0 4px; }
.promotion-result-card-head p { margin:0; }

@media (max-width:900px) {
    .promotion-results-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .promotion-result-meta-row { grid-template-columns:1fr; }
}
@media (max-width:600px) {
    .promotion-results-summary-grid, .promotion-result-metrics { grid-template-columns:1fr; }
    .promotion-result-detail { padding:18px; }
    .promotion-result-card-head, .promotion-chart-heading { align-items:flex-start; flex-direction:column; }
}
