:root {
    color-scheme: light;
    --simahr-navy-950: #101831;
    --simahr-navy-900: #172244;
    --simahr-navy-800: #22376f;
    --simahr-blue-700: #274188;
    --simahr-blue-500: #526ac8;
    --simahr-gold-500: #dead67;
    --simahr-gold-400: #e8bc77;
    --simahr-cream-50: #fffdf8;
    --simahr-cream-100: #faf5e9;
    --simahr-bg: #f5f3ee;
    --simahr-surface: #ffffff;
    --simahr-surface-soft: #f9f7f2;
    --simahr-surface-strong: #eef1f8;
    --simahr-sidebar: #142142;
    --simahr-sidebar-soft: #1d3266;
    --simahr-text: #172244;
    --simahr-text-soft: #607091;
    --simahr-text-on-dark: #fffdf8;
    --simahr-border: rgba(39, 65, 136, 0.14);
    --simahr-border-strong: rgba(39, 65, 136, 0.28);
    --simahr-shadow: 0 18px 45px rgba(21, 33, 65, 0.10);
    --simahr-shadow-soft: 0 8px 24px rgba(21, 33, 65, 0.08);
    --simahr-success: #168360;
    --simahr-warning: #b57416;
    --simahr-danger: #c83f54;
    --simahr-chart-1: #274188;
    --simahr-chart-2: #526ac8;
    --simahr-chart-3: #dead67;
    --simahr-chart-track: #e6e9f1;
    --simahr-radius-sm: 12px;
    --simahr-radius: 18px;
    --simahr-radius-lg: 26px;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --simahr-bg: #0f1730;
    --simahr-surface: #172244;
    --simahr-surface-soft: #1c2a53;
    --simahr-surface-strong: #223363;
    --simahr-sidebar: #0b1228;
    --simahr-sidebar-soft: #182957;
    --simahr-text: #fffaf0;
    --simahr-text-soft: #aeb8d1;
    --simahr-text-on-dark: #fffaf0;
    --simahr-border: rgba(124, 148, 224, 0.20);
    --simahr-border-strong: rgba(222, 173, 103, 0.38);
    --simahr-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
    --simahr-shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.20);
    --simahr-success: #4dd4a8;
    --simahr-warning: #f0bd69;
    --simahr-danger: #ff7f91;
    --simahr-chart-1: #8ea3f0;
    --simahr-chart-2: #6f88df;
    --simahr-chart-3: #efbd70;
    --simahr-chart-track: #2a3968;
}

html {
    background: var(--simahr-bg);
    accent-color: var(--simahr-gold-500);
}

body.simahr-theme {
    background-color: var(--simahr-bg) !important;
    color: var(--simahr-text);
    background-image:
        radial-gradient(circle at 4% 0%, rgba(82, 106, 200, 0.12), transparent 30rem),
        radial-gradient(circle at 96% 100%, rgba(222, 173, 103, 0.14), transparent 34rem);
    min-height: 100vh;
}

body.simahr-login-page,
body.simahr-login-page *,
body.simahr-login-page *::before,
body.simahr-login-page *::after {
    box-sizing: border-box;
}

body.simahr-login-page {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

.simahr-login-card {
    width: min(100%, 28rem);
}

:root[data-theme="dark"] body.simahr-theme {
    background-image:
        radial-gradient(circle at 4% 0%, rgba(82, 106, 200, 0.18), transparent 32rem),
        radial-gradient(circle at 96% 100%, rgba(222, 173, 103, 0.10), transparent 36rem);
}

/* V2'nin koyu Tailwind ekranlarını V3 tema secimine kayipsiz tasir. Tailwind
   CDN bu dosyadan sonra stil ekledigi icin eslemeler bilerek !important'tir. */
:root[data-theme="light"] body.simahr-adaptive-legacy {
    background-color: var(--simahr-bg) !important;
    color: var(--simahr-text) !important;
}
:root[data-theme="light"] body.simahr-adaptive-legacy [class~="bg-[#181f3e]"],
:root[data-theme="light"] body.simahr-adaptive-legacy [class~="bg-[#11162e]"] {
    background-color: var(--simahr-surface) !important;
}
:root[data-theme="light"] body.simahr-adaptive-legacy [class*="bg-[#181f3e]/"] {
    background-color: var(--simahr-surface-soft) !important;
}
:root[data-theme="light"] body.simahr-adaptive-legacy [class*="bg-[#274188]/"],
:root[data-theme="light"] body.simahr-adaptive-legacy [class*="bg-[#526ac8]/"] {
    background-color: var(--simahr-surface-strong) !important;
}
:root[data-theme="light"] body.simahr-adaptive-legacy [class*="bg-[#dead67]/"] {
    background-color: color-mix(in srgb, var(--simahr-gold-500) 14%, var(--simahr-surface)) !important;
}
:root[data-theme="light"] body.simahr-adaptive-legacy [class~="text-[#faf5e9]"] {
    color: var(--simahr-text) !important;
}
:root[data-theme="light"] body.simahr-adaptive-legacy [class*="text-[#faf5e9]/"] {
    color: var(--simahr-text-soft) !important;
}
:root[data-theme="light"] body.simahr-adaptive-legacy [class~="text-[#aebcf5]"] {
    color: var(--simahr-blue-500) !important;
}
:root[data-theme="light"] body.simahr-adaptive-legacy [class*="border-[#274188]/"],
:root[data-theme="light"] body.simahr-adaptive-legacy [class*="border-[#526ac8]/"] {
    border-color: var(--simahr-border) !important;
}
:root[data-theme="light"] body.simahr-adaptive-legacy [class*="border-[#dead67]/"] {
    border-color: color-mix(in srgb, var(--simahr-gold-500) 44%, var(--simahr-border)) !important;
}
:root[data-theme="light"] body.simahr-adaptive-legacy nav {
    background: color-mix(in srgb, var(--simahr-surface) 92%, transparent) !important;
    border-color: var(--simahr-border) !important;
    backdrop-filter: blur(18px);
}

body.simahr-theme :focus-visible {
    outline: 3px solid color-mix(in srgb, var(--simahr-gold-500) 78%, white);
    outline-offset: 3px;
}

body.simahr-theme ::selection {
    background: var(--simahr-gold-500);
    color: var(--simahr-navy-950);
}

.simahr-v3-shell {
    min-height: 100vh;
    margin: 0;
    color: var(--simahr-text);
}

.simahr-v3-sidebar {
    background: linear-gradient(180deg, var(--simahr-sidebar), #0e1935);
    color: var(--simahr-text-on-dark);
    border-right: 1px solid rgba(222, 173, 103, 0.18);
}

.simahr-v3-topbar {
    background: color-mix(in srgb, var(--simahr-surface) 90%, transparent);
    border-bottom: 1px solid var(--simahr-border);
    backdrop-filter: blur(18px);
}

.simahr-v3-card {
    background: var(--simahr-surface);
    border: 1px solid var(--simahr-border);
    border-radius: var(--simahr-radius);
    box-shadow: var(--simahr-shadow-soft);
}

.simahr-v3-card--feature {
    border-color: color-mix(in srgb, var(--simahr-gold-500) 38%, var(--simahr-border));
    box-shadow: var(--simahr-shadow);
}

.simahr-v3-muted { color: var(--simahr-text-soft); }
.simahr-v3-gold { color: var(--simahr-gold-500); }

.v3-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
}
.v3-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

body.simahr-v3-shell,
body.simahr-v3-shell *,
body.simahr-v3-shell *::before,
body.simahr-v3-shell *::after { box-sizing: border-box; }

.v3-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 22px 16px;
    background: linear-gradient(180deg, var(--simahr-sidebar), #0d1833);
    color: var(--simahr-text-on-dark);
    border-right: 1px solid rgba(222, 173, 103, 0.18);
    z-index: 40;
}

.v3-brand { display: flex; align-items: center; gap: 12px; padding: 2px 8px 24px; color: white; text-decoration: none; }
.v3-brand img { width: 42px; height: 42px; object-fit: contain; background: white; border-radius: 10px; padding: 5px; }
.v3-brand strong { display: block; font-size: 17px; letter-spacing: .02em; }
.v3-brand small { color: var(--simahr-gold-400); font-weight: 800; letter-spacing: .1em; }
.v3-collapse-button { position: absolute; top: 72px; right: -15px; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(222,173,103,.3); border-radius: 10px; background: var(--simahr-sidebar-soft); color: white; cursor: pointer; box-shadow: var(--simahr-shadow-soft); }
.v3-collapse-button .v3-icon { width: 16px; height: 16px; transition: transform .2s ease; }

.v3-nav { display: grid; gap: 7px; }
.v3-nav-section { margin: 18px 11px 5px; color: rgba(255,255,255,.38); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.v3-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: rgba(255,255,255,.78);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}
.v3-nav a:hover, .v3-nav a[aria-current="page"] {
    background: var(--simahr-sidebar-soft);
    border-color: rgba(222, 173, 103, .25);
    color: white;
}
.v3-nav a[aria-current="page"]::before { content: ""; width: 4px; height: 22px; border-radius: 5px; background: var(--simahr-gold-500); }
.v3-sidebar-footer { margin-top: auto; display: grid; gap: 8px; }
.v3-topbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.v3-icon-button { display: inline-grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid var(--simahr-border-strong); border-radius: 12px; background: var(--simahr-surface); color: var(--simahr-text); text-decoration: none; }
.v3-icon-button:hover { border-color: var(--simahr-gold-500); color: var(--simahr-blue-500); }
.v3-mobile-nav-actions { display: none; }
.v3-nav-collapsed .v3-layout { grid-template-columns: 82px minmax(0, 1fr); }
.v3-nav-collapsed .v3-sidebar { padding-inline: 12px; }
.v3-nav-collapsed .v3-brand { justify-content: center; padding-inline: 0; }
.v3-nav-collapsed .v3-brand img { width: 40px; height: 40px; }
.v3-nav-collapsed .v3-brand-copy,
.v3-nav-collapsed .v3-nav-label,
.v3-nav-collapsed .v3-nav-section { display: none; }
.v3-nav-collapsed .v3-nav a { justify-content: center; padding-inline: 8px; }
.v3-nav-collapsed .v3-nav a[aria-current="page"]::before { position: absolute; left: 2px; }
.v3-nav-collapsed .v3-collapse-button .v3-icon { transform: rotate(180deg); }

.v3-workspace { min-width: 0; }
.v3-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 76px;
    padding: 13px clamp(18px, 3vw, 42px);
    background: color-mix(in srgb, var(--simahr-surface) 90%, transparent);
    border-bottom: 1px solid var(--simahr-border);
    backdrop-filter: blur(18px);
}
.v3-topbar h1 { margin: 0; font-size: clamp(18px, 2vw, 24px); color: var(--simahr-text); }
.v3-topbar p { margin: 4px 0 0; font-size: 12px; color: var(--simahr-text-soft); }
.v3-user { display: flex; align-items: center; gap: 10px; color: var(--simahr-text-soft); font-size: 12px; font-weight: 800; }
.v3-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--simahr-navy-900); color: var(--simahr-gold-400); }
.v3-menu-button { display: none; border: 0; background: transparent; color: var(--simahr-text); font-size: 24px; cursor: pointer; }

