/* Page layouts. All colors reference the shared dark theme in theme.css. */

.account-form-shell {
            max-width: 980px;
            margin: 0 auto;
        }
.account-form-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
.account-form-title {
            margin: 0;
            font-size: clamp(1.8rem, 4vw, 2.3rem);
            line-height: 1.15;
        }
.account-form-note {
            margin: 0.35rem 0 0;
            color: var(--muted);
        }
.account-header-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 0.75rem;
        }
.account-form-card {
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--surface);
            box-shadow: 0 0.25rem 1rem var(--shadow-color);
        }
.account-section {
            padding: 1.25rem;
            border-bottom: 1px solid var(--border);
        }
.account-section:last-of-type {
            border-bottom: 0;
        }
.account-section-title {
            margin: 0 0 0.25rem;
            font-size: 1.15rem;
            font-weight: 600;
        }
.account-section-help {
            margin: 0 0 1rem;
            color: var(--muted);
            font-size: 0.94rem;
        }
.account-field-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }
.account-field-wide {
            grid-column: 1 / -1;
        }
.account-form-actions {
            display: flex;
            justify-content: flex-end;
            gap: 0.75rem;
            padding: 1.25rem;
            border-top: 1px solid var(--border);
        }

/* aktuelles.html */
.page--aktuelles .updates-shell {
    max-width: 940px;
    margin: 0 auto;
}

.page--aktuelles .updates-header {
    margin-bottom: 1.5rem;
}

.page--aktuelles .updates-list {
    display: grid;
    gap: 0.9rem;
}

.page--aktuelles .update-row {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    background: var(--surface);
}

.page--aktuelles .update-meta {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.page--aktuelles .update-title {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.page--aktuelles .update-text {
    color: var(--text-soft);
    margin-bottom: 0;
}

/* auktion.html */
.page--auktion .auction-page {
    font-family: var(--font-ui);
}

.page--auktion .auction-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.page--auktion .auction-title-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.page--auktion .auction-title {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.55rem, 1.15rem + 1vw, 2.2rem);
    line-height: 1.15;
}

.page--auktion .auction-subline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.96rem;
}

.page--auktion .auction-state-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 5px 12px;
    white-space: nowrap;
}

.page--auktion .watch-btn {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    background: var(--surface);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex: 0 0 auto;
}

.page--auktion .watch-btn:hover {
    background: var(--surface-raised);
}

.page--auktion .watch-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--muted);
    fill: none;
    stroke-width: 2;
    transition: transform 0.25s ease, opacity 0.25s ease, fill 0.25s ease;
    transform-origin: center;
    opacity: 0.8;
}

.page--auktion .watch-btn svg path {
    transition: 0.2s;
    fill: none;
    stroke: var(--muted);
}

.page--auktion .watch-btn.watching svg {
    opacity: 1;
    transform: scale(1.16);
}

.page--auktion .watch-btn.watching svg path {
    fill: var(--danger);
    stroke: var(--danger);
}

.page--auktion .pop svg {
    transform: scale(1.32) !important;
}

.page--auktion .auction-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 26px;
    align-items: flex-start;
}

.page--auktion .auction-main {
    min-width: 0;
}

.page--auktion .auction-image {
    width: 100%;
    max-height: 520px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border);
    background: var(--surface-raised);
}

.page--auktion .auction-description {
    margin-top: 22px;
    max-width: 820px;
}

.page--auktion .section-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
}

.page--auktion .auction-description h3,
.page--auktion .market-section h3,
.page--auktion .decision-panel h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.15rem;
    line-height: 1.25;
}

.page--auktion .auction-description p {
    margin: 10px 0 0;
    color: var(--text-soft);
    line-height: 1.65;
}

.page--auktion .decision-panel,
.page--auktion .market-section {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 0.35rem 1.1rem var(--shadow-color);
}

.page--auktion .decision-panel {
    position: sticky;
    top: 16px;
    padding: 16px;
}

.page--auktion .decision-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.page--auktion .decision-note {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.page--auktion .deadline-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
}

.page--auktion .deadline-date {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    background: var(--surface-raised);
    padding: 10px 12px;
    color: var(--muted);
    font-size: 0.92rem;
}

.page--auktion .deadline-countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--surface);
}

.page--auktion .deadline-cell {
    min-width: 0;
    text-align: center;
    padding: 11px 4px 9px;
    border-right: 1px solid var(--border);
}

.page--auktion .deadline-cell:last-child {
    border-right: 0;
}

