@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-Bold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-Regular.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    --lc-page-background: radial-gradient(circle at center left, rgba(51, 161, 255, 0.16) 0, transparent 32%), radial-gradient(circle at 50% 20%, rgba(255, 210, 140, 0.05) 0, transparent 28%), linear-gradient(180deg, #1e444f 0%, #0e2329 55%, #000000 100%);
    --lc-footer-reserve: 264px;
    --lc-text: #f3efe7;
    --lc-muted: rgba(236,255,251,0.58);
    --lc-faint: rgba(236,255,251,0.28);
    --lc-accent: #33ffd2;
    --lc-danger: #ff7b7b;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    margin: 0;
    min-height: 100%;
    /*background: radial-gradient(circle at center left, rgba(51,161,255,0.16) 0, transparent 32%), radial-gradient(circle at 50% 20%, rgba(255,210,140,0.05) 0, transparent 28%), linear-gradient(180deg, #102126 0%, #071417 55%, #040b0d 100%);*/
    background: var(--lc-page-background);
    background-attachment: fixed;
    color: var(--lc-text);
    font-family: 'Poppins';
}

body {
    min-height: 100dvh;
    overflow-x: hidden;
}

#form1 {
    min-height: 100dvh;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--lc-accent);
    outline-offset: 4px;
}

/* Shared */

.lc-auth-screen,
.lc-account-screen,
.lc-screen {
    padding: calc(max(24px, env(safe-area-inset-top)) + 15vh) 46px max(24px, env(safe-area-inset-bottom));
}

.lc-auth-kicker,
.lc-account-kicker,
.lc-qlock-label {
    font-size: 14px;
    letter-spacing: 6px;
    color: var(--lc-muted);
    text-transform: uppercase;
}

h1 {
    margin: 14px 0 8px;
    font-size: clamp(32px, 8vw, 48px);
    line-height: 0.96;
    letter-spacing: -0.06em;
    color: #f6f1e8;
    text-shadow: 0 0 18px rgba(255,244,220,0.04);
}

.lc-auth-subtitle,
.lc-qlock-meta,
.lc-account-tile-subtitle,
.lc-meta {
    color: var(--lc-muted);
    font-size: 14px;
    line-height: 1.5;
}

input,
select {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    margin-bottom: 12px;
    border: 1px solid rgba(120,255,220,0.12);
    border-radius: 4px;
    background: rgba(255,255,255,0.025);
    color: var(--lc-text);
    font-size: 16px;
    outline: none;
    font-family: 'Poppins';
}

    input::placeholder {
        color: var(--lc-faint);
    }

select {
    appearance: none;
}

/* Auth */

.lc-auth-screen {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100dvh;
}

.no-scroll {
    min-height: initial;
}

.lc-auth-card {
    width: 100%;
    max-width: 430px;
    padding: 34px 26px;
}

.lc-auth-button {
    width: max-content;
    display: flex;
    padding: 15px 34px;
    border-radius: 2px;
    border: 1px solid rgba(245, 238, 229, 0.22);
    background: transparent;
    color: #f5eee5;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    justify-content: center;
}

    .lc-auth-button:hover {
        background: rgba(245,238,229,0.06);
    }

    .lc-auth-button.is-loading {
        opacity: 0.55;
        pointer-events: none;
    }

.lc-auth-link {
    display: block;
    margin-top: 22px;
    text-align: center;
    color: var(--lc-muted);
    font-size: 14px;
}

.lc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    margin-bottom: 30px;
    color: var(--lc-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.lc-back-link:hover {
    color: var(--lc-text);
}

.lc-back-arrow {
    font-size: 19px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    transition: transform 0.2s ease;
}

.lc-back-link:hover .lc-back-arrow {
    transform: translateX(-4px);
}

.lc-auth-message {
    min-height: 22px;
    margin-top: 6px;
    color: var(--lc-danger);
    font-size: 14px;
}

.lc-auth-message.is-success {
    color: #8fffac;
}

/* Dashboard qlock */

.lc-screen {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}

.lc-label {
    margin-bottom: 28px;
    font-size: 12px;
    letter-spacing: 5px;
    color: var(--lc-muted);
}

.lc-number {
    font-size: clamp(46px, 13vw, 132px);
    font-weight: 800;
    letter-spacing: -8.5px;
    line-height: 0.9;
    font-variant-numeric: tabular-nums;
    color: var(--lc-text);
    text-shadow: 0 0 24px rgba(51,255,210,0.18), 0 0 60px rgba(51,255,210,0.08);
}

.lc-qlock-detailed {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.lc-time-part {
    min-width: 92px;
    padding: 14px 12px;
    border: 1px solid rgba(120,255,220,0.06);
    border-radius: 4px;
    background: rgba(255,255,255,0.018);
}

.lc-time-value {
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 700;
    line-height: 1;
    color: #f3efe7;
}

.lc-time-label {
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lc-muted);
}

.lc-meta {
    margin-top: 24px;
}

/* Account */

.lc-account-screen {
    min-height: 100dvh;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

.lc-auth-screen.lc-settings-screen,
.lc-account-screen.lc-settings-screen {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: calc(max(118px, calc(env(safe-area-inset-top) + 96px)) + 15vh);
}

.lc-auth-screen.lc-settings-screen > .lc-auth-card {
    padding-top: 0;
}

.lc-auth-screen.lc-settings-screen > .lc-auth-card > .lc-back-link {
    margin-left: -26px;
}

.lc-account-top {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 42px;
}

.lc-account-email {
    margin-top: 6px;
    color: var(--lc-text);
    font-size: 18px;
    font-weight: 500;
}

.lc-logout-button {
    width: auto;
    min-height: 38px;
    padding: 0 18px;
    margin-top: 0;
    border-radius: 2px;
    border: 1px solid rgba(245,238,229,0.16);
    background: transparent;
    color: rgba(245,238,229,0.72);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

    .lc-logout-button:hover {
        background: rgba(245,238,229,0.05);
        border-color: rgba(245,238,229,0.32);
        color: var(--lc-text);
    }

#accountList {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-top: 42px;
    max-width: max-content;
}

.lc-account-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 48px;
}

.lc-account-card {
    min-height: 360px;
    padding: 28px 28px 24px;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255, 255, 255, 0.018);
    display: flex;
    flex-direction: column;
    transition: 180ms ease;
}

