/* Janela "Enviar conteúdo para telas" (22/10/2026). Tokens de app.css, vidro claro de painel-ux.css (.ux-dialog). */
.st{width:min(96vw,900px);max-height:85vh;padding:0;flex-direction:column;overflow:hidden}
.st[open]{display:flex}
.st-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:20px 24px 12px}
.st-head h2{margin:0;font-size:21px;letter-spacing:-.01em}
.st-head-copy{min-width:0}
.st-what{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0 0;color:var(--ink);font-size:14px}
.st-what b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:52ch}
.st-what-mix{color:var(--ink2);font-weight:600}
.st-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 9px 3px 6px;border-radius:99px;background:var(--tv-green-soft);border:1px solid var(--tv-green-line);color:var(--tv-green-deep);font-size:12px;font-weight:800}
.st svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.st-chip svg{width:16px;height:16px}

.st-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:0 24px 10px}
.st-tools input[type=search]{flex:1 1 260px;min-width:0;margin:0;height:42px;border-radius:10px}
.st-quick{display:flex;gap:6px}
.st-quick .mini{height:42px;padding:0 14px}

.st-rule{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 24px 12px;padding:9px 12px;border-radius:10px;background:var(--tv-green-wash);border:1px solid var(--tv-green-line);color:var(--ink2);font-size:13px;font-weight:600;line-height:1.4}
.st-rule svg{flex:none;color:var(--tv-green-deep)}
.st-rule span{flex:1 1 240px;min-width:0}
.st-link{border:0;background:none;padding:2px 0;color:var(--tv-green-deep);font-weight:800;font-size:13px;text-decoration:underline;text-underline-offset:3px}

/* Lista: única parte com rolagem */
.st-list{flex:1;min-height:180px;overflow:auto;padding:0 24px 16px;border-top:1px solid var(--line);background:linear-gradient(180deg,var(--tv-green-wash),#fff 140px)}
.st-side{padding-top:4px}
.st-side+.st-side{margin-top:10px}
.st-side-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;margin:0 -24px 8px;padding:12px 24px 10px;font-size:15px;color:var(--ink);background:rgba(245,250,246,.95);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid var(--tv-green-line)}
.st-side-head small{font-weight:600;color:var(--ink3)}
.st-side-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--tv-green-deep);color:#fff}
.st-side-icon svg{width:18px;height:18px}
.st-side-n{margin-left:auto;font-size:12.5px;font-weight:700;color:var(--ink2)}
.st-side.is-off .st-side-icon{background:var(--ink3)}

.st-group{margin:0 0 12px}
.st-client{display:inline-flex;align-items:center;gap:8px;margin:4px 0 6px;padding:4px 8px 4px 4px;border-radius:8px;cursor:pointer;color:var(--ink)}
.st-client input{width:18px;height:18px;margin:0;accent-color:var(--tv-green-deep)}
.st-client b{font-size:14px}
.st-client span{font-size:12.5px;color:var(--ink2);font-weight:600}
.st-client:hover{background:var(--tv-green-soft)}
.st-client:focus-within{outline:3px solid var(--tv-green-strong);outline-offset:1px}
.st-rows{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:6px}
.st-screen{display:flex;align-items:center;gap:10px;min-width:0;padding:8px 10px;border-radius:12px;border:1.5px solid var(--line);background:rgba(255,255,255,.9);cursor:pointer;color:var(--ink);transition:border-color .15s ease-out,background .15s ease-out}
.st-screen:hover{border-color:var(--tv-green-mid)}
.st-screen.is-on{border-color:var(--tv-green);background:var(--tv-green-soft)}
.st-screen input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--tv-green-deep)}
.st-screen:focus-within{outline:3px solid var(--tv-green-strong);outline-offset:1px}
.st-orient{flex:none;display:grid;place-items:center;width:26px;height:26px;color:var(--tv-green-deep)}
.st-orient svg{width:22px;height:22px}
.st-name{min-width:0;display:flex;flex-direction:column;gap:1px}
.st-name b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-name small{font-size:12px;color:var(--ink2);line-height:1.35}
.st-dot{display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:99px;background:var(--ink3);vertical-align:1px}
.st-dot.on{background:var(--ok);box-shadow:0 0 0 3px var(--ok-soft)}
.st-warn{font-style:normal;font-weight:700;color:var(--warn)}
.st-screen.is-off .st-orient{color:var(--ink3)}
.st-empty{margin:14px 0;color:var(--ink2);font-size:14px}

.st-foot{display:flex;align-items:flex-end;gap:14px;padding:12px 24px 14px;border-top:1px solid var(--line);background:rgba(255,255,255,.96)}
.st-until{flex:0 1 220px;font-size:12.5px}
.st-until small{font-weight:600;color:var(--ink3)}
.st-until input{height:40px;margin-top:5px}
.st-count{flex:1;min-width:0;align-self:center;text-align:right;color:var(--ink2);font-size:13.5px;font-weight:700}
.st-send{min-width:190px;background:var(--tv-green-grad);box-shadow:0 6px 18px rgba(20,92,49,.22)}
.st-send:disabled{opacity:.45;cursor:default;box-shadow:none}
.st .mini:focus-visible,.st .primary:focus-visible,.st-link:focus-visible,.st input:focus-visible{outline:3px solid var(--tv-green-strong);outline-offset:2px}

@media(max-width:700px){
  .st{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;border:0}
  .st-head{padding:14px 16px 10px}
  .st-head{padding:12px 16px 8px}
  .st-head h2{font-size:17px}
  .st-what{flex-wrap:nowrap;margin-top:4px;font-size:13px}
  .st-what b{flex:0 1 auto;min-width:0;max-width:none}
  .st-tools{padding:0 16px 8px;gap:6px}
  .st-tools input[type=search]{flex-basis:100%;height:40px}
  .st-quick{width:100%}.st-quick .mini{flex:1;height:36px}
  .st-rule{margin:0 16px 8px;padding:7px 10px;font-size:12.5px}
  .st-rule span{flex-basis:200px}
  .st-list{padding:0 16px 14px;min-height:0}
  .st-side-head{margin:0 -16px 8px;padding:10px 16px}
  .st-rows{grid-template-columns:minmax(0,1fr)}
  .st-foot{flex-wrap:wrap;gap:8px 12px;padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
  .st-until{flex:1 1 100%;display:flex;align-items:center;gap:10px}
  .st-until input{flex:1;margin:0}
  .st-count{text-align:left}
  .st-send{min-width:0}
}
@media(prefers-reduced-motion:reduce){.st-screen{transition:none}}
