/* VAOV Güzellik — yönetim paneli. Sade, aydınlık, dokunmatik dostu. */
:root {
  --bg: #F8F4EF; --paper: #FFFFFF; --soft: #FBF8F4; --sand: #F3EBE3; --blush: #F4E4DF; --blush-2: #EBD3CC;
  --rose: #9C5B65; --rose-d: #7E4651; --rose-l: #C69099; --gold: #B08D57; --sage: #5E8466; --red: #B5483E; --amber: #B27A1E; --blue: #4A7194;
  --ink: #2F2724; --ink-2: #5E524D; --muted: #8C7D78; --line: #ECE3DC; --line-2: #E2D6CD;
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px; --side: 252px; --shadow: 0 1px 2px rgba(94, 60, 52, .05), 0 8px 24px -16px rgba(94, 60, 52, .22);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14.5px/1.55 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums tabular-nums; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.ic { flex: none; }
.mark { width: 38px; height: 38px; border-radius: 50%; background: var(--rose); color: #FBF7F2; display: grid; place-items: center; font: 600 22px/1 var(--serif); padding-bottom: 2px; flex: none; }

/* ---------- Kenar menü */
.side { position: fixed; inset: 0 auto 0 0; width: var(--side); background: var(--paper); border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 60; }
.p-brand { display: flex; align-items: center; gap: 11px; padding: 22px 22px 18px; }
.p-brand b { display: block; font: 600 20px/1 var(--serif); letter-spacing: .14em; }
.p-brand small { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.p-nav { flex: 1; overflow-y: auto; padding: 6px 12px; display: flex; flex-direction: column; gap: 2px; }
.p-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink-2); font-weight: 500; transition: background .15s; }
.p-nav a:hover { background: var(--soft); color: var(--ink); }
.p-nav a.on { background: var(--blush); color: var(--rose-d); font-weight: 600; }
.p-nav a em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; background: var(--rose); color: #fff; border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px; }
.p-sep { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 18px 12px 6px; }
.p-user { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); }
.p-user div { flex: 1; min-width: 0; }
.p-user b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-user small { color: var(--muted); font-size: 12px; }
.p-user form { margin: 0; }
.av { width: 36px; height: 36px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; letter-spacing: .02em; }
.av.lg { width: 56px; height: 56px; font-size: 19px; }
.icon-btn { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); background: var(--paper); display: inline-grid; place-items: center; cursor: pointer; color: var(--ink-2); flex: none; }
.icon-btn:hover { color: var(--rose); border-color: var(--rose-l); }

/* ---------- Üst bar + içerik */
.main { margin-left: var(--side); min-height: 100vh; }
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 14px 30px; background: rgba(248, 244, 239, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top h1 { font: 500 28px/1.1 var(--serif); margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--muted); width: 280px; }
.top-search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; color: var(--ink); }
.burger { display: none; }
.content { padding: 26px 30px 60px; max-width: 1480px; }
.scrim { display: none; }

