body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: #f8fafc;
    color: #0f172a;
}

.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.topbar h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.logout-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.15s ease;
}

.logout-link:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.notice {
    border-radius: 14px;
    padding: 14px 16px;
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.55;
    border: 1px solid transparent;
}

.notice-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.notice-warning {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.card h2 {
    margin: 0 0 18px 0;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
}


.meta {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    gap: 14px 18px;
    align-items: start;
}

.meta-label {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
}

.meta > div:not(.meta-label) {
    min-width: 0;
    line-height: 1.55;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn {
    appearance: none;
    border: 0;
    outline: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #f97316;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.22);
}

.btn-primary:hover {
    background: #ea580c;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.form-input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: #e2e8f0;
    color: #0f172a;
}

.badge-green {
    background: rgba(5, 150, 105, 0.12);
    color: #065f46;
}

.badge-red {
    background: rgba(220, 38, 38, 0.12);
    color: #991b1b;
}

.badge-orange {
    background: rgba(245, 158, 11, 0.14);
    color: #92400e;
}

.badge-blue {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

@media (max-width: 980px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .wrap {
        padding: 24px 16px 48px;
    }

    .topbar {
        align-items: stretch;
    }

    .topbar h1 {
        font-size: 28px;
    }

    .logout-link {
        width: 100%;
    }

    .meta {
        grid-template-columns: 1fr;
        gap: 6px 0;
    }

    .meta-label {
        margin-top: 8px;
    }

    .meta-label:first-child {
        margin-top: 0;
    }

    .card {
        padding: 20px;
        border-radius: 18px;
    }

    .actions {
        flex-direction: column;
    }

    .actions .btn,
    .actions a.btn,
    .actions button.btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .topbar h1 {
        font-size: 24px;
    }

    .card h2 {
        font-size: 20px;
    }

    .notice {
        font-size: 13px;
    }

    .btn {
        font-size: 14px;
    }
}

.btn-secondary {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
}

.btn-secondary:hover {
    background: #1e293b;
    border-color: #1e293b;
}
@media (max-width: 760px) {
    #twofa-qrcode {
        margin: 0 auto;
    }
}

#twofa {
    scroll-margin-top: 400px; /* Höhe deines Headers + etwas Luft */
}

/* Container */
.twofa-section {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

/* Titel */
.twofa-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #0f172a;
}

/* Beschreibung */
.twofa-description {
    margin: 0 0 14px 0;
    color: #475569;
    line-height: 1.6;
}

/* Meta Abstand */
.twofa-meta {
	margin-top: 16px;
    margin-bottom: 16px;
}

/* Setup Box */
.twofa-setup-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

/* Labels */
.twofa-label {
    margin-bottom: 8px;
}

/* QR Box */
.twofa-qr-box {
    width: 244px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px;
    box-sizing: border-box;
}

.twofa-qr-box img {
    display: block;
    width: 220px;
    height: 220px;
}

/* Hint */
.twofa-hint {
    margin-top: 8px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* Secret */
.twofa-secret {
    font-family: monospace;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
    border-radius: 10px;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

/* URI */
.twofa-uri {
    font-family: monospace;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.45;
    overflow: auto;
    max-height: 120px;
    overflow-wrap: anywhere;
}

/* Info Text */
.twofa-info {
    margin-bottom: 16px;
    color: #475569;
    line-height: 1.6;
}

/* Form */
.twofa-form {
    margin-bottom: 12px;
}

/* Input Gruppe */
.twofa-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.twofa-input-group label {
    font-weight: 600;
}
.anchor-offset {
    display: block;
    position: relative;
    top: -140px;
    visibility: hidden;
    height: 0;
    pointer-events: none;
}

.account-plan-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background:
        linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(15, 23, 42, 0.04)),
        #ffffff;
}

.account-plan-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.account-plan-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f97316;
    margin-bottom: 6px;
}

.account-plan-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.05;
    color: #0f172a;
}

.account-plan-status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.account-plan-paid-until {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.account-plan-side {
    display: flex;
    align-items: flex-start;
}

.account-plan-info-box {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.75);
    border: 1px solid #e2e8f0;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
}

.account-plan-usage {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.82);
    border: 1px solid #e2e8f0;
}

.account-plan-usage-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.account-plan-usage-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.account-plan-usage-subtitle {
    margin-top: 4px;
    color: #64748b;
    font-size: 14px;
}