.v3-content { width: min(1480px, 100%); margin: 0 auto; padding: 30px clamp(18px, 3vw, 42px) 90px; }
.v3-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.v3-stack > * { min-width: 0; }
.v3-grid { display: grid; gap: 18px; }
.v3-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v3-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v3-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.v3-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--simahr-border-strong);
    border-radius: var(--simahr-radius-lg);
    background: linear-gradient(125deg, var(--simahr-navy-900), var(--simahr-blue-700));
    color: var(--simahr-text-on-dark);
    box-shadow: var(--simahr-shadow);
}
.v3-hero::after { content: ""; position: absolute; width: 310px; height: 310px; right: -100px; top: -150px; border-radius: 50%; border: 70px solid rgba(222,173,103,.12); }
.v3-hero-mark { position: absolute; right: clamp(24px,5vw,70px); bottom: 22px; display: grid; width: 116px; height: 116px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; background: rgba(255,255,255,.06); transform: rotate(-5deg); }
.v3-hero-icon { width: 58px; height: 58px; color: var(--simahr-gold-400); }
.v3-eyebrow { margin: 0 0 8px; color: var(--simahr-gold-400); font-size: 11px; font-weight: 950; letter-spacing: .17em; text-transform: uppercase; }
.v3-hero h2 { position: relative; margin: 0; max-width: 760px; font-size: clamp(25px, 4vw, 42px); line-height: 1.08; }
.v3-hero p { position: relative; max-width: 760px; margin: 13px 0 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.7; }

.v3-card { padding: 22px; background: var(--simahr-surface); border: 1px solid var(--simahr-border); border-radius: var(--simahr-radius); box-shadow: var(--simahr-shadow-soft); }
a.v3-card { color: inherit; text-decoration: none; }
.v3-card--gold { border-color: color-mix(in srgb, var(--simahr-gold-500) 42%, var(--simahr-border)); }
.v3-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.v3-card h2, .v3-card h3 { margin: 0; color: var(--simahr-text); }
.v3-card h2 { font-size: 19px; }.v3-card h3 { font-size: 15px; }
.v3-card p { color: var(--simahr-text-soft); }
.v3-link-card { position: relative; padding-top: 74px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.v3-link-card:hover { transform: translateY(-3px); border-color: var(--simahr-border-strong); box-shadow: var(--simahr-shadow); }
.v3-feature-icon { position: absolute; top: 20px; left: 22px; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: color-mix(in srgb, var(--simahr-gold-500) 18%, var(--simahr-surface)); color: var(--simahr-blue-700); }

.v3-kpi { min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; }
.v3-kpi-label { color: var(--simahr-text-soft); font-size: 12px; font-weight: 800; }
.v3-kpi-value { color: var(--simahr-text); font-size: clamp(30px, 4vw, 42px); font-weight: 950; line-height: 1; }
.v3-kpi-note { color: var(--simahr-gold-500); font-size: 11px; font-weight: 850; }
.v3-kpi-link { color: inherit; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.v3-kpi-link:hover { transform: translateY(-2px); border-color: var(--simahr-border-strong); box-shadow: var(--simahr-shadow); }

.v3-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 42px; padding: 10px 16px; border: 1px solid transparent; border-radius: 12px;
    background: var(--simahr-blue-700); color: white; text-decoration: none; font: 850 12px/1 system-ui, sans-serif; cursor: pointer;
}
.v3-button:hover { background: var(--simahr-navy-900); }
.v3-button--gold { background: var(--simahr-gold-500); color: var(--simahr-navy-950); }
.v3-button--ghost { background: transparent; color: var(--simahr-text); border-color: var(--simahr-border-strong); }
.v3-button--danger { background: var(--simahr-danger); color: white; }

.v3-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--simahr-surface-strong); color: var(--simahr-text); font-size: 10px; font-weight: 900; }
.v3-badge--gold { background: color-mix(in srgb, var(--simahr-gold-500) 18%, var(--simahr-surface)); color: var(--simahr-warning); }
.v3-badge--success { background: color-mix(in srgb, var(--simahr-success) 14%, var(--simahr-surface)); color: var(--simahr-success); }
.v3-badge--danger { background: color-mix(in srgb, var(--simahr-danger) 13%, var(--simahr-surface)); color: var(--simahr-danger); }

.v3-pipeline { display: grid; grid-template-columns: repeat(7, minmax(100px, 1fr)); gap: 9px; overflow-x: auto; padding-bottom: 5px; }
.v3-pipeline-step { padding: 14px 12px; border: 1px solid var(--simahr-border); border-radius: 14px; background: var(--simahr-surface-soft); }
.v3-pipeline-step strong { display: block; margin-top: 8px; font-size: 25px; color: var(--simahr-text); }
.v3-pipeline-step span { font-size: 10px; color: var(--simahr-text-soft); font-weight: 850; }

