:root {
            --font-bump: 0px;
            --btn-height: 36px;
            --bg-app: #ffffff;
            --bg-sidebar: #f8fafc;
            --border: #e5e7eb;
            --text-main: #111827;
            --text-muted: #6b7280;
            --primary: #2563eb;
            --primary-hover: #1d4ed8;
            --danger: #dc2626;
            --danger-hover: #b91c1c;
        }
        @media (max-width: 768px) {
            :root { --font-bump: 2px; --btn-height: 42px; }
        }
        html, body {
            width: 100%;
            height: 100%;
            margin: 0;
            overflow: hidden;
        }
        body {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            color: var(--text-main);
            background: #fff;
        }
        .app-shell {
            position: fixed;
            inset: 0;
            display: flex;
            background: var(--bg-app);
        }
        .sidebar-overlay {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.45);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease;
            z-index: 40;
        }
        .sidebar {
            width: 240px;
            background: var(--bg-sidebar);
            border-right: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            padding: 16px 14px;
            box-sizing: border-box;
            height: 100%;
        }
        .menu {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-top: 8px;
        }
        .menu-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 0 10px;
            border-radius: 10px;
            color: #374151;
            text-decoration: none;
            font-size: calc(14px + var(--font-bump));
            height: var(--btn-height);
            min-height: var(--btn-height);
        }
        .menu-item:hover {
            background: #eef2ff;
            color: #1f2937;
        }
        .menu-item.active {
            background: #e0e7ff;
            color: #1d4ed8;
            font-weight: 600;
        }
        .menu-icon {
            width: 20px;
            height: 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #6b7280;
        }
        .menu-item.active .menu-icon,
        .menu-item:hover .menu-icon {
            color: inherit;
        }
        .footer-menu {
            position: relative;
            margin-top: auto;
            padding-top: 16px;
        }
        .footer-toggle {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            border-radius: 12px;
            background: #fff;
            border: 1px solid var(--border);
            cursor: pointer;
            font-family: inherit;
            box-sizing: border-box;
        }
        .footer-logo {
            width: 32px;
            height: 32px;
            object-fit: contain;
            border-radius: 0;
        }
        .footer-title {
            font-size: calc(13px + var(--font-bump));
            font-weight: 600;
        }
        .footer-toggle-icon {
            margin-left: auto;
            color: #6b7280;
        }
        .footer-dropdown {
            position: absolute;
            left: 0;
            right: 0;
            bottom: calc(100% + 10px);
            background: #fff;
            border-radius: 14px;
            border: 1px solid #e5e7eb;
            box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
            overflow: hidden;
            display: none;
            z-index: 5;
        }
        .footer-menu.is-open .footer-dropdown {
            display: block;
        }
        .footer-link {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 14px;
            text-decoration: none;
            color: #111827;
            font-size: calc(14px + var(--font-bump));
        }
        .footer-link + .footer-link {
            border-top: 1px solid #f1f5f9;
        }
        .footer-link:hover {
            background: #f8fafc;
        }
        .footer-icon {
            width: 20px;
            height: 20px;
            color: #111827;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .main {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            box-sizing: border-box;
        }
        .top-bar {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }
        .page-title {
            margin: 0;
            font-size: calc(24px + var(--font-bump));
        }
        .page-subtitle {
            margin: 6px 0 0;
            color: var(--text-muted);
            font-size: calc(14px + var(--font-bump));
        }
        .hamburger {
            display: none;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 10px;
            border: 1px solid var(--border);
            background: #fff;
            cursor: pointer;
            color: #111827;
        }
        .hamburger svg {
            width: 24px;
            height: 24px;
            stroke: currentColor;
            stroke-width: 2.4;
        }
        .page-divider {
            border-top: 1px solid var(--border);
            margin: 12px 0 18px;
        }
        .section {
            margin-bottom: 24px;
            border: 1px solid var(--border);
            border-radius: 14px;
            background: #fff;
            padding: 16px;
        }
        .section h2 {
            margin: 0 0 8px;
            font-size: calc(18px + var(--font-bump));
        }
        .section p {
            margin: 0 0 14px;
            color: var(--text-muted);
            font-size: calc(14px + var(--font-bump));
            line-height: 1.45;
        }
        .details-panel {
            margin-bottom: 16px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: #fff;
            padding: 0;
        }
        .details-panel summary {
            min-height: var(--btn-height);
            display: flex;
            align-items: center;
            padding: 12px 14px;
            cursor: pointer;
            font-size: calc(14px + var(--font-bump));
            font-weight: 600;
            color: #111827;
            list-style: none;
        }
        .details-panel summary::-webkit-details-marker {
            display: none;
        }
        .details-panel summary::after {
            content: "⌄";
            margin-left: auto;
            color: #6b7280;
            font-size: calc(16px + var(--font-bump));
            line-height: 1;
        }
        .summary-meta {
            margin-left: 10px;
            color: var(--text-muted);
            font-size: calc(12px + var(--font-bump));
            font-weight: 500;
        }
        .details-panel[open] summary {
            border-bottom: 1px solid var(--border);
        }
        .details-panel[open] summary::after {
            transform: rotate(180deg);
        }
        .details-panel > :not(summary) {
            margin: 14px;
        }
        .details-panel > .field-grid,
        .details-panel > .table-wrap,
        .details-panel > form,
        .details-panel > .demo-row {
            margin: 14px;
        }
        .compact-panel,
        .danger-panel,
        .technical-panel {
            margin-top: 12px;
        }
        .technical-panel {
            background: #f8fafc;
        }
        .danger-panel {
            border-color: #fecaca;
        }
        .danger-panel summary {
            color: #991b1b;
        }
        .action-panel {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            padding: 12px;
            border: 1px solid #bfdbfe;
            border-radius: 12px;
            background: #eff6ff;
        }
        .action-panel .alert {
            flex-basis: 100%;
        }
        .demo-row {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            align-items: center;
        }
        .btn {
            min-height: var(--btn-height);
            padding: 0 18px;
            border-radius: 8px;
            border: 1px solid transparent;
            font-family: inherit;
            font-size: calc(14px + var(--font-bump));
            cursor: pointer;
            line-height: 1.1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .btn-primary { color: #fff; background: var(--primary); }
        .btn-primary:hover { background: var(--primary-hover); }
        .btn-secondary { color: #374151; background: #fff; border-color: #d1d5db; }
        .btn-secondary:hover { border-color: #9ca3af; color: #111827; }
        .btn-danger { color: #fff; background: var(--danger); }
        .btn-danger:hover { background: var(--danger-hover); }
        .btn-ghost { color: var(--primary); background: #eff6ff; border-color: #bfdbfe; }
        .delete-btn {
            border: none;
            background: #fee2e2;
            color: #991b1b;
            border-radius: 6px;
            width: var(--btn-height);
            height: var(--btn-height);
            padding: 0;
            cursor: pointer;
            font-size: calc(16px + var(--font-bump));
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .delete-btn:hover { background: #fecaca; }

        .field-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(240px, 1fr));
            gap: 12px;
        }
        .field-grid + .field-grid {
            margin-top: 12px;
        }
        .field {
            display: flex;
            flex-direction: column;
            gap: 6px;
            min-width: 0;
        }
        .field-full {
            grid-column: 1 / -1;
        }
        .technical-field {
            padding: 12px;
            border: 1px dashed #cbd5e1;
            border-radius: 12px;
            background: #f8fafc;
        }
        label {
            font-size: calc(13px + var(--font-bump));
            color: #374151;
        }
        input, select, textarea {
            min-height: var(--btn-height);
            border: 1px solid #d1d5db;
            border-radius: 8px;
            padding: 0 10px;
            font-family: inherit;
            font-size: calc(14px + var(--font-bump));
            box-sizing: border-box;
            width: 100%;
            color: #111827;
            background-color: #fff;
        }
        select {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            padding-right: 30px;
            background-image:
                linear-gradient(45deg, transparent 50%, #6b7280 50%),
                linear-gradient(135deg, #6b7280 50%, transparent 50%);
            background-position:
                calc(100% - 16px) 50%,
                calc(100% - 11px) 50%;
            background-size: 5px 5px, 5px 5px;
            background-repeat: no-repeat;
        }
        textarea {
            min-height: 92px;
            padding: 10px;
            resize: vertical;
        }
        .select-status.select-status--active {
            background-color: #ecfdf3;
            border-color: #bbf7d0;
        }
        .select-status.select-status--inactive {
            background-color: #fee2e2;
            border-color: #fca5a5;
        }

        .field input[type="checkbox"] {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            width: 16px;
            height: 16px;
            border-radius: 4px;
            border: 1px solid #d1d5db;
            background: #fff;
            display: inline-grid;
            place-content: center;
            margin: 0;
            min-height: 16px;
        }
        .field input[type="checkbox"]::after {
            content: "";
            width: 10px;
            height: 10px;
            transform: scale(0);
            transition: transform 120ms ease-in-out;
            clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
            background: #fff;
        }
        .field input[type="checkbox"]:checked {
            background: #2563eb;
            border-color: #2563eb;
        }
        .field input[type="checkbox"]:checked::after {
            transform: scale(1);
        }

        .checkbox-group {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 16px;
        }
        .checkbox-group label {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: calc(13px + var(--font-bump));
            color: #374151;
        }
        .hint {
            margin-top: 6px;
            color: #6b7280;
            font-size: calc(12px + var(--font-bump));
            line-height: 1.35;
        }
        .mt-12 {
            margin-top: 12px;
        }

        .attendees-picker { position: relative; }
        .attendees-input {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px;
            border: 1px solid #d1d5db;
            border-radius: 10px;
            padding: 6px 8px;
            background: #fff;
            min-height: 38px;
        }
        .attendees-input:focus-within {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
        }
        .attendee-search {
            border: none;
            outline: none;
            font-size: calc(13px + var(--font-bump));
            padding: 4px 2px;
            flex: 1;
            min-width: 160px;
        }
        .attendee-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 0 12px;
            border-radius: 8px;
            background: #f3f4f6;
            border: 1px solid #e5e7eb;
            font-size: calc(14px + var(--font-bump));
            color: #111827;
            height: 36px;
            line-height: 1;
        }
        .attendee-remove {
            border: none;
            background: transparent;
            color: #9ca3af;
            font-size: calc(14px + var(--font-bump));
            line-height: 1;
            cursor: pointer;
            margin-left: 4px;
            padding-right: 2px;
        }
        .attendee-dropdown {
            position: absolute;
            left: 0;
            right: 0;
            top: calc(100% + 6px);
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
            max-height: 220px;
            overflow-y: auto;
            padding: 6px;
            display: none;
            z-index: 20;
        }
        .attendee-option {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 10px;
            border-radius: 8px;
            cursor: pointer;
            font-size: calc(13px + var(--font-bump));
        }
        .attendee-option:hover { background: #f3f4f6; }

        .cards-grid {
            display: grid;
            gap: 12px;
            grid-template-columns: repeat(3, minmax(180px, 1fr));
        }
        .mini-card {
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 12px;
            background: #fff;
        }
        .mini-card-title { font-size: calc(13px + var(--font-bump)); color: var(--text-muted); }
        .mini-card-value { margin-top: 8px; font-size: calc(22px + var(--font-bump)); font-weight: 700; }
        .mini-card-value--text {
            font-size: calc(15px + var(--font-bump));
            line-height: 1.35;
            overflow-wrap: anywhere;
        }
        .badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            min-height: 30px;
            padding: 0 14px;
            font-size: calc(14px + var(--font-bump));
            font-weight: 400;
            border: 1.5px solid transparent;
            box-sizing: border-box;
            line-height: 1;
        }
        .badge-success { background: #dcfce7; color: #166534; border-color: #86efac; }
        .badge-danger { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
        .badge-info { background: #dbeafe; color: #1d4ed8; border-color: #93c5fd; }
        .badge-group {
            display: inline-flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px;
        }
        .alpha-alert {
            margin: 0;
            background: #fee2e2;
            border: 1px solid #fecaca;
            color: #7f1d1d;
            border-radius: 12px;
            padding: 12px 14px;
            font-size: calc(13px + var(--font-bump));
            line-height: 1.45;
        }
        .alert {
            border-radius: 10px;
            padding: 10px 12px;
            font-size: calc(13px + var(--font-bump));
            line-height: 1.45;
        }
        .alert-success { background: #ecfdf3; border: 1px solid #bbf7d0; color: #166534; }
        .alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

        .icon-cards {
            display: grid;
            grid-template-columns: repeat(3, minmax(160px, 1fr));
            gap: 10px;
        }
        .icon-card {
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            background: #fff;
            padding: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: calc(13px + var(--font-bump));
            color: #374151;
        }

        .editor-wrapper {
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid #cbd5e1;
            border-radius: 12px;
            overflow: hidden;
            transition: 0.2s ease;
        }
        .editor-wrapper:focus-within {
            border-color: #2563eb;
            background: #fff;
        }
        .ql-toolbar.ql-snow {
            border: none !important;
            border-bottom: 1px solid #cbd5e1 !important;
            background: #f8fafc;
        }
        .ql-container.ql-snow {
            border: none !important;
            font-family: inherit !important;
            font-size: calc(14px + var(--font-bump)) !important;
            min-height: 200px;
        }
        .ql-snow .ql-picker.ql-header .ql-picker-label::before,
        .ql-snow .ql-picker.ql-header .ql-picker-item::before {
            content: 'Обычный';
        }
        .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,
        .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
            content: 'Заголовок 1';
        }
        .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,
        .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
            content: 'Заголовок 2';
        }

        .faq-layout {
            display: grid;
            grid-template-columns: minmax(320px, 1.2fr) minmax(280px, 1fr);
            gap: 16px;
        }
        .faq-list {
            border-top: 1px solid #e5e7eb;
            background: #fff;
        }
        .faq-item {
            border-bottom: 1px solid #e5e7eb;
        }
        .faq-item summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 16px 0;
            cursor: pointer;
            font-size: calc(14px + var(--font-bump));
            font-weight: 600;
            color: #111827;
            list-style: none;
        }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item .chevron {
            width: 18px;
            height: 18px;
            color: #9ca3af;
            transition: transform 0.2s ease;
            flex-shrink: 0;
        }
        .faq-item[open] .chevron { transform: rotate(180deg); color: #111827; }
        .faq-answer {
            padding: 0 0 16px;
            font-size: calc(14px + var(--font-bump));
            color: #4b5563;
            line-height: 1.5;
        }
        .vote-area {
            margin-top: 12px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
        }
        .vote-btn {
            border: 1px solid #d1d5db;
            background: #fff;
            color: #111827;
            font-size: calc(13px + var(--font-bump));
            padding: 0 18px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            min-height: var(--btn-height);
        }
        .vote-hint {
            font-size: calc(12px + var(--font-bump));
            color: #6b7280;
        }
        .faq-process {
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 12px;
            background: #f8fafc;
        }
        .faq-process h3 {
            margin: 0 0 10px;
            font-size: calc(15px + var(--font-bump));
        }
        .faq-process ol {
            margin: 0;
            padding-left: 18px;
            color: #374151;
            font-size: calc(13px + var(--font-bump));
            line-height: 1.45;
        }
        .tabs-demo {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 12px;
        }
        .tab-button {
            border: 1px solid #d1d5db;
            background: #fff;
            color: #374151;
            font-size: calc(13px + var(--font-bump));
            padding: 0 18px;
            border-radius: 999px;
            min-height: var(--btn-height);
            line-height: 1.1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }
        .tab-button.is-active {
            background: #e0e7ff;
            border-color: #c7d2fe;
            color: #1d4ed8;
            font-weight: 600;
        }
        .tab-panel-demo {
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 12px;
            font-size: calc(13px + var(--font-bump));
            color: #374151;
            background: #f8fafc;
        }

        .table-wrap {
            width: 100%;
            overflow-x: auto;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            min-width: 680px;
            font-size: calc(14px + var(--font-bump));
        }
        th, td {
            border-bottom: 1px solid var(--border);
            padding: 10px;
            text-align: left;
            vertical-align: middle;
        }
        th { background: #f9fafb; font-weight: 600; }
        .sortable-head {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #374151;
            font-weight: 600;
            text-decoration: none;
            white-space: nowrap;
        }
        .sort-icon {
            width: 12px;
            height: 14px;
            display: inline-flex;
            flex-direction: column;
            line-height: 0.7;
            color: #9ca3af;
            font-size: 10px;
        }
        .sortable-head.active .sort-icon { color: #1d4ed8; }
        .copy-link-btn {
            border: none;
            background: none;
            color: var(--primary);
            text-decoration: underline;
            padding: 0;
            cursor: pointer;
            font-size: calc(13px + var(--font-bump));
        }

        .health-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(260px, 1fr));
            gap: 16px;
            margin-bottom: 24px;
        }
        .health-card {
            border: 1px solid var(--border);
            border-radius: 12px;
            background: #fff;
            padding: 16px;
        }
        .health-card-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 12px;
        }
        .health-card h2 {
            margin: 0;
            font-size: calc(18px + var(--font-bump));
        }
        .health-list {
            display: grid;
            gap: 10px;
            margin: 0;
        }
        .health-list div {
            display: grid;
            grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1.2fr);
            gap: 10px;
            align-items: center;
        }
        .health-list dt {
            color: var(--text-muted);
            font-size: calc(13px + var(--font-bump));
        }
        .health-list dd {
            margin: 0;
            font-size: calc(14px + var(--font-bump));
            overflow-wrap: anywhere;
        }
        .inline-details {
            margin-top: 12px;
            border-top: 1px solid var(--border);
            padding-top: 10px;
        }
        .inline-details summary {
            cursor: pointer;
            color: var(--primary);
            font-size: calc(13px + var(--font-bump));
            font-weight: 600;
        }
        .code-block {
            margin: 10px 0 0;
            padding: 10px;
            border-radius: 8px;
            background: #f8fafc;
            border: 1px solid var(--border);
            color: #111827;
            white-space: pre-wrap;
            overflow-wrap: anywhere;
            font-size: calc(12px + var(--font-bump));
        }

        .login-page {
            overflow: auto;
            background: #f8fafc;
        }
        .login-shell {
            min-height: 100%;
            display: grid;
            place-items: center;
            padding: 24px;
            box-sizing: border-box;
        }
        .login-card {
            width: min(100%, 460px);
            margin: 0;
        }
        .login-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 18px;
        }
        .login-logo {
            width: 44px;
            height: 44px;
            object-fit: contain;
        }
        .login-form {
            display: grid;
            gap: 12px;
        }

        .flatpickr-calendar {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            font-size: calc(14px + var(--font-bump));
            border-radius: 12px;
            box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
        }
        .flatpickr-weekday {
            font-size: calc(12px + var(--font-bump));
            color: #6b7280;
        }
        .flatpickr-day {
            height: 36px;
            line-height: 36px;
            font-size: calc(14px + var(--font-bump));
        }
        .flatpickr-day.selected,
        .flatpickr-day.startRange,
        .flatpickr-day.endRange {
            background: #2563eb;
            border-color: #2563eb;
        }

        @media (max-width: 1080px) {
            .faq-layout { grid-template-columns: 1fr; }
            .icon-cards { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
            .health-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 960px) {
            .field-grid { grid-template-columns: 1fr; }
            .cards-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 768px) {
            .sidebar {
                position: fixed;
                left: 0;
                top: 0;
                bottom: 0;
                transform: translateX(-100%);
                transition: transform 0.2s ease;
                z-index: 50;
            }
            body.sidebar-open .sidebar { transform: translateX(0); }
            body.sidebar-open .sidebar-overlay {
                opacity: 1;
                pointer-events: auto;
            }
            .hamburger { display: inline-flex; }
            .top-bar { align-items: flex-start; }
            .main { padding: 16px; }
            .icon-cards { grid-template-columns: 1fr; }
            .details-panel > :not(summary),
            .details-panel > .field-grid,
            .details-panel > .table-wrap,
            .details-panel > form,
            .details-panel > .demo-row {
                margin: 12px;
            }
            table {
                min-width: 560px;
            }
            table.responsive-table {
                min-width: 0;
                border-collapse: separate;
                border-spacing: 0 10px;
            }
            table.responsive-table thead {
                display: none;
            }
            table.responsive-table,
            table.responsive-table tbody,
            table.responsive-table tr,
            table.responsive-table td {
                display: block;
                width: 100%;
            }
            table.responsive-table tr {
                border: 1px solid var(--border);
                border-radius: 12px;
                padding: 8px 10px;
                background: #fff;
                box-sizing: border-box;
            }
            table.responsive-table td {
                border-bottom: 0;
                padding: 7px 0;
                display: grid;
                grid-template-columns: minmax(110px, 40%) minmax(0, 1fr);
                gap: 10px;
                align-items: start;
                overflow-wrap: anywhere;
            }
            table.responsive-table td::before {
                content: attr(data-label);
                color: var(--text-muted);
                font-size: calc(12px + var(--font-bump));
                line-height: 1.3;
            }
            table.responsive-table td[colspan] {
                display: block;
            }
            table.responsive-table td[colspan]::before {
                content: none;
            }
            .summary-meta {
                display: block;
                margin: 4px 24px 0 0;
            }
            .health-list div {
                grid-template-columns: 1fr;
                gap: 4px;
            }
            .footer-menu {
                padding-top: 8px;
            }
            .footer-dropdown {
                max-height: 52vh;
                overflow-y: auto;
            }
            .footer-title {
                min-width: 0;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
        }
