.auth-page .home-kicker-light,
.app-settings .home-kicker-light,
.app-sidebar .home-kicker-light {
    color: #8fd4b0;
}

body.is-auth,
body.is-app {
    background: #101814;
}

body.is-app .site-chrome,
body.is-app .site-footer,
body.is-auth .site-footer {
    display: none !important;
}

body.is-app main,
body.is-auth main {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

body.is-app main {
    overflow: hidden;
}

body.is-auth main {
    overflow: auto;
}

body.is-auth .nav-links,
body.is-auth .nav-toggle {
    display: none !important;
}

body.is-auth .nav-panel {
    display: flex !important;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

body.is-auth .nav-actions {
    margin-left: auto;
    flex-direction: row;
    width: auto;
}

body.is-auth .nav-actions .btn {
    width: auto;
}

body.is-auth .nav-actions__home {
    display: inline-flex;
}

.app-legal {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem 1.4rem;
    flex-wrap: wrap;
    padding: 0.7rem 1.25rem;
    background: #0c1410;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
}

body.is-auth .app-legal,
body.is-app .app-legal {
    display: flex;
}

.app-legal p {
    margin: 0;
}

.app-legal a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
}

.app-legal a:hover {
    color: #fff;
}

.app-legal nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
}

.auth-page {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--tb-nav) + 2.25rem) 1.25rem 2.5rem;
    background:
        radial-gradient(900px 520px at 50% 0%, rgba(45, 122, 84, 0.2), transparent 58%),
        #101814;
    color: #fff;
}

body.is-auth main > .photo-hero {
    flex: 1 1 auto;
    min-height: 22rem;
}

.auth-page--wide {
    align-items: flex-start;
    overflow: auto;
}

.auth-page__card,
.register-wrap {
    width: min(520px, 100%);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.7rem 1.7rem;
}

.auth-page h1,
.register-head h1,
.app-settings h1,
.app-settings h2,
.register-panel h2,
.register-panel h3 {
    color: #fff;
}

.register-panel h3 {
    margin: 1.35rem 0 0.15rem;
}

.auth-page p,
.register-lead,
.auth-foot,
.app-muted,
.app-footnote {
    color: rgba(255, 255, 255, 0.72);
}

.auth-form,
.register-form,
.app-card,
.auth-page label,
.register-panel label {
    display: grid;
    gap: 0.55rem;
}

.auth-page label,
.register-panel label,
.app-card label {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    font-weight: 600;
}

.auth-page input,
.auth-page select,
.auth-page textarea,
.register-form input,
.register-form select,
.register-form textarea,
.app-card input,
.app-card select,
.app-card textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    padding: 0.7rem 0.8rem;
    font: inherit;
    border-radius: 0;
}

.auth-page textarea,
.register-form textarea,
.app-card textarea {
    resize: vertical;
    min-height: 7rem;
}

.auth-page select,
.register-form select,
.app-card select,
.auth-select {
    appearance: none;
    -webkit-appearance: none;
    color-scheme: dark;
    color: #fff !important;
    background-color: #142018 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M3.2 5.8h9.6L8 11.2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 0.9rem;
    padding-right: 2.4rem;
    cursor: pointer;
}

.auth-page select option,
.register-form select option,
.app-card select option,
.auth-select option {
    background-color: #142018;
    color: #fff;
}

.auth-grid {
    display: grid;
    gap: 0.8rem;
}

@media (min-width: 720px) {
    .auth-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .auth-grid label:nth-child(3) {
        grid-column: 1;
    }
}

.auth-form .btn,
.register-nav,
.register-panel > .btn {
    margin-top: 0.4rem;
}

.auth-foot {
    margin: 1.2rem 0 0;
    font-size: 0.92rem;
}

.auth-foot a {
    color: #fff;
}

.auth-status {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
    color: #c6f4d6;
}

.auth-status.is-error {
    color: #ffd0c8;
}

.register-wrap {
    width: min(920px, 100%);
}

.register-head {
    margin-bottom: 1.4rem;
}

.register-steps {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0;
    margin: 1.1rem 0 0;
}

.register-steps button {
    appearance: none;
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 0 0 0.25rem;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.register-steps button:disabled {
    cursor: default;
    opacity: 0.55;
}

.register-steps button.is-done {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.82);
}

