.version-summary {
    display: grid;
    grid-template-columns: auto auto;
    gap: 2px 12px;
    font-size: 13px;
    color: var(--muted);
}
.version-summary strong { color: var(--text); }
.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    background: #eef1f5;
    color: #3c4659;
    font-size: 12px;
    font-weight: 750;
}
.status-ready { background: #e7f7ed; color: #176d3b; }
.status-failed { background: #fff0f0; color: #a53232; }
.status-deletion_pending { background: #fff4db; color: #8a5a00; }
/* =========================================================
   Tenant anlegen
   ========================================================= */

.tenant-create-card {
    padding: 0;
    overflow: hidden;
}

.tenant-create-card details {
    width: 100%;
}

.tenant-create-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 24px 28px;

    cursor: pointer;

    background:
        linear-gradient(
            180deg,
            rgba(31, 94, 255, 0.025),
            rgba(31, 94, 255, 0.01)
        );
}

.tenant-create-summary::-webkit-details-marker {
    display: none;
}

.tenant-create-summary-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.tenant-create-icon {
    width: 54px;
    height: 54px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(31, 94, 255, 0.09);
    color: var(--accent);

    font-size: 22px;

    flex: 0 0 auto;
}

.tenant-create-summary h2 {
    margin: 0 0 4px 0;

    font-size: 22px;
    line-height: 1.25;

    color: var(--text);
}

.tenant-create-summary p {
    margin: 0;

    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.tenant-create-chevron {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--line);
    border-radius: 9px;

    background: var(--card);
    color: var(--text);

    transition: transform 0.2s ease;
}

.tenant-create-card details:not([open]) .tenant-create-chevron {
    transform: rotate(180deg);
}


/* Formular */

.tenant-create-form {
    border-top: 1px solid var(--line);
}

.tenant-create-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 34px;

    padding: 28px;
}

.tenant-create-fields .field-group {
    min-width: 0;
}

.tenant-create-fields label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 700;

    color: var(--text);
}

.required {
    color: var(--danger);
}


/* Inputs mit Icon */

.input-with-icon {
    display: flex;
    align-items: stretch;

    min-height: 46px;

    border: 1px solid var(--line);
    border-radius: 9px;

    overflow: hidden;

    background: var(--card);

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.input-with-icon:focus-within {
    border-color: var(--accent);

    box-shadow:
        0 0 0 3px rgba(31, 94, 255, 0.1);
}

.input-with-icon > i {
    width: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 46px;

    color: var(--muted);

    background: rgba(23, 32, 51, 0.025);

    border-right: 1px solid var(--line);
}

.input-with-icon input,
.input-with-icon select {
    width: 100%;
    min-width: 0;

    padding: 0 14px;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text);

    font: inherit;
    font-size: 14px;
}

.input-with-icon input::placeholder {
    color: var(--muted);
    opacity: 0.75;
}

.input-with-icon select {
    cursor: pointer;
}


/* Hilfetext */
.field-help {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

/* Unterer Bereich */
.tenant-create-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 28px;
    border-top: 1px solid var(--line);
}

.tenant-create-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 680px;
    padding: 12px 16px;
    border-radius: 9px;
    background: rgba(31, 94, 255, 0.04);
    color: var(--muted);
}

.tenant-create-info > i {
    margin-top: 2px;

    color: var(--accent);
    font-size: 17px;
}

.tenant-create-info div {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.tenant-create-info strong {
    color: var(--text);
    font-size: 13px;
}

.tenant-create-info span {
    font-size: 12px;
    line-height: 1.45;
}

/* Button */
.tenant-create-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 44px;

    padding: 0 20px;

    border: 0;
    border-radius: 9px;

    background: var(--accent);
    color: #fff;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    cursor: pointer;

    box-shadow:
        0 4px 12px rgba(31, 94, 255, 0.18);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease;
}

.tenant-create-submit:hover {
    transform: translateY(-1px);

    box-shadow:
        0 6px 16px rgba(31, 94, 255, 0.24);
}

