/* Randevu v1.2 prototip stilleri (tasarım §10). Tema değişkenlerini BU dosya tanımlamaz: önce
   gk-theme-randevu-default.css (paket serileştiricisinin gerçek çıktısı) yüklenir, taslak ekranlarda arkasından
   gk-theme-draft-a22.css gelir. Burada yalnız (1) Randevu'nun uygulamaya özgü kuralları (src/ui/tokens.css'te kalacak
   olanlar: *-surface, --brand-edge, başlık ölçeği, odak çizgisi, font bağlamaları) ve (2) paket bileşenlerinin
   sınıf dizgilerinin (src/components/*.tsx, tarball 4f791f7) düz CSS karşılığı var. Üretim kodu değildir. */

@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Manrope Variable'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(fonts/manrope-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope Variable'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(fonts/manrope-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- (1) Randevu'ya özgü kurallar (tokens.css'te kalır; §10.10.1) ---------- */
:root {
  --font-inter: 'Inter Variable', ui-sans-serif, system-ui, sans-serif;
  --font-manrope: 'Manrope Variable', ui-sans-serif, system-ui, sans-serif;
  --success-surface: #ECF8EF; --warning-surface: #FFF6E5; --destructive-surface: #FEF3F2;
  --brand-edge: #0F766E;          /* randevu-app-tokens <style>'ı; taslakta BrandEdgeSync yeniden hesaplar */
  --spacing: var(--gk-spacing-unit, 4px);
}
.dark { --success-surface: #10301B; --warning-surface: #362710; --destructive-surface: #3B1512; }
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { font-size: var(--text-base); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-body);
  font-weight: var(--font-weight-body); line-height: var(--leading-body); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: var(--font-weight-heading); line-height: var(--leading-heading); }
/* §10.10.3: paketin base katmanı başlığa boyut vermez; v1.1 ölçeği korunur, ağırlık temadan izlenir. */
h1 { font-size: var(--text-xl); }
h2 { font-size: var(--text-lg); font-weight: max(100, calc(var(--font-weight-heading) - 50)); }
h3 { font-size: var(--text-base); font-weight: max(100, calc(var(--font-weight-heading) - 50)); }
p { margin: 0; }
a { color: var(--foreground); text-underline-offset: 2px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
/* §10.8: tek odak görünümü — 2 px --ring + 2 px boşluk (paket primitifleriyle aynı geometri). */
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -100px; z-index: 60; padding: 8px 16px; background: var(--card); border: 1px solid var(--input); border-radius: var(--radius-md); font-weight: 600; }
.skip-link:focus { top: 8px; }