.v3-table-wrap { overflow: auto; border: 1px solid var(--simahr-border); border-radius: 15px; }
.v3-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.v3-table th { padding: 13px 15px; background: var(--simahr-surface-soft); color: var(--simahr-text-soft); text-align: left; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.v3-table td { padding: 14px 15px; border-top: 1px solid var(--simahr-border); color: var(--simahr-text); font-size: 12px; }
.v3-table tbody tr:hover { background: color-mix(in srgb, var(--simahr-blue-500) 6%, transparent); }
.v3-table a { color: var(--simahr-blue-500); font-weight: 850; text-decoration: none; }

.v3-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.v3-field { display: grid; gap: 7px; }
.v3-field--full { grid-column: 1 / -1; }
.v3-field label { color: var(--simahr-text-soft); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.v3-field input, .v3-field select, .v3-field textarea {
    width: 100%; box-sizing: border-box; min-height: 43px; padding: 10px 12px; border: 1px solid var(--simahr-border-strong); border-radius: 11px;
    background: var(--simahr-surface-soft); color: var(--simahr-text); font: 600 13px/1.4 system-ui, sans-serif;
}
.v3-field textarea { min-height: 110px; resize: vertical; }

.v3-filter { display: grid; grid-template-columns: minmax(200px, 2fr) repeat(2, minmax(140px, 1fr)) auto; gap: 10px; align-items: end; }
.v3-search-form { display: flex; gap: 9px; width: min(460px, 100%); }
.v3-search-form input { min-width: 0; flex: 1; min-height: 42px; padding: 10px 12px; border: 1px solid var(--simahr-border-strong); border-radius: 11px; background: var(--simahr-surface-soft); color: var(--simahr-text); font: 600 13px/1.4 system-ui, sans-serif; }
.v3-feature-heading-icon { width: 34px; height: 34px; color: var(--simahr-gold-500); }
.v3-metric-list { display: grid; gap: 9px; }
.v3-metric-list > div:not(.v3-empty) { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--simahr-surface-soft); color: var(--simahr-text-soft); font-size: 12px; }
.v3-metric-list strong { color: var(--simahr-gold-500); font-size: 16px; }
.v3-quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.v3-quick-actions > a { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border: 1px solid var(--simahr-border); border-radius: 14px; background: var(--simahr-surface-soft); color: var(--simahr-text); text-decoration: none; }
.v3-quick-actions > a:hover { border-color: var(--simahr-gold-500); background: var(--simahr-surface-strong); }
.v3-quick-actions .v3-icon { flex: 0 0 22px; color: var(--simahr-blue-500); }
.v3-quick-actions span { min-width: 0; }
.v3-quick-actions strong, .v3-quick-actions small { display: block; overflow-wrap: anywhere; }
.v3-quick-actions strong { font-size: 12px; }
.v3-quick-actions small { margin-top: 4px; color: var(--simahr-text-soft); font-size: 10px; line-height: 1.4; }
.v3-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.v3-choice-card { display: flex; align-items: flex-start; gap: 13px; padding: 16px; border: 1px solid var(--simahr-border); border-radius: 15px; background: var(--simahr-surface-soft); }
.v3-choice-card--gold { border-color: color-mix(in srgb,var(--simahr-gold-500) 45%,var(--simahr-border)); }
.v3-choice-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 12px; background: var(--simahr-surface-strong); color: var(--simahr-blue-500); }
.v3-choice-card strong { color: var(--simahr-text); }
.v3-choice-card p { margin: 5px 0 0; font-size: 11px; line-height: 1.55; }
.v3-field-help { color: var(--simahr-text-soft); font-size: 10px; line-height: 1.45; }
.v3-field-help strong { color: var(--simahr-text); }
.v3-confirmation { display: flex; align-items: flex-start; gap: 10px; padding: 12px 13px; border: 1px solid var(--simahr-border); border-radius: 12px; background: var(--simahr-surface-soft); color: var(--simahr-text-soft); font-size: 11px; line-height: 1.5; }
.v3-confirmation input { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 1px; }
.v3-notice { display: flex; align-items: flex-start; gap: 9px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb,var(--simahr-gold-500) 12%,var(--simahr-surface)); color: var(--simahr-text-soft); font-size: 11px; line-height: 1.5; }
.v3-notice .v3-icon { flex: 0 0 18px; color: var(--simahr-gold-500); }
.v3-chart-list { display: grid; gap: 14px; }
.v3-chart-row { display: grid; gap: 7px; min-width: 0; }
.v3-chart-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--simahr-text-soft); font-size: 11px; }
.v3-chart-label span { overflow-wrap: anywhere; }
.v3-chart-label strong { color: var(--simahr-text); }
.v3-chart-track { overflow: hidden; width: 100%; height: 9px; border-radius: 999px; background: var(--simahr-chart-track); }
.v3-chart-track > span, .v3-chart-track > i { display: block; width: min(100%, max(0%, var(--v3-chart-value, 0%))); height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--simahr-chart-1),var(--simahr-chart-3)); }
.v3-footnote { display: flex; align-items: flex-start; gap: 9px; padding-block: 15px; color: var(--simahr-text-soft); font-size: 11px; line-height: 1.55; }
.v3-footnote .v3-icon { flex: 0 0 18px; color: var(--simahr-blue-500); }
.v3-status-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.v3-status-tile { padding: 15px; border: 1px solid var(--simahr-border); border-radius: 14px; background: var(--simahr-surface-soft); }
.v3-status-tile span { display: block; color: var(--simahr-text-soft); font-size: 10px; font-weight: 800; }
.v3-status-tile strong { display: block; margin-top: 6px; color: var(--simahr-text); font-size: 16px; }
.v3-health-checks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.v3-health-check { padding: 16px; border: 1px solid var(--simahr-border); border-radius: 14px; background: var(--simahr-surface-soft); }
.v3-health-check p { margin: 8px 0 0; font-size: 12px; }
.v3-health-check--ok { border-color: color-mix(in srgb,var(--simahr-success) 35%,var(--simahr-border)); }
.v3-health-check--warning { border-color: color-mix(in srgb,var(--simahr-warning) 40%,var(--simahr-border)); }
.v3-health-check--error { border-color: color-mix(in srgb,var(--simahr-danger) 40%,var(--simahr-border)); }
.v3-alert { padding: 14px 16px; border-radius: 13px; border: 1px solid color-mix(in srgb, var(--simahr-success) 35%, var(--simahr-border)); background: color-mix(in srgb, var(--simahr-success) 10%, var(--simahr-surface)); color: var(--simahr-success); font-size: 12px; font-weight: 800; }
.v3-alert--danger { border-color: color-mix(in srgb,var(--simahr-danger) 35%,var(--simahr-border)); background: color-mix(in srgb,var(--simahr-danger) 9%,var(--simahr-surface)); color: var(--simahr-danger); }
.v3-health-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.v3-details-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.v3-details-summary::-webkit-details-marker { display: none; }
.v3-details-summary strong { display: block; color: var(--simahr-text); }
.v3-details-content { margin-top: 18px; }
.v3-empty { padding: 34px 18px; text-align: center; color: var(--simahr-text-soft); }
.v3-detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.v3-detail-item { padding: 13px; border-radius: 12px; background: var(--simahr-surface-soft); }
.v3-detail-item span { display: block; color: var(--simahr-text-soft); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.v3-detail-item strong { display: block; margin-top: 6px; color: var(--simahr-text); font-size: 13px; overflow-wrap: anywhere; }
.privacy-body { min-height: 100vh; background: var(--simahr-bg); color: var(--simahr-text); }
.privacy-topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px clamp(18px, 4vw, 52px); border-bottom: 1px solid var(--simahr-border); background: color-mix(in srgb, var(--simahr-surface) 92%, transparent); backdrop-filter: blur(16px); }
.privacy-brand { display: flex; align-items: center; gap: 12px; color: var(--simahr-text); text-decoration: none; }
.privacy-brand img { width: 42px; height: 42px; object-fit: contain; background: white; border-radius: 10px; }
.privacy-brand span { display: grid; gap: 2px; }
.privacy-brand strong { font-size: 18px; }
.privacy-brand small { color: var(--simahr-text-soft); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.privacy-page { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 64px; }
.privacy-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.privacy-hero h1 { margin: 3px 0 8px; font-size: clamp(25px, 4vw, 40px); }
.privacy-alert { padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--simahr-gold-500) 42%, var(--simahr-border)); border-radius: 13px; background: color-mix(in srgb, var(--simahr-gold-500) 12%, var(--simahr-surface)); color: var(--simahr-text); font-size: 12px; font-weight: 750; }
.privacy-alert--danger { border-color: color-mix(in srgb, var(--simahr-danger) 38%, var(--simahr-border)); background: color-mix(in srgb, var(--simahr-danger) 9%, var(--simahr-surface)); color: var(--simahr-danger); }
.privacy-success { color: var(--simahr-success) !important; }
.privacy-danger { color: var(--simahr-danger) !important; }
.privacy-document { display: grid; gap: 7px; min-width: 0; padding: 16px; border: 1px solid var(--simahr-border); border-radius: 14px; background: var(--simahr-surface-soft); }
.privacy-document span { color: var(--simahr-text-soft); font-size: 11px; font-weight: 750; }
.privacy-document code { overflow-wrap: anywhere; color: var(--simahr-blue-500); font-size: 10px; }
.v3-document-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px; border: 1px solid var(--simahr-border); border-radius: 14px; background: var(--simahr-surface-soft); }
.v3-document-row strong { display: block; color: var(--simahr-text); font-size: 13px; }
.v3-document-row span { display: block; margin-top: 5px; color: var(--simahr-text-soft); font-size: 11px; }
.privacy-timeline { display: grid; gap: 0; }
.privacy-event { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 13px; padding: 16px 0; border-top: 1px solid var(--simahr-border); }
.privacy-event:first-child { border-top: 0; }
.privacy-event-dot { width: 11px; height: 11px; margin-top: 4px; border: 3px solid var(--simahr-surface); border-radius: 50%; background: var(--simahr-gold-500); box-shadow: 0 0 0 2px var(--simahr-gold-500); }
.privacy-event p { margin: 5px 0; }
.privacy-event small { display: block; color: var(--simahr-text-soft); }
.privacy-event code { display: block; margin-top: 8px; color: var(--simahr-blue-500); font-size: 10px; overflow-wrap: anywhere; }
.privacy-withdrawal summary { cursor: pointer; color: var(--simahr-danger); font-size: 13px; font-weight: 900; }
.privacy-withdrawal form { display: grid; gap: 13px; margin-top: 18px; }
.privacy-withdrawal label { display: flex; align-items: flex-start; gap: 10px; color: var(--simahr-text); font-size: 12px; font-weight: 750; }
.privacy-withdrawal .v3-button { justify-self: start; }
.privacy-table { margin-top: 18px; }
.privacy-table code { color: var(--simahr-blue-500); font-size: 10px; overflow-wrap: anywhere; }
.v3-timeline { display: grid; gap: 14px; }
.v3-timeline-item { position: relative; padding-left: 22px; color: var(--simahr-text-soft); font-size: 12px; }
.v3-timeline-item::before { content: ""; position: absolute; left: 0; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--simahr-gold-500); box-shadow: 0 0 0 5px color-mix(in srgb, var(--simahr-gold-500) 14%, transparent); }
.v3-timeline-item strong { display: block; color: var(--simahr-text); margin-bottom: 3px; }

.v3-help-hero { padding-right: clamp(24px,18vw,260px); }
.v3-help-search { position: relative; display: flex; align-items: center; gap: 10px; width: min(560px,100%); margin-top: 20px; padding: 0 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 14px; background: rgba(255,255,255,.09); }
.v3-help-search .v3-icon { flex: 0 0 19px; }
.v3-help-search input { width: 100%; min-height: 46px; border: 0; outline: 0; background: transparent; color: white; font: 650 13px/1.4 system-ui,sans-serif; }
.v3-help-search input::placeholder { color: rgba(255,255,255,.62); }
.v3-help-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(280px,1fr); gap: 18px; align-items: start; }
.v3-help-topics { display: grid; gap: 18px; min-width: 0; }
.v3-help-topic > p:last-child { margin-bottom: 0; }
.v3-step-list { display: grid; gap: 9px; margin: 16px 0 0; padding: 0; counter-reset: v3-step; list-style: none; }
.v3-step-list li { position: relative; min-height: 30px; padding: 7px 0 7px 42px; color: var(--simahr-text-soft); font-size: 12px; line-height: 1.55; }
.v3-step-list li::before { counter-increment: v3-step; content: counter(v3-step); position: absolute; left: 0; top: 3px; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px; background: var(--simahr-surface-strong); color: var(--simahr-blue-500); font-weight: 900; }
.v3-help-faq { position: sticky; top: 98px; }
.v3-help-faq details { border-top: 1px solid var(--simahr-border); }
.v3-help-faq details:first-of-type { border-top: 0; }
.v3-help-faq summary { cursor: pointer; padding: 14px 0; color: var(--simahr-text); font-size: 12px; font-weight: 850; }
.v3-help-faq details p { margin: -3px 0 15px; font-size: 11px; line-height: 1.6; }
.v3-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.v3-comparison > div { padding: 14px; border-radius: 13px; background: var(--simahr-surface-soft); }
.v3-comparison strong, .v3-comparison span { display: block; }
.v3-comparison span { margin-top: 6px; color: var(--simahr-text-soft); font-size: 11px; line-height: 1.55; }
.v3-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.v3-flow span { padding: 8px 11px; border-radius: 999px; background: var(--simahr-surface-strong); color: var(--simahr-text); font-size: 11px; font-weight: 850; }
.v3-flow i { color: var(--simahr-gold-500); font-style: normal; }

