* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f6f4;
    color: #122018;
}

a {
    color: #1f6b3a;
    font-weight: 700;
    text-decoration: none;
}

.auth-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 18px;
}

.card,
.hero,
.action-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.card h1,
.card h2,
.hero h1 {
    margin-top: 0;
}

.muted {
    color: #65746b;
}

.center {
    text-align: center;
}

label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 700;
}

input,
select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d5ddd8;
    border-radius: 12px;
    font-size: 16px;
}

button,
.button {
    display: inline-block;
    width: 100%;
    margin-top: 16px;
    padding: 14px 16px;
    border: 0;
    border-radius: 14px;
    background: #1f6b3a;
    color: white;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
}

button.danger {
    background: #b42318;
}

.alert {
    padding: 13px 15px;
    border-radius: 12px;
    margin: 12px 0;
    font-weight: 700;
}

.alert.success {
    background: #e9f8ee;
    color: #1f6b3a;
}

.alert.error {
    background: #fdecec;
    color: #b42318;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #113d23;
    color: white;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.topbar a {
    color: white;
    margin-left: 12px;
}

.portal-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.portal-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex: 0 0 auto;
}

.portal-brand strong {
    white-space: nowrap;
}

.portal-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nav-icon {
    width: 1.3em;
    display: inline-flex;
    justify-content: center;
    flex: 0 0 1.3em;
    font-size: 1em;
    line-height: 1;
}


.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.portal-nav {
    min-width: 0;
}

.container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 18px;
}

