/* © 2026 Nahsen Tufan Yurdas. Tüm hakları saklıdır. */
/* DayOrbit – Bileşenler */

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
}
[data-bg="off"] .glass { background: var(--glass-strong); }

/* ---------- Üst çubuk (büyük başlık kaydırınca buraya küçülür) ---------- */
.topbar {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0;
  height: calc(var(--sat) + var(--topbar-h));
  padding: var(--sat) max(8px, var(--sar) + 4px) 0 max(8px, var(--sal) + 4px);
  display: grid; grid-template-columns: minmax(124px, 1fr) minmax(0, 1.6fr) minmax(124px, 1fr); align-items: center;
  border-bottom: 0.5px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.topbar.scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border-bottom-color: var(--line);
}
.topbar-title {
  font-family: var(--font-serif); font-weight: var(--fw-title); font-size: 18px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; min-width: 0;
  opacity: 0; transform: translateY(6px);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}
.topbar.scrolled .topbar-title { opacity: 1; transform: none; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 4px; min-width: 0; }
.topbar-right { justify-content: flex-end; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 44px; height: 44px; padding: 0 10px; border-radius: 22px;
  color: var(--icon); font-weight: var(--fw-strong);
}
.icon-btn:active { background: var(--fill); }
.icon-btn svg { width: 24px; height: 24px; }
.back-btn { padding: 0 6px 0 0; gap: 2px; }
.back-btn span { white-space: nowrap; }

/* ---------- Büyük başlık ---------- */
.large-title { padding: 6px 4px 14px; }
.large-title h1 {
  font-family: var(--font-serif); font-size: calc(var(--fs) * 2.05); line-height: 1.08;
  letter-spacing: -0.01em; overflow-wrap: anywhere;
}
.large-title .subtitle { color: var(--text-2); margin-top: 6px; }
.title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }

/* ---------- Sol menü ---------- */
.sidebar {
  flex-direction: column; gap: 2px;
  height: 100%; overflow-y: auto; overflow-x: hidden; overscroll-behavior: none;
  padding: calc(var(--sat) + 18px) 10px calc(var(--sab) + 18px) max(10px, var(--sal) + 6px);
  border-right: 0.5px solid var(--line);
  position: relative; z-index: 30;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.brand-name { font-family: var(--font-serif); font-size: 22px; font-weight: var(--fw-title); }
.side-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  min-height: 44px; padding: 8px 12px; border-radius: 12px; text-align: left;
  color: var(--text); font-weight: var(--fw);
}
.side-item svg { width: 22px; height: 22px; flex: none; color: color-mix(in srgb, var(--text) 78%, transparent); }
.side-item:hover { background: var(--fill); }
.side-item { position: relative; }
.side-item[aria-current="page"] { background: var(--accent-soft); color: var(--text); font-weight: var(--fw-strong); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent); }
.side-item[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--accent); }
.side-item[aria-current="page"] svg { color: var(--accent-text); }
.side-sep { height: 0.5px; background: var(--line); margin: 10px 8px; }
.side-add { margin-bottom: 10px; }
/* Dar sol menü (yalnızca simge + küçük yazı) */
@media (max-width: 1099px) {
  .brand { justify-content: center; padding: 4px 0 14px; }
  .brand-name { display: none; }
  .side-item { flex-direction: column; gap: 3px; padding: 8px 2px; font-size: 11px; text-align: center; line-height: 1.15; }
  .side-item span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .side-add span { display: none; }
}

