:root {
    color-scheme: light;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background: #f7faf7;
    color: #102018;
    --native-safe-top: 0px;
    --native-safe-bottom: 0px;
    --app-bg: #f7faf7;
    --app-surface: #ffffff;
    --app-surface-alt: #edf5ef;
    --app-text: #102018;
    --app-text-muted: #5f7168;
    --app-border: #d7e3dc;
    --app-accent-light: #187a46;
    --app-accent-light-text: #ffffff;
    --app-accent-dark: #37d47d;
    --app-accent-dark-text: #04110b;
    --app-primary: var(--app-accent-light);
    --app-primary-text: var(--app-accent-light-text);
    --mud-palette-primary: var(--app-primary);
    --mud-palette-primary-text: var(--app-primary-text);
    --app-success: #187a46;
    --app-attention: #9a6a00;
    --app-warning: #b85c00;
    --app-error: #b42318;
    --app-option-sheet: #187a46;
    --app-option-logten: #1d5fa6;
    --app-option-blank: #6b4bb8;
    --app-surface-raised: var(--app-surface);
    --app-shadow: 0 8px 24px color-mix(in srgb, #000000 14%, transparent);
}

html.capacitor-native {
    --native-safe-top: 26px;
}

html[data-elb-theme="dark"] {
    color-scheme: dark;
    --app-bg: #07130f;
    --app-surface: #0f211b;
    --app-surface-alt: #162c24;
    --app-text: #f3f7f4;
    --app-text-muted: #91a69b;
    --app-border: #24443a;
    --app-primary: var(--app-accent-dark);
    --app-primary-text: var(--app-accent-dark-text);
    --app-success: #37d47d;
    --app-attention: #f1c75b;
    --app-warning: #f59e42;
    --app-error: #f87171;
    --app-option-sheet: #37d47d;
    --app-option-logten: #79b1ff;
    --app-option-blank: #b9a0ff;
}

html[data-elb-theme="system"] {
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-elb-theme]),
    html[data-elb-theme="system"] {
        --app-bg: #07130f;
        --app-surface: #0f211b;
        --app-surface-alt: #162c24;
        --app-text: #f3f7f4;
        --app-text-muted: #91a69b;
        --app-border: #24443a;
        --app-primary: var(--app-accent-dark);
        --app-primary-text: var(--app-accent-dark-text);
        --app-success: #37d47d;
        --app-attention: #f1c75b;
        --app-warning: #f59e42;
        --app-error: #f87171;
        --app-option-sheet: #37d47d;
        --app-option-logten: #79b1ff;
        --app-option-blank: #b9a0ff;
    }
}

* {
    box-sizing: border-box;
}

html,
body,
#app {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--app-bg);
    color: var(--app-text);
    font-feature-settings: "tnum";
}

button,
input,
select,
textarea {
    font: inherit;
}

:where(button:not(:disabled), a[href], summary, [role="button"]) {
    touch-action: manipulation;
    -webkit-tap-highlight-color: color-mix(in srgb, var(--app-primary) 24%, transparent);
}

:where(button:not(:disabled), a[href], summary, [role="button"]):active {
    filter: brightness(0.88);
    opacity: 0.82;
}

.app-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100dvh;
    min-height: 100vh;
    overflow: hidden;
    background: var(--app-bg);
}

.app-topbar {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--app-border);
    background: color-mix(in srgb, var(--app-surface) 94%, transparent);
    backdrop-filter: blur(14px);
}

.brand-lockup {
    display: grid;
}

.brand-lockup strong {
    font-size: 20px;
    line-height: 1.1;
}

.eyebrow {
    color: var(--app-text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.app-main {
    flex: 1 1 auto;
    width: min(920px, 100%);
    min-height: 0;
    margin: 0 auto;
    padding: 16px 16px 42px;
    scroll-padding-block: var(--entry-scroll-padding-top, 16px) 42px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-x: none;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}

.bottom-nav {
    position: relative;
    flex: 0 0 auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    min-height: calc(66px + var(--native-safe-bottom));
    padding: 6px 4px calc(8px + var(--native-safe-bottom));
    border-top: 1px solid var(--app-border);
    background: color-mix(in srgb, var(--app-surface) 94%, transparent);
    backdrop-filter: blur(16px);
}

.bottom-nav a {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    gap: 2px;
    min-width: 0;
    min-height: 52px;
    border-radius: 10px;
    color: var(--app-text-muted);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 130ms ease, opacity 100ms ease, transform 100ms ease;
}

.bottom-nav a:active {
    color: var(--app-primary);
    filter: none;
    opacity: 0.72;
    transform: scale(0.96);
}

.bottom-nav a.active {
    background: transparent;
    color: var(--app-primary);
}

.bottom-nav a.nav-pending-link {
    background: transparent;
    color: var(--app-primary);
}

.bottom-nav:has(> a.nav-pending-link) > a.active:not(.nav-pending-link) {
    color: var(--app-text-muted);
}

.bottom-nav .bottom-nav-add {
    align-self: start;
    margin-top: -26px;
    min-height: 78px;
}

.bottom-nav-add-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 4px solid var(--app-bg);
    border-radius: 50%;
    background: var(--app-primary);
    color: var(--app-primary-text);
    box-shadow: 0 6px 14px color-mix(in srgb, var(--app-text) 24%, transparent);
}

.bottom-nav .bottom-nav-add.active,
.bottom-nav .bottom-nav-add.nav-pending-link {
    background: transparent;
    color: var(--app-primary);
}

.bottom-nav a > span:last-child {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.dashboard-page,
.flight-entry-page,
.logbook-page,
.flight-detail-page,
.settings-page,
.more-page {
    display: grid;
    gap: 16px;
}

.more-page h1 {
    margin: 0;
}

.more-navigation {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: 12px;
    background: var(--app-surface);
}

.more-navigation-row {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--app-text);
    font-weight: 750;
    text-decoration: none;
}

.more-navigation-row + .more-navigation-row {
    border-top: 1px solid var(--app-border);
}

.more-navigation-row > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.more-navigation-row > .mud-icon-root:first-child {
    color: var(--app-primary);
}

.more-navigation-row > .mud-icon-root:last-child {
    color: var(--app-text-muted);
}

.more-navigation-row:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--app-primary) 70%, transparent);
    outline-offset: -3px;
}

