:root {
    --yrb-navy-950: #0f172a;
    --yrb-navy-900: #16233a;
    --yrb-navy-800: #22304a;
    --yrb-red-600: #c8102e;
    --yrb-red-700: #a80d27;
    --yrb-red-soft: rgba(200, 16, 46, 0.1);
    --yrb-white: #ffffff;
    --yrb-text: #111827;
    --yrb-text-soft: #475467;
    --yrb-bg: #f3f4f6;
    --yrb-surface: #ffffff;
    --yrb-surface-muted: #f8fafc;
    --yrb-border: #e5e7eb;
    --yrb-border-strong: #d0d5dd;
    --yrb-success: #15803d;
    --yrb-success-soft: rgba(21, 128, 61, 0.1);
    --yrb-warning: #b45309;
    --yrb-warning-soft: rgba(180, 83, 9, 0.1);
    --yrb-danger: #b91c1c;
    --yrb-danger-soft: rgba(185, 28, 28, 0.1);
    --yrb-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --yrb-shadow-md: 0 18px 48px rgba(15, 23, 42, 0.08);
    --yrb-radius-sm: 12px;
    --yrb-radius-md: 18px;
    --yrb-radius-lg: 24px;
    --yrb-radius-pill: 999px;
    --yrb-sidebar-width: 300px;
    --yrb-sidebar-collapsed-width: 92px;
    --yrb-topbar-height: 94px;
    --yrb-font: Inter, Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: var(--yrb-font);
    color: var(--yrb-text);
    background: var(--yrb-bg);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.yrb-admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: var(--yrb-sidebar-width) minmax(0, 1fr);
}

.yrb-admin-shell.is-sidebar-collapsed {
    grid-template-columns: var(--yrb-sidebar-collapsed-width) minmax(0, 1fr);
}

.yrb-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 28%),
        linear-gradient(180deg, var(--yrb-navy-900) 0%, var(--yrb-navy-950) 100%);
    color: rgba(255, 255, 255, 0.92);
    border-right: 1px solid rgba(255,255,255,0.06);
    z-index: 30;
}

.yrb-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 18px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.yrb-sidebar-collapse,
.yrb-icon-button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
}

.yrb-sidebar-collapse:hover,
.yrb-icon-button:hover {
    background: rgba(255,255,255,0.14);
}

.yrb-sidebar-collapse .yrb-icon,
.yrb-sidebar-collapse svg {
    transition: transform .2s ease;
}

.yrb-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.yrb-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(135deg, var(--yrb-red-600), #e23a55);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}

.yrb-brand-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.yrb-brand-copy strong,
.yrb-brand-copy small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yrb-brand-copy small {
    color: rgba(255,255,255,0.58);
    font-size: 12px;
}

.yrb-sidebar-scroll {
    padding: 12px 12px 24px;
    overflow-y: auto;
    height: calc(100vh - 84px);
}

.yrb-sidebar-group + .yrb-sidebar-group {
    margin-top: 12px;
}

.yrb-sidebar-group-title {
    padding: 10px 12px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.48);
}

.yrb-sidebar-nav {
    display: grid;
    gap: 6px;
}

.yrb-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 14px;
    color: rgba(255,255,255,0.78);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.yrb-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.yrb-nav-link.is-active {
    color: #fff;
    background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.yrb-nav-link-icon {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
}

.yrb-nav-link-text {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yrb-admin-shell.is-sidebar-collapsed .yrb-brand-copy,
.yrb-admin-shell.is-sidebar-collapsed .yrb-nav-link-text,
.yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-group-title {
    display: none;
}

.yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-brand {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-inline: 10px;
}

.yrb-admin-shell.is-sidebar-collapsed .yrb-brand-link {
    justify-content: center;
    flex: 0 0 auto;
}

.yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-collapse {
    display: inline-grid;
}

.yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-collapse .yrb-icon,
.yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-collapse svg {
    transform: rotate(180deg);
}

.yrb-admin-shell.is-sidebar-collapsed .yrb-nav-link {
    justify-content: center;
    padding-inline: 0;
}

.yrb-admin-main {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
}

.yrb-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: var(--yrb-topbar-height);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--yrb-border);
}

.yrb-topbar-head {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.yrb-topbar-mobile {
    display: none;
}

.yrb-topbar-copy h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.yrb-topbar-copy p {
    margin: 6px 0 0;
    color: var(--yrb-text-soft);
    font-size: 14px;
}

.yrb-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.yrb-search {
    position: relative;
    min-width: min(100%, 360px);
    width: 360px;
}

.yrb-search input {
    width: 100%;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--yrb-border);
    background: var(--yrb-surface);
    padding: 0 14px 0 42px;
    color: var(--yrb-text);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.yrb-search input:focus,
.form-group input:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06);
}

.yrb-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #64748b;
}

.yrb-button,
.btn {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .18s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.yrb-button:hover,
.btn:hover {
    transform: translateY(-1px);
}

.yrb-button--primary,
.btn-primary {
    background: var(--yrb-red-600);
    color: #fff;
    border-color: var(--yrb-red-600);
}

.yrb-button--primary:hover,
.btn-primary:hover {
    background: var(--yrb-red-700);
    border-color: var(--yrb-red-700);
}

.yrb-button--secondary,
.btn-secondary {
    background: var(--yrb-surface);
    color: var(--yrb-text);
    border-color: var(--yrb-border);
}

.yrb-button--ghost {
    background: transparent;
    color: var(--yrb-text-soft);
    border-color: var(--yrb-border);
}

.yrb-summary-icon,
.yrb-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.yrb-dropdown {
    position: relative;
}

.yrb-dropdown summary {
    list-style: none;
}

.yrb-dropdown summary::-webkit-details-marker {
    display: none;
}

.yrb-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 260px;
    background: var(--yrb-surface);
    border: 1px solid var(--yrb-border);
    border-radius: 18px;
    box-shadow: var(--yrb-shadow-md);
    padding: 8px;
    display: none;
}

.yrb-dropdown[open] .yrb-dropdown-menu {
    display: block;
}

.yrb-dropdown-item {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--yrb-text);
}

.yrb-dropdown-item:hover {
    background: var(--yrb-surface-muted);
}

.yrb-dropdown-item--button {
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.yrb-dropdown-item-icon {
    width: 18px;
    height: 18px;
    color: #64748b;
}

.yrb-profile-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 6px 10px 6px 6px;
    border-radius: 16px;
    border: 1px solid var(--yrb-border);
    background: var(--yrb-surface);
    cursor: pointer;
}

.yrb-profile-avatar {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--yrb-navy-950), var(--yrb-navy-800));
    color: #fff;
    font-weight: 700;
}

.yrb-profile-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.yrb-profile-copy strong,
.yrb-profile-copy small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yrb-profile-copy small {
    color: var(--yrb-text-soft);
}

.yrb-profile-card {
    display: grid;
    gap: 4px;
    padding: 10px 12px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--yrb-border);
}

.yrb-admin-content {
    padding: 28px;
}

.yrb-hero {
    margin-bottom: 24px;
}

