@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');
/* SonoraGrid — folha de estilo única do painel.
 * Consolidada em 2026-10-08 a partir de 13 arquivos, na MESMA ordem em que
 * eram carregados (a ordem decide qual regra vence). Edite aqui; não crie
 * novos arquivos vNN.css por cima. */

/* ===== painel.css ===== */
:root{--bg:#f6f6fa;--surface:#fff;--ink:#171727;--muted:#747486;--line:#e8e8f0;--nav:#11111d;--violet:#6c5ce7;--violet-dark:#5545d3;--coral:#ff7657;--blue:#3b82f6;--danger:#d94c61;--shadow:0 14px 40px rgba(30,25,70,.07)}*{box-sizing:border-box}html{font-size:15px}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif}a{text-decoration:none;color:inherit}button,input,select{font:inherit}.sidebar{position:fixed;inset:0 auto 0 0;width:264px;padding:27px 18px 22px;background:var(--nav);color:#b9b9c8;display:flex;flex-direction:column;z-index:20}.brand{height:52px;display:flex;align-items:center;gap:13px;padding:0 10px;color:#fff}.brand-mark,.login-brand span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#8b7cf6,var(--violet));font:800 20px Manrope;box-shadow:0 10px 25px #6c5ce744}.brand>span:last-child{display:grid}.brand strong{font:800 18px Manrope;letter-spacing:-.03em}.brand small{font-size:9px;letter-spacing:.17em;color:#79798a}.nav-label,.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:800;color:#9696a8}.nav-label{margin:45px 13px 13px;color:#5e5e70}.sidebar nav{display:grid;gap:5px}.sidebar nav a{position:relative;display:flex;align-items:center;gap:14px;padding:13px 14px;border-radius:11px;font-weight:600;transition:.2s}.sidebar nav a i{width:22px;font-style:normal;font-size:18px;text-align:center;color:#747487}.sidebar nav a:hover{color:#fff;background:#1b1b2a}.sidebar nav a.active{color:#fff;background:#242337}.sidebar nav a.active:before{content:"";position:absolute;left:-18px;width:3px;height:24px;border-radius:0 4px 4px 0;background:#8b7cf6}.sidebar nav a.active i{color:#a99eff}.sidebar-status{margin-top:auto;padding:15px;border:1px solid #29293a;border-radius:13px;display:flex;align-items:center;gap:11px;background:#171724}.status-dot,.period-pill span{width:8px;height:8px;border-radius:50%;background:#45d19a;box-shadow:0 0 0 5px #45d19a18}.sidebar-status div{display:grid}.sidebar-status strong{font-size:11px;color:#e7e7ee}.sidebar-status small{font-size:9px;margin-top:3px;color:#6f6f80}.main{margin-left:264px;min-height:100vh}.topbar{height:78px;padding:0 38px;background:rgba(255,255,255,.88);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10}.topbar-title{display:grid;gap:2px}.topbar-title small{font-size:9px;letter-spacing:.16em;color:#9a9aaa;font-weight:700}.topbar-title strong{font:700 16px Manrope}.topbar-actions{display:flex;align-items:center;gap:14px}.icon-button{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:#fff;color:#77778a;cursor:pointer}.profile{display:flex;align-items:center;gap:10px;padding:0 14px;border-left:1px solid var(--line);border-right:1px solid var(--line)}.profile>span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#edeaff;color:var(--violet);font-weight:800}.profile div{display:grid}.profile strong{font-size:12px}.profile small{font-size:10px;color:var(--muted)}.content{padding:42px;max-width:1600px}.page-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:28px}.page-heading h1{font:800 34px Manrope;letter-spacing:-.04em;margin:7px 0}.page-heading p{margin:0;color:var(--muted);font-size:14px}.accent,.green{color:var(--violet)}.period-pill{padding:9px 14px;border:1px solid var(--line);background:#fff;border-radius:99px;display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted)}.period-pill span{width:7px;height:7px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card,.metric{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.metric{position:relative;min-height:184px;padding:24px;display:flex;flex-direction:column;overflow:hidden}.metric:after{content:"";position:absolute;width:140px;height:140px;border-radius:50%;right:-55px;top:-55px;background:currentColor;opacity:.055}.metric.violet{color:var(--violet)}.metric.coral{color:var(--coral)}.metric.blue{color:var(--blue)}.metric-icon{position:absolute;right:22px;top:21px;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:currentColor;color:white;font-size:18px}.metric>span{font-size:12px;font-weight:700;color:var(--muted)}.metric>strong{font:800 43px Manrope;letter-spacing:-.06em;color:var(--ink);margin:17px 0 12px}.metric>strong small{font-size:14px;color:#a2a2b1}.metric a,.metric-foot{margin-top:auto;font-size:11px;font-weight:700;color:currentColor}.metric-foot i{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:6px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:20px;margin-top:20px}.activity-card,.quick-card{padding:25px;min-height:340px}.section-title{display:flex;justify-content:space-between;align-items:start}.section-title h2,.quick-card h2,.install-box h2{font:800 19px Manrope;margin:5px 0}.section-title>a{font-size:11px;font-weight:700;color:var(--violet)}.empty-state{text-align:center;display:grid;justify-items:center;padding:36px 20px}.pulse-visual{height:45px;display:flex;align-items:center;gap:5px}.pulse-visual span{display:block;width:5px;border-radius:5px;background:linear-gradient(var(--violet),#a99eff);height:20px}.pulse-visual span:nth-child(2){height:42px}.pulse-visual span:nth-child(3){height:29px}.empty-state h3{font:700 16px Manrope;margin:12px 0 5px}.empty-state p{max-width:390px;color:var(--muted);font-size:12px;margin:0 0 18px}.quick-card{display:flex;flex-direction:column}.quick-card>h2{margin-bottom:16px}.quick-card>a{display:flex;align-items:center;gap:13px;padding:15px 0;border-top:1px solid var(--line)}.quick-card>a i{width:31px;height:31px;border-radius:9px;background:#f0edff;color:var(--violet);display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:800}.quick-card>a span{display:grid;flex:1}.quick-card>a strong{font-size:12px}.quick-card>a small{color:var(--muted);font-size:10px;margin-top:2px}.quick-card>a b{color:#a5a5b4}.btn{border:0;border-radius:10px;padding:10px 16px;font-weight:700;font-size:12px;cursor:pointer;transition:.2s}.btn:hover{transform:translateY(-1px)}.primary{background:linear-gradient(135deg,#7a6bec,var(--violet-dark));color:#fff;box-shadow:0 8px 20px #6c5ce72d}.ghost{background:#fff;border:1px solid var(--line);color:#555568}.danger{background:#fff1f3;color:var(--danger)}.wide{width:100%;padding:13px}.wide span{float:right}.alert{padding:13px 15px;border-radius:11px;margin-bottom:18px;font-size:12px}.alert.success{background:#eafaf4;color:#167355}.alert.error{background:#fff0f2;color:#a93547}.table-card{overflow:auto;padding:12px}table{width:100%;border-collapse:collapse}th{text-align:left;padding:14px;color:#9494a4;font-size:9px;letter-spacing:.14em}td{padding:16px 14px;border-top:1px solid var(--line);font-size:12px}td small,td strong{display:block}td small{color:var(--muted);margin-top:3px}.actions{display:flex;justify-content:end;gap:7px}.badge{display:inline-block;padding:5px 9px;border-radius:99px;font-size:10px;font-weight:700}.badge.ativa{background:#e9faf4;color:#167355}.badge.suspensa{background:#fff0f2;color:#ad3d4e}.empty{text-align:center;color:var(--muted);padding:45px}.form-card{padding:28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid label,.login-form label{display:grid;gap:8px;font-size:11px;font-weight:700;color:#515163}input,select{width:100%;border:1px solid #dddde7;border-radius:10px;padding:12px 13px;background:#fff;color:var(--ink);outline:none;transition:.2s}input:focus,select:focus{border-color:#8d80eb;box-shadow:0 0 0 3px #6c5ce711}.form-actions{display:flex;justify-content:end;gap:10px;margin-top:26px}.install-box{margin-top:20px}.install-box pre{padding:16px;border-radius:11px;background:#151521;color:#d8d5ff;overflow:auto}.login-page{min-height:100vh;display:grid;place-items:center;padding:30px;background:#efeff5}.login-card{width:min(1100px,100%);min-height:650px;display:grid;grid-template-columns:1.08fr .92fr;background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 35px 90px #27234420}.login-intro{position:relative;padding:48px 58px;color:white;background:radial-gradient(circle at 80% 18%,#5c4acb 0,#242238 36%,#151522 76%);overflow:hidden;display:flex;flex-direction:column}.login-intro:after{content:"";position:absolute;width:380px;height:380px;border:1px solid #ffffff12;border-radius:50%;right:-180px;bottom:-180px;box-shadow:0 0 0 55px #ffffff05,0 0 0 110px #ffffff03}.login-brand{display:flex;align-items:center;gap:12px;font:800 18px Manrope}.login-brand span{width:36px;height:36px}.signal-art{height:95px;margin-top:75px;display:flex;align-items:center;gap:8px}.signal-art i{display:block;width:8px;height:42px;border-radius:8px;background:linear-gradient(#9f91ff,#6c5ce7)}.signal-art i:nth-child(2){height:80px}.signal-art i:nth-child(3){height:58px;background:linear-gradient(#ff9e88,#ff7657)}.signal-art i:nth-child(4){height:92px}.signal-art i:nth-child(5){height:34px}.login-intro>.eyebrow{color:#aaa4cf;margin-top:15px}.login-intro h1{font:800 45px/1.08 Manrope;letter-spacing:-.045em;margin:15px 0}.login-intro h1 em{font-style:normal;color:#a99eff}.login-intro>p{max-width:470px;color:#aaa9bb;line-height:1.7;font-size:13px}.login-proof{display:flex;gap:28px;margin-top:auto;position:relative;z-index:1}.login-proof>span{font:800 17px Manrope}.login-proof small{display:block;color:#777688;font:400 9px DM Sans;margin-top:4px}.login-form{padding:70px 64px;display:flex;flex-direction:column;justify-content:center;gap:18px}.login-form h2{font:800 30px Manrope;letter-spacing:-.04em;margin:4px 0}.login-form>p{margin:0 0 10px;color:var(--muted);font-size:12px}.login-form .check{display:flex;grid-template-columns:auto 1fr;align-items:center}.check input{width:auto}.login-form .alert{margin:0}@media(max-width:900px){.sidebar{width:86px}.brand>span:last-child,.nav-label,.sidebar nav a span,.sidebar-status{display:none}.brand{padding:0 6px}.sidebar nav a{justify-content:center}.sidebar nav a.active:before{left:-18px}.main{margin-left:86px}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:700px){.sidebar{position:static;width:100%;height:auto;flex-direction:row;align-items:center;padding:12px}.sidebar nav{display:flex;margin-left:auto}.sidebar nav a{padding:10px}.main{margin:0}.topbar{padding:0 18px}.topbar-title,.profile div{display:none}.content{padding:24px 18px}.metrics,.form-grid{grid-template-columns:1fr}.page-heading{align-items:start;gap:15px}.login-card{grid-template-columns:1fr;min-height:auto}.login-intro{display:none}.login-form{padding:50px 34px}.actions{flex-direction:column}}

/* ===== radio.css ===== */
.operation-buttons{display:flex;gap:8px}.operation-buttons form{margin:0}.operation-buttons input[type=hidden],.command-card input[type=hidden]{display:none}.radio-overview{display:grid;grid-template-columns:.8fr 1.5fr;gap:20px}.radio-status-card{padding:26px;display:flex;align-items:center;gap:20px}.radio-status-card h2{font:800 26px Manrope;margin:5px 0}.radio-status-card p{font-size:11px;color:var(--muted);margin:0}.live-orb{width:58px;height:58px;border-radius:18px;background:#f1efff;display:grid;place-items:center}.live-orb span{width:15px;height:15px;border-radius:50%;background:#8c80eb;box-shadow:0 0 0 8px #6c5ce718}.live-orb.online{background:#eafaf4}.live-orb.online span{background:#35bf88;box-shadow:0 0 0 8px #35bf8818}.live-orb.erro{background:#fff0f2}.live-orb.erro span{background:#d94c61;box-shadow:0 0 0 8px #d94c6118}.radio-detail{padding:26px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center}.radio-detail>span{font-size:10px;color:var(--muted);display:grid;gap:7px;padding:0 18px;border-left:1px solid var(--line)}.radio-detail>span:first-child{border:0}.radio-detail strong{font:700 15px Manrope;color:var(--ink)}.command-card{padding:25px;margin-top:20px}.command-list{margin-top:18px}.command-list article{display:flex;align-items:center;gap:14px;padding:15px 0;border-top:1px solid var(--line)}.command-icon{width:34px;height:34px;border-radius:10px;background:#f0edff;color:var(--violet);display:grid;place-items:center;font-weight:800}.command-list article>div{display:grid;flex:1}.command-list article>div strong{font-size:12px}.command-list article>div small,.command-meta small{font-size:10px;color:var(--muted);margin-top:3px}.command-meta{display:grid;justify-items:end;gap:4px}@media(max-width:900px){.radio-overview{grid-template-columns:1fr}.radio-detail{grid-template-columns:repeat(2,1fr);gap:20px}.radio-heading{display:grid}.operation-buttons{margin-top:18px}}

/* ===== media.css ===== */
.library-grid{display:grid;grid-template-columns:330px minmax(0,1fr);gap:20px;align-items:start}.upload-card{display:grid;gap:16px}.upload-card h2{font:800 21px Manrope;margin:0}.upload-card>label{display:grid;gap:7px;font-size:11px;font-weight:700;color:#515163}.upload-card label small{color:var(--muted);font-weight:400}.drop-zone{padding:18px;border:1px dashed #c9c5e8;border-radius:13px;background:#faf9ff}.drop-zone input{padding:9px;margin-top:4px}.storage-meter{display:grid;gap:9px;padding-top:4px}.storage-meter>div{display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.storage-meter progress{width:100%;height:7px;accent-color:var(--violet)}.media-tabs{display:flex;gap:8px;margin-bottom:12px}.media-tabs a{padding:9px 14px;border-radius:99px;background:#fff;border:1px solid var(--line);font-size:11px;font-weight:700;color:var(--muted)}.media-tabs a.active{background:#27253b;color:#fff;border-color:#27253b}.badge.media-musica{background:#eeeaff;color:#5f50d5}.badge.media-vinheta{background:#e8f3ff;color:#256bb7}.badge.media-comercial{background:#fff0eb;color:#b95238}.pagination{margin-top:14px}.playlist-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:18px}.playlist-card{display:flex;gap:16px;padding:18px}.playlist-cover{width:76px;height:76px;flex:0 0 auto;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#29263d,#6c5ce7);color:#fff;font-size:20px}.playlist-info{min-width:0;flex:1}.playlist-info h2{font:800 18px Manrope;margin:5px 0}.playlist-info p{font-size:11px;color:var(--muted);min-height:30px}.playlist-info .actions{justify-content:start}.toggle-row{display:flex;align-items:center;gap:8px;margin-top:20px;font-size:12px}.toggle-row input,.picker-item input{width:auto}.media-picker{margin-top:20px;padding:25px}.picker-list{display:grid;gap:8px;margin-top:18px}.picker-item{display:flex;align-items:center;gap:13px;border:1px solid var(--line);padding:12px 14px;border-radius:11px;cursor:pointer}.picker-item:hover{border-color:#c8c2f6;background:#fbfaff}.picker-item>span:nth-of-type(2){display:grid;flex:1}.picker-item small{color:var(--muted);font-size:10px;margin-top:2px}.track-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#f0edff;color:var(--violet)}
@media(max-width:1100px){.library-grid{grid-template-columns:1fr}.playlist-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.playlist-grid{grid-template-columns:1fr}.media-tabs{overflow:auto}.library-grid{display:block}.upload-card{margin-bottom:18px}}
.schedule-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;align-items:start}.schedule-grid>section{display:grid;gap:18px}.schedule-form{display:grid;gap:15px}.schedule-form h2{font:800 20px Manrope;margin:0}.schedule-form>label{display:grid;gap:7px;font-size:11px;font-weight:700;color:#515163}.schedule-form small{color:var(--muted);font-weight:400}.weekday-picker{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.weekday-picker input{display:none}.weekday-picker span{display:grid;place-items:center;padding:9px 3px;border:1px solid var(--line);border-radius:9px;font-size:10px;cursor:pointer}.weekday-picker input:checked+span{background:var(--violet);border-color:var(--violet);color:#fff}.schedule-table{margin-top:0}.insertion-list{display:grid;gap:9px}.insertion-card{display:flex;align-items:center;gap:12px;padding:14px}.insertion-card>div{display:grid;flex:1}.insertion-card small{font-size:10px;color:var(--muted);margin-top:3px}@media(max-width:1050px){.schedule-grid{grid-template-columns:1fr}}
.library-sidebar{display:grid;gap:16px}.folder-card{padding:20px}.folder-create{display:flex;gap:7px;margin:14px 0}.folder-create input{min-width:0}.folder-list{display:grid;gap:4px}.folder-list>a,.folder-row>a{display:flex;justify-content:space-between;align-items:center;padding:10px;border-radius:9px;font-size:11px;color:var(--muted);flex:1}.folder-list a.active{background:#f0edff;color:var(--violet);font-weight:700}.folder-list b{font-size:9px}.folder-row{display:flex;align-items:center}.folder-row form button{border:0;background:transparent;color:#aaa;cursor:pointer}.picker-heading{font:700 13px Manrope;margin:22px 0 8px}.folder-picker{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.folder-pick{background:#fbfaff}@media(max-width:700px){.folder-picker{grid-template-columns:1fr}}
.audio-analysis{display:inline-grid;gap:2px;padding:7px 9px;border-radius:9px;font-size:10px;font-weight:800;white-space:nowrap}.audio-analysis small{font-size:9px;font-weight:700;opacity:.72}.audio-analysis.done{background:#e7f8f1;color:#08785d}.audio-analysis.pending{background:#f0edff;color:#6655df}.audio-analysis.failed{background:#fff0f1;color:#ba3445}.analysis-stat small{font-size:9px;color:var(--violet)}
.badge.media-oferta{background:#fff0eb;color:#b95238}

/* ===== runtime.css ===== */
.stream-link{color:var(--violet);font-weight:600}.now-playing{display:flex;align-items:center;gap:15px;margin-top:20px;padding:20px 25px}.now-playing-copy{display:grid;flex:1}.now-playing h2{font:800 17px Manrope;margin:4px 0}.now-playing p{font-size:10px;color:var(--muted);margin:0}.now-playing audio{width:min(540px,100%);height:34px;margin-top:12px}.on-air-dot{width:12px;height:12px;border-radius:50%;background:#aaa;box-shadow:0 0 0 7px #aaa2}.on-air-dot.executando{background:#35bf88;box-shadow:0 0 0 7px #35bf8820}.on-air-badge{padding:7px 11px;border-radius:99px;background:#f0edff;color:var(--violet);font-size:9px;font-weight:800;letter-spacing:.12em}.panel-health{margin-top:20px;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:25px}.panel-health h2{font:800 19px Manrope;margin:5px 0}.health-metrics{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));flex:1;max-width:900px}.health-metrics span{display:grid;padding:4px 20px;border-left:1px solid var(--line);font-size:10px;color:var(--muted)}.health-metrics strong{font-size:12px;color:var(--ink);margin-top:6px}.picker-section-title{padding:22px 4px 10px;display:grid;gap:4px;border-top:1px solid var(--line);margin-top:12px}.picker-section-title small{color:var(--muted)}@media(max-width:900px){.panel-health{align-items:flex-start;flex-direction:column}.health-metrics{grid-template-columns:1fr 1fr;width:100%}}

/* ===== v14.css ===== */
.action-feedback {
    position: sticky;
    top: 90px;
    z-index: 9;
    margin-bottom: 18px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--shadow);
}
.action-feedback.processing { background: #f0edff; color: var(--violet); }
.action-feedback.success { background: #e9faf4; color: #167355; }
.action-feedback.error { background: #fff0f2; color: #ad3d4e; }

/* ===== v16.css ===== */
.upload-progress{display:grid;gap:8px;padding:13px;border:1px solid #dcd7ff;border-radius:12px;background:#f8f7ff}
.upload-progress[hidden]{display:none}
.upload-progress>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#56526d}
.upload-progress progress{width:100%;height:9px;accent-color:var(--violet)}
.upload-progress small{color:var(--muted);font-size:10px}
.upload-progress.error{border-color:#f1b9b9;background:#fff5f5}
.upload-progress-form button:disabled{cursor:wait;opacity:.6}
.picker-section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:24px 0 8px;padding-top:17px;border-top:1px solid var(--line)}
.picker-section-title small{color:var(--muted);font-size:10px}

/* ===== v17.css ===== */
.radio-workspace-nav{display:flex;align-items:center;gap:18px;margin-bottom:24px;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 30px rgba(31,29,51,.04)}
.radio-workspace-identity{display:flex;align-items:center;gap:10px;padding-right:17px;border-right:1px solid var(--line)}
.radio-workspace-identity>span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#7c6df2,#5140d7);color:#fff;font-weight:800}
.radio-workspace-identity>div{display:grid;min-width:100px}.radio-workspace-identity small{font-size:8px;letter-spacing:.14em;color:var(--muted)}.radio-workspace-identity strong{font-size:11px;margin-top:2px}
.radio-workspace-links{display:flex;align-items:center;gap:5px;flex:1}.radio-workspace-links a,.radio-workspace-exit{padding:9px 11px;border-radius:10px;color:var(--muted);font-size:10px;font-weight:700;white-space:nowrap}.radio-workspace-links a:hover{background:#f7f6fc;color:var(--ink)}.radio-workspace-links a.active{background:#efecff;color:var(--violet)}.radio-workspace-exit{border:1px solid var(--line)}
.critical-controls{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:19px 22px;margin-bottom:20px;border:1px solid #eadfc8;background:linear-gradient(120deg,#fffdf8,#fff);border-radius:16px}.critical-controls-copy{display:grid;gap:4px}.critical-controls-copy strong{font:800 14px Manrope}.critical-controls-copy small{font-size:10px;color:#8a7351}.critical-controls-actions{display:flex;gap:8px}.critical-controls-actions form{margin:0}.btn.control-start{background:#14835e;color:#fff}.btn.control-stop{border-color:#e6a5ad;color:#b23d4e;background:#fff}.btn.control-restart{border-color:#dfc28a;color:#85601e;background:#fffaf0}
.service-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.service-status-card{display:flex;align-items:center;gap:16px;padding:21px}.service-status-copy{display:grid;flex:1}.service-status-copy h2{font:800 21px Manrope;margin:4px 0}.service-status-copy p{font-size:10px;color:var(--muted);margin:0}.service-status-card .live-orb{width:48px;height:48px;border-radius:15px}.technical-strip{padding:19px;display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:18px}.technical-strip span{display:grid;padding:0 18px;border-left:1px solid var(--line);font-size:9px;color:var(--muted)}.technical-strip span:first-child{border:0}.technical-strip strong{font:700 13px Manrope;color:var(--ink);margin-top:5px}
.history-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.history-summary .card{padding:18px;display:grid;gap:5px}.history-summary small{font-size:9px;color:var(--muted);letter-spacing:.08em}.history-summary strong{font:800 22px Manrope}.history-filter{display:flex;align-items:end;gap:9px;margin-bottom:18px}.history-filter label{display:grid;gap:6px;font-size:10px;font-weight:700}.history-filter input{min-width:180px}.history-track{display:flex;align-items:center;gap:12px}.history-track>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#efecff;color:var(--violet)}.history-track>div{display:grid}.history-track small{color:var(--muted);margin-top:2px}.live-row{background:#fbfffd}.live-label{color:#14835e;font-weight:800}
.playlist-card-v2{display:grid;gap:16px;padding:20px}.playlist-card-head{display:flex;align-items:start;justify-content:space-between;gap:14px}.playlist-card-head h2{font:800 19px Manrope;margin:4px 0}.playlist-state{padding:6px 9px;border-radius:99px;font-size:8px;font-weight:800;background:#e9faf4;color:#167355}.playlist-state.off{background:#f2f1f6;color:#777386}.playlist-metrics{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:12px}.playlist-metrics span{display:grid;padding:12px;border-left:1px solid var(--line);font-size:8px;color:var(--muted)}.playlist-metrics span:first-child{border:0}.playlist-metrics strong{font-size:12px;color:var(--ink);margin-top:4px}.playlist-config{display:grid;gap:7px;padding:12px;background:#faf9fd;border-radius:12px}.playlist-config p{font-size:10px;color:var(--muted);margin:0}.playlist-config b{color:var(--ink)}
@media(max-width:1100px){.radio-workspace-nav{align-items:flex-start;flex-wrap:wrap}.radio-workspace-links{order:3;width:100%;overflow:auto}.radio-workspace-exit{margin-left:auto}}
@media(max-width:760px){.critical-controls{align-items:flex-start;flex-direction:column}.critical-controls-actions{width:100%;flex-wrap:wrap}.service-status-grid,.history-summary{grid-template-columns:1fr}.technical-strip{grid-template-columns:1fr 1fr;gap:16px}.radio-workspace-identity{border:0}.playlist-metrics{grid-template-columns:1fr}.playlist-metrics span{border-left:0;border-top:1px solid var(--line)}.playlist-metrics span:first-child{border-top:0}}

/* ===== v18.css ===== */
/* Radio workspace refinement: readable type, stronger hierarchy and calmer density. */
[hidden]{display:none!important}
.radio-workspace-nav{padding:14px 16px;gap:22px;border-radius:18px}
.technical-strip-expanded{grid-template-columns:repeat(6,minmax(0,1fr))}.technical-strip-expanded span{min-width:0}.technical-strip-expanded small{margin-top:3px;color:var(--muted);font-size:8px;white-space:nowrap}.technical-strip-expanded strong{white-space:nowrap}
.radio-workspace-identity>span{width:42px;height:42px;border-radius:12px;font-size:16px}
.radio-workspace-identity>div{min-width:130px}.radio-workspace-identity small{font-size:10px}.radio-workspace-identity strong{font-size:14px}
.radio-workspace-links{gap:7px}.radio-workspace-links a,.radio-workspace-exit{padding:11px 14px;font-size:13px;border-radius:11px}
.workspace-page-heading{margin-bottom:24px}.workspace-page-heading h1{font-size:32px}.workspace-page-heading p{font-size:15px;line-height:1.55}
.workspace-section{display:grid;gap:18px;margin-bottom:26px}.workspace-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.workspace-section-heading>div{display:grid;gap:5px}.workspace-section-heading h2{font:800 23px Manrope;margin:0}.workspace-section-heading p{font-size:14px;color:var(--muted);margin:0}.step-badge{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#efecff;color:var(--violet);font-weight:800}
.professional-form{padding:26px}.professional-form h3{font:800 19px Manrope;margin:0}.professional-form label{font-size:13px!important;gap:9px!important}.professional-form input,.professional-form select{min-height:46px;font-size:14px;padding:12px 14px}.professional-form small{font-size:12px!important;line-height:1.45}.form-section-label{display:flex;align-items:center;gap:10px;margin-bottom:3px}.form-section-label span{font-size:18px}.form-help{padding:12px 14px;border-radius:11px;background:#f7f6fc;color:var(--muted);font-size:12px;line-height:1.5}
.schedule-builder{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:20px;align-items:start}.schedule-builder .schedule-table{min-height:100%}.schedule-builder .weekday-picker span{padding:11px 5px;font-size:12px}.schedule-builder .table-card{padding:18px}
.rules-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.rule-card{display:grid;gap:18px;padding:26px}.rule-card-header{display:flex;align-items:center;gap:13px;padding-bottom:16px;border-bottom:1px solid var(--line)}.rule-card-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#efecff;color:var(--violet);font-size:19px}.rule-card-header div{display:grid}.rule-card-header h3{font:800 20px Manrope;margin:0}.rule-card-header small{font-size:12px;color:var(--muted);margin-top:3px}.rule-card>label{display:grid;gap:9px;font-size:13px;font-weight:700}.rule-card input,.rule-card select{min-height:46px;font-size:14px}.criterion-grid{display:grid;grid-template-columns:1fr 150px;gap:14px}.advanced-options{border:1px solid var(--line);border-radius:12px;background:#fafafd}.advanced-options summary{padding:14px 16px;cursor:pointer;font-size:13px;font-weight:700;color:#555568}.advanced-options>div{display:grid;gap:16px;padding:0 16px 16px}.advanced-options label{display:grid;gap:8px;font-size:12px;font-weight:700}.configured-rules{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.configured-rules .insertion-card{padding:17px}.configured-rules .insertion-card strong{font-size:14px}.configured-rules .insertion-card small{font-size:12px;line-height:1.45}
.library-overview{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(520px,1.28fr);gap:22px;align-items:start}.folder-manager,.upload-manager{padding:26px}.folder-manager h2,.upload-manager h2{font:800 22px Manrope;margin:5px 0}.folder-manager .folder-create{margin:20px 0 18px}.folder-manager .folder-create input{min-height:46px;font-size:14px}.folder-manager .folder-list{gap:7px;max-height:430px;overflow:auto;padding-right:4px}.folder-manager .folder-list>a,.folder-manager .folder-row>a{padding:13px 14px;font-size:14px;border:1px solid transparent}.folder-manager .folder-list a.active{border-color:#dcd6ff}.folder-manager .folder-list b{font-size:12px;padding:4px 8px;border-radius:99px;background:#f1eff8}.folder-manager .folder-row form button{font-size:19px;padding:8px}
.upload-manager{display:grid;gap:18px}.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.upload-grid label{display:grid;gap:9px;font-size:13px;font-weight:700}.upload-grid input,.upload-grid select{min-height:46px;font-size:14px}.upload-grid .full{grid-column:1/-1}.upload-manager .drop-zone{padding:24px;border-width:2px;min-height:116px;display:grid;align-content:center}.upload-manager .drop-zone strong{font-size:15px}.upload-manager .drop-zone small{font-size:12px}.library-content{margin-top:24px}.library-content-header{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:14px}.library-content-header h2{font:800 22px Manrope;margin:0}.library-content-header p{font-size:13px;color:var(--muted);margin:4px 0 0}.library-content .media-tabs a{font-size:13px;padding:11px 16px}.library-content table td{font-size:14px}.library-content table td small{font-size:12px}.library-content table th{font-size:10px}.library-stats{display:flex;gap:8px;flex-wrap:wrap}.library-stat{padding:8px 11px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:12px;color:var(--muted)}.library-stat strong{color:var(--ink)}
.capture-diagnostic{display:flex;align-items:center;gap:16px;padding:18px 20px;margin-bottom:20px;border:1px solid #dcece6;background:#f7fffc;border-radius:16px}.capture-diagnostic>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#e2f8ef;color:#14835e;font-size:18px}.capture-diagnostic>div{display:grid;flex:1}.capture-diagnostic strong{font-size:14px}.capture-diagnostic small{font-size:12px;line-height:1.5;color:var(--muted);margin-top:3px}.capture-diagnostic time{font-size:12px;font-weight:700;color:#14835e}.history-filter label{font-size:13px}.history-filter input{min-height:44px;font-size:14px}.history-summary small{font-size:11px}.history-summary strong{font-size:26px}.history-track>span{width:38px;height:38px}.history-track strong{font-size:14px}.history-track small{font-size:12px}.history-table td{font-size:13px}
.playlist-card-v2{padding:24px;gap:18px}.playlist-card-head h2{font-size:22px}.playlist-state{font-size:10px;padding:7px 11px}.playlist-metrics span{padding:15px;font-size:10px}.playlist-metrics strong{font-size:14px;margin-top:6px}.playlist-config{padding:16px;gap:10px}.playlist-config p{font-size:13px;line-height:1.45}
.upload-queue{display:grid;gap:7px;max-height:240px;margin-top:12px;overflow-y:auto}.upload-queue-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:9px 12px;border:1px solid #e8e6f2;border-radius:9px;background:#fff;font-size:12px}.upload-queue-item.uploading{border-color:#7562ef;background:#f7f5ff}.upload-queue-item.success span:last-child{color:#08785f;font-weight:700}.upload-queue-item.failed{border-color:#f1c7cb;background:#fff5f6}.upload-queue-item.failed span:last-child{color:#b52e3e;font-weight:700}.upload-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.upload-retry{margin-top:12px}
.print-only{display:none}.history-filter{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.audit-period{display:grid;gap:3px;margin:18px 0;padding:16px 19px;border-left:4px solid var(--violet);border-radius:0 13px 13px 0;background:#f4f1ff}.audit-period>span{font-size:9px;letter-spacing:.15em;color:var(--violet);font-weight:800}.audit-period>strong{font-size:17px}.audit-period>small{font-size:12px;color:var(--muted)}.content-type{display:inline-flex;padding:6px 9px;border-radius:99px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.content-type-musica{color:#4f46a5;background:#eeecff}.content-type-vinheta{color:#08785f;background:#e4f8f1}.content-type-comercial{color:#a05b00;background:#fff2d9}.audit-table table{min-width:1050px}.audit-report-header{justify-content:space-between;gap:30px;padding-bottom:14px;margin-bottom:18px;border-bottom:2px solid #222}.audit-report-header>div{display:grid;gap:4px}.audit-report-header strong{font-size:18px}.audit-report-header span{font-size:11px}
.sync-feedback{margin:-10px 0 16px;padding:16px 18px;border:1px solid #ddd6ff;border-left:5px solid #7562ef;border-radius:12px;background:#f5f2ff;color:#5140ae;font-size:13px;font-weight:750;box-shadow:0 8px 24px rgba(68,53,150,.07)}.sync-feedback.processando{border-color:#cceade;border-left-color:#13a276;background:#effbf6;color:#08785f}.control-start:disabled{cursor:wait;opacity:.72;background:#77718d!important}
.sidebar-copyright{display:grid;gap:2px;padding:14px 8px 0;color:#626274;font-size:8px;line-height:1.35}.sidebar-copyright strong{color:#9898a8;font-size:9px}.sidebar-copyright span{font-size:7px}.agent-activity{display:flex;align-items:center;gap:14px;margin:-10px 0 18px;padding:16px 18px;border:1px solid #dcd6ff;border-radius:14px;background:linear-gradient(110deg,#f4f1ff,#fff);box-shadow:0 10px 28px rgba(76,58,170,.08)}.agent-activity>div{display:grid;gap:2px}.agent-activity small{font-size:8px;letter-spacing:.16em;color:var(--violet);font-weight:800}.agent-activity strong{font-size:14px;text-transform:capitalize}.agent-activity p{margin:0;color:var(--muted);font-size:11px}.agent-pulse{width:13px;height:13px;border-radius:50%;background:#7562ef;box-shadow:0 0 0 7px #7562ef1c;animation:agentPulse 1.4s infinite}.agent-activity.processando .agent-pulse{background:#13a276;box-shadow:0 0 0 7px #13a2761c}@keyframes agentPulse{50%{transform:scale(.72);opacity:.6}}.command-archive{border-top:1px solid var(--line)}.command-archive summary{display:flex;justify-content:space-between;align-items:center;padding:15px 2px;cursor:pointer;color:var(--violet);font-size:12px;font-weight:800}.command-archive summary b{padding:5px 8px;border-radius:99px;background:#f0edff;font-size:9px}.command-archive .command-list{margin:0;padding-left:12px;border-left:2px solid #ebe8fa}.command-archive .command-list article:first-child{border-top:0}
.playlist-preview-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.playlist-preview-summary .card{display:grid;gap:5px;padding:18px}.playlist-preview-summary small{font-size:9px;letter-spacing:.12em;color:var(--muted)}.playlist-preview-summary strong{font:800 21px Manrope}.preview-notice{display:flex;align-items:center;gap:14px;padding:15px 18px;margin-bottom:18px;border:1px solid #ded8ff;border-radius:14px;background:#f6f3ff}.preview-notice>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#e8e2ff;color:var(--violet);font-size:18px}.preview-notice>div{display:grid;flex:1}.preview-notice strong{font-size:13px}.preview-notice small{font-size:11px;color:var(--muted);margin-top:2px}.preview-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);gap:18px;align-items:start}.sequence-card,.preview-rules{padding:24px}.sequence-list{display:grid;gap:7px;margin:18px 0 0;padding:0;list-style:none}.sequence-list li{display:grid;grid-template-columns:34px minmax(0,1fr) auto 55px;align-items:center;gap:12px;padding:11px 12px;border:1px solid var(--line);border-radius:11px}.sequence-list li>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#f0edff;color:var(--violet);font-size:11px;font-weight:800}.sequence-list li>div{display:grid}.sequence-list li strong{font-size:13px}.sequence-list li small{font-size:10px;color:var(--muted);margin-top:3px}.sequence-list time{text-align:right;color:var(--muted);font-size:11px}.preview-rules{display:grid;gap:12px;position:sticky;top:100px}.preview-rules h2{font:800 19px Manrope;margin:0 0 5px}.preview-rules article{display:grid;gap:3px;padding:13px;border-radius:11px;background:#faf9fd}.preview-rules article b{font-size:12px}.preview-rules article span{font-size:11px;color:var(--violet);font-weight:700}.preview-rules article small{font-size:10px;color:var(--muted)}.preview-explanation{padding-top:15px;border-top:1px solid var(--line)}.preview-explanation strong{font-size:12px}.preview-explanation p,.empty-compact{font-size:11px;line-height:1.5;color:var(--muted)}
.login-copyright{display:block;margin-top:10px;text-align:center;color:#9994aa;font-size:9px;line-height:1.4}
.stream-health-alert{display:flex;align-items:center;gap:14px;margin:-8px 0 18px;padding:15px 18px;border-radius:14px;border:1px solid #f1c9ce;border-left:5px solid #c83f50;background:#fff5f6;color:#982838}.stream-health-alert strong{font-size:13px;white-space:nowrap}.stream-health-alert span{font-size:12px;line-height:1.5}.stream-health-alert.stale{border-color:#ead7aa;border-left-color:#c58a19;background:#fffbf1;color:#825a11}.reliability-card{display:grid;gap:17px;margin-top:20px;padding:24px}.incident-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-radius:13px;background:#fafafd;border:1px solid var(--line)}.incident-summary>div{display:grid;gap:4px}.incident-summary strong{font-size:13px}.incident-summary small{font-size:11px;color:var(--muted)}.incident-summary>span{font-size:10px;font-weight:800;color:var(--muted);white-space:nowrap}.incident-summary.aberto{border-color:#f1c9ce;background:#fff7f8}.incident-summary.aberto strong{color:#aa3041}.incident-summary.resolvido{border-color:#d4eee4;background:#f6fdfa}.incident-summary.resolvido strong{color:#08785f}
.programming-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:24px;padding:8px}.programming-tabs button{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:70px;padding:12px 14px;border:1px solid transparent;border-radius:13px;background:transparent;color:var(--muted);text-align:left;cursor:pointer;transition:.18s ease}.programming-tabs button:hover{background:#faf9fd;color:var(--ink)}.programming-tabs button.active{border-color:#dcd6ff;background:#f2efff;color:var(--violet);box-shadow:0 7px 20px rgba(83,65,185,.08)}.programming-tabs button>span:nth-child(2){display:grid;gap:3px}.programming-tabs strong{font-size:13px;color:var(--ink)}.programming-tabs small{font-size:10px;color:var(--muted)}.programming-tabs b{min-width:25px;padding:5px 7px;border-radius:99px;background:#ece9f6;color:#6d687d;font-size:9px;text-align:center}.programming-tabs button.active b{background:#ded8ff;color:var(--violet)}.programming-tab-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#f2f0f8;color:#777184;font-size:17px}.programming-tabs button.active .programming-tab-icon{background:#e2dcff;color:var(--violet)}.programming-panels{min-height:520px}.programming-panel{display:grid;gap:18px}.campaign-workspace{display:grid;grid-template-columns:minmax(390px,.85fr) minmax(520px,1.15fr);gap:20px;align-items:start}.campaign-list-column{display:grid;gap:12px}.campaign-column-heading{display:flex;align-items:end;justify-content:space-between;padding:0 4px}.campaign-column-heading h3{margin:4px 0 0;font:800 18px Manrope}.campaign-column-heading>span{font-size:10px;font-weight:750;color:var(--muted)}.configured-rules-single{grid-template-columns:1fr}.campaign-empty{display:grid;justify-items:center;gap:6px;padding:46px 24px;text-align:center;color:var(--muted)}.campaign-empty>span{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#f0edff;color:var(--violet);font-size:20px}.campaign-empty h3{margin:6px 0 0;font:800 16px Manrope;color:var(--ink)}.campaign-empty p{margin:0;font-size:12px}.campaign-tip.compact{display:grid;gap:4px;margin:0;padding:13px 15px}.campaign-tip.compact strong{font-size:11px}.campaign-tip.compact span{font-size:10px;line-height:1.5}
@media(max-width:1200px){.schedule-builder,.library-overview,.preview-layout,.campaign-workspace{grid-template-columns:1fr}.rules-layout{grid-template-columns:1fr}.configured-rules{grid-template-columns:1fr}.preview-rules{position:static}.technical-strip-expanded{grid-template-columns:repeat(3,1fr);gap:18px}.technical-strip-expanded span:nth-child(4){border-left:0}}
@media(max-width:900px){.sidebar-copyright{display:none}}
@media(max-width:760px){.radio-workspace-links a,.radio-workspace-exit{font-size:12px}.upload-grid,.criterion-grid,.playlist-preview-summary{grid-template-columns:1fr}.upload-grid .full{grid-column:auto}.workspace-section-heading,.library-content-header,.incident-summary,.stream-health-alert{align-items:flex-start;flex-direction:column}.professional-form,.rule-card,.folder-manager,.upload-manager{padding:20px}.sequence-list li{grid-template-columns:30px minmax(0,1fr) auto}.sequence-list time{display:none}.sidebar-copyright{display:none}.technical-strip-expanded{grid-template-columns:1fr 1fr}.technical-strip-expanded span:nth-child(odd){border-left:0}.technical-strip-expanded span:nth-child(4){border-left:1px solid var(--line)}.programming-tabs{grid-template-columns:1fr;padding:6px}.programming-tabs button{min-height:58px;grid-template-columns:36px minmax(0,1fr) auto}.programming-tab-icon{width:36px;height:36px}.campaign-column-heading{align-items:flex-start;flex-direction:column;gap:5px}}
@media print{body{display:block!important;background:#fff!important;color:#111!important}.sidebar,.topbar,.radio-workspace-nav,.no-print{display:none!important}.print-only{display:flex!important}.main{margin:0!important;width:100%!important}.content{padding:0!important;max-width:none!important}.audit-heading{margin-bottom:12px!important}.audit-heading h1{font-size:23px!important}.audit-heading p{font-size:11px!important}.audit-period{margin:12px 0;padding:10px 12px;background:#fff;border:1px solid #bbb;border-left:4px solid #333}.history-summary{gap:8px;margin:10px 0}.history-summary .card{padding:10px!important;box-shadow:none!important;border:1px solid #bbb!important}.history-summary strong{font-size:18px!important}.audit-table{padding:0!important;box-shadow:none!important;border:0!important;overflow:visible!important}.audit-table table{min-width:0!important;width:100%;font-size:8px}.audit-table th,.audit-table td{padding:7px 5px!important}.history-track>span{display:none}.history-track strong{font-size:9px!important}.history-track small,.audit-table td small{font-size:7px!important}.content-type{font-size:7px;padding:3px 5px;background:#fff!important;border:1px solid #777;color:#111!important}tr{break-inside:avoid}.card{box-shadow:none!important}@page{size:A4 landscape;margin:12mm}}

/* ===== v112.css ===== */
.campaign-tip{display:flex;gap:14px;align-items:center;margin:0 0 18px;padding:15px 18px;border:1px solid #dcd6ff;border-radius:14px;background:#f7f5ff;color:#5c5870;font-size:12px}.campaign-tip strong{flex:0 0 auto;color:var(--violet);font:800 13px Manrope}.campaign-section{padding:4px 0}.campaign-card{display:grid;gap:15px;padding:20px;border-top:3px solid #777}.campaign-card.campaign-vinheta{border-top-color:#18a77f}.campaign-card.campaign-oferta{border-top-color:#e59928}.campaign-card header{display:flex;align-items:center;gap:12px}.campaign-card header>div{display:grid;gap:2px;min-width:0;flex:1}.campaign-card header small{font-size:8px;letter-spacing:.16em;font-weight:800;color:var(--muted)}.campaign-card h3{margin:0;font:800 16px Manrope;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.campaign-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#eeecff;color:var(--violet)}.campaign-oferta .campaign-icon{background:#fff4df;color:#9b610c}.campaign-status{padding:6px 9px;border-radius:99px;font-size:9px;text-transform:uppercase;letter-spacing:.06em}.campaign-status.ativa{background:#e2f8f0;color:#08795e}.campaign-status.agendada{background:#eeeaff;color:#5d4fce}.campaign-status.pausada,.campaign-status.encerrada{background:#f1f1f4;color:#6d6d7b}.campaign-card dl{display:grid;grid-template-columns:1.35fr .55fr 1.2fr .55fr;gap:12px;margin:0;padding:13px 0;border-block:1px solid var(--line)}.campaign-card dl div{display:grid;gap:4px}.campaign-card dt{font-size:8px;letter-spacing:.1em;color:var(--muted);text-transform:uppercase}.campaign-card dd{margin:0;font-size:11px;font-weight:700}.campaign-scope,.campaign-period{margin:0;color:var(--muted);font-size:10px;line-height:1.5}.campaign-period{padding:10px 12px;border-radius:9px;background:#faf9fd}.campaign-card footer{display:flex;justify-content:flex-end;gap:8px}.source-choice{display:grid;grid-template-columns:1fr 34px 1fr;align-items:center;gap:10px}.source-choice>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f1eff8;color:var(--muted);font-size:9px;font-weight:800}.source-choice label{display:grid;gap:8px;font-size:12px;font-weight:700}.source-choice small{min-height:30px;color:var(--muted);font-size:10px;font-weight:400}.campaign-priority{display:grid;grid-template-columns:130px 1fr;align-items:end;gap:14px;padding:14px;border-radius:12px;background:#faf9fd}.campaign-priority label{display:grid;gap:7px;font-size:12px;font-weight:700}.campaign-priority small{padding-bottom:10px;color:var(--muted);font-size:10px}.source-error{margin:0;color:#b4364b;font-size:11px;font-weight:700}.system-folder{background:#f8f6ff!important;color:#5144b2!important}.system-folder small{margin-left:6px;padding:3px 5px;border-radius:99px;background:#e8e3ff;font-size:7px;letter-spacing:.07em}.badge.media-oferta,.content-type-oferta{background:#fff2d9;color:#a05b00}.command-log{padding:18px 22px}.command-log .section-title p{margin:3px 0 0;color:var(--muted);font-size:10px}.technical-command-details{margin-top:12px;border-top:1px solid var(--line)}.technical-command-details>summary{display:flex;align-items:center;justify-content:space-between;padding:14px 2px 2px;cursor:pointer;color:var(--violet);font-size:11px;font-weight:800}.technical-command-details>summary b{padding:4px 7px;border-radius:99px;background:#eeeaff;font-size:9px}.technical-command-details:not([open]) #command-history{display:none}.agent-activity{position:relative;z-index:2;border-width:2px;box-shadow:0 14px 34px rgba(76,58,170,.13)}
@media(max-width:800px){.source-choice{grid-template-columns:1fr}.source-choice>span{justify-self:center}.campaign-card dl{grid-template-columns:1fr 1fr}.campaign-priority{grid-template-columns:1fr}.campaign-tip{align-items:flex-start;flex-direction:column}}
.rf-pagination{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(29,27,54,.05)}.rf-pagination-summary{margin:0;color:var(--muted);font-size:11px}.rf-pagination-summary strong{color:#252437}.rf-pagination-pages{display:flex;align-items:center;justify-content:flex-end;gap:6px}.rf-page-control,.rf-page-number,.rf-page-ellipsis{min-width:34px;height:34px;padding:0 10px;border:1px solid var(--line);border-radius:9px;display:inline-grid;place-items:center;color:#565365;background:#fff;font-size:11px;font-weight:700;text-decoration:none}.rf-page-control:hover,.rf-page-number:hover{border-color:#b9b1f7;color:var(--violet);background:#f8f6ff}.rf-page-number.is-current{border-color:var(--violet);background:var(--violet);color:#fff}.rf-page-control.is-disabled{opacity:.42;cursor:not-allowed}.rf-page-ellipsis{min-width:24px;padding:0;border-color:transparent;background:transparent}.pagination svg{width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important}@media(max-width:700px){.rf-pagination{align-items:flex-start;flex-direction:column}.rf-pagination-pages{width:100%;justify-content:flex-start;overflow-x:auto;padding-bottom:3px}}

/* ===== v19.css ===== */
/* Playlist library grouped by folders. */
.playlist-library-picker{display:grid;gap:0;padding:26px}.playlist-picker-section{display:grid;gap:14px;padding:24px 0;border-top:1px solid var(--line)}.playlist-picker-section:first-of-type{margin-top:18px}.picker-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.picker-section-heading>div{display:flex;align-items:center;gap:11px}.picker-section-heading>div>span:last-child{display:grid;gap:3px}.picker-section-heading strong{font:800 15px Manrope}.picker-section-heading small{font-size:11px;color:var(--muted)}.picker-step{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#eeeaff;color:var(--violet);font-size:12px;font-weight:850}.compact-folder-picker{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:8px}.compact-folder-picker .folder-pick{min-height:58px;padding:10px 12px}.compact-folder-picker .track-icon{width:30px;height:30px}.picker-subheading,.shared-library-divider{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:6px}.picker-subheading small,.shared-library-divider small{font-size:10px;color:var(--muted)}
.playlist-media-search{display:flex;align-items:center;gap:8px;min-width:280px;padding:0 12px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--muted)}.playlist-media-search:focus-within{border-color:#bdb4fa;box-shadow:0 0 0 3px #7562ef12}.playlist-media-search input{width:100%;min-height:40px;padding:8px 0;border:0!important;outline:0;box-shadow:none!important;font-size:12px}.media-folder-groups{display:grid;gap:8px}.media-folder-group{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fff}.media-folder-group[open]{border-color:#d8d2f5;box-shadow:0 8px 24px rgba(54,43,118,.05)}.media-folder-group summary{display:grid;grid-template-columns:34px minmax(0,1fr) auto 20px;align-items:center;gap:11px;min-height:58px;padding:10px 14px;cursor:pointer;list-style:none}.media-folder-group summary::-webkit-details-marker{display:none}.media-folder-group summary>span:nth-child(2){display:grid;gap:2px}.media-folder-group summary strong{font-size:13px}.media-folder-group summary small{font-size:10px;color:var(--muted)}.media-folder-group summary>b{padding:6px 9px;border-radius:99px;background:#f1eff8;color:#716b82;font-size:9px}.media-folder-group summary>i{font-style:normal;color:#aaa;transition:transform .18s}.media-folder-group[open] summary>i{transform:rotate(180deg)}.folder-summary-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f0edff;color:var(--violet)}.media-folder-group.shared .folder-summary-icon{background:#edf5ff;color:#3b6eae}.compact-track-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:6px;padding:10px;border-top:1px solid var(--line);background:#faf9fd}.compact-track{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:46px;padding:7px 9px;border:1px solid transparent;border-radius:9px;background:#fff;cursor:pointer}.compact-track:hover{border-color:#d8d2f5}.compact-track:has(input:checked){border-color:#c9c0fb;background:#f3f0ff}.compact-track input{width:auto}.compact-track>span{display:grid;min-width:0;gap:1px}.compact-track strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.compact-track small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:9px}.compact-track .badge{padding:5px 7px;font-size:8px}.shared-library-divider{padding:16px 4px 5px}.media-search-empty{margin-top:4px}
@media(max-width:850px){.picker-section-heading{align-items:flex-start;flex-direction:column}.playlist-media-search{width:100%;min-width:0}.compact-track-grid{grid-template-columns:1fr}}
@media(max-width:600px){.playlist-library-picker{padding:20px}.media-folder-group summary{grid-template-columns:32px minmax(0,1fr) 18px}.media-folder-group summary>b{display:none}.picker-subheading,.shared-library-divider{align-items:flex-start;flex-direction:column;gap:4px}}

/* Biblioteca: navegação horizontal por pasta e ações em lote. */
.library-folder-tabs{display:flex;gap:8px;margin:-2px 0 14px;padding:4px 2px 9px;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity}.library-folder-tabs a{display:flex;align-items:center;gap:9px;min-width:max-content;padding:10px 13px;border:1px solid var(--line);border-radius:11px;background:#fff;color:#625f72;font-size:11px;font-weight:750;text-decoration:none;scroll-snap-align:start}.library-folder-tabs a:hover{border-color:#c7bff8;background:#faf9ff;color:var(--violet)}.library-folder-tabs a.active{border-color:#7865ed;background:#eeeaff;color:#5849c7;box-shadow:0 6px 18px rgba(88,73,199,.1)}.library-folder-tabs b{min-width:23px;padding:4px 6px;border-radius:99px;background:#f1eff7;color:#7b7688;font-size:9px;text-align:center}.library-folder-tabs a.active b{background:#fff;color:#5849c7}.media-bulk-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:9px;padding:10px 13px;border:1px solid var(--line);border-radius:11px;background:#fff}.media-bulk-toolbar>span{color:var(--muted);font-size:11px}.media-bulk-toolbar>span strong{color:var(--ink)}.media-bulk-toolbar .btn{padding:9px 12px}.media-bulk-toolbar .btn:disabled{opacity:.45;cursor:not-allowed}.media-check-column{width:42px!important;padding-left:14px!important;padding-right:7px!important;text-align:center}.media-check-column input{width:16px;height:16px;margin:0;accent-color:var(--violet);cursor:pointer}.library-content .table-card{overflow-x:auto}.library-content .table-card table{min-width:920px}
@media(max-width:700px){.media-bulk-toolbar{align-items:flex-start;flex-direction:column}.media-bulk-toolbar .btn{width:100%}.library-folder-tabs{margin-bottom:12px}}

/* Player de transmissão com controles próprios. */
.broadcast-player{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:18px;overflow:hidden;padding:22px 25px}.broadcast-player:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#7562ef,#25ba8a)}.broadcast-art{position:relative;width:58px;height:58px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(145deg,#6f5bea,#4939b9);box-shadow:0 12px 28px rgba(88,69,201,.22);color:#fff}.broadcast-note{font-size:24px;transform:translateY(-3px)}.broadcast-equalizer{position:absolute;right:9px;bottom:9px;display:flex;align-items:flex-end;gap:2px;height:13px}.broadcast-equalizer i{display:block;width:2px;height:5px;border-radius:4px;background:#fff;opacity:.86}.broadcast-equalizer i:nth-child(2){height:10px}.broadcast-equalizer i:nth-child(3){height:7px}.broadcast-equalizer i:nth-child(4){height:12px}.broadcast-player[data-player-state="playing"] .broadcast-equalizer i{animation:stream-bars .7s ease-in-out infinite alternate}.stream-player-ui{display:grid;grid-template-columns:42px minmax(145px,1fr) auto 34px minmax(80px,130px);align-items:center;gap:12px;max-width:720px;margin-top:14px;padding:9px 11px;border:1px solid #e6e2f5;border-radius:15px;background:linear-gradient(120deg,#f8f7fc,#fff);box-shadow:inset 0 1px 0 #fff}.stream-player-ui audio{display:none}.stream-play-button{width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:13px;background:linear-gradient(145deg,#7562ef,#5743d2);box-shadow:0 8px 18px rgba(91,71,210,.24);cursor:pointer}.stream-play-button:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(91,71,210,.3)}.stream-play-button:focus-visible,.stream-volume-button:focus-visible{outline:3px solid #7562ef30;outline-offset:2px}.play-icon{width:0;height:0;margin-left:3px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid #fff}.stream-player-ui[data-state="playing"] .play-icon{width:9px;height:12px;margin:0;border:0;border-left:3px solid #fff;border-right:3px solid #fff}.stream-player-ui[data-state="loading"] .play-icon{width:14px;height:14px;margin:0;border:2px solid #ffffff70;border-top-color:#fff;border-radius:50%;animation:stream-spin .75s linear infinite}.stream-player-copy{display:grid;gap:2px;min-width:0}.stream-player-copy strong{overflow:hidden;color:var(--ink);font:800 11px Manrope;text-overflow:ellipsis;white-space:nowrap}.stream-player-copy span{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.stream-player-ui[data-state="error"] .stream-player-copy strong{color:#b33c4c}.stream-live-label{display:flex;align-items:center;gap:6px;padding:6px 9px;border-radius:99px;background:#e9faf4;color:#0c7959;font-size:8px;font-weight:850;letter-spacing:.12em;white-space:nowrap}.stream-live-label i{width:6px;height:6px;border-radius:50%;background:#26b987;box-shadow:0 0 0 4px #26b98718}.stream-volume-button{width:34px;height:34px;border:0;border-radius:10px;background:#eeeaff;color:#5d49ce;cursor:pointer;font-size:14px}.stream-volume-button.muted{color:#999;background:#f0f0f3;text-decoration:line-through}.stream-volume input{display:block;width:100%;height:4px;accent-color:#6955df;cursor:pointer}.player-history{white-space:nowrap}@keyframes stream-spin{to{transform:rotate(360deg)}}@keyframes stream-bars{0%{transform:scaleY(.45)}100%{transform:scaleY(1)}}
@media(max-width:900px){.broadcast-player{grid-template-columns:50px minmax(0,1fr)}.broadcast-art{width:50px;height:50px}.player-history{grid-column:2;justify-self:start}.stream-player-ui{grid-template-columns:42px minmax(120px,1fr) auto 34px}.stream-volume{display:none}}
@media(max-width:620px){.broadcast-player{grid-template-columns:1fr;padding:20px}.broadcast-art{display:none}.player-history{grid-column:1}.stream-player-ui{grid-template-columns:42px minmax(0,1fr) auto}.stream-volume-button,.stream-volume{display:none}.stream-live-label{padding:6px 8px}}

/* ===== v20.css ===== */
.reseller-folders-admin,.sftp-admin-card{display:grid;gap:22px;margin-top:22px;padding:26px}.section-title p{margin-top:5px;color:var(--muted);font-size:12px}.master-folder-create{display:grid;grid-template-columns:minmax(220px,1fr) 180px;gap:14px;padding:18px;border:1px solid var(--line);border-radius:15px;background:#faf9fd}.master-folder-create fieldset{grid-column:1/-1}.master-folder-create>.btn{justify-self:start}.radio-assignment-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.radio-assignment-grid label{display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:11px;cursor:pointer}.radio-assignment-grid label:has(input:checked){border-color:#8574ee;background:#f0edff;color:#5542ca}.radio-assignment-grid input{width:auto;margin:0;accent-color:#6753dc}.protected-folder-list{display:grid;gap:12px}.protected-folder-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px;padding:17px;border:1px solid var(--line);border-radius:15px}.protected-folder-item>form:first-child{display:grid;gap:13px}.protected-folder-heading{display:flex;align-items:center;gap:11px}.protected-folder-heading>div{display:grid;flex:1;gap:2px}.protected-folder-heading small{color:var(--muted);font-size:10px}.folder-lock{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#eeeaff}.protected-folder-fields{display:grid;grid-template-columns:1fr 180px;gap:12px}.sftp-status{padding:7px 10px;border-radius:99px;background:#f0eef7;color:#777184;font-size:9px;font-weight:850}.sftp-status.ativo{background:#e3f8f0;color:#087354}.sftp-status.erro{background:#ffebee;color:#b43949}.sftp-status.pendente{background:#fff4d9;color:#8b6213}.sftp-connection{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0;border:1px solid var(--line);border-radius:14px}.sftp-connection>div{display:grid;gap:4px;padding:14px;border-right:1px solid var(--line)}.sftp-connection>div:last-child{border:0}.sftp-connection dt{color:var(--muted);font-size:9px;text-transform:uppercase}.sftp-connection dd{overflow:hidden;margin:0;font-size:12px;font-weight:750;text-overflow:ellipsis}.credential-reveal{display:grid;grid-template-columns:auto minmax(180px,1fr);align-items:center;gap:8px 14px;padding:15px;border:1px solid #b9e6d6;border-radius:13px;background:#f0fbf7}.credential-reveal code{padding:9px;border-radius:8px;background:#17201d;color:#bff9e4;user-select:all}.credential-reveal small{grid-column:1/-1;color:#547067}.sftp-help{color:var(--muted);font-size:11px}.folder-protected{display:inline-flex;align-items:center;gap:5px;margin-left:5px;padding:3px 6px;border-radius:99px;background:#eeeaff;color:#5c49c7;font-size:8px;font-weight:850}.folder-delegation{display:block;margin-top:3px;color:var(--muted);font-size:9px}
@media(max-width:850px){.master-folder-create,.protected-folder-fields{grid-template-columns:1fr}.protected-folder-item{grid-template-columns:1fr}.sftp-connection{grid-template-columns:1fr 1fr}.sftp-connection>div{border-bottom:1px solid var(--line)}}
@media(max-width:560px){.sftp-connection{grid-template-columns:1fr}.credential-reveal{grid-template-columns:1fr}}
.shared-folder-block{display:grid;gap:9px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.folder-list a.shared-folder{border-color:#d8d2f7;background:#faf9ff}.folder-list a.shared-folder small{padding:3px 5px;border-radius:99px;background:#eeeaff;color:#5d49c8;font-size:7px}.library-folder-tabs a.shared{border-style:dashed}.library-subfolder-tabs{display:flex;gap:7px;margin:0 0 13px;padding:3px 1px 8px;overflow-x:auto;scrollbar-width:thin}.library-subfolder-tabs a{min-width:max-content;padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#696477;font-size:10px;font-weight:750;text-decoration:none}.library-subfolder-tabs a:hover,.library-subfolder-tabs a.active{border-color:#8271ec;background:#eeeaff;color:#5845c8}.reseller-subfolders{margin:20px 0 10px}.shared-media-row{background:#fcfbff}.shared-readonly{display:inline-flex;padding:7px 9px;border-radius:8px;background:#eeeaff;color:#5b48c6;font-size:8px;font-weight:850;text-transform:uppercase}.table-card td small{display:block;margin-top:3px;color:var(--muted);font-size:9px}
.shared-folder-choice{display:grid;gap:6px;align-content:start}.shared-folder-choice .root-shared-folder{width:100%}.shared-folder-choice .subfolder-pick{min-height:50px;margin-left:22px;border-style:dashed;background:#fbfbfe}.shared-folder-choice .subfolder-pick .track-icon{background:#f2f0fa;color:#777187}.shared-folder-choice .subfolder-pick strong{font-size:11px}.shared-folder-choice .subfolder-pick:has(input:checked){border-style:solid;background:#f2efff}.compact-folder-picker:has(.shared-folder-choice){align-items:start}

/* v1.20.9 — edição de campanhas */
.campaign-form.editing{border-color:var(--violet);box-shadow:0 0 0 3px rgba(108,92,231,.14);background:#fcfbff}
.campaign-form.editing .rule-card-icon{background:var(--violet);color:#fff}
.campaign-edit-note{margin:-4px 0 0;padding:11px 14px;border-radius:11px;background:#efecff;color:#4b3fb5;font-size:12px;font-weight:600}
.campaign-card footer{display:flex;flex-wrap:wrap;gap:8px}

/* ===== feedback.css ===== */
/* SonoraGrid 1.21 — janela de acompanhamento e avisos flutuantes do agente */

/* Avisos flutuantes */
.feedback-toasts{position:fixed;right:24px;bottom:24px;z-index:60;display:grid;gap:12px;width:min(390px,calc(100vw - 32px))}
.feedback-toast{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) 22px;gap:12px;align-items:start;padding:16px 16px 16px 14px;border:1px solid var(--line);border-left:4px solid var(--violet);border-radius:14px;background:#fff;box-shadow:0 18px 45px rgba(28,22,70,.16);animation:feedback-in .28s ease-out}
.feedback-toast.leaving{animation:feedback-out .25s ease-in forwards}
.feedback-toast.success{border-left-color:#22b07d}
.feedback-toast.warning{border-left-color:#f0a33a}
.feedback-toast.error{border-left-color:var(--danger)}
.feedback-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font:800 16px Manrope;background:#efecff;color:var(--violet)}
.feedback-toast.info .feedback-icon:before{content:"";width:14px;height:14px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:feedback-spin .9s linear infinite}
.feedback-toast.success .feedback-icon{background:#e6f8f1;color:#178a61}
.feedback-toast.warning .feedback-icon{background:#fff4e2;color:#b5700f}
.feedback-toast.error .feedback-icon{background:#fff0f2;color:var(--danger)}
.feedback-body{display:grid;gap:5px;min-width:0}
.feedback-body strong{font:800 14px Manrope;color:var(--ink)}
.feedback-body p{margin:0;font-size:12.5px;line-height:1.5;color:#55556a}
.feedback-hint{color:#3f3796!important;font-weight:600}
.feedback-progress{height:6px;margin-top:4px;border-radius:99px;background:#efedf8;overflow:hidden}
.feedback-progress span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#8b7cf6,var(--violet));transition:width .4s ease}
.feedback-close{width:22px;height:22px;border:0;border-radius:6px;background:transparent;color:#9a9aab;font-size:18px;line-height:1;cursor:pointer}
.feedback-close:hover{background:#f2f2f7;color:var(--ink)}
.feedback-details{margin-top:2px;font-size:11.5px}
.feedback-details summary{cursor:pointer;color:var(--muted);font-weight:700}
.feedback-details pre{margin:8px 0 0;padding:10px 12px;max-height:160px;overflow:auto;white-space:pre-wrap;word-break:break-word;border-radius:9px;background:#f6f6fa;color:#4a4a5c;font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}

/* Janela de acompanhamento */
.operation-modal{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:20px;background:rgba(17,17,29,.42);backdrop-filter:blur(3px);animation:feedback-fade .2s ease-out}
.operation-modal[hidden]{display:none}
.operation-dialog{width:min(520px,100%);display:grid;gap:20px;padding:26px;border-radius:22px;background:#fff;box-shadow:0 35px 90px rgba(20,16,60,.3)}
.operation-dialog>header{display:grid;grid-template-columns:46px minmax(0,1fr) 24px;gap:14px;align-items:center}
.operation-dialog header small{font-size:9px;letter-spacing:.18em;font-weight:800;color:#9a9aab}
.operation-dialog h2{margin:3px 0 0;font:800 21px Manrope;letter-spacing:-.02em}
.operation-badge{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#efecff;color:var(--violet);font:800 20px Manrope}
.operation-badge.running:before{content:"";width:18px;height:18px;border-radius:50%;border:3px solid currentColor;border-right-color:transparent;animation:feedback-spin .9s linear infinite}
.operation-badge.success{background:#e6f8f1;color:#178a61}.operation-badge.success:before{content:"✓"}
.operation-badge.error{background:#fff0f2;color:var(--danger)}.operation-badge.error:before{content:"!"}
.operation-steps{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.operation-steps li{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start;padding:9px 0}
.operation-steps li:not(:last-child):after{content:"";position:absolute;left:13px;top:36px;bottom:-6px;width:2px;background:#ececf3}
.operation-steps li.done:not(:last-child):after{background:#bfead9}
.step-mark{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:2px solid #dedee8;background:#fff;color:#fff;font:800 13px Manrope;z-index:1}
.operation-steps li.done .step-mark{border-color:#22b07d;background:#22b07d}
.operation-steps li.active .step-mark{border-color:var(--violet)}
.operation-steps li.active .step-mark:before{content:"";width:12px;height:12px;border-radius:50%;border:2px solid var(--violet);border-right-color:transparent;animation:feedback-spin .9s linear infinite}
.operation-steps li.error .step-mark{border-color:var(--danger);background:var(--danger)}
.operation-steps li div{display:grid;gap:3px;padding-top:4px}
.operation-steps li strong{font-size:13.5px;color:var(--ink)}
.operation-steps li.pending strong{color:#a3a3b3;font-weight:600}
.operation-steps li small{font-size:12px;color:var(--muted);line-height:1.45}
.operation-result{display:grid;gap:6px;padding:15px 16px;border-radius:14px}
.operation-result.success{background:#eafaf4;color:#16684c}
.operation-result.error{background:#fff2f4;color:#8d2a3a}
.operation-result strong{font:800 15px Manrope}
.operation-result p{margin:0;font-size:12.5px;line-height:1.5}
.operation-dialog>footer{display:flex;justify-content:end}

/* Alerta da página da rádio com detalhes recolhidos */
.stream-health-alert .feedback-details{grid-column:1/-1}

@keyframes feedback-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes feedback-out{to{opacity:0;transform:translateX(24px)}}
@keyframes feedback-fade{from{opacity:0}to{opacity:1}}
@keyframes feedback-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.feedback-toasts{right:16px;left:16px;bottom:16px;width:auto}.operation-dialog{padding:20px}}
@media(prefers-reduced-motion:reduce){.feedback-toast,.operation-modal{animation:none}.feedback-icon:before,.operation-badge.running:before,.operation-steps li.active .step-mark:before{animation-duration:3s}}

/* ===== radio-page.css ===== */
/* SonoraGrid 1.22 — página da rádio: status em destaque, visão geral e detalhes técnicos */

.radio-hero{--hero:#8a8aa0;--hero-soft:#f3f3f7;--hero-ink:#4b4b5e;position:relative;display:grid;gap:22px;padding:26px 28px;margin-bottom:20px;overflow:hidden;border-left:6px solid var(--hero)}
.radio-hero:before{content:"";position:absolute;inset:0 auto auto 0;width:420px;height:220px;background:radial-gradient(circle at 0 0,var(--hero-soft),transparent 70%);pointer-events:none}
.radio-hero.state-live{--hero:#1fa774;--hero-soft:#e3f7ef;--hero-ink:#11694a}
.radio-hero.state-off{--hero:#8a8aa0;--hero-soft:#f1f1f6;--hero-ink:#4b4b5e}
.radio-hero.state-alert{--hero:var(--danger);--hero-soft:#ffe9ed;--hero-ink:#9a2b3d}
.radio-hero.state-stale{--hero:#e09a2d;--hero-soft:#fff3df;--hero-ink:#8a5a12}
.radio-hero.state-preparing,.radio-hero.state-working{--hero:var(--violet);--hero-soft:#eeebff;--hero-ink:#4b3fb5}
.radio-hero-main{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:20px;align-items:center}
.hero-orb{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:var(--hero-soft)}
.hero-orb i{width:18px;height:18px;border-radius:50%;background:var(--hero);box-shadow:0 0 0 7px color-mix(in srgb,var(--hero) 18%,transparent)}
.state-live .hero-orb i{animation:hero-pulse 2s ease-in-out infinite}
.state-preparing .hero-orb i,.state-working .hero-orb i{background:transparent;border:3px solid var(--hero);border-right-color:transparent;box-shadow:none;width:24px;height:24px;animation:feedback-spin .9s linear infinite}
.hero-copy{display:grid;gap:6px;min-width:0}
.hero-pill{justify-self:start;padding:5px 11px;border-radius:99px;background:var(--hero-soft);color:var(--hero-ink);font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.radio-hero h2{margin:2px 0 0;font:800 26px/1.15 Manrope;letter-spacing:-.03em;color:var(--ink)}
.radio-hero p{margin:0;font-size:14px;line-height:1.5;color:#55556a}
.radio-hero .hero-hint{color:var(--hero-ink);font-weight:600;font-size:13px}
.radio-hero-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:end}
.radio-hero-actions form{margin:0}
.radio-hero-actions .btn{min-height:44px;padding:11px 18px;font-size:13px}
.radio-hero-facts{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;border-top:1px solid var(--line);padding-top:18px}
.radio-hero-facts div{padding:0 16px;border-left:1px solid var(--line);min-width:0}
.radio-hero-facts div:first-child{padding-left:0;border-left:0}
.radio-hero-facts dt{font-size:9px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#9a9aab}
.radio-hero-facts dd{margin:6px 0 0;font:700 15px Manrope;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.radio-overview-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:20px;margin-bottom:20px;align-items:stretch}
.radio-overview-grid .now-playing{margin:0}
.campaigns-on-air{display:grid;gap:10px;align-content:start;padding:22px}
.campaigns-on-air .section-title{margin-bottom:6px}
.campaigns-on-air .section-title a{font-size:12px;font-weight:700;color:var(--violet)}
.campaign-mini{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:#fcfcfe}
.campaign-mini-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#efecff;color:var(--violet)}
.campaign-mini.oferta .campaign-mini-icon{background:#fff1ec;color:var(--coral)}
.campaign-mini div{display:grid;gap:2px;min-width:0}
.campaign-mini strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.campaign-mini small{font-size:11.5px;color:var(--muted)}
.campaign-mini-empty{display:grid;gap:4px;padding:18px;border:1px dashed #dcdce6;border-radius:12px;text-align:center}
.campaign-mini-empty strong{font-size:13px}.campaign-mini-empty small{font-size:12px;color:var(--muted)}
.campaign-more{font-size:12px;color:var(--muted)}

.technical-panel{padding:0;margin-bottom:20px}
.technical-panel>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;cursor:pointer}
.technical-panel>summary::-webkit-details-marker{display:none}
.technical-panel>summary>span{display:grid;gap:3px}
.technical-panel>summary strong{font:800 16px Manrope}
.technical-panel>summary small{font-size:12px;color:var(--muted)}
.technical-panel>summary b{padding:8px 14px;border:1px solid var(--line);border-radius:10px;font-size:12px;color:#555568}
.technical-panel[open]>summary b{font-size:0}.technical-panel[open]>summary b:after{content:"Ocultar";font-size:12px}
.technical-panel-body{display:grid;gap:20px;padding:0 24px 24px}
.technical-panel-body .card{box-shadow:none}

@keyframes hero-pulse{0%,100%{box-shadow:0 0 0 6px color-mix(in srgb,var(--hero) 22%,transparent)}50%{box-shadow:0 0 0 12px color-mix(in srgb,var(--hero) 6%,transparent)}}
@media(max-width:1100px){.radio-hero-main{grid-template-columns:56px minmax(0,1fr)}.radio-hero-actions{grid-column:1/-1;justify-content:start}.radio-overview-grid{grid-template-columns:1fr}}
@media(max-width:700px){.radio-hero{padding:20px}.radio-hero h2{font-size:21px}.radio-hero-facts{grid-template-columns:1fr 1fr;row-gap:14px}.radio-hero-facts div:nth-child(3){padding-left:0;border-left:0}.radio-hero-actions .btn{flex:1}}
@media(prefers-reduced-motion:reduce){.state-live .hero-orb i{animation:none}}

/* ===== Padrão visual 1.23 =====
 * Tokens e componentes compartilhados. Estados de transmissão com as mesmas
 * cores do cartão de status da página da rádio. */
:root{
  --state-live:#1fa774;--state-live-soft:#e3f7ef;--state-live-ink:#11694a;
  --state-off:#8a8aa0;--state-off-soft:#f1f1f6;--state-off-ink:#4b4b5e;
  --state-alert:#d94c61;--state-alert-soft:#ffe9ed;--state-alert-ink:#9a2b3d;
  --state-stale:#e09a2d;--state-stale-soft:#fff3df;--state-stale-ink:#8a5a12;
  --state-busy:#6c5ce7;--state-busy-soft:#eeebff;--state-busy-ink:#4b3fb5;
  --text-xs:12px;--text-sm:13.5px;--text-md:15px;
  --radius-sm:10px;--radius-md:14px;
}
.status-pill{--pill:var(--state-off);--pill-soft:var(--state-off-soft);--pill-ink:var(--state-off-ink);display:inline-flex;align-items:center;gap:7px;padding:5px 11px 5px 9px;border-radius:99px;background:var(--pill-soft);color:var(--pill-ink);font-size:var(--text-xs);font-weight:800;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.status-pill i{width:8px;height:8px;border-radius:50%;background:var(--pill)}
.status-pill.state-live{--pill:var(--state-live);--pill-soft:var(--state-live-soft);--pill-ink:var(--state-live-ink)}
.status-pill.state-live i{box-shadow:0 0 0 3px color-mix(in srgb,var(--state-live) 25%,transparent)}
.status-pill.state-alert{--pill:var(--state-alert);--pill-soft:var(--state-alert-soft);--pill-ink:var(--state-alert-ink)}
.status-pill.state-stale{--pill:var(--state-stale);--pill-soft:var(--state-stale-soft);--pill-ink:var(--state-stale-ink)}
.status-pill.state-preparing,.status-pill.state-working{--pill:var(--state-busy);--pill-soft:var(--state-busy-soft);--pill-ink:var(--state-busy-ink)}
.btn.ghost-danger{background:#fff;border:1px solid transparent;color:var(--danger)}
.btn.ghost-danger:hover{border-color:#f3c5cd;background:#fff5f7}

/* Lista padrão (rádios, revendas, servidores) */
.item-list{padding:6px 0;overflow:hidden}
.item-row{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(0,2fr) auto;gap:20px;align-items:center;padding:16px 22px;border-top:1px solid var(--line)}
.item-row:first-child{border-top:0}
.item-row:hover{background:#fbfbfe}
.item-row-main{display:grid;gap:8px;min-width:0}
.item-row-main .status-pill{justify-self:start}
.item-row-title{display:grid;gap:3px;min-width:0}
.item-row-title strong{font:800 16px Manrope;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.item-row-main:hover strong{color:var(--violet)}
.item-row-title small{font-size:var(--text-sm);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.item-row-facts{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,.8fr);gap:14px;margin:0}
.item-row-facts dt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#9a9aab}
.item-row-facts dd{margin:4px 0 0;font-size:var(--text-md);font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.item-row-facts dd small{font-size:var(--text-xs);color:var(--muted);font-weight:500}
.item-row-actions{display:flex;gap:8px;align-items:center;justify-content:end}
.item-row-actions form{margin:0}
.item-row-actions .btn{padding:9px 14px;font-size:var(--text-sm)}
.item-list-empty{display:grid;gap:5px;padding:48px 20px;text-align:center}
.item-list-empty strong{font:800 16px Manrope}.item-list-empty small{font-size:var(--text-sm);color:var(--muted)}
@media(max-width:1180px){.item-row{grid-template-columns:minmax(0,1fr) auto}.item-row-facts{grid-column:1/-1;grid-row:2}.item-row-actions{grid-row:1;grid-column:2}}
@media(max-width:700px){.item-row{grid-template-columns:1fr;padding:16px}.item-row-facts{grid-template-columns:1fr 1fr;grid-row:auto}.item-row-actions{grid-row:auto;grid-column:auto;justify-content:start}.item-row-actions .btn.primary{flex:1}}

/* Situação do sistema na barra lateral (1.24) */
.sidebar-status{--sys:var(--state-live);color:inherit;transition:border-color .2s,background .2s}
.sidebar-status:hover{border-color:#3a3a50;background:#1c1c2b}
.sidebar-status .status-dot{flex:none;background:var(--sys);box-shadow:0 0 0 5px color-mix(in srgb,var(--sys) 14%,transparent)}
.sidebar-status div{min-width:0}
.sidebar-status small{line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.sidebar-status.is-atencao{--sys:var(--state-stale);border-color:#4a3a1d}
.sidebar-status.is-falha{--sys:var(--state-alert);border-color:#4f2530}
.sidebar-status.is-vazio{--sys:var(--state-off)}
.sidebar-status.is-falha .status-dot{animation:sys-pulse 1.6s ease-in-out infinite}
@keyframes sys-pulse{50%{box-shadow:0 0 0 8px color-mix(in srgb,var(--sys) 6%,transparent)}}
@media(prefers-reduced-motion:reduce){.sidebar-status.is-falha .status-dot{animation:none}}

/* ===== Janela sobreposta (sheet) e seletor segmentado (1.25) ===== */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sheet{width:min(560px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:0;border:0;border-radius:20px;background:var(--surface);color:var(--ink);box-shadow:0 30px 80px rgba(20,16,50,.28);overflow:hidden}
.sheet[open]{display:flex;flex-direction:column}
.sheet::backdrop{background:rgba(17,17,29,.45);backdrop-filter:blur(3px)}
.sheet>form{display:flex;flex-direction:column;min-height:0;max-height:calc(100vh - 48px)}
.sheet-head{display:flex;justify-content:space-between;align-items:start;gap:16px;padding:22px 24px 14px;border-bottom:1px solid var(--line)}
.sheet-head h2{font:800 20px Manrope;letter-spacing:-.02em;margin:4px 0 0}
.sheet-close{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--muted);font-size:20px;line-height:1;cursor:pointer}
.sheet-close:hover{color:var(--ink);border-color:#cfcfdc}
.sheet-body{display:grid;gap:18px;padding:20px 24px;overflow:auto}
.sheet-body>label,.sheet-body .form-grid label{display:grid;gap:8px;font-size:var(--text-sm);font-weight:700;color:#454557}
.sheet-body label small,.sheet-body .field-help{font-weight:500;color:var(--muted);font-size:var(--text-xs)}
.sheet-foot{display:flex;justify-content:end;gap:10px;padding:14px 24px;border-top:1px solid var(--line);background:#fafafd}
.sheet-foot .spacer{flex:1}
.segmented{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;border:0;min-width:0}
.segmented legend{width:100%;padding:0;margin-bottom:8px;font-size:var(--text-sm);font-weight:700;color:#454557}
.segmented>label{flex:1;min-width:0}
.segmented input{position:absolute;opacity:0;pointer-events:none}
.segmented span{display:block;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:center;font-size:var(--text-sm);font-weight:700;color:#555568;cursor:pointer;transition:.15s}
.segmented input:checked+span{border-color:var(--violet);background:#f1eeff;color:var(--violet-dark);box-shadow:inset 0 0 0 1px var(--violet)}
.segmented input:focus-visible+span{outline:2px solid var(--violet);outline-offset:2px}
.segmented input:disabled+span{opacity:.4;cursor:not-allowed}
.segmented>small{width:100%;font-size:var(--text-xs);color:var(--muted)}
.segmented:not(.locked)>small[data-type-help]{display:none}
.choice-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.choice-cards span{display:grid;gap:3px;text-align:left;padding:12px 14px}
.choice-cards span b{font-size:var(--text-sm);color:var(--ink)}
.choice-cards span small{font-weight:500;color:var(--muted);font-size:var(--text-xs);line-height:1.4}
.choice-cards input:checked+span b{color:var(--violet-dark)}

/* ===== Biblioteca (1.25) ===== */
.lib{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;align-items:start}
.lib-nav{position:sticky;top:96px;display:flex;flex-direction:column;gap:2px;padding:12px;max-height:calc(100vh - 120px);overflow:auto}
.lib-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border-radius:10px;font-size:var(--text-sm);font-weight:600;color:#454557;min-width:0}
.lib-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lib-link b{flex:none;font-size:var(--text-xs);font-weight:700;color:#9a9aab}
.lib-link:hover{background:#f5f4fb}
.lib-link.active,.lib-folder.active .lib-link{background:#efecff;color:var(--violet-dark)}
.lib-link.active b,.lib-folder.active .lib-link b{color:var(--violet)}
.lib-link.sub{padding-left:24px}
.lib-link.muted{color:var(--muted)}
.lib-group{display:flex;align-items:center;justify-content:space-between;margin:14px 4px 4px 11px;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#9a9aab}
.lib-new-folder{position:relative;letter-spacing:0;text-transform:none}
.lib-new-folder summary{list-style:none;cursor:pointer;padding:3px 8px;border-radius:7px;font-size:var(--text-xs);font-weight:700;color:var(--violet)}
.lib-new-folder summary::-webkit-details-marker{display:none}
.lib-new-folder summary:hover,.lib-new-folder[open] summary{background:#f1eeff}
.lib-new-folder form{position:absolute;right:0;top:calc(100% + 6px);z-index:5;width:230px;display:grid;gap:8px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow)}
.lib-new-folder input{padding:9px 10px}
.lib-folder{position:relative}
.lib-folder form{position:absolute;right:34px;top:50%;transform:translateY(-50%);margin:0;opacity:0;transition:.15s}
.lib-folder:hover form,.lib-folder form:focus-within{opacity:1}
.lib-folder button{width:22px;height:22px;border:0;border-radius:6px;background:#ffe9ed;color:var(--danger);cursor:pointer;line-height:1}
.lib-storage{margin-top:16px;padding:12px 11px 4px;border-top:1px solid var(--line);display:grid;gap:7px}
.lib-storage div{display:flex;justify-content:space-between;gap:8px;font-size:var(--text-xs);color:var(--muted)}
.lib-storage strong{color:var(--ink);font-weight:700}
.lib-storage progress{width:100%;height:6px;border:0;border-radius:9px;overflow:hidden;background:#eeeef4;appearance:none}
.lib-storage progress::-webkit-progress-bar{background:#eeeef4}
.lib-storage progress::-webkit-progress-value{background:var(--violet);border-radius:9px}
.lib-storage progress::-moz-progress-bar{background:var(--violet)}
.lib-storage progress.full::-webkit-progress-value{background:var(--danger)}
.lib-main{position:relative;min-width:0;display:grid;gap:14px}
.lib-head{display:flex;justify-content:space-between;align-items:end;gap:18px;flex-wrap:wrap}
.lib-head h2{font:800 22px Manrope;letter-spacing:-.02em;margin:0}
.lib-head p{margin:4px 0 0;font-size:var(--text-sm);color:var(--muted);max-width:620px}
.lib-search{position:relative;width:min(300px,100%)}
.lib-search input{padding:10px 34px 10px 36px;border-radius:11px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239a9aab' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") no-repeat 12px center}
.lib-search-clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:18px;color:var(--muted)}
.lib-chips{display:flex;gap:6px;overflow:auto;padding-bottom:2px}
.lib-chips a{flex:none;padding:7px 12px;border:1px solid var(--line);border-radius:99px;background:#fff;font-size:var(--text-xs);font-weight:700;color:#555568}
.lib-chips a.active{background:var(--ink);border-color:var(--ink);color:#fff}
.lib-note{margin:0;padding:10px 14px;border-radius:11px;background:var(--state-stale-soft);color:var(--state-stale-ink);font-size:var(--text-sm)}
.lib-bulk{position:sticky;top:88px;z-index:4;display:flex;align-items:center;gap:10px;padding:10px 12px 10px 16px;border-radius:13px;background:var(--ink);color:#fff;font-size:var(--text-sm);box-shadow:0 12px 30px rgba(20,16,50,.2)}
.lib-bulk span{flex:1}
.lib-bulk .btn.ghost{background:transparent;border-color:#3b3b52;color:#d8d8e4}
.lib-table{overflow:auto;padding:4px 6px}
.lib-table table{width:100%}
.lib-table th{font-size:10px;letter-spacing:.12em;text-transform:uppercase;padding:12px 10px}
.lib-table td{padding:11px 10px;font-size:var(--text-sm);vertical-align:middle}
.lib-table tr.selected td{background:#f6f4ff}
.lib-table tr.shared td{background:#fcfcfe}
.lib-check{width:34px;text-align:center}
.lib-check input{width:16px;height:16px;accent-color:var(--violet)}
.lib-title strong{font-weight:700}
.lib-title small{max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lib-col-time{white-space:nowrap;color:#555568;font-variant-numeric:tabular-nums}
.lib-col-actions{width:80px;text-align:right}
.lib-delete{padding:6px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#a0a0b2;font-size:var(--text-xs);font-weight:700;cursor:pointer}
tr:hover .lib-delete,.lib-delete:focus-visible{color:var(--danger);border-color:#f3c9d0;background:#fff5f7}
.vol-state{display:inline-flex;align-items:center;padding:4px 9px;border-radius:99px;font-size:var(--text-xs);font-weight:700;white-space:nowrap;cursor:default}
.vol-state.done{background:var(--state-live-soft);color:var(--state-live-ink)}
.vol-state.pending{background:var(--state-busy-soft);color:var(--state-busy-ink)}
.vol-state.failed{background:var(--state-off-soft);color:var(--state-off-ink)}
.lib-empty{display:grid;justify-items:center;gap:6px;padding:56px 20px;text-align:center}
.lib-empty>span{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#f1eeff;color:var(--violet);font-size:22px;margin-bottom:6px}
.lib-empty strong{font:800 16px Manrope}
.lib-empty small{color:var(--muted);font-size:var(--text-sm);margin-bottom:8px}
.lib-drop-hint{position:absolute;inset:0;z-index:6;display:none;place-content:center;justify-items:center;gap:6px;border:2px dashed var(--violet);border-radius:18px;background:rgba(246,244,255,.92);pointer-events:none}
.lib-drop-hint strong{font:800 20px Manrope;color:var(--violet-dark)}
.lib-drop-hint span{font-size:var(--text-sm);color:var(--muted)}
.lib-main.dragging .lib-drop-hint{display:grid}
.sheet .drop-zone{position:relative;display:grid;gap:4px;justify-items:center;text-align:center;padding:26px 18px;cursor:pointer}
.sheet .drop-zone.over{border-color:var(--violet);background:#f1eeff}
.sheet .drop-zone input{position:absolute;inset:0;opacity:0;cursor:pointer}
.sheet .drop-zone strong{font-size:14px;color:var(--violet-dark);word-break:break-word}
.sheet .upload-progress{margin:0}
@media(max-width:1100px){.lib{grid-template-columns:220px minmax(0,1fr)}.lib-col-folder{display:none}}
@media(max-width:820px){
  .lib{grid-template-columns:1fr}
  .lib-nav{position:static;max-height:none;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:6px;padding:8px}
  .lib-nav .lib-group,.lib-nav .lib-storage,.lib-folder form{display:none}
  .lib-link,.lib-link.sub{flex:none;padding:8px 12px;border:1px solid var(--line);border-radius:99px}
  .lib-col-volume,.lib-col-type{display:none}
  .lib-search{width:100%}
  .choice-cards{grid-template-columns:1fr}
}

/* ===== Programação (1.25) ===== */
.prog-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:22px 0 14px;flex-wrap:wrap}
.prog-head h2{font:800 22px Manrope;margin:0}.prog-head p{margin:4px 0 0;font-size:var(--text-sm);color:var(--muted)}
.prog-empty{display:grid;justify-items:center;gap:6px;padding:44px 20px;text-align:center}
.prog-empty>span{font-size:24px}.prog-empty small{color:var(--muted);margin-bottom:8px}
.week{padding:18px 20px 22px;margin-bottom:16px}
.week-legend{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:var(--text-xs);color:#555568;margin-bottom:14px}
.week-legend span{display:inline-flex;align-items:center;gap:7px}
.week-legend i{width:12px;height:12px;border-radius:4px;background:var(--c,#ccc)}
.week-default i{background:repeating-linear-gradient(45deg,#ececf3 0 4px,#f8f8fb 4px 8px);border:1px solid var(--line)}
.week-grid{display:grid;gap:6px;padding-left:46px;position:relative}
.week-axis{position:relative;height:16px}
.week-axis span{position:absolute;transform:translateX(-50%);font-size:10px;color:#9a9aab}
.week-row{position:relative;display:flex;align-items:center}
.week-day{position:absolute;left:-46px;width:40px;font-size:var(--text-xs);font-weight:700;color:#555568}
.week-day.today{color:var(--violet)}
.week-track{position:relative;flex:1;height:40px;border-radius:9px;background:repeating-linear-gradient(45deg,#f0f0f5 0 6px,#f8f8fb 6px 12px)}
.week-block{position:absolute;top:3px;bottom:3px;min-width:6px;padding:3px 8px;border:0;border-radius:7px;background:var(--c);color:#fff;text-align:left;overflow:hidden;cursor:pointer;display:grid;align-content:center;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.week-block:hover{filter:brightness(1.08)}
.week-block strong,.week-block small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;line-height:1.2}
.week-block small{opacity:.85;font-size:10px}
.week-now{position:absolute;top:-3px;bottom:-3px;width:2px;background:var(--danger);z-index:200;border-radius:2px}
.period-swatch{width:12px;height:36px;border-radius:5px;background:var(--c);flex:none}
.days-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:var(--text-sm);font-weight:700;color:#454557}
.days-quick{display:flex;gap:4px}
.days-quick button{padding:4px 9px;border:1px solid var(--line);border-radius:99px;background:#fff;font-size:var(--text-xs);color:var(--violet);cursor:pointer}
.inline-number{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap}
.inline-number input{width:80px;text-align:center}
.sheet-wide{width:min(640px,calc(100vw - 32px))}
.soon{display:flex;align-items:center;gap:20px;padding:14px 18px;margin-bottom:16px;flex-wrap:wrap}
.soon-text{display:grid;gap:3px;min-width:220px}.soon-text small{color:var(--muted);font-size:var(--text-xs)}
.soon-strip{display:flex;gap:4px;margin:0;padding:0;list-style:none;flex-wrap:wrap}
.soon-strip li{width:26px;height:26px;display:grid;place-items:center;border-radius:7px;font-size:12px;background:#f1f1f6;color:#77778a}
.soon-strip .soon-vinheta{background:#e8f3ff}.soon-strip .soon-oferta{background:#fff0eb;color:#b95238}
.campaign-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}
.camp{display:grid;gap:12px;padding:18px}
.camp header{display:flex;align-items:start;gap:12px}
.camp header>div{flex:1;min-width:0}.camp h3{font:800 16px Manrope;margin:0}.camp header small{color:var(--muted);font-size:var(--text-xs)}
.camp-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#f1eeff;flex:none}
.camp-oferta .camp-icon{background:#fff0eb;color:#b95238}
.camp dl{display:grid;gap:8px;margin:0}.camp dl div{display:grid;grid-template-columns:86px 1fr;gap:8px;font-size:var(--text-sm)}
.camp dt{color:var(--muted);font-size:var(--text-xs);font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding-top:2px}.camp dd{margin:0}
.camp footer{display:flex;gap:8px;justify-content:end;flex-wrap:wrap;padding-top:10px;border-top:1px solid var(--line)}
.camp footer form{margin:0}
.lib-table th{color:#9494a4}
@media(max-width:700px){.week-grid{padding-left:36px}.week-day{left:-36px}.week-block small{display:none}.campaign-grid{grid-template-columns:1fr}}
.prog-periods .item-row-main{display:flex;flex-direction:row;align-items:center;gap:12px}
.week-day.today{font-weight:800}
.inline-number[hidden],.sheet [hidden]{display:none!important}

/* ===== Sino de notificações (1.26) ===== */
.bell{position:relative}
.bell-button{position:relative}
.bell-count{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--danger);color:#fff;font-size:10px;font-weight:800;line-height:18px;text-align:center;box-shadow:0 0 0 2px #fff}
.bell-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:40;width:380px;max-height:min(520px,calc(100vh - 110px));display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 24px 60px rgba(20,16,50,.18);overflow:hidden}
.bell-panel[hidden]{display:none}
.bell-panel header{display:grid;gap:2px;padding:14px 16px;border-bottom:1px solid var(--line)}
.bell-panel header strong{font:800 15px Manrope}.bell-panel header small{font-size:var(--text-xs);color:var(--muted)}
.bell-list{overflow:auto}
.bell-empty{margin:0;padding:28px 18px;text-align:center;font-size:var(--text-sm);color:var(--muted)}
.bell-item{display:flex;gap:11px;padding:12px 16px;border-bottom:1px solid #f1f1f6;color:inherit}
a.bell-item:hover{background:#faf9ff}
.bell-item.new{background:#f8f6ff}
.bell-icon{flex:none;width:26px;height:26px;display:grid;place-items:center;border-radius:8px;font-size:12px;font-weight:800;background:var(--state-off-soft);color:var(--state-off-ink)}
.bell-item.falha .bell-icon{background:var(--state-alert-soft);color:var(--state-alert-ink)}
.bell-item.atencao .bell-icon{background:var(--state-stale-soft);color:var(--state-stale-ink)}
.bell-item.ok .bell-icon{background:var(--state-live-soft);color:var(--state-live-ink)}
.bell-body{display:grid;gap:3px;min-width:0}
.bell-body strong{font-size:var(--text-sm);font-weight:700}
.bell-body small{font-size:var(--text-xs);color:#555568;line-height:1.4;overflow-wrap:anywhere}
.bell-body em{font-style:normal;font-size:10.5px;color:#9a9aab}
.bell-item.open.falha .bell-body em{color:var(--state-alert-ink);font-weight:700}
@media(max-width:700px){.bell-panel{position:fixed;left:12px;right:12px;top:70px;width:auto}}
.bell-glyph{display:block;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E") center/contain no-repeat}

/* ===== Acervo da revenda (1.27) ===== */
.sftp-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 20px;padding:14px 18px;margin-bottom:18px}
.sftp-strip-main{display:flex;align-items:center;gap:18px;flex-wrap:wrap;min-width:0}
.sftp-strip dl{display:flex;gap:18px;margin:0;flex-wrap:wrap}
.sftp-strip dl div{display:grid;gap:2px}
.sftp-strip dt{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#9a9aab}
.sftp-strip dd{margin:0;font-size:var(--text-sm);font-weight:700;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.sftp-strip-state{display:flex;align-items:center;gap:12px;justify-content:end;flex-wrap:wrap}
.sftp-strip-state small{font-size:var(--text-xs);color:var(--muted);text-align:right;max-width:420px}
.sftp-strip.syncing .sftp-strip-state small{color:var(--state-busy-ink);font-weight:700}
.sftp-strip-error{grid-column:1/-1;margin:0;padding:9px 12px;border-radius:10px;background:var(--state-stale-soft);color:var(--state-stale-ink);font-size:var(--text-xs);overflow-wrap:anywhere}
.lib-link.two-lines span{display:grid;gap:1px}
.lib-link.two-lines small{font-size:10.5px;font-weight:500;color:#9a9aab}
.lib-nav-hint{margin:2px 11px 6px;font-size:var(--text-xs);color:var(--muted);line-height:1.4}
.lib-new-folder form small{font-size:10.5px;color:var(--muted)}
@media(max-width:820px){.sftp-strip{grid-template-columns:1fr}.sftp-strip-state{justify-content:start}.sftp-strip-state small{text-align:left}}

/* ===== Seleção de playlist (1.28) ===== */
.forced-banner{display:flex;align-items:center;gap:14px;padding:14px 18px;margin-bottom:18px;border-color:#d9d2ff;background:linear-gradient(90deg,#f4f1ff,#fff)}
.forced-banner>div{flex:1;display:grid;gap:2px}
.forced-banner strong{font-size:var(--text-md)}
.forced-banner small{font-size:var(--text-xs);color:var(--muted)}
.forced-banner form{margin:0}
.forced-icon{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:11px;background:var(--violet);color:#fff;font-size:13px}
.playlist-card-v2.is-forced{border-color:#cfc6ff;box-shadow:0 0 0 3px #6c5ce714,var(--shadow)}
.playlist-roles{display:flex;gap:6px;flex-wrap:wrap;margin:-4px 0 12px}
.playlist-roles .role{padding:4px 10px;border-radius:99px;font-size:var(--text-xs);font-weight:800;letter-spacing:.02em}
.playlist-roles .role.default{background:var(--state-stale-soft);color:var(--state-stale-ink)}
.playlist-roles .role.forced{background:var(--state-busy-soft);color:var(--state-busy-ink)}
.playlist-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.playlist-actions-main,.playlist-actions-more{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.playlist-actions form{margin:0}
.playlist-actions .btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
.duration-choice{display:grid;gap:6px}
.duration-choice>label{flex:none}
.duration-choice span{text-align:left}
.agenda-forced-note{margin:0 0 12px;padding:10px 14px;border-radius:11px;background:var(--state-busy-soft);color:var(--state-busy-ink);font-size:var(--text-sm)}
.agenda-forced-note a,.week-default a{font-weight:700;color:var(--violet)}

/* ===== Ícones (1.29): <x-icon name="..."/> usa estas máscaras; a cor vem do texto ===== */
.i{display:inline-block;flex:none;width:1.15em;height:1.15em;vertical-align:-.2em;background:currentColor;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
.i-home{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z%22/%3E%3C/svg%3E")}
.i-radio{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%222%22/%3E%3Cpath d=%22M16.2 7.8a6 6 0 0 1 0 8.4M7.8 16.2a6 6 0 0 1 0-8.4M19.1 4.9a10 10 0 0 1 0 14.2M4.9 19.1a10 10 0 0 1 0-14.2%22/%3E%3C/svg%3E")}
.i-store{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 21h18M5 21V10M19 21V10M3 10l2-6h14l2 6zM9 21v-6h6v6%22/%3E%3C/svg%3E")}
.i-server{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%224%22 width=%2218%22 height=%227%22 rx=%222%22/%3E%3Crect x=%223%22 y=%2213%22 width=%2218%22 height=%227%22 rx=%222%22/%3E%3Cpath d=%22M7 7.5h.01M7 16.5h.01%22/%3E%3C/svg%3E")}
.i-user{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%224%22/%3E%3Cpath d=%22M4 21a8 8 0 0 1 16 0%22/%3E%3C/svg%3E")}
.i-archive{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%224%22 width=%2218%22 height=%224%22 rx=%221%22/%3E%3Cpath d=%22M5 8v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8M10 12h4%22/%3E%3C/svg%3E")}
.i-logout{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4M10 17l5-5-5-5M15 12H3%22/%3E%3C/svg%3E")}
.i-music{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 18V5l12-2v13%22/%3E%3Ccircle cx=%226%22 cy=%2218%22 r=%223%22/%3E%3Ccircle cx=%2218%22 cy=%2216%22 r=%223%22/%3E%3C/svg%3E")}
.i-list{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 6h12M9 12h12M9 18h12M4 6h.01M4 12h.01M4 18h.01%22/%3E%3C/svg%3E")}
.i-calendar{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2216%22 rx=%222%22/%3E%3Cpath d=%22M3 10h18M8 3v4M16 3v4%22/%3E%3C/svg%3E")}
.i-history{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 12a9 9 0 1 0 3-6.7L3 8M3 3v5h5M12 7v5l3 2%22/%3E%3C/svg%3E")}
.i-grid{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%223%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%2214%22 y=%223%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%223%22 y=%2214%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%2214%22 y=%2214%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3C/svg%3E")}
.i-folder{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 20h16a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-7.5L10 4H4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1z%22/%3E%3C/svg%3E")}
.i-megaphone{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 11v2a1 1 0 0 0 1 1h3l7 4V6l-7 4H4a1 1 0 0 0-1 1zM17.5 9a4 4 0 0 1 0 6%22/%3E%3C/svg%3E")}
.i-tag{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V4a1 1 0 0 1 1-1h9l7.6 7.6a2 2 0 0 1 0 2.8z%22/%3E%3Ccircle cx=%227.5%22 cy=%227.5%22 r=%221.5%22/%3E%3C/svg%3E")}
.i-lock{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%2211%22 width=%2214%22 height=%2210%22 rx=%222%22/%3E%3Cpath d=%22M8 11V7a4 4 0 0 1 8 0v4%22/%3E%3C/svg%3E")}
.i-play{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 4.5v15a1 1 0 0 0 1.5.9l12-7.5a1 1 0 0 0 0-1.8l-12-7.5A1 1 0 0 0 7 4.5z%22/%3E%3C/svg%3E")}
.i-star{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 17.3l-5.6 2.9 1.1-6.2L3 9.6l6.2-.9z%22/%3E%3C/svg%3E")}
.i-refresh{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21 12a9 9 0 0 1-15.5 6.3L3 16M3 12a9 9 0 0 1 15.5-6.3L21 8M21 3v5h-5M3 21v-5h5%22/%3E%3C/svg%3E")}
.i-clock{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 7v5l3 2%22/%3E%3C/svg%3E")}
.i-external{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5%22/%3E%3C/svg%3E")}
.i-upload{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 16V4M7 9l5-5 5 5M4 16v3a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-3%22/%3E%3C/svg%3E")}

/* Legibilidade (1.29): textos que eram fixos em 9–12 px ficam um pouco maiores. */
.radio-workspace-links a,.radio-workspace-exit{display:inline-flex;align-items:center;gap:7px;font-size:13px}
.radio-workspace-links a .i{color:#9a9aab}
.radio-workspace-links a.active .i,.radio-workspace-links a:hover .i{color:inherit}
.radio-workspace-identity small{font-size:10.5px}.radio-workspace-identity strong{font-size:14px}
.sidebar nav a{font-size:14.5px}
.sidebar nav a .i{width:20px;height:20px}
.btn{font-size:13px}
th{font-size:10.5px}
td{font-size:13.5px}
.page-heading p{font-size:15px}
.lib-link .i,.lib-chips .i{margin-right:9px;color:#9a9aab;vertical-align:-.22em}
.lib-link.active .i,.lib-folder.active .lib-link .i{color:var(--violet)}
.lib-group{font-size:11px}
.lib-empty>span .i,.prog-empty>span .i{width:24px;height:24px}
.metric-icon .i{width:20px;height:20px}
.programming-tab-icon .i{width:19px;height:19px}
.camp-icon .i,.forced-icon .i{width:17px;height:17px}
.playlist-roles .i,.btn .i{width:1.05em;height:1.05em;vertical-align:-.17em}
.soon-strip .i{width:14px;height:14px}
.history-track>span .i,.campaign-mini-icon .i,.track-icon .i,.folder-summary-icon .i,.folder-lock .i{width:16px;height:16px}
.stream-link .i{width:.95em;height:.95em}
.playlist-config p,.playlist-metrics span{font-size:13px}
.i.spin{animation:icon-spin 1s linear infinite}
@keyframes icon-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.i.spin{animation:none}}
.lib-note .i{margin-right:6px;vertical-align:-.2em}
.i-stop{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%225%22 width=%2214%22 height=%2214%22 rx=%222.5%22/%3E%3C/svg%3E")}
@media(max-width:820px){.lib{grid-template-columns:minmax(0,1fr)}.lib-nav{min-width:0}}
.lib-main{grid-template-columns:minmax(0,1fr)}.lib-main>form{min-width:0}
@media(max-width:700px){.sidebar nav a.active:before{display:none}}
.sftp-credentials{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.sftp-credentials h3{font:800 15px Manrope;margin:0 0 12px}
.sftp-credentials .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.sftp-credentials small{font-weight:500;color:var(--muted);font-size:var(--text-xs)}
.field-error{font-size:var(--text-xs);font-weight:700;color:var(--danger)}
.sftp-disable{margin-top:10px;display:flex;justify-content:end}
@media(max-width:900px){.sftp-credentials .form-grid{grid-template-columns:1fr}}
.sftp-credentials .form-grid{align-items:start}.sftp-credentials label{align-content:start;grid-template-rows:auto auto auto}.sftp-credentials input{height:44px}
.i-alert{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0zM12 9v4M12 17h.01%22/%3E%3C/svg%3E")}

/* ===== Acervo: pastas maiores, seleção e avisos (1.31) ===== */
.lib{grid-template-columns:320px minmax(0,1fr)}
@media(max-width:1100px){.lib{grid-template-columns:270px minmax(0,1fr)}}
.lib-nav{padding:14px}
.lib-link{padding:11px 12px;font-size:14px}
.lib-link b{font-size:12.5px}
.lib-link.two-lines span{display:grid;gap:3px;min-width:0}
.lib-name{display:flex;align-items:center;gap:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lib-link.two-lines small{font-size:11.5px;padding-left:calc(1.15em + 9px)}
.lib-head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.lib-head{align-items:center}
.lib-bulk .btn.danger{background:var(--danger);color:#fff}
.sheet-danger .sheet-head{border-bottom-color:#f6d5db}
.danger-eyebrow{color:var(--danger)}
.danger-text{margin:0;font-size:var(--text-md);line-height:1.5;color:#3d3d4f}
.danger-warning{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border-radius:10px;background:var(--state-alert-soft);color:var(--state-alert-ink);font-size:var(--text-sm);font-weight:700}
.sheet .btn.danger{background:var(--danger);color:#fff}
.folder-choice{grid-template-columns:1fr}
@media(max-width:820px){.lib{grid-template-columns:minmax(0,1fr)}.lib-link.two-lines small{display:none}}
.lib-link.two-lines span.lib-name{display:flex;align-items:center;gap:0}
.lib-link.two-lines span.lib-name .i{margin-right:9px}
.sftp-removing{display:flex;align-items:center;gap:10px;margin-top:16px;padding:12px 14px;border-radius:11px;background:var(--state-busy-soft);color:var(--state-busy-ink);font-weight:700;font-size:var(--text-sm)}
.sftp-password-actions{display:flex;gap:8px;align-items:end;padding-top:24px}
.sftp-note{display:block;margin-top:8px;font-size:var(--text-xs);color:var(--muted)}
.sftp-danger-zone{display:flex;align-items:center;gap:10px;margin-top:18px;padding:14px 16px;border:1px solid #f3d0d6;border-radius:12px;background:#fffafb;flex-wrap:wrap}
.sftp-danger-zone>div{flex:1;min-width:240px;display:grid;gap:3px}
.sftp-danger-zone small{font-size:var(--text-xs);color:var(--muted);line-height:1.45}
.sftp-danger-zone form{margin:0}
.sftp-danger-zone .btn.danger{background:var(--danger);color:#fff}

/* ===== Acervo organizado por pastas (1.32) ===== */
.heading-actions{display:flex;gap:10px;flex-wrap:wrap}
.acervo-summary{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:26px}
.acervo-summary-item{flex:1;min-width:220px;display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fff;font-size:var(--text-sm);color:#454557}
.acervo-summary-item>.i{width:20px;height:20px;color:var(--violet)}
.acervo-summary-item span{flex:1}
.acervo-summary-item strong{font:800 16px Manrope;color:var(--ink)}
.acervo-summary-item b{font-size:var(--text-sm);color:var(--violet)}
a.acervo-summary-item:hover{border-color:#cfc6ff}
.acervo-summary-item.storage{flex-wrap:wrap}
.acervo-summary-item.storage progress{width:100%;height:6px;border:0;border-radius:9px;overflow:hidden;background:#eeeef4;appearance:none}
.acervo-summary-item.storage progress::-webkit-progress-bar{background:#eeeef4}
.acervo-summary-item.storage progress::-webkit-progress-value{background:var(--violet)}
.acervo-summary-item.storage progress::-moz-progress-bar{background:var(--violet)}
.acervo-summary-item.muted{color:var(--state-busy-ink)}
.folder-section{margin-bottom:30px}
.folder-section>header{margin-bottom:14px}
.folder-section h2{font:800 20px Manrope;margin:0}
.folder-section header p{margin:3px 0 0;font-size:var(--text-sm);color:var(--muted)}
.folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.folder-card{position:relative;display:grid;align-content:start;gap:6px;min-height:168px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow);text-align:left;transition:.15s}
.folder-card:hover{border-color:#cfc6ff;transform:translateY(-2px);box-shadow:0 18px 40px rgba(30,25,70,.1)}
.folder-card-link{position:absolute;inset:0;border-radius:inherit;z-index:1}
.folder-card strong{font:800 16px Manrope;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folder-card small{font-size:var(--text-sm);color:var(--muted)}
.folder-card-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;margin-bottom:6px;background:#f1eeff;color:var(--violet)}
.folder-card-icon .i{width:22px;height:22px}
.tone-musica{background:#eeeaff;color:#5f50d5}
.tone-vinheta{background:#e8f3ff;color:#256bb7}
.tone-oferta{background:#fff0eb;color:#b95238}
.tone-master{background:#fff6e5;color:#9a6a12}
.tone-mix{background:#f1eeff;color:var(--violet)}
.folder-card-radios{display:inline-flex;align-items:center;gap:6px;margin-top:4px;font-size:var(--text-xs);font-weight:700;color:var(--state-live-ink)}
.folder-card-radios.warn{color:var(--state-stale-ink)}
.folder-card-path{margin-top:4px;font-size:11.5px;color:#7a6a3a;background:#fffaf0;border-radius:7px;padding:3px 7px;justify-self:start}
.folder-card-actions{position:absolute;top:14px;right:14px;z-index:2;display:flex;gap:4px;opacity:.0;transition:.15s}
.folder-card:hover .folder-card-actions,.folder-card:focus-within .folder-card-actions{opacity:1}
.icon-btn{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:#fff;color:#6f6f82;cursor:pointer}
.icon-btn:hover{color:var(--violet);border-color:#cfc6ff}
.icon-btn.danger:hover{color:var(--danger);border-color:#f3c9d0;background:#fff5f7}
.folder-card-new{cursor:pointer;border:2px dashed #cfc6ff;background:#faf9ff;box-shadow:none;place-content:center;justify-items:center;text-align:center}
.folder-card-new strong{color:var(--violet-dark)}
.folder-card-new:hover{background:#f4f1ff;border-color:var(--violet)}
.folder-card.master{background:linear-gradient(180deg,#fffdf7,#fff)}
.loose-files{display:flex;align-items:center;gap:12px;padding:14px 18px;border-color:#f3dfb4;background:#fffaf0;color:var(--state-stale-ink)}
.loose-files span{flex:1;display:grid}
.loose-files small{color:#8a6a2a}
.acervo-crumbs{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:var(--text-sm);color:var(--muted)}
.acervo-crumbs a{display:inline-flex;align-items:center;gap:6px;color:var(--violet);font-weight:700}
.acervo-crumbs strong{color:var(--ink)}
.folder-hero{display:flex;align-items:center;gap:16px;padding:18px 20px;margin-bottom:14px;flex-wrap:wrap}
.folder-hero .folder-card-icon{margin:0;width:54px;height:54px}
.folder-hero-text{flex:1;min-width:240px}
.folder-hero h2{font:800 22px Manrope;margin:0}
.folder-hero p{margin:4px 0 0;font-size:var(--text-sm);color:var(--muted)}
.folder-hero-radios{display:flex;align-items:center;gap:6px}
.folder-hero-radios.warn{color:var(--state-stale-ink);font-weight:700}
.folder-hero-actions{display:flex;gap:8px;flex-wrap:wrap}
.folder-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.folder-toolbar .lib-chips{flex:1}
.folder-toolbar .lib-search{margin-left:auto}
.radio-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px}
.radio-picker input{position:absolute;opacity:0}
.radio-picker span{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font-size:var(--text-sm);font-weight:600;color:#555568;cursor:pointer}
.radio-picker input:checked+span{border-color:var(--violet);background:#f1eeff;color:var(--violet-dark)}
.radio-picker input:focus-visible+span{outline:2px solid var(--violet);outline-offset:2px}
.folder-kind>label{flex:1 1 22%}
@media(max-width:700px){.folder-grid{grid-template-columns:1fr 1fr}.folder-card{min-height:150px;padding:14px}.folder-card-actions{opacity:1}.heading-actions{width:100%}.heading-actions .btn{flex:1}}
@media(max-width:420px){.folder-grid{grid-template-columns:1fr}}
.i-edit{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 20h9M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z%22/%3E%3C/svg%3E")}
.i-trash{--i:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 6h18M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6M10 11v6M14 11v6%22/%3E%3C/svg%3E")}

/* ===== Editor de playlist (1.33) ===== */
.pl-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;align-items:start}
.pl-main{display:grid;gap:18px;min-width:0}
.pl-basics{display:grid;gap:18px;padding:20px 22px}
.pl-name{display:grid;gap:8px;font-size:var(--text-sm);font-weight:700;color:#454557}
.pl-name input{font-size:16px;font-weight:700}
.pl-switch{position:relative;display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center;cursor:pointer}
.pl-switch input{position:absolute;opacity:0}
.pl-switch>span{grid-row:span 2;width:42px;height:24px;border-radius:99px;background:#d9d9e3;position:relative;transition:.2s}
.pl-switch>span:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:.2s}
.pl-switch input:checked+span{background:var(--state-live)}
.pl-switch input:checked+span:after{left:21px}
.pl-switch input:focus-visible+span{outline:2px solid var(--violet);outline-offset:2px}
.pl-switch b{font-size:var(--text-sm)}
.pl-switch small{font-size:var(--text-xs);color:var(--muted)}
.pl-sources{padding:20px 22px;display:grid;gap:10px}
.pl-sources-head{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:6px}
.pl-sources-head h2{font:800 19px Manrope;margin:0}
.pl-sources-head p{margin:4px 0 0;font-size:var(--text-sm);color:var(--muted);max-width:560px}
.pl-search{width:min(280px,100%)}
.pl-group-title{display:grid;gap:2px;margin:12px 2px 2px}
.pl-group-title strong{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#8a8aa0}
.pl-group-title small{font-size:var(--text-xs);color:var(--muted)}
.pl-src{border:1px solid var(--line);border-radius:14px;background:#fff;transition:.15s}
.pl-src.is-sub{margin-left:34px}
.pl-src.mode-inteira{border-color:#bfe8d6;background:#f7fdfa}
.pl-src.mode-escolher{border-color:#cfc6ff;background:#fbfaff}
.pl-src.is-covered{opacity:.65;background:#f7fdfa}
.pl-src-row{display:flex;align-items:center;gap:12px;padding:10px 12px}
.pl-src .folder-card-icon{width:38px;height:38px;margin:0;border-radius:11px;flex:none}
.pl-src .folder-card-icon .i{width:18px;height:18px}
.pl-src-name{flex:1;min-width:0;display:grid;gap:2px}
.pl-src-name strong{font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-src-name small{font-size:var(--text-xs);color:var(--muted)}
.pl-src-covered{display:none;font-style:normal;font-size:var(--text-xs);font-weight:700;color:var(--state-live-ink)}
.pl-src.is-covered .pl-src-covered{display:block}
.pl-modes{display:flex;border:1px solid var(--line);border-radius:10px;overflow:hidden;flex:none}
.pl-modes label{display:block}
.pl-modes input{position:absolute;opacity:0}
.pl-modes span{display:block;padding:8px 12px;font-size:12.5px;font-weight:700;color:#6f6f82;cursor:pointer;border-left:1px solid var(--line)}
.pl-modes label:first-child span{border-left:0}
.pl-modes input:checked+span{background:var(--violet);color:#fff}
.pl-modes input[value="inteira"]:checked+span{background:var(--state-live)}
.pl-modes input[value="nao"]:checked+span{background:#ececf3;color:#555568}
.pl-modes input:disabled+span{cursor:not-allowed;opacity:.5}
.pl-modes input:focus-visible+span{outline:2px solid var(--violet);outline-offset:-2px}
.pl-files{border-top:1px solid var(--line);padding:10px 12px 12px}
.pl-files-tools{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.pl-files-tools button{padding:5px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:var(--text-xs);font-weight:700;color:var(--violet);cursor:pointer}
.pl-files-tools span{margin-left:auto;font-size:var(--text-xs);color:var(--muted)}
.pl-file-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px;max-height:340px;overflow:auto;padding:2px}
.pl-file{display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;cursor:pointer;min-width:0}
.pl-file input{width:16px;height:16px;flex:none;accent-color:var(--violet)}
.pl-file span{flex:1;min-width:0;display:grid}
.pl-file strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-file small{font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-file em{font-style:normal;font-size:11.5px;color:#9a9aab;font-variant-numeric:tabular-nums}
.pl-file:has(input:checked){border-color:#cfc6ff;background:#f6f4ff}
.pl-summary{position:sticky;top:96px;display:grid;gap:12px;padding:20px}
.pl-summary h2{font:800 19px Manrope;margin:0;overflow-wrap:anywhere}
.pl-sum-numbers{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pl-sum-numbers div{display:grid;padding:12px;border-radius:12px;background:#f6f4ff}
.pl-sum-numbers strong{font:800 24px Manrope;color:var(--violet-dark)}
.pl-sum-numbers small{font-size:var(--text-xs);color:var(--muted)}
.pl-sum-mode{margin:0;font-size:var(--text-sm);color:#555568}
.pl-sum-list{list-style:none;margin:0;padding:0;display:grid;gap:6px;max-height:260px;overflow:auto}
.pl-sum-list li{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:10px}
.pl-sum-list span{flex:1;min-width:0;display:grid}
.pl-sum-list b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-sum-list small{font-size:11.5px;color:var(--muted)}
.pl-sum-list button{width:26px;height:26px;border:0;border-radius:7px;background:#f3f3f7;color:#8a8aa0;font-size:16px;cursor:pointer}
.pl-sum-list button:hover{background:#ffe9ed;color:var(--danger)}
.pl-sum-empty{display:flex;gap:8px;align-items:flex-start;margin:0;padding:10px 12px;border-radius:10px;background:var(--state-stale-soft);color:var(--state-stale-ink);font-size:var(--text-sm)}
.pl-sum-empty[hidden]{display:none}
.pl-sum-note{font-size:var(--text-xs);color:var(--muted);line-height:1.45}
.btn.wide{width:100%;justify-content:center;text-align:center}
@media(max-width:1100px){.pl-grid{grid-template-columns:1fr}.pl-summary{position:static;order:-1}}
@media(max-width:700px){.pl-src-row{flex-wrap:wrap}.pl-modes{width:100%}.pl-modes label{flex:1}.pl-modes span{text-align:center}.pl-src.is-sub{margin-left:14px}}
.pl-modes label,.segmented>label,.radio-picker label,.weekday-picker label{position:relative}.pl-modes input,.segmented input,.radio-picker input{top:0;left:0;width:1px;height:1px}
.pl-sum-numbers strong{font-size:21px;white-space:nowrap}

/* ===== Lista de playlists (1.33) ===== */
.pl-cards{display:grid;gap:14px}
.pl-card{padding:18px 20px;display:grid;gap:12px}
.pl-card.is-playing{border-color:#bfe8d6}
.pl-card.is-forced{border-color:#cfc6ff;box-shadow:0 0 0 3px #6c5ce714,var(--shadow)}
.pl-card.is-off{background:#fbfbfd}
.pl-card-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center}
.pl-card-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#f1eeff;color:var(--violet)}
.pl-card.is-playing .pl-card-icon{background:var(--state-live-soft);color:var(--state-live-ink)}
.pl-card-icon .i{width:22px;height:22px}
.pl-card-title{min-width:0;display:grid;gap:5px}
.pl-card-badges{display:flex;gap:6px;flex-wrap:wrap}
.pl-card-badges:empty{display:none}
.pl-card-badges .role{padding:4px 10px;border-radius:99px;font-size:var(--text-xs);font-weight:800}
.pl-card-badges .role.default{background:var(--state-stale-soft);color:var(--state-stale-ink)}
.pl-card-badges .role.forced{background:var(--state-busy-soft);color:var(--state-busy-ink)}
.pl-card h2{font:800 19px Manrope;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-card h2 a:hover{color:var(--violet)}
.pl-card-origins{display:flex;gap:6px;flex-wrap:wrap}
.pl-card-origins span{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:8px;background:#f5f5f9;font-size:var(--text-xs);font-weight:600;color:#555568;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-card-origins span.warn{background:var(--state-stale-soft);color:var(--state-stale-ink)}
.pl-card-stats{display:grid;grid-template-columns:repeat(4,minmax(96px,auto));gap:6px 22px;margin:0}
.pl-card-stats div{display:grid;gap:2px}
.pl-card-stats dt{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#9a9aab}
.pl-card-stats dd{margin:0;font-size:var(--text-md);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
.pl-card-rules{display:flex;align-items:center;gap:7px;margin:0;font-size:var(--text-sm);color:#555568}
.pl-card-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--line)}
.pl-card-actions form{margin:0}
.pl-card-delete{margin-left:auto!important}
.pl-card-actions .btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
@media(max-width:1100px){.pl-card-main{grid-template-columns:auto minmax(0,1fr)}.pl-card-stats{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.pl-card-main{grid-template-columns:1fr}.pl-card-icon{display:none}.pl-card-delete{margin-left:0!important}}
/* Assinatura (1.33.1): maior e legível */
.sidebar-copyright{gap:3px;padding:16px 10px 0;color:#7a7a8c;font-size:11px;line-height:1.4}
.sidebar-copyright strong{color:#b4b4c4;font-size:12.5px}
.sidebar-copyright span{font-size:11px}
.login-copyright{font-size:12px;line-height:1.6;text-align:center}
.login-copyright strong{color:#555568}

/* ===== Primeiros passos (1.34) ===== */
.guide-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:28px;padding:28px;margin-bottom:28px;background:linear-gradient(135deg,#fff 55%,#f4f1ff)}
.guide-hero h1{font:800 34px Manrope;letter-spacing:-.03em;margin:6px 0 10px}
.guide-hero p{margin:0;font-size:15px;line-height:1.6;color:#555568;max-width:640px}
.guide-progress{margin-top:18px;display:grid;gap:7px;max-width:420px}
.guide-progress-bar{height:10px;border-radius:99px;background:#ecebf5;overflow:hidden}
.guide-progress-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--violet),var(--state-live))}
.guide-progress small{font-size:var(--text-sm);color:var(--muted)}
.guide-toc{display:grid;gap:6px;align-content:start}
.guide-toc a{display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:var(--text-sm);font-weight:700;color:#454557}
.guide-toc a:hover{border-color:#cfc6ff}
.guide-toc b{width:26px;height:26px;flex:none;display:grid;place-items:center;border-radius:50%;background:#f1eeff;color:var(--violet);font-size:12px}
.guide-toc a.done b{background:var(--state-live);color:#fff}
.guide-toc a.done{color:var(--muted)}
.guide-concepts{margin-bottom:28px}
.guide-concepts h2,.guide-stores h2,.guide-faq h2{font:800 22px Manrope;margin:0}
.guide-lead{margin:4px 0 14px;color:var(--muted);font-size:var(--text-md)}
.guide-concept-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.guide-concept{padding:20px;display:grid;gap:8px;align-content:start}
.guide-concept h3{font:800 17px Manrope;margin:4px 0 0}
.guide-concept p{margin:0;font-size:var(--text-sm);line-height:1.55;color:#555568}
.guide-concept .folder-card-icon{margin:0}
.guide-flow{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}
.guide-flow span{padding:5px 9px;border-radius:8px;background:#f5f5f9;font-size:11.5px;font-weight:700;color:#555568}
.guide-flow span:first-child{background:#f1eeff;color:var(--violet-dark)}
.guide-flow i{font-style:normal;color:#9a9aab}
.guide-step{padding:24px;margin-bottom:18px;scroll-margin-top:100px}
.guide-step>header{display:flex;gap:16px;align-items:center;margin-bottom:16px}
.guide-step>header h2{font:800 21px Manrope;margin:0}
.guide-step>header p{margin:3px 0 0;font-size:var(--text-md);color:var(--muted)}
.guide-num{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:14px;background:var(--violet);color:#fff;font:800 19px Manrope}
.guide-num.done{background:var(--state-live)}
.guide-step-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px;align-items:start}
.guide-list{margin:0;padding-left:22px;display:grid;gap:10px;font-size:14.5px;line-height:1.55;color:#33334a}
.guide-list li::marker{font-weight:800;color:var(--violet)}
.guide-list ul{margin:8px 0 0;padding-left:18px;display:grid;gap:6px}
.guide-list i{font-style:normal;padding:1px 6px;border-radius:6px;background:#f5f5f9}
.guide-mock{display:grid;gap:12px}
.guide-mock-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.guide-mock-grid .folder-card{min-height:130px;pointer-events:none}
.guide-mock-dialog{display:grid;gap:10px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow)}
.guide-mock-dialog strong{font-size:var(--text-sm)}
.guide-mock-dialog .radio-picker{grid-template-columns:1fr}
.guide-mock-summary{display:grid;gap:8px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow)}
.guide-mock-summary>strong{font:800 16px Manrope}
.guide-tip{display:flex;gap:9px;align-items:flex-start;margin:0;padding:11px 13px;border-radius:12px;background:#f7f6fc;font-size:var(--text-sm);line-height:1.5;color:#454557}
.guide-tip .i{margin-top:2px;color:var(--violet)}
.guide-modes{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:6px;font-size:var(--text-sm);color:#555568}
.guide-modes span{padding:3px 9px;border-radius:7px;background:#ececf3;font-weight:800;font-size:12px}
.guide-modes .on-green{background:var(--state-live);color:#fff}
.guide-modes .on-violet{background:var(--violet);color:#fff}
.guide-sequence{display:flex;flex-wrap:wrap;gap:5px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}
.guide-sequence span{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#f1f1f6;color:#77778a}
.guide-sequence .v{background:#e8f3ff;color:#256bb7}
.guide-sequence .o{background:#fff0eb;color:#b95238}
.guide-step>footer{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);display:flex;gap:10px;flex-wrap:wrap}
.guide-stores,.guide-faq{padding:24px;margin-bottom:18px}
.guide-stores header p{margin:4px 0 14px;color:var(--muted);font-size:var(--text-sm)}
.guide-store-list{display:grid;gap:8px}
.guide-store{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:12px 14px;border:1px solid var(--line);border-radius:14px}
.guide-store-name{display:grid;gap:6px}
.guide-store-name strong{font-size:15px}
.guide-checks{display:flex;gap:6px;flex-wrap:wrap}
.guide-checks span{padding:3px 9px;border-radius:99px;background:#f3f3f7;font-size:var(--text-xs);font-weight:700;color:#8a8aa0}
.guide-checks span.ok{background:var(--state-live-soft);color:var(--state-live-ink)}
.guide-store-actions{display:flex;gap:6px;flex-wrap:wrap}
.guide-faq details{border-top:1px solid var(--line);padding:12px 2px}
.guide-faq details:first-of-type{margin-top:12px}
.guide-faq summary{cursor:pointer;font-weight:700;font-size:14.5px}
.guide-faq details p{margin:8px 0 0;font-size:var(--text-sm);line-height:1.6;color:#555568}
.guide-banner{display:flex;align-items:center;gap:14px;padding:16px 18px;margin-bottom:20px;border-color:#d9d2ff;background:linear-gradient(90deg,#f4f1ff,#fff)}
.guide-banner span{flex:1;display:grid;gap:2px}
.guide-banner small{color:var(--muted);font-size:var(--text-sm)}
@media(max-width:1000px){.guide-hero,.guide-step-body{grid-template-columns:1fr}.guide-concept-grid{grid-template-columns:1fr}}
@media(max-width:700px){.guide-hero{padding:20px}.guide-hero h1{font-size:28px}.guide-step{padding:18px}.guide-mock-grid{grid-template-columns:1fr}}

/* ===== API pública / player externo (1.35) ===== */
.public-api-body{display:grid;gap:14px}
.public-api-actions{display:flex;gap:8px;flex-wrap:wrap}
.public-api-actions form{margin:0}
.public-api-field{display:grid;gap:7px;font-size:var(--text-sm);font-weight:700;color:#454557}
.public-api-field>span{display:flex;gap:6px}
.public-api-field input{flex:1;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;background:#fafafd}
.public-api-field textarea{width:100%;border:1px solid #dddde7;border-radius:10px;padding:12px;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;background:#151521;color:#d8d5ff;resize:vertical}
.public-api-copy-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.public-api-copy-row small{font-weight:500;color:var(--muted);font-size:var(--text-xs)}
.public-api-format summary{cursor:pointer;font-size:var(--text-sm);font-weight:700;color:var(--violet)}
.public-api-format pre{margin:8px 0 0;padding:12px;border-radius:10px;background:#f5f5f9;font-size:12px;overflow:auto}
@media(max-width:700px){.public-api-field>span{flex-wrap:wrap}}
.meta-bulk{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 18px;margin-bottom:16px}
.meta-bulk>div{flex:1;min-width:260px;display:grid;gap:2px}
.meta-bulk small{font-size:var(--text-xs);color:var(--muted)}
.meta-bulk form{margin:0}
.meta-bulk .btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
.meta-toggle{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:12.5px;font-weight:700;color:#8a8aa0;cursor:pointer}
.meta-toggle i{width:26px;height:15px;border-radius:99px;background:#d9d9e3;position:relative;transition:.2s}
.meta-toggle i:after{content:"";position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:#fff;transition:.2s}
.meta-toggle.on{color:var(--state-live-ink);border-color:#bfe8d6}
.meta-toggle.on i{background:var(--state-live)}
.meta-toggle.on i:after{left:13px}
.public-api-locked{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border-radius:10px;background:#f5f5f9;font-size:var(--text-sm);color:#555568}
