/* Ana sayfa (panel) */

body.panel-page { min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; height: 60px; padding: 0 20px; background: var(--harbor); color: #c9d6df; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none !important; white-space: nowrap; }
.brand .ic { width: 22px; height: 22px; color: #6fd3c9; }
.topnav { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.topnav a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; color: #c9d6df; font-weight: 500; white-space: nowrap; text-decoration: none !important; }
.topnav a .ic { width: 17px; height: 17px; }
.topnav a:hover { background: var(--harbor-2); color: #fff; }
.topnav a[aria-current=page] { background: #1f4b63; color: #fff; box-shadow: inset 0 -2px 0 #6fd3c9; }
.open-messages { position: relative; background: #12a39a; border-color: #12a39a; }
.open-messages:hover { background: #0e8c84; }
.msg-badge { position: absolute; top: -6px; right: -6px; background: var(--pom); color: #fff; font-size: 11px; min-width: 20px; height: 20px; border-radius: 99px; display: grid; place-items: center; padding: 0 5px; box-shadow: 0 0 0 2px var(--harbor); }
.topbar .me { background: none; border: 0; padding: 4px; border-radius: 50%; cursor: pointer; }
.view { padding: 26px 32px 56px; max-width: 1440px; margin: 0 auto; }
.channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; margin-bottom: 20px; }
.channel-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.channel-card.connected { border-color: #a9dcc2; }
.channel-card header { display: flex; gap: 12px; align-items: flex-start; }
.channel-card h2 { font-size: 15px; }
.channel-card .line-pill { color: var(--harbor-2); font-weight: 600; }
.channel-card footer { display: flex; align-items: center; gap: 4px; border-top: 1px solid var(--line-2); padding-top: 10px; min-height: 40px; }
.ch-badge.big { width: 34px; height: 34px; } .ch-badge.big .ic { width: 19px; height: 19px; }
.btn.fb { background: #1877f2; border-color: #1877f2; }
.btn.fb:hover { background: #0f63d0; }
.banner.info { background: #e6f0fb; color: #173a66; }
.banner code { background: rgba(255,255,255,.7); }
.howto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.howto ol { margin: 10px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.lib-folder { border: 1px solid var(--line); border-radius: var(--r); padding: 12px; margin-bottom: 12px; }
.lib-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.lib-head .muted { margin-right: auto; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.lib-item { position: relative; margin: 0; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.lib-item img, .lib-file { display: grid; place-items: center; width: 100%; aspect-ratio: 1; object-fit: cover; color: var(--muted); }
.lib-item figcaption { font-size: 11.5px; padding: 4px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-item .icon-btn { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; background: rgba(255,255,255,.9); }
.tag-list { list-style: none; margin: 0 0 12px; padding: 0; }
.tag-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.tag-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; }
.room-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 16px; overflow: hidden; }
.room-block > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.room-block > header h2 { margin-bottom: 2px; }
.room-block.inactive { opacity: 0.65; }
.room-block .table th { background: transparent; }
.inv-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.inv-toolbar input { width: auto !important; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin: 0 auto 0 12px; }
.lg { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-left: 8px; box-shadow: inset 0 0 0 1px rgba(15,42,61,.18); }
.lg.free { background: #bfe5cc !important; }
.lg.low { background: #f6d899 !important; }
.lg.full { background: #f2b3bf !important; }
.inv-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: auto; }
.inv { border-collapse: separate; border-spacing: 0; font-size: 12px; }
.inv th, .inv td { border-bottom: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.inv thead th { font-weight: 600; padding: 6px 4px; min-width: 44px; text-align: center; color: var(--harbor-2); background: var(--surface-2); }
.inv thead th span { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.inv thead th.we { background: #eef3f6; }
.inv tbody th { text-align: left; padding: 8px 12px; white-space: nowrap; position: sticky; left: 0; background: var(--surface); font-weight: 600; min-width: 150px; }
.inv td { text-align: center; padding: 5px 2px; }
.inv td b { display: block; font-size: 14px; }
.inv td small { color: inherit; opacity: 0.7; font-size: 10.5px; }
.inv td[data-cell] { cursor: pointer; }
.inv td[data-cell]:hover { outline: 2px solid var(--sea); outline-offset: -2px; }
.inv .free, .lg.free { background: var(--ok-tint); color: var(--ok); }
.inv .low, .lg.low { background: var(--sun-tint); color: #8a5a0b; }
.inv .full, .lg.full { background: var(--pom-tint); color: var(--pom); }
.inv .stop, .lg.stop { background: var(--harbor-2); color: #fff; }
/* Özet */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none !important; }
a.kpi:hover { border-color: var(--sea); }
.kpi b { font-size: 26px; font-weight: 700; color: var(--harbor); letter-spacing: -0.02em; }
.kpi span { font-size: 12.5px; color: var(--muted); }
.kpi.alert { border-color: var(--pom); background: linear-gradient(var(--pom-tint), var(--surface) 70%); }
.kpi.alert b { color: var(--pom); }
.dash-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.dash-grid .panel:first-child { grid-row: span 2; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.panel h2 { margin-bottom: 12px; }
.panel .table th { background: transparent; }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
ul.plain li:last-child { border-bottom: 0; }
ul.plain a { color: inherit; }
.line-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.line-card.connected { border-color: #a9dcc2; }
.line-card header { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.line-card .line-pill { color: var(--harbor-2); font-weight: 600; }
.line-card footer { display: flex; align-items: center; gap: 4px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.line-err { font-size: 13px; color: var(--pom); background: var(--pom-tint); padding: 8px 10px; border-radius: 8px; }
.qr-box { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.qr-img { width: 200px; min-height: 200px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
.qr-img img, .qr-img canvas { width: 100%; height: auto; display: block; }
.qr-box ol { margin: 0; padding-left: 18px; font-size: 13px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 160px; }
.banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); margin-bottom: 16px; font-size: 13.5px; }
.banner.warn { background: var(--sun-tint); color: #6b4608; }
.howto { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; max-width: 80ch; }
.howto ul { margin: 10px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
/* Ayarlar */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.qr-list { list-style: none; margin: 12px 0; padding: 0; }
.qr-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.qr-list p { color: var(--muted); font-size: 13px; white-space: pre-line; margin-top: 2px; max-height: 3.2em; overflow: hidden; }
.dash-grid { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 1000px) {
  .topnav a span { display: none; }
  .dash-grid, .settings-grid, .howto-grid { grid-template-columns: 1fr; }
  .dash-grid .panel:first-child { grid-row: auto; }
  .view { padding: 20px 16px 40px; }
}
@media (max-width: 600px) {
  .brand span, .open-messages { font-size: 0; gap: 0; }
  .open-messages .ic { width: 18px; height: 18px; }
  .topbar { gap: 8px; padding: 0 10px; }
}

.sub-box { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.sub-box > div { display: flex; flex-direction: column; gap: 2px; }
.sub-box b { font-size: 17px; color: var(--harbor); }
.sub-box.warn { border-color: var(--sun); background: var(--sun-tint); }
h1 small { font-size: 14px; font-weight: 500; }
@media (max-width: 720px) { .sub-box { grid-template-columns: 1fr 1fr; } }

/* Yapay zeka ayarları */
.ai-panel { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.ai-panel h2 { display: flex; align-items: center; gap: 8px; margin: 0; }
.ai-panel h2 .ic { width: 22px; height: 22px; color: #075985; }
.ai-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ai-usage { display: flex; flex-direction: column; gap: 4px; min-width: 200px; font-size: 12.5px; color: var(--muted); }
.ai-usage i { display: block; height: 6px; border-radius: 99px; background: linear-gradient(90deg, #0ea5e9 var(--p), var(--line-2) var(--p)); }
.big-check { font-size: 15px; font-weight: 600; }
.ai-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; }
.ai-modes > label { align-items: flex-start; }
.ai-modes input[type=radio] { margin-top: 3px; accent-color: var(--sea); }
.ai-mode-extra { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 800px) { .ai-modes, .ai-mode-extra { grid-template-columns: 1fr; } }

/* ── Markalar ── */
.brand-block { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--bc, var(--sea)); border-radius: var(--r-lg); padding: 16px 18px; margin-bottom: 18px; }
.brand-block .channel-grid { margin: 14px 0 0; }
.brand-head { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.brand-head h2 { font-size: 17px; display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bc, var(--sea)); flex: none; }
.brand-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; }
.brand-kind { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--harbor-2); }
.brand-kind .ic, .tag .ic { width: 14px; height: 14px; }
.tag.ai-on { background: #e0f2fe; color: #075985; gap: 4px; }
.brand-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.brand-empty { margin: 12px 0 0; font-size: 13.5px; }
.brand-form .kind-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.brand-form .kind-pick input[type=radio] { margin-top: 3px; accent-color: var(--sea); }
.brand-form .kind-pick > label { align-items: flex-start; }
.hotel-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 14px; margin-top: 8px; }
.hotel-checks.disabled { opacity: .45; }
.all-h { font-weight: 600; }
.brand-form .ai-box legend { display: inline-flex; align-items: center; gap: 6px; }
.brand-form .ai-box legend .ic { width: 18px; height: 18px; color: #075985; }
.brand-form .ai-box > .form-grid { margin-top: 6px; }
.ai-brands { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ai-brands li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r); }
.user-brands { display: flex; flex-direction: column; gap: 6px; }
.user-brands p { margin: 0 0 4px; }
@media (max-width: 700px) { .brand-form .kind-pick { grid-template-columns: 1fr; } }
.cc-cell { white-space: nowrap; }
.cc-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.cc-link:hover .tag { filter: brightness(.95); }
.warn-text { color: #b45309; font-weight: 600; }
.hotel-cc-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 12px; max-width: 900px; }
.hotel-cc-note .ic { width: 16px; height: 16px; flex: none; margin-top: 2px; color: #075985; }

/* WhatsApp: telefon numarasıyla eşleştirme kodu */
.pair-box { display: flex; flex-direction: column; gap: 10px; background: var(--sea-tint); border-radius: var(--r); padding: 14px; }
.pair-code { font: 700 30px/1.1 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .12em; color: var(--harbor); text-align: center; background: var(--surface); border: 1px dashed var(--sea); border-radius: var(--r); padding: 12px 8px; user-select: all; }
.pair-code .muted { font: 400 14px/1.4 inherit; letter-spacing: 0; }
.pair-box ol { margin: 0; padding-left: 18px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.pair-box p { margin: 0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--sea); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.wa-method { display: flex; flex-direction: column; gap: 8px; }
.wa-method > label.check { align-items: flex-start; }
.wa-method input[type=radio] { margin-top: 3px; accent-color: var(--sea); }
.user-perms { display: flex; flex-direction: column; gap: 8px; }
.user-perms p { margin: 0; }
.menu-mode { display: flex; gap: 24px; flex-wrap: wrap; }
.menu-mode input[type=radio] { accent-color: var(--sea); }
.perm-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 14px; }
.perm-checks.disabled { opacity: .55; }
.owner-panel .own-dur, .owner-panel .own-from { display: flex; flex-direction: column; gap: 8px; }
.owner-panel .dur-row { display: flex; gap: 8px; }
.owner-panel .dur-row input { width: 110px; }
.owner-panel .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.owner-panel .chip { font: 600 12.5px inherit; border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 99px; padding: 4px 10px; cursor: pointer; }
.owner-panel .chip[aria-pressed="true"] { background: var(--sea); border-color: var(--sea); color: #fff; }
.owner-panel .own-from > label { align-items: flex-start; }
.owner-panel .own-from input[type=radio] { margin-top: 3px; accent-color: var(--sea); }

/* takip hatırlatma kuralları */
.fu-panel { display: flex; flex-direction: column; gap: 12px; }
.fu-panel h2, .fu-panel > p { margin: 0; }
.fu-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fu-rules li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.fu-rules li.off { opacity: .55; }
.fu-rules li b { display: inline-flex; align-items: center; gap: 6px; }
.fu-rules li b .ic { width: 15px; height: 15px; color: #b45309; }
.fu-rules .grow { min-width: 0; }
.fu-tpl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.fu-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; }
.fu-hours { display: flex; align-items: flex-end; gap: 8px; }
.fu-hours label span { display: flex; align-items: center; gap: 6px; }
.fu-hours input[type=time] { width: 118px; }
.fu-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.fu-kind > label { align-items: flex-start; }
.fu-kind input[type=radio] { margin-top: 3px; accent-color: var(--sea); }
.dur-row { display: flex; gap: 8px; }
.dur-row input { width: 100px; }
.var-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.var-chips .chip { font: 600 12px ui-monospace, Menlo, Consolas, monospace; border: 1px solid var(--line); background: var(--surface-2); color: var(--harbor-2); border-radius: 6px; padding: 3px 7px; cursor: pointer; }
.switch { position: relative; display: inline-block; width: 38px; height: 22px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: var(--line); border-radius: 99px; transition: background .15s; cursor: pointer; }
.switch span::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--sea); }
.switch input:checked + span::before { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--sea); outline-offset: 2px; }
@media (max-width: 700px) { .fu-kind { grid-template-columns: 1fr; } }

/* ana ekran: takip kutuları */
.desk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 18px; }
.desk .panel { display: flex; flex-direction: column; gap: 12px; }
.desk-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.desk-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; }
.desk-head h2 .ic { width: 20px; height: 20px; color: #b45309; }
.desk-team .desk-head h2 .ic { color: var(--sea); }
.desk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.desk-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 4px 10px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-2); }
.desk-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.desk-chip.hot { background: var(--sun-tint); border-color: color-mix(in srgb, #d97706 30%, var(--line)); color: #7a4d06; }
.desk-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.desk-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.desk-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0; display: flex; align-items: center; gap: 6px; }
.desk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.desk-list li a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 1px solid var(--line-2); color: inherit; text-decoration: none; border-radius: 6px; }
.desk-list li a:hover { background: var(--surface-2); }
.desk-list li .grow { min-width: 0; display: flex; flex-direction: column; }
.desk-list li .grow b, .desk-list li .grow .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-list li.late a { box-shadow: inset 3px 0 0 var(--pom); }
.desk-list li.more { padding: 6px; }
.desk-tag { display: flex; flex-direction: column; gap: 4px; }
.desk-tag .tag-pill { align-self: flex-start; display: inline-flex; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 99px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); }
.desk-empty { margin: 4px 0; }
.bad-num { color: var(--pom); font-weight: 700; }
.warn-num { color: #b45309; font-weight: 700; }
.fu-hours { flex-wrap: wrap; }
@media (max-width: 900px) { .desk-cols { grid-template-columns: minmax(0, 1fr); } }

/* Otellere göre mesaj istatistiği */
.bstats { margin-top: 18px; }
.bs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.bs-head h2 { margin: 0 0 2px; }
.bs-table td, .bs-table th { white-space: nowrap; }
.bs-table th .ch-badge { vertical-align: middle; }
.bs-name { display: inline-flex; align-items: center; gap: 8px; }
.bs-name .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.bs-name .tag { font-size: 11px; background: var(--sea-tint); color: var(--sea-dark); }
.bs-name .muted-tag { background: var(--line-2); color: var(--muted); }
.bs-top { width: 20px; height: 20px; border-radius: 50%; background: var(--sun); color: #fff; font-size: 11.5px; font-weight: 800; display: inline-grid; place-items: center; flex: none; }
.bs-barcol { width: 32%; min-width: 140px; }
.bs-bar { display: flex; height: 12px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.bs-bar i { display: block; height: 100%; }
.bs-bar i + i { border-left: 2px solid var(--surface); }
.bs-whatsapp { background: #1fa855; }
.bs-instagram { background: #d62976; }
.bs-facebook { background: #1877f2; }
.bs-sub { font-size: 14px; margin: 18px 0 6px; }
.bs-hotels li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Otel markası kanal yuvaları */
.slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.slot { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.slot-label { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.slot-count { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--line-2); border-radius: 99px; padding: 1px 8px; }
.slot.full .slot-count { background: var(--ok-tint); color: var(--ok); }
.slot-empty { border: 1.5px dashed var(--line); border-radius: var(--r-lg); padding: 22px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; min-height: 120px; background: var(--surface-2); }

/* Token cüzdanı */
.wallet { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--sea-tint), var(--surface)); border: 1px solid #c4e3df; margin: 4px 0 6px; }
.wallet.low { background: linear-gradient(135deg, var(--sun-tint), var(--surface)); border-color: #f1d9a8; }
.wallet.empty { background: linear-gradient(135deg, var(--pom-tint), var(--surface)); border-color: #f1c2cb; }
.wallet-main { display: flex; flex-direction: column; gap: 2px; }
.wallet-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.wallet-bal { font-size: 30px; line-height: 1.1; color: var(--harbor); font-variant-numeric: tabular-nums; }
.wallet-bal small { font-size: 14px; font-weight: 600; color: var(--muted); }
.wallet-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.wallet-hist { margin: 4px 0 8px; }
.wallet-hist summary { cursor: pointer; font-weight: 600; color: var(--sea); font-size: 13.5px; }
.wallet-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 10px; }
.wallet-cols h4 { margin: 0 0 6px; font-size: 13px; }
.wallet-cols li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.wallet-cols .pos { color: var(--ok); } .wallet-cols .neg { color: var(--pom); }
.pkg-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 14px 0; }
.pkg-card { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--r-lg); cursor: pointer; background: var(--surface); }
.pkg-card:has(input:checked) { border-color: var(--sea); box-shadow: 0 0 0 3px var(--sea-tint); }
.pkg-card input { position: absolute; top: 12px; right: 12px; accent-color: var(--sea); }
.pkg-name { font-weight: 700; color: var(--harbor-2); }
.pkg-tokens { font-size: 22px; color: var(--harbor); }
.pkg-tokens small { font-size: 12px; color: var(--muted); }
.pkg-price { font-size: 17px; font-weight: 800; color: var(--sea-dark); margin-top: 6px; }
.pay-info { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.pay-info h4 { margin: 0 0 6px; display: flex; gap: 6px; align-items: center; font-size: 13.5px; }
.pay-info pre { margin: 0 0 4px; white-space: pre-wrap; font: 600 13.5px/1.5 var(--font); }
@media (max-width: 640px) { .wallet-side { align-items: flex-start; text-align: left; } }
@media (max-width: 1000px) { .slot-grid { grid-template-columns: minmax(0, 1fr); } }

.hotel-empty { display: flex; align-items: center; gap: 16px; padding: 22px; background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--r-lg); margin-bottom: 16px; }
.hotel-empty > .ic { width: 28px; height: 28px; color: var(--sea); flex: none; }
.hotel-empty > div { flex: 1; } .hotel-empty p { margin: 2px 0 0; }
.brand-block.pool { border-left-color: var(--sun); background: linear-gradient(135deg, var(--sun-tint), var(--surface) 40%); }
.brand-block.pool h2 { display: flex; align-items: center; gap: 8px; }

.landline-help { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; background: var(--surface-2); font-size: 13px; }
.landline-help summary { cursor: pointer; font-weight: 600; color: var(--sea-dark); display: flex; align-items: center; gap: 6px; }
.landline-help ol { margin: 8px 0 6px; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.landline-help p { margin: 0; }

/* Otel ayarları penceresi: sekmeler, kanal seçimi, kampanyalar */
.hb-tabs { margin-bottom: 14px; }
.hb-tabs button { display: inline-flex; align-items: center; gap: 6px; }
.hb-tabs .ic { width: 15px; height: 15px; }
.hb-count:not(:empty) { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--sea); color: #fff; font-size: 11px; display: inline-grid; place-items: center; }
.ai-chans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ai-chans .span3 { grid-column: 1 / -1; }
.ai-ch { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; background: var(--surface); }
.ai-ch:has(input:checked) { border-color: var(--sea); background: var(--sea-tint); }
.ai-ch input { accent-color: var(--sea); }
.ai-ch span { display: flex; flex-direction: column; min-width: 0; }
.ai-ch small { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .ai-chans { grid-template-columns: minmax(0, 1fr); } }
.camp-intro { margin: 0 0 10px; }
.camp-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.camp-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.camp-list li.off { opacity: .55; }
.camp-list .tag { font-size: 11px; margin-left: 4px; }
.camp-ic { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; font-weight: 800; font-size: 16px; flex: none; background: var(--sea-tint); color: var(--sea-dark); }
.camp-ic.t-free_child { background: #ede9fe; color: #6d28d9; }
.camp-ic.t-percent { background: var(--sun-tint); color: #8a5a0b; }
.camp-ic.t-info { background: var(--pom-tint); color: var(--pom); }
.camp-empty { padding: 16px; border: 1.5px dashed var(--line); border-radius: var(--r); text-align: center; margin-bottom: 12px; }
.camp-empty p { margin: 2px 0; }
.camp-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.camp-type { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; }
.camp-type:has(input:checked) { border-color: var(--sea); box-shadow: 0 0 0 3px var(--sea-tint); }
.camp-type input { position: absolute; opacity: 0; pointer-events: none; }
.camp-type span:last-child { display: flex; flex-direction: column; }
.camp-form .ct[hidden] { display: none; }
@media (max-width: 640px) { .camp-types { grid-template-columns: minmax(0, 1fr); } }

.camp-note { color: #c2410c; font-size: 11.5px; font-weight: 700; }

label.ai-ch, label.camp-type { flex-direction: row; text-align: left; }
.camp-type .camp-ic { flex: none; }
.hb-camplink:not(:empty) { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r); font-size: 13px; color: var(--muted); }
.hb-camplink a { font-weight: 700; color: var(--sea); margin-left: auto; }
.camp-panel { max-width: 860px; }
.camp-badge { margin-left: 6px; font-size: 11.5px; font-weight: 700; color: #c2410c; background: #fff1e7; border-radius: 99px; padding: 1px 7px; text-decoration: none !important; }
.camp-form [hidden] { display: none !important; }
.camp-ic.t-fixed_price { background: #dcfce7; color: #15803d; }
.fixed-box { display: flex; flex-direction: column; gap: 10px; }
.fixed-box p { margin: 0; }
label.override-box { flex-direction: row; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1.5px solid #f1c2cb; background: var(--pom-tint); border-radius: var(--r); cursor: pointer; }
.override-box input { margin-top: 3px; accent-color: var(--pom); }
.override-box span { display: flex; flex-direction: column; gap: 3px; }
.override-box b { color: #8f1f33; }
.override-box small { font-weight: 400; color: var(--harbor-2); font-size: 12.5px; }

/* Özet: düzenlenebilir kutular */
.dash-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.dash-board .dw { min-width: 0; position: relative; }
.dash-board .dw.full { grid-column: 1 / -1; }
.dash-board .dw.is-hidden { display: none; }
.dash-board .dw-body > .panel, .dash-board .dw-body > .kpis, .dash-board .dw-body .bstats, .dash-board .dw-body .desk { margin: 0; }
.dash-board .dw-body:empty { display: none; }
.dw-bar { display: none; }
.dash-board.editing .dw { outline: 2px dashed #b9d3d0; outline-offset: 4px; border-radius: var(--r-lg); cursor: grab; }
.dash-board.editing .dw.is-hidden { display: block; opacity: .45; }
.dash-board.editing .dw.is-hidden .dw-body { display: none; }
.dash-board.editing .dw-bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px; margin-bottom: 8px; background: var(--sea-tint); border-radius: var(--r); font-size: 13px; }
.dash-board.editing .dw-body { pointer-events: none; max-height: 260px; overflow: hidden; }
.dash-board.editing .dw.dragging { opacity: .35; }
.dash-board .dw.drop-before { box-shadow: 0 -4px 0 var(--sea); }
.dash-board .dw.half.drop-before { box-shadow: -4px 0 0 var(--sea); }
.dash-board .dw.drop-after { box-shadow: 0 4px 0 var(--sea); }
.dash-board .dw.half.drop-after { box-shadow: 4px 0 0 var(--sea); }
.dw-grip { cursor: grab; font-size: 16px; color: var(--sea-dark); }
.dw-bar .icon-btn { width: 28px; height: 28px; font-weight: 800; }
.dw-bar .icon-btn:disabled { opacity: .3; }
.dash-edit-hint { display: flex; gap: 8px; align-items: center; background: var(--sun-tint); color: #6b4608; padding: 10px 14px; border-radius: var(--r); font-size: 13px; margin: -6px 0 16px; }
.dash-edit-hint[hidden], .dash-edit-on[hidden], .dash-edit-off[hidden] { display: none !important; }
.table-scroll { overflow-x: auto; }
@media (max-width: 900px) { .dash-board { grid-template-columns: minmax(0, 1fr); } }

/* Aktiflik süreleri */
.act-panel { margin-top: 18px; }
.act-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.act-head h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; }
.act-table td { vertical-align: middle; }
.act-barcol { width: 26%; min-width: 140px; }
.act-bar { height: 12px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.act-bar .on { display: block; height: 100%; background: #a7d8d3; border-radius: 99px; overflow: hidden; }
.act-bar .ac { display: block; height: 100%; background: var(--sea); }
.act-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.act-sum div { display: flex; flex-direction: column; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r); }
.act-sum b { font-size: 19px; color: var(--harbor); }
.act-sum span { font-size: 12px; color: var(--muted); }
.act-h { font-size: 13px; margin: 14px 0 6px; }
.act-days { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; align-items: end; }
.act-day { border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; }
.act-day .st { position: relative; width: 100%; height: 80px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.act-day .st i { position: absolute; left: 0; right: 0; bottom: 0; display: block; }
.act-day .on { background: #a7d8d3; } .act-day .ac { background: var(--sea); }
.act-day small { font-size: 9.5px; color: var(--muted); }
.act-day.sel .st { outline: 2px solid var(--sun); }
.act-line { position: relative; height: 34px; background: var(--surface-2); border-radius: 6px; margin-top: 18px; }
.act-line > i { position: absolute; top: 6px; bottom: 6px; background: var(--sea); border-radius: 4px; min-width: 3px; }
.act-line .hours span { position: absolute; top: -16px; transform: translateX(-50%); font-size: 10px; color: var(--muted); }
.act-sess { margin-top: 10px; }
.act-sess li { display: flex; justify-content: space-between; font-size: 13px; }
@media (max-width: 640px) { .act-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Acil dönüş bekleyenler */
.urgent { border: 2px solid var(--pom); background: linear-gradient(135deg, var(--pom-tint), var(--surface) 50%); }
.admin-alerts { border: 2px solid var(--sun); background: linear-gradient(135deg, var(--sun-tint), var(--surface) 50%); }
.urg-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 8px; }
.urg-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; }
.urg-n { background: var(--pom); color: #fff; border-radius: 99px; font-size: 12px; padding: 1px 9px; }
.admin-alerts .urg-n { background: var(--sun); }
.urg-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.urg-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.urg-list li.waiting { border-color: #f1c2cb; }
.urg-time { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 4px 6px; border-radius: 8px; background: var(--pom-tint); color: var(--pom); }
.urg-time b { font-size: 15px; } .urg-time small { font-size: 10.5px; }
.urg-ok { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r); background: var(--ok-tint); color: var(--ok); font-size: 13.5px; font-weight: 600; }
.help-panel h2 { display: flex; align-items: center; gap: 8px; }
.hlp-hours { display: flex; align-items: center; gap: 6px; }
.hlp-hours input { flex: 1; }
