* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #FAF9F7;
    min-height: 100vh;
    color: #1A1915;
    overflow-x: hidden;
}

h1 {
   letter-spacing:-1px;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: #F5F3EE;
    border-right: 1px solid #E8E5DE;
    padding: 2rem 0 5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.logo {
    padding: 0 1.5rem 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A1915;
    letter-spacing: -0.5px;
    display: block;
    text-decoration: none;
}

.sidebar-header .logo {
    padding-bottom: 0;
}

.nav-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #8A8578;
    padding: 1rem 1.5rem 0.4rem;
    border-top: 1px solid #E8E5DE;
    margin-top: 0.25rem;
}

.nav-section-btn {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #C15F3C;
    text-decoration: none;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: #FBF3EF;
    transition: color 0.15s, background 0.15s;
}

.nav-section-btn:hover {
    color: #fff;
    background: #C15F3C;
}
.nav-section:first-child {
    border-top: none;
    margin-top: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    color: #57544C;
    cursor: pointer;
    transition: all 0.15s;
    font-weight: 400;
    text-decoration: none;
    font-size: 0.9rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nav-item:hover {
    background: #EDEAE3;
    color: #1A1915;
}

.nav-item-site {
    padding-left: 2.5rem;
    font-size: 0.85rem;
    color: #8A8578;
}

.nav-item.active {
    background: #F5EDE8;
    color: #1A1915;
    border-right: 2px solid #C15F3C;
}

/* Main Content */
.main-content {
    margin-left: 260px;
    flex: 1;
    padding: 2rem;
}

.header {
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.header p {
    color: #78756D;
}

/* Cards */
.card {
    background: #ffffff;
    padding: 1.5rem;
    border: 1px solid #E8E5DE;
    border-radius: 12px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1A1915;
}

.card-action {
    color: #57544C;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}

.card-action:hover {
    color: #C15F3C;
}

/* Table */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 0.75rem;
    font-size: 0.75rem;
    color: #78756D;
    font-weight: 600;
    border-bottom: 2px solid #E8E5DE;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #EDEAE3;
    color: #1A1915;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background: #F5F3EE;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #E8E5DE;
    color: #1A1915;
}

/* Buttons */
.btn {
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}

.btn-primary {
    background: #C15F3C;
    color: #fff;
}

.btn-primary:hover { background: #A8502F; }

.btn-secondary {
    background: transparent;
    color: #C15F3C;
    border-color: #C15F3C;
}

.btn-secondary:hover {
    background: #FBF3EF;
}

.btn-ghost {
    background: transparent;
    color: #57544C;
    border-color: #E8E5DE;
}

.btn-ghost:hover {
    background: #EDEAE3;
    color: #1A1915;
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

.btn-edit {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid #E8E5DE;
    background: #fff;
    color: #57544C;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-edit:hover {
    background: #EDEAE3;
    border-color: #8A8578;
    color: #1A1915;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #57544C;
    margin-bottom: 0.5rem;
}

input[type="text"] {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1px solid #E8E5DE;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1A1915;
    background: #fff;
    transition: border-color 0.15s;
    outline: none;
}

input[type="text"]:focus { border-color: #C15F3C; }

input[type="file"] {
    width: 100%;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-family: inherit;
    color: #57544C;
    cursor: pointer;
}

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-list label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #1A1915;
    cursor: pointer;
}

.checkbox-list input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #C15F3C;
    cursor: pointer;
    flex-shrink: 0;
}

.form-hint {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: #8A8578;
}

.errorlist {
    list-style: none;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #ef4444;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #EDEAE3;
}

/* Modal */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.modal-backdrop.open {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #E8E5DE;
    width: 100%;
    max-width: 480px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    position: relative;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-desc {
    font-size: 0.875rem;
    color: #78756D;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #8A8578;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
}

.modal-close:hover { color: #1A1915; }

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    color: #57544C;
    text-decoration: none;
    margin-bottom: 1.5rem;
    padding: 0.45rem 0.875rem;
    border: 1px solid #E8E5DE;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.back-link:hover {
    background: #EDEAE3;
    border-color: #8A8578;
    color: #1A1915;
}

/* Sites grid */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.site-card {
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A1915;
    text-decoration: none;
}

.site-card-name:hover {
    text-decoration: underline;
    color: #C15F3C;
}

.site-card-address {
    font-size: 0.8rem;
    color: #78756D;
}

.site-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #78756D;
}

.site-card-actions {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
}

.site-card-btn {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    border: 1px solid #E8E5DE;
    background: #fff;
    color: #57544C;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.site-card-btn:hover {
    background: #EDEAE3;
    border-color: #8A8578;
    color: #1A1915;
}

.site-card-btn.primary {
    background: #C15F3C;
    border-color: #C15F3C;
    color: #fff;
}

.site-card-btn.primary:hover {
    background: #A8502F;
    border-color: #A8502F;
}

.site-card-add {
    border: 2px dashed #E8E5DE;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: none;
    font-family: inherit;
    color: #8A8578;
    cursor: pointer;
    min-height: 140px;
    transition: border-color 0.15s, color 0.15s;
    width: 100%;
}

.site-card-add:hover {
    border-color: #C15F3C;
    color: #C15F3C;
}

.site-card-add-icon {
    font-size: 2rem;
    line-height: 1;
}

.site-card-add-label {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Maps grid */
.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.section .maps-grid {
    margin-top: 1.5rem;
}

.map-card {
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.map-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background: #EDEAE3;
}

.map-card-img-placeholder {
    width: 100%;
    height: 160px;
    background: #EDEAE3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8A8578;
    font-size: 0.8rem;
}

.map-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.map-card-img-link {
    display: block;
    line-height: 0;
}

.map-card-img-link:hover .map-card-img,
.map-card-img-link:hover .map-card-img-placeholder {
    opacity: 0.85;
}

.map-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1915;
    text-decoration: none;
}

.map-card-name:hover {
    text-decoration: underline;
    color: #C15F3C;
}

.map-card-meta {
    font-size: 0.8rem;
    color: #78756D;
}

.map-card-actions {
    margin-top: auto;
    padding-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.map-card-btn {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    border: 1px solid #E8E5DE;
    background: #fff;
    color: #57544C;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.map-card-btn:hover {
    background: #EDEAE3;
    border-color: #8A8578;
    color: #1A1915;
}

.map-card-btn.primary {
    background: #C15F3C;
    border-color: #C15F3C;
    color: #fff;
}

.map-card-btn.primary:hover {
    background: #A8502F;
    border-color: #A8502F;
}

.map-card-add {
    border: 2px dashed #E8E5DE;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: none;
    font-family: inherit;
    color: #8A8578;
    cursor: pointer;
    min-height: 160px;
    transition: border-color 0.15s, color 0.15s;
    width: 100%;
}

.map-card-add:hover {
    border-color: #C15F3C;
    color: #C15F3C;
}

.map-card-add-icon {
    font-size: 2rem;
    line-height: 1;
}

.map-card-add-label {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Current image preview (map edit modal) */
.current-img-preview {
    display: none;
    margin-bottom: 0.6rem;
}

.current-img-preview img {
    max-height: 72px;
    border-radius: 4px;
    border: 1px solid #E8E5DE;
    display: block;
}

/* Inline site edit form on map list page */
.site-inline-form {
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.card .site-inline-form {
    margin-bottom: 0;
}

.maps-section-header {
    margin-bottom: 1.25rem;
}

.markers-table-section.card {
    margin-top: 0;
}

.page-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8A8578;
    margin-bottom: 0.2rem;
}

.page-header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.page-header-actions form {
    display: contents;
}

.welcome-card {
    max-width: 560px;
    padding: 2.5rem;
}

.welcome-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A1915;
    margin-bottom: 0.25rem;
}

.welcome-sub {
    color: #78756D;
    margin-bottom: 1.25rem;
}

.welcome-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: #57544C;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #EDEAE3;
}

.welcome-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.welcome-btn-tutorial {
    background: #C15F3C;
    border-color: #C15F3C;
}

.welcome-btn-tutorial:hover {
    background: #A8502F;
    border-color: #A8502F;
}

.welcome-or {
    color: #8A8578;
    font-size: 0.85rem;
}

/* Site detail */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.meta-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-chip {
    font-size: 0.8rem;
    color: #57544C;
    background: #EDEAE3;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ── Tutorial page ─────────────────────────────────────────────── */

/* Tutorial hero header */
.tutorial-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tutorial-hero-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
}

.tutorial-hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1A1915;
    margin-bottom: 0.6rem;
}

.tutorial-hero-sub {
    color: #78756D;
    font-size: 0.95rem;
}

.page-header .tutorial-hero {
    margin-bottom: 0;
}

/* Intro card */
.tutorial-intro {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.tutorial-intro-icon {
    flex-shrink: 0;
    font-size: 2rem;
    line-height: 1;
    margin-top: 0.1rem;
}

.tutorial-intro-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1915;
    margin-bottom: 0.5rem;
}

.tutorial-intro-body p {
    color: #57544C;
    line-height: 1.65;
}

/* Section label */
.tutorial-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8A8578;
    margin-bottom: 0.75rem;
}

/* Steps grid */
.tutorial-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tutorial-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}

