.hero-micro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.metric-card {
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: rgba(232, 242, 255, 0.55);
}

.metric-card span {
    display: block;
    color: var(--text-soft);
    margin-bottom: 0.4rem;
}

.metric-card strong {
    font-size: 1.15rem;
}

.metric-card-wide {
    grid-column: 1 / -1;
}

.path-card,
.integration-card,
.feature-card,
.diagram-card {
    height: 100%;
}

.timeline-diagram {
    display: grid;
    gap: 1rem;
}

.timeline-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.88);
}

.timeline-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-family: var(--font-mono);
}

.docs-entry-list {
    display: grid;
    gap: 1rem;
}

.docs-entry {
    padding-top: 1rem;
    border-top: 1px solid rgba(214, 224, 234, 0.75);
}

.docs-entry:first-child {
    padding-top: 0;
    border-top: 0;
}

.auth-main {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1rem;
    min-height: calc(100vh - 160px);
    padding: 2rem 0 4rem;
}

.auth-flash-wrap {
    width: min(calc(100% - 2rem), 1120px);
    margin: 0 auto;
}

.auth-panel,
.auth-panel-wide {
    width: min(calc(100% - 2rem), 1120px);
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
}

.auth-shell-header,
.auth-shell-footer {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(214, 224, 234, 0.8);
}

.auth-shell-footer {
    border-top: 1px solid rgba(214, 224, 234, 0.8);
    border-bottom: 0;
}

.pricing-card {
    display: grid;
    gap: 0.85rem;
}

.contact-grid {
    align-items: stretch;
}

.claim-card {
    display: grid;
    gap: 1rem;
}

.debug-reset-section {
    padding-bottom: 0;
}

.debug-reset-card {
    display: grid;
    gap: 1rem;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1.25rem 1.4rem;
    border: 1px solid rgba(189, 70, 70, 0.18);
    border-radius: var(--radius-md);
    background: rgba(251, 241, 241, 0.92);
}

.debug-reset-card h2 {
    margin-bottom: 0.45rem;
}

.logs-timeline {
    display: grid;
    gap: 1rem;
}

.log-entry-card {
    display: grid;
    gap: 0.9rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid rgba(214, 224, 234, 0.85);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.96);
}

.log-entry-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.log-entry-head time {
    color: var(--text-soft);
    white-space: nowrap;
}

.log-entry-summary {
    margin: 0;
    color: var(--text-soft);
}

.log-source-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(232, 242, 255, 0.8);
}

.log-entry-details {
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(244, 247, 250, 0.95);
    border: 1px solid rgba(214, 224, 234, 0.85);
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--text-soft);
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .auth-panel,
    .auth-panel-wide,
    .hero-micro-grid,
    .debug-reset-card {
        grid-template-columns: 1fr;
    }
}
