/* Recursos avançados: detecção de cenas e interfaces relacionadas. */
/* Etapa 23 — detecção automática de cenas */
.scene-marker-overlay{position:absolute;inset:0;pointer-events:none;overflow:hidden;border-radius:inherit;z-index:5}
.scene-cut-marker{position:absolute;top:0;bottom:0;width:2px;transform:translateX(-1px);background:#fbbf24;box-shadow:0 0 0 1px rgba(15,23,42,.55),0 0 7px rgba(251,191,36,.8)}
.scene-cut-marker::before{content:"";position:absolute;top:2px;left:-3px;width:8px;height:8px;border-radius:50%;background:#fbbf24;border:1px solid rgba(15,23,42,.75)}
.track.has-scene-suggestions{box-shadow:inset 0 0 0 1px rgba(251,191,36,.78)}
.scene-detector-progress{display:none;padding:10px;border:1px solid rgba(56,189,248,.28);border-radius:.75rem;background:rgba(14,116,144,.1);margin-bottom:10px}
.scene-detector-progress.active{display:block}
.scene-detector-progress-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#d8f4ff;font-weight:750}
.scene-detector-progress-bar{height:11px;overflow:hidden;margin-top:8px;border-radius:999px;background:rgba(255,255,255,.08)}
.scene-detector-progress-bar span{display:block;width:0;height:100%;background:linear-gradient(90deg,#0284c7,#38bdf8,#fbbf24);transition:width .18s linear}
.scene-detector-settings{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:8px;margin-bottom:10px}
.scene-detector-field{padding:9px;border:1px solid var(--separator);border-radius:.72rem;background:rgba(15,23,42,.36);min-width:0}
.scene-detector-field>span{display:block;margin-bottom:5px;color:var(--text-muted);font-size:9px;text-transform:uppercase;letter-spacing:.06em}
.scene-detector-field select,.scene-detector-field input[type="range"]{width:100%;min-width:0}
.scene-detector-field strong{display:block;color:var(--text-light);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scene-detector-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:9px}
.scene-summary-card{padding:8px;border:1px solid var(--separator);border-radius:.65rem;background:rgba(15,23,42,.42)}
.scene-summary-card span{display:block;color:var(--text-muted);font-size:8px;text-transform:uppercase;letter-spacing:.05em}
.scene-summary-card strong{display:block;margin-top:3px;color:var(--text-light);font-size:15px}
.scene-detector-toolbar,.scene-detector-actions{display:flex;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:thin;padding:2px 0 6px;overscroll-behavior-x:contain}
.scene-detector-toolbar button,.scene-detector-actions button{flex:0 0 auto;min-height:34px;padding:6px 9px;border:1px solid var(--separator);border-radius:.58rem;background:var(--btn);color:var(--text-light);font-size:9px;font-weight:750;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.scene-detector-toolbar button i,.scene-detector-actions button i{font-size:17px}
.scene-detector-actions button.primary{background:var(--accent);color:var(--button-text);border-color:transparent}
.scene-detector-actions button.danger{color:#fecaca;border-color:rgba(248,113,113,.32)}
.scene-detector-list{display:flex;flex-direction:column;gap:8px;min-height:0;overflow-y:auto;padding:1px 2px 14px;overscroll-behavior:contain}
.scene-card{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px;border:1px solid var(--separator);border-radius:.72rem;background:rgba(15,23,42,.4)}
.scene-card.is-selected{border-color:rgba(56,189,248,.66);background:rgba(14,116,144,.12)}
.scene-card-thumb{width:72px;aspect-ratio:16/9;border-radius:.52rem;overflow:hidden;background:linear-gradient(135deg,rgba(30,41,59,.9),rgba(15,23,42,.85));display:grid;place-items:center;color:#93c5fd}
.scene-card-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.scene-card-copy{min-width:0}
.scene-card-copy strong{display:block;color:var(--text-light);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scene-card-copy small{display:block;margin-top:3px;color:var(--text-muted);font-size:9px;line-height:1.35}
.scene-card-select{display:flex;flex-direction:column;align-items:center;gap:5px}
.scene-card-select input{width:19px;height:19px;accent-color:#38bdf8}
.scene-card-select button{width:31px;height:31px;border:1px solid var(--separator);border-radius:.55rem;background:var(--btn);color:var(--text-light);display:grid;place-items:center}
.scene-detector-empty{padding:26px 14px;text-align:center;color:var(--text-muted);border:1px dashed var(--separator);border-radius:.8rem}
.scene-detector-empty i{display:block;font-size:34px;margin-bottom:7px;color:#fbbf24}
#scene-detector-modal{width:min(760px,calc(100vw - 18px));height:min(88dvh,790px);max-height:calc(100dvh - 18px);overflow:hidden;flex-direction:column}
#scene-detector-modal>.header,#scene-detector-modal>.modal-footer{flex:0 0 auto}
#scene-detector-modal>.content{flex:1 1 auto;min-height:0;overflow:hidden!important;display:flex;flex-direction:column}
#scene-detector-modal .modal-footer{display:block}
@media(max-width:520px){
 #scene-detector-modal{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}
 #scene-detector-modal>.content{padding:8px!important}
 .scene-detector-settings{grid-template-columns:1fr 1fr}
 .scene-detector-settings .scene-detector-field:first-child{grid-column:1/-1}
 .scene-card{grid-template-columns:66px minmax(0,1fr) auto;gap:7px;padding:7px}
 .scene-card-thumb{width:66px}
 .scene-detector-actions button{min-height:32px;padding:5px 8px;font-size:8.5px}
}

/* ================================================================
   SISTEMA DE PLUGINS — V25
   ================================================================ */
.plugin-manager-modal { width:min(760px, calc(100vw - 20px)); max-height:min(92dvh, 920px); }
.plugin-manager-modal .content { min-height:0; overflow:hidden; padding:0; }
.plugin-manager-content { display:flex; flex-direction:column; }
.plugin-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:14px 14px 10px; flex:none; }
.plugin-summary > div { min-width:0; border:1px solid rgba(148,163,184,.18); border-radius:14px; padding:10px 11px; background:rgba(15,23,42,.45); }
.plugin-summary span { display:block; font-size:11px; color:var(--muted,#94a3b8); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.plugin-summary strong { display:block; margin-top:4px; font-size:18px; color:var(--text,#f8fafc); }
.plugin-tabs { display:flex; gap:6px; overflow-x:auto; padding:0 14px 10px; scrollbar-width:thin; flex:none; }
.plugin-tabs button { display:flex; align-items:center; justify-content:center; gap:6px; flex:0 0 auto; min-height:39px; padding:8px 12px; border:1px solid rgba(148,163,184,.2); border-radius:12px; background:rgba(15,23,42,.34); color:var(--muted,#cbd5e1); font-weight:650; }
.plugin-tabs button.active { border-color:rgba(34,197,94,.7); background:rgba(34,197,94,.15); color:#dcfce7; }
.plugin-tabs .material-icons { font-size:18px; }
.plugin-manager-panel { min-height:0; overflow-y:auto; padding:0 14px 16px; overscroll-behavior:contain; }
.plugin-search { position:sticky; top:0; z-index:3; display:flex; align-items:center; gap:8px; margin:0 0 10px; padding:8px 10px; border:1px solid rgba(148,163,184,.2); border-radius:12px; background:rgba(15,23,42,.96); }
.plugin-search .material-icons { font-size:19px; color:#94a3b8; }
.plugin-search input { min-width:0; width:100%; padding:0; border:0; outline:0; background:transparent; color:var(--text,#fff); font:inherit; }
.plugin-card-list { display:grid; gap:10px; }
.plugin-card { display:grid; grid-template-columns:46px minmax(0,1fr); gap:10px; border:1px solid rgba(148,163,184,.2); border-radius:16px; padding:12px; background:rgba(15,23,42,.44); }
.plugin-card.disabled { opacity:.62; }
.plugin-card.planned { opacity:.72; }
.plugin-card-icon { width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center; background:linear-gradient(145deg,rgba(34,197,94,.22),rgba(59,130,246,.16)); color:#86efac; }
.plugin-card-icon .material-icons { font-size:26px; }
.plugin-card-copy { min-width:0; }
.plugin-card-title { display:flex; align-items:center; gap:6px; min-width:0; }
.plugin-card-title strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--text,#fff); }
.plugin-card-title > span { margin-left:auto; flex:none; font-size:10px; padding:3px 6px; border-radius:999px; background:rgba(148,163,184,.14); color:#cbd5e1; }
.plugin-card-title .verified { font-size:17px; color:#60a5fa; flex:none; }
.plugin-card-copy p { margin:6px 0; line-height:1.42; font-size:12.5px; color:#cbd5e1; }
.plugin-card-copy small { color:#94a3b8; font-size:11px; }
.plugin-permission-chips { display:flex; flex-wrap:wrap; gap:5px; margin-top:8px; }
.plugin-permission-chip { display:inline-flex; align-items:center; gap:4px; max-width:100%; padding:4px 7px; border-radius:999px; background:rgba(148,163,184,.1); color:#cbd5e1; font-size:10px; }
.plugin-permission-chip .material-icons { font-size:13px; }
.plugin-card-actions { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:6px; padding-top:3px; }
.plugin-card-actions button,.plugin-empty button,.plugin-import-card button,.plugin-catalog-note button { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:34px; padding:7px 10px; border:1px solid rgba(148,163,184,.2); border-radius:10px; background:rgba(30,41,59,.78); color:#e2e8f0; font-weight:650; }
.plugin-card-actions button:hover,.plugin-import-card button:hover { border-color:rgba(34,197,94,.58); }
.plugin-card-actions button.danger { color:#fecaca; border-color:rgba(248,113,113,.25); }
.plugin-card-actions button:disabled { opacity:.48; cursor:not-allowed; }
.plugin-card-actions .material-icons,.plugin-import-card button .material-icons { font-size:16px; }
.plugin-toggle { display:inline-flex; align-items:center; gap:6px; min-height:34px; padding:7px 10px; border:1px solid rgba(148,163,184,.2); border-radius:10px; background:rgba(30,41,59,.45); color:#dbeafe; font-size:12px; font-weight:650; }
.plugin-toggle input { width:17px; height:17px; accent-color:#22c55e; }
.plugin-empty,.plugin-import-card { display:flex; flex-direction:column; align-items:center; text-align:center; gap:9px; padding:28px 16px; border:1px dashed rgba(148,163,184,.28); border-radius:17px; background:rgba(15,23,42,.3); color:#cbd5e1; }
.plugin-empty > .material-icons,.plugin-import-card > .material-icons { font-size:42px; color:#86efac; }
.plugin-empty strong,.plugin-import-card h2 { color:var(--text,#fff); margin:0; }
.plugin-empty span,.plugin-import-card p { max-width:540px; margin:0; line-height:1.5; font-size:13px; }
.plugin-empty button,.plugin-import-card button.primary { margin-top:4px; border-color:rgba(34,197,94,.55); background:rgba(34,197,94,.16); color:#dcfce7; }
.plugin-minimal-structure { display:flex; flex-direction:column; align-items:flex-start; width:min(100%,360px); margin:5px auto; padding:12px 14px; border-radius:12px; background:#08111f; color:#cbd5e1; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:12px; text-align:left; }
.plugin-minimal-structure code { color:#86efac; margin-bottom:7px; }
.plugin-format-note { display:flex; flex-direction:column; gap:4px; width:100%; margin-top:8px; padding:11px; border-radius:12px; background:rgba(59,130,246,.09); text-align:left; }
.plugin-format-note strong { color:#bfdbfe; }
.plugin-format-note span { color:#cbd5e1; font-size:12px; line-height:1.45; }
.plugin-catalog-note { display:flex; align-items:flex-start; gap:9px; margin-bottom:10px; padding:11px; border:1px solid rgba(59,130,246,.22); border-radius:14px; background:rgba(59,130,246,.08); }
.plugin-catalog-note > .material-icons { color:#93c5fd; margin-top:1px; }
.plugin-catalog-note div { min-width:0; flex:1; }
.plugin-catalog-note strong,.plugin-catalog-note span { display:block; }
.plugin-catalog-note strong { color:#dbeafe; }
.plugin-catalog-note span { margin-top:3px; color:#cbd5e1; font-size:11.5px; line-height:1.4; }
.plugin-catalog-note button { width:34px; min-width:34px; padding:0; }
.plugin-settings-list { display:grid; gap:8px; }
.plugin-setting-row { display:flex; align-items:center; gap:12px; padding:12px; border:1px solid rgba(148,163,184,.2); border-radius:14px; background:rgba(15,23,42,.42); }
.plugin-setting-row div { min-width:0; flex:1; }
.plugin-setting-row strong,.plugin-setting-row span { display:block; }
.plugin-setting-row strong { color:var(--text,#fff); }
.plugin-setting-row span { margin-top:3px; color:#94a3b8; font-size:11.5px; line-height:1.42; }
.plugin-setting-row input { flex:none; width:20px; height:20px; accent-color:#22c55e; }
.plugin-security-card { display:flex; gap:10px; margin-top:10px; padding:12px; border-radius:14px; background:rgba(34,197,94,.08); border:1px solid rgba(34,197,94,.18); }
.plugin-security-card > .material-icons { color:#86efac; }
.plugin-security-card strong,.plugin-security-card span { display:block; }
.plugin-security-card strong { color:#dcfce7; }
.plugin-security-card span { margin-top:3px; color:#cbd5e1; font-size:11.5px; line-height:1.45; }
.plugin-permission-modal { width:min(590px,calc(100vw - 20px)); max-height:min(88dvh,760px); }
.plugin-permission-modal .content { overflow-y:auto; overflow-x:hidden; min-height:0; }
.plugin-install-hero { display:flex; align-items:center; gap:10px; padding:11px; border-radius:14px; background:rgba(15,23,42,.45); }
.plugin-install-hero > .material-icons { width:42px; height:42px; display:flex; align-items:center; justify-content:center; border-radius:13px; background:rgba(34,197,94,.16); color:#86efac; }
.plugin-install-hero > div { min-width:0; flex:1; }
.plugin-install-hero strong,.plugin-install-hero span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.plugin-install-hero strong { color:var(--text,#fff); }
.plugin-install-hero span { margin-top:2px; color:#94a3b8; font-size:11px; }
.plugin-install-hero em { display:inline-flex; align-items:center; gap:4px; padding:4px 7px; border-radius:999px; background:rgba(59,130,246,.12); color:#93c5fd; font-size:10px; font-style:normal; }
.plugin-install-hero em.community { background:rgba(245,158,11,.12); color:#fcd34d; }
.plugin-install-hero em .material-icons { font-size:13px; }
.plugin-install-description { color:#cbd5e1; line-height:1.5; }
.plugin-install-facts { display:flex; flex-wrap:wrap; gap:6px; }
.plugin-install-facts span { display:inline-flex; align-items:center; gap:5px; padding:6px 8px; border-radius:10px; background:rgba(148,163,184,.09); color:#cbd5e1; font-size:11px; }
.plugin-install-facts .material-icons { font-size:15px; }
.plugin-community-warning { padding:11px; border:1px solid rgba(245,158,11,.25); border-radius:12px; background:rgba(245,158,11,.08); color:#fde68a; font-size:12px; line-height:1.45; }
.plugin-permission-list { display:grid; gap:7px; }
.plugin-permission-row { display:flex; gap:9px; padding:10px; border-radius:12px; background:rgba(148,163,184,.08); }
.plugin-permission-row > .material-icons { color:#93c5fd; flex:0 0 auto; }.plugin-permission-row>div{min-width:0;flex:1}
.plugin-permission-row strong,.plugin-permission-row span { display:block; overflow-wrap:anywhere; word-break:break-word; }
.plugin-permission-row strong { color:#e2e8f0; font-size:12.5px; }
.plugin-permission-row span { margin-top:2px; color:#94a3b8; font-size:11px; line-height:1.4; }
.plugin-permission-empty { display:flex; align-items:center; gap:8px; padding:11px; border-radius:12px; background:rgba(34,197,94,.08); color:#bbf7d0; }
.dashboard-plugin-btn { border-color:rgba(34,197,94,.28)!important; }

@media (max-width:560px) {
  .plugin-manager-modal { width:100%; height:min(94dvh,900px); max-height:94dvh; border-radius:22px 22px 0 0; align-self:flex-end; }
  .plugin-summary { padding-inline:10px; }
  .plugin-summary > div { padding:9px 8px; }
  .plugin-summary strong { font-size:15px; }
  .plugin-tabs { padding-inline:10px; }
  .plugin-manager-panel { padding-inline:10px; }
  .plugin-card { grid-template-columns:40px minmax(0,1fr); padding:10px; }
  .plugin-card-icon { width:40px; height:40px; }
  .plugin-card-actions button,.plugin-toggle { flex:1 1 auto; }
  .plugin-install-hero { align-items:flex-start; flex-wrap:wrap; }
  .plugin-install-hero > div { flex:1 1 calc(100% - 56px); }
}
.plugin-manager-modal .modal-footer { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.plugin-manager-modal .modal-footer .modal-action { min-width:0; margin:0; }
#plugin-open-wiki { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding-inline:10px; }
@media (max-width:420px) {
  .plugin-manager-modal .modal-footer { padding-inline:10px; }
  #plugin-open-wiki { font-size:11.5px; }
  #plugin-open-wiki .material-icons { font-size:16px; }
  #plugin-manager-close { padding-inline:14px; }
}
.modal-cover.plugin-permission-open #plugin-manager-modal.show { visibility:hidden; pointer-events:none; }
.modal-cover.plugin-permission-open #plugin-permission-modal.show { visibility:visible; pointer-events:auto; }
.modal-cover.plugin-permission-open #plugin-manager-modal.show { display:none !important; }
@media (max-width:640px) {
  .plugin-permission-modal { width:100%; max-width:none; max-height:94dvh; border-radius:18px 18px 0 0; align-self:flex-end; }
}

/* API multimídia dos plugins — progresso, cancelamento e modelos locais */
.plugin-progress-modal { width:min(560px,calc(100vw - 20px)); max-height:min(88dvh,720px); }
.plugin-progress-modal .content { display:grid; gap:13px; overflow-y:auto; }
.plugin-progress-hero { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; padding:16px; border:1px solid rgba(34,197,94,.26); border-radius:17px; background:linear-gradient(145deg,rgba(34,197,94,.13),rgba(59,130,246,.08)); }
.plugin-progress-hero strong { font-size:32px; line-height:1; color:#dcfce7; letter-spacing:-1px; }
.plugin-progress-hero span { min-width:0; flex:1; text-align:right; color:#dbeafe; font-size:12px; line-height:1.4; }
.plugin-progress-track { height:18px; overflow:hidden; border-radius:999px; background:rgba(15,23,42,.8); border:1px solid rgba(148,163,184,.2); }
.plugin-progress-track span { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,#22c55e,#38bdf8); transition:width .18s ease; box-shadow:0 0 18px rgba(34,197,94,.36); }
.plugin-progress-detail { min-height:18px; color:#94a3b8; font-size:11.5px; line-height:1.45; text-align:center; word-break:break-word; }
.plugin-progress-modal .modal-footer { justify-content:center; }
.plugin-progress-modal .modal-action.danger { border-color:rgba(248,113,113,.35); color:#fecaca; }
.modal-cover.plugin-progress-open .modal.show:not(.plugin-progress-modal) { pointer-events:none; }
.plugin-model-summary { display:grid; grid-template-columns:1fr 1fr auto; gap:8px; margin-bottom:10px; }
.plugin-model-summary > div,.plugin-model-summary > button { border:1px solid rgba(148,163,184,.2); border-radius:13px; padding:10px; background:rgba(15,23,42,.42); }
.plugin-model-summary strong,.plugin-model-summary span { display:block; }
.plugin-model-summary strong { color:#e2e8f0; font-size:17px; }
.plugin-model-summary span { margin-top:2px; color:#94a3b8; font-size:10.5px; }
.plugin-model-summary button { display:inline-flex; align-items:center; justify-content:center; gap:5px; color:#fecaca; font-weight:650; }
.plugin-model-summary button .material-icons { font-size:17px; }
.plugin-model-list { display:grid; gap:8px; }
.plugin-model-card { display:grid; grid-template-columns:38px minmax(0,1fr) 36px; align-items:center; gap:10px; padding:11px; border:1px solid rgba(148,163,184,.2); border-radius:14px; background:rgba(15,23,42,.42); }
.plugin-model-card > .material-icons { width:38px; height:38px; display:flex; align-items:center; justify-content:center; border-radius:11px; background:rgba(59,130,246,.12); color:#93c5fd; }
.plugin-model-card div { min-width:0; }
.plugin-model-card strong,.plugin-model-card span,.plugin-model-card small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.plugin-model-card strong { color:#e2e8f0; }
.plugin-model-card span { margin-top:2px; color:#cbd5e1; font-size:11px; }
.plugin-model-card small { margin-top:3px; color:#64748b; font-size:10px; }
.plugin-model-card button { width:36px; height:36px; border:1px solid rgba(248,113,113,.24); border-radius:10px; background:rgba(127,29,29,.12); color:#fecaca; }
.plugin-model-card button .material-icons { font-size:18px; }
@media (max-width:600px) {
  .plugin-progress-modal { width:100%; max-width:none; max-height:92dvh; border-radius:20px 20px 0 0; align-self:flex-end; }
  .plugin-progress-hero { align-items:flex-start; flex-direction:column; }
  .plugin-progress-hero span { text-align:left; }
  .plugin-model-summary { grid-template-columns:1fr 1fr; }
  .plugin-model-summary button { grid-column:1/-1; min-height:38px; }
}


/* Atualização de versão e renovação do cache offline */
.app-update-modal{max-width:560px;z-index:80}.app-update-modal .header{align-items:flex-start}.update-modal-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),color-mix(in srgb,var(--primary) 50%,#6ee7b7));color:#fff;flex:0 0 auto}.update-modal-icon i{font-size:27px}.update-version-hero{padding:16px;border:1px solid color-mix(in srgb,var(--primary) 36%,var(--border));border-radius:18px;background:linear-gradient(145deg,color-mix(in srgb,var(--primary) 13%,var(--card)),var(--card));margin-bottom:12px}.update-version-hero>span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:var(--text-muted)}.update-version-hero>strong{display:block;font-size:34px;line-height:1.05;margin:3px 0 7px}.update-version-hero p{margin:0;color:var(--text);line-height:1.45}.update-change-grid{display:grid;gap:9px}.update-change-card{display:flex;gap:11px;padding:12px;border:1px solid var(--border);border-radius:15px;background:var(--card)}.update-change-card>i{font-size:23px}.update-change-card.added>i{color:#34d399}.update-change-card.updated>i{color:#60a5fa}.update-change-card.removed>i{color:#f59e0b}.update-change-card>div{min-width:0;flex:1}.update-change-card strong{font-size:13px;overflow-wrap:anywhere}.update-change-card ul{margin:5px 0 0;padding-left:17px;color:var(--text-muted);font-size:12px;line-height:1.5;min-width:0}.update-change-card li{overflow-wrap:anywhere;word-break:break-word}.update-offline-card{display:flex;gap:11px;margin-top:11px;padding:12px;border-radius:15px;background:color-mix(in srgb,var(--primary) 10%,var(--card));border:1px dashed color-mix(in srgb,var(--primary) 45%,var(--border))}.update-offline-card i{color:var(--primary)}.update-offline-card strong,.update-offline-card span{display:block}.update-offline-card span{font-size:12px;color:var(--text-muted);margin-top:3px;line-height:1.4}.update-progress{margin-top:13px;padding:13px;border-radius:15px;background:var(--card);border:1px solid var(--border)}.update-progress-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.update-progress-head span{font-size:20px;font-weight:700;color:var(--primary)}.update-progress-track{height:12px;border-radius:999px;background:var(--control);overflow:hidden;margin:9px 0 6px}.update-progress-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary),#6ee7b7);transition:width .2s ease}.update-progress small{color:var(--text-muted)}.update-error{margin-top:10px;padding:10px 12px;border-radius:12px;background:color-mix(in srgb,#ef4444 14%,var(--card));border:1px solid color-mix(in srgb,#ef4444 45%,var(--border));color:#fca5a5;font-size:12px}.app-update-modal .modal-footer{gap:8px}.app-update-modal .modal-footer button{min-height:43px}@media(max-width:600px){.app-update-modal{width:min(100%,560px);max-height:92dvh}.app-update-modal .content{overflow-y:auto}.update-change-grid{grid-template-columns:1fr}.update-version-hero>strong{font-size:30px}}


/* v28 — Central de modelos locais */
.plugin-model-summary.advanced{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:8px}.plugin-model-summary.advanced>div{min-width:0}.plugin-storage-meter{height:9px;border-radius:999px;background:rgba(148,163,184,.18);overflow:hidden;margin:0 0 16px}.plugin-storage-meter span{display:block;height:100%;background:linear-gradient(90deg,#22c55e,#38bdf8);border-radius:inherit}.plugin-model-section{display:grid;gap:10px;margin-top:16px}.plugin-model-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.plugin-model-section-head>div{display:grid;gap:3px}.plugin-model-section-head span{font-size:12px;color:var(--text-muted,#94a3b8)}.plugin-model-section-head button{display:inline-flex;align-items:center;gap:6px}.plugin-model-card.declared,.plugin-model-card.installed{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.plugin-model-card>div>strong{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.plugin-model-recommended{font-size:10px;padding:3px 6px;border-radius:999px;background:rgba(34,197,94,.16);color:#86efac;text-transform:uppercase;letter-spacing:.04em}.plugin-model-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.plugin-model-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:rgba(148,163,184,.12)}.plugin-model-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.plugin-model-actions button{display:inline-flex;align-items:center;gap:5px}.plugin-progress-modal .modal-footer{gap:8px}.plugin-progress-modal #plugin-progress-pause[hidden]{display:none!important}@media(max-width:520px){.plugin-model-summary.advanced{grid-template-columns:1fr}.plugin-model-card.declared,.plugin-model-card.installed{grid-template-columns:auto minmax(0,1fr)}.plugin-model-actions{grid-column:1/-1;justify-content:stretch}.plugin-model-actions button{flex:1;justify-content:center}.plugin-model-section-head{align-items:flex-start;flex-direction:column}.plugin-model-section-head>button{width:100%;justify-content:center}}

/* v30: contraste seguro no cabeçalho do modal de atualização. */
.app-update-modal>.header .update-modal-icon{color:#fff!important;box-shadow:0 10px 28px color-mix(in srgb,var(--primary) 30%,transparent)}
.app-update-modal>.header .update-modal-icon .material-icons{color:inherit!important;opacity:1!important;filter:drop-shadow(0 1px 1px #0008)}
.app-update-modal>.header .close{color:var(--text-light)!important;background:color-mix(in srgb,var(--control) 86%,transparent);border:1px solid var(--border);border-radius:11px}


/* Etapa 33 — revisão de cortes sugeridos por plugins */
.plugin-cut-review-modal .content{min-height:0;overflow:auto}.plugin-cut-review-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid rgba(148,163,184,.22);border-radius:14px;background:rgba(15,23,42,.55);margin-bottom:10px}.plugin-cut-review-summary strong{font-size:14px}.plugin-cut-review-summary span{font-size:12px;color:var(--text-muted)}.plugin-cut-review-toolbar{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px}.plugin-cut-review-toolbar button{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:9px 12px;border-radius:11px;border:1px solid rgba(148,163,184,.22);background:rgba(30,41,59,.75);color:var(--text)}.plugin-cut-review-list{display:grid;gap:9px;max-height:min(58vh,560px);overflow:auto;padding-right:2px}.plugin-cut-review-item{display:grid;grid-template-columns:auto 28px minmax(0,1fr);align-items:start;gap:8px;padding:12px;border:1px solid rgba(148,163,184,.2);border-radius:14px;background:rgba(15,23,42,.5);cursor:pointer}.plugin-cut-review-item>input{position:absolute;opacity:0;pointer-events:none}.plugin-cut-review-check{width:25px;height:25px;border:1px solid rgba(148,163,184,.4);border-radius:8px;display:grid;place-items:center;color:transparent}.plugin-cut-review-item input:checked+.plugin-cut-review-check{background:var(--accent);border-color:var(--accent);color:#fff}.plugin-cut-review-copy{display:grid;gap:4px;min-width:0}.plugin-cut-review-copy strong{font-size:13px}.plugin-cut-review-copy small{font-size:11px;color:var(--text-muted)}.plugin-cut-review-copy span{font-size:12px;line-height:1.45}.plugin-cut-review-copy em{font-size:11px;color:#cbd5e1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seo-intro{margin:28px 0 8px;padding:24px;border:1px solid rgba(148,163,184,.16);border-radius:22px;background:linear-gradient(145deg,rgba(15,23,42,.82),rgba(30,41,59,.5));color:#e2e8f0}.seo-intro h2{font-size:24px;margin:0 0 10px}.seo-intro>p{margin:0;color:#cbd5e1;line-height:1.65}.seo-feature-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:18px 0}.seo-feature-list article{padding:14px;border-radius:15px;background:rgba(15,23,42,.62);border:1px solid rgba(148,163,184,.14)}.seo-feature-list h3{font-size:14px;margin:0 0 6px}.seo-feature-list p{font-size:12px;line-height:1.55;margin:0;color:#94a3b8}.seo-faq{display:grid;gap:8px}.seo-faq details{border-top:1px solid rgba(148,163,184,.15);padding:11px 0}.seo-faq summary{cursor:pointer;font-weight:600}.seo-faq p{margin:8px 0 0;font-size:13px;line-height:1.6;color:#aebbd0}@media(max-width:520px){.seo-intro{padding:18px}.seo-intro h2{font-size:20px}.plugin-cut-review-summary{align-items:flex-start;flex-direction:column}}