.assessment-report-overview { display: grid; grid-template-columns: 126px minmax(0,1fr); gap: 22px; align-items: center; }
.assessment-score-ring--large { width: 116px; height: 116px; }
.assessment-score-ring--large strong { font-size: 31px; }
.assessment-threshold { display: grid; gap: 7px; padding: 16px 18px 18px; border-top: 1px solid var(--simahr-border); }
.assessment-report .assessment-threshold { margin-top: 18px; padding-inline: 0; padding-bottom: 0; }
.assessment-threshold-labels { display: grid; grid-template-columns: 55fr 15fr 30fr; color: var(--simahr-text-soft); font-size: 9px; font-weight: 800; }
.assessment-threshold-labels span:nth-child(2) { text-align: center; }
.assessment-threshold-labels span:last-child { text-align: right; }
.assessment-threshold-track { position: relative; height: 10px; margin-top: 12px; border-radius: 999px; background: linear-gradient(90deg,var(--simahr-danger) 0 55%,var(--simahr-warning) 55% 70%,var(--simahr-success) 70% 100%); opacity: .78; }
.assessment-threshold-marker { position: absolute; left: min(100%,max(0%,var(--assessment-marker,0%))); top: 50%; width: 3px; height: 22px; border-radius: 4px; background: var(--simahr-text); transform: translate(-50%,-50%); }
.assessment-threshold-marker i { position: absolute; left: 50%; bottom: 20px; padding: 3px 6px; border-radius: 7px; background: var(--simahr-text); color: var(--simahr-surface); font-size: 9px; font-style: normal; font-weight: 900; transform: translateX(-50%); }
.assessment-threshold-points { display: grid; grid-template-columns: 55fr 15fr 30fr auto; color: var(--simahr-text-soft); font-size: 9px; }
.assessment-threshold-points span:nth-child(2), .assessment-threshold-points span:nth-child(3) { transform: translateX(-50%); }
.assessment-threshold-points span:last-child { text-align: right; }
.assessment-section-chart--standalone { padding: 0; }
.assessment-section-row--strong .assessment-section-track i { background: linear-gradient(90deg,var(--simahr-chart-1),var(--simahr-success)); }
.assessment-section-row--development .assessment-section-track i { background: linear-gradient(90deg,var(--simahr-danger),var(--simahr-warning)); }
.assessment-dimensions { border-top: 1px solid var(--simahr-border); }
.assessment-dimensions summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; color: var(--simahr-text); font-size: 11px; font-weight: 850; }
.assessment-dimension-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0 18px 18px; }
.assessment-report + .v3-grid .assessment-dimension-grid { padding: 0; }
.assessment-dimension { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px 10px; min-width: 0; padding: 11px 12px; border: 1px solid var(--simahr-border); border-radius: 12px; background: var(--simahr-surface-soft); }
.assessment-dimension span { overflow-wrap: anywhere; color: var(--simahr-text-soft); font-size: 10px; }
.assessment-dimension strong { color: var(--simahr-text); font-size: 12px; }
.assessment-dimension .v3-chart-track { grid-column: 1 / -1; height: 6px; }
.assessment-dimension--strong { border-color: color-mix(in srgb,var(--simahr-success) 35%,var(--simahr-border)); }
.assessment-dimension--development { border-color: color-mix(in srgb,var(--simahr-warning) 42%,var(--simahr-border)); }
.assessment-insight-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0 18px 18px; }
.assessment-insight-grid > div { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 7px; min-width: 0; padding: 12px; border-radius: 12px; background: var(--simahr-surface-soft); }
.assessment-insight-title { flex-basis: 100%; color: var(--simahr-text); font-size: 10px; font-weight: 900; }
.assessment-insight-grid small { color: var(--simahr-text-soft); font-size: 10px; line-height: 1.45; }
.assessment-insight-list { display: grid; gap: 9px; }
.assessment-insight-list > div:not(.v3-empty) { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; border-radius: 12px; background: var(--simahr-surface-soft); color: var(--simahr-text-soft); font-size: 11px; }
.assessment-insight-list strong { color: var(--simahr-text); }
.assessment-insight-card--success { border-color: color-mix(in srgb,var(--simahr-success) 32%,var(--simahr-border)); }
.assessment-insight-card--review { border-color: color-mix(in srgb,var(--simahr-warning) 38%,var(--simahr-border)); }

.profile-phone-field { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 9px; }
.profile-phone-field > * { min-width: 0; width: 100%; }
.profile-field-help { margin: 7px 0 0; color: var(--simahr-text-soft); font-size: 10px; line-height: 1.45; }
.profile-readonly-field { cursor: not-allowed; opacity: .82; }
.profile-license-fieldset { min-width: 0; padding: 0; border: 0; }
.profile-license-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
.profile-license-grid label { position: relative; cursor: pointer; }
.profile-license-grid input { position: absolute; opacity: 0; pointer-events: none; }
.profile-license-grid span { display: grid; min-height: 38px; place-items: center; border: 1px solid var(--simahr-border-strong); border-radius: 10px; background: var(--simahr-surface-soft); color: var(--simahr-text-soft); font-size: 11px; font-weight: 850; }
.profile-license-grid input:checked + span { border-color: var(--simahr-blue-500); background: color-mix(in srgb,var(--simahr-blue-500) 15%,var(--simahr-surface)); color: var(--simahr-text); box-shadow: inset 0 0 0 1px var(--simahr-blue-500); }
.profile-license-grid input:focus-visible + span { outline: 3px solid color-mix(in srgb,var(--simahr-blue-500) 35%,transparent); outline-offset: 2px; }

@media (max-width: 1100px) {
    .v3-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v3-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v3-filter { grid-template-columns: 1fr 1fr; }
    .v3-status-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .v3-health-checks { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .v3-quick-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .profile-license-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (max-width: 820px) {
    .v3-layout { display: block; }
    .v3-sidebar { position: fixed; left: 0; width: min(82vw, 290px); transform: translateX(-105%); box-shadow: 22px 0 60px rgba(0,0,0,.35); transition: transform .22s ease; }
    body.v3-nav-open .v3-sidebar { transform: translateX(0); }
    .v3-menu-button { display: inline-grid; place-items: center; }
    .v3-collapse-button { display: none; }
    .v3-nav-collapsed .v3-layout { display: block; }
    .v3-nav-collapsed .v3-brand-copy, .v3-nav-collapsed .v3-nav-label { display: initial; }
    .v3-nav-collapsed .v3-nav-section { display: block; }
    .v3-nav-collapsed .v3-nav a { justify-content: flex-start; padding-inline: 12px; }
    .v3-topbar { min-height: 66px; flex-wrap: wrap; gap: 10px 12px; padding-bottom: 10px; }
    .v3-topbar-title { flex: 1; }
    .v3-user > span:not(.v3-avatar) { display: none; }
    .v3-mobile-nav-actions {
        order: 5;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        flex: 0 0 100%;
        gap: 8px;
    }
    .v3-mobile-nav-actions a {
        display: flex;
        min-width: 0;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 9px 12px;
        border: 1px solid var(--simahr-border-strong);
        border-radius: 11px;
        background: var(--simahr-surface-soft);
        color: var(--simahr-text);
        font-size: 11px;
        font-weight: 850;
        text-align: center;
        text-decoration: none;
    }
    .v3-mobile-nav-actions a:hover,
    .v3-mobile-nav-actions a:focus-visible { border-color: var(--simahr-gold-500); color: var(--simahr-blue-500); }
    .v3-mobile-nav-actions__logout { color: var(--simahr-danger) !important; }
    .v3-mobile-nav-actions .v3-icon { width: 17px; height: 17px; }
    .v3-grid--3, .v3-grid--2 { grid-template-columns: 1fr; }
    .v3-form-grid, .v3-detail-list { grid-template-columns: 1fr; }
    .v3-field--full { grid-column: auto; }
    .v3-card-header { flex-wrap: wrap; }
    .v3-help-layout { grid-template-columns: 1fr; }
    .v3-help-faq { position: static; }
    .assessment-report-overview { grid-template-columns: 96px minmax(0,1fr); }
    .assessment-score-ring--large { width: 88px; height: 88px; }
}

@media (max-width: 560px) {
    .v3-grid--4 { grid-template-columns: 1fr 1fr; gap: 10px; }
    .v3-kpi { min-height: 112px; padding: 16px; }
    .v3-card { padding: 17px; }
    .v3-filter { grid-template-columns: 1fr; }
    .v3-search-form { flex-direction: column; }
    .v3-health-checks { grid-template-columns: 1fr; }
    .v3-content { padding-top: 20px; }
    .privacy-topbar { align-items: flex-start; }
    .privacy-topbar .v3-button { padding: 9px 11px; font-size: 10px; }
    .privacy-page { width: min(100% - 22px, 1120px); padding-top: 18px; }
    .employee-service-topbar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 12px;
    }
    .employee-service-topbar .privacy-brand {
        flex: 1 1 100%;
        min-width: 0;
    }
    .employee-service-topbar .privacy-brand span { min-width: 0; }
    .employee-service-topbar .privacy-brand small { overflow-wrap: anywhere; }
    .employee-service-topbar .v3-topbar-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        margin-left: 0;
        gap: 8px;
    }
    .employee-service-topbar .v3-topbar-actions .v3-button {
        width: 100%;
        min-width: 0;
        padding-inline: 8px;
    }
    .privacy-hero { flex-direction: column; }
    .privacy-event { grid-template-columns: 16px minmax(0, 1fr); }
    .privacy-event > .v3-badge { grid-column: 2; justify-self: start; }
    .v3-choice-grid, .v3-comparison, .assessment-dimension-grid, .assessment-insight-grid { grid-template-columns: 1fr; }
    .v3-quick-actions { grid-template-columns: 1fr; }
    .v3-help-hero { padding-right: 17px; }
    .v3-hero-mark { display: none; }
    body.simahr-v3-shell .v3-topbar-actions .v3-user { display: none; }
    .assessment-threshold-labels { font-size: 8px; }
    .assessment-report-overview { grid-template-columns: 1fr; }
    .profile-phone-field { grid-template-columns: 1fr; }
    .profile-license-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

.simahr-display-control {
    position: fixed;
    z-index: 1000;
    right: max(16px, env(safe-area-inset-right));
    top: max(14px, env(safe-area-inset-top));
    bottom: auto;
}

.simahr-theme-control {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--simahr-border-strong);
    border-radius: 13px;
    background: color-mix(in srgb, var(--simahr-surface) 94%, transparent);
    color: var(--simahr-text);
    box-shadow: var(--simahr-shadow-soft);
    backdrop-filter: blur(16px);
    font: 800 11px/1 system-ui, sans-serif;
    letter-spacing: .04em;
    cursor: pointer;
}