.yrb-hero-main {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
    gap: 18px;
    padding: 24px;
    border-radius: var(--yrb-radius-lg);
    background:
        radial-gradient(circle at top right, rgba(200,16,46,0.08), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 1px solid var(--yrb-border);
    box-shadow: var(--yrb-shadow-sm);
}

.yrb-eyebrow {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: var(--yrb-radius-pill);
    background: var(--yrb-red-soft);
    color: var(--yrb-red-600);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.yrb-hero-copy h2 {
    margin: 12px 0 12px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.yrb-hero-copy p {
    margin: 0;
    max-width: 70ch;
    color: var(--yrb-text-soft);
    font-size: 15px;
    line-height: 1.8;
}

.yrb-hero-meta {
    display: grid;
    gap: 12px;
}

.yrb-hero-metric,
.yrb-panel,
.content-card,
.stat-card {
    padding: 18px;
    background: var(--yrb-surface);
    border: 1px solid var(--yrb-border);
    border-radius: var(--yrb-radius-md);
    box-shadow: var(--yrb-shadow-sm);
}

.yrb-hero-metric-label,
.yrb-panel-head p,
.yrb-stat-card-meta,
.page-header p,
.content-card p,
.stat-card span {
    color: var(--yrb-text-soft);
}

.yrb-hero-metric strong {
    display: block;
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.35;
}

.yrb-hero-metric small {
    display: block;
    margin-top: 8px;
    color: #667085;
}

.yrb-section {
    margin-bottom: 24px;
}

.yrb-section-head,
.yrb-panel-head,
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.yrb-section-head h3,
.yrb-panel-head h3,
.page-header h1 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.yrb-section-head p,
.yrb-panel-head p {
    margin: 6px 0 0;
    font-size: 14px;
}

.yrb-panel-link {
    color: var(--yrb-red-600);
    font-weight: 600;
}

.yrb-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.yrb-stat-card {
    transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}

.yrb-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--yrb-shadow-md);
}

.yrb-stat-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.yrb-stat-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--yrb-surface-muted);
    color: var(--yrb-navy-900);
}

.yrb-stat-card-label {
    font-weight: 600;
}

.yrb-stat-card-value,
.stat-card strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.yrb-stat-card--success .yrb-stat-card-icon {
    background: var(--yrb-success-soft);
    color: var(--yrb-success);
}

.yrb-stat-card--warning .yrb-stat-card-icon {
    background: var(--yrb-warning-soft);
    color: var(--yrb-warning);
}

.yrb-stat-card--danger .yrb-stat-card-icon {
    background: var(--yrb-danger-soft);
    color: var(--yrb-danger);
}

.yrb-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 16px;
    margin-bottom: 24px;
}

.yrb-column {
    min-width: 0;
}

.yrb-tabs {
    display: grid;
    gap: 14px;
}

.yrb-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.yrb-tab-button {
    min-height: 40px;
    padding: 0 14px;
    border-radius: var(--yrb-radius-pill);
    border: 1px solid var(--yrb-border);
    background: var(--yrb-surface-muted);
    color: var(--yrb-text-soft);
    cursor: pointer;
    font-weight: 600;
}

.yrb-tab-button.is-active {
    background: var(--yrb-navy-950);
    color: #fff;
    border-color: var(--yrb-navy-950);
}

.yrb-tab-panel {
    display: none;
}

.yrb-tab-panel.is-active {
    display: block;
}

.yrb-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.yrb-quick-card {
    min-width: 0;
    min-height: 88px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--yrb-border);
    background: var(--yrb-surface-muted);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    transition: border-color .2s ease, background-color .2s ease, transform .18s ease;
}

.yrb-quick-card:hover {
    border-color: #cbd5e1;
    background: #fff;
    transform: translateY(-1px);
}

.yrb-quick-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--yrb-navy-900);
    border: 1px solid var(--yrb-border);
}

.yrb-quick-card-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.yrb-quick-card-copy strong,
.yrb-quick-card-copy small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yrb-quick-card-copy small {
    color: var(--yrb-text-soft);
}

.yrb-quick-card-arrow {
    width: 18px;
    height: 18px;
    color: #94a3b8;
}

.yrb-list-stack,
.yrb-summary-stack {
    display: grid;
    gap: 10px;
}

.yrb-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--yrb-surface-muted);
    border: 1px solid var(--yrb-border);
}

.yrb-list-row-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.yrb-list-row-main span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yrb-list-row-icon {
    width: 18px;
    height: 18px;
    color: var(--yrb-navy-900);
}

.yrb-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: var(--yrb-radius-pill);
    background: #eef2ff;
    color: #3730a3;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.yrb-badge--danger {
    background: var(--yrb-danger-soft);
    color: var(--yrb-danger);
}

.yrb-board {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.yrb-panel--span-6 { grid-column: span 6; }
.yrb-panel--span-4 { grid-column: span 4; }
.yrb-panel--span-3 { grid-column: span 3; }

.yrb-panel-list {
    display: grid;
    gap: 10px;
}

.yrb-panel-list-item {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: var(--yrb-surface-muted);
    border: 1px solid var(--yrb-border);
}

.yrb-panel-list-copy {
    min-width: 0;
}

.yrb-panel-list-copy strong {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yrb-panel-list-copy p {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--yrb-text-soft);
    line-height: 1.55;
}

.yrb-panel-list-meta {
    display: grid;
    gap: 8px;
    justify-items: end;
    text-align: right;
}

.yrb-panel-list-meta small {
    color: #667085;
    font-size: 12px;
}

.yrb-summary-card {
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 1px solid var(--yrb-border);
}

.yrb-summary-card span {
    display: block;
    color: var(--yrb-text-soft);
    margin-bottom: 10px;
}

.yrb-summary-card strong {
    display: block;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.yrb-empty-state {
    padding: 24px;
    border: 1px dashed var(--yrb-border-strong);
    border-radius: 16px;
    background: var(--yrb-surface-muted);
    text-align: center;
    color: var(--yrb-text-soft);
}

.yrb-alert,
.alert {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    margin-bottom: 16px;
    background: #fff;
}

.yrb-alert-list,
.alert ul {
    margin: 0;
    padding-left: 18px;
}

.yrb-alert--success,
.alert-success {
    color: var(--yrb-success);
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.yrb-alert--danger,
.alert-danger {
    color: var(--yrb-danger);
    background: #fef2f2;
    border-color: #fecaca;
}

.btn-block {
    width: 100%;
}

.admin-login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(200,16,46,0.08), transparent 30%),
        radial-gradient(circle at bottom right, rgba(15,23,42,0.12), transparent 30%),
        var(--yrb-bg);
}

.admin-login-wrapper {
    width: 100%;
    max-width: 480px;
}

.admin-login-card {
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--yrb-border);
    box-shadow: var(--yrb-shadow-md);
}

.admin-kicker {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--yrb-red-soft);
    color: var(--yrb-red-600);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-login-head h1 {
    margin: 14px 0 8px;
}

.admin-login-head p {
    margin: 0 0 20px;
    color: var(--yrb-text-soft);
}

