.lmx-page {
    min-width: 0;
    max-width: 1280px;
    color: #172033;
    padding-block: 1.5rem 2.5rem;
}

.lmx-shell {
    min-width: 0;
    display: grid;
    gap: 1rem;
}

.lmx-hero {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
    gap: 1rem;
    align-items: start;
}

.lmx-hero > * {
    min-width: 0;
}

.lmx-hero.checkin-only {
    grid-template-columns: minmax(20rem, 42rem);
    justify-content: center;
}

.lmx-hero.checkin-only .lmx-action-card {
    position: static;
}

.lmx-panel,
.lmx-card,
.lmx-board-wrap {
    min-width: 0;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
}

.lmx-title-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: clamp(1rem, 3vw, 1.7rem);
    background:
        radial-gradient(circle at top right, rgba(248, 211, 91, 0.26), transparent 34%),
        linear-gradient(135deg, rgba(0, 188, 212, 0.16), rgba(255, 64, 129, 0.11)),
        rgba(255, 255, 255, 0.9);
}

.lmx-title-panel.stats-last .lmx-ops-strip {
    order: 20;
}

.lmx-topline,
.lmx-scale,
.lmx-board-legend {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.lmx-status-pill,
.lmx-mini-label {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 1.75rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.lmx-status-pill.muted {
    background: #e2e8f0;
    color: #334155;
}

.lmx-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.lmx-title-row h1 {
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    line-height: 1;
    letter-spacing: 0;
    text-shadow: none;
}

.lmx-hero-copy {
    margin: 0.55rem 0 0;
    max-width: 48rem;
    font-size: 1.12rem;
    line-height: 1.5;
    color: #334155;
}

.lmx-benefit-strip {
    display: grid;
    grid-template-columns: minmax(12rem, 1.2fr) repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.lmx-benefit-strip > strong,
.lmx-benefit-strip > span {
    min-height: 3.2rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.lmx-benefit-strip > strong {
    background: #0f172a;
    color: #ffffff;
    font-size: 1rem;
}

.lmx-benefit-strip > span {
    background: #ffffff;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 900;
}

.lmx-ops-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lmx-ops-tile {
    container-type: inline-size;
    min-height: 4.4rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon label"
        "icon value";
    column-gap: 0.55rem;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.lmx-ops-tile i {
    grid-area: icon;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #ffffff;
}

.lmx-ops-tile > .lmx-ops-label {
    grid-area: label;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.lmx-ops-tile strong {
    grid-area: value;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-size: 1.35rem;
    line-height: 1;
}

.lmx-ops-tile.no-label {
    grid-template-areas: "icon value";
}

.lmx-ops-tile.no-label strong {
    align-self: center;
}

.lmx-ops-label-long {
    display: none;
}

@container (min-width: 12.5rem) {
    .lmx-ops-tile.community-calls .lmx-ops-label-short {
        display: none;
    }

    .lmx-ops-tile.community-calls .lmx-ops-label-long {
        display: inline;
    }
}

.lmx-life-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8.75rem, 1fr));
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    padding: 0.65rem;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.lmx-life-strip strong {
    margin-right: 0.2rem;
    color: #0f172a;
}

.lmx-life-strip span {
    min-height: 2rem;
    padding: 0 0.55rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    font-size: 0.82rem;
    font-weight: 800;
    color: #334155;
}

.lmx-life-strip em {
    color: #475569;
    font-size: 0.86rem;
    font-style: normal;
    font-weight: 800;
}

.lmx-habit-heading {
    margin: 1rem 0 0;
    text-align: left;
    color: #0f172a;
    font-size: 1rem;
    letter-spacing: 0;
}

.lmx-habit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 1rem;
}

.lmx-habit-card {
    min-height: 5.25rem;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: #ffffff;
    display: grid;
    gap: 0.4rem;
    align-content: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.lmx-habit-card i {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.lmx-habit-card span {
    font-weight: 900;
}

.lmx-habit-card.sleep i {
    background: #2563eb;
}

.lmx-habit-card.exercise i {
    background: #dc2626;
}

.lmx-habit-card.nutrition i {
    background: #16a34a;
}

.lmx-habit-card.vices i {
    background: #7c3aed;
}

.lmx-question-preview {
    margin-top: 1rem;
    padding: 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.lmx-question-preview h2 {
    margin: 0 0 0.65rem;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.lmx-question-preview-list {
    display: grid;
    gap: 0.5rem;
}

.lmx-question-preview-item {
    display: block;
    padding: 0.65rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.lmx-question-preview-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    color: #1e293b;
    font-weight: 800;
    line-height: 1.35;
}

.lmx-question-preview-label i {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #ffffff;
}

.lmx-track {
    min-width: 0;
    margin-top: 1rem;
    padding: 0.85rem;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.lmx-day-strip {
    display: grid;
    grid-template-columns: repeat(14, minmax(0, 1fr));
    gap: 0.35rem;
}

.lmx-track-day {
    min-width: 0;
    aspect-ratio: 1;
    border-radius: 7px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    display: grid;
    place-items: center;
    font-family: Orbitron, Roboto, sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
}

.lmx-track-day.done {
    background: #bbf7d0;
    color: #14532d;
    border-color: rgba(22, 163, 74, 0.35);
}

.lmx-track-day.today {
    outline: 3px solid rgba(248, 211, 91, 0.52);
}

.lmx-scale {
    justify-content: flex-start;
    margin-top: 0.55rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
}

.lmx-dashboard-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.lmx-dashboard-head > strong {
    color: #334155;
    font-family: Orbitron, Roboto, sans-serif;
    font-size: 0.92rem;
}

.lmx-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.lmx-dashboard-stat {
    min-height: 4.35rem;
    display: grid;
    grid-template-columns: 1.75rem minmax(0, 1fr);
    grid-template-areas:
        "icon label"
        "icon value"
        "icon detail";
    gap: 0.08rem 0.5rem;
    align-content: center;
    padding: 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 8px;
    background: #ffffff;
}

.lmx-dashboard-stat i {
    grid-area: icon;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #ffffff;
}

.lmx-dashboard-stat.sleep i {
    background: #2563eb;
}

.lmx-dashboard-stat.exercise i {
    background: #dc2626;
}

.lmx-dashboard-stat.nutrition i {
    background: #16a34a;
}

.lmx-dashboard-stat.vices i {
    background: #7c3aed;
}

.lmx-dashboard-stat span {
    grid-area: label;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.lmx-dashboard-stat strong {
    grid-area: value;
    min-width: 0;
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.lmx-dashboard-stat em {
    grid-area: detail;
    color: #64748b;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1.1;
}

.lmx-trend-guidance {
    min-height: 2.4rem;
    display: grid;
    grid-template-columns: 1.6rem minmax(0, 1fr);
    gap: 0.5rem;
    align-items: center;
    margin: -0.2rem 0 0.75rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 8px;
    background: #fff7ed;
    color: #7c2d12;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.35;
}

.lmx-trend-guidance i {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fed7aa;
    color: #9a3412;
}

.lmx-dashboard-scroll {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, 0.28) rgba(226, 232, 240, 0.72);
    -webkit-overflow-scrolling: touch;
}

.lmx-dashboard-scroll::-webkit-scrollbar {
    height: 0.65rem;
}

.lmx-dashboard-scroll::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.72);
}

.lmx-dashboard-scroll::-webkit-scrollbar-thumb {
    border: 2px solid rgba(248, 250, 252, 0.95);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.28);
}

.lmx-dashboard-grid {
    --lmx-dashboard-day-columns: repeat(14, 2.15rem);
    --lmx-dashboard-min-width: 46.55rem;
    --lmx-dashboard-category-width: 12.5rem;
    --lmx-dashboard-gap: 0.55rem;
    width: max-content;
    min-width: var(--lmx-dashboard-min-width);
    display: grid;
    gap: 0.4rem;
}

.lmx-dashboard-row {
    display: grid;
    grid-template-columns: var(--lmx-dashboard-category-width) max-content;
    gap: var(--lmx-dashboard-gap);
    align-items: center;
}

.lmx-dashboard-row-head {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lmx-dashboard-corner,
.lmx-dashboard-category {
    position: sticky;
    left: 0;
    z-index: 2;
}

.lmx-dashboard-corner {
    align-self: stretch;
    display: grid;
    align-items: center;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
    background: #eef2f7;
    box-shadow: var(--lmx-dashboard-gap) 0 0 #ffffff;
}

.lmx-dashboard-category {
    box-shadow:
        var(--lmx-dashboard-gap) 0 0 #ffffff,
        0.55rem 0 0.75rem -0.82rem rgba(15, 23, 42, 0.55);
}

.lmx-dashboard-days {
    display: grid;
    grid-template-columns: var(--lmx-dashboard-day-columns);
    gap: 0.35rem;
}

.lmx-dashboard-day,
.lmx-category-day {
    min-width: 0;
    aspect-ratio: 1;
    border-radius: 7px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    display: grid;
    place-items: center;
    box-sizing: border-box;
    font-family: Orbitron, Roboto, sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
}

.lmx-dashboard-day {
    background: #eef2f7;
    color: #475569;
}

.lmx-dashboard-day.practice {
    color: #075985;
    background: #e0f2fe;
}

.lmx-dashboard-day.today,
.lmx-category-day.today {
    outline: 3px solid rgba(248, 211, 91, 0.52);
}

.lmx-dashboard-category {
    min-width: 0;
    min-height: 3.2rem;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    gap: 0.18rem 0.45rem;
    align-items: center;
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 8px;
    background: #ffffff;
}

.lmx-dashboard-category i {
    grid-row: 1 / span 2;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.lmx-dashboard-category.sleep i {
    background: #2563eb;
}

.lmx-dashboard-category.exercise i {
    background: #dc2626;
}

.lmx-dashboard-category.nutrition i {
    background: #16a34a;
}

.lmx-dashboard-category.vices i {
    background: #7c3aed;
}

.lmx-dashboard-category span {
    min-width: 0;
    color: #0f172a;
    font-weight: 900;
    overflow-wrap: normal;
    white-space: nowrap;
}

.lmx-dashboard-category strong {
    color: #334155;
    font-family: Orbitron, Roboto, sans-serif;
    font-size: 0.82rem;
}

.lmx-dashboard-bar {
    grid-column: 2 / -1;
    height: 0.36rem;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.lmx-dashboard-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #14b8a6, #f8d35b);
}

.lmx-category-day {
    position: relative;
    color: #334155;
    background: #ffffff;
}

.lmx-category-day.full {
    background: #bbf7d0;
    border-color: rgba(22, 163, 74, 0.35);
}

.lmx-category-day.partial {
    background: linear-gradient(90deg, #bbf7d0 0 50%, #ffffff 50% 100%);
    border-color: rgba(22, 163, 74, 0.35);
}

.lmx-category-day.missed {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.14);
}

.lmx-category-day.empty {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.10);
}

.lmx-category-day.practice {
    box-shadow: inset 0 0 0 2px rgba(14, 165, 233, 0.16);
}

.lmx-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 1.1rem;
}

.lmx-metric {
    min-height: 4.5rem;
    padding: 0.7rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    display: grid;
    gap: 0.15rem;
    align-content: center;
}

.lmx-metric strong {
    font-family: Orbitron, Roboto, sans-serif;
    font-size: 1.35rem;
    line-height: 1;
}

.lmx-metric span {
    color: #64748b;
    font-size: 0.86rem;
}

.lmx-metric.phase-only {
    justify-items: start;
}

.lmx-metric.phase-only strong {
    align-self: center;
}

.lmx-card {
    padding: 1rem;
}

.lmx-action-card {
    position: sticky;
    top: 0.75rem;
    display: grid;
    align-content: start;
    gap: 0.85rem;
}

.lmx-card-head {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
}

.lmx-card-copy {
    margin: 0;
    color: #475569;
    line-height: 1.4;
    font-size: 0.92rem;
}

.lmx-workflow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.lmx-workflow-step {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.55rem;
    align-items: start;
    min-height: 5.15rem;
    padding: 0.65rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.lmx-workflow-step i {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lmx-workflow-step strong,
.lmx-workflow-step span {
    display: block;
}

.lmx-workflow-step strong {
    color: #0f172a;
    font-size: 0.88rem;
    line-height: 1.2;
}

.lmx-workflow-step span {
    margin-top: 0.18rem;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.3;
}

.lmx-card h2,
.lmx-card h3 {
    margin: 0 0 0.8rem;
    text-align: left;
    font-size: 1.2rem;
    letter-spacing: 0;
}

.lmx-form {
    display: grid;
    gap: 0.75rem;
}

.lmx-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.lmx-field {
    display: grid;
    gap: 0.3rem;
}

.lmx-identity-field {
    margin: 0;
    padding: 0.65rem;
    display: grid;
    gap: 0.6rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #f8fafc;
}

.lmx-identity-field legend {
    padding: 0 0.2rem;
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 850;
}

.lmx-identity-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
}

.lmx-identity-options label {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-weight: 850;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.lmx-identity-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.lmx-identity-options label:has(input:checked) {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
}

.lmx-identity-options label:focus-within {
    outline: 3px solid rgba(0, 188, 212, 0.24);
    outline-offset: 2px;
}

.lmx-field label,
.lmx-field span.lmx-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #475569;
}

.lmx-field label span,
.lmx-field span.lmx-label span {
    color: #94a3b8;
    font-weight: 800;
}

.lmx-field-help {
    margin: 0;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.35;
}

.lmx-commitment-help,
.lmx-commitment-copy {
    padding: 0.58rem 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    text-wrap: pretty;
}

.lmx-commitment-copy {
    margin-top: 0.35rem;
}

.lmx-field input,
.lmx-field select,
.lmx-field textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    padding: 0.7rem 0.75rem;
    font: inherit;
    background: #ffffff;
    color: #0f172a;
}

.lmx-money-input {
    display: flex;
    align-items: center;
    min-height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    overflow: hidden;
}

.lmx-money-input span {
    flex: 0 0 auto;
    padding-left: 0.75rem;
    color: #0f172a;
    font: inherit;
    font-weight: 700;
}

.lmx-money-input input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 42px;
    border: 0;
    border-radius: 0;
    padding-left: 0.35rem;
}

.lmx-money-input input:focus {
    outline: none;
}

.lmx-money-input:focus-within {
    border-color: #67e8f9;
    box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.32);
}

.lmx-money-input:has(input[aria-invalid="true"]) {
    border-color: #ef4444;
}

.lmx-money-input:has(input:disabled) {
    background: #f1f5f9;
    color: #64748b;
}

.lmx-field textarea {
    resize: vertical;
    min-height: 5rem;
}

.lmx-note-photo-field {
    margin-top: 0.5rem;
}

.lmx-note-photo-picker {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.lmx-note-photo-picker input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lmx-photo-count {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 800;
}

.lmx-note-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
    gap: 0.45rem;
    margin-top: 0.45rem;
}

.lmx-note-photo-grid:empty {
    display: none;
}

.lmx-note-photo {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
}

.lmx-note-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lmx-note-photo.pending-item {
    border-style: dashed;
}

.lmx-note-photo-remove {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.84);
    color: #ffffff;
    cursor: pointer;
}

.lmx-note-photo-remove:focus-visible {
    outline: 3px solid rgba(0, 188, 212, 0.42);
    outline-offset: 2px;
}

.lmx-field input:focus,
.lmx-field select:focus,
.lmx-field textarea:focus {
    outline: 3px solid rgba(0, 188, 212, 0.22);
    border-color: rgba(0, 188, 212, 0.72);
}

.lmx-field .lmx-money-input input:focus {
    outline: none;
    border-color: transparent;
    box-shadow: none;
}

.lmx-field input[aria-invalid="true"] {
    border-color: rgba(185, 28, 28, 0.75);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

.lmx-athlete-selector {
    position: relative;
}

.lmx-athlete-picker {
    position: relative;
    display: grid;
    gap: 0.45rem;
}

.lmx-athlete-search {
    min-height: 46px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.45rem 0 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 8px;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lmx-athlete-search:focus-within {
    border-color: rgba(0, 188, 212, 0.72);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.18);
}

.lmx-athlete-search i {
    color: #64748b;
    font-size: 0.9rem;
}

.lmx-athlete-search input,
.lmx-athlete-search input:focus {
    min-height: 44px;
    padding: 0;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
}

.lmx-athlete-clear {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #334155;
    cursor: pointer;
}

.lmx-athlete-clear:hover,
.lmx-athlete-clear:focus-visible {
    background: #e2e8f0;
}

.lmx-athlete-clear:focus-visible {
    outline: 3px solid rgba(0, 188, 212, 0.28);
    outline-offset: 2px;
}

.lmx-athlete-selected {
    min-height: 44px;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.55rem;
    align-items: center;
    padding: 0.5rem;
    border: 1px solid rgba(0, 188, 212, 0.24);
    border-radius: 8px;
    background: rgba(0, 188, 212, 0.08);
}

.lmx-athlete-selected span,
.lmx-athlete-option > span {
    min-width: 0;
    display: grid;
    gap: 0.08rem;
    overflow-wrap: anywhere;
}

.lmx-athlete-selected strong,
.lmx-athlete-name {
    color: #0f172a;
    font-weight: 850;
}

.lmx-athlete-selected em,
.lmx-athlete-option em {
    color: #64748b;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 700;
}

.lmx-profile-identity {
    min-height: 3.25rem;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
    padding: 0.6rem 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #f8fafc;
}

.lmx-profile-identity > i {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #ffffff;
}

.lmx-profile-identity span {
    min-width: 0;
    display: grid;
    gap: 0.1rem;
}

.lmx-profile-identity strong,
.lmx-profile-identity a {
    color: #0f172a;
    font-weight: 900;
    text-decoration: none;
}

.lmx-profile-identity a:hover,
.lmx-profile-identity a:focus-visible {
    text-decoration: underline;
}

.lmx-profile-identity em {
    color: #64748b;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
}

.lmx-athlete-options {
    position: absolute;
    top: calc(44px + 0.3rem);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: min(14rem, 38vh);
    overflow-y: auto;
    padding: 0.25rem;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.lmx-athlete-option {
    min-height: 44px;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.55rem;
    align-items: center;
    padding: 0.45rem 0.55rem;
    border-radius: 6px;
    color: #0f172a;
    cursor: pointer;
}

.lmx-athlete-option:hover,
.lmx-athlete-option.autocomplete-active {
    background: rgba(0, 188, 212, 0.12);
}

.lmx-athlete-option img,
.lmx-athlete-selected img,
.lmx-athlete-fallback {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    object-fit: cover;
    background: #e2e8f0;
}

.lmx-athlete-option strong {
    border-radius: 4px;
    background: rgba(0, 188, 212, 0.16);
    color: #0f5965;
}

.lmx-athlete-empty {
    padding: 0.75rem;
    color: #64748b;
    font-weight: 750;
}

.lmx-timezone-picker {
    position: relative;
    min-width: 0;
}

.lmx-timezone-native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.lmx-timezone-button {
    width: 100%;
    min-height: 44px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.55rem;
    align-items: center;
    padding: 0.58rem 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.lmx-timezone-button span {
    min-width: 0;
    overflow: hidden;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lmx-timezone-button small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.lmx-timezone-button i {
    color: #64748b;
    font-size: 0.78rem;
}

.lmx-timezone-button:focus-visible {
    border-color: rgba(0, 188, 212, 0.72);
    outline: 3px solid rgba(0, 188, 212, 0.22);
}

.lmx-timezone-picker.open .lmx-timezone-button {
    border-color: rgba(0, 188, 212, 0.42);
}

.lmx-timezone-popover {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    z-index: 24;
    display: grid;
    gap: 0.35rem;
    padding: 0.35rem;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.lmx-timezone-search {
    min-height: 44px;
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    gap: 0.5rem;
    align-items: center;
    padding: 0 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 7px;
    background: #f8fafc;
}

.lmx-timezone-search i {
    color: #64748b;
    font-size: 0.8rem;
}

.lmx-timezone-search input {
    min-height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    color: #0f172a;
    outline: none;
}

.lmx-timezone-search:focus-within {
    border-color: rgba(0, 188, 212, 0.72);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.18);
}

.lmx-field .lmx-timezone-search input:focus {
    border-color: transparent;
    box-shadow: none;
    outline: none;
}

.lmx-timezone-list {
    max-height: min(16rem, 42vh);
    overflow-y: auto;
    display: grid;
    gap: 0.1rem;
}

.lmx-timezone-option {
    min-height: 42px;
    display: grid;
    gap: 0.04rem;
    padding: 0.45rem 0.55rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #0f172a;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.lmx-timezone-option:hover,
.lmx-timezone-option.active {
    background: rgba(0, 188, 212, 0.12);
}

.lmx-timezone-option[aria-selected="true"] {
    background: #0f172a;
    color: #ffffff;
}

.lmx-timezone-option span {
    font-weight: 850;
}

.lmx-timezone-option small {
    color: inherit;
    opacity: 0.72;
    font-size: 0.75rem;
    font-weight: 750;
}

.lmx-timezone-empty {
    padding: 0.75rem;
    color: #64748b;
    font-weight: 750;
}

.lmx-profile-upload {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    padding: 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 8px;
    background: #f8fafc;
}

.lmx-profile-preview {
    width: 3.25rem;
    height: 3.25rem;
    border: 2px solid var(--secondary-color, #ff4f87);
    border-radius: 999px;
    background: #eef3f7;
    overflow: hidden;
    box-sizing: border-box;
}

.lmx-profile-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lmx-profile-preview.placeholder img {
    object-position: center 42%;
}

.lmx-profile-upload-actions {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.lmx-profile-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lmx-profile-upload .lmx-status {
    min-width: 8rem;
}

.lmx-button-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: stretch;
}

#lmxParticipantTools {
    margin: 0.9rem 0 0.75rem;
}

.lmx-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem;
    padding: 0.28rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #eef2f7;
}

.lmx-access-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lmx-tab {
    min-width: 0;
    min-height: 44px;
    border: 0;
    border-radius: 7px;
    padding: 0.55rem 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    color: #475569;
    background: transparent;
    font: inherit;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
}

.lmx-tab i {
    flex: 0 0 auto;
}

.lmx-tab:hover,
.lmx-tab:focus-visible {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.64);
}

.lmx-tab:disabled,
.lmx-tab[aria-disabled="true"] {
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.62;
}

.lmx-tab:disabled:hover,
.lmx-tab[aria-disabled="true"]:hover {
    color: #94a3b8;
    background: transparent;
}

.lmx-tab:focus-visible {
    outline: 3px solid rgba(0, 188, 212, 0.32);
    outline-offset: 2px;
}

.lmx-tab[aria-selected="true"] {
    color: #0f172a;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.10);
}

.lmx-tab-panel {
    min-width: 0;
}

.lmx-access-panel {
    min-width: 0;
}

.lmx-access-loading {
    min-width: 0;
    min-height: 7.5rem;
    padding: 1rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 8px;
    background: #f8fafc;
}

.lmx-access-loading i {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #ffffff;
}

.lmx-access-loading span {
    min-width: 0;
    display: grid;
    gap: 0.25rem;
}

.lmx-access-loading strong,
.lmx-access-loading em {
    min-width: 0;
    overflow-wrap: anywhere;
}

.lmx-access-loading strong {
    color: #172033;
    font-size: 1.05rem;
    line-height: 1.2;
}

.lmx-access-loading em {
    color: #475569;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.35;
}

.lmx-button {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    padding: 0.72rem 1rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #059669, #14b8a6);
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(20, 184, 166, 0.22);
    text-decoration: none;
    transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.lmx-button i {
    width: 1em;
    flex: 0 0 1em;
    text-align: center;
}

.lmx-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(20, 184, 166, 0.26);
}

.lmx-button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(20, 184, 166, 0.20);
}

.lmx-button:focus-visible {
    outline: 3px solid rgba(0, 188, 212, 0.32);
    outline-offset: 2px;
}

.lmx-button.secondary {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.16);
    box-shadow: none;
}

.lmx-button.secondary:hover:not(:disabled) {
    border-color: rgba(15, 23, 42, 0.26);
    background: #f8fafc;
    box-shadow: none;
}

.lmx-compact-button {
    min-height: 2.15rem;
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.lmx-button.slack {
    background: linear-gradient(135deg, #4a154b, #1264a3);
}

.lmx-primary-action {
    width: 100%;
    min-height: 3.15rem;
}

.lmx-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.lmx-button[aria-busy="true"] {
    cursor: progress;
}

body.lmx-quote-open {
    overflow: hidden;
}

.lmx-quote-dialog[hidden] {
    display: none;
}

.lmx-quote-dialog {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.lmx-quote-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(3px);
}

.lmx-quote-dialog-card {
    --lmx-quote-accent: #14b8a6;
    --lmx-quote-accent-deep: #0f766e;
    --lmx-quote-accent-soft: rgba(20, 184, 166, 0.10);
    position: relative;
    z-index: 1;
    width: min(100%, 35rem);
    max-height: min(88vh, 38rem);
    overflow: auto;
    display: grid;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(180deg, var(--lmx-quote-accent) 0 0.28rem, transparent 0.28rem),
        #ffffff;
    box-shadow:
        0 22px 58px rgba(15, 23, 42, 0.30),
        0 1px 0 rgba(255, 255, 255, 0.70) inset;
}

.lmx-quote-dialog[data-quote-bucket="sleep"] .lmx-quote-dialog-card {
    --lmx-quote-accent: #0ea5e9;
    --lmx-quote-accent-deep: #075985;
    --lmx-quote-accent-soft: rgba(14, 165, 233, 0.10);
}

.lmx-quote-dialog[data-quote-bucket="exercise"] .lmx-quote-dialog-card {
    --lmx-quote-accent: #f97316;
    --lmx-quote-accent-deep: #9a3412;
    --lmx-quote-accent-soft: rgba(249, 115, 22, 0.10);
}

.lmx-quote-dialog[data-quote-bucket="nutrition"] .lmx-quote-dialog-card {
    --lmx-quote-accent: #16a34a;
    --lmx-quote-accent-deep: #166534;
    --lmx-quote-accent-soft: rgba(22, 163, 74, 0.10);
}

.lmx-quote-dialog[data-quote-bucket="vices"] .lmx-quote-dialog-card {
    --lmx-quote-accent: #e11d48;
    --lmx-quote-accent-deep: #9f1239;
    --lmx-quote-accent-soft: rgba(225, 29, 72, 0.09);
}

.lmx-quote-dialog[data-quote-bucket="mindset"] .lmx-quote-dialog-card {
    --lmx-quote-accent: #6366f1;
    --lmx-quote-accent-deep: #3730a3;
    --lmx-quote-accent-soft: rgba(99, 102, 241, 0.09);
}

.lmx-quote-dialog-body {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 0.85rem;
    padding: 1.15rem 1.15rem 1rem;
}

.lmx-quote-dialog-symbol {
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 8px;
    background: var(--lmx-quote-accent-soft);
    color: var(--lmx-quote-accent-deep);
}

.lmx-quote-dialog-symbol i {
    font-size: 1.05rem;
}

.lmx-quote-dialog-main {
    position: relative;
    z-index: 0;
    min-width: 0;
    display: grid;
    gap: 0.75rem;
}

.lmx-quote-dialog blockquote {
    position: relative;
    margin: 0;
    color: #0f172a;
    font-size: 1.12rem;
    font-weight: 850;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.lmx-quote-dialog blockquote::before {
    content: "\"";
    position: absolute;
    top: -0.9rem;
    left: -0.1rem;
    z-index: -1;
    color: var(--lmx-quote-accent-soft);
    font-size: 4.1rem;
    font-weight: 900;
    line-height: 1;
}

.lmx-quote-source {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 2.5rem;
    align-items: center;
    gap: 0.55rem;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
}

.lmx-quote-athlete,
.lmx-quote-rank,
.lmx-quote-podcast-link {
    max-width: 100%;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    overflow-wrap: anywhere;
}

.lmx-quote-source a {
    color: #0f172a;
    text-decoration: none;
}

.lmx-quote-athlete a {
    color: var(--lmx-quote-accent-deep);
    font-weight: 900;
}

.lmx-quote-source a:hover {
    color: var(--lmx-quote-accent-deep);
    text-decoration: underline;
}

.lmx-quote-source a:focus-visible {
    outline: 3px solid rgba(0, 188, 212, 0.32);
    outline-offset: 2px;
}

.lmx-quote-rank {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.3;
}

.lmx-quote-rank::before {
    content: "";
    width: 0.28rem;
    height: 0.28rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #cbd5e1;
}

.lmx-quote-podcast-link {
    width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
    justify-self: end;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff !important;
    text-decoration: none !important;
}

.lmx-quote-podcast-link:hover {
    background: var(--lmx-quote-accent-deep);
    color: #ffffff !important;
}

.lmx-quote-podcast-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.lmx-quote-source-separator {
    color: #cbd5e1;
}

.lmx-quote-dialog-actions {
    display: flex;
    justify-content: flex-end;
    padding: 0.7rem 1rem 0.95rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
}

.lmx-quote-dialog-card .lmx-button {
    justify-self: end;
    min-width: 4.8rem;
    min-height: 2.55rem;
    background: #0f766e;
    box-shadow: 0 5px 14px rgba(15, 118, 110, 0.20);
}

@media (max-width: 560px) {
    .lmx-quote-dialog {
        padding: 0.75rem;
    }

    .lmx-quote-dialog-body {
        grid-template-columns: 2.45rem minmax(0, 1fr);
        gap: 0.7rem;
        padding: 1rem 0.9rem 0.85rem;
    }

    .lmx-quote-dialog-symbol {
        width: 2.45rem;
        height: 2.45rem;
    }

    .lmx-quote-dialog blockquote {
        font-size: 1rem;
    }

    .lmx-quote-source {
        grid-template-columns: auto minmax(0, 1fr) 2.35rem;
        font-size: 0.78rem;
    }

    .lmx-quote-podcast-link {
        width: 2.35rem;
        height: 2.35rem;
    }

    .lmx-quote-dialog-actions {
        padding: 0.65rem 0.8rem 0.8rem;
    }
}

.lmx-status {
    margin-top: 0.35rem;
    min-height: 1.3rem;
    color: #475569;
    font-weight: 700;
}

.lmx-status.error {
    color: #b91c1c;
}

.lmx-status.success {
    color: #047857;
}

.lmx-call-list {
    display: grid;
    gap: 0.55rem;
}

.lmx-call-group {
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 8px;
    padding: 0.75rem 0.8rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
}

.lmx-call-main {
    min-width: 0;
    display: block;
}

.lmx-call-copy {
    min-width: 0;
    display: grid;
    gap: 0.22rem;
}

.lmx-call-copy strong {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 1rem;
    line-height: 1.2;
}

.lmx-call-title-icon {
    color: #075985;
    font-size: 0.88rem;
}

.lmx-call-group.done {
    opacity: 0.72;
}

.lmx-call-side {
    display: grid;
    justify-items: end;
    gap: 0.3rem;
}

.lmx-call-when {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.lmx-call-when b {
    color: #0f172a;
    font-size: 1.02rem;
    line-height: 1.2;
}

.lmx-call-when small {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
}

.lmx-call-countdown {
    display: inline-flex;
    align-items: baseline;
    gap: 0.28rem;
    color: #475569;
    white-space: nowrap;
}

.lmx-call-countdown small {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.lmx-call-countdown b {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
}

.lmx-call-countdown.live {
    color: #047857;
}

.lmx-call-countdown.live small,
.lmx-call-countdown.live b {
    color: #047857;
}

.lmx-call-link,
.lmx-call-done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    font-weight: 800;
}

.lmx-call-link {
    background: #e0f2fe;
    color: #075985;
    text-decoration: none;
}

.lmx-call-link:hover {
    background: #bae6fd;
}

.lmx-call-link:focus-visible {
    outline: 3px solid rgba(0, 188, 212, 0.32);
    outline-offset: 2px;
}

.lmx-call-done {
    background: #e2e8f0;
    color: #475569;
}

.lmx-check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    color: #334155;
}

.lmx-check input {
    width: 18px;
    height: 18px;
    accent-color: #00bcd4;
}

.lmx-participant-actions {
    display: grid;
    gap: 0.8rem;
}

.lmx-participant-notice {
    margin-top: 0;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(4, 120, 87, 0.18);
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
    line-height: 1.35;
}

.lmx-participant-notice.error {
    border-color: rgba(185, 28, 28, 0.22);
    background: #fef2f2;
    color: #b91c1c;
}

.lmx-commitment-panel {
    display: grid;
    gap: 0.75rem;
}

.lmx-commitment-card {
    display: grid;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid rgba(185, 28, 28, 0.18);
    border-radius: 8px;
    background: #fff7ed;
}

.lmx-commitment-card > div > strong,
.lmx-commitment-main > div > strong,
.lmx-commitment-edit > strong {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.2;
}

.lmx-commitment-card > div > span,
.lmx-commitment-main > div > span {
    display: block;
    margin-top: 0.18rem;
    color: #475569;
    line-height: 1.4;
}

.lmx-commitment-card.due {
    background: #fef2f2;
}

.lmx-commitment-card.setup {
    border-color: rgba(217, 119, 6, 0.28);
    background: #fffbeb;
}

.lmx-commitment-main {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
    gap: 0.65rem 0.75rem;
    align-items: center;
}

.lmx-commitment-main > i {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: #ffffff;
}

.lmx-commitment-card.setup .lmx-commitment-main > i {
    background: #d97706;
}

.lmx-commitment-main b {
    min-width: 4.5rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: #991b1b;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
}

.lmx-commitment-meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.lmx-commitment-meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.8rem;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.lmx-commitment-edit {
    display: grid;
    gap: 0.55rem;
}

.lmx-board-wrap {
    overflow: hidden;
    scroll-margin-top: 4.5rem;
}

.lmx-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}

.lmx-board-header h2 {
    margin: 0;
    text-align: left;
    font-size: 1.35rem;
    letter-spacing: 0;
}

.lmx-board-meta {
    margin: 0.2rem 0 0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.35;
}

.lmx-board-legend .lmx-habit-key {
    min-width: 5.25rem;
    min-height: 2.1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    padding: 0 0.62rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    letter-spacing: 0;
}

.lmx-board-legend .lmx-habit-key i {
    font-size: 0.94rem;
    line-height: 1;
}

.lmx-board-legend .lmx-habit-key i:nth-child(1) {
    color: #4f46e5;
}

.lmx-board-legend .lmx-habit-key i:nth-child(2) {
    color: #0f766e;
}

.lmx-board-legend .lmx-habit-key i:nth-child(3) {
    color: #ca8a04;
}

.lmx-board-legend .lmx-habit-key i:nth-child(4) {
    color: #be185d;
}

.lmx-inactive-toggle {
    min-height: 2rem;
    padding: 0 0.15rem;
    border: 0;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
}

.lmx-inactive-toggle:hover {
    color: #0f172a;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.lmx-inactive-toggle:focus-visible {
    border-radius: 6px;
    outline: 3px solid rgba(0, 188, 212, 0.24);
    outline-offset: 2px;
}

.lmx-phase {
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.lmx-board-scroll {
    overflow-x: auto;
    padding: 0.35rem 0.35rem 0.65rem;
    overscroll-behavior-inline: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, 0.28) rgba(226, 232, 240, 0.72);
    -webkit-overflow-scrolling: touch;
}

.lmx-board-scroll::-webkit-scrollbar {
    height: 0.65rem;
}

.lmx-board-scroll::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.72);
}

.lmx-board-scroll::-webkit-scrollbar-thumb {
    border: 2px solid rgba(248, 250, 252, 0.95);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.28);
}

.lmx-board {
    --lmx-day-columns: repeat(14, 2.55rem);
    --lmx-board-min-width: 61.75rem;
    --lmx-sticky-name-width: 16rem;
    --lmx-sticky-score-width: 4.8rem;
    --lmx-board-gap: 0.35rem;
    --lmx-board-row-padding: 0.35rem;
    --lmx-sticky-gap-cover: calc(var(--lmx-board-gap) + 0.05rem);
    min-width: max(100%, var(--lmx-board-min-width));
    width: 100%;
}

.lmx-board.public {
    min-width: max(100%, var(--lmx-board-min-width));
}

.lmx-board.roster {
    --lmx-board-min-width: 53.2rem;
    min-width: max(100%, var(--lmx-board-min-width));
}

.lmx-board-row {
    display: grid;
    grid-template-columns: var(--lmx-sticky-name-width) var(--lmx-sticky-score-width) var(--lmx-day-columns);
    gap: var(--lmx-board-gap);
    align-items: center;
    min-height: 3rem;
    padding: var(--lmx-board-row-padding);
    border-radius: 8px;
}

.lmx-board.public .lmx-board-row {
    grid-template-columns: var(--lmx-sticky-name-width) var(--lmx-sticky-score-width) var(--lmx-day-columns);
}

.lmx-board-row.lmx-roster-row {
    grid-template-columns: var(--lmx-sticky-name-width) var(--lmx-day-columns);
}

.lmx-cell-strip {
    display: contents;
}

.lmx-board-row.header {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #eef2f7;
    font-size: 0.78rem;
    color: #475569;
    font-weight: 700;
    text-transform: uppercase;
}

.lmx-board-row:not(.header):nth-child(even) {
    background: rgba(248, 250, 252, 0.88);
}

.lmx-board-row.inactive {
    opacity: 0.62;
}

.lmx-name {
    min-width: 0;
    display: grid;
    gap: 0.2rem;
}

.lmx-board-row > .lmx-name,
.lmx-board-row > .lmx-number {
    position: sticky;
    z-index: 2;
    align-self: stretch;
    background: #ffffff;
}

.lmx-board-row > .lmx-name {
    left: calc(-1 * var(--lmx-board-row-padding));
    align-content: center;
    padding-inline: calc((var(--lmx-board-row-padding) * 2) + 0.35rem) 0.35rem;
    border-radius: 0;
    box-shadow: var(--lmx-board-gap) 0 0 #ffffff;
}

.lmx-board-row > .lmx-number {
    left: calc(var(--lmx-sticky-name-width) + var(--lmx-board-gap) - var(--lmx-board-row-padding));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 7px 7px 0;
    box-shadow:
        var(--lmx-sticky-gap-cover) 0 0 #ffffff,
        0.55rem 0 0.75rem -0.82rem rgba(15, 23, 42, 0.55);
}

.lmx-board-row.header > .lmx-name,
.lmx-board-row.header > .lmx-number {
    z-index: 4;
    background: #eef2f7;
}

.lmx-board-row.header > .lmx-name {
    box-shadow: var(--lmx-board-gap) 0 0 #eef2f7;
}

.lmx-board-row.header > .lmx-number {
    box-shadow:
        var(--lmx-sticky-gap-cover) 0 0 #eef2f7,
        0.55rem 0 0.75rem -0.82rem rgba(15, 23, 42, 0.55);
}

.lmx-board-row:not(.header):nth-child(even) > .lmx-name,
.lmx-board-row:not(.header):nth-child(even) > .lmx-number {
    background: #f8fafc;
}

.lmx-board-row:not(.header):nth-child(even) > .lmx-name {
    box-shadow: var(--lmx-board-gap) 0 0 #f8fafc;
}

.lmx-board-row:not(.header):nth-child(even) > .lmx-number {
    box-shadow:
        var(--lmx-sticky-gap-cover) 0 0 #f8fafc,
        0.55rem 0 0.75rem -0.82rem rgba(15, 23, 42, 0.55);
}

.lmx-board-row.lmx-roster-row > .lmx-name {
    border-radius: 0;
    box-shadow:
        var(--lmx-board-gap) 0 0 #ffffff,
        0.55rem 0 0.75rem -0.82rem rgba(15, 23, 42, 0.55);
}

.lmx-board-row.lmx-roster-row.header > .lmx-name {
    box-shadow:
        var(--lmx-board-gap) 0 0 #eef2f7,
        0.55rem 0 0.75rem -0.82rem rgba(15, 23, 42, 0.55);
}

.lmx-board-row.lmx-roster-row:not(.header):nth-child(even) > .lmx-name {
    box-shadow:
        var(--lmx-board-gap) 0 0 #f8fafc,
        0.55rem 0 0.75rem -0.82rem rgba(15, 23, 42, 0.55);
}

.lmx-participant-name {
    min-width: 0;
    display: grid;
    grid-template-columns: 2.25rem 1.75rem minmax(0, 1fr);
    gap: 0.5rem;
    align-items: center;
}

.lmx-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 1.55rem;
    padding: 0 0.25rem;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-family: Orbitron, Roboto, sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    box-sizing: border-box;
}

.lmx-participant-avatar {
    width: 1.75rem;
    height: 1.75rem;
    border: 2px solid var(--secondary-color, #ff4f87);
    border-radius: 999px;
    background: #eef3f7;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    box-sizing: border-box;
}

.lmx-participant-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lmx-participant-avatar.placeholder img {
    object-position: center 42%;
}

.lmx-participant-label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.lmx-row-badges {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    margin-top: 0.18rem;
}

.lmx-row-badges em {
    display: inline-flex;
    align-items: center;
    min-height: 1.15rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.lmx-empty-name {
    color: #64748b;
}

.lmx-empty-score {
    color: #94a3b8;
}

.lmx-name a,
.lmx-name span {
    color: #0f172a;
    font-weight: 800;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.lmx-number {
    font-family: Orbitron, Roboto, sans-serif;
    font-weight: 700;
}

.lmx-cell {
    position: relative;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 7px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-family: Orbitron, Roboto, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    background: #ffffff;
}

.lmx-cell.empty {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.09);
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.72);
}

.lmx-cell.practice {
    background: #e0f2fe;
    color: #075985;
}

.lmx-cell.score-low {
    background: #fee2e2;
    color: #991b1b;
}

.lmx-cell.score-mid {
    background: #fde68a;
    color: #92400e;
}

.lmx-cell.score-high {
    background: #bbf7d0;
    color: #166534;
}

.lmx-cell-breakdown {
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.15rem;
    line-height: 1;
}

.lmx-cell-score {
    display: block;
    min-height: 0.72rem;
    font-size: 0.7rem;
    line-height: 1;
}

.lmx-habit-marks {
    display: grid;
    grid-template-columns: repeat(4, 0.38rem);
    gap: 0.08rem;
    justify-content: center;
}

.lmx-habit-mark {
    width: 0.38rem;
    height: 0.38rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    box-sizing: border-box;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}

.lmx-habit-mark.full {
    background: currentColor;
}

.lmx-habit-mark.partial {
    background: linear-gradient(to top, currentColor 50%, transparent 50%);
}

.lmx-habit-mark.missed {
    background: transparent;
    opacity: 0.62;
}

.lmx-checkin-list {
    display: grid;
    gap: 0.85rem;
}

.lmx-checkin-switcher {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: 0.45rem;
}

.lmx-checkin-switcher button {
    min-height: 54px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.1rem 0.45rem;
    align-items: center;
    text-align: left;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 8px;
    background: #f8fafc;
    color: #0f172a;
    font: inherit;
    cursor: pointer;
}

.lmx-checkin-switcher strong {
    font-weight: 900;
}

.lmx-checkin-switcher span {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 800;
}

.lmx-checkin-switcher em {
    grid-row: 1 / span 2;
    grid-column: 2;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.lmx-checkin-switcher button[aria-pressed="true"] {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.lmx-checkin-switcher button[aria-pressed="true"] span {
    color: rgba(255, 255, 255, 0.72);
}

.lmx-checkin-switcher button[aria-pressed="true"] em {
    background: #10b981;
    color: #ffffff;
}

.lmx-checkin-switcher button:focus-visible,
.lmx-segmented button:focus-visible {
    outline: 3px solid rgba(0, 188, 212, 0.32);
    outline-offset: 2px;
}

.lmx-checkin-card {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    padding: 0.8rem;
    background: #ffffff;
}

.lmx-checkin-card h3 {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.lmx-checkin-card > .lmx-button {
    justify-self: start;
    margin-top: 0.5rem;
}

.lmx-practice-note {
    display: grid;
    gap: 0.15rem;
    margin: 0.55rem 0 0.25rem;
    padding: 0.65rem 0.7rem;
    border: 1px solid rgba(14, 165, 233, 0.24);
    border-radius: 8px;
    background: #f0f9ff;
    color: #334155;
}

.lmx-practice-note strong {
    color: #075985;
}

.lmx-practice-note span {
    line-height: 1.42;
}

.lmx-empty-state {
    min-height: 7rem;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon title"
        "icon copy";
    column-gap: 0.75rem;
    align-items: center;
    padding: 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: #f8fafc;
}

.lmx-empty-state i {
    grid-area: icon;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #10b981;
    color: #ffffff;
}

.lmx-empty-state.compact {
    grid-template-areas: "icon title";
    grid-template-rows: 1fr;
    align-content: center;
}

.lmx-empty-state strong {
    grid-area: title;
    align-self: end;
    color: #0f172a;
}

.lmx-empty-state.compact strong {
    align-self: center;
}

.lmx-empty-state span {
    grid-area: copy;
    align-self: start;
    color: #475569;
    line-height: 1.45;
}

.lmx-question {
    display: grid;
    gap: 0.45rem;
    margin: 0.8rem 0;
}

.lmx-question-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #1e293b;
    font-weight: 800;
}

.lmx-segmented {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
}

.lmx-segmented button {
    min-height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.lmx-segmented button[aria-pressed="true"] {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.lmx-notes {
    display: grid;
    gap: 0.55rem;
    max-height: 26rem;
    overflow: auto;
    padding-right: 0.25rem;
}

.lmx-note {
    padding: 0.65rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.lmx-note strong {
    display: block;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.lmx-note p {
    margin: 0;
    color: #334155;
    line-height: 1.4;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.lmx-hidden {
    display: none !important;
}

@media (max-width: 980px) {
    .lmx-hero {
        grid-template-columns: 1fr;
    }

    .lmx-action-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .lmx-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lmx-dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lmx-habit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lmx-question-preview-item {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .lmx-benefit-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lmx-ops-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lmx-board-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.85rem;
    }

    .lmx-board-legend {
        width: 100%;
        justify-content: space-between;
    }

    .lmx-board-legend .lmx-habit-key {
        min-height: 2.15rem;
    }

    .lmx-inactive-toggle {
        min-height: 2.5rem;
    }

    .lmx-board-wrap {
        scroll-margin-top: 7.25rem;
    }

    .lmx-board-scroll {
        overflow-x: visible;
        padding: 0.55rem;
    }

    .lmx-board,
    .lmx-board.public,
    .lmx-board.roster {
        min-width: 0;
        width: 100%;
        display: grid;
        gap: 0.65rem;
    }

    .lmx-board-row.header {
        display: none;
    }

    .lmx-board-row,
    .lmx-board.public .lmx-board-row,
    .lmx-board-row.lmx-roster-row {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        align-items: stretch;
        min-height: 0;
        padding: 0.65rem;
        gap: 0.45rem;
        border: 1px solid rgba(15, 23, 42, 0.10);
        background: #ffffff;
    }

    .lmx-board-row:not(.header):nth-child(even) {
        background: #ffffff;
    }

    .lmx-board-row > .lmx-name,
    .lmx-board-row.lmx-roster-row > .lmx-name,
    .lmx-board-row:not(.header):nth-child(even) > .lmx-name,
    .lmx-board-row.lmx-roster-row:not(.header):nth-child(even) > .lmx-name {
        grid-column: 1 / -1;
        position: static;
        left: auto;
        z-index: auto;
        align-self: auto;
        padding-inline: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .lmx-board-row > .lmx-number,
    .lmx-board-row:not(.header):nth-child(even) > .lmx-number {
        grid-column: span 2;
        position: static;
        left: auto;
        z-index: auto;
        min-height: 2.5rem;
        padding: 0.35rem 0.45rem;
        border-radius: 8px;
        border: 1px solid rgba(15, 23, 42, 0.10);
        background: #f8fafc;
        display: grid;
        align-content: center;
        gap: 0.1rem;
        font-size: 0.92rem;
    }

    .lmx-number::before {
        content: attr(data-label);
        color: #64748b;
        font-family: Roboto, sans-serif;
        font-size: 0.65rem;
        font-weight: 800;
        line-height: 1;
        text-transform: uppercase;
    }

    .lmx-cell-strip {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 0.32rem;
    }

    .lmx-cell {
        width: 100%;
        height: auto;
        min-height: 2rem;
        aspect-ratio: 1;
    }

    .lmx-cell[data-day]::before {
        content: attr(data-day);
        position: absolute;
        top: 0.22rem;
        left: 0.26rem;
        color: rgba(15, 23, 42, 0.58);
        font-family: Roboto, sans-serif;
        font-size: 0.56rem;
        font-weight: 900;
        line-height: 1;
        letter-spacing: 0;
    }

    .lmx-dashboard-grid {
        --lmx-dashboard-category-width: 10.75rem;
        --lmx-dashboard-gap: 0.42rem;
    }

    .lmx-dashboard-scroll {
        overflow-x: auto;
        scrollbar-gutter: stable;
    }

    .lmx-dashboard-row {
        grid-template-columns: var(--lmx-dashboard-category-width) max-content;
        gap: var(--lmx-dashboard-gap);
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .lmx-dashboard-row-head {
        display: grid;
    }

    .lmx-dashboard-corner,
    .lmx-dashboard-category {
        position: sticky;
        left: 0;
        z-index: 2;
    }

    .lmx-dashboard-corner {
        box-shadow: var(--lmx-dashboard-gap) 0 0 #ffffff;
    }

    .lmx-dashboard-category {
        box-shadow:
            var(--lmx-dashboard-gap) 0 0 #ffffff,
            0.45rem 0 0.7rem -0.78rem rgba(15, 23, 42, 0.5);
    }

    .lmx-dashboard-days {
        grid-template-columns: var(--lmx-dashboard-day-columns);
        gap: 0.32rem;
    }

    .lmx-category-day[data-day]::before {
        content: attr(data-day);
        position: absolute;
        top: 0.22rem;
        left: 0.26rem;
        color: rgba(15, 23, 42, 0.58);
        font-family: Roboto, sans-serif;
        font-size: 0.56rem;
        font-weight: 900;
        line-height: 1;
        letter-spacing: 0;
    }

}

@media (max-width: 520px) {
    .lmx-page {
        padding-inline: 0.55rem;
    }

    .lmx-card {
        padding: 0.85rem;
    }

    .lmx-card-head {
        margin-bottom: 0.7rem;
    }

    .lmx-tab {
        gap: 0.28rem;
        padding-inline: 0.32rem;
        font-size: 0.84rem;
    }

    .lmx-tab i {
        width: 1rem;
    }

    .lmx-commitment-main {
        grid-template-columns: 2.25rem minmax(0, 1fr);
        align-items: start;
    }

    .lmx-commitment-main b {
        grid-column: 2;
        justify-self: start;
    }

    .lmx-commitment-meta span {
        min-height: 2rem;
    }

    .lmx-button-row .lmx-button {
        flex: 1 1 100%;
    }

    .lmx-profile-upload {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .lmx-profile-preview {
        justify-self: start;
    }

    .lmx-profile-upload-actions {
        width: 100%;
    }

    .lmx-profile-upload-actions .lmx-button {
        width: 100%;
    }

    .lmx-call-group {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .lmx-call-side {
        justify-content: flex-start;
        justify-items: start;
    }

    .lmx-title-row h1 {
        font-size: 2rem;
    }

    .lmx-field-grid {
        grid-template-columns: 1fr;
    }

    .lmx-workflow {
        grid-template-columns: 1fr;
    }

    .lmx-benefit-strip {
        grid-template-columns: 1fr;
    }

    .lmx-ops-strip {
        grid-template-columns: 1fr;
    }

    .lmx-habit-card {
        min-height: 4.6rem;
    }

    .lmx-life-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 0.4rem;
        padding: 0.55rem;
    }

    .lmx-life-strip span {
        min-height: 2.35rem;
        padding-inline: 0.55rem;
    }

    .lmx-question-preview {
        margin-top: 0.75rem;
        padding: 0.65rem;
    }

    .lmx-question-preview h2 {
        margin-bottom: 0.5rem;
    }

    .lmx-question-preview-list {
        gap: 0.42rem;
    }

    .lmx-question-preview-item {
        gap: 0.48rem;
        padding: 0.5rem;
    }

    .lmx-question-preview-label {
        gap: 0.45rem;
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .lmx-question-preview-label i {
        width: 1.75rem;
        height: 1.75rem;
    }

    .lmx-day-strip {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .lmx-dashboard-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .lmx-dashboard-stats {
        grid-template-columns: 1fr;
    }

    .lmx-segmented {
        grid-template-columns: 1fr;
    }

    .lmx-checkin-card > .lmx-button {
        width: 100%;
        justify-self: stretch;
    }

}

@media (max-width: 360px) {
    .lmx-life-strip {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lmx-button {
        transition: none;
    }

    .lmx-button:hover:not(:disabled),
    .lmx-button:active:not(:disabled) {
        transform: none;
    }
}