.simahr-theme-control:hover {
    border-color: var(--simahr-gold-500);
    transform: translateY(-1px);
}

.simahr-theme-control__icon {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 9px;
    background: var(--simahr-gold-500);
    color: var(--simahr-navy-950);
    font-size: 13px;
    line-height: 0;
}
.simahr-theme-control__icon svg { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.simahr-theme-control__label { display: none; }
.v3-topbar-actions .simahr-display-control, .profile-v3-actions .simahr-display-control { position: relative; inset: auto; flex: 0 0 42px; }
.v3-topbar-actions .simahr-theme-control, .profile-v3-actions .simahr-theme-control { box-shadow: none; }

.simahr-display-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: min(310px, calc(100vw - 24px));
    padding: 14px;
    border: 1px solid var(--simahr-border-strong);
    border-radius: 16px;
    background: color-mix(in srgb, var(--simahr-surface) 97%, transparent);
    color: var(--simahr-text);
    box-shadow: var(--simahr-shadow);
    backdrop-filter: blur(18px);
}
.simahr-display-panel[hidden] { display: none; }
.simahr-display-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 2px 2px 12px; }
.simahr-display-panel__head strong { font-size: 14px; }
.simahr-display-panel__head span { color: var(--simahr-text-soft); font-size: 9px; font-weight: 750; }
.simahr-display-group { display: grid; gap: 8px; padding: 11px 2px; border-top: 1px solid var(--simahr-border); }
.simahr-display-group__label { color: var(--simahr-text-soft); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.simahr-display-options { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.simahr-display-options button {
    min-height: 36px;
    padding: 8px 9px;
    border: 1px solid var(--simahr-border);
    border-radius: 10px;
    background: var(--simahr-surface-soft);
    color: var(--simahr-text-soft);
    font: 850 10px/1 system-ui, sans-serif;
    cursor: pointer;
}
.simahr-display-options button:hover { border-color: var(--simahr-gold-500); color: var(--simahr-text); }
.simahr-display-options button[aria-pressed="true"] { border-color: var(--simahr-blue-500); background: color-mix(in srgb, var(--simahr-blue-500) 13%, var(--simahr-surface)); color: var(--simahr-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--simahr-blue-500) 25%, transparent); }
.simahr-display-group small { color: var(--simahr-text-soft); font-size: 9px; line-height: 1.45; }

/* Masaüstünde kullanıcının seçebildiği bilgi yoğunluğu; mobil dokunma ölçüleri korunur. */
@media (min-width: 768px) {
    :root[data-density="compact"] .v3-content { padding-top: 20px; padding-bottom: 62px; }
    :root[data-density="compact"] .v3-stack { gap: 14px; }
    :root[data-density="compact"] .v3-grid { gap: 12px; }
    :root[data-density="compact"] .v3-card { padding: 16px; }
    :root[data-density="compact"] .v3-card-header { gap: 10px; margin-bottom: 12px; }
    :root[data-density="compact"] .v3-kpi { min-height: 104px; }
    :root[data-density="compact"] .v3-kpi-value { font-size: clamp(25px, 3vw, 34px); }
    :root[data-density="compact"] .v3-table th { padding: 9px 11px; }
    :root[data-density="compact"] .v3-table td { padding: 10px 11px; }
    :root[data-density="compact"] .v3-form-grid { gap: 10px; }
    :root[data-density="compact"] .v3-field { gap: 5px; }
    :root[data-density="compact"] .v3-field input,
    :root[data-density="compact"] .v3-field select { min-height: 38px; padding-block: 7px; }
    :root[data-density="compact"] .v3-field textarea { min-height: 84px; }
    :root[data-density="compact"] .v3-button { min-height: 38px; padding-block: 8px; }
    :root[data-density="compact"] .v3-pipeline-step,
    :root[data-density="compact"] .v3-status-tile,
    :root[data-density="compact"] .v3-health-check,
    :root[data-density="compact"] .v3-choice-card { padding: 11px; }
    :root[data-density="compact"] .v3-quick-actions > a { padding: 10px 12px; }
    :root[data-density="compact"] .v3-metric-list > div:not(.v3-empty) { padding: 9px 11px; }
    :root[data-density="compact"] .v3-lifecycle-grid { gap: 9px; }
    :root[data-density="compact"] .v3-lifecycle-card { padding: 12px; }
    :root[data-density="compact"] .v3-action-row-link { padding: 11px; }
    :root[data-density="compact"] .v3-action-description { margin-bottom: 12px; }
}

.assessment-management-grid { align-items: start; }
.assessment-history-stack { gap: 14px; }
.assessment-result-card { min-width: 0; overflow: hidden; border: 1px solid var(--simahr-border); border-radius: 18px; background: var(--simahr-surface); }
.assessment-result-card > a.v3-detail-item { display: block; box-sizing: border-box; width: 100%; min-width: 0; padding: 15px 18px; border: 0; border-radius: 0; color: inherit; text-decoration: none; }
.assessment-result-card > a.v3-detail-item:hover { background: color-mix(in srgb, var(--simahr-blue-500) 7%, var(--simahr-surface-soft)); }
.assessment-result-card > a.v3-detail-item span,
.assessment-result-card > a.v3-detail-item strong { max-width: 100%; overflow-wrap: anywhere; }
.assessment-result-summary { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 18px; border-top: 1px solid var(--simahr-border); background: color-mix(in srgb, var(--simahr-blue-700) 5%, var(--simahr-surface)); }
.assessment-score-ring { --assessment-score: 0; display: grid; width: 88px; height: 88px; place-content: center; border-radius: 50%; background: radial-gradient(circle at center, var(--simahr-surface) 61%, transparent 63%), conic-gradient(var(--simahr-blue-700) calc(var(--assessment-score) * 1%), var(--simahr-border) 0); text-align: center; }
.assessment-score-ring strong { font-size: 24px; line-height: 1; color: var(--simahr-text); }
.assessment-score-ring span { margin-top: 5px; color: var(--simahr-text-soft); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.assessment-result-copy { display: grid; gap: 6px; min-width: 0; }
.assessment-result-copy > strong { color: var(--simahr-text); font-size: 16px; }
.assessment-result-copy p, .assessment-result-copy small { margin: 0; color: var(--simahr-text-soft); line-height: 1.55; }
.assessment-result-summary--positive_review .v3-badge { color: var(--simahr-success); border-color: color-mix(in srgb, var(--simahr-success) 40%, var(--simahr-border)); background: color-mix(in srgb, var(--simahr-success) 12%, var(--simahr-surface)); }
.assessment-result-summary--risk_review .v3-badge { color: var(--simahr-danger); border-color: color-mix(in srgb, var(--simahr-danger) 40%, var(--simahr-border)); background: color-mix(in srgb, var(--simahr-danger) 10%, var(--simahr-surface)); }
.assessment-section-chart { display: grid; gap: 10px; padding: 0 18px 18px; }
.assessment-section-row { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(120px, 2fr) 42px; gap: 10px; align-items: center; color: var(--simahr-text-soft); font-size: 11px; }
.assessment-section-row > strong { color: var(--simahr-text); text-align: right; }
.assessment-section-track { overflow: hidden; height: 8px; border-radius: 999px; background: var(--simahr-chart-track); }
.assessment-section-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--simahr-blue-700), var(--simahr-gold-500)); }
.assessment-decision-note { margin: 0; padding: 13px 18px; border-top: 1px solid var(--simahr-border); color: var(--simahr-text-soft); font-size: 10px; line-height: 1.55; }