.muted { color: var(--muted-foreground); }
.text-xs { font-size: var(--text-xs); } .text-sm { font-size: var(--text-sm); } .text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); } .text-xl { font-size: var(--text-xl); } .text-3xl { font-size: var(--text-3xl); }
.fw-500 { font-weight: 500; } .fw-600 { font-weight: 600; } .fw-650 { font-weight: 650; } .fw-700 { font-weight: 700; }
.tabular { font-variant-numeric: tabular-nums; }
.stack { display: grid; gap: 16px; } .stack-sm { display: grid; gap: 8px; } .stack-lg { display: grid; gap: 24px; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wrap-any { overflow-wrap: anywhere; }

/* ---------- (2) Paket primitifleri (sınıf dizgilerinin karşılığı) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 4px 16px;
  border: 1px solid transparent; border-radius: var(--radius-md); background: transparent; color: var(--foreground);
  font-size: var(--text-sm); line-height: 1; font-weight: 500; white-space: nowrap; text-decoration: none; cursor: pointer; }
.btn svg { flex: none; }
.btn:focus-visible, .input:focus-visible, .tab:focus-visible, .choice:focus-visible, .slot:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-outline { background: var(--background); border-color: var(--border); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.dark .btn-outline { border-color: var(--input); background: color-mix(in srgb, var(--input) 30%, transparent); }
.btn-ghost:hover, .btn-outline:hover { background: var(--accent); }
.btn-destructive { background: var(--destructive); color: var(--destructive-foreground); }
.btn-danger-outline { background: var(--background); border-color: var(--destructive); color: var(--destructive); }
.btn-sm { min-height: 32px; padding: 0 12px; gap: 6px; }
.btn-lg { min-height: 40px; padding: 0 24px; }
.btn-icon { width: 36px; padding: 0; } .btn-icon-sm { width: 32px; min-height: 32px; padding: 0; }
.btn-tall { min-height: 48px; font-size: var(--text-base); }
.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-split { display: inline-flex; flex: none; } .btn-split .btn:first-child { border-start-end-radius: 0; border-end-end-radius: 0; }
.btn-split .btn:last-child { border-start-start-radius: 0; border-end-start-radius: 0; border-inline-start: 1px solid color-mix(in srgb, var(--primary-foreground) 25%, transparent); padding: 0 8px; }
.input { display: block; width: 100%; min-height: 36px; padding: 4px 12px; border: 1px solid var(--input); border-radius: var(--radius-md);
  background: transparent; font-size: var(--text-sm); line-height: 1; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.dark .input { background: color-mix(in srgb, var(--input) 30%, transparent); }
.input.tall { min-height: 48px; font-size: var(--text-base); }
.input[aria-invalid="true"] { border-color: var(--destructive); }
.input.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.label { display: block; font-size: var(--text-sm); font-weight: 500; line-height: 1.2; }
.help { font-size: var(--text-sm); color: var(--muted-foreground); }
.field-msg { display: flex; gap: 6px; align-items: flex-start; color: var(--destructive); font-size: var(--text-sm); font-weight: 600; }
.field-msg svg { margin-top: 2px; }
@media (pointer: coarse) {
  .btn, .input, .tab { min-height: 44px; } .btn-icon, .btn-icon-sm { min-width: 44px; }
  .input { font-size: max(16px, var(--text-sm)); }
}
.card { background: var(--card); color: var(--card-foreground); border: 1px solid var(--surface-1-border); border-radius: var(--radius-xl); box-shadow: var(--surface-1-shadow); }
.card-pad { padding: 20px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border: 1px solid transparent; border-radius: 999px; font-size: var(--text-xs); line-height: 1; font-weight: 500; white-space: nowrap; }
.badge-secondary { background: var(--secondary); color: var(--secondary-foreground); }
.badge-outline { border-color: var(--border); }
.badge-warning { background: var(--warning); color: var(--warning-foreground); }
.alert { display: grid; grid-template-columns: 16px 1fr; gap: 2px 12px; align-items: start; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--card); font-size: var(--text-sm); }
.alert > svg { margin-top: 2px; color: var(--muted-foreground); }
.alert > div { display: grid; gap: 4px; }
.alert .alert-title { font-weight: 500; }
.alert-success { border-color: var(--success); background: var(--success-surface); } .alert-success > svg { color: var(--success); }
.alert-warning { border-color: var(--warning); background: var(--warning-surface); } .alert-warning > svg { color: var(--warning); }
.alert-danger { border-color: var(--destructive); background: var(--destructive-surface); } .alert-danger > svg { color: var(--destructive); }
.tabs-list { display: inline-flex; align-items: stretch; padding: 3px; min-height: 36px; border-radius: var(--radius-lg); background: var(--muted); color: var(--muted-foreground); }
.tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 4px 10px; border: 1px solid transparent; border-radius: var(--radius-md);
  background: none; color: var(--muted-foreground); font-size: var(--text-sm); font-weight: 500; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; }
.tab[aria-selected="true"], .tab[aria-current="page"], .tab[aria-pressed="true"] { background: var(--background); color: var(--foreground); box-shadow: var(--shadow-sm); }
.dark .tab[aria-selected="true"], .dark .tab[aria-current="page"], .dark .tab[aria-pressed="true"] { border-color: var(--input); background: color-mix(in srgb, var(--input) 30%, transparent); }
.skeleton { display: block; background: var(--muted); border-radius: var(--radius-md); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }
.checkbox { display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; border: 1px solid var(--input); border-radius: 4px; }
.checkbox[data-checked] { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
.sep { height: 1px; background: var(--border); border: 0; margin: 0; }
.dialog { display: grid; gap: 16px; width: min(512px, 100%); padding: 24px; background: var(--popover); color: var(--popover-foreground);
  border: 1px solid var(--surface-3-border); border-radius: var(--radius-xl); box-shadow: var(--surface-3-shadow); }
.dialog h2 { font-size: var(--text-lg); font-weight: 600; line-height: 1.25; }
.dialog-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: grid; place-items: center; padding: 16px; z-index: 70; }
.toast { display: flex; gap: 10px; align-items: flex-start; width: min(356px, 100%); padding: 16px; background: var(--popover); color: var(--popover-foreground);
  border: 1px solid var(--surface-2-border); border-radius: var(--radius-lg); box-shadow: var(--surface-2-shadow); font-size: var(--text-sm); }
.toast > div { display: grid; gap: 4px; }
.kbd { display: inline-block; padding: 1px 5px; border: 1px solid var(--border); border-radius: 4px; background: var(--muted); font-family: ui-monospace, monospace; font-size: var(--text-xs); }

/* ---------- Admin kabuğu: paketin Sidebar kalıbı (§10.15; ui-kit t-4a8782: SidebarProvider/Sidebar/Group/Menu/Rail/
   Trigger/Inset). Prototipte düz CSS; üretimde paket bileşeni + Randevu çağrı yeri sınıfları. ---------- */
.sb-provider { --sidebar-width: 14.5rem; --sidebar-width-icon: 3rem; display: flex; min-height: 100svh; }
.sb { display: none; }
.sb-inset { display: flex; flex: 1; min-width: 0; flex-direction: column; background: var(--background); }
.topbar { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 8px; border-bottom: 1px solid var(--border); background: var(--card); flex: none; }
.topbar .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.main { flex: 1; min-width: 0; padding: 16px; }
.setup-strip { padding: 12px 16px 0; }
@media (min-width: 640px) { .topbar { padding: 0 16px; } }
.add-long { display: none; } @media (min-width: 768px) { .add-short { display: none; } .add-long { display: inline; } }
@media (min-width: 768px) { .main { padding: 24px; } .setup-strip { padding: 12px 24px 0; } }
@media (max-width: 1023px) { .desktop-only, .lg-only { display: none !important; } }
@media (min-width: 1024px) {
  .sb { display: flex; flex-direction: column; flex: none; position: sticky; top: 0; height: 100svh; width: var(--sidebar-width);
    background: var(--sidebar); color: var(--sidebar-foreground); border-inline-end: 1px solid var(--sidebar-border); transition: width 200ms ease-out; }
  .sb-provider[data-state="collapsed"] .sb { width: var(--sidebar-width-icon); }
  .topbar { justify-content: flex-end; padding: 0 24px; }
  .topbar .mobile-only { display: none !important; }
  .sb-provider.fill { height: 100svh; overflow: hidden; }
  .sb-provider.fill .sb-inset { min-height: 0; }
  .sb-provider.fill .main { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
  .sb-provider.focus .topbar { display: none; }
}
.sb-provider.fill .main { padding: 0; }
.sb-header { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--sidebar-border); flex: none; }
/* Logo yalnız yüklüyse (32 px, alt=""); baş harf rozeti yok — §10.15.3 */
.sb-logoimg { width: 32px; height: 32px; flex: none; border-radius: var(--radius-md); object-fit: contain; background: var(--sidebar); }
.sb-name { flex: 1; min-width: 0; font-weight: 700; font-size: var(--text-sm); line-height: 1.3; overflow-wrap: anywhere; }
.sb-iconbtn { position: relative; display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border: 0; border-radius: var(--radius-md); background: none; color: var(--sidebar-foreground); cursor: pointer; }
.sb-iconbtn:hover { background: var(--sidebar-accent); }
.sb-iconbtn:focus-visible, .sb-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--sidebar), 0 0 0 4px var(--sidebar-ring); }
.sb-content { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; padding: 8px 0; }
.sb-group { padding: 4px 8px; }
.sb-label { padding: 8px 8px 4px; font-size: var(--text-xs); font-weight: 600; color: color-mix(in srgb, var(--sidebar-foreground) 72%, transparent); }
.sb-menu { display: grid; gap: 2px; }
.sb-btn { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 36px; padding: 0 8px; border: 0; border-radius: var(--radius-md);
  background: none; color: var(--sidebar-foreground); font: inherit; font-size: var(--text-sm); font-weight: 500; text-align: start; text-decoration: none; white-space: nowrap; cursor: pointer; }