/* ---------- Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; background: var(--rose); color: #fff; font-weight: 600; font-size: 14px; border: 0; cursor: pointer; white-space: nowrap; transition: background .15s; }
.btn:hover { background: var(--rose-d); }
.btn.sm { height: 36px; padding: 0 13px; font-size: 13.5px; border-radius: 10px; }
.btn.xs { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 9px; gap: 5px; }
.btn.ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--rose-l); color: var(--rose-d); }
.btn.soft { background: var(--blush); color: var(--rose-d); }
.btn.green { background: #3F8C5A; } .btn.green:hover { background: #33734A; }
.btn.wa { background: #2E9E5B; } .btn.wa:hover { background: #26844B; }
.btn.danger { background: var(--paper); color: var(--red); border: 1px solid #EBC9C4; }
.btn.danger:hover { background: #FBEDEB; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { color: var(--rose); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- Kartlar ve ızgaralar */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card-h { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.card-h h2 { font: 600 16px/1.3 var(--sans); margin-right: auto; display: flex; align-items: center; gap: 8px; }
.card-h h2 small { font-weight: 500; color: var(--muted); font-size: 13px; }
.card-b { padding: 18px 20px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.g-main { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.mt { margin-top: 18px; } .mt-s { margin-top: 10px; }
.muted { color: var(--muted); } .small { font-size: 12.5px; } .nowrap { white-space: nowrap; }
.right { text-align: right; } .strong { font-weight: 700; }
.pos { color: var(--sage); } .neg { color: var(--red); }
.serif { font-family: var(--serif); }

/* KPI */
.kpi { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }
.kpi span { font-size: 12.5px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.kpi b { font: 600 32px/1.1 var(--serif); letter-spacing: -.01em; }
.kpi small { font-size: 12.5px; color: var(--muted); }
.kpi .ic-bg { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 12px; background: var(--blush); color: var(--rose); display: grid; place-items: center; }
.kpi.accent { background: linear-gradient(150deg, var(--rose) 0%, #85505A 100%); color: #fff; border: 0; }
.kpi.accent span, .kpi.accent small { color: rgba(255,255,255,.78); }
.kpi.accent .ic-bg { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- Tablolar (mobilde kart görünümü) */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 11px 14px; background: var(--soft); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: #FDFBF8; }
.tbl tr.clickable { cursor: pointer; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl tfoot td { font-weight: 700; background: var(--soft); border-top: 1px solid var(--line); }
.who { display: flex; align-items: center; gap: 11px; min-width: 0; }
.who b { display: block; font-weight: 600; }
.who small { color: var(--muted); font-size: 12.5px; }
.who .av { width: 34px; height: 34px; font-size: 12px; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty .ic { color: var(--rose-l); margin-bottom: 8px; }

/* ---------- Rozetler */
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.badge.green { background: #E5EFE6; color: #3E6B47; } .badge.red { background: #F6E1DF; color: #9A3B33; } .badge.amber { background: #F6ECD9; color: #8A6420; }
.badge.blue { background: #E3ECF3; color: #3B5E7A; } .badge.violet { background: #ECE7F5; color: #5E4A8C; } .badge.gray { background: #EEEAE7; color: #7A6E69; }
.badge.rose { background: #F4E4DF; color: #8A4954; } .badge.sand { background: #F1E8DC; color: #7A6040; }

/* ---------- Form */
.form { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px 16px; }
.f { grid-column: span 6; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f.s12 { grid-column: span 12; } .f.s4 { grid-column: span 4; } .f.s3 { grid-column: span 3; } .f.s8 { grid-column: span 8; } .f.s9 { grid-column: span 9; }
.f label, .lbl { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.f input, .f select, .f textarea, .inp { height: 42px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--paper); outline: none; width: 100%; font-size: 14.5px; transition: border .15s, box-shadow .15s; }
.f textarea { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus, .inp:focus { border-color: var(--rose-l); box-shadow: 0 0 0 3px rgba(156, 91, 101, .12); }
.f .hint { font-size: 12px; color: var(--muted); }
.f input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--rose); }
.chk { display: flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--rose); }
.form-actions { grid-column: span 12; display: flex; gap: 10px; justify-content: flex-end; padding-top: 6px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--sand); border-radius: 12px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg a, .seg label { padding: 7px 13px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.seg a.on, .seg input:checked + span { background: var(--paper); color: var(--rose-d); box-shadow: 0 1px 3px rgba(94, 60, 52, .15); }
.seg input { display: none; }
.seg label span { display: block; padding: 7px 13px; margin: -7px -13px; border-radius: 9px; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .grow { flex: 1; }
.toolbar .inp { width: auto; height: 38px; }
.toolbar .search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--paper); color: var(--muted); min-width: 240px; }
.toolbar .search input { border: 0; outline: 0; flex: 1; background: transparent; color: var(--ink); min-width: 0; }

/* ---------- Bildirimler */
.flash { display: flex; gap: 10px; align-items: center; padding: 13px 16px; border-radius: 14px; margin-bottom: 18px; font-weight: 500; }
.flash.ok { background: #E6EFE6; color: #355B3C; } .flash.err { background: #F7E3E1; color: #8A2F2A; }
.note { padding: 12px 14px; border-radius: 12px; background: var(--soft); border: 1px dashed var(--line-2); font-size: 13px; color: var(--ink-2); }
.note.warn { background: #FBF3E4; border-color: #EBD4A8; color: #7A5718; }

/* ---------- Diyalog (modal) */
dialog { border: 0; padding: 0; border-radius: 22px; width: min(560px, calc(100% - 24px)); background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(60, 30, 25, .45); }
dialog::backdrop { background: rgba(60, 40, 35, .36); backdrop-filter: blur(3px); }
dialog .d-h { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
dialog .d-h h3 { font: 500 24px/1.2 var(--serif); }
dialog .d-b { padding: 20px 22px; max-height: 70vh; overflow-y: auto; }
dialog .d-f { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--soft); }

/* ---------- Sekmeler */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 11px 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: flex; gap: 6px; align-items: center; }
.tabs a.on { color: var(--rose-d); border-color: var(--rose); }
.tabs a small { background: var(--sand); border-radius: 999px; padding: 0 7px; font-size: 11px; }

/* ---------- Profil başlığı */
.profile { display: flex; gap: 18px; align-items: center; padding: 22px; flex-wrap: wrap; }
.profile h2 { font: 500 32px/1.1 var(--serif); }
.profile .meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.profile .meta span { display: inline-flex; gap: 6px; align-items: center; }
.profile .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.facts > div { padding: 14px 22px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.facts b { font: 600 22px/1.25 var(--serif); }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 9px 14px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }

/* ---------- Sözleşme ilerleme */
.prog { height: 8px; border-radius: 999px; background: var(--blush); overflow: hidden; }
.prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--rose-l), var(--rose)); border-radius: 999px; }
.k-card { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--line); }
.k-card:last-child { border-bottom: 0; }
.k-card h3 { font: 500 22px/1.2 var(--serif); }

/* ---------- Takvim (gün görünümü) */
.cal-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-nav h2 { font: 500 26px/1.1 var(--serif); margin: 0 8px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 16px 0; }
.week a { padding: 9px 4px; border-radius: 13px; background: var(--paper); border: 1px solid var(--line); text-align: center; }
.week a small { display: block; font-size: 11px; text-transform: uppercase; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.week a b { font: 600 22px/1.1 var(--serif); }
.week a i { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); }
.week a.on { background: var(--rose); border-color: var(--rose); color: #fff; }
.week a.on small, .week a.on i { color: rgba(255,255,255,.8); }
.week a.today:not(.on) { border-color: var(--rose-l); }
.cal { display: grid; position: relative; overflow-x: auto; }
.cal-in { display: grid; min-width: 640px; }
.cal-head { display: grid; position: sticky; top: 0; }
.cal-col-h { padding: 12px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); font-weight: 600; background: var(--paper); }
.cal-col-h small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.cal-body { display: grid; position: relative; }
.cal-times { position: relative; }
.cal-times span { position: absolute; right: 10px; font-size: 11.5px; color: var(--muted); transform: translateY(-50%); font-weight: 600; }
.cal-col { position: relative; border-left: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); }
.ev { position: absolute; left: 5px; right: 5px; border-radius: 11px; padding: 6px 9px; font-size: 12.5px; line-height: 1.3; overflow: hidden; border-left: 3px solid; background: #fff; box-shadow: 0 2px 8px -4px rgba(94, 60, 52, .35); cursor: pointer; transition: transform .12s; }
.ev:hover { transform: scale(1.01); z-index: 3; }
.ev b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev span { color: var(--ink-2); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.talep { background: repeating-linear-gradient(135deg, #FFF8EC 0 8px, #FDF1DC 8px 16px); }
.ev.iptal, .ev.gelmedi { opacity: .5; text-decoration: line-through; }
.ev.tamam { background: #F3F8F3; }
.now-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--red); z-index: 4; pointer-events: none; }
.now-line::before { content: ''; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.list-day .item { display: flex; gap: 14px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.list-day .time { width: 58px; flex: none; font-weight: 700; }
.list-day .time small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; }
.list-day .bar { width: 4px; align-self: stretch; border-radius: 4px; flex: none; }
.req { display: flex; gap: 12px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.req:last-child { border-bottom: 0; }

/* ---------- Grafik */
.bars { display: flex; align-items: flex-end; gap: 3px; height: 180px; padding-top: 10px; }
.bars .b { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; position: relative; min-width: 4px; }
.bars .b i { display: block; border-radius: 4px 4px 0 0; background: var(--rose); min-height: 1px; }
.bars .b i.out { background: var(--blush-2); }
.bars .b:hover::after { content: attr(data-tip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 11.5px; padding: 6px 9px; border-radius: 8px; white-space: pre; z-index: 5; pointer-events: none; }
.bar-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.hbar { display: grid; grid-template-columns: minmax(110px, 180px) 1fr auto; gap: 12px; align-items: center; padding: 7px 0; font-size: 13.5px; }
.hbar .t { height: 10px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.hbar .t i { display: block; height: 100%; border-radius: 999px; background: var(--rose); }
.hbar b { white-space: nowrap; }

/* ---------- WhatsApp */
.wa-state { display: flex; gap: 18px; align-items: center; padding: 20px; flex-wrap: wrap; }
.wa-state .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--muted); flex: none; }
.wa-state .dot.on { background: #3F8C5A; box-shadow: 0 0 0 5px rgba(63, 140, 90, .15); }
.wa-state .dot.wait { background: var(--amber); box-shadow: 0 0 0 5px rgba(178, 122, 30, .15); }
.qr { width: 240px; height: 240px; border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 10px; }
.msg { white-space: pre-wrap; font-size: 13px; color: var(--ink-2); max-width: 520px; }
.tpl { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ph-chips code { font-size: 12px; background: var(--sand); padding: 2px 8px; border-radius: 7px; cursor: pointer; }

/* ---------- İmza */
.sig-img { max-height: 70px; max-width: 220px; }

/* ---------- Mobil alt menü */
.tabbar { display: none; }
@media (max-width: 1180px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g-main { grid-template-columns: 1fr; }
  .top-search { width: 200px; }
}
@media (max-width: 900px) {
  :root { --side: 270px; }
  .side { transform: translateX(-100%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); box-shadow: 20px 0 40px -20px rgba(60, 30, 25, .3); }
  body.nav-open .side { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(60, 40, 35, .3); z-index: 55; }
  .main { margin-left: 0; padding-bottom: 76px; }
  .burger { display: inline-grid; }
  .top { padding: 10px 14px; gap: 8px; }
  .top h1 { font-size: 23px; }
  .top-search { display: none; }
  .top .btn span { display: none; }
  .content { padding: 16px 14px 40px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .f, .f.s4, .f.s3, .f.s8, .f.s9 { grid-column: span 12; }
  .f.half { grid-column: span 6; }
  .profile .acts { margin-left: 0; width: 100%; }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 6px 0; cursor: pointer; }
  .tabbar .on { color: var(--rose); }
  /* Tablo → kart */
  .tbl.stack-m thead { display: none; }
  .tbl.stack-m, .tbl.stack-m tbody, .tbl.stack-m tr, .tbl.stack-m td { display: block; width: 100%; }
  .tbl.stack-m tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .tbl.stack-m td { padding: 3px 0; border: 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .tbl.stack-m td::before { content: attr(data-l); color: var(--muted); font-size: 12.5px; text-align: left; font-weight: 600; }
  .tbl.stack-m td.main-cell { text-align: left; padding-bottom: 6px; }
  .tbl.stack-m td.main-cell::before { display: none; }
  .tbl.stack-m td.num { text-align: right; }
  .tbl.stack-m tfoot { display: block; } .tbl.stack-m tfoot tr { display: flex; justify-content: space-between; padding: 12px 14px; }
  .tbl.stack-m tfoot td { display: inline; width: auto; padding: 0; border: 0; }
  .toolbar .search { min-width: 0; flex: 1 1 100%; }
  .week { grid-template-columns: repeat(7, minmax(44px, 1fr)); overflow-x: auto; }
  .week a i { display: none; }
  .hbar { grid-template-columns: 100px 1fr auto; }
  .kv { grid-template-columns: 110px 1fr; }
  dialog { border-radius: 22px 22px 0 0; margin: auto auto 0; width: 100%; max-width: 100%; }
}
@media (max-width: 520px) {
  .g4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 14px; }
  .kpi b { font-size: 25px; }
  .kpi .ic-bg { display: none; }
  .profile h2 { font-size: 27px; }
}
@media print {
  .side, .top, .tabbar, .no-print, .flash { display: none !important; }
  .main { margin: 0; } .content { padding: 0; }
  .card { box-shadow: none; }
}
.only-mob { display: none; }
@media (max-width: 900px) { .only-desk { display: none !important; } .only-mob { display: block; } }
.slot-link { position: absolute; left: 0; right: 0; display: block; }
.slot-link:hover { background: rgba(156, 91, 101, .05); }
.slot-link:hover::after { content: '+ randevu'; position: absolute; right: 8px; top: 6px; font-size: 11px; color: var(--rose); font-weight: 700; }