/* Çalışan yaşam döngüsü ve rol bazlı aksiyon merkezi. */
.v3-card--danger { border-color: color-mix(in srgb, var(--simahr-danger) 42%, var(--simahr-border)); }
.v3-lifecycle-create { padding: 0; overflow: hidden; }
.v3-lifecycle-create > summary { display: flex; align-items: center; gap: 13px; padding: 19px 22px; cursor: pointer; list-style: none; }
.v3-lifecycle-create > summary::-webkit-details-marker { display: none; }
.v3-lifecycle-create > summary > span:first-child { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 13px; background: color-mix(in srgb, var(--simahr-gold-500) 18%, var(--simahr-surface)); color: var(--simahr-blue-700); }
.v3-lifecycle-create > summary strong, .v3-lifecycle-create > summary small { display: block; }
.v3-lifecycle-create > summary strong { color: var(--simahr-text); font-size: 14px; }
.v3-lifecycle-create > summary small { margin-top: 4px; color: var(--simahr-text-soft); font-size: 10px; }
.v3-lifecycle-create[open] > summary { border-bottom: 1px solid var(--simahr-border); background: var(--simahr-surface-soft); }
.v3-lifecycle-create .v3-form-grid { padding: 22px 22px 14px; }
.v3-form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v3-lifecycle-create label, .v3-action-update label { display: grid; gap: 7px; color: var(--simahr-text-soft); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.v3-lifecycle-create input, .v3-lifecycle-create select, .v3-action-update select, .v3-action-update textarea, .v3-inline-filter select {
    box-sizing: border-box; width: 100%; min-height: 43px; padding: 10px 12px;
    border: 1px solid var(--simahr-border-strong); border-radius: 11px;
    background: var(--simahr-surface-soft); color: var(--simahr-text);
    font: 650 12px/1.4 system-ui, sans-serif;
}
.v3-form-action { display: flex; align-items: end; }
.v3-form-note { margin: 0; padding: 0 22px 20px; font-size: 10px; line-height: 1.55; }
.v3-action-management { display: grid; gap: 13px; }
.v3-action-management-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.v3-action-management details, .v3-template-manager { padding: 0; overflow: hidden; }
.v3-action-management summary, .v3-template-manager > summary { display: flex; align-items: center; gap: 12px; padding: 17px 19px; cursor: pointer; list-style: none; }
.v3-action-management summary::-webkit-details-marker, .v3-template-manager > summary::-webkit-details-marker { display: none; }
.v3-action-management summary > span:first-child, .v3-template-manager > summary > span:first-child { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 12px; color: var(--simahr-blue-700); background: color-mix(in srgb, var(--simahr-gold-500) 16%, var(--simahr-surface)); }
.v3-action-management summary strong, .v3-action-management summary small, .v3-template-manager summary strong, .v3-template-manager summary small { display: block; }
.v3-action-management summary strong, .v3-template-manager summary strong { color: var(--simahr-text); font-size: 12px; }
.v3-action-management summary small, .v3-template-manager summary small { margin-top: 3px; color: var(--simahr-text-soft); font-size: 9px; }
.v3-action-management details[open] > summary, .v3-template-manager[open] > summary { border-bottom: 1px solid var(--simahr-border); background: var(--simahr-surface-soft); }
.v3-action-management .v3-form-grid, .v3-template-manager .v3-form-grid { padding: 16px 19px; }
.v3-action-management label, .v3-template-manager label, .v3-action-upload label, .v3-bulk-toolbar label { display: grid; gap: 6px; min-width: 0; color: var(--simahr-text-soft); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.v3-action-management input, .v3-action-management select, .v3-template-manager input, .v3-template-manager select, .v3-template-manager textarea, .v3-action-upload input, .v3-bulk-toolbar input, .v3-bulk-toolbar select, .v3-bulk-toolbar textarea { box-sizing: border-box; width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid var(--simahr-border-strong); border-radius: 11px; background: var(--simahr-surface-soft); color: var(--simahr-text); font: 650 11px/1.4 system-ui, sans-serif; }
.v3-field--full { grid-column: 1 / -1; }
.v3-compact-list { display: grid; gap: 7px; padding: 0 19px 17px; }
.v3-compact-list > div, .v3-compact-list > a { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 11px; border: 1px solid var(--simahr-border); border-radius: 11px; background: var(--simahr-surface-soft); color: var(--simahr-text); text-decoration: none; }
.v3-compact-list > div > span:first-child, .v3-compact-list > a > span:first-child { min-width: 0; flex: 1; }
.v3-compact-list strong, .v3-compact-list small { display: block; overflow-wrap: anywhere; }
.v3-compact-list strong { font-size: 10px; }
.v3-compact-list small { margin-top: 3px; color: var(--simahr-text-soft); font-size: 8px; }
.v3-link-button { border: 0; background: transparent; color: var(--simahr-danger); font: 850 9px/1 system-ui, sans-serif; cursor: pointer; }
.v3-mini-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px 19px 10px; }
.v3-mini-kpis > div { display: grid; gap: 4px; padding: 11px; border-radius: 11px; background: var(--simahr-surface-soft); }
.v3-mini-kpis span { color: var(--simahr-text-soft); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.v3-mini-kpis strong { color: var(--simahr-text); font-size: 16px; }
.v3-template-pills { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 19px 18px; }
.v3-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.v3-section-heading h2 { margin: 0; color: var(--simahr-text); font-size: 18px; }
.v3-section-heading > span, .v3-card-header > div > small { color: var(--simahr-text-soft); font-size: 10px; font-weight: 800; }
.v3-lifecycle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.v3-lifecycle-card { min-width: 0; padding: 16px; box-shadow: none; }
.v3-lifecycle-card-head { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.v3-lifecycle-card-head .v3-feature-icon { position: static; width: 38px; height: 38px; }
.v3-lifecycle-card-head strong, .v3-lifecycle-card-head small { display: block; overflow-wrap: anywhere; }
.v3-lifecycle-card-head strong { color: var(--simahr-text); font-size: 12px; }
.v3-lifecycle-card-head small { margin-top: 3px; color: var(--simahr-text-soft); font-size: 9px; }
.v3-progress-track { overflow: hidden; height: 8px; margin-top: 16px; border-radius: 999px; background: var(--simahr-chart-track); }
.v3-progress-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--simahr-blue-700), var(--simahr-gold-500)); }
.v3-lifecycle-progress-copy { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; margin-top: 9px; color: var(--simahr-text-soft); font-size: 9px; }
.v3-lifecycle-progress-copy strong { color: var(--simahr-text); font-size: 12px; }
.v3-lifecycle-progress-copy time { font-weight: 800; }
.v3-actions-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .8fr); gap: 18px; align-items: start; }
.v3-actions-list-card { min-width: 0; }
.v3-actions-list-card .v3-card-header { display: grid; grid-template-columns: 1fr; }
.v3-action-filters { display: grid; grid-template-columns: repeat(4, minmax(145px, 1fr)); gap: 8px; width: 100%; }
.v3-action-filters label { min-width: 0; }
.v3-action-filters input, .v3-action-filters select {
    box-sizing: border-box; width: 100%; min-height: 40px; padding: 9px 11px;
    border: 1px solid var(--simahr-border-strong); border-radius: 11px;
    background: var(--simahr-surface-soft); color: var(--simahr-text);
    font: 650 11px/1.4 system-ui, sans-serif;
}
.v3-button--compact { min-height: 40px; padding: 9px 13px; }
.v3-filter-clear { align-self: center; color: var(--simahr-text-soft); font-size: 10px; font-weight: 850; }
.v3-bulk-assignment { display: grid; gap: 10px; }
.v3-bulk-toolbar { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 8px; align-items: end; padding: 11px; border: 1px solid var(--simahr-border); border-radius: 13px; background: var(--simahr-surface-soft); }
.v3-action-list { display: grid; gap: 8px; }
.v3-action-row { display: flex; align-items: center; min-width: 0; padding: 0 13px; border: 1px solid var(--simahr-border); border-radius: 14px; background: var(--simahr-surface-soft); color: var(--simahr-text); transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.v3-action-row:hover, .v3-action-row.is-selected { transform: translateY(-1px); border-color: var(--simahr-gold-500); background: var(--simahr-surface-strong); }
.v3-action-row.is-overdue { border-left: 3px solid var(--simahr-danger); }
.v3-action-select { width: 17px; height: 17px; flex: 0 0 17px; margin-right: 10px; accent-color: var(--simahr-blue-700); }
.v3-action-row-link { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-width: 0; flex: 1; padding: 13px 0; color: var(--simahr-text); text-decoration: none; }
.v3-action-state { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: color-mix(in srgb, var(--simahr-blue-500) 12%, var(--simahr-surface)); color: var(--simahr-blue-500); }
.v3-action-state--done { background: color-mix(in srgb, var(--simahr-success) 13%, var(--simahr-surface)); color: var(--simahr-success); }
.v3-action-state--cancelled { color: var(--simahr-text-soft); }
.v3-action-copy, .v3-action-meta { min-width: 0; }
.v3-action-copy strong, .v3-action-copy small { display: block; overflow-wrap: anywhere; }
.v3-action-copy strong { color: var(--simahr-text); font-size: 12px; }
.v3-action-copy small { margin-top: 4px; color: var(--simahr-text-soft); font-size: 10px; }
.v3-action-meta { display: grid; justify-items: end; gap: 6px; }
.v3-action-meta time { color: var(--simahr-text-soft); font-size: 9px; font-weight: 800; }
.v3-action-detail { position: sticky; top: 92px; min-width: 0; }
.v3-action-detail .v3-feature-icon, .v3-action-placeholder .v3-feature-icon { position: static; flex: 0 0 42px; }
.v3-action-detail-head { display: flex; align-items: flex-start; gap: 13px; }
.v3-action-detail-head .v3-eyebrow { margin-bottom: 5px; overflow-wrap: anywhere; }
.v3-action-person { display: grid; gap: 4px; margin-top: 18px; padding: 14px; border-radius: 14px; background: linear-gradient(120deg, color-mix(in srgb, var(--simahr-blue-700) 12%, var(--simahr-surface)), color-mix(in srgb, var(--simahr-gold-500) 10%, var(--simahr-surface))); }
.v3-action-person strong { color: var(--simahr-text); }
.v3-action-person span, .v3-action-person small { color: var(--simahr-text-soft); font-size: 10px; }
.v3-action-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 18px 0; }
.v3-action-facts > div { min-width: 0; padding: 11px; border: 1px solid var(--simahr-border); border-radius: 11px; background: var(--simahr-surface-soft); }
.v3-action-facts dt { color: var(--simahr-text-soft); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.v3-action-facts dd { margin: 5px 0 0; color: var(--simahr-text); font-size: 11px; font-weight: 800; overflow-wrap: anywhere; }
.v3-action-description { margin: 0 0 18px; font-size: 11px; line-height: 1.6; }
.v3-action-dependency { display: grid; gap: 4px; margin: -6px 0 18px; padding: 12px; border: 1px solid color-mix(in srgb, var(--simahr-gold-500) 35%, var(--simahr-border)); border-radius: 12px; background: color-mix(in srgb, var(--simahr-gold-500) 8%, var(--simahr-surface)); }
.v3-action-dependency span, .v3-action-dependency small { color: var(--simahr-text-soft); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.v3-action-dependency strong { color: var(--simahr-text); font-size: 10px; }
.v3-action-update { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--simahr-border); }
.v3-action-update textarea { min-height: 96px; resize: vertical; }
.v3-action-update > p { margin: -3px 0 0; font-size: 9px; line-height: 1.5; }
.v3-action-evidence { margin-top: 18px; padding: 14px; border: 1px solid color-mix(in srgb, var(--simahr-success) 35%, var(--simahr-border)); border-radius: 13px; background: color-mix(in srgb, var(--simahr-success) 8%, var(--simahr-surface)); }
.v3-action-evidence span, .v3-action-evidence small { color: var(--simahr-text-soft); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.v3-action-evidence p { margin: 7px 0; font-size: 11px; line-height: 1.55; }
.v3-action-upload { display: grid; gap: 9px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--simahr-border); }
.v3-action-upload small { color: var(--simahr-text-soft); font-size: 8px; line-height: 1.45; }
.v3-action-attachments { padding: 12px 0 0; }
.v3-action-history { display: grid; gap: 10px; margin-top: 20px; }
.v3-action-history h3 { margin-bottom: 3px; }
.v3-action-history > div:not(.v3-section-heading) { display: grid; grid-template-columns: 10px 1fr; gap: 9px; }
.v3-action-history > div:not(.v3-section-heading) > span { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--simahr-gold-500); box-shadow: 0 0 0 4px color-mix(in srgb, var(--simahr-gold-500) 12%, transparent); }
.v3-action-history p, .v3-action-history small { margin: 0; }
.v3-action-history strong, .v3-action-history small { display: block; overflow-wrap: anywhere; }
.v3-action-history strong { color: var(--simahr-text); font-size: 10px; }
.v3-action-history small { margin-top: 3px; color: var(--simahr-text-soft); font-size: 9px; line-height: 1.5; }
.v3-action-placeholder { display: grid; min-height: 350px; place-items: center; align-content: center; gap: 10px; text-align: center; }
.v3-action-placeholder p { max-width: 310px; margin: 0; font-size: 11px; line-height: 1.6; }