.admin-form {
    display: grid;
    gap: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid var(--yrb-border);
    background: #fff;
}

.checkbox {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--yrb-text-soft);
}

.back-link {
    margin-top: 18px;
}

.back-link a {
    color: var(--yrb-red-600);
}

/* legacy compatibility helpers */
.admin-body {
    min-height: 100vh;
}

.admin-shell {
    min-height: 100vh;
}

.page-header {
    margin-bottom: 16px;
}

.page-header p {
    margin: 6px 0 0;
}

.content-card {
    margin-top: 16px;
}

.check-list {
    margin: 0;
    padding-left: 18px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.stat-card {
    padding: 20px;
}

.yrb-sidebar-overlay {
    display: none;
}

@media (max-width: 1380px) {
    .yrb-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .yrb-topbar {
        padding-inline: 20px;
    }

    .yrb-admin-content {
        padding: 20px;
    }

    .yrb-hero-main,
    .yrb-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .yrb-panel--span-6,
    .yrb-panel--span-4,
    .yrb-panel--span-3 {
        grid-column: span 6;
    }

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

@media (max-width: 960px) {
    .yrb-admin-shell,
    .yrb-admin-shell.is-sidebar-collapsed {
        grid-template-columns: 1fr;
    }

    .yrb-topbar-mobile {
        display: block;
    }

    .yrb-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: min(86vw, 320px);
        transform: translateX(-100%);
        transition: transform .24s ease;
        box-shadow: var(--yrb-shadow-md);
    }

    body.is-sidebar-open .yrb-sidebar {
        transform: translateX(0);
    }

    .yrb-sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.46);
        z-index: 25;
    }

    body.is-sidebar-open .yrb-sidebar-overlay {
        display: block;
    }

    .yrb-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .yrb-topbar-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .yrb-search {
        width: 100%;
        min-width: 100%;
        order: 1;
    }
}

@media (max-width: 640px) {
    .yrb-admin-content {
        padding: 16px;
    }

    .yrb-topbar {
        padding: 16px;
    }

    .yrb-topbar-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .yrb-button,
    .btn,
    .yrb-profile-trigger {
        width: 100%;
        justify-content: center;
    }

    .yrb-profile-copy {
        min-width: 0;
    }

    .yrb-stat-grid,
    .stat-grid,
    .yrb-quick-grid,
    .yrb-board {
        grid-template-columns: 1fr;
    }

    .yrb-panel--span-6,
    .yrb-panel--span-4,
    .yrb-panel--span-3 {
        grid-column: span 1;
    }

    .yrb-panel-list-item,
    .yrb-list-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .yrb-panel-list-meta {
        justify-items: start;
        text-align: left;
    }
}


/* Mobile menu visibility hotfix */
.yrb-topbar-mobile {
    display: none;
}

@media (max-width: 1180px) {
    .yrb-topbar-mobile {
        display: block !important;
        flex: 0 0 auto;
    }

    .yrb-topbar-head {
        width: 100%;
    }

    .yrb-topbar-mobile .yrb-icon-button {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: var(--yrb-navy-950);
        color: #fff;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    }

    .yrb-topbar-mobile .yrb-icon-button:hover {
        background: var(--yrb-navy-900);
    }

    .yrb-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: min(86vw, 320px);
        transform: translateX(-100%);
        transition: transform .24s ease;
        box-shadow: var(--yrb-shadow-md);
    }

    body.is-sidebar-open {
        overflow: hidden;
    }

    body.is-sidebar-open .yrb-sidebar {
        transform: translateX(0);
    }

    .yrb-sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.46);
        z-index: 25;
        display: none;
    }

    body.is-sidebar-open .yrb-sidebar-overlay {
        display: block;
    }
}

@media (max-width: 960px) {
    .yrb-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .yrb-topbar-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .yrb-search {
        width: 100%;
        min-width: 100%;
        order: 1;
    }
}

@media (max-width: 640px) {
    .yrb-topbar-head {
        align-items: flex-start;
    }

    .yrb-topbar-copy h1 {
        font-size: 22px;
    }

    .yrb-topbar-copy p {
        font-size: 13px;
        line-height: 1.5;
    }

    .yrb-dropdown,
    .yrb-dropdown summary,
    .yrb-button,
    .yrb-profile-trigger {
        width: 100%;
    }

    .yrb-dropdown-menu {
        left: 0;
        right: auto;
        width: min(100%, 320px);
    }
}


/* mobile drawer + sidebar state hard fixes */
body.is-sidebar-locked {
    overflow: hidden;
}

@media (max-width: 1180px) {
    .yrb-admin-shell,
    .yrb-admin-shell.is-sidebar-collapsed {
        grid-template-columns: 1fr;
    }

    .yrb-topbar-mobile {
        display: block;
        flex: 0 0 auto;
    }

    .yrb-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: min(84vw, 320px);
        max-width: 320px;
        transform: translateX(calc(-100% - 16px));
        transition: transform .26s ease;
        box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24);
    }

    body.is-sidebar-open .yrb-sidebar {
        transform: translateX(0);
    }

    .yrb-sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.46);
        z-index: 25;
    }

    body.is-sidebar-open .yrb-sidebar-overlay {
        display: block;
    }

    .yrb-sidebar-collapse {
        display: none;
    }

    .yrb-admin-shell.is-sidebar-collapsed .yrb-brand-copy,
    .yrb-admin-shell.is-sidebar-collapsed .yrb-nav-link-text,
    .yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-group-title {
        display: block;
    }

    .yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-brand,
    .yrb-admin-shell.is-sidebar-collapsed .yrb-brand-link,
    .yrb-admin-shell.is-sidebar-collapsed .yrb-nav-link {
        justify-content: flex-start;
    }

    .yrb-admin-shell.is-sidebar-collapsed .yrb-nav-link {
        padding-inline: 12px;
    }

    .yrb-topbar {
        align-items: stretch;
        flex-direction: column;
        padding: 16px;
        gap: 14px;
    }

    .yrb-topbar-head {
        align-items: flex-start;
    }

    .yrb-topbar-copy h1 {
        font-size: 22px;
    }

    .yrb-topbar-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        justify-content: stretch;
    }

    .yrb-search {
        width: 100%;
        min-width: 100%;
        order: 3;
    }

    .yrb-button,
    .yrb-profile-trigger,
    .yrb-dropdown,
    .yrb-dropdown > summary {
        width: 100%;
    }

    .yrb-dropdown-menu {
        width: 100%;
        left: 0;
        right: auto;
    }

    .yrb-dropdown-menu--profile {
        right: 0;
        left: 0;
        width: 100%;
    }

    .yrb-admin-content {
        padding: 16px;
    }

    .yrb-premium-stat-grid,
    .yrb-stat-grid,
    .stat-grid,
    .yrb-quick-grid,
    .yrb-board {
        grid-template-columns: 1fr !important;
    }

    .yrb-panel--span-6,
    .yrb-panel--span-4,
    .yrb-panel--span-3 {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .yrb-topbar-copy p {
        font-size: 13px;
        line-height: 1.5;
    }

    .yrb-panel-list-item,
    .yrb-list-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .yrb-panel-list-meta {
        justify-items: start;
        text-align: left;
        width: 100%;
    }
}


