:root {
  --navy: #12385E;
  --navy-2: #0B2947;
  --navy-soft: #E9EFF5;
  --amber: #E9A23B;
  --amber-soft: #FFF3DF;
  --coral: #EC6A57;
  --coral-soft: #FDEAE6;
  --paper: #FAF7F2;
  --surface: #FFFFFF;
  --ink: #17324D;
  --muted: #667789;
  --line: #E7E1D9;
  --success: #2C8B65;
  --success-soft: #E8F5EF;
  --warning: #C87918;
  --warning-soft: #FFF5E6;
  --danger: #C94D4D;
  --danger-soft: #FCECEC;
  --shadow-sm: 0 6px 18px rgba(18, 56, 94, .07);
  --shadow-md: 0 14px 34px rgba(18, 56, 94, .12);
  --shadow-lg: 0 24px 60px rgba(18, 56, 94, .18);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #EDEAE5; }
body {
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; }
a { color: inherit; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon-sm { width: 17px; height: 17px; }
.icon-lg { width: 26px; height: 26px; }

.app-shell {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--paper);
  overflow-x: hidden;
  box-shadow: 0 0 60px rgba(18, 56, 94, .1);
}

.screen {
  min-height: 100dvh;
  animation: screenIn .28s ease both;
}
@keyframes screenIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Splash / onboarding */
.splash-screen {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(42px + var(--safe-top)) 28px calc(28px + var(--safe-bottom));
  background:
    radial-gradient(circle at 80% 15%, rgba(236,106,87,.18), transparent 31%),
    radial-gradient(circle at 8% 78%, rgba(233,162,59,.2), transparent 31%),
    var(--navy);
  color: white;
}
.splash-brand { display: flex; align-items: center; justify-content: center; min-height: 220px; }
.splash-brand img { width: min(84%, 360px); }
.splash-copy { text-align: center; margin-top: auto; }
.splash-copy h1 { margin: 0 0 12px; font: 800 30px/1.2 Manrope, sans-serif; letter-spacing: -.5px; }
.splash-copy p { margin: 0 auto; max-width: 330px; color: rgba(255,255,255,.76); line-height: 1.65; font-size: 15px; }
.splash-actions { margin-top: 36px; display: grid; gap: 12px; }
.splash-note { text-align: center; font-size: 11px; color: rgba(255,255,255,.5); margin-top: 18px; }

.onboarding-screen { padding: calc(22px + var(--safe-top)) 22px calc(28px + var(--safe-bottom)); background: var(--paper); }
.onboarding-head { display: flex; align-items: center; justify-content: space-between; }
.onboarding-head img { width: 138px; }
.skip-btn { border: 0; background: transparent; color: var(--muted); padding: 10px; cursor: pointer; }
.onboarding-visual {
  min-height: 310px;
  display: grid;
  place-items: center;
  padding: 24px 0 12px;
}
.people-illustration { position: relative; width: 290px; height: 260px; }
.illustration-orbit { position: absolute; inset: 15px; border: 1px dashed rgba(18,56,94,.2); border-radius: 50%; }
.person-card {
  position: absolute; width: 102px; height: 122px; background: white; border-radius: 26px;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.person-card.a { left: 0; top: 68px; transform: rotate(-5deg); }
.person-card.b { right: 0; top: 48px; transform: rotate(5deg); }
.person-card.c { left: 92px; bottom: 0; }
.person-avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: white; font: 800 19px Manrope, sans-serif; }
.person-card.a .person-avatar { background: linear-gradient(145deg, var(--coral), #D4554C); }
.person-card.b .person-avatar { background: linear-gradient(145deg, var(--navy), #295E8D); }
.person-card.c .person-avatar { background: linear-gradient(145deg, var(--amber), #C87C18); }
.person-card span { font-size: 11px; color: var(--muted); }
.match-heart { position: absolute; left: 107px; top: 74px; width: 76px; height: 76px; border-radius: 24px; background: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-lg); color: var(--coral); }
.match-heart .icon { width: 34px; height: 34px; fill: currentColor; stroke: currentColor; }
.onboarding-copy { text-align: center; }
.onboarding-copy .eyebrow { color: var(--amber); font: 700 12px Manrope, sans-serif; letter-spacing: 2.5px; text-transform: uppercase; }
.onboarding-copy h2 { margin: 10px 0; font: 800 29px/1.25 Manrope, sans-serif; color: var(--navy); letter-spacing: -.6px; }
.onboarding-copy p { margin: 0 auto; max-width: 350px; color: var(--muted); line-height: 1.65; font-size: 15px; }
.onboarding-dots { display: flex; justify-content: center; gap: 7px; margin: 26px 0 20px; }
.onboarding-dots span { width: 7px; height: 7px; border-radius: 50%; background: #DAD4CC; }
.onboarding-dots span.active { width: 24px; border-radius: 5px; background: var(--coral); }

/* Common */
.btn {
  width: 100%; min-height: 52px; border: 0; border-radius: 15px; padding: 0 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--navy); color: white; box-shadow: 0 10px 22px rgba(18,56,94,.22); }
.btn-secondary { background: white; color: var(--navy); border: 1px solid rgba(18,56,94,.12); }
.btn-amber { background: var(--amber); color: var(--navy-2); box-shadow: 0 10px 22px rgba(233,162,59,.25); }
.btn-coral { background: var(--coral); color: white; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-sm { min-height: 40px; width: auto; padding: 0 15px; border-radius: 12px; font-size: 13px; }
.text-btn { border: 0; background: transparent; color: var(--navy); font-weight: 700; cursor: pointer; padding: 6px 0; }
.round-btn { width: 42px; height: 42px; border-radius: 14px; border: 1px solid var(--line); background: white; display: grid; place-items: center; color: var(--navy); cursor: pointer; }
.icon-btn { border: 0; background: transparent; color: var(--navy); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; cursor: pointer; }
.icon-btn:hover { background: rgba(18,56,94,.06); }

.auth-screen { padding: calc(18px + var(--safe-top)) 22px calc(28px + var(--safe-bottom)); background: var(--paper); }
.auth-top { display: flex; align-items: center; gap: 12px; }
.auth-top img { width: 130px; margin-left: auto; margin-right: auto; transform: translateX(-26px); }
.auth-title { margin-top: 30px; }
.auth-title h1 { margin: 0 0 8px; font: 800 28px/1.25 Manrope, sans-serif; color: var(--navy); }
.auth-title p { margin: 0; color: var(--muted); line-height: 1.55; }
.role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: #EEE9E2; border-radius: 15px; margin: 24px 0; }
.role-switch button { min-height: 44px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.role-switch button.active { background: white; color: var(--navy); box-shadow: var(--shadow-sm); }
.form { display: grid; gap: 15px; }
.form-group { display: grid; gap: 7px; }
.form-label { color: var(--ink); font-size: 13px; font-weight: 700; }
.input-wrap { position: relative; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; border: 1px solid var(--line); border-radius: 14px; background: white;
  color: var(--ink); padding: 0 15px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 110px; resize: vertical; padding-top: 13px; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(18,56,94,.55); box-shadow: 0 0 0 4px rgba(18,56,94,.08); }
.input.has-icon { padding-left: 46px; }
.input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-help { font-size: 12px; color: var(--muted); line-height: 1.5; }
.form-error { font-size: 12px; color: var(--danger); }
.auth-links { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.checkbox { display: inline-flex; gap: 9px; align-items: flex-start; font-size: 12px; color: var(--muted); line-height: 1.45; }
.checkbox input { margin-top: 2px; accent-color: var(--navy); }
.divider { display: flex; align-items: center; gap: 12px; color: #9A9A9A; font-size: 12px; margin: 5px 0; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.demo-box { background: var(--amber-soft); border: 1px solid rgba(233,162,59,.2); border-radius: 15px; padding: 13px; display: grid; gap: 8px; }
.demo-box strong { color: var(--navy); font-size: 13px; }
.demo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.demo-actions button { border: 1px solid rgba(18,56,94,.1); background: white; min-height: 38px; border-radius: 11px; color: var(--navy); font-size: 12px; font-weight: 700; cursor: pointer; }
.auth-footer { text-align: center; margin-top: 22px; color: var(--muted); font-size: 13px; }

/* App layout */
.main-app { min-height: 100dvh; background: var(--paper); padding-bottom: calc(83px + var(--safe-bottom)); }
.app-header {
  position: sticky; top: 0; z-index: 20; min-height: 74px; padding: calc(12px + var(--safe-top)) 18px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(250,247,242,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(231,225,217,.75);
}
.header-brand img { width: 122px; }
.header-copy { min-width: 0; }
.header-copy .overline { color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.header-copy h1 { margin: 0; font: 800 20px/1.25 Manrope, sans-serif; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-actions { display: flex; gap: 6px; }
.notification-btn { position: relative; }
.notification-dot { position: absolute; right: 7px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); border: 2px solid var(--paper); }
.page { padding: 18px; }
.page-no-top { padding-top: 0; }
.section { margin-bottom: 24px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.section-head h2 { margin: 0; font: 800 18px/1.3 Manrope, sans-serif; color: var(--navy); }
.section-head p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.section-link { border: 0; background: transparent; color: var(--navy); font-size: 12px; font-weight: 700; cursor: pointer; padding: 6px 0; }

.bottom-nav {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 30;
  width: min(100%, 520px); height: calc(72px + var(--safe-bottom)); padding: 7px 10px var(--safe-bottom);
  display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(18,56,94,.05);
}
.nav-item { border: 0; background: transparent; color: #8491A0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 10px; font-weight: 700; cursor: pointer; border-radius: 14px; }
.nav-item .icon { width: 22px; height: 22px; }
.nav-item.active { color: var(--navy); }
.nav-item.active .nav-icon-wrap { background: var(--navy-soft); }
.nav-icon-wrap { min-width: 42px; height: 32px; border-radius: 12px; display: grid; place-items: center; }

.hero-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 22px; color: white;
  background: linear-gradient(145deg, var(--navy), #20527E); box-shadow: var(--shadow-md);
}
.hero-card::after { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; right: -70px; top: -90px; background: rgba(255,255,255,.08); }
.hero-card::before { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; right: 35px; bottom: -70px; background: rgba(233,162,59,.18); }
.hero-content { position: relative; z-index: 1; }
.hero-label { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: #FFE8BE; text-transform: uppercase; letter-spacing: 1.2px; }
.hero-card h2 { margin: 10px 0 7px; font: 800 24px/1.25 Manrope, sans-serif; max-width: 290px; }
.hero-card p { margin: 0; color: rgba(255,255,255,.75); line-height: 1.55; font-size: 13px; max-width: 330px; }
.hero-actions { margin-top: 19px; display: flex; gap: 9px; }
.hero-actions .btn { width: auto; min-height: 42px; padding: 0 16px; font-size: 12px; }
.hero-actions .btn-secondary { border: 0; }

.profile-progress-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 17px; box-shadow: var(--shadow-sm); }
.progress-top { display: flex; align-items: center; gap: 13px; }
.progress-ring { --progress: 72; width: 58px; height: 58px; border-radius: 50%; background: conic-gradient(var(--amber) calc(var(--progress)*1%), #EEE9E2 0); display: grid; place-items: center; flex: 0 0 auto; }
.progress-ring::before { content: attr(data-progress) "%"; width: 44px; height: 44px; border-radius: 50%; background: white; display: grid; place-items: center; font: 800 12px Manrope, sans-serif; color: var(--navy); }
.progress-copy { flex: 1; min-width: 0; }
.progress-copy h3 { margin: 0 0 4px; font: 800 15px Manrope, sans-serif; color: var(--navy); }
.progress-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.progress-action { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.progress-action button { border: 0; background: transparent; color: var(--navy); font-weight: 700; cursor: pointer; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 14px 11px; min-width: 0; }
.stat-icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px; }
.stat-card:nth-child(1) .stat-icon { background: var(--navy-soft); color: var(--navy); }
.stat-card:nth-child(2) .stat-icon { background: var(--amber-soft); color: var(--warning); }
.stat-card:nth-child(3) .stat-icon { background: var(--coral-soft); color: var(--coral); }
.stat-value { font: 800 21px Manrope, sans-serif; color: var(--navy); }
.stat-label { font-size: 10px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cards-scroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 18px 6px; margin: 0 -18px; scrollbar-width: none; }
.cards-scroll::-webkit-scrollbar { display: none; }
.job-card { flex: 0 0 84%; scroll-snap-align: start; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 17px; box-shadow: var(--shadow-sm); cursor: pointer; }
.job-card-top { display: flex; align-items: flex-start; gap: 12px; }
.job-icon { width: 46px; height: 46px; border-radius: 15px; background: var(--amber-soft); display: grid; place-items: center; font-size: 22px; flex: 0 0 auto; }
.job-title-wrap { flex: 1; min-width: 0; }
.job-title { margin: 0 0 4px; font: 800 15px/1.35 Manrope, sans-serif; color: var(--navy); }
.job-company { color: var(--muted); font-size: 12px; }
.favorite-btn { border: 0; background: transparent; color: #A2ABB4; padding: 2px; cursor: pointer; }
.favorite-btn.active { color: var(--coral); }
.favorite-btn.active .icon { fill: currentColor; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 14px 0; color: var(--muted); font-size: 11px; }
.job-meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 13px; border-top: 1px solid var(--line); }
.job-salary { font: 800 13px Manrope, sans-serif; color: var(--navy); }
.badge { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; border-radius: 99px; padding: 0 9px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.badge-success { color: var(--success); background: var(--success-soft); }
.badge-warning { color: var(--warning); background: var(--warning-soft); }
.badge-info { color: var(--navy); background: var(--navy-soft); }
.badge-coral { color: var(--coral); background: var(--coral-soft); }
.badge-muted { color: var(--muted); background: #F1EFEC; }

.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.quick-card { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 16px; text-align: left; cursor: pointer; min-height: 124px; transition: transform .15s, box-shadow .15s; }
.quick-card:active { transform: scale(.985); }
.quick-card-icon { width: 43px; height: 43px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 13px; }
.quick-card:nth-child(1) .quick-card-icon { background: var(--coral-soft); color: var(--coral); }
.quick-card:nth-child(2) .quick-card-icon { background: var(--navy-soft); color: var(--navy); }
.quick-card:nth-child(3) .quick-card-icon { background: var(--amber-soft); color: var(--warning); }
.quick-card:nth-child(4) .quick-card-icon { background: var(--success-soft); color: var(--success); }
.quick-card h3 { margin: 0 0 5px; font: 800 14px Manrope, sans-serif; color: var(--navy); }
.quick-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }

.list { display: grid; gap: 11px; }
.list-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 15px; }
.list-row { display: flex; gap: 12px; align-items: center; }
.list-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); flex: 0 0 auto; }
.list-body { flex: 1; min-width: 0; }
.list-title { margin: 0 0 4px; font: 800 14px/1.35 Manrope, sans-serif; color: var(--navy); }
.list-subtitle { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.list-arrow { color: #9AA6B1; }

.search-bar { display: flex; gap: 9px; margin-bottom: 16px; }
.search-input-wrap { flex: 1; position: relative; }
.search-input-wrap .input { padding-left: 43px; min-height: 48px; }
.search-input-wrap .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-btn { width: 48px; min-width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--navy); display: grid; place-items: center; cursor: pointer; position: relative; }
.filter-count { position: absolute; right: -3px; top: -4px; background: var(--coral); color: white; border-radius: 99px; min-width: 18px; height: 18px; display: grid; place-items: center; font-size: 9px; font-weight: 800; border: 2px solid var(--paper); }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px 15px; padding: 0 18px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { min-height: 34px; border-radius: 99px; padding: 0 13px; border: 1px solid var(--line); background: white; color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.chip.active { color: white; background: var(--navy); border-color: var(--navy); }
.job-list-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; cursor: pointer; }
.job-list-card + .job-list-card { margin-top: 11px; }

/* Applications */
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 5px; border-radius: 14px; background: #EEE9E2; margin-bottom: 16px; }
.segmented button { min-height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; }
.segmented button.active { background: white; color: var(--navy); box-shadow: var(--shadow-sm); }
.application-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.application-card + .application-card { margin-top: 11px; }
.timeline { display: flex; margin-top: 16px; }
.timeline-step { position: relative; flex: 1; text-align: center; font-size: 9px; color: #9AA6B1; padding-top: 20px; }
.timeline-step::before { content: ""; position: absolute; top: 4px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #D9DEE3; transform: translateX(-50%); z-index: 2; }
.timeline-step::after { content: ""; position: absolute; top: 8px; left: 0; width: 100%; height: 2px; background: #D9DEE3; z-index: 1; }
.timeline-step:first-child::after { left: 50%; width: 50%; }
.timeline-step:last-child::after { width: 50%; }
.timeline-step.done { color: var(--navy); font-weight: 700; }
.timeline-step.done::before, .timeline-step.done::after { background: var(--amber); }
.timeline-step.current::before { width: 14px; height: 14px; top: 2px; border: 3px solid #FFF3DF; background: var(--amber); }

/* Profile */
.profile-hero { padding: 28px 18px 24px; background: linear-gradient(145deg, var(--navy), #224F79); color: white; position: relative; overflow: hidden; }
.profile-hero::after { content: ""; position: absolute; width: 170px; height: 170px; right: -70px; top: -65px; border-radius: 50%; background: rgba(255,255,255,.06); }
.profile-top-actions { display: flex; justify-content: space-between; position: relative; z-index: 2; }
.profile-top-actions .icon-btn { color: white; }
.profile-main { display: flex; align-items: center; gap: 15px; margin-top: 15px; position: relative; z-index: 2; }
.avatar { width: 72px; height: 72px; border-radius: 24px; background: linear-gradient(145deg, var(--coral), #D7524A); color: white; display: grid; place-items: center; font: 800 24px Manrope, sans-serif; border: 3px solid rgba(255,255,255,.2); flex: 0 0 auto; }
.avatar.employer { background: linear-gradient(145deg, var(--amber), #C97B17); color: var(--navy); }
.profile-name { margin: 0 0 4px; font: 800 21px Manrope, sans-serif; }
.profile-role { color: rgba(255,255,255,.72); font-size: 12px; }
.verified { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; color: #FFE5B2; font-size: 10px; font-weight: 700; }
.profile-page { padding: 18px; margin-top: -10px; position: relative; z-index: 3; }
.profile-status { background: white; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.profile-status-item { text-align: center; border-right: 1px solid var(--line); }
.profile-status-item:last-child { border-right: 0; }
.profile-status-value { font: 800 17px Manrope, sans-serif; color: var(--navy); }
.profile-status-label { color: var(--muted); font-size: 9px; margin-top: 3px; }
.profile-section { background: white; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 14px; overflow: hidden; }
.profile-section-head { padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.profile-section-head h3 { margin: 0; font: 800 14px Manrope, sans-serif; color: var(--navy); }
.profile-section-body { padding: 15px 16px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info-item span { display: block; color: var(--muted); font-size: 10px; margin-bottom: 4px; }
.info-item strong { color: var(--ink); font-size: 12px; font-weight: 700; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-tag { border-radius: 99px; padding: 7px 10px; background: var(--paper); border: 1px solid var(--line); font-size: 10px; color: var(--navy); font-weight: 700; }
.menu-list { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 14px; }
.menu-item { width: 100%; min-height: 58px; padding: 0 15px; border: 0; border-bottom: 1px solid var(--line); background: white; display: flex; align-items: center; gap: 12px; color: var(--ink); cursor: pointer; text-align: left; }
.menu-item:last-child { border-bottom: 0; }
.menu-item-icon { width: 36px; height: 36px; border-radius: 11px; background: var(--paper); display: grid; place-items: center; color: var(--navy); }
.menu-item span { flex: 1; font-size: 12px; font-weight: 600; }
.menu-item.danger { color: var(--danger); }
.menu-item.danger .menu-item-icon { color: var(--danger); background: var(--danger-soft); }

/* Employer */
.employer-hero { background: linear-gradient(145deg, #173F67, #245C87); }
.employer-hero .hero-label { color: #FFDCA7; }
.action-banner { border-radius: var(--radius); background: linear-gradient(135deg, var(--amber-soft), #FFF9EE); border: 1px solid rgba(233,162,59,.25); padding: 16px; display: flex; align-items: center; gap: 13px; }
.action-banner-icon { width: 48px; height: 48px; border-radius: 15px; background: var(--amber); color: var(--navy); display: grid; place-items: center; flex: 0 0 auto; }
.action-banner-body { flex: 1; }
.action-banner h3 { margin: 0 0 4px; font: 800 14px Manrope, sans-serif; color: var(--navy); }
.action-banner p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.candidate-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.candidate-card + .candidate-card { margin-top: 11px; }
.candidate-head { display: flex; gap: 12px; align-items: center; }
.candidate-avatar { width: 52px; height: 52px; border-radius: 17px; background: linear-gradient(145deg, #E7EEF5, #D4E0EA); color: var(--navy); display: grid; place-items: center; font: 800 17px Manrope, sans-serif; flex: 0 0 auto; }
.candidate-info { flex: 1; min-width: 0; }
.candidate-info h3 { margin: 0 0 3px; font: 800 14px Manrope, sans-serif; color: var(--navy); }
.candidate-info p { margin: 0; color: var(--muted); font-size: 11px; }
.match-score { width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(var(--success) 92%, #E7ECE9 0); display: grid; place-items: center; }
.match-score::before { content: attr(data-score) "%"; width: 38px; height: 38px; border-radius: 50%; background: white; display: grid; place-items: center; font: 800 10px Manrope, sans-serif; color: var(--success); }
.candidate-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0; }
.candidate-footer { display: flex; gap: 8px; }
.candidate-footer .btn { min-height: 40px; font-size: 11px; }
.request-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.request-card + .request-card { margin-top: 11px; }
.request-top { display: flex; justify-content: space-between; gap: 12px; }
.request-top h3 { margin: 0 0 5px; font: 800 14px Manrope, sans-serif; color: var(--navy); }
.request-top p { margin: 0; color: var(--muted); font-size: 11px; }
.request-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 14px; }
.request-stat { border-radius: 12px; background: var(--paper); padding: 10px; text-align: center; }
.request-stat strong { display: block; color: var(--navy); font: 800 15px Manrope, sans-serif; }
.request-stat span { color: var(--muted); font-size: 9px; }
.fab { position: fixed; z-index: 35; left: calc(50% + min(208px, 44vw) - 64px); bottom: calc(87px + var(--safe-bottom)); width: 56px; height: 56px; border: 0; border-radius: 18px; background: var(--coral); color: white; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(236,106,87,.35); cursor: pointer; }

/* Detail pages */
.detail-header { position: sticky; top: 0; z-index: 20; padding: calc(10px + var(--safe-top)) 14px 10px; display: flex; align-items: center; justify-content: space-between; background: rgba(250,247,242,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.detail-header h1 { margin: 0; font: 800 16px Manrope, sans-serif; color: var(--navy); }
.detail-page { padding: 18px; padding-bottom: calc(100px + var(--safe-bottom)); }
.detail-hero { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.detail-title-row { display: flex; align-items: flex-start; gap: 13px; }
.detail-icon { width: 56px; height: 56px; border-radius: 18px; background: var(--amber-soft); display: grid; place-items: center; font-size: 26px; }
.detail-title { flex: 1; }
.detail-title h2 { margin: 0 0 5px; font: 800 20px/1.3 Manrope, sans-serif; color: var(--navy); }
.detail-title p { margin: 0; color: var(--muted); font-size: 12px; }
.detail-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 17px; }
.detail-meta-item { background: var(--paper); border-radius: 13px; padding: 12px; }
.detail-meta-item span { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; margin-bottom: 5px; }
.detail-meta-item strong { font-size: 11px; color: var(--ink); }
.content-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 13px; }
.content-card h3 { margin: 0 0 10px; font: 800 14px Manrope, sans-serif; color: var(--navy); }
.content-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.bullet-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.bullet-list li { display: flex; gap: 9px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.bullet-check { width: 20px; height: 20px; border-radius: 7px; background: var(--success-soft); color: var(--success); display: grid; place-items: center; flex: 0 0 auto; }
.sticky-action { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 25; width: min(100%, 520px); padding: 11px 18px calc(11px + var(--safe-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.sticky-action-row { display: flex; gap: 10px; }
.sticky-action-row .round-btn { flex: 0 0 52px; width: 52px; height: 52px; }

/* Training */
.course-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.course-card + .course-card { margin-top: 12px; }
.course-cover { min-height: 116px; padding: 18px; display: flex; align-items: flex-end; color: white; background: linear-gradient(145deg, var(--navy), #2B6A9A); position: relative; overflow: hidden; }
.course-cover.amber { background: linear-gradient(145deg, #D98B20, var(--amber)); color: var(--navy); }
.course-cover.coral { background: linear-gradient(145deg, #C85047, var(--coral)); }
.course-cover::after { content: ""; position: absolute; width: 120px; height: 120px; border: 20px solid rgba(255,255,255,.08); border-radius: 50%; right: -30px; top: -50px; }
.course-cover h3 { margin: 0; font: 800 17px/1.3 Manrope, sans-serif; position: relative; z-index: 2; max-width: 75%; }
.course-body { padding: 15px; }
.course-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.progress-bar { height: 7px; border-radius: 99px; background: #EEE9E2; overflow: hidden; margin-top: 12px; }
.progress-bar span { display: block; height: 100%; border-radius: inherit; background: var(--amber); }

/* Notifications */
.notification-list { display: grid; gap: 10px; }
.notification-item { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; gap: 12px; }
.notification-item.unread { border-color: rgba(233,162,59,.35); background: #FFFCF6; }
.notification-icon { width: 42px; height: 42px; border-radius: 13px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; flex: 0 0 auto; }
.notification-content { flex: 1; }
.notification-content h3 { margin: 0 0 4px; font: 800 13px Manrope, sans-serif; color: var(--navy); }
.notification-content p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.notification-time { color: #9AA6B1; font-size: 9px; margin-top: 7px; }

/* Empty state */
.empty-state { text-align: center; padding: 50px 28px; }
.empty-icon { width: 82px; height: 82px; border-radius: 28px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; margin: 0 auto 18px; }
.empty-icon .icon { width: 36px; height: 36px; }
.empty-state h3 { margin: 0 0 8px; font: 800 17px Manrope, sans-serif; color: var(--navy); }
.empty-state p { margin: 0 auto 18px; color: var(--muted); font-size: 12px; line-height: 1.55; max-width: 290px; }

/* Modals */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(8,26,43,.52); display: flex; align-items: flex-end; justify-content: center; animation: fadeIn .18s ease both; }
.modal-sheet { width: min(100%, 520px); max-height: 92dvh; overflow-y: auto; background: var(--paper); border-radius: 28px 28px 0 0; padding: 9px 18px calc(22px + var(--safe-bottom)); animation: sheetUp .25s ease both; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(35px); opacity: .5; } }
.modal-grabber { width: 42px; height: 5px; border-radius: 99px; background: #D5D0C8; margin: 0 auto 13px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.modal-head h2 { margin: 0; font: 800 19px Manrope, sans-serif; color: var(--navy); }
.modal-actions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; margin-top: 20px; }
.modal-full { align-items: stretch; }
.modal-full .modal-sheet { border-radius: 0; max-height: 100dvh; height: 100dvh; padding-top: calc(12px + var(--safe-top)); }
.stepper { display: flex; gap: 6px; margin-bottom: 22px; }
.stepper span { height: 5px; flex: 1; border-radius: 99px; background: #E4DFD8; }
.stepper span.active, .stepper span.done { background: var(--amber); }
.upload-box { min-height: 128px; border: 1.5px dashed #CFC8BF; border-radius: 16px; background: white; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 18px; cursor: pointer; }
.upload-box .icon { margin: 0 auto 9px; color: var(--navy); }
.upload-box strong { display: block; color: var(--navy); font-size: 12px; margin-bottom: 4px; }

/* Toast */
.toast-root { position: fixed; z-index: 200; left: 50%; bottom: calc(88px + var(--safe-bottom)); transform: translateX(-50%); width: min(calc(100% - 32px), 480px); display: grid; gap: 8px; pointer-events: none; }
.toast { background: var(--navy-2); color: white; border-radius: 14px; padding: 13px 15px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; font-size: 12px; animation: toastIn .25s ease both; }
.toast.success { background: #1F7655; }
.toast.error { background: #A83F3F; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

/* Utility */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 14px !important; }
.mt-3 { margin-top: 20px !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-muted { color: var(--muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (min-width: 521px) {
  body { padding: 18px 0; }
  .app-shell { min-height: calc(100dvh - 36px); border-radius: 28px; overflow: hidden; }
  .screen, .main-app { min-height: calc(100dvh - 36px); }
  .bottom-nav, .sticky-action { bottom: 18px; border-radius: 0 0 28px 28px; }
  .fab { bottom: 105px; }
  .modal-backdrop { align-items: center; }
  .modal-sheet { border-radius: 28px; max-height: 90dvh; }
  .modal-full .modal-sheet { border-radius: 28px; height: min(92dvh, 820px); }
}

@media (max-width: 360px) {
  .page, .detail-page, .profile-page { padding-left: 14px; padding-right: 14px; }
  .stats-grid { gap: 7px; }
  .stat-card { padding: 12px 8px; }
  .quick-grid { gap: 8px; }
  .hero-card { padding: 18px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Firebase, loading and admin additions */
.loading-screen { justify-content: center; gap: 40px; }
.loading-screen .splash-brand { min-height: auto; }
.loading-copy { display: grid; justify-items: center; gap: 14px; color: rgba(255,255,255,.75); font-size: 13px; }
.loader { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: white; animation: spin .8s linear infinite; }
.btn-loader { width: 17px; height: 17px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: currentColor; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.role-switch.three { grid-template-columns: 1fr 1fr .72fr; }
.role-switch .admin-role { color: var(--coral); }
.role-switch .admin-role.active { color: white; background: var(--navy); }
.demo-actions.three { grid-template-columns: repeat(3,1fr); }
.backend-note { margin-top: 12px; min-height: 42px; border-radius: 13px; background: var(--success-soft); color: var(--success); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 700; }
.selected-file { color: var(--muted); font-size: 11px; text-align: center; margin-top: -7px; }
.admin-file-link { display: inline-block; margin-top: 5px; color: var(--navy); font-size: 11px; font-weight: 700; }

.app-shell.admin-shell { max-width: 1440px; background: #F3F5F7; }
.admin-app { display: flex; min-height: 100dvh; background: #F3F5F7; padding-bottom: 0; }
.admin-side { width: 238px; flex: 0 0 238px; min-height: 100dvh; background: var(--navy-2); padding: 24px 15px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; align-self: flex-start; }
.admin-logo { padding: 4px 14px 26px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-logo img { width: 150px; }
.admin-side button { width: 100%; min-height: 46px; border: 0; border-radius: 13px; background: transparent; color: rgba(255,255,255,.68); display: flex; align-items: center; gap: 12px; padding: 0 14px; cursor: pointer; text-align: left; font-size: 13px; font-weight: 600; }
.admin-side button:hover { background: rgba(255,255,255,.06); color: white; }
.admin-side button.active { background: rgba(233,162,59,.16); color: #FFD994; }
.admin-main { flex: 1; min-width: 0; }
.admin-header { min-height: 104px; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid #E3E8ED; padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: sticky; top: 0; z-index: 30; }
.admin-header h1 { margin: 3px 0 2px; color: var(--navy); font: 800 25px/1.25 Manrope,sans-serif; }
.admin-header p { margin: 0; color: var(--muted); font-size: 12px; }
.admin-header-actions { display: flex; align-items: center; gap: 8px; }
.backend-pill { border-radius: 99px; padding: 8px 12px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.backend-pill.firebase { color: var(--success); background: var(--success-soft); }
.backend-pill.local { color: var(--warning); background: var(--warning-soft); }
.admin-content { padding: 26px 30px 40px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(6,minmax(120px,1fr)); gap: 13px; }
.admin-stat { background: white; border: 1px solid #E3E8ED; border-radius: 18px; padding: 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 7px 20px rgba(18,56,94,.04); }
.admin-stat > span { width: 42px; height: 42px; border-radius: 13px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; }
.admin-stat strong { display: block; color: var(--navy); font: 800 22px Manrope,sans-serif; }
.admin-stat p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.admin-grid-two { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-top: 18px; }
.admin-card { background: white; border: 1px solid #E3E8ED; border-radius: 20px; padding: 18px; box-shadow: 0 7px 20px rgba(18,56,94,.04); }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 14px; border-bottom: 1px solid #EDF0F3; }
.admin-card-head h2 { margin: 0; color: var(--navy); font: 800 16px Manrope,sans-serif; }
.admin-card-head p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.admin-card-head button { border: 0; background: transparent; color: var(--navy); font-size: 11px; font-weight: 700; cursor: pointer; }
.admin-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 2px; border-bottom: 1px solid #EDF0F3; }
.admin-row:last-child { border-bottom: 0; }
.admin-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-person .candidate-avatar { width: 42px; height: 42px; border-radius: 13px; flex: 0 0 auto; }
.admin-person strong { display: block; color: var(--ink); font-size: 12px; }
.admin-person p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.admin-row-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.mini-action { min-height: 30px; border: 1px solid #DCE3E9; border-radius: 9px; background: white; color: var(--navy); padding: 0 9px; font-size: 9px; font-weight: 700; cursor: pointer; }
.mini-action:hover { background: var(--navy-soft); }
.mini-action.success { color: var(--success); border-color: rgba(44,139,101,.25); }
.mini-action.danger { color: var(--danger); border-color: rgba(201,77,77,.22); }
.admin-queue { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid #EDF0F3; }
.admin-queue:last-child { border-bottom: 0; }
.admin-queue > div { flex: 1; min-width: 0; }
.admin-queue strong { font-size: 11px; color: var(--ink); }
.admin-queue p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.admin-queue button { border: 0; background: var(--navy-soft); color: var(--navy); border-radius: 9px; padding: 8px 10px; font-size: 9px; font-weight: 700; cursor: pointer; }
.admin-empty { color: var(--muted); font-size: 11px; text-align: center; padding: 25px 0; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 14px; }
.admin-toolbar strong { display: block; color: var(--navy); font-size: 14px; }
.admin-toolbar span { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.settings-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.settings-summary > div { background: var(--paper); border-radius: 14px; padding: 14px; }
.settings-summary span { display: block; color: var(--muted); font-size: 10px; margin-bottom: 5px; }
.settings-summary strong { color: var(--navy); font-size: 12px; }
.admin-bottom-nav { display: none; }

@media (max-width: 1050px) {
  .admin-stat-grid { grid-template-columns: repeat(3,1fr); }
  .admin-grid-two { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .app-shell.admin-shell { max-width: 520px; }
  .admin-app { display: block; padding-bottom: calc(82px + var(--safe-bottom)); }
  .admin-side { display: none; }
  .admin-main { width: 100%; }
  .admin-header { min-height: auto; padding: calc(15px + var(--safe-top)) 17px 14px; position: sticky; }
  .admin-header h1 { font-size: 19px; }
  .admin-header p, .backend-pill { display: none; }
  .admin-content { padding: 16px; }
  .admin-stat-grid { grid-template-columns: repeat(2,1fr); gap: 9px; }
  .admin-stat { padding: 13px; }
  .admin-stat strong { font-size: 18px; }
  .admin-grid-two { margin-top: 12px; gap: 12px; }
  .admin-card { padding: 14px; border-radius: 17px; }
  .admin-row { align-items: flex-start; flex-direction: column; }
  .admin-row-actions { width: 100%; justify-content: flex-start; }
  .admin-person p { line-height: 1.45; }
  .admin-toolbar { align-items: flex-start; }
  .settings-summary { grid-template-columns: 1fr; }
  .admin-bottom-nav { display: grid; }
}
@media (max-width: 390px) {
  .role-switch.three { grid-template-columns: 1fr 1fr; }
  .role-switch.three .admin-role { grid-column: 1 / -1; }
  .demo-actions.three { grid-template-columns: 1fr; }
}


/* Canlı mesajlaşma */
.chat-screen{display:flex;flex-direction:column;min-height:100dvh;background:#f6f8fb}.chat-title{display:flex;align-items:center;gap:10px;min-width:0}.chat-title .candidate-avatar{width:38px;height:38px;border-radius:13px;flex:none}.chat-title h1{font-size:15px;margin:0}.chat-title small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.chat-body{flex:1;display:flex;flex-direction:column;gap:9px;padding:18px 16px 104px;overflow:auto}.chat-bubble{max-width:82%;padding:11px 13px;border-radius:17px;background:#fff;box-shadow:0 5px 18px rgba(18,56,94,.07)}.chat-bubble.mine{align-self:flex-end;background:var(--navy);color:#fff;border-bottom-right-radius:5px}.chat-bubble.theirs{align-self:flex-start;border-bottom-left-radius:5px}.chat-bubble p{margin:0;line-height:1.45;font-size:13px}.chat-bubble time{display:block;margin-top:5px;font-size:8px;opacity:.68;text-align:right}.chat-empty{margin:auto;color:var(--muted);font-size:12px;text-align:center}.chat-composer{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:min(100%,520px);padding:10px 14px calc(10px + env(safe-area-inset-bottom));display:flex;align-items:flex-end;gap:8px;background:rgba(250,247,242,.96);backdrop-filter:blur(14px);border-top:1px solid var(--border);z-index:20}.chat-composer textarea{flex:1;min-height:42px;max-height:100px;resize:none;border:1px solid var(--border);border-radius:14px;padding:11px 12px;font:inherit;outline:none}.chat-composer textarea:focus{border-color:var(--navy)}

/* Mobil yönetim menüsünde bütün modüller */
.admin-bottom-nav{display:flex!important;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;scrollbar-width:none;padding-left:6px;padding-right:6px}.admin-bottom-nav::-webkit-scrollbar{display:none}.admin-bottom-nav .nav-item{flex:0 0 70px;min-width:70px}.admin-bottom-nav .nav-item span:last-child{font-size:8px;white-space:nowrap}
@media(min-width:900px){.admin-bottom-nav{display:none!important}}
