:root {
    --navy: #0f2f4f;
    --navy-2: #173e63;
    --ink: #15293d;
    --muted: #687b8d;
    --line: #dce5ec;
    --surface: #ffffff;
    --canvas: #f3f6f8;
    --teal: #10a594;
    --teal-soft: #e3f7f3;
    --blue: #2f75e8;
    --blue-soft: #eaf2ff;
    --orange: #ed8b36;
    --orange-soft: #fff2e5;
    --red: #d85454;
    --red-soft: #fdecec;
    --shadow: 0 12px 32px rgba(20, 50, 77, .08);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--canvas); color: var(--ink); font-family: Inter, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

/* === KURUMSAL AUTH SCREEN MODERN TASARIMI === */
.auth-screen {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(440px, 1.15fr) minmax(380px, 0.95fr);
    background: #091322;
}

.auth-brand-panel {
    min-height: 100vh;
    padding: 40px 48px;
    background-color: #091322;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px),
        radial-gradient(at 10% 20%, rgba(16, 165, 148, 0.28) 0px, transparent 45%),
        radial-gradient(at 90% 85%, rgba(14, 165, 233, 0.22) 0px, transparent 50%),
        linear-gradient(150deg, #091322 0%, #0d1e35 60%, #102844 100%);
    background-size: 28px 28px, 100% 100%, 100% 100%, 100% 100%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-brand-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.auth-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
}

.auth-brand {
    padding-left: 0;
    text-decoration: none;
    color: white;
}

.auth-brand .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: #042f2e;
    font-size: 18px;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.25);
}

.auth-copy {
    max-width: 580px;
    margin: auto 0;
    padding: 32px 0;
}

.auth-eyebrow {
    color: #2dd4bf;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.auth-copy h1 {
    margin: 0 0 14px;
    font: 800 clamp(28px, 3.6vw, 42px)/1.2 'Plus Jakarta Sans', Manrope, sans-serif;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.auth-copy p {
    max-width: 540px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 24px;
}

/* Canlı Kurumsal Önizleme Kartı */
.auth-workspace-preview {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 18px 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.45);
    margin-bottom: 24px;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
}

.preview-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(45, 212, 191, 0.15);
    color: #2dd4bf;
    display: grid;
    place-items: center;
    font-size: 16px;
    border: 1px solid rgba(45, 212, 191, 0.25);
}