/* Modül ekranları: Site Ayarları + SEO + Menü + Ana Sayfa Blokları */
.yrb-module-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.yrb-module-stat-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--yrb-border);
    border-radius: 18px;
    box-shadow: var(--yrb-shadow-sm);
    padding: 18px;
    display: grid;
    gap: 8px;
}

.yrb-module-stat-label {
    color: var(--yrb-text-soft);
    font-size: 13px;
    font-weight: 600;
}

.yrb-module-stat-card strong {
    font-size: 28px;
    line-height: 1;
    color: var(--yrb-navy-950);
}

.yrb-module-stat-card small {
    color: var(--yrb-text-soft);
    line-height: 1.5;
}

.yrb-module-card {
    overflow: hidden;
}

.yrb-section-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--yrb-navy-900);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.yrb-anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.yrb-anchor-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--yrb-border);
    color: var(--yrb-text);
    box-shadow: var(--yrb-shadow-sm);
    transition: .2s ease;
}

.yrb-anchor-chip:hover {
    border-color: rgba(200,16,46,.22);
    color: var(--yrb-red-600);
}

.settings-submit-row--sticky {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    padding-top: 16px;
    background: linear-gradient(180deg, rgba(243,244,246,0) 0%, rgba(243,244,246,0.9) 35%, rgba(243,244,246,1) 100%);
}

.yrb-empty-inline {
    min-height: 120px;
    display: grid;
    place-items: center;
    gap: 6px;
    text-align: center;
    color: var(--yrb-text-soft);
    padding: 18px;
}

.yrb-empty-inline strong {
    color: var(--yrb-text);
}

.yrb-helper-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.yrb-helper-item {
    border: 1px solid var(--yrb-border);
    border-radius: 16px;
    background: #fff;
    padding: 16px;
    display: grid;
    gap: 6px;
}

.yrb-helper-item strong {
    color: var(--yrb-navy-950);
}

.yrb-helper-item span {
    color: var(--yrb-text-soft);
    line-height: 1.6;
}