.lc-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: #33ffd2;
    font-size: 28px;
    border: 1px solid rgba(51, 255, 210, 0.22);
    background: rgba(51, 255, 210, 0.035);
}

.lc-card-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(245, 238, 229, 0.72);
    margin-bottom: 14px;
}

.lc-card-text {
    font-size: 15px;
    line-height: 1.45;
    color: rgba(236, 255, 251, 0.62);
    min-height: 66px;
}

.lc-card-list {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(236, 255, 251, 0.10);
    display: grid;
    gap: 9px;
    font-size: 14px;
    color: rgba(236, 255, 251, 0.54);
}

    .lc-card-list div::before {
        content: "";
        display: inline-block;
        width: 5px;
        height: 5px;
        margin-right: 10px;
        border-radius: 50%;
        background: #33ffd2;
        box-shadow: 0 0 8px rgba(51, 255, 210, 0.65);
        vertical-align: middle;
    }

.lc-card-meta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(236, 255, 251, 0.10);
    display: grid;
    gap: 8px;
    font-size: 14px;
}

    .lc-card-meta span {
        color: rgba(236, 255, 251, 0.48);
    }

    .lc-card-meta strong {
        color: #33ffd2;
        font-weight: 500;
    }

.lc-card-warning {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 88, 88, 0.18);
    color: #ff5858;
    font-size: 14px;
    line-height: 1.45;
}

.lc-card-action {
    margin-top: auto;
    padding-top: 28px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(236,255,251,0.72);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .lc-card-action span {
        font-size: 22px;
        line-height: 1;
    }

.lc-account-card.is-danger {
    background: radial-gradient(circle at 20% 10%, rgba(255, 88, 88, 0.08), transparent 34%), rgba(255, 255, 255, 0.025);
}

    .lc-account-card.is-danger .lc-card-icon,
    .lc-account-card.is-danger .lc-card-title,
    .lc-account-card.is-danger .lc-card-action {
        color: #ff5858;
    }

    .lc-account-card.is-danger .lc-card-icon {
        border-color: rgba(255, 88, 88, 0.25);
        background: rgba(255, 88, 88, 0.035);
    }

/* Chrome, Edge, Safari */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Setup */

.lc-setup-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
    max-width: 980px;
}

.lc-setup-box {
    background: rgba(255,255,255,0.018);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    padding: 24px 22px;
}

.lc-setup-box-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 238, 229, 0.72);
    margin-bottom: 28px;
}

