/* ==========================================================================
   Restoran paneli
   Sipariş ekranı mutfak/kasa tabletinde açık kalır: büyük hedefler,
   yüksek kontrast, siparişler adisyon fişi olarak görünür.
   ========================================================================== */

body.is-panel { background: var(--tile); }

.p-shell { min-height: 100dvh; display: grid; grid-template-columns: 1fr; }
@media (min-width: 960px) { .p-shell { grid-template-columns: 252px 1fr; } }

/* Yan menü */
.p-side {
  position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(290px, 86vw);
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1.1rem 0.85rem 1rem; background: var(--ink); color: #E7EBF3;
  transform: translateX(-102%); transition: transform 0.22s var(--ease);
  overflow-y: auto;
}
.p-side.is-open { transform: none; box-shadow: var(--shadow-2); }
@media (min-width: 960px) {
  .p-side { position: sticky; top: 0; height: 100dvh; width: auto; transform: none; }
}
.p-side .brand { color: #fff; padding: 0.15rem 0.5rem 0.9rem; }
.p-venue-box { padding: 0.75rem 0.75rem 0.85rem; margin-bottom: 0.6rem; border-radius: var(--r-m); background: rgba(255, 255, 255, 0.06); }
.p-venue-box strong { display: block; font-size: 1.02rem; color: #fff; line-height: 1.25; }
.p-venue-box a { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.35rem; font-size: var(--fs-xs); color: #B9C3D6; text-decoration: none; }
.p-venue-box a:hover { color: #fff; }
.p-acting { margin-top: 0.5rem; font-size: var(--fs-xs); color: #FFD08A; }
.p-acting button { display: block; margin-top: 0.3rem; padding: 0; border: 0; background: none; color: #fff; text-decoration: underline; font-size: var(--fs-xs); }
.p-nav { display: grid; gap: 2px; }
.p-nav a {
  display: flex; align-items: center; gap: 0.7rem; min-height: 44px; padding: 0 0.75rem;
  border-radius: 10px; color: #C9D1E0; text-decoration: none; font-weight: 600; font-size: 0.97rem;
}
.p-nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.p-nav a[aria-current="page"] { background: #fff; color: var(--ink); }
.p-nav .badge {
  margin-left: auto; min-width: 24px; height: 24px; padding: 0 0.45rem; border-radius: 999px;
  display: inline-grid; place-items: center; background: var(--bole); color: #fff; font-size: var(--fs-xs); font-weight: 750;
}
.p-nav-sep { height: 1px; background: rgba(255, 255, 255, 0.1); margin: 0.6rem 0.5rem; }
.p-side-foot { margin-top: auto; display: grid; gap: 0.35rem; padding-top: 0.8rem; }
.p-side-foot button {
  display: flex; align-items: center; gap: 0.7rem; min-height: 40px; padding: 0 0.75rem; border: 0; border-radius: 10px;
  background: transparent; color: #C9D1E0; font-weight: 600; font-size: var(--fs-s); text-align: left;
}
.p-side-foot button:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.p-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(20, 32, 56, 0.4); }
@media (min-width: 960px) { .p-scrim { display: none; } }

/* Üst çubuk (mobil) */
.p-topbar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.75rem; background: var(--tile); border-bottom: 1px solid var(--line);
}
.p-topbar strong { flex: 1; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 960px) { .p-topbar { display: none; } }

/* İçerik */
.p-main { min-width: 0; padding: 1.25rem 1rem 3rem; }
@media (min-width: 960px) { .p-main { padding: 2rem 2.25rem 4rem; } }
.p-page { max-width: 1240px; margin: 0 auto; }
.p-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; margin-bottom: 1.25rem; }
.p-head h1 { font-size: var(--fs-2xl); font-weight: 780; font-stretch: 88%; letter-spacing: -0.02em; line-height: 1.1; }
.p-head p { color: var(--ink-2); margin-top: 0.3rem; max-width: 64ch; }
.p-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.p-card { background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-1); padding: 1.2rem; }
.p-card + .p-card { margin-top: 1rem; }
.p-card h2 { font-size: var(--fs-l); font-weight: 720; line-height: 1.25; }
.p-card h2 + p { color: var(--ink-2); margin-top: 0.25rem; font-size: var(--fs-s); }
.p-grid-2 { display: grid; gap: 1rem; }
@media (min-width: 900px) { .p-grid-2 { grid-template-columns: 1fr 1fr; } }
.p-form { display: grid; gap: 1rem; }
.p-form-row { display: grid; gap: 1rem; }
@media (min-width: 720px) { .p-form-row { grid-template-columns: 1fr 1fr; } }
.p-toggle-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line); }
.p-toggle-row:first-of-type { border-top: 0; }
.p-toggle-row strong { display: block; font-weight: 650; }
.p-toggle-row small { display: block; color: var(--ink-3); font-size: var(--fs-xs); margin-top: 0.15rem; }
.p-save-bar { display: flex; justify-content: flex-end; gap: 0.6rem; margin-top: 1.25rem; }
.p-empty { text-align: center; padding: 2.5rem 1rem; color: var(--ink-2); }
.p-empty h2 { font-size: var(--fs-xl); color: var(--ink); margin-bottom: 0.4rem; }
.p-empty .p-actions { justify-content: center; margin-top: 1rem; }
.p-err { padding: 0.7rem 0.85rem; border-radius: var(--r-m); background: var(--bole-wash); color: var(--bole); font-size: var(--fs-s); font-weight: 600; }
.p-ok { padding: 0.7rem 0.85rem; border-radius: var(--r-m); background: var(--turq-wash); color: var(--turq); font-size: var(--fs-s); font-weight: 600; }
.p-info { padding: 0.75rem 0.9rem; border-radius: var(--r-m); background: var(--cobalt-wash); color: var(--cobalt-ink); font-size: var(--fs-s); }
.p-pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; background: var(--tile); color: var(--ink-2); white-space: nowrap; }
.p-pill.is-turq { background: var(--turq-wash); color: var(--turq); }
.p-pill.is-bole { background: var(--bole-wash); color: var(--bole); }
.p-pill.is-amber { background: var(--amber-wash); color: var(--amber); }