.yrb-header-actions-stack {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-info-soft {
    background: rgba(29, 78, 216, 0.1);
    color: #1d4ed8;
}

.badge-warning-soft {
    background: rgba(180, 83, 9, 0.12);
    color: #b45309;
}

@media (max-width: 1180px) {
    .yrb-module-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yrb-helper-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .yrb-module-stat-grid {
        grid-template-columns: 1fr;
    }

    .yrb-anchor-nav {
        overflow-x: auto;
        padding-bottom: 6px;
        flex-wrap: nowrap;
    }

    .yrb-anchor-chip {
        white-space: nowrap;
    }

    .settings-submit-row--sticky {
        position: static;
        background: transparent;
    }
}

/* Kırık modül onarımları: yalnız eksik sınıflar ve ham form/tablo görünümleri */
.settings-form {
    display: grid;
    gap: 18px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.settings-grid > * {
    min-width: 0;
    grid-column: span 12;
}

.settings-grid-2 > * {
    grid-column: span 6;
}

.settings-grid-3 > * {
    grid-column: span 4;
}

.settings-grid-span-2 {
    grid-column: span 12;
}

.card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.card-head h2,
.current-media-card h3 {
    margin: 0;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.card-head p,
.section-note,
.form-hint,
.field-hint,
.table-subline,
.inline-note-box,
.brand-help-box,
.media-preview-meta p {
    margin: 6px 0 0;
    color: var(--yrb-text-soft);
    font-size: 13px;
    line-height: 1.6;
}

.form-group {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-select,
.form-textarea,
.table-order-input {
    width: 100%;
    border: 1px solid var(--yrb-border);
    background: #fff;
    color: var(--yrb-text);
    border-radius: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form-group input,
.form-group select,
.form-select,
.table-order-input {
    min-height: 48px;
    padding: 0 14px;
}

.form-group input[type="file"] {
    min-height: auto;
    padding: 12px 14px;
}

.form-group textarea,
.form-textarea {
    min-height: 120px;
    padding: 12px 14px;
    resize: vertical;
}

.table-order-input {
    min-height: 40px;
    max-width: 96px;
    padding-inline: 12px;
}

code {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 10px;
    background: var(--yrb-surface-muted);
    border: 1px solid var(--yrb-border);
    color: var(--yrb-navy-900);
    font-size: 12px;
    word-break: break-all;
}

.page-actions,
.settings-submit-row,
.filter-actions-inline,
.page-header-buttons,
.yrb-header-actions-stack,
.asset-inline-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.settings-submit-row {
    justify-content: flex-end;
}

.sticky-actions,
.settings-submit-row--sticky {
    position: sticky;
    bottom: 12px;
    z-index: 4;
}

.inline-note-box,
.brand-help-box,
.soft-panel,
.current-media-card,
.filter-card,
.yrb-helper-item {
    border: 1px solid var(--yrb-border);
    background: var(--yrb-surface-muted);
    border-radius: 16px;
}

.inline-note-box,
.brand-help-box,
.soft-panel {
    padding: 14px 16px;
}

.filter-card,
.current-media-card {
    padding: 18px;
}

.current-media-card {
    display: grid;
    gap: 14px;
}

.media-preview-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.media-preview-meta {
    min-width: 0;
    display: grid;
    gap: 10px;
}

.checkbox-stack {
    display: grid;
    gap: 12px;
    align-content: start;
}

.checkbox-card,
.checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.checkbox-card {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--yrb-border);
    border-radius: 14px;
    background: #fff;
}

.checkbox-card input,
.checkbox-inline input {
    width: 18px;
    height: 18px;
    accent-color: var(--yrb-red-600);
}

.btn-danger-outline {
    background: #fff;
    color: var(--yrb-danger);
    border-color: rgba(185, 28, 28, 0.24);
}

.btn-danger-outline:hover {
    background: var(--yrb-danger-soft);
    border-color: rgba(185, 28, 28, 0.32);
}

.btn-danger {
    background: var(--yrb-danger);
    color: #fff;
    border-color: var(--yrb-danger);
}

.btn-sm {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.badge-muted {
    background: rgba(71, 84, 103, 0.1);
    color: #475467;
}

.badge-success-soft,
.badge-success {
    background: rgba(21, 128, 61, 0.1);
    color: #15803d;
}

.badge-info-soft {
    background: rgba(29, 78, 216, 0.1);
    color: #1d4ed8;
}

.badge-warning-soft {
    background: rgba(180, 83, 9, 0.12);
    color: #b45309;
}

.admin-list-table-wrap,
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-list-table,
.admin-table {
    width: 100%;
    min-width: 920px;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-list-table thead th,
.admin-table thead th {
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--yrb-navy-900);
    background: var(--yrb-surface-muted);
    padding: 14px 12px;
    border-bottom: 1px solid var(--yrb-border);
}

.admin-list-table thead th:first-child,
.admin-table thead th:first-child {
    border-top-left-radius: 14px;
}

.admin-list-table thead th:last-child,
.admin-table thead th:last-child {
    border-top-right-radius: 14px;
}

.admin-list-table tbody td,
.admin-table tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--yrb-border);
    vertical-align: top;
    line-height: 1.55;
}

.admin-list-table tbody tr:last-child td,
.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-list-table tbody td:last-child,
.admin-table tbody td:last-child {
    white-space: nowrap;
}

.admin-list-table strong,
.admin-table strong {
    color: var(--yrb-navy-950);
}

.table-subline {
    display: block;
}

.admin-thumb,
.admin-thumb-lg,
.asset-preview-frame img {
    display: block;
}

.admin-thumb {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid var(--yrb-border);
    background: #fff;
}

.admin-thumb-lg {
    width: 220px;
    max-width: 100%;
    height: 148px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid var(--yrb-border);
    background: #fff;
}

.admin-thumb-placeholder,
.asset-preview-empty {
    border: 1px dashed var(--yrb-border-strong);
    background: #fff;
    color: var(--yrb-text-soft);
    border-radius: 16px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 16px;
}

.admin-thumb-placeholder {
    width: 68px;
    height: 68px;
    font-size: 12px;
}

.asset-preview-grid,
.hero-slider-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

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

.asset-preview-card,
.hero-slide-row {
    border: 1px solid var(--yrb-border);
    background: var(--yrb-surface-muted);
    border-radius: 18px;
    padding: 16px;
    display: grid;
    gap: 14px;
}

.asset-preview-head,
.hero-slider-admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.asset-preview-label {
    font-weight: 700;
    color: var(--yrb-navy-900);
}

.asset-preview-frame {
    min-height: 180px;
    border: 1px solid var(--yrb-border);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.asset-preview-frame-wide {
    min-height: 220px;
}

.asset-preview-frame-tall {
    min-height: 280px;
}

.asset-preview-frame-favicon {
    min-height: 120px;
}

.asset-preview-frame img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.hero-slide-row[data-is-removed="1"],
.is-hidden {
    display: none !important;
}

.editor-area {
    min-height: 220px;
}

.yrb-module-card {
    overflow: hidden;
}

.yrb-module-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.yrb-module-stat-card {
    min-width: 0;
}

.yrb-empty-inline {
    min-height: 120px;
    display: grid;
    place-items: center;
    gap: 6px;
    text-align: center;
    color: var(--yrb-text-soft);
    padding: 18px;
}

@media (max-width: 1180px) {
    .settings-grid-3 > * {
        grid-column: span 6;
    }

    .asset-preview-grid,
    .hero-slider-admin-grid,
    .yrb-module-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .settings-grid-2 > *,
    .settings-grid-3 > * {
        grid-column: span 12;
    }

    .asset-preview-grid,
    .hero-slider-admin-grid,
    .yrb-module-stat-grid,
    .media-preview-row {
        grid-template-columns: 1fr;
    }

    .page-actions,
    .settings-submit-row,
    .page-header-buttons,
    .filter-actions-inline,
    .asset-inline-actions {
        align-items: stretch;
    }

    .page-actions > *,
    .settings-submit-row > *,
    .page-header-buttons > *,
    .filter-actions-inline > *,
    .asset-inline-actions > * {
        width: 100%;
    }

    .sticky-actions,
    .settings-submit-row--sticky {
        position: static;
    }

    .admin-list-table,
    .admin-table {
        min-width: 760px;
    }
}

/* Yetki + operasyon ekranları hotfix */
.yrb-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.yrb-page-head__main h1,
.yrb-page-head__main h2 {
    margin: 0;
    color: var(--yrb-navy-950);
    letter-spacing: -0.02em;
}

.yrb-page-head__main p {
    margin: 8px 0 0;
    color: var(--yrb-text-soft);
    line-height: 1.65;
}

.yrb-page-head__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-header-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.page-header-actions > div:first-child {
    min-width: 0;
    flex: 1 1 420px;
}

.page-header-actions > .btn,
.page-header-actions > a,
.page-header-actions > .yrb-button {
    flex: 0 0 auto;
}

.yrb-filter-card {
    padding: 18px;
    background: var(--yrb-surface);
    border: 1px solid var(--yrb-border);
    border-radius: 18px;
    box-shadow: var(--yrb-shadow-sm);
    margin-bottom: 18px;
}

.yrb-filter-grid,
.admin-filter-bar {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.yrb-filter-grid > *,
.admin-filter-bar > * {
    min-width: 0;
}

.yrb-filter-col,
.filter-field {
    grid-column: span 3;
    display: grid;
    gap: 8px;
}

.yrb-filter-col--wide,
.filter-field-grow {
    grid-column: span 6;
}

.yrb-filter-col label,
.filter-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--yrb-navy-900);
}

.yrb-filter-actions,
.filter-actions {
    grid-column: span 3;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.yrb-filter-card input[type="text"],
.yrb-filter-card input[type="search"],
.admin-filter-bar input[type="text"],
.admin-filter-bar input[type="search"],
.admin-filter-bar input[type="email"],
.admin-filter-bar select,
.yrb-filter-card select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--yrb-border);
    border-radius: 14px;
    background: #fff;
    color: var(--yrb-text);
}

.yrb-data-card {
    padding: 18px;
    background: var(--yrb-surface);
    border: 1px solid var(--yrb-border);
    border-radius: 18px;
    box-shadow: var(--yrb-shadow-sm);
}

.yrb-list-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--yrb-red-600);
    font-weight: 600;
}

.yrb-status,
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid transparent;
}

.yrb-status--muted,
.status-muted,
.status-draft,
.status-archived,
.status-inactive,
.status-passive,
.status-pasif,
.status-disabled,
.status-badge.status-draft,
.status-badge.status-archived {
    background: rgba(71, 84, 103, 0.1);
    color: #475467;
}

.yrb-status--success,
.status-published,
.status-active,
.status-approved,
.status-contacted,
.status-sent,
.status-open,
.status-aktif,
.status-acik,
.status-badge.status-published,
.status-badge.status-approved,
.status-badge.status-contacted,
.status-badge.status-active {
    background: rgba(21, 128, 61, 0.1);
    color: #15803d;
}

.yrb-status--warning,
.status-pending,
.status-in_review,
.status-new,
.status-queued,
.status-badge.status-pending,
.status-badge.status-new,
.status-badge.status-in_review {
    background: rgba(180, 83, 9, 0.12);
    color: #b45309;
}

.yrb-status--danger,
.status-rejected,
.status-failed,
.status-closed,
.status-danger,
.status-badge.status-rejected,
.status-badge.status-failed {
    background: rgba(185, 28, 28, 0.1);
    color: #b91c1c;
}

.yrb-status--info,
.status-read,
.status-info,
.status-badge.status-read {
    background: rgba(29, 78, 216, 0.1);
    color: #1d4ed8;
}

.yrb-empty-copy {
    color: var(--yrb-text-soft);
    line-height: 1.65;
}

