/* cbnext — paylaşılan stiller (tüm public sayfalar). Tailwind CDN'e ek. */
:root {
  --cb-brand-navy: #012169;
  --cb-brand-navy-deep: #00153d;
  --cb-brand-accent: #418fde;
  --cb-brand-accent-strong: #1f69ff;
  --z-site-header: 70;
  --z-site-menu: 80;
  --z-whatsapp-fab: 85;
}

/* Rol Yönetimi — sakin, yoğun erişim konsolu */
.cb-role-console {
  --role-ink: #0b1f3a;
  --role-muted: #64748b;
  --role-line: rgba(15, 35, 68, .10);
  --role-soft: #f6f8fb;
  --role-accent: #012169;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--role-line), 0 12px 32px rgba(15, 35, 68, .06);
}
.cb-role-console__tabs { display:flex; gap:4px; padding:8px; border-bottom:1px solid var(--role-line); background:#f8fafc; }
.cb-role-tab { min-height:40px; padding:0 16px; border-radius:10px; color:#64748b; font-size:13px; font-weight:700; transition:background-color .16s,color .16s; }
.cb-role-tab:hover { color:var(--role-ink); background:#fff; }
.cb-role-tab:focus-visible { outline:3px solid rgba(65,143,222,.28); outline-offset:1px; }
.cb-role-tab.is-active { color:#fff; background:var(--role-accent); box-shadow:0 1px 2px rgba(1,33,105,.18); }
.cb-role-console__body { display:grid; grid-template-columns:320px minmax(0,1fr); min-height:720px; }
.cb-role-rail { border-right:1px solid var(--role-line); background:#fbfcfe; }
.cb-role-rail__header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px; border-bottom:1px solid var(--role-line); }
.cb-role-rail__header h2,.cb-role-editor__header h2 { margin-top:4px; color:var(--role-ink); font-size:20px; line-height:1.2; font-weight:700; letter-spacing:-.02em; }
.cb-role-kicker { color:#418fde; font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.cb-role-icon-btn { width:40px; height:40px; border-radius:10px; color:#fff; background:var(--role-accent); font-size:24px; line-height:1; transition:transform .12s,background-color .16s; }
.cb-role-icon-btn:hover { background:#003a8c; }.cb-role-icon-btn:active { transform:scale(.97); }
.cb-role-create { display:grid; gap:12px; padding:16px 20px; border-bottom:1px solid var(--role-line); background:#eef5ff; }
.cb-role-create label>span,.cb-role-editor__meta label>span,.cb-role-description>span,.cb-role-person-summary label>span { display:block; margin-bottom:6px; color:#475569; font-size:11px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.cb-role-search { padding:14px 16px; border-bottom:1px solid var(--role-line); }
.cb-role-list { max-height:650px; overflow:auto; padding:8px; }
.cb-role-list-item { display:grid; grid-template-columns:36px minmax(0,1fr) 10px; gap:10px; align-items:center; width:100%; min-height:62px; padding:10px 12px; border-radius:12px; text-align:left; transition:background-color .16s,box-shadow .16s; }
.cb-role-list-item:hover { background:#f1f5f9; }.cb-role-list-item.is-active { background:#fff; box-shadow:0 0 0 1px rgba(1,33,105,.14),0 4px 14px rgba(15,35,68,.07); }
.cb-role-list-item:focus-visible { outline:3px solid rgba(65,143,222,.25); }
.cb-role-list-item__rank { color:#94a3b8; font-size:11px; font-weight:800; font-variant-numeric:tabular-nums; }
.cb-role-list-item__copy { min-width:0; }.cb-role-list-item__copy strong { display:block; overflow:hidden; color:var(--role-ink); font-size:13px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.cb-role-list-item__copy small { display:block; overflow:hidden; margin-top:3px; color:var(--role-muted); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.cb-role-status-dot { width:8px; height:8px; border-radius:50%; background:#cbd5e1; box-shadow:0 0 0 3px rgba(203,213,225,.28); }.cb-role-status-dot.is-on { background:#16a34a; box-shadow:0 0 0 3px rgba(22,163,74,.12); }
.cb-role-avatar { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; color:#012169; background:#e8f1ff; font-size:11px; font-weight:800; }
.cb-role-workbench { min-width:0; background:#fff; }
.cb-role-editor { min-width:0; }
.cb-role-editor__header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; padding:24px 28px; border-bottom:1px solid var(--role-line); }
.cb-role-editor__header p { max-width:680px; margin-top:6px; color:var(--role-muted); font-size:13px; line-height:1.5; }
.cb-role-editor__meta { display:grid; grid-template-columns:1.25fr 1.25fr .65fr 1.4fr; gap:12px; padding:20px 28px; background:#fbfcfe; border-bottom:1px solid var(--role-line); }
.cb-role-editor__meta small { display:block; margin-top:5px; color:#94a3b8; font-size:10px; }
.cb-role-description { display:block; padding:18px 28px 0; }
.cb-role-toggle-card { display:flex!important; align-items:flex-start; gap:10px; min-height:58px; padding:10px 12px; border:1px solid var(--role-line); border-radius:12px; background:#fff; text-transform:none!important; }
.cb-role-toggle-card input { flex:0 0 auto; width:18px; height:18px; margin-top:2px; accent-color:#012169; }
.cb-role-toggle-card span { margin:0!important; text-transform:none!important; }.cb-role-toggle-card strong { display:block; color:var(--role-ink); font-size:12px; }.cb-role-toggle-card small { display:block; margin-top:3px; color:var(--role-muted); font-size:10px; line-height:1.35; }
.cb-role-meta-toggle-stack { display:grid; gap:8px; }
.cb-role-section { padding:24px 28px; border-bottom:1px solid var(--role-line); }
.cb-role-section:last-child { border-bottom:0; }
.cb-role-section__heading { display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom:14px; }
.cb-role-section__heading h3 { margin-top:3px; color:var(--role-ink); font-size:17px; font-weight:700; }.cb-role-section__heading>span { color:#64748b; font-size:11px; font-weight:700; }
.cb-role-permission-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.cb-role-permission-group { overflow:hidden; border:1px solid var(--role-line); border-radius:14px; background:var(--role-soft); }
.cb-role-permission-group legend { width:100%; padding:9px 12px; border-bottom:1px solid var(--role-line); color:#475569; background:#eef2f7; font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.cb-role-permission-row { display:flex; align-items:flex-start; gap:10px; min-height:52px; padding:10px 12px; border-bottom:1px solid rgba(15,35,68,.07); background:#fff; cursor:pointer; }.cb-role-permission-row:last-child { border-bottom:0; }
.cb-role-permission-row:hover { background:#f8fbff; }.cb-role-permission-row input { width:17px; height:17px; margin-top:2px; accent-color:#012169; }
.cb-role-permission-row strong { display:block; color:var(--role-ink); font-size:12px; }.cb-role-permission-row small { display:block; margin-top:3px; color:#94a3b8; font-size:10px; }
.cb-role-security-note { margin:-2px 0 12px; padding:10px 12px; border-left:3px solid #418fde; color:#475569; background:#f0f6ff; font-size:11px; line-height:1.45; }
.cb-role-capability-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; overflow:hidden; border:1px solid var(--role-line); border-radius:14px; background:var(--role-line); }
.cb-role-person-summary { display:grid; grid-template-columns:minmax(240px,.8fr) 1.2fr; gap:16px; padding:20px 28px; border-bottom:1px solid var(--role-line); background:#fbfcfe; }
.cb-role-toggle-stack { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.cb-role-override-list { overflow:hidden; border:1px solid var(--role-line); border-radius:14px; }
.cb-role-override-row { display:grid; grid-template-columns:minmax(220px,1fr) 90px 140px 100px; gap:12px; align-items:center; min-height:58px; padding:9px 12px; border-bottom:1px solid var(--role-line); }.cb-role-override-row:last-child { border-bottom:0; }
.cb-role-override-row>div strong { display:block; color:var(--role-ink); font-size:12px; }.cb-role-override-row>div small { display:block; margin-top:2px; color:#94a3b8; font-size:10px; }
.cb-role-origin,.cb-role-effective { justify-self:start; padding:4px 7px; border-radius:6px; color:#64748b; background:#eef2f7; font-size:10px; font-weight:800; }.cb-role-origin.is-on,.cb-role-effective.is-on { color:#075985; background:#e0f2fe; }
.cb-role-override-select { width:100%; min-height:36px; padding:0 28px 0 9px; border:1px solid rgba(15,35,68,.14); border-radius:8px; color:#334155; background:#f8fafc; font-size:11px; }
.cb-role-empty { padding:20px; color:#94a3b8; font-size:12px; text-align:center; }.cb-role-empty--large { display:grid; place-items:center; min-height:520px; }
.cb-role-state,.cb-role-alert { display:flex; align-items:center; gap:10px; margin-bottom:16px; padding:12px 14px; border-radius:12px; font-size:13px; }
.cb-role-state { color:#475569; background:#fff; box-shadow:0 0 0 1px rgba(15,35,68,.10); }.cb-role-alert--success { color:#166534; background:#dcfce7; }.cb-role-alert--danger { color:#991b1b; background:#fee2e2; }
.cb-role-spinner { width:16px; height:16px; border:2px solid #cbd5e1; border-top-color:#012169; border-radius:50%; animation:cb-role-spin .7s linear infinite; }
@keyframes cb-role-spin { to { transform:rotate(360deg); } }
@media (max-width:1100px) { .cb-role-console__body{grid-template-columns:270px minmax(0,1fr)}.cb-role-editor__meta{grid-template-columns:repeat(2,minmax(0,1fr))}.cb-role-override-row{grid-template-columns:minmax(180px,1fr) 80px 130px}.cb-role-effective{display:none} }
@media (max-width:760px) { .cb-role-console__body{display:block}.cb-role-rail{border-right:0;border-bottom:1px solid var(--role-line)}.cb-role-list{max-height:260px}.cb-role-editor__header{display:grid;padding:20px}.cb-role-editor__header .cb-panel-btn{width:100%}.cb-role-editor__meta,.cb-role-person-summary,.cb-role-toggle-stack,.cb-role-permission-groups,.cb-role-capability-list{grid-template-columns:1fr}.cb-role-editor__meta,.cb-role-section,.cb-role-person-summary{padding:18px}.cb-role-description{padding:18px 18px 0}.cb-role-override-row{grid-template-columns:1fr 120px}.cb-role-origin{display:none}.cb-role-section__heading{align-items:start}.cb-role-section__heading>span{display:none} }
@media (prefers-reduced-motion:reduce) { .cb-role-spinner{animation:none}.cb-role-tab,.cb-role-list-item,.cb-role-icon-btn{transition:none} }
body.cb-menu-open { overflow: hidden; }
.cb-header-shell { display: contents; }
[data-site-header]:not([data-header-variant="overlay"]) { height: 4rem; }
.starry {
  background-color: var(--cb-brand-navy);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.05) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.04) 0 2px, transparent 3px),
    radial-gradient(circle at 85% 60%, rgba(255,255,255,.05) 0 2px, transparent 3px),
    radial-gradient(circle at 40% 70%, rgba(255,255,255,.03) 0 2px, transparent 3px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 46l4 10 10 1-7.5 7 2 10.5L60 79l-10.5 5.5 2-10.5L44 57l10-1z' fill='%23ffffff' opacity='0.03'/%3E%3C/svg%3E");
  background-size: auto, auto, auto, auto, 160px 160px;
}
.glass { background: rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); }
.site-header-overlay {
  z-index: var(--z-site-header);
  background: rgba(1, 33, 105, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}
.site-header-overlay.site-header-scrolled {
  background: rgba(1, 33, 105, .92);
  box-shadow: 0 4px 8px rgba(7, 26, 47, .2);
}
.site-header-overlay .site-login-button {
  color: #fff;
  background: rgba(1, 33, 105, .18);
  border: 1px solid rgba(255, 255, 255, .65);
}
.cb-brand-link {
  display: inline-flex;
  align-items: center;
  min-height: 100%;
}
.cb-brand-lockup {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}
.cb-brand-lockup--header {
  width: clamp(10rem, 20vw, 14rem);
}
.cb-brand-lockup--menu {
  width: min(13rem, 100%);
}
.cb-brand-lockup--panel {
  width: 12rem;
}
.cb-brand-lockup--auth {
  width: min(14rem, 70vw);
  margin-inline: auto;
}
.cb-brand-lockup--hero {
  width: min(24rem, 70vw);
  margin-inline: auto;
}
.cb-brand-lockup--placeholder {
  width: 5.5rem;
  opacity: .92;
}
[class~="text-gold"],
[class~="text-gold-600"] {
  color: var(--cb-brand-accent) !important;
}
[class~="bg-gold"] {
  background-color: var(--cb-brand-accent) !important;
  color: #fff !important;
}
[class~="bg-gold/15"] {
  background-color: rgba(65, 143, 222, .12) !important;
  color: var(--cb-brand-navy) !important;
}
[class~="bg-gold/20"] {
  background-color: rgba(65, 143, 222, .16) !important;
  color: var(--cb-brand-navy) !important;
}
[class~="border-gold"] {
  border-color: var(--cb-brand-accent) !important;
}
[class~="ring-gold"] {
  --tw-ring-color: var(--cb-brand-accent) !important;
}
[class~="hover:text-gold"]:hover,
[class~="hover:text-gold-600"]:hover {
  color: var(--cb-brand-accent) !important;
}
[class~="hover:bg-gold-600"]:hover {
  background-color: var(--cb-brand-accent-strong) !important;
  color: #fff !important;
}
[class~="bg-amber-50"],
[class~="bg-amber-100"],
[class~="bg-yellow-100"] {
  background-color: rgba(65, 143, 222, .12) !important;
}
[class~="text-amber-600"],
[class~="text-amber-700"],
[class~="text-yellow-700"] {
  color: var(--cb-brand-navy) !important;
}
.cb-menu-trigger {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  transition: background-color 180ms ease, border-color 180ms ease;
}
.cb-menu-trigger:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.75); }
.cb-menu-layer {
  position: fixed;
  inset: 4rem 0 0;
  z-index: var(--z-site-menu);
}
.cb-menu-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 13, 25, .68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.cb-menu-panel {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(20rem, calc(100vw - 1rem));
  overflow-y: auto;
  padding: 1rem;
  color: #00153D;
  background: rgba(231, 235, 240, .88);
  border-radius: 0 20px 0 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 8px 0 24px rgba(3, 13, 25, .22);
  overscroll-behavior: contain;
}
.cb-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}
.cb-menu-close {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--cb-brand-navy);
}
.cb-menu-list { display: grid; gap: .5rem; }
.cb-menu-item {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem .9rem;
  border-radius: 8px;
  color: var(--cb-brand-navy);
  background: rgba(255,255,255,.94);
  font-size: 1rem;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms cubic-bezier(.22,1,.36,1);
}
.cb-menu-item span:last-child { font-size: 1.35rem; font-weight: 400; transition: transform 180ms cubic-bezier(.22,1,.36,1); }
.cb-menu-item:hover,
.cb-menu-item:focus-visible { color: #fff; background: var(--cb-brand-navy); transform: translateX(-4px); }
.cb-menu-item:hover span:last-child,
.cb-menu-item:focus-visible span:last-child { transform: translateX(4px); }
.cb-menu-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(1,33,105,.18);
  color: #334155;
  font-size: .875rem;
}
.cb-menu-trigger:focus-visible,
.cb-menu-close:focus-visible,
.cb-menu-item:focus-visible,
.cb-menu-backdrop:focus-visible { outline: 2px solid var(--cb-brand-accent); outline-offset: 3px; }
.event-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.event-featured-media {
  display: block;
  height: clamp(22rem, 48vw, 36rem);
  overflow: hidden;
  border-radius: 14px;
  background: var(--cb-brand-navy);
}
.event-featured-media img,
.event-featured-media video,
.event-card-media img,
.event-card-media video { transition: transform 350ms cubic-bezier(.22,1,.36,1); }
.event-featured-media:hover img,
.event-featured-media:hover video,
.event-card-media:hover img,
.event-card-media:hover video { transform: scale(1.025); }
.event-featured-copy { padding-block: 1rem; }
.event-date { color: var(--cb-brand-accent); font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem 2rem; }
.event-card-media { display: block; height: 17rem; overflow: hidden; border-radius: 12px; background: var(--cb-brand-navy); }
.event-detail-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.event-gallery-item { margin: 0; overflow: hidden; }
.event-gallery-item img,
.event-gallery-item video { border-radius: 12px; }
.team-page__heading { max-width: 42rem; margin-bottom: 3.5rem; }
.team-page__heading h2 {
  color: var(--cb-brand-navy-deep);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  text-wrap: balance;
}
.team-page__heading p { margin-top: .75rem; color: #475569; line-height: 1.65; text-wrap: pretty; }
.team-sections { display: grid; gap: 4.5rem; }
.team-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(1, 33, 105, .14);
}
.team-section__header h3 { color: var(--cb-brand-navy-deep); font-size: 1.375rem; font-weight: 750; line-height: 1.25; text-wrap: balance; }
.team-section__header p { margin-top: .35rem; color: #64748b; font-size: .9375rem; line-height: 1.5; }
.team-section__count {
  min-width: 2rem;
  color: var(--cb-brand-navy);
  font-size: .875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.team-grid { display: grid; gap: 1.5rem; }
.team-grid--broker_owners { grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 36rem)); justify-content: center; }
.team-grid--directors { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 20rem)); justify-content: center; }
.team-grid--consultants { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }
.team-grid--staff { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.team-card {
  min-width: 0;
  color: var(--cb-brand-navy-deep);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(1, 33, 105, .08), 0 2px 6px rgba(1, 21, 61, .06);
  overflow: hidden;
}
.team-card[href] { transition: transform 180ms cubic-bezier(.23, 1, .32, 1), box-shadow 180ms ease; }
.team-card[href]:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(1, 33, 105, .12), 0 5px 8px rgba(1, 21, 61, .09); }
.team-card[href]:focus-visible { outline: 3px solid rgba(65, 143, 222, .9); outline-offset: 4px; }
.team-card[href]:active { transform: scale(.98); }
.team-card__photo { position: relative; flex: 0 0 auto; overflow: hidden; color: #fff; background: var(--cb-brand-navy); }
.team-card__photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); pointer-events: none; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms cubic-bezier(.23, 1, .32, 1); }
.team-card[href]:hover .team-card__photo img { transform: scale(1.025); }
.team-card__photo > span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: rgba(255,255,255,.9); font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; }
.team-card__copy { min-width: 0; }
.team-card__copy h4 { font-weight: 750; line-height: 1.3; text-wrap: balance; }
.team-card__copy p { margin-top: .35rem; color: #526174; font-size: .875rem; line-height: 1.45; text-wrap: pretty; }
.team-card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; color: var(--cb-brand-accent-strong); font-size: .8125rem; font-weight: 700; }
.team-card--broker_owners { display: grid; grid-template-columns: minmax(8.5rem, 11rem) 1fr; align-items: stretch; min-height: 11rem; }
.team-card--broker_owners .team-card__photo { min-height: 11rem; }
.team-card--broker_owners .team-card__copy { align-self: center; padding: 1.75rem; }
.team-card--broker_owners .team-card__copy h4 { font-size: 1.375rem; }
.team-card--directors .team-card__photo { height: 16rem; }
.team-card--directors .team-card__copy { padding: 1.25rem; }
.team-card--directors .team-card__copy h4 { font-size: 1.0625rem; }
.team-card--consultants .team-card__photo { height: 14rem; }
.team-card--consultants .team-card__copy { padding: 1rem 1.125rem 1.25rem; }
.team-card--consultants .team-card__copy h4 { font-size: 1rem; }
.team-card--staff { display: flex; align-items: center; min-height: 6.5rem; padding: 1rem; }
.team-card--staff .team-card__photo { width: 4.5rem; height: 4.5rem; border-radius: 10px; }
.team-card--staff .team-card__copy { padding-left: 1rem; }
.team-card--staff .team-card__copy h4 { font-size: 1rem; }
.team-state { padding: 3rem 1.5rem; text-align: center; color: #475569; background: rgba(255,255,255,.72); border-radius: 14px; }
.team-state h3 { color: var(--cb-brand-navy-deep); font-size: 1.125rem; font-weight: 700; }
.team-state p { margin-top: .5rem; font-size: .9375rem; }
.team-state button { min-height: 44px; margin-top: 1.25rem; padding: .65rem 1rem; border-radius: 8px; color: #fff; background: var(--cb-brand-navy); font-weight: 700; }
.team-state button:hover { background: #003a8c; }
.team-state button:focus-visible { outline: 3px solid rgba(65, 143, 222, .9); outline-offset: 3px; }
.team-loading { display: grid; gap: 1.5rem; }
.team-skeleton-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.team-skeleton { min-height: 20rem; border-radius: 14px; background: linear-gradient(100deg, #e7ebf0 20%, #f4f6f8 50%, #e7ebf0 80%); background-size: 240% 100%; animation: team-skeleton-pulse 1.6s ease-in-out infinite; }
.team-skeleton--wide { min-height: 11rem; }
@keyframes team-skeleton-pulse { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.home-hero {
  min-height: clamp(44rem, 92vh, 58rem);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
  background-color: var(--cb-brand-navy);
  background-image:
    linear-gradient(90deg, rgba(7, 26, 47, .08) 0%, rgba(7, 26, 47, .04) 48%, rgba(7, 26, 47, .2) 100%),
    linear-gradient(180deg, rgba(7, 26, 47, .2) 0%, rgba(7, 26, 47, 0) 45%, rgba(7, 26, 47, .3) 100%),
    url("/assets/hero-cbnext-office.jpg?v=20260715");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5rem;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(7, 26, 47, .22));
}
.hero-search-panel {
  width: min(100%, 52rem);
  padding-top: 0;
  padding-bottom: 2rem;
}
.hero-tab {
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(7, 26, 47, .22);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-tab:hover,
.hero-tab:focus-visible {
  background: rgba(255, 255, 255, .22);
}
.hero-tab--active {
  color: var(--cb-brand-navy);
  background: rgba(255, 255, 255, .92);
  border-color: transparent;
}
.hero-search {
  padding: .5rem;
  background: rgba(7, 26, 47, .28);
  border: 1px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-search input::placeholder { color: rgba(255, 255, 255, .82); }
.hero-select--hidden { display: none; }
.cb-whatsapp-fab {
  position: fixed;
  right: 1rem;
  bottom: calc(var(--cb-wa-bottom, 1rem) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-whatsapp-fab);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  min-width: 3.5rem;
  padding: .8rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #1fa855, #25d366);
  box-shadow: 0 16px 34px rgba(15, 82, 37, .28);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}
.cb-whatsapp-fab:hover,
.cb-whatsapp-fab:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(15, 82, 37, .32);
}
.cb-whatsapp-fab:disabled { opacity: .8; }
.cb-whatsapp-fab__icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
}
.cb-whatsapp-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, .16);
  animation: cb-wa-pulse 2.4s ease-in-out infinite;
}
@keyframes cb-wa-pulse {
  0%, 100% { opacity: .22; transform: scale(1); }
  50% { opacity: .08; transform: scale(1.04); }
}
.hero-search select:focus-visible,
.hero-search input:focus-visible,
.hero-tab:focus-visible,
.site-header-overlay a:focus-visible,
.site-header-overlay button:focus-visible,
.cb-whatsapp-fab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
body.cb-panel-body {
  color: #0f172a;
  background:
    radial-gradient(circle at top, rgba(65, 143, 222, .14), transparent 34%),
    linear-gradient(180deg, #eef3f8 0%, #f7f9fc 42%, #eef3f8 100%);
  background-attachment: fixed;
}
body.cb-panel-body.cb-panel-nav-open { overflow: hidden; }
.cb-panel-shell {
  width: 18rem;
  flex: 0 0 18rem;
}
.cb-panel-app {
  min-width: 0;
  flex: 1 1 auto;
  min-height: 100vh;
}
.cb-panel-sidebar__overlay {
  display: none;
}
.cb-panel-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 1rem 1rem;
  color: rgba(255,255,255,.92);
  background:
    linear-gradient(180deg, rgba(0, 21, 61, .96) 0%, rgba(1, 33, 105, .98) 48%, rgba(1, 33, 105, 1) 100%),
    radial-gradient(circle at top, rgba(65, 143, 222, .18), transparent 28%);
  border-right: 1px solid rgba(148, 163, 184, .12);
  box-shadow: 18px 0 44px rgba(1, 21, 61, .18);
}
.cb-panel-sidebar__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .35rem .35rem .9rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.cb-panel-sidebar__close,
.cb-panel-nav-toggle {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .24);
  color: inherit;
  background: rgba(255,255,255,.08);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.cb-panel-sidebar__close svg,
.cb-panel-nav-toggle svg,
.cb-panel-logout svg,
.cb-nav__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}
.cb-panel-sidebar__close:hover,
.cb-panel-nav-toggle:hover,
.cb-panel-logout:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(148, 163, 184, .36);
}
.cb-panel-sidebar__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0 .35rem;
}
.cb-panel-sidebar__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0 .75rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.08);
}
.cb-panel-nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: .3rem;
  min-height: 0;
  overflow-y: auto;
  padding-right: .15rem;
}
.cb-nav {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 3rem;
  padding: .7rem .85rem;
  border-radius: 1rem;
  color: rgba(255,255,255,.76);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.cb-nav:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
  transform: translateX(2px);
}
.cb-nav.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(65, 143, 222, .35), rgba(255,255,255,.1));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 12px 28px rgba(1, 21, 61, .2);
}
.cb-nav__icon {
  display: inline-flex;
  width: 2.15rem;
  height: 2.15rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.15rem;
  border-radius: .85rem;
  background: rgba(255,255,255,.08);
}
.cb-nav.is-active .cb-nav__icon {
  background: rgba(255,255,255,.14);
}
.cb-nav__label {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
}
.cb-nav--cta {
  margin-bottom: .3rem;
  color: #00153D;
  background: linear-gradient(135deg, #418FDE, #a7c9f2);
  box-shadow: 0 10px 24px rgba(1, 21, 61, .25);
}
.cb-nav--cta:hover {
  color: #00153D;
  background: linear-gradient(135deg, #5aa0e8, #bcd8fa);
  transform: translateX(2px);
}
.cb-nav--cta .cb-nav__icon {
  background: rgba(255,255,255,.55);
  color: #00153D;
}
.cb-panel-sidebar__footer {
  padding: .85rem .35rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .8rem;
  color: rgba(255,255,255,.6);
}
.cb-panel-topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 2.5vw, 2rem);
  background: rgba(247, 249, 252, .82);
  border-bottom: 1px solid rgba(148, 163, 184, .2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.cb-panel-topbar__lead,
.cb-panel-topbar__actions,
.cb-panel-user {
  display: flex;
  align-items: center;
}
.cb-panel-topbar__lead {
  gap: .9rem;
  min-width: 0;
}
.cb-panel-topbar__eyebrow {
  margin-bottom: .15rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #64748b;
}
.cb-panel-topbar__title {
  font-size: clamp(1.2rem, 1vw + 1rem, 1.7rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--cb-brand-navy-deep);
}
.cb-panel-topbar__actions {
  gap: .75rem;
}
.cb-panel-topbar__date,
.cb-panel-user,
.cb-panel-logout {
  min-height: 2.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .22);
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 28px rgba(148, 163, 184, .12);
}
.cb-panel-topbar__date {
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  font-size: .84rem;
  font-weight: 700;
  color: #475569;
}
.cb-panel-user {
  gap: .75rem;
  padding: .3rem .4rem .3rem .3rem;
}
.cb-panel-user__avatar {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--cb-brand-navy) 0%, var(--cb-brand-accent) 100%);
}
.cb-panel-nav-toggle {
  display: none;
  color: var(--cb-brand-navy);
  background: rgba(255,255,255,.72);
}
.cb-panel-logout {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 0 1rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--cb-brand-navy);
}
/* Sağ üst kullanıcı menüsü (dropdown) */
.cb-panel-user {
  position: relative;
  padding: 0;
}
.cb-panel-user__trigger {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.75rem;
  padding: .3rem .55rem .3rem .3rem;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.cb-panel-user__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
}
.cb-panel-user__name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--cb-brand-navy-deep);
}
.cb-panel-user__role {
  font-size: .72rem;
  color: #94a3b8;
}
.cb-panel-user__caret {
  display: inline-flex;
  color: #94a3b8;
  transition: transform 180ms ease;
}
.cb-panel-user__caret svg { width: 1rem; height: 1rem; }
.cb-panel-user.is-open .cb-panel-user__caret { transform: rotate(180deg); }
.cb-panel-user__avatar--photo { overflow: hidden; padding: 0; }
.cb-panel-user__avatar--photo img { width: 100%; height: 100%; object-fit: cover; }
.cb-user-dropdown {
  position: absolute;
  top: calc(100% + .55rem);
  right: 0;
  z-index: 40;
  min-width: 15rem;
  padding: .4rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, .22);
  background: #fff;
  box-shadow: 0 20px 44px rgba(1, 21, 61, .18);
}
.cb-user-dropdown__item {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  padding: .65rem .8rem;
  border-radius: .75rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--cb-brand-navy);
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}
.cb-user-dropdown__item svg { width: 1.15rem; height: 1.15rem; }
.cb-user-dropdown__item:hover { background: rgba(148, 163, 184, .14); }
.cb-user-dropdown__item--danger { color: #dc2626; }
.cb-user-dropdown__item--danger:hover { background: rgba(220, 38, 38, .1); }

/* Güvenlik: hareketsizlik geri sayım uyarısı (üst menü, kırmızı kalın) */
.cb-idle-timer {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.85rem;
  padding: 0 .95rem;
  border-radius: 999px;
  border: 1px solid rgba(220, 38, 38, .35);
  background: rgba(254, 226, 226, .85);
  animation: cb-idle-pulse 1s ease-in-out infinite;
}
.cb-idle-timer__reason {
  font-size: .78rem;
  font-weight: 700;
  color: #b91c1c;
  max-width: 15rem;
  line-height: 1.15;
}
.cb-idle-timer__count {
  font-size: 1.05rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  color: #dc2626;
}
@keyframes cb-idle-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .28); }
  50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}

.cb-panel-page {
  width: min(100%, 92rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 2vw, 2rem);
}
.cb-panel-page__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.cb-panel-page__eyebrow {
  display: inline-block;
  margin-bottom: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cb-brand-accent-strong);
}
.cb-panel-page__title {
  font-size: clamp(1.8rem, 1.2vw + 1.3rem, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--cb-brand-navy-deep);
}
.cb-panel-page__intro {
  max-width: 50rem;
  margin-top: .55rem;
  color: #475569;
  font-size: .95rem;
  line-height: 1.65;
}
.cb-panel-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .65rem;
}
.cb-panel-grid {
  display: grid;
  gap: 1rem;
}
.cb-panel-grid--stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cb-panel-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cb-panel-kpi,
.cb-panel-surface {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(255,255,255,.88);
  box-shadow: 0 22px 46px rgba(148, 163, 184, .12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cb-panel-kpi {
  border-radius: 1.4rem;
  padding: 1.25rem;
}
.cb-panel-kpi::before,
.cb-panel-surface::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cb-brand-navy) 0%, var(--cb-brand-accent) 100%);
  opacity: .9;
}
.cb-panel-kpi__label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
}
.cb-panel-kpi__value {
  margin-top: .8rem;
  font-size: clamp(2rem, 2vw + 1.1rem, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--cb-brand-navy-deep);
}
.cb-panel-kpi__meta {
  margin-top: .65rem;
  color: #475569;
  font-size: .9rem;
}
.cb-panel-surface {
  border-radius: 1.5rem;
  padding: 1.4rem;
}
.cb-panel-surface__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.cb-panel-surface__title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--cb-brand-navy-deep);
}
.cb-panel-surface__text,
.cb-panel-note {
  color: #64748b;
  font-size: .9rem;
  line-height: 1.6;
}
.cb-panel-note {
  margin-bottom: 1rem;
}
.cb-panel-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.cb-panel-action {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-height: 7rem;
  padding: 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(148, 163, 184, .16);
  color: var(--cb-brand-navy-deep);
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(238, 243, 248, .92) 100%);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.cb-panel-action:hover {
  transform: translateY(-2px);
  border-color: rgba(65, 143, 222, .28);
  box-shadow: 0 18px 36px rgba(148, 163, 184, .15);
}
.cb-panel-action__label {
  font-size: 1rem;
  font-weight: 800;
}
.cb-panel-action__desc {
  color: #64748b;
  font-size: .82rem;
  line-height: 1.55;
}
.cb-panel-list {
  display: grid;
  gap: .75rem;
}
.cb-panel-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1rem;
  border-radius: 1rem;
  background: rgba(248, 250, 252, .92);
  border: 1px solid rgba(226, 232, 240, .9);
}
.cb-panel-list__meta {
  color: #64748b;
  font-size: .82rem;
}
.cb-panel-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0 .7rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.cb-panel-badge--success { color: #166534; background: #dcfce7; }
.cb-panel-badge--warning { color: #b45309; background: #fef3c7; }
.cb-panel-badge--danger { color: #b91c1c; background: #fee2e2; }
.cb-panel-badge--muted { color: #475569; background: #e2e8f0; }
.cb-panel-table-wrap {
  overflow: auto;
  margin-inline: -1.4rem;
  padding-inline: 1.4rem;
}
.cb-panel-table {
  width: 100%;
  min-width: 40rem;
  border-collapse: separate;
  border-spacing: 0;
}
.cb-panel-table thead th {
  padding: .95rem 1rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  color: #64748b;
  background: rgba(248, 250, 252, .94);
  border-bottom: 1px solid rgba(226, 232, 240, .95);
}
.cb-panel-table thead th:first-child {
  border-top-left-radius: 1rem;
}
.cb-panel-table thead th:last-child {
  border-top-right-radius: 1rem;
}
.cb-panel-table tbody td {
  padding: 1rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(226, 232, 240, .92);
}
.cb-panel-table tbody tr:last-child td {
  border-bottom: 0;
}
.cb-panel-table tbody tr:hover td {
  background: rgba(248, 250, 252, .7);
}
.cb-panel-table__title {
  font-weight: 700;
  color: var(--cb-brand-navy-deep);
}
.cb-panel-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  color: #94a3b8;
}
.cb-panel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.cb-panel-btn:hover {
  transform: translateY(-1px);
}
.cb-panel-btn:disabled {
  opacity: .72;
  cursor: not-allowed;
  transform: none;
}
.cb-panel-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--cb-brand-navy) 0%, #003a8c 100%);
  box-shadow: 0 14px 30px rgba(1, 33, 105, .22);
}
.cb-panel-btn--secondary {
  color: var(--cb-brand-navy);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(1, 33, 105, .16);
}
.cb-panel-btn--accent {
  color: var(--cb-brand-navy-deep);
  background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
  box-shadow: 0 12px 24px rgba(65, 143, 222, .16);
}
.cb-panel-btn--ghost {
  color: #475569;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, .26);
}
.cb-panel-link {
  font-size: .9rem;
  font-weight: 700;
  color: var(--cb-brand-accent-strong);
}
.cb-panel-form-grid {
  display: grid;
  gap: .9rem;
}
.cb-panel-label {
  display: block;
  margin-bottom: .35rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
}
.cb-panel-field,
.cb-panel-select,
.cb-panel-textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .26);
  border-radius: 1rem;
  background: rgba(255,255,255,.94);
  color: #0f172a;
  font-size: .95rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.cb-panel-field,