.sb-btn > svg { flex: none; }
.sb-btn:hover { background: color-mix(in srgb, var(--sidebar-accent) 70%, transparent); }
.sb-btn[aria-current="page"] { background: var(--sidebar-accent); color: var(--sidebar-accent-foreground); font-weight: 600; }
.sb-btn[aria-current="page"]::before { content: ""; position: absolute; inset-inline-start: -8px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand-edge); }
.sb-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sb-ext { color: var(--muted-foreground); }
.sb-footer { flex: none; padding: 8px; border-top: 1px solid var(--sidebar-border); }
.sb-btn[aria-busy="true"] { opacity: .7; cursor: progress; }
/* Daraltılmış ikon rayı: metinler görsel olarak gizlenir, erişilebilir ad kalır; ipucu odak ve fare üstünde */
.sb-provider[data-state="collapsed"] .sb :is(.sb-text, .sb-label) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.sb-provider[data-state="collapsed"] .sb .sb-header { display: none; }
.sb-provider[data-state="collapsed"] .sb .sb-btn { justify-content: center; width: 32px; padding: 0; margin-inline: auto; }
.sb-provider[data-state="collapsed"] .sb [data-tip]:is(:hover, :focus-visible)::after { content: attr(data-tip); position: absolute; inset-inline-start: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  padding: 4px 8px; border-radius: 6px; background: var(--foreground); color: var(--background); font-size: var(--text-xs); font-weight: 500; white-space: nowrap; z-index: 60; pointer-events: none; }
@media (pointer: coarse) { .sb-btn { min-height: 44px; } .sb-iconbtn { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .sb { transition: none; } }
/* < 1024 px: paket Sidebar'ının mobil Sheet'i */
.sheet-layer { position: fixed; inset: 0; z-index: 70; }
.sheet-layer[hidden] { display: none; }
.sheet-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.sheet-panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; display: flex; flex-direction: column; width: min(18rem, 85vw);
  background: var(--sidebar); color: var(--sidebar-foreground); box-shadow: var(--surface-3-shadow); }