.preview-title-wrap strong {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.preview-title-wrap small {
    font-size: 10px;
    color: #94a3b8;
    display: block;
    margin-top: 1px;
}

.preview-tag {
    background: rgba(14, 165, 233, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.35);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

.preview-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.preview-stat-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 12px;
}

.preview-stat-card span {
    font-size: 10px;
    color: #94a3b8;
    display: block;
}

.preview-stat-card strong {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-top: 2px;
}

.preview-stat-card strong small {
    font-size: 10px;
    font-weight: 600;
    color: #2dd4bf;
    margin-left: 3px;
}

.preview-banner {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-banner .banner-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    display: grid;
    place-items: center;
    font-size: 13px;
    flex-shrink: 0;
}

.preview-banner .banner-text {
    flex: 1;
}

.preview-banner .banner-text strong {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.preview-banner .banner-text span {
    font-size: 10px;
    color: #94a3b8;
    display: block;
}

.preview-banner .banner-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.auth-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.auth-features span {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 10px 12px;
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-features span i {
    color: #2dd4bf;
    font-size: 12px;
}

.auth-brand-footer {
    color: #64748b;
    font-size: 11px;
    padding-top: 16px;
}

/* SAĞ PANEL: FORM ALANI */
.auth-form-panel {
    display: grid;
    place-items: center;
    padding: 36px 32px;
    background: #08111e;
    min-height: 100vh;
}

.auth-card-wrap {
    width: min(440px, 100%);
    background: #ffffff;
    border-radius: 28px;
    padding: 36px 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mobile-brand-head {
    display: none;
}

.auth-form {
    width: 100%;
    display: grid;
    gap: 0;
}

.auth-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.auth-header-text h2 {
    margin: 0;
    font: 800 21px 'Plus Jakarta Sans', Manrope, sans-serif;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.auth-header-text p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.auth-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    color: #0f766e;
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.tab-switcher {
    display: flex;
    gap: 6px;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 14px;
    margin-bottom: 20px;
}

.tab-switcher button {
    flex: 1;
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    background: transparent;
    color: #64748b;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.tab-switcher button.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.auth-form .field {
    width: 100%;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.auth-form .field label {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.field-label-row label {
    margin-bottom: 0 !important;
}

.field-label-row .forgot-link {
    font-size: 12px;
    color: #0f766e;
    font-weight: 700;
    text-decoration: none;
}

.field-label-row .forgot-link:hover {
    text-decoration: underline;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
    pointer-events: none;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    line-height: 1;
}

.input-with-icon input,
.field .input-with-icon input,
.auth-card .field .input-with-icon input {
    width: 100% !important;
    min-height: 48px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    padding: 11px 44px 11px 44px !important;
    padding-left: 44px !important;
    padding-right: 44px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.input-with-icon input:focus,
.field .input-with-icon input:focus,
.auth-card .field .input-with-icon input:focus {
    background: #ffffff !important;
    border-color: #0f766e !important;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15) !important;
}

.input-with-icon input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #94a3b8;
    font-size: 15px;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: color 0.15s;
}

.password-toggle-btn:hover {
    color: #475569;
}

.auth-submit {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f2f4f 0%, #115e59 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 8px 20px -4px rgba(15, 47, 79, 0.35);
    transition: all 0.2s;
    margin-top: 4px;
}

.auth-submit:hover {
    background: linear-gradient(135deg, #091e33 0%, #0d4a46 100%);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -4px rgba(15, 47, 79, 0.45);
}

.auth-submit:active {
    transform: scale(0.99);
}

.demo-button {
    width: 100%;
    min-height: 44px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    margin-top: 10px;
    cursor: pointer;
}

.demo-button:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.auth-form .secondary-button {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f2f4f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-form .secondary-button:hover {
    background: #f1f5f9;
}

.auth-switch-links {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed #e2e8f0;
    text-align: center;
}

.auth-switch-links span {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 10px;
}

.auth-switch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.switch-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
}

.switch-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.auth-alert {
    padding: 12px 14px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 270px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 18px; background: var(--navy); color: white; display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 22px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, #19b6a4, #54d4bd); color: #073a3c; font-family: Manrope; font-weight: 800; }
.brand strong { display: block; font: 800 19px Manrope; }
.brand span { display: block; margin-top: 2px; color: #adc0d1; font-size: 11px; letter-spacing: .04em; }
.workspace-card { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); padding: 14px; border-radius: 14px; display: grid; gap: 5px; margin: 0 2px 18px; }
.workspace-card strong { font-size: 13px; }
.workspace-card span:last-child { font-size: 11px; color: #adc0d1; }
.eyebrow { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.navigation { display: grid; gap: 5px; }
.nav-item { border: 0; width: 100%; border-radius: 11px; padding: 11px 12px; background: transparent; color: #c4d1dc; display: flex; align-items: center; gap: 12px; text-align: left; font-size: 13px; font-weight: 600; }
.nav-item:hover, .nav-item.active { background: rgba(255,255,255,.1); color: #fff; }
.nav-item.active { box-shadow: inset 3px 0 var(--teal); }
.nav-icon { width: 20px; font-size: 17px; text-align: center; color: #8fb3c8; }
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: 20px; background: var(--orange); color: white; font-size: 10px; }
.sidebar-footer { margin-top: auto; display: grid; gap: 12px; }
.demo-notice { color: #9db3c5; font-size: 10px; display: flex; align-items: center; gap: 7px; padding: 0 8px; }
.demo-notice span { width: 7px; height: 7px; border-radius: 50%; background: #f0b45f; box-shadow: 0 0 0 4px rgba(240,180,95,.12); }
.profile-card { width: 100%; border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.12); color: white; padding: 10px; border-radius: 13px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; text-align: left; }
.profile-card strong, .profile-card small { display: block; }
.profile-card strong { font-size: 11px; }.profile-card small { color: #9fb2c3; font-size: 9px; margin-top: 2px; }
.avatar { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #d7e8f2; color: var(--navy); font-weight: 800; font-size: 11px; }

.main-area { min-width: 0; }
.topbar { height: 92px; padding: 17px 34px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 10; }
.topbar h1 { font: 800 22px Manrope; margin: 3px 0 0; }
.breadcrumb { margin: 0; color: var(--muted); font-size: 10px; }
.topbar-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.global-search { width: 280px; height: 40px; border: 1px solid var(--line); background: #f8fafb; border-radius: 11px; display: flex; align-items: center; padding: 0 12px; color: var(--muted); }
.global-search input { border: 0; outline: 0; background: transparent; width: 100%; padding-left: 8px; font-size: 11px; }
.icon-button { position: relative; width: 40px; height: 40px; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 11px; font-size: 18px; }
.notification-dot { position: absolute; right: 8px; top: 8px; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.primary-button, .secondary-button, .danger-button { border: 0; border-radius: 10px; padding: 10px 15px; font-size: 11px; font-weight: 800; }
.primary-button { background: var(--teal); color: white; box-shadow: 0 7px 16px rgba(16,165,148,.2); }
.primary-button:hover { background: #0a9384; }
.secondary-button { background: white; color: var(--ink); border: 1px solid var(--line); }
.danger-button { background: var(--red-soft); color: var(--red); }
.mobile-menu { display: none; border: 0; background: transparent; font-size: 22px; }
.content { padding: 28px 34px 60px; }

.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.page-heading h2 { font: 800 21px Manrope; margin: 0 0 5px; }.page-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.button-row { display: flex; gap: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; margin-bottom: 20px; }
.stat-card { background: var(--surface); border: 1px solid #e6edf2; border-radius: 16px; padding: 18px; box-shadow: 0 3px 12px rgba(15,47,79,.035); }
.stat-top { display: flex; justify-content: space-between; align-items: start; }
.stat-label { color: var(--muted); font-size: 10px; font-weight: 700; }.stat-value { font: 800 29px Manrope; margin: 10px 0 4px; }
.stat-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; }
.stat-icon.teal { background: var(--teal-soft); color: var(--teal); }.stat-icon.blue { background: var(--blue-soft); color: var(--blue); }.stat-icon.orange { background: var(--orange-soft); color: var(--orange); }.stat-icon.red { background: var(--red-soft); color: var(--red); }
.trend { font-size: 9px; font-weight: 700; color: var(--teal); }.trend.warn { color: var(--orange); }
.dashboard-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }
.panel { background: white; border: 1px solid #e3ebf0; border-radius: 16px; box-shadow: 0 4px 16px rgba(15,47,79,.035); overflow: hidden; }
.panel-header { padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf2f5; }
.panel-header h3 { font: 800 13px Manrope; margin: 0; }.panel-header p { color: var(--muted); font-size: 9px; margin: 3px 0 0; }
.panel-body { padding: 16px 18px; }
.progress-row { display: grid; grid-template-columns: 110px 1fr 38px; align-items: center; gap: 12px; margin: 14px 0; font-size: 10px; }
.progress-track { height: 8px; border-radius: 10px; background: #edf2f5; overflow: hidden; }.progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), #47c9b6); }
.activity-list { display: grid; gap: 15px; }.activity-item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; }
.activity-dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-size: 11px; }.activity-item strong { display: block; font-size: 10px; }.activity-item span, .activity-item time { font-size: 9px; color: var(--muted); }

.toolbar { display: flex; gap: 9px; margin-bottom: 15px; flex-wrap: wrap; }
.field { min-width: 170px; display: grid; gap: 6px; }.field.grow { flex: 1; }.field label { font-size: 9px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.field > input, .field > select, .field > textarea, .toolbar input, .toolbar select { width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); padding: 9px 11px; outline: none; font-size: 11px; }
.field > input:focus, .field > select:focus, .field > textarea:focus, .toolbar input:focus, .toolbar select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(16,165,148,.1); }
.field select[multiple] { min-height: 112px; padding: 6px; }.field select[multiple] option { padding: 7px 8px; border-radius: 6px; }.field > small { color: var(--muted); font-size: 8px; line-height: 1.5; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.entity-card { padding: 18px; background: white; border: 1px solid #e2eaf0; border-radius: 15px; box-shadow: 0 3px 12px rgba(15,47,79,.035); }
.entity-head { display: flex; gap: 11px; align-items: center; }.entity-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 800; }.entity-head h3 { font: 800 13px Manrope; margin: 0; }.entity-head p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.entity-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 18px 0; }.entity-metrics div { background: #f6f8fa; padding: 9px; border-radius: 9px; }.entity-metrics strong, .entity-metrics span { display: block; }.entity-metrics strong { font-size: 13px; }.entity-metrics span { color: var(--muted); font-size: 8px; margin-top: 2px; }
.entity-actions { display: flex; justify-content: space-between; align-items: center; }.status { display: inline-flex; align-items: center; gap: 5px; border-radius: 20px; padding: 5px 8px; font-size: 8px; font-weight: 800; }.status::before { content:""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.status.active { background: var(--teal-soft); color: #087b70; }.status.warning { background: var(--orange-soft); color: #a95a18; }.status.inactive { background: #edf0f3; color: #71808d; }
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }.table-action.danger-text { color: var(--red); }

.data-table-wrap { overflow-x: auto; background: white; border: 1px solid #e1e9ee; border-radius: 15px; }
.data-table { width: 100%; border-collapse: collapse; min-width: 780px; }.data-table th { padding: 11px 14px; background: #f7f9fa; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; text-align: left; }.data-table td { padding: 13px 14px; border-top: 1px solid #edf2f5; font-size: 10px; }.data-table tr:hover td { background: #fbfdfd; }.table-person { display: flex; align-items: center; gap: 9px; }.table-person strong, .table-person span { display: block; }.table-person span { color: var(--muted); font-size: 8px; margin-top: 3px; }.table-action { border: 0; background: transparent; color: var(--blue); font-size: 9px; font-weight: 800; }
.metric-pills { display: flex; flex-wrap: wrap; gap: 5px; }.metric-pill { border-radius: 7px; background: #f0f4f6; color: #526474; padding: 5px 7px; font-size: 8px; font-weight: 700; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }.empty-state strong { display: block; color: var(--ink); margin-bottom: 5px; }

.modal-backdrop, .drawer-backdrop { position: fixed; inset: 0; background: rgba(6,25,41,.55); backdrop-filter: blur(3px); z-index: 50; display: grid; place-items: center; padding: 18px; }
.hidden { display: none !important; }
.modal { width: min(560px, 100%); max-height: 90vh; overflow: auto; border-radius: 18px; background: white; box-shadow: 0 28px 70px rgba(4,26,43,.3); }
.modal-header { display: flex; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }.modal-header h2 { margin: 5px 0 0; font: 800 18px Manrope; }
.modal-form { padding: 20px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.modal-form .full { grid-column: 1/-1; }.form-actions { grid-column: 1/-1; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 5px; }
.drawer-backdrop { place-items: stretch end; padding: 0; }.detail-drawer { width: min(560px, 100%); height: 100%; overflow-y: auto; background: white; box-shadow: -20px 0 50px rgba(4,26,43,.22); }.drawer-header { padding: 22px; background: var(--navy); color: white; }.drawer-header-top { display: flex; justify-content: space-between; align-items: start; }.drawer-header h2 { font: 800 20px Manrope; margin: 14px 0 4px; }.drawer-header p { margin: 0; color: #b8c9d7; font-size: 10px; }.drawer-body { padding: 20px 22px; }.drawer-section { margin-bottom: 22px; }.drawer-section h3 { font: 800 12px Manrope; margin: 0 0 10px; }.info-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }.info-box { background: #f5f8fa; padding: 11px; border-radius: 10px; }.info-box span, .info-box strong { display: block; }.info-box span { color: var(--muted); font-size: 8px; }.info-box strong { margin-top: 4px; font-size: 12px; }
.timeline { display: grid; gap: 10px; }.timeline-item { border-left: 2px solid var(--teal); padding: 2px 0 2px 12px; }.timeline-item strong { display: block; font-size: 10px; }.timeline-item span { color: var(--muted); font-size: 9px; }
.message-thread { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }.message-row { padding: 12px; display: grid; grid-template-columns: auto 1fr auto; gap: 9px; border-bottom: 1px solid #edf2f5; }.message-row:last-child { border-bottom: 0; }.message-row.unread { background: #f0fbf9; }.message-row strong { font-size: 10px; }.message-row p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }.message-row time { color: var(--muted); font-size: 8px; }
.toast-container { position: fixed; right: 18px; bottom: 18px; z-index: 100; display: grid; gap: 8px; }.toast { background: var(--navy); color: white; border-radius: 11px; padding: 12px 15px; box-shadow: var(--shadow); font-size: 10px; animation: slideIn .2s ease-out; }
@keyframes slideIn { from { transform: translateY(10px); opacity: 0; } }

@media (max-width: 1100px) { .stat-grid { grid-template-columns: repeat(2,1fr); }.card-grid { grid-template-columns: repeat(2,1fr); }.global-search { display: none; } }
@media (max-width: 900px) {
    .auth-screen { grid-template-columns: 1fr; }
    .auth-brand-panel { display: none; }
    .auth-form-panel { min-height: 100vh; padding: 24px 16px; }
    .auth-card-wrap { padding: 28px 20px; }
    .mobile-brand-head { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; color: #0f172a; }
    .mobile-brand-head .brand-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #0ea5e9, #14b8a6); color: #042f2e; display: grid; place-items: center; font-size: 18px; }
    .mobile-brand-head strong { font: 800 18px 'Plus Jakarta Sans', Manrope, sans-serif; display: block; }
    .mobile-brand-head span { font-size: 11px; color: #64748b; display: block; }
}
@media (max-width: 760px) {
    .app-shell { display: block; }.sidebar { position: fixed; left: -290px; transition: left .2s; width: 270px; }.sidebar.open { left: 0; box-shadow: 20px 0 50px rgba(0,0,0,.25); }.mobile-menu { display: block; }.topbar { padding: 14px 16px; height: 78px; }.topbar h1 { font-size: 17px; }.content { padding: 20px 15px 50px; }.primary-button { padding: 9px 11px; }.stat-grid, .card-grid, .dashboard-grid { grid-template-columns: 1fr; }.page-heading { align-items: start; flex-direction: column; }.modal-form { grid-template-columns: 1fr; }.modal-form .full { grid-column: auto; }.form-actions { grid-column: auto; }.topbar-actions .icon-button { display: none; }
}


/* === GELİŞMİŞ KURUM PANELİ EK STİLLERİ (MESAJ DENETİMİ, DENEME GİRİŞİ, KOÇ TAKİBİ) === */
.modal.wide { width: min(780px, 100%); }
.tab-switcher { display: flex; gap: 6px; background: #edf2f6; padding: 5px; border-radius: 12px; margin-bottom: 12px; grid-column: 1 / -1; }
.tab-switcher button { flex: 1; border: 0; border-radius: 9px; padding: 9px 12px; font-size: 11px; font-weight: 800; background: transparent; color: var(--muted); transition: all .15s; }
.tab-switcher button.active { background: white; color: var(--navy); box-shadow: 0 2px 8px rgba(15,47,79,.08); }

.exam-subjects-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: 310px; overflow-y: auto; padding: 4px 2px; }
.exam-subject-card { background: #f8fafc; border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.exam-subject-card strong { font-size: 11px; color: var(--ink); display: block; }
.exam-subject-card small { font-size: 9px; color: var(--muted); }
.exam-subject-inputs { display: flex; align-items: center; gap: 6px; }
.exam-subject-inputs input { width: 58px !important; min-height: 34px !important; text-align: center; font-weight: 700; padding: 4px 6px !important; }
.exam-net-badge { min-width: 54px; text-align: right; font-size: 11px; font-weight: 800; color: var(--blue); }

.exam-summary-bar { grid-column: 1 / -1; background: linear-gradient(135deg, #0f2f4f, #173e63); color: white; border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.exam-summary-bar div span { font-size: 9px; color: #b8c9d7; text-transform: uppercase; letter-spacing: .06em; display: block; }
.exam-summary-bar div strong { font: 800 18px Manrope; color: #54d4bd; }

.bulk-exam-table-wrap { grid-column: 1 / -1; max-height: 320px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; }
.bulk-exam-table { width: 100%; border-collapse: collapse; }
.bulk-exam-table th { position: sticky; top: 0; background: #f5f8fa; padding: 9px 10px; font-size: 9px; color: var(--muted); text-align: left; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.bulk-exam-table td { padding: 8px 10px; border-bottom: 1px solid #edf2f5; font-size: 11px; }
.bulk-exam-table input { width: 72px !important; min-height: 32px !important; padding: 4px 6px !important; text-align: center; font-weight: 700; }

/* İki Bölmeli Mesaj Denetim & Gönderim Merkezi */
.supervision-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); background: white; border: 1px solid #e1e9ee; border-radius: 16px; overflow: hidden; min-height: 540px; box-shadow: 0 4px 16px rgba(15,47,79,.035); }
.supervision-sidebar { border-right: 1px solid #edf2f5; display: flex; flex-direction: column; background: #fbfcfd; }
.supervision-sidebar-head { padding: 14px; border-bottom: 1px solid #edf2f5; display: grid; gap: 8px; }
.supervision-list { flex: 1; overflow-y: auto; max-height: 480px; }
.supervision-thread-item { width: 100%; border: 0; border-bottom: 1px solid #f0f4f7; background: transparent; padding: 13px 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; text-align: left; transition: background .15s; }
.supervision-thread-item:hover { background: #f2f7fb; }
.supervision-thread-item.active { background: var(--blue-soft); box-shadow: inset 3px 0 var(--blue); }
.supervision-thread-item strong { font-size: 11px; color: var(--ink); display: block; }
.supervision-thread-item small { font-size: 9px; color: var(--teal); font-weight: 700; display: block; margin-top: 2px; }
.supervision-thread-item p { margin: 4px 0 0; font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 195px; }

.supervision-chat { display: flex; flex-direction: column; background: #f4f7f9; }
.supervision-chat-header { padding: 14px 18px; background: white; border-bottom: 1px solid #edf2f5; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.supervision-chat-header h3 { margin: 0; font: 800 14px Manrope; }
.supervision-chat-header p { margin: 2px 0 0; font-size: 10px; color: var(--muted); }
.supervision-messages { flex: 1; padding: 18px; overflow-y: auto; max-height: 400px; display: flex; flex-direction: column; gap: 10px; }

.chat-bubble-row { display: flex; flex-direction: column; max-width: 78%; }
.chat-bubble-row.student { align-self: flex-start; }
.chat-bubble-row.coach { align-self: flex-end; }
.chat-bubble-row.institution { align-self: flex-end; }
.chat-bubble-sender { font-size: 9px; font-weight: 800; margin-bottom: 3px; padding: 0 4px; display: flex; align-items: center; gap: 6px; }
.chat-bubble { padding: 10px 13px; border-radius: 13px; font-size: 11px; line-height: 1.5; position: relative; box-shadow: 0 2px 5px rgba(15,47,79,.04); }
.chat-bubble-row.student .chat-bubble { background: white; color: var(--ink); border: 1px solid #e3ebf0; border-top-left-radius: 3px; }
.chat-bubble-row.coach .chat-bubble { background: var(--blue-soft); color: #153e75; border: 1px solid #cfe0fc; border-top-right-radius: 3px; }
.chat-bubble-row.institution .chat-bubble { background: linear-gradient(135deg, #0f2f4f, #173e63); color: white; border-top-right-radius: 3px; }
.chat-bubble time { display: block; font-size: 8px; opacity: .7; text-align: right; margin-top: 4px; }

.supervision-compose { padding: 12px 16px; background: white; border-top: 1px solid #edf2f5; display: flex; gap: 8px; align-items: center; }
.supervision-compose input { flex: 1; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 11px; outline: none; }
.supervision-compose input:focus { border-color: var(--teal); }

.credentials-card { background: #f0fbf9; border: 1px solid #b5e8df; border-radius: 12px; padding: 14px; grid-column: 1 / -1; display: grid; gap: 8px; }
.credentials-card code { background: white; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); font-weight: 800; font-size: 12px; color: var(--navy); display: inline-block; }

@media (max-width: 900px) {
    .supervision-layout { grid-template-columns: 1fr; }
    .exam-subjects-grid { grid-template-columns: 1fr; }
}


/* === BİLDİRİM & CANLI ARAMA DROPDOWN VE DENEME SIRALAMA STİLLERİ === */
.notif-dropdown, .search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    max-height: 420px;
    overflow-y: auto;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 47, 79, .16);
    z-index: 40;
}
.search-dropdown { left: 0; right: auto; width: 320px; }
.dropdown-head {
    padding: 12px 14px;
    border-bottom: 1px solid #edf2f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}
.dropdown-head strong { font-size: 11px; color: var(--ink); }
.dropdown-item {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #f1f5f8;
    background: white;
    padding: 11px 14px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: background .15s;
}
.dropdown-item:hover { background: #f2f7fb; }
.dropdown-item strong { display: block; font-size: 11px; color: var(--ink); }
.dropdown-item span { display: block; font-size: 9px; color: var(--muted); margin-top: 2px; }

.rank-badge {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    font-size: 10px;
    background: #edf2f6;
    color: var(--ink);
}
.rank-badge.gold { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.rank-badge.silver { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; }
.rank-badge.bronze { background: #ffedd5; color: #9a3412; border: 1px solid #fed7aa; }


/* ============================================================================
   ADIM ADIM KURUM KURULUM REHBERİ (ONBOARDING FLOW)
   ============================================================================ */
.onboarding-flow {
    background: linear-gradient(135deg, #ffffff 0%, #f4f9fc 100%);
    border: 1.5px solid #cbd5e1;
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 22px;
    box-shadow: 0 10px 28px rgba(15, 47, 79, .06);
}
.onboarding-flow.all-completed {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-color: #86efac;
}
.onboarding-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.onboarding-header h3 {
    margin: 4px 0 4px;
    font-size: 16px;
    font-family: Manrope, Inter, sans-serif;
    color: var(--ink);
}
.onboarding-header p {
    margin: 0;
    font-size: 11px;
    color: var(--muted);
}
.onboarding-progress-meta {
    min-width: 210px;
    text-align: right;
}
.onboarding-progress-meta strong {
    display: block;
    font-size: 11px;
    color: var(--ink);
    margin-bottom: 6px;
}
.onboarding-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.onboarding-step-card {
    background: white;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.onboarding-step-card.completed {
    border-color: #86efac;
    background: #f8fefb;
}
.onboarding-step-card.active-step {
    border-color: var(--blue);
    box-shadow: 0 8px 22px rgba(29, 95, 167, .12);
    transform: translateY(-2px);
}
.onboarding-step-card.locked-step {
    opacity: .68;
    background: #f8fafc;
    border-style: dashed;
}
.step-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.step-number {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    font-size: 11px;
    background: #e2e8f0;
    color: var(--ink);
}
.onboarding-step-card.completed .step-number {
    background: #16a34a;
    color: white;
}
.onboarding-step-card.active-step .step-number {
    background: var(--blue);
    color: white;
}
.step-badge {
    font-size: 9px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 999px;
}
.step-badge.done {
    background: #dcfce7;
    color: #15803d;
}
.step-badge.current {
    background: var(--blue-soft);
    color: var(--blue);
}
.step-badge.locked {
    background: #f1f5f9;
    color: #64748b;
}
.step-body h4 {
    margin: 8px 0 4px;
    font-size: 12px;
    color: var(--ink);
}
.step-body p {
    margin: 0;
    font-size: 10px;
    color: var(--muted);
    line-height: 1.5;
}
.onboarding-dismiss-bar {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #bbf7d0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.onboarding-dismiss-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #166534;
    cursor: pointer;
}
.onboarding-dismiss-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #16a34a;
    cursor: pointer;
}
@media (max-width: 1100px) {
    .onboarding-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .onboarding-steps { grid-template-columns: 1fr; }
}

/* ============================================================================
   WHATSAPP VELİ RAPORU MODALI & DÖNEM SEÇİCİ
   ============================================================================ */
.period-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.period-card {
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    background: #f8fafc;
    transition: all .15s ease;
    display: flex;
    flex-direction: column;
    gap: 2px;
    user-select: none;
}
.period-card:hover {
    border-color: #93c5fd;
    background: #ffffff;
}
.period-card.active {
    border-color: #16a34a;
    background: #f0fdf4;
    box-shadow: 0 4px 12px rgba(22, 163, 74, .12);
}
.period-card strong {
    font-size: 11px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 6px;
}
.period-card small {
    font-size: 9.5px;
    color: var(--muted);
}
.whatsapp-preview-box {
    background: #efeae2;
    border: 1px solid #d1d7db;
    border-radius: 14px;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 11px;
    color: #111b21;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: inset 0 2px 4px rgba(0,0,0,.03);
}
@media (max-width: 600px) {
    .period-selector-grid {
        grid-template-columns: 1fr;
    }
}
.report-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}
.report-tab-btn {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 14px;
    border: 1.5px solid var(--line);
    background: var(--surface);
    text-align: left;
    cursor: pointer;
    transition: all .15s ease;
    box-shadow: 0 2px 8px rgba(16, 33, 50, .03);
}
.report-tab-btn:hover {
    border-color: #93c5fd;
    transform: translateY(-1px);
}
.report-tab-btn.active {
    border-color: var(--blue);
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    box-shadow: 0 8px 20px rgba(29, 95, 167, .12);
}
.report-tab-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}
.report-tab-btn.active .report-tab-icon {
    background: var(--blue);
    color: white;
}
.report-tab-btn strong {
    display: block;
    font-size: 11px;
    color: var(--ink);
    margin-bottom: 2px;
}
.report-tab-btn small {
    display: block;
    font-size: 9px;
    color: var(--muted);
    line-height: 1.35;
}

.report-toolbar {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow);
}
.report-toolbar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.report-filters-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.report-filter-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 150px;
    flex: 1;
    max-width: 230px;
}
.report-filter-item label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}
.report-filter-item select,
.report-filter-item input {
    min-height: 36px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 6px 10px;
    background: #f8fafc;
    font-size: 10.5px;
    color: var(--ink);
}
.report-note-row {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
}
.report-note-row input {
    flex: 1;
    min-height: 36px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 10.5px;
    background: #fffbeb;
}

.report-sheet {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px 30px;
    box-shadow: 0 16px 40px rgba(15, 36, 56, .08);
    color: var(--ink);
}
.report-letterhead {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--navy);
}
.report-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.report-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0f2f4f, #1d5fa7);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .04em;
}
.report-letterhead h2 {
    margin: 2px 0 4px;
    font-size: 18px;
    color: var(--navy);
}
.report-letterhead p {
    margin: 0;
    font-size: 10.5px;
    color: var(--muted);
}
.report-meta-box {
    text-align: right;
    font-size: 10px;
    color: var(--muted);
    line-height: 1.6;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
}
.report-meta-box strong {
    color: var(--ink);
    font-size: 11px;
    display: block;
}
.report-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.report-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9.5px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
}

.report-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.report-kpi-box {
    padding: 14px 15px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #f8fafc;
}
.report-kpi-box span {
    display: block;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.report-kpi-box strong {
    display: block;
    margin: 6px 0 4px;
    font-size: 18px;
    color: var(--navy);
}
.report-kpi-box small {
    font-size: 9.5px;
    color: var(--muted);
}

.report-insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}
.report-insight-card {
    padding: 13px 15px;
    border-radius: 13px;
    border-left: 4px solid var(--blue);
    background: #f0f7ff;
}
.report-insight-card.teal {
    border-left-color: var(--teal);
    background: #f0fdf9;
}
.report-insight-card.orange {
    border-left-color: var(--orange);
    background: #fffbeb;
}
.report-insight-card.red {
    border-left-color: var(--red);
    background: #fef2f2;
}
.report-insight-card span {
    display: block;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: 4px;
}
.report-insight-card strong {
    display: block;
    font-size: 11.5px;
    color: var(--ink);
    margin-bottom: 3px;
}
.report-insight-card p {
    margin: 0;
    font-size: 10px;
    color: var(--muted);
    line-height: 1.45;
}

.report-section {
    margin-bottom: 24px;
    break-inside: avoid;
}
.report-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
}
.report-section-head h3 {
    margin: 0;
    font-size: 13px;
    color: var(--navy);
}
.report-section-head span {
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
}

.report-bars-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.report-bar-card {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 14px;
    background: #fcfdff;
}
.report-bar-card h4 {
    margin: 0 0 10px;
    font-size: 11.5px;
    color: var(--ink);
}
.report-bar-row {
    margin-bottom: 9px;
}
.report-bar-row:last-child {
    margin-bottom: 0;
}
.report-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    margin-bottom: 4px;
    color: var(--ink);
}
.report-note-callout {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 13px;
    background: #fffbeb;
    border: 1px solid #fde68a;
}
.report-note-callout strong {
    display: block;
    font-size: 10.5px;
    color: #92400e;
    margin-bottom: 4px;
}
.report-note-callout p {
    margin: 0;
    font-size: 11px;
    color: #78350f;
    line-height: 1.5;
}

.report-signature-footer {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1.5px dashed var(--line);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    font-size: 10px;
    color: var(--muted);
    break-inside: avoid;
}
.report-sig-box {
    text-align: center;
    padding: 10px;
}
.report-sig-box strong {
    display: block;
    color: var(--ink);
    margin-bottom: 26px;
}
.report-sig-line {
    border-top: 1px solid #cbd5e1;
    padding-top: 6px;
    font-size: 9.5px;
}

@media (max-width: 900px) {
    .report-bars-grid { grid-template-columns: 1fr; }
    .report-letterhead { flex-direction: column; }
    .report-meta-box { text-align: left; width: 100%; }
    .report-signature-footer { grid-template-columns: 1fr; }
}

@media print {
    body {
        background: #ffffff !important;
    }
    .sidebar,
    .topbar,
    .no-print,
    .report-tabs,
    .report-toolbar,
    .modal-backdrop,
    .drawer-backdrop,
    .toast-container {
        display: none !important;
    }
    .app-shell {
        display: block !important;
    }
    .main-area,
    .content {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .report-sheet {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
}