/* ---------- Alt sekme çubuğu (telefon) ---------- */
.tabbar {
  position: absolute; z-index: 25;
  left: max(12px, var(--sal) + 8px); right: max(12px, var(--sar) + 8px);
  bottom: max(10px, var(--sab));
  height: var(--tabbar-h);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
  padding: 0 6px; border-radius: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: 54px; border-radius: 26px; color: color-mix(in srgb, var(--text) 88%, transparent); font-size: 11px; font-weight: var(--fw-strong);
  min-width: 0;
}
.tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
.tab svg { width: 25px; height: 25px; }
.tab[aria-current="page"] { color: var(--accent-text); background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.tab[aria-current="page"] span { color: var(--text); }
.tab-add { color: var(--text); }
.tab-add .plus {
  width: 46px; height: 46px; border-radius: 23px; background: color-mix(in srgb, var(--accent) 16%, var(--surface-2));
  border: 1.5px solid var(--accent-line); color: var(--text);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform 300ms var(--spring);
}
.tab-add:active .plus { transform: scale(.9); }
.tab-add .plus svg { width: 26px; height: 26px; }

/* ---------- Asistan düğmesi (taşınabilir) ---------- */
.fab {
  position: absolute; z-index: 40;
  width: 58px; height: 58px; border-radius: 29px;
  background: var(--surface-2); color: var(--accent-text);
  border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: transform 300ms var(--spring);
}
.fab svg { width: 28px; height: 28px; }
.fab.dragging { transform: scale(1.08); transition: none; }
.fab.snap { transition: left 420ms var(--spring), top 420ms var(--spring), transform 300ms var(--spring); }

/* ---------- Kartlar ve ızgara ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@container main (min-width: 620px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-2 { grid-column: span 2; } }
@container main (min-width: 1000px) { .grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g3 .span-2 { grid-column: span 2; } .g3 .span-3 { grid-column: span 3; } }
/* Bugün ızgarası: hiçbir satırda boş yer kalmasın */
@container main (min-width: 620px) {
  .tg .c-tasks, .tg .c-up { grid-column: 1 / -1; }
  .tg .c-sum { order: 0; }
  .tg .c-arr { order: 1; }
  .tg .c-tasks { order: 2; }
  .tg.no-stay .c-up { grid-column: auto; order: 1; }
  .tg.stay .c-up { order: 3; }
}
@container main (min-width: 1000px) {
  .tg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tg.stay .c-up { grid-column: auto; order: 1; }
  .tg.no-stay .c-up { grid-column: span 2; }
}
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 16px;
  min-width: 0;
}
.card.glass { background: var(--glass); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.card-title { font-family: var(--font-serif); font-size: calc(var(--fs) * 1.2); font-weight: var(--fw-title); }
.card-sub { color: var(--text-2); font-size: calc(var(--fs) * .88); }
.section-label { font-size: 13px; font-weight: var(--fw-strong); color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; margin: 14px 4px 6px; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 24px;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface-2)); color: var(--text); font-weight: var(--fw-strong);
  border: 1px solid var(--accent-line);
  transition: transform 260ms var(--spring), opacity 200ms;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; color: var(--accent-text); }
.btn.secondary { background: var(--fill); color: var(--text); border-color: var(--line); }
.btn.secondary svg { color: var(--text-2); }
.btn.danger { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, transparent); }
.btn.danger svg { color: var(--danger); }
.btn.block { width: 100%; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: calc(var(--fs) * .9); }
.btn:disabled { opacity: .45; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.now-btn {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 18px; border-radius: var(--radius);
  background: var(--surface); color: var(--text);
  border: 1px solid var(--accent-line);
  box-shadow: var(--shadow);
  transition: transform 260ms var(--spring);
}
.now-btn:active { transform: scale(.98); }
.now-btn .now-icon { width: 44px; height: 44px; border-radius: 22px; background: var(--accent-soft); color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); display: flex; align-items: center; justify-content: center; flex: none; }
.now-btn .now-icon svg { width: 24px; height: 24px; }
.now-btn strong { display: block; font-family: var(--font-serif); font-size: calc(var(--fs) * 1.15); font-weight: var(--fw-title); }
.now-btn small { display: block; color: var(--text-2); font-size: calc(var(--fs) * .85); }

/* Katlanabilir dış ekran / çok dar ekran: büyük düğmeli hızlı işler */
.quick-actions { display: none; }
@container main (max-width: 370px) {
  .quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
}
.qa {
  min-height: 92px; border-radius: var(--radius); background: var(--surface); border: 0.5px solid var(--line);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 14px;
  font-weight: var(--fw-strong); box-shadow: var(--shadow); text-align: left;
}
.qa svg { width: 28px; height: 28px; color: var(--accent-text); }