.page--auktion .deadline-value {
    display: block;
    color: var(--text);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.page--auktion .deadline-label {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.875rem;
}

.page--auktion .priority-metric {
    border: 1px solid var(--success-border);
    border-radius: 8px;
    background: var(--success-soft);
    padding: 13px 14px;
    margin-bottom: 12px;
}

.page--auktion .priority-label {
    display: block;
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 700;
}

.page--auktion .priority-value {
    display: block;
    margin-top: 3px;
    color: var(--text);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.page--auktion .priority-note {
    display: block;
    margin-top: 5px;
    color: var(--success);
    font-size: 0.875rem;
}

.page--auktion .metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.page--auktion .metric-item {
    min-height: 76px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-raised);
    padding: 10px 11px;
}

.page--auktion .metric-label {
    display: block;
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.page--auktion .metric-value {
    display: block;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.page--auktion .metric-note {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.875rem;
}

.page--auktion .allocation-block {
    margin-top: 14px;
}

.page--auktion .allocation-progress {
    height: 12px;
    border-radius: 999px;
    background: var(--border);
    overflow: hidden;
}

.page--auktion .allocation-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--success));
}

.page--auktion .allocation-caption {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.875rem;
}

.page--auktion .bid-hint {
    border-left: 4px solid var(--accent);
    background: var(--accent-soft);
    border-radius: 6px;
    color: var(--accent);
    padding: 10px 12px;
    margin: 14px 0;
    font-size: 0.92rem;
}

.page--auktion .bid-rule-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.45;
}

.page--auktion #bid-section {
    margin-top: 14px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.page--auktion .bid-section-title {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
}

.page--auktion .bid-form-top,
.page--auktion .bid-form-prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.page--auktion .bid-field .form-label {
    display: flex;
    align-items: flex-end;
    min-height: 0;
    margin-bottom: 0.35rem;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
}

.page--auktion .bid-field-primary {
    grid-column: 1 / -1;
}

.page--auktion .bid-field-primary .form-control {
    border-color: var(--accent-border);
    box-shadow: inset 0 0 0 1px var(--accent-soft);
}

.page--auktion .bid-helper {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.35;
}

.page--auktion .bid-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-raised);
    padding: 9px;
    margin-bottom: 12px;
}

.page--auktion .bid-summary-item {
    min-width: 0;
}

.page--auktion .bid-summary-label {
    display: block;
    color: var(--muted);
    font-size: 0.875rem;
}

.page--auktion .bid-summary-value {
    display: block;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.page--auktion .auction-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.page--auktion .auction-actions .btn {
    min-height: 42px;
}

.page--auktion .market-board {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
    gap: 20px;
    margin-top: 26px;
}

.page--auktion .market-section {
    padding: 16px;
}

.page--auktion .market-section-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.page--auktion .market-section-note {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.875rem;
}

.page--auktion .bid-chart-wrap {
    height: 330px;
}

.page--auktion .allocation-list {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.page--auktion .allocation-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) minmax(84px, auto) minmax(92px, auto);
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.page--auktion .allocation-row:last-child {
    border-bottom: 0;
}

.page--auktion .allocation-row-current {
    background: var(--accent-soft);
}

.page--auktion .allocation-head {
    background: var(--surface-raised);
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
}

.page--auktion .allocation-rank {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
}

.page--auktion .allocation-bidder {
    min-width: 0;
    color: var(--text);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.page--auktion .allocation-current-label {
    display: block;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 700;
}

.page--auktion .allocation-empty {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-raised);
    padding: 14px;
    color: var(--muted);
}

.page--auktion .seller-box {
    border-top: 1px solid var(--border);
    margin-top: 14px;
    padding-top: 14px;
}

.page--auktion .seller-box p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 991px) {
.page--auktion .auction-layout,
.page--auktion .market-board {
        grid-template-columns: 1fr;
    }

.page--auktion .decision-panel {
        position: static;
    }
}

@media (max-width: 575px) {
.page--auktion .auction-head {
        grid-template-columns: 1fr;
    }

.page--auktion .auction-title-row {
        align-items: center;
    }

.page--auktion .auction-state-badge {
        justify-self: flex-start;
    }

.page--auktion .metric-grid,
.page--auktion .bid-form-top,
.page--auktion .bid-form-prices,
.page--auktion .bid-summary {
        grid-template-columns: 1fr;
    }

.page--auktion .deadline-value {
        font-size: 1.25rem;
    }

.page--auktion .deadline-label {
        font-size: 0.875rem;
    }

.page--auktion .allocation-row {
        grid-template-columns: 36px minmax(0, 1fr);
    }

.page--auktion .allocation-row > span:nth-child(3),
.page--auktion .allocation-row > span:nth-child(4) {
        grid-column: 2;
    }

.page--auktion .allocation-head {
        display: none;
    }
}