@media (max-width: 1100px) {
    .yrb-filter-col,
    .filter-field,
    .yrb-filter-col--wide,
    .filter-field-grow,
    .yrb-filter-actions,
    .filter-actions {
        grid-column: span 6;
    }
}

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

    .yrb-page-head__actions,
    .page-header-actions > .btn,
    .page-header-actions > a,
    .page-header-actions > .yrb-button {
        width: 100%;
    }

    .yrb-filter-col,
    .filter-field,
    .yrb-filter-col--wide,
    .filter-field-grow,
    .yrb-filter-actions,
    .filter-actions {
        grid-column: span 12;
    }

    .yrb-filter-actions .btn,
    .filter-actions .btn,
    .yrb-filter-actions .yrb-button,
    .filter-actions a {
        flex: 1 1 100%;
    }
}

/* Site yedekleri modülü */
.yrb-backup-warning {
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid rgba(180, 83, 9, 0.22);
    border-radius: 16px;
    background: rgba(180, 83, 9, 0.08);
    color: #7c2d12;
    line-height: 1.6;
}

.yrb-backup-warning code {
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: #0f172a;
}

.yrb-row-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.yrb-row-actions form {
    margin: 0;
}

.badge-warning {
    background: rgba(180, 83, 9, 0.12);
    color: #b45309;
}

.badge-danger {
    background: rgba(185, 28, 28, 0.1);
    color: #b91c1c;
}

/* Accordion admin sidebar - added for grouped navigation */
.yrb-sidebar-accordion {
    border-radius: 16px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.055);
    overflow: hidden;
}

.yrb-sidebar-accordion.is-active {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.10);
}

