:root {
    --lk-bg: #f2eef8;
    --lk-panel: #ffffff;
    --lk-ink: #121018;
    --lk-muted: #6d6778;
    --lk-line: rgba(18, 16, 24, .08);
    --lk-accent: #ff3d6e;
    --lk-accent-2: #6d4aff;
    --lk-sidebar: #0c0a10;
    --lk-ok: #0f9f6e;
    --lk-bad: #e11d48;
    --lk-radius: 24px;
    --lk-shadow: 0 18px 50px rgba(28, 18, 48, .08);
    --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;
    --font-display: "Syne", "Manrope", sans-serif;
}

html, body { height: 100%; }

body.lk-body {
    margin: 0;
    color: var(--lk-ink);
    font-family: var(--font-sans);
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(255, 61, 110, .16), transparent 55%),
        radial-gradient(900px 420px at -10% 20%, rgba(109, 74, 255, .14), transparent 50%),
        radial-gradient(700px 380px at 70% 110%, rgba(255, 180, 80, .12), transparent 45%),
        var(--lk-bg);
}

.lk-shell {
    min-height: 100%;
    display: grid;
    grid-template-columns: 268px 1fr;
}

.lk-side {
    position: sticky;
    top: 0;
    height: 100vh;
    background: linear-gradient(180deg, #14111a 0%, #0c0a10 100%);
    color: #f6f3ff;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    border-right: 1px solid rgba(255, 255, 255, .04);
}

.lk-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -.03em;
    font-size: 1.15rem;
    text-decoration: none;
    color: #fff;
}

.lk-brand span { color: var(--lk-accent); }

.lk-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(255, 61, 110, .28);
}

.lk-nav { display: flex; flex-direction: column; gap: 6px; }

.lk-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c9c2d6;
    text-decoration: none;
    padding: 11px 12px;
    border-radius: 14px;
    font-weight: 600;
    transition: background .15s ease, color .15s ease;
}

.lk-nav a svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .9;
}

.lk-nav a:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.lk-nav a.is-active {
    background: linear-gradient(90deg, rgba(255, 61, 110, .22), rgba(109, 74, 255, .18));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.lk-side-foot { margin-top: auto; }

.lk-user {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
}

.lk-user-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #221d2c;
    font-weight: 700;
}

.lk-user-mail {
    font-size: .78rem;
    color: #b7b0c4;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lk-logout {
    background: none;
    border: 0;
    padding: 0;
    color: #8d859c;
    font-size: .78rem;
    cursor: pointer;
}

.lk-logout:hover { color: #fff; }

.lk-main {
    padding: 36px 44px 64px;
    min-width: 0;
}

.lk-kicker {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lk-accent);
    margin-bottom: 8px;
}

.lk-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 32px;
}

.lk-top h1,
.lk-main h1 {
    font-family: var(--font-display);
    font-size: 2.35rem;
    letter-spacing: -.04em;
    line-height: 1.05;
    margin: 0 0 8px;
}

.lk-top p {
    margin: 0;
    color: var(--lk-muted);
    max-width: 38rem;
}

.lk-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.lk-card {
    background: var(--lk-panel);
    border: 1px solid var(--lk-line);
    border-radius: var(--lk-radius);
    padding: 22px 22px 20px;
    box-shadow: var(--lk-shadow);
}

.lk-card .label {
    color: var(--lk-muted);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.lk-card .value {
    font-family: var(--font-sans);
    font-variant-numeric: tabular-nums lining-nums;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-top: 10px;
}

.lk-card h2,
.lk-list-head h2 {
    font-family: var(--font-display);
    letter-spacing: -.03em;
}

.lk-create-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 18px;
    margin-bottom: 36px;
}

.lk-tile {
    background: #fff;
    border-radius: 28px;
    padding: 26px;
    border: 1px solid var(--lk-line);
    box-shadow: var(--lk-shadow);
}

.lk-tile h2 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    margin: 0 0 8px;
}

.lk-tile p {
    color: var(--lk-muted);
    margin: 0 0 18px;
}

.lk-tile form { display: flex; flex-direction: column; gap: 10px; }

.lk-tile-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #f4f0fb;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.lk-tile.is-accent {
    background: linear-gradient(160deg, #17121f 0%, #2a1840 55%, #ff3d6e 160%);
    color: #fff;
    border: 0;
}