/* Mevcut Tailwind ekranlarını tema sistemine güvenli biçimde bağlayan kabuk. */
:root[data-theme="dark"] body.simahr-theme [class*="bg-white"]:not(button):not(a),
:root[data-theme="dark"] body.simahr-theme [class*="bg-[#faf5e9]"]:not(button):not(a),
:root[data-theme="dark"] body.simahr-theme [class*="bg-[#ece9e9]"]:not(button):not(a) {
    background-color: var(--simahr-surface) !important;
}

:root[data-theme="dark"] body.simahr-theme [class*="text-[#274188]"]:not(button):not(a) {
    color: var(--simahr-text) !important;
}

:root[data-theme="dark"] body.simahr-theme input,
:root[data-theme="dark"] body.simahr-theme select,
:root[data-theme="dark"] body.simahr-theme textarea {
    background-color: var(--simahr-surface-soft) !important;
    color: var(--simahr-text) !important;
    border-color: var(--simahr-border-strong) !important;
}

:root[data-theme="dark"] body.simahr-theme input::placeholder,
:root[data-theme="dark"] body.simahr-theme textarea::placeholder { color: color-mix(in srgb, var(--simahr-text-soft) 82%, transparent); opacity: 1; }

@media (max-width: 767px) {
    body.simahr-theme {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
        background-attachment: scroll;
        overscroll-behavior-x: none;
    }

    body.simahr-v3-shell .v3-topbar {
        backdrop-filter: none;
        background: var(--simahr-surface);
    }

    body.simahr-login-page .simahr-theme-control,
    .simahr-theme-control {
        box-sizing: border-box;
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
    }

    .simahr-display-panel {
        position: fixed;
        top: max(62px, calc(env(safe-area-inset-top) + 52px));
        right: max(12px, env(safe-area-inset-right));
    }

    .simahr-display-group--density { display: none; }

    body.simahr-v3-shell .simahr-theme-control { min-height: 40px; width: 40px; min-width: 40px; height: 40px; padding: 0; }

    body.simahr-v3-shell .v3-topbar-title {
        min-width: 0;
    }

    body.simahr-v3-shell .v3-topbar h1,
    body.simahr-v3-shell .v3-topbar p {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.simahr-v3-shell .v3-mobile-nav-actions a {
        min-height: 44px;
    }

    body.simahr-v3-shell .v3-hero h2,
    body.simahr-v3-shell .v3-hero p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    body.simahr-login-page {
        min-height: 100svh;
        min-height: 100dvh;
        align-items: flex-start;
        justify-content: center;
        padding:
            max(74px, calc(env(safe-area-inset-top) + 58px))
            max(14px, env(safe-area-inset-right))
            max(22px, env(safe-area-inset-bottom))
            max(14px, env(safe-area-inset-left));
        background-attachment: scroll;
    }

    .simahr-login-card {
        width: min(100%, 25rem);
        max-width: 100%;
        padding: 20px 17px;
        border-radius: 18px;
    }

    .simahr-login-hero {
        margin-bottom: 22px;
    }

    .simahr-login-logo {
        max-width: 76px;
        max-height: 64px;
        margin-bottom: 8px;
    }

    .simahr-login-title {
        max-width: 100%;
        font-size: clamp(1.45rem, 7.2vw, 1.85rem);
        line-height: 1.12;
        letter-spacing: .07em;
        overflow-wrap: anywhere;
    }

    .simahr-login-remember,
    .simahr-login-info {
        padding: 12px 13px;
    }

    body.simahr-login-page .simahr-display-control {
        top: max(12px, env(safe-area-inset-top));
        right: max(12px, env(safe-area-inset-right));
    }

    .assessment-result-summary { grid-template-columns: 74px 1fr; gap: 12px; padding: 14px; }
    .assessment-score-ring { width: 68px; height: 68px; }
    .assessment-score-ring strong { font-size: 19px; }
    .assessment-section-row { grid-template-columns: 1fr 42px; }
    .assessment-section-track { grid-column: 1 / -1; grid-row: 2; }

}

@media (max-width: 360px) {
    body.simahr-v3-shell .v3-topbar {
        gap: 8px;
    }

    body.simahr-v3-shell .v3-topbar-actions,
    body.simahr-v3-shell .profile-v3-actions {
        gap: 6px;
    }

    body.simahr-v3-shell .v3-topbar-actions .v3-user,
    body.simahr-v3-shell .profile-v3-actions .v3-user {
        display: none;
    }

    body.simahr-v3-shell .v3-mobile-nav-actions a {
        padding-inline: 8px;
        font-size: 10px;
    }
}

@media (max-width: 1100px) {
    .v3-form-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v3-lifecycle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v3-actions-layout { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); }
    .v3-action-filters { grid-template-columns: repeat(3, minmax(145px, 1fr)); }
    .v3-filter-clear { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
    .v3-actions-layout, .v3-form-grid--3, .v3-lifecycle-grid, .v3-action-management-grid { grid-template-columns: 1fr; }
    .v3-action-detail { position: static; }
    .v3-action-filters { grid-template-columns: 1fr 1fr; }
    .v3-bulk-toolbar { grid-template-columns: 1fr 1fr; }
    .v3-bulk-toolbar .v3-button { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .v3-section-heading { align-items: flex-start; }
    .v3-action-filters { grid-template-columns: 1fr; }
    .v3-action-filters .v3-button, .v3-filter-clear { width: 100%; text-align: center; }
    .v3-lifecycle-card-head { grid-template-columns: 38px minmax(0, 1fr); }
    .v3-lifecycle-card-head > .v3-badge { grid-column: 2; justify-self: start; }
    .v3-lifecycle-progress-copy { grid-template-columns: auto 1fr; }
    .v3-lifecycle-progress-copy time { grid-column: 1 / -1; }
    .v3-action-row-link { grid-template-columns: 38px minmax(0, 1fr); }
    .v3-action-meta { grid-column: 2; grid-template-columns: auto 1fr; justify-items: start; align-items: center; }
    .v3-action-facts { grid-template-columns: 1fr; }
    .v3-bulk-toolbar, .v3-mini-kpis { grid-template-columns: 1fr; }
    .v3-bulk-toolbar .v3-button { grid-column: auto; width: 100%; }
    .v3-lifecycle-create > summary { padding: 16px 17px; }
    .v3-lifecycle-create .v3-form-grid { padding: 17px 17px 12px; }
    .v3-form-note { padding: 0 17px 17px; }
}

@media (prefers-reduced-motion: no-preference) {
    body.simahr-theme,
    .simahr-v3-card,
    .simahr-theme-control {
        transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .18s ease;
    }
}

.profile-home-card-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.profile-home-card-picker label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px;
    border: 1px solid color-mix(in srgb, var(--simahr-blue-500) 22%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--simahr-surface) 88%, transparent);
    cursor: pointer;
}

.profile-home-card-picker input { margin-top: 3px; accent-color: var(--simahr-blue-700); }
.profile-home-card-picker strong { display: block; color: var(--simahr-text); font-size: 12px; }
.profile-home-card-picker small { display: block; margin-top: 3px; color: var(--simahr-text-soft); font-size: 10px; line-height: 1.45; }

.profile-home-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

/*
 * profile.html panel görünürlüğünü `display: block !important` ile yönetiyor.
 * Hızlı kart bölümü de bir panel olduğu için bu genel kural grid yerleşimini
 * eziyordu ve kartlar içerik genişliğinde sol kenara yığılıyordu.
 */
.profile-tab-panel.is-active.profile-home-quick-grid {
    display: grid !important;
}

.profile-home-quick-grid > a,
.profile-home-quick-grid > button {
    min-width: 0;
    padding: 16px;
    border: 1px solid color-mix(in srgb, var(--simahr-blue-500) 24%, transparent);
    border-radius: 16px;
    background: color-mix(in srgb, var(--simahr-surface) 90%, var(--simahr-blue-500) 10%);
    color: var(--simahr-text);
    text-align: left;
    box-shadow: 0 10px 24px rgba(24, 31, 62, .08);
}

.profile-home-quick-grid > :is(a, button):hover {
    border-color: color-mix(in srgb, var(--simahr-gold-500) 72%, transparent);
    transform: translateY(-1px);
}

.profile-home-quick-grid strong { display: block; font-size: 13px; }
.profile-home-quick-grid span { display: block; margin-top: 4px; color: var(--simahr-text-soft); font-size: 10px; line-height: 1.45; }

:root[data-theme="dark"] .profile-home-customizer,
:root[data-theme="dark"] .profile-home-card-picker label,
:root[data-theme="dark"] .profile-home-quick-grid > a,
:root[data-theme="dark"] .profile-home-quick-grid > button {
    background: rgba(23, 36, 72, .92);
}

@media (max-width: 640px) {
    .profile-home-card-picker { grid-template-columns: 1fr; }
    .profile-home-quick-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
    .profile-home-quick-grid { grid-template-columns: 1fr; }
}

/* Güvenli belge görüntüleyici: PWA içinde kalıcı geri dönüş kabuğu. */
.document-viewer-body {
    min-height: 100dvh;
    background: var(--simahr-bg);
}

.document-viewer-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
}

