/* HoKep Saha Satış — ho-kep.com marka renkleri ve Montserrat */
:root {
  --navy: #0d1930;
  --navy-950: #12213c;
  --navy-ink: #08111f;
  --navy-700: #39435c;
  --navy-600: #4a5675;
  --navy-500: #5f6e8e;
  --navy-400: #7f8daa;
  --navy-300: #a3aec4;
  --navy-200: #c6cddd;
  --navy-100: #e2e6ef;
  --mint: #2fbf71;
  --mint-bright: #3ad684;
  --mint-deep: #1f9d59;
  --mint-ink: #15763f;
  --mint-soft: #dff5e9;
  --mint-wash: #eefaf3;
  --alert: #f2856f;
  --alert-soft: #fde6df;
  --band: #f3f2ee;
  --card: #ffffff;
  --text: #0d1930;
  --muted: #5f6e8e;
  --line: #e7e9ef;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(13, 25, 48, .04), 0 8px 24px -8px rgba(13, 25, 48, .12);
  --shadow-lg: 0 2px 4px rgba(13, 25, 48, .05), 0 24px 60px -18px rgba(13, 25, 48, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --st-yeni: #8b9ab8;
  --st-iletisim: #3b9cf0;
  --st-randevu: #8b6cf6;
  --st-teklif: #f0a92e;
  --st-kazanildi: #2fbf71;
  --st-kaybedildi: #f2856f;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  font-size: 13.5px;
  background:
    radial-gradient(1200px 700px at 0% 0%, #cfeedd 0%, transparent 60%),
    radial-gradient(900px 600px at 100% 100%, #fbe1d6 0%, transparent 55%),
    radial-gradient(800px 500px at 100% 0%, #e7ecf6 0%, transparent 60%),
    var(--band);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--mint-ink); }
svg.lucide { width: 18px; height: 18px; stroke-width: 1.8; flex: none; }
.hidden { display: none !important; }
::selection { background: var(--mint-soft); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #d3d8e3; border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: #b9c1d2; }

/* ---------- Açılış (splash) ---------- */
.splash {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, #17384a 0%, #0f2537 22%, var(--navy) 48%, var(--navy-ink) 100%);
  transition: opacity .7s var(--ease), visibility .7s;
}
.splash::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 214, 132, .22), transparent 65%);
  animation: glow 2.4s ease-in-out infinite alternate;
}
.splash-inner { position: relative; text-align: center; animation: splashIn 1s var(--ease) both; }
.splash img { width: 220px; filter: drop-shadow(0 0 28px rgba(58, 214, 132, .45)); }
.splash p { color: #9fe8c0; letter-spacing: .32em; text-transform: uppercase; font-size: 11px; font-weight: 600; margin-top: 18px; opacity: .85; }
.splash .bar { width: 140px; height: 3px; border-radius: 3px; margin: 22px auto 0; background: rgba(255,255,255,.1); overflow: hidden; }
.splash .bar i { display: block; height: 100%; width: 40%; background: var(--mint-bright); border-radius: 3px; animation: load 1.1s var(--ease) infinite; }
.splash.out { opacity: 0; visibility: hidden; }
@keyframes glow { from { transform: scale(.9); opacity: .7; } to { transform: scale(1.15); opacity: 1; } }
@keyframes splashIn { from { opacity: 0; transform: translateY(14px) scale(.94); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes load { from { transform: translateX(-110%); } to { transform: translateX(260%); } }

/* ---------- Giriş ---------- */
.login {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #163247 0%, var(--navy) 45%, var(--navy-ink) 100%);
  perspective: 900px;
}
.login .floor {
  position: absolute; left: -50%; right: -50%; bottom: -30%; height: 90%;
  transform: rotateX(68deg); transform-origin: 50% 100%;
  background-image:
    linear-gradient(rgba(58, 214, 132, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 214, 132, .22) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: floor 6s linear infinite;
}
@keyframes floor { to { background-position: 0 60px, 0 0; } }
.login .towers { position: absolute; inset: auto 0 0 0; height: 55%; display: flex; align-items: flex-end; justify-content: center; gap: 18px; perspective: 700px; pointer-events: none; }
.login .tower {
  width: 46px; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, rgba(58,214,132,.55), rgba(58,214,132,.04));
  box-shadow: 0 0 30px rgba(58,214,132,.25), inset 0 1px 0 rgba(255,255,255,.4);
  transform-origin: bottom; animation: rise 1.4s var(--spring) both;
  opacity: .55;
}
.login .tower::after { content: ""; display: block; height: 100%; background: repeating-linear-gradient(180deg, transparent 0 10px, rgba(255,255,255,.12) 10px 12px); }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.login-card {
  position: relative; width: min(400px, calc(100vw - 32px)); padding: 34px 32px 28px;
  border-radius: 28px; color: #fff;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.15);
  animation: cardIn .9s var(--ease) both .15s;
  transform-style: preserve-3d;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) rotateX(18deg) scale(.95); } to { opacity: 1; transform: none; } }
.login-card img { height: 42px; display: block; margin: 0 auto 6px; }
.login-card h1 { font-size: 15px; text-align: center; font-weight: 600; color: #9fe8c0; letter-spacing: .14em; text-transform: uppercase; margin: 10px 0 26px; }
.login-card label { display: block; font-size: 12px; color: var(--navy-200); margin: 14px 0 6px; font-weight: 500; }
.login-card .inp { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); transition: .25s var(--ease); }
.login-card .inp:focus-within { border-color: var(--mint-bright); background: rgba(58,214,132,.08); box-shadow: 0 0 0 4px rgba(58,214,132,.15); }
.login-card .inp svg { color: var(--navy-300); }
.login-card input { flex: 1; background: none; border: 0; outline: 0; color: #fff; height: 100%; }
.login-card .btn-primary { width: 100%; height: 50px; margin-top: 24px; font-size: 14px; }
.login-card .err { color: #ffb3a3; font-size: 12.5px; min-height: 18px; margin-top: 12px; text-align: center; }
.login-card .foot { text-align: center; font-size: 11.5px; color: var(--navy-300); margin-top: 8px; }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* ---------- Kabuk ---------- */
.shell {
  position: fixed; inset: 14px; display: grid; grid-template-columns: 76px 1fr; gap: 14px;
  padding: 14px; border-radius: 32px;
  background: rgba(255, 255, 255, .42);
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: var(--shadow-lg);
  transform-origin: 0 0;
}
.shell.enter { animation: shellIn 1s var(--ease) both; }
@keyframes shellIn { from { opacity: 0; transform: scale(.18); border-radius: 80px; filter: blur(6px); } 60% { filter: none; } to { opacity: 1; transform: none; } }

/* Sol ikon menüsü */
.rail {
  background: linear-gradient(180deg, var(--navy-950), var(--navy) 40%, var(--navy-ink));
  border-radius: 26px; padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
  box-shadow: 0 20px 40px -16px rgba(13,25,48,.6), inset 0 1px 0 rgba(255,255,255,.08);
  position: relative; z-index: 20;
}
.rail .brand { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 14px; background: linear-gradient(140deg, var(--mint-bright), var(--mint-deep)); box-shadow: 0 8px 20px -6px rgba(58,214,132,.6); color: var(--navy); font-weight: 800; font-size: 17px; letter-spacing: -.04em; }
.rail .sep { width: 28px; height: 1px; background: rgba(255,255,255,.1); margin: 8px 0; }
.rail-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; background: transparent;
  color: var(--navy-300); display: grid; place-items: center; transition: color .25s, background .25s, transform .35s var(--spring);
}
.rail-btn:hover { color: #fff; background: rgba(255,255,255,.07); transform: scale(1.06); }
.rail-btn.active { color: var(--navy); background: var(--mint-bright); box-shadow: 0 0 0 6px rgba(58,214,132,.16), 0 8px 18px -4px rgba(58,214,132,.6); }
.rail-btn.active::after { content: ""; position: absolute; right: -19px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left: 7px solid var(--navy-ink); }
.rail-btn .tip {
  position: absolute; left: calc(100% + 16px); top: 50%; transform: translate(-6px, -50%) scale(.9); opacity: 0; pointer-events: none;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; padding: 7px 11px; border-radius: 10px; white-space: nowrap;
  transition: .25s var(--ease); box-shadow: var(--shadow);
}
.rail-btn:hover .tip { opacity: 1; transform: translate(0, -50%) scale(1); }
.rail .spacer { flex: 1; }
.rail .me { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--navy); border: 2px solid rgba(255,255,255,.25); }

.content { position: relative; min-width: 0; min-height: 0; display: grid; }
.view { min-width: 0; min-height: 0; grid-area: 1 / 1; }
.view-enter { animation: viewIn .65s var(--ease) both; }
.view-leave { animation: viewOut .3s ease both; pointer-events: none; }
@keyframes viewIn { from { opacity: 0; transform: translateY(18px) scale(.985); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes viewOut { to { opacity: 0; transform: scale(.985); filter: blur(4px); } }

.stagger > * { animation: rise3d .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 80ms); }
@keyframes rise3d { from { opacity: 0; transform: perspective(900px) translateY(24px) rotateX(12deg); } to { opacity: 1; transform: none; } }

/* ---------- Kartlar ve ortak bileşenler ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(13,25,48,.04); min-width: 0; min-height: 0; }
.card-h { display: flex; align-items: center; gap: 10px; padding: 16px 18px 10px; }
.card-h h2, .card-h h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.card-h .sub { color: var(--muted); font-size: 12px; }
.card-h .grow { flex: 1; }
.dark-card { background: radial-gradient(120% 140% at 0% 0%, #1b3b4b 0%, var(--navy-950) 40%, var(--navy) 100%); color: #fff; border: 0; }
.tilt { transform-style: preserve-3d; transition: transform .45s var(--ease), box-shadow .45s var(--ease); will-change: transform; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 12.5px; transition: .2s var(--ease); white-space: nowrap; }
.btn:hover { border-color: var(--navy-200); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.97); }
.btn svg.lucide { width: 16px; height: 16px; }
.btn-primary { background: linear-gradient(180deg, var(--mint-bright), var(--mint)); color: var(--navy); border: 0; box-shadow: 0 8px 18px -8px rgba(47,191,113,.8), inset 0 1px 0 rgba(255,255,255,.35); border-radius: 14px; font-weight: 700; }
.btn-primary:hover { box-shadow: 0 12px 24px -8px rgba(47,191,113,.9); }
.btn-dark { background: var(--navy); color: #fff; border: 0; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--band); box-shadow: none; }
.btn-danger { color: #c2410c; }
.btn-danger:hover { background: var(--alert-soft); border-color: var(--alert); }
.icon-btn { width: 34px; height: 34px; padding: 0; border-radius: 50%; }
.btn-sm { height: 30px; padding: 0 10px; font-size: 12px; border-radius: 10px; }

.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--band); border-radius: 13px; padding: 4px; }
.seg button { position: relative; z-index: 1; border: 0; background: none; height: 32px; padding: 0 12px; border-radius: 10px; font-weight: 600; font-size: 12.5px; color: var(--muted); transition: color .3s; }
.seg button.on { color: var(--navy); }
.seg .pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(13,25,48,.12); transition: left .45s var(--spring), width .45s var(--spring); }
.seg.dark { background: var(--navy); }
.seg.dark button { color: var(--navy-300); }
.seg.dark button.on { color: var(--navy); }
.seg.dark .pill { background: var(--mint-bright); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12px; font-weight: 600; color: var(--navy-600); }
.input, .field input, .field select, .field textarea {
  height: 40px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: #fff; outline: 0; transition: .2s; width: 100%;
}
.field textarea { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(47,191,113,.14); }
.search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 12px; background: var(--band); min-width: 200px; transition: .25s var(--ease); }
.search:focus-within { background: #fff; box-shadow: 0 0 0 1px var(--mint), 0 0 0 5px rgba(47,191,113,.12); }
.search input { border: 0; outline: 0; background: none; flex: 1; min-width: 0; }
.search svg { color: var(--navy-400); width: 16px; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--band); color: var(--navy-600); border: 1px solid transparent; transition: .2s var(--ease); white-space: nowrap; }
button.chip:hover { border-color: var(--navy-200); }
.chip.on { background: var(--navy); color: #fff; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; }
.stage { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; color: var(--c); background: color-mix(in srgb, var(--c) 13%, white); }
.stage::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; font-size: 11px; color: var(--navy); flex: none; box-shadow: 0 0 0 2px #fff; }
.badge-demo { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--alert); background: var(--alert-soft); padding: 2px 6px; border-radius: 6px; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Keşif görünümü ---------- */
.explore { display: grid; grid-template-columns: 300px 1fr; gap: 14px; height: 100%; }
.side { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.hello { padding: 18px; position: relative; overflow: hidden; }
.hello::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(58,214,132,.35), transparent 65%); }
.hello img { height: 22px; display: block; }
.hello h2 { margin: 14px 0 2px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.hello h2 em { font-style: italic; color: var(--mint-bright); font-weight: 600; }
.hello .sub { color: var(--navy-300); font-size: 12px; }
.hello .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.hello .kpi { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 10px; }
.hello .kpi b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.hello .kpi span { font-size: 10.5px; color: var(--navy-300); }

.regions-card { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.regions-card .seg { margin: 0 16px 10px; }
.region-list { flex: 1; overflow: auto; padding: 2px 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.side-label { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-400); margin: 8px 6px 2px; display: flex; align-items: center; gap: 8px; }
.side-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.region {
  position: relative; border-radius: 16px; padding: 12px 12px 12px 14px; border: 1px solid var(--line); background: #fff; text-align: left; width: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s, background .25s;
}
.region::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--rc); transition: .3s var(--ease); }
.region:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.region.on { border-color: color-mix(in srgb, var(--rc) 55%, white); background: color-mix(in srgb, var(--rc) 7%, white); box-shadow: 0 10px 24px -14px var(--rc); }
.region.on::before { top: 8px; bottom: 8px; }
.region .top { display: flex; align-items: center; gap: 8px; }
.region .name { font-weight: 700; font-size: 13.5px; flex: 1; }
.region .cnt { font-size: 11px; font-weight: 700; color: var(--navy-600); background: var(--band); border-radius: 8px; padding: 3px 7px; }
.region .check { width: 20px; height: 20px; border-radius: 7px; border: 1.5px solid var(--navy-200); display: grid; place-items: center; transition: .25s var(--spring); }
.region.on .check { background: var(--rc); border-color: var(--rc); color: #fff; transform: scale(1.08); }
.region .check svg { width: 13px; height: 13px; stroke-width: 3; opacity: 0; transition: .2s; }
.region.on .check svg { opacity: 1; }
.region .dists { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.region .dists span { font-size: 11px; color: var(--navy-600); background: var(--band); padding: 2px 8px; border-radius: 999px; }
.region .edit { position: absolute; right: 8px; bottom: 8px; opacity: 0; transition: .2s; }
.region:hover .edit { opacity: 1; }
.side-foot { padding: 10px 12px 14px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.side-foot .btn { flex: 1; }

.main-split { display: grid; grid-template-rows: var(--top, 46%) 10px 1fr; min-height: 0; height: 100%; }
.splitter { cursor: row-resize; display: grid; place-items: center; }
.splitter::before { content: ""; width: 54px; height: 4px; border-radius: 4px; background: var(--navy-200); transition: .2s; }
.splitter:hover::before, .splitter.drag::before { background: var(--mint); width: 80px; }

.map-card { position: relative; overflow: hidden; }
.map { position: absolute; inset: 0; }
.map-overlay { position: absolute; z-index: 2; display: flex; gap: 8px; }
.map-overlay.tl { left: 14px; top: 14px; flex-direction: column; align-items: flex-start; }
.map-overlay.tr { right: 14px; top: 14px; }
.map-overlay.bl { left: 14px; bottom: 14px; }
.glass { background: rgba(255,255,255,.78); backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow); border-radius: 16px; }
.map-title { padding: 10px 14px; }
.map-title b { font-size: 14px; display: block; }
.map-title span { font-size: 11.5px; color: var(--muted); }
.map-tools { display: flex; padding: 4px; gap: 2px; }
.map-tools button { height: 32px; padding: 0 10px; border-radius: 12px; border: 0; background: none; display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12px; color: var(--navy-600); transition: .2s; }
.map-tools button:hover { background: rgba(13,25,48,.06); }
.map-tools button.on { background: var(--navy); color: #fff; }
.map-tools svg.lucide { width: 16px; height: 16px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 9px 14px; font-size: 11px; font-weight: 600; color: var(--navy-600); max-width: 560px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

.list-card { display: flex; flex-direction: column; overflow: hidden; }
.list-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 16px 10px; }
.list-tools h2 { margin: 0; font-size: 15px; font-weight: 700; margin-right: 4px; }
.count-pill { background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 3px 9px; }
.range { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--navy-600); background: var(--band); border-radius: 12px; height: 36px; padding: 0 12px; }
.range input[type=range] { accent-color: var(--mint); width: 110px; }
.range b { min-width: 40px; color: var(--navy); }
.dist-filter { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; }
.table-wrap { flex: 1; overflow: auto; min-height: 0; padding: 0 8px 8px; }
table.grid { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-size: 12.5px; }
table.grid th { position: sticky; top: 0; z-index: 1; background: #fff; text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy-400); font-weight: 700; padding: 8px 10px; white-space: nowrap; cursor: pointer; user-select: none; }
table.grid th:hover { color: var(--navy); }
table.grid th .arr { opacity: .3; margin-left: 4px; }
table.grid th.sorted { color: var(--mint-ink); }
table.grid th.sorted .arr { opacity: 1; }
table.grid td { padding: 10px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; transition: background .2s; }
table.grid td:first-child { border-left: 1px solid var(--line); border-radius: 14px 0 0 14px; }
table.grid td:last-child { border-right: 1px solid var(--line); border-radius: 0 14px 14px 0; }
table.grid tbody tr { cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease); animation: rowIn .5s var(--ease) both; animation-delay: calc(min(var(--i, 0), 20) * 25ms); }
table.grid tbody tr:hover { transform: translateY(-1px) scale(1.003); box-shadow: 0 10px 22px -14px rgba(13,25,48,.35); border-radius: 14px; }
table.grid tbody tr:hover td { background: var(--mint-wash); border-color: color-mix(in srgb, var(--mint) 25%, white); }
@keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
td .pname { font-weight: 700; display: flex; align-items: center; gap: 6px; }
td .pdist { font-size: 11px; color: var(--muted); margin-top: 2px; display: flex; gap: 6px; align-items: center; }
td.r, th.r { text-align: right; }
td .total { font-weight: 800; }
.progress { width: 110px; display: flex; align-items: center; gap: 8px; }
.progress .track { flex: 1; height: 7px; background: var(--band); border-radius: 7px; overflow: hidden; }
.progress .fill { height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--mint-deep), var(--mint-bright)); width: 0; transition: width 1.1s var(--ease); }
.progress .fill.done { background: linear-gradient(90deg, #1f9d59, #15763f); }
.progress small { font-weight: 700; font-size: 11.5px; min-width: 32px; text-align: right; }
td .status { max-width: 240px; overflow: hidden; text-overflow: ellipsis; color: var(--navy-600); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty svg.lucide { width: 34px; height: 34px; color: var(--navy-300); margin-bottom: 8px; }

/* Harita işaretçileri */
.maplibregl-popup-content { border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow-lg); font-family: var(--font); }
.pop b { display: block; font-size: 13px; }
.pop span { font-size: 11.5px; color: var(--muted); }
.maplibregl-ctrl-group { border-radius: 12px !important; overflow: hidden; box-shadow: var(--shadow) !important; }
.pulse-marker { width: 22px; height: 22px; border-radius: 50%; background: var(--mint-bright); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(58,214,132,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(58,214,132,.7); } 70% { box-shadow: 0 0 0 22px rgba(58,214,132,0); } 100% { box-shadow: 0 0 0 0 rgba(58,214,132,0); } }

/* ---------- Detay ---------- */
.detail { display: grid; grid-template-rows: 52% 1fr; gap: 14px; height: 100%; min-height: 0; }
.detail-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; min-height: 0; }
.hero { position: absolute; left: 14px; bottom: 14px; right: 14px; z-index: 3; padding: 16px 18px; border-radius: 20px; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; }
.hero .back { position: absolute; top: -52px; left: 0; }
.hero h1 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.hero .meta { color: var(--navy-300); font-size: 12px; margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .meta span { display: inline-flex; gap: 5px; align-items: center; }
.hero .meta svg.lucide { width: 14px; height: 14px; }
.hero .stats { display: flex; gap: 10px; }
.hero .stat { text-align: center; min-width: 74px; padding: 8px 10px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); }
.hero .stat b { display: block; font-size: 19px; font-weight: 800; }
.hero .stat span { font-size: 10.5px; color: var(--navy-300); }
.ring { position: relative; width: 62px; height: 62px; }
.ring svg { transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .bg { stroke: rgba(255,255,255,.1); }
.ring .fg { stroke: var(--mint-bright); stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); filter: drop-shadow(0 0 6px rgba(58,214,132,.6)); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.stage-select { appearance: none; border: 0; border-radius: 999px; height: 30px; padding: 0 30px 0 12px; font-weight: 700; font-size: 12px; cursor: pointer; color: var(--navy); background: var(--mint-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230d1930' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; }

.photos { display: flex; flex-direction: column; overflow: hidden; }
.photo-grid { flex: 1; overflow: auto; padding: 0 14px 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); grid-auto-rows: 110px; gap: 8px; }
.photo { position: relative; border-radius: 14px; overflow: hidden; background: var(--band); cursor: zoom-in; animation: photoIn .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.photo:nth-child(5n+1) { grid-row: span 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo:hover img { transform: scale(1.08); }
.photo .cap { position: absolute; inset: auto 0 0 0; padding: 18px 8px 6px; font-size: 10.5px; color: #fff; background: linear-gradient(transparent, rgba(8,17,31,.75)); opacity: 0; transition: .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo:hover .cap { opacity: 1; }
.photo .src { position: absolute; top: 6px; left: 6px; font-size: 9.5px; font-weight: 700; background: rgba(255,255,255,.88); padding: 2px 6px; border-radius: 6px; }
@keyframes photoIn { from { opacity: 0; transform: perspective(600px) rotateY(-25deg) scale(.9); } to { opacity: 1; transform: none; } }
.skeleton { background: linear-gradient(100deg, var(--band) 30%, #fafaf8 50%, var(--band) 70%); background-size: 300% 100%; animation: shimmer 1.3s infinite linear; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.detail-bottom { display: grid; grid-template-columns: 300px 1fr 300px; gap: 14px; min-height: 0; }
.detail-bottom > .card { display: flex; flex-direction: column; overflow: hidden; }
.scroll { flex: 1; overflow: auto; padding: 0 14px 14px; min-height: 0; }
.contact { display: flex; gap: 10px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 8px; transition: .25s var(--ease); position: relative; }
.contact:hover { border-color: var(--navy-200); box-shadow: var(--shadow); transform: translateX(2px); }
.contact .avatar { background: var(--mint-soft); color: var(--mint-ink); width: 36px; height: 36px; }
.contact b { display: block; font-size: 13px; }
.contact .t { font-size: 11.5px; color: var(--muted); }
.contact .links { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.contact .links a { font-size: 11.5px; text-decoration: none; display: inline-flex; gap: 4px; align-items: center; font-weight: 600; background: var(--band); color: var(--navy-600); padding: 3px 8px; border-radius: 8px; }
.contact .links a:hover { background: var(--mint-soft); color: var(--mint-ink); }
.contact .links svg.lucide { width: 12px; height: 12px; }
.contact .acts { position: absolute; right: 6px; top: 6px; display: flex; gap: 2px; opacity: 0; transition: .2s; }
.contact:hover .acts { opacity: 1; }

.timeline-table td { vertical-align: top; }
table.log { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.log th { position: sticky; top: 0; background: #fff; text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy-400); font-weight: 700; padding: 8px; z-index: 1; }
table.log td { padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top; }
table.log tr { animation: rowIn .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
table.log tr:hover td { background: var(--mint-wash); }
.who { display: flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.who .avatar { width: 26px; height: 26px; font-size: 10px; }
.when b { display: block; white-space: nowrap; }
.when span { font-size: 11px; color: var(--muted); }
.channel { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--navy-600); white-space: nowrap; }
.channel svg.lucide { width: 14px; height: 14px; }
.res { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 8px; white-space: nowrap; }
.res-olumlu { background: var(--mint-soft); color: var(--mint-ink); }
.res-olumsuz { background: var(--alert-soft); color: #c2410c; }
.res-takip { background: #fff3d6; color: #a16207; }
.res-bilgi { background: var(--navy-100); color: var(--navy-600); }
.note-cell { white-space: normal; min-width: 200px; color: var(--navy-700); line-height: 1.45; }

.appt-item { display: flex; gap: 10px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 8px; cursor: pointer; transition: .25s var(--ease); }
.appt-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.appt-item .date { width: 46px; flex: none; text-align: center; border-radius: 12px; background: var(--navy); color: #fff; padding: 6px 0; }
.appt-item .date b { display: block; font-size: 17px; line-height: 1; }
.appt-item .date span { font-size: 10px; text-transform: uppercase; color: var(--mint-bright); font-weight: 700; }
.appt-item.past .date { background: var(--navy-200); color: var(--navy); }
.appt-item.past .date span { color: var(--navy-600); }
.appt-item .info b { font-size: 12.5px; display: block; }
.appt-item .info span { font-size: 11.5px; color: var(--muted); display: block; margin-top: 2px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.info-grid div { background: var(--band); border-radius: 12px; padding: 8px 10px; }
.info-grid small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.info-grid b { font-size: 12.5px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,17,31,.88); backdrop-filter: blur(8px); display: grid; place-items: center; animation: fade .3s; padding: 40px; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: zoomIn .45s var(--spring); }
.lightbox .cap { color: #fff; margin-top: 12px; text-align: center; font-size: 12px; opacity: .8; }
.lightbox .cap a { color: var(--mint-bright); }
.lightbox .nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lightbox .nav:hover { background: rgba(255,255,255,.22); }
.lightbox .prev { left: 20px; } .lightbox .next { right: 20px; }
.lightbox .close { position: absolute; top: 20px; right: 20px; }
@keyframes zoomIn { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Takvim ---------- */
.calendar { display: grid; grid-template-columns: 1fr 320px; gap: 14px; height: 100%; min-height: 0; }
.cal-main { display: flex; flex-direction: column; overflow: hidden; }
.cal-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; flex-wrap: wrap; }
.cal-head h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.03em; min-width: 150px; }
.cal-head h2 em { font-style: italic; color: var(--mint); font-weight: 600; }
.users-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.month { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: auto repeat(6, 1fr); gap: 6px; padding: 0 14px 14px; min-height: 0; }
.month .dow { font-size: 11px; font-weight: 700; color: var(--navy-400); text-transform: uppercase; letter-spacing: .08em; padding: 4px 8px; }
.day { border-radius: 14px; background: var(--band); padding: 6px; display: flex; flex-direction: column; gap: 3px; min-height: 0; overflow: hidden; cursor: pointer; transition: .25s var(--ease); border: 1.5px solid transparent; animation: rise3d .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 12ms); }
.day:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-2px); }
.day.other { opacity: .45; }
.day.sel { border-color: var(--mint); background: #fff; }
.day .n { font-size: 12px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.day.today .n span { background: var(--navy); color: #fff; border-radius: 8px; padding: 1px 7px; }
.day .add { opacity: 0; width: 20px; height: 20px; border-radius: 6px; border: 0; background: var(--mint-bright); display: grid; place-items: center; color: var(--navy); transition: .2s; }
.day .add svg.lucide { width: 13px; height: 13px; stroke-width: 2.6; }
.day:hover .add { opacity: 1; }
.ev { font-size: 10.5px; font-weight: 600; padding: 2px 6px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--uc) 18%, white); border-left: 3px solid var(--uc); color: var(--navy); transition: .2s; flex: none; }
.ev:hover { background: color-mix(in srgb, var(--uc) 32%, white); }
.ev.done { opacity: .55; text-decoration: line-through; }
.ev.iptal { opacity: .4; text-decoration: line-through; }
.more { font-size: 10.5px; color: var(--muted); font-weight: 600; padding-left: 4px; }

.week { flex: 1; overflow: auto; padding: 0 14px 14px; min-height: 0; }
.week-grid { display: grid; grid-template-columns: 52px repeat(7, 1fr); position: relative; }
.week-grid .wh { position: sticky; top: 0; z-index: 2; background: #fff; padding: 6px; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--navy-600); border-bottom: 1px solid var(--line); }
.week-grid .wh b { display: block; font-size: 18px; color: var(--navy); }
.week-grid .wh.today b { color: var(--mint); }
.week-grid .hr { height: 52px; font-size: 10.5px; color: var(--navy-400); text-align: right; padding-right: 8px; transform: translateY(-7px); }
.week-grid .col { position: relative; border-left: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 52px; cursor: copy; }
.wev { position: absolute; left: 3px; right: 3px; border-radius: 10px; padding: 5px 7px; font-size: 11px; overflow: hidden; background: color-mix(in srgb, var(--uc) 20%, white); border-left: 3px solid var(--uc); cursor: pointer; transition: .25s var(--ease); animation: zoomIn .4s var(--ease) both; }
.wev:hover { transform: scale(1.03); z-index: 3; box-shadow: var(--shadow); }
.wev b { display: block; font-size: 11.5px; }
.now-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--alert); z-index: 1; }
.now-line::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--alert); }

.agenda { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.agenda .dark-card { padding: 18px; }
.agenda .dark-card h3 { margin: 0; font-size: 13px; color: var(--navy-300); font-weight: 600; }
.agenda .dark-card .big { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 4px 0; }
.agenda .dark-card .big em { font-style: italic; color: var(--mint-bright); font-weight: 600; font-size: 20px; }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; margin-top: 12px; }
.mini-bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.mini-bars i { width: 100%; max-width: 26px; border-radius: 10px; background: rgba(255,255,255,.1); transition: height 1s var(--spring); position: relative; }
.mini-bars i.has { background: linear-gradient(180deg, var(--mint-bright), var(--mint-deep)); }
.mini-bars i.today { background: linear-gradient(180deg, #ffd0c4, var(--alert)); }
.mini-bars span { font-size: 10px; color: var(--navy-300); font-weight: 600; }

/* ---------- Bölgeler sayfası ---------- */
.regions-page { display: grid; grid-template-columns: 360px 1fr; gap: 14px; height: 100%; min-height: 0; }
.editor { display: flex; flex-direction: column; overflow: hidden; }
.editor .body { flex: 1; overflow: auto; padding: 0 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches button { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); background: var(--c); transition: .25s var(--spring); }
.swatches button.on { box-shadow: 0 0 0 2px var(--c); transform: scale(1.12); }
.dist-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.dist-grid .chip.taken { opacity: .45; }
.dist-grid .chip.sel { background: var(--rc, var(--navy)); color: #fff; }
.hint { font-size: 11.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; background: var(--mint-wash); padding: 8px 10px; border-radius: 12px; }
.hint svg.lucide { width: 15px; height: 15px; color: var(--mint-deep); }

/* ---------- Kullanıcılar ---------- */
.users-page { display: flex; flex-direction: column; gap: 14px; height: 100%; overflow: auto; }
.users-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; padding: 2px; }
.user-card { padding: 18px; position: relative; overflow: hidden; }
.user-card .avatar { width: 54px; height: 54px; font-size: 17px; box-shadow: 0 0 0 4px #fff, 0 8px 20px -6px rgba(13,25,48,.3); }
.user-card h3 { margin: 12px 0 2px; font-size: 15px; }
.user-card .role { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mint-ink); }
.user-card .stats { display: flex; gap: 8px; margin-top: 12px; }
.user-card .stats div { flex: 1; background: var(--band); border-radius: 12px; padding: 8px; text-align: center; }
.user-card .stats b { display: block; font-size: 16px; }
.user-card .stats span { font-size: 10.5px; color: var(--muted); }
.user-card .acts { display: flex; gap: 6px; margin-top: 12px; }
.user-card.inactive { opacity: .55; }
.user-card .ribbon { position: absolute; right: 14px; top: 14px; }
.page-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; }
.page-head h1 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.page-head h1 em { font-style: italic; color: var(--mint); font-weight: 600; }
.page-head p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.page-head .grow { flex: 1; }

/* ---------- Modal ve bildirim ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 80; background: rgba(8,17,31,.45); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fade .3s; perspective: 1200px; }
.modal { width: min(560px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: #fff; border-radius: 26px; box-shadow: 0 40px 100px -20px rgba(8,17,31,.5); animation: modalIn .55s var(--ease) both; overflow: hidden; }
.modal.wide { width: min(820px, 100%); }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) rotateX(-14deg) scale(.94); } to { opacity: 1; transform: none; } }
.modal.out { animation: modalOut .25s ease both; }
@keyframes modalOut { to { opacity: 0; transform: translateY(10px) scale(.97); } }
.modal-h { display: flex; align-items: center; gap: 12px; padding: 20px 22px 6px; }
.modal-h .ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-ink); }
.modal-h h3 { margin: 0; font-size: 17px; font-weight: 800; flex: 1; letter-spacing: -.02em; }
.modal-b { padding: 14px 22px; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-b .full { grid-column: 1 / -1; }
.modal-f { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 22px 20px; border-top: 1px solid var(--line); }
.modal-f .grow { flex: 1; }
.mini-map { height: 220px; border-radius: 16px; overflow: hidden; position: relative; }

.toasts { position: fixed; right: 24px; bottom: 24px; z-index: 120; display: flex; flex-direction: column; gap: 8px; }
.toast { display: flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 16px; font-weight: 600; font-size: 13px; box-shadow: var(--shadow-lg); animation: toastIn .5s var(--spring) both; }
.toast svg.lucide { color: var(--mint-bright); }
.toast.err svg.lucide { color: var(--alert); }
.toast.out { animation: toastOut .35s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

.import-drop { border: 2px dashed var(--navy-200); border-radius: 18px; padding: 26px; text-align: center; transition: .25s; cursor: pointer; }
.import-drop:hover, .import-drop.over { border-color: var(--mint); background: var(--mint-wash); }
.import-drop svg.lucide { width: 34px; height: 34px; color: var(--mint-deep); }
.preview-table { max-height: 200px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; font-size: 11.5px; }
.preview-table table { border-collapse: collapse; width: 100%; }
.preview-table td, .preview-table th { padding: 5px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; text-align: left; }

@media (max-width: 1200px) {
  .detail-bottom { grid-template-columns: 1fr 1fr; }
  .detail-bottom > :last-child { grid-column: 1 / -1; }
  .detail { grid-template-rows: 420px auto; overflow: auto; }
}
@media (max-width: 980px) {
  body { overflow: auto; }
  .shell { position: static; margin: 10px; min-height: calc(100vh - 20px); grid-template-columns: 1fr; }
  .rail { flex-direction: row; padding: 8px 12px; justify-content: space-between; }
  .rail .brand { margin: 0; } .rail .sep, .rail .spacer { display: none; }
  .rail-btn .tip, .rail-btn.active::after { display: none; }
  .explore, .calendar, .regions-page, .detail-top { grid-template-columns: 1fr; }
  .explore .side { max-height: 380px; }
  .main-split { height: 900px; }
  .detail, .detail-bottom { grid-template-columns: 1fr; grid-template-rows: auto; }
  .detail-top > .card { height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}