/* ---------- Durum rozetleri (renk + simge + yazı) ---------- */
.status { display: inline-flex; align-items: center; gap: 4px; font-size: calc(var(--fs) * .8); font-weight: var(--fw-strong); white-space: nowrap; }
.status svg { width: 15px; height: 15px; flex: none; }
.s-ok { color: var(--ok); } .s-danger { color: var(--danger); } .s-warn { color: var(--warn); }
.s-info { color: var(--info); } .s-planned { color: var(--planned); }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--fill); border-radius: var(--radius-sm); padding: 12px; min-width: 0; }
.stat b { display: block; font-family: var(--font-serif); font-size: calc(var(--fs) * 1.7); line-height: 1.1; color: var(--accent-text); font-weight: 500; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; }

/* ---------- Liste satırları (kaydırma: sağa = tamamla, sola = ertele/sil) ---------- */
.list { display: flex; flex-direction: column; }
.list-group-label { font-size: 13px; font-weight: var(--fw-strong); color: var(--text-2); margin: 12px 2px 4px; text-transform: uppercase; letter-spacing: .04em; }
.swipe { position: relative; overflow: hidden; border-radius: 14px; }
.swipe + .swipe { margin-top: 2px; }
.swipe-bg {
  position: absolute; inset: 0; display: flex; align-items: center; padding: 0 18px;
  font-weight: var(--fw-strong); color: var(--ink-on-status);
}
.swipe-bg.done { background: var(--ok); justify-content: flex-start; }
.swipe-actions { position: absolute; top: 0; bottom: 0; right: 0; display: flex; }
.swipe-actions button { width: 84px; color: var(--ink-on-status); font-weight: var(--fw-strong); font-size: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.swipe-actions svg { width: 22px; height: 22px; }
.swipe-actions .act-postpone { background: var(--planned); }
.swipe-actions .act-delete { background: var(--danger); }
.row-main {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 10px 8px 10px 4px;
  background: var(--surface);
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: transform 380ms var(--spring);
  cursor: pointer;
}
.swipe.dragging .row-main { transition: none; }
.row-text { flex: 1; min-width: 0; }
.row-title { font-weight: var(--fw-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-sub { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 2px; color: var(--text-2); font-size: calc(var(--fs) * .82); }
.row-chev { color: var(--text-2); flex: none; width: 18px; height: 18px; }
.is-done .row-title { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--text) 40%, transparent); color: var(--text-2); }

/* Tamamla dairesi + yeşil tik animasyonu */
.check {
  width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 22px;
}
.check .ring { width: 26px; height: 26px; border-radius: 13px; border: 2px solid color-mix(in srgb, var(--text) 35%, transparent); display: flex; align-items: center; justify-content: center; transition: background 260ms var(--ease), border-color 260ms var(--ease), transform 380ms var(--spring); }
.check svg { width: 18px; height: 18px; color: var(--ink-on-status); opacity: 0; }
.check svg path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.is-done .check .ring, .check.pop .ring { background: var(--ok); border-color: var(--ok); }
.is-done .check svg, .check.pop svg { opacity: 1; }
.is-done .check svg path { stroke-dashoffset: 0; }
.check.pop .ring { animation: pop 520ms var(--spring); }
.check.pop svg path { animation: draw 420ms var(--ease) forwards 80ms; }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Ayar listeleri ---------- */
.group { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.group + .group { margin-top: 14px; }
.item { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 16px; width: 100%; text-align: left; }
.item + .item { border-top: 0.5px solid var(--line); }
.item .item-icon { width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; flex: none; }
.item .item-icon svg { width: 20px; height: 20px; }
.item-text { flex: 1; min-width: 0; }
.item-text small { display: block; color: var(--text-2); font-size: calc(var(--fs) * .82); margin-top: 2px; }
.item-value { color: var(--text-2); flex: none; max-width: 45%; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item.stack { flex-direction: column; align-items: stretch; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 10px; font-size: 12px; font-weight: var(--fw-strong); background: var(--fill-2); color: var(--text-2); white-space: nowrap; }
.badge.accent { background: var(--accent-soft); color: var(--accent-text); }
.badge.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }

/* Bölümlü seçici */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--fill); border-radius: 12px; padding: 3px; gap: 2px; width: 100%; }
.seg button { min-height: 38px; border-radius: 10px; font-weight: var(--fw-strong); font-size: calc(var(--fs) * .88); color: var(--text-2); padding: 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent-line), 0 1px 4px rgba(0,0,0,.12); }

/* Aç/kapa anahtarı */
.switch { position: relative; width: 52px; height: 32px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 16px; background: var(--fill-2); transition: background 220ms var(--ease); }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 28px; height: 28px; border-radius: 14px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform 320ms var(--spring); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(20px); }