.tutorial-step-header {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.tutorial-step-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.tutorial-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #1A1915;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tutorial-step-icon {
    display: flex;
}

.tutorial-step-icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.tutorial-step-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1A1915;
}

.tutorial-step-body {
    color: #57544C;
    font-size: 0.875rem;
    line-height: 1.65;
}

.tutorial-step-body a {
    color: #C15F3C;
    text-decoration: none;
}

.tutorial-step-body a:hover {
    text-decoration: underline;
}

/* Tips card */
.tutorial-tips {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.tutorial-tips-icon {
    flex-shrink: 0;
    font-size: 2rem;
    line-height: 1;
    margin-top: 0.1rem;
}

.tutorial-tips-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.tutorial-tips-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1915;
}

.tutorial-tips-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tutorial-tips-list li {
    padding-left: 1.1rem;
    position: relative;
    color: #57544C;
    font-size: 0.875rem;
    line-height: 1.6;
}

.tutorial-tips-list li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #8A8578;
}

.tutorial-tips-list a {
    color: #C15F3C;
    text-decoration: none;
}

.tutorial-tips-list a:hover {
    text-decoration: underline;
}

/* Closing callout */
.tutorial-callout {
    background: #F5F3EE;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    color: #78756D;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 680px) {
    .tutorial-steps {
        grid-template-columns: 1fr;
    }
    .tutorial-intro {
        flex-direction: column;
    }
}

/* ── Settings page ─────────────────────────────────────────────── */

.settings-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 900px) {
    .settings-form {
        grid-template-columns: 1fr;
    }
}

.settings-section {
    padding: 1.5rem;
}

.settings-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1915;
    margin: 0 0 0.25rem;
}

.settings-section-desc {
    font-size: 0.82rem;
    color: #8A8578;
    margin: 0 0 1.25rem;
}

.settings-toggle-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #1A1915;
    cursor: pointer;
}

.settings-upgrade-hint {
    font-size: 0.82rem;
    color: #78756D;
    background: #F7F5F0;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid #E8E5DE;
}

.settings-upgrade-hint a {
    color: #C15F3C;
    font-weight: 600;
}

.settings-plan-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    background: #F3F1EC;
    color: #78756D;
    vertical-align: middle;
    margin-left: 0.4rem;
}

.settings-input:disabled,
.settings-input[disabled] {
    background: #F7F5F0;
    color: #8A8578;
    cursor: not-allowed;
    border-color: #E8E5DE;
}

.settings-toggle-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.settings-webhook-docs {
    margin-top: 0.75rem;
}

.settings-webhook-docs summary {
    font-size: 0.82rem;
    color: #78756D;
    cursor: pointer;
}

.settings-webhook-example {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    background: #F7F5F0;
    border: 1px solid #E8E5DE;
    border-radius: 6px;
    font-size: 0.78rem;
    line-height: 1.5;
    overflow-x: auto;
    color: #1A1915;
}

.settings-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #E8E5DE;
    border-radius: 6px;
    font-size: 0.875rem;
    font-family: inherit;
    color: #1A1915;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
}

.settings-input:focus {
    border-color: #C15F3C;
}

.settings-logo-preview {
    margin-bottom: 0.5rem;
}

.settings-logo-preview img {
    height: 40px;
    width: auto;
    border-radius: 4px;
    border: 1px solid #E8E5DE;
}

.settings-logo-clear {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #78756D;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.form-hint {
    font-size: 0.78rem;
    color: #8A8578;
    margin-top: 0.35rem;
}

.filter-select {
    padding: 0.45rem 0.75rem;
    border: 1px solid #E8E5DE;
    border-radius: 6px;
    background: #fff;
    font-size: 0.875rem;
    color: #262626;
    cursor: pointer;
    outline: none;
    height: fit-content;
}

.filter-select:focus {
    border-color: #C15F3C;
}

/* ── Print QR ──────────────────────────────────────────────────── */

.print-qr-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    text-align: center;
}

.print-qr-wrap img {
    display: block;
}

.print-qr-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1A1915;
}

.print-qr-sub {
    font-size: 0.8rem;
    color: #78756D;
}

.print-qr-url {
    font-size: 0.72rem;
    color: #8A8578;
    font-family: monospace;
    word-break: break-all;
}


.section-sub {
    font-size: 0.875rem;
    color: #78756D;
}

.section + .section {
    margin-top: 2rem;
}

.empty-note {
    font-size: 0.875rem;
    color: #8A8578;
    margin-top: 1rem;
}

.users-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.user-chip {
    font-size: 0.8rem;
    background: #EDEAE3;
    border-radius: 4px;
    padding: 0.3rem 0.75rem;
    color: #57544C;
    font-weight: 500;
}

/* Marker editor */
.editor-toolbar {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    align-items: flex-start;
}

.map-canvas-wrap {
    overflow: auto;
    border: 1px solid #E8E5DE;
    border-radius: 8px;
    padding: 12px;
    background: #F5F3EE;
    display: inline-block;
}

.map-canvas {
    display: inline-block;
    position: relative;
    line-height: 0;
}

.map-img {
    display: block;
    max-width: 100%;
    height: auto;
    user-select: none;
    cursor: crosshair;
}

