/* Zaqvi dashboard — StreamYard-style light layout (sizes tuned for 125–150% Windows scaling) */
.dash{background:#F3F4F7;font-family:'Inter',system-ui,sans-serif;color:#141824}
.dash h1,.dash h2{font-weight:500;letter-spacing:-.015em}
.dshell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}
.dside{padding:16px 10px 16px 12px;display:flex;flex-direction:column;gap:2px;position:sticky;top:0;height:100vh}
.dside .top{display:flex;align-items:center;gap:10px;padding:2px 6px 18px}
.dside .top .logo-mark{width:38px;height:38px;flex:none}
.dside .top .logo-mark svg{width:16px;height:16px}
.dside .sep{width:1px;height:28px;background:#DADDE5;flex:none}
.acct{display:flex;align-items:center;gap:8px;padding:4px 8px 4px 4px;border-radius:10px;cursor:pointer;border:0;background:none;font:inherit;color:inherit;min-width:0}
.acct:hover{background:#E9EBF0}
.acct .av{width:32px;height:32px;border-radius:9px;background:#E3E9FF;color:#3157F6;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;flex:none}
.acct span{font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dnav{display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:10px;color:#2B3040!important;font-size:15px;font-weight:400;text-decoration:none!important}
.dnav svg{width:20px;height:20px;stroke-width:1.7;flex:none}
.dnav:hover{background:#E9EBF0}
.dnav.active{color:#3157F6!important;font-weight:500}
.scard{background:#fff;border-radius:12px;padding:14px 16px;margin-top:22px}
.scard .h{font-size:14px;color:#4A5063}
.scard .bar{height:3px;border-radius:3px;background:#E7E9EF;margin:10px 0 8px;overflow:hidden}
.scard .bar i{display:block;height:100%;background:#3157F6}
.scard .v{color:#6B7185;font-size:13.5px;margin-top:6px}
.dside .foot{display:flex;gap:16px;padding:14px 8px;font-size:13.5px}
.dside .foot a{color:#5B6174}
.dmain{padding:10px 10px 10px 0;min-width:0}
.dcard{background:#fff;border-radius:16px;min-height:calc(100vh - 20px);padding:18px 40px 40px}
.dtop{display:flex;justify-content:flex-end;align-items:center;gap:10px;min-height:40px;margin-bottom:6px}
.ob{height:38px;padding:0 16px;border-radius:8px;border:1px solid #3157F6;color:#3157F6;background:#fff;font-weight:500;font-size:14.5px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none!important;font-family:inherit;white-space:nowrap}
.ob:hover{background:#F2F5FF}
.ob svg{width:15px;height:15px}
.ob.sm{height:30px;padding:0 10px;font-size:13px;border-radius:7px}
.ob.sm svg{width:15px;height:15px}
.ob.lg{height:42px;width:128px;font-size:14.5px}
.alert{border-radius:10px;padding:11px 16px;margin-bottom:10px;font-size:14px;line-height:1.55}
.alert.info{background:#EEF2FF;border:1px solid #C9D4FD;color:#1E2A5A}
.alert.warn{background:#FDECEC;border:1px solid #E46B6E;color:#3A1012}
.alert a{text-decoration:underline;color:#3157F6}
.dh{font-size:24px;margin:16px 0 16px;font-weight:500}
.create3{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.cbox{display:flex;align-items:center;gap:14px;padding:8px;border:1px solid #E4E6EC;border-radius:10px;background:#fff;cursor:pointer;text-align:left;font:inherit;color:inherit;transition:box-shadow .15s,border-color .15s;min-width:0}
.cbox:hover{border-color:#C9D4FD;box-shadow:0 6px 18px -12px rgba(49,87,246,.5)}
.cbox .ci{width:56px;height:56px;border-radius:9px;background:#EAF0FF;color:#3157F6;display:flex;align-items:center;justify-content:center;flex:none}
.cbox .ci svg{width:24px;height:24px;stroke-width:1.8}
.cbox>span:last-child{min-width:0}
.cbox b{display:block;font-size:16px;font-weight:500;margin-bottom:3px}
.cbox span span{display:block;color:#5E6476;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dtabs{display:flex;border-bottom:1px solid #E1E4EA}
.dtab{padding:11px 24px;border:0;background:none;font:inherit;font-size:15px;color:#5E6476;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}
.dtab.active{color:#3157F6;border-color:#3157F6;font-weight:500}
.thead,.trow{display:grid;grid-template-columns:minmax(0,1fr) 200px 140px 36px;column-gap:16px;align-items:center}
.thead{padding:16px 6px 6px;color:#5E6476;font-size:13.5px}
.trow{padding:8px 6px;border-radius:10px}
.trow:hover{background:#FAFBFD}
.trow .tt{display:flex;align-items:center;gap:16px;min-width:0}
.thumb{width:140px;height:80px;border-radius:8px;background:#EAF0FF;color:#7493F6;display:flex;align-items:center;justify-content:center;flex:none}
.thumb svg{width:30px;height:30px;stroke-width:1.6}
.trow .nm{display:flex;align-items:center;gap:7px;font-size:15px;margin-bottom:8px;min-width:0}
.trow .nm svg{width:16px;height:16px;color:#3157F6;flex:none}
.trow .nm span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trow .sub{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.status{font-size:12px;font-weight:600;padding:3px 8px;border-radius:20px;background:#F1F2F6;color:#5E6476}
.status.live{background:#E0353A;color:#fff}
.status.sched{background:#EAF0FF;color:#3157F6}
.chan{display:inline-flex;align-items:center;gap:5px;height:38px;padding:0 10px;border-radius:8px;background:#EEF2FF;color:#3157F6;font-size:14px;cursor:pointer;border:0;font-family:inherit;max-width:100%}
.chan:hover{background:#E3E9FF}
.chan>svg{width:16px;height:16px;flex:none}
.chan .stack{display:flex;margin-left:4px}
.chan .stack .plat{width:24px;height:24px;font-size:9px;margin-left:-8px;border:2px solid #EEF2FF}
.chan .stack .plat:first-child{margin-left:0}
.kebab{width:34px;height:34px;border-radius:8px;border:0;background:none;cursor:pointer;color:#30364A;display:flex;align-items:center;justify-content:center}
.kebab:hover{background:#F0F2F6}
.kebab svg{width:20px;height:20px}
.dempty{padding:44px 16px;text-align:center;color:#5E6476;font-size:14.5px}
.dempty svg{width:38px;height:38px;color:#AEB4C4;margin-bottom:8px}
.lgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.lcard{border:1px solid #E4E6EC;border-radius:10px;overflow:hidden;background:#fff}
.lcard video{width:100%;aspect-ratio:16/9;display:block;background:#0E1220;object-fit:cover;cursor:pointer}
.lcard .m{display:flex;align-items:center;gap:6px;padding:10px 8px 10px 12px}
.lcard .m b{display:block;font-weight:500;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lcard .m small{color:#6B7185;font-size:12.5px}
.dlist{display:flex;flex-direction:column;gap:10px}
.drow{display:flex;align-items:center;gap:14px;padding:12px 14px;border:1px solid #E4E6EC;border-radius:10px}
.drow .plat{width:36px;height:36px;font-size:12px}
.drow b{font-weight:500;font-size:15px}
.drow small{display:block;color:#6B7185;font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;margin-bottom:6px}
.ptile{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 8px;border:1px solid #E4E6EC;border-radius:10px;background:#fff;cursor:pointer;font:inherit;font-size:13.5px;color:#141824}
.ptile:hover{border-color:#3157F6;background:#F7F9FF}
.ptile .plat{width:38px;height:38px;font-size:13px}
.sform{max-width:520px;border:1px solid #E4E6EC;border-radius:12px;padding:20px;margin-bottom:16px}
.sform h3{font-weight:500;font-size:17px;margin:0 0 14px}
.dmob{display:none}
@media (max-width:1150px){.dcard{padding:16px 24px 32px}.thead,.trow{grid-template-columns:minmax(0,1fr) 170px 128px 36px}.thumb{width:110px;height:64px}.create3{gap:10px}}
@media (max-width:980px){
  .dshell{grid-template-columns:1fr}
  .dside{display:none;position:fixed;inset:0 auto 0 0;width:260px;background:#F3F4F7;z-index:900;box-shadow:0 20px 60px rgba(0,0,0,.25)}
  .dside.open{display:flex}
  .dmob{display:flex;align-items:center;gap:10px;padding:10px 14px}
  .dmain{padding:0 8px 8px}
  .dcard{padding:14px 14px 28px;min-height:auto}
  .dtop{display:none}
  .create3{grid-template-columns:1fr}
  .thead{display:none}
  .trow{grid-template-columns:auto minmax(0,1fr) auto;gap:10px;border:1px solid #E4E6EC;margin-bottom:10px;padding:12px}
  .trow .tt{grid-column:1/-1}
  .thumb{width:96px;height:56px}.thumb svg{width:24px;height:24px}
  .trow .ob.lg{width:100%}
}
/* channels: platform icons side by side, overlapping a little */
.chan .stack{flex-direction:row;align-items:center;gap:0}
.chan .stack .plat{display:inline-flex}
/* permanent studio */
.perm-link{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:600;color:#3157F6;background:#EEF2FF;border-radius:6px;padding:4px 8px;text-decoration:none;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.perm-link svg{width:14px;height:14px;flex:none}
.slug-in{display:flex;align-items:center;border:1px solid var(--border);border-radius:10px;background:#fff;overflow:hidden}
.slug-in:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-50)}
.slug-in span{padding:0 4px 0 12px;color:#5E6476;font-size:14.5px;white-space:nowrap}
.slug-in input{flex:1;min-width:0;border:0;outline:0;height:42px;font:inherit;font-size:14.5px;padding:0 12px 0 0;background:transparent}
.slug-ok{color:#14833B!important}.slug-bad{color:#D93025!important}
@media (max-width:1150px){.create3{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* create cards: show the full text (wrap instead of cutting it off) */
.cbox{align-items:center;padding:10px;gap:12px}
.cbox .ci{width:48px;height:48px}
.cbox b{font-size:15.5px;line-height:1.25;white-space:normal}
.cbox span span{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35}