/* Tema seçici */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.swatch { border-radius: 16px; padding: 6px; border: 2px solid transparent; text-align: center; font-size: 13px; font-weight: var(--fw-strong); }
.swatch[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.swatch .sw { height: 58px; border-radius: 11px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; margin-bottom: 6px; border: 0.5px solid var(--line); }
.swatch .sw i { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.swatch .sw i::after { content: ""; width: 18px; height: 18px; border-radius: 9px; background: var(--dot); }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: var(--fw-strong); color: var(--text-2); }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--fill); color: var(--text);
  -webkit-appearance: none; appearance: none;
}
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { outline: none; border-color: var(--accent-line); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
input[type="date"].input, input[type="time"].input { display: block; min-width: 0; }

/* ---------- Alt panel (yarım / tam boy) ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.32); opacity: 0; transition: opacity 300ms var(--ease); }
.sheet-backdrop.show { opacity: 1; }
.sheet {
  position: fixed; z-index: 91; left: 0; right: 0; bottom: var(--kb);
  margin: 0 auto; width: 100%; max-width: 640px;
  max-height: calc(var(--vvh) - var(--sat) - 10px);
  height: auto;
  display: flex; flex-direction: column;
  border-radius: 28px 28px 0 0;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateY(105%);
  transition: transform 460ms var(--spring), height 420ms var(--spring);
  padding-bottom: var(--sab);
}
[data-kb="on"] .sheet { padding-bottom: 0; }
.sheet.show { transform: translateY(0); }
.sheet.dragging { transition: none; }
.sheet.full { height: calc(var(--vvh) - var(--sat) - 10px); }
@media (min-width: 680px) and (min-height: 600px) {
  .sheet { bottom: auto; top: 50%; left: 50%; right: auto; width: min(560px, 92vw); border-radius: 28px; transform: translate(-50%, -45%) scale(.96); opacity: 0; transition: transform 420ms var(--spring), opacity 220ms var(--ease); max-height: 86vh; padding-bottom: 0; }
  .sheet.show { transform: translate(-50%, -50%); opacity: 1; }
  .sheet.full { height: 86vh; }
}
.sheet-grab { padding: 8px 0 2px; display: flex; justify-content: center; touch-action: none; cursor: grab; }
.sheet-grab i { width: 40px; height: 5px; border-radius: 3px; background: var(--fill-2); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 12px 8px 20px; touch-action: none; }
.sheet-head h2 { font-family: var(--font-serif); font-size: calc(var(--fs) * 1.3); }
.sheet-body { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 4px 20px 20px; -webkit-overflow-scrolling: touch; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.tile { min-height: 92px; border-radius: 18px; background: var(--fill); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; font-weight: var(--fw-strong); font-size: 14px; text-align: center; position: relative; }
.tile svg { width: 28px; height: 28px; color: var(--accent-text); }
.tile { border: 1px solid var(--line); }
.tile:disabled { opacity: 1; color: var(--text-2); }
.tile:disabled svg { color: var(--text-2); }
.tile .badge { font-size: 10px; padding: 2px 6px; }

/* ---------- Bildirim (toast) ---------- */
.toast-wrap { position: fixed; z-index: 120; left: 0; right: 0; bottom: calc(max(10px, var(--sab)) + var(--tabbar-h) + 14px + var(--kb)); display: flex; justify-content: center; pointer-events: none; padding: 0 16px; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: 520px; width: 100%;
  padding: 12px 12px 12px 18px; border-radius: 20px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); transform: translateY(20px); opacity: 0; transition: transform 420ms var(--spring), opacity 200ms;
}
.toast.show { transform: none; opacity: 1; }
.toast span { flex: 1; min-width: 0; }
.toast button { color: var(--accent-text); font-weight: var(--fw-strong); padding: 8px 12px; border-radius: 12px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); flex: none; }

/* ---------- Boş durum ---------- */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 18px 8px 8px; }
.empty .illu { width: 150px; height: 120px; color: var(--accent-text); }
.empty h3 { font-family: var(--font-serif); font-size: calc(var(--fs) * 1.2); }
.empty p { color: var(--text-2); max-width: 420px; }
.coming { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; text-align: left; width: 100%; max-width: 520px; }
.coming li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.coming li svg { width: 18px; height: 18px; color: var(--accent-text); flex: none; margin-top: 3px; }