.dashboard-page {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.dashboard-side-column {
    display: contents;
}

.dashboard-hours-hero {
    display: grid;
    gap: 22px;
    min-width: 0;
    border: 1px solid var(--app-border);
    border-radius: 14px;
    padding: 18px;
    background: var(--app-surface);
}

.dashboard-hours-total,
.dashboard-hours-period,
.dashboard-experience-heading a {
    color: inherit;
    text-decoration: none;
}

.dashboard-hours-total {
    display: grid;
    justify-items: start;
    min-width: 0;
}

.dashboard-hours-total > h1 {
    max-width: 100%;
    margin: 0;
    color: var(--app-text-muted);
    font-size: 18px;
    font-weight: 850;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.dashboard-hours-total > strong {
    max-width: 100%;
    font-size: calc(clamp(64px, 20vw, 96px) * 3 / var(--dashboard-hour-digits, 3));
    font-variant-numeric: tabular-nums;
    line-height: 1;
    white-space: nowrap;
}

.dashboard-hours-total > small {
    min-width: 0;
    max-width: 100%;
    margin-top: 6px;
    color: var(--app-text-muted);
    font-size: 16px;
}

.dashboard-hours-total > small strong {
    white-space: nowrap;
    color: var(--app-text);
    font-size: inherit;
    font-weight: 700;
}

.dashboard-hours-total:focus-visible,
.dashboard-hours-period:focus-visible,
.dashboard-experience-heading a:focus-visible {
    border-radius: 6px;
    outline: 3px solid color-mix(in srgb, var(--app-primary) 70%, transparent);
    outline-offset: 3px;
}

.dashboard-hours-periods {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.dashboard-hours-period {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: max-content auto;
    justify-content: start;
    align-items: center;
    gap: 3px 10px;
    min-width: 0;
    min-height: 48px;
}

.dashboard-hours-period > span {
    min-width: 0;
    font-size: clamp(30px, 9vw, 42px);
    font-variant-numeric: tabular-nums;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.dashboard-hours-period > .mud-icon-root {
    color: var(--app-primary);
    font-size: 28px;
}

.dashboard-hours-period > strong {
    grid-column: 1 / -1;
    color: var(--app-text-muted);
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.dashboard-experience-snapshot {
    display: grid;
    gap: 18px;
    min-width: 0;
    border-top: 1px solid var(--app-border);
    padding-top: 18px;
}

.dashboard-experience-heading,
.dashboard-experience-group-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.dashboard-experience-heading h2,
.dashboard-experience-group-heading h3 {
    margin: 0;
    color: var(--app-text-muted);
    font-weight: 850;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.dashboard-experience-heading h2 {
    font-size: 16px;
}

.dashboard-experience-heading a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: 48px;
    max-width: 100%;
    color: var(--app-primary);
    font-size: 13px;
    font-weight: 750;
    white-space: normal;
}

.dashboard-experience-heading a .mud-icon-root {
    font-size: 18px;
}

.dashboard-experience-group {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.dashboard-experience-engine {
    border-top: 1px solid var(--app-border);
    padding-top: 16px;
}

.dashboard-experience-group-heading h3 {
    font-size: 14px;
}

.dashboard-experience-group-heading span {
    color: var(--app-text-muted);
    font-size: 12px;
    text-align: right;
}

.dashboard-experience-bar {
    display: flex;
    width: 100%;
    height: 16px;
    overflow: hidden;
    border-radius: 5px;
    background: var(--app-border);
}

.dashboard-experience-bar > span {
    flex: var(--dashboard-segment-weight) 1 0;
    min-width: 0;
}

.dashboard-experience-bar > span + span {
    border-left: 2px solid var(--app-surface);
}

.dashboard-experience-command {
    background: #0072b2;
}

.dashboard-experience-icus {
    background: #009e73;
}

.dashboard-experience-dual {
    background: #e69f00;
}

.dashboard-experience-copilot {
    background: #cc79a7;
}

.dashboard-experience-se {
    background: #56b4e9;
}

.dashboard-experience-me {
    background: #d55e00;
}

.dashboard-experience-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin: 0;
    padding: 0;
    color: var(--app-text-muted);
    font-size: 12px;
    list-style: none;
}

.dashboard-experience-legend li {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
    max-width: 100%;
}

.dashboard-experience-legend strong {
    white-space: nowrap;
    color: var(--app-text);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.dashboard-experience-dot {
    align-self: center;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.flight-entry-page {
    padding-bottom: 0;
}

.hero-panel,
.notice-panel,
.form-section,
.empty-state,
.state-banner {
    border: 1px solid var(--app-border);
    border-radius: 12px;
    background: var(--app-surface);
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 20px;
}

.hero-panel > div {
    min-width: 0;
}

.hero-panel h1,
.entry-header h1,
.section-title-row h1,
.section-title-row h2 {
    margin: 0;
    letter-spacing: 0;
}

.hero-panel h1,
.entry-header h1 {
    font-size: 28px;
    line-height: 1.12;
}

.hero-panel h1 {
    overflow-wrap: anywhere;
}

.hero-panel p {
    margin: 6px 0 0;
    color: var(--app-text-muted);
}

.status-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.status-metric {
    display: grid;
    min-width: 0;
    gap: 2px;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    padding: 12px;
    background: var(--app-surface);
}

a.status-metric {
    color: var(--app-text);
    text-decoration: none;
}

a.status-metric:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--app-primary) 70%, transparent);
    outline-offset: 2px;
}

a.status-metric:active {
    transform: translateY(1px);
}

.status-metric span,
.status-metric small {
    overflow-wrap: anywhere;
    color: var(--app-text-muted);
}

.status-metric span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-metric strong {
    overflow-wrap: anywhere;
    font-size: 18px;
}

.status-metric-attention {
    border-color: var(--app-attention);
    background: color-mix(in srgb, var(--app-surface-alt) 75%, var(--app-attention));
}

.notice-panel,
.state-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
}

.notice-panel div,
.state-banner div {
    display: grid;
    gap: 4px;
}

.notice-panel span,
.state-banner span,
.exchange-summary {
    color: var(--app-text-muted);
}

.state-banner {
    background: var(--app-surface-alt);
}

.state-banner-error {
    border-color: var(--app-error);
    color: var(--app-error);
}

.state-banner-warning {
    border-color: var(--app-warning);
    color: var(--app-warning);
}

.dashboard-last-flight {
    display: grid;
    align-items: center;
    gap: 14px;
    min-width: 0;
    border: 1px solid color-mix(in srgb, var(--app-primary) 34%, var(--app-border));
    border-radius: 14px;
    padding: 16px;
    border-color: color-mix(in srgb, var(--app-primary) 34%, var(--app-border));
    background: color-mix(in srgb, var(--app-surface) 84%, var(--app-primary));
}

html[data-elb-accent="ocean"] { --app-accent-light: #0077a3; --app-accent-dark: #36c5f0; --app-accent-dark-text: #002a3a; }
html[data-elb-accent="sky"] { --app-accent-light: #1875c1; --app-accent-dark: #67b9ff; --app-accent-dark-text: #002d52; }
html[data-elb-accent="indigo"] { --app-accent-light: #4f46b5; --app-accent-dark: #9b9cff; --app-accent-dark-text: #16134b; }
html[data-elb-accent="violet"] { --app-accent-light: #7541a8; --app-accent-dark: #d6a7ff; --app-accent-dark-text: #35105a; }
html[data-elb-accent="teal"] { --app-accent-light: #007c78; --app-accent-dark: #54d8cf; --app-accent-dark-text: #003d3a; }

.dashboard-last-flight-link {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    /* Include the card's right inset in the centred hours pane. */
    padding-right: 0;
    color: var(--app-text);
    text-decoration: none;
}

.dashboard-last-flight-empty {
    grid-template-columns: 44px minmax(0, 1fr);
}

.dashboard-last-flight-link:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--app-primary) 70%, transparent);
    outline-offset: 2px;
}

.dashboard-last-flight-link:active {
    transform: translateY(1px);
}

.dashboard-last-flight-icon {
    display: grid;
    place-items: center;
    align-self: stretch;
    width: 44px;
    min-height: 44px;
    border-radius: 12px;
    color: var(--app-primary);
    background: color-mix(in srgb, var(--app-primary) 14%, transparent);
}

.dashboard-last-flight-icon .mud-icon-root {
    font-size: 28px;
}

.dashboard-last-flight-body {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.dashboard-last-flight-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    min-width: 0;
}

.dashboard-last-flight-label {
    font-size: 16px;
    font-weight: 850;
}

.dashboard-last-flight-heading .date-with-relative {
    justify-content: flex-start;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.date-with-relative {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 3px 8px;
}

.dashboard-last-flight-heading time {
    color: var(--app-text);
    font-size: 12px;
    font-weight: 750;
    white-space: normal;
}

.dashboard-last-flight-heading .relative-date {
    color: var(--app-text);
    white-space: normal;
}

.relative-date {
    color: var(--app-text-muted);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
}

.dashboard-last-flight-route {
    min-width: 0;
    font-size: 20px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.dashboard-last-flight-aircraft,
.dashboard-last-flight-empty-copy {
    color: var(--app-text);
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.dashboard-last-flight-hours {
    display: grid;
    align-self: stretch;
    align-content: center;
    justify-items: center;
    min-width: 58px;
    border-left: 1px solid color-mix(in srgb, var(--app-primary) 28%, var(--app-border));
    padding-inline: 22px;
    text-align: center;
}

.dashboard-last-flight-hours strong {
    white-space: nowrap;
    font-size: 22px;
    line-height: 1;
}

.dashboard-last-flight-hours small {
    margin-top: 4px;
    color: var(--app-text);
    font-size: 11px;
}

.dashboard-currency {
    color: inherit;
    text-decoration: none;
}

.currency-overview.dashboard-currency-overview {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: 12px;
    background: var(--app-surface);
}

.currency-overview.dashboard-currency-overview.currency-overview-inline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-currency-overview .currency-overview-item {
    display: flex;
    gap: 8px;
}

.dashboard-currency-overview .currency-overview-item > * {
    flex-shrink: 0;
}

.dashboard-currency-overview .currency-overview-item span {
    margin-top: 0;
}

.dashboard-currency-overview .currency-overview-item + .currency-overview-item {
    border-top: 1px solid var(--app-border);
    border-left: 0;
}

.dashboard-currency-overview.currency-overview-inline .currency-overview-item {
    justify-content: center;
}

.dashboard-currency-overview.currency-overview-inline .currency-overview-item + .currency-overview-item {
    border-top: 0;
    border-left: 1px solid var(--app-border);
}

.dashboard-currency-overview-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6em), 1fr));
    border-bottom: 1px solid var(--app-border);
    background: color-mix(in srgb, var(--app-surface) 86%, var(--app-surface-alt));
}

.dashboard-currency-overview-item {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    gap: 2px 8px;
    min-width: 0;
    min-height: 76px;
    padding: 10px 8px;
    color: var(--dashboard-currency-accent);
}

.dashboard-currency-overview-item + .dashboard-currency-overview-item {
    border-left: 1px solid var(--app-border);
}

.dashboard-currency-overview-current,
.dashboard-currency-panel-current,
.dashboard-currency-rule-current {
    --dashboard-currency-accent: var(--app-success);
}

.dashboard-currency-overview-warning,
.dashboard-currency-panel-warning,
.dashboard-currency-rule-warning {
    --dashboard-currency-accent: var(--app-attention);
}

.dashboard-currency-overview-expired,
.dashboard-currency-panel-expired,
.dashboard-currency-rule-expired {
    --dashboard-currency-accent: var(--app-error);
}

.dashboard-currency-overview-item .mud-icon-root {
    grid-row: 1 / 3;
    font-size: 28px;
}

.dashboard-currency-overview-item strong {
    align-self: end;
    font-size: 24px;
    line-height: 1;
}

.dashboard-currency-overview-item span {
    align-self: start;
    min-width: 0;
    color: var(--app-text-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.dashboard-currency-panel-list {
    display: grid;
}

.dashboard-currency-panel {
    background: var(--app-surface);
}

.dashboard-currency-panel + .dashboard-currency-panel {
    border-top: 1px solid var(--app-border);
}

.dashboard-currency-panel summary {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto 24px;
    align-items: center;
    gap: 10px;
    min-height: 78px;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
}

.dashboard-currency-panel summary::-webkit-details-marker {
    display: none;
}

.dashboard-currency-panel summary:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--app-primary) 48%, transparent);
    outline-offset: -3px;
}

.dashboard-currency-panel-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 2px solid var(--dashboard-currency-accent);
    border-radius: 50%;
    color: var(--dashboard-currency-accent);
}

.dashboard-currency-panel-heading {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.dashboard-currency-panel-heading strong {
    font-size: 18px;
}

.dashboard-currency-panel-heading small {
    color: var(--app-text-muted);
    font-size: 12px;
}

.dashboard-currency-panel-status {
    color: var(--dashboard-currency-accent);
    font-size: 15px;
    font-weight: 800;
    text-align: right;
}

.dashboard-currency-panel-chevron {
    color: var(--app-text-muted);
    transition: transform 160ms ease;
}

.dashboard-currency-panel[open] .dashboard-currency-panel-chevron {
    transform: rotate(180deg);
}

.dashboard-currency-panel-body {
    display: grid;
    gap: 12px;
    padding: 0 14px 14px;
}

.dashboard-currency-panel-body > p {
    margin: 0;
    color: var(--app-text-muted);
    font-size: 13px;
}

.dashboard-currency-rule-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--app-border);
}

.dashboard-currency-rule {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 10px 0;
}

.dashboard-currency-rule + .dashboard-currency-rule {
    border-top: 1px solid var(--app-border);
}

.dashboard-currency-rule > .mud-icon-root,
.dashboard-currency-rule > em {
    color: var(--dashboard-currency-accent);
}

.dashboard-currency-rule > span {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.dashboard-currency-rule strong {
    font-size: 14px;
}

.dashboard-currency-rule small {
    color: var(--app-text-muted);
    font-size: 12px;
}

.dashboard-currency-rule em {
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    text-align: right;
}

.dashboard-currency-open-all {
    justify-self: stretch;
    margin: 12px 14px 14px;
}

.dashboard-empty-state .action-buttons {
    flex-wrap: wrap;
    justify-content: center;
}

.dashboard-empty-state .action-buttons .mud-button-root {
    min-height: 48px;
}

.dashboard-empty-state .action-buttons .mud-button-label {
    white-space: normal;
}

.dashboard-section,
.exchange-summary {
    display: grid;
    gap: 12px;
}

.section-title-row,
.entry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.section-title-row h1,
.section-title-row h2 {
    font-size: 18px;
}

.section-title-row {
    flex-wrap: wrap;
}

.section-title-row button.mud-button-root {
    min-height: 48px;
}

.settings-connection-summary {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--app-border);
}

.settings-connection-summary div {
    display: grid;
    gap: 4px;
}

.settings-connection-summary span {
    color: var(--app-text-muted);
}

.settings-advanced[open] {
    display: grid;
    gap: 12px;
}

.settings-page .mud-button-root:not(.mud-switch-base),
.settings-page .accent-option {
    min-height: 48px;
}

.settings-page .mud-input-control > .mud-input-control-input-container > label.mud-input-label.mud-input-label-inputcontrol {
    position: static;
    order: -1;
    transform: none;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
}

.settings-advanced > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 56px;
    padding: 14px 16px;
    border: 1px solid var(--app-border);
    border-radius: 14px;
    background: var(--app-surface);
    cursor: pointer;
    list-style: none;
}