.markers-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Pin container — flex row: dot + label */
.marker-pin {
    position: absolute;
    transform: translate(-10px, -50%);
    pointer-events: all;
    cursor: grab;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* The circle */
.marker-pin-dot {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: #1A1915;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.35);
    transition: background 0.12s, transform 0.12s;
}

.marker-pin:hover .marker-pin-dot {
    background: #333;
    transform: scale(1.2);
}

.marker-pin.pending .marker-pin-dot {
    background: #8A8578;
}

/* Dragging state */
.marker-pin.dragging {
    z-index: 10;
    opacity: 0.9;
}

.marker-pin.dragging .marker-pin-dot {
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

body.marker-dragging,
body.marker-dragging * {
    cursor: grabbing !important;
    user-select: none;
}

/* Name label beside the pin */
.marker-label {
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(26,26,26,0.75);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1.4;
}

/* Color palette */
.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.25rem;
}

.color-swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    outline: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    transition: transform 0.1s;
}

.color-swatch:hover {
    transform: scale(1.2);
}

.color-swatch.selected {
    border-color: #fff;
    box-shadow: 0 0 0 2px #C15F3C;
}

/* Inline checkbox label in marker form */
.checkbox-inline-label {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #1A1915 !important;
    cursor: pointer;
}

.checkbox-inline-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #C15F3C;
    flex-shrink: 0;
}

/* Textarea */
textarea {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1px solid #E8E5DE;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1A1915;
    background: #fff;
    transition: border-color 0.15s;
    outline: none;
    resize: vertical;
}

textarea:focus { border-color: #C15F3C; }

/* Danger button */
.btn-danger {
    background: transparent;
    color: #ef4444;
    border-color: #ef4444;
}

.btn-danger:hover {
    background: #fef2f2;
    border-color: #dc2626;
    color: #dc2626;
}

/* QR section in view modal */
.qr-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #57544C;
    margin-bottom: 0.5rem;
}

#qr-section {
    margin-bottom: 1rem;
}

.qr-url {
    font-size: 0.75rem;
    color: #78756D;
    margin-top: 0.4rem;
    word-break: break-all;
}

/* ── Map Scans list page ────────────────────────────────────────── */

.scans-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.scans-search-form {
    position: relative;
    flex: 1;
    max-width: 420px;
    display: flex;
    align-items: center;
}

.scans-search {
    width: 100%;
    padding: 0.55rem 2rem 0.55rem 0.875rem;
    border: 1px solid #E8E5DE;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1A1915;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
}

.scans-search:focus { border-color: #C15F3C; }

.scans-clear {
    position: absolute;
    right: 0.6rem;
    color: #8A8578;
    font-size: 0.85rem;
    text-decoration: none;
    line-height: 1;
}

.scans-clear:hover { color: #1A1915; }

.scans-count {
    font-size: 0.8rem;
    color: #8A8578;
    white-space: nowrap;
}

.scans-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.scans-table th {
    white-space: nowrap;
    padding: 0.6rem 0.75rem;
}

.scans-table td {
    padding: 0.75rem;
    vertical-align: middle;
}

.sort-link {
    color: #78756D;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.12s;
}

.sort-link:hover { color: #C15F3C; }
.sort-link.active { color: #C15F3C; }

.sort-arrow {
    font-size: 0.8rem;
}

.scans-td-time {
    white-space: nowrap;
    color: #57544C;
    font-size: 0.82rem;
}

.scans-td-ip {
    font-family: monospace;
    font-size: 0.82rem;
    color: #57544C;
}

.scans-empty {
    text-align: center;
    color: #8A8578;
    font-size: 0.875rem;
    padding: 2rem !important;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid #E8E5DE;
}

.pagination-btn {
    font-size: 0.82rem;
    font-weight: 600;
    color: #C15F3C;
    text-decoration: none;
}

.pagination-info {
    font-size: 0.78rem;
    color: #78756D;
}


.scans-td-count {
    text-align: right;
    color: #57544C;
    font-size: 0.875rem;
}

.search-stat-query {
    font-weight: 500;
    color: #1A1915;
}

.device-badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    background: #EDEAE3;
    color: #57544C;
}

.device-mobile  { background: #FAEADF; color: #A34B28; }
.device-tablet  { background: #fef9c3; color: #854d0e; }
.device-desktop { background: #dcfce7; color: #15803d; }

/* ── Scan / mobile map page ─────────────────────────────────────── */

body.scan-page {
    margin: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overflow: hidden;
}

/* Header */
.scan-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
    height: 52px;
    flex-shrink: 0;
    background: #fff;
    border-bottom: 1px solid #E8E5DE;
}

.scan-header-logo {
    font-size: 1rem;
    font-weight: 700;
    color: #1A1915;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.scan-header-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.scan-header-context {
    font-size: 0.8rem;
    color: #78756D;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scan-map-toast {
    position: fixed;
    top: 62px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #1A1915;
    color: #fff;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.scan-map-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Map switcher badges */
.scan-map-switcher {
    display: flex;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: #fff;
    border-bottom: 1px solid #E8E5DE;
    flex-shrink: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.scan-map-switcher::-webkit-scrollbar { display: none; }

.scan-map-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 999px;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid #E8E5DE;
    color: #78756D;
    background: #fff;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.scan-map-badge:hover { background: #F5F3EE; color: #1A1915; }
.scan-map-badge.active {
    background: #1A1915;
    color: #fff;
    border-color: #1A1915;
    pointer-events: none;
}

/* Search bar */
.scan-search-wrap {
    position: relative;
    padding: 0.5rem 1rem;
    background: #fff;
    border-bottom: 1px solid #E8E5DE;
    flex-shrink: 0;
    z-index: 20;
}

.scan-search {
    width: 100%;
    padding: 0.55rem 0.875rem;
    border: 1px solid #E8E5DE;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1A1915;
    background: #EDEAE3;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}

.scan-search:focus {
    border-color: #C15F3C;
    background: #fff;
}

/* Show-all checkbox (header, right side) */
.scan-show-all-wrap {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    font-size: 0.8rem;
    font-weight: 500;
    color: #57544C;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.scan-show-all-wrap input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #C15F3C;
    flex-shrink: 0;
    cursor: pointer;
}

/* Search dropdown */
.scan-results {
    display: none;
    position: absolute;
    top: calc(100% - 0.5rem);
    left: 1rem;
    right: 1rem;
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    max-height: 240px;
    overflow-y: auto;
    z-index: 30;
}

.scan-result-item {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #1A1915;
    cursor: pointer;
    border-bottom: 1px solid #EDEAE3;
}

.scan-result-item:last-child {
    border-bottom: none;
}

.scan-result-item:hover {
    background: #EDEAE3;
}

.scan-result-name {
    font-weight: 500;
}

.scan-result-desc {
    font-size: 0.78rem;
    color: #8A8578;
    margin-top: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scan-result-map {
    font-size: 0.75rem;
    color: #78756D;
    margin-top: 0.2rem;
    font-weight: 500;
}

/* Map area */
.scan-map-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    background: #EDEAE3;
    touch-action: none;
}

.scan-map-canvas {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    line-height: 0;
}

.scan-map-img {
    display: block;
    user-select: none;
}

.scan-markers-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Pin */
.scan-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: all;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.scan-pin-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
    transition: transform 0.12s;
    flex-shrink: 0;
}

.scan-pin:hover .scan-pin-dot {
    transform: scale(1.25);
}

.scan-pin-label {
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(26,26,26,0.72);
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1.4;
}

/* "You're here" pin */
.scan-pin.here .scan-pin-dot {
    width: 26px;
    height: 26px;
    animation: scan-pulse 1.5s ease-in-out infinite;
}

.scan-pin.here .scan-pin-label {
    font-size: 0.7rem;
    background: #C15F3C;
}

@keyframes scan-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(193,95,60,0.4), 0 2px 8px rgba(0,0,0,0.4); }
    50%      { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(193,95,60,0.15), 0 2px 8px rgba(0,0,0,0.4); }
}

/* Highlight pulse (navigated from search) */
.scan-pin.highlight .scan-pin-dot {
    animation: scan-highlight-pulse 1.5s ease-in-out infinite;
}

@keyframes scan-highlight-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(193,95,60,0.4), 0 2px 8px rgba(0,0,0,0.4); }
    50%      { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(193,95,60,0.15), 0 2px 8px rgba(0,0,0,0.4); }
}

/* Mini footer */
.scan-footer {
    flex-shrink: 0;
    text-align: center;
    padding: 0.35rem 1rem;
    font-size: 0.7rem;
    color: #A3A09A;
    background: #fff;
    border-top: 1px solid #E8E5DE;
}
.scan-footer a {
    color: #78756D;
    text-decoration: none;
    font-weight: 600;
}
.scan-footer a:hover { color: #1A1915; }

/* Bottom popup */
.scan-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #E8E5DE;
    border-radius: 16px 16px 0 0;
    padding: 1rem 1.25rem 2rem;
    transform: translateY(100%);
    transition: transform 0.25s ease;
    z-index: 50;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.10);
}

.scan-popup.open {
    transform: translateY(0);
}

.scan-popup-handle {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: #E8E5DE;
    margin: 0 auto 1rem;
}

.scan-popup-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1rem;
    color: #8A8578;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.scan-popup-close:hover { color: #1A1915; }

.scan-popup-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A1915;
    margin-bottom: 0.4rem;
    padding-right: 2rem;
}

.scan-popup-desc {
    font-size: 0.9rem;
    color: #57544C;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.scan-popup-badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: #C15F3C;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ── Marker editor table section ───────────────────────────────── */
.markers-table-section {
    margin-top: 2rem;
}

.markers-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.marker-table-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    vertical-align: middle;
}

.marker-table-desc {
    color: #57544C;
    font-size: 0.85rem;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.marker-table-actions {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-end;
    white-space: nowrap;
}

.btn-table-delete {
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid #ef4444;
    background: transparent;
    color: #ef4444;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-table-delete:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #dc2626;
}

/* ── Top markers page ───────────────────────────────────────────── */
.period-btns {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: flex-start;
}

.period-btn {
    padding: 0.45rem 0.875rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border: 1px solid #E8E5DE;
    background: #fff;
    color: #57544C;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.period-btn:hover {
    background: #EDEAE3;
    border-color: #8A8578;
    color: #1A1915;
}

.period-btn.active {
    background: #C15F3C;
    border-color: #C15F3C;
    color: #fff;
}

.top-markers-rank {
    color: #8A8578;
    font-size: 0.8rem;
    width: 2rem;
}

.top-markers-count {
    text-align: right;
    font-weight: 700;
    color: #1A1915;
}

/* ── Dashboard ──────────────────────────────────────────────────── */

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
}

.stat-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.stat-card-icon {
    flex-shrink: 0;
}

.stat-card-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.stat-card-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8A8578;
}