.account-plan-usage-right {
    font-size: 15px;
    font-weight: 700;
    color: #f97316;
    white-space: nowrap;
}

.account-plan-progress {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 16px;
}

.account-plan-progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.account-plan-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.account-plan-stat {
    padding: 14px 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.account-plan-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 6px;
}

.account-plan-stat-label {
    font-size: 13px;
    color: #64748b;
}

.account-plan-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.account-plan-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.82);
    border: 1px solid #e2e8f0;
}

.account-plan-highlight-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff7ed;
    color: #f97316;
    font-weight: 800;
    font-size: 16px;
}

.account-plan-highlight-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.account-plan-highlight-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .account-plan-top {
        flex-direction: column;
    }

    .account-plan-title {
        font-size: 26px;
    }

    .account-plan-stats {
        grid-template-columns: 1fr;
    }

    .account-plan-side {
        width: 100%;
    }

    .account-plan-side .btn {
        width: 100%;
    }
}
.account-page .notice {
    margin-bottom: 16px;
}

.account-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.account-stack > .card {
    width: 100%;
}

.account-soft-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

.account-plan-card {
    border: 1px solid #e2e8f0;
    background:
        linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(15, 23, 42, 0.02)),
        #ffffff;
}

.account-plan-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.account-plan-kicker {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f97316;
    margin-bottom: 6px;
}

.account-plan-heading {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
    color: #0f172a;
}

.account-plan-head-actions {
    display: flex;
    align-items: flex-start;
}

.account-plan-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.account-plan-summary-item {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.82);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-plan-summary-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.account-plan-note {
    margin-bottom: 14px;
}

.account-plan-usage-card {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.86);
}

.account-plan-usage-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.account-plan-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.account-plan-section-subtitle {
    margin-top: 4px;
    color: #64748b;
    font-size: 14px;
}

.account-plan-usage-badge {
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #fed7aa;
}

.account-plan-progress {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 16px;
}

.account-plan-progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.account-plan-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.account-plan-stat-box {
    padding: 14px 12px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.account-plan-stat-value {
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.account-plan-stat-label {
    font-size: 13px;
    color: #64748b;
}

.account-plan-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.account-plan-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.82);
}

.account-plan-benefit-dot {
    width: 12px;
    height: 12px;
    margin-top: 6px;
    border-radius: 999px;
    background: #f97316;
    flex: 0 0 12px;
}

.account-plan-benefit-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.account-plan-benefit-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.account-danger-card {
    border-color: rgba(220, 38, 38, 0.25);
}

@media (max-width: 760px) {
    .account-plan-head {
        flex-direction: column;
    }

    .account-plan-head-actions {
        width: 100%;
    }

    .account-plan-head-actions .btn {
        width: 100%;
    }

    .account-plan-summary {
        grid-template-columns: 1fr;
    }

    .account-plan-usage-top {
        flex-direction: column;
    }

    .account-plan-stats {
        grid-template-columns: 1fr;
    }
}
.account-billing-box {
    margin-top: 18px;
    padding: 16px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.account-billing-box-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.account-billing-box-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.account-billing-box-subtitle {
    margin-top: 4px;
    font-size: 14px;
    color: #64748b;
}

.account-billing-box-pill {
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
    font-size: 13px;
    font-weight: 700;
}

.account-billing-progress {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 16px;
}

.account-billing-progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.account-billing-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.account-billing-stat {
    padding: 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
	text-align: center;
}

.account-billing-stat-value {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
    margin-bottom: 6px;
}

.account-billing-stat-label {
    font-size: 13px;
    color: #64748b;
}

.account-billing-feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.account-billing-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.account-billing-feature-dot {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 999px;
    background: #f97316;
    flex: 0 0 10px;
}

.account-billing-feature-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.account-billing-feature-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .account-billing-box-head {
        flex-direction: column;
    }

    .account-billing-stats {
        grid-template-columns: 1fr;
    }
}
.account-billing-team-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.account-billing-team-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

.account-billing-team-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.account-billing-seat {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-block;
    border: 2px solid #cbd5e1;
    background: #f8fafc;
}

.account-billing-seat.is-owner {
    background: #f97316;
    border-color: #f97316;
}

.account-billing-seat.is-active {
    background: #94a3b8;
    border-color: #94a3b8;
}

.account-billing-seat.is-invited {
    background: #facc15;
    border-color: #facc15;
}

.account-billing-seat.is-free {
    background: #ffffff;
    border-color: #cbd5e1;
}

