:root {
  --brand: #2563eb; --bg: #f4f6fa; --panel: #fff; --text: #111827; --muted: #6b7280; --line: #e5e7eb;
  --ok: #16a34a; --bad: #dc2626; --warn: #d97706; --radius: 10px; --side: #0f172a;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 14px/1.45 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--brand); text-decoration: none; }
h1 { font-size: 20px; margin: 0; font-weight: 600; }
h2 { font-size: 15px; margin: 0 0 12px; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.hidden { display: none !important; }

/* layout */
.app { display: flex; height: 100vh; }
.side { width: 232px; background: var(--side); color: #cbd5e1; display: flex; flex-direction: column; flex-shrink: 0; }
.brandbox { padding: 18px 18px 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #1e293b; }
.brandbox img { max-height: 34px; max-width: 120px; background: #fff; border-radius: 6px; padding: 2px; }
.logo-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; color: #fff; font-weight: 700; }
.brandbox .bn { font-weight: 600; color: #fff; font-size: 15px; line-height: 1.2; }
.nav { padding: 10px 8px; flex: 1; overflow: auto; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: #cbd5e1; margin-bottom: 2px; }
.nav a:hover { background: #1e293b; color: #fff; }
.nav a.active { background: var(--brand); color: #fff; }
.nav svg { width: 18px; height: 18px; flex-shrink: 0; }
.side .foot { padding: 12px 18px; font-size: 12px; color: #64748b; border-top: 1px solid #1e293b; }
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.top { height: 58px; background: var(--panel); border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 22px; gap: 12px; flex-shrink: 0; }
.top .sp { flex: 1; }
.content { flex: 1; overflow: auto; padding: 22px; }
.pagehead { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.pagehead .sp { flex: 1; }

/* components */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.stat .v { font-size: 26px; font-weight: 600; }
.stat .l { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--text); padding: 7px 13px; border-radius: 8px; cursor: pointer; font: inherit; white-space: nowrap; }
.btn:hover { border-color: #cbd5e1; background: #f9fafb; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { color: var(--bad); }
.btn.sm { padding: 4px 9px; font-size: 12px; }
.btn:disabled { opacity: .5; cursor: default; }
.btns { display: flex; gap: 6px; flex-wrap: wrap; }
input, select, textarea { font: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; background: #fff; color: var(--text); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 30%, transparent); border-color: var(--brand); }
input[type=checkbox], input[type=radio] { width: auto; }
input[type=color] { padding: 2px; height: 34px; width: 54px; }
textarea { min-height: 80px; resize: vertical; }
label.f { display: block; margin-bottom: 12px; }
label.f > span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.row { display: flex; gap: 10px; align-items: center; }
.row > * { flex: 1; }
.row > .auto { flex: 0 0 auto; }
.chk { display: inline-flex; gap: 6px; align-items: center; margin-right: 12px; cursor: pointer; }
table.t { width: 100%; border-collapse: collapse; }
table.t th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: #9ca3af; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 11px; background: #eef2ff; color: #3730a3; }
.badge.gray { background: #f3f4f6; color: #374151; }
.badge.green { background: #dcfce7; color: #166534; }
.badge.red { background: #fee2e2; color: #991b1b; }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.code { font-family: Consolas, monospace; background: #f3f4f6; padding: 2px 6px; border-radius: 5px; }

/* modal */
.modal-bg { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); display: flex; align-items: flex-start; justify-content: center; padding: 60px 16px; z-index: 100; overflow: auto; }
.modal { background: #fff; border-radius: 12px; width: 520px; max-width: 100%; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.modal.wide { width: 860px; }
.modal .mh { padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; display: flex; }
.modal .mh .x { margin-left: auto; cursor: pointer; color: var(--muted); }
.modal .mb { padding: 18px 20px; }
.modal .mf { padding: 12px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }
.toast { position: fixed; right: 20px; bottom: 20px; background: #111827; color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.toast.err { background: var(--bad); }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #0f172a, #1e3a8a); }
.login .card { width: 360px; padding: 28px; }
.login h1 { margin: 10px 0 4px; }

/* media */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.mcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; position: relative; }
.mcard .th { aspect-ratio: 16/9; background: #111 center/cover no-repeat; display: grid; place-items: center; color: #fff; overflow: hidden; }
.mcard .th video { width: 100%; height: 100%; object-fit: cover; }
.mcard .mi { padding: 8px 10px; }
.mcard .mn { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard .tools { position: absolute; top: 6px; right: 6px; display: none; gap: 4px; }
.mcard:hover .tools { display: flex; }
.mcard.pick { cursor: pointer; }
.mcard.pick:hover { outline: 2px solid var(--brand); }
.drop { border: 2px dashed #cbd5e1; border-radius: 10px; padding: 22px; text-align: center; color: var(--muted); cursor: pointer; margin-bottom: 16px; background: #fff; }
.drop.over { border-color: var(--brand); background: #eff6ff; }
.progress { height: 6px; background: #e5e7eb; border-radius: 99px; overflow: hidden; margin-top: 10px; }
.progress div { height: 100%; background: var(--brand); width: 0; transition: width .2s; }
.typeic { width: 34px; height: 34px; opacity: .8; }

/* playlist editor */
.split { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start; }
.list-side .li { padding: 10px 12px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; }
.list-side .li:hover { background: #f3f4f6; }
.list-side .li.active { background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); font-weight: 500; }
.pl-items .pi { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; background: #fff; }
.pl-items .pi .pt { width: 86px; height: 48px; background: #111 center/cover no-repeat; border-radius: 5px; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-size: 11px; overflow: hidden; }
.pl-items .pi .pt video { width: 100%; height: 100%; object-fit: cover; }
.pl-items .pi .pn { flex: 1; min-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-items .pi input, .pl-items .pi select { width: auto; padding: 4px 6px; }
.pl-items .pi.dragging { opacity: .4; }
.picker { max-height: 520px; overflow: auto; }
.picker .media-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }

/* layout editor */
.le { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.canvas-wrap { background: #e5e7eb; border-radius: 10px; padding: 20px; display: flex; justify-content: center; }
.canvas { position: relative; background: #000; box-shadow: 0 6px 20px rgba(0,0,0,.25); user-select: none; overflow: hidden; }
.canvas.grid-on { 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: 5% 5%; }
.rg { position: absolute; border: 1px dashed rgba(255,255,255,.55); color: #fff; font-size: 12px; cursor: move; overflow: hidden; background: rgba(37, 99, 235, .25) center/cover no-repeat; }
.rg.sel { border: 2px solid #facc15; z-index: 1000 !important; }
.rg .lbl { position: absolute; left: 4px; top: 4px; background: rgba(0,0,0,.6); padding: 1px 6px; border-radius: 4px; white-space: nowrap; pointer-events: none; }
.rg .rs { position: absolute; right: 0; bottom: 0; width: 14px; height: 14px; background: #facc15; cursor: nwse-resize; display: none; }
.rg.sel .rs { display: block; }
.rg .prev { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; text-align: center; padding: 4px; }
.props label.f { margin-bottom: 9px; }
.reglist .ri { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.reglist .ri:hover { background: #f3f4f6; }
.reglist .ri.sel { background: #fef9c3; }
.layout-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.lcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; }
.lcard:hover { border-color: var(--brand); }
.mini { position: relative; background: #000; border-radius: 6px; overflow: hidden; margin-bottom: 10px; }
.mini div { position: absolute; border: 1px solid rgba(255,255,255,.5); background: rgba(37,99,235,.35); }
.preset-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.preset { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px; cursor: pointer; font-size: 11px; text-align: center; width: 104px; }
.preset:hover { border-color: var(--brand); }
.preset .mini { margin-bottom: 4px; }

/* schedule week view */
.week { position: relative; display: grid; grid-template-columns: 50px repeat(7, 1fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.week .hcol { font-size: 11px; color: var(--muted); }
.week .hd { text-align: center; font-size: 12px; font-weight: 500; padding: 6px 0; border-bottom: 1px solid var(--line); background: #f9fafb; }
.week .col { position: relative; height: 360px; border-left: 1px solid var(--line); }
.week .blk { position: absolute; left: 2px; right: 2px; border-radius: 4px; font-size: 10px; color: #fff; padding: 2px 4px; overflow: hidden; opacity: .9; }
.week .hl { position: absolute; left: 0; right: 0; border-top: 1px dashed #eef0f3; font-size: 10px; color: var(--muted); }
.daypick { display: flex; gap: 4px; flex-wrap: wrap; }
.daypick label { border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; cursor: pointer; user-select: none; }
.daypick input { display: none; }
.daypick label.on { background: var(--brand); color: #fff; border-color: var(--brand); }

@media (max-width: 1100px) { .le, .split { grid-template-columns: 1fr; } .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .side { width: 64px; } .side .bn, .nav a span, .side .foot { display: none; } .g2, .g3 { grid-template-columns: 1fr; } }

/* Ekran detayları */
.dgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.dsec { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-width: 0; }
.dsec.wide { grid-column: 1 / -1; }
.dsec h3 { font-size: 13px; margin: 0 0 6px; color: var(--brand); font-weight: 600; }
table.kv { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.kv td { padding: 3px 0; vertical-align: top; }
table.kv td:first-child { color: var(--muted); width: 40%; padding-right: 8px; }
table.kv td:last-child { word-break: break-word; }
.dbar { height: 5px; background: #e5e7eb; border-radius: 3px; margin-top: 4px; overflow: hidden; }
.dbar i { display: block; height: 100%; }
.dcols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: start; }
table.t.sm td, table.t.sm th { padding: 4px 8px; font-size: 12px; }
@media (max-width: 760px) { .dcols { grid-template-columns: 1fr; } }

/* Hava durumu ikon stili seçimi */
.istyles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: -4px 0 12px; }
.istyle { border: 2px solid transparent; border-radius: 8px; padding: 8px 6px 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; font-size: 11px; box-shadow: 0 0 0 1px var(--line); }
.istyle span { display: flex; gap: 4px; }
.istyle b { font-weight: 500; opacity: .9; }
.istyle.on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, .25); }

/* Hava durumu şehir listesi */
.wcities { display: flex; flex-direction: column; gap: 6px; margin-top: -4px; }
.wc { display: flex; align-items: center; gap: 6px; }
.wc input { flex: 1; min-width: 0; padding: 5px 8px; }
.wc .small { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wres { display: flex; flex-direction: column; margin-top: 6px; max-height: 200px; overflow: auto; }
.wres a { padding: 5px 8px; border-radius: 6px; text-decoration: none; color: inherit; }
.wres a:hover { background: #eef2ff; }
.wquick { display: flex; flex-wrap: wrap; gap: 4px; }
.wquick .btn { padding: 3px 8px; font-size: 12px; }

/* Şablon kartı eylemleri */
.lcard .lopen { display: block; color: inherit; text-decoration: none; }
.lcard .lact { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.lcard .lact .btn { padding: 4px 9px; font-size: 12px; }

/* Sol üst: müşteri logosu ve adı (süper admin belirler) */
.clientbox { padding: 12px 16px 14px; border-bottom: 1px solid #1e293b; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.clientbox .clogo { background: #fff; border-radius: 10px; padding: 8px 10px; width: 100%; box-sizing: border-box; display: flex; justify-content: center; }
.clientbox .clogo img { max-width: 100%; max-height: 64px; object-fit: contain; display: block; }
.clientbox .cname { color: #e2e8f0; font-weight: 600; font-size: 14px; line-height: 1.25; word-break: break-word; }

/* WhatsApp destek düğmesi (sol alt) */
.wa-support { margin: 8px 12px 10px; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: #25d366; color: #fff; text-decoration: none; transition: background .15s; }
.wa-support:hover { background: #1ebe5b; }
.wa-support span { display: flex; flex-direction: column; line-height: 1.2; }
.wa-support b { font-size: 13px; font-weight: 600; }
.wa-support small { font-size: 11px; opacity: .9; }

/* ===================== v0.4: ek modüller ===================== */
/* sol menü grupları */
.nav-h { font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; color: #64748b; padding: 12px 12px 4px; font-weight: 600; }
.nav a { padding: 7px 12px; }
.nav a.nav-em { color: #fca5a5; }
.nav a.nav-em.active { background: #b91c1c; color: #fff; }
.nav a .nbadge { margin-left: auto; background: #ef4444; color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; font-weight: 600; }
@media (max-width: 760px) { .nav-h { display: none; } }
/* üst çubuk acil durum düğmesi + yayın şeridi */
.btn.em-btn { background: #dc2626; border-color: #dc2626; color: #fff; font-weight: 600; text-decoration: none; }
.btn.em-btn:hover { background: #b91c1c; }
.embar { display: flex; align-items: center; gap: 10px; background: #dc2626; color: #fff; padding: 9px 22px; font-size: 14px; }
.embar .sp { flex: 1; }
.embar .btn { background: #fff; color: #b91c1c; border-color: #fff; font-weight: 600; }
.embar .pulse { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: fsBlink 1s infinite; }
@keyframes fsBlink { 50% { opacity: .25; } }
/* araç çubuğu, sekmeler, çipler */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .sp { flex: 1; }
.card.toolbar { align-items: flex-end; }
.card.toolbar .f { margin-bottom: 12px; }
.tabs { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.tabs button { border: 0; background: none; padding: 10px 14px; font: inherit; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 5px 12px; font: inherit; font-size: 13px; cursor: pointer; color: var(--text); }
.chip span { color: var(--muted); font-size: 11.5px; margin-left: 3px; }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.on span { color: #dbeafe; }
.chip.add { border-style: dashed; color: var(--muted); }
.storage { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.btn.big { padding: 12px 20px; font-size: 15px; font-weight: 600; }
.btn.danger.big, .em-card .btn.danger { background: #dc2626; color: #fff; border-color: #dc2626; }
/* acil durum */
.em-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.em-card { padding: 14px; }
.em-live { border: 2px solid #dc2626; margin-bottom: 16px; background: #fef2f2; }
.em-prev { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; box-sizing: border-box; min-width: 120px; }
.em-prev:not(.big) { width: 150px; }
.em-prev .b { position: absolute; left: 0; width: 100%; height: 7%; background: repeating-linear-gradient(-45deg, #facc15 0 6px, #111 6px 12px); }
.em-prev .b.t { top: 0; } .em-prev .b.bt { bottom: 0; }
.em-prev .tt { font-weight: 800; letter-spacing: .03em; margin-top: 6px; font-size: 13px; }
.em-prev.big .tt { font-size: 17px; }
.em-prev .mm { font-size: 11px; opacity: .92; margin-top: 4px; line-height: 1.3; max-width: 92%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.em-prev .lg { margin-top: 5px; font-size: 9px; letter-spacing: .1em; opacity: .75; }
.em-prev.big { padding: 9% 7%; }
.em-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.em-ic { width: 44px; height: 40px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; display: grid; place-items: center; }
.em-ic.on { border-color: #111; box-shadow: 0 0 0 2px #fff inset; }
.em-txt { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.em-txt textarea { margin-top: 4px; }
/* video duvarı */
.wall-grid { display: grid; gap: 4px; background: #0f172a; padding: 4px; border-radius: 8px; margin-bottom: 8px; }
.wall-cell { background: #1e293b; color: #cbd5e1; border-radius: 4px; min-height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; text-align: center; padding: 4px; }
.wall-cell.set { background: #1d4ed8; color: #fff; }
.wall-grid.edit .wall-cell { min-height: 80px; gap: 6px; }
.wall-grid.edit .wall-cell .muted { color: #94a3b8; }
/* menüler */
.side-list { padding: 6px; display: flex; flex-direction: column; }
.side-list a { padding: 9px 10px; border-radius: 8px; color: inherit; text-decoration: none; display: flex; flex-direction: column; }
.side-list a.on, .side-list a:hover { background: #eef2ff; }
.menu-sec { border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 12px; background: #fafafa; }
.menu-sec .sec-title { font-weight: 600; font-size: 15px; flex: 1; }
.menu-items input { padding: 5px 7px; }
/* raporlar */
.uptime-days { display: flex; gap: 2px; margin-top: 5px; flex-wrap: wrap; }
.uptime-days i { width: 9px; height: 9px; border-radius: 2px; display: block; }
/* destek */
.thread { display: flex; flex-direction: column; gap: 10px; max-height: 50vh; overflow: auto; }
.msg { background: #f3f4f6; border-radius: 10px; padding: 10px 12px; max-width: 85%; }
.msg.sup { background: #eff6ff; align-self: flex-end; border: 1px solid #dbeafe; }
/* canlı görünüm / ekran görüntüsü */
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px; }
.live-card { padding: 10px; cursor: pointer; }
.live-card:hover { border-color: var(--brand); }
.shot-prev { position: relative; border-radius: 6px; overflow: hidden; max-width: 100%; }
.shot-prev > div { position: absolute; box-sizing: border-box; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: flex-end; overflow: hidden; }
.shot-prev > div span { font-size: 10.5px; color: #fff; background: rgba(0,0,0,.55); padding: 2px 6px; border-radius: 0 4px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.shot-prev .shot-off { position: absolute; inset: 0; background: rgba(0,0,0,.82); color: #fff; align-items: center; justify-content: center; font-size: 18px; }
.shot-empty { background: #f1f5f9; color: var(--muted); border-radius: 6px; display: flex; align-items: center; justify-content: center; min-height: 120px; font-size: 13px; }

.hstack { display: flex; align-items: center; gap: 8px; }
.hstack > .dbar { flex: 1; }
.btn.em-go { background: #dc2626 !important; border-color: #dc2626 !important; color: #fff; font-weight: 700; letter-spacing: .02em; }

/* ---- v0.5: modüller, toplantılar, haberler ---- */
.badge.orange { background: #ffedd5; color: #9a3412; }
tr.dim td, .dim { opacity: .55; }
.modbox { padding: 12px; margin: 4px 0 12px; background: #f8fafc; }
.modrow { display: flex; gap: 10px; align-items: flex-start; padding: 7px 4px; border-top: 1px solid var(--line); cursor: pointer; }
.modrow:first-of-type { border-top: 0; }
.modrow input { margin-top: 3px; width: auto; }
.modrow span { display: flex; flex-direction: column; }
.modrow small { color: var(--muted, #64748b); font-size: 12px; }
.roomrow { display: flex; align-items: center; gap: 8px; padding: 8px 6px; border-radius: 8px; }
.roomrow:hover { background: #f1f5f9; }
.roomrow > div:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.newsrow { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-top: 1px solid var(--line); }
.newsrow:first-child { border-top: 0; }
.nthumb { width: 84px; height: 56px; border-radius: 8px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; font-size: 24px; overflow: hidden; flex: none; }
.nthumb img { width: 100%; height: 100%; object-fit: cover; }
.nbody { flex: 1; min-width: 0; }
.newsrow .btns { flex: none; align-items: center; }
.switch { position: relative; display: inline-block; width: 38px; height: 22px; margin-right: 6px; vertical-align: middle; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #cbd5e1; border-radius: 22px; transition: .2s; cursor: pointer; }
.switch span::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: #16a34a; }
.switch input:checked + span::before { transform: translateX(16px); }