.stat-card-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1A1915;
    line-height: 1;
    letter-spacing: -1.5px;
    margin-bottom: 0.45rem;
}

.stat-card-sub {
    font-size: 0.78rem;
    color: #78756D;
}

.dash-section {
    margin-bottom: 1.5rem;
}

.dash-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.dash-dim {
    font-size: 0.8rem;
    color: #8A8578;
    font-weight: 400;
}

/* Bar chart */
.bar-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 80px;
    border-bottom: 1px solid #EDEAE3;
}

.bar-fill {
    flex: 1;
    background: #C15F3C;
    border-radius: 2px 2px 0 0;
    opacity: 0.65;
    cursor: default;
    transition: opacity 0.1s;
    min-height: 0;
}

.bar-fill:hover {
    opacity: 1;
}

.bar-fill-zero {
    background: #E8E5DE;
    opacity: 1;
    min-height: 2px;
}

.bar-chart-xaxis {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
    font-size: 0.72rem;
    color: #8A8578;
}

/* Horizontal bar rows */
.hbar-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #EDEAE3;
}

.hbar-row:last-child {
    border-bottom: none;
}

.hbar-rank {
    width: 16px;
    font-size: 0.7rem;
    color: #8A8578;
    font-weight: 600;
    text-align: right;
    flex-shrink: 0;
}

.hbar-label {
    width: 130px;
    font-size: 0.82rem;
    color: #1A1915;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hbar-sub {
    font-size: 0.7rem;
    color: #8A8578;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hbar-sub-zero {
    color: #ef4444;
}

.hbar-track {
    flex: 1;
    height: 6px;
    background: #EDEAE3;
    border-radius: 3px;
    overflow: hidden;
}

.hbar-fill {
    height: 100%;
    background: #C15F3C;
    border-radius: 3px;
}