.account-billing-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.account-billing-stat {
    min-width: 0;
    text-align: center;
    padding: 14px 10px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.account-billing-stat-value {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    color: #0f172a;
}

.account-billing-stat-label {
    margin-top: 6px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.2;
}
.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.account-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
}

.account-card h2 {
    margin-bottom: 14px;
    font-size: 18px;
}

.account-card .meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-bottom: 14px;
}

.account-card .actions {
    margin-top: 10px;
}

.account-card .muted {
    color: #64748b;
    font-size: 14px;
}

.account-card.danger {
    border-color: rgba(220,38,38,0.3);
}

.usage-box {
    margin: 10px 0;
}

.progress {
    height: 8px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
}

.progress div {
    height: 100%;
    background: #f97316;
}
.account-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.account-header h1 {
    margin-bottom: 6px;
}

.account-header p {
    color: #64748b;
}

.account-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.account-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
}

.account-card:hover {
    transform: translateY(-2px);
    border-color: #f97316;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.account-card.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.account-card.danger {
    border-color: rgba(220,38,38,0.3);
}

.card-icon {
    font-size: 22px;
}

.card-content h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
}

.card-content p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.mini-progress {
    height: 6px;
    background: #f1f5f9;
    border-radius: 999px;
    margin-top: 8px;
    overflow: hidden;
}

.mini-progress div {
    height: 100%;
    background: #f97316;
}