.lk-tile.is-accent p { color: rgba(255, 255, 255, .72); }
.lk-tile.is-accent .lk-tile-icon {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.lk-list-wrap { display: flex; flex-direction: column; gap: 12px; }

.lk-list-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0 6px;
}

.lk-list-head h2 { margin: 0; font-size: 1.2rem; }
.lk-list-head span { color: var(--lk-muted); font-size: .9rem; }

.cl-row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border-radius: 22px;
    border: 1px solid var(--lk-line);
    box-shadow: 0 10px 30px rgba(28, 18, 48, .04);
    transition: transform .18s ease, box-shadow .18s ease;
}

.cl-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--lk-shadow);
}

.cl-row.is-off { opacity: .62; }

.cl-row-score {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #16121e, #2c243c);
    color: #fff;
    font-family: var(--font-sans);
    font-variant-numeric: tabular-nums lining-nums;
    font-size: 1.35rem;
    font-weight: 800;
}

.cl-row-title {
    display: block;
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--lk-ink);
    text-decoration: none;
    letter-spacing: -.02em;
}

.cl-row-title:hover { color: var(--lk-accent); }

.cl-row-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.cl-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lk-score-stack { display: flex; flex-direction: column; gap: 2px; }
.lk-score-hint {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lk-muted);
}
.lk-score-main {
    font-weight: 800;
    font-variant-numeric: tabular-nums lining-nums;
}
.lk-score-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lk-score-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 5px 10px;
    background: #f4f0fb;
    color: var(--lk-ink);
    font-size: .82rem;
}
.lk-score-chip-name { color: var(--lk-muted); font-weight: 600; }
.lk-score-chip strong { font-variant-numeric: tabular-nums lining-nums; }

.lk-empty {
    padding: 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .55);
    color: var(--lk-muted);
    text-align: center;
}

.lk-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.lk-table th,
.lk-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid var(--lk-line);
    vertical-align: middle;
}

.lk-table th {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--lk-muted);
}

.lk-table a {
    color: var(--lk-ink);
    font-weight: 700;
    text-decoration: none;
}

.lk-table a:hover { color: var(--lk-accent); }

.lk-table .lk-table-actions {
    width: 48px;
    text-align: right;
    padding-right: 8px;
}

.lk-row-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: var(--lk-muted);
}

.lk-row-view:hover {
    background: rgba(109, 74, 255, .1);
    color: var(--lk-accent);
}

.lk-row-view svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lk-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: .75rem;
    font-weight: 700;
    background: #efeaf8;
    color: #4d4660;
}