.lc-setup-box input,
.lc-setup-box select,
.lc-bmi-preview {
    position: relative;
    padding: 13px 0;
    margin: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    background: transparent;
    color: rgba(255, 255, 255, 0.38);
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.lc-setup-box select {
    padding-left: 14px;
    padding-right: 38px;
    border-left: 3px solid rgba(126, 211, 194, 0.8);
    color: rgba(255, 255, 255, 0.96);
    font-weight: 500;
    background-color: rgba(51, 255, 210, 0.025);
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(236, 255, 251, 0.58) 50%),
        linear-gradient(135deg, rgba(236, 255, 251, 0.58) 50%, transparent 50%);
    background-position:
        calc(100% - 17px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.lc-setup-box select:hover,
.lc-setup-box select:focus {
    border-left-color: var(--lc-accent);
    background-color: rgba(51, 255, 210, 0.05);
}

.lc-setup-box select option {
    background: #0d2024;
    color: var(--lc-text);
}

.lc-setup-actions {
    max-width: 360px;
    margin-top: 34px;
}

.lc-bmi-label {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(236, 255, 251, 0.48);
}

.lc-bmi-value {
    margin-top: 6px;
    font-size: 34px;
    font-weight: 700;
    color: #33ffd2;
}

/* Emergency information */

.lc-ice-intro {
    max-width: 760px;
}

.lc-ice-settings-grid {
    max-width: 1200px;
}

.lc-field-label {
    display: block;
    margin-top: 18px;
    color: rgba(236, 255, 251, 0.5);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lc-field-label:first-of-type {
    margin-top: 0;
}

.lc-ice-settings-grid input,
.lc-ice-settings-grid select,
.lc-ice-textarea {
    color: var(--lc-text);
}

.lc-ice-textarea {
    width: 100%;
    min-height: 118px;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 0;
    background: transparent;
    color: var(--lc-text);
    font-family: 'Poppins';
    font-size: 15px;
    line-height: 1.5;
    outline: none;
    resize: vertical;
}

.lc-ice-textarea::placeholder {
    color: var(--lc-faint);
}

.lc-consent {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 24px;
    color: rgba(236, 255, 251, 0.68);
    font-size: 12px;
    line-height: 1.55;
    cursor: pointer;
}

.lc-consent input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    min-height: 20px;
    margin: 1px 0 0;
    padding: 0;
    border: 1px solid rgba(120, 255, 220, 0.24);
    accent-color: var(--lc-accent);
}

.lc-consent-meta {
    margin-top: 14px;
    color: rgba(236, 255, 251, 0.4);
    font-size: 11px;
    line-height: 1.5;
}

.lc-ice-screen {
    justify-content: flex-start;
    padding-top: calc(max(128px, calc(env(safe-area-inset-top) + 106px)) + 15vh);
    padding-bottom: 250px;
}

.lc-ice-public {
    width: 100%;
    max-width: 980px;
    margin-top: 34px;
    text-align: left;
}

.lc-ice-contact-card {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.018);
}

.lc-ice-contact-name {
    margin-top: 14px;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.lc-ice-relationship {
    margin-top: 7px;
    color: var(--lc-muted);
    font-size: 14px;
}

.lc-ice-call {
    margin-top: 24px;
}

.lc-ice-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.lc-ice-info-item {
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.018);
}

.lc-ice-info-label {
    color: rgba(236, 255, 251, 0.46);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lc-ice-info-value {
    margin-top: 10px;
    color: rgba(243, 239, 231, 0.9);
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
    white-space: pre-line;
}


/* Parameters */

#parametersList {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-top: 42px;
    /* max-width: max-content;*/
}

.lc-param-block {
    background: rgba(255,255,255,0.018);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    padding: 24px 22px;
}

.lc-param-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245,238,229,0.72);
    margin-bottom: 28px;
}

.lc-param-option {
    position: relative;
    padding: 13px 0;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.055);
    background: transparent;
    color: rgba(255,255,255,0.38);
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
}

    .lc-param-option:hover {
        color: rgba(245,238,229,0.86);
    }

    .lc-param-option.is-active {
        color: rgba(255,255,255,0.96);
        font-weight: 500;
    }

    .lc-param-option::before {
        content: "";
        position: absolute;
        left: -22px;
        top: 50%;
        width: 3px;
        height: 22px;
        transform: translateY(-50%);
        background: rgba(126,211,194,0.8);
        opacity: 0;
        transition: opacity 0.18s ease;
    }

    .lc-param-option.is-active::before {
        opacity: 1;
    }

.lc-param-block:hover .lc-param-option {
    opacity: 0.45;
}

    .lc-param-block:hover .lc-param-option:hover,
    .lc-param-block:hover .lc-param-option.is-active {
        opacity: 1;
    }

.extra-margin {
    margin-top: 36px;
}

#parametersButton {
    width: max-content;
    display: flex;
    padding: 15px 34px;
    border-radius: 2px;
    border: 1px solid rgba(245, 238, 229, 0.22);
    background: transparent;
    color: #f5eee5;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    justify-content: center;
}

    #parametersButton:hover {
        background: rgba(245,238,229,0.06);
    }

    #parametersButton.is-loading {
        opacity: 0.55;
        pointer-events: none;
    }

/* Qlock card */

.lc-qlock-card {
    padding: 28px;
    margin-bottom: 22px;
    background: rgba(255,255,255,0.018);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
}

/* Bracelet */

.lc-bracelet-url {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgba(120,255,220,0.12);
    background: rgba(255,255,255,0.025);
    color: var(--lc-text);
    font-size: 12px;
}

/* Utility */

.wide {
    max-width: 100%;
}

.wide50 {
    max-width: 33dvw;
}

/* Navigation */

.lc-mobile-header,
.lc-nav-backdrop {
    display: none;
}

.lc-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: max(24px, env(safe-area-inset-top)) 66px max(24px, env(safe-area-inset-bottom));
    display: flex;
    gap: 32px;
    z-index: 20;
}

.lc-nav-link {
    appearance: none;
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    line-height: normal;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--lc-muted);
    transition: all 1s ease;
    cursor: pointer;
}

    .lc-nav-link:hover,
    .lc-nav-link.active {
        color: var(--lc-text);
        letter-spacing: 8px;
    }

/* Footer */

.lc-footer {
    position: fixed;
    bottom: 105px;
    left: 90px;
    right: 0;
    padding: 32px;
    display: flex;
    justify-content: flex-start;
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(236,255,251,0.75);
    text-transform: uppercase;
    pointer-events: none;
}

.lc-ekg-wrap {
    height: 200px;
    overflow: visible;
    position: fixed;
    bottom: 32px;
    left: 0;
    right: 0;
    pointer-events: none;
    transform: scaleX(-1);
}