.sheet-panel .sb-header { padding-inline-end: 4px; }
@media (min-width: 1024px) { .sheet-layer { display: none; } }

.crumbs { flex: none; padding: 10px 16px 0; font-size: var(--text-sm); color: var(--muted-foreground); }
.crumbs ol { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.crumbs a { display: inline-flex; align-items: center; min-height: 24px; padding: 0 4px; margin-inline-start: -4px; color: var(--muted-foreground); }
@media (pointer: coarse) { .crumbs a { min-height: 44px; padding: 0 8px; margin-inline-start: -8px; } .crumbs { padding-top: 0; } }
.crumbs [aria-current="page"] { color: var(--foreground); font-weight: 500; }
@media (min-width: 1024px) { .crumbs { padding: 12px 24px 0; } }

/* ---------- Paket ThemeEditor yerleşimi (editor-layout.tsx; ≥ lg tam yükseklik zinciri) ---------- */
.ed { display: flex; flex-direction: column; padding-bottom: 96px; }
.ed-head { flex: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--background); }
.ed-row1 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ed-row1 h1 { margin-inline-end: auto; font-size: var(--text-xl); font-weight: 600; white-space: nowrap; }
.ed-row1 .btn { flex: none; }
.ed-actions { display: flex; align-items: center; gap: 6px; }
.draft-chip { order: 9; flex-basis: 100%; display: inline-flex; align-items: center; gap: 8px; justify-self: start; width: fit-content; max-width: 100%;
  padding: 6px 12px; border: 1px solid color-mix(in srgb, var(--warning) 45%, transparent); border-radius: 999px; background: var(--warning-surface);
  font-size: var(--text-sm); line-height: 1.25; text-align: start; min-width: 0; flex: 0 1 auto; }
