```css
/* ======================================== */
/* === CSS BASE DO SITE (v5 - CORREÇÃO MENU) === */
/* ======================================== */
html { overflow-y: scroll; }

/* --- BODY Limpo com Padding Corrigido (Priorizando Base Original) --- */
body {
    margin: 0;
    padding: 0;               /* Zerado padding geral */
    padding-top: 55px;        /* Padding APENAS para menu fixo de 55px */
    font-size: 14px;
    color: #333;
    background-color: #f0f2f5;/* Fundo cinza claro para destacar containers brancos */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.clear { display: block; clear: both; }
.clear:after {
    display: block; visibility: hidden; height: 0; clear: both;
    font-size: 0; content: "";
}

/* --- Links --- */
a { color: #057714; outline: none; text-decoration: none; }
a:hover { color: #FF0000; }

.fl_left { float: left; }
.fl_right { float: right; }

img {
    max-width: 100%; margin: 0; padding: 0; border: none;
    line-height: normal; vertical-align: middle;
}
#website_container img {
    border-radius: 6px;
}

/* --- Layout Centralizado -- REFORÇADO -- */
body.boxed .wrapper { max-width: 1140px; }
#header, #topnav, #topo, #website_container, #footer,
.stretched, .main-header-annual, .year-calendar-container-annual {
    max-width: 1200px; margin: 0 auto; padding: 0 15px;
    box-sizing: border-box; width: 100%;
}
#website_container #header,
#website_container #topo,
#website_container #footer { padding: 0; }

/********************/
/* HTML 5 Overrides */
/********************/
address, article, aside, figcaption, figure, footer,
header, hgroup, nav, section { display: block; margin: 0; padding: 0; }

/***********/
/* Wrapper */
/***********/
.wrapper, .wrapper100 {
    display: block; width: 100%; margin: 0; padding: 0;
    text-align: left; word-wrap: break-word;
}

.row1, .row3, .row4, .row6 { width: 100%; box-sizing: border-box; }
.row1 .wrapper, .row1 a { color: #f0f0f0; background-color: #155a21; }
.row2 {
    color: #fff; background-color: #208633;
    border-bottom: 1px solid #1a6f2a;
    position: fixed; top: 0; left: 0; width: 100%; z-index: 999999;
}
.row3 { color: #666; }
.row4 { background-color: #208633; }
.row6 { color: #fff; background-color: #208633; }

/*********/
/* Geral */
/*********/
h1, h2, h3, h4, h5, h6 {
    margin: 0; font-size: 2em; font-family: Arial, Helvetica, sans-serif;
    font-weight: normal; line-height: normal; text-transform: capitalize;
    color: inherit;
}
h1, h2, h3 {
    color: #208633; text-align: center; margin-bottom: 20px;
}

nav ul { margin: 0; padding: 0; list-style: none; }
.titulo {
    visibility: hidden; overflow: hidden; line-height: 0;
    padding: 0; font-size: 0;
}
.warning { color: #CC0000; }

/**********/
/* Header */
/**********/
#header { padding: 35px 0; }
#header hgroup { float: left; clear: right; }
#header hgroup h1, #header hgroup h2 {
    margin: 0; font-weight: normal; text-transform: none;
}
#header hgroup h1 { font-size: 2em; }
#header hgroup h2 { font-size: 1em; }

/**********/
/* Slider */
/**********/
.space_slider { padding-top: 0; }

/********/
/* Topo */
/********/
#topo {
    padding: 20px 0; clear: both;
    font-size: 1em; line-height: 1.4em; text-align: center;
}

/************/
/* Conteúdo */
/************/
#website_container {
    padding: 0 0 10px; clear: both;
    font-size: 1em; line-height: 1.4em;
    background-color: #fff;
}
#website_container section { margin-bottom: 0; }
#website_container section.last { margin-bottom: 0; }
#website_container p { text-align: justify; }

#header, #topo, #website_container,
.main-header-annual, .form-section, .space_slider {
    margin-top: 0 !important;
}
#seu-banner-id {
    display: block; width: 100%; max-width: 100%;
    margin: 0 auto 20px; padding: 0; box-sizing: border-box;
}

/******************/
/* Coluna Lateral */
/******************/
.sidebar aside { line-height: 1.2em; }
.sidebar aside h2 {
    margin-bottom: 10px; padding-bottom: 8px;
    border-bottom: 5px solid #e0e0e0; font-size: 1.4em;
}
.sidebar aside ul.nospace li { margin-top: 20px; }

/* ====================================================================== */
/* === CSS PARA BOTÕES DE SERVIÇOS ONLINE (Grade 4 Colunas) === */
/* ====================================================================== */
.botoes-servicos-online {
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 15px; padding: 20px 10px; margin: 20px auto;
    list-style: none; box-sizing: border-box;
}
.botao-verde-animado {
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    min-height: 100px; padding: 15px;
    background-color: #4CAF50; color: white!important;
    border: none; border-radius: 8px;
    font-size: 14px; font-weight: 500; text-align: center;
    cursor: pointer;
    transition: transform .2s ease,
                background-color .2s ease,
                box-shadow .2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    width: 100%; word-wrap: break-word;
}
.botao-verde-animado:hover {
    background-color: #45a049;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
@media (max-width: 992px) {
    .botoes-servicos-online { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
    .botoes-servicos-online { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .botao-verde-animado { min-height: 90px; font-size: 13px; padding: 12px; }
}
@media (max-width: 576px) {
    .botoes-servicos-online { grid-template-columns: 1fr; gap: 10px; padding: 15px; }
    .botao-verde-animado { min-height: 70px; }
}

/**********/
/* Footer */
/**********/
.footer_space { margin-top: 40px; }
#footer {
    padding: 25px 0; text-align: center;
}
#footer div { margin-bottom: 0; }
footer {
    text-align: center; margin-top: 30px;
    font-size: .8em; color: #666;
}

/****************/
/* Menu do Topo */
/****************/
#topnav {
    padding: 0; clear: both;
    word-wrap: normal; white-space: nowrap;
    height: 55px;
}
#topnav ul {
    margin: 0; padding: 0;
    list-style: none; text-transform: uppercase;
    font-size: 12px;
}
#topnav ul ul {
    position: absolute; display: none;
    z-index: 9999; min-width: 190px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    border-radius: 0 0 4px 4px;
    text-transform: none;
}
#topnav ul ul ul,
#topnav ul ul ul ul {
    left: 190px; top: 0;
}
#topnav ul:first-child li:last-child > ul { right: 0; }
#topnav ul:first-child > li:last-child li > ul { left: -190px; }
#topnav li {
    position: relative; float: left;
    margin: 0 30px 0 0; padding: 0;
}
#topnav ul:first-child li:last-child { margin-right: 0; }
#topnav li li { width: 100%; margin: 0; }
#topnav li a { display: block; padding: 20px 0; }
#topnav li li a { padding: 10px 15px; white-space: nowrap; }
#topnav ul li:hover > ul { display: block; }
#topnav a {
    color: white; background: transparent; font-weight: bold;
}
#topnav li li a {
    color: white; background: #208633; font-weight: normal;
}
#topnav a:hover {
    background-color: #1a6f2a; color: white;
}
#topnav ul li li:hover > a {
    background-color: #e9f3ec; color: #155a21;
}
#topnav form {
    display: block; height: 30px;
    margin: 0 auto; padding: 12.5px 0;
}
#topnav form select {
    width: 100%; padding: 8px;
    color: white; background: #208633;
    border: 1px solid #1a6f2a; cursor: pointer; outline: none;
}
#topnav form select option {
    background: white; color: #333; cursor: pointer;
}

/* ============================================ */
/* === INÍCIO: ESTILOS DO FORMULÁRIO GERAL === */
/* ============================================ */
.container {
    max-width: 800px; margin: 15px auto;
    background: #fff; padding: 20px 30px;
    border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.form-section {
    margin-bottom: 25px; padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}
.form-section:last-of-type { border-bottom: none; }
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 15px 20px;
}
.form-group { display: flex; flex-direction: column; }
label {
    margin-bottom: 5px; font-weight: 600;
    color: #495057; font-size: 0.9em;
}
input[type="number"], input[type="text"],
input[type="date"], input[type="tel"],
input[type="email"], select, textarea {
    padding: 10px; border: 1px solid #ced4da;
    border-radius: 4px; font-size: 0.95em;
    box-sizing: border-box; width: 100%;
}
input:focus, select:focus, textarea:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
    outline: none;
}
button {
    display: inline-block; width: auto;
    padding: 12px 20px; font-size: 1.1em; font-weight: bold;
    cursor: pointer; background: #007bff; color: white;
    border: none; border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}
button:hover { background-color: #0056b3; }

/* ====================================================================== */
/* === INÍCIO: ESTILOS PARA O PDV DIÁRIO (VERSÃO FINAL) === */
/* ====================================================================== */
.pdv-app-container {
    max-width: 900px; margin: 30px auto;
    background: #fff; padding: 25px 30px;
    border: 1px solid #d1d1d1; border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.pdv-app-container *,
.pdv-app-container *::before,
.pdv-app-container *::after {
    box-sizing: border-box;
}
.pdv-app-container h1,
.pdv-app-container h2,
.pdv-app-container h3 {
    font-family: Arial, Helvetica, sans-serif;
    color: #208633; text-align: center; margin-bottom: 20px;
}
.pdv-app-container h1 {
    font-size: 2em; margin-top: 0; text-transform: capitalize;
}

/* Blocos de transação */
.pdv-app-container .bloco-transacao {
    border: 1px solid #ccc; border-radius: 8px;
    padding: 20px; margin-bottom: 25px; background: #fdfdfd;
}
.pdv-app-container .bloco-transacao h2 {
    color: #333; font-size: 1.2em;
    margin-bottom: 15px; border-bottom: 1px solid #eee;
    padding-bottom: 8px; text-align: left;
}

/* Seção de adicionar item */
.pdv-app-container .item-entry-section {
    display: flex; flex-wrap: wrap; gap: 12px;
    align-items: flex-end; margin-bottom: 20px;
}
.pdv-app-container .item-entry-section .form-field {
    flex: 1; min-width: 150px;
}
.pdv-app-container .item-entry-section .form-field label {
    margin-bottom: 4px; font-weight: 600;
    color: #495057; font-size: 0.9em;
}
.pdv-app-container .item-entry-section .form-field select,
.pdv-app-container .item-entry-section .form-field input {
    width: 100%; padding: 8px; border: 1px solid #ccc;
    border-radius: 4px; font-size: 0.95em;
}
.pdv-app-container .add-item-btn {
    padding: 8px 16px; background: #4CAF50;
    color: #fff; border: none; border-radius: 4px;
    cursor: pointer;
}
.pdv-app-container .add-item-btn:hover { background: #45a049; }

/* Estrutura inferior: tabela + pagamento */
.pdv-app-container .bloco-bottom-section {
    display: grid; grid-template-columns: 2fr 1fr; gap: 20px;
}

/* Tabela de itens */
.pdv-app-container .tabela-itens {
    width: 100%; border-collapse: collapse;
}
.pdv-app-container .tabela-itens th,
.pdv-app-container .tabela-itens td {
    border: 1px solid #ddd; padding: 8px; text-align: left;
}
.pdv-app-container .tabela-itens th { background: #f2f2f2; }

/* Botão Excluir */
.pdv-app-container .remove-item-btn {
    background: #dc3545; color: #fff; border: none;
    padding: 4px 8px; border-radius: 4px; cursor: pointer;
}
.pdv-app-container .remove-item-btn:hover { background: #c82333; }

/* Box de pagamentos */
.pdv-app-container .bloco-pagamento-wrapper {
    background: #f8f9fa; padding: 15px;
    border: 1px solid #e9ecef; border-radius: 5px;
}
.pdv-app-container .bloco-pagamento-wrapper h3 {
    margin: 0 0 10px; font-size: 1.1em;
}
.pdv-app-container .bloco-pagamento-wrapper label {
    display: block; margin-bottom: 8px; font-weight: 600;
    color: #495057;
}
.pdv-app-container .bloco-pagamento-wrapper input {
    width: 100%; padding: 8px; border: 1px solid #ccc;
    border-radius: 4px; font-size: 0.95em;
}

/* Totais: ordenação e alinhamento */
.pdv-app-container .bloco-pagamento-wrapper .bloco-totais {
    margin-top: 8px;
    display: flex; flex-direction: column; gap: 6px;
}
.pdv-app-container .bloco-pagamento-wrapper .bloco-totais div {
    display: flex; width: 100%;
    justify-content: space-between; font-size: 1.1em;
}
/* Manter linhas mas ajustar classes se necessário */
.pdv-app-container .bloco-pagamento-wrapper .subtotal-line span:last-child,
.pdv-app-container .bloco-pagamento-wrapper .troco-line span:last-child,
.pdv-app-container .bloco-pagamento-wrapper .falta-line span:last-child {
    font-weight: bold;
}
.pdv-app-container .bloco-pagamento-wrapper .subtotal-line span:last-child { color: #208633; font-size: 1.2em; }
.pdv-app-container .bloco-pagamento-wrapper .troco-line span:last-child    { color: #000;     font-size: 1em; }
.pdv-app-container .bloco-pagamento-wrapper .falta-line span:last-child    { color: #dc3545;  font-size: 1em; }

/* Ações dos blocos */
.pdv-app-container .acoes-blocos {
    display: flex; justify-content: flex-end; gap: 12px;
    margin-top: 20px;
}
.pdv-app-container .acoes-blocos button {
    padding: 10px 20px; font-weight: 600;
    border: none; border-radius: 5px; cursor: pointer;
}
.pdv-app-container #add-lancamento-btn {
    background: #007bff; color: #fff;
}
.pdv-app-container #add-lancamento-btn:hover {
    background: #0056b3;
}
.pdv-app-container #totalizar-btn {
    background: #28a745; color: #fff;
}
.pdv-app-container #totalizar-btn:hover {
    background: #218838;
}

/* Resumo geral do dia */
.pdv-app-container #resumo-geral {
    display: none; background: #e9f3ec;
    padding: 20px; border: 1px solid #a8d5b1;
    border-radius: 8px; margin-top: 20px;
}
.pdv-app-container #resumo-geral h2 {
    color: #155a21; margin-bottom: 15px;
}
.pdv-app-container .resumo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 15px;
}
.pdv-app-container .resumo-item {
    background: #fff; padding: 15px;
    border-radius: 4px; text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.pdv-app-container .resumo-item .label {
    font-size: 0.9em; color: #555;
    margin-bottom: 5px;
}
.pdv-app-container .resumo-item .value {
    font-size: 1.4em; font-weight: bold; color: #208633;
}
/* manter invisível, mas presente, o Total de Troco Geral */
.pdv-app-container .resumo-item-troco {
    visibility: hidden;
}

/* Responsivo */
@media (max-width: 768px) {
    .pdv-app-container .item-entry-section {
        flex-direction: column; align-items: stretch;
    }
    .pdv-app-container .bloco-bottom-section {
        grid-template-columns: 1fr;
    }
    .pdv-app-container .acoes-blocos {
        flex-direction: column;
    }
    .pdv-app-container .acoes-blocos button {
        width: 100%;
    }
    .pdv-app-container .resumo-grid {
        grid-template-columns: 1fr;
    }
}
/* ====================================================================== */
/* === FIM: ESTILOS PARA O PDV DIÁRIO === */
/* ====================================================================== */


```css
/* ================================================ */
/* Estilos do Formulário de Nota Fiscal            */
/* namespaced sob #solicitacao-form                */
/* ================================================ */