.settings-advanced > summary::-webkit-details-marker {
    display: none;
}

.settings-advanced > summary::after {
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--app-text-muted);
    border-bottom: 2px solid var(--app-text-muted);
    content: "";
    transform: rotate(45deg);
    transition: transform 160ms ease-out;
}

.settings-advanced[open] > summary::after {
    transform: rotate(225deg);
}

.settings-advanced > summary:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--app-primary) 38%, transparent);
    outline-offset: 2px;
}

.settings-advanced > summary span {
    display: grid;
    gap: 3px;
}

.settings-advanced > summary small {
    color: var(--app-text-muted);
    font-weight: 400;
    line-height: 1.35;
}

.empty-state {
    display: grid;
    place-items: center;
    min-height: 168px;
    padding: 24px;
    text-align: center;
}

.flight-row-list {
    display: grid;
    gap: 8px;
}

.deleted-entry-list {
    display: grid;
    gap: 8px;
}

.deleted-entry-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 24px;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    padding: 12px 10px 12px 14px;
    background: var(--app-surface);
    color: var(--app-text);
    text-decoration: none;
}

.deleted-entry-summary {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.deleted-entry-summary > strong,
.deleted-entry-summary > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deleted-entry-summary > span,
.deleted-entry-time {
    color: var(--app-text-muted);
    font-size: 12px;
}

.deleted-entry-time {
    max-width: 112px;
    text-align: right;
}

.flight-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
    min-height: 72px;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    padding: 10px 12px;
    background: var(--app-surface);
}

.currency-page {
    display: grid;
    gap: 18px;
}

.currency-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.currency-page-header h1 {
    margin-bottom: 4px;
}

.currency-page-header p {
    margin: 0;
    color: var(--app-text-muted);
}

.currency-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12em), 1fr));
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: color-mix(in srgb, var(--app-surface) 92%, var(--app-surface-alt));
}

.currency-overview-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 8px;
    min-width: 0;
    padding: 16px 12px;
}

.currency-overview-item + .currency-overview-item {
    border-left: 1px solid var(--app-border);
}

.currency-overview-item .mud-icon-root {
    grid-row: 1 / 3;
    font-size: 30px;
}

.currency-overview-item strong {
    font-size: 24px;
    line-height: 1;
}

.currency-overview-item span {
    margin-top: 5px;
    color: var(--app-text-muted);
    font-size: 13px;
    white-space: nowrap;
}

.currency-overview-current .mud-icon-root,
.currency-category-status-current {
    color: var(--app-success);
}

.currency-overview-warning .mud-icon-root,
.currency-category-status-warning {
    color: var(--app-attention);
}

.currency-overview-expired .mud-icon-root,
.currency-category-status-expired {
    color: var(--app-error);
}

.currency-engine-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    padding: 3px;
    background: var(--app-surface);
}

.currency-engine-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--app-text-muted);
    background: transparent;
    font-weight: 800;
}

.currency-engine-tab-active {
    border-color: color-mix(in srgb, var(--app-primary) 74%, var(--app-border));
    color: var(--app-text);
    background: color-mix(in srgb, var(--app-surface) 76%, var(--app-primary));
}

.currency-engine-tab:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--app-primary) 48%, transparent);
    outline-offset: 2px;
}

.currency-licence-engine-switch {
    margin: -2px 14px 10px 52px;
}

.currency-category-list {
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: var(--app-surface);
}

.currency-category-panel + .currency-category-panel {
    border-top: 1px solid var(--app-border);
}

.currency-category-panel summary {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 10px 14px;
    cursor: pointer;
    list-style: none;
}

.currency-category-panel summary::-webkit-details-marker {
    display: none;
}

.currency-category-panel summary:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--app-primary) 48%, transparent);
    outline-offset: -3px;
}

.currency-category-icon {
    color: var(--app-text-muted);
}

.currency-category-panel[open] .currency-category-icon {
    color: var(--app-primary);
}

.currency-category-panel summary strong {
    font-size: 17px;
}

.currency-category-status {
    grid-column: 2;
    font-size: 14px;
    text-align: left;
}

.currency-category-chevron {
    grid-column: 3;
    grid-row: 1 / 3;
    color: var(--app-text-muted);
    transition: transform 160ms ease;
}

.currency-category-panel[open] .currency-category-chevron {
    transform: rotate(180deg);
}

.currency-row-list {
    display: grid;
    margin: 0;
    padding: 0 14px;
    list-style: none;
    border-top: 1px solid var(--app-border);
}

.currency-requirement-row {
    --currency-row-accent: var(--app-success);
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 90px;
    padding: 12px 0;
}

.currency-requirement-row + .currency-requirement-row {
    border-top: 1px solid var(--app-border);
}

.currency-row-current {
    --currency-row-accent: var(--app-success);
}

.currency-row-warning {
    --currency-row-accent: var(--app-attention);
}

.currency-row-expired {
    --currency-row-accent: var(--app-error);
}

.currency-requirement-status-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--currency-row-accent);
}

.currency-requirement-status-icon .mud-icon-root {
    font-size: 38px;
}

.currency-requirement-copy {
    display: grid;
    min-width: 0;
}

.currency-requirement-copy strong {
    font-size: 16px;
    overflow-wrap: anywhere;
}

.currency-requirement-status {
    margin-top: 2px;
    color: var(--currency-row-accent);
    font-weight: 700;
}

.currency-requirement-copy small {
    margin-top: 3px;
    color: var(--app-text-muted);
    font-size: 13px;
}

.currency-requirement-detail {
    display: flex;
    flex-wrap: wrap;
    column-gap: 18px;
    row-gap: 2px;
}

.currency-requirement-detail span {
    white-space: nowrap;
}