.hero {
    margin-bottom: 18px;
    background: linear-gradient(135deg, #113d23, #1f6b3a);
    color: white;
}

.big-money {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1px;
}

.big-money.small {
    font-size: 34px;
    color: #1f6b3a;
}

.grid {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
}

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

.drink-button {
    min-height: 90px;
    font-size: 22px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid #e2e8e4;
    text-align: left;
    vertical-align: top;
}

th {
    background: #f1f5f2;
}

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.actions form {
    margin: 0;
}

.actions button {
    width: auto;
    margin: 0;
    padding: 9px 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.form-grid button {
    align-self: end;
}

@media (max-width: 760px) {
    .grid.two,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .topbar {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 14px 18px;
    }

    .portal-brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .portal-brand img {
        width: 40px;
        height: 40px;
    }

    .portal-brand strong {
        font-size: 20px;
        white-space: normal;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .topbar .portal-nav {
        display: none;
        flex: 0 0 100%;
        width: 100%;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(255,255,255,.18);
        flex-direction: column;
        gap: 2px;
    }

    .topbar .portal-nav.is-open {
        display: flex;
    }

    .topbar .portal-nav a {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
        padding: 10px 4px;
        text-decoration: none;
        font-weight: 700;
    }

    .big-money {
        font-size: 36px;
    }
}


/* Dialog fuer Getraenkebuchung */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(0, 0, 0, .45);
    display: grid;
    place-items: center;
    padding: 18px;
}

.modal-backdrop[hidden] {
    display: none;
}

.modal-card {
    width: min(420px, 100%);
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    text-align: center;
}

.modal-card h2 {
    margin-top: 0;
    font-size: 26px;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}

.modal-actions button {
    margin-top: 0;
}

button.secondary {
    background: #d9e2dc;
    color: #122018;
}

/* Benutzerverwaltung */
.section-title-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}
.compact-button,
.button.compact-button {
    width: auto;
    margin-top: 0;
    padding: 10px 14px;
}
.password-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: stretch;
}
.password-row .icon-button {
    width: 50px;
    margin: 0;
    padding: 10px;
}
.role-badge,
.status-badge {
    display: inline-block;
    white-space: nowrap;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    background: #e8eeea;
}
.status-badge.active { background: #e9f8ee; color: #1f6b3a; }
.status-badge.blocked { background: #fdecec; color: #b42318; }
.status-badge.pending { background: #fff4d8; color: #805b00; }
.role-admin { background: #e7edf9; color: #264c8f; }
.role-council { background: #f0eafb; color: #65459b; }
.role-kiosk { background: #e8eeea; color: #34463b; }
.user-details summary {
    cursor: pointer;
    font-weight: 800;
    color: #1f6b3a;
}
.user-manage-panel {
    min-width: min(720px, 85vw);
    padding: 16px 0 6px;
}
.compact-form {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
}
.manage-actions-row {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}
.manage-actions-row form { margin: 0; }
.manage-actions-row button { width: auto; margin: 0; }
.password-reset-form {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e2e8e4;
    max-width: 520px;
}
.password-reset-form button { width: auto; }
.users-table td { vertical-align: middle; }

@media (max-width: 760px) {
    .section-title-row { flex-direction: column; }
    .compact-form { grid-template-columns: 1fr; }
    .user-manage-panel { min-width: 78vw; }
}

/* Rollen & Rechte */
.role-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.role-tab {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    background: #e8eeea;
    color: #1d3e2b;
    text-decoration: none;
    font-weight: 800;
}
.role-tab.active {
    background: #1f6b3a;
    color: #fff;
}
.permissions-table td,
.permissions-table th {
    vertical-align: middle;
}
.permission-check-col {
    width: 120px;
    text-align: center;
}
.permission-box {
    width: 24px;
    height: 24px;
    accent-color: #1f6b3a;
    cursor: pointer;
}
.permission-box:disabled {
    cursor: not-allowed;
    opacity: .7;
}
.permissions-save {
    width: auto;
    min-width: 200px;
    margin-top: 18px;
}
@media (max-width: 600px) {
    .permission-check-col { width: 82px; }
    .permissions-table th, .permissions-table td { padding: 10px 8px; }
}


/* Profilbilder */
.profile-avatar { flex:0 0 auto; border-radius:50%; overflow:hidden; display:grid; place-items:center; background:rgba(255,255,255,.2); color:#fff; font-weight:900; }
.profile-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.hero-user { display:flex; align-items:center; gap:18px; }
.hero-user h1 { margin:0; }
.hero-avatar { width:82px; height:82px; font-size:34px; border:3px solid rgba(255,255,255,.75); }
.dashboard-hero .balance-block { margin-top:14px; }
.dashboard-hero .balance-block p { margin:0 0 2px; }
.profile-image-settings { display:flex; align-items:flex-start; gap:24px; flex-wrap:wrap; }
.profile-avatar-large { width:130px; height:130px; background:#e4eee8; color:#1f6b3a; font-size:48px; border:3px solid #d5e3da; }
.profile-image-actions { flex:1; min-width:min(100%,300px); }
.button-secondary { background:#e8eeea; color:#244b34; }
@media (max-width:600px) { .hero-avatar{width:72px;height:72px;font-size:30px}.hero-user{gap:14px}.hero-user h1{font-size:clamp(30px,9vw,46px)}.dashboard-hero .balance-block{margin-top:10px} }

/* Profilbild v2: bewusst etwas eckiger wie die Kacheln */
.profile-avatar,
.kiosk-avatar {
    border-radius: 18% !important;
}
.profile-avatar-large {
    border-radius: 18% !important;
}

/* Profilbild-Quelle: Kamera oder Galerie */
.profile-image-hidden-form {
    display: none !important;
}
.profile-image-actions > button,
.profile-image-remove {
    width: 100%;
}
.profile-image-remove {
    margin-top: 10px;
}
.profile-source-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, .48);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 14px;
}
.profile-source-backdrop[hidden] {
    display: none;
}
.profile-source-sheet {
    width: min(520px, 100%);
    background: #fff;
    border-radius: 24px;
    padding: 10px 18px 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
.profile-source-handle {
    width: 46px;
    height: 5px;
    margin: 2px auto 14px;
    border-radius: 999px;
    background: #b9c0bc;
}
.profile-source-sheet h2 {
    margin: 0 0 10px;
}
.profile-source-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 4px;
    border: 0;
    border-bottom: 1px solid #e4e9e6;
    background: transparent;
    color: #17241d;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}
.profile-source-option > span:first-child {
    width: 34px;
    text-align: center;
    font-size: 23px;
}
.profile-source-cancel {
    border-bottom: 0;
    color: #4f5e55;
}
body.profile-source-open {
    overflow: hidden;
}
@media (min-width: 700px) {
    .profile-source-backdrop {
        align-items: center;
    }
}

/* Hauptnavigation unten: Getränkekasse / Mannschaftskasse */
.portal-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-top: 1px solid #dfe7e2;
    box-shadow: 0 -8px 26px rgba(16, 42, 28, .10);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.portal-bottom-item {
    min-height: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #23352a;
    font-size: 13px;
    font-weight: 800;
    border-radius: 0;
    transition: .15s ease;
}
.portal-bottom-icon { font-size: 25px; line-height: 1; }
.portal-bottom-item.drinks.active { background: #167238; color: #fff; }
.portal-bottom-item.team.active { background: #1767d2; color: #fff; }
.has-portal-bottom-nav { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }

/* Mannschaftskasse */
.team-area { background: #f2f7fd; }
.team-container { max-width: 760px; }
.team-hero {
    margin-bottom: 18px;
    border-radius: 18px;
    padding: 22px;
    color: #fff;
    background: linear-gradient(135deg, #4387e6, #1767d2);
    box-shadow: 0 10px 30px rgba(23,103,210,.20);
}
.team-hero h1 { margin: 0; font-size: 34px; }
.team-hero p { margin: 2px 0 0; opacity: .9; }
.team-area .hero-avatar { background: rgba(255,255,255,.18); }
.team-card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.team-card-heading h1, .team-card-heading h2 { margin:0 0 5px; }
.team-paid-total { text-align:right; color:#1767d2; }
.team-paid-total span { display:block; font-size:13px; font-weight:800; }
.team-paid-total strong { white-space:nowrap; }
.month-grid { display:grid; grid-template-columns:repeat(6, minmax(0,1fr)); gap:8px; margin-top:16px; }
.month-chip {
    min-height:54px;
    border-radius:11px;
    padding:8px 4px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:1px;
    text-align:center;
    font-weight:900;
    color:#244030;
    background:#e9eef1;
}
.month-chip small { font-size:11px; min-height:13px; font-weight:800; }
.month-chip.paid { background:#dff3e3; color:#19672f; }
.month-chip.pending { background:#fff0bf; color:#7b5a00; }
.month-chip.due { background:#fee1df; color:#c2241a; }
.month-chip.future { background:#e8edf1; color:#78868f; }
.month-chip.selectable { cursor:pointer; position:relative; }
.month-chip.selectable input { position:absolute; opacity:0; pointer-events:none; }
.month-chip.selectable:has(input:checked) { background:#1767d2; color:#fff; outline:3px solid #a9caf6; }
.team-link-list { display:grid; gap:10px; }
.team-link-card {
    background:#fff;
    border-radius:16px;
    min-height:82px;
    padding:15px 16px;
    display:grid;
    grid-template-columns:44px 1fr 24px;
    align-items:center;
    gap:12px;
    color:#18251d;
    box-shadow:0 8px 24px rgba(24,59,92,.08);
}
.team-link-card > span:nth-child(2) { display:flex; flex-direction:column; }
.team-link-card small { color:#748394; font-weight:600; margin-top:2px; }
.team-link-card b { font-size:31px; color:#1767d2; font-weight:500; }
.team-link-icon { font-size:30px; text-align:center; }
.team-danger-text { color:#d02a20 !important; font-weight:800 !important; }
.topbar-back { color:#fff !important; margin-left:auto !important; white-space:nowrap; }
.team-legend { display:flex; gap:14px; flex-wrap:wrap; font-size:13px; }
.team-legend span { display:flex; align-items:center; gap:6px; }
.legend-dot { width:13px; height:13px; display:inline-block; border-radius:4px; }
.legend-dot.paid{background:#dff3e3}.legend-dot.pending{background:#fff0bf}.legend-dot.due{background:#fee1df}.legend-dot.future{background:#e8edf1}
.fine-list { display:grid; gap:10px; margin-top:12px; }
.fine-row { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:17px; border:1px solid #e2e8ed; border-radius:14px; background:#fff; }
.fine-row div { display:flex; flex-direction:column; gap:3px; }
.fine-row small { color:#718092; }
.fine-row.open b { color:#d22319; }
.fine-row.paid { opacity:.65; }
.fine-total { display:flex; justify-content:space-between; gap:12px; padding:17px; margin-top:14px; border-radius:14px; background:#fee5e2; color:#c82419; font-weight:900; }
.empty-team-state { display:flex; align-items:center; justify-content:center; flex-direction:column; gap:8px; padding:28px 10px; color:#4e6558; }
.empty-team-state span { font-size:38px; }
.admin-team-list { display:grid; gap:9px; }
.admin-team-row { display:flex; justify-content:space-between; gap:12px; align-items:center; padding:12px 0; border-bottom:1px solid #e7ece9; }
.admin-team-row > span:first-child { display:flex; flex-direction:column; gap:2px; }
.admin-team-row small { color:#718078; }
.inline-actions { display:flex; gap:6px; }
.inline-actions form, .admin-team-row form { margin:0; }
.inline-actions button, .admin-team-row .compact-button { width:auto; min-width:48px; margin:0; padding:9px 12px; }
.catalog-list { display:grid; gap:0; margin-bottom:16px; }
.catalog-list > div { display:flex; justify-content:space-between; gap:14px; padding:10px 0; border-bottom:1px solid #e7ece9; }
.form-section-separator { grid-column:1/-1; margin-top:16px; padding-top:16px; border-top:1px solid #dfe7e2; font-size:18px; }

@media (max-width: 760px) {
    .month-grid { grid-template-columns:repeat(6,1fr); gap:6px; }
    .month-chip { min-height:52px; font-size:14px; }
    .team-card-heading { align-items:flex-start; }
}
@media (max-width: 520px) {
    .team-container { padding:14px; }
    .team-hero { padding:18px; }
    .team-hero h1 { font-size:30px; }
    .month-grid { grid-template-columns:repeat(6,1fr); gap:5px; }
    .month-chip { padding:7px 2px; font-size:13px; border-radius:9px; }
    .portal-bottom-item { min-height:64px; font-size:12px; }
    .portal-bottom-icon { font-size:23px; }
    .has-portal-bottom-nav { padding-bottom:calc(64px + env(safe-area-inset-bottom,0px)); }
}
@media (min-width: 1050px) {
    .portal-bottom-nav { left:50%; right:auto; width:min(760px,90vw); transform:translateX(-50%); border:1px solid #dfe7e2; border-bottom:0; border-radius:18px 18px 0 0; overflow:hidden; }
}

/* Getränkekasse: Aktionskacheln im Stil der Mannschaftskasse */
.drink-link-list {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}
.drink-link-list form { margin: 0; }
.drink-link-card {
    width: 100%;
    min-height: 82px;
    margin: 0;
    padding: 15px 16px;
    display: grid;
    grid-template-columns: 44px 1fr 24px;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: #18251d;
    box-shadow: 0 8px 24px rgba(24,59,42,.08);
    text-align: left;
    cursor: pointer;
}
button.drink-link-card { font-size: inherit; }
.drink-link-card:hover { transform: translateY(-1px); }
.drink-link-card:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.drink-link-icon { font-size: 30px; text-align: center; line-height: 1; }
.drink-link-copy { display: flex; flex-direction: column; min-width: 0; }
.drink-link-copy strong { font-size: 18px; color: #18251d; }
.drink-link-copy small { color: #748078; font-weight: 600; margin-top: 3px; line-height: 1.3; }
.drink-link-card > b { font-size: 31px; color: #167238; font-weight: 500; text-align: right; }

.drink-payment-container { max-width: 760px; }
.drink-payment-head { display:grid; grid-template-columns:48px 1fr auto; align-items:center; gap:14px; }
.drink-payment-head h1 { margin:0 0 2px; font-size:26px; }
.drink-payment-head p { margin:0; }
.drink-payment-icon { font-size:34px; }
.drink-payment-open { text-align:right; color:#167238; }
.drink-payment-open span { display:block; font-size:13px; font-weight:800; }
.drink-payment-open strong { white-space:nowrap; font-size:20px; }
.payment-request-list { display:grid; gap:0; margin-top:12px; }
.payment-request-row { display:flex; justify-content:space-between; gap:12px; align-items:center; padding:13px 0; border-bottom:1px solid #e7ece9; }
.payment-request-row > span { display:flex; flex-direction:column; gap:2px; }
.payment-request-row small { color:#718078; }
.payment-status { font-size:12px; text-align:right; }
.payment-status.pending { color:#8a6500; }
.payment-status.approved { color:#167238; }
.payment-status.rejected { color:#b42318; }

@media (max-width: 520px) {
    .drink-link-card { min-height:78px; padding:14px; grid-template-columns:40px 1fr 20px; gap:10px; }
    .drink-link-icon { font-size:28px; }
    .drink-link-copy strong { font-size:17px; }
    .drink-link-copy small { font-size:13px; }
    .drink-payment-head { grid-template-columns:42px 1fr; }
    .drink-payment-open { grid-column:2; text-align:left; margin-top:-6px; }
}

/* Einheitliches Hamburger-Menue: aktueller Punkt bleibt sichtbar und wird nur hervorgehoben */
@media (max-width: 760px) {
    .topbar .portal-nav a.active {
        background: rgba(255,255,255,.10);
        border-radius: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Beleg-Upload fuer allgemeine Kassenbuchungen */
.receipt-upload { display:grid; gap:9px; }
.receipt-label { font-weight:700; }
.receipt-label small { font-weight:500; color:#748078; }
.receipt-add-button { width:100%; background:#eef5f0; color:#155b31; border:1px solid #d7e6dc; }
.receipt-choice { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:10px; border:1px solid #dfe7e2; border-radius:14px; background:#f8faf9; }
.receipt-choice button { margin:0; }
.receipt-choice .secondary { grid-column:1 / -1; background:#eef1ef; color:#445148; }
.receipt-selected { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 12px; border:1px solid #d9e7de; border-radius:12px; background:#f7fbf8; }
.receipt-selected span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.link-button { border:0; background:transparent; color:#b42318; padding:4px 0; box-shadow:none; }
.link-button:hover { transform:none; }
@media (max-width:520px) {
    .receipt-choice { grid-template-columns:1fr; }
    .receipt-choice .secondary { grid-column:auto; }
}

/* Push-Benachrichtigungen */
textarea {
    width:100%; padding:13px 14px; border:1px solid #d5ddd8; border-radius:12px;
    font:inherit; font-size:16px; resize:vertical; min-height:110px;
}
.notification-container { max-width: 860px; }
.notification-history { padding:0; overflow:hidden; }
.notification-history > summary { list-style:none; cursor:pointer; padding:20px 22px; display:flex; justify-content:space-between; gap:12px; align-items:center; }
.notification-history > summary::-webkit-details-marker, .notification-entry > summary::-webkit-details-marker { display:none; }
.notification-history-list { padding:0 20px 20px; display:grid; gap:10px; }
.notification-entry { border:1px solid #e1e8e3; border-radius:14px; background:#fbfcfb; overflow:hidden; }
.notification-entry > summary { list-style:none; cursor:pointer; padding:14px 15px; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.notification-entry > summary > span:first-child { display:flex; flex-direction:column; min-width:0; }
.notification-entry > summary small { color:#718078; margin-top:2px; }
.notification-mini-status { white-space:nowrap; font-size:13px; color:#4d5d53; }
.notification-entry-body { padding:0 15px 15px; border-top:1px solid #e8eeea; }
.notification-entry-body > p { line-height:1.45; }
.notification-delivery-row { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; padding:11px 0; border-top:1px solid #edf1ee; }
.notification-delivery-row > div:first-child { display:flex; flex-direction:column; gap:3px; }
.notification-delivery-row small { color:#68786e; }
.notification-times { display:flex; flex-direction:column; text-align:right; gap:2px; }
.notice-soft { background:#f0f4f1; border-radius:12px; padding:12px; color:#58675e; }
.push-actions { display:flex; gap:10px; flex-wrap:wrap; }
.push-actions button { width:auto; min-width:220px; }
.push-actions .secondary { background:#eef1ef; color:#33463a; }
.ios-push-hint { display:flex; flex-direction:column; gap:5px; margin:12px 0; padding:14px; border-radius:13px; background:#eef5ff; border:1px solid #d5e4fb; color:#1f4f89; }
.push-small { margin-bottom:0; }
.push-user-status { display:inline-block; white-space:nowrap; font-size:13px; font-weight:800; }
.push-user-status.active { color:#167238; }
.push-user-status.inactive { color:#8a5d55; }
@media (max-width:620px) {
    .notification-entry > summary, .notification-delivery-row { align-items:flex-start; flex-direction:column; }
    .notification-times { text-align:left; }
    .push-actions { display:grid; }
    .push-actions button { width:100%; min-width:0; }
}