#solicitacao-form {
  font-family: Arial, sans-serif;
  margin: 20px auto;
  max-width: 900px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

#solicitacao-form h2,
#solicitacao-form h3 {
  color: #208633;
  text-align: center;
  margin-bottom: 10px;
}

#solicitacao-form label {
  display: block;
  margin-top: 10px;
  font-size: 0.9em;
  color: #495057;
}

#solicitacao-form input,
#solicitacao-form select,
#solicitacao-form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 0.95em;
  box-sizing: border-box;
}

#solicitacao-form textarea {
  resize: vertical;
}

#solicitacao-form table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

#solicitacao-form th,
#solicitacao-form td {
  border: 1px solid #ddd;
  padding: 8px;
  font-size: 0.9em;
  vertical-align: middle;
}

#solicitacao-form input[readonly] {
  background: #f9f9f9;
}

#solicitacao-form #add-item-btn {
  margin-top: 10px;
  padding: 8px 16px;
  background: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#solicitacao-form #add-item-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

#solicitacao-form #add-item-btn:hover:not(:disabled) {
  background: #45a049;
}

#solicitacao-form .remove-item-btn {
  background: transparent;
  border: none;
  color: #c00;
  font-size: 1.2em;
  cursor: pointer;
  display: none;
}

#solicitacao-form .resumo {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 15px;
}