.lc-ekg {
    width: 100%;
    height: 100%;
}

.lc-ekg-line {
    fill: none;
    stroke: rgba(236,255,251,0.58);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.7));
    animation: lcEkgFlow 5s ease-in infinite;
}

@keyframes lcEkgFlow {
    0% {
        stroke-dashoffset: -1800;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* Responsive */

@media (max-width: 1200px) {
    #accountList,
    .lc-account-grid,
    #parametersList {
        grid-template-columns: repeat(3, 1fr);
    }

    #accountList {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 1280px) {
    body.lc-nav-open {
        overflow: hidden;
    }

    .lc-mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 60;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 76px;
        padding: max(14px, env(safe-area-inset-top)) 32px 14px;
        background: linear-gradient(180deg, rgba(8, 23, 27, 0.96) 0%, rgba(8, 23, 27, 0.72) 72%, transparent 100%);
    }

    .lc-mobile-brand {
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.28em;
        text-transform: uppercase;
        color: rgba(243, 239, 231, 0.86);
    }

    .lc-menu-toggle {
        position: relative;
        width: 46px;
        height: 46px;
        padding: 0;
        border: 1px solid rgba(245, 238, 229, 0.16);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.025);
        color: var(--lc-text);
        cursor: pointer;
    }

    .lc-menu-toggle span {
        position: absolute;
        left: 13px;
        width: 18px;
        height: 1px;
        background: currentColor;
        transition: transform 0.25s ease, top 0.25s ease;
    }

    .lc-menu-toggle span:first-child {
        top: 19px;
    }

    .lc-menu-toggle span:last-child {
        top: 26px;
    }

    .lc-nav-open .lc-menu-toggle span:first-child {
        top: 22px;
        transform: rotate(45deg);
    }

    .lc-nav-open .lc-menu-toggle span:last-child {
        top: 22px;
        transform: rotate(-45deg);
    }

    .lc-nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 45;
        display: block;
        background: rgba(0, 7, 9, 0.68);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    .lc-nav-open .lc-nav-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .lc-navigation {
        top: 0;
        bottom: 0;
        left: auto;
        z-index: 50;
        width: min(420px, 88vw);
        height: 100vh;
        height: 100dvh;
        padding: max(98px, calc(env(safe-area-inset-top) + 84px)) 34px max(28px, env(safe-area-inset-bottom));
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-left: 1px solid rgba(255, 255, 255, 0.07);
        background: linear-gradient(180deg, #102b32 0%, #08191d 58%, #030a0c 100%);
        box-shadow: -24px 0 70px rgba(0, 0, 0, 0.34);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0s linear 0.3s;
    }

    .lc-nav-open .lc-navigation {
        transform: translateX(0);
        visibility: visible;
        transition-delay: 0s;
    }

    .lc-nav-link {
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        text-align: left;
        font-size: 11px;
        line-height: 1.45;
    }

    .lc-nav-link:hover,
    .lc-nav-link.active {
        letter-spacing: 4px;
    }

    .lc-account-screen,
    .lc-screen,
    .lc-auth-screen {
        min-height: 100vh;
        min-height: 100svh;
        padding-top: calc(max(104px, calc(env(safe-area-inset-top) + 88px)) + 15vh);
        padding-right: 32px;
        padding-bottom: 180px;
        padding-left: 32px;
    }

    .lc-ice-screen {
        justify-content: flex-start;
        padding-top: calc(max(104px, calc(env(safe-area-inset-top) + 88px)) + 15vh);
        padding-bottom: 220px;
    }

    .lc-auth-screen.lc-settings-screen,
    .lc-account-screen.lc-settings-screen {
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: calc(max(104px, calc(env(safe-area-inset-top) + 88px)) + 15vh);
    }

    .lc-account-screen > .lc-auth-screen {
        width: 100%;
        min-height: 0;
        padding: 0;
    }

    .lc-back-link {
        min-height: 44px;
        margin-bottom: 20px;
    }

    .wide50 {
        max-width: 620px;
    }

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

    .lc-param-option {
        min-height: 48px;
    }

    .lc-param-block:hover .lc-param-option {
        opacity: 1;
    }

    .lc-account-tile {
        min-width: 0;
        padding: 24px 22px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.018);
    }

    .lc-account-tile-title {
        margin-bottom: 10px;
        font-size: 15px;
        font-weight: 600;
    }

    .lc-footer {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        z-index: 2;
        max-width: 820px;
        min-height: 160px;
        margin-top: -160px;
        padding: 26px 32px max(112px, calc(env(safe-area-inset-bottom) + 100px));
        line-height: 1.65;
    }

    .lc-ekg-wrap {
        bottom: 0;
        height: 145px;
    }
}