.logbook-entry-row {
    grid-template-columns: minmax(92px, 0.95fr) minmax(104px, 1.2fr) minmax(54px, 0.6fr);
    color: var(--app-text);
    text-decoration: none;
}

.logbook-page .logbook-entry-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "date hours"
        "route route";
    row-gap: 10px;
    min-height: 94px;
    padding: 14px;
}

.logbook-page .logbook-row-date {
    grid-area: date;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    align-self: start;
    gap: 3px 8px;
    color: var(--app-text-muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.logbook-page .logbook-row-route {
    grid-area: route;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--app-border);
    text-align: left;
}

.logbook-page .logbook-row-route > strong {
    font-size: 19px;
}

.logbook-page .logbook-row-route > span {
    font-size: 14px;
    line-height: 1.35;
}

.logbook-page .logbook-row-secondary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
}

.logbook-page .logbook-row-aircraft {
    justify-self: end;
    color: var(--app-text-muted);
    font-size: 12px;
    font-weight: 750;
    text-align: right;
}

.logbook-page .logbook-row-hours {
    grid-area: hours;
}

.logbook-row-date,
.logbook-row-route > strong,
.logbook-row-hours > strong {
    color: var(--app-text);
    font-size: 18px;
}

.logbook-row-date {
    white-space: nowrap;
}

.logbook-row-route > span,
.logbook-row-hours > span {
    color: var(--app-text-muted);
}

.logbook-row-route,
.logbook-row-hours {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.logbook-row-route {
    text-align: center;
}

.logbook-row-hours {
    justify-items: end;
    text-align: right;
}

.flight-row div {
    min-width: 0;
}

.flight-row strong,
.flight-row span {
    display: block;
    overflow-wrap: anywhere;
}

.flight-row span {
    color: var(--app-text-muted);
    font-size: 12px;
}

.route-code strong {
    font-weight: 800;
}

.exchange-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 12px;
}

.entry-header {
    padding: 2px 0;
    flex-wrap: wrap;
}

.entry-header > button.mud-button-root {
    min-height: 48px;
}

.entry-action-header {
    flex-wrap: wrap;
    position: sticky;
    top: -16px;
    z-index: 25;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--app-border);
    border-radius: 12px;
    background: color-mix(in srgb, var(--app-surface) 96%, transparent);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--app-bg) 22%, transparent);
    backdrop-filter: blur(12px);
}

.entry-action-context,
.entry-header-actions {
    display: flex;
    align-items: center;
    min-width: 0;
}

.entry-action-context {
    flex: 1 1 140px;
    flex-wrap: wrap;
    gap: 10px;
}

.entry-action-header h1 {
    min-width: 0;
    font-size: 20px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.entry-draft-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: var(--app-text-muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.entry-draft-status-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--app-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--app-accent) 14%, transparent);
}

.entry-header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex: 0 0 auto;
    gap: 6px;
    width: clamp(176px, 46vw, 190px);
}

.entry-header-actions button.mud-button-root {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding-inline: 11px;
    font-weight: 800;
    white-space: normal;
    overflow-wrap: anywhere;
}

.entry-header-actions .entry-clear-action {
    background-color: var(--app-text-muted);
    color: var(--app-surface);
}

.entry-header-actions .entry-delete-action {
    background-color: var(--app-error);
    color: var(--app-surface);
}

.entry-header-actions .entry-clear-action:not(:disabled):hover {
    background-color: color-mix(in srgb, var(--app-text-muted) 88%, #000000);
}

.entry-header-actions .entry-delete-action:not(:disabled):hover {
    background-color: color-mix(in srgb, var(--app-error) 88%, #000000);
}

.draft-pill {
    min-height: 32px;
    border: 1px solid var(--app-border);
    border-radius: 999px;
    padding: 7px 12px;
    background: var(--app-surface-alt);
    color: var(--app-text-muted);
    font-size: 12px;
    font-weight: 700;
}

.form-section {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.responsive-hours .entry-responsive-grid {
    grid-template-columns: repeat(var(--entry-field-columns, 2), minmax(0, 1fr));
}

.entry-responsive-grid.entry-fields-stacked {
    grid-template-columns: 1fr;
}

.responsive-hours .entry-responsive-grid > .record-field {
    border-right: 0;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.field-grid label,
.field-wide {
    display: grid;
    min-width: 0;
    gap: 6px;
    color: var(--app-text-muted);
    font-size: 12px;
    font-weight: 700;
}

.field-span,
.field-wide {
    grid-column: 1 / -1;
}

.field-grid input:not(.mud-input-slot),
.field-wide textarea,
.recent-select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    padding: 10px 12px;
    background: var(--app-surface);
    color: var(--app-text);
}

/* To-fix fields: outline, so it shows on every entry input whatever its border rule. */
input[aria-invalid="true"]:not(.mud-input-slot) {
    outline: 2px solid var(--app-error);
    outline-offset: -1px;
}

.field-wide textarea {
    min-height: 96px;
    resize: vertical;
}

.airport-field, .aircraft-field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.airport-field .mud-input-control, .aircraft-field .mud-input-control { margin-top: 0; }
.airport-suggestions { max-height: var(--airport-suggestions-height, 300px) !important; }
.aircraft-details > label { align-content: start; }
/* Every dropdown (MudAutocomplete/MudSelect use Outlined) is the 48px text-box height; Mud's content-box padding made them 63-79px (#211). */
.mud-input.mud-input-outlined, .mud-input.mud-input-outlined > .mud-input-slot { box-sizing: border-box; height: 48px; min-height: 48px; }
.mud-input.mud-input-outlined > .mud-input-slot.mud-input-root { padding-top: 0; padding-bottom: 0; display: flex; align-items: center; }
.aircraft-suggestions { width: min(36rem, calc(100vw - 32px)); max-width: calc(100vw - 32px); }
.airport-suggestion { min-height: 48px; }

.numeric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: var(--app-surface-alt);
    color: var(--app-text);
    font-size: 14px;
    font-weight: 700;
}

.check-option input[type="checkbox"] {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    min-height: 0;
    margin: 0;
    accent-color: var(--app-accent);
}

.custom-field-grid {
    margin-top: 4px;
}

.action-feedback-message {
    --action-feedback-hidden-offset: calc(100% + 88px + var(--native-safe-bottom));
    position: fixed;
    bottom: calc(78px + var(--native-safe-bottom));
    left: 50%;
    z-index: 25;
    display: flex;
    width: min(calc(100% - 24px), 480px);
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid color-mix(in srgb, #ffffff 20%, transparent);
    border-radius: 12px;
    padding: 6px 8px 6px 16px;
    background: #18251e;
    color: #ffffff;
    box-shadow: 0 10px 28px color-mix(in srgb, #000000 30%, transparent);
    transform: translateX(-50%);
    will-change: transform;
}

.action-feedback-message-success {
    min-height: 64px;
    border-color: color-mix(in srgb, #83d6a0 38%, transparent);
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, #83d6a0 17%, transparent), transparent 38%),
        #18251e;
}

.entry-validation-feedback {
    border-color: color-mix(in srgb, #ffb4a8 48%, transparent);
    background: #4a1d1a;
}

.entry-validation-feedback .mud-icon-root,
.entry-validation-feedback .mud-button-root {
    color: #ffd2cc;
}

.state-banner-error:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--app-error) 44%, transparent);
    outline-offset: 3px;
}

.action-feedback-content {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.action-feedback-confirmation {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    animation: action-feedback-confirmation-pop 520ms cubic-bezier(0.2, 0.9, 0.25, 1.2) both;
}

.action-feedback-confirmation svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.action-feedback-confirmation-disc {
    fill: #2d9d58;
}

.action-feedback-confirmation-check {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    animation: action-feedback-confirmation-draw 420ms 180ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.action-feedback-confirmation-ring {
    position: absolute;
    inset: 2px;
    border: 2px solid #83d6a0;
    border-radius: 50%;
    opacity: 0;
    animation: action-feedback-confirmation-ring 700ms 80ms ease-out both;
}

.action-feedback-confirmation-spark {
    position: absolute;
    z-index: 2;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #b7f0c8;
    opacity: 0;
    animation: action-feedback-confirmation-spark 560ms 220ms ease-out both;
}

.action-feedback-confirmation-spark-one {
    top: -1px;
    right: 3px;
    --action-feedback-spark-x: 5px;
    --action-feedback-spark-y: -6px;
}

.action-feedback-confirmation-spark-two {
    right: -2px;
    bottom: 7px;
    --action-feedback-spark-x: 7px;
    --action-feedback-spark-y: 3px;
}

.action-feedback-confirmation-spark-three {
    bottom: -1px;
    left: 6px;
    --action-feedback-spark-x: -3px;
    --action-feedback-spark-y: 6px;
}

.action-feedback-message-enter {
    animation: action-feedback-message-enter 300ms cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.action-feedback-message-exit {
    pointer-events: none;
    animation: action-feedback-message-exit 240ms cubic-bezier(0.4, 0, 0.8, 0.2) both;
}

.action-feedback-copy {
    font-weight: 750;
}

.action-feedback-message .mud-button-root {
    flex: 0 0 auto;
    min-width: 76px;
    color: #83d6a0;
    font-weight: 850;
}

@keyframes action-feedback-message-enter {
    from {
        transform: translate(-50%, var(--action-feedback-hidden-offset));
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes action-feedback-message-exit {
    from {
        transform: translate(-50%, 0);
    }

    to {
        transform: translate(-50%, var(--action-feedback-hidden-offset));
    }
}

@keyframes action-feedback-confirmation-pop {
    0% {
        opacity: 0;
        transform: scale(0.58) rotate(-10deg);
    }

    62% {
        opacity: 1;
        transform: scale(1.09) rotate(2deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes action-feedback-confirmation-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes action-feedback-confirmation-ring {
    0% {
        opacity: 0.8;
        transform: scale(0.72);
    }

    100% {
        opacity: 0;
        transform: scale(1.48);
    }
}

@keyframes action-feedback-confirmation-spark {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.4);
    }

    38% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(var(--action-feedback-spark-x), var(--action-feedback-spark-y)) scale(1);
    }
}

.action-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.action-buttons .mud-button-root {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
}

.action-buttons .mud-button-label {
    white-space: nowrap;
}

.entry-action-dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: calc(16px + var(--native-safe-top)) 16px calc(16px + var(--native-safe-bottom));
    background: color-mix(in srgb, #101820 62%, transparent);
    backdrop-filter: blur(5px);
}

.preview-changelog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: calc(16px + var(--native-safe-top)) 16px calc(16px + var(--native-safe-bottom));
    background: color-mix(in srgb, #101820 68%, transparent);
    overscroll-behavior: contain;
}

.preview-changelog-dialog {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 18px;
    width: min(100%, 560px);
    max-height: 100%;
    overflow: hidden;
    border-radius: 16px;
    padding: 20px;
    background: var(--app-surface);
    color: var(--app-text);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.34);
}

.preview-changelog-dialog:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--app-primary) 58%, transparent);
    outline-offset: 3px;
}

.preview-changelog-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.preview-changelog-header h2,
.preview-changelog-header p,
.preview-changelog-content p {
    margin: 0;
}

.preview-changelog-header h2 {
    font-size: 22px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.preview-changelog-header p {
    margin-top: 4px;
    color: var(--app-text-muted);
    font-size: 14px;
    font-weight: 700;
}

.preview-changelog-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--app-primary) 16%, var(--app-surface));
    color: var(--app-primary);
}

.preview-changelog-content {
    display: grid;
    gap: 16px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 2px;
}

#preview-changelog-description {
    max-width: 68ch;
    color: var(--app-text-muted);
    line-height: 1.5;
}

.preview-changelog-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.preview-changelog-list > li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.preview-changelog-list > li > .mud-icon-root {
    width: 24px;
    height: 24px;
    margin-top: 1px;
    color: var(--app-primary);
}

.preview-changelog-details {
    margin: 8px 0 0;
    padding-left: 20px;
    list-style: disc;
    line-height: 1.5;
}

.preview-changelog-details li + li {
    margin-top: 6px;
}

.preview-changelog-list strong {
    line-height: 1.35;
}

.preview-changelog-headline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    min-width: 0;
}