/* auktion_suchen.html */
.page--auktion_suchen .search-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.page--auktion_suchen .search-header {
    margin-bottom: 1.25rem;
}

.page--auktion_suchen .filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(150px, 1fr)) auto;
    gap: 0.75rem;
    align-items: end;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    margin-bottom: 1rem;
}

.page--auktion_suchen .result-list {
    display: grid;
    gap: 0.85rem;
}

.page--auktion_suchen .result-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.page--auktion_suchen .result-row.is-urgent {
    border-left: 5px solid var(--danger);
}

.page--auktion_suchen .result-thumb {
    width: 96px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    background: var(--surface-raised);
}

.page--auktion_suchen .result-title {
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

.page--auktion_suchen .result-title:hover {
    text-decoration: underline;
}

.page--auktion_suchen .result-description {
    color: var(--muted);
    font-size: 0.93rem;
    margin-top: 0.15rem;
    max-width: 720px;
}

.page--auktion_suchen .result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.93rem;
    margin-top: 0.35rem;
}

.page--auktion_suchen .result-actions {
    display: flex;
    justify-content: flex-end;
}

.page--auktion_suchen .empty-state {
    border: 1px dashed var(--border-strong);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    background: var(--surface-raised);
}

@media (max-width: 980px) {
.page--auktion_suchen .filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.page--auktion_suchen .filter-bar .filter-submit {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
.page--auktion_suchen .filter-bar,
.page--auktion_suchen .result-row {
        grid-template-columns: 1fr;
    }

.page--auktion_suchen .result-thumb {
        width: 100%;
        max-height: 220px;
        aspect-ratio: 16 / 9;
    }

.page--auktion_suchen .result-actions .btn {
        width: 100%;
    }
}

/* contact_user.html */
.page--contact_user .contact-context-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem 1rem;
        margin: 0;
    }

.page--contact_user .contact-context-item {
        min-width: 0;
    }

.page--contact_user .contact-context-label {
        display: block;
        color: var(--muted);
        font-size: 0.875rem;
        margin-bottom: 0.15rem;
    }

.page--contact_user .contact-context-value {
        display: block;
        font-weight: 600;
        overflow-wrap: anywhere;
    }

.page--contact_user .char-counter {
        color: var(--muted);
        float: right;
        font-size: 0.875rem;
        font-weight: 400;
    }

@media (max-width: 575px) {
.page--contact_user .contact-context-list {
            grid-template-columns: 1fr;
        }
}

/* index.html */
.page--index .home-dashboard {
        max-width: 980px;
        margin: 0 auto;
    }

.page--index .dashboard-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

.page--index .dashboard-eyebrow {
        color: var(--muted);
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

.page--index .dashboard-title {
        font-size: clamp(1.8rem, 4vw, 2.4rem);
        line-height: 1.15;
        margin: 0;
    }

.page--index .dashboard-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

.page--index .dashboard-card {
        display: flex;
        min-height: 132px;
        padding: 1rem;
        border: 1px solid var(--border);
        border-radius: 8px;
        color: var(--text);
        text-decoration: none;
        background: var(--surface);
        transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    }

.page--index .dashboard-card:hover,
.page--index .dashboard-card:focus {
        color: var(--text);
        border-color: var(--accent-border);
        box-shadow: 0 0.5rem 1.25rem var(--accent-soft);
        transform: translateY(-1px);
    }

.page--index .dashboard-card-primary {
        border-color: var(--accent-border);
        background: var(--accent-soft);
    }

.page--index .dashboard-card-body {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
    }

.page--index .dashboard-card-title {
        display: block;
        font-weight: 600;
        font-size: 1.08rem;
    }

.page--index .dashboard-card-text {
        display: block;
        color: var(--muted);
        font-size: 0.94rem;
        line-height: 1.35;
    }

.page--index .dashboard-card-link {
        color: var(--accent);
        font-size: 0.9rem;
        font-weight: 600;
    }

.page--index .home-auth-panel {
        max-width: 560px;
        margin: 0 auto;
        padding: 1.25rem;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--surface);
    }

.page--index .home-auth-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 1rem;
    }

@media (max-width: 991px) {
.page--index .dashboard-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
}

@media (max-width: 575px) {
.page--index .dashboard-header {
            align-items: stretch;
            flex-direction: column;
        }

.page--index .dashboard-grid {
            grid-template-columns: 1fr;
        }

.page--index .dashboard-card {
            min-height: 112px;
        }
}

/* meine_auktionen.html */
.page--meine_auktionen .dashboard-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.page--meine_auktionen .dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.page--meine_auktionen .dashboard-table-wrap {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow-x: auto;
    background: var(--surface);
}