.hbar-fill-search  { background: #D4956C; }
.hbar-fill-mobile  { background: #C15F3C; }
.hbar-fill-desktop { background: #22c55e; }
.hbar-fill-tablet  { background: #f59e0b; }
.hbar-fill-unknown { background: #8A8578; }

.hbar-count {
    width: 28px;
    font-size: 0.78rem;
    color: #57544C;
    font-weight: 600;
    text-align: right;
    flex-shrink: 0;
}

.hbar-pct {
    width: 36px;
    font-size: 0.75rem;
    color: #8A8578;
    text-align: right;
    flex-shrink: 0;
}

/* Recent scans */
.recent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #EDEAE3;
    gap: 0.75rem;
}

.recent-row:last-child {
    border-bottom: none;
}

.recent-row-main {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    overflow: hidden;
    min-width: 0;
}

.recent-marker {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A1915;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-loc {
    font-size: 0.75rem;
    color: #8A8578;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-row-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.recent-time {
    font-size: 0.75rem;
    color: #8A8578;
    white-space: nowrap;
}

.dash-empty {
    font-size: 0.875rem;
    color: #8A8578;
    text-align: center;
    padding: 2rem 0;
    margin: 0;
}

/* ── Mobile nav toggle ──────────────────────────────────────────── */
.nav-toggle {
    display: none;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem 0 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-header .logo {
    padding: 0;
    margin: 0;
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #8A8578;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.sidebar-close:hover { color: #1A1915; }

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 150;
}

.sidebar-backdrop.open {
    display: block;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 100;
        background: #fff;
        border: 1px solid #E8E5DE;
        border-radius: 6px;
        font-size: 1.2rem;
        color: #1A1915;
        cursor: pointer;
        padding: 0.3rem 0.6rem;
        line-height: 1;
        box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 200;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        padding-top: 1.5rem;
    }

    .sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    }

    .sidebar-close {
        display: block;
    }

    .sidebar-header {
        margin-bottom: 1rem;
    }

    .main-content {
        margin-left: 0;
    }
}

/* ── Login page ───────────────────────────────────────────────── */

.login-body {
    background: #FAF9F7;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 480px;
    padding: 1rem;
}

.login-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A1915;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    font-size: 0.9rem;
    color: #78756D;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.login-hint {
    font-size: 0.8rem;
    color: #8A8578;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.register-agree {
    font-size: 0.75rem;
    color: #8A8578;
    margin: 0 0 12px;
    line-height: 1.5;
    text-align: center;
}
.register-agree a {
    color: #78756D;
    text-decoration: underline;
}
.register-agree a:hover {
    color: #C15F3C;
}

.login-card .form-group {
    margin-bottom: 1.25rem;
}

.login-card label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #57544C;
    margin-bottom: 0.4rem;
}

.login-card input[type="email"] {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1px solid #E8E5DE;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1A1915;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
}

.login-card input[type="email"]:focus {
    border-color: #C15F3C;
}

.register-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.register-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.register-stat {
    text-align: center;
}

.register-stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #C15F3C;
    letter-spacing: -0.5px;
}

.register-stat-label {
    display: block;
    font-size: 0.72rem;
    color: #78756D;
    margin-top: 0.2rem;
}

.register-proof {
    margin-top: 1.25rem;
    text-align: center;
}

.register-proof p {
    font-size: 0.75rem;
    color: #8A8578;
    margin: 0.25rem 0;
    line-height: 1.4;
}

/* ── Sidebar footer (user badge + logout) ─────────────────────── */

.sidebar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    border-top: 1px solid #E8E5DE;
    background: #F5F3EE;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.sidebar-org-name {
    width: 100%;
    font-size: 0.75rem;
    font-weight: 600;
    color: #8A8578;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-user {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    overflow: hidden;
    min-width: 0;
}

.sidebar-user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A1915;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    font-size: 0.7rem;
    color: #8A8578;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.sidebar-logout {
    flex-shrink: 0;
}

/* ── Org forms ────────────────────────────────────────────────── */

.org-form .form-group {
    margin-bottom: 1.25rem;
}

.org-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #57544C;
    margin-bottom: 0.4rem;
}

.org-form input[type="text"],
.org-form input[type="email"],
.org-form textarea,
.org-form select {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1px solid #E8E5DE;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1A1915;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
}

.org-form input:focus,
.org-form textarea:focus,
.org-form select:focus {
    border-color: #C15F3C;
}

.form-error {
    font-size: 0.8rem;
    font-weight: 500;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    margin-top: 0.3rem;
    margin-bottom: 0.75rem;
}

/* ── Billing plan display ─────────────────────────────────────── */

/* ── Trial banners ───────────────────────────────────────────── */

.trial-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
}

.trial-banner a { color: inherit; font-weight: 600; }

.trial-banner-warning {
    background: #FEF3E2;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.trial-banner-expired {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.trial-banner-btn {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: #C15F3C;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.78rem;
    white-space: nowrap;
}

/* ── Billing page ────────────────────────────────────────────── */

.billing-status {
    padding: 1.5rem;
}

.billing-status-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.billing-plan-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #8A8578;
    margin-bottom: 0.5rem;
}

/* Billing — current plan */

.billing-current {
    padding: 1.5rem;
}

.billing-current-plan {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.billing-plan-badge {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: #C15F3C;
    padding: 0.3rem 0.9rem;
    border-radius: 6px;
}

.billing-cycle-label {
    font-size: 0.85rem;
    color: #8A8578;
    font-weight: 500;
}

.billing-usage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.billing-usage-item {
    text-align: center;
    padding: 0.75rem;
    background: #FAFAF8;
    border-radius: 8px;
    border: 1px solid #E8E5DE;
}

.billing-usage-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A1915;
}

.billing-usage-label {
    font-size: 0.75rem;
    color: #8A8578;
    font-weight: 500;
    margin-top: 0.2rem;
}

/* Billing — pricing toggle */

.pricing-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    background: #E8E5DE;
    border-radius: 8px;
    padding: 3px;
    width: fit-content;
}

.pricing-toggle-btn {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #57544C;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pricing-toggle-btn.active {
    background: #fff;
    color: #1A1915;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.pricing-save-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: #C15F3C;
    background: #FBF3EF;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.pricing-currency-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    background: #E8E5DE;
    border-radius: 8px;
    padding: 3px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.pricing-currency-btn {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #57544C;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}

.pricing-currency-btn.active {
    background: #fff;
    color: #1A1915;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Billing — pricing cards */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 12px;
    padding: 1.75rem;
    position: relative;
}

.pricing-card-current {
    border-color: #C15F3C;
    box-shadow: 0 0 0 1px #C15F3C;
}

.pricing-card-badge {
    position: absolute;
    top: -0.65rem;
    left: 1.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: #C15F3C;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
}

.pricing-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A1915;
    margin-bottom: 0.35rem;
}

.pricing-card-tagline {
    font-size: 0.85rem;
    color: #737373;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.pricing-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    margin-bottom: 0.25rem;
}

.pricing-amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1A1915;
    letter-spacing: -1px;
}

.pricing-period {
    font-size: 0.95rem;
    color: #8A8578;
    font-weight: 500;
}

.pricing-annual-note {
    font-size: 0.8rem;
    color: #8A8578;
    margin-bottom: 0.25rem;
}

/* Pricing — limits grid */

.pricing-limits {
    margin: 1.25rem 0;
    padding: 0.75rem;
    background: #FAFAF8;
    border: 1px solid #E8E5DE;
    border-radius: 8px;
}

.pricing-limit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.25rem;
}

.pricing-limit-row + .pricing-limit-row {
    border-top: 1px solid #F0EDE7;
}

.pricing-limit-label {
    font-size: 0.85rem;
    color: #737373;
}

.pricing-limit-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A1915;
}

/* Pricing — feature checklist */

.pricing-checklist {
    margin: 0 0 1.25rem;
}

.pricing-check {
    font-size: 0.84rem;
    padding: 0.3rem 0 0.3rem 1.4rem;
    position: relative;
    line-height: 1.4;
}

.pricing-check::before {
    position: absolute;
    left: 0;
    top: 0.3rem;
    font-size: 0.85rem;
}

.pricing-check-yes {
    color: #57544C;
}

.pricing-check-yes::before {
    content: "\2713";
    color: #22c55e;
    font-weight: 700;
}

.pricing-check-no {
    color: #c4c0b8;
}

.pricing-check-no::before {
    content: "\2717";
    color: #d4d1cb;
}

.pricing-card-action {
    margin-top: 0.5rem;
}

/* Upgrade prompt */

.upgrade-prompt {
    text-align: center;
    padding: 4rem 2rem;
}

.upgrade-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.upgrade-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A1915;
    margin-bottom: 0.75rem;
}

.upgrade-desc {
    font-size: 1rem;
    color: #57544C;
    max-width: 28rem;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.upgrade-actions {
    display: flex;
    justify-content: center;
}

/* Scan limit reached */

.scan-limit-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    height: 100dvh;
}