.document-viewer-page {
    width: min(1500px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 max(24px, env(safe-area-inset-bottom));
}

.document-viewer-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 18px 20px;
    border: 1px solid var(--simahr-border);
    border-radius: 18px;
    background: var(--simahr-surface);
    box-shadow: var(--simahr-shadow);
}

.document-viewer-summary h1 {
    margin: 3px 0 5px;
    color: var(--simahr-text);
    font-size: clamp(18px, 2.5vw, 27px);
}

.document-viewer-summary p:last-child {
    margin: 0;
    color: var(--simahr-text-soft);
    font-size: 12px;
}

.document-viewer-frame-shell {
    overflow: hidden;
    border: 1px solid var(--simahr-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--simahr-shadow);
}

.document-viewer-frame {
    display: block;
    width: 100%;
    height: max(540px, calc(100dvh - 230px));
    border: 0;
    background: #fff;
}

.document-viewer-fallback {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 15px;
    border-top: 1px solid #d8deeb;
    background: #f5f7fb;
    color: #52617f;
    font-size: 11px;
}

.document-viewer-fallback a { color: #274188; font-weight: 800; }
.document-viewer-external { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

@media (max-width: 680px) {
    .document-viewer-topbar { padding-top: max(10px, env(safe-area-inset-top)); }
    .document-viewer-topbar .privacy-brand small { display: none; }
    .document-viewer-return { min-height: 42px; }
    .document-viewer-page { width: calc(100% - 20px); padding-top: 10px; }
    .document-viewer-summary { align-items: flex-start; padding: 14px; }
    .document-viewer-summary > .v3-button { display: none; }
    .document-viewer-frame { height: calc(100dvh - 205px); min-height: 430px; }
    .document-viewer-fallback { align-items: flex-start; flex-direction: column; }
    .document-viewer-external { align-items: stretch; flex-direction: column; }
}

/* 4.1 İnsan ve Süreçler: yoğun operasyon verisini mobilde de okunur tutar. */
.people-ops-hero { position: relative; overflow: hidden; }
.people-ops-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -130px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--simahr-gold-500) 16%, transparent);
    pointer-events: none;
}

.people-ops-jump {
    position: sticky;
    top: 10px;
    z-index: 8;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    border: 1px solid var(--simahr-border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--simahr-surface) 92%, transparent);
    box-shadow: 0 12px 30px rgba(20, 31, 62, .08);
    backdrop-filter: blur(14px);
    scrollbar-width: thin;
}

.people-ops-jump a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border-radius: 12px;
    color: var(--simahr-text-soft);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.people-ops-jump a:hover,
.people-ops-jump a:focus-visible {
    background: color-mix(in srgb, var(--simahr-blue-500) 13%, transparent);
    color: var(--simahr-text);
}

.people-ops-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.people-ops-metric-grid > div {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--simahr-border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--simahr-surface) 91%, var(--simahr-blue-500) 9%);
}

.people-ops-metric-grid span,
.people-ops-metric-grid strong { display: block; }
.people-ops-metric-grid span { color: var(--simahr-text-soft); font-size: 11px; }
.people-ops-metric-grid strong { margin-top: 6px; color: var(--simahr-text); font-size: 24px; }
.people-ops-note { margin: 14px 0 0; color: var(--simahr-text-soft); font-size: 11px; }

.people-ops-inline-form {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: min(100%, 420px);
}

.people-ops-inline-form :is(input, select) {
    min-width: 105px;
    min-height: 38px;
    padding: 7px 9px;
    border: 1px solid var(--simahr-border);
    border-radius: 10px;
    background: var(--simahr-surface);
    color: var(--simahr-text);
}

.people-ops-progress {
    width: min(180px, 100%);
    height: 8px;
    margin-bottom: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--simahr-text-soft) 18%, transparent);
}

.people-ops-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--simahr-blue-500), var(--simahr-gold-500));
}

.people-ops-compliance-table td:last-child { min-width: 280px; }
.people-ops-compliance-table .v3-badge { margin: 2px; }

.people-ops-calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.people-ops-calendar-grid article {
    padding: 15px;
    border: 1px solid var(--simahr-border);
    border-left: 4px solid var(--simahr-gold-500);
    border-radius: 14px;
    background: var(--simahr-surface);
}

.people-ops-calendar-grid :is(time, strong, span) { display: block; }
.people-ops-calendar-grid time { color: var(--simahr-blue-500); font-size: 10px; font-weight: 900; }
.people-ops-calendar-grid strong { margin-top: 8px; color: var(--simahr-text); }
.people-ops-calendar-grid span { margin-top: 3px; color: var(--simahr-text-soft); font-size: 11px; }

.people-ops-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.people-ops-directory-grid article {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--simahr-border);
    border-radius: 16px;
    background: var(--simahr-surface);
}

.people-ops-directory-grid article > div { min-width: 0; }
.people-ops-directory-grid :is(strong, span, small, a) { display: block; overflow-wrap: anywhere; }
.people-ops-directory-grid strong { color: var(--simahr-text); }
.people-ops-directory-grid span { margin-top: 3px; color: var(--simahr-text-soft); font-size: 11px; }
.people-ops-directory-grid small { margin-top: 5px; color: var(--simahr-gold-600); font-weight: 800; }
.people-ops-directory-grid a { margin-top: 8px; color: var(--simahr-blue-500); font-size: 10px; }

.people-ops-search { display: flex; gap: 8px; }
.people-ops-search input {
    min-width: min(300px, 55vw);
    border: 1px solid var(--simahr-border);
    border-radius: 12px;
    background: var(--simahr-surface);
    color: var(--simahr-text);
    padding: 9px 12px;
}

@media (max-width: 980px) {
    .people-ops-metric-grid,
    .people-ops-calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .people-ops-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .people-ops-jump { top: 6px; margin-inline: -3px; }
    .people-ops-metric-grid,
    .people-ops-calendar-grid,
    .people-ops-directory-grid { grid-template-columns: 1fr; }
    .people-ops-inline-form { align-items: stretch; flex-direction: column; }
    .people-ops-inline-form :is(input, select, .v3-button) { width: 100%; }
    .people-ops-compliance-table td:last-child { min-width: 220px; }
    .people-ops-search { width: 100%; }
    .people-ops-search input { min-width: 0; flex: 1; }
}

/* 4.1.1 Çalışan -> İK belge talepleri */
.employee-service-page { max-width: 1420px; }
.employee-service-hero { position: relative; overflow: hidden; }
.employee-service-hero h1 { max-width: 900px; margin: 8px 0 12px; font-size: clamp(28px, 4vw, 48px); line-height: 1.06; }
.employee-service-hero p { max-width: 880px; }
.employee-service-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.employee-service-fieldset legend { margin-bottom: 10px; color: var(--simahr-text); font-size: 12px; font-weight: 900; }
.employee-service-document-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.employee-service-document-option { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 13px; border: 1px solid var(--simahr-border); border-radius: 14px; background: var(--simahr-surface); cursor: pointer; }
.employee-service-document-option:has(input:checked) { border-color: var(--simahr-blue-500); box-shadow: inset 0 0 0 1px var(--simahr-blue-500); background: color-mix(in srgb, var(--simahr-blue-500) 8%, var(--simahr-surface)); }
.employee-service-document-option input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--simahr-blue-500); }
.employee-service-document-option span { min-width: 0; }
.employee-service-document-option strong,
.employee-service-document-option small { display: block; overflow-wrap: anywhere; }
.employee-service-document-option strong { color: var(--simahr-text); font-size: 12px; }
.employee-service-document-option small,
.employee-service-form .v3-field small { margin-top: 5px; color: var(--simahr-text-soft); font-size: 10px; line-height: 1.4; }
.employee-service-submit { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 8px; }
.employee-service-submit p { max-width: 760px; margin: 0; color: var(--simahr-text-soft); font-size: 11px; line-height: 1.55; }
.employee-service-list { display: grid; gap: 12px; }
.employee-service-request-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 18px; border: 1px solid var(--simahr-border); border-radius: 18px; background: var(--simahr-surface-soft); }
.employee-service-request-main h3 { margin: 9px 0 12px; color: var(--simahr-text); font-size: 17px; }
.employee-service-request-main dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 16px; margin: 0; }
.employee-service-request-main dl > div { min-width: 0; }
.employee-service-request-main dt { color: var(--simahr-text-soft); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.employee-service-request-main dd { margin: 3px 0 0; color: var(--simahr-text); font-size: 11px; overflow-wrap: anywhere; }
.employee-service-request-main .employee-service-wide { grid-column: 1 / -1; }
.employee-service-request-actions { display: flex; width: min(220px, 100%); align-items: stretch; justify-content: center; flex-direction: column; gap: 8px; }
.employee-service-request-actions .v3-button { width: 100%; text-align: center; }
.v3-document-request-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.v3-document-request-cta :is(strong, span) { display: block; }
.v3-document-request-cta span { margin-top: 4px; color: var(--simahr-text-soft); font-size: 11px; }
.people-ops-service-form { display: grid; gap: 6px; min-width: 260px; margin-top: 8px; }
.people-ops-service-form :is(input, select) { width: 100%; min-height: 36px; padding: 7px 9px; border: 1px solid var(--simahr-border); border-radius: 9px; background: var(--simahr-surface); color: var(--simahr-text); font-size: 10px; }
.people-ops-cell-note { display: block; max-width: 300px; margin-top: 6px; color: var(--simahr-text-soft); line-height: 1.45; }
.employee-service-admin-table td { vertical-align: top; }

@media (max-width: 980px) {
    .employee-service-document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .employee-service-request-main dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .employee-service-document-grid { grid-template-columns: 1fr; }
    .employee-service-submit,
    .v3-document-request-cta { align-items: stretch; flex-direction: column; }
    .employee-service-submit .v3-button,
    .v3-document-request-cta .v3-button { width: 100%; }
    .employee-service-request-card { grid-template-columns: 1fr; padding: 14px; }
    .employee-service-request-main dl { grid-template-columns: 1fr 1fr; }
    .employee-service-request-actions { width: 100%; }
}
