:root {
    color-scheme: light;
    font-family: Tahoma, "Segoe UI", sans-serif;
    background: #f5f7fb;
    color: #172033;
}

* { box-sizing: border-box; }
body { margin: 0; background: #f5f7fb; }
a { color: #175cd3; }
button, input, select { font: inherit; }

.sample-shell { min-height: 100vh; display: flex; flex-direction: column; }
.sample-header {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(260px, auto);
    gap: 1rem;
    align-items: center;
    padding: 1rem clamp(1rem, 4vw, 3rem);
    background: #fff;
    border-bottom: 1px solid #dfe5ef;
}
.sample-brand { display: block; color: #13294b; font-size: 1.1rem; font-weight: 800; text-decoration: none; }
.sample-subtitle { display: block; color: #667085; margin-top: .25rem; font-size: .85rem; }
.sample-header nav, .sample-auth, .sample-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.sample-header nav a { text-decoration: none; font-weight: 700; }
.sample-auth form { margin: 0; }
.sample-main { width: min(1180px, calc(100% - 2rem)); margin: 1.5rem auto; flex: 1; }
.sample-footer { padding: 1rem; text-align: center; color: #667085; }
.sample-hero { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.sample-hero h1 { margin: 0 0 .4rem; }
.sample-hero p { margin: 0; color: #475467; }
.sample-mode { border-radius: 999px; padding: .55rem .8rem; font-weight: 800; white-space: nowrap; }
.sample-mode-fake { color: #067647; background: #ecfdf3; border: 1px solid #abefc6; }
.sample-mode-real { color: #b42318; background: #fef3f2; border: 1px solid #fecdca; }
.sample-card, .sample-notice { background: #fff; border: 1px solid #dfe5ef; border-radius: 14px; padding: 1.25rem; box-shadow: 0 8px 22px rgba(16, 24, 40, .05); }
.sample-notice { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.sample-notice-success { border-color: #75e0a7; }
.sample-notice-error { border-color: #fda29b; }
.sample-tabs { display: flex; gap: .4rem; overflow-x: auto; padding: .25rem 0 .75rem; }
.sample-tabs button { border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; padding: .65rem .8rem; white-space: nowrap; cursor: pointer; }
.sample-tabs button.active { color: #fff; background: #175cd3; border-color: #175cd3; }
.sample-tab-panel { min-height: 330px; }
.sample-button { border: 0; border-radius: 8px; color: #fff; background: #175cd3; padding: .6rem .85rem; cursor: pointer; text-decoration: none; }
.sample-button-secondary { background: #6941c6; }
.sample-button-muted { background: #475467; }
.sample-button-danger { background: #b42318; }
.sample-inline-button { display: inline-block; margin: .4rem; }
.sample-health-grid { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: .75rem; }
.sample-health-item { display: flex; justify-content: space-between; gap: 1rem; border: 1px solid #e4e7ec; border-radius: 8px; padding: .75rem; }
.healthy { color: #067647; }
.unhealthy { color: #b42318; }
.sample-help { color: #667085; }
.sample-field { display: grid; gap: .4rem; max-width: 420px; margin-bottom: 1rem; }
.sample-field input, .sample-actions select { border: 1px solid #98a2b3; border-radius: 8px; padding: .65rem; }
.sample-safe-output { direction: ltr; text-align: left; white-space: pre-wrap; background: #101828; color: #d1fadf; border-radius: 8px; padding: 1rem; }
.sample-users { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.sample-users span { border-bottom: 1px solid #eaecf0; padding: .6rem; }
.sample-metrics { display: grid; grid-template-columns: repeat(4, minmax(110px, 1fr)); gap: .75rem; }
.sample-metrics div { border: 1px solid #e4e7ec; border-radius: 8px; padding: .75rem; }
.sample-metrics dt { color: #667085; }
.sample-metrics dd { margin: .4rem 0 0; font-size: 1.4rem; font-weight: 800; }
.sample-list { line-height: 2; }

@media (max-width: 850px) {
    .sample-header { grid-template-columns: 1fr; }
    .sample-hero { align-items: flex-start; flex-direction: column; }
    .sample-health-grid, .sample-users { grid-template-columns: 1fr; }
    .sample-metrics { grid-template-columns: repeat(2, minmax(100px, 1fr)); }
}

@media (max-width: 480px) {
    .sample-main { width: min(100% - 1rem, 1180px); margin-top: .75rem; }
    .sample-card { padding: .9rem; }
    .sample-button { width: 100%; text-align: center; }
    .sample-actions { align-items: stretch; flex-direction: column; }
}