.register-steps button.is-active,
.register-steps button.is-done {
    border-bottom-color: var(--tb-green);
}

.register-steps button.is-active {
    color: #fff;
    cursor: default;
}

.choice-grid {
    display: grid;
    gap: 0.75rem;
}

.choice-grid--auth {
    margin-top: 1.25rem;
}

@media (min-width: 800px) {
    .choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.choice-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    align-items: start;
    padding: 1rem 1rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.16);
    cursor: pointer;
}

.choice-card:hover,
.choice-card:has(input:checked) {
    border-color: var(--tb-green);
    background: rgba(45, 122, 84, 0.16);
}

.choice-card input {
    width: auto;
    margin-top: 0.35rem;
    accent-color: var(--tb-green);
}

.choice-grid--industry .choice-card input,
.choice-grid--types .choice-card input,
.choice-grid--auth .choice-card input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.choice-card__dot {
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    margin-top: 0.1rem;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}

.choice-card:hover .choice-card__dot {
    border-color: rgba(49, 153, 102, 0.7);
    color: #fff;
}

.choice-card:has(input:checked) .choice-card__dot {
    background: var(--tb-green);
    border-color: var(--tb-green);
    color: #fff;
}

.choice-card:has(input:focus-visible) .choice-card__dot {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.choice-card input[value="tours"]:not(:checked) + .choice-card__dot {
    color: #9ad4b8;
}

.choice-card input[value="rentals"]:not(:checked) + .choice-card__dot {
    color: #8ec8e6;
}

.choice-card input[value="campsites"]:not(:checked) + .choice-card__dot {
    color: #b7d48a;
}

.choice-card input[value="activities"]:not(:checked) + .choice-card__dot {
    color: #7ec8c4;
}

.choice-card input[value="accommodation"]:not(:checked) + .choice-card__dot {
    color: #e2c48a;
}

.choice-card strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: #fff;
}

.choice-card small {
    display: block;
    margin: 0.25rem 0 0.45rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.choice-card details {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.68);
}

.choice-card summary {
    cursor: pointer;
    color: #fff;
    font-size: 0.82rem;
}

.choice-card details p {
    margin: 0.4rem 0 0;
    font-size: 0.9rem;
}

.register-nav {
    display: flex;
    gap: 0.7rem;
    justify-content: flex-end;
    align-items: center;
    margin-top: 1rem;
}

.check-row {
    position: relative;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    width: fit-content;
    max-width: 100%;
    margin: 0.35rem 0 0.15rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.22);
    font-weight: 600;
    cursor: pointer;
}

.check-row:hover {
    border-color: rgba(49, 153, 102, 0.7);
}

.check-row:has(input:checked) {
    border-color: var(--tb-green);
    background: rgba(45, 122, 84, 0.16);
}

.check-row input {
    position: absolute;
    opacity: 0;
    width: 1px !important;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.check-row::before {
    content: "";
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
}

.check-row:has(input:checked)::before {
    border-color: var(--tb-green);
    background: var(--tb-green);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.85rem;
}

.check-row:has(input:focus-visible)::before {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.app-secret {
    font-family: ui-monospace, Consolas, monospace;
    letter-spacing: 0.08em;
    word-break: break-all;
}

.app-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    flex: 1 1 auto;
    min-height: 0;
    background: #101814;
    color: #fff;
}

.app-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.25rem 1rem 1.1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: #0c1410;
}

.app-sidebar__brand img {
    height: 36px;
    width: auto;
    display: block;
}

.app-sidebar nav {
    display: grid;
    gap: 0.25rem;
}

.app-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    padding: 0.65rem 0.7rem;
    font-weight: 600;
}

.app-sidebar nav a.active,
.app-sidebar nav a:hover {
    background: rgba(45, 122, 84, 0.2);
    color: #fff;
}

.app-sidebar__user {
    margin-top: auto;
    display: grid;
    gap: 0.25rem;
}

.app-sidebar__user strong {
    color: #fff;
}

.app-sidebar__user span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    margin-bottom: 0.55rem;
}

.app-main {
    min-width: 0;
    min-height: 0;
    overflow: auto;
}

.app-menu {
    display: none;
}

.app-panel,
.app-settings {
    padding: 1.4rem 1.4rem 2.5rem;
}