.scan-limit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.scan-limit-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A1915;
    margin-bottom: 0.75rem;
}

.scan-limit-text {
    font-size: 0.95rem;
    color: #57544C;
    max-width: 24rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.scan-limit-meta {
    font-size: 0.8rem;
    color: #8A8578;
    display: flex;
    gap: 0.4rem;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .billing-usage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.billing-trial-info {
    text-align: right;
}

.billing-trial-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.billing-trial-active {
    background: #D1FAE5;
    color: #065F46;
}

.billing-trial-expired {
    background: #FEE2E2;
    color: #991B1B;
}

.billing-trial-detail {
    display: block;
    font-size: 0.78rem;
    color: #78756D;
    margin-top: 0.35rem;
}

.billing-usage-bar-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.billing-usage-bar {
    flex: 1;
    height: 8px;
    background: #E8E5DE;
    border-radius: 4px;
    overflow: hidden;
}

.billing-usage-fill {
    height: 100%;
    background: #C15F3C;
    border-radius: 4px;
    transition: width 0.3s;
    min-width: 2px;
}

.billing-usage-full {
    background: #DC2626;
}

.billing-usage-label {
    font-size: 0.78rem;
    color: #78756D;
    white-space: nowrap;
}

.billing-plans-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A1915;
    margin: 1.75rem 0 1rem;
}

.billing-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.billing-plan-card {
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.billing-plan-card-highlight {
    border-color: #C15F3C;
    box-shadow: 0 0 0 1px #C15F3C;
}

.billing-plan-card-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #C15F3C;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
}

.billing-plan-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1915;
    margin: 0 0 0.5rem;
}

.billing-plan-card-price {
    font-size: 0.85rem;
    color: #78756D;
    margin-bottom: 1rem;
}

.billing-plan-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1A1915;
    letter-spacing: -0.5px;
}

.billing-plan-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    flex: 1;
}

.billing-plan-card-features li {
    font-size: 0.82rem;
    color: #4A4740;
    padding: 0.3rem 0;
    border-bottom: 1px solid #F3F1EC;
}

.billing-plan-card-btn {
    display: block;
    text-align: center;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.billing-plan-card-btn-primary {
    background: #C15F3C;
    color: #fff;
}

.billing-plan-card-btn-secondary {
    background: #F3F1EC;
    color: #1A1915;
}

.billing-plan-card-btn-current {
    background: #E8E5DE;
    color: #78756D;
    cursor: default;
}

/* ── Scan expired page ───────────────────────────────────────── */

.scan-expired-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    background: #F7F5F0;
}

.scan-expired {
    text-align: center;
    max-width: 400px;
    padding: 2.5rem 1.5rem;
}

.scan-expired-logo {
    height: 36px;
    width: auto;
    margin-bottom: 1.5rem;
}

.scan-expired-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A1915;
    margin: 0 0 0.75rem;
}

.scan-expired-text {
    font-size: 0.9rem;
    color: #4A4740;
    line-height: 1.5;
    margin: 0 0 0.5rem;
}

.scan-expired-footer {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: #8A8578;
}

.scan-expired-footer a {
    color: #8A8578;
}

/* ── Table action buttons ─────────────────────────────────────── */

.td-actions {
    white-space: nowrap;
    text-align: right;
}

.td-actions .btn-sm {
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
}

/* ── Insights page ─────────────────────────────────────────────── */

.insights-delta {
    font-weight: 600;
    font-size: 0.82rem;
}

.insights-delta.up {
    color: #16a34a;
}

.insights-delta.down {
    color: #ef4444;
}

.insights-hint {
    font-size: 0.78rem;
    color: #8A8578;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.insights-zero-query {
    font-weight: 500;
    color: #1A1915;
}

.hbar-fill-zero-result {
    background: #ef4444;
    opacity: 0.6;
}

.insights-hours-chart {
    gap: 3px;
}

.insights-dow-chart {
    gap: 6px;
}

.insights-dow-chart .bar-fill {
    border-radius: 4px 4px 0 0;
}

.insights-dow-labels {
    justify-content: space-around;
}

/* Visitor depth stacked bar */
.insights-depth-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insights-depth-bar {
    display: flex;
    height: 24px;
    border-radius: 6px;
    overflow: hidden;
    background: #EDEAE3;
}

.insights-depth-fill {
    height: 100%;
    transition: width 0.3s;
}

.insights-depth-fill.insights-depth-1 {
    background: #E8D5C4;
}

.insights-depth-fill.insights-depth-2 {
    background: #C15F3C;
}

.insights-depth-fill.insights-depth-3 {
    background: #1A1915;
}

.insights-depth-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.insights-depth-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #57544C;
}

.insights-depth-item strong {
    color: #1A1915;
}

.insights-depth-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.insights-depth-dot.insights-depth-1 {
    background: #E8D5C4;
}

.insights-depth-dot.insights-depth-2 {
    background: #C15F3C;
}

.insights-depth-dot.insights-depth-3 {
    background: #1A1915;
}

/* Quick summary */
.insights-summary {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.insights-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid #EDEAE3;
}

.insights-summary-row:last-child {
    border-bottom: none;
}

.insights-summary-label {
    font-size: 0.82rem;
    color: #57544C;
}

.insights-summary-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1A1915;
}

/* Stacked bar inside hbar-track */
.insights-stacked-bar {
    display: flex;
    height: 100%;
    border-radius: 3px;
    overflow: hidden;
}

.insights-stacked-bar .hbar-fill {
    border-radius: 0;
}

/* Map coverage grid */
.insights-coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.insights-coverage-card {
    background: #F5F3EE;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.insights-coverage-header {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.insights-coverage-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1A1915;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.insights-coverage-site {
    font-size: 0.72rem;
    color: #8A8578;
}

.insights-coverage-bar-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.insights-coverage-bar {
    flex: 1;
    height: 8px;
    background: #E8E5DE;
    border-radius: 4px;
    overflow: hidden;
}

.insights-coverage-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}

.insights-coverage-fill.low {
    background: #ef4444;
}

.insights-coverage-fill.mid {
    background: #f59e0b;
}

.insights-coverage-fill.high {
    background: #16a34a;
}

.insights-coverage-pct {
    font-size: 0.82rem;
    font-weight: 700;
    min-width: 36px;
    text-align: right;
}

.insights-coverage-pct.low {
    color: #ef4444;
}

.insights-coverage-pct.mid {
    color: #f59e0b;
}

.insights-coverage-pct.high {
    color: #16a34a;
}

.insights-coverage-detail {
    font-size: 0.75rem;
    color: #78756D;
}

.insights-inactive-row {
    display: flex;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px solid #F0EEEA;
    gap: 8px;
}
.insights-inactive-row:last-child { border-bottom: none; }
.insights-inactive-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1a1a1a;
    min-width: 0;
}
.insights-inactive-meta {
    font-size: 0.75rem;
    color: #78756D;
    white-space: nowrap;
    margin-left: auto;
}