.tenant-create-submit:active {
    transform: translateY(0);
}

/* Tablet */
@media (max-width: 900px) {

    .tenant-create-fields {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .tenant-create-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .tenant-create-info {
        max-width: none;
    }

    .tenant-create-submit {
        align-self: flex-end;
    }
}

.btn-icon.restore { color: #176d3b; }
.btn-icon.restore:hover { color: #0f542d; background: #e7f7ed; }
.auth-card { width: min(100%, 460px); margin: 32px auto; }
.auth-card label + label { margin-top: 16px; }
:root {
    --bg: #f5f7fa;
    --card: #ffffff;
    --text: #172033;
    --muted: #657085;
    --line: #dde3ec;
    --accent: #1f5eff;
    --accent-hover: #1749c9;
    --danger: #c53b3b;
}
* { box-sizing: border-box; }
body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}
header {
    background: var(--header);
    color: white;
    padding: 18px 0;
}
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.header-inner { display: flex; gap: 14px; align-items: center; }
.brand-short { display: none; }
.brand { color: white; text-decoration: none; font-size: 20px; font-weight: 800; }
.brand-logo {
    display: block;
    width: 220px;
    height: 38px;
    padding: 4px 8px;
    object-fit: contain;
    object-position: left center;
}
.brand-logo-background {
    background: #fff;
    border-radius: 4px;
}
@media (max-width: 600px) {
    .remote-user-info i.fa-circle-user {
        font-size: 22px;
    }
}
.remote-user-info {
    cursor: pointer;
    outline: none;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
    user-select: none;
}
.remote-user-info i { font-size: 14px; }
.remote-groups {
    background: var(--line);
    border-radius: 99px;
    padding: 1px 8px;
    font-size: 11px;
}
.user-dropdown {
    margin-left: auto;
    position: relative;
}
.user-dropdown.open .user-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transition: opacity .15s, visibility 0s;
}
/* Nur auf Geräten mit echtem Hover */
@media (hover: hover) and (pointer: fine) {
    .user-dropdown:hover .user-dropdown-menu {
        display: block;
    }
}
.user-dropdown-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(23,32,51,.1);
    min-width: 160px;
    z-index: 100;
    overflow: hidden;
    transition: opacity .15s, visibility 0s linear .3s;
}
.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}
.user-dropdown-menu a:hover {
    background: #f5f7fa;
    color: #e53935;
}
.user-dropdown:hover .user-dropdown-menu,
.user-dropdown:focus-within .user-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transition: opacity .15s, visibility 0s;
}
.user-create-card {
    padding: 0;
    overflow: hidden;
}

.user-create-card details {
    width: 100%;
}

.user-create-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    cursor: pointer;

    background:
        linear-gradient(
            180deg,
            rgba(31, 94, 255, 0.025),
            rgba(31, 94, 255, 0.01)
        );
}

.user-create-summary::-webkit-details-marker {
    display: none;
}

.user-create-summary-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.user-create-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(31, 94, 255, 0.09);
    color: var(--accent);

    font-size: 22px;
    flex: 0 0 auto;
}

.user-create-summary h2 {
    margin: 0 0 4px 0;
    font-size: 22px;
    line-height: 1.25;
    color: var(--text);
}

.user-create-summary p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.user-create-chevron {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--line);
    border-radius: 9px;

    background: var(--card);
    color: var(--text);

    transition: transform 0.2s ease;
}

.user-create-card details:not([open]) .user-create-chevron {
    transform: rotate(180deg);
}

.user-create-form {
    border-top: 1px solid var(--line);
}

.user-create-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 28px;
}

.user-create-fields .field-group {
    min-width: 0;
}

.user-create-fields label {
    display: block;
    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.user-create-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
    padding: 20px 28px;

    border-top: 1px solid var(--line);
}

.user-create-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    max-width: 680px;
    padding: 12px 16px;

    border-radius: 9px;
    background: rgba(31, 94, 255, 0.04);

    color: var(--muted);
}

