:root {
  --ot: #1850b1;
  --ot-2: #3b7ae8;
  --ot-deep: #123a8a;
  --ot-ink: #0f172a;
  --ot-muted: #64748b;
  --ot-line: #e2e8f0;
  --ot-bg: #eef2f7;
  --ot-card: #ffffff;
  --ot-ok: #059669;
  --ot-err: #b91c1c;
  --ot-warn: #b45309;
  --ot-radius: 16px;
  --ot-shadow: 0 14px 40px rgba(15, 23, 42, .06);
  --ot-sidebar: 260px;
  --ot-topbar: 64px;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ot-ink);
  background: var(--ot-bg);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ot); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ========== PANEL SHELL ========== */
body.is-panel {
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(24,80,177,.08), transparent 55%),
    var(--ot-bg);
}

.ot-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 1050;
  background: rgba(15, 23, 42, .5);
}
body.ot-nav-open .ot-overlay { display: block; }

.ot-sidebar {
  position: fixed; top: 0; left: 0;
  width: var(--ot-sidebar); height: 100vh; height: 100dvh;
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
  color: #e2e8f0; z-index: 1100;
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.06);
  transition: transform .25s ease;
}

.ot-sidebar-brand {
  display: flex; align-items: center; gap: .75rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none; color: #fff; flex-shrink: 0;
}
.ot-sidebar-brand:hover { text-decoration: none; color: #fff; }
.ot-mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ot), var(--ot-2));
  font-size: .95rem; color: #fff;
  box-shadow: 0 8px 18px rgba(24,80,177,.35);
}
.ot-sidebar-brand-text strong { display: block; font-size: 1.02rem; font-weight: 700; letter-spacing: -.02em; }
.ot-sidebar-brand-text small { display: block; font-size: .68rem; color: #94a3b8; font-weight: 500; margin-top: .1rem; }

.ot-sidebar-biz {
  padding: .95rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.ot-sidebar-biz .name {
  font-size: .84rem; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ot-sidebar-biz .meta { font-size: .7rem; color: #94a3b8; margin-top: .2rem; font-weight: 500; }
.ot-sidebar-biz .ot-role-pill {
  display: inline-flex; align-items: center; margin-top: .55rem;
  padding: .22rem .55rem; border-radius: 999px; font-size: .65rem; font-weight: 750;
  letter-spacing: .02em; color: #bfdbfe; background: rgba(24, 80, 177, .35);
  border: 1px solid rgba(147, 197, 253, .25);
}
body.ot-role-reception .ot-sidebar-biz .ot-role-pill { color: #a7f3d0; background: rgba(4, 120, 87, .35); border-color: rgba(110, 231, 183, .25); }
body.ot-role-housekeeping .ot-sidebar-biz .ot-role-pill { color: #fde68a; background: rgba(180, 83, 9, .35); border-color: rgba(252, 211, 77, .25); }

.ot-sidebar-nav {
  flex: 1; overflow-y: auto; padding: .75rem .7rem 1rem;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent;
}
.ot-nav-label {
  font-size: .62rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: #64748b;
  padding: .7rem .7rem .35rem;
}
.ot-nav-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .62rem .75rem; border-radius: 11px;
  color: #cbd5e1; text-decoration: none;
  font-size: .84rem; font-weight: 500;
  margin-bottom: 2px; transition: background .15s, color .15s;
}
.ot-nav-item i { width: 1.15rem; text-align: center; font-size: .9rem; opacity: .9; }
.ot-nav-item:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.ot-nav-item.active {
  background: linear-gradient(135deg, var(--ot), var(--ot-2));
  color: #fff; font-weight: 600;
  box-shadow: 0 6px 16px rgba(24, 80, 177, .35);
}

.ot-sidebar-foot {
  padding: .75rem;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.ot-sidebar-foot a {
  display: flex; align-items: center; gap: .65rem;
  padding: .65rem .75rem; border-radius: 11px;
  color: #94a3b8; text-decoration: none; font-size: .84rem; font-weight: 500;
}
.ot-sidebar-foot a:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }

.ot-topbar {
  position: sticky; top: 0; z-index: 100;
  height: var(--ot-topbar);
  margin-left: var(--ot-sidebar);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.35rem;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ot-line);
}
.ot-topbar-left, .ot-topbar-right { display: flex; align-items: center; gap: .75rem; }
.ot-menu-toggle {
  display: none; width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--ot-line); background: #fff; color: var(--ot-ink);
  cursor: pointer; place-items: center;
}
.ot-topbar-title strong { display: block; font-size: 1.02rem; font-weight: 700; letter-spacing: -.02em; }
.ot-topbar-sub { display: block; font-size: .72rem; color: var(--ot-muted); font-weight: 500; }
.ot-top-action {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 38px; padding: .4rem .75rem; border-radius: 11px;
  border: 1px solid var(--ot-line); background: #fff; color: #334155;
  font-size: .8rem; font-weight: 600; text-decoration: none;
}
.ot-top-action:hover { border-color: var(--ot); color: var(--ot); text-decoration: none; }
.ot-user-chip { display: flex; align-items: center; gap: .55rem; }
.ot-avatar {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ot), var(--ot-2));
  color: #fff; font-size: .75rem; font-weight: 700;
}
.ot-user-meta strong { display: block; font-size: .8rem; font-weight: 600; }
.ot-user-meta small { display: block; font-size: .68rem; color: var(--ot-muted); font-weight: 500; }

.ot-main {
  margin-left: var(--ot-sidebar);
  padding: 1.35rem 1.5rem 2.75rem;
  min-height: calc(100vh - var(--ot-topbar));
  min-width: 0;
}
.ot-main-full { max-width: 960px; margin: 0 auto; padding: 2rem 1rem; }

@media (max-width: 960px) {
  .ot-sidebar { transform: translateX(-105%); }
  body.ot-nav-open .ot-sidebar { transform: translateX(0); box-shadow: 8px 0 40px rgba(0,0,0,.3); }
  .ot-topbar { margin-left: 0; }
  .ot-main { margin-left: 0; padding: 1rem 1rem 2rem; }
  .ot-menu-toggle { display: grid; }
  .hide-sm { display: none !important; }
}

/* ========== UI PRIMITIVES ========== */
.ot-hero {
  display: flex; justify-content: space-between; gap: 1rem;
  align-items: flex-start; margin-bottom: 1.25rem; flex-wrap: wrap;
}
.ot-hero h1 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 700; letter-spacing: -.03em; }
.ot-hero p { margin: .35rem 0 0; color: var(--ot-muted); font-size: .88rem; font-weight: 400; }