.page--meine_auktionen .dashboard-table {
    margin-bottom: 0;
    vertical-align: middle;
}

.page--meine_auktionen .dashboard-table th {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.page--meine_auktionen .offer-cell {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    min-width: 260px;
}

.page--meine_auktionen .offer-thumb {
    width: 72px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    background: var(--surface-raised);
}

.page--meine_auktionen .offer-title {
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.page--meine_auktionen .offer-title:hover {
    text-decoration: underline;
}

.page--meine_auktionen .muted-small {
    color: var(--muted);
    font-size: 0.9rem;
}

.page--meine_auktionen .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-end;
}

.page--meine_auktionen .detail-summary {
    cursor: pointer;
    color: var(--accent);
    font-weight: 600;
}

.page--meine_auktionen .empty-state {
    border: 1px dashed var(--border-strong);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    background: var(--surface-raised);
}

@media (max-width: 760px) {
.page--meine_auktionen .dashboard-header {
        align-items: stretch;
        flex-direction: column;
    }

.page--meine_auktionen .dashboard-header .btn {
        width: 100%;
    }
}

/* meine_daten.html */
.page--meine_daten .account-form-shell {
        max-width: 980px;
        margin: 0 auto;
    }

.page--meine_daten .account-form-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

.page--meine_daten .account-form-title {
        margin: 0;
        font-size: clamp(1.8rem, 4vw, 2.3rem);
        line-height: 1.15;
    }

.page--meine_daten .account-form-note {
        margin: 0.35rem 0 0;
        color: var(--muted);
    }

.page--meine_daten .account-header-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.75rem;
    }

.page--meine_daten .account-form-card {
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--surface);
        box-shadow: 0 0.25rem 1rem var(--shadow-color);
    }

.page--meine_daten .account-section {
        padding: 1.25rem;
        border-bottom: 1px solid var(--border);
    }

.page--meine_daten .account-section:last-of-type {
        border-bottom: 0;
    }

.page--meine_daten .account-section-title {
        margin: 0 0 0.25rem;
        font-size: 1.15rem;
        font-weight: 600;
    }

.page--meine_daten .account-section-help {
        margin: 0 0 1rem;
        color: var(--muted);
        font-size: 0.94rem;
    }

.page--meine_daten .account-field-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

.page--meine_daten .account-field-wide {
        grid-column: 1 / -1;
    }

.page--meine_daten .readonly-control {
        background-color: var(--surface-raised);
        border-color: var(--border-strong);
        color: var(--muted);
    }

.page--meine_daten .readonly-help {
        margin-top: 0.35rem;
        color: var(--muted);
        font-size: 0.875rem;
    }

.page--meine_daten .account-form-actions {
        display: flex;
        justify-content: flex-end;
        gap: 0.75rem;
        padding: 1.25rem;
        border-top: 1px solid var(--border);
    }

@media (max-width: 575px) {
.page--meine_daten .account-form-header,
.page--meine_daten .account-form-actions {
            align-items: stretch;
            flex-direction: column;
        }

.page--meine_daten .account-header-actions {
            justify-content: stretch;
        }

.page--meine_daten .account-header-actions .btn {
            width: 100%;
        }

.page--meine_daten .account-field-grid {
            grid-template-columns: 1fr;
        }
}

/* meine_gebote.html */
.page--meine_gebote .dashboard-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.page--meine_gebote .dashboard-header {
    margin-bottom: 1.25rem;
}

.page--meine_gebote .dashboard-table-wrap {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow-x: auto;
    background: var(--surface);
}

.page--meine_gebote .dashboard-table {
    margin-bottom: 0;
    vertical-align: middle;
}