@media (max-width: 900px) {
    #accountList,
    .lc-account-grid,
    #parametersList {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lc-account-card {
        min-height: 330px;
    }

    .lc-ice-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .lc-mobile-header {
        padding-right: 20px;
        padding-left: 20px;
    }

    .lc-navigation {
        width: 100%;
        padding-right: 24px;
        padding-left: 24px;
        border-left: 0;
    }

    .lc-account-screen,
    .lc-screen,
    .lc-auth-screen {
        padding-right: 20px;
        padding-left: 20px;
    }

    .lc-auth-card {
        padding: 26px 0;
    }

    .lc-auth-screen.lc-settings-screen > .lc-auth-card > .lc-back-link {
        margin-left: 0;
    }

    .lc-screen {
        align-items: center;
    }

    h1 {
        font-size: clamp(30px, 11vw, 42px);
        line-height: 1;
    }

    .lc-auth-kicker,
    .lc-account-kicker,
    .lc-qlock-label {
        font-size: 11px;
        letter-spacing: 4px;
    }

    .lc-account-grid,
    #parametersList,
    #accountList,
    .lc-setup-grid {
        grid-template-columns: 1fr;
    }

    .lc-account-top {
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 30px;
    }

    .lc-account-card {
        min-height: 0;
        padding: 24px 22px;
    }

    .lc-card-text {
        min-height: 0;
    }

    .lc-qlock-card {
        padding: 24px 20px;
    }

    .lc-number {
        max-width: 100%;
        font-size: clamp(28px, 10vw, 46px);
        letter-spacing: -2.5px;
        white-space: nowrap;
    }

    .lc-qlock-detailed {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .lc-time-part {
        min-width: 0;
        padding: 13px 8px;
    }

    .lc-time-value {
        font-size: 24px;
    }

    .lc-time-label {
        font-size: 9px;
    }

    .lc-ice-info-grid {
        grid-template-columns: 1fr;
    }

    .lc-ice-contact-card,
    .lc-ice-info-item {
        padding: 22px 20px;
    }

    .lc-auth-button,
    #parametersButton {
        width: 100%;
        min-height: 50px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .wide,
    .wide50 {
        max-width: 100%;
    }

    .lc-setup-box {
        padding: 22px 20px;
    }

    .lc-footer {
        padding-right: 20px;
        padding-left: 20px;
        font-size: 8px;
        letter-spacing: 1.4px;
    }

    .lc-ekg-wrap {
        height: 125px;
    }

    .lc-account-tile {
        padding: 22px 20px;
    }

    .lc-bracelet-url {
        min-width: 0;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Membership questionnaire: extends existing settings design. */
.lc-membership-badge { display:inline-block; border:1px solid rgba(255,255,255,.2); border-radius:20px; padding:6px 14px; font-size:12px; }
.lc-full-group-title { font-size:18px; margin:32px 0 18px; font-weight:500; }
.lc-full-section-title { font-size:24px; margin:42px 0 12px; }
.lc-full-help { font-size:12px; line-height:1.7; opacity:.7; margin:8px 0 15px; }
.lc-membership-notice { padding:20px; border:1px solid rgba(255,255,255,.16); border-radius:14px; font-size:14px; line-height:1.7; margin-top:24px; }
button.lc-param-option { display:block; width:100%; text-align:left; color:inherit; font:inherit; }
button.lc-auth-button { width:100%; border:0; font:inherit; color:inherit; }
button.lc-auth-button:disabled { opacity:.5; cursor:wait; }
button.lc-param-option:focus-visible { outline:2px solid #c9ad80; outline-offset:3px; }
[hidden] { display:none !important; }
button.lc-param-option { border-top:0; border-left:0; border-right:0; }

/* Reserve a clear fixed footer band throughout scrolling. */
body::after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--lc-footer-reserve) + env(safe-area-inset-bottom));
    background: var(--lc-page-background);
    background-size: 100vw 100dvh;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 5;
    /* Prevent clicks on content while it is hidden behind the footer band. */
    pointer-events: auto;
}
.lc-ekg-wrap { z-index: 6; }
.lc-footer { z-index: 7; }
.lc-auth-screen,
.lc-account-screen,
.lc-screen,
.lc-ice-screen {
    padding-bottom: calc(var(--lc-footer-reserve) + 32px + env(safe-area-inset-bottom));
}
@media (max-width: 1280px) {
    :root { --lc-footer-reserve: 245px; }
    .lc-footer {
        position: fixed;
        bottom: calc(105px + env(safe-area-inset-bottom));
        left: 0;
        right: 0;
        max-width: none;
        min-height: 0;
        margin: 0;
        padding: 16px 32px;
    }
    .lc-ekg-wrap { bottom: env(safe-area-inset-bottom); }
}
@media (max-width: 600px) {
    :root { --lc-footer-reserve: 225px; }
    .lc-footer {
        bottom: calc(100px + env(safe-area-inset-bottom));
        padding: 12px 20px;
    }
}

