/* Internal account and report pages. Keep all rules scoped to a page root. */

html[data-theme="dark"] {
    color-scheme: dark;
}

/* Shared theme controls and light palette for internal pages. */
.internal-page .theme-toggle {
    width: 32px;
    height: 32px;
    padding: 0;
    flex: 0 0 32px;
}

.internal-page .theme-icon {
    display: none;
}

html[data-theme="dark"] .internal-page .theme-icon-light,
html[data-theme="light"] .internal-page .theme-icon-dark {
    display: block;
}

html[data-theme="light"] body.internal-page {
    --bg: #f4f7fb;
    --bg-tilt: #e8eef7;
    --surface: #ffffff;
    --surface-active: #edf2f7;
    --fg: rgba(15, 23, 42, 0.94);
    --fg-muted: rgba(51, 65, 85, 0.78);
    --fg-faint: rgba(71, 85, 105, 0.62);
    --border: rgba(15, 23, 42, 0.10);
    --border-strong: rgba(15, 23, 42, 0.18);
    --accent: #0f172a;
    --milk-1: rgb(191 219 254 / 0.48);
    --milk-2: rgb(224 231 255 / 0.62);
    --milk-3: rgb(186 230 253 / 0.42);
    --milk-4: rgb(226 232 240 / 0.68);
    --milk-5: rgb(219 234 254 / 0.50);
    --glass-bg: rgb(255 255 255 / 0.78);
    --glass-border: rgb(15 23 42 / 0.10);
}

html[data-theme="light"] body.internal-page .lq-header {
    background: rgb(248 250 252 / 0.88);
}

html[data-theme="light"] body.internal-page :is(
    .profile-card,
    .orders-card,
    .payments-card,
    .reports-card,
    .recovery-panel
) {
    border-color: var(--border);
    background: rgb(255 255 255 / 0.78);
    box-shadow: 0 20px 50px -24px rgb(15 23 42 / 0.28);
}

html[data-theme="light"] body.internal-page :is(
    .profile-input,
    .recovery-input,
    .payment-method,
    .profile-stat-icon,
    .payment-method-icon
) {
    border-color: var(--border);
    background: rgb(248 250 252 / 0.88);
    color: var(--fg);
}

html[data-theme="light"] body.account-recovery-page {
    background-image:
        radial-gradient(520px 220px at 30% 28%, var(--milk-1), transparent 68%),
        radial-gradient(680px 220px at 55% 50%, var(--milk-2), transparent 66%),
        radial-gradient(440px 190px at 75% 68%, var(--milk-3), transparent 68%),
        linear-gradient(135deg, var(--bg) 0%, var(--bg-tilt) 60%, var(--bg) 100%);
}

html[data-theme="light"] body.account-recovery-page .recovery-logo {
    filter: brightness(0) saturate(100%);
}

html[data-theme="light"] body.account-recovery-page :is(.recovery-title, .recovery-link:hover) {
    color: var(--fg);
}

html[data-theme="light"] body.account-recovery-page .recovery-input:focus {
    background: #fff;
    box-shadow: 0 0 0 3px rgb(15 23 42 / 0.08);
}

html[data-theme="light"] body.account-recovery-page .recovery-message {
    border-color: rgb(220 38 38 / 0.22);
    background: rgb(254 226 226 / 0.72);
    color: #991b1b;
}

html[data-theme="light"] body.account-recovery-page .recovery-message.is-success {
    border-color: rgb(22 163 74 / 0.22);
    background: rgb(220 252 231 / 0.72);
    color: #166534;
}