/* ── Overview: Sites & Maps directory ─────────────────────────── */
.dash-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}
.overview-site-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.overview-site-card {
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.overview-site-header {
    padding: 14px 16px 10px;
    border-bottom: 1px solid #F0EEEA;
}
.overview-site-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a1a;
    text-decoration: none;
    margin-bottom: 4px;
}
.overview-site-name:hover { color: #C15F3C; }
.overview-site-stats {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: #78756D;
}
.overview-map-list {
    padding: 4px 0;
    flex: 1;
}
.overview-map-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    text-decoration: none;
    color: #1a1a1a;
    border-bottom: 1px solid #F8F7F5;
    transition: background 0.12s;
}
.overview-map-row:last-child { border-bottom: none; }
.overview-map-row:hover { background: #F8F7F5; }
.overview-map-name {
    font-size: 0.85rem;
    font-weight: 500;
}
.overview-map-detail {
    display: flex;
    align-items: center;
    gap: 8px;
}
.overview-map-meta {
    font-size: 0.75rem;
    color: #78756D;
}
.overview-map-arrow {
    font-size: 0.85rem;
    color: #C15F3C;
    font-weight: 500;
}
.overview-site-footer {
    display: block;
    padding: 10px 16px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: #C15F3C;
    text-decoration: none;
    border-top: 1px solid #F0EEEA;
    transition: background 0.12s;
}
.overview-site-footer:hover { background: #F8F7F5; }

/* ── Landing page ─────────────────────────────────────────────── */
.landing-body {
    background: #fff;
    margin: 0;
    color: #1a1a1a;
}
.landing-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
.landing-nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #F0EEEA;
    z-index: 100;
}
.landing-nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.landing-logo {
    font-size: 1.1rem;
    color: #1a1a1a;
    text-decoration: none;
}
.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.landing-nav-link {
    font-size: 0.85rem;
    color: #78756D;
    text-decoration: none;
    font-weight: 500;
}
.landing-nav-link:hover { color: #1a1a1a; }
.landing-nav-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: #C15F3C;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
}
.landing-nav-btn:hover { background: #a8502f; }
.landing-nav-toggle {
    display: none;
    background: none;
    border: 1px solid #E8E5DE;
    border-radius: 6px;
    font-size: 1.2rem;
    padding: 4px 10px;
    cursor: pointer;
    color: #57544C;
    font-family: inherit;
}

@media (max-width: 700px) {
    .landing-nav-toggle { display: block; }
    .landing-nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #E8E5DE;
        flex-direction: column;
        padding: 16px 24px;
        gap: 12px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
    .landing-nav-links.open { display: flex; }
    .landing-nav-link { font-size: 0.95rem; }
    .landing-nav-btn { text-align: center; }
    .landing-footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .landing-footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Hero */
.landing-hero {
    padding: 80px 0 72px;
    text-align: center;
}
.landing-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    color: #1a1a1a;
}
.landing-hero-sub {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555;
    max-width: 560px;
    margin: 0 auto 36px;
}
.landing-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}
.landing-btn-primary {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: #C15F3C;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
}
.landing-btn-primary:hover { background: #a8502f; }
.landing-btn-secondary {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #E8E5DE;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.15s;
}
.landing-btn-secondary:hover { border-color: #C15F3C; }

/* Sections */
.landing-section {
    padding: 72px 0;
}
.landing-section-alt {
    background: #F8F7F5;
}
.landing-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}
.landing-section-sub {
    font-size: 1rem;
    color: #78756D;
    text-align: center;
    margin: 0 0 48px;
}

/* How it works — steps */
.landing-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.landing-step {
    text-align: center;
}
.landing-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #C15F3C;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.landing-step-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
}
.landing-step-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* Features grid */
.landing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.landing-feature {
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 10px;
    padding: 24px;
}
.landing-feature-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 8px;
}
.landing-feature-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* Analytics section */
.landing-analytics-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.landing-analytics-item {
    padding: 20px 24px;
    border-left: 3px solid #C15F3C;
    background: #F8F7F5;
    border-radius: 0 8px 8px 0;
}
.landing-analytics-label {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 6px;
}
.landing-analytics-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* Benefits */
.landing-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.landing-benefit {
    padding: 24px;
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 10px;
}
.landing-benefit-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 8px;
}
.landing-benefit-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* Use cases */
.landing-usecases {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.landing-usecase {
    background: #F8F7F5;
    border: 1px solid #E8E5DE;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}
.landing-usecase:hover {
    border-color: #C15F3C;
    color: #C15F3C;
}
.landing-hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #C15F3C;
    background: rgba(193, 95, 60, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

/* Final CTA */
.landing-cta {
    background: #1a1a1a;
    text-align: center;
}
.landing-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.landing-cta-sub {
    font-size: 1rem;
    color: #999;
    margin: 0 0 32px;
}

/* Footer */
.landing-footer {
    border-top: 1px solid #F0EEEA;
    padding: 24px 0;
}
.landing-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.landing-footer-logo {
    font-size: 0.9rem;
    color: #1a1a1a;
}
.landing-footer-links {
    display: flex;
    gap: 20px;
}
.landing-footer-links a {
    font-size: 0.8rem;
    color: #78756D;
    text-decoration: none;
}
.landing-footer-links a:hover {
    color: #C15F3C;
}
.landing-footer-copy {
    font-size: 0.8rem;
    color: #78756D;
}

/* Comparison table */
.landing-compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 0 16px;
}
.landing-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 600px;
}
.landing-compare-table th,
.landing-compare-table td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid #E8E5DE;
}
.landing-compare-table thead th {
    font-weight: 600;
    font-size: 0.85rem;
    color: #78756D;
    padding-bottom: 12px;
}
.landing-compare-table thead th.landing-compare-highlight {
    color: #C15F3C;
}
.landing-compare-label {
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
}
td.landing-compare-highlight {
    color: #1a1a1a;
}
td.landing-compare-highlight strong {
    color: #C15F3C;
}
.landing-compare-table tbody td:not(.landing-compare-label):not(.landing-compare-highlight) {
    color: #78756D;
}
.landing-compare-note {
    margin-top: 24px;
    font-size: 0.85rem;
    color: #8A8578;
    line-height: 1.6;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.pricing-card {
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 12px;
    padding: 32px 28px;
    position: relative;
}
.pricing-card-highlight {
    border-color: #C15F3C;
    border-width: 2px;
    box-shadow: 0 4px 24px rgba(193, 95, 60, 0.1);
}
.pricing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #C15F3C;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 12px;
    white-space: nowrap;
}
.pricing-card-header {
    text-align: center;
    margin-bottom: 24px;
}
.pricing-plan-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}
.pricing-price {
    margin: 8px 0;
}
.pricing-amount {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}
.pricing-period {
    font-size: 0.9rem;
    color: #78756D;
}
.pricing-plan-desc {
    font-size: 0.85rem;
    color: #78756D;
    margin: 8px 0 0;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.pricing-features li {
    padding: 8px 0;
    font-size: 0.88rem;
    color: #1a1a1a;
    border-bottom: 1px solid #F0EEEA;
}
.pricing-features li:last-child {
    border-bottom: none;
}
.pricing-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #E8E5DE;
    color: #78756D;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: help;
    vertical-align: middle;
    margin-left: 4px;
    position: relative;
}
.pricing-tip:hover::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1A1915;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 400;
    padding: 10px 14px;
    border-radius: 8px;
    max-width: 300px;
    white-space: normal;
    z-index: 10;
    pointer-events: none;
    line-height: 1.5;
}
.pricing-tip:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #1A1915;
    z-index: 10;
    pointer-events: none;
}
.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.pricing-btn-primary {
    background: #C15F3C;
    color: #fff;
}
.pricing-btn-primary:hover {
    background: #a8502f;
}
.pricing-btn-secondary {
    background: #F5F3EE;
    color: #1a1a1a;
    border: 1px solid #E8E5DE;
}
.pricing-btn-secondary:hover {
    background: #EDEAE3;
}
/* Enterprise CTA */
.enterprise-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    max-width: 820px;
    margin: 0 auto;
}
.enterprise-cta-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.enterprise-cta-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 16px;
}
.enterprise-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
}
.enterprise-features li {
    font-size: 0.88rem;
    color: #3d3b36;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.6;
}
.enterprise-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
    font-size: 0.85rem;
}
.enterprise-cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.enterprise-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}
@media (max-width: 680px) {
    .enterprise-cta {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .enterprise-features {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

.pricing-faq {
    max-width: 720px;
    margin: 2rem auto 0;
}
.pricing-faq-item {
    padding: 20px 0;
    border-bottom: 1px solid #E8E5DE;
}
.pricing-faq-item:first-child {
    padding-top: 0;
}
.pricing-faq-q {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}
.pricing-faq-a {
    font-size: 0.9rem;
    color: #78756D;
    margin: 0;
    line-height: 1.6;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.blog-card {
    display: block;
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 10px;
    padding: 28px 24px;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.blog-card:hover {
    border-color: #C15F3C;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.blog-card-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #C15F3C;
    background: rgba(193, 95, 60, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.blog-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.4;
}
.blog-card-desc {
    font-size: 0.85rem;
    color: #78756D;
    margin: 0 0 12px;
    line-height: 1.5;
}
.blog-card-date {
    font-size: 0.78rem;
    color: #8A8578;
}

/* Blog article */
.blog-article {
    max-width: 720px;
    margin: 0 auto;
}
.blog-back {
    display: inline-block;
    font-size: 0.85rem;
    color: #78756D;
    text-decoration: none;
    margin-bottom: 8px;
}
.blog-back:hover {
    color: #C15F3C;
}
.blog-article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 16px 0 8px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.blog-article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 24px;
    font-size: 0.82rem;
    color: #8A8578;
}
.blog-article-date {
    white-space: nowrap;
}
.blog-article-author {
    white-space: nowrap;
}
.blog-article-meta .blog-article-date + .blog-article-author::before {
    content: "\00b7";
    margin-right: 0.75rem;
}
.blog-author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E8E5DE;
}
.blog-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #C15F3C;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.blog-author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1A1915;
}
.blog-author-role {
    font-size: 0.8rem;
    color: #78756D;
}
.blog-article-hero {
    font-size: 1.05rem;
    color: #1a1a1a;
    line-height: 1.7;
    margin: 0 0 32px;
}
.blog-article-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 36px 0 12px;
    letter-spacing: -0.01em;
}
.blog-article-body {
    font-size: 0.95rem;
    color: #3d3b36;
    line-height: 1.75;
    margin: 0 0 16px;
}

/* About / Legal */
.about-content {
    max-width: 720px;
    margin: 0 auto;
}
.about-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 48px 0 16px;
    text-align: left;
    letter-spacing: -0.01em;
}
.about-content h2:first-child {
    margin-top: 0;
}
.about-content p {
    font-size: 1rem;
    color: #3d3b36;
    line-height: 1.75;
    margin: 0 0 16px;
}
.about-content .landing-benefits {
    margin-top: 24px;
}
.legal-content {
    max-width: 720px;
    margin: 0 auto;
}
.legal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.legal-updated {
    font-size: 0.82rem;
    color: #8A8578;
    margin: 0 0 32px;
}
.legal-content h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 32px 0 12px;
}
.legal-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 24px 0 8px;
}
.legal-content p {
    font-size: 0.9rem;
    color: #3d3b36;
    line-height: 1.7;
    margin: 0 0 12px;
}
.legal-content ul {
    margin: 0 0 16px;
    padding-left: 20px;
}
.legal-content li {
    font-size: 0.9rem;
    color: #3d3b36;
    line-height: 1.7;
    margin-bottom: 6px;
}