.user-create-info > i {
    margin-top: 2px;
    color: var(--accent);
    font-size: 17px;
}

.user-create-info div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-create-info strong {
    color: var(--text);
    font-size: 13px;
}

.user-create-info span {
    font-size: 12px;
    line-height: 1.45;
}

.user-create-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
    min-height: 44px;
    padding: 0 20px;

    border: 0;
    border-radius: 9px;

    background: var(--accent);
    color: #fff;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
    cursor: pointer;

    box-shadow:
        0 4px 12px rgba(31, 94, 255, 0.18);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.user-create-submit:hover {
    transform: translateY(-1px);
    box-shadow:
        0 6px 16px rgba(31, 94, 255, 0.24);
}

@media (max-width: 1000px) {
    .user-create-fields {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .user-create-fields {
        grid-template-columns: 1fr;
    }

    .user-create-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .user-create-submit {
        width: 100%;
    }
}
.subtitle { color: #a9b4c7; }
main {
    flex: 1;
    padding: 38px 0 70px;
}
.app-footer {
    border-top: 1px solid var(--line);
    padding: 18px 0;
    color: var(--muted);
    font-size: 12px;
}
.app-footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
}
.app-footer-inner span + span::before {
    content: "·";
    margin-right: 14px;
}
h1 { font-size: 34px; margin: 0 0 8px; }
h2 { margin-top: 0; }
.hero { margin-bottom: 28px; }
.hero p, .muted { color: var(--muted); }
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    margin: 0 0 22px;
    box-shadow: 0 3px 15px rgba(23, 32, 51, .04);
}
.grid, .mapping {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.mapping { margin: 18px 0 26px; }
label { display: flex; flex-direction: column; gap: 7px; font-weight: 650; }
input, select {
    width: 100%;
    border: 1px solid #cfd6e2;
    border-radius: 9px;
    padding: 11px 12px;
    background: white;
    font: inherit;
}
button, .button {
    display: inline-block;
    margin-top: 18px;
    border: 0;
    border-radius: 9px;
    padding: 11px 16px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}
button:hover { background: var(--accent-hover); }
.button.secondary, button.secondary {
    background: #e8edf5;
    color: #293349;
}
button.danger { background: var(--danger); }
.button.danger:hover, button.danger:hover { background: #c53b3b; }
.required { color: var(--danger); }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 700px; }
th, td {
    text-align: left;
    border-bottom: 1px solid var(--line);
    padding: 11px 12px;
    vertical-align: top;
}
th { background: #f8fafc; font-size: 13px; color: #4a556b; }
.actions, .title-row, .inline-form {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}
.actions .button, .title-row button, .inline-form button { margin-top: 0;}
.flash {
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 18px;
    border: 1px solid;
}
.flash.success { background: #ebf8f0; border-color: #b7e2c8; }
.flash.error { background: #fff0f0; border-color: #efc0c0; }
@media (max-width: 700px) {
    .grid, .mapping { grid-template-columns: 1fr; }
    .title-row, .inline-form { align-items: stretch; flex-direction: column; }
    .version-summary { align-self: flex-start; }
}


nav {
    margin-left: auto;
    display: flex;
    gap: 16px;
}
nav a {
    color: #d7dfec;
    text-decoration: none;
    font-weight: 650;
}
nav a:hover { color: white; }
.nav-saas, .nav-legacy {
    padding-left: 16px;
    border-left: 1px solid rgba(255,255,255,.3);
}
.saas-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}
.hero-action { margin-top: 0; white-space: nowrap; }
.import-card { min-width: 760px; }


/* iPad / touch packing mode */
.packing-shell {
    max-width: 1050px;
    margin: 0 auto;
}
.packing-sticky {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(245,247,250,.96);
    backdrop-filter: blur(12px);
    padding: 10px 0 16px;
    margin-bottom: 14px;
}
.packing-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}
.packing-title-row h1 {
    margin: 4px 0 0;
    font-size: clamp(24px, 4vw, 38px);
}
.back-link {
    text-decoration: none;
    color: var(--accent);
    font-weight: 750;
}
.packing-total {
    font-size: clamp(22px, 4vw, 34px);
    white-space: nowrap;
}
.progress-track {
    height: 10px;
    background: #dfe5ee;
    border-radius: 999px;
    overflow: hidden;
}
.progress-track.big {
    height: 16px;
    margin-top: 14px;
}
.progress-fill {
    height: 100%;
    background: #2f80ed;
    border-radius: inherit;
    transition: width .18s ease;
}
.packing-percent {
    margin-top: 6px;
    text-align: right;
    color: var(--muted);
    font-weight: 700;
}
.sort-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.sort-label {
    font-size: 13px;
    color: var(--muted);
    margin-right: 2px;
}
.sort-btn {
    background: #f0f3f8;
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    margin-top: 0;
}
.sort-btn:hover { background: #e4e9f2; }
.sort-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.packlist-grid {
    display: grid;
    gap: 16px;
}
.packlist-card {
    display: block;
    position: relative;
    padding: 22px;
    border-radius: 16px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(23,32,51,.05);
    color: inherit;
    text-decoration: none;
}
.packlist-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.packlist-card:active {
    transform: scale(.995);
}
.packlist-name {
    font-size: 22px;
    font-weight: 850;
    margin-bottom: 4px;
}
.packlist-meta {
    color: var(--muted);
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.packlist-event {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}
.packlist-progress {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}
.packlist-buttons {
    position: absolute;
    top: 14px;
    right: 16px;
}
.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-size: 16px;
    padding: 4px 6px;
    border-radius: 6px;
    line-height: 1;
}
.btn-icon:hover {
    color: #e53935;
    background: rgba(229,57,53,.08);
}
.packing-event-meta {
    margin-top: 4px;
    font-size: 14px;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}
.packing-category {
    margin: 24px 0 30px;
}
.packing-category h2 {
    font-size: 21px;
    margin: 0 0 10px;
}
.packing-items {
    grid-column: 1;
    display: grid;
    gap: 10px;
}
.packing-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    background: white;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(23,32,51,.05);
    transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}
.packing-item.complete {
    background: #e9f8ee;
    border-color: #8fd3a5;
}
.packing-item.complete .packing-item-name {
    text-decoration: line-through;
    opacity: .72;
}
.packing-item.save-error {
    border-color: #d64c4c;
}
.packing-item-name {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}
.packing-item-notes {
    margin-top: 6px;
    color: #9a5b00;
    font-weight: 700;
}
.packing-item-meta {
    display: flex;
    gap: 12px;
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}
.packing-counter {
    display: grid;
    grid-template-columns: 56px 92px 56px;
    gap: 8px;
    align-items: stretch;
}
.count-btn,
.count-display {
    margin: 0;
    min-height: 60px;
    border-radius: 13px;
    font-size: 28px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.count-btn {
    padding: 0;
    background: #e8edf5;
    color: #1d2738;
}
.count-btn.plus {
    background: #1f5eff;
    color: white;
}
.count-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 8px;
    background: #f6f8fb;
    color: #172033;
    font-size: 22px;
    font-weight: 850;
}
.count-separator {
    opacity: .35;
}
.reset-section {
    padding: 25px 0 80px;
}
.reset-btn {
    width: 100%;
    min-height: 54px;
}
@media (max-width: 760px) {
    .wrap {
        width: min(100% - 20px, 1180px);
    }
    main {
        padding-top: 18px;
    }
    .app-footer {
        padding: 14px 0;
        font-size: 11px;
    }
    .app-footer-inner {
        justify-content: center;
    }
    header {
        padding: 12px 0;
    }
    .brand-full { display: none; }
    .brand-logo {
        width: 116px;
        height: 30px;
    }
    .subtitle {
        display: none;
    }
    .user-name, .user-groups, .user-chevron { display: none; }
    nav {
        gap: 10px;
        font-size: 14px;
    }
    .sort-bar {
        transition: opacity .15s ease, max-height .15s ease, margin-top .15s ease;
        max-height: 100px;
        overflow: hidden;
    }
    .sort-bar.scroll-hidden {
        opacity: 0;
        max-height: 0;
        margin-top: 0;
        pointer-events: none;
    }
    .packing-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .packing-item-name {
        font-size: var(--mobile-packing-font-size);
    }
    .packing-item-notes,
    .packing-item-meta {
        font-size: var(--mobile-packing-meta-font-size);
    }
    .packing-counter {
        grid-template-columns: 39px minmax(70px, 1fr) 39px;
        width: 100%;
    }
    .count-btn,
    .count-display {
        min-height: var(--mobile-packing-counter-height);
        font-size: var(--mobile-packing-counter-font-size);
        border-radius: 9px;
    }
}


.settings-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0;
}
.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.field-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.field-group input,
.field-group select {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: var(--text);
    outline: none;
    transition: border-color .15s;
}
.field-group input:focus,
.field-group select:focus {
    border-color: var(--accent);
}
.range-field input[type="range"] {
    width: min(100%, 360px);
    padding: 0;
    border: 0;
    accent-color: var(--accent);
}
.color-settings input[type="color"] {
    width: 100%;
    height: 42px;
    padding: 4px;
    cursor: pointer;
}
.checkbox-label {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    margin-top: 6px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-align: left;
    cursor: pointer;
}
.checkbox-label:hover { border-color: var(--accent); }
.field-group .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-height: 0;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
    accent-color: var(--accent);
}
.brand-preview {
    display: block;
    max-width: 260px;
    max-height: 100px;
    margin: 4px 0 12px;
    object-fit: contain;
    object-position: left center;
}
@media (max-width: 700px) {
    .settings-form-grid { grid-template-columns: 1fr; }
}