.yrb-sidebar-group-toggle {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 0;
    border-radius: 0;
    padding: 10px 12px;
    background: transparent;
    color: rgba(255,255,255,0.86);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.yrb-sidebar-group-toggle:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.yrb-sidebar-group-toggle-main,
.yrb-sidebar-group-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.yrb-sidebar-group-icon {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: rgba(255,255,255,0.70);
}

.yrb-sidebar-group-toggle .yrb-sidebar-group-title {
    padding: 0;
    color: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yrb-sidebar-group-chevron {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    color: rgba(255,255,255,0.54);
    transition: transform .18s ease;
}

.yrb-sidebar-accordion.is-open .yrb-sidebar-group-chevron {
    transform: rotate(180deg);
}

.yrb-sidebar-accordion .yrb-sidebar-nav {
    display: none;
    padding: 4px 8px 10px;
}

.yrb-sidebar-accordion.is-open .yrb-sidebar-nav {
    display: grid;
}

.yrb-sidebar-accordion .yrb-nav-link {
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 12px;
}

.yrb-nav-link {
    position: relative;
}

.yrb-nav-link .yrb-nav-link-text {
    flex: 1 1 auto;
}

.yrb-nav-badge {
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0,0,0,.20);
}

.yrb-nav-badge--danger {
    background: #e30613;
}

.yrb-nav-badge--warning {
    background: #b45309;
}

.yrb-nav-badge--info {
    background: #1d4ed8;
}

.yrb-nav-badge--success {
    background: #15803d;
}

.yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-group-toggle {
    justify-content: center;
    padding-inline: 0;
}

.yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-group-toggle .yrb-sidebar-group-title,
.yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-group-chevron,
.yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-group-meta .yrb-nav-badge,
.yrb-admin-shell.is-sidebar-collapsed .yrb-nav-link .yrb-nav-badge {
    display: none;
}

.yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-accordion .yrb-sidebar-nav {
    display: grid;
    padding: 4px 8px 10px;
}

@media (max-width: 1180px) {
    .yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-group-toggle .yrb-sidebar-group-title,
    .yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-group-chevron,
    .yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-group-meta .yrb-nav-badge,
    .yrb-admin-shell.is-sidebar-collapsed .yrb-nav-link .yrb-nav-badge {
        display: inline-flex;
    }

    .yrb-admin-shell.is-sidebar-collapsed .yrb-sidebar-group-toggle {
        justify-content: space-between;
        padding-inline: 12px;
    }
}


/* Topbar logo + clean actions patch */
.yrb-topbar--clean {
    min-height: 86px;
    gap: 20px;
}

.yrb-topbar-actions--clean {
    flex: 0 0 auto;
    min-width: 0;
}

.yrb-brand-mark--image {
    background: rgba(255, 255, 255, 0.96);
    padding: 5px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 24px rgba(15, 23, 42, 0.16);
}

.yrb-brand-mark--image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.yrb-site-preview-button {
    white-space: nowrap;
}

.yrb-system-alert-trigger {
    min-height: 46px;
    min-width: 48px;
    padding: 0 12px;
    border-radius: 16px;
    border: 1px solid var(--yrb-border);
    background: var(--yrb-surface);
    color: var(--yrb-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: transform .18s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.yrb-system-alert-trigger::-webkit-details-marker {
    display: none;
}

.yrb-system-alert-trigger:hover {
    transform: translateY(-1px);
    background: var(--yrb-surface-muted);
}

.yrb-system-alert-trigger--danger {
    color: var(--yrb-danger);
    border-color: rgba(185, 28, 28, 0.24);
    background: var(--yrb-danger-soft);
}

.yrb-system-alert-trigger--warning {
    color: var(--yrb-warning);
    border-color: rgba(180, 83, 9, 0.24);
    background: var(--yrb-warning-soft);
}

.yrb-system-alert-trigger--success {
    color: var(--yrb-success);
    border-color: rgba(21, 128, 61, 0.22);
    background: var(--yrb-success-soft);
}

.yrb-system-alert-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.yrb-system-alert-icon .yrb-icon,
.yrb-system-alert-icon svg {
    width: 20px;
    height: 20px;
}

.yrb-system-alert-text {
    font-weight: 700;
    font-size: 14px;
}

.yrb-topbar-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.yrb-topbar-badge--danger {
    color: #fff;
    background: var(--yrb-danger);
}

.yrb-topbar-badge--warning {
    color: #fff;
    background: var(--yrb-warning);
}

.yrb-topbar-badge--success {
    color: #fff;
    background: var(--yrb-success);
}

.yrb-dropdown-menu--system {
    width: 310px;
}

.yrb-dropdown-section-title {
    padding: 8px 10px 10px;
    color: var(--yrb-text-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.yrb-dropdown-empty {
    display: grid;
    gap: 3px;
    padding: 12px;
    border-radius: 14px;
    color: var(--yrb-text);
    background: var(--yrb-success-soft);
}

.yrb-dropdown-empty span {
    color: var(--yrb-text-soft);
    font-size: 13px;
    line-height: 1.45;
}

.yrb-dropdown-item--with-badge {
    justify-content: flex-start;
}

.yrb-dropdown-item--with-badge .yrb-nav-badge {
    margin-left: auto;
}

.yrb-profile-trigger--wide {
    min-width: 210px;
    max-width: 280px;
    padding-right: 12px;
}

.yrb-profile-trigger--wide .yrb-profile-copy {
    min-width: 112px;
    max-width: 184px;
}

.yrb-profile-trigger--wide .yrb-profile-copy strong {
    font-size: 14px;
}

.yrb-profile-trigger--wide .yrb-profile-copy small {
    font-size: 12px;
}

.yrb-profile-card small {
    color: var(--yrb-text-soft);
    font-size: 12px;
}

@media (max-width: 1320px) {
    .yrb-system-alert-text {
        display: none;
    }

    .yrb-profile-trigger--wide {
        min-width: 176px;
        max-width: 220px;
    }
}

@media (max-width: 1180px) {
    .yrb-topbar--clean {
        min-height: auto;
    }

    .yrb-topbar-actions--clean {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .yrb-profile-trigger--wide,
    .yrb-system-alert-trigger,
    .yrb-site-preview-button,
    .yrb-dropdown--quick > summary {
        width: 100%;
        max-width: none;
        justify-content: center;
    }

    .yrb-profile-trigger--wide .yrb-profile-copy {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .yrb-topbar-actions--clean {
        grid-template-columns: 1fr;
    }

    .yrb-system-alert-text {
        display: inline;
    }

    .yrb-dropdown-menu--system {
        width: 100%;
    }
}

/* Hata İzleme ekranları - premium admin UI */
.yrb-error-page {
    display: grid;
    gap: 18px;
}

.yrb-error-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.yrb-error-stat,
.yrb-error-card {
    background: var(--yrb-surface);
    border: 1px solid var(--yrb-border);
    border-radius: 20px;
    box-shadow: var(--yrb-shadow-sm);
}

.yrb-error-stat {
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.yrb-error-stat::after {
    content: "";
    position: absolute;
    right: -28px;
    top: -28px;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    opacity: .12;
    background: currentColor;
}

.yrb-error-stat-label {
    display: block;
    color: var(--yrb-text-soft);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.yrb-error-stat strong {
    display: block;
    margin-top: 10px;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.05em;
    color: var(--yrb-navy-950);
}

.yrb-error-stat small {
    display: block;
    margin-top: 10px;
    color: var(--yrb-text-soft);
    line-height: 1.55;
}

.yrb-error-stat--danger { color: var(--yrb-danger); }
.yrb-error-stat--warning { color: var(--yrb-warning); }
.yrb-error-stat--info { color: #1d4ed8; }

.yrb-error-card {
    padding: 18px;
}

.yrb-error-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.yrb-error-card-head h2,
.yrb-error-update-card h2,
.yrb-error-meta-card h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -.02em;
    color: var(--yrb-navy-950);
}

.yrb-error-card-head p,
.yrb-error-update-card p {
    margin: 6px 0 0;
    color: var(--yrb-text-soft);
    line-height: 1.6;
}

.yrb-error-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: end;
}

.yrb-error-filter-actions {
    display: flex;
    justify-content: flex-end;
}

.yrb-button--sm {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
}

.yrb-button--full {
    width: 100%;
}

.yrb-error-table code,
.yrb-error-detail-hero p,
.yrb-error-detail-grid dd,
.yrb-error-meta-card dd {
    word-break: break-word;
}

.yrb-error-url-cell {
    max-width: 440px;
}

.yrb-error-url-cell code {
    color: var(--yrb-navy-950);
    font-size: 13px;
}

.yrb-error-repeat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--yrb-surface-muted);
    font-weight: 800;
    color: var(--yrb-navy-950);
}

.yrb-table-actions {
    text-align: right;
}

.yrb-pagination-wrap {
    margin-top: 16px;
}

.yrb-error-empty-state {
    padding: 28px;
    border: 1px dashed var(--yrb-border);
    border-radius: 18px;
    background: var(--yrb-surface-muted);
    text-align: center;
}

.yrb-error-empty-state strong {
    display: block;
    color: var(--yrb-navy-950);
    font-size: 16px;
}

.yrb-error-empty-state p {
    margin: 8px 0 0;
    color: var(--yrb-text-soft);
}

.yrb-error-empty-state--compact {
    text-align: left;
    padding: 18px;
}

.yrb-error-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}

.yrb-error-detail-main,
.yrb-error-detail-aside {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.yrb-error-detail-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(185, 28, 28, .16);
    background: linear-gradient(135deg, rgba(185, 28, 28, .08), rgba(255, 255, 255, 1) 60%);
    box-shadow: var(--yrb-shadow-sm);
}

.yrb-error-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.yrb-error-detail-hero h2 {
    margin: 0;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.2;
    letter-spacing: -.03em;
    color: var(--yrb-navy-950);
}

.yrb-error-detail-hero p {
    margin: 10px 0 0;
    color: var(--yrb-text-soft);
    line-height: 1.7;
}

.yrb-error-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.yrb-error-detail-grid > div,
.yrb-error-meta-card dl > div {
    padding: 14px;
    border-radius: 16px;
    background: var(--yrb-surface-muted);
    border: 1px solid var(--yrb-border);
}

.yrb-error-detail-grid dt,
.yrb-error-meta-card dt {
    margin: 0 0 7px;
    color: var(--yrb-text-soft);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.yrb-error-detail-grid dd,
.yrb-error-meta-card dd {
    margin: 0;
    color: var(--yrb-navy-950);
    line-height: 1.55;
}

.yrb-error-detail-wide {
    grid-column: 1 / -1;
}

.yrb-muted {
    color: var(--yrb-text-soft);
}

.yrb-error-code-block {
    max-height: 520px;
    overflow: auto;
    margin: 0;
    padding: 16px;
    border-radius: 18px;
    background: #0b1220;
    color: #dbeafe;
    border: 1px solid rgba(148, 163, 184, .25);
    font-size: 12px;
    line-height: 1.75;
    white-space: pre-wrap;
    word-break: break-word;
}

.yrb-error-update-card {
    position: sticky;
    top: 96px;
}

.yrb-error-update-card form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.yrb-error-meta-card dl {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
}

@media (max-width: 1180px) {
    .yrb-error-detail-layout {
        grid-template-columns: 1fr;
    }

    .yrb-error-update-card {
        position: static;
    }
}

@media (max-width: 920px) {
    .yrb-error-stat-grid,
    .yrb-error-filter-grid,
    .yrb-error-detail-grid {
        grid-template-columns: 1fr;
    }

    .yrb-error-filter-actions {
        justify-content: stretch;
    }

    .yrb-error-filter-actions .yrb-button,
    .yrb-error-detail-hero > .yrb-button {
        width: 100%;
    }

    .yrb-error-detail-hero,
    .yrb-error-card-head {
        flex-direction: column;
    }
}

/* Sistem Sağlığı UI düzeltmesi */
.yrb-badge--ok,
.yrb-badge--success {
    background: var(--yrb-success-soft);
    color: var(--yrb-success);
}

.yrb-badge--warning {
    background: var(--yrb-warning-soft);
    color: var(--yrb-warning);
}

.yrb-badge--critical {
    background: var(--yrb-danger-soft);
    color: var(--yrb-danger);
}

.yrb-health-hero {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid var(--yrb-border);
    background: var(--yrb-surface);
    box-shadow: var(--yrb-shadow-sm);
    overflow: hidden;
    position: relative;
}

.yrb-health-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--yrb-success);
}

.yrb-health-hero--warning::before {
    background: var(--yrb-warning);
}

.yrb-health-hero--critical::before {
    background: var(--yrb-danger);
}

.yrb-health-hero--ok {
    background: linear-gradient(135deg, rgba(21, 128, 61, .08), #fff 58%);
}

.yrb-health-hero--warning {
    background: linear-gradient(135deg, rgba(180, 83, 9, .10), #fff 58%);
}

.yrb-health-hero--critical {
    background: linear-gradient(135deg, rgba(185, 28, 28, .10), #fff 58%);
}

.yrb-health-hero-main {
    min-width: 0;
    padding-left: 4px;
}

.yrb-health-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .06);
    color: var(--yrb-navy-950);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.yrb-health-hero h2 {
    margin: 12px 0 8px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.05;
    letter-spacing: -.04em;
    color: var(--yrb-navy-950);
}

.yrb-health-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--yrb-text-soft);
    line-height: 1.7;
}

.yrb-health-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.yrb-health-hero-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    min-width: 230px;
}

.yrb-health-hero-action small {
    color: var(--yrb-text-soft);
    font-size: 12px;
    text-align: right;
}

.yrb-health-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.yrb-health-stat-card {
    min-width: 0;
    padding: 18px;
    border-radius: 20px;
    background: var(--yrb-surface);
    border: 1px solid var(--yrb-border);
    box-shadow: var(--yrb-shadow-sm);
}

.yrb-health-stat-card span,
.yrb-health-stat-card small {
    display: block;
    color: var(--yrb-text-soft);
}

.yrb-health-stat-card span {
    font-size: 13px;
    font-weight: 700;
}

.yrb-health-stat-card strong {
    display: block;
    margin-top: 8px;
    color: var(--yrb-navy-950);
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yrb-health-stat-card small {
    margin-top: 8px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yrb-health-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

.yrb-health-main,
.yrb-health-aside {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.yrb-health-card {
    padding: 20px;
}

.yrb-health-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.yrb-health-card-head--compact {
    margin-bottom: 12px;
}

.yrb-health-card-head h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -.02em;
    color: var(--yrb-navy-950);
}

.yrb-health-card-head p {
    margin: 6px 0 0;
    color: var(--yrb-text-soft);
    line-height: 1.6;
}

.yrb-health-check-list {
    display: grid;
    gap: 12px;
}

.yrb-health-check-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--yrb-border);
    background: var(--yrb-surface-muted);
}

.yrb-health-check-item--ok {
    border-color: rgba(21, 128, 61, .16);
    background: rgba(21, 128, 61, .04);
}

.yrb-health-check-item--warning {
    border-color: rgba(180, 83, 9, .18);
    background: rgba(180, 83, 9, .05);
}

.yrb-health-check-item--danger {
    border-color: rgba(185, 28, 28, .18);
    background: rgba(185, 28, 28, .05);
}

.yrb-health-check-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, .06);
    color: var(--yrb-navy-950);
    font-weight: 900;
}

.yrb-health-check-item--ok .yrb-health-check-icon {
    background: var(--yrb-success-soft);
    color: var(--yrb-success);
}

.yrb-health-check-item--warning .yrb-health-check-icon {
    background: var(--yrb-warning-soft);
    color: var(--yrb-warning);
}

.yrb-health-check-item--danger .yrb-health-check-icon {
    background: var(--yrb-danger-soft);
    color: var(--yrb-danger);
}

.yrb-health-check-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.yrb-health-check-copy strong {
    color: var(--yrb-navy-950);
    font-size: 15px;
}

.yrb-health-check-copy span {
    color: var(--yrb-text-soft);
    line-height: 1.45;
    word-break: break-word;
}

.yrb-health-issue-list,
.yrb-health-tip-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.yrb-health-issue {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--yrb-border);
    background: var(--yrb-surface-muted);
}