/* Giriş ekranları */
.p-auth { min-height: 100dvh; display: grid; place-items: center; padding: 2rem 1rem; }
.p-auth-card { width: min(440px, 100%); }
.p-auth-card .brand { margin-bottom: 1.6rem; }
.p-auth-card h1 { font-size: var(--fs-2xl); font-weight: 780; font-stretch: 88%; letter-spacing: -0.02em; line-height: 1.1; }
.p-auth-card > p { color: var(--ink-2); margin: 0.4rem 0 1.4rem; }
.p-auth-links { display: grid; gap: 0.5rem; margin-top: 1.1rem; font-size: var(--fs-s); }
.p-auth-links a { color: var(--cobalt); font-weight: 600; text-decoration: none; }
.p-auth-links a:hover { text-decoration: underline; }
.p-demo-hint { margin-top: 1.4rem; padding: 0.8rem 0.9rem; border-radius: var(--r-m); background: var(--amber-wash); color: var(--amber); font-size: var(--fs-xs); font-weight: 600; line-height: 1.5; }

/* Siparişler */
.p-live { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--fs-s); font-weight: 650; color: var(--turq); }
.p-live i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.p-live.is-off { color: var(--bole); }
.p-alerts {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start;
  padding: 1rem 1.1rem; margin-bottom: 1rem; border-radius: var(--r-l);
  background: var(--ink); color: #fff;
}
.p-alerts .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); }
.p-alerts strong { display: block; font-size: 1.05rem; }
.p-alerts p { color: #C9D1E0; font-size: var(--fs-s); margin: 0.2rem 0 0.75rem; max-width: 60ch; }
.p-calls { display: grid; gap: 0.6rem; margin-bottom: 1rem; }
@media (min-width: 720px) { .p-calls { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); } }
.p-call {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0.9rem; border-radius: var(--r-l); background: var(--amber-wash); border: 1.5px solid #F3C77A;
}
.p-call .hand { font-size: 1.9rem; line-height: 1; }
.p-call b { display: flex; align-items: center; gap: 0.35rem; font-weight: 700; }
@media (max-width: 420px) { .p-call { grid-template-columns: auto 1fr; } .p-call > .btn { grid-column: 1 / -1; } }
.p-call small { color: var(--ink-3); font-size: var(--fs-xs); }
.p-board { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 900px) { .p-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.p-col { background: color-mix(in srgb, var(--ink) 4%, var(--tile)); border-radius: var(--r-l); padding: 0.75rem; min-height: 140px; }
.p-col-head { display: flex; align-items: center; justify-content: space-between; padding: 0.2rem 0.3rem 0.7rem; font-weight: 720; }
.p-col-head .n:empty { display: none; }
.p-col-head .n { min-width: 28px; height: 28px; padding: 0 0.5rem; border-radius: 999px; display: inline-grid; place-items: center; background: var(--paper); font-size: var(--fs-s); }
.p-col.is-new .p-col-head .n:not(:empty) { background: var(--bole); color: #fff; }
.p-col-empty { padding: 1.5rem 0.5rem; text-align: center; color: var(--ink-3); font-size: var(--fs-s); }
.p-tickets { display: grid; gap: 0.85rem; }
.p-ticket .adisyon { padding: 1.35rem 1rem 0.9rem; }
.p-ticket .adisyon-table { font-size: 2.2rem; margin: 0.15rem 0 0.35rem; }
.p-ticket .adisyon-line { grid-template-columns: 2.4rem 1fr auto; padding: 0.4rem 0; }
.p-ticket .adisyon-line .qty { font-size: 1.5rem; }
.p-ticket .adisyon-sum .total { font-size: 1.12rem; }
.p-ticket-badges { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.45rem; }
.p-ticket-actions { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; margin-top: 0.8rem; }
.p-ticket.is-fresh { animation: ticket-in 0.5s var(--ease); }
.p-ticket.is-new .adisyon { box-shadow: inset 4px 0 0 var(--amber); }
@keyframes ticket-in { from { transform: translateY(-14px) rotate(-1deg); opacity: 0; } }
.p-history { margin-top: 1.5rem; }
.p-history summary { cursor: pointer; font-weight: 700; padding: 0.4rem 0; }
.p-history table { width: 100%; border-collapse: collapse; margin-top: 0.6rem; font-size: var(--fs-s); }
.p-history td, .p-history th { padding: 0.55rem 0.5rem; border-bottom: 1px solid var(--line); text-align: left; }
.p-history th { color: var(--ink-3); font-weight: 600; font-size: var(--fs-xs); }
.p-history td.num, .p-history th.num { text-align: right; }
.p-start { margin-bottom: 1rem; }
.p-start ul { display: grid; gap: 0.4rem; margin-top: 0.7rem; }
.p-start li a { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-weight: 600; padding: 0.35rem 0; }
.p-start li a:hover { color: var(--cobalt); }
.p-start li .tick { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; }
.p-start li.is-done .tick { background: var(--turq); border-color: var(--turq); color: #fff; }
.p-start li.is-done a { color: var(--ink-3); text-decoration: line-through; }

/* Menü düzenleyici */
.p-cat { padding: 0; overflow: hidden; }
.p-cat-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; padding: 0.85rem 1rem;
  background: color-mix(in srgb, var(--ink) 3%, var(--paper)); border-bottom: 1px solid var(--line);
}
.p-cat-head h2 { font-size: 1.12rem; flex: 1; min-width: 10rem; }
.p-cat-head h2 small { font-weight: 500; color: var(--ink-3); font-size: var(--fs-s); margin-left: 0.4rem; }
.p-row-tools { display: flex; gap: 0.15rem; }
.p-items { display: grid; }
.p-item {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 0.75rem;
  padding: 0.7rem 1rem; border-bottom: 1px solid var(--line);
}
.p-item:last-child { border-bottom: 0; }
.p-item-thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--tile); display: grid; place-items: center; color: var(--ink-3); }
.p-item-main { min-width: 0; }
.p-item-main strong { display: block; font-weight: 650; line-height: 1.25; }
.p-item-main small { display: block; color: var(--ink-3); font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-item-side { display: flex; align-items: center; gap: 0.6rem; }
.p-item-price { font-weight: 720; font-variant-numeric: tabular-nums; min-width: 5.5rem; text-align: right; }
.p-item.is-off .p-item-main strong { color: var(--ink-3); }
@media (max-width: 719px) {
  .p-item { grid-template-columns: 44px 1fr; }
  .p-item-thumb { width: 44px; height: 44px; }
  .p-item-side { grid-column: 1 / -1; justify-content: space-between; }
  .p-item-price { text-align: left; min-width: 0; }
}

/* Görsel seçici */
.p-image-pick { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.p-image-pick .preview { width: 84px; height: 84px; border-radius: 14px; background: var(--tile); border: 1px dashed var(--line-2); overflow: hidden; display: grid; place-items: center; color: var(--ink-3); flex: none; }
.p-image-pick .preview.is-wide { width: 168px; height: 84px; }
.p-image-pick .preview img { width: 100%; height: 100%; object-fit: cover; }
.p-image-pick input[type="file"] { display: none; }

/* Renk seçici */
.p-swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.p-swatch { width: 40px; height: 40px; border-radius: 12px; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.p-swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 3px #fff; }
.p-color-input { width: 52px; height: 40px; padding: 2px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); }

/* İndirim önizlemesi */
.p-phone {
  width: min(360px, 100%); margin: 0 auto; padding: 1rem 0.85rem 1.25rem; border-radius: 30px;
  background: color-mix(in srgb, var(--accent) 5%, var(--tile)); border: 8px solid var(--ink);
}
.p-phone .g-venue { font-size: 2rem; }
.p-phone .g-hero { padding: 0.4rem 0 0.8rem; }
.p-pct-input { max-width: 9rem; }

/* Masalar */
.p-tables { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.p-table-card { display: grid; gap: 0.6rem; justify-items: center; text-align: center; padding: 1rem; }
.p-table-card .hand { font-size: 2rem; line-height: 1; }
.p-table-card svg[role="img"] { width: 150px; height: 150px; }
.p-table-card .p-row-tools { flex-wrap: wrap; justify-content: center; }
.p-table-card.is-off { opacity: 0.6; }
.p-link-box { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.p-link-box code { flex: 1; min-width: 12rem; padding: 0.6rem 0.75rem; border-radius: var(--r-m); background: var(--tile); font-size: var(--fs-s); overflow-wrap: anywhere; }
.p-steps-list { counter-reset: s; display: grid; gap: 0.55rem; margin-top: 0.8rem; }
.p-steps-list li { counter-increment: s; display: grid; grid-template-columns: 2rem 1fr; gap: 0.5rem; align-items: start; color: var(--ink-2); }
.p-steps-list li::before { content: counter(s); width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt-wash); color: var(--cobalt); font-weight: 750; font-size: var(--fs-xs); }

/* İstatistik */
.p-kpis { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 1rem; }
.p-kpi { background: var(--paper); border-radius: var(--r-l); padding: 1rem 1.05rem; box-shadow: var(--shadow-1); }
.p-kpi span { display: block; color: var(--ink-2); font-size: var(--fs-s); font-weight: 600; }
.p-kpi strong { display: block; margin-top: 0.3rem; font-size: 1.75rem; font-weight: 780; font-stretch: 88%; line-height: 1.1; }
.p-funnel { display: grid; gap: 0.9rem; margin-top: 0.9rem; }
.p-bar-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.35rem 0.75rem; font-size: var(--fs-s); }
.p-bar-row .p-bar-track { grid-column: 1 / -1; grid-row: 2; }
.p-bar-row .num { grid-row: 1; grid-column: 2; }
.p-bar-track { height: 10px; border-radius: 5px; background: var(--cobalt-wash); overflow: hidden; }
.p-bar-fill { height: 100%; border-radius: 5px; background: var(--cobalt); }
.p-bar-row .num { min-width: 3rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-bar-row .num small { color: var(--ink-3); font-size: var(--fs-s); }
.p-chart { width: 100%; height: auto; display: block; margin-top: 0.8rem; }
.p-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--ink-2); margin-top: 0.6rem; }
.p-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 0.35rem; vertical-align: -1px; }
.p-seg { display: inline-flex; padding: 3px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.p-seg button { min-height: 36px; padding: 0 0.9rem; border: 0; border-radius: 9px; background: transparent; font-weight: 650; font-size: var(--fs-s); color: var(--ink-2); }
.p-seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 32, 56, 0.12); }

