/* Per-person share-link QR icons and window (Ray t2429u) */
.ci .sqr{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:22px;height:22px;padding:0;
  border:1px solid #b4bcc8;border-radius:6px;background:#f5f7fa;color:#232a36;cursor:pointer;z-index:3;
  display:flex;align-items:center;justify-content:center;line-height:0}
.ci .sqr svg{width:14px;height:14px;display:block}
.ci .sqr.on{border-color:#34c759;box-shadow:0 0 0 2px rgba(52,199,89,.25)}
.ci .sqr.on::after{content:"";position:absolute;top:-2px;right:-2px;width:7px;height:7px;border-radius:50%;
  background:#34c759;border:1px solid #fff}
html[data-th=dark] .ci .sqr{background:#2f343c;border-color:#3a3f48;color:#e6e6e6}
.sq-dim{position:fixed;inset:0;background:rgba(8,10,14,.55);z-index:80}
.sq-win{position:fixed;left:50%;top:50%;transform:translate(-50%,-52%);width:440px;max-width:calc(100vw - 24px);
  max-height:calc(100vh - 24px);overflow:auto;z-index:81;color:#e9eef6;
  background:linear-gradient(180deg,#1c2433 0%,#151b27 100%);border-radius:16px;
  box-shadow:0 24px 64px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.07);padding:16px 18px 18px;
  font-family:system-ui,Inter,sans-serif}
.sq-win.wide{width:620px}
.sq-bar{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.sq-bar h1{margin:0;font-size:13px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:#c5d0e0;flex:1}
.sq-ico{width:30px;height:30px;border-radius:8px;border:1px solid #3a4558;background:#232c3c;color:#d5deea;
  display:flex;align-items:center;justify-content:center;font-size:16px;padding:0;cursor:pointer}
.sq-who{font-size:20px;font-weight:700;margin:2px 0;color:#fff}
.sq-meta{color:#9aa6b8;font-size:13.5px;line-height:1.45}
.sq-chip{display:inline-flex;align-items:center;gap:6px;background:#243044;color:#c9d6ea;border-radius:999px;
  padding:2px 9px;font-size:12px;font-weight:600;margin-top:8px}
.sq-chip i{width:7px;height:7px;border-radius:50%;background:#8aa0b8;display:inline-block}
.sq-chip.on i{background:#34c759}
.sq-qr{margin:14px auto 6px;background:#fff;border-radius:14px;padding:14px;width:260px;height:260px;
  display:flex;align-items:center;justify-content:center;cursor:pointer}
.sq-win.wide .sq-qr{width:340px;height:340px}
.sq-qr img{width:100%;height:100%;object-fit:contain}
.sq-slide{width:100%;height:100%;background:linear-gradient(180deg,#0e1a2e,#15233a);border-radius:8px;color:#eef3fb;
  padding:14px;text-align:left;overflow:auto}
.sq-slide .ref{color:#8fb8ff;font-size:12px;font-weight:600;margin-bottom:8px}
.sq-hint{text-align:center;color:#8b96a8;font-size:12.5px;margin:0 0 12px}
.sq-row{display:flex;align-items:center;gap:10px;margin:8px 0}
.sq-sw{width:44px;height:26px;border-radius:13px;background:#4a5160;position:relative;flex:none;border:0;padding:0;cursor:pointer}
.sq-sw i{position:absolute;top:2px;left:2px;width:22px;height:22px;border-radius:11px;background:#fff}
.sq-sw.on{background:#34c759}
.sq-sw.on i{left:20px}
.sq-tlab{font-size:13.5px;font-weight:600}
.sq-tlab span{display:block;font-weight:500;color:#8b96a8;font-size:12px}
.sq-dd{background:#232c3c;border:1px solid #3a4558;color:#e9eef6;border-radius:10px;padding:6px 10px;font-size:13.5px;font-weight:600}
.sq-phone{background:#1a2a22;border:1px solid #2e5a3c;border-radius:10px;padding:9px 11px;display:flex;align-items:center;gap:10px;font-size:13.5px}
.sq-phone b{display:block}
.sq-phone .sub{color:#9ab8a4;font-size:12px}
.sq-btns{display:flex;gap:8px;margin-top:12px}
.sq-btn{flex:1;border:0;border-radius:10px;padding:9px 12px;font-size:13.5px;font-weight:650;cursor:pointer;
  background:#232c3c;color:#e9eef6;border:1px solid #3a4558;font-family:inherit}
.sq-btn.ok{background:#1a3a28;color:#7ddea0;border-color:#2e5a3c}
.sq-banner{background:#1a3358;border:1px solid #3a5a88;color:#cfe0ff;border-radius:10px;padding:8px 11px;font-size:13px;margin:8px 0 0}
.sq-chk{display:flex;align-items:center;gap:8px;font-size:13px;color:#c5d0e0;margin:6px 0;cursor:pointer}

.sq-pick{margin:8px 0}.sq-hrs{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}.sq-hrs .sq-btn{flex:1 1 56px;padding:8px 6px}
.sq-btn[disabled]{opacity:.4;cursor:default}.sq-btn.warn{background:#3a1e22;color:#ff9a90;border-color:#6a2e34}

.sq-ph{margin-top:10px;border-top:1px solid rgba(255,255,255,.12);padding-top:8px}.sq-ph .row{display:flex;align-items:center;gap:8px;margin:6px 0;font-size:13px;color:#c9d6ea}.sq-ph .row span{flex:1}

/* t842u (Raimond): the QR button and the light-blue file / lyrics button (.n1l, absolute right:8px;top:4px in theme.css) both used the same spot, so the QR hid it.
   QR is now always the right-most button, level with the file button; the file button moves one slot left on the rows of a card that has QR buttons,
   and the performer text keeps clear of both. Every row of such a card uses the same two slots. */
.ci.th>.sqr{right:8px;top:4px;transform:none}
.sched:has(.ci>.sqr) .ci.th>.n1a>.n1l{right:38px!important}
.sched:has(.ci>.sqr) .ci.th:has(>.n1a>.n1l:not([hidden]))>.pw{padding-right:68px}
.sched:has(.ci>.sqr) .ci.th:has(>.sqr):not(:has(>.n1a>.n1l:not([hidden])))>.pw{padding-right:38px}
@media (max-width:520px){.sched:has(.ci>.sqr) .ci.th>.pw{white-space:normal!important;overflow-wrap:anywhere;min-width:0}.sched:has(.ci>.sqr) .ci.th:has(>.n1a>.n1l:not([hidden]))>.pw{padding-right:62px}.sched:has(.ci>.sqr) .ci.th:has(>.sqr):not(:has(>.n1a>.n1l:not([hidden])))>.pw{padding-right:32px}}

.sq-tip{display:inline-block;margin-left:3px;cursor:help;color:#8b96a8;font-size:12px;font-weight:700;vertical-align:middle}

/* t309: slide activation + pre-activation on the program list (mockup 03-wait-pill) */
.ci.th > .ncell{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:1px;min-width:0;width:100%;padding:0 0 1px 2px;box-sizing:border-box}
.ci.th > .ncell .no{display:block;line-height:1.15}
.ci.th > .sl-extra{grid-column:1 / 3;grid-row:2;display:flex;align-items:center;gap:4px;padding:0 0 3px 2px;min-width:0;align-self:start}
.ci.th.is-wait{background:rgba(196,122,18,.06)}
.ci.th.is-live{background:rgba(31,125,58,.05)}
.ci.th.is-deny{background:transparent}
.sl-chk{box-sizing:border-box;width:13px;height:13px;padding:0;margin:1px 0 0;border:1px solid #c5c5cb;border-radius:2.5px;background:#fff;color:#1a7f3c;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:none}
.sl-chk .ic{width:10px;height:10px;display:block}
.sl-chk.on{background:#e8f6ee;border-color:#2f9e5b;color:#1a7f3c}
.sl-chk.suggest{background:#fffaf0;border:1px dashed #c4a15a}
.sl-chk:disabled{opacity:.45;cursor:default}
.sl-pill,.sl-live{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;margin:0;max-width:100%}
.sl-live{color:#1a7f3c}
button.sl-a,button.sl-d,button.sl-end,button.sl-all,button.sl-confirm,button.sl-hrs{
  font:650 10px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  border-radius:4px;padding:3px 5px;cursor:pointer;border:1px solid transparent}
button.sl-a{background:#1f6d3a;color:#fff;border-color:#1a5c31}
button.sl-d{background:#fff;color:#8a1f28;border-color:#d9a8ac}
button.sl-end{background:#fff;color:#1a5c31;border:1px solid #8fbf9c;padding:2px 5px}
button.sl-hrs{background:#fff;color:#333;border:1px solid #d2d2d7;min-width:2.2em}
button.sl-hrs.ok{background:#e8f6ee;color:#1a5c31;border-color:#8fbf9c;font-weight:700}
.sl-left{display:inline-flex;align-items:center;gap:2px;font:650 9.5px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#1a7f3c;white-space:nowrap}
.sl-ic{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;line-height:0;color:#1a7f3c}
.sl-denied{font:600 9.5px/1.1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#b4232a}
.tdiv .sl-badge{display:inline-flex;align-items:center;height:16px;padding:0 6px;border-radius:8px;background:#f3c56a;color:#5a3a00;font:700 10px/16px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;white-space:nowrap}
.tdiv .sl-all,.tdiv .sl-confirm{font:650 10px/16px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif !important;height:18px;padding:0 7px !important;border-radius:8px !important;background:#fff;color:#1a3a6b;border:1px solid #8eafd4 !important}
.tdiv .sl-all.on{background:#e8f0fa;border-color:#4d7eaf !important;color:#14345c}
.tdiv .sl-confirm{background:#1f6d3a !important;color:#fff !important;border:1px solid #1a5c31 !important}
.tdiv .sl-sug{font:500 10px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#7a5a18;background:#f8efd8;border:1px dashed #c4a15a;border-radius:6px;padding:2px 6px}
.tdiv .sl-quiet{display:inline-flex;align-items:center;gap:4px;margin-left:auto;font:500 10px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#4a5568;cursor:pointer;white-space:nowrap}
.tdiv .sl-quiet input{margin:0;width:12px;height:12px;accent-color:#1f6d3a}
.tdiv .sl-hist-wrap{position:relative;margin-left:2px;display:inline-flex;align-items:center}
.tdiv .sl-info{width:18px;height:18px;padding:0;border:0;background:transparent;color:#4a5568;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%}
.tdiv .sl-info:hover,.tdiv .sl-hist-wrap.open .sl-info{background:#d4dbe6}
.tdiv .sl-hist{display:none;position:absolute;top:20px;right:0;z-index:8;width:220px;background:#fff;color:#222;border:1px solid #c5d4e8;border-radius:8px;box-shadow:0 6px 16px rgba(20,30,50,.16);padding:8px 10px;font:500 11px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;text-align:left;font-weight:500}
.tdiv .sl-hist-wrap.open .sl-hist{display:block}
.tdiv .sl-hist-h{font-weight:700;font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:#4a5568;margin:0 0 4px}
.tdiv .sl-hist ul{margin:0;padding:0;list-style:none}
.tdiv .sl-hist li{padding:2px 0;border-top:1px solid #eef1f5;color:#333}
.tdiv .sl-hist li:first-child{border-top:0}
.tdiv .sl-hist b{font-weight:700;color:#111}
@media (max-width:520px){
  .tdiv .sl-quiet{margin-left:0}
  .tdiv{row-gap:3px}
}

/* t349: Phones panel is a dropdown under the toolbar button, not a bottom-left window. */
.sq-win.sq-drop{transform:none;bottom:auto}

/* t418: Approving… spinner on the Phones panel and program-row Approve */
.sq-spin{display:inline-block;width:12px;height:12px;border:2px solid #9aa5b1;border-top-color:#1a5c31;border-radius:50%;animation:sq-spin .7s linear infinite;vertical-align:middle;margin-left:6px}
@keyframes sq-spin{to{transform:rotate(360deg)}}