#solicitacao-form .resumo .campo label {
  font-weight: bold;
  margin-bottom: 4px;
  color: #333;
}

#solicitacao-form .resumo .campo input {
  text-align: right;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px;
  font-size: 1em;
}

#solicitacao-form .btn-print {
  margin-top: 20px;
  padding: 10px 20px;
  background: #208633;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#solicitacao-form .btn-print:hover {
  background: #1a6f2a;
}

/* ================================================ */
/* Responsividade mobile (&#8804;576px)                   */
/* ================================================ */
@media (max-width: 576px) {
  /* oculta cabeçalho da tabela */
  #solicitacao-form thead {
    display: none;
  }
  /* faz a tabela virar bloco */
  #solicitacao-form table {
    display: block;
  }
  /* cada linha vira grid de 2 linhas × 4 colunas */
  #solicitacao-form #items-body tr {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: repeat(4,1fr);
    gap: 8px 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
  }
  /* Nº Item ocupa toda a primeira linha */
  #solicitacao-form #items-body tr td:nth-child(1) {
    grid-column: 1 / -1;
    font-weight: bold;
  }
  /* Quant, Valor, Total, Ações na segunda linha */
  #solicitacao-form #items-body tr td:nth-child(2) { grid-column: 1; }
  #solicitacao-form #items-body tr td:nth-child(3) { grid-column: 2; }
  #solicitacao-form #items-body tr td:nth-child(4) { grid-column: 3; }
  #solicitacao-form #items-body tr td:nth-child(5) {
    grid-column: 4;
    text-align: center;
  }
  /* remove bordas internas */
  #solicitacao-form #items-body tr td {
    border: none;
  }
  /* abreviações via ::before */
  #solicitacao-form #items-body tr td:nth-child(1)::before {
    content: "Nº Item:";
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
  }
  #solicitacao-form #items-body tr td:nth-child(2)::before {
    content: "Quant:";
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
  }
  #solicitacao-form #items-body tr td:nth-child(3)::before {
    content: "Valor:";
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
  }
  #solicitacao-form #items-body tr td:nth-child(4)::before {
    content: "Total:";
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
  }
  #solicitacao-form #items-body tr td:nth-child(5)::before {
    content: "Ações:";
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
  }
  /* botão full-width abaixo dos itens */
  #solicitacao-form #add-item-btn {
    display: block;
    width: 100%;
    margin: 12px 0;
  }
}
```

/* =================================================
   Teleprompter Widget – CSS completo final
   Cole AO FINAL do seu CSS global, sem sobrescritas
================================================= */

#teleprompter-widget {
  --tp-font-size: 40px;
  --tp-margin: 5%;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  background: #000 !important;
  color: #fff !important;
  font-family: sans-serif;
  z-index: 9999;
}

#controls {
  flex-shrink: 0;
  background: #111;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
#controls label,
#controls input,
#controls button {
  font-size: 14px;
  color: #fff;
  user-select: none;
}
#controls input[type="range"] { vertical-align: middle; }
#controls input[type="color"] {
  width: 24px; height: 24px;
  padding: 0; border: none; background: none;
  cursor: pointer;
}

#controls button {
  display: flex;
  align-items: center;
  background: #222;
  border: 1px solid #444;
  padding: 6px 10px;
  cursor: pointer;
}
#controls button.active { background: #444; }

#controls button .icon {
  font-family: "Segoe UI Symbol","Arial Unicode MS","Noto Sans Symbols",sans-serif !important;
  margin-right: 4px;
  display: inline-block;
  width: 1em; text-align: center;
}

#tele-container {
  flex: 1;
  min-height: 0;          /* permite flex + overflow funcionarem */
  overflow-y: auto;
  background: #000;
  position: relative;
}

#tele {
  padding: var(--tp-margin) 10px;
  font-size: var(--tp-font-size);
  line-height: 1.4;
  white-space: pre-wrap;
  outline: none;
  background: inherit;
  color: inherit;
  text-align: left;
}

#tele:empty:before {
  content: attr(data-placeholder);
  color: #555;
  pointer-events: none;
}

/* ===== CSS ISOLADO PARA O GERADOR (prefixo .gsw) ===== */
.gsw {
  --bg: #0f172a;
  --card: #111827;
  --fg: #e5e7eb;
  --muted: #9ca3af;
  --accent: #22d3ee;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, sans-serif;
  color: var(--fg);
}

/* Layout base */
.gsw * { box-sizing: border-box; }
.gsw .wrap { max-width: 720px; margin: 8vh auto; padding: 24px; }
.gsw .card {
  background: #121826;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  isolation: isolate;             /* evita interferência externa de z-index */
}
.gsw .pad { padding: 22px; }

/* Tipografia */
.gsw h1 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 8px; }
.gsw p.sub { color: var(--muted); margin: 0 0 18px; }
.gsw .tiny { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.gsw code.badge {
  background: #0b1020;
  border: 1px solid #26304a;
  border-radius: 10px;
  padding: 6px 10px;
  color: #bfe9f6;
}

/* Grades e linhas */
.gsw .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.gsw .grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) {
  .gsw .grid { grid-template-columns: 1fr auto auto; }
}

/* Campos */
.gsw input.out,
.gsw textarea.out {
  flex: 1 1 280px;
  width: 100%;
  background: #0b1020;
  border: 1px solid #26304a;
  border-radius: 12px;
  padding: 14px;
  font-size: 1.05rem;
  color: var(--fg);
  outline: none;
}

/* Botões */
.gsw .btn {
  appearance: none;
  border: 1px solid #2b3b62;
  background: #17213a;
  color: var(--fg);
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  /* Garantia de clique mesmo com overlays */
  position: relative;
  z-index: 1;
  pointer-events: auto;
}
.gsw .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.gsw .btn.accent {
  background: linear-gradient(135deg, #0ea5e9, #22d3ee);
  border-color: transparent;
  color: #0b1220;
}

/* Toast (alerta “Copiado!”) — não bloqueia cliques */
.gsw .toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #10b981;
  color: #062a22;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #0e7d67;
  opacity: 0;
  transform: translateY(8px);
  transition: .25s;
  z-index: 9999;
  pointer-events: none;            /* ESSENCIAL: não intercepta cliques */
}
.gsw .toast.show { opacity: 1; transform: none; }

/* ===== Roleta — CSS isolado em #rl-app ===== */
#rl-app, #rl-app * { box-sizing: border-box; }

/* Container + variáveis de ajuste */
#rl-app{
  isolation:isolate;
  --wheel-size: 420px;      /* diâmetro (ex.: 360px, 480px) */
  --pin-top: -16px;         /* ajuste fino vertical do pino (negativo = sobe) */

  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial,Helvetica,sans-serif;
  color:#2b2f36; background:#f5f7fb;
  max-width:1100px; margin:24px auto; padding:0 16px;
}
#rl-app .rl-title{font-size:18px;font-weight:700;margin:0 0 12px;line-height:1.2}
#rl-app .rl-grid{display:grid;grid-template-columns:320px 1fr;gap:24px}
#rl-app .rl-card{background:#fff;border-radius:10px;box-shadow:0 6px 16px rgba(0,0,0,.06)}
#rl-app .rl-pad{padding:16px}

/* Textarea (lista) */
#rl-app .rl-pad textarea{
  width:100%;height:470px;resize:vertical;
  border:1px solid #e6e8ef;border-radius:8px;padding:10px;
  font:14px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  background:#fbfcff;color:#1f2430
}

/* Botões (reset forte p/ não colidir com tema) */
#rl-app .rl-btns{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}
#rl-app .rl-btn, #rl-app .rl-primary{
  all:unset;
  display:inline-flex !important;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:8px;cursor:pointer;font-weight:700;line-height:1;
  background:#eef3fb;color:#1e3d6b;box-shadow:0 1px 0 rgba(0,0,0,.02)
}
#rl-app .rl-primary{
  background:#2f6db3 !important;color:#fff !important;width:100%;height:46px;font-size:16px
}
#rl-app .rl-primary:hover{background:#265b95 !important}
#rl-app .rl-primary[disabled]{opacity:.6;cursor:not-allowed}
#rl-app .rl-btn:focus-visible, #rl-app .rl-primary:focus-visible{outline:2px solid #9dc1ff;outline-offset:2px}

/* Palco da roleta */
#rl-app .rl-stage{display:grid;place-items:center;position:relative;min-height:520px}
#rl-app .rl-cta{width:100%;padding:16px 16px 22px}

/* Roda (canvas) */
#rl-app .rl-wheel{
  position:relative;width:var(--wheel-size);height:var(--wheel-size);
  border-radius:50%;transform:rotate(0deg);will-change:transform;transition:none;
}
#rl-app .rl-wheel canvas{display:block;width:var(--wheel-size);height:var(--wheel-size)}

/* Hub/centro */
#rl-app .rl-hub{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
#rl-app .rl-center{
  width:90px;height:90px;border-radius:50%;background:#fff;border:8px solid #f2f4f8;box-shadow:0 3px 8px rgba(0,0,0,.1)
}

/* Pino */
#rl-app .rl-pin{
  position:absolute;left:50%;top:var(--pin-top);transform:translateX(-50%);
  width:0;height:0;border-left:16px solid transparent;border-right:16px solid transparent;border-bottom:28px solid #e74c3c;
  filter:drop-shadow(0 3px 4px rgba(0,0,0,.2));z-index:3
}
#rl-app .rl-pin::after{
  content:"";position:absolute;left:-11px;top:14px;width:22px;height:22px;border-radius:50%;
  background:#fff;border:6px solid #e74c3c
}

/* “Tique” visual do pino */
@keyframes rl-pin-tap{
  0%{transform:translateX(-50%) rotate(0)}
  40%{transform:translateX(-50%) rotate(-10deg)}
  100%{transform:translateX(-50%) rotate(0)}
}
#rl-app .rl-pin.rl-tap{animation:rl-pin-tap 90ms ease-out}

/* Toast resultado */
#rl-app .rl-toast{
  position:absolute;bottom:18px;left:50%;transform:translateX(-50%);
  background:#0e9f6e;color:#fff;padding:10px 14px;border-radius:10px;font-weight:700;
  opacity:0;transition:opacity .35s, transform .35s;pointer-events:none;z-index:2
}
#rl-app .rl-toast.rl-show{opacity:1;transform:translateX(-50%) translateY(-4px)}

/* Responsivo */
@media (max-width:880px){
  #rl-app .rl-grid{grid-template-columns:1fr}
  #rl-app .rl-stage{min-height:500px}
  #rl-app .rl-wheel, #rl-app .rl-wheel canvas{width:360px;height:360px}
}

/* Aviso quando scripts forem bloqueados (mostrado via <noscript>) */
#rl-app .rl-warning{display:none;background:#fff3cd;color:#614c05;border:1px solid #ffe69c;padding:12px;border-radius:8px;margin-top:12px}

***********
/* --- Botões animados isolados --- */
.meus-botoes {
  display: flex;
  flex-direction: column;   /* coloca em coluna */
  gap: 20px;                /* espaçamento entre os botões */
  align-items: center;      /* centraliza na horizontal */
  margin: 40px auto;
  max-width: 100%;
}

.meus-botoes .btn {
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,.10);
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
  cursor: pointer;
  text-decoration: none;
}

.meus-botoes .btn:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 3px;
}

.meus-botoes .btn:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  filter: brightness(1.04);
}

.meus-botoes .btn > img {
  display: block;
  width: auto;     /* mantém largura original */
  height: auto;    /* mantém altura original */
  max-width: 100%; /* garante responsividade no celular */
}
************************************
/* ==============================================
   S.O.S CIDADÃO - ESTILOS PARA INCORPORAÇÃO
   ============================================== */

#sos-cidadao-container {
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: white;
    position: relative;
}

#sos-cidadao-container iframe {
    border: none; 
    display: block; 
    width: 100%; 
    min-height: 700px;
    height: 100vh;
    max-height: 1200px;
    transition: height 0.3s ease;
}

/* Responsividade para tablets */
@media (max-width: 768px) {
    #sos-cidadao-container {
        margin: 0 10px;
        border-radius: 8px;
    }
    
    #sos-cidadao-container iframe {
        height: 100vh;
        min-height: 600px;
        max-height: 900px;
    }
}

/* Responsividade para smartphones */
@media (max-width: 480px) {
    #sos-cidadao-container {
        margin: 0;
        border-radius: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    #sos-cidadao-container iframe {
        height: 100vh;
        min-height: 500px;
        border-radius: 0;
    }
}

/* Melhorias visuais opcionais */
#sos-cidadao-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #c82333);
    z-index: 1;
}

/* Animação de carregamento opcional */
#sos-cidadao-container.loading::after {
    content: 'Carregando S.O.S Cidadão...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    color: #666;
    z-index: 2;
}

/* Estilos para telas muito grandes */
@media (min-width: 1400px) {
    #sos-cidadao-container {
        max-width: 1400px;
    }
    
    #sos-cidadao-container iframe {
        max-height: 1000px;
    }
}

/* Estilos para impressão (oculta o iframe) */
@media print {
    #sos-cidadao-container {
        display: none;
    }
}

/* Acessibilidade - foco */
#sos-cidadao-container iframe:focus {
    outline: 3px solid #dc3545;
    outline-offset: 2px;
}

/* Modo escuro - se o site suportar */
@media (prefers-color-scheme: dark) {
    #sos-cidadao-container {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        background: #1a1a1a;
    }
}