.page--meine_gebote .dashboard-table th {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.page--meine_gebote .offer-cell {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    min-width: 260px;
}

.page--meine_gebote .offer-thumb {
    width: 64px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    background: var(--surface-raised);
}

.page--meine_gebote .offer-title {
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.page--meine_gebote .offer-title:hover {
    text-decoration: underline;
}

.page--meine_gebote .muted-small {
    color: var(--muted);
    font-size: 0.9rem;
}

.page--meine_gebote .actions {
    display: flex;
    justify-content: flex-end;
}

.page--meine_gebote .empty-state {
    border: 1px dashed var(--border-strong);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    background: var(--surface-raised);
}

/* meine_kaeufe.html */
.page--meine_kaeufe .dashboard-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.page--meine_kaeufe .dashboard-header {
    margin-bottom: 1.25rem;
}

.page--meine_kaeufe .dashboard-table-wrap {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow-x: auto;
    background: var(--surface);
}

.page--meine_kaeufe .dashboard-table {
    margin-bottom: 0;
    vertical-align: middle;
}

.page--meine_kaeufe .dashboard-table th {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.page--meine_kaeufe .offer-cell {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    min-width: 260px;
}

.page--meine_kaeufe .offer-thumb {
    width: 64px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    background: var(--surface-raised);
}

.page--meine_kaeufe .offer-title {
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.page--meine_kaeufe .offer-title:hover {
    text-decoration: underline;
}

.page--meine_kaeufe .muted-small {
    color: var(--muted);
    font-size: 0.9rem;
}

.page--meine_kaeufe .workflow-stack {
    display: grid;
    gap: 0.35rem;
}

.page--meine_kaeufe .actions {
    display: flex;
    justify-content: flex-end;
}

.page--meine_kaeufe .empty-state {
    border: 1px dashed var(--border-strong);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    background: var(--surface-raised);
}

/* meine_verkaeufe.html */
.page--meine_verkaeufe .dashboard-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.page--meine_verkaeufe .dashboard-header {
    margin-bottom: 1.25rem;
}

.page--meine_verkaeufe .dashboard-table-wrap {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow-x: auto;
    background: var(--surface);
}

.page--meine_verkaeufe .dashboard-table {
    margin-bottom: 0;
    vertical-align: middle;
}

.page--meine_verkaeufe .dashboard-table th {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.page--meine_verkaeufe .offer-cell {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    min-width: 260px;
}

.page--meine_verkaeufe .offer-thumb {
    width: 64px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    background: var(--surface-raised);
}

.page--meine_verkaeufe .offer-title {
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.page--meine_verkaeufe .offer-title:hover {
    text-decoration: underline;
}

.page--meine_verkaeufe .muted-small {
    color: var(--muted);
    font-size: 0.9rem;
}

.page--meine_verkaeufe .workflow-stack {
    display: grid;
    gap: 0.35rem;
}

.page--meine_verkaeufe .actions {
    display: flex;
    justify-content: flex-end;
}

.page--meine_verkaeufe .empty-state {
    border: 1px dashed var(--border-strong);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    background: var(--surface-raised);
}

/* meine_watchlist.html */
.page--meine_watchlist .watchlist-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.page--meine_watchlist .watchlist-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.page--meine_watchlist .watchlist-grid {
    display: grid;
    gap: 0.85rem;
}

.page--meine_watchlist .watchlist-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.page--meine_watchlist .watchlist-row.is-urgent {
    border-left: 5px solid var(--danger);
}

.page--meine_watchlist .watchlist-thumb {
    width: 88px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    background: var(--surface-raised);
}

.page--meine_watchlist .watchlist-title {
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.page--meine_watchlist .watchlist-title:hover {
    text-decoration: underline;
}

.page--meine_watchlist .watchlist-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    color: var(--muted);
    font-size: 0.93rem;
    margin-top: 0.25rem;
}

.page--meine_watchlist .watchlist-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.page--meine_watchlist .empty-state {
    border: 1px dashed var(--border-strong);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    background: var(--surface-raised);
}

@media (max-width: 760px) {
.page--meine_watchlist .watchlist-header {
        align-items: stretch;
        flex-direction: column;
    }

.page--meine_watchlist .watchlist-row {
        grid-template-columns: 68px minmax(0, 1fr);
    }

.page--meine_watchlist .watchlist-thumb {
        width: 68px;
    }

.page--meine_watchlist .watchlist-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

.page--meine_watchlist .watchlist-actions .btn,
.page--meine_watchlist .watchlist-actions form {
        width: 100%;
    }
}

/* nachrichten_overview.html */
.page--nachrichten_overview .messages-shell {
    max-width: 980px;
    margin: 0 auto;
}

.page--nachrichten_overview .messages-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.page--nachrichten_overview .messages-list {
    display: grid;
    gap: 0.75rem;
}

.page--nachrichten_overview .conversation-row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    text-decoration: none;
    color: inherit;
}

.page--nachrichten_overview .conversation-row:hover {
    border-color: var(--border-strong);
    color: inherit;
}

.page--nachrichten_overview .conversation-row.is-unread {
    border-left: 5px solid var(--accent);
    background: var(--accent-soft);
}

.page--nachrichten_overview .conversation-thumb {
    width: 84px;
    aspect-ratio: 1;
    border-radius: 6px;
    object-fit: cover;
    background: var(--surface-raised);
}

.page--nachrichten_overview .conversation-main {
    min-width: 0;
}

.page--nachrichten_overview .conversation-title-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}

.page--nachrichten_overview .conversation-title {
    font-weight: 700;
    color: var(--text);
}

.page--nachrichten_overview .conversation-meta,
.page--nachrichten_overview .conversation-preview {
    color: var(--muted);
    font-size: 0.94rem;
}

.page--nachrichten_overview .conversation-preview {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.page--nachrichten_overview .conversation-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
    white-space: nowrap;
}

.page--nachrichten_overview .empty-state {
    border: 1px dashed var(--border-strong);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    background: var(--surface-raised);
}

@media (max-width: 700px) {
.page--nachrichten_overview .messages-header {
        align-items: stretch;
        flex-direction: column;
    }

.page--nachrichten_overview .conversation-row {
        grid-template-columns: 64px minmax(0, 1fr);
    }

.page--nachrichten_overview .conversation-thumb {
        width: 64px;
    }

.page--nachrichten_overview .conversation-actions {
        grid-column: 1 / -1;
        align-items: stretch;
    }
}

/* nachrichten_thread.html */
.page--nachrichten_thread .thread-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.page--nachrichten_thread .thread-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page--nachrichten_thread .thread-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.page--nachrichten_thread .thread-context,
.page--nachrichten_thread .thread-panel {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.page--nachrichten_thread .thread-context {
    padding: 0.9rem;
    position: sticky;
    top: 1rem;
}

.page--nachrichten_thread .thread-context img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.8rem;
    background: var(--surface-raised);
}

.page--nachrichten_thread .thread-context-title {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.35rem;
}

.page--nachrichten_thread .thread-context-meta {
    color: var(--muted);
    font-size: 0.94rem;
    margin-bottom: 0;
}

.page--nachrichten_thread .thread-panel {
    display: flex;
    flex-direction: column;
    min-height: 560px;
}

.page--nachrichten_thread .messages-area {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    overflow-y: auto;
}

.page--nachrichten_thread .message-item {
    max-width: min(72%, 620px);
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
    line-height: 1.45;
    word-break: break-word;
}

.page--nachrichten_thread .message-left {
    align-self: flex-start;
    background: var(--surface-raised);
}

.page--nachrichten_thread .message-right {
    align-self: flex-end;
    background: var(--accent-soft);
}

.page--nachrichten_thread .msg-timestamp {
    color: var(--muted);
    font-size: 0.875rem;
    margin-top: 0.4rem;
}

.page--nachrichten_thread .message-right .msg-timestamp {
    text-align: right;
}

.page--nachrichten_thread .reply-box {
    border-top: 1px solid var(--border);
    padding: 0.9rem;
    background: var(--surface-raised);
    margin-top: auto;
}

.page--nachrichten_thread .reply-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.65rem;
}

@media (max-width: 760px) {
.page--nachrichten_thread .thread-header {
        align-items: stretch;
        flex-direction: column;
    }

.page--nachrichten_thread .thread-layout {
        grid-template-columns: 1fr;
    }

.page--nachrichten_thread .thread-context {
        position: static;
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 0.75rem;
        align-items: center;
    }

.page--nachrichten_thread .thread-context img {
        margin: 0;
        aspect-ratio: 1;
    }

.page--nachrichten_thread .thread-panel {
        min-height: 62vh;
    }

.page--nachrichten_thread .message-item {
        max-width: 88%;
    }
}

/* neue_auktion.html */
.page--neue_auktion .auction-form-shell {
    max-width: 980px;
    margin: 0 auto;
}

.page--neue_auktion .auction-form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page--neue_auktion .auction-form-title {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    line-height: 1.15;
}

.page--neue_auktion .auction-form-note {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.page--neue_auktion .draft-status {
    flex: 0 0 auto;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    background: var(--surface-raised);
    font-size: 0.88rem;
    white-space: nowrap;
}

.page--neue_auktion .draft-status.is-saving {
    color: var(--warning);
    border-color: var(--warning-border);
    background: var(--warning-soft);
}

.page--neue_auktion .draft-status.is-saved {
    color: var(--success);
    border-color: var(--success-border);
    background: var(--success-soft);
}

.page--neue_auktion .auction-form-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 0.25rem 1rem var(--shadow-color);
}

.page--neue_auktion .auction-section {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.35rem;
    border-bottom: 1px solid var(--border);
}

.page--neue_auktion .auction-section:last-of-type {
    border-bottom: 0;
}

.page--neue_auktion .auction-step {
    display: flex;
    gap: 0.75rem;
}

.page--neue_auktion .auction-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: var(--accent);
    background: var(--accent-soft);
    font-weight: 600;
}

.page--neue_auktion .auction-section-title {
    margin: 0 0 0.25rem;
    font-size: 1.08rem;
    font-weight: 600;
}

.page--neue_auktion .auction-section-help {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.35;
}

.page--neue_auktion .auction-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.page--neue_auktion .auction-field-wide {
    grid-column: 1 / -1;
}

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

.page--neue_auktion .delivery-choice-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.page--neue_auktion .delivery-choice {
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-raised);
}

.page--neue_auktion .selected-template-panel {
    border: 1px solid var(--accent-border);
    border-radius: 8px;
    background: var(--accent-soft);
}

.page--neue_auktion .shipping-template-empty {
    padding: 1rem;
    color: var(--muted);
    border: 1px dashed var(--border-strong);
    border-radius: 8px;
}

.page--neue_auktion .auction-form-actions {
    display: flex;
    justify-content: flex-end;
    padding: 1.25rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 767px) {
.page--neue_auktion .auction-form-header,
.page--neue_auktion .auction-section,
.page--neue_auktion .auction-form-actions {
        display: flex;
        align-items: stretch;
        flex-direction: column;
    }

.page--neue_auktion .auction-field-grid,
.page--neue_auktion .delivery-choice-group {
        grid-template-columns: 1fr;
    }

.page--neue_auktion .draft-status {
        align-self: flex-start;
        white-space: normal;
    }
}

/* postausgang.html */
.page--postausgang .outbox-shell {
    max-width: 980px;
    margin: 0 auto;
}

.page--postausgang .outbox-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.page--postausgang .outbox-list {
    display: grid;
    gap: 0.75rem;
}

.page--postausgang .sent-row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    text-decoration: none;
    color: inherit;
}