html[data-theme="light"] body.account-recovery-page .recovery-submit {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

html[data-theme="light"] body.report-detail-page :is(.lq-hero-card, .lq-cat-card) {
    box-shadow: 0 18px 42px -24px rgb(15 23 42 / 0.34) !important;
}

html[data-theme="light"] body.report-detail-page .cat-48 {
    background: #cbd5e1;
    border-color: #cbd5e1;
    box-shadow: none;
}

html[data-theme="light"] body.report-detail-page .cat-49 {
    background: #fff;
    color: #0f172a;
}

html[data-theme="light"] body.report-detail-page .cat-49:hover {
    background: #f1f5f9;
}

html[data-theme="light"] body.report-detail-page .cat-49 .cat-5 {
    color: #334155;
}

html[data-theme="light"] body.report-detail-page .cat-50 {
    color: #020617;
}

html[data-theme="light"] body.report-detail-page .cat-57 {
    background: #cbd5e1;
}

html[data-theme="light"] body.report-detail-page .cat-key-facts-more {
    background: #fff;
    border-color: #cbd5e1;
    color: #0f172a;
}

html[data-theme="light"] {
    color-scheme: light;
}

/* profile */
@scope (body.account-profile-page) {
:scope {
            --bg: #0a0b0d;
            --surface: #14161a;
            --surface-active: #1a1d22;
            --fg: rgba(255, 255, 255, 0.92);
            --fg-muted: rgba(255, 255, 255, 0.62);
            --fg-faint: rgba(255, 255, 255, 0.38);
            --border: rgba(255, 255, 255, 0.07);
            --border-strong: rgba(255, 255, 255, 0.14);
            --accent: rgba(255, 255, 255, 0.92);
            --bg-tilt: oklch(0.16 0.025 250);
            --milk-1: oklch(0.30 0.045 250 / 0.55);
            --milk-2: oklch(0.34 0.055 245 / 0.45);
            --milk-3: oklch(0.26 0.040 260 / 0.50);
            --milk-4: oklch(0.22 0.030 240 / 0.45);
            --milk-5: oklch(0.28 0.040 255 / 0.35);
        }

        :scope {
            margin: 0;
            padding: 0;
            min-height: 100vh;
            background: var(--bg);
            background-attachment: fixed;
            background-image:
                radial-gradient(900px 320px at 30% 28%, var(--milk-1), transparent 70%),
                radial-gradient(1100px 280px at 55% 50%, var(--milk-2), transparent 65%),
                radial-gradient(700px 240px at 75% 68%, var(--milk-3), transparent 70%),
                radial-gradient(500px 200px at 18% 78%, var(--milk-4), transparent 75%),
                radial-gradient(400px 180px at 88% 18%, var(--milk-5), transparent 75%),
                linear-gradient(135deg, var(--bg) 0%, var(--bg-tilt) 60%, var(--bg) 100%);
            color: var(--fg);
            font-family: "Geist", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-size: 14px;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
            font-feature-settings: "ss01", "cv11";
        }

        .lq-header {
            position: sticky;
            top: 0;
            z-index: 10;
            border-bottom: 1px solid var(--border);
            background: rgba(10, 11, 13, 0.86);
            backdrop-filter: blur(18px) saturate(140%);
        }

        .lq-header-inner {
            padding: 20px 0;
        }

        .lq-brand-mark {
            width: 22px;
            height: 22px;
            border: 1px solid var(--border-strong);
            border-radius: 5px;
            display: grid;
            place-items: center;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: -0.04em;
        }

        .lq-brand-title {
            font-size: 13px;
            font-weight: 500;
            letter-spacing: -0.01em;
        }

        .lq-brand-subtitle {
            color: var(--fg-muted);
            font-size: 12px;
        }

        .lq-divider-v {
            width: 1px;
            height: 14px;
            margin: 0 4px;
            background: var(--border);
        }

        .lq-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 32px;
            border: 1px solid transparent;
            border-radius: .5rem;
            background: transparent;
            color: var(--fg-muted);
            padding: .375rem .625rem;
            font-size: .875rem;
            line-height: 1;
            text-decoration: none;
            transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
        }

        .lq-btn:hover,
        .lq-btn.is-active {
            border-color: var(--border);
            background: var(--surface);
            color: var(--fg);
        }

        .profile-wrap {
            padding: 32px 0 56px;
        }

        .profile-meta {
            margin-bottom: 10px;
            color: var(--fg-faint);
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .profile-title {
            margin: 0 0 8px;
            font-size: 36px;
            font-weight: 500;
            letter-spacing: -0.025em;
            line-height: 1.1;
        }

        .profile-copy {
            margin: 0;
            color: var(--fg-muted);
            font-size: 15px;
            letter-spacing: -0.01em;
        }

        .profile-grid {
            display: grid;
            grid-template-columns: 320px minmax(0, 1fr);
            gap: 14px;
            margin-top: 28px;
        }

        .profile-card {
            border: 1px solid rgba(255, 255, 255, 0.10);
            border-radius: 14px;
            background: rgba(46, 50, 58, 0.62);
            backdrop-filter: blur(20px) saturate(140%);
            box-shadow:
                0 1px 0 rgba(255, 255, 255, 0.05) inset,
                0 -1px 0 rgba(0, 0, 0, 0.25) inset,
                0 24px 48px -16px rgba(0, 0, 0, 0.60),
                0 8px 16px -8px rgba(0, 0, 0, 0.40);
        }

        .profile-form-card {
            padding: 28px;
        }

        .profile-side-card {
            padding: 24px;
        }

        .profile-side-stack {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .section-title {
            margin: 0 0 18px;
            font-size: 17px;
            font-weight: 500;
            letter-spacing: -0.015em;
        }

        .profile-flash {
            margin: -4px 0 18px;
            padding: 12px 14px;
            border-radius: 14px;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
        }

        .profile-flash-error {
            border: 1px solid rgba(255, 92, 92, 0.32);
            background:
                linear-gradient(135deg, rgba(255, 73, 73, 0.14), rgba(255, 73, 73, 0.06)),
                rgba(20, 22, 26, 0.72);
            color: rgb(255, 190, 190);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 34px rgba(90, 0, 0, 0.18);
        }

        .profile-flash-success {
            border: 1px solid oklch(0.74 0.14 145 / 0.34);
            background:
                linear-gradient(135deg, oklch(0.74 0.14 145 / 0.14), oklch(0.74 0.14 145 / 0.06)),
                rgba(20, 22, 26, 0.72);
            color: oklch(0.82 0.12 145);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 34px oklch(0.35 0.12 145 / 0.18);
        }

        .profile-flash p {
            margin: 0;
            font-size: 13px;
            line-height: 1.45;
            letter-spacing: -0.005em;
        }

        .profile-form {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .profile-field {
            display: block;
            min-width: 0;
        }

        .profile-field.is-wide {
            grid-column: 1 / -1;
        }

        .profile-label {
            display: block;
            margin-bottom: 7px;
            color: var(--fg-faint);
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .profile-input {
            width: 100%;
            height: 46px;
            border: 1px solid var(--border-strong);
            border-radius: 10px;
            background: rgba(10, 11, 13, 0.48);
            color: var(--fg);
            padding: 0 13px;
            font: 500 14px/1 "Geist", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
            outline: none;
        }

        .profile-input:focus {
            border-color: rgba(255, 255, 255, 0.36);
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
        }

        .profile-input[readonly] {
            color: var(--fg-muted);
            cursor: default;
        }

        .profile-actions {
            grid-column: 1 / -1;
            display: flex;
            justify-content: flex-end;
            padding-top: 8px;
        }

        .profile-submit {
            min-height: 42px;
            border: 1px solid rgba(255, 255, 255, 0.9);
            border-radius: 10px;
            background: #fff;
            color: #050608;
            padding: 0 18px;
            font-weight: 700;
            line-height: 1;
            cursor: pointer;
            transition: opacity 160ms ease, transform 160ms ease;
        }

        .profile-submit:hover {
            transform: translateY(-1px);
        }

        .profile-stat {
            display: grid;
            grid-template-columns: 34px 1fr;
            gap: 12px;
            align-items: center;
            padding: 14px 0;
            border-top: 1px solid var(--border);
        }

        .profile-stat:first-of-type {
            border-top: 0;
            padding-top: 0;
        }

        .profile-stat-icon {
            width: 34px;
            height: 34px;
            border: 1px solid var(--border);
            border-radius: 8px;
            display: grid;
            place-items: center;
            color: var(--fg-muted);
            background: rgba(255, 255, 255, 0.04);
        }

        .profile-stat-label {
            margin-bottom: 3px;
            color: var(--fg-faint);
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .profile-stat-value {
            color: var(--fg);
            font-size: 13px;
            overflow-wrap: anywhere;
        }

        .payment-methods {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .payment-method {
            display: grid;
            grid-template-columns: 38px 1fr auto;
            gap: 12px;
            align-items: center;
            padding: 12px;
            border: 1px solid var(--border);
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.04);
        }

        .payment-method-icon {
            width: 38px;
            height: 38px;
            border: 1px solid var(--border);
            border-radius: 9px;
            display: grid;
            place-items: center;
            color: var(--fg-muted);
            background: rgba(10, 11, 13, 0.42);
        }

        .payment-method-main {
            min-width: 0;
        }

        .payment-method-title {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 4px;
            color: var(--fg);
            font-size: 13px;
            line-height: 1.2;
        }

        .payment-method-meta {
            color: var(--fg-faint);
            font-size: 11px;
            line-height: 1.35;
        }

        .payment-method-badge {
            flex-shrink: 0;
            padding: 4px 7px;
            border: 1px solid oklch(0.74 0.14 145 / 0.34);
            border-radius: 7px;
            background: oklch(0.74 0.14 145 / 0.10);
            color: oklch(0.82 0.12 145);
            font-size: 10px;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .payment-method-actions {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .payment-method-action {
            width: 30px;
            height: 30px;
            border: 1px solid var(--border);
            border-radius: 8px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.04);
            color: var(--fg-muted);
            cursor: pointer;
            transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
        }

        .payment-method-action:hover {
            border-color: var(--border-strong);
            background: rgba(255, 255, 255, 0.08);
            color: var(--fg);
        }

        .payment-method-action-danger:hover {
            border-color: rgba(255, 92, 92, 0.32);
            background: rgba(255, 73, 73, 0.10);
            color: rgb(255, 190, 190);
        }

        .payment-method-action:disabled {
            opacity: 0.45;
            cursor: default;
        }

        .payment-method-action:disabled:hover {
            border-color: var(--border);
            background: rgba(255, 255, 255, 0.04);
            color: var(--fg-muted);
        }

        @media screen and (max-width: 991px) {
            .profile-grid {
                grid-template-columns: 1fr;
            }
        }

        @media screen and (max-width: 767px) {
            .lq-header-inner {
                align-items: flex-start !important;
                flex-direction: column;
            }

            .profile-title {
                font-size: 30px;
            }

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

            .profile-form-card,
            .profile-side-card {
                padding: 20px;
            }
        }
}

/* orders */
@scope (body.account-orders-page) {
:scope {
            --bg: #0a0b0d;
            --surface: #14161a;
            --fg: rgba(255, 255, 255, 0.92);
            --fg-muted: rgba(255, 255, 255, 0.62);
            --fg-faint: rgba(255, 255, 255, 0.38);
            --border: rgba(255, 255, 255, 0.07);
            --border-strong: rgba(255, 255, 255, 0.14);
            --bg-tilt: oklch(0.16 0.025 250);
            --milk-1: oklch(0.30 0.045 250 / 0.55);
            --milk-2: oklch(0.34 0.055 245 / 0.45);
            --milk-3: oklch(0.26 0.040 260 / 0.50);
            --milk-4: oklch(0.22 0.030 240 / 0.45);
            --milk-5: oklch(0.28 0.040 255 / 0.35);
        }

        :scope {
            margin: 0;
            min-height: 100vh;
            background: var(--bg);
            background-attachment: fixed;
            background-image:
                radial-gradient(900px 320px at 30% 28%, var(--milk-1), transparent 70%),
                radial-gradient(1100px 280px at 55% 50%, var(--milk-2), transparent 65%),
                radial-gradient(700px 240px at 75% 68%, var(--milk-3), transparent 70%),
                radial-gradient(500px 200px at 18% 78%, var(--milk-4), transparent 75%),
                radial-gradient(400px 180px at 88% 18%, var(--milk-5), transparent 75%),
                linear-gradient(135deg, var(--bg) 0%, var(--bg-tilt) 60%, var(--bg) 100%);
            color: var(--fg);
            font-family: "Geist", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-size: 14px;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
            font-feature-settings: "ss01", "cv11";
        }

        .lq-header {
            position: sticky;
            top: 0;
            z-index: 10;
            border-bottom: 1px solid var(--border);
            background: rgba(10, 11, 13, 0.86);
            backdrop-filter: blur(18px) saturate(140%);
        }

        .lq-header-inner {
            padding: 20px 0;
        }

        .lq-brand-mark {
            width: 22px;
            height: 22px;
            border: 1px solid var(--border-strong);
            border-radius: 5px;
            display: grid;
            place-items: center;
            color: var(--fg);
            font-size: 12px;
            font-weight: 600;
            text-decoration: none;
        }

        .lq-brand-title {
            font-size: 13px;
            font-weight: 500;
        }

        .lq-brand-subtitle {
            color: var(--fg-muted);
            font-size: 12px;
        }

        .lq-divider-v {
            width: 1px;
            height: 14px;
            margin: 0 4px;
            background: var(--border);
        }

        .lq-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 32px;
            border: 1px solid transparent;
            border-radius: .5rem;
            background: transparent;
            color: var(--fg-muted);
            padding: .375rem .625rem;
            font-size: .875rem;
            line-height: 1;
            text-decoration: none;
            transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
        }

        .lq-btn:hover,
        .lq-btn.is-active {
            border-color: var(--border);
            background: var(--surface);
            color: var(--fg);
        }

        .lq-btn-primary {
            border-color: rgba(255, 255, 255, 0.9);
            background: #fff;
            color: #050608;
            font-weight: 700;
        }

        .lq-btn-primary:hover {
            background: #fff;
            color: #050608;
        }

        .orders-wrap {
            padding: 32px 0 56px;
        }

        .orders-meta {
            margin-bottom: 10px;
            color: var(--fg-faint);
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .orders-title {
            margin: 0 0 8px;
            font-size: 36px;
            font-weight: 500;
            letter-spacing: -0.025em;
            line-height: 1.1;
        }

        .orders-copy {
            margin: 0;
            color: var(--fg-muted);
            font-size: 15px;
        }

        .orders-card {
            margin-top: 28px;
            border: 1px solid rgba(255, 255, 255, 0.10);
            border-radius: 14px;
            background: rgba(46, 50, 58, 0.62);
            backdrop-filter: blur(20px) saturate(140%);
            box-shadow:
                0 1px 0 rgba(255, 255, 255, 0.05) inset,
                0 -1px 0 rgba(0, 0, 0, 0.25) inset,
                0 24px 48px -16px rgba(0, 0, 0, 0.60),
                0 8px 16px -8px rgba(0, 0, 0, 0.40);
            overflow: hidden;
        }

        .orders-row {
            display: grid;
            grid-template-columns: 82px 156px minmax(220px, 1fr) 112px 142px;
            gap: 16px;
            align-items: center;
            padding: 16px 18px;
            border-top: 1px solid var(--border);
        }

        .orders-row:first-child {
            border-top: 0;
        }

        .orders-head {
            color: var(--fg-faint);
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .orders-cell {
            min-width: 0;
            color: var(--fg);
            font-size: 13px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .orders-cell::before {
            display: none;
            margin-bottom: 4px;
            color: var(--fg-faint);
            font-size: 10px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .orders-address {
            white-space: normal;
            line-height: 1.35;
        }

        .orders-muted {
            color: var(--fg-muted);
        }

        .orders-status {
            display: inline-flex;
            width: max-content;
            max-width: 100%;
            padding: 5px 9px;
            border: 1px solid var(--border-strong);
            border-radius: 7px;
            background: rgba(255, 255, 255, 0.05);
            color: var(--fg);
            font-size: 12px;
        }

        .orders-status-success {
            border-color: oklch(0.74 0.14 145 / 0.34);
            background: oklch(0.74 0.14 145 / 0.12);
            color: oklch(0.82 0.12 145);
        }

        .orders-status-alert {
            border-color: oklch(0.66 0.17 25 / 0.36);
            background: oklch(0.66 0.17 25 / 0.12);
            color: oklch(0.78 0.13 25);
        }

        .orders-empty {
            padding: 32px;
            color: var(--fg-muted);
        }

        @media screen and (max-width: 991px) {
            .orders-row {
                grid-template-columns: 1fr;
                gap: 12px;
                padding: 18px;
            }

            .orders-head {
                display: none;
            }

            .orders-cell {
                white-space: normal;
            }

            .orders-cell::before {
                content: attr(data-label);
                display: block;
            }
        }

        @media screen and (max-width: 767px) {
            .lq-header-inner {
                align-items: flex-start !important;
                flex-direction: column;
            }

            .orders-title {
                font-size: 30px;
            }
        }
}

/* payments */
@scope (body.account-payments-page) {
:scope {
            --bg: #0a0b0d;
            --surface: #14161a;
            --fg: rgba(255, 255, 255, 0.92);
            --fg-muted: rgba(255, 255, 255, 0.62);
            --fg-faint: rgba(255, 255, 255, 0.38);
            --border: rgba(255, 255, 255, 0.07);
            --border-strong: rgba(255, 255, 255, 0.14);
            --bg-tilt: oklch(0.16 0.025 250);
            --milk-1: oklch(0.30 0.045 250 / 0.55);
            --milk-2: oklch(0.34 0.055 245 / 0.45);
            --milk-3: oklch(0.26 0.040 260 / 0.50);
            --milk-4: oklch(0.22 0.030 240 / 0.45);
            --milk-5: oklch(0.28 0.040 255 / 0.35);
        }

        :scope {
            margin: 0;
            min-height: 100vh;
            background: var(--bg);
            background-attachment: fixed;
            background-image:
                radial-gradient(900px 320px at 30% 28%, var(--milk-1), transparent 70%),
                radial-gradient(1100px 280px at 55% 50%, var(--milk-2), transparent 65%),
                radial-gradient(700px 240px at 75% 68%, var(--milk-3), transparent 70%),
                radial-gradient(500px 200px at 18% 78%, var(--milk-4), transparent 75%),
                radial-gradient(400px 180px at 88% 18%, var(--milk-5), transparent 75%),
                linear-gradient(135deg, var(--bg) 0%, var(--bg-tilt) 60%, var(--bg) 100%);
            color: var(--fg);
            font-family: "Geist", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-size: 14px;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
            font-feature-settings: "ss01", "cv11";
        }

        .lq-header {
            position: sticky;
            top: 0;
            z-index: 10;
            border-bottom: 1px solid var(--border);
            background: rgba(10, 11, 13, 0.86);
            backdrop-filter: blur(18px) saturate(140%);
        }

        .lq-header-inner {
            padding: 20px 0;
        }

        .lq-brand-mark {
            width: 22px;
            height: 22px;
            border: 1px solid var(--border-strong);
            border-radius: 5px;
            display: grid;
            place-items: center;
            color: var(--fg);
            font-size: 12px;
            font-weight: 600;
            text-decoration: none;
        }

        .lq-brand-title {
            font-size: 13px;
            font-weight: 500;
        }

        .lq-brand-subtitle {
            color: var(--fg-muted);
            font-size: 12px;
        }

        .lq-divider-v {
            width: 1px;
            height: 14px;
            margin: 0 4px;
            background: var(--border);
        }

        .lq-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 32px;
            border: 1px solid transparent;
            border-radius: .5rem;
            background: transparent;
            color: var(--fg-muted);
            padding: .375rem .625rem;
            font-size: .875rem;
            line-height: 1;
            text-decoration: none;
            transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
        }

        .lq-btn:hover,
        .lq-btn.is-active {
            border-color: var(--border);
            background: var(--surface);
            color: var(--fg);
        }

        .payments-wrap {
            padding: 32px 0 56px;
        }

        .payments-meta {
            margin-bottom: 10px;
            color: var(--fg-faint);
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .payments-title {
            margin: 0 0 8px;
            font-size: 36px;
            font-weight: 500;
            letter-spacing: -0.025em;
            line-height: 1.1;
        }

        .payments-copy {
            margin: 0;
            color: var(--fg-muted);
            font-size: 15px;
        }

        .payments-card {
            margin-top: 28px;
            border: 1px solid rgba(255, 255, 255, 0.10);
            border-radius: 14px;
            background: rgba(46, 50, 58, 0.62);
            backdrop-filter: blur(20px) saturate(140%);
            box-shadow:
                0 1px 0 rgba(255, 255, 255, 0.05) inset,
                0 -1px 0 rgba(0, 0, 0, 0.25) inset,
                0 24px 48px -16px rgba(0, 0, 0, 0.60),
                0 8px 16px -8px rgba(0, 0, 0, 0.40);
            overflow: hidden;
        }

        .payments-row {
            display: grid;
            grid-template-columns: 72px minmax(150px, 1fr) 82px 142px 142px 112px 96px;
            gap: 16px;
            align-items: center;
            padding: 16px 18px;
            border-top: 1px solid var(--border);
        }

        .payments-row:first-child {
            border-top: 0;
        }

        .payments-head {
            color: var(--fg-faint);
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .payments-cell {
            min-width: 0;
            color: var(--fg);
            font-size: 13px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .payments-cell::before {
            display: none;
            margin-bottom: 4px;
            color: var(--fg-faint);
            font-size: 10px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .payments-cell-right {
            justify-self: end;
            text-align: right;
        }

        .payments-muted {
            color: var(--fg-muted);
        }

        .payments-badge {
            display: inline-flex;
            width: max-content;
            max-width: 100%;
            padding: 5px 9px;
            border: 1px solid var(--border-strong);
            border-radius: 7px;
            background: rgba(255, 255, 255, 0.05);
            color: var(--fg);
            font-size: 12px;
        }

        .payments-empty {
            padding: 32px;
            color: var(--fg-muted);
        }

        @media screen and (max-width: 1199px) {
            .payments-row {
                grid-template-columns: 1fr;
                gap: 12px;
                padding: 18px;
            }

            .payments-head {
                display: none;
            }

            .payments-cell {
                white-space: normal;
            }

            .payments-cell::before {
                content: attr(data-label);
                display: block;
            }

            .payments-cell-right {
                justify-self: stretch;
                text-align: left;
            }
        }

        @media screen and (max-width: 767px) {
            .lq-header-inner {
                align-items: flex-start !important;
                flex-direction: column;
            }

            .payments-title {
                font-size: 30px;
            }
        }
}

/* reports */
@scope (body.account-reports-page) {
:scope {
            --bg: #0a0b0d;
            --surface: #14161a;
            --fg: rgba(255, 255, 255, 0.92);
            --fg-muted: rgba(255, 255, 255, 0.62);
            --fg-faint: rgba(255, 255, 255, 0.38);
            --border: rgba(255, 255, 255, 0.07);
            --border-strong: rgba(255, 255, 255, 0.14);
            --bg-tilt: oklch(0.16 0.025 250);
            --milk-1: oklch(0.30 0.045 250 / 0.55);
            --milk-2: oklch(0.34 0.055 245 / 0.45);
            --milk-3: oklch(0.26 0.040 260 / 0.50);
            --milk-4: oklch(0.22 0.030 240 / 0.45);
            --milk-5: oklch(0.28 0.040 255 / 0.35);
        }

        :scope {
            margin: 0;
            min-height: 100vh;
            background: var(--bg);
            background-attachment: fixed;
            background-image:
                radial-gradient(900px 320px at 30% 28%, var(--milk-1), transparent 70%),
                radial-gradient(1100px 280px at 55% 50%, var(--milk-2), transparent 65%),
                radial-gradient(700px 240px at 75% 68%, var(--milk-3), transparent 70%),
                radial-gradient(500px 200px at 18% 78%, var(--milk-4), transparent 75%),
                radial-gradient(400px 180px at 88% 18%, var(--milk-5), transparent 75%),
                linear-gradient(135deg, var(--bg) 0%, var(--bg-tilt) 60%, var(--bg) 100%);
            color: var(--fg);
            font-family: "Geist", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-size: 14px;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
            font-feature-settings: "ss01", "cv11";
        }

        .lq-header {
            position: sticky;
            top: 0;
            z-index: 10;
            border-bottom: 1px solid var(--border);
            background: rgba(10, 11, 13, 0.86);
            backdrop-filter: blur(18px) saturate(140%);
        }

        .lq-header-inner {
            padding: 20px 0;
        }

        .lq-brand-mark {
            width: 22px;
            height: 22px;
            border: 1px solid var(--border-strong);
            border-radius: 5px;
            display: grid;
            place-items: center;
            color: var(--fg);
            font-size: 12px;
            font-weight: 600;
            text-decoration: none;
        }

        .lq-brand-title {
            font-size: 13px;
            font-weight: 500;
        }

        .lq-brand-subtitle {
            color: var(--fg-muted);
            font-size: 12px;
        }

        .lq-divider-v {
            width: 1px;
            height: 14px;
            margin: 0 4px;
            background: var(--border);
        }

        .lq-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 32px;
            border: 1px solid transparent;
            border-radius: .5rem;
            background: transparent;
            color: var(--fg-muted);
            padding: .375rem .625rem;
            font-size: .875rem;
            line-height: 1;
            text-decoration: none;
            transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
        }

        .lq-btn:hover,
        .lq-btn.is-active {
            border-color: var(--border);
            background: var(--surface);
            color: var(--fg);
        }

        .lq-btn-primary {
            border-color: rgba(255, 255, 255, 0.9);
            background: #fff;
            color: #050608;
            font-weight: 700;
        }

        .lq-btn-primary:hover {
            background: #fff;
            color: #050608;
        }

        .reports-wrap {
            padding: 32px 0 56px;
        }

        .reports-meta {
            margin-bottom: 10px;
            color: var(--fg-faint);
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .reports-title {
            margin: 0 0 8px;
            font-size: 36px;
            font-weight: 500;
            letter-spacing: -0.025em;
            line-height: 1.1;
        }

        .reports-copy {
            margin: 0;
            color: var(--fg-muted);
            font-size: 15px;
        }

        .reports-card {
            margin-top: 28px;
            border: 1px solid rgba(255, 255, 255, 0.10);
            border-radius: 14px;
            background: rgba(46, 50, 58, 0.62);
            backdrop-filter: blur(20px) saturate(140%);
            box-shadow:
                0 1px 0 rgba(255, 255, 255, 0.05) inset,
                0 -1px 0 rgba(0, 0, 0, 0.25) inset,
                0 24px 48px -16px rgba(0, 0, 0, 0.60),
                0 8px 16px -8px rgba(0, 0, 0, 0.40);
            overflow: hidden;
        }

        .reports-row {
            display: grid;
            grid-template-columns: 72px minmax(180px, 1fr) 140px 142px 142px 154px ;
            gap: 16px;
            align-items: center;
            padding: 16px 18px;
            border-top: 1px solid var(--border);
        }

        .reports-row:first-child {
            border-top: 0;
        }

        .reports-head {
            color: var(--fg-faint);
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .reports-cell {
            min-width: 0;
            color: var(--fg);
            font-size: 13px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .reports-cell::before {
            display: none;
            margin-bottom: 4px;
            color: var(--fg-faint);
            font-size: 10px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .reports-muted {
            color: var(--fg-muted);
        }

        .reports-address {
            white-space: normal;
            line-height: 1.35;
        }

        .reports-status {
            display: inline-flex;
            width: max-content;
            max-width: 100%;
            padding: 5px 9px;
            border: 1px solid var(--border-strong);
            border-radius: 7px;
            background: rgba(255, 255, 255, 0.05);
            color: var(--fg);
            font-size: 12px;
        }

        .reports-status-success {
            border-color: oklch(0.74 0.14 145 / 0.34);
            background: oklch(0.74 0.14 145 / 0.12);
            color: oklch(0.82 0.12 145);
        }

        .reports-status-alert {
            border-color: oklch(0.66 0.17 25 / 0.36);
            background: oklch(0.66 0.17 25 / 0.12);
            color: oklch(0.78 0.13 25);
        }

        .reports-status-progress {
            border-color: oklch(0.70 0.12 230 / 0.34);
            background: oklch(0.70 0.12 230 / 0.12);
            color: oklch(0.82 0.09 230);
        }

        .reports-empty {
            padding: 32px;
            color: var(--fg-muted);
        }

        @media screen and (max-width: 991px) {
            .reports-row {
                grid-template-columns: 1fr;
                gap: 12px;
                padding: 18px;
            }

            .reports-head {
                display: none;
            }

            .reports-cell {
                white-space: normal;
            }

            .reports-cell::before {
                content: attr(data-label);
                display: block;
            }
        }

        @media screen and (max-width: 767px) {
            .lq-header-inner {
                align-items: flex-start !important;
                flex-direction: column;
            }

            .reports-title {
                font-size: 30px;
            }
        }
}

/* password-recovery */
@scope (body.account-recovery-page) {
:scope {
            --bg: #0a0b0d;
            --bg-tilt: oklch(0.16 0.025 250);
            --surface: rgba(20, 22, 26, 0.86);
            --fg: rgba(255, 255, 255, 0.92);
            --fg-muted: rgba(255, 255, 255, 0.64);
            --fg-faint: rgba(255, 255, 255, 0.42);
            --border: rgba(255, 255, 255, 0.12);
            --border-strong: rgba(255, 255, 255, 0.22);
        }

        * {
            box-sizing: border-box;
        }

        :scope {
            min-height: 100vh;
            margin: 0;
            background: var(--bg);
            background-image:
                radial-gradient(900px 320px at 30% 28%, oklch(0.30 0.045 250 / 0.55), transparent 70%),
                radial-gradient(1100px 280px at 55% 50%, oklch(0.34 0.055 245 / 0.45), transparent 65%),
                radial-gradient(700px 240px at 75% 68%, oklch(0.26 0.040 260 / 0.50), transparent 70%),
                linear-gradient(135deg, var(--bg) 0%, var(--bg-tilt) 60%, var(--bg) 100%);
            color: var(--fg);
            font-family: "Brother 1816", Arial, Helvetica, sans-serif;
        }

        .recovery-page {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 42px 16px;
        }

        .recovery-panel {
            width: min(100%, 460px);
            border: 1px solid var(--border);
            border-radius: 18px;
            background: var(--surface);
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.08);
            padding: 30px;
        }

        .recovery-logo {
            display: block;
            width: 124px;
            height: auto;
            margin-bottom: 32px;
        }

        .recovery-kicker {
            margin: 0 0 10px;
            color: var(--fg-faint);
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .recovery-title {
            margin: 0 0 12px;
            color: #fff;
            font-size: 34px;
            line-height: 1.06;
            font-weight: 600;
        }

        .recovery-copy {
            margin: 0 0 26px;
            color: var(--fg-muted);
            font-size: 15px;
            line-height: 1.6;
        }

        .recovery-form {
            display: grid;
            gap: 16px;
        }

        .recovery-field {
            display: grid;
            gap: 8px;
            margin: 0;
        }

        .recovery-field span {
            color: var(--fg-muted);
            font-size: 13px;
            font-weight: 600;
        }

        .recovery-input {
            width: 100%;
            height: 48px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            outline: none;
            padding: 0 14px;
            font-size: 15px;
            transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
        }

        .recovery-input:focus {
            border-color: var(--border-strong);
            background: rgba(255, 255, 255, 0.11);
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
        }

        .recovery-message {
            display: none;
            margin: 2px 0 0;
            border: 1px solid rgba(255, 116, 116, 0.28);
            border-radius: 12px;
            background: rgba(255, 68, 68, 0.10);
            color: rgba(255, 222, 222, 0.92);
            padding: 12px 14px;
            font-size: 13px;
            line-height: 1.45;
        }

        .recovery-message.is-visible {
            display: block;
        }

        .recovery-message.is-success {
            border-color: rgba(116, 255, 181, 0.24);
            background: rgba(54, 184, 116, 0.12);
            color: rgba(222, 255, 238, 0.94);
        }

        .recovery-submit {
            width: 100%;
            min-height: 50px;
            border: 1px solid rgba(255, 255, 255, 0.9);
            border-radius: 12px;
            background: #fff;
            color: #050608;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: transform 0.2s ease, opacity 0.2s ease;
        }

        .recovery-submit:hover {
            transform: translateY(-1px);
        }

        .recovery-submit:disabled {
            cursor: default;
            opacity: 0.68;
            transform: none;
        }

        .recovery-form.is-complete .recovery-field,
        .recovery-form.is-complete .recovery-submit {
            display: none;
        }

        .recovery-link {
            display: inline-flex;
            justify-content: center;
            margin-top: 14px;
            color: var(--fg-muted);
            font-size: 13px;
            text-decoration: none;
        }

        .recovery-link:hover {
            color: #fff;
        }

        @media (max-width: 520px) {
            .recovery-panel {
                padding: 24px;
            }

            .recovery-title {
                font-size: 30px;
            }
        }
}

/* Property report */
@scope (body.report-detail-page) {
:scope {

                --bg: #0a0b0d;
                --surface: #14161a;
                --surface-active: #1a1d22;
                --fg: rgba(255, 255, 255, 0.92);
                --fg-muted: rgba(255, 255, 255, 0.62);
                --fg-faint: rgba(255, 255, 255, 0.38);
                --border: rgba(255, 255, 255, 0.07);
                --border-strong: rgba(255, 255, 255, 0.14);
                --accent: rgba(255, 255, 255, 0.92);
                --status-poor: oklch(0.65 0.18 25);
                --status-fair: oklch(0.78 0.15 70);
                --status-good: oklch(0.74 0.14 145);
                --status-excellent: oklch(0.78 0.16 145);
                --future-accent: oklch(0.70 0.12 230);
                --bg-tilt: oklch(0.16 0.025 250);
                --milk-1: oklch(0.30 0.045 250 / 0.55);
                --milk-2: oklch(0.34 0.055 245 / 0.45);
                --milk-3: oklch(0.26 0.040 260 / 0.50);
                --milk-4: oklch(0.22 0.030 240 / 0.45);
                --milk-5: oklch(0.28 0.040 255 / 0.35);
                --scale-gradient: linear-gradient(to right, oklch(0.78 0.10 25) 0%, oklch(0.72 0.10 70) 30%, oklch(0.62 0.12 165) 70%, oklch(0.42 0.10 160) 100%);
            }

            :scope {
                margin: 0;
                padding: 0;
                background: var(--bg);
                color: var(--fg);
                font-family: "Geist", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
                background-attachment: fixed;
                background-image: /* Млечный путь — диагональная дымка через центр, рваные пятна */ radial-gradient(900px 320px at 30% 28%, var(--milk-1, transparent), transparent 70%), radial-gradient(1100px 280px at 55% 50%, var(--milk-2, transparent), transparent 65%), radial-gradient(700px 240px at 75% 68%, var(--milk-3, transparent), transparent 70%), radial-gradient(500px 200px at 18% 78%, var(--milk-4, transparent), transparent 75%), radial-gradient(400px 180px at 88% 18%, var(--milk-5, transparent), transparent 75%), /* Базовый диагональный сдвиг тона */ linear-gradient(135deg, var(--bg) 0%, var(--bg-tilt, var(--bg)) 60%, var(--bg) 100%);
                font-size: 14px;
                -webkit-font-smoothing: antialiased;
                text-rendering: optimizeLegibility;
                font-feature-settings: "ss01", "cv11";
                transition: background 200ms ease, color 200ms ease;
            }

            .lq-header {
                position: sticky;
                top: 0;
                z-index: 10;
                background: var(--bg);
                border-bottom: 1px solid var(--border);
            }

            .lq-header-inner {
                padding: 20px 0;
            }

            .lq-brand-mark {
                width: 22px;
                height: 22px;
                border: 1px solid var(--border-strong);
                border-radius: 5px;
                display: grid;
                place-items: center;
                color: var(--fg);
                font-size: 12px;
                font-weight: 600;
                text-decoration: none;
            }

            .lq-brand-title {
                font-size: 13px;
                letter-spacing: -0.01em;
                font-weight: 500;
            }

            .lq-brand-subtitle {
                font-size: 12px;
                color: var(--fg-muted);
            }

            .lq-divider-v {
                width: 1px;
                background: var(--border);
            }

            .lq-divider-v-sm {
                height: 14px;
                margin: 0 4px;
            }

            .lq-divider-v-md {
                height: 18px;
                margin: 0 6px;
            }

            .lq-btn {
                border: 1px solid transparent;
                background: transparent;
                color: var(--fg-muted);
                border-radius: .5rem;
                font-size: .875rem;
                padding: .375rem .625rem;
                line-height: 1;
            }

            .lq-btn:hover {
                color: var(--fg);
                border-color: var(--border);
                background: var(--surface);
            }

            .lq-btn-icon {
                width: 32px;
                height: 32px;
                padding: 0;
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }

            .lq-icon {
                flex-shrink: 0;
            }

            .tb-wrap {
                padding: 32px 0px 20px;
            }

            .tb-meta {
                margin-bottom: 10px;
            }

            .tb-meta-text {
                font-size: 11px;
                color: var(--fg-faint);
            }

            .tb-meta-label {
                text-transform: uppercase;
                letter-spacing: 0.08em;
            }

            .tb-meta-id {
                font-feature-settings: "tnum";
            }

            .tb-title {
                font-size: 36px;
                font-weight: 500;
                letter-spacing: -0.025em;
                line-height: 1.1;
                margin: 0 0 8px;
            }

            .tb-location {
                font-size: 15px;
                color: var(--fg-muted);
                letter-spacing: -0.01em;
            }

            .tb-sep {
                margin: 0 10px;
                color: var(--fg-faint);
            }

            .tb-updated {
                color: var(--fg-faint);
            }

            .tb-persona {
                padding: 8px 12px;
                border: 1px solid var(--border);
                border-radius: 6px;
                background: var(--surface);
            }

            .tb-persona-icon {
                color: var(--fg-muted);
            }

            .tb-persona-text {
                line-height: 1.2;
            }

            .tb-persona-label {
                font-size: 11px;
                color: var(--fg-faint);
            }

            .tb-persona-value {
                font-size: 12.5px;
                font-weight: 500;
            }

            .lq-hero-card {
                background: var(--surface);
                border: 1px solid var(--border);
                border-radius: 14px;

                transition: border-color 200ms ease;
                box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 -1px 0 rgba(0, 0, 0, 0.25) inset, 0 24px 48px -16px rgba(0, 0, 0, 0.60), 0 8px 16px -8px rgba(0, 0, 0, 0.40) !important;
            }

            .lq-cat-card {
                box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 -1px 0 rgba(0, 0, 0, 0.20) inset, 0 14px 32px -10px rgba(0, 0, 0, 0.55), 0 4px 8px -4px rgba(0, 0, 0, 0.35) !important;
            }
            .lq-cat-card, .lq-hero-card {
                background-color: var(--glass-bg, rgba(46, 50, 58, 0.62)) !important;
                backdrop-filter: blur(20px) saturate(140%);
                -webkit-backdrop-filter: blur(20px) saturate(140%);
                border-color: var(--glass-border, rgba(255, 255, 255, 0.10)) !important;
            }

            :scope[data-bento="on"] .lq-bento-row {
                grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
            }

            .block-1 { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 8px 0px 28px; }
            .block-2 { padding: 32px 32px 28px; }
            .block-3 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
            .block-4 { display: flex; align-items: center; gap: 8px; }
            .block-5 { font-size: 11px; color: var(--fg-faint); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
            .block-6 { font-size: 11px; color: var(--fg-faint); }
            .block-7 { font-size: 11px; color: var(--fg-faint); font-feature-settings: &quot;tnum&quot;; }
            .block-8 { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
            .block-9 { font-size: 144px; font-weight: 400; letter-spacing: -0.06em; line-height: 0.85; color: var(--fg); font-feature-settings: &quot;tnum&quot;; font-variant-numeric: tabular-nums; }
            .block-10 { padding-bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
            .block-11 { font-size: 24px; color: var(--fg-faint); letter-spacing: -0.04em; line-height: 1; font-feature-settings: &quot;tnum&quot;; }
            .block-12 { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 4px; background: color-mix(in oklab, var(--status-good, oklch(0.74 0.11 145)) 10%, transparent); color: var(--status-good, oklch(0.74 0.11 145)); font-size: 12px; font-weight: 500; letter-spacing: -0.005em; line-height: 1; white-space: nowrap; }
            .block-13 { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--status-good, oklch(0.74 0.11 145)); flex-shrink: 0; }
            .block-14 { margin-bottom: 16px; }
            .block-15 { position: relative; width: 100%; }
            .block-16 { position: relative; height: 6px; width: 100%; background: rgba(255, 255, 255, 0.06); border-radius: 2px; overflow: visible; }
            .block-17 { position: absolute; inset: 0px; width: 70%; background: var(--status-good, oklch(0.74 0.11 145)); border-radius: 2px; transition: width 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
            .block-18 { position: absolute; left: 61%; top: -4px; bottom: -4px; width: 1px; background: rgba(255, 255, 255, 0.55); transform: translateX(-0.5px); }
            .block-19 { position: absolute; left: 55%; top: -4px; bottom: -4px; width: 1px; background: rgba(255, 255, 255, 0.55); transform: translateX(-0.5px); }
            .block-20 { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10px; color: var(--fg-faint); font-feature-settings: &quot;tnum&quot;; }
            .block-21 { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }
            .block-22 { display: grid; grid-template-columns: 120px 1fr 60px 60px; align-items: center; gap: 12px; font-size: 12px; }
            .block-23 { color: var(--fg-muted); }
            .block-24 { height: 2px; background: rgba(255, 255, 255, 0.06); position: relative; border-radius: 1px; }
            .block-25 { position: absolute; inset: 0px; width: 61%; background: rgba(255, 255, 255, 0.25); border-radius: 1px; }
            .block-26 { color: var(--fg); font-feature-settings: &quot;tnum&quot;; text-align: right; }
            .block-27 { text-align: right; }
            .block-28 { color: oklch(0.74 0.11 145); font-feature-settings: &quot;tnum&quot;; font-weight: 500; }
            .block-29 { position: absolute; inset: 0px; width: 55%; background: rgba(255, 255, 255, 0.25); border-radius: 1px; }
            .block-30 { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
            .block-31 { font-size: 96px; font-weight: 400; letter-spacing: -0.05em; line-height: 0.9; color: oklch(0.72 0.1 195); font-feature-settings: &quot;tnum&quot;; font-variant-numeric: tabular-nums; }
            .block-32 { padding-bottom: 8px; display: flex; flex-direction: column; gap: 8px; }
            .block-33 { font-size: 18px; color: var(--fg-faint); letter-spacing: -0.03em; line-height: 1; }
            .block-34 { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 4px; background: oklch(0.72 0.1 195 / 0.12); color: oklch(0.72 0.1 195); font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; }
            .block-35 { width: 5px; height: 5px; border-radius: 50%; background: oklch(0.72 0.1 195); }
            .block-36 { margin-bottom: 20px; }
            .block-37 { position: relative; height: 1px; background: rgba(255, 255, 255, 0.1); margin-bottom: 6px; }
            .block-38 { position: absolute; left: 25%; top: -2px; bottom: -2px; width: 5px; height: 5px; border-radius: 50%; background: oklch(0.72 0.1 195); transform: translateX(-50%) translateY(-1px); border: 2px solid var(--bg); box-sizing: content-box; }
            .block-39 { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 5px; height: 5px; border-radius: 50%; background: oklch(0.72 0.1 195); transform: translateX(-50%) translateY(-1px); border: 2px solid var(--bg); box-sizing: content-box; }
            .block-40 { position: absolute; left: 75%; top: -2px; bottom: -2px; width: 5px; height: 5px; border-radius: 50%; background: oklch(0.72 0.1 195); transform: translateX(-50%) translateY(-1px); border: 2px solid var(--bg); box-sizing: content-box; }
            .block-41 { display: flex; justify-content: space-between; font-size: 10px; color: var(--fg-faint); }
            .block-42 { display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; overflow: hidden; margin-top: 24px; }
            .block-43 { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; font-size: 12.5px; border-top: none; }
            .block-44 { color: var(--fg-faint); font-feature-settings: &quot;tnum&quot;; font-size: 11px; }
            .block-45 { display: flex; flex-direction: column; gap: 2px; min-width: 0px; }
            .block-46 { color: var(--fg); letter-spacing: -0.005em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
            .block-47 { color: var(--fg-faint); font-size: 11px; }
            .block-48 { color: oklch(0.72 0.1 195); font-feature-settings: &quot;tnum&quot;; font-weight: 500; font-size: 12px; }
            .block-49 { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; font-size: 12.5px; border-top: 1px solid rgba(255, 255, 255, 0.06); }

            /* second-score-block extracted inline styles */
            .second-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 32px 0px 24px; }
            .second-2 { padding: 28px 28px 24px; border-color: oklch(0.72 0.1 25); box-shadow: oklch(0.72 0.1 25) 0px 0px 0px 1px inset, rgba(0, 0, 0, 0.55) 0px 14px 32px -10px, rgba(0, 0, 0, 0.35) 0px 4px 8px -4px; }
            .second-3 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
            .second-4 { margin: 0px; font-size: 17px; font-weight: 500; letter-spacing: -0.015em; }
            .second-5 { font-size: 11px; color: var(--fg-faint); font-feature-settings: &quot;tnum&quot;; }
            .second-6 { font-size: 12.5px; color: var(--fg-faint); margin-bottom: 20px; }
            .second-7 { display: flex; flex-direction: column; gap: 10px; }
            .second-8 { display: grid; grid-template-columns: 28px 1fr auto; align-items: flex-start; gap: 14px; padding: 10px 0px; border-bottom: 1px solid var(--border); }
            .second-9 { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; background: color-mix(oklch(0.72 0.1 25) 14%, transparent); color: oklch(0.72 0.1 25); font-size: 12px; font-weight: 500; font-feature-settings: &quot;tnum&quot;; }
            .second-10 { flex-shrink: 0; }
            .second-11 { display: flex; flex-direction: column; gap: 5px; min-width: 0px; }
            .second-12 { font-size: 14px; color: var(--fg); letter-spacing: -0.005em; font-weight: 500; }
            .second-13 { font-size: 12px; color: var(--fg-muted); line-height: 1.5; }
            .second-14 { font-size: 10.5px; color: oklch(0.72 0.1 25); padding: 3px 8px; border: 1px solid color-mix(oklch(0.72 0.1 25), transparent); border-radius: 4px; font-feature-settings: &quot;tnum&quot;; white-space: nowrap; align-self: flex-start; background: color-mix(oklch(0.72 0.1 25) 10%, transparent); }
            .second-15 { display: grid; grid-template-columns: 28px 1fr auto; align-items: flex-start; gap: 14px; padding: 10px 0px; border-bottom: none; }
            .second-16 { padding: 28px 28px 24px; border-color: oklch(0.55 0.12 165); box-shadow: oklch(0.55 0.12 165) 0px 0px 0px 1px inset, rgba(0, 0, 0, 0.55) 0px 14px 32px -10px, rgba(0, 0, 0, 0.35) 0px 4px 8px -4px; }
            .second-17 { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; background: color-mix(oklch(0.55 0.12 165) 14%, transparent); color: oklch(0.55 0.12 165); font-size: 12px; font-weight: 500; font-feature-settings: &quot;tnum&quot;; }
            .second-18 { font-size: 10.5px; color: oklch(0.55 0.12 165); padding: 3px 8px; border: 1px solid color-mix(oklch(0.55 0.12 165), transparent); border-radius: 4px; font-feature-settings: &quot;tnum&quot;; white-space: nowrap; align-self: flex-start; background: color-mix(oklch(0.55 0.12 165) 10%, transparent); }

            /* categories extracted inline styles */
            .lq-cat-toggle{
                position: absolute;
                bottom: -16px;
                left: 50%;
                transform: translateX(-50%);
                width: 32px;
                height: 32px;
                border-radius: 50%;
                background: var(--surface);
                border: 1px solid var(--border);
                display: grid;
                place-items: center;
                color: var(--fg-muted);
                transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1), background 140ms, border-color 140ms, color 140ms;
                z-index: 2;
                box-shadow: rgba(0, 0, 0, 0.18) 0px 4px 10px;
            }
            .lq-cat-toggle svg {
                transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
            }
            .lq-cat-toggle[data-active="on"] {
                background: var(--fg);
                border-color: var(--fg);
                color: var(--bg);
            }
            .lq-cat-toggle[data-active="on"] svg {
                transform: rotate(45deg);
            }
            .cat-1 { padding: 32px 0px 20px; }
            .cat-2 { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
            .cat-3 { margin: 0px; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
            .cat-4 { font-size: 12px; color: var(--fg-faint); margin-top: 4px; }
            .cat-5 { color: var(--fg-muted); }
            .cat-6 { font-size: 11px; color: var(--fg-faint); font-feature-settings: &quot;tnum&quot;; }
            .cat-7 { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 14px; margin-bottom: 40px; }
            .double-cat{grid-template-columns: repeat(2, minmax(0px, 1fr));}
            .cat-8 { position: relative; text-align: left; padding: 22px 22px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; color: inherit; font: inherit; transition: background 140ms, border-color 140ms, transform 140ms; min-height: 188px; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--border); }
            .cat-9 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
            .cat-10 { display: flex; align-items: center; gap: 10px; }
            .cat-11 { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: color-mix(in oklab, var(--status-excellent, oklch(0.68 0.13 160)) 12%, transparent); color: var(--status-excellent, oklch(0.68 0.13 160)); }
            .cat-12 { flex-shrink: 0; }
            .cat-13 { font-size: 13px; color: var(--fg); letter-spacing: -0.005em; font-weight: 500; }
            .cat-14 { font-size: 10.5px; color: var(--fg-faint); font-feature-settings: &quot;tnum&quot;; padding: 3px 7px; border: 1px solid var(--border); border-radius: 4px; }
            .cat-15 { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; }
            .cat-16 { font-size: 56px; font-weight: 400; letter-spacing: -0.045em; line-height: 0.95; color: var(--fg); font-feature-settings: &quot;tnum&quot;; font-variant-numeric: tabular-nums; }
            .cat-17 { font-size: 14px; color: var(--fg-faint); font-feature-settings: &quot;tnum&quot;; }
            .cat-18 { margin-bottom: 14px; position: relative; }
            .cat-19 { height: 5px; width: 100%; background: var(--scale-gradient); opacity: 0.32; border-radius: 3px; position: relative; }
            .cat-20 { position: absolute; left: 0px; top: 0px; height: 5px; width: 78%; background-image: ; background-position: left center; background-size: 128.205% 100%; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; background-color: ; border-radius: 3px; transition: width 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
            .cat-21 { position: absolute; left: 78%; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--status-excellent, oklch(0.68 0.13 160)); border: 2px solid var(--surface); box-sizing: content-box; transform: translateX(-50%); }
            .cat-22 { position: absolute; left: 61%; top: -3px; height: 11px; width: 1px; background: var(--fg-faint); transform: translateX(-0.5px); }
            .cat-23 { display: flex; justify-content: space-between; margin-top: 6px; font-size: 9.5px; color: var(--fg-faint); font-feature-settings: &quot;tnum&quot;; }
            .cat-24 { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
            .cat-25 { font-size: 12px; font-weight: 500; color: var(--status-excellent, oklch(0.68 0.13 160)); letter-spacing: -0.005em; display: inline-flex; align-items: center; gap: 6px; }
            .cat-26 { width: 6px; height: 6px; border-radius: 50%; background: var(--status-excellent, oklch(0.68 0.13 160)); }
            .cat-score-label { font-size: 12px; font-weight: 500; letter-spacing: -0.005em; display: inline-flex; align-items: center; gap: 6px; }
            .cat-score-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
            .cat-score-very-bad { color: oklch(0.63 0.19 25); }
            .cat-score-bad { color: oklch(0.68 0.17 42); }
            .cat-score-medium { color: oklch(0.78 0.15 82); }
            .cat-score-good { color: oklch(0.74 0.14 145); }
            .cat-score-excellent { color: oklch(0.78 0.16 155); }
            .cat-27 { font-size: 11.5px; color: var(--fg-muted); font-feature-settings: &quot;tnum&quot;; }
            .cat-28 { color: oklch(0.74 0.11 145); font-feature-settings: &quot;tnum&quot;; font-weight: 500; }
            .cat-29 { color: var(--fg-faint); }
            .cat-31 { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: color-mix(in oklab, var(--status-good, oklch(0.74 0.11 145)) 12%, transparent); color: var(--status-good, oklch(0.74 0.11 145)); }
            .cat-32 { position: absolute; left: 0px; top: 0px; height: 5px; width: 55%; background-image: ; background-position: left center; background-size: 181.818% 100%; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; background-color: ; border-radius: 3px; transition: width 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
            .cat-33 { position: absolute; left: 55%; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--status-good, oklch(0.74 0.11 145)); border: 2px solid var(--surface); box-sizing: content-box; transform: translateX(-50%); }
            .cat-34 { position: absolute; left: 51%; top: -3px; height: 11px; width: 1px; background: var(--fg-faint); transform: translateX(-0.5px); }
            .cat-35 { font-size: 12px; font-weight: 500; color: var(--status-good, oklch(0.74 0.11 145)); letter-spacing: -0.005em; display: inline-flex; align-items: center; gap: 6px; }
            .cat-36 { width: 6px; height: 6px; border-radius: 50%; background: var(--status-good, oklch(0.74 0.11 145)); }
            .cat-37 { position: absolute; z-index: 4; left: var(--cat-details-left, 0px); top: var(--cat-details-top, 0px); width: var(--cat-details-width, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 26px 28px; margin-top: 8px; margin-bottom: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "summary facts" "criteria criteria"; grid-template-rows: auto auto; gap: 28px 32px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity 0s linear, transform 0s linear, visibility 0s linear; }
            .cat-37[data-expanded="on"] { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear; }
            .cat-37 > div { min-width: 0; }
            .cat-37 > div:nth-child(1) { grid-area: summary; }
            .cat-37 > div:nth-child(2) { grid-area: facts; }
            .cat-skeleton { display: flex; flex-direction: column; gap: 12px; }
            .cat-skeleton-line,
            .cat-skeleton-box {
                position: relative;
                overflow: hidden;
                border-radius: 4px;
                background: rgba(255, 255, 255, 0.08);
            }
            .cat-skeleton-line::after,
            .cat-skeleton-box::after {
                content: "";
                position: absolute;
                inset: 0;
                transform: translateX(-100%);
                background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
                animation: lq-skeleton 1100ms ease-in-out infinite;
            }
            .cat-skeleton-line { height: 12px; }
            .cat-skeleton-line-sm { width: 42%; }
            .cat-skeleton-line-md { width: 68%; }
            .cat-skeleton-line-lg { width: 92%; }
            .cat-skeleton-box { height: 112px; }
            @keyframes lq-skeleton {
                to { transform: translateX(100%); }
            }
            .cat-38 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
            .cat-39 { display: flex; align-items: center; gap: 8px; }
            .cat-40 { flex-shrink: 0; color: var(--fg-muted); }
            .cat-41 { font-size: 11px; color: var(--fg-faint); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
            .cat-42 { margin: 0px; font-size: 13.5px; line-height: 1.55; color: var(--fg); letter-spacing: -0.005em; text-wrap: pretty; }
            .cat-43 { margin-top: 16px; display: flex; align-items: center; gap: 16px; }
            .cat-44 { font-size: 11px; color: var(--fg-faint); }
            .cat-45 { font-feature-settings: &quot;tnum&quot;; color: var(--fg); }
            .cat-46 { color: var(--fg); }
            .cat-47 { font-size: 11px; color: var(--fg-faint); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; margin-bottom: 12px; }
            .cat-48 { display: flex; flex-direction: column; gap: 1px; background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 6px; overflow: hidden; box-shadow: none; }
            .cat-49 { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 10px 12px; background: rgba(20, 22, 26, 0.94); color: var(--fg); font-size: 12.5px; font-weight: 500; transition: background-color 160ms ease; }
            .cat-49:hover { background: rgba(31, 35, 42, 0.98); }
            .cat-49.is-hidden { display: none; }
            .cat-49 .cat-5 { color: var(--fg-muted); }
            .cat-50 { color: var(--fg); font-weight: 700; font-feature-settings: &quot;tnum&quot;; }
            .cat-51 { display: inline-flex; gap: 2px; align-items: center; }
            .cat-score-indicator--low { color: #ef4444; }
            .cat-score-indicator--medium { color: #eab308; }
            .cat-score-indicator--high { color: #16a34a; }
            .cat-score-bar { width: 3px; background: currentColor; border-radius: 0.5px; }
            .cat-score-bar--1 { height: 4px; }
            .cat-score-bar--2 { height: 6px; }
            .cat-score-bar--3 { height: 8px; }
            .cat-52 { width: 3px; height: 4px; background: #16a34a; border-radius: 0.5px; }
            .cat-53 { width: 3px; height: 6px; background: #16a34a; border-radius: 0.5px; }
            .cat-54 { width: 3px; height: 8px; background: #16a34a; border-radius: 0.5px; }
            .cat-55 { width: 3px; height: 4px; background: #64748b; border-radius: 0.5px; }
            .cat-56 { width: 3px; height: 6px; background: #64748b; border-radius: 0.5px; }
            .cat-57 { width: 3px; height: 8px; background: #334155; border-radius: 0.5px; }
            .cat-58 { padding: 14px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 4px; }
            .cat-59 { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
            .cat-60 { font-size: 22px; font-feature-settings: &quot;tnum&quot;; color: var(--status-good, oklch(0.74 0.11 145)); letter-spacing: -0.025em; }
            .cat-61 { display: block; overflow: visible; }
            .cat-62 { margin-top: 14px; width: 100%; justify-content: space-between; }
            .cat-key-facts-more { margin-top: 10px; width: 100%; justify-content: center; background: rgba(20, 22, 26, 0.94); border-color: rgba(255, 255, 255, 0.12); color: var(--fg); font-weight: 700; }
            .cat-37 > div.cat-63,
            .cat-63 { grid-area: criteria; border-top: 1px solid var(--border); padding-top: 22px; }
            .cat-64 { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
            .cat-65 { display: flex; flex-wrap: wrap; gap: 6px; }
            .cat-66 { appearance: none; font-size: 11.5px; color: var(--fg-muted); padding: 5px 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; line-height: 1.3; white-space: nowrap; cursor: pointer; }
            .cat-66:hover,
            .cat-66:focus-visible { color: var(--fg); border-color: var(--fg-faint); outline: none; }
            .cat-67 { position: absolute; left: 0px; top: 0px; height: 5px; width: 64%; background-image: ; background-position: left center; background-size: 156.25% 100%; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; background-color: ; border-radius: 3px; transition: width 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
            .cat-68 { position: absolute; left: 64%; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--status-good, oklch(0.74 0.11 145)); border: 2px solid var(--surface); box-sizing: content-box; transform: translateX(-50%); }
            .cat-69 { position: absolute; left: 55%; top: -3px; height: 11px; width: 1px; background: var(--fg-faint); transform: translateX(-0.5px); }
            .cat-70 { position: absolute; left: 0px; top: 0px; height: 5px; width: 71%; background-image: ; background-position: left center; background-size: 140.845% 100%; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; background-color: ; border-radius: 3px; transition: width 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
            .cat-71 { position: absolute; left: 71%; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--status-excellent, oklch(0.68 0.13 160)); border: 2px solid var(--surface); box-sizing: content-box; transform: translateX(-50%); }
            .cat-72 { position: absolute; left: 57%; top: -3px; height: 11px; width: 1px; background: var(--fg-faint); transform: translateX(-0.5px); }
            .cat-73 { position: absolute; left: 0px; top: 0px; height: 5px; width: 81%; background-image: ; background-position: left center; background-size: 123.457% 100%; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; background-color: ; border-radius: 3px; transition: width 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
            .cat-74 { position: absolute; left: 81%; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--status-excellent, oklch(0.68 0.13 160)); border: 2px solid var(--surface); box-sizing: content-box; transform: translateX(-50%); }
            .cat-75 { position: absolute; left: 60%; top: -3px; height: 11px; width: 1px; background: var(--fg-faint); transform: translateX(-0.5px); }
            .cat-76 { position: absolute; left: 0px; top: 0px; height: 5px; width: 76%; background-image: ; background-position: left center; background-size: 131.579% 100%; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; background-color: ; border-radius: 3px; transition: width 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
            .cat-77 { position: absolute; left: 76%; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--status-excellent, oklch(0.68 0.13 160)); border: 2px solid var(--surface); box-sizing: content-box; transform: translateX(-50%); }
            .cat-78 { position: absolute; left: 0px; top: 0px; height: 5px; width: 67%; background-image: ; background-position: left center; background-size: 149.254% 100%; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; background-color: ; border-radius: 3px; transition: width 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
            .cat-79 { position: absolute; left: 67%; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--status-good, oklch(0.74 0.11 145)); border: 2px solid var(--surface); box-sizing: content-box; transform: translateX(-50%); }
            .cat-80 { position: absolute; left: 58%; top: -3px; height: 11px; width: 1px; background: var(--fg-faint); transform: translateX(-0.5px); }
            .cat-81 { position: absolute; left: 0px; top: 0px; height: 5px; width: 84%; background-image: ; background-position: left center; background-size: 119.048% 100%; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; background-color: ; border-radius: 3px; transition: width 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
            .cat-82 { position: absolute; left: 84%; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--status-excellent, oklch(0.68 0.13 160)); border: 2px solid var(--surface); box-sizing: content-box; transform: translateX(-50%); }
            .cat-83 { position: absolute; left: 56%; top: -3px; height: 11px; width: 1px; background: var(--fg-faint); transform: translateX(-0.5px); }

            .item-detail-modal .modal-content {
                background: var(--surface);
                border: 1px solid var(--border);
                color: var(--fg);
                border-radius: 8px;
            }

            .item-detail-modal .modal-header {
                border-bottom: 1px solid var(--border);
            }

            .item-detail-modal .modal-title {
                font-size: 14px;
                font-weight: 600;
            }

            .item-detail-modal .btn-close {
                filter: invert(1) grayscale(100%);
                opacity: 0.65;
            }

            .item-detail-content,
            .item-detail-loading,
            .item-detail-error {
                font-size: 13.5px;
                line-height: 1.6;
                color: var(--fg);
            }

            .item-detail-content :last-child {
                margin-bottom: 0;
            }


            .footer-wrap {
                padding: 36px 0px 60px;
            }

            .footer-card {
                display: grid;
                grid-template-columns: auto 1fr auto;
                align-items: center;
                gap: 24px;
                padding: 22px 24px;
                background: var(--surface);
                border: 1px solid var(--border);
                border-radius: 8px;
            }

            .footer-icon-box {
                width: 38px;
                height: 38px;
                border-radius: 6px;
                background: rgba(255, 255, 255, 0.03);
                border: 1px solid var(--border);
                display: grid;
                place-items: center;
            }

            .footer-icon {
                flex-shrink: 0;
                color: var(--fg-muted);
            }

            .footer-title-row {
                display: flex;
                align-items: center;
                gap: 8px;
                margin-bottom: 4px;
            }

            .footer-title {
                font-size: 14px;
                font-weight: 500;
                letter-spacing: -0.005em;
            }

            .footer-badge {
                font-size: 10px;
                padding: 2px 6px;
                border-radius: 3px;
                border: 1px solid var(--border);
                color: var(--fg-muted);
                letter-spacing: 0.04em;
                text-transform: uppercase;
            }

            .footer-desc {
                font-size: 12.5px;
                color: var(--fg-muted);
                line-height: 1.5;
            }

            .footer-meta {
                margin-top: 14px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                font-size: 11px;
                color: var(--fg-faint);
            }

            @media (max-width: 991px) {
                .block-1,
                .second-1 {
                    grid-template-columns: 1fr;
                }

                .cat-7,
                .double-cat {
                    grid-template-columns: repeat(2, minmax(0px, 1fr));
                }

                .cat-37 {
                    grid-template-columns: 1fr 1fr;
                    grid-template-areas:
                        "summary facts"
                        "criteria criteria";
                }

                .footer-card {
                    grid-template-columns: auto 1fr;
                }

                .footer-card .lq-btn {
                    grid-column: 1 / -1;
                    justify-content: center;
                }

                .footer-meta {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 8px;
                }
            }

            @media (max-width: 767px) {
                .tb-wrap {
                    padding-top: 24px;
                }

                .tb-title {
                    font-size: 30px;
                }

                .block-2,
                .second-2,
                .second-16,
                .cat-8,
                .cat-37 {
                    padding: 20px;
                }

                .block-8,
                .block-30 {
                    gap: 14px;
                }

                .block-9 {
                    font-size: 96px;
                }

                .block-31 {
                    font-size: 72px;
                }

                .cat-7,
                .double-cat {
                    grid-template-columns: 1fr;
                    margin-bottom: 32px;
                }

                .cat-37 {
                    grid-template-columns: 1fr;
                    grid-template-areas:
                        "summary"
                        "facts"
                        "criteria";
                    gap: 22px;
                }

                .cat-64,
                .footer-title-row {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 6px;
                }

                .cat-66 {
                    white-space: normal;
                }

                .footer-card {
                    grid-template-columns: 1fr;
                    gap: 16px;
                }
            }

            .report-progress-wrap {
                padding: 48px 0 72px;
            }

            .report-progress-card {
                width: min(100%, 720px);
                margin: 0 auto;
                padding: 32px;
            }

            .report-progress-head {
                display: flex;
                align-items: flex-start;
                justify-content: space-between;
                gap: 24px;
                margin-bottom: 12px;
            }

            .report-progress-kicker {
                margin-bottom: 8px;
                color: var(--fg-faint);
                font-size: 11px;
                font-weight: 500;
                letter-spacing: 0.1em;
                text-transform: uppercase;
            }

            .report-progress-title {
                margin: 0;
                color: var(--fg);
                font-size: 28px;
                font-weight: 500;
                letter-spacing: -0.025em;
                line-height: 1.12;
            }

            .report-progress-percent {
                color: var(--fg);
                font-size: 44px;
                font-weight: 400;
                letter-spacing: -0.05em;
                line-height: 0.95;
                font-feature-settings: "tnum";
                font-variant-numeric: tabular-nums;
            }

            .report-progress-copy {
                max-width: 520px;
                margin: 0 0 28px;
                color: var(--fg-muted);
                font-size: 13px;
                line-height: 1.55;
            }

            .report-progress-track {
                position: relative;
                height: 8px;
                width: 100%;
                overflow: hidden;
                border-radius: 999px;
                background: rgba(255, 255, 255, 0.07);
                box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(0, 0, 0, 0.22);
            }

            .report-progress-fill {
                height: 100%;
                min-width: 0;
                border-radius: inherit;
                background: linear-gradient(90deg, oklch(0.70 0.12 230), oklch(0.74 0.14 145));
                box-shadow: 0 0 28px oklch(0.70 0.12 230 / 0.28);
                transition: width 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
            }

            .report-progress-visual {
                display: grid;
                place-items: center;
                margin: 24px 0 10px;
            }

            .report-progress-sphere {
                display: block;
                width: min(100%, 420px);
                aspect-ratio: 1;
                border-radius: 50%;
                background:
                    radial-gradient(circle at 50% 48%, rgba(80, 225, 132, 0.10), transparent 42%),
                    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), transparent 63%);
            }

            .report-progress-current {
                min-height: 22px;
                margin: 0 0 12px;
                color: var(--fg);
                font-size: 13px;
                line-height: 1.5;
                text-align: center;
                overflow-wrap: anywhere;
            }

            .report-progress-console {
                display: grid;
                gap: 4px;
                min-height: 220px;
                max-height: 320px;
                margin-top: 14px;
                padding: 12px 14px;
                border: 1px solid rgba(255, 255, 255, 0.08);
                border-radius: 8px;
                background: rgba(2, 8, 14, 0.78);
                color: oklch(0.78 0.13 150);
                font-family: "Geist Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
                font-size: 12px;
                line-height: 1.45;
                overflow: auto;
                overflow-wrap: anywhere;
                box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
            }

            .report-progress-line {
                display: grid;
                grid-template-columns: auto minmax(0, 1fr) auto;
                gap: 8px;
                align-items: start;
            }

            .report-progress-prompt {
                flex: 0 0 auto;
                color: oklch(0.74 0.14 145);
                font-weight: 600;
            }

            .report-progress-cursor {
                display: inline-block;
                width: 7px;
                height: 1em;
                margin-left: 3px;
                vertical-align: -0.14em;
                background: currentColor;
                animation: report-progress-cursor 1s steps(2, start) infinite;
            }

            @keyframes report-progress-cursor {
                0%,
                45% {
                    opacity: 1;
                }

                46%,
                100% {
                    opacity: 0;
                }
            }

            .report-progress-meta {
                display: flex;
                justify-content: space-between;
                gap: 16px;
                margin-top: 12px;
                color: var(--fg-faint);
                font-size: 11px;
                font-feature-settings: "tnum";
            }

            @media (max-width: 767px) {
                .report-progress-wrap {
                    padding: 32px 0 48px;
                }

                .report-progress-card {
                    padding: 22px;
                }

                .report-progress-head,
                .report-progress-meta {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 10px;
                }

                .report-progress-title {
                    font-size: 24px;
                }

                .report-progress-percent {
                    font-size: 38px;
                }
            }

@media (max-width: 1199.98px) {
    .block-1,
    .second-1 {
        grid-template-columns: 1fr !important;
    }

    .cat-37 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}

@media (max-width: 991.98px) {
    .lq-header-inner {
        flex-wrap: wrap;
        row-gap: 12px !important;
    }

    .tb-wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .tb-title {
        font-size: 30px !important;
    }

    .footer-card {
        grid-template-columns: 1fr !important;
        row-gap: 14px !important;
    }

    .footer-meta {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }
}

@media (max-width: 767.98px) {
    .lq-header .container,
    main.container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .lq-header-inner {
        align-items: flex-start !important;
    }

    .lq-header-inner > .d-flex.align-items-center.gap-1 {
        width: 100%;
        flex-wrap: wrap;
        gap: 8px !important;
    }

    .tb-wrap {
        padding-top: 20px !important;
        padding-bottom: 16px !important;
        gap: 16px !important;
    }

    .tb-title {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }

    .tb-location {
        font-size: 13px !important;
    }

    .tb-persona {
        width: 100%;
    }

    .block-2,
    .second-2,
    .second-16 {
        padding: 20px 16px !important;
    }

    .block-9 {
        font-size: 88px !important;
    }

    .block-31 {
        font-size: 64px !important;
    }

    .block-22 {
        grid-template-columns: 88px 1fr 48px 48px !important;
        gap: 8px !important;
        font-size: 11px !important;
    }

    .cat-1 {
        padding: 20px 0 12px !important;
    }

    .cat-2 {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }

    .cat-7,
    .double-cat {
        grid-template-columns: 1fr !important;
    }

    .cat-8 {
        min-height: 160px !important;
        padding: 16px 14px 18px !important;
    }

    .cat-16 {
        font-size: 44px !important;
    }

    .cat-37 {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "summary"
            "facts"
            "criteria" !important;
        padding: 16px !important;
    }

    .cat-65 {
        gap: 6px !important;
    }

    .cat-66 {
        white-space: normal !important;
    }

    .footer-wrap {
        padding: 20px 0 28px !important;
    }

    .footer-card {
        padding: 16px !important;
    }
}

}