.danger-wrap {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.danger-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.danger-topbar h1 {
    margin: 0;
    font-size: 32px;
    color: #0f172a;
}

.danger-back {
    border: 1px solid #cbd5e1;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
}

.danger-card {
    background: #fff;
    border: 1px solid rgba(220,38,38,0.25);
    border-radius: 24px;
    padding: 26px;
}

.danger-title {
    font-size: 20px;
    font-weight: 800;
    color: #b91c1c;
    margin-bottom: 12px;
}

.danger-text {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 14px;
}

.danger-warning {
    background: rgba(220,38,38,0.08);
    border: 1px solid rgba(220,38,38,0.18);
    color: #b91c1c;
    padding: 14px;
    border-radius: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.form-input {
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px;
}

.btn-danger {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.btn-danger:hover {
    background: #b91c1c;
}
.account-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.account-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.account-header h1 {
    margin: 0 0 8px 0;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.account-header p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.account-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.account-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.account-card:hover {
    transform: translateY(-2px);
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
}

.account-card.disabled {
    opacity: 0.55;
    pointer-events: none;
}

.account-card.danger {
    border-color: rgba(220, 38, 38, 0.24);
    background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
}

.account-card.danger:hover {
    border-color: rgba(220, 38, 38, 0.38);
    background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
}

.account-card-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.account-card.account-card-profile .account-card-icon {
    background: rgba(249, 115, 22, 0.10);
    color: #ea580c;
    border-color: rgba(249, 115, 22, 0.16);
}

.account-card.account-card-security .account-card-icon {
    background: rgba(37, 99, 235, 0.10);
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.16);
}

.account-card.account-card-billing .account-card-icon {
    background: rgba(5, 150, 105, 0.10);
    color: #047857;
    border-color: rgba(5, 150, 105, 0.16);
}

.account-card.account-card-privacy .account-card-icon {
    background: rgba(14, 165, 233, 0.10);
    color: #0369a1;
    border-color: rgba(14, 165, 233, 0.16);
}

.account-card.account-card-api .account-card-icon {
    background: #f8fafc;
    color: #475569;
    border-color: #e2e8f0;
}

.account-card.account-card-danger .account-card-icon {
    background: rgba(220, 38, 38, 0.10);
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.16);
}

.account-card-content {
    min-width: 0;
    flex: 1;
}

.account-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.account-card h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.25;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.account-card-arrow {
    color: #94a3b8;
    flex: 0 0 auto;
}

.account-card p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.account-card-meta {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.account-mini-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    white-space: nowrap;
}

.account-mini-badge.green {
    background: rgba(5, 150, 105, 0.10);
    border-color: rgba(5, 150, 105, 0.14);
    color: #065f46;
}

.account-mini-badge.red {
    background: rgba(220, 38, 38, 0.10);
    border-color: rgba(220, 38, 38, 0.14);
    color: #b91c1c;
}

.account-mini-badge.orange {
    background: rgba(249, 115, 22, 0.10);
    border-color: rgba(249, 115, 22, 0.14);
    color: #c2410c;
}

.account-card-progress-wrap {
    margin-top: 12px;
}

.account-card-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
}

.account-card-progress {
    height: 8px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
}

.account-card-progress > div {
    height: 100%;
    background: #f97316;
    border-radius: 999px;
}

.account-card-footnote {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .account-header h1 {
        font-size: 28px;
    }

    .account-cards {
        grid-template-columns: 1fr;
    }

    .account-card {
        padding: 18px;
    }
}
.app-guide-wrap{
    max-width: 980px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.app-guide-topbar{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    margin-bottom:24px;
    flex-wrap:wrap;
}

.app-guide-topbar h1{
    margin:0 0 8px 0;
    font-size:32px;
    line-height:1.2;
}

.app-guide-topbar p{
    margin:0;
    color:#64748b;
    line-height:1.6;
    max-width:720px;
}

.app-guide-back{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    border-radius:12px;
    border:1px solid #e2e8f0;
    background:#fff;
    color:#0f172a;
    text-decoration:none;
    font-weight:600;
}

.app-guide-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.app-guide-card{
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:24px;
    padding:24px;
    box-shadow:0 12px 30px rgba(15,23,42,0.06);
}

.app-guide-card h2{
    margin:0 0 10px 0;
    font-size:24px;
    line-height:1.25;
}

.app-guide-card p{
    margin:0 0 14px 0;
    color:#475569;
    line-height:1.7;
}

.app-guide-steps{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:18px;
}

.app-guide-step{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding:14px 16px;
    border-radius:16px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
}

.app-guide-step-number{
    flex:0 0 auto;
    width:28px;
    height:28px;
    border-radius:999px;
    background:#f97316;
    color:#fff;
    font-size:14px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:2px;
}

.app-guide-step-content strong{
    display:block;
    margin-bottom:4px;
    color:#0f172a;
}

.app-guide-step-content span{
    color:#475569;
    line-height:1.6;
    display:block;
}

.app-guide-note{
    margin-top:20px;
    padding:16px 18px;
    border-radius:16px;
    background:#fff7ed;
    border:1px solid #fdba74;
    color:#9a3412;
    line-height:1.7;
}

.app-guide-tip{
    margin-top:20px;
    padding:18px;
    border-radius:18px;
    background:#eff6ff;
    border:1px solid #bfdbfe;
    color:#1e3a8a;
    line-height:1.7;
}

.app-guide-full{
    margin-top:20px;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:24px;
    padding:24px;
    box-shadow:0 12px 30px rgba(15,23,42,0.06);
}

.app-guide-full h2{
    margin:0 0 10px 0;
    font-size:24px;
}

.app-guide-full p{
    margin:0 0 14px 0;
    color:#475569;
    line-height:1.7;
}

@media (max-width: 860px){
    .app-guide-grid{
        grid-template-columns:1fr;
    }

    .app-guide-topbar h1{
        font-size:28px;
    }
}

<style>
.app-guide-wrap{
    max-width: 980px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.app-guide-wrap .topbar{
    margin-bottom:12px;
}

.app-guide-wrap .topbar h1{
    margin:0;
    font-size:32px;
    line-height:1.2;
}

.app-guide-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.app-guide-card{
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:24px;
    padding:24px;
    box-shadow:0 12px 30px rgba(15,23,42,0.06);
}

.app-guide-card h2{
    margin:0 0 10px 0;
    font-size:24px;
    line-height:1.25;
}

.app-guide-card p{
    margin:0 0 14px 0;
    color:#475569;
    line-height:1.7;
}

.app-guide-steps{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:18px;
}

.app-guide-step{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding:14px 16px;
    border-radius:16px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
}

.app-guide-step-number{
    flex:0 0 auto;
    width:28px;
    height:28px;
    border-radius:999px;
    background:#f97316;
    color:#fff;
    font-size:14px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:2px;
}

.app-guide-step-content strong{
    display:block;
    margin-bottom:4px;
    color:#0f172a;
}

.app-guide-step-content span{
    color:#475569;
    line-height:1.6;
    display:block;
}

.app-guide-note{
    margin-top:20px;
    padding:16px 18px;
    border-radius:16px;
    background:#fff7ed;
    border:1px solid #fdba74;
    color:#9a3412;
    line-height:1.7;
}

.app-guide-tip{
    margin-top:20px;
    padding:18px;
    border-radius:18px;
    background:#eff6ff;
    border:1px solid #bfdbfe;
    color:#1e3a8a;
    line-height:1.7;
}

.app-guide-full{
    margin-top:20px;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:24px;
    padding:24px;
    box-shadow:0 12px 30px rgba(15,23,42,0.06);
}

.app-guide-full h2{
    margin:0 0 10px 0;
    font-size:24px;
}

.app-guide-full p{
    margin:0 0 14px 0;
    color:#475569;
    line-height:1.7;
}

@media (max-width: 860px){
    .app-guide-grid{
        grid-template-columns:1fr;
    }

    .app-guide-wrap .topbar h1{
        font-size:28px;
    }
}


.privacy-page {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.privacy-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.privacy-topbar h1 {
    margin: 0 0 8px 0;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.privacy-topbar p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    max-width: 760px;
}

.privacy-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.15s ease;
}

.privacy-back-link:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.privacy-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.privacy-card-inner {
    padding: 26px 28px;
}

.privacy-card h2 {
    margin: 0 0 12px 0;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.privacy-card h3 {
    margin: 0 0 10px 0;
    font-size: 17px;
    line-height: 1.3;
    color: #0f172a;
}

.privacy-text {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.75;
}

.privacy-text + .privacy-text {
    margin-top: 14px;
}

.privacy-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 22px;
}

.privacy-info-box {
    padding: 18px 18px 16px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #fcfdff;
}

.privacy-highlight {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #fed7aa;
    background: #fffaf5;
    color: #9a3412;
    font-size: 14px;
    line-height: 1.65;
    margin-top: 16px;
}

.privacy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: #f97316;
    color: #ffffff;
    border-color: #f97316;
}

.btn-primary:hover {
    background: #ea580c;
    border-color: #ea580c;
}

.btn-secondary {
    background: #ffffff;
    color: #0f172a;
    border-color: #cbd5e1;
}

.btn-secondary:hover {
    background: #f8fafc;
}

.av-status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    border: 1px solid transparent;
}

.av-status.ok {
    background: rgba(5, 150, 105, 0.10);
    border-color: rgba(5, 150, 105, 0.16);
    color: #065f46;
}

.av-status.warn {
    background: rgba(249, 115, 22, 0.10);
    border-color: rgba(249, 115, 22, 0.16);
    color: #c2410c;
}

.av-meta {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px 16px;
    margin-top: 18px;
}

.av-meta-label {
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.av-meta-value {
    color: #0f172a;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .privacy-grid {
        grid-template-columns: 1fr;
    }

    .av-meta {
        grid-template-columns: 1fr;
        gap: 6px 0;
    }
}

@media (max-width: 768px) {
    .privacy-topbar h1 {
        font-size: 28px;
    }

    .privacy-card-inner {
        padding: 20px 18px;
    }

    .privacy-actions {
        flex-direction: column;
    }

    .privacy-actions .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .danger-topbar {
        align-items: stretch;
    }

    .danger-back {
        width: 100%;
    }
}

.account-card-progress {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.account-card-progress > div {
    height: 100%;
    border-radius: 999px;
    transition: width 0.25s ease, background 0.25s ease;
}

.account-card-progress > div.is-low {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.account-card-progress > div.is-mid {
    background: linear-gradient(90deg, #f59e0b 0%, #f97316 100%);
}

.account-card-progress > div.is-high {
    background: linear-gradient(90deg, #f97316 0%, #ef4444 100%);
}

.passkey-device-row{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px;
    border:1px solid #e2e8f0;
    border-radius:18px;
    background:#f8fafc;
    margin-bottom:12px;
}

.passkey-device-icon{
    width:42px;
    height:42px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff7ed;
    font-size:20px;
    flex:0 0 auto;
}

.passkey-device-info{
    flex:1;
    min-width:0;
}

.passkey-device-info strong{
    display:block;
    color:#0f172a;
    font-size:15px;
    margin-bottom:3px;
}

.passkey-device-info span{
    display:block;
    color:#64748b;
    font-size:13px;
    line-height:1.4;
}

.passkey-delete-btn{
    width:42px;
    height:42px;
    border:0;
    border-radius:14px;
    background:#fee2e2;
    color:#991b1b;
    cursor:pointer;
    font-size:18px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.passkey-delete-btn:hover{
    background:#fecaca;
}

@media (max-width: 1400px) {

    .meta {
        grid-template-columns: 1fr;
        gap: 6px 0;
    }

    .passkey-device-row {
        width: 100%;
        box-sizing: border-box;
    }
}