/* Tuno Yönetim — beyaz, Apple tarzı: geniş köşe yuvarlamaları, ince çizgiler, yumuşak gölgeler.
   Giriş ekranı iCloud girişini örnek alır. Sistem koyu modda olsa da her zaman açık tema. */

:root {
  --page: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #d2d2d7;
  --hairline: rgba(0, 0, 0, 0.06);
  --hover: rgba(0, 0, 0, 0.04);
  --field: #fafafc;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --violet: #5e5ce6;
  --green: #34c759;
  --red: #e30000;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.03), 0 10px 30px -12px rgba(0, 0, 0, 0.10);
  --radius: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: 15px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2 { margin: 0; letter-spacing: -0.02em; }
code { font: 13px ui-monospace, "SF Mono", Menlo, monospace; background: var(--page); padding: 2px 6px; border-radius: 6px; }
.muted { color: var(--muted); }
.empty { color: var(--faint); text-align: center; padding: 32px 0; margin: 0; }
.error { color: var(--red); font-size: 14px; margin: 12px 0 0; }

/* MARK: Düğmeler ve alanlar */

button, .button {
  font: 500 14px/1 -apple-system, sans-serif;
  color: var(--blue);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 980px;
  padding: 9px 18px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .2s, border-color .2s, transform .15s var(--ease);
}
button:hover, .button:hover { background: var(--hover); }
button:active, .button:active { transform: scale(0.97); }
button.primary, .button.primary { color: #fff; background: var(--blue); border-color: var(--blue); }
button.primary:hover, .button.primary:hover { background: var(--blue-hover); }
button.danger { color: var(--red); }
button[disabled] { opacity: .45; pointer-events: none; }
input[type=text], input[type=password] {
  font: 17px -apple-system, sans-serif;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15); }

/* MARK: Giriş (iCloud tarzı) */

body.auth { background: var(--card); min-height: 100vh; display: flex; flex-direction: column; }
.auth-bar {
  display: flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 24px;
  font-size: 17px; font-weight: 600;
  border-bottom: 1px solid var(--hairline);
}
.auth-bar .mark { border-radius: 5px; }
.auth-main {
  flex: 1;
  width: min(420px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 9vh 0 40px;
  text-align: center;
  animation: rise .8s var(--ease) both;
}
.auth-hero { margin-bottom: 26px; }
.auth-hero .mark { filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.22)); }
.auth-main h1 { font-size: 32px; font-weight: 600; line-height: 1.12; margin-bottom: 10px; }
.auth-sub { color: var(--muted); font-size: 17px; margin: 0 0 30px; }
.auth-sub code { font-size: 14px; }
.auth-foot { text-align: center; color: var(--faint); font-size: 12px; padding: 22px; border-top: 1px solid var(--hairline); }
.auth-link { display: inline-block; margin-top: 26px; color: var(--blue); font-size: 15px; }
.auth-link:hover { text-decoration: underline; }