.page--postausgang .sent-row:hover {
    border-color: var(--border-strong);
    color: inherit;
}

.page--postausgang .sent-thumb {
    width: 84px;
    aspect-ratio: 1;
    border-radius: 6px;
    object-fit: cover;
    background: var(--surface-raised);
}

.page--postausgang .sent-main {
    min-width: 0;
}

.page--postausgang .sent-title-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}

.page--postausgang .sent-title {
    font-weight: 700;
    color: var(--text);
}

.page--postausgang .sent-meta,
.page--postausgang .sent-preview {
    color: var(--muted);
    font-size: 0.94rem;
}

.page--postausgang .sent-preview {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page--postausgang .sent-actions {
    display: flex;
    justify-content: flex-end;
    white-space: nowrap;
}

.page--postausgang .empty-state {
    border: 1px dashed var(--border-strong);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    background: var(--surface-raised);
}

@media (max-width: 700px) {
.page--postausgang .outbox-header {
        align-items: stretch;
        flex-direction: column;
    }

.page--postausgang .sent-row {
        grid-template-columns: 64px minmax(0, 1fr);
    }

.page--postausgang .sent-thumb {
        width: 64px;
    }

.page--postausgang .sent-actions {
        grid-column: 1 / -1;
    }

.page--postausgang .sent-actions .btn {
        width: 100%;
    }
}

/* register.html */
.page--register .account-form-shell {
        max-width: 980px;
        margin: 0 auto;
    }

.page--register .account-form-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

.page--register .account-form-title {
        margin: 0;
        font-size: clamp(1.8rem, 4vw, 2.3rem);
        line-height: 1.15;
    }

.page--register .account-form-note {
        margin: 0.35rem 0 0;
        color: var(--muted);
    }

.page--register .account-form-card {
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--surface);
        box-shadow: 0 0.25rem 1rem var(--shadow-color);
    }