.draft-chip .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--warning); flex: none; }
.ed-status { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: var(--text-xs); color: var(--muted-foreground); }
.ed-status .wide, .ed-status .md { display: none; }
.ed-body { display: block; }
.ed-rail { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 4px; padding: 8px 12px; border-bottom: 1px solid var(--border); }
.rail-item { position: relative; display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border: 1px solid transparent; border-radius: var(--radius-lg);
  background: none; color: var(--muted-foreground); font-size: var(--text-xs); font-weight: 500; cursor: pointer; }
.rail-item[aria-selected="true"] { background: var(--card); color: var(--foreground); border-color: var(--border); box-shadow: var(--shadow-sm); }
.rail-item .dirty { position: absolute; top: 6px; inset-inline-end: 10px; width: 7px; height: 7px; border-radius: 999px; background: var(--primary); }
.rail-item .warn { position: absolute; top: 4px; inset-inline-start: 6px; color: var(--warning); }
.ed-panel { padding: 16px; min-width: 0; }
.ed-preview { display: none; }
.ed-actionbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-top: 1px solid var(--border); background: var(--background); box-shadow: var(--surface-2-shadow); }
.ed-actionbar .btn:first-child { margin-inline-end: auto; }
@media (min-width: 768px) { .ed-status .md { display: inline; } }
@media (min-width: 1024px) {
  .ed { height: 100%; min-height: 0; padding-bottom: 0; }
  .ed-head { padding: 14px 24px; }
  .ed-row1 h1 { margin-inline-end: 0; }
  .draft-chip { order: 0; flex-basis: auto; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ed-actions { margin-inline-start: auto; }
  .ed-body { display: grid; grid-template-columns: 96px 400px minmax(0,1fr); grid-template-rows: minmax(0,1fr); flex: 1; min-height: 0; overflow: hidden; }
  .ed-rail { display: flex; flex-direction: column; gap: 4px; padding: 12px 8px; border-bottom: 0; border-inline-end: 1px solid var(--border); overflow-y: auto; }
  .ed-panel { overflow-y: auto; padding: 20px 20px 40px; border-inline-end: 1px solid var(--border); }
  .ed-preview { display: flex; flex-direction: column; gap: 12px; min-height: 0; min-width: 0; padding: 16px 20px 12px; background: color-mix(in srgb, var(--muted) 40%, var(--background)); }
  .ed-actionbar { display: none; }
}
@media (min-width: 1280px) { .ed-status .wide { display: inline; } }
/* 1024–1279 px: paketin sıkışık başlığı (gk-compact) — bazı düğmelerin yalnız simgesi görünür. */
@media (min-width: 1024px) and (max-width: 1279px) { .ed-row1 { flex-wrap: nowrap; } .draft-chip { max-width: 300px; } .ed-status { flex-wrap: nowrap; white-space: nowrap; } .compact-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; } .ed-row1 h1 { font-size: var(--text-lg); } }
.preview-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.preview-bar .grow { flex: 1; }
.frame-box { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.frame-scaler { position: absolute; top: 0; left: 50%; transform-origin: top center; }
.frame-scaler iframe { display: block; width: 375px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--background); }
.readout { font-size: var(--text-xs); color: var(--muted-foreground); }
.panel-h { display: grid; gap: 4px; margin-bottom: 16px; }
.panel-h h2 { font-size: var(--text-lg); font-weight: 600; }
.panel-sec { display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid var(--border); }
.panel-sec:first-of-type { border-top: 0; padding-top: 0; }
.swatch { width: 36px; height: 36px; flex: none; border-radius: var(--radius-md); border: 1px solid var(--input); }
.presets { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.preset { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); font-size: var(--text-sm); font-weight: 500; text-align: start; }
.preset .bar { display: flex; height: 14px; border-radius: 4px; overflow: hidden; }
.preset .bar span { flex: 1; }
.role { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }
.role.low { border-color: var(--warning); background: var(--warning-surface); }
.role .pair { display: flex; gap: 4px; }
.role .pair span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-md); border: 1px solid var(--border); font-size: var(--text-xs); font-weight: 700; }
.role .ratio { padding: 2px 8px; border-radius: var(--radius-sm); background: var(--muted); font-size: var(--text-xs); font-weight: 600; font-variant-numeric: tabular-nums; }
.role.low .ratio { background: var(--warning); color: var(--warning-foreground); }
.role code { font-size: var(--text-xs); color: var(--muted-foreground); }