.yrb-health-issue--danger {
    border-color: rgba(185, 28, 28, .18);
    background: rgba(185, 28, 28, .06);
}

.yrb-health-issue--warning {
    border-color: rgba(180, 83, 9, .18);
    background: rgba(180, 83, 9, .06);
}

.yrb-health-issue strong,
.yrb-health-issue span {
    display: block;
}

.yrb-health-issue strong {
    color: var(--yrb-navy-950);
}

.yrb-health-issue span {
    margin-top: 4px;
    color: var(--yrb-text-soft);
    line-height: 1.45;
    word-break: break-word;
}

.yrb-health-tip-list {
    padding-left: 18px;
    color: var(--yrb-text-soft);
    line-height: 1.7;
}

.yrb-health-tip-list li + li {
    margin-top: 8px;
}

.yrb-health-empty-state {
    padding: 16px;
    border-radius: 16px;
    border: 1px dashed var(--yrb-border-strong);
    background: var(--yrb-surface-muted);
}

.yrb-health-empty-state strong {
    display: block;
    color: var(--yrb-navy-950);
}

.yrb-health-empty-state p,
.yrb-health-snapshot-summary {
    margin: 6px 0 0;
    color: var(--yrb-text-soft);
    line-height: 1.6;
}

@media (max-width: 1180px) {
    .yrb-health-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yrb-health-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .yrb-health-hero,
    .yrb-health-card-head {
        flex-direction: column;
    }

    .yrb-health-hero-action {
        align-items: stretch;
        min-width: 0;
        width: 100%;
    }

    .yrb-health-hero-action small {
        text-align: left;
    }

    .yrb-health-hero-action .yrb-button {
        width: 100%;
    }

    .yrb-health-stat-grid,
    .yrb-health-check-item {
        grid-template-columns: 1fr;
    }

    .yrb-health-check-icon {
        width: 38px;
        height: 38px;
    }
}

/* Sesini Duyur Beyoğlu yönetim modülü */
.status-new { background: rgba(227, 6, 19, .10); color: #E30613; border-color: rgba(227, 6, 19, .18); }
.status-reviewing { background: rgba(180, 83, 9, .12); color: #B45309; border-color: rgba(180, 83, 9, .18); }
.status-forwarded { background: rgba(29, 78, 216, .10); color: #1D4ED8; border-color: rgba(29, 78, 216, .18); }
.status-resolved { background: rgba(21, 128, 61, .10); color: #15803D; border-color: rgba(21, 128, 61, .18); }
.status-archived { background: rgba(71, 84, 103, .10); color: #475467; border-color: rgba(71, 84, 103, .18); }
.admin-form-stack { display: grid; gap: 14px; }
.voice-admin-detail .content-card { min-width: 0; }
.voice-admin-attachment { margin-top: 18px; display: grid; gap: 12px; }
.voice-admin-attachment h3 { margin: 0; color: var(--yrb-navy-900); }
.voice-admin-attachment img { display: block; max-width: 100%; border-radius: 18px; border: 1px solid var(--yrb-border); background: #fff; }