/* Landing responsive */
@media (max-width: 700px) {
    .landing-hero-title { font-size: 1.8rem; }
    .landing-hero-sub { font-size: 1rem; }
    .landing-hero { padding: 48px 0 40px; }
    .landing-section { padding: 48px 0; }
    .landing-steps { grid-template-columns: 1fr; gap: 24px; }
    .landing-features { grid-template-columns: 1fr; }
    .landing-hero-actions { flex-direction: column; align-items: center; }
    .landing-benefits { grid-template-columns: 1fr; }
    .landing-analytics-list { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-article-title { font-size: 1.5rem; }
    .legal-title { font-size: 1.5rem; }
}

/* ── Language switcher ────────────────────────────────────────────── */
.lang-switcher {
    position: relative;
    display: inline-block;
}
.lang-switcher-btn {
    background: none;
    border: 1px solid #E8E5DE;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    color: #78756D;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: border-color 0.15s, color 0.15s;
}
.lang-switcher-btn:hover {
    border-color: #C15F3C;
    color: #C15F3C;
}
.lang-switcher-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    min-width: 140px;
    z-index: 200;
    overflow: hidden;
}
.lang-switcher.open .lang-switcher-dropdown {
    display: block;
}
.lang-switcher-option {
    display: block;
    padding: 8px 14px;
    font-size: 0.85rem;
    color: #1a1a1a;
    text-decoration: none;
    transition: background 0.12s;
}
.lang-switcher-option:hover {
    background: #F5F3EE;
}
.lang-switcher-option.active {
    color: #C15F3C;
    font-weight: 600;
}

/* ── RTL support ─────────────────────────────────────────────────── */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .landing-nav-inner {
    flex-direction: row-reverse;
}
[dir="rtl"] .landing-nav-links {
    flex-direction: row-reverse;
}
[dir="rtl"] .landing-footer-inner {
    flex-direction: row-reverse;
}
[dir="rtl"] .landing-step {
    text-align: right;
}
[dir="rtl"] .landing-section-title,
[dir="rtl"] .landing-section-sub,
[dir="rtl"] .landing-hero-title,
[dir="rtl"] .landing-hero-sub {
    text-align: center;
}
[dir="rtl"] .blog-article {
    text-align: right;
}
[dir="rtl"] .blog-back {
    direction: ltr;
    unicode-bidi: bidi-override;
}
[dir="rtl"] .landing-compare-table td:first-child {
    text-align: right;
}
[dir="rtl"] .enterprise-features li {
    padding-left: 0;
    padding-right: 1.2rem;
}
[dir="rtl"] .enterprise-features li::before {
    left: auto;
    right: 0;
}
[dir="rtl"] .about-content h2,
[dir="rtl"] .about-content p {
    text-align: right;
}
[dir="rtl"] .pricing-check {
    padding-left: 0;
    padding-right: 1.4rem;
}
[dir="rtl"] .pricing-check::before {
    left: auto;
    right: 0;
}