/* Tablo */
.p-table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.p-table th, .p-table td { padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.p-table th { color: var(--ink-3); font-weight: 600; font-size: var(--fs-xs); }
.p-table-wrap { overflow-x: auto; }

/* Ekler: formlar, kartlar, grafikler */
.p-auth-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.p-auth-card .p-auth-top .brand { margin-bottom: 0; }
.input-group > button.addon { cursor: pointer; color: var(--ink-2); padding: 0 0.75rem; }
.input-group > button.addon:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, var(--tile)); }
.p-row-between { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.p-call b svg { vertical-align: -3px; }
.p-stack { display: grid; gap: 1rem; align-content: start; }
.p-stack > .p-card + .p-card, .p-tables > .p-card + .p-card, .p-grid-2 > .p-card + .p-card, .p-grid-3 > .p-card + .p-card, .p-menu > .p-card + .p-card { margin-top: 0; }
.p-grid-3 { display: grid; gap: 1rem; }
@media (min-width: 900px) { .p-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@media (min-width: 1100px) {
  .p-grid-aside { grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr); }
  .p-sticky { position: sticky; top: 1.5rem; align-self: start; }
}
.p-card-title { display: flex; align-items: flex-start; gap: 0.85rem; }
.p-card-title .p-toggle-row { flex: 1; padding: 0; border: 0; }
.p-card-title + .p-form { margin-top: 1.1rem; }
.p-card-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.p-card-icon.is-ig { background: #FCE8F1; color: #B1366F; }
.p-card-icon.is-g { background: var(--amber-wash); color: var(--amber); }
.p-phone .g-task, .p-phone .g-cta { pointer-events: none; }
.p-link { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.p-link:hover { color: var(--cobalt); text-decoration: underline; }
.switch-text { font-size: var(--fs-s); font-weight: 600; color: var(--ink-2); }
.p-item .switch-text { min-width: 4.4em; }
@media (max-width: 479px) { .p-item .switch-text { display: none; } }
.p-danger-text { color: var(--bole); }
.modal-actions .p-grow { margin-right: auto; }
.p-more summary { cursor: pointer; font-size: var(--fs-s); font-weight: 650; color: var(--cobalt); padding: 0.2rem 0; }
.p-more[open] summary { margin-bottom: 0.8rem; }
.p-radios { border: 0; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.p-radio { display: flex; align-items: center; gap: 0.6rem; font-size: var(--fs-s); font-weight: 600; cursor: pointer; }
.p-radio input { width: 18px; height: 18px; accent-color: var(--cobalt); }
.p-import-list { margin-top: 0.5rem; display: grid; gap: 0.2rem; font-size: var(--fs-s); color: var(--ink-2); }
.p-menu { display: grid; gap: 1rem; }
.p-accent-sample { pointer-events: none; margin-left: 0.4rem; }
.p-inline { display: flex; gap: 0.4rem; align-items: center; }
.p-inline .input { flex: 1; min-width: 0; }
.p-code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 650; letter-spacing: 0.02em; font-size: 0.92em; }
.p-narrow { max-width: 760px; }
.p-narrow .p-card + .p-card { margin-top: 1rem; }
.p-table-card .switch { justify-content: center; }
.p-card > .p-history:first-child { margin-top: 0; }
.p-chart-wrap { position: relative; margin-top: 0.6rem; }
.p-chart { display: block; max-width: 100%; height: auto; margin-top: 0; }
.p-chart .p-grid { stroke: var(--line); stroke-width: 1; }
.p-chart .p-axis { stroke: var(--line-2); stroke-width: 1; }
.p-chart .p-tick { fill: var(--ink-3); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.p-chart .p-val { fill: var(--ink-2); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.p-chart .p-col-bar { fill: var(--cobalt); transition: fill 0.12s; }
.p-chart .p-col-bar.is-hover { fill: #4A63CF; }
.p-chart .p-hit { fill: transparent; outline: none; }
.p-chart .p-hit:focus-visible { fill: color-mix(in srgb, var(--cobalt) 8%, transparent); }
.p-tip { position: absolute; z-index: 2; pointer-events: none; display: grid; gap: 1px; padding: 0.45rem 0.65rem; border-radius: 10px; background: var(--ink); color: #fff; font-size: var(--fs-xs); white-space: nowrap; box-shadow: var(--shadow-2); }
.p-tip strong { font-size: 0.95rem; font-weight: 700; }
.p-tip span { color: #C9D1E0; }
.p-chart-empty { padding: 2.5rem 0; text-align: center; color: var(--ink-3); font-size: var(--fs-s); }
.p-funnel-note { font-size: var(--fs-xs); margin: -0.35rem 0 0.75rem; }

/* Yazdırma: sadece QR kartları */
#print-root { display: none; }
@media print {
  @page { size: A4; margin: 10mm; }
  body.is-printing > *:not(#print-root) { display: none !important; }
  body.is-printing #print-root { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6mm; }
  .print-card {
    break-inside: avoid; border: 0.4mm dashed #9AA3B5; border-radius: 4mm; padding: 6mm 5mm 5mm;
    display: grid; justify-items: center; gap: 2mm; text-align: center; color: #142038; height: 130mm;
  }
  .print-card .v { font-size: 13pt; font-weight: 750; }
  .print-card .hand { font-size: 26pt; line-height: 1; color: #2340B8; }
  .print-card svg { width: 62mm; height: 62mm; }
  .print-card .line { font-size: 10.5pt; font-weight: 600; }
  .print-card .b { display: inline-flex; align-items: center; gap: 1.5mm; font-size: 8pt; color: #66718A; margin-top: auto; }
  .print-card .b svg { width: 4mm; height: 4mm; }
}