/* ---------- Paket PreviewBanner: sabit sistem görünümü (tema token'ı kullanmaz; preview-banner.tsx) ---------- */
.gk-banner { position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 52px; padding: 8px 16px;
  background: #18181b; color: #fafafa; font: 400 14px/20px system-ui, sans-serif; letter-spacing: normal; }
.gk-banner.conflict { background: #2a1d05; }
.gk-banner .msg { display: flex; flex: 1; min-width: 0; align-items: center; gap: 8px; }
.gk-banner .msg p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; min-width: 0; }
.gk-banner .title { font-weight: 600; } .gk-banner .short { display: none; }
.gk-banner .hint { color: #c8c8cf; }
.gk-banner .dot { width: 8px; height: 8px; border-radius: 999px; background: #fbbf24; flex: none; }
.gk-banner .acts { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; flex: none; }
.gk-banner .b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 6px;
  border: 1px solid transparent; background: none; color: #fafafa; font: 500 14px/20px system-ui, sans-serif; white-space: nowrap; text-decoration: none; cursor: pointer; }
.gk-banner .b:focus-visible { outline: none; box-shadow: 0 0 0 2px #18181b, 0 0 0 4px #8ab4ff; }
.gk-banner .b.primary { background: #fafafa; color: #18181b; }
.gk-banner .b.outline { border-color: #52525b; }
.gk-banner .b.text { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: transparent; }
.gk-banner .b.icon { width: 36px; padding: 0; color: #c8c8cf; }
.gk-banner .warnchip { display: inline-flex; align-items: center; gap: 4px; color: #fbbf24; }
.gk-banner .ok { color: #4ade80; } .gk-banner .err { color: #f87171; } .gk-banner .amber { color: #fbbf24; }
@media (pointer: coarse) { .gk-banner .b { min-height: 44px; min-width: 44px; } }
@media (max-width: 639px) { .gk-banner { flex-wrap: nowrap; min-height: 60px; padding: 8px; } .gk-banner .long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); } .gk-banner .short { display: inline; } .gk-banner .hint { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); } .gk-banner .hide-sm { display: none; } }

/* ---------- Randevu müşteri bileşenleri (src/ui; renkler token'dan) ---------- */
.c-shell { max-width: 560px; margin: 0 auto; padding: 16px 16px 32px; display: grid; gap: 24px; }
.c-head { display: flex; align-items: center; gap: 12px; }
.c-logo { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--primary); color: var(--primary-foreground); font-weight: 700; }
.c-head .bn { font-weight: 700; overflow-wrap: anywhere; line-height: 1.25; }
.c-foot { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--border); font-size: var(--text-sm); color: var(--muted-foreground); }
.progress { display: flex; gap: 4px; margin-bottom: 8px; } .progress span { height: 4px; flex: 1; border-radius: 2px; background: var(--border); }
.progress span.on { background: var(--brand-edge); }
.choice { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border: 1px solid var(--input); border-radius: var(--radius-lg);
  background: var(--card); color: var(--card-foreground); text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.choice[aria-current] { border: 2px solid var(--brand-edge); background: var(--primary); color: var(--primary-foreground); }
.choice .t { flex: 1; min-width: 0; } .choice strong { display: block; font-weight: 600; overflow-wrap: anywhere; }
.choice .meta { font-size: var(--text-sm); color: var(--muted-foreground); } .choice[aria-current] .meta { color: inherit; }
.choice .price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
@media (min-width: 360px) { .slots { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.slot { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--input); border-radius: var(--radius-md);
  background: var(--background); color: var(--foreground); font-size: var(--text-base); font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; }
.dark .slot { background: color-mix(in srgb, var(--input) 30%, transparent); }
.slot[aria-current] { border: 2px solid var(--brand-edge); background: var(--primary); color: var(--primary-foreground); }
.group-h { margin-bottom: 8px; font-size: var(--text-sm); color: var(--muted-foreground); font-weight: 600; }
.datebtn { display: flex; align-items: center; gap: 8px; }
.summary { display: grid; gap: 0; padding: 4px 16px; }
.summary > div { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: var(--text-sm); }
.summary > div:last-child { border-bottom: 0; }
.summary dt { width: 72px; flex: none; color: var(--muted-foreground); } .summary dd { margin: 0; flex: 1; font-weight: 600; }

/* ---------- Bugün listesi ve takvim (sadeleştirilmiş) ---------- */
.appt { display: grid; grid-template-columns: 64px 1fr; gap: 4px 12px; align-items: start; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.appt:last-child { border-bottom: 0; }
.appt.now { border-inline-start: 3px solid var(--primary); background: var(--accent); }
.appt .time { font-weight: 700; font-variant-numeric: tabular-nums; } .appt .time small { display: block; font-weight: 400; color: var(--muted-foreground); font-size: var(--text-sm); }
.appt .who { font-weight: 600; } .appt .what { font-size: var(--text-sm); color: var(--muted-foreground); }
.appt .tel { grid-column: 2; justify-self: start; margin-top: 4px; }
@media (min-width: 600px) { .appt { grid-template-columns: 64px 1fr auto; } .appt .tel { grid-column: 3; grid-row: 1; margin-top: 0; } }
.daygrid { position: relative; display: grid; grid-template-columns: 56px repeat(3, minmax(150px, 1fr)); overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }
.daygrid .hcell { position: sticky; top: 0; padding: 10px; border-bottom: 1px solid var(--border); border-inline-start: 1px solid var(--border); background: var(--card); font-size: var(--text-sm); }
.daygrid .hcell b { display: block; }
.daygrid .times { grid-row: 2; display: grid; grid-auto-rows: 48px; font-size: var(--text-xs); color: var(--muted-foreground); }
.daygrid .times span { padding: 2px 6px; border-top: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.daygrid .lane { grid-row: 2; position: relative; border-inline-start: 1px solid var(--border);
  background-image: repeating-linear-gradient(to bottom, transparent 0 47px, var(--border) 47px 48px); min-height: 480px; }
.daygrid .off { position: absolute; inset-inline: 0; background: repeating-linear-gradient(135deg, var(--muted) 0 6px, transparent 6px 12px); font-size: var(--text-xs); color: var(--muted-foreground); padding: 4px 6px; }
.daygrid .blk { position: absolute; inset-inline: 4px; padding: 4px 8px; border-inline-start: 3px solid var(--primary); border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--primary) 10%, var(--card)); font-size: var(--text-xs); line-height: 1.3; overflow: hidden; text-decoration: none; color: var(--foreground); }
.daygrid .blk b { display: block; font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
.daygrid .blk.manual { border-inline-start-color: var(--foreground); }
.daygrid .now-line { position: absolute; inset-inline: 0; height: 2px; background: var(--destructive); }

/* ---------- Prototip yardımcıları (ürün arayüzü değil) ---------- */
.proto-note { font: 13px/1.45 system-ui, sans-serif; color: #3f3f46; background: #fafaf9; border: 1px dashed #a1a1aa; border-radius: 8px; padding: 10px 12px; }
.proto-tag { display: inline-block; font: 600 11px/1 system-ui, sans-serif; letter-spacing: .02em; color: #3f3f46; background: #e4e4e7; border-radius: 4px; padding: 3px 6px; }