.lk-pill.ok { background: #dff8ee; color: var(--lk-ok); }
.lk-pill.bad { background: #ffe4ea; color: var(--lk-bad); }
.lk-pill.warn { background: #fff3d6; color: #9a6b00; }
.lk-pill.queue { background: #ece6ff; color: #4b2fd6; }
.lk-pill.down { background: #e6f1ff; color: #1d4ed8; }
.lk-pill.stt { background: #f3e8ff; color: #7c3aed; }
.lk-pill.eval { background: #fff3d6; color: #9a6b00; }
.lk-pill.mute { background: #eeeaf3; color: #6d6778; }

.lk-dd { position: relative; }
.lk-dd-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid var(--lk-line);
    background: #f7f5fb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
}
.lk-dd.is-open .lk-dd-btn,
.lk-dd-btn:hover {
    border-color: rgba(109, 74, 255, .45);
    box-shadow: 0 0 0 4px rgba(109, 74, 255, .12);
}
.lk-dd-btn:hover:not(.is-ok):not(.is-bad):not(.is-queue):not(.is-down):not(.is-stt):not(.is-eval):not(.is-mute),
.lk-dd.is-open .lk-dd-btn:not(.is-ok):not(.is-bad):not(.is-queue):not(.is-down):not(.is-stt):not(.is-eval):not(.is-mute) {
    background: #fff;
}
.lk-dd-caret {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--lk-muted);
    transition: transform .15s ease;
}
.lk-dd.is-open .lk-dd-caret { transform: rotate(180deg); }
.lk-dd-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--lk-line);
    border-radius: 18px;
    box-shadow: var(--lk-shadow);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lk-dd-opt {
    display: flex;
    align-items: center;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 8px 10px;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
}
.lk-dd-opt:hover { filter: brightness(.98); }
.lk-dd-opt.is-on { box-shadow: inset 0 0 0 1.5px rgba(18, 16, 24, .12); }
.lk-dd-opt.is-ok { background: #dff8ee; }
.lk-dd-opt.is-bad { background: #ffe4ea; }
.lk-dd-opt.is-queue { background: #ece6ff; }
.lk-dd-opt.is-down { background: #e6f1ff; }
.lk-dd-opt.is-stt { background: #f3e8ff; }
.lk-dd-opt.is-eval { background: #fff3d6; }
.lk-dd-opt.is-mute { background: #eeeaf3; }
.lk-dd-opt .lk-pill { background: transparent; padding: 0; }
.lk-dd-btn.is-ok { background: #dff8ee; }
.lk-dd-btn.is-bad { background: #ffe4ea; }
.lk-dd-btn.is-queue { background: #ece6ff; }
.lk-dd-btn.is-down { background: #e6f1ff; }
.lk-dd-btn.is-stt { background: #f3e8ff; }
.lk-dd-btn.is-eval { background: #fff3d6; }
.lk-dd-btn.is-mute { background: #eeeaf3; }

.btn-lk {
    background: var(--lk-ink);
    border: 0;
    color: #fff;
    border-radius: 14px;
    padding: 11px 18px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(18, 16, 24, .18);
}

.btn-lk:hover { color: #fff; transform: translateY(-1px); filter: none; background: #000; }

.btn-light {
    background: #fff;
    border: 0;
    color: var(--lk-ink);
    border-radius: 14px;
    padding: 11px 18px;
    font-weight: 700;
}

.btn-light:hover { color: var(--lk-ink); filter: brightness(1.03); }

.btn-ghost {
    background: #fff;
    border: 1px solid var(--lk-line);
    border-radius: 14px;
    padding: 9px 14px;
    color: var(--lk-ink);
    font-weight: 600;
}

.btn-ghost:hover { background: #f7f4fc; color: var(--lk-ink); }

.lk-switch {
    width: 46px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: #d9d3e2;
    position: relative;
    cursor: pointer;
    padding: 0;
}

.lk-switch span {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    transition: transform .18s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.lk-switch.is-on { background: linear-gradient(90deg, #ff3d6e, #ff8a3d); }
.lk-switch.is-on span { transform: translateX(18px); }

.lk-body .form-control,
.lk-body .form-select {
    border-radius: 14px;
    border: 1px solid var(--lk-line);
    background: #f7f5fb;
    padding: 12px 14px;
    min-height: 48px;
    box-shadow: none;
}

.lk-body .form-control:focus,
.lk-body .form-select:focus {
    background: #fff;
    border-color: rgba(109, 74, 255, .45);
    box-shadow: 0 0 0 4px rgba(109, 74, 255, .12);
}

.lk-body .form-label { font-weight: 600; }

.lk-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 12px;
}

.cl-bar {
    position: sticky;
    top: 16px;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 22px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(16px);
    border: 1px solid var(--lk-line);
    border-radius: 22px;
    box-shadow: var(--lk-shadow);
}

.cl-bar .label {
    color: var(--lk-muted);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.cl-bar .value {
    font-family: var(--font-sans);
    font-variant-numeric: tabular-nums lining-nums;
    font-size: 1.35rem;
    font-weight: 800;
}

.cl-bar-actions { display: flex; align-items: center; gap: 12px; }
.cl-status { font-size: .9rem; color: var(--lk-muted); font-weight: 700; }
.cl-status.is-ok { color: var(--lk-ok); }
.cl-status.is-bad { color: var(--lk-bad); }

.cl-section {
    margin-bottom: 14px;
    padding: 0;
    overflow: hidden;
}

.cl-section-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 14px 16px;
    background: #f8f5fc;
    border-bottom: 1px solid transparent;
}

.cl-section.is-open .cl-section-head { border-bottom-color: var(--lk-line); }

.cl-fold {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px var(--lk-line);
}

.cl-chevron {
    display: block;
    width: 8px;
    height: 8px;
    margin: 0 auto;
    border-right: 2px solid var(--lk-ink);
    border-bottom: 2px solid var(--lk-ink);
    transform: rotate(-45deg);
    transition: transform .15s ease;
}

.cl-section.is-open .cl-chevron { transform: rotate(45deg); }
.cl-section-meta { display: flex; gap: 8px; color: var(--lk-muted); font-size: .85rem; white-space: nowrap; }
.cl-section-body { padding: 16px 18px 18px; }
.cl-items { display: flex; flex-direction: column; gap: 8px; }

.cl-item {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) 110px 42px;
    gap: 8px;
    align-items: center;
}

.cl-item-head {
    color: var(--lk-muted);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.cl-item-empty,
.cl-empty { color: var(--lk-muted); padding: 8px 0; }
.cl-item .btn { width: 42px; padding-left: 0; padding-right: 0; }

.cl-item-block { display: flex; flex-direction: column; gap: 6px; }
.cl-examples {
    margin: 0 0 8px;
    padding: 8px 12px;
    border-radius: 14px;
    background: #f8f5fc;
    color: var(--lk-muted);
    font-size: .85rem;
}
.cl-examples summary { cursor: pointer; font-weight: 700; color: var(--lk-ink); }
.cl-example { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--lk-line); }
.cl-example-quote { font-style: italic; }

.transcript {
    white-space: pre-wrap;
    line-height: 1.65;
    font-size: .98rem;
}

.review-versions { margin: 0 0 18px; }
.review-version-list { display: flex; flex-direction: column; gap: 10px; }
.review-version {
    border: 1px solid var(--lk-line);
    border-radius: 16px;
    padding: 14px 16px;
    background: #faf8ff;
}
.review-version.is-active {
    border-color: rgba(15, 159, 110, .35);
    background: #f3fbf7;
}
.review-version.is-archive { opacity: .92; }
.review-version-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.review-version-preview {
    margin-top: 8px;
    color: var(--lk-muted);
    font-size: .86rem;
    line-height: 1.45;
    max-height: 4.4em;
    overflow: hidden;
}
.review-version-form { margin-top: 10px; }

.review-shell { display: flex; flex-direction: column; gap: 16px; }
.review-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.review-player audio { width: min(100%, 520px); }
.review-player-meta { display: flex; align-items: center; gap: 12px; }
.review-speakers-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.review-speakers-note {
    font-size: .82rem;
    color: var(--lk-muted);
    margin: 0 0 10px;
    line-height: 1.4;
}
.review-speakers-note-mark {
    display: inline-block;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    background: #ece6ff;
    color: #4b2fd6;
    border-radius: 6px;
    padding: 2px 6px;
    margin-right: 6px;
    vertical-align: middle;
}
.review-speaker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0 8px 10px;
    border-left: 3px solid transparent;
}
.review-speaker.is-manager { border-left-color: #6d4aff; }
.review-speaker.is-client { border-left-color: var(--lk-accent); }
.review-speakers-head + .review-speaker,
.review-speakers-note + .review-speaker { border-top: 0; }
.review-speaker + .review-speaker { border-top: 1px solid var(--lk-line); }
.review-speaker-key { font-weight: 700; }
.review-speaker-role {
    font-size: .75rem;
    font-weight: 800;
}
.review-speaker-role.is-manager { color: #4b2fd6; }
.review-speaker-role.is-client { color: var(--lk-bad); }
.review-speaker-role.is-unknown { color: var(--lk-muted); }
.review-speaker-who {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.review-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.review-chip {
    border: 1px solid var(--lk-line);
    background: #fff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
}
.review-chip.is-on.is-manager { background: #ece6ff; color: #4b2fd6; border-color: transparent; }
.review-chip.is-on.is-client { background: #ffe4ea; color: var(--lk-bad); border-color: transparent; }
.review-chip.is-on.is-unknown { background: #efeaf8; color: #4d4660; border-color: transparent; }

.review-layout {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.2fr);
    gap: 16px;
    align-items: start;
}
.review-items, .review-dialog { max-height: calc(100vh - 220px); overflow: auto; }
.review-section {
    margin: 16px 0 8px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--lk-muted);
}
.review-item {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid var(--lk-line);
    background: #fff;
    border-radius: 18px;
    padding: 14px 14px 12px;
    margin-bottom: 8px;
    cursor: pointer;
}
.review-item.is-ok { box-shadow: inset 3px 0 0 var(--lk-ok); }
.review-item.is-bad { box-shadow: inset 3px 0 0 var(--lk-bad); }
.review-item.is-active { background: #f7f4ff; border-color: rgba(109, 74, 255, .28); }
.review-item.is-agreed { opacity: .72; }
.review-item-top { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.review-item-text { font-weight: 700; }
.review-item-comment { color: var(--lk-muted); font-size: .9rem; margin-top: 6px; }
.review-item-actions { display: flex; gap: 12px; margin-top: 10px; }
.review-link { color: var(--lk-accent-2); font-size: .82rem; font-weight: 700; }
.review-link:hover { color: var(--lk-accent); }

.review-recs-ok { color: var(--lk-ok); font-weight: 700; }
.review-rec {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid var(--lk-line);
    background: #fff;
    border-radius: 18px;
    padding: 14px 16px 12px;
    margin-bottom: 8px;
    cursor: pointer;
    box-shadow: inset 3px 0 0 var(--lk-bad);
}
.review-rec.is-active { background: #f7f4ff; border-color: rgba(109, 74, 255, .28); }
.review-rec:last-child { margin-bottom: 0; }
.review-rec-top { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.review-rec-section {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lk-muted);
}
.review-rec-text { font-weight: 700; }
.review-rec-reason { color: var(--lk-ink); font-size: .95rem; margin-top: 6px; line-height: 1.45; }
.review-rec-quote {
    color: var(--lk-muted);
    font-size: .88rem;
    margin-top: 8px;
    line-height: 1.4;
}

.review-line {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    border-radius: 16px;
    padding: 10px 12px;
    margin-bottom: 6px;
    cursor: pointer;
}
.review-line.is-manager { background: rgba(109, 74, 255, .06); }
.review-line.is-client { background: rgba(255, 61, 110, .06); }
.review-line.is-manager .review-line-who { color: #4b2fd6; }
.review-line.is-client .review-line-who { color: var(--lk-bad); }
.review-line.is-hot { outline: 2px solid rgba(255, 180, 80, .9); background: #fff6e5; }
.review-line.is-picked { outline: 2px solid var(--lk-accent-2); }
.review-line-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--lk-muted);
    margin-bottom: 4px;
}
.review-line-text { line-height: 1.5; }
.review-train-title { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 4px; }
.review-train-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.review-train-foot { display: flex; justify-content: flex-end; margin-top: 10px; }

.lk-filters { margin-bottom: 16px; }
.lk-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    align-items: end;
}
.lk-filters-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 2px;
}
.lk-body .grid-view th a {
    color: var(--lk-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.lk-body .grid-view th a:hover { color: var(--lk-accent); }
.lk-body .grid-view th a.asc::after,
.lk-body .grid-view th a.desc::after {
    content: ' ▾';
    font-size: .7em;
    opacity: .7;
}
.lk-body .grid-view th a.asc::after { content: ' ▴'; }

@media (max-width: 1100px) {
    .lk-filters-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .lk-filters-grid { grid-template-columns: 1fr; }
}
.lk-body .grid-view .pagination { gap: 6px; }
.lk-body .page-link {
    border-radius: 12px;
    border: 1px solid var(--lk-line);
    color: var(--lk-ink);
}
.lk-body .page-item.active .page-link {
    background: var(--lk-ink);
    border-color: var(--lk-ink);
}

.site-hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    background: #0c0a10;
    color: #f7f1ff;
}

.site-hero-copy { padding: 80px 72px; }

.site-hero h1 {
    font-family: var(--font-display);
    font-size: 3.4rem;
    letter-spacing: -.04em;
    line-height: 1.02;
    margin: 24px 0 16px;
}

.site-hero p.lead {
    font-size: 1.15rem;
    color: #c9c2d6;
    max-width: 36rem;
}

.site-hero-form {
    background: #f2eef8;
    color: var(--lk-ink);
    padding: 64px 52px;
}

@media (max-width: 1100px) {
    .lk-create-grid,
    .cl-row { grid-template-columns: 1fr; }
    .cl-row-actions { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 960px) {
    .lk-shell,
    .site-hero,
    .lk-grid,
    .cl-section-head,
    .cl-item { grid-template-columns: 1fr; }
    .lk-side {
        position: relative;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .lk-nav { display: flex; flex-direction: row; flex-wrap: wrap; }
    .review-layout,
    .review-player { grid-template-columns: 1fr; flex-direction: column; align-items: stretch; }
    .review-items, .review-dialog { max-height: none; }
    .lk-top h1 { font-size: 1.8rem; }
    .cl-item .btn, .cl-fold { width: 100%; }
    .cl-bar { flex-direction: column; align-items: stretch; }
}