.ot-page-head {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  align-items: center; margin-bottom: 1.25rem;
  padding: 1.15rem 1.25rem; border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid var(--ot-line); box-shadow: var(--ot-shadow);
}
.ot-page-head-main { display: flex; align-items: flex-start; gap: .95rem; min-width: 0; }
.ot-page-ico {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-size: 1.1rem;
  background: linear-gradient(145deg, var(--ot), var(--ot-deep));
  box-shadow: 0 10px 22px rgba(24,80,177,.28);
}
.ot-page-head h1 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; letter-spacing: -.03em; }
.ot-page-head p { margin: .3rem 0 0; color: var(--ot-muted); font-size: .86rem; }
.ot-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.ot-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .28rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 600;
  background: #eff6ff; color: var(--ot-deep); border: 1px solid #bfdbfe;
}
.ot-chip.warn { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.ot-chip.ok { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.ot-chip.danger { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

.ot-card {
  background: var(--ot-card); border: 1px solid var(--ot-line);
  border-radius: var(--ot-radius); padding: 1.15rem 1.25rem;
  margin-bottom: 1rem; box-shadow: var(--ot-shadow);
}
.ot-card h2 {
  margin: 0 0 .9rem; font-size: .98rem; font-weight: 700; letter-spacing: -.01em;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
}
.ot-card-head {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
  margin-bottom: .9rem; flex-wrap: wrap;
}
.ot-card-head h2 { margin: 0; }

.ot-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.ot-stat, a.ot-stat {
  background: var(--ot-card); border: 1px solid var(--ot-line);
  border-radius: var(--ot-radius); padding: 1.05rem 1.1rem;
  box-shadow: var(--ot-shadow); text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  display: block;
}
a.ot-stat:hover {
  border-color: #bfdbfe; transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(24,80,177,.1); text-decoration: none;
}
.ot-stat .ico {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: #eff6ff; color: var(--ot); font-size: .85rem; margin-bottom: .65rem;
}
.ot-stat .lbl {
  font-size: .68rem; color: var(--ot-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
.ot-stat .val { font-size: 1.4rem; font-weight: 700; margin-top: .2rem; letter-spacing: -.03em; }
.ot-stat .hint { font-size: .72rem; color: var(--ot-muted); margin-top: .25rem; font-weight: 500; }

.ot-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--ot); color: #fff; border: 0; border-radius: 11px;
  padding: .65rem 1.05rem; font-weight: 600; font-family: inherit;
  cursor: pointer; font-size: .86rem; text-decoration: none; min-height: 40px;
  transition: background .15s, transform .15s;
}
.ot-btn:hover { background: var(--ot-deep); color: #fff; text-decoration: none; }
.ot-btn-ghost {
  background: #fff; color: var(--ot); border: 1px solid var(--ot-line);
}
.ot-btn-ghost:hover { background: #f8fafc; border-color: var(--ot); color: var(--ot); }
.ot-btn-danger { background: #fee2e2; color: #b91c1c; }
.ot-btn-danger:hover { background: #fecaca; color: #991b1b; }
.ot-btn-dark { background: #0f172a; color: #fff; }
.ot-btn-dark:hover { background: #1e293b; color: #fff; }
.ot-btn-sm { padding: .4rem .7rem; font-size: .78rem; min-height: 32px; border-radius: 9px; }
.ot-btn-block { width: 100%; }

.ot-toolbar { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.ot-field { margin-bottom: .85rem; }
.ot-field label {
  display: block; font-size: .76rem; font-weight: 600;
  margin-bottom: .3rem; color: #475569; letter-spacing: .01em;
}
.ot-field small.help { display: block; margin-top: .3rem; color: var(--ot-muted); font-size: .72rem; font-weight: 400; }
.ot-field input, .ot-field select, .ot-field textarea {
  width: 100%; padding: .62rem .8rem; border: 1px solid var(--ot-line);
  border-radius: 11px; font: inherit; background: #fff; color: var(--ot-ink);
}
.ot-field input:focus, .ot-field select:focus, .ot-field textarea:focus {
  outline: none; border-color: var(--ot);
  box-shadow: 0 0 0 3px rgba(24,80,177,.12);
}
.ot-form-grid { display: grid; gap: .85rem; grid-template-columns: 1fr 1fr; }
.ot-form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .ot-form-grid { grid-template-columns: 1fr; } }

.ot-ok, .ot-err {
  padding: .85rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 600; font-size: .88rem;
}
.ot-ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.ot-err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.ot-table-wrap { overflow: auto; border-radius: 14px; border: 1px solid var(--ot-line); }
.ot-table { width: 100%; border-collapse: collapse; font-size: .88rem; background: #fff; }
.ot-table th, .ot-table td { padding: .8rem .9rem; border-bottom: 1px solid var(--ot-line); text-align: left; vertical-align: middle; }
.ot-table th {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ot-muted); background: #f8fafc; font-weight: 600; white-space: nowrap;
}
.ot-table tbody tr:hover { background: #f8fafc; }
.ot-table tbody tr:last-child td { border-bottom: 0; }
.ot-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .78rem; font-weight: 600; background: #f1f5f9; padding: .15rem .4rem; border-radius: 6px;
}

.ot-badge {
  display: inline-flex; align-items: center;
  padding: .22rem .55rem; border-radius: 999px;
  font-size: .7rem; font-weight: 600; background: #e2e8f0; color: #334155;
}
.ot-badge.confirmed, .ot-badge.clean { background: #ecfdf5; color: #047857; }
.ot-badge.checked_in { background: #eff6ff; color: #1d4ed8; }
.ot-badge.checked_out { background: #f1f5f9; color: #64748b; }
.ot-badge.cancelled, .ot-badge.no_show, .ot-badge.dirty { background: #fef2f2; color: #b91c1c; }
.ot-badge.tentative, .ot-badge.inspect { background: #fffbeb; color: #b45309; }
.ot-badge.ooo { background: #1e293b; color: #fff; }
.ot-badge.vacant { background: #ecfdf5; color: #047857; }
.ot-badge.occupied { background: #eff6ff; color: #1d4ed8; }
.ot-badge.cleaning { background: #fffbeb; color: #b45309; }
.ot-badge.reserved { background: #f5f3ff; color: #6d28d9; }
.ot-badge.ready { background: #ecfdf5; color: #047857; }
.ot-badge.pending { background: #fffbeb; color: #b45309; }
.ot-badge.progress { background: #eff6ff; color: #1d4ed8; }
.ot-badge.done { background: #ecfdf5; color: #047857; }
.ot-badge.waiting { background: #fffbeb; color: #b45309; }

.ot-empty {
  color: var(--ot-muted); padding: 2rem 1rem; text-align: center; font-weight: 500;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.ot-empty i { font-size: 1.5rem; opacity: .35; }
.ot-split { display: grid; gap: 1rem; grid-template-columns: 1.35fr 1fr; }
.ot-split-3 { display: grid; gap: 1rem; grid-template-columns: 1.1fr 1fr .9fr; }
@media (max-width: 1100px) { .ot-split-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .ot-split, .ot-split-3 { grid-template-columns: 1fr; } }

.ot-pill-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.ot-pill-tabs a {
  padding: .42rem .85rem; border-radius: 999px; font-size: .78rem; font-weight: 600;
  border: 1px solid var(--ot-line); background: #fff; color: #475569; text-decoration: none;
}
.ot-pill-tabs a.on, .ot-pill-tabs a:hover {
  background: #eff6ff; border-color: #bfdbfe; color: var(--ot); text-decoration: none;
}

.ot-searchbar {
  display: flex; gap: .55rem; flex-wrap: wrap; align-items: center;
  margin-bottom: 1rem; padding: .75rem .9rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--ot-line); box-shadow: var(--ot-shadow);
}
.ot-searchbar input[type="search"], .ot-searchbar input[type="text"] {
  flex: 1; min-width: 180px; border: 0; outline: 0; font: inherit; background: transparent;
}
.ot-searchbar i { color: var(--ot-muted); }

/* Ops rows (resepsiyon / lists) */
.ot-ops-row {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .95rem 0; border-bottom: 1px solid var(--ot-line); align-items: center;
}
.ot-ops-row:last-child { border-bottom: 0; }
.ot-ops-row .meta { font-size: .82rem; color: var(--ot-muted); margin-top: .2rem; }
.ot-ops-avatar {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 700; font-size: .8rem;
  background: #eff6ff; color: var(--ot);
}
.ot-ops-main { display: flex; gap: .75rem; align-items: center; min-width: 0; }
.ot-mini-select {
  font-size: .78rem; padding: .4rem .55rem; border-radius: 9px;
  border: 1px solid var(--ot-line); background: #fff; font-family: inherit;
}

/* Takvim */
.ot-cal { overflow: auto; border: 1px solid var(--ot-line); border-radius: 14px; background: #fff; }
.ot-cal table { border-collapse: collapse; min-width: 100%; font-size: .76rem; }
.ot-cal th, .ot-cal td { border: 1px solid var(--ot-line); padding: .3rem; min-width: 40px; text-align: center; }
.ot-cal th { background: #f8fafc; position: sticky; top: 0; z-index: 1; font-weight: 600; }
.ot-cal th.today { background: #eff6ff; color: var(--ot); }
.ot-cal .room {
  text-align: left; font-weight: 600; white-space: nowrap;
  background: #f8fafc; position: sticky; left: 0; z-index: 2; padding-left: .65rem;
}
.ot-cal .occ { background: var(--ot); color: #fff; border-radius: 5px; font-weight: 600; }
.ot-cal .occ.checked_in { background: #047857; }
.ot-cal .occ.tentative { background: #d97706; }
.ot-cal .blk { background: #94a3b8; color: #fff; border-radius: 5px; }
.ot-cal-legend { display: flex; gap: .85rem; flex-wrap: wrap; margin: .75rem 0 0; font-size: .75rem; color: var(--ot-muted); font-weight: 500; }
.ot-cal-legend span::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px;
  margin-right: .35rem; vertical-align: -1px;
}
.ot-cal-legend .l-occ::before { background: var(--ot); }
.ot-cal-legend .l-in::before { background: #047857; }
.ot-cal-legend .l-tent::before { background: #d97706; }
.ot-cal-legend .l-blk::before { background: #94a3b8; }

/* HK board */
.ot-hk-board {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) { .ot-hk-board { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ot-hk-board { grid-template-columns: 1fr; } }
.ot-hk-col {
  background: #fff; border: 1px solid var(--ot-line); border-radius: 16px; padding: .95rem;
  min-height: 200px; box-shadow: var(--ot-shadow);
}
.ot-hk-col h3 {
  margin: 0 0 .85rem; font-size: .8rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
}
.ot-hk-col h3 em {
  font-style: normal; min-width: 24px; height: 24px; border-radius: 8px;
  display: inline-grid; place-items: center; font-size: .72rem; font-weight: 700;
  background: #f1f5f9; color: var(--ot-muted);
}
.ot-hk-col.is-dirty { border-top: 3px solid #ef4444; }
.ot-hk-col.is-inspect { border-top: 3px solid #f59e0b; }
.ot-hk-col.is-clean { border-top: 3px solid #10b981; }
.ot-hk-col.is-ready { border-top: 3px solid #1850b1; }
.ot-hk-col.is-ooo { border-top: 3px solid #334155; }
.ot-hk-item {
  display: flex; flex-direction: column; gap: .55rem;
  padding: .75rem .8rem; border-radius: 12px; border: 1px solid var(--ot-line);
  margin-bottom: .5rem; background: #f8fafc; font-size: .84rem; font-weight: 600;
}
.ot-hk-item-top { display: flex; justify-content: space-between; gap: .5rem; align-items: flex-start; }
.ot-hk-item .sub { display: block; font-size: .7rem; color: var(--ot-muted); font-weight: 500; margin-top: .2rem; }
.ot-hk-item .sub i { font-size: .65rem; margin-right: .15rem; opacity: .8; }
.ot-hk-item .sub.warn { color: #b45309; }
.ot-hk-item .sub.assign { color: var(--ot-deep); }
.ot-hk-quick { display: flex; gap: .25rem; flex-shrink: 0; }
.ot-hk-form { display: flex; flex-direction: column; gap: .3rem; }
.ot-hk-mins { display: flex; gap: .25rem; }
.ot-hk-mins input { flex: 1; min-width: 0; }

.ot-hk-filters {
  margin-bottom: 1rem; padding: .85rem 1rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--ot-line); box-shadow: var(--ot-shadow);
}
.ot-hk-progress { text-align: right; font-size: .72rem; font-weight: 600; color: var(--ot-muted); }
.ot-hk-progress strong { display: block; font-size: 1.1rem; color: var(--ot-ink); font-weight: 700; }

.ot-hk-reports {
  display: grid; gap: 1rem; margin-top: 1.15rem;
  grid-template-columns: 1.1fr 1.1fr .9fr;
}
@media (max-width: 1100px) { .ot-hk-reports { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .ot-hk-reports { grid-template-columns: 1fr; } }

.ot-hk-bar-row {
  display: grid; grid-template-columns: 110px 1fr 28px; gap: .5rem;
  align-items: center; margin-bottom: .45rem; font-size: .75rem; font-weight: 600;
}
.ot-hk-bar-row .track {
  height: 8px; border-radius: 99px; background: #f1f5f9; overflow: hidden;
}
.ot-hk-bar-row .track i {
  display: block; height: 100%; border-radius: 99px; font-style: normal;
}
.ot-hk-bar-row .track i.is-dirty { background: #ef4444; }
.ot-hk-bar-row .track i.is-inspect { background: #f59e0b; }
.ot-hk-bar-row .track i.is-clean { background: #10b981; }
.ot-hk-bar-row .track i.is-ready { background: #1850b1; }

/* Type / room cards */
.ot-type-card {
  display: grid; grid-template-columns: 88px 1fr auto; gap: .9rem; align-items: center;
  padding: .85rem 0; border-bottom: 1px solid var(--ot-line);
}
.ot-type-card:last-child { border-bottom: 0; }
.ot-type-thumb {
  width: 88px; height: 64px; border-radius: 12px; overflow: hidden;
  background: #e2e8f0; background-size: cover; background-position: center;
}
.ot-progress {
  height: 8px; border-radius: 99px; background: #e2e8f0; overflow: hidden; margin-top: .45rem;
}
.ot-progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--ot), var(--ot-2)); border-radius: 99px; }

/* Login */
.ot-login {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr;
  background: #0b1220;
}
.ot-login-visual {
  position: relative; color: #fff; padding: clamp(2rem, 5vw, 3.5rem);
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(700px 400px at 20% 10%, rgba(59,122,232,.35), transparent 55%),
    linear-gradient(150deg, #041433 0%, #0a369b 50%, #1850b1 100%);
  overflow: hidden;
}
.ot-login-visual::after {
  content: ""; position: absolute; inset: 0; opacity: .2; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 42px 42px;
}
.ot-login-visual > * { position: relative; z-index: 1; }
.ot-login-brand { display: flex; align-items: center; gap: .75rem; font-weight: 700; }
.ot-login-visual h2 {
  margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700;
  letter-spacing: -.04em; line-height: 1.15; max-width: 12ch;
}
.ot-login-visual p { margin: .85rem 0 0; opacity: .82; max-width: 28rem; line-height: 1.6; }
.ot-login-points { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.5rem; }
.ot-login-points span {
  display: flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 500; opacity: .9;
}
.ot-login-panel {
  display: grid; place-items: center; padding: 1.5rem; background: #f8fafc;
}
.ot-login-card {
  width: min(420px, 100%); background: #fff; border-radius: 20px;
  padding: 1.85rem; border: 1px solid var(--ot-line);
  box-shadow: 0 24px 60px rgba(15,23,42,.1);
}
.ot-login-card h1 { margin: 0 0 .35rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.ot-login-card > p { margin: 0 0 1.25rem; color: #64748b; font-size: .88rem; }
@media (max-width: 900px) {
  .ot-login { grid-template-columns: 1fr; }
  .ot-login-visual { min-height: 220px; padding: 1.5rem; }
  .ot-login-points { display: none; }
}

/* Public leftovers */
.ot-pub { min-height: 100vh; background: linear-gradient(160deg, #e8eef8, #f8fafc); }
.ot-pub-wrap { max-width: 720px; margin: 0 auto; padding: 2rem 1rem 3rem; }
.ot-pub-card {
  background: #fff; border-radius: 18px; border: 1px solid var(--ot-line);
  padding: 1.5rem; box-shadow: 0 12px 40px rgba(15,23,42,.06);
}
.ot-pub h1 { margin: 0 0 .35rem; font-size: 1.7rem; }
.ot-type { border: 1px solid var(--ot-line); border-radius: 12px; padding: .85rem; cursor: pointer; }
.ot-type.on { border-color: var(--ot); background: #eff6ff; }

/* Modal */
.ot-modal {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center; padding: 1rem;
}
.ot-modal.open { display: flex; }
.ot-modal-bd {
  position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(4px);
}
.ot-modal-panel {
  position: relative; z-index: 1; width: min(520px, 100%);
  background: #fff; border-radius: 18px; border: 1px solid var(--ot-line);
  box-shadow: 0 28px 70px rgba(15,23,42,.25); max-height: min(90vh, 720px);
  display: flex; flex-direction: column; overflow: hidden;
}
.ot-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: 1rem 1.15rem; border-bottom: 1px solid var(--ot-line);
}
.ot-modal-head h3 { margin: 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; }
.ot-modal-close {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--ot-line);
  background: #fff; cursor: pointer; color: var(--ot-ink);
}
.ot-modal-body { padding: 1.15rem; overflow: auto; }
.ot-modal-foot {
  padding: .9rem 1.15rem; border-top: 1px solid var(--ot-line);
  display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end;
}
.ot-dl {
  display: grid; grid-template-columns: 110px 1fr; gap: .45rem .75rem; font-size: .88rem;
}
.ot-dl dt { color: var(--ot-muted); font-weight: 500; }
.ot-dl dd { margin: 0; font-weight: 600; }

/* Image picker (oda / oda tipleri) */
.ot-img-picker { display: flex; flex-direction: column; gap: .65rem; }
.ot-img-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  padding: 1.15rem 1rem; border: 2px dashed #cbd5e1; border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9); color: var(--ot-muted);
  cursor: pointer; text-align: center; transition: border-color .15s, background .15s, box-shadow .15s;
  user-select: none;
}
.ot-img-drop i { font-size: 1.45rem; color: var(--ot); opacity: .85; }
.ot-img-drop strong { color: #0f172a; font-size: .9rem; font-weight: 700; }
.ot-img-drop span { font-size: .72rem; line-height: 1.35; max-width: 26rem; }
.ot-img-drop:hover, .ot-img-drop:focus-visible {
  border-color: var(--ot); outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ot) 18%, transparent);
}
.ot-img-drop.is-over {
  border-color: var(--ot); background: #eff6ff;
  box-shadow: inset 0 0 0 1px var(--ot);
}
.ot-img-drop.is-busy { opacity: .72; pointer-events: none; cursor: wait; }
.ot-img-drop-status {
  display: block; margin-top: .25rem; font-size: .75rem; font-style: normal; font-weight: 600;
  color: var(--ot);
}
.ot-img-drop-status.is-err { color: #b91c1c; }
.ot-img-drop-status.is-ok { color: #047857; }
.ot-img-drop-status.is-busy { color: #475569; }
.ot-img-add { display: flex; gap: .45rem; }
.ot-img-add input { flex: 1; padding: .55rem .75rem; border: 1px solid var(--ot-line); border-radius: 10px; font: inherit; }
.ot-img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; }
.ot-img-tile {
  position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden;
  background: #e2e8f0; background-size: cover; background-position: center; border: 1px solid var(--ot-line);
}
.ot-img-tile button {
  position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 8px;
  background: rgba(15,23,42,.75); color: #fff; cursor: pointer; font-size: .7rem;
}

/* Weekly calendar stacks */
.ot-cal-week { margin-bottom: 1rem; }
.ot-cal-week:last-child { margin-bottom: 0; }
.ot-cal-week-label {
  font-size: .72rem; font-weight: 600; color: var(--ot-muted); letter-spacing: .04em;
  text-transform: uppercase; margin: 0 0 .45rem .15rem;
}
.ot-cal .occ-btn {
  display: block; width: 100%; border: 0; cursor: pointer; font: inherit; text-align: center;
  padding: .2rem .25rem; font-size: .65rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  border-radius: 5px; color: #fff; background: var(--ot);
}
.ot-cal .occ-btn.checked_in { background: #047857; }
.ot-cal .occ-btn.tentative { background: #d97706; }
.ot-cal .occ-btn.confirmed { background: var(--ot); }


/* Charts + drag-drop calendar */
.ot-bars{display:flex;align-items:flex-end;gap:.45rem;height:140px;padding:.5rem .25rem 0}
.ot-bars .bar{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:.3rem;min-width:0;height:100%}
.ot-bars .bar i{display:block;width:100%;max-width:36px;border-radius:8px 8px 4px 4px;background:linear-gradient(180deg,var(--ot-2),var(--ot));min-height:4px}
.ot-bars .bar span{font-size:.65rem;color:var(--ot-muted);font-weight:600;white-space:nowrap}
.ot-cal td.drop-on{background:#eff6ff!important;outline:2px dashed var(--ot);outline-offset:-2px}
.ot-cal .occ-btn.dragging{opacity:.45}
.ot-cal .occ-btn{cursor:grab}
.ot-cal .occ-btn:active{cursor:grabbing}
.ot-balance-banner{padding:1.1rem 1.25rem;border-radius:16px;margin-bottom:1rem;border:1px solid var(--ot-line)}
.ot-balance-banner .val{font-size:1.75rem;font-weight:700;letter-spacing:-.03em}

/* ========== DASHBOARD ========== */
.ot-dash { max-width: 1280px; }
.ot-dash-hero {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  align-items: stretch; margin-bottom: 1.25rem;
  padding: 1.35rem 1.45rem; border-radius: 20px;
  background:
    radial-gradient(700px 240px at 100% 0%, rgba(24,80,177,.14), transparent 55%),
    linear-gradient(145deg, #0f172a 0%, #123a8a 55%, #1850b1 100%);
  color: #fff; box-shadow: 0 18px 50px rgba(24,80,177,.28);
  position: relative; overflow: hidden;
}
.ot-dash-hero::after {
  content: ""; position: absolute; inset: auto -40px -60px auto;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.06); pointer-events: none;
}
.ot-dash-kicker {
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: .35rem;
}
.ot-dash-hero h1 {
  margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.2;
}
.ot-dash-hero p { margin: .4rem 0 0; color: rgba(255,255,255,.72); font-size: .9rem; font-weight: 400; }
.ot-dash-hero .ot-chips { margin-top: .85rem; }
.ot-dash-hero .ot-chip {
  background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.18);
  text-decoration: none;
}
.ot-dash-hero .ot-chip.ok { background: rgba(16,185,129,.22); border-color: rgba(167,243,208,.35); }
.ot-dash-hero .ot-chip.warn { background: rgba(245,158,11,.22); border-color: rgba(253,230,138,.35); }
.ot-dash-hero .ot-chip.danger { background: rgba(239,68,68,.22); border-color: rgba(254,202,202,.35); }
.ot-dash-hero .ot-chip:hover { background: rgba(255,255,255,.2); text-decoration: none; }

.ot-dash-hero-side {
  display: flex; align-items: center; gap: 1.15rem; flex-shrink: 0; z-index: 1;
}
.ot-dash-ring {
  --pct: 0;
  width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(#fff calc(var(--pct) * 1%), rgba(255,255,255,.18) 0);
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(255,255,255,.08);
}
.ot-dash-ring-inner {
  width: 72px; height: 72px; border-radius: 50%;
  background: #123a8a; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.ot-dash-ring-inner strong { font-size: 1.15rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.ot-dash-ring-inner span { font-size: .62rem; color: rgba(255,255,255,.7); font-weight: 500; margin-top: .15rem; }
.ot-dash-hero-meta {
  display: flex; flex-direction: column; gap: .55rem; min-width: 140px;
}
.ot-dash-hero-meta > div {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: .35rem .55rem; border-radius: 10px; background: rgba(255,255,255,.08);
}
.ot-dash-hero-meta span { font-size: .7rem; color: rgba(255,255,255,.65); font-weight: 500; }
.ot-dash-hero-meta strong { font-size: .88rem; font-weight: 700; }

.ot-dash-kpis {
  display: grid; gap: .85rem; margin-bottom: 1.15rem;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) { .ot-dash-kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ot-dash-kpis { grid-template-columns: 1fr; } }

.ot-dash-kpi {
  display: block; text-decoration: none; color: inherit;
  background: var(--ot-card); border: 1px solid var(--ot-line);
  border-radius: 16px; padding: 1rem 1.05rem;
  box-shadow: var(--ot-shadow);
  transition: border-color .15s, transform .15s, box-shadow .15s;
  position: relative; overflow: hidden;
}
.ot-dash-kpi::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--ot); opacity: .85;
}
.ot-dash-kpi:hover {
  border-color: #bfdbfe; transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(24,80,177,.1); text-decoration: none;
}
.ot-dash-kpi.accent::before { background: var(--ot); }
.ot-dash-kpi.warn::before { background: var(--ot-warn); }
.ot-dash-kpi.danger::before { background: var(--ot-err); }
.ot-dash-kpi.money::before { background: var(--ot-ok); }
.ot-dash-kpi .top {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem;
}
.ot-dash-kpi .ico {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: #eff6ff; color: var(--ot); font-size: .9rem;
}
.ot-dash-kpi.warn .ico { background: #fffbeb; color: var(--ot-warn); }
.ot-dash-kpi.danger .ico { background: #fef2f2; color: var(--ot-err); }
.ot-dash-kpi.money .ico { background: #ecfdf5; color: var(--ot-ok); }
.ot-dash-kpi .tag {
  font-size: .65rem; font-weight: 600; color: var(--ot-muted);
  background: #f8fafc; border: 1px solid var(--ot-line);
  padding: .18rem .45rem; border-radius: 999px;
}
.ot-dash-kpi .lbl {
  font-size: .68rem; color: var(--ot-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
.ot-dash-kpi .val {
  font-size: 1.55rem; font-weight: 700; margin-top: .15rem;
  letter-spacing: -.04em; line-height: 1.15;
}
.ot-dash-kpi .val.sm { font-size: 1.15rem; }
.ot-dash-kpi .hint { font-size: .72rem; color: var(--ot-muted); margin-top: .3rem; font-weight: 500; }

.ot-dash-actions-card { margin-bottom: 1.15rem; }
.ot-dash-actions {
  display: grid; gap: .65rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.ot-dash-actions a {
  display: flex; flex-direction: column; align-items: flex-start; gap: .55rem;
  padding: .85rem .9rem; border-radius: 14px;
  border: 1px solid var(--ot-line); background: #f8fafc;
  color: var(--ot-ink); text-decoration: none; font-weight: 600; font-size: .82rem;
  transition: border-color .15s, background .15s, transform .15s;
}
.ot-dash-actions a i {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: #eff6ff; color: var(--ot); font-size: .9rem;
}
.ot-dash-actions a:hover {
  background: #fff; border-color: #bfdbfe; transform: translateY(-1px); text-decoration: none;
}

.ot-dash-cols {
  display: grid; gap: 1rem; margin-bottom: 1rem;
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 1100px) { .ot-dash-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .ot-dash-cols { grid-template-columns: 1fr; } }

.ot-dash-guest {
  display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  align-items: center; padding: .75rem 0;
  border-bottom: 1px solid var(--ot-line);
}
.ot-dash-guest:last-child { border-bottom: 0; padding-bottom: 0; }
.ot-dash-guest:first-of-type { padding-top: 0; }
.ot-dash-guest .meta { font-size: .78rem; color: var(--ot-muted); margin-top: .15rem; }
.ot-dash-guest-act { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.ot-dash-balance { font-size: .72rem; font-weight: 600; color: var(--ot-err); margin-top: .2rem; }
.ot-dash-balance.ok { color: var(--ot-ok); }

.ot-dash-act {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .65rem 0; border-bottom: 1px solid var(--ot-line);
}
.ot-dash-act:last-child { border-bottom: 0; }
.ot-dash-act .ico {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; background: #eff6ff; color: var(--ot); font-size: .75rem;
}
.ot-dash-act .body { flex: 1; min-width: 0; }
.ot-dash-act strong { display: block; font-size: .84rem; font-weight: 600; }
.ot-dash-act .meta { font-size: .75rem; color: var(--ot-muted); margin-top: .1rem; }
.ot-dash-act time { font-size: .68rem; color: var(--ot-muted); font-weight: 500; white-space: nowrap; }

.ot-dash-flag {
  display: inline-block; margin-top: .25rem; font-size: .65rem; font-weight: 700;
  padding: .12rem .45rem; border-radius: 6px; letter-spacing: .02em;
}
.ot-dash-flag.in { background: #eff6ff; color: #1d4ed8; }
.ot-dash-flag.out { background: #fffbeb; color: #b45309; }

@media (max-width: 700px) {
  .ot-dash-hero-side { width: 100%; justify-content: space-between; }
  .ot-dash-hero-meta { flex: 1; }
}

/* ========== ROOM MANAGEMENT ========== */
.ot-rooms { max-width: 1280px; }
.ot-rooms-statusbar {
  display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.1rem;
  padding: .45rem; border-radius: 14px; background: #fff;
  border: 1px solid var(--ot-line); box-shadow: var(--ot-shadow);
}
.ot-rooms-statusbar a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .75rem; border-radius: 10px; font-size: .78rem; font-weight: 600;
  color: #475569; text-decoration: none; border: 1px solid transparent;
}
.ot-rooms-statusbar a em {
  font-style: normal; font-size: .7rem; font-weight: 700;
  background: #f1f5f9; color: #64748b; padding: .12rem .4rem; border-radius: 999px;
}
.ot-rooms-statusbar a:hover { background: #f8fafc; text-decoration: none; }
.ot-rooms-statusbar a.on {
  background: #eff6ff; color: var(--ot); border-color: #bfdbfe;
}
.ot-rooms-statusbar a.on em { background: #dbeafe; color: var(--ot-deep); }

.ot-rooms-layout {
  display: grid; gap: 1.15rem;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .9fr);
  align-items: start;
}
@media (max-width: 1020px) {
  .ot-rooms-layout { grid-template-columns: 1fr; }
  .ot-rooms-aside { order: -1; }
}

.ot-rooms-floor { margin-bottom: 1.15rem; }
.ot-rooms-floor-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--ot-muted);
  display: flex; align-items: center; gap: .45rem; margin-bottom: .65rem;
}
.ot-rooms-floor-label span {
  font-weight: 600; text-transform: none; letter-spacing: 0;
  background: #f1f5f9; padding: .15rem .45rem; border-radius: 999px; font-size: .68rem;
}

.ot-rooms-grid {
  display: grid; gap: .85rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.ot-room-card {
  background: #fff; border: 1px solid var(--ot-line); border-radius: 16px;
  overflow: hidden; box-shadow: var(--ot-shadow);
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.ot-room-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(24,80,177,.1);
  border-color: #bfdbfe;
}
.ot-room-card.is-off { opacity: .62; }
.ot-room-card.ops-ooo { border-color: #cbd5e1; }
.ot-room-card.ops-cleaning { border-color: #fde68a; }
.ot-room-card.ops-occupied { border-color: #bfdbfe; }

.ot-room-card-media {
  position: relative; height: 118px;
  background: linear-gradient(145deg, #e2e8f0, #f8fafc) center/cover no-repeat;
}
.ot-room-card-media .ph {
  height: 100%; display: grid; place-items: center; color: #94a3b8; font-size: 1.4rem;
}
.ot-room-card-media .ot-badge {
  position: absolute; top: .55rem; left: .55rem;
  box-shadow: 0 4px 12px rgba(15,23,42,.12);
}

.ot-room-card-body { padding: .85rem .9rem 1rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.ot-room-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.ot-room-card-top h3 { margin: 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; }
.ot-room-card-top h3 code {
  font-family: inherit; font-size: inherit; background: transparent; padding: 0;
}
.ot-room-card-top .sub { font-size: .76rem; color: var(--ot-muted); font-weight: 500; margin-top: .1rem; }
.ot-room-card-top .cap {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .72rem; font-weight: 700; color: var(--ot-deep);
  background: #eff6ff; border: 1px solid #bfdbfe;
  padding: .28rem .5rem; border-radius: 999px; white-space: nowrap;
}

.ot-room-feats { display: flex; flex-wrap: wrap; gap: .3rem; }
.ot-room-feats span {
  font-size: .65rem; font-weight: 600; color: #475569;
  background: #f8fafc; border: 1px solid var(--ot-line);
  padding: .18rem .45rem; border-radius: 999px;
}

.ot-room-card-meta {
  display: flex; flex-wrap: wrap; gap: .45rem .75rem;
  font-size: .72rem; color: var(--ot-muted); font-weight: 500;
}
.ot-room-card-meta i { margin-right: .2rem; opacity: .8; }

.ot-room-card-actions {
  display: flex; align-items: center; gap: .35rem; flex-wrap: wrap;
  margin-top: auto; padding-top: .35rem;
  border-top: 1px solid var(--ot-line);
}
.ot-room-ops { flex: 1; min-width: 110px; }
.ot-room-ops select {
  width: 100%; font-size: .75rem; font-family: inherit; font-weight: 600;
  padding: .4rem .5rem; border-radius: 9px; border: 1px solid var(--ot-line);
  background: #fff; color: var(--ot-ink);
}

.ot-feat-presets { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .55rem; }
.ot-feat-chip {
  border: 1px solid var(--ot-line); background: #fff; color: #475569;
  border-radius: 999px; padding: .32rem .65rem; font-size: .72rem; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: .15s;
}
.ot-feat-chip:hover { border-color: #bfdbfe; color: var(--ot); }
.ot-feat-chip.on {
  background: #eff6ff; border-color: #93c5fd; color: var(--ot-deep);
}

.ot-rooms-legend ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.ot-rooms-legend li {
  display: flex; align-items: center; gap: .65rem;
  font-size: .82rem; color: var(--ot-muted); font-weight: 500;
}
.ot-rooms-aside .ot-card { position: sticky; top: calc(var(--ot-topbar) + .75rem); }
.ot-rooms-aside .ot-card + .ot-card { position: static; }

/* ========== RESERVATIONS ========== */
.ot-res { max-width: 1280px; }
.ot-res-sources {
  display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem;
}
.ot-res-source {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .85rem; border-radius: 11px; font-size: .78rem; font-weight: 600;
  background: #fff; border: 1px solid var(--ot-line); color: #475569; text-decoration: none;
  box-shadow: var(--ot-shadow);
}
.ot-res-source i { color: var(--ot); }
.ot-res-source:hover, .ot-res-source.on {
  border-color: #bfdbfe; background: #eff6ff; color: var(--ot); text-decoration: none;
}
.ot-res-source.create {
  background: #0f172a; color: #fff; border-color: #0f172a;
}
.ot-res-source.create i { color: #93c5fd; }
.ot-res-source.create:hover { background: #1e293b; color: #fff; }

.ot-res-src-pick { display: flex; flex-wrap: wrap; gap: .45rem; }
.ot-res-src-opt { cursor: pointer; }
.ot-res-src-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ot-res-src-opt span {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem .85rem; border-radius: 11px; font-size: .8rem; font-weight: 600;
  border: 1px solid var(--ot-line); background: #f8fafc; color: #475569;
}
.ot-res-src-opt input:checked + span {
  background: #eff6ff; border-color: #93c5fd; color: var(--ot-deep);
}
.ot-res-form-card { border: 1px solid #bfdbfe; box-shadow: 0 16px 40px rgba(24,80,177,.08); }
.ot-res-assign { display: inline-flex; margin: 0; }

/* Booking calendar bars */
.ot-cal-booking td { height: 42px; vertical-align: middle; padding: 2px !important; }
.ot-cal-booking td.room {
  min-width: 72px; text-align: left; padding: .35rem .55rem !important;
  background: #f8fafc; font-weight: 600;
}
.ot-cal-booking td.room small { display: block; font-weight: 500; color: var(--ot-muted); font-size: .65rem; }
.ot-cal-booking td.empty { cursor: pointer; background: #fafbfc; }
.ot-cal-booking td.empty:hover { background: #eff6ff; }
.ot-cal-booking td.drop-over { background: #dbeafe !important; box-shadow: inset 0 0 0 2px var(--ot); }
.ot-cal-booking td.bar-cell { padding: 2px 3px !important; }
.ot-cal-booking .occ-bar {
  display: flex; align-items: center; justify-content: space-between; gap: .35rem;
  width: 100%; min-height: 34px; border: 0; border-radius: 8px;
  padding: .25rem .55rem; cursor: grab; color: #fff; font: inherit; font-weight: 600; font-size: .72rem;
  background: linear-gradient(135deg, var(--ot), var(--ot-2));
  box-shadow: 0 4px 12px rgba(24,80,177,.28); text-align: left;
}
.ot-cal-booking .occ-bar:active { cursor: grabbing; }
.ot-cal-booking .occ-bar.checked_in { background: linear-gradient(135deg, #047857, #10b981); }
.ot-cal-booking .occ-bar.tentative { background: linear-gradient(135deg, #b45309, #f59e0b); }
.ot-cal-booking .occ-bar.dragging { opacity: .5; transform: scale(.98); }
.ot-cal-booking .occ-bar .meta { font-weight: 500; opacity: .85; font-size: .65rem; white-space: nowrap; }
.ot-cal-booking .occ-bar .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ot-cal-booking .blk-cell .blk {
  background: #e2e8f0; color: #64748b; border-radius: 6px;
  font-size: .65rem; font-weight: 600; padding: .35rem .25rem;
}
.ot-cal-week { margin-bottom: 1rem; }
.ot-cal-week:last-of-type { margin-bottom: .5rem; }
.ot-cal-week-label {
  font-size: .72rem; font-weight: 700; color: var(--ot-muted);
  text-transform: uppercase; letter-spacing: .05em; margin: .35rem 0 .5rem;
}
.ot-cal-legend {
  display: flex; flex-wrap: wrap; gap: .65rem 1rem; margin-top: .85rem;
  font-size: .72rem; font-weight: 600; color: var(--ot-muted);
}
.ot-cal-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.ot-cal-legend span::before {
  content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--ot);
}
.ot-cal-legend .l-in::before { background: #047857; }
.ot-cal-legend .l-tent::before { background: #d97706; }
.ot-cal-legend .l-blk::before { background: #94a3b8; }
.ot-cal-legend .l-drag::before { display: none; }

/* ========== CHECK-IN / CHECK-OUT DESK ========== */
.ot-desk { max-width: 1280px; }
.ot-desk-cols {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}
@media (max-width: 1100px) { .ot-desk-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .ot-desk-cols { grid-template-columns: 1fr; } }

.ot-desk-row {
  display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--ot-line);
}
.ot-desk-row:last-child { border-bottom: 0; }
.ot-desk-bal { font-size: .72rem; font-weight: 700; margin-top: .2rem; }
.ot-desk-bal.warn { color: var(--ot-warn); }
.ot-desk-bal.ok { color: var(--ot-ok); }

.ot-grp-chk { display: inline-flex; align-items: center; }
.ot-grp-chk input { width: 18px; height: 18px; accent-color: var(--ot); cursor: pointer; }

.ot-modal-wide { width: min(720px, 100%) !important; }
.ot-desk-guest-sum {
  padding: .85rem 1rem; border-radius: 12px; background: #f8fafc;
  border: 1px solid var(--ot-line); margin-bottom: 1rem;
}
.ot-desk-guest-sum .meta { font-size: .82rem; color: var(--ot-muted); margin-top: .25rem; }

.ot-desk-scan {
  margin-bottom: 1rem; padding: .85rem; border-radius: 12px;
  border: 1px dashed #93c5fd; background: #eff6ff;
}
.ot-desk-scan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.ot-desk-scan .hint { font-size: .75rem; color: var(--ot-muted); font-weight: 500; }
.ot-desk-scan-preview { margin-top: .75rem; }
.ot-desk-scan-preview img {
  max-width: 100%; max-height: 140px; border-radius: 10px;
  border: 1px solid var(--ot-line); object-fit: cover;
}
.ot-desk-scan-preview .scan-ok {
  margin-top: .45rem; font-size: .78rem; font-weight: 600; color: var(--ot-ok);
}

.ot-desk-tc { display: flex; gap: .45rem; align-items: stretch; }
.ot-desk-tc input { flex: 1; }

.ot-desk-bal-banner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  padding: 1rem 1.15rem; border-radius: 14px; margin-bottom: 1rem;
  border: 1px solid var(--ot-line);
}
.ot-desk-bal-banner.warn { background: #fffbeb; border-color: #fde68a; }
.ot-desk-bal-banner.ok { background: #ecfdf5; border-color: #a7f3d0; }
.ot-desk-bal-banner span { display: block; font-size: .72rem; font-weight: 600; color: var(--ot-muted); text-transform: uppercase; letter-spacing: .04em; }
.ot-desk-bal-banner strong { font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; }
.ot-desk-bal-banner .sub { font-size: .8rem; color: var(--ot-muted); font-weight: 500; align-self: center; }

.ot-desk-h {
  margin: 1.1rem 0 .55rem; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--ot-muted);
}
.ot-desk-break {
  display: grid; gap: .45rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.ot-desk-break .b {
  display: flex; flex-direction: column; gap: .2rem;
  padding: .65rem .75rem; border-radius: 11px;
  background: #f8fafc; border: 1px solid var(--ot-line); font-size: .75rem;
}
.ot-desk-break .b i { color: var(--ot); }
.ot-desk-break .b span { color: var(--ot-muted); font-weight: 500; }
.ot-desk-break .b strong { font-size: .9rem; font-weight: 700; }

.ot-desk-quick { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .75rem; }
.ot-desk-quick .qc { margin: 0; }

@media print {
  body * { visibility: hidden; }
  .ot-invoice-print, .ot-invoice-print * { visibility: visible; }
}

/* ========== CRM ========== */
.ot-crm { max-width: 1280px; }
.ot-crm-layout {
  display: grid; gap: 1.15rem;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.4fr);
  align-items: start;
}
@media (max-width: 960px) {
  .ot-crm-layout { grid-template-columns: 1fr; }
  .ot-crm-list { order: 2; }
}

.ot-crm-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem .55rem; border-radius: 12px;
  text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--ot-line);
  transition: background .15s;
}
.ot-crm-item:last-child { border-bottom: 0; }
.ot-crm-item:hover { background: #f8fafc; text-decoration: none; }
.ot-crm-item.on { background: #eff6ff; }
.ot-crm-item.bl { opacity: .85; }
.ot-crm-item .body { flex: 1; min-width: 0; }
.ot-crm-item strong { display: block; font-size: .9rem; font-weight: 700; }
.ot-crm-item .meta { font-size: .74rem; color: var(--ot-muted); margin-top: .1rem; }
.ot-crm-item .tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.ot-crm-item .chev { color: var(--ot-muted); font-size: .7rem; }

.ot-crm-hero {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.15rem; padding-bottom: 1rem; border-bottom: 1px solid var(--ot-line);
}
.ot-crm-hero .info { flex: 1; min-width: 180px; }
.ot-crm-hero h2 { margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.ot-ops-avatar.xl {
  width: 56px; height: 56px; border-radius: 16px; font-size: 1.05rem;
}

.ot-crm-sec {
  margin: 1.25rem 0 .65rem; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; color: var(--ot-muted);
}
.ot-crm-loyalty {
  padding: 1rem; border-radius: 14px;
  background: linear-gradient(145deg, #f8fafc, #eff6ff);
  border: 1px solid #bfdbfe;
}
.ot-crm-flags { display: flex; flex-wrap: wrap; gap: .65rem; }
.ot-crm-flags .flag {
  display: flex; align-items: center; gap: .45rem; cursor: pointer;
  padding: .55rem .85rem; border-radius: 11px; border: 1px solid var(--ot-line);
  background: #fff; font-weight: 600; font-size: .84rem;
}
.ot-crm-flags .flag input { accent-color: var(--ot); }
.ot-crm-flags .flag.vip:has(input:checked) { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.ot-crm-flags .flag.bl:has(input:checked) { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.ot-crm-points-adj {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem;
  margin-top: .85rem; font-size: .78rem; font-weight: 600; color: var(--ot-muted);
}

/* ========== TECHNICAL SERVICE ========== */
.ot-tech { max-width: 1280px; }
.ot-tech-cat-grid {
  display: grid; gap: .65rem;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
.ot-tech-cat {
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
  padding: .9rem .85rem; border-radius: 14px;
  border: 1px solid var(--ot-line); background: #f8fafc;
  text-decoration: none; color: inherit;
  transition: border-color .15s, background .15s, transform .15s;
}
.ot-tech-cat i {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: #eff6ff; color: var(--ot); font-size: .95rem;
}
.ot-tech-cat strong { font-size: .86rem; font-weight: 700; }
.ot-tech-cat em { font-style: normal; font-size: .68rem; color: var(--ot-muted); font-weight: 600; }
.ot-tech-cat:hover, .ot-tech-cat.on {
  border-color: #93c5fd; background: #eff6ff; transform: translateY(-1px); text-decoration: none;
}

.ot-tech-form-card { border-color: #bfdbfe; box-shadow: 0 14px 36px rgba(24,80,177,.08); margin-bottom: 1.15rem; }

.ot-tech-board {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}
@media (max-width: 960px) { .ot-tech-board { grid-template-columns: 1fr; } }

.ot-tech-col {
  background: #fff; border: 1px solid var(--ot-line); border-radius: 16px;
  padding: .95rem; min-height: 180px; box-shadow: var(--ot-shadow);
}
.ot-tech-col.is-pending { border-top: 3px solid #f59e0b; }
.ot-tech-col.is-progress { border-top: 3px solid #1850b1; }
.ot-tech-col.is-done { border-top: 3px solid #10b981; }
.ot-tech-col h3 {
  margin: 0 0 .85rem; font-size: .82rem; font-weight: 700;
  display: flex; align-items: center; gap: .45rem;
}
.ot-tech-col h3 em {
  margin-left: auto; font-style: normal; min-width: 24px; height: 24px;
  border-radius: 8px; display: inline-grid; place-items: center;
  font-size: .72rem; background: #f1f5f9; color: var(--ot-muted); font-weight: 700;
}

.ot-tech-card {
  padding: .8rem .85rem; border-radius: 12px; border: 1px solid var(--ot-line);
  background: #f8fafc; margin-bottom: .55rem;
}
.ot-tech-card.prio-urgent { border-color: #fecaca; background: #fef2f2; }
.ot-tech-card.prio-high { border-color: #fde68a; background: #fffbeb; }
.ot-tech-card-head {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .35rem;
}
.ot-tech-card .cat {
  font-size: .68rem; font-weight: 700; color: var(--ot-deep);
  display: inline-flex; align-items: center; gap: .3rem;
}
.ot-tech-card strong { display: block; font-size: .9rem; font-weight: 700; letter-spacing: -.01em; }
.ot-tech-card .meta { font-size: .72rem; color: var(--ot-muted); margin-top: .25rem; font-weight: 500; }
.ot-tech-card .desc { font-size: .75rem; color: #64748b; margin-top: .35rem; font-weight: 500; line-height: 1.4; }
.ot-tech-card .assign {
  font-size: .72rem; font-weight: 600; color: var(--ot); margin-top: .4rem;
}
.ot-tech-card-actions {
  display: flex; flex-wrap: wrap; gap: .3rem; align-items: center;
  margin-top: .65rem; padding-top: .55rem; border-top: 1px solid var(--ot-line);
}
.ot-tech-status { flex: 1; min-width: 100px; margin: 0; }
.ot-tech-status select { width: 100%; }

/* ?? Restoran POS + Mini bar ?? */
.ot-pos-bar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem;
  padding: 1rem 1.1rem; margin-bottom: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eef4ff 100%);
  border: 1px solid var(--ot-line); border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, .04);
  position: sticky; top: .75rem; z-index: 20;
}
.ot-pos-bar-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; width: 100%; }
.ot-pos-selected {
  flex: 1; min-width: 140px; padding: .55rem .85rem;
  background: #fff; border: 1px dashed #cbd5e1; border-radius: 12px;
}
.ot-pos-selected .lbl { display: block; font-size: .68rem; font-weight: 700; color: var(--ot-muted); text-transform: uppercase; letter-spacing: .04em; }
.ot-pos-selected strong { display: block; font-size: .95rem; font-weight: 700; margin-top: .15rem; }
.ot-pos-selected em { font-style: normal; font-size: .82rem; font-weight: 600; color: var(--ot); }

.ot-pos-tabs {
  display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem;
}
.ot-pos-tabs a {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1rem; border-radius: 999px; font-size: .84rem; font-weight: 600;
  color: var(--ot-muted); background: #f1f5f9; border: 1px solid transparent;
  text-decoration: none; transition: .15s ease;
}
.ot-pos-tabs a:hover { color: var(--ot-deep); background: #e2e8f0; }
.ot-pos-tabs a.on {
  color: #fff; background: var(--ot); border-color: var(--ot);
  box-shadow: 0 4px 14px rgba(24, 80, 177, .28);
}

.ot-pos-grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.ot-pos-item {
  text-align: left; padding: 1rem .95rem; border-radius: 14px;
  border: 1px solid var(--ot-line); background: #fff;
  cursor: pointer; transition: .15s ease; font: inherit; color: inherit;
  display: flex; flex-direction: column; gap: .25rem; min-height: 110px;
}
.ot-pos-item:hover {
  border-color: #93c5fd; box-shadow: 0 8px 22px rgba(24, 80, 177, .1);
  transform: translateY(-1px);
}
.ot-pos-item.on {
  border-color: var(--ot); background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(24, 80, 177, .2);
}
.ot-pos-item .nm { font-weight: 700; font-size: .9rem; letter-spacing: -.01em; line-height: 1.3; }
.ot-pos-item .note { font-size: .72rem; color: var(--ot-muted); font-weight: 500; }
.ot-pos-item .pr { margin-top: auto; font-weight: 700; font-size: 1rem; color: var(--ot-deep); }
.ot-pos-item .add {
  font-size: .72rem; font-weight: 700; color: var(--ot);
  display: inline-flex; align-items: center; gap: .3rem; margin-top: .35rem;
}

.ot-mb-co-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  border-color: #fde68a; background: linear-gradient(135deg, #fffbeb, #fff);
}
.ot-mb-co-banner p { margin: .25rem 0 0; font-size: .84rem; color: var(--ot-muted); }

.ot-mb-scan { border-color: #fcd34d; background: linear-gradient(180deg, #fffbeb 0%, #fff 40%); }
.ot-mb-scan-lead { margin: 0 0 1rem; font-size: .88rem; color: var(--ot-muted); }
.ot-mb-scan-grid {
  display: grid; gap: .65rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  margin-bottom: 1rem;
}
.ot-mb-scan-item {
  display: flex; flex-direction: column; gap: .35rem;
  padding: .75rem; border-radius: 12px; border: 1px solid var(--ot-line);
  background: #fff; cursor: pointer;
}
.ot-mb-scan-item .nm { font-weight: 700; font-size: .86rem; }
.ot-mb-scan-item .pr { font-size: .75rem; color: var(--ot-muted); font-weight: 600; }
.ot-mb-scan-item input {
  width: 100%; padding: .45rem .55rem; border-radius: 8px;
  border: 1px solid #cbd5e1; font-weight: 700; font-size: 1rem; text-align: center;
}
.ot-mb-scan-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
  padding-top: .85rem; border-top: 1px solid var(--ot-line);
}
.ot-mb-scan-foot strong { font-size: 1.05rem; }

.ot-desk-mb-hint {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
  margin: 1rem 0; padding: .85rem 1rem; border-radius: 12px;
  background: #fffbeb; border: 1px solid #fde68a;
}
.ot-desk-mb-hint > div { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .65rem; font-size: .84rem; }
.ot-desk-mb-hint i { color: #d97706; }
.ot-desk-mb-hint span { color: var(--ot-muted); font-weight: 500; }
@media (max-width: 720px) {
  .ot-pos-bar { position: static; }
}

/* ?? Gelir y?netimi + Muhasebe ?? */
.ot-rev-filter { margin-bottom: 1rem; }
.ot-rev-sources {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.ot-rev-src {
  padding: 1rem .95rem; border-radius: 14px;
  border: 1px solid var(--ot-line); background: #fff;
  border-top: 3px solid var(--src, var(--ot));
}
.ot-rev-src .top {
  display: flex; align-items: center; gap: .5rem; margin-bottom: .55rem;
}
.ot-rev-src .top .ico {
  width: 32px; height: 32px; border-radius: 10px;
  display: inline-grid; place-items: center;
  background: color-mix(in srgb, var(--src) 14%, #fff);
  color: var(--src); font-size: .85rem;
}
.ot-rev-src .top strong { font-size: .86rem; font-weight: 700; }
.ot-rev-src .amt { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--ot-deep); }
.ot-rev-src .meta { font-size: .72rem; color: var(--ot-muted); font-weight: 600; margin: .25rem 0 .55rem; }
.ot-rev-src .bar {
  height: 6px; border-radius: 99px; background: #f1f5f9; overflow: hidden;
}
.ot-rev-src .bar i {
  display: block; height: 100%; border-radius: 99px;
  background: var(--src); font-style: normal;
}

.ot-rev-bars {
  display: flex; align-items: flex-end; gap: .35rem;
  height: 180px; padding: .5rem 0 1.6rem;
  border-bottom: 1px solid var(--ot-line); overflow-x: auto;
}
.ot-rev-bars .col {
  flex: 1; min-width: 28px; max-width: 56px;
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; gap: .3rem;
}
.ot-rev-bars .v {
  font-size: .62rem; font-weight: 700; color: var(--ot);
  white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.ot-rev-bars .b {
  width: 100%; max-width: 36px;
  background: linear-gradient(180deg, var(--ot), #3b82f6);
  border-radius: 6px 6px 2px 2px; min-height: 3px;
}
.ot-rev-bars .l { font-size: .65rem; color: var(--ot-muted); font-weight: 600; }

.ot-rev-donut-wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem;
  padding: .5rem 0;
}
.ot-rev-donut {
  width: 168px; height: 168px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
}
.ot-rev-donut .hole {
  width: 96px; height: 96px; border-radius: 50%; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px var(--ot-line);
}
.ot-rev-donut .hole strong { font-size: .78rem; font-weight: 800; text-align: center; line-height: 1.2; padding: 0 .3rem; }
.ot-rev-donut .hole span { font-size: .65rem; color: var(--ot-muted); font-weight: 600; }
.ot-rev-legend { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 140px; }
.ot-rev-legend li {
  display: flex; align-items: center; gap: .55rem;
  padding: .35rem 0; font-size: .84rem; font-weight: 600;
}
.ot-rev-legend i {
  width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; font-style: normal;
}
.ot-rev-legend span { flex: 1; color: var(--ot-deep); }
.ot-rev-legend strong { color: var(--ot-muted); font-size: .78rem; }

.ot-rev-methods { display: flex; flex-direction: column; gap: .65rem; }
.ot-rev-methods .row {
  display: grid; grid-template-columns: 1fr auto; gap: .25rem .75rem; align-items: center;
}
.ot-rev-methods .lbl { font-size: .84rem; }
.ot-rev-methods .amt { font-weight: 700; font-size: .9rem; }
.ot-rev-methods .bar {
  grid-column: 1 / -1; height: 8px; border-radius: 99px; background: #f1f5f9; overflow: hidden;
}
.ot-rev-methods .bar i {
  display: block; height: 100%; background: linear-gradient(90deg, var(--ot), #60a5fa); font-style: normal;
}
.ot-rev-methods .pct { grid-column: 1 / -1; font-size: .72rem; color: var(--ot-muted); font-weight: 600; margin-top: -.15rem; }
.ot-rev-pill {
  display: inline-block; padding: .2rem .55rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700;
  background: color-mix(in srgb, var(--src) 12%, #fff);
  color: var(--src);
}

.ot-acc-tabs {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem;
}
.ot-acc-tabs a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  color: var(--ot-muted); background: #f1f5f9; text-decoration: none;
  border: 1px solid transparent; transition: .15s ease;
}
.ot-acc-tabs a:hover { color: var(--ot-deep); background: #e2e8f0; }
.ot-acc-tabs a.on {
  color: #fff; background: var(--ot); box-shadow: 0 4px 14px rgba(24, 80, 177, .25);
}

.ot-acc-bank-grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.ot-acc-bank-card {
  padding: .9rem; border-radius: 12px; border: 1px solid var(--ot-line); background: #f8fafc;
}
.ot-acc-bank-card strong { display: block; font-size: .92rem; }
.ot-acc-bank-card .meta { font-size: .72rem; color: var(--ot-muted); margin: .25rem 0; font-weight: 500; }
.ot-acc-bank-card .bal { font-size: 1.1rem; font-weight: 800; color: var(--ot); margin-top: .35rem; }

.ot-acc-inv-banner {
  margin-bottom: 1rem; padding: 1rem 1.1rem; border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #fff); border: 1px solid #bfdbfe;
}
.ot-acc-inv-banner strong { display: flex; align-items: center; gap: .45rem; font-size: .95rem; }
.ot-acc-inv-banner p { margin: .35rem 0 0; font-size: .84rem; color: var(--ot-muted); line-height: 1.45; }

/* Personel yetkiler */
.ot-hr-perms {
  display: grid; gap: .45rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.ot-hr-perms label {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem .7rem; border-radius: 10px; border: 1px solid var(--ot-line);
  background: #f8fafc; font-size: .84rem; font-weight: 600; cursor: pointer;
}
.ot-hr-perms label:has(input:checked) {
  border-color: #93c5fd; background: #eff6ff; color: var(--ot-deep);
}