/* ---------- İskelet ekran ---------- */
.skel { border-radius: 12px; background: linear-gradient(90deg, var(--fill) 0%, var(--fill-2) 50%, var(--fill) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- Aşağı çekince yenile ---------- */
.ptr { position: absolute; z-index: 15; left: 50%; top: calc(var(--sat) + var(--topbar-h)); width: 36px; height: 36px; margin-left: -18px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; color: var(--accent-text); transform: translateY(-60px); opacity: 0; pointer-events: none; }
.ptr svg { width: 20px; height: 20px; }
.ptr.spin svg { animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- İki bölmeli düzen (liste + detay) ---------- */
.split { display: block; }
.detail-pane { display: none; }
@container main (min-width: 640px) {
  .split.has-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
  .split.has-detail .detail-pane { display: block; position: sticky; max-height: calc(var(--vvh) - var(--sat) - var(--topbar-h) - 24px); overflow-y: auto; overscroll-behavior: contain; border-radius: var(--radius); top: calc(var(--sat) + var(--topbar-h) + 8px); }
  .split.has-detail .grid { grid-template-columns: minmax(0, 1fr); }
  .split.has-detail .grid > * { grid-column: 1 / -1 !important; order: 0 !important; }
}
@container main (min-width: 1100px) {
  .split.has-detail { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}

/* Detay kartı */
.hero-card { padding: 20px; }
.hero-card h2 { font-family: var(--font-serif); font-size: calc(var(--fs) * 1.5); line-height: 1.15; overflow-wrap: anywhere; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; font-size: calc(var(--fs) * .9); }
.kv dt { color: var(--text-2); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.history-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: calc(var(--fs) * .88); }
.history-list li { display: flex; gap: 10px; justify-content: space-between; border-bottom: 0.5px solid var(--line); padding-bottom: 8px; }
.history-list time { color: var(--text-2); white-space: nowrap; }

.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); color: var(--text); font-size: calc(var(--fs) * .9); }
.note svg { width: 20px; height: 20px; color: var(--accent-text); flex: none; margin-top: 1px; }
.note.warn { background: color-mix(in srgb, var(--warn) 14%, transparent); }
.note.warn svg { color: var(--warn); }

.menu-preview { pointer-events: none; transform: scale(1.02); box-shadow: var(--shadow-lg); border-radius: 16px; overflow: hidden; margin-bottom: 14px; }
.mic-hero { width: 96px; height: 96px; border-radius: 48px; margin: 6px auto 14px; background: var(--accent-soft); color: var(--accent-text); border: 1px solid var(--accent-line); display: flex; align-items: center; justify-content: center; }
.mic-hero svg { width: 44px; height: 44px; }
.muted { color: var(--text-2); }
.mt { margin-top: 14px; } .mb { margin-bottom: 14px; }
.center { text-align: center; }

/* Dar bölmede tarih/saat alt alta (değer kesilmesin) */
.detail-pane, .sheet-body { container-type: inline-size; }
@container (max-width: 380px) { .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* Kaydırma arka planı yalnızca kaydırırken görünür (köşelerden renk sızmasın) */
.swipe .swipe-bg, .swipe .swipe-actions { visibility: hidden; }
.swipe.dragging .swipe-bg, .swipe.dragging .swipe-actions, .swipe.open .swipe-actions { visibility: visible; }

/* ---------- DayOrbit Hakkında ---------- */
.about-card { padding: 28px 20px; }
.about-logo { border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 10px; }
.about-copy { font-size: 13px; color: var(--text-2); letter-spacing: .02em; }

/* ---------- İlk açılış sihirbazı ---------- */
.wizard {
  position: fixed; inset: 0; z-index: 150; background: var(--bg);
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: none; -webkit-overflow-scrolling: touch;
  animation: wz-in 380ms var(--ease);
}
.wizard.closing { opacity: 0; transition: opacity 300ms var(--ease); }
@keyframes wz-in { from { opacity: 0; transform: translateY(12px); } }
.wz-inner {
  min-height: 100%; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column;
  padding: calc(var(--sat) + 12px) max(20px, var(--sar) + 12px) calc(var(--sab) + 16px) max(20px, var(--sal) + 12px);
}
.wz-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.wz-dots { display: flex; gap: 6px; }
.wz-dots i { width: 8px; height: 8px; border-radius: 4px; background: var(--fill-2); transition: width 300ms var(--spring), background 200ms; }
.wz-dots i.done { background: var(--accent-line); }
.wz-dots i.on { width: 22px; background: var(--accent); }
.wz-body { flex: 1; padding: 10px 0 20px; }
.wz-title { font-family: var(--font-serif); font-size: calc(var(--fs) * 1.9); line-height: 1.1; margin: 8px 0 10px; }
.wz-text { color: var(--text-2); margin-bottom: 18px; }
.wz-foot {
  position: sticky; bottom: 0; display: flex; justify-content: space-between; gap: 10px;
  padding: 12px 0 calc(var(--sab) * 0 + 4px); background: linear-gradient(transparent, var(--bg) 30%);
}
.wz-foot .btn { min-width: 120px; }
.choices { display: grid; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
}
.choice[aria-pressed="true"] { border-color: var(--accent-line); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.choice-dot { width: 24px; height: 24px; border-radius: 12px; border: 1.5px solid var(--fill-2); display: flex; align-items: center; justify-content: center; color: transparent; flex: none; }
.choice-dot svg { width: 15px; height: 15px; }
.choice[aria-pressed="true"] .choice-dot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.logo-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.logo-box { width: 64px; height: 64px; border-radius: 16px; background: var(--fill); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--text-2); }
.logo-box img { width: 100%; height: 100%; object-fit: contain; }
.logo-box svg { width: 26px; height: 26px; }
.field-hint { font-size: 13px; color: var(--text-2); }
.wizard .illu { width: 200px; height: 160px; color: var(--accent-text); }
select.input { background-image: none; }
.field-hint.s-ok { color: var(--ok); } .field-hint.s-danger { color: var(--danger); }

/* ---------- Bulut durumu (üst çubuk) ---------- */
.cloud-btn { position: relative; }
.cloud-btn i { position: absolute; right: 9px; bottom: 11px; width: 8px; height: 8px; border-radius: 4px; border: 1.5px solid var(--bg); background: var(--planned); }
.cloud-idle i { background: var(--ok); }
.cloud-syncing i { background: var(--info); animation: pulse 1s ease-in-out infinite; }
.cloud-offline i, .cloud-warn i { background: var(--warn); }
.cloud-error i { background: var(--danger); }
.cloud-off { color: var(--text-2); }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Çakışma: iki sürüm yan yana ---------- */
.conf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.conf-head { font-size: 13px; font-weight: var(--fw-strong); color: var(--accent-text); text-transform: uppercase; letter-spacing: .04em; }
.conf-cell { background: var(--fill); border-radius: 12px; padding: 8px 10px; overflow-wrap: anywhere; font-size: calc(var(--fs) * .92); }
.conf-cell small { display: block; color: var(--text-2); font-size: 12px; }
.conf-cell.diff { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 45%, transparent); }
.conf-banner { border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); }
.role-select { width: auto; min-height: 40px; padding: 6px 10px; max-width: 46%; }
.about-slogan { font-family: var(--font-serif); font-style: italic; color: var(--accent-text); font-size: calc(var(--fs) * 1.05); }

/* ---------- Uygulama kilidi ---------- */
#applock { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: calc(var(--sat) + 20px) 24px calc(var(--sab) + 20px); transition: opacity 240ms var(--ease); }
#applock.hide { opacity: 0; }
#applock .lock-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; max-width: 340px; }
#applock img { border-radius: 18px; box-shadow: var(--shadow-lg); }
#applock h1 { font-size: calc(var(--fs) * 1.6); }
html.privacy-blur .shell, html.privacy-blur .sheet { filter: blur(24px); }

/* ---------- İki adımlı doğrulama ---------- */
.code-input { font-size: 24px !important; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.qr-box { display: flex; justify-content: center; margin: 10px 0; }
.qr-box img { background: #fff; padding: 10px; border-radius: 14px; width: 200px; height: 200px; }
.secret { display: inline-block; padding: 6px 10px; border-radius: 10px; background: var(--fill); font-size: 14px; word-break: break-all; user-select: all; -webkit-user-select: all; }
.steps { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 6px; }