/* Keep scrolling content clear of the fixed navigation. */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0;
    height: calc(84px + env(safe-area-inset-top));
    background: var(--lc-page-background);
    background-size: 100vw 100dvh;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 19;
    pointer-events: auto;
}
html { scroll-padding-top: calc(100px + env(safe-area-inset-top)); }
.lc-rating-stepper { display:flex; align-items:center; gap:16px; margin:20px 0 12px; }
.lc-rating-step {
    width:36px; height:36px; flex-shrink:0; border-radius:4px;
    border:1px solid rgba(245,238,229,.2); background:rgba(255,255,255,.025);
    font:inherit; font-size:20px; color:var(--lc-text); cursor:pointer;
}
.lc-rating-step:hover { border-color:var(--lc-accent); }
.lc-rating-step:disabled { opacity:.25; cursor:default; }
.lc-rating-value { flex:1; text-align:center; font-size:26px; font-weight:600; }
.lc-rating-clear { border:0; background:none; padding:8px 0; font:inherit; font-size:12px; color:var(--lc-muted); cursor:pointer; text-align:left; }
.lc-rating-clear.is-active { color:var(--lc-text); }
body.lc-parameters-page { --lc-footer-reserve:300px; }
.lc-parameters-actions {
    position:fixed; left:72px; right:auto;
    bottom:calc(var(--lc-footer-reserve) - 72px + env(safe-area-inset-bottom));
    z-index:8; width:min(360px,calc(100vw - 92px));
}
.lc-parameters-actions .lc-auth-message { margin:0 0 8px; font-size:12px; }
.lc-parameters-actions .lc-auth-message:empty { display:none; }
.lc-parameters-actions .lc-auth-button { margin:0; min-height:48px; cursor:pointer; }
@media (max-width:1280px) {
    .lc-mobile-header { background:transparent; }
    body.lc-parameters-page { --lc-footer-reserve:305px; }
    .lc-parameters-actions { left:58px; right:auto; width:min(360px,calc(100vw - 116px)); }
}
@media (max-width:600px) {
    body.lc-parameters-page { --lc-footer-reserve:305px; }
    .lc-parameters-actions { left:20px; right:auto; width:calc(100vw - 40px); }
}