/* Kayan etiketli alan, sağında ok düğmesi */
.field-form { text-align: left; }
.field { position: relative; }
.field input {
  height: 58px;
  padding: 22px 60px 6px 16px;
  font-size: 17px;
  border-radius: 12px;
  background: var(--field);
}
.field label {
  position: absolute; left: 17px; top: 18px;
  color: var(--faint); font-size: 17px;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .2s var(--ease), color .2s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label { transform: translateY(-10px) scale(0.72); }
.field input:focus + label { color: var(--blue); }
.field.invalid input { border-color: var(--red); background: #fff8f8; }
.field.invalid input:focus { box-shadow: 0 0 0 4px rgba(227, 0, 0, 0.12); }
.arrow {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; padding: 0;
  border-radius: 50%; border: 1.5px solid var(--faint);
  background: transparent; color: var(--faint);
}
.arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.field input:not(:placeholder-shown) ~ .arrow { border-color: var(--ink); color: var(--ink); }
.arrow:hover { background: var(--hover); }
.arrow:active { transform: translateY(-50%) scale(0.92); }

.pill-button {
  width: 100%; height: 54px; font-size: 17px; font-weight: 500;
  color: #fff; background: var(--ink); border-color: var(--ink);
}
.pill-button:hover { background: #000; }
.pill-button .touch { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.pill-button .face, .pill-button.face-id .touch:not(.face) { display: none; }
.pill-button.face-id .face { display: block; }
.recovery { margin-top: 22px; }
.recovery summary { color: var(--blue); font-size: 15px; cursor: pointer; list-style: none; }
.recovery summary::-webkit-details-marker { display: none; }
.recovery[open] summary { margin-bottom: 14px; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* MARK: İskelet */

/* Kenar çubuğu ve çevresi tek beyaz yüzey; içerik bunun içinde yuvarlak köşeli gri bir panel. */
body:not(.auth) { background: var(--card); }
.shell { display: grid; grid-template-columns: 252px 1fr; height: 100vh; padding: 10px 10px 10px 0; }
.sidebar {
  height: calc(100vh - 20px);
  padding: 8px 12px 8px;
  background: var(--card);
  display: flex; flex-direction: column;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 6px 12px 24px; }
.brand .mark { border-radius: 9px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18); }
.brand strong { display: block; font-size: 16px; line-height: 1.2; }
.brand span { color: var(--faint); font-size: 13px; }
.sidebar nav { display: grid; gap: 2px; }
.sidebar nav a, .signout button {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 500;
  color: var(--ink);
  transition: background .2s;
}
.sidebar nav a:hover, .signout button:hover { background: var(--hover); }
.sidebar nav a.active { background: rgba(0, 113, 227, 0.09); color: var(--blue); }
.sidebar nav svg, .signout svg { width: 20px; height: 20px; fill: currentColor; color: var(--faint); flex-shrink: 0; }
.sidebar nav a.active svg { color: var(--blue); }
.badge { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: #fff; background: var(--blue); border-radius: 10px; padding: 1px 8px; }
.signout { margin-top: auto; }
.signout button { width: 100%; border: 0; justify-content: flex-start; color: var(--muted); background: none; border-radius: 10px; }

.content {
  background: var(--page);
  /* Panel ekrana sabit, dört köşesi de görünür; içerik panelin içinde kayar. */
  border-radius: 26px;
  height: calc(100vh - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 40px 48px 64px;
  animation: rise .5s var(--ease) both;
}
.content > * { max-width: 1180px; }
.page-head { margin-bottom: 26px; }
.page-head h1 { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }

/* MARK: Kartlar */

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.card.flush { padding: 8px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head h2 { font-size: 19px; font-weight: 600; }
.card-head .muted { font-size: 13px; }
.link { color: var(--blue); font-size: 14px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards .card { margin: 0; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .label { color: var(--muted); font-size: 13px; font-weight: 500; }
.stat strong { font: 600 36px/1.05 -apple-system, "SF Pro Display", sans-serif; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.stat .hint { color: var(--faint); font-size: 13px; }
.trend { font-size: 13px; font-weight: 500; }
.trend.up { color: #248a3d; }
.trend.down { color: var(--red); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* MARK: Grafikler */

.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid line { stroke: var(--hairline); stroke-width: 1; }
.chart text { font: 13px -apple-system, sans-serif; fill: var(--faint); }
.chart .axis-y { text-anchor: end; }
.chart .axis-x { text-anchor: middle; }
.chart .axis-y.on-area { fill: rgba(255, 255, 255, .9); font-weight: 600; font-size: 12px; }
.chart .line { fill: none; stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: draw 1.6s var(--ease) .1s forwards; }
.chart .dots circle { opacity: 0; transition: opacity .2s; stroke: #fff; stroke-width: 2; }
.chart:hover .dots circle { opacity: 1; }
.chart-violet .line { stroke: var(--blue); }
.chart-violet .dots circle { fill: var(--blue); }
.chart-violet .stop-a { stop-color: var(--blue); stop-opacity: .16; }
.chart-violet .stop-b { stop-color: var(--blue); stop-opacity: 0; }
.chart-green .line { stroke: var(--green); }
.chart-green .dots circle { fill: var(--green); }
.chart-green .stop-a { stop-color: var(--green); stop-opacity: .16; }
.chart-green .stop-b { stop-color: var(--green); stop-opacity: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.bars { display: grid; gap: 16px; }
.bar-row { display: grid; grid-template-columns: 64px 1fr 96px; align-items: center; gap: 14px; }
.bar-label { font-weight: 600; font-variant-numeric: tabular-nums; }
.countries .bar-row { grid-template-columns: 170px 1fr 96px; }
.countries .bar-label { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Uzun etiketler (sayfa yolu, yönlendiren): geniş sütun, tek satır. */
.labels .bar-row { grid-template-columns: minmax(0, 1.5fr) minmax(70px, 1fr) 84px; }
.labels .bar-label { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 10px; background: var(--page); border-radius: 5px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 5px; background: var(--blue); transition: width 1.1s var(--ease); }
.bar-row:not(:first-child) .bar-fill { background: #8ab8f0; }
.bar-value { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.bar-value small { color: var(--faint); font-weight: 400; }

/* MARK: Tablolar ve listeler */

.segmented { display: inline-flex; background: #e8e8ed; padding: 3px; border-radius: 10px; margin-bottom: 22px; }
.segmented a { padding: 6px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--ink); transition: all .25s var(--ease); }
.segmented a.active { background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04); }

.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th { text-align: left; font-size: 12px; font-weight: 500; color: var(--faint); padding: 8px 10px; border-bottom: 1px solid var(--hairline); }
.table td { padding: 13px 10px; border-bottom: 1px solid var(--hairline); }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; }
.version { font-weight: 600; }
.ellipsis { max-width: 320px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { display: inline-block; font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 20px; background: rgba(0, 113, 227, 0.09); color: var(--blue); }
.pill.subtle { background: var(--page); color: var(--muted); }
.pill.ok { background: rgba(52, 199, 89, 0.13); color: #248a3d; }
.pill.bad { background: rgba(227, 0, 0, 0.08); color: var(--red); }

.message-list { list-style: none; margin: 0; padding: 0; }
.message-list li + li { border-top: 1px solid var(--hairline); }
.message-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 18px; border-radius: 14px; transition: background .2s; }
.message-list a:hover { background: var(--hover); }
.message-list .from { font-weight: 600; }
.message-list .from small { color: var(--faint); font-weight: 400; margin-left: 6px; }
.message-list .time { color: var(--faint); font-size: 13px; }
.message-list .topic { grid-column: 1 / -1; font-size: 14px; }
.message-list .preview { grid-column: 1 / -1; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.message-list li.unread .from::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-right: 8px; vertical-align: 2px; }
.message-list.compact a { padding: 11px 4px; }

.message { padding: 30px; }
.message-head { display: flex; align-items: center; gap: 14px; }
.message-head strong { display: block; }
.message-head span { font-size: 14px; }
.message-head time { margin-left: auto; font-size: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 18px; color: #fff;
  background: linear-gradient(180deg, #a1a1a6, #6e6e73); }
.meta-row { display: flex; gap: 8px; margin: 18px 0 4px; }
.message .body { font-size: 17px; line-height: 1.6; margin: 16px 0 26px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.actions form { margin: 0; }
.content > .back { display: inline-block; margin: 0 0 14px; color: var(--blue); }

/* Mesaj: üstte kişi ve araçlar, ortada iMessage gibi konuşma, altta yanıt kutusu. */
.thread { padding: 28px 32px 28px; }
.thread-head { display: flex; align-items: center; gap: 14px; }
.thread-head .who strong { display: block; font-size: 17px; }
.thread-head .who span { font-size: 14px; }
.thread-tools { margin-left: auto; display: flex; gap: 8px; }
.thread-tools form { margin: 0; }
.thread-tools button { font-size: 13px; padding: 7px 14px; }
.conversation { display: flex; flex-direction: column; gap: 16px; margin: 20px 0 26px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.msg { display: flex; flex-direction: column; max-width: 78%; }
.msg.in { align-self: flex-start; align-items: flex-start; }
.msg.out { align-self: flex-end; align-items: flex-end; }
.msg .bubble { padding: 12px 17px; border-radius: 20px; font-size: 15.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.in .bubble { background: var(--page); color: var(--ink); border-bottom-left-radius: 6px; }
.msg.out .bubble { background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.msg .stamp { font-size: 12px; color: var(--faint); margin: 6px 8px 0; }
.composer { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden;
  transition: border-color .2s, box-shadow .2s; }
.composer:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .12); }
.composer textarea { display: block; width: 100%; min-height: 110px; border: 0; outline: 0; resize: vertical;
  padding: 16px 18px 8px; font: inherit; font-size: 15.5px; line-height: 1.55; color: var(--ink); background: transparent; }
.composer textarea::placeholder { color: var(--faint); }
.composer-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px 12px 18px; }
.composer-bar .muted { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.composer-bar strong { color: var(--ink); font-weight: 500; }
.composer-bar button { padding: 10px 22px; font-size: 14px; flex-shrink: 0; }
.flash.error { background: rgba(255, 59, 48, 0.1); color: #c81e14; }

.rows { list-style: none; margin: 0 0 16px; padding: 0; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--hairline); }
.rows li:last-child { border-bottom: 0; }
.rows strong { display: block; font-weight: 500; }
.rows span { font-size: 14px; }
.rows form { margin: 0; }
.inline-form { display: flex; gap: 10px; align-items: center; }
.inline-form input { flex: 1; font-size: 15px; padding: 10px 14px; }
.notice { background: var(--page); border-radius: 16px; padding: 18px 20px; margin-top: 16px; }
.notice h2 { font-size: 16px; margin-bottom: 6px; }
.notice p { margin: 0 0 12px; color: var(--muted); }
.recovery-code { display: inline-block; font-size: 22px; letter-spacing: 0.08em; padding: 10px 16px; background: var(--card); border: 1px solid var(--line); user-select: all; }
.flash { background: rgba(52, 199, 89, 0.12); color: #248a3d; padding: 12px 16px; border-radius: 12px; font-weight: 500; }

/* Sunucu sayfası */
.num.big { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pill.ok { background: rgba(52, 199, 89, 0.14); color: #248a3d; }
.pill.bad { background: rgba(255, 59, 48, 0.12); color: #c81e14; }
.banned-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.banned-list .chip { font-size: 13px; font-variant-numeric: tabular-nums; background: var(--page); border: 1px solid var(--hairline);
  padding: 5px 11px; border-radius: 9px; color: var(--ink); }
button.link { background: none; border: 0; color: var(--blue); font: inherit; font-weight: 500; cursor: pointer; padding: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 2px 0 14px; }
.legend .key { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.legend .key i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
/* Sürüm renkleri (CSP satır içi stile izin vermediği için sınıfla). */
.legend .tone-0 { background: #0071e3; } .chart .tone-0 { fill: #0071e3; fill-opacity: .85; }
.legend .tone-1 { background: #5ac8fa; } .chart .tone-1 { fill: #5ac8fa; fill-opacity: .85; }
.legend .tone-2 { background: #5e5ce6; } .chart .tone-2 { fill: #5e5ce6; fill-opacity: .8; }
.legend .tone-3 { background: #34c759; } .chart .tone-3 { fill: #34c759; fill-opacity: .8; }
.legend .tone-4 { background: #c7c7cc; } .chart .tone-4 { fill: #c7c7cc; fill-opacity: .9; }

/* MARK: Dar ekran */

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .shell { grid-template-columns: 1fr; height: auto; padding: 0 8px 8px; }
  .content { border-radius: 22px; height: auto; overflow: visible; }
  .content { padding: 24px 16px 44px; }
  .page-head h1 { font-size: 28px; }
  .cards, .cards.three { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat strong { font-size: 28px; }
  .table .muted, .table th:nth-child(2) { display: none; }
  .auth-main h1 { font-size: 28px; }
}

/* MARK: Mesaj araçları: durum sekmeleri, arama, durum rozetleri, hazır yanıtlar */
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar .segmented { margin-bottom: 0; }
.segmented a small { color: var(--faint); font-weight: 500; margin-left: 3px; font-variant-numeric: tabular-nums; }
.search { flex: 1; min-width: 220px; position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 12px; width: 16px; height: 16px; fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; font: 15px -apple-system, sans-serif; color: var(--ink); background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 12px 8px 36px; outline: none; transition: border-color .2s, box-shadow .2s; }
.search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 227, .14); }
.status { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .01em; padding: 2px 8px; border-radius: 6px; margin-right: 6px; vertical-align: 1px; }
.status-open { background: rgba(255, 149, 0, .14); color: #b25000; }
.status-answered { background: rgba(0, 113, 227, .1); color: var(--blue); }
.status-solved { background: rgba(52, 199, 89, .14); color: #248a3d; }
.meta-row { align-items: center; flex-wrap: wrap; }
.status-switch { margin: 0 0 0 auto; display: inline-flex; background: #e8e8ed; padding: 3px; border-radius: 10px; gap: 2px; }
.status-switch button { border: 0; background: none; color: var(--ink); font-size: 13px; padding: 6px 13px; border-radius: 8px; }
.status-switch button:hover { background: rgba(255, 255, 255, .6); }
.status-switch button.active { background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.status-switch button.active.status-open { color: #b25000; }
.status-switch button.active.status-answered { color: var(--blue); }
.status-switch button.active.status-solved { color: #248a3d; }
.composer-bar .muted { flex: 1; }
.lead-note { margin: 0 0 18px; }
.align-start { align-items: start; }
.rows.padded { margin: 0; }
.rows.padded li { padding: 15px 22px; }
.rows li.selected { background: rgba(0, 113, 227, .05); }
.rows .clamp { display: block; max-width: 340px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-tools { display: flex; gap: 8px; flex-shrink: 0; }
.row-tools .button, .row-tools button { font-size: 13px; padding: 7px 14px; }
.stack-form { display: grid; gap: 14px; }
.stack-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.stack-form input[type=text], .stack-form input[type=url], .stack-form input[type=email], .stack-form textarea, .stack-form select {
  font: 15px/1.5 -apple-system, sans-serif; color: var(--ink); background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 13px; width: 100%; outline: none; transition: border-color .2s, box-shadow .2s; }
.stack-form textarea { resize: vertical; }
.stack-form input:focus, .stack-form textarea:focus, .stack-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 227, .14); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; align-items: center; }
.grid-2.align-start { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }

/* MARK: Güncelleme sağlığı, rehber performansı, dışa aktarma */
.health-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 4px 0 18px; }
.health-grid .label { display: block; font-size: 13px; color: var(--muted); }
.health-grid strong { display: block; font-size: 30px; font-weight: 650; letter-spacing: -.02em; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.health-grid .hint, .hint { font-size: 13px; color: var(--faint); }
.progress { height: 8px; background: var(--page); border-radius: 4px; overflow: hidden; }
.progress .bar-fill { background: var(--blue) !important; }
.hint.warn { margin: 14px 0 0; color: #b25000; }
.csv-link { margin-left: 10px; vertical-align: top; font-size: 13px; padding: 7px 14px; }
.table.compact td, .table.compact th { padding: 10px 8px; }
.table td.ellipsis { max-width: 240px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nowrap { white-space: nowrap; }
.w500 { font-weight: 500; }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
.export-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* MARK: Yayın: sürüm notu düzenleyici */
.version-pick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.version-pick label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.version-pick input { width: 110px; font: 15px -apple-system, sans-serif; padding: 7px 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.version-pick button { font-size: 13px; padding: 7px 14px; }
.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.notes-col { display: grid; gap: 10px; align-content: start; }
.notes-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.notes-label .muted { font-size: 12px; }
.notes-editor textarea { font: 13.5px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); background: var(--field);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; resize: vertical; outline: none; width: 100%; }
.notes-editor textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 227, .14); }
.md-preview { background: var(--page); border-radius: 12px; padding: 14px 18px; font-size: 14px; line-height: 1.55; min-height: 60px; }
.md-preview h3 { font-size: 15px; margin: 6px 0 6px; }
.md-preview ul { margin: 0 0 8px; padding-left: 18px; }
.md-preview li { margin: 3px 0; }
.md-preview p { margin: 0 0 6px; }
.notes-editor .form-actions { justify-content: space-between; margin-top: 16px; }
.switch-row { display: flex !important; grid-template-columns: none; align-items: center; gap: 10px; font-size: 15px !important; color: var(--ink) !important; cursor: pointer; }
.switch-row input { width: 18px; height: 18px; accent-color: var(--blue); }
button.link.danger { color: var(--red); }

/* MARK: Dar ekran (yeni bölümler) */
@media (max-width: 1000px) {
  .grid-2.align-start, .notes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .health-grid { grid-template-columns: 1fr; gap: 14px; }
  .toolbar .search { order: 3; flex-basis: 100%; }
  .status-switch { margin: 8px 0 0; }
  .thread { padding: 20px 16px; }
  .thread-head { flex-wrap: wrap; }
  .thread-tools { margin-left: 0; width: 100%; }
  .msg { max-width: 90%; }
  .composer-bar { flex-wrap: wrap; }
  .composer-bar .muted { order: 3; flex-basis: 100%; }
  .notes-editor .form-actions { flex-direction: column; align-items: stretch; }
}

/* MARK: Çökmeler */
.crash-list { list-style: none; margin: 0; padding: 0; }
.crash-list li + li { border-top: 1px solid var(--hairline); }
.crash-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 16px 22px; transition: background .2s; }
.crash-list a:hover { background: var(--hover); }
.crash-main { display: grid; gap: 4px; min-width: 0; }
.crash-reason { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crash-reason.big { white-space: normal; font-size: 15px; color: var(--ink); background: rgba(255, 59, 48, .07); padding: 12px 14px; border-radius: 12px; margin: 0 0 16px; }
.crash-frame { font-size: 12px; background: none; padding: 0; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crash-meta { display: grid; justify-items: end; align-content: center; gap: 2px; font-size: 13px; text-align: right; }
.crash-count { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.subhead { font-size: 14px; color: var(--muted); font-weight: 500; margin: 0 0 8px; }
.frames { margin: 0; padding: 0 0 0 28px; font-size: 12.5px; line-height: 1.75; color: var(--faint); }
.frames code { background: none; padding: 0; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.frames li.app code { color: var(--ink); font-weight: 600; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.grid-3 .card { margin: 0; }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: 1fr; } }
.row-tools.end { justify-content: flex-end; display: flex; }
.table tr.is-pulled td { opacity: .55; }
.table tr.is-pulled td:last-child { opacity: 1; }
.status.pulled { background: rgba(142, 142, 147, .16); color: var(--muted); }

/* MARK: Trafik sekmeleri, Hız, Isı haritası */
.segmented.tabs { margin-bottom: 18px; }
.vitals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.vital { margin: 0; display: grid; gap: 4px; align-content: start; border-top: 4px solid var(--line); }
.vital .label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.vital strong { font-size: 28px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.vital.good { border-top-color: #34c759; } .vital.good strong { color: #248a3d; }
.vital.fair { border-top-color: #ff9f0a; } .vital.fair strong { color: #b25000; }
.vital.poor { border-top-color: #ff3b30; } .vital.poor strong { color: #c81e14; }
.vital-bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--page); margin: 8px 0 2px; }
.vital-bar i { display: block; height: 100%; width: 0; transition: width 1s var(--ease); }
.vital-bar .good { background: #34c759; } .vital-bar .fair { background: #ff9f0a; } .vital-bar .poor { background: #ff3b30; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; background: var(--line); }
.dot.good { background: #34c759; } .dot.fair { background: #ff9f0a; } .dot.poor { background: #ff3b30; }
.heatmap-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.hm-stage { position: relative; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.hm-stage iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #fff; }
.hm-side { margin: 0; }
.stacked-labels .bar-row { grid-template-columns: minmax(0, 1fr) 60px; }
.stacked-labels .bar-track { grid-column: 1 / -1; grid-row: 2; }
.stacked-labels .bar-value { grid-row: 1; grid-column: 2; }
.hm-legend { display: flex; align-items: center; gap: 6px; margin: 16px 0 0; }
.hm-legend i { display: inline-block; width: 90px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #0078ff, #00dc78, #ffdc00, #ff2800); }
.page-pick select { max-width: 360px; }
@media (max-width: 1100px) { .vitals { grid-template-columns: repeat(3, minmax(0, 1fr)); } .heatmap-layout { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .vitals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.attachments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.attachments a { display: block; width: 132px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--page); border: 1px solid var(--hairline); }
.attachments img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s var(--ease); }
.attachments a:hover img { transform: scale(1.04); }
.inline-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.inline-actions form { margin: 0; }
.push-hint { background: var(--page); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; font-size: 14px; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 6px 0 18px; }
.mail-preview { width: 100%; height: 640px; border: 1px solid var(--hairline); border-radius: 14px; background: #fff; }
@media (max-width: 1000px) { .preview-grid { grid-template-columns: 1fr; } }
.alarm { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 0 0 20px; padding: 16px 20px;
  border-radius: 16px; background: rgba(255, 59, 48, .08); border: 1px solid rgba(255, 59, 48, .25); }
.alarm strong { display: block; color: #c81e14; font-size: 15px; }
.alarm span { font-size: 13px; color: var(--muted); }
.alarm-actions { display: flex; gap: 8px; }
.alarm-actions form { margin: 0; }
.threshold { display: flex; align-items: center; gap: 8px; margin: 0 0 0 auto; font-size: 13px; color: var(--muted); }
.threshold input { width: 56px; font: 14px -apple-system, sans-serif; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.threshold button { font-size: 13px; padding: 6px 12px; }
.chart .event line { stroke: #ff9f0a; stroke-width: 1.2; stroke-dasharray: 3 3; }
.chart .event circle { fill: #ff9f0a; }
.chart .event text { fill: #b25000; font-size: 11px; font-weight: 600; }
.chart .event:hover line { stroke-width: 2; }
.annotate { margin-bottom: 14px; flex-wrap: wrap; }
.annotate input[type=date] { flex: 0 0 auto; font: 15px -apple-system, sans-serif; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
.live .card-head h2 { display: flex; align-items: center; gap: 10px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 0 rgba(52, 199, 89, .5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 199, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); } }
.live-body { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 28px; align-items: end; }
.live-count { font-size: 44px; font-weight: 650; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.live-unit { grid-row: 2; font-size: 13px; color: var(--muted); }
.live-pages { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.live-pages ul { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.live-pages li { display: inline-flex; gap: 8px; align-items: center; background: var(--page); border-radius: 9px; padding: 4px 10px; font-size: 13px; }
.live-pages li b { font-variant-numeric: tabular-nums; }
.live-pages .hint { margin: 0; }
.error-log li > div { display: grid; grid-template-columns: auto auto 1fr; gap: 4px 8px; align-items: center; min-width: 0; }
.error-log .log-message { grid-column: 1 / -1; background: none; padding: 0; font-size: 12.5px; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.error-log .muted { grid-column: 1 / -1; font-size: 12px; }
.log-level { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 2px 7px; border-radius: 6px; justify-self: start; }
.log-level.bad { background: rgba(255, 59, 48, .12); color: #c81e14; }
.log-level.warn { background: rgba(255, 149, 0, .14); color: #b25000; }
.log-level.info { background: var(--page); color: var(--muted); }
.error-log .num.big { font-size: 15px; color: var(--muted); }
.funnel { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 14px; }
.funnel li { display: grid; grid-template-columns: 220px 1fr 110px; gap: 16px; align-items: center; }
.funnel-label strong { display: block; font-weight: 600; }
.funnel-label span { font-size: 12.5px; }
.funnel-bar { height: 26px; background: var(--page); border-radius: 8px; overflow: hidden; }
.funnel-bar .bar-fill { display: block; height: 100%; border-radius: 8px; background: var(--blue) !important; }
.funnel li:nth-child(n+4) .funnel-bar .bar-fill { background: var(--green) !important; }
.funnel-value { text-align: right; display: grid; }
.funnel-value strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.funnel-value .drop { color: #c81e14; font-size: 13px; font-weight: 600; }
.funnel li.pending { opacity: .55; }
@media (max-width: 720px) { .funnel li { grid-template-columns: 1fr 80px; } .funnel-bar { grid-column: 1 / -1; grid-row: 2; } }
.steps-list { margin: 0 0 16px; padding-left: 20px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.steps-list b { color: var(--ink); font-weight: 500; }

/* MARK: Mesaj sayfası ekrana sığar: sayfa kaymaz, yalnızca sohbet kayar */
.content:has(> .thread) { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 24px; }
.content:has(> .thread) > * { flex-shrink: 0; }
.content:has(> .thread) .page-head { margin-bottom: 14px; }
.content > .thread { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin-bottom: 0; width: 100%; }
.thread .conversation { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  margin: 18px -14px 16px; padding: 20px 14px 4px; }
.thread .composer { flex-shrink: 0; }
.thread .composer textarea { min-height: 84px; max-height: 32vh; }
@media (max-width: 720px) {
  .content:has(> .thread) { display: block; overflow: visible; }
  .thread .conversation { overflow: visible; }
}
.canned-open { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; padding: 7px 14px 7px 11px; flex-shrink: 0; }
.canned-open svg { width: 16px; height: 16px; fill: currentColor; color: var(--blue); }

/* MARK: Hazır yanıtlar penceresi (macOS Ayarlar düzeninde: kenar çubuğu, liste, önizleme) */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px;
  background: rgba(0, 0, 0, 0); transition: background .22s var(--ease); }
.sheet-backdrop.shown { background: rgba(0, 0, 0, .28); }
.sheet-backdrop[hidden] { display: none; }   /* display: grid, hidden özelliğini ezmesin; yoksa görünmez katman tıklamaları yutar */
.sheet { width: min(1100px, 100%); height: min(740px, 100%); display: grid; grid-template-columns: 236px 340px minmax(0, 1fr);
  background: var(--card); border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .18), 0 24px 70px rgba(0, 0, 0, .28), 0 4px 14px rgba(0, 0, 0, .08);
  opacity: 0; transform: scale(.965) translateY(8px); transition: opacity .22s var(--ease), transform .32s var(--ease); }
.sheet-backdrop.shown .sheet { opacity: 1; transform: none; }
.sheet button { box-shadow: none; }

.sheet-side { background: #f2f2f5; border-right: 1px solid var(--hairline); display: flex; flex-direction: column; min-height: 0; padding: 14px 10px; }
.sheet-search { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px; margin: 0 2px 12px;
  background: rgba(0, 0, 0, .06); border-radius: 8px; }
.sheet-search svg { width: 14px; height: 14px; fill: var(--faint); flex-shrink: 0; }
.sheet-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 13px -apple-system, sans-serif; color: var(--ink); }
.sheet-search:focus-within { box-shadow: 0 0 0 3px rgba(0, 113, 227, .3); }
.sheet-cats { overflow-y: auto; display: grid; gap: 1px; align-content: start; }
.sheet-cat { display: flex; align-items: center; gap: 9px; width: 100%; padding: 5px 8px; border: 0; border-radius: 7px;
  background: none; font: 500 13px -apple-system, sans-serif; color: var(--ink); text-align: left; cursor: pointer; }
.sheet-cat:hover { background: rgba(0, 0, 0, .05); }
.sheet-cat:active { transform: none; }
.sheet-cat.active { background: var(--blue); color: #fff; }
.sheet-cat-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-count { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.sheet-cat.active .sheet-count { color: rgba(255, 255, 255, .8); }
.sheet-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.sheet-icon svg { width: 14px; height: 14px; fill: #fff; }

.sheet-list { overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 24px; border-right: 1px solid var(--hairline); }
.sheet-list-head { display: flex; align-items: center; gap: 11px; margin: 2px 4px 6px; }
.sheet-list-head .sheet-icon { width: 34px; height: 34px; border-radius: 9px; }
.sheet-list-head .sheet-icon svg { width: 21px; height: 21px; }
.sheet-list-head h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.sheet-section { font-size: 12px; font-weight: 600; color: var(--muted); margin: 18px 6px 6px; }
.sheet-group { background: #f5f5f7; border-radius: 11px; overflow: hidden; }
.sheet-row { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 0; background: none; text-align: left; cursor: pointer;
  font-family: -apple-system, sans-serif; color: var(--ink); position: relative; }
.sheet-row + .sheet-row::before { content: ""; position: absolute; top: 0; left: 12px; right: 0; border-top: 1px solid rgba(0, 0, 0, .07); }
.sheet-row:hover { background: rgba(0, 0, 0, .035); }
.sheet-row:active { transform: none; }
.sheet-row strong { display: block; font-size: 13.5px; font-weight: 500; }
.sheet-row span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.sheet-row.active { background: var(--blue); color: #fff; }
.sheet-row.active span { color: rgba(255, 255, 255, .82); }
.sheet-row.active::before, .sheet-row.active + .sheet-row::before { border-color: transparent; }
.sheet-empty { color: var(--faint); font-size: 13px; text-align: center; margin: 40px 16px; }

.sheet-detail { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.sheet-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 20px 22px 14px; border-bottom: 1px solid var(--hairline); }
.sheet-crumb { display: block; font-size: 12px; color: var(--faint); min-height: 15px; }
.sheet-detail-head h2 { font-size: 18px; font-weight: 650; letter-spacing: -.015em; margin-top: 2px; }
.sheet-lang { display: inline-flex; background: #e8e8ed; padding: 2px; border-radius: 8px; flex-shrink: 0; }
.sheet-lang button { border: 0; background: none; padding: 4px 11px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--ink); }
.sheet-lang button.active { background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }
.sheet-preview { flex: 1; min-height: 0; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; }
.sheet-bubble { align-self: flex-end; max-width: 100%; padding: 13px 17px; border-radius: 20px; border-bottom-right-radius: 6px;
  background: var(--blue); color: #fff; font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.sheet-preview .sheet-empty { margin: auto; max-width: 260px; }
.sheet-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--hairline); }
.sheet-foot button { font-size: 13px; padding: 8px 18px; }

@media (max-width: 960px) {
  .sheet { grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 46%); }
  .sheet-list { border-right: 0; }
  .sheet-detail { grid-column: 1 / -1; border-top: 1px solid var(--hairline); }
}
@media (max-width: 620px) {
  .sheet-backdrop { padding: 10px; }
  .sheet { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) minmax(0, 46%); }
  .sheet-side { border-right: 0; border-bottom: 1px solid var(--hairline); padding: 10px; }
  .sheet-cats { display: flex; overflow-x: auto; gap: 4px; }
  .sheet-cat { width: auto; flex-shrink: 0; }
  .sheet-count { display: none; }
}

/* Açılır seçici (Trafik › Isı haritası sayfa seçimi) */
.canned-pick { font: 500 13px -apple-system, sans-serif; color: var(--ink); border: 1px solid var(--line);
  border-radius: 980px; padding: 7px 30px 7px 12px; max-width: 190px; cursor: pointer; flex-shrink: 0; appearance: none; -webkit-appearance: none;
  background: var(--page) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center / 12px; }

/* MARK: Bakım modu */
.maintenance-head { display: flex; align-items: center; gap: 14px; }
.maintenance-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #8e8e93; flex-shrink: 0;
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .1); transition: background .3s; }
.maintenance-icon svg { width: 22px; height: 22px; fill: #fff; }
.maintenance.on .maintenance-icon { background: #ff9f0a; }
.maintenance-title { flex: 1; min-width: 0; }
.maintenance-title h2 { font-size: 17px; font-weight: 600; }
.maintenance-title p { font-size: 13.5px; margin-top: 2px; }
.maintenance.on .maintenance-title p { color: #b25000; }
.maintenance-body { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.maintenance-body .grid-2 label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.maintenance-body textarea, .maintenance-body input[type=datetime-local] { font: 14.5px/1.5 -apple-system, sans-serif; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; width: 100%; outline: none; resize: vertical;
  transition: border-color .2s, box-shadow .2s; }
.maintenance-body input[type=datetime-local] { width: auto; padding: 6px 10px; font-size: 13.5px; border-radius: 9px; }
.maintenance-body textarea:focus, .maintenance-body input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 227, .14); }
.maintenance-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.maintenance-foot label.inline { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.maintenance-foot .grow { flex: 1; min-width: 220px; font-size: 12.5px; }
.maintenance-foot .button, .maintenance-foot button { font-size: 13px; padding: 8px 16px; }

/* iOS / macOS tarzı anahtar */
.ios-switch { position: relative; display: inline-block; width: 51px; height: 31px; flex-shrink: 0; cursor: pointer; }
.ios-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ios-switch span { position: absolute; inset: 0; border-radius: 31px; background: #e9e9eb; transition: background .25s var(--ease); pointer-events: none; }
.ios-switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .16), 0 0 0 .5px rgba(0, 0, 0, .04); transition: transform .3s var(--ease); }
.ios-switch input:checked + span { background: var(--green); }
.ios-switch input:checked + span::after { transform: translateX(20px); }
.ios-switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0, 113, 227, .35); }

.maintenance-strip { display: block; margin: -8px 0 18px; padding: 11px 16px; border-radius: 12px; font-size: 13.5px;
  background: rgba(255, 159, 10, .14); color: #8a4b00; }
.maintenance-strip strong { font-weight: 600; }
.maintenance-strip:hover { background: rgba(255, 159, 10, .2); }
.sheet-search input[type=search] { appearance: none; -webkit-appearance: none; border: 0; border-radius: 0; padding: 0; margin: 0;
  height: auto; background: none; box-shadow: none; outline: 0; }
.sheet-search input[type=search]::-webkit-search-decoration { display: none; }

/* MARK: Rehber bağlantıları, kaydetme penceresi, taslak */
.composer-bar { flex-wrap: nowrap; }
.canned-open.icon-only { padding: 7px 9px; }
.canned-open.icon-only svg { margin: 0; }
.msg .bubble a, .sheet-bubble a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.msg.in .bubble a { color: var(--blue); text-decoration: none; }
.draft-note { font-size: 12px; color: #b25000; background: rgba(255, 159, 10, .12); border-radius: 980px; padding: 3px 9px; flex-shrink: 0; }
.sheet.dialog { width: min(400px, 100%); height: auto; display: block; padding: 26px 24px 20px; text-align: center; border-radius: 16px; }
.sheet.dialog .dialog-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 13px; background: #ff9f0a;
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .1); }
.sheet.dialog .dialog-icon svg { width: 26px; height: 26px; fill: #fff; }
.sheet.dialog h2 { font-size: 16px; font-weight: 650; }
.sheet.dialog p { font-size: 12.5px; line-height: 1.5; margin: 6px 4px 16px; }
.sheet.dialog input[type=text] { width: 100%; font: 14px -apple-system, sans-serif; color: var(--ink); padding: 9px 12px; border: 1px solid var(--line);
  border-radius: 9px; outline: none; transition: border-color .2s, box-shadow .2s; }
.sheet.dialog input[type=text]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 227, .2); }
.dialog-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.dialog-buttons button { font-size: 13.5px; padding: 9px 0; }
@media (max-width: 900px) { .composer-bar { flex-wrap: wrap; } .composer-bar .muted { order: 5; flex-basis: 100%; } }
.maintenance-foot label.check { gap: 7px; color: var(--ink); cursor: pointer; }
.maintenance-foot label.check input { width: 16px; height: 16px; accent-color: var(--blue); margin: 0; }
.sheet .sheet-cat, .sheet .sheet-row { transition: none; }
.sheet-foot [data-role=delete] { margin-right: auto; }
.auto-announce { margin: -4px 0 14px; }
.auto-announce .switch-row { font-size: 14px !important; }
.auto-announce .muted { font-size: 12.5px; }
.cards.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1200px) { .cards.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .cards.five { grid-template-columns: 1fr 1fr; } }
.share .bar-value small { color: var(--faint); font-weight: 500; margin-left: 4px; }

/* Destek: Mac'ler ve canlı destek oturumu */
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.02em; }
.stat strong.small { font-size: 20px; }
.back-link { margin: 0 0 14px; }
.support-session .pill { display: inline-flex; align-items: center; gap: 6px; }
.support-session .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.support-session .pill.ok .dot { animation: support-pulse 1.6s var(--ease) infinite; }
@keyframes support-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.support-code { display: grid; justify-items: center; gap: 10px; padding: 12px 0 18px; text-align: center; }
.support-code .code { font: 600 44px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.14em; user-select: all; }
.support-code .code span { display: inline-block; width: 18px; }
.countdown { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.support-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0 10px; }
.support-actions .inline-form { flex: 1 1 320px; }
.support-actions label.inline { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.support-actions select { font: 15px -apple-system, sans-serif; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); }
.support-commands { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--hairline); }
.support-commands li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 2px; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.support-commands li:last-child { border-bottom: 0; }
.status-text { color: var(--muted); text-align: right; }
.status-text.done { color: #248a3d; }
.status-text.failed, .status-text.declined { color: var(--red); }
.status-text.sent, .status-text.running { color: var(--blue); }
@media (max-width: 720px) {
  .support-code .code { font-size: 34px; }
  .support-actions label.inline { white-space: normal; flex-wrap: wrap; }
  .support-commands li { flex-direction: column; gap: 4px; }
  .status-text { text-align: left; }
}

/* Destek › Canlı görünüm: Tuno'nun Mac'teki penceresinin aynısı (Sistem Ayarları düzeni) */
.mirror-card { padding-bottom: 18px; }
.mac-window { --mac-line: rgba(0, 0, 0, .09); border-radius: 12px; overflow: hidden; background: #f6f6f6;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .22), 0 22px 50px -18px rgba(0, 0, 0, .35); font: 13px/1.38 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  color: #1d1d1f; letter-spacing: 0; opacity: 0; transform: translateY(6px) scale(.995); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.mac-window.ready { opacity: 1; transform: none; }
.mac-window .empty { padding: 60px 0; }
.mac-titlebar { position: relative; height: 38px; display: flex; align-items: center; justify-content: center; background: #ececec; border-bottom: 1px solid var(--mac-line); }
.mac-titlebar .lights { position: absolute; left: 14px; display: flex; gap: 8px; }
.mac-titlebar .lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.12); }
.mac-titlebar .lights i:nth-child(2) { background: #febc2e; }
.mac-titlebar .lights i:nth-child(3) { background: #28c840; }
.mac-title { font-weight: 600; font-size: 13px; color: #4a4a4a; transition: opacity .2s; }
.mac-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); height: 560px; }
.mac-sidebar { background: #e9e9eb; border-right: 1px solid var(--mac-line); padding: 12px 10px; overflow-y: auto; }
.mac-brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; }
.mac-brand b { display: block; font-size: 13px; }
.mac-brand small { color: #6e6e73; font-size: 11px; }
.mac-app { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(#2c2c2e, #1c1c1e); display: flex; align-items: center; justify-content: center; gap: 2px; }
.mac-app i { width: 2.5px; border-radius: 2px; background: #fff; height: 8px; }
.mac-app i:nth-child(2), .mac-app i:nth-child(5) { height: 14px; }
.mac-app i:nth-child(3), .mac-app i:nth-child(4) { height: 19px; }
.mac-nav { display: grid; gap: 1px; }
.mac-nav button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 5px 8px; border: 0; border-radius: 7px; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer; transform: none; transition: background .15s; }
.mac-nav button:hover { background: rgba(0, 0, 0, .05); }
.mac-nav button.on { background: rgba(0, 0, 0, .1); }
.mac-icon { width: var(--s); height: var(--s); flex-shrink: 0; border-radius: calc(var(--s) * .26); background: linear-gradient(color-mix(in srgb, var(--c) 82%, #fff), var(--c));
  display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.08); }
.mac-icon svg { width: 68%; height: 68%; }
.mac-detail { overflow-y: auto; padding: 18px 26px 30px; scroll-behavior: smooth; }
.mac-page.enter { animation: mac-enter .35s var(--ease); }
@keyframes mac-enter { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.mac-page h3 { font-size: 20px; font-weight: 700; margin: 0 0 14px; letter-spacing: -.01em; }
.mac-page h4 { font-size: 12px; font-weight: 600; color: #3c3c43; margin: 18px 4px 6px; }
.mac-group { background: #fff; border-radius: 10px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1); overflow: hidden; }
.mac-footer { font-size: 11.5px; color: #6e6e73; margin: 6px 6px 0; }
.mac-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding: 8px 12px; position: relative; }
.mac-row + .mac-row::before { content: ""; position: absolute; top: 0; left: 12px; right: 0; border-top: 1px solid rgba(0, 0, 0, .07); }
.mac-row.dim { opacity: .45; }
.mac-label { display: grid; gap: 1px; min-width: 0; }
.mac-label small { color: #6e6e73; font-size: 11.5px; line-height: 1.35; }
.mac-value { color: #6e6e73; white-space: nowrap; }
.mac-switch { position: relative; flex-shrink: 0; width: 38px; height: 22px; padding: 0; border: 0; border-radius: 11px; background: #e3e3e6;
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); cursor: pointer; transition: background .25s var(--ease); transform: none; }
.mac-switch:hover { background: #dcdce0; }
.mac-switch i { position: absolute; top: 1px; left: 1px; width: 20px; height: 20px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.25), 0 0 0 .5px rgba(0,0,0,.06); transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.mac-switch.on, .mac-switch.on:hover { background: #0a84ff; }
.mac-switch.on i { transform: translateX(16px); }
.mac-switch:active i { width: 23px; }
.mac-switch.on:active i { transform: translateX(13px); }
.mac-switch[disabled] { opacity: .5; }
.mac-option { width: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 0; transform: none; }
.mac-option:hover { background: rgba(0, 0, 0, .03); }
.mac-option svg { width: 16px; height: 16px; fill: none; stroke: #0a84ff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.mac-option.on svg { opacity: 1; transform: none; }
.mac-seg { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); flex-shrink: 0; padding: 2px; border-radius: 7px; background: #e3e3e6; }
.mac-seg .thumb { position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc((100% - 4px) / var(--n)); border-radius: 5.5px; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 0 0 .5px rgba(0,0,0,.05); transform: translateX(calc(100% * var(--i))); transition: transform .3s var(--ease); }
.mac-seg button { position: relative; z-index: 1; border: 0; background: none; font: inherit; font-size: 12px; padding: 3px 14px; color: #3c3c43; cursor: pointer; transform: none; }
.mac-seg button.on { font-weight: 500; color: #1d1d1f; }
.mac-popup { position: relative; flex-shrink: 0; }
.mac-popup select { appearance: none; font: inherit; color: inherit; padding: 3px 26px 3px 10px; border: 0; border-radius: 6px; background: #fff;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.18), 0 1px 1.5px rgba(0,0,0,.1); cursor: pointer; max-width: 240px; }
.mac-popup::after { content: ""; position: absolute; right: 5px; top: 50%; width: 14px; height: 16px; margin-top: -8px; border-radius: 4px; background: #0a84ff
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M4 6.2 7 3.5l3 2.7M4 9.8l3 2.7 3-2.7' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; pointer-events: none; }
.mac-slider { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mac-slider output { width: 44px; text-align: right; color: #6e6e73; font-variant-numeric: tabular-nums; }
.mac-slider input { -webkit-appearance: none; appearance: none; width: 210px; height: 4px; border-radius: 2px; margin: 0; cursor: pointer;
  background: linear-gradient(90deg, #0a84ff var(--p), #dcdce0 var(--p)); }
.mac-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.3), 0 0 0 .5px rgba(0,0,0,.08); transition: transform .15s; }
.mac-slider input:active::-webkit-slider-thumb { transform: scale(1.1); }
.mac-slider input::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.mac-bands-row { align-items: flex-start; }
.mac-bands { display: grid; grid-template-columns: repeat(10, 22px); gap: 6px; }
.mac-bands span { display: grid; justify-items: center; gap: 4px; }
.mac-bands i { position: relative; width: 6px; height: 64px; border-radius: 3px; background: #e3e3e6; }
.mac-bands i::after { content: ""; position: absolute; left: -3px; width: 12px; height: 12px; border-radius: 50%; background: #af52de; box-shadow: 0 1px 2px rgba(0,0,0,.25);
  top: calc((12 - var(--g)) / 24 * 52px); transition: top .35s var(--ease); }
.mac-bands small { font-size: 10px; color: #6e6e73; }
.support-tools .tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.support-tools .tool { display: grid; gap: 6px; align-content: start; padding: 14px; border-radius: 14px; background: var(--page); }
.support-tools .tool.wide { grid-column: 1 / -1; }
.support-tools .tool > button { justify-self: start; }
.support-tools .tool .muted { font-size: 13px; }
.tool-row { display: flex; gap: 10px; align-items: center; }
.tool-row select, .tool-row textarea { flex: 1; min-width: 0; font: 14px -apple-system, sans-serif; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); resize: vertical; }
.timeline { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow-y: auto; }
.timeline li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; padding: 9px 0; position: relative; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 22px; bottom: -9px; border-left: 1.5px solid var(--hairline); }
.timeline li:last-child::before { display: none; }
.timeline .tl-dot { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--faint); }
.timeline div { display: grid; gap: 1px; }
.timeline time { font-size: 12px; }
.timeline .kind-version .tl-dot, .timeline .kind-first .tl-dot { background: var(--blue); }
.timeline .kind-crash .tl-dot { background: var(--red); }
.timeline .kind-session_join .tl-dot, .timeline .kind-command .tl-dot { background: var(--green); }
.timeline .kind-diagnostics .tl-dot, .timeline .kind-message .tl-dot { background: var(--violet); }
.diag-title { font-size: 14px; margin: 18px 0 6px; text-transform: capitalize; }
.diag { font: 12px/1.5 ui-monospace, "SF Mono", Menlo, monospace; background: var(--page); border-radius: 12px; padding: 12px 14px; overflow-x: auto; white-space: pre; margin: 0; }
.diag.log { max-height: 480px; overflow-y: auto; }
@media (max-width: 900px) {
  .mac-body { grid-template-columns: 1fr; height: auto; }
  .mac-sidebar { border-right: 0; border-bottom: 1px solid var(--mac-line); padding: 8px; }
  .mac-brand { display: none; }
  .mac-nav { display: flex; overflow-x: auto; gap: 4px; }
  .mac-nav button { width: auto; white-space: nowrap; }
  .mac-detail { max-height: 70vh; padding: 14px 14px 24px; }
  .mac-row { flex-wrap: wrap; }
  .mac-slider input { width: 150px; }
  .support-tools .tool-grid { grid-template-columns: 1fr; }
}
/* Panelin genel düğme stili canlı görünümdeki denetimlere taşmasın. */
.mac-window button { font: inherit; color: inherit; line-height: 1.38; border-radius: 0; gap: 0; }
.mac-nav button { justify-content: flex-start; gap: 8px; border-radius: 7px; padding: 5px 8px; }
.mac-option { justify-content: space-between; padding: 8px 12px; }
.mac-window .mac-switch { border-radius: 11px; padding: 0; }
.mac-seg button { justify-content: center; border-radius: 5.5px; font-size: 12px; padding: 3px 14px; color: #3c3c43; }
.mac-seg button.on { color: #1d1d1f; }
.mac-window button:active { transform: none; }
.mac-group + .mac-group, .mac-footer + .mac-group { margin-top: 16px; }

/* MARK: Telefon (≤ 720 px): taşma yok, üstte kaydırılabilir sekme çubuğu, tek elle kullanılabilir dokunma alanları */
@media (max-width: 720px) {
  html, body { overflow-x: hidden; }
  .shell { grid-template-columns: minmax(0, 1fr); padding: 0 0 12px; }
  .content { min-width: 0; margin: 0 8px; padding: 20px 14px 40px; border-radius: 20px; }
  .content > *, .card, .cards > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
  .cards, .cards.three, .cards.five { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
  .grid-2, .grid-3, .grid-2.align-start { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .card { padding: 18px 16px; border-radius: 18px; margin-bottom: 12px; }
  .card-head { flex-wrap: wrap; row-gap: 4px; margin-bottom: 12px; }
  .card-head h2 { font-size: 17px; }
  .page-head h1 { font-size: 26px; overflow-wrap: anywhere; }
  .stat strong { font-size: 24px; overflow-wrap: anywhere; }
  .stat strong.small { font-size: 17px; }
  .stat .label, .stat .hint { overflow-wrap: anywhere; }

  /* Sekmeli seçiciler ve araç çubukları yatay kayar, sarmaz. */
  .segmented { display: flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .segmented::-webkit-scrollbar { display: none; }
  .segmented a { flex-shrink: 0; }

  /* Tablolar kendi içinde kayar; sayfa taşmaz. */
  .table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .table td, .table th { padding: 11px 8px; }
  .ellipsis, .rows .clamp { max-width: 200px; }

  /* Formlar: iOS'ta yakınlaştırma olmasın (16 px), dokunma alanları büyük. */
  input[type=text], input[type=search], input[type=password], input[type=email], input[type=url], input[type=date], input[type=datetime-local],
  input[type=number], select, textarea { font-size: 16px !important; }
  .inline-form { flex-wrap: wrap; }
  .inline-form input, .inline-form select { min-width: 0; flex: 1 1 100%; }
  .form-actions { flex-wrap: wrap; }
  button, .button { min-height: 40px; }
  pre, code { white-space: pre-wrap; overflow-wrap: anywhere; }
  .diag { white-space: pre; }
  svg.chart, .chart svg { max-width: 100%; height: auto; }
  .rows li { flex-wrap: wrap; row-gap: 8px; }
  .row-tools { margin-left: auto; }
  .stat strong.mono { font-size: 19px; white-space: nowrap; }
  /* Grafiklerde olay adları dar ekranda üst üste biner; kesikli çizgi kalır, ad dokununca (başlık) görünür. */
  .chart .events text { display: none; }
  /* Sürümler: her sürüm bir satır kartı, düğmeler altta sarar (tablo yatay kaydırılmaz). */
  .table.releases { display: block; overflow: visible; white-space: normal; }
  .table.releases thead { display: none; }
  .table.releases tbody, .table.releases tr { display: block; }
  .table.releases tr { padding: 10px 0; border-bottom: 1px solid var(--hairline); }
  .table.releases tr:last-child { border-bottom: 0; }
  .table.releases td { display: inline-block; border: 0; padding: 2px 10px 2px 0; }
  .table.releases td.row-tools { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; justify-content: flex-start; padding-top: 8px; }
  /* Canlı görünüm: macOS denetimleri kendi boyutunda kalır; anahtar ve menü satırları sarmaz. */
  .mac-window button { min-height: 0; }
  .mac-row[data-type=toggle], .mac-row[data-type=menu] { flex-wrap: nowrap; }
  .mac-row[data-type=slider] .mac-slider, .mac-row[data-type=segmented] .mac-seg { margin-left: auto; }
  .support-tools .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .support-tools .tool { min-width: 0; }
  .tool-row { flex-wrap: wrap; }
  .tool-row select, .tool-row textarea { flex-basis: 100%; }
  .support-actions .inline-form { flex-basis: 100%; }
}

/* MARK: Menü düğmesi ve tam ekran menü (telefon) — sitedeki (gettuno.info) menüyle aynı: ince beyaz çubuk,
   iki çizgili düğme çarpıya döner, başlıklar sırayla kayarak gelir. Masaüstünde menü kabı görünmez (display: contents). */
.menu { display: contents; }
.menu-toggle { display: none; }
@media (max-width: 720px) {
  .shell { padding-top: 0; }
  .sidebar { position: sticky; top: 0; z-index: 40; display: flex; flex-direction: row; align-items: center; justify-content: space-between;
    height: 48px; padding: 0 6px 0 18px; margin: 0 0 8px; background: #fff; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08); }
  /* Not: buzlu cam (backdrop-filter) burada kullanılmaz; sabit konumlu tam ekran menüyü 48 px'lik çubuğun içine hapseder. */
  .brand { padding: 0; gap: 8px; }
  .brand .mark { width: 24px; height: 24px; border-radius: 6px; box-shadow: none; }
  .brand div { display: flex; align-items: baseline; gap: 6px; }
  .brand strong { font-size: 17px; }
  .brand span { font-size: 13px; }

  .menu-toggle { display: block; position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink); cursor: pointer; min-height: 0; }
  .menu-toggle:hover, .menu-toggle:active { background: none; transform: none; }
  .menu-toggle i { position: absolute; left: 14px; width: 16px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .45s cubic-bezier(.52, .16, .24, 1); }
  .menu-toggle i:first-of-type { top: 18px; }
  .menu-toggle i:last-of-type { top: 24px; }
  html.menu-open .menu-toggle i:first-of-type { transform: translateY(3px) rotate(45deg); }
  html.menu-open .menu-toggle i:last-of-type { transform: translateY(-3px) rotate(-45deg); }
  .menu-dot { position: absolute; top: 11px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); transition: opacity .2s; }
  html.menu-open .menu-dot { opacity: 0; }

  .menu { display: block; position: fixed; z-index: 39; left: 0; right: 0; top: 48px; bottom: 0; overflow-y: auto; overscroll-behavior: contain;
    padding: 18px 30px 48px; background: #fbfbfd; visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s linear .3s; }
  html.menu-open { overflow: hidden; }
  html.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .3s ease; }
  .menu nav { display: block; }
  .sidebar .menu nav a { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 8px 0; border-radius: 0; background: none;
    font-size: 26px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); flex-direction: row; }
  .sidebar .menu nav a span { display: inline; font-size: inherit; font-weight: inherit; line-height: 1.25; white-space: normal; }
  .sidebar .menu nav a svg { width: 24px; height: 24px; color: var(--faint); }
  .sidebar .menu nav a.active, .sidebar .menu nav a.active svg { color: var(--blue); }
  .sidebar .menu nav .badge { position: static; margin: 0 0 0 2px; font-size: 13px; padding: 2px 9px; }
  .menu .signout { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid #e3e3e8; }
  .menu .signout button { display: flex; align-items: center; gap: 12px; padding: 8px 0; background: none; font-size: 17px; font-weight: 500; color: #424245; min-height: 0; }
  .menu .signout span { display: inline; }
  .menu .signout svg { width: 20px; height: 20px; }
  /* Başlıklar sırayla yukarıdan kayarak gelir (gecikme JS ile --i'den). */
  .menu nav a, .menu .signout { opacity: 0; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease; }
  html.menu-open .menu nav a, html.menu-open .menu .signout { opacity: 1; transform: none;
    transition: opacity .5s ease, transform .5s cubic-bezier(.25, .1, .25, 1); transition-delay: calc(80ms + var(--i, 0) * 35ms); }
}

/* MARK: Seçici pencere (hazır yanıtlar, rehberler) telefonda: alttan açılan tam sayfa; liste tam genişlik,
   bir öğeye dokununca önizleme sağdan kayarak gelir (‹ Geri ile listeye dönülür). */
.sheet-bar, .sheet-back { display: none; }
@media (max-width: 620px) {
  .sheet-backdrop { padding: 0; place-items: end stretch; }
  .sheet { position: relative; width: 100%; height: calc(100% - 12px); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
    border-radius: 16px 16px 0 0; transform: translateY(100%); opacity: 1; transition: transform .42s cubic-bezier(.32, .72, 0, 1); }
  .sheet-backdrop.shown .sheet { transform: none; }
  .sheet-side { min-width: 0; padding: 10px 14px 10px; background: var(--card); border-bottom: 1px solid var(--hairline); }
  .sheet-bar { display: flex; align-items: center; justify-content: space-between; min-height: 36px; margin-bottom: 8px; }
  .sheet-bar strong { font-size: 17px; font-weight: 600; }
  .sheet-close { border: 0; background: none; color: var(--blue); font-size: 17px; font-weight: 400; padding: 6px 0 6px 12px; min-height: 0; }
  .sheet-search { height: 36px; margin: 0 0 10px; border-radius: 10px; }
  .sheet-search input { font-size: 16px !important; }
  .sheet-cats { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; }
  .sheet-cats::-webkit-scrollbar { display: none; }
  .sheet-cat { width: auto; flex-shrink: 0; padding: 6px 10px 6px 6px; border-radius: 18px; background: #f2f2f5; min-height: 0; }
  .sheet-cat.active { background: var(--blue); }
  .sheet-count { display: none; }
  .sheet-list { min-width: 0; border-right: 0; padding: 14px 14px calc(24px + env(safe-area-inset-bottom)); }
  .sheet-list-head { display: none; }
  .sheet-section { margin: 14px 4px 6px; }
  .sheet-row { padding: 12px 14px; }
  .sheet-row strong { font-size: 16px; }
  .sheet-row span { font-size: 14px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  /* Önizleme: listenin üstüne sağdan kayar */
  .sheet-detail { position: absolute; inset: 0; z-index: 2; grid-column: auto; border-top: 0; background: var(--card);
    transform: translateX(100%); transition: transform .38s cubic-bezier(.32, .72, 0, 1); }
  .sheet.detail-open .sheet-detail { transform: none; }
  .sheet-back { display: block; align-self: flex-start; border: 0; background: none; color: var(--blue); font-size: 17px; padding: 14px 16px 2px; min-height: 0; }
  .sheet-detail-head { flex-wrap: wrap; padding: 6px 16px 14px; }
  .sheet-detail-head h2 { font-size: 22px; font-weight: 700; }
  .sheet-preview { padding: 18px 16px; }
  .sheet-foot { flex-wrap: wrap; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .sheet-foot [data-role=cancel] { display: none; }
  .sheet-foot [data-role=insert] { flex: 1 1 auto; order: 2; padding: 14px 18px; font-size: 16px; }
  .sheet-foot [data-role=delete] { order: 1; padding: 14px 18px; font-size: 16px; }
}

/* MARK: Yanıt kutusu (telefon): tek satırda yuvarlak simge düğmeleri ve sağda Gönder; alıcı bilgisi altta tam görünür. */
@media (max-width: 720px) {
  .composer { border-radius: 16px; }
  .composer textarea { padding: 14px 16px 6px; min-height: 96px; line-height: 1.45; }
  .composer-bar { flex-wrap: wrap; justify-content: flex-start; gap: 8px; padding: 6px 10px 10px; }
  .composer-bar .canned-open { width: 40px; height: 40px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; }
  .composer-bar .canned-open span { display: none; }
  .composer-bar .canned-open svg { width: 19px; height: 19px; }
  .composer-bar button.primary { margin-left: auto; min-height: 40px; padding: 10px 24px; font-size: 15px; }
  .composer-bar .muted { order: 5; flex-basis: 100%; padding: 2px 6px 0; font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
}

/* Kullanıcılar */
.table-scroll { overflow-x: auto; }
.table.kv th { text-align: left; font-weight: 500; color: var(--muted); width: 42%; }
.filters { flex-wrap: wrap; }
.filters input[type="text"] { flex: 1 1 220px; }
.device-row { margin-top: 6px; }
.composer-note { margin: 14px 0 0; }

/* Tıklanabilir satır: satırın tamamı ayrıntıya götürür */
.table tr[data-href] { cursor: pointer; }
.table tr[data-href] td { transition: background-color .15s; }
.table tr[data-href]:hover td { background: rgba(0, 0, 0, .035); }
.table tr[data-href]:hover td:first-child { border-radius: 10px 0 0 10px; }
.table tr[data-href]:hover td:last-child { border-radius: 0 10px 10px 0; }