.page--register .account-section {
        padding: 1.25rem;
        border-bottom: 1px solid var(--border);
    }

.page--register .account-section:last-of-type {
        border-bottom: 0;
    }

.page--register .account-section-title {
        margin: 0 0 0.25rem;
        font-size: 1.15rem;
        font-weight: 600;
    }

.page--register .account-section-help {
        margin: 0 0 1rem;
        color: var(--muted);
        font-size: 0.94rem;
    }

.page--register .account-field-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

.page--register .account-field-wide {
        grid-column: 1 / -1;
    }

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

.page--register .account-form-actions {
        display: flex;
        justify-content: flex-end;
        gap: 0.75rem;
        padding: 1.25rem;
        border-top: 1px solid var(--border);
    }

@media (max-width: 575px) {
.page--register .account-form-header,
.page--register .account-form-actions {
            align-items: stretch;
            flex-direction: column;
        }

.page--register .account-field-grid {
            grid-template-columns: 1fr;
        }
}

/* send_invitation.html */
.page--send_invitation .invite-shell {
    max-width: 980px;
    margin: 0 auto;
}

.page--send_invitation .invite-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page--send_invitation .invite-layout {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.page--send_invitation .auction-context,
.page--send_invitation .invite-form {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.page--send_invitation .auction-context {
    padding: 1rem;
}

.page--send_invitation .auction-context img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    background: var(--surface-raised);
    margin-bottom: 0.85rem;
}

.page--send_invitation .auction-title {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.page--send_invitation .auction-meta {
    display: grid;
    gap: 0.3rem;
    color: var(--muted);
    font-size: 0.94rem;
}

.page--send_invitation .stored-note {
    border: 1px solid var(--accent-border);
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.9rem;
    margin-bottom: 1rem;
}

.page--send_invitation .invite-form {
    padding: 1.1rem;
}

.page--send_invitation .form-actions {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
}

.page--send_invitation .char-counter {
    color: var(--muted);
    float: right;
    font-size: 0.875rem;
    font-weight: 400;
}

@media (max-width: 760px) {
.page--send_invitation .invite-header,
.page--send_invitation .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

.page--send_invitation .invite-layout {
        grid-template-columns: 1fr;
    }

.page--send_invitation .form-actions .btn {
        width: 100%;
    }
}

/* transaction.html */
.page--transaction .transaction-shell {
        max-width: 1180px;
        margin: 0 auto;
    }

.page--transaction .transaction-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

.page--transaction .transaction-title {
        margin: 0;
        font-size: clamp(1.8rem, 4vw, 2.35rem);
        line-height: 1.15;
    }

.page--transaction .transaction-note {
        margin: 0.35rem 0 0;
        color: var(--muted);
    }

.page--transaction .transaction-grid {
        display: grid;
        grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.35fr);
        gap: 1.25rem;
        align-items: start;
    }

.page--transaction .transaction-panel {
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--surface);
        box-shadow: 0 0.25rem 1rem var(--shadow-color);
    }