.cb-panel-select {
  min-height: 3rem;
  padding: 0 .95rem;
}
.cb-panel-textarea {
  min-height: 7rem;
  padding: .85rem .95rem;
  resize: vertical;
}
.cb-panel-field:focus,
.cb-panel-select:focus,
.cb-panel-textarea:focus {
  outline: none;
  border-color: rgba(65, 143, 222, .85);
  box-shadow: 0 0 0 4px rgba(65, 143, 222, .16);
}
.cb-panel-help {
  margin-top: .35rem;
  font-size: .75rem;
  color: #94a3b8;
}
.cb-panel-check {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #334155;
  font-size: .9rem;
}
.cb-panel-check input {
  width: 1rem;
  height: 1rem;
}
.cb-panel-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cb-panel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cb-panel-modal__dialog {
  position: relative;
  width: min(100%, 42rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.5rem;
  border-radius: 1.6rem;
  background: rgba(255,255,255,.96);
  box-shadow: 0 32px 68px rgba(15, 23, 42, .24);
}
.cb-panel-modal__dialog--wide {
  width: min(100%, 68rem);
}
.cb-panel-modal__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--cb-brand-navy-deep);
}
.cb-panel-modal__intro {
  margin-top: .35rem;
  margin-bottom: 1rem;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.6;
}
.cb-panel-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: .65rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, .95);
}
.cb-panel-stack {
  display: grid;
  gap: 1rem;
}
body.cb-panel-body a:focus-visible,
body.cb-panel-body button:focus-visible,
body.cb-panel-body input:focus-visible,
body.cb-panel-body select:focus-visible,
body.cb-panel-body textarea:focus-visible {
  outline: 2px solid rgba(65, 143, 222, .92);
  outline-offset: 3px;
}
@media (max-width: 639px) {
  .home-hero {
    min-height: 38rem;
    background-position: center bottom;
    background-size: cover;
  }
  .home-hero .hero-search-shell { padding-bottom: .75rem; }
  .hero-search-panel { padding-top: 0; padding-bottom: 1.5rem; }
  .home-hero .hero-tabs { margin-bottom: 10rem; }
  .hero-search select,
  .hero-search input { width: 100%; }
  .hero-select--hidden { display: block; visibility: hidden; }
  .cb-menu-panel { width: min(20rem, calc(100vw - .75rem)); border-radius: 0 18px 0 0; }
  .cb-menu-item { min-height: 48px; }
  .event-featured { grid-template-columns: 1fr; gap: 1.5rem; }
  .event-featured-media { height: 22rem; }
  .event-detail-gallery { grid-template-columns: 1fr; gap: 2.5rem; }
  .team-page__heading { margin-bottom: 2.75rem; }
  .team-sections { gap: 3.5rem; }
  .team-section__header { align-items: start; }
  .team-card--broker_owners { grid-template-columns: 7rem 1fr; min-height: 9rem; }
  .team-card--broker_owners .team-card__photo { min-height: 9rem; }
  .team-card--broker_owners .team-card__copy { padding: 1.25rem; }
  .team-card--broker_owners .team-card__copy h4 { font-size: 1.125rem; }
  .team-grid--consultants { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .team-card--consultants .team-card__photo { height: 11rem; }
  .team-card--consultants .team-card__copy { padding: .875rem; }
  .team-skeleton-row { grid-template-columns: 1fr; }
  .cb-whatsapp-fab {
    right: .75rem;
    min-height: 3.25rem;
    min-width: 3.25rem;
    padding: .78rem;
  }
  .cb-brand-lockup--header { width: min(12.5rem, 58vw); }
  .cb-brand-lockup--hero { width: min(18rem, 78vw); }
}
@media (max-width: 1023px) {
  .cb-panel-shell {
    width: 0;
    flex-basis: 0;
  }
  .cb-panel-sidebar__overlay {
    position: fixed;
    inset: 0;
    z-index: 39;
    opacity: 0;
    pointer-events: none;
    background: rgba(15, 23, 42, .45);
    transition: opacity 180ms ease;
  }
  .cb-panel-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    width: min(18rem, calc(100vw - 2rem));
    min-height: 100dvh;
    transform: translateX(-102%);
    transition: transform 220ms ease;
  }
  body.cb-panel-nav-open .cb-panel-sidebar__overlay {
    opacity: 1;
    pointer-events: auto;
  }
  body.cb-panel-nav-open .cb-panel-sidebar {
    transform: translateX(0);
  }
  .cb-panel-nav-toggle {
    display: inline-flex;
  }
  .cb-panel-topbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .cb-panel-topbar__actions {
    width: 100%;
    justify-content: space-between;
  }
  .cb-panel-grid--stats,
  .cb-panel-grid--two {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .cb-panel-page__header,
  .cb-panel-surface__header,
  .cb-panel-list__item {
    flex-direction: column;
    align-items: flex-start;
  }
  .cb-panel-page__actions,
  .cb-panel-topbar__actions {
    width: 100%;
    justify-content: flex-start;
  }
  .cb-panel-topbar__date {
    order: 3;
  }
  .cb-panel-user {
    padding-right: .8rem;
  }
  .cb-panel-grid--stats,
  .cb-panel-grid--two,
  .cb-panel-actions {
    grid-template-columns: 1fr;
  }
  .cb-panel-table {
    min-width: 34rem;
  }
  .cb-panel-modal__dialog,
  .cb-panel-modal__dialog--wide {
    width: min(100%, 100%);
    padding: 1.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-tab,
  .hero-search button,
  .site-header-overlay,
  .cb-menu-trigger,
  .cb-menu-item,
  .cb-menu-item span,
  .cb-whatsapp-fab,
  .cb-whatsapp-fab__pulse,
  .cb-panel-sidebar,
  .cb-panel-sidebar__overlay,
  .cb-nav,
  .cb-panel-btn,
  .cb-panel-action,
  .cb-panel-sidebar__close,
  .cb-panel-nav-toggle,
  .cb-panel-logout { transition: none !important; animation: none !important; }
  .team-card[href],
  .team-card__photo img { transition: none !important; }
  .team-skeleton { animation: none !important; }
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
[x-cloak] { display: none !important; }
.line-clamp-1 { display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
.line-clamp-2 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
