/* GTM Pro - Styles */

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

:root {
    /* Method Four design system tokens */
    --primary-color: #10a37f;   /* M4 brand green */
    --primary-hover: #0d8a6a;
    --success-color: #10a37f;   /* healthy = brand green */
    --warning-color: #b45309;   /* amber */
    --error-color: #dc2626;     /* M4 destructive */
    --dark-color: #0c0a09;      /* stone-950 */
    --light-gray: #f5f5f4;      /* stone-100 — muted bg */
    --medium-gray: #e7e5e4;     /* stone-200 — border */
    --text-color: #1c1917;      /* stone-900 */
    --muted: #78716c;           /* stone-500 — muted foreground */
    --page-bg: #fafaf9;         /* stone-50 — page background */
    --border-radius: 8px;
    --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', ui-serif, Georgia, serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.05), 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 2px 4px -1px rgb(0 0 0 / 0.05), 0 4px 6px -2px rgb(0 0 0 / 0.03);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--page-bg);
    padding: 20px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
    position: relative;
}

.sign-out-link {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
}

.sign-out-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

h1 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* GTMPro wordmark — dark word + italic-serif green accent (Method Four style) */
h1.wordmark {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 2.4rem;
    letter-spacing: -0.02em;
    color: var(--dark-color);
}

.wordmark-accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--primary-color);
}

.subtitle {
    color: var(--muted);
    font-size: 1.05em;
}

h2 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.5em;
}

h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.card {
    background: white;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--light-gray);
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--primary-color);
    background: #e8f0fe;
}

.upload-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.upload-prompt p {
    margin: 5px 0;
    color: var(--text-color);
}

.upload-hint {
    font-size: 0.9em;
    color: #5f6368;
}

/* Status Messages */
.status-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--border-radius);
    display: none;
}

.status-message.success {
    background: #e6f4ea;
    border: 1px solid var(--success-color);
    color: #137333;
    display: block;
}

.status-message.error {
    background: #fce8e6;
    border: 1px solid var(--error-color);
    color: #c5221f;
    display: block;
}

.status-message.warning {
    background: #fef7e0;
    border: 1px solid var(--warning-color);
    color: #ea8600;
    display: block;
}

.status-message.info {
    background: #e8f0fe;
    border: 1px solid var(--primary-color);
    color: #1967d2;
    display: block;
}

/* Info Box */
.info-box {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--medium-gray);
}

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

.info-label {
    font-weight: 600;
    color: #5f6368;
}

.info-value {
    color: var(--text-color);
    font-family: var(--font-mono);
}

/* Form Styles */
.config-group {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-color);
}

input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(16, 163, 127, 0.15);
}

input[type="text"]:invalid {
    border-color: var(--error-color);
}

/* Buttons */
button {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin: 5px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    width: 100%;
    margin-top: 20px;
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background: var(--success-color);
    color: white;
    font-size: 18px;
    padding: 15px 30px;
}

.btn-success:hover {
    background: #2d8e47;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--medium-gray);
    color: var(--text-color);
}

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

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Lists */
ul {
    list-style: none;
    padding: 0;
}

li {
    padding: 8px 0;
    border-bottom: 1px solid var(--medium-gray);
}

li:last-child {
    border-bottom: none;
}

/* Validation Results */
.validation-status {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
}

.validation-status.passed {
    color: var(--success-color);
}

.validation-status.failed {
    color: var(--error-color);
}

.error-list,
.warning-list,
.info-list {
    margin: 15px 0;
}

.error-list h4 {
    color: var(--error-color);
}

.warning-list h4 {
    color: var(--warning-color);
}

.info-list h4 {
    color: var(--primary-color);
}

/* Previous Files */
.file-list {
    max-height: 300px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--light-gray);
    border-radius: 4px;
    margin-bottom: 10px;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 500;
    color: var(--text-color);
}

.file-meta {
    font-size: 0.85em;
    color: #5f6368;
}

.file-download {
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}