.lc-param-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.lc-param-heading .lc-param-title { margin-bottom:12px; }
.lc-param-description { margin:0 0 20px; font-size:12px; line-height:1.7; color:var(--lc-muted); }
.lc-param-info { flex:0 0 24px; width:24px; height:24px; padding:0; border:1px solid rgba(245,238,229,.2); border-radius:4px; background:rgba(255,255,255,.025); color:var(--lc-muted); font:inherit; font-size:13px; cursor:pointer; }
.lc-param-info:hover { color:var(--lc-text); border-color:var(--lc-accent); }
.lc-parameter-dialog { width:min(620px,calc(100vw - 40px)); max-height:75dvh; padding:28px; border:1px solid rgba(245,238,229,.2); border-radius:4px; background:#102b32; color:var(--lc-text); font:inherit; overflow-y:auto; }
.lc-parameter-dialog::backdrop { background:rgba(0,7,9,.8); }
.lc-parameter-dialog h2 { margin:0 40px 18px 0; font-size:22px; }
.lc-parameter-dialog p { font-size:13px; line-height:1.8; color:var(--lc-muted); }
.lc-parameter-dialog table { width:100%; border-collapse:collapse; font-size:12px; margin:20px 0; }
.lc-parameter-dialog th, .lc-parameter-dialog td { padding:10px 8px; border-bottom:1px solid rgba(255,255,255,.1); text-align:left; }
.lc-info-close { float:right; width:32px; height:32px; border:1px solid rgba(245,238,229,.2); border-radius:4px; background:none; color:var(--lc-text); font:inherit; cursor:pointer; }
/* Nested content wrappers receive the extra top space only once. */
@media (min-width:1281px) {
    .lc-account-screen > .lc-auth-screen { padding-top:max(24px,env(safe-area-inset-top)); }
}

/* Calm estimate display uses the existing neutral palette. */
.lc-number.lc-number-gentle, #accountRemainingSeconds.lc-number-gentle {
    font-size: clamp(28px, 6vw, 64px);
    letter-spacing: normal;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
}
.lc-screen .lc-meta { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Profile controls share the parameter cards' square corners and muted palette. */
.lc-visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.lc-setup-box .lc-picker-field, .lc-setup-box #countrySearch { box-sizing:border-box; width:100%; min-height:54px; padding:13px 14px; border:1px solid rgba(255,255,255,.08); border-left:3px solid rgba(126,211,194,.8); border-radius:4px; background:rgba(51,255,210,.025); color:var(--lc-text); font:inherit; font-size:14px; }
.lc-picker-field { display:flex; justify-content:space-between; align-items:center; gap:12px; text-align:left; cursor:pointer; }
.lc-setup-box #countrySearch { cursor:text; }
.lc-setup-box #countrySearch::placeholder { color:var(--lc-muted); }
.lc-picker-status { color:var(--lc-muted); font-size:11px; line-height:1.5; margin-top:8px; }
.lc-picker-retry { background:transparent; border:1px solid rgba(126,211,194,.6); border-radius:4px; color:var(--lc-text); padding:8px 12px; cursor:pointer; }
.lc-country-results { display:none; position:fixed; inset:auto; margin:0; padding:5px; box-sizing:border-box; overflow-y:auto; overscroll-behavior:contain; z-index:90; border:1px solid rgba(126,211,194,.4); border-radius:4px; background:#102b32; color:var(--lc-text); font:inherit; font-size:14px; box-shadow:0 16px 40px rgba(0,0,0,.35); }
.lc-country-results:popover-open, .lc-country-results.is-open { display:block; }
.lc-country-option, .lc-country-empty { padding:11px 10px; border-radius:4px; }
.lc-country-option { cursor:pointer; }
.lc-country-option:hover, .lc-country-option.is-active { background:rgba(51,255,210,.12); }
.lc-country-option[aria-selected="true"] { color:var(--lc-accent, #33ffd2); }
.lc-calendar-dialog { width:min(380px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); box-sizing:border-box; overflow:auto; padding:22px; background:#102b32; border:1px solid rgba(126,211,194,.3); border-radius:4px; color:var(--lc-text); font:inherit; }
.lc-calendar-dialog::backdrop { background:rgba(0,7,9,.8); }
.lc-calendar-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.lc-calendar-heading h2 { font-size:20px; margin:0; }
.lc-calendar-dialog p { color:var(--lc-muted); font-size:12px; line-height:1.6; }
.lc-calendar-dialog button, .lc-calendar-dialog select, .lc-calendar-dialog input { border:1px solid rgba(255,255,255,.12); border-radius:4px; background:rgba(255,255,255,.03); color:var(--lc-text); font:inherit; font-size:13px; min-height:36px; padding:6px; box-sizing:border-box; }
.lc-calendar-dialog button { cursor:pointer; }
.lc-calendar-dialog button:disabled { opacity:.25; cursor:default; }
.lc-calendar-dialog select option { background:#102b32; }
.lc-calendar-controls { display:grid; grid-template-columns:32px minmax(90px,1fr) 80px 32px; gap:6px; align-items:center; margin:18px 0; }
.lc-calendar-controls > label { display:flex; align-items:center; min-width:0; height:36px; margin:0; padding:0; }
.lc-calendar-controls button, .lc-calendar-controls input, .lc-calendar-controls select { display:block; height:36px; min-height:36px; margin:0; vertical-align:middle; }
.lc-calendar-controls input, .lc-calendar-controls select { width:100%; }
.lc-calendar-week, .lc-calendar-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; }
.lc-calendar-week { text-align:center; color:var(--lc-muted); font-size:11px; margin-bottom:8px; }
.lc-calendar-days button { padding:7px 0; }
.lc-calendar-days button:hover:not(:disabled) { background:rgba(51,255,210,.12); }
.lc-calendar-days button[aria-pressed="true"] { color:#33ffd2; border-color:#33ffd2; background:rgba(51,255,210,.08); }
.lc-picker-field:focus-visible, #countrySearch:focus-visible, .lc-calendar-dialog :focus-visible, .lc-picker-retry:focus-visible { outline:2px solid #33ffd2; outline-offset:3px; }
@media(max-width:380px) { .lc-calendar-dialog { padding:16px; } .lc-calendar-controls { grid-template-columns:28px minmax(80px,1fr) 72px 28px; gap:4px; } }

/* Mobile is a continuous canvas, not desktop chrome scaled down. */
@media (max-width: 1280px) {
    :root { --lc-footer-reserve: 0px; }
    html { background: #08191d; scroll-padding-top: 24px; }
    body {
        --lc-mobile-action-space: 0px;
        background: #08191d;
        isolation: isolate;
        font-size: 14px;
    }
    body::before {
        inset: 0;
        height: auto;
        background: var(--lc-page-background);
        background-size: cover;
        z-index: -1;
        pointer-events: none;
    }
    body::after { display: none; }
    body.lc-parameters-page {
        --lc-footer-reserve: 0px;
        --lc-mobile-action-space: 88px;
    }
    body.lc-parameters-page::after {
        display: block;
        height: calc(96px + env(safe-area-inset-bottom));
        background: linear-gradient(180deg, transparent, rgba(8,25,29,.96) 32%, #08191d);
        pointer-events: none;
    }
    #form1 { display: flex; flex-direction: column; min-height: 100svh; }
    #form1 > .lc-mobile-header { order: 0; flex-shrink: 0; }
    #form1 > .lc-account-screen,
    #form1 > .lc-screen,
    #form1 > .lc-auth-screen,
    #form1 > .lc-ice-screen { order: 1; flex: 1 0 auto; }
    .lc-account-screen,
    .lc-screen,
    .lc-auth-screen,
    .lc-ice-screen,
    .lc-auth-screen.lc-settings-screen,
    .lc-account-screen.lc-settings-screen {
        min-height: 0;
        padding: 36px 32px 40px;
        align-items: flex-start;
    }
    .lc-account-screen > .lc-auth-screen {
        padding-top: 0;
        padding-bottom: 0;
    }
    .lc-mobile-header {
        position: relative;
        min-height: calc(64px + env(safe-area-inset-top));
        padding: calc(12px + env(safe-area-inset-top)) 32px 12px;
        background: transparent;
    }
    .lc-mobile-brand { font-size: 10px; letter-spacing: .24em; }
    .lc-menu-toggle {
        width: 40px; height: 40px;
        border: 0; border-radius: 4px; background: transparent;
    }
    .lc-menu-toggle span { left: 10px; width: 20px; }
    .lc-menu-toggle span:first-child { top: 16px; }
    .lc-menu-toggle span:last-child { top: 23px; }
    .lc-nav-open .lc-menu-toggle span { top: 20px; }
    .lc-nav-open .lc-mobile-header { position: fixed; top: 0; }
    .lc-nav-open #form1 { padding-top: calc(64px + env(safe-area-inset-top)); }
    .lc-navigation { padding-top: calc(80px + env(safe-area-inset-top)); }
    .lc-nav-link { font-size: 10px; letter-spacing: .15em; padding: 15px 0; }
    .lc-nav-link:hover, .lc-nav-link.active { letter-spacing: .15em; }
    .lc-auth-card { padding: 0; }
    .lc-auth-kicker { display: none; }
    h1, .lc-auth-screen.lc-settings-screen h1 {
        font-size: 36px; line-height: 1.12; letter-spacing: -.045em;
        margin: 0 0 16px; overflow-wrap: anywhere;
    }
    .lc-auth-subtitle { font-size: 13px; line-height: 1.7; margin: 0 0 24px; }
    .lc-auth-link { font-size: 12px; margin-top: 20px; }
    .lc-auth-button, #parametersButton {
        min-height: 48px; padding: 14px 22px; font-size: 10px; letter-spacing: .14em;
        border-radius: 4px;
    }
    input, select { min-height: 50px; font-size: 16px; padding: 0 14px; }
    .lc-setup-box .lc-picker-field, .lc-setup-box #countrySearch,
    .lc-calendar-dialog input, .lc-calendar-dialog select { font-size: 16px; }
    .lc-auth-message { font-size: 12px; line-height: 1.6; }
    .lc-back-link { font-size: 10px; margin-bottom: 18px; letter-spacing: .12em; }
    .lc-account-kicker, .lc-qlock-label { font-size: 10px; letter-spacing: .2em; }
    .lc-account-tile-title { font-size: 13px; }
    .lc-account-tile-subtitle, .lc-meta, .lc-qlock-meta { font-size: 12px; line-height: 1.7; }
    .lc-footer {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        z-index: auto;
        order: 2;
        margin: 0;
        min-height: 0;
        max-width: none;
        padding: 20px 32px 12px;
        font-size: 11px;
        line-height: 1.8;
        letter-spacing: .025em;
        text-transform: none;
        color: rgba(236,255,251,.45);
        background: none;
    }
    .lc-ekg-wrap {
        position: relative;
        order: 3;
        flex-shrink: 0;
        height: auto;
        width: 100%;
        bottom: auto; left: auto; right: auto;
        padding-bottom: calc(12px + var(--lc-mobile-action-space) + env(safe-area-inset-bottom));
        opacity: .45;
        z-index: auto;
        pointer-events: none;
    }
    .lc-ekg { display: block; height: 48px; }
    .lc-ekg-line { filter: none; }
    .lc-parameters-actions {
        left: 32px;
        width: min(360px, calc(100vw - 64px));
        bottom: calc(16px + env(safe-area-inset-bottom));
    }
    .lc-parameters-actions .lc-auth-message:not(:empty) {
        max-height: 56px;
        overflow-y: auto;
        padding: 8px 12px;
        background: #0e2329;
    }
    .lc-parameters-actions .lc-auth-button {
        min-height: 48px;
        background: #102b32;
    }
    .lc-param-block { min-width: 0; }
    .lc-param-option { overflow-wrap: anywhere; font-size: 13px; min-height: 44px; }
    .lc-param-title { font-size: 11px; letter-spacing: .08em; }
    .lc-param-description { font-size: 11px; line-height: 1.75; margin-bottom: 14px; }
    .lc-full-group-title { font-size: 16px; margin-top: 26px; }
    .lc-full-section-title { font-size: 20px; margin-top: 32px; }
    .lc-membership-badge { font-size: 10px; }
    .lc-membership-notice { font-size: 12px; border-radius: 4px; }
    .lc-rating-value { font-size: 22px; }
    .lc-parameter-dialog { max-height: calc(100dvh - 40px); }
}
@media (max-width: 600px) {
    .lc-mobile-header { padding-left: 20px; padding-right: 20px; }
    .lc-account-screen, .lc-screen, .lc-auth-screen, .lc-ice-screen,
    .lc-auth-screen.lc-settings-screen, .lc-account-screen.lc-settings-screen {
        padding: 28px 20px 32px;
    }
    .lc-account-screen > .lc-auth-screen { padding: 0; }
    .lc-footer { padding-left: 20px; padding-right: 20px; }
    .lc-parameters-actions { left: 20px; width: calc(100vw - 40px); }
    h1, .lc-auth-screen.lc-settings-screen h1 {
        font-size: clamp(28px, 8vw, 32px);
    }
    .lc-param-block { padding: 20px 18px; }
    .lc-param-option::before { left: -18px; }
    #parametersList { margin-top: 24px; gap: 14px; }
}

@media (max-width: 1280px) and (max-height: 500px) {
    .lc-account-screen,
    .lc-screen,
    .lc-auth-screen,
    .lc-ice-screen,
    .lc-auth-screen.lc-settings-screen,
    .lc-account-screen.lc-settings-screen {
        padding-top: 20px;
    }
    .lc-account-screen > .lc-auth-screen { padding-top: 0; }
}