.app-empty-grid {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 900px) {
    .app-empty-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.app-empty-grid article {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 1.15rem;
    background: rgba(255, 255, 255, 0.03);
}

.app-empty-grid i {
    font-size: 1.3rem;
    color: var(--tb-green);
}

.app-empty-grid h2 {
    margin: 0.4rem 0 0.35rem;
    font-size: 1.25rem;
    color: #fff;
}

.app-empty-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.app-card h2 {
    margin: 0;
    font-size: 1.35rem;
}

.app-settings__head {
    margin-bottom: 1.1rem;
}

.app-settings > form {
    display: contents;
}

.app-method form {
    display: grid;
    gap: 0.8rem;
}

.app-settings__head p {
    margin: 0.35rem 0 0;
    max-width: 36rem;
}

.app-settings__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.75rem;
    margin: 1.15rem 0 0;
}

.app-settings__summary div {
    min-width: 8rem;
}

.app-settings__summary dt {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
}

.app-settings__summary dd {
    margin: 0.15rem 0 0;
    color: #fff;
    font-weight: 600;
}

.app-settings__toc {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    gap: 0.15rem;
    margin: 0 0 1.15rem;
    padding: 0.55rem 0;
    background: #101814;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-settings__toc a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.45rem 0.75rem;
    border-bottom: 2px solid transparent;
}

.app-settings__toc a:hover,
.app-settings__toc a.is-active {
    color: #fff;
}

.app-settings__toc a.is-active {
    border-bottom-color: var(--tb-green);
}

.app-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    padding: 1.35rem 1.25rem 1.25rem;
    margin-bottom: 1rem;
    scroll-margin-top: 3.4rem;
}

.app-card__head {
    margin-bottom: 1rem;
}

.app-card__head h2 {
    color: #fff;
}

.app-card__head p {
    margin: 0.3rem 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
}

.app-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem 1rem;
    margin-top: 0.35rem;
}

.app-optional {
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.app-field-hint {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

.app-facts {
    display: grid;
    gap: 0.7rem 1.2rem;
    margin: 0 0 1.1rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.16);
}

@media (min-width: 720px) {
    .app-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.app-facts dt {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.app-facts dd {
    margin: 0.15rem 0 0;
    color: #fff;
}

.app-settings__place {
    display: grid;
    gap: 0.8rem;
}

@media (min-width: 720px) {
    .app-settings__place {
        grid-template-columns: 1.2fr 1fr 0.7fr;
    }
}

.app-method {
    display: grid;
    gap: 0.85rem;
    padding: 1.15rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.app-method:first-of-type {
    border-top: 0;
    padding-top: 0.2rem;
}

.app-method__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.app-method h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: #fff;
}

.app-method__head p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
}

.app-pill {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.28rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.7);
}

.app-pill.is-on {
    border-color: var(--tb-green);
    background: rgba(45, 122, 84, 0.22);
    color: #c6f4d6;
}

.app-steps {
    margin: 0;
    padding-left: 1.15rem;
    color: rgba(255, 255, 255, 0.78);
}

.app-steps li + li {
    margin-top: 0.35rem;
}

.app-totp-setup {
    display: grid;
    gap: 1rem;
}

@media (min-width: 720px) {
    .app-totp-setup {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
    }
}

.app-qr {
    width: fit-content;
    padding: 0.7rem;
    background: #fff;
}

.app-qr canvas {
    display: block;
}

.passkey-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.passkey-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.7rem 0.8rem;
}

.passkey-list strong {
    display: block;
    color: #fff;
}

.passkey-list span {
    display: block;
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
}

.passkey-list__empty {
    color: rgba(255, 255, 255, 0.55);
    border-style: dashed;
}

.app-shell .photo-hero,
.app-shell .photo-hero--page {
    min-height: 0;
    height: auto;
    display: block;
}

.app-shell .photo-hero__content.wrap {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2.75rem 1.75rem 2.5rem;
}

@media (max-width: 860px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .app-menu {
        display: inline-flex;
        margin: 0.8rem 1rem 0;
        background: transparent;
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 0.45rem 0.8rem;
    }

    .app-sidebar {
        display: none;
        position: absolute;
        inset: 0 auto 0 0;
        width: min(280px, 88vw);
        z-index: 20;
    }

    .app-shell.is-nav-open .app-sidebar {
        display: flex;
    }
}