.preview-changelog-new {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--app-primary) 11%, var(--app-surface));
    color: var(--app-primary);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.3;
    white-space: nowrap;
}

.preview-changelog-new .mud-icon-root {
    width: 14px;
    height: 14px;
    flex: none;
}

.preview-changelog-continuity {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    border-radius: 12px;
    padding: 12px;
    background: color-mix(in srgb, var(--app-primary) 9%, var(--app-surface));
    color: var(--app-text);
    font-size: 13px;
    line-height: 1.45;
}

.preview-changelog-continuity .mud-icon-root {
    color: var(--app-primary);
    font-size: 20px;
}

.preview-changelog-dialog > button.mud-button-root {
    width: 100%;
    min-height: 48px;
}

@media (max-width: 420px) {
    .preview-changelog-dialog {
        padding: 18px;
    }
}

.entry-action-dialog {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 16px;
    width: min(100%, 680px);
    max-height: 100%;
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: 16px;
    padding: 18px;
    background: var(--app-surface);
    color: var(--app-text);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.34);
}

.entry-action-dialog-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.entry-action-dialog-header h2,
.entry-action-dialog-header p {
    margin: 0;
}

.entry-action-dialog-header h2 {
    margin-top: 2px;
    font-size: 22px;
}

.entry-action-dialog-header p {
    margin-top: 5px;
    color: var(--app-text-muted);
    font-size: 14px;
    line-height: 1.45;
}

.entry-action-dialog-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.entry-action-dialog-icon-review {
    background: color-mix(in srgb, var(--app-primary) 16%, var(--app-surface));
    color: var(--app-primary);
}

.entry-action-dialog-icon-warning {
    background: color-mix(in srgb, var(--mud-palette-error) 14%, var(--app-surface));
    color: var(--mud-palette-error);
}

.entry-review-values {
    display: grid;
    gap: 14px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-block: 1px solid var(--app-border);
    padding-block: 12px;
}

.entry-review-warnings {
    display: grid;
    gap: 8px;
    border: 1px solid color-mix(in srgb, var(--app-warning) 58%, var(--app-border));
    border-radius: 12px;
    padding: 12px;
    background: color-mix(in srgb, var(--app-warning) 10%, var(--app-surface));
    color: var(--app-text);
}

.entry-review-warnings header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--app-warning);
}

.entry-review-warnings p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-line;
}

.entry-review-warning-list {
    display: grid;
    gap: 14px;
}

.entry-review-group {
    display: grid;
    gap: 7px;
}

.entry-review-group h3 {
    margin: 0;
    color: var(--app-text-muted);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.entry-review-group dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.entry-review-group dl > div {
    min-width: 0;
    padding: 8px 10px;
    border-bottom: 1px solid var(--app-border);
}

.entry-review-group dt {
    color: var(--app-text-muted);
    font-size: 12px;
    font-weight: 700;
}

.entry-review-field-warning {
    flex: 0 0 auto;
    color: var(--app-warning);
    font-size: 16px;
}

.entry-review-group dd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    overflow-wrap: anywhere;
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 750;
}

.entry-action-dialog-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.entry-action-dialog-actions button.mud-button-root {
    width: 100%;
    min-height: 48px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.mud-button-root:not(.mud-switch-base) {
    min-height: 44px;
}

.mud-button-root.mud-button-filled-primary:not(:disabled) {
    background-color: var(--app-primary);
    color: var(--app-primary-text);
}

.mud-button-root.mud-button-filled-primary:not(:disabled):hover {
    background-color: color-mix(in srgb, var(--app-primary) 88%, #000000);
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-currency-panel-chevron,
    .settings-advanced > summary::after {
        transition: none;
    }

    .bottom-nav a {
        transition: none;
    }

    .action-feedback-message-enter,
    .action-feedback-message-exit,
    .action-feedback-confirmation,
    .action-feedback-confirmation-check,
    .action-feedback-confirmation-ring,
    .action-feedback-confirmation-spark {
        animation: none;
    }

    .action-feedback-confirmation-check {
        stroke-dashoffset: 0;
    }
}

.segmented-tabs .mud-tabs-tabbar,
.segmented-control {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    padding: 4px;
    background: var(--app-surface);
}

.segmented-tabs .mud-tab,
.segmented-control button {
    flex: 1 1 auto;
    min-width: 48px;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--app-text-muted);
    font-weight: 800;
    text-transform: none;
}

.segmented-tabs .mud-tab.mud-tab-active,
.segmented-control button.active {
    background: var(--app-primary);
    color: var(--app-primary-text);
}

.segmented-tabs .mud-tabs-tabbar-wrapper { width: 100%; gap: 4px; }
.segmented-tabs .mud-tabs-tabbar-inner { width: 100%; }
.segmented-tabs .mud-tabs-tabbar-wrapper > .mud-tooltip-root { flex: 1 1 0; min-width: 0; }
.segmented-tabs .mud-tab { width: 100%; }
.segmented-tabs .mud-tab-slider { display: none; }

.accent-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.accent-option {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    min-height: 44px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    padding: 7px 8px;
    background: var(--app-surface);
    color: var(--app-text);
    font-size: 12px;
    font-weight: 700;
}

.accent-option > span:first-child {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border: 2px solid color-mix(in srgb, var(--app-surface) 55%, transparent);
    border-radius: 50%;
    background: var(--accent-swatch);
}

.accent-option.active {
    border-color: var(--app-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--app-primary) 22%, transparent);
}