.page--transaction .transaction-panel-section {
        padding: 1.25rem;
        border-bottom: 1px solid var(--border);
    }

.page--transaction .transaction-panel-section:last-child {
        border-bottom: 0;
    }

.page--transaction .transaction-image {
        aspect-ratio: 4 / 3;
        width: 100%;
        border-radius: 8px;
        object-fit: cover;
    }

.page--transaction .transaction-image-placeholder {
        display: grid;
        place-items: center;
        aspect-ratio: 4 / 3;
        border: 1px dashed var(--border-strong);
        border-radius: 8px;
        color: var(--muted);
        background: var(--surface-raised);
    }

.page--transaction .section-title {
        margin: 0 0 0.25rem;
        font-size: 1.15rem;
        font-weight: 600;
    }

.page--transaction .section-help {
        margin: 0 0 1rem;
        color: var(--muted);
        font-size: 0.94rem;
    }

.page--transaction .detail-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem 1rem;
    }

.page--transaction .detail-item {
        min-width: 0;
    }

.page--transaction .detail-item-wide {
        grid-column: 1 / -1;
    }

.page--transaction .detail-label {
        display: block;
        color: var(--muted);
        font-size: 0.875rem;
        margin-bottom: 0.15rem;
    }

.page--transaction .detail-value {
        display: block;
        font-weight: 600;
        overflow-wrap: anywhere;
    }

.page--transaction .status-timeline {
        display: grid;
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

.page--transaction .timeline-item {
        position: relative;
        padding: 0 0 1rem 2rem;
    }

.page--transaction .timeline-item:last-child {
        padding-bottom: 0;
    }

.page--transaction .timeline-item::before {
        content: "";
        position: absolute;
        left: 0.55rem;
        top: 0.45rem;
        bottom: -0.45rem;
        width: 1px;
        background: var(--border);
    }

.page--transaction .timeline-item:last-child::before {
        display: none;
    }

.page--transaction .timeline-dot {
        position: absolute;
        top: 0.25rem;
        left: 0.15rem;
        width: 0.8rem;
        height: 0.8rem;
        border-radius: 999px;
        background: var(--border-strong);
        border: 2px solid var(--surface);
        box-shadow: 0 0 0 1px var(--border-strong);
    }

.page--transaction .timeline-item.done .timeline-dot {
        background: var(--success);
        box-shadow: 0 0 0 1px var(--success);
    }

.page--transaction .timeline-title {
        margin: 0;
        font-weight: 600;
    }

.page--transaction .timeline-meta {
        margin: 0.15rem 0 0;
        color: var(--muted);
        font-size: 0.9rem;
    }

.page--transaction .action-stack {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

.page--transaction .shipping-fields {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        margin: 1rem 0;
    }

@media (max-width: 767px) {
.page--transaction .transaction-header {
            align-items: stretch;
            flex-direction: column;
        }

.page--transaction .transaction-grid,
.page--transaction .detail-grid,
.page--transaction .shipping-fields {
            grid-template-columns: 1fr;
        }

.page--transaction .action-stack .btn {
            width: 100%;
        }
}