.settings-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}
.settings-summary > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: #f7f9fc;
    border: 1px solid var(--line);
    border-radius: 10px;
}
.settings-summary span {
    color: var(--muted);
    font-size: 13px;
}
.env-example {
    overflow-x: auto;
    background: #111827;
    color: #eef2f7;
    padding: 18px;
    border-radius: 10px;
    line-height: 1.6;
}
@media (max-width: 700px) {
    .settings-summary {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   RESPONSIVE VISIBILITY
   CrewLoad
   ========================================================= */


/*
 * Standardmäßig sind Tablet-/Desktop-Elemente sichtbar.
 * Die Klasse muss deshalb außerhalb der Media Query
 * nichts verändern.
 */


/* ---------------------------------------------------------
   Nur auf Smartphone sichtbar
   --------------------------------------------------------- */

.mobile-only {
    display: none !important;
}


/* ---------------------------------------------------------
   Smartphone
   Bis einschließlich 600px Breite
   --------------------------------------------------------- */

@media (max-width: 600px) {

    /*
     * Elemente mit dieser Klasse auf Smartphones ausblenden.
     *
     * Beispiel:
     * <a class="desktop-tablet-only">Einstellungen</a>
     */
    .desktop-tablet-only {
        display: none !important;
    }

    /*
     * Alternative/kurze Bezeichnung.
     * Kann verwendet werden, wenn ein beliebiges Element
     * auf dem Smartphone verschwinden soll.
     */
    .mobile-hidden {
        display: none !important;
    }

    /*
     * Elemente, die ausschließlich auf Smartphones
     * angezeigt werden sollen.
     */
    .mobile-only {
        display: block !important;
    }
}

/* ---------------------------------------------------------
   Changelog-Syling
   --------------------------------------------------------- */
.changelog {
    line-height: 1.6;
}

.changelog h1 {
    margin-top: 0;
}

.changelog h2 {
    margin-top: 2rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--muted);
}

.changelog h3 {
    margin-top: 1.2rem;
}

.changelog ul {
    padding-left: 1.5rem;
}

.changelog li {
    margin-bottom: 0.35rem;
}