.accent-option[data-accent="forest"] { --accent-swatch: #187a46; }
.accent-option[data-accent="ocean"] { --accent-swatch: #0077a3; }
.accent-option[data-accent="sky"] { --accent-swatch: #1875c1; }
.accent-option[data-accent="indigo"] { --accent-swatch: #4f46b5; }
.accent-option[data-accent="violet"] { --accent-swatch: #7541a8; }
.accent-option[data-accent="teal"] { --accent-swatch: #007c78; }

.settings-section-intro {
    margin: 0;
    color: var(--app-text-muted);
    line-height: 1.5;
}

.custom-entry-settings-list {
    display: grid;
    gap: 10px;
}

.custom-entry-setting {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding-block: 12px;
    border-top: 1px solid var(--app-border);
}

.custom-entry-setting-primary {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(104px, 1fr);
    gap: 12px;
}

.custom-entry-setting-name,
.custom-entry-setting-hours {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
}

.custom-entry-setting-name label,
.custom-entry-setting-hours > span {
    color: var(--app-text);
    font-size: 12px;
    font-weight: 800;
}

.custom-entry-setting-hours output {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid var(--app-border);
    border-radius: 6px;
    background: var(--app-surface-alt);
    color: var(--app-text);
    font-size: 16px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-align: right;
    white-space: nowrap;
}

.custom-entry-setting-name input,
.custom-entry-add-row input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
}

.custom-entry-number-format {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
}

.custom-entry-number-format > span {
    color: var(--app-text-muted);
    font-size: 12px;
    font-weight: 700;
}

.custom-entry-number-format .mud-switch {
    min-height: 48px;
}

.custom-entry-number-format-toggle {
    width: 104px;
    min-height: 48px;
    --mud-palette-primary: var(--app-primary);
}

.custom-entry-number-format-toggle.mud-toggle-group-outlined.mud-toggle-group-primary {
    border-color: var(--app-primary);
}

.custom-entry-number-format-toggle .mud-toggle-item {
    min-width: 52px;
    min-height: 48px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.custom-entry-number-format-warning {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid color-mix(in srgb, var(--app-warning) 58%, var(--app-border));
    border-radius: 12px;
    background: color-mix(in srgb, var(--app-warning) 10%, var(--app-surface));
    color: var(--app-text);
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.custom-entry-number-format-warning > strong:first-child {
    color: var(--app-warning);
}

.custom-entry-setting small {
    color: var(--app-text-muted);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.custom-entry-removal-warning {
    margin: 0;
    color: var(--app-text);
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.custom-entry-rename-warning {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 12px;
    border: 1px solid color-mix(in srgb, var(--app-warning) 58%, var(--app-border));
    border-radius: 12px;
    background: color-mix(in srgb, var(--app-warning) 10%, var(--app-surface));
    color: var(--app-text);
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.custom-entry-rename-warning > strong:first-child {
    color: var(--app-warning);
}

.custom-entry-setting-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.custom-entry-setting-actions .mud-button-root {
    min-height: 48px;
}

.custom-entry-setting-actions .custom-entry-default-action {
    flex: 0 1 160px;
    min-width: 0;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: transparent;
}

.custom-entry-setting-actions .custom-entry-save-action:not(:disabled) {
    border-color: var(--app-success);
    color: var(--app-success);
}

.custom-entry-setting-actions .custom-entry-remove-action:not(:disabled) {
    border-color: var(--app-error);
    color: var(--app-error);
}

.custom-entry-setting-actions .custom-entry-save-action:not(:disabled):hover {
    background: color-mix(in srgb, var(--app-success) 10%, transparent);
}

.custom-entry-setting-actions .custom-entry-remove-action:not(:disabled):hover {
    background: color-mix(in srgb, var(--app-error) 10%, transparent);
}

.custom-entry-setting-actions .custom-entry-default-action:disabled {
    border-color: color-mix(in srgb, var(--app-text-muted) 42%, var(--app-border));
    background: color-mix(in srgb, var(--app-surface-alt) 72%, var(--app-surface));
    color: color-mix(in srgb, var(--app-text-muted) 72%, var(--app-surface));
    box-shadow: none;
    opacity: 1;
}

.custom-entry-setting-actions .custom-entry-remove-action.custom-entry-action-disabled,
.custom-entry-setting-actions .custom-entry-remove-action.custom-entry-action-disabled:hover {
    border-color: color-mix(in srgb, var(--app-text-muted) 42%, var(--app-border));
    background: color-mix(in srgb, var(--app-surface-alt) 72%, var(--app-surface));
    color: color-mix(in srgb, var(--app-text-muted) 72%, var(--app-surface));
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
    -webkit-tap-highlight-color: transparent;
}

.custom-entry-setting-actions .custom-entry-remove-action.custom-entry-action-disabled:active {
    filter: none;
    opacity: 1;
}

.custom-entry-add-row {
    display: grid;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--app-border);
}

.custom-entry-add-row > label {
    font-weight: 800;
}

.custom-entry-add-row .mud-button-root {
    justify-self: start;
    min-height: 48px;
}

.settings-profile-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.settings-profile-row > strong {
    flex: 1 1 auto;
}

.settings-status-line {
    display: block;
    color: var(--app-text-muted);
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.settings-status-error {
    color: var(--app-error);
}

.connection-diagnostic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.connection-diagnostic-report {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 0.9rem;
    background: var(--surface-soft);
}

.connection-diagnostic-report > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.connection-diagnostic-report pre {
    max-height: 22rem;
    overflow: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 0.72rem;
}

.device-health-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.device-health-item,
.custom-field-resolution-row {
    display: grid;
    gap: 4px;
    min-width: 0;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    padding: 12px;
    background: var(--app-surface-alt);
}

.device-health-item > span,
.custom-field-resolution-row > span {
    color: var(--app-text-muted);
    font-size: 12px;
}

.device-health-item > small {
    color: var(--app-text-muted);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.custom-field-resolution {
    border-color: color-mix(in srgb, var(--app-primary) 45%, var(--app-border));
}

@media (max-width: 390px) {
    .device-health-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.package-exchange-page {
    padding-bottom: 16px;
}

.package-file-summary {
    max-width: 100%;
}

.package-exchange-feedback {
    align-items: flex-start;
    margin-bottom: 8px;
    background: var(--app-surface-alt);
}

.package-exchange-feedback span {
    overflow-wrap: anywhere;
}

.package-exchange-feedback.state-banner-error {
    background: color-mix(in srgb, var(--app-surface) 88%, var(--app-error));
}

.search-field {
    display: grid;
    gap: 6px;
    color: var(--app-text-muted);
    font-size: 12px;
    font-weight: 700;
}

.search-field input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    padding: 10px 12px;
    background: var(--app-surface);
    color: var(--app-text);
}

.mud-button-root.logbook-filter-button {
    min-height: 48px;
}

.filter-sheet {
    display: grid;
    gap: 10px;
    border: 1px solid var(--app-border);
    border-radius: 10px 10px 0 0;
    padding: 12px;
    background: var(--app-surface-raised);
    box-shadow: var(--app-shadow);
}

.filter-sheet label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--app-text);
    font-weight: 700;
}

.filter-sheet input {
    width: 18px;
    height: 18px;
    accent-color: var(--app-primary);
}

.entry-custom-field-filters {
    display: grid;
    gap: 4px;
    min-width: 0;
    margin: 2px 0 0;
    padding: 10px 0 0;
    border: 0;
    border-top: 1px solid var(--app-border);
}

.entry-custom-field-filters legend {
    padding: 0;
    color: var(--app-text-muted);
    font-size: 14px;
    font-weight: 800;
}

.entry-custom-field-filters label span {
    display: grid;
    min-width: 0;
}

.entry-custom-field-filters label strong,
.entry-custom-field-filters label small {
    overflow-wrap: anywhere;
}

.entry-custom-field-filters label small {
    color: var(--app-text-muted);
    font-size: 14px;
    font-weight: 600;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.record-field-groups {
    display: grid;
    gap: 12px;
}

.page-back-link {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 6px;
    min-height: 48px;
    margin: -4px 0 -6px;
    padding: 6px 8px 6px 2px;
    border-radius: 8px;
    color: var(--app-primary);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.page-back-link:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--app-primary) 48%, transparent);
    outline-offset: 2px;
}

.record-field-group {
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    background: var(--app-surface);
}

.record-field-group-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--app-border);
    background: var(--app-surface-alt);
    color: var(--app-text);
}

.record-field-group-heading .mud-icon-root {
    color: var(--app-primary);
}

.record-field-group-heading h3 {
    margin: 0;
    font-size: 16px;
}

.record-field-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.record-field {
    display: grid;
    min-width: 0;
    gap: 3px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--app-border);
}

.record-field:nth-child(odd) {
    border-right: 1px solid var(--app-border);
}

.record-field dt {
    color: var(--app-text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.record-field dd {
    min-width: 0;
    margin: 0;
    color: var(--app-text);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.record-field-empty dd {
    color: var(--app-text-muted);
    font-weight: 600;
}

.entry-hour-table,
.entry-other-time {
    --totals-hour-columns: minmax(max-content, 1.6fr) repeat(2, minmax(88px, 1fr));
    min-width: 0;
    container-type: inline-size;
}

.entry-hour-table .totals-table-row {
    gap: 8px;
    padding: 8px 14px;
    min-height: 48px;
}

.entry-other-time .totals-pair-row {
    grid-template-columns: var(--totals-hour-columns);
}

.entry-hour-table .totals-table-row > strong,
.entry-other-time .totals-pair-row > strong {
    font-size: 13px;
    overflow-wrap: anywhere;
}

.entry-hour-table .record-field,
.entry-other-time .record-field {
    margin: 0;
    padding: 0;
    border: 0;
    text-align: right;
}

.entry-hour-table label,
.entry-other-time label {
    min-width: 0;
    width: 100%;
}

.entry-hour-table input,
.entry-other-time input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 8px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: var(--app-surface);
    color: var(--app-text);
    font-size: 16px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.entry-other-time .totals-pair-row {
    gap: 8px;
}

.time-period-values > div {
    display: grid;
    justify-items: stretch;
    text-align: right;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.hour-stacked-label {
    display: none;
    color: var(--app-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.hour-value-cell {
    display: grid;
    min-width: 0;
    gap: 6px;
}

.hour-values-stacked .totals-table-row,
.hour-values-stacked .totals-pair-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.hour-values-stacked .totals-table-header {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.hour-values-stacked .time-period-values {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.hour-values-stacked .time-period-values small {
    text-align: left;
}

.hour-values-stacked .hour-stacked-label {
    display: block;
    text-align: left;
}

.hour-values-stacked .totals-table-row > strong {
    text-align: left;
}

.hour-values-stacked [aria-labelledby="custom-field-totals-heading"] .totals-count-grid {
    grid-template-columns: minmax(0, 1fr);
}

.logbook-totals {
    --totals-hour-columns: minmax(92px, 1.4fr) repeat(2, minmax(64px, 1fr));
    gap: 12px;
}

.totals-filter-count {
    margin: -6px 0 0;
    color: var(--app-text-muted);
    font-size: 13px;
    font-weight: 700;
}

.totals-filter-sheet {
    display: grid;
    gap: 14px;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    padding: 14px;
    background: var(--app-surface-alt);
}

.totals-filter-empty {
    margin: 0;
    color: var(--app-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.totals-active-filters {
    display: grid;
    gap: 8px;
}

.totals-active-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    min-height: 56px;
    border-bottom: 1px solid var(--app-border);
}

.totals-active-filter > span {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.totals-active-filter small {
    overflow: hidden;
    color: var(--app-text-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.totals-active-filter .mud-icon-button {
    width: 48px;
    height: 48px;
}

.totals-filter-field,
.totals-filter-search,
.date-range-fields label {
    display: grid;
    gap: 6px;
    color: var(--app-text-muted);
    font-size: 12px;
    font-weight: 800;
}

.totals-filter-field select,
.totals-filter-search input,
.date-range-fields input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    padding: 10px 12px;
    background: var(--app-surface);
    color: var(--app-text);
    font: inherit;
    font-size: 15px;
    font-weight: 650;
}

.totals-filter-field select:focus-visible,
.totals-filter-search input:focus-visible,
.date-range-fields input:focus-visible,
.totals-filter-values input:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--app-primary) 48%, transparent);
    outline-offset: 2px;
}

.date-range-fields {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 10px;
}

.date-range-fields label, .date-range-fields input { min-width: 0; }

.totals-filter-value-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    margin: -6px 0;
}

.totals-filter-value-actions .mud-button-root,
.totals-active-filters > .mud-button-root {
    min-height: 48px;
}

.totals-filter-values {
    display: grid;
    max-height: 288px;
    overflow-y: auto;
    border-block: 1px solid var(--app-border);
    scrollbar-color: var(--app-primary) var(--app-surface-alt);
    scrollbar-width: thin;
}

.totals-filter-values label {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--app-border);
    color: var(--app-text);
    font-weight: 700;
}

.totals-filter-values label:last-child {
    border-bottom: 0;
}

.totals-filter-values input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--app-primary);
}

.totals-filter-values small {
    min-width: 2ch;
    color: var(--app-text-muted);
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.totals-filter-no-match {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    padding: 12px 14px;
    background: var(--app-surface);
    color: var(--app-text-muted);
    font-size: 13px;
    font-weight: 700;
}

.totals-filter-no-match .mud-icon-root {
    flex: 0 0 auto;
    color: var(--app-primary);
}

.totals-intro {
    margin: -6px 0 2px;
    color: var(--app-text-muted);
    font-size: 13px;
}

.totals-group {
    display: grid;
    gap: 10px;
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    background: var(--app-surface-alt);
}

.totals-group-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 0;
}

.totals-group-heading .mud-icon-root {
    flex-shrink: 0;
    color: var(--app-primary);
}

.totals-group-heading h3 {
    margin: 0;
    font-size: 16px;
}

.totals-table {
    display: grid;
    background: var(--app-surface);
}

.totals-table-row {
    display: grid;
    grid-template-columns: var(--totals-hour-columns);
    column-gap: 8px;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-top: 1px solid var(--app-border);
}

.totals-table-row > :not(:first-child) {
    text-align: right;
}

.totals-table-row > span,
.totals-table-row > .hour-value-cell {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

.totals-table-header {
    min-height: 32px;
    color: var(--app-text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.totals-time-header {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    white-space: nowrap;
}

.totals-time-header .mud-icon-root {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.totals-pair-list {
    display: grid;
    background: var(--app-surface);
}

.totals-pair-row {
    display: grid;
    grid-template-columns: var(--totals-hour-columns);
    gap: 8px;
    align-items: center;
    min-height: 52px;
    padding: 8px 14px;
    border-top: 1px solid var(--app-border);
}

.time-period-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    grid-column: span 2;
    min-width: 0;
    width: 100%;
}

.time-period-values > span {
    display: grid;
    justify-items: stretch;
    text-align: right;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.totals-pair-row small {
    color: var(--app-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.totals-count-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 10px 10px;
}

.totals-count-grid .status-metric {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    padding: 10px 12px;
}

.totals-count-grid .status-metric span {
    font-size: 12px;
    text-transform: none;
}

.totals-count-grid .status-metric strong {
    justify-self: end;
    font-size: 20px;
    text-align: right;
}

.totals-approach-grid .status-metric:last-child {
    grid-column: 1 / -1;
}

.detail-hero {
    display: grid;
    gap: 8px;
    border: 1px solid var(--app-border);
    border-radius: 12px;
    padding: 16px;
    background: var(--app-surface);
}

.detail-primary-line {
    display: grid;
    grid-template-columns: minmax(64px, 0.85fr) minmax(96px, 1.2fr) minmax(52px, 0.7fr);
    gap: 8px;
    align-items: center;
}

.detail-primary-line strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 20px;
}

.detail-primary-line strong:last-child {
    text-align: right;
}

.detail-hero span {
    margin: 0;
    color: var(--app-text-muted);
}

.filter-sheet .mud-button-root {
    min-height: 44px;
}

.ui-state {
    display: grid;
    place-items: center;
    gap: 12px;
    min-height: 50vh;
    color: var(--app-text-muted);
}

@media (min-width: 720px) {
    .bottom-nav {
        position: fixed;
        right: auto;
        top: 74px;
        bottom: auto;
        left: max(16px, calc((100vw - 1080px) / 2));
        width: 88px;
        grid-template-columns: 1fr;
        border: 1px solid var(--app-border);
        border-radius: 14px;
        padding: 8px;
    }

    .bottom-nav .bottom-nav-add {
        align-self: auto;
        margin-top: 0;
        min-height: 52px;
    }

    .app-main {
        padding-left: 116px;
    }

    .app-shell-onboarding .app-main {
        padding-left: 16px;
    }

    .action-feedback-message {
        --action-feedback-hidden-offset: calc(100% + 24px);
        bottom: 16px;
    }
}

.sync-diagnostics {
    border: 1px solid var(--app-border);
    border-radius: 10px;
    padding: 12px;
    background: var(--app-surface-alt);
}

.sync-diagnostics > summary {
    cursor: pointer;
    font-weight: 700;
}

.sync-diagnostics[open] > summary {
    margin-bottom: 12px;
}

.sync-diagnostic-group {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.sync-diagnostic-group h3 {
    margin: 0;
    font-size: 0.9rem;
}

.sync-operation-detail {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--app-surface);
}

.sync-operation-detail span,
.sync-operation-detail code {
    overflow-wrap: anywhere;
    font-size: 0.75rem;
}

@media (min-width: 900px) {
    .dashboard-page {
        grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr);
        align-items: start;
    }

    .dashboard-page > .state-banner,
    .dashboard-page > .dashboard-empty-state {
        grid-column: 1 / -1;
    }

    .dashboard-side-column {
        display: grid;
        align-content: start;
        gap: 20px;
        min-width: 0;
    }
}

@media (max-width: 620px) {
    .app-main {
        padding-inline: 12px;
    }

    .hero-panel,
    .status-strip,
    .field-grid,
    .numeric-grid,
    .exchange-summary,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .entry-action-header {
        margin-inline: -12px;
        padding-inline: 12px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .entry-action-context {
        gap: 8px;
    }

    .entry-action-header h1 {
        font-size: 18px;
    }

    .entry-header-actions {
        width: 100%;
    }

    .entry-header-actions .mud-button-root {
        width: 100%;
        padding-inline: 9px;
        font-size: 12px;
    }

    .totals-approach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .flight-row:not(.logbook-entry-row),
    .detail-primary-line {
        grid-template-columns: 1fr;
    }

    .logbook-entry-row {
        grid-template-columns: minmax(52px, 0.8fr) minmax(92px, 1.3fr) minmax(48px, 0.7fr);
    }

    .logbook-page .logbook-entry-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .record-field-list {
        grid-template-columns: 1fr;
    }

    .record-field:nth-child(odd) {
        border-right: 0;
    }

    .hero-panel .mud-button-root,
    .action-buttons .mud-button-root {
        width: 100%;
    }

    .action-buttons {
        width: 100%;
    }

    .action-buttons .mud-button-label {
        font-size: 12px;
    }

    .entry-review-group dl {
        grid-template-columns: 1fr;
    }
}

button {
    min-height: 42px;
    border: 1px solid #b8c2d1;
    border-radius: 6px;
    background: #ffffff;
    color: #18212f;
    padding: 0 14px;
}

button.primary {
    border-color: #1e6154;
    background: #1e6154;
    color: #ffffff;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    border-color: #c9d1dc;
    background: #edf1f5;
    color: #7a8491;
    cursor: not-allowed;
    opacity: 1;
}

button:disabled {
    box-shadow: none;
}

button.primary:disabled {
    border-color: #aeb8c4;
    background: #b9c3cf;
    color: #f7f9fb;
}

.layout {
    min-height: 100vh;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    padding: calc(10px + var(--native-safe-top)) clamp(16px, 4vw, 32px) 10px;
    border-bottom: 1px solid #d7dde5;
    background: #ffffff;
}

.topbar div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.topbar span,
.label {
    color: #5d6978;
    font-size: 0.78rem;
}

.offline-pill {
    border: 1px solid #b8c2d1;
    border-radius: 999px;
    padding: 6px 10px;
    background: #eef5f3;
    color: #1e6154;
}

main {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 16px;
}

.status-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    background: #d7dde5;
}

.status-band div,
.notice,
.panel {
    background: #ffffff;
}

.status-band div {
    min-width: 0;
    padding: 14px;
}

.status-band strong {
    display: block;
    overflow-wrap: anywhere;
}

.notice {
    margin: 12px 0;
    border: 1px solid #d6c58a;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff8dd;
    color: #574812;
}

.exchange-status {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -4px 0 12px;
    color: #5d6978;
    font-size: 0.86rem;
}

.storage-block {
    margin: 12px 0;
    border: 1px solid #cf5f47;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff1ec;
    color: #7e2f1e;
}

.workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 16px;
}

.panel {
    border: 1px solid #d7dde5;
    border-radius: 8px;
    padding: 16px;
}

.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

h1,
h2 {
    margin: 0;
    font-size: 1.1rem;
}

.section-heading span,
.entry-row span,
.empty {
    color: #5d6978;
}

.form-grid,
.custom-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

label:where(:not(.mud-switch)) {
    display: grid;
    gap: 6px;
    color: #344154;
    font-size: 0.88rem;
    font-weight: 600;
}

.field-action {
    justify-self: end;
    min-height: 28px;
    padding: 4px 8px;
    font-size: 0.78rem;
}

input:where(:not(.mud-switch-input)),
select,
textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #bdc7d3;
    border-radius: 6px;
    padding: 8px 10px;
    color: #18212f;
    background: #ffffff;
}

textarea {
    min-height: 84px;
    resize: vertical;
}

.recent-remarks {
    width: 100%;
}

.wide-field,
.custom-fields,
.actions,
.exchange-box,
.entry-list {
    margin-top: 14px;
}

.actions,
.exchange-box {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.recovery-code-input {
    min-height: 42px;
    width: min(100%, 320px);
    border: 1px solid #b8c2d1;
    border-radius: 6px;
    padding: 0 12px;
    background: #ffffff;
}

.key-notice {
    margin-top: 10px;
    border: 1px solid #d6c58a;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff8dd;
    color: #574812;
    font-size: 0.88rem;
}

.exchange-message {
    margin-top: 10px;
    border: 1px solid #9fb4cf;
    border-radius: 8px;
    padding: 10px 12px;
    background: #eef5ff;
    color: #233d61;
    font-size: 0.88rem;
}

.exchange-blocked {
    border-color: #d6c58a;
    background: #fff8dd;
    color: #574812;
}

.exchange-busy {
    border-color: #9fb4cf;
    background: #eef5ff;
    color: #233d61;
}

.exchange-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin-top: 14px;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    padding: 12px;
    background: #f8fafc;
}

.custom-field-conflicts {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
}

.import-summary {
    grid-column: 1 / -1;
    display: grid;
    gap: 4px;
    color: #344154;
}

.custom-field-conflicts div {
    min-width: 0;
}

.custom-field-conflicts strong,
.custom-field-conflicts span {
    display: block;
    overflow-wrap: anywhere;
}

.entry-list {
    display: grid;
    gap: 10px;
}

.entry-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    padding: 12px;
    background: #fbfcfd;
}

.entry-row div {
    min-width: 0;
}

.entry-row strong,
.entry-row span {
    display: block;
    overflow-wrap: anywhere;
}

.entry-details {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
    gap: 8px;
    border-top: 1px solid #d7dde5;
    padding-top: 10px;
}

.entry-details span {
    min-width: 0;
    color: #344154;
    font-size: 0.82rem;
}

.entry-details strong {
    color: #5d6978;
    font-size: 0.74rem;
    font-weight: 600;
}

.row-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.calculated-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    padding: 12px;
    background: #eef5f3;
}

.calculated-total button {
    flex: 0 1 190px;
}

.calculated-total span {
    color: #344154;
    display: grid;
    gap: 2px;
    min-width: 68px;
}

.calculated-total strong {
    color: #18212f;
}

.migration-confirmation {
    border: 1px solid #d7dde5;
    border-radius: 8px;
    background: #fbfcfd;
    padding: 10px 12px;
}

.migration-confirmation {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.migration-confirmation input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.validation-summary {
    display: grid;
    gap: 4px;
    margin-top: 14px;
    border: 1px solid #cf5f47;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff1ec;
    color: #7e2f1e;
}

.warning-summary {
    border-color: #d6c58a;
    background: #fff8dd;
    color: #574812;
}

.history-panel {
    margin-top: 16px;
    border-top: 1px solid #d7dde5;
    padding-top: 14px;
}

.history-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 8px;
    background: #fbfcfd;
}

a.history-row {
    color: var(--app-text);
    text-decoration: none;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 16px;
    z-index: 1000;
    box-sizing: border-box;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    border: 1px solid #b32121;
    border-radius: 8px;
    background: #ffffff;
    color: #b32121;
    padding: 14px;
}

#blazor-error-ui .error-message {
    display: block;
    overflow-wrap: anywhere;
}

#blazor-error-ui .error-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 10px;
}

#blazor-error-ui .reload,
#blazor-error-ui .dismiss {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

#blazor-error-ui .dismiss {
    margin: 0;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    padding: 4px 8px;
    font: inherit;
}

.loading-progress {
    display: block;
    width: 72px;
    height: 72px;
    margin: 25vh auto 16px;
}

.loading-progress circle {
    fill: none;
    stroke: #d7dde5;
    stroke-width: 0.6rem;
}

.loading-progress circle:last-child {
    stroke: #1e6154;
}

.loading-progress-text {
    text-align: center;
    color: #5d6978;
}

.loading-progress-text::after {
    content: var(--blazor-load-percentage-text, "Loading");
}

@media (max-width: 760px) {
    .status-band,
    .workspace,
    .form-grid,
    .custom-fields,
    .entry-row {
        grid-template-columns: 1fr;
    }

    main {
        padding: 12px;
    }
}

/* Empty-logbook start choice (Home, before the first import or flight). */
.onboarding-start {
    display: grid;
    gap: 16px;
    width: min(560px, 100%);
    margin: 0 auto;
}

.onboarding-start-header {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 48px;
    margin: 8px 0 8px;
}

.onboarding-start-header h1 {
    flex: 1;
    margin: 0;
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-wrap: balance;
}

.onboarding-start-header .mud-icon-button {
    color: var(--app-text-muted);
}

.onboarding-options {
    display: grid;
    gap: 12px;
}

.onboarding-option {
    --option-color: var(--app-option-sheet);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border: 1px solid var(--app-border);
    border-radius: 12px;
    background: var(--app-surface);
}

.onboarding-option-logten { --option-color: var(--app-option-logten); }
.onboarding-option-blank { --option-color: var(--app-option-blank); }

.onboarding-option-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 80px;
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    background: none;
    color: var(--app-text);
    font: inherit;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}

.onboarding-option-main:only-child {
    grid-column: 1 / -1;
}

.onboarding-option-main > span:nth-child(2) {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.onboarding-option-main:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--option-color) 70%, transparent);
    outline-offset: -3px;
}

.onboarding-option-main:active:not(:disabled) {
    background: color-mix(in srgb, var(--option-color) 8%, transparent);
}

.onboarding-option-main:disabled {
    cursor: default;
    opacity: 0.6;
}

.onboarding-option-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--option-color) 14%, var(--app-surface));
    color: var(--option-color);
}

.onboarding-option-icon .mud-icon-root {
    font-size: 28px;
}

.onboarding-option-chevron {
    color: var(--app-text-muted);
}

.onboarding-option > .mud-icon-button {
    margin-right: 4px;
    color: var(--app-text-muted);
}

.onboarding-option-note {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0 14px 14px 82px;
    color: var(--app-text-muted);
    font-size: 14px;
    line-height: 1.4;
}

.logten-columns h2 {
    margin: 8px 0 4px;
    font-size: 16px;
    font-weight: 750;
}

.logten-columns ul {
    margin: 0;
    padding-left: 20px;
    color: var(--app-text-muted);
    line-height: 1.6;
}

.onboarding-start-file {
    min-height: 48px;
}