.file-download:hover {
    background: var(--primary-hover);
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
    color: #5f6368;
    font-size: 0.9em;
}

/* Loading Spinner */
.spinner {
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2em;
    }
}

/* Paste Config */
.paste-config textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 13px;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s;
}

.paste-config textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(16, 163, 127, 0.15);
}

.paste-config .btn-secondary {
    margin-top: 10px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #5f6368;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--medium-gray);
}

.divider span {
    padding: 0 15px;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============ Tab Navigation ============ */
.tab-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--light-gray);
}

.tab-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 12px 20px;
    margin: 0;
    font-size: 16px;
    color: #5f6368;
    cursor: pointer;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
}

/* ============ Tag Monitor Dashboard ============ */
.monitor-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.monitor-summary {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sum-pill {
    padding: 6px 14px;
    border-radius: 16px;
    background: var(--light-gray);
    font-size: 0.9em;
    font-weight: 500;
    margin: 0;
    border: 1.5px solid transparent;
}

/* Status pills are filter buttons */
button.sum-pill {
    cursor: pointer;
    transition: all 0.12s;
}

button.sum-pill:hover {
    filter: brightness(0.96);
}

button.sum-pill.active {
    border-color: currentColor;
    font-weight: 700;
}

.sum-ok { background: #e6f4ea; color: #137333; }
.sum-warn { background: #fef7e0; color: #b06000; }
.sum-err { background: #fce8e6; color: #c5221f; }
.sum-metric { background: #e8f0fe; color: #1967d2; }

.monitor-actions {
    display: flex;
    gap: 8px;
}

.monitor-btn {
    width: auto;
    margin: 0;
    padding: 10px 18px;
    font-size: 14px;
}

.monitor-note {
    margin-top: 12px;
    font-size: 0.82em;
    color: #5f6368;
    max-width: 80ch;
}

.table-wrap {
    overflow: auto;
    max-height: 78vh;
    margin-top: 10px;
}

.clients-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.clients-table th {
    text-align: left;
    padding: 10px 6px;
    border-bottom: 2px solid var(--medium-gray);
    color: #5f6368;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    /* Freeze the header row when the table scrolls vertically. */
    position: sticky;
    top: 0;
    z-index: 3;
    background: white;
}

.th-sub {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: 0.85em;
    color: #80868b;
}

.clients-table td {
    padding: 10px 6px;
    border-bottom: 1px solid var(--light-gray);
    vertical-align: top;
}

.client-row { cursor: pointer; }
.client-row:hover { background: #f8f9fa; }
.client-row.row-err { background: #fff5f5; }
.client-row.row-warn { background: #fffbeb; }
.client-row.row-err:hover { background: #ffecec; }
.client-row.row-warn:hover { background: #fff6d9; }
.client-row.row-checking { opacity: 0.45; }

/* Pin the actions column to the right edge so the expand/check/edit controls
   stay visible even when the wide table scrolls horizontally. Each row state
   needs an opaque background so scrolled cells don't show through. */
.clients-table th:last-child,
.clients-table td.actions-cell {
    position: sticky;
    right: 0;
    background: white;
    box-shadow: -6px 0 6px -4px rgba(0, 0, 0, 0.08);
}
.clients-table td.actions-cell { z-index: 1; }       /* above body cells */
.clients-table th:last-child { z-index: 4; top: 0; } /* corner: above header + sticky column */
.client-row.row-err td.actions-cell { background: #fff5f5; }
.client-row.row-warn td.actions-cell { background: #fffbeb; }
.client-row:hover td.actions-cell { background: #f8f9fa; }
.client-row.row-err:hover td.actions-cell { background: #ffecec; }
.client-row.row-warn:hover td.actions-cell { background: #fff6d9; }

.ticker {
    font-weight: 700;
}

.company {
    font-size: 0.78rem;
    color: #5f6368;
}

.domain-cell a {
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9em;
}

.domain-cell a:hover {
    text-decoration: underline;
}

.domain-cell .dom-ga4 {
    font-family: -apple-system, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    color: #1967d2;
    background: #e8f0fe;
    border-radius: 8px;
    padding: 1px 5px;
    vertical-align: middle;
}

.client-links {
    margin-top: 7px;
    display: flex;
    gap: 6px;
}

.client-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid var(--medium-gray);
    color: #5f6368;
    background: white;
    transition: all 0.15s;
}

.client-link .ext {
    font-weight: 400;
    font-size: 0.9em;
    opacity: 0.6;
}

.client-link.gtm:hover {
    border-color: var(--primary-color);
    color: #1967d2;
    background: #f0f6ff;
}

.client-link.ga4:hover {
    border-color: #e8710a;
    color: #b06000;
    background: #fff7ec;
}

.client-link:hover .ext {
    opacity: 1;
}

.hdr-link {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 6px;
}

.hdr-link:hover {
    text-decoration: underline;
}

.checked-cell {
    white-space: nowrap;
    color: #5f6368;
    font-size: 0.9em;
}

.metrics-cell {
    white-space: nowrap;
}

.metric-users {
    font-weight: 700;
    color: var(--text-color);
}

.metric-sessions {
    font-size: 0.85em;
    color: #5f6368;
}

.metric-unit {
    font-weight: 400;
    font-size: 0.78em;
    color: #80868b;
}

.metric-na {
    color: #bdc1c6;
}

.detail-domains {
    margin: 6px 0;
    font-size: 0.9em;
}

.detail-domains a {
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.95em;
}

.gtm-tag-list {
    font-size: 0.82rem;
}

.gtm-other {
    margin-top: 6px;
    font-size: 0.82rem;
}

.gtm-other summary {
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 500;
}

.gtm-tag-list .tag-type {
    font-family: var(--font-mono);
    font-size: 0.85em;
    color: #80868b;
}

.gtm-tag-list .tag-paused {
    color: #80868b;
}

.tag-paused-lbl {
    font-size: 0.78em;
    font-weight: 600;
    color: #b06000;
    background: #fef7e0;
    border-radius: 8px;
    padding: 0 6px;
}

.legacy-flag {
    font-weight: 600;
    color: #b06000;
}

.gtm-api-err {
    color: #c5221f;
}

.gtm-loading {
    color: #5f6368;
    font-style: italic;
}

.clients-table td.empty-cell {
    text-align: center;
    color: #5f6368;
    padding: 30px;
}

/* Status chips */
.chip {
    display: inline-block;
    min-width: 28px;
    text-align: center;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85em;
    cursor: default;
}

.chip-ok { background: #e6f4ea; color: #137333; }
.chip-warn { background: #fef7e0; color: #b06000; }
.chip-err { background: #fce8e6; color: #c5221f; }
.chip-na { background: var(--light-gray); color: #80868b; font-weight: 500; }
.chip-paused { background: #e8eaed; color: #5f6368; }
.chip-own { background: #e8f0fe; color: #1967d2; font-size: 0.72em; }

/* Row action buttons */
.actions-cell {
    white-space: nowrap;
}

.row-btn {
    padding: 4px 9px;
    margin: 0 2px;
    font-size: 13px;
    background: var(--light-gray);
    border-radius: 4px;
}

.row-btn:hover {
    background: var(--medium-gray);
}

/* Details row */
.details-row td {
    background: #fafbfc;
    padding: 16px 20px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.detail-block h4 {
    margin-bottom: 8px;
    color: var(--dark-color);
}

.detail-block ul {
    font-size: 0.8rem;
}

.detail-block li {
    padding: 4px 0;
    border-bottom: none;
}

.detail-meta {
    font-size: 0.82em;
    color: #5f6368;
    margin-top: 6px;
}

.detail-empty {
    color: #5f6368;
}

.page-list li {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #5f6368;
}

.src-badge {
    font-size: 0.7rem;
    font-weight: 500;
    color: #5f6368;
    background: var(--light-gray);
    border-radius: 10px;
    padding: 2px 8px;
    margin-left: 6px;
    vertical-align: middle;
}

.src-badge.src-ga4 {
    background: #e8f0fe;
    color: #1967d2;
}

/* ============ Modal ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(32, 33, 36, 0.5);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    z-index: 100;
    overflow-y: auto;
}

.modal-overlay[hidden] {
    display: none;
}

.modal {
    background: white;
    border-radius: var(--border-radius);
    max-width: 760px;
    width: 100%;
    padding: 24px 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 26px;
    color: #5f6368;
    padding: 0 8px;
    margin: 0;
}

.modal-close:hover {
    color: var(--dark-color);
}

.modal-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.modal-footer-spacer {
    flex: 1;
}

.modal-save {
    width: auto;
    margin-top: 0;
}

.btn-danger {
    background: var(--error-color);
    color: white;
}

.btn-danger:hover {
    background: #c5221f;
}

.optional-hint {
    font-weight: normal;
    font-size: 0.85em;
    color: #5f6368;
}

/* Utility Classes */
.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

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

.hidden {
    display: none !important;
}

/* ==========================================================================
   Method Four design polish — branding, hero, cards, buttons, footer.
   Layered at the end so these win over the base rules above.
   ========================================================================== */

.container {
    max-width: 1240px;
    background: var(--card, #fff);
    border: 1px solid var(--medium-gray);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 36px 40px 28px;
}

/* ---- Top bar: Method Four logo + sign out ---- */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.m4-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.m4-logo-mark { height: 30px; width: auto; display: block; }

.m4-logo-text {
    display: inline-flex;
    gap: 4px;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    line-height: 1;
}

.mf-method { color: #181818; }
.mf-four { color: var(--primary-color); }

.sign-out-link {
    position: static;
    font-size: 0.82rem;
    color: var(--muted);
    text-decoration: none;
    padding: 7px 16px;
    border: 1px solid var(--medium-gray);
    border-radius: 9999px;
    transition: all 0.2s;
}
.sign-out-link:hover { color: var(--primary-color); border-color: var(--primary-color); }

/* ---- Hero header ---- */
header.hero {
    position: relative;
    text-align: center;
    margin-bottom: 36px;
    padding: 40px 20px 44px;
    border-bottom: 1px solid var(--medium-gray);
    overflow: hidden;
}
header.hero::before {
    content: "";
    position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
    background-image: radial-gradient(currentColor 1px, transparent 1px);
    background-size: 28px 28px; color: var(--dark-color);
}
header.hero::after {
    content: "";
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 70% at 50% 0%, rgba(16, 163, 127, 0.10), transparent 70%);
}
header.hero > * { position: relative; z-index: 1; }

header.hero .wordmark { font-size: 3rem; margin-bottom: 8px; }
header.hero .subtitle { font-size: 1.05rem; }

/* ---- Labs pill ---- */
.labs-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 18px;
    border: 1px solid var(--medium-gray);
    border-radius: 9999px;
    background: rgba(120, 113, 108, 0.06);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.01em;
}
.labs-dot {
    width: 7px; height: 7px; border-radius: 9999px;
    background: var(--primary-color);
    animation: labs-pulse 2s ease-in-out infinite;
}
@keyframes labs-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---- Cards: rounded, bordered, lift on hover ---- */
.card {
    border-radius: 16px;
    transition: transform 0.3s cubic-bezier(.25,.46,.45,.94), box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.18);
}

/* ---- Pill CTAs ---- */
.btn-primary,
.btn-success,
.monitor-btn,
.btn-secondary {
    border-radius: 9999px;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn-primary:hover,
.btn-success:hover { transform: scale(1.02); }

/* ---- Footer ---- */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 48px;
    padding-top: 28px;
    color: var(--muted);
}
footer .m4-logo-mark { height: 26px; }
footer .m4-logo-text { font-size: 1rem; }
.footer-note { font-size: 0.82rem; color: var(--muted); margin: 0; }
