/* =========================================================
   PÁGINAS DE SOLICITAÇÃO E CONSULTA DE PROTOCOLO
   e-Serviços Amambai
========================================================= */

.request-page,
.protocol-page {
    max-width: var(--container);
    margin: 0 auto;
    padding: 72px 22px;
}

.request-page__header,
.protocol-page__header {
    max-width: 820px;
    margin-bottom: 34px;
}

.request-page__header h1,
.protocol-page__header h1 {
    margin: 14px 0 12px;
    color: var(--color-primary-deep);
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    letter-spacing: -0.035em;
}

.request-page__header p,
.protocol-page__header p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.75;
    font-size: 1.02rem;
}


/* =========================================================
   LINK DE VOLTAR
========================================================= */

.request-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--color-primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.request-back svg {
    width: 18px;
    height: 18px;
}


/* =========================================================
   ALERTAS
========================================================= */

.request-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 860px;
    margin-bottom: 24px;
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.request-alert svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.request-alert strong {
    display: block;
    margin-bottom: 6px;
    color: var(--color-primary-deep);
}

.request-alert p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.request-alert--error {
    background: #fff5f5;
    border-color: rgba(220, 38, 38, 0.22);
}

.request-alert--error svg {
    color: #dc2626;
}

.request-alert--warning {
    background: #fffbeb;
    border-color: rgba(217, 119, 6, 0.24);
}

.request-alert--warning svg {
    color: #d97706;
}

.request-alert--success {
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.28);
}

.request-alert--success svg {
    color: #047857;
}


/* =========================================================
   LISTA DE ERROS DO FORMULÁRIO
========================================================= */

.request-error-list {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.request-error-list__item {
    position: relative;
    margin: 0;
    padding-left: 14px;
    color: inherit;
    line-height: 1.45;
}

.request-error-list__item::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
}


/* =========================================================
   FORMULÁRIO DE SOLICITAÇÃO
========================================================= */

.request-form {
    display: grid;
    gap: 24px;
}

.request-form__section {
    padding: 26px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.request-form__section h2 {
    margin: 0 0 20px;
    color: var(--color-primary-deep);
    font-size: 1.25rem;
}

.request-form__section--premium {
    position: relative;
    overflow: hidden;
    padding: clamp(20px, 3vw, 30px);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(15, 91, 181, 0.09), transparent 34%),
        #ffffff;
    border: 1px solid rgba(191, 211, 234, 0.92);
    box-shadow:
        0 18px 42px rgba(7, 42, 83, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.request-form__section--premium::after {
    content: "";
    position: absolute;
    right: -54px;
    top: -54px;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background: rgba(15, 91, 181, 0.06);
    pointer-events: none;
}

.request-form__section--premium > * {
    position: relative;
    z-index: 2;
}

/* Seção com mapa precisa permitir controles, popups e card visíveis */
.request-form__section--map {
    overflow: visible;
}

.request-form__section--map::after {
    pointer-events: none;
}

.request-form__section-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
}

.request-form__section-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #0f5bb5, #073f7d);
    box-shadow:
        0 12px 24px rgba(7, 42, 83, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.request-form__section-icon svg {
    width: 23px;
    height: 23px;
}

.request-form__section-header h2 {
    margin: 0 0 6px;
    color: var(--color-primary-deep);
    font-size: 1.32rem;
    line-height: 1.18;
    font-weight: 950;
}

.request-form__section-header p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.55;
}


/* =========================================================
   GRID E CAMPOS DO FORMULÁRIO
========================================================= */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label,
.protocol-form label {
    color: var(--color-primary-deep);
    font-weight: 800;
    font-size: 0.92rem;
}

.form-field input,
.form-field textarea,
.protocol-form input {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #f9fbfd;
    color: var(--color-text);
    outline: none;
    font: inherit;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-field input,
.protocol-form input {
    min-height: 50px;
    padding: 0 15px;
}

.form-field textarea {
    min-height: 130px;
    padding: 14px 15px;
    resize: vertical;
}

.form-field--full textarea {
    min-height: 130px;
}

.form-field input:focus,
.form-field textarea:focus,
.protocol-form input:focus {
    background: #ffffff;
    border-color: rgba(0, 86, 166, 0.45);
    box-shadow: 0 0 0 4px rgba(0, 86, 166, 0.1);
}


/* =========================================================
   CAMPOS COM ÍCONES LUCIDE
========================================================= */

.form-field__control {
    position: relative;
}

.form-field__control > i,
.form-field__control > svg {
    position: absolute;
    left: 16px;
    top: 50%;
    z-index: 3;
    width: 19px;
    height: 19px;
    color: var(--color-primary);
    transform: translateY(-50%);
    pointer-events: none;
}

.form-field__control input,
.form-field__control textarea {
    width: 100%;
    min-height: 54px;
    padding-left: 48px;
    box-sizing: border-box;
}

.form-field__control--textarea > i,
.form-field__control--textarea > svg {
    top: 18px;
    transform: none;
}

.form-field__control textarea {
    padding-top: 15px;
    line-height: 1.6;
}


/* =========================================================
   FEEDBACK DE CAMPOS / CPF
========================================================= */

.field-feedback {
    min-height: 18px;
    color: var(--color-muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.field-feedback.is-success {
    color: var(--color-secondary-dark);
    font-weight: 700;
}

.field-feedback.is-error {
    color: #dc2626;
    font-weight: 700;
}

.form-field input.is-valid {
    border-color: rgba(0, 168, 107, 0.55);
    box-shadow: 0 0 0 4px rgba(0, 168, 107, 0.1);
}

.form-field input.is-invalid {
    border-color: rgba(220, 38, 38, 0.55);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}


/* =========================================================
   BOTÃO DE LOCALIZAÇÃO
========================================================= */

.location-button {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.location-button:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.location-button svg {
    width: 18px;
    height: 18px;
}

.form-hint {
    margin: 12px 0 0;
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}


/* =========================================================
   AÇÕES DO FORMULÁRIO
========================================================= */

.request-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-light {
    background: #ffffff;
    color: var(--color-primary-dark);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}


/* =========================================================
   MAPA DA SOLICITAÇÃO
========================================================= */

.request-map-panel {
    position: relative;
    z-index: 5;
    overflow: visible;
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(232, 242, 251, 0.72), #ffffff);
}

.request-map-panel__header {
    margin-bottom: 14px;
}

.request-map-panel__header span {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--color-primary);
    font-weight: 800;
    font-size: 0.8rem;
}

.request-map-panel__header h3 {
    margin: 0 0 8px;
    color: var(--color-primary-deep);
    font-size: 1.15rem;
}

.request-map-panel__header p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.request-map {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 520px;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    background: #eef5fb;
    isolation: isolate;
}

.leaflet-container.request-map-loading {
    cursor: progress;
}


/* =========================================================
   FERRAMENTAS DO MAPA
========================================================= */

.request-map-tools {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.request-map-tools__group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.map-tool-btn {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-primary-dark);
    font-size: 0.86rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: var(--transition);
}

.map-tool-btn:hover,
.map-tool-btn.is-active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.map-tool-btn svg {
    width: 16px;
    height: 16px;
}


/* =========================================================
   BUSCA NO MAPA
========================================================= */

.request-map-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 220px;
}

.request-map-search input {
    width: 100%;
    min-height: 38px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0 12px;
    outline: none;
    background: #ffffff;
    color: var(--color-text);
    box-sizing: border-box;
}

.request-map-search input:focus {
    border-color: rgba(0, 86, 166, 0.45);
    box-shadow: 0 0 0 4px rgba(0, 86, 166, 0.1);
}

.request-map-search button {
    width: 40px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: var(--color-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.request-map-search button svg {
    width: 17px;
    height: 17px;
}


/* =========================================================
   LINHA DE CAMADA / STATUS DO MAPA
========================================================= */

.request-map-layer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.86rem;
}

.request-map-layer-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary-deep);
    font-weight: 800;
}


/* =========================================================
   RODAPÉ DO MAPA
========================================================= */

.request-map-footer {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--color-muted);
    font-size: 0.84rem;
}


/* =========================================================
   LEAFLET — CONTROLES, ZOOM E IMAGENS
========================================================= */

.request-map .leaflet-container,
.request-map .leaflet-pane,
.request-map .leaflet-map-pane,
.request-map .leaflet-tile-pane,
.request-map .leaflet-overlay-pane,
.request-map .leaflet-marker-pane,
.request-map .leaflet-tooltip-pane,
.request-map .leaflet-popup-pane {
    pointer-events: auto;
}

.request-map .leaflet-control-container {
    position: relative;
    z-index: 1200;
    pointer-events: none;
}

.request-map .leaflet-top,
.request-map .leaflet-bottom {
    z-index: 1200;
    pointer-events: none;
}

.request-map .leaflet-control {
    z-index: 1300;
    pointer-events: auto;
}

.request-map .leaflet-control-zoom {
    border: 1px solid rgba(191, 211, 234, 0.95);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(7, 42, 83, 0.16);
}

.request-map .leaflet-control-zoom a {
    display: block;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    margin: 0;
    border-radius: 0;
    line-height: 36px;
    text-align: center;
    color: #003f7c;
    background: #ffffff;
    box-shadow: none;
    text-decoration: none;
    font-size: 20px;
    font-weight: 900;
}

.request-map .leaflet-control-zoom a:hover {
    color: #ffffff;
    background: #0f5bb5;
}

.request-map .leaflet-tile,
.request-map .leaflet-marker-icon,
.request-map .leaflet-marker-shadow {
    max-width: none;
    max-height: none;
}


/* =========================================================
   MAPA EM TELA CHEIA
========================================================= */

.request-map.is-fullscreen-map {
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    left: 16px !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    z-index: 9999 !important;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.request-map-panel:fullscreen {
    padding: 18px;
    background: #f8fbff;
    overflow: auto;
}

.request-map-panel:fullscreen .request-map {
    height: calc(100vh - 230px);
    min-height: 420px;
}

.request-map-panel:fullscreen .selected-geo-element {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 22px;
    width: min(920px, calc(100% - 32px));
    transform: translateX(-50%);
    z-index: 3000;
}


/* =========================================================
   ELEMENTO SELECIONADO DO GEOPORTAL
========================================================= */

.selected-geo-element {
    position: sticky;
    bottom: 16px;
    z-index: 1400;
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--color-primary-deep);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(191, 211, 234, 0.96);
    box-shadow:
        0 16px 34px rgba(7, 42, 83, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.90);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.selected-geo-element i,
.selected-geo-element svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.selected-geo-element span {
    font-weight: 850;
    line-height: 1.45;
}

.selected-geo-element strong {
    display: block;
    color: var(--color-primary-deep);
}

.selected-geo-element.is-selected,
.selected-geo-element.has-selected,
.selected-geo-element.active {
    border-color: rgba(16, 185, 129, 0.32);
    background: #ecfdf5;
    color: #064e3b;
}

.selected-geo-element.is-selected i,
.selected-geo-element.is-selected svg,
.selected-geo-element.has-selected i,
.selected-geo-element.has-selected svg,
.selected-geo-element.active i,
.selected-geo-element.active svg {
    color: #047857;
}


/* =========================================================
   MARCADORES DO MAPA
========================================================= */

.request-map-marker-wrapper {
    background: transparent;
    border: 0;
}

.request-map-marker {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 18px rgba(7, 42, 83, 0.22);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.request-map-marker:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 22px rgba(7, 42, 83, 0.28);
}

.request-map-marker.is-selected {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
    transform: scale(1.08);
    box-shadow: 0 10px 24px rgba(0, 121, 77, 0.30);
}

.request-map-marker.is-user-location {
    background: linear-gradient(135deg, #00a86b, #00794d);
}

.request-map-marker svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.2;
}


/* =========================================================
   POPUP DO MAPA
========================================================= */

.map-popup h3 {
    margin: 0 0 6px;
    color: var(--color-primary-deep);
    font-size: 1rem;
}

.map-popup span {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.map-popup p {
    margin: 6px 0 0;
    color: var(--color-muted);
    line-height: 1.5;
}


/* =========================================================
   TIPO DE PROBLEMA — BARRAS DE SELEÇÃO
========================================================= */

.problem-type-field {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.problem-type-field__label {
    color: var(--color-primary-deep);
    font-weight: 800;
    font-size: 0.96rem;
}

.problem-type-field__label strong {
    color: #dc2626;
}

.problem-select-list {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(0, 86, 166, 0.14);
    border-radius: 22px;
    background: #ffffff;
}

.problem-select-option {
    position: relative;
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid rgba(0, 86, 166, 0.14);
    border-radius: 16px;
    background: #f8fbff;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.22s ease;
}

.problem-select-option:hover {
    border-color: rgba(0, 86, 166, 0.32);
    background: #eef6ff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(7, 42, 83, 0.08);
}

.problem-select-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.problem-select-option__marker {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(0, 42, 82, 0.38);
    border-radius: 50%;
    background: #ffffff;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.22s ease;
}

.problem-select-option__marker::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    transform: scale(0);
    transition: 0.22s ease;
}

.problem-select-option__text {
    color: var(--color-primary-deep);
    font-weight: 800;
    line-height: 1.35;
}

.problem-select-option:has(input[type="radio"]:checked) {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, #0056a6, #003f7c);
    box-shadow: 0 14px 30px rgba(0, 86, 166, 0.22);
}

.problem-select-option:has(input[type="radio"]:checked) .problem-select-option__text {
    color: #ffffff;
}

.problem-select-option:has(input[type="radio"]:checked) .problem-select-option__marker {
    border-color: #ffffff;
    background: #ffffff;
}

.problem-select-option:has(input[type="radio"]:checked) .problem-select-option__marker::after {
    background: var(--color-primary);
    transform: scale(1);
}

.problem-select-option--other {
    align-items: center;
}

.problem-select-option__control {
    position: relative;
    flex: 1;
}

.problem-select-option__control > i,
.problem-select-option__control > svg {
    position: absolute;
    left: 13px;
    top: 50%;
    z-index: 3;
    width: 17px;
    height: 17px;
    color: var(--color-primary);
    transform: translateY(-50%);
    pointer-events: none;
}

.problem-select-option__input {
    flex: 1;
    min-width: 180px;
    border: 0;
    border-bottom: 1px solid rgba(0, 42, 82, 0.18);
    background: transparent;
    padding: 8px 4px;
    color: var(--color-primary-deep);
    font-weight: 700;
    outline: none;
}

.problem-select-option__control .problem-select-option__input {
    width: 100%;
    padding-left: 40px;
    box-sizing: border-box;
}

.problem-select-option__input::placeholder {
    color: rgba(15, 23, 42, 0.38);
}

.problem-select-option:has(input[type="radio"]:checked) .problem-select-option__input {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.55);
}

.problem-select-option:has(input[type="radio"]:checked) .problem-select-option__input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   ANEXO — UPLOAD DE FOTO / CÂMERA
========================================================= */

.attachment-field {
    display: grid;
    gap: 12px;
}

.attachment-field--premium {
    display: grid;
    gap: 12px;
}

.attachment-field__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.attachment-field__box {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px dashed rgba(0, 86, 166, 0.35);
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    cursor: pointer;
    transition: 0.22s ease;
}

.attachment-field__box:hover {
    border-color: var(--color-primary);
    background: #f1f7ff;
    box-shadow: 0 14px 28px rgba(7, 42, 83, 0.08);
    transform: translateY(-1px);
}

.attachment-field__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.attachment-field__icon i,
.attachment-field__icon svg {
    display: block;
    width: 24px;
    height: 24px;
    color: #ffffff;
    stroke-width: 2.4;
}

.attachment-field__content {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.attachment-field__content strong {
    color: var(--color-primary-deep);
    font-size: 1rem;
    font-weight: 900;
}

.attachment-field__content small {
    color: var(--color-muted);
    line-height: 1.45;
    font-size: 0.88rem;
}

.attachment-field__button {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.88rem;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(0, 86, 166, 0.18);
}

.attachment-field__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.attachment-field__selected {
    min-height: 42px;
    padding: 11px 14px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid rgba(0, 86, 166, 0.12);
    color: var(--color-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.attachment-field__selected.has-file {
    color: #065f46;
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.22);
    font-weight: 900;
}

.attachment-field__box--camera .attachment-field__icon,
.attachment-field__box--camera .attachment-field__button {
    background: linear-gradient(135deg, #10b981, #047857);
}


/* =========================================================
   LGPD — AVISO DO FORMULÁRIO
========================================================= */

.request-lgpd-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 24px;
    padding: 18px;
    border-radius: 22px;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.22);
    color: #064e3b;
}

.request-lgpd-box__icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #10b981, #047857);
}

.request-lgpd-box__icon svg {
    width: 20px;
    height: 20px;
}

.request-lgpd-box p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.92rem;
}

.request-lgpd-box a {
    color: #065f46;
    font-weight: 950;
}


/* =========================================================
   FORMULÁRIO DE CONSULTA DE PROTOCOLO
========================================================= */

.protocol-form {
    max-width: 860px;
    margin-bottom: 24px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.protocol-form__row {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}


/* =========================================================
   RESULTADO DO PROTOCOLO
========================================================= */

.protocol-result {
    max-width: 960px;
    padding: 26px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.protocol-result__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-border);
}

.protocol-result span {
    display: block;
    color: var(--color-muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.protocol-result strong {
    display: block;
    margin-top: 5px;
    color: var(--color-primary-deep);
}

.protocol-result__top strong {
    font-size: 1.4rem;
    font-family: "Montserrat", "Inter", Arial, sans-serif;
}

.protocol-result__top em {
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

.protocol-result__section {
    padding: 22px 0;
    border-bottom: 1px solid var(--color-border);
}

.protocol-result__section h2 {
    margin: 0 0 16px;
    color: var(--color-primary-deep);
    font-size: 1.12rem;
}

.protocol-result__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.protocol-result__description {
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.protocol-result__description p {
    margin: 8px 0 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.protocol-result__footer {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* =========================================================
   COMPROVANTE DO PROTOCOLO
========================================================= */

.protocol-download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef6ff, #ffffff);
    border: 1px solid rgba(0, 86, 166, 0.16);
}

.protocol-download-card strong {
    display: block;
    color: var(--color-primary-deep);
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.protocol-download-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.5;
}


/* =========================================================
   CONSULTA PÚBLICA — ANDAMENTO / TIMELINE
========================================================= */

.consulta-andamento {
    margin-top: 28px;
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.consulta-andamento--timeline {
    position: relative;
    margin-top: 28px;
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(15, 91, 181, 0.08), transparent 34%),
        #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.consulta-andamento__header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.consulta-andamento__header span {
    display: block;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.consulta-andamento__header h2 {
    margin: 6px 0 6px;
    color: var(--color-primary-deep);
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.08;
}

.consulta-andamento__header p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.consulta-andamento__pdf {
    min-height: 52px;
    padding: 0 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #ffffff;
    background: linear-gradient(135deg, #0f5bb5, #073f7d);
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
    box-shadow:
        0 16px 34px rgba(10, 70, 141, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        filter 0.24s ease;
}

.consulta-andamento__pdf:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow:
        0 20px 42px rgba(10, 70, 141, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.consulta-andamento__pdf svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.consulta-timeline-pro {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 18px;
}

.consulta-timeline-pro__line {
    position: absolute;
    top: 26px;
    bottom: 26px;
    left: 25px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        rgba(16, 185, 129, 0.45),
        rgba(15, 91, 181, 0.22)
    );
}

.consulta-timeline-pro__item {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    align-items: flex-start;
}

.consulta-timeline-pro__marker {
    position: relative;
    z-index: 3;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #0f5bb5, #073f7d);
    border: 6px solid #edf6ff;
    box-shadow:
        0 10px 22px rgba(7, 42, 83, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.consulta-timeline-pro__marker svg {
    width: 21px;
    height: 21px;
}

.consulta-timeline-pro__card {
    position: relative;
    min-height: 116px;
    padding: 20px 22px;
    border-radius: 22px;
    background: #f8fbff;
    border: 1px solid rgba(15, 91, 181, 0.14);
    box-shadow: 0 10px 24px rgba(7, 42, 83, 0.06);
}

.consulta-timeline-pro__top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.consulta-timeline-pro__top strong {
    display: block;
    color: var(--color-primary-deep);
    font-size: 1.04rem;
    line-height: 1.25;
}

.consulta-timeline-pro__top span {
    display: block;
    margin-top: 5px;
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.consulta-timeline-pro__top em {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #10b981, #047857);
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(5, 150, 105, 0.18);
}

.consulta-timeline-pro__card p {
    margin: 14px 0 0;
    color: #334155;
    line-height: 1.65;
}

.consulta-timeline-pro__card p strong {
    color: var(--color-primary-deep);
}

.consulta-timeline-pro__item.is-current .consulta-timeline-pro__marker {
    background: linear-gradient(135deg, #10b981, #047857);
    border-color: rgba(209, 250, 229, 0.95);
    box-shadow:
        0 0 0 7px rgba(16, 185, 129, 0.12),
        0 14px 28px rgba(5, 150, 105, 0.18);
}

.consulta-timeline-pro__item.is-current .consulta-timeline-pro__card {
    background:
        linear-gradient(180deg, rgba(236, 253, 245, 0.60), rgba(255, 255, 255, 0.96)),
        #ffffff;
    border-color: rgba(16, 185, 129, 0.34);
    box-shadow:
        0 18px 42px rgba(7, 42, 83, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.consulta-timeline-pro__item.is-analysis .consulta-timeline-pro__marker {
    background: linear-gradient(135deg, #0f5bb5, #073f7d);
}

.consulta-timeline-pro__item.is-service .consulta-timeline-pro__marker {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.consulta-timeline-pro__item.is-success .consulta-timeline-pro__marker {
    background: linear-gradient(135deg, #10b981, #047857);
}

.consulta-timeline-pro__item.is-denied .consulta-timeline-pro__marker,
.consulta-timeline-pro__item.is-canceled .consulta-timeline-pro__marker {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

.consulta-timeline-pro__message {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    color: #1f2937;
    background: #ffffff;
    border: 1px solid rgba(15, 91, 181, 0.12);
    line-height: 1.65;
    white-space: pre-line;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}


/* =========================================================
   PROTOCOLO — DOWNLOAD AUTOMÁTICO DO PDF
========================================================= */

.protocol-auto-download {
    margin-top: 22px;
    border-color: rgba(16, 185, 129, 0.28);
    background: #ecfdf5;
}

.protocol-auto-download i,
.protocol-auto-download svg {
    color: #047857;
}


/* =========================================================
   RESPONSIVO — FORMULÁRIO / MAPA / PROTOCOLO
========================================================= */

@media (max-width: 760px) {
    .request-page,
    .protocol-page {
        padding: 58px 16px;
    }

    .request-form__section,
    .protocol-form,
    .protocol-result {
        padding: 20px;
    }

    .request-form__section-header {
        gap: 13px;
    }

    .request-form__section-icon {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .request-form__section-header h2 {
        font-size: 1.18rem;
    }

    .form-grid,
    .protocol-result__grid,
    .protocol-form__row {
        grid-template-columns: 1fr;
    }

    .request-form__actions {
        flex-direction: column;
    }

    .protocol-result__top {
        flex-direction: column;
    }

    .request-map-panel {
        padding: 14px;
    }

    .request-map {
        height: 420px;
        min-height: 420px;
        border-radius: 20px;
    }

    .request-map-tools {
        flex-direction: column;
    }

    .request-map-tools__group {
        width: 100%;
    }

    .map-tool-btn {
        flex: 1;
        justify-content: center;
    }

    .request-map-search {
        width: 100%;
    }

    .request-map-layer-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .request-map.is-fullscreen-map {
        top: 8px !important;
        right: 8px !important;
        bottom: 8px !important;
        left: 8px !important;
        border-radius: 16px;
    }

    .request-map .leaflet-control-zoom a {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
        line-height: 34px;
    }

    .selected-geo-element {
        bottom: 10px;
        padding: 13px 14px;
        border-radius: 16px;
    }

    .problem-select-list {
        padding: 10px;
        gap: 10px;
        border-radius: 18px;
    }

    .problem-select-option {
        min-height: 54px;
        padding: 13px 14px;
        border-radius: 14px;
    }

    .problem-select-option--other {
        display: grid;
        grid-template-columns: auto auto 1fr;
        gap: 10px;
    }

    .problem-select-option__input {
        min-width: 0;
        width: 100%;
    }

    .attachment-field__actions {
        grid-template-columns: 1fr;
    }

    .request-lgpd-box {
        flex-direction: column;
    }

    .protocol-download-card {
        display: grid;
        gap: 14px;
    }

    .protocol-download-card .btn {
        width: 100%;
        justify-content: center;
    }

    .consulta-andamento--timeline {
        padding: 22px;
        border-radius: 24px;
    }

    .consulta-andamento__header {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .consulta-andamento__pdf {
        width: 100%;
        min-height: 50px;
    }

    .consulta-timeline-pro {
        gap: 16px;
    }

    .consulta-timeline-pro__line {
        left: 22px;
    }

    .consulta-timeline-pro__item {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
    }

    .consulta-timeline-pro__marker {
        width: 48px;
        height: 48px;
        border-width: 5px;
    }

    .consulta-timeline-pro__marker svg {
        width: 19px;
        height: 19px;
    }

    .consulta-timeline-pro__card {
        min-height: 0;
        padding: 18px;
        border-radius: 20px;
    }

    .consulta-timeline-pro__top {
        flex-direction: column;
        gap: 9px;
    }

    .consulta-timeline-pro__top em {
        width: fit-content;
    }
}

@media (max-width: 520px) {
    .consulta-andamento--timeline {
        margin-left: -4px;
        margin-right: -4px;
        padding: 18px;
        border-radius: 22px;
    }

    .consulta-andamento__header h2 {
        font-size: 1.65rem;
    }

    .consulta-timeline-pro__line {
        left: 18px;
        top: 22px;
        bottom: 22px;
        width: 2px;
    }

    .consulta-timeline-pro__item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
    }

    .consulta-timeline-pro__marker {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }

    .consulta-timeline-pro__marker svg {
        width: 17px;
        height: 17px;
    }

    .consulta-timeline-pro__card {
        padding: 16px;
        border-radius: 18px;
    }

    .consulta-timeline-pro__top strong {
        font-size: 0.98rem;
    }

    .consulta-timeline-pro__top span {
        font-size: 0.84rem;
    }

    .consulta-timeline-pro__card p {
        font-size: 0.94rem;
        line-height: 1.6;
    }

    .consulta-timeline-pro__message {
        padding: 12px 14px;
        font-size: 0.94rem;
        line-height: 1.6;
    }

    .problem-select-option--other {
        grid-template-columns: auto 1fr;
    }

    .problem-select-option--other .problem-select-option__input {
        grid-column: 1 / -1;
        margin-left: 34px;
    }
}

@media (max-width: 480px) {
    .attachment-field__box {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .attachment-field__content {
        justify-items: center;
    }

    .attachment-field__icon {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 460px) {
    .request-form__section--premium {
        border-radius: 22px;
        padding: 18px;
    }

    .request-map {
        min-height: 340px;
    }

    .selected-geo-element {
        align-items: flex-start;
    }
}

@media (max-width: 380px) {
    .consulta-andamento--timeline {
        padding: 16px 14px;
    }

    .consulta-timeline-pro__item {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 10px;
    }

    .consulta-timeline-pro__line {
        left: 16px;
    }

    .consulta-timeline-pro__marker {
        width: 36px;
        height: 36px;
    }

    .consulta-timeline-pro__marker svg {
        width: 15px;
        height: 15px;
    }

    .consulta-timeline-pro__card {
        padding: 14px;
    }
}

/* =========================================================
   AJUSTE — FERRAMENTAS DO MAPA EM UMA ÚNICA LINHA
========================================================= */

.request-map-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    margin: 18px 0 14px;
}

/* Grupo Mapa / Satélite */
.request-map-tools__group:first-child {
    order: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    flex-shrink: 0;
}

/* Busca central */
.request-map-search {
    order: 2;
    display: grid;
    grid-template-columns: minmax(190px, 1fr) 46px;
    align-items: center;
    gap: 8px;
    width: clamp(240px, 24vw, 330px);
    min-width: 240px;
    flex-shrink: 1;
}

/* Grupo Localizar / Centralizar / Tela cheia / Medir / Limpar */
.request-map-tools__group:nth-child(2) {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 10px;
    flex-shrink: 0;
}

/* Botões do mapa */
.map-tool-btn {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    white-space: nowrap;
}

.map-tool-btn svg {
    width: 18px;
    height: 18px;
}

/* Campo de busca */
.request-map-search input {
    width: 100%;
    min-height: 46px;
    padding: 0 15px;
    border-radius: 999px;
    font-size: 0.96rem;
}

.request-map-search button {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    flex-shrink: 0;
}

.request-map-search button svg {
    width: 19px;
    height: 19px;
}

/* Linha "Mostrar elementos da camada" */
.request-map-layer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 50px;
    padding: 10px 18px;
    margin: 8px 0 14px;
    border-radius: 18px;
}

.request-map-layer-row label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    white-space: nowrap;
}

.request-map-layer-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
}

#mapLoadStatus {
    margin-left: auto;
    text-align: right;
    color: var(--color-muted);
    font-weight: 600;
}

/* =========================================================
   RESPONSIVO — FERRAMENTAS DO MAPA
========================================================= */

@media (max-width: 1180px) {
    .request-map-tools {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 12px;
    }

    .request-map-tools__group:first-child,
    .request-map-tools__group:nth-child(2) {
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
    }

    .request-map-search {
        width: min(420px, 100%);
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .request-map-tools__group:first-child,
    .request-map-tools__group:nth-child(2) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .map-tool-btn {
        width: 100%;
        justify-content: center;
        min-height: 46px;
        padding: 0 12px;
    }

    .request-map-search {
        width: 100%;
        grid-template-columns: 1fr 46px;
    }

    .request-map-layer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .request-map-layer-row label {
        white-space: normal;
    }

    #mapLoadStatus {
        margin-left: 0;
        text-align: left;
    }
}

@media (max-width: 420px) {
    .request-map-tools__group:first-child,
    .request-map-tools__group:nth-child(2) {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   CONSULTA DE PROTOCOLO — HERO PERSONALIZADA AMAMBAI
========================================================= */

.protocol-page--custom {
    max-width: none;
    padding: 0 0 72px;
}

.protocol-hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(0, 42, 82, 0.94) 0%,
            rgba(0, 63, 124, 0.82) 38%,
            rgba(0, 86, 166, 0.42) 68%,
            rgba(0, 86, 166, 0.14) 100%
        ),
        var(--protocol-hero-image);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(191, 211, 234, 0.70);
}

.protocol-hero__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 35%, rgba(255, 255, 255, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(0, 42, 82, 0), rgba(0, 42, 82, 0.22));
}

.protocol-hero__content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 44px));
    margin: 0 auto;
    color: #ffffff;
}

.protocol-hero__chip {
    width: fit-content;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.protocol-hero__chip svg {
    width: 17px;
    height: 17px;
}

.protocol-hero h1 {
    max-width: 760px;
    margin: 18px 0 14px;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 950;
}

.protocol-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.8vw, 1.22rem);
    line-height: 1.75;
}

.protocol-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.protocol-hero__badges span {
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.20);
    font-size: 0.86rem;
    font-weight: 850;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.protocol-hero__badges svg {
    width: 17px;
    height: 17px;
}


/* =========================================================
   CONSULTA DE PROTOCOLO — CARD PRINCIPAL
========================================================= */

.protocol-consult-layout {
    position: relative;
    z-index: 4;
    width: min(1180px, calc(100% - 44px));
    margin: -70px auto 34px;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
    gap: 22px;
    align-items: stretch;
}

.protocol-consult-card,
.protocol-help-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(15, 91, 181, 0.10), transparent 34%),
        #ffffff;
    border: 1px solid rgba(191, 211, 234, 0.92);
    box-shadow:
        0 22px 56px rgba(7, 42, 83, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.protocol-consult-card {
    padding: clamp(22px, 3vw, 32px);
}

.protocol-consult-card::after,
.protocol-help-card::after {
    content: "";
    position: absolute;
    right: -58px;
    top: -58px;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: rgba(15, 91, 181, 0.08);
    pointer-events: none;
}

.protocol-consult-card > *,
.protocol-help-card > * {
    position: relative;
    z-index: 2;
}

.protocol-consult-card__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.protocol-consult-card__icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #0f5bb5, #073f7d);
    box-shadow:
        0 14px 28px rgba(7, 42, 83, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.protocol-consult-card__icon svg {
    width: 26px;
    height: 26px;
}

.protocol-consult-card__header h2 {
    margin: 10px 0 8px;
    color: var(--color-primary-deep);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.08;
    font-weight: 950;
}

.protocol-consult-card__header p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}


/* =========================================================
   CONSULTA DE PROTOCOLO — FORMULÁRIO PREMIUM
========================================================= */

.protocol-form--premium {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.protocol-form--premium label {
    display: block;
    margin-bottom: 9px;
    color: var(--color-primary-deep);
    font-size: 0.92rem;
    font-weight: 900;
}

.protocol-form--premium .protocol-form__row {
    margin-top: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.protocol-form__field {
    position: relative;
}

.protocol-form__field > i,
.protocol-form__field > svg {
    position: absolute;
    left: 17px;
    top: 50%;
    z-index: 3;
    width: 19px;
    height: 19px;
    color: var(--color-primary);
    transform: translateY(-50%);
    pointer-events: none;
}

.protocol-form__field input {
    width: 100%;
    min-height: 58px;
    padding: 0 16px 0 50px;
    border-radius: 999px;
    border: 1px solid rgba(191, 211, 234, 0.96);
    outline: none;
    color: #0f172a;
    background: #f8fbff;
    font: inherit;
    font-size: 0.98rem;
    box-sizing: border-box;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.protocol-form__field input::placeholder {
    color: #94a3b8;
}

.protocol-form__field input:focus {
    border-color: rgba(15, 91, 181, 0.58);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(15, 91, 181, 0.12),
        0 10px 24px rgba(7, 42, 83, 0.08);
}

.protocol-form__button {
    min-height: 58px;
    padding-inline: 22px;
    gap: 9px;
    white-space: nowrap;
}

.protocol-form__button svg {
    width: 18px;
    height: 18px;
}

.protocol-consult-error {
    max-width: none;
    margin: 18px 0 0;
}


/* =========================================================
   CONSULTA DE PROTOCOLO — CARD DE AJUDA
========================================================= */

.protocol-help-card {
    padding: 26px;
}

.protocol-help-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #10b981, #047857);
    box-shadow:
        0 14px 28px rgba(5, 150, 105, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.protocol-help-card__icon svg {
    width: 23px;
    height: 23px;
}

.protocol-help-card h2 {
    margin: 16px 0 16px;
    color: var(--color-primary-deep);
    font-size: 1.28rem;
    font-weight: 950;
}

.protocol-help-card__items {
    display: grid;
    gap: 14px;
}

.protocol-help-card__items div {
    padding: 14px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid rgba(191, 211, 234, 0.74);
}

.protocol-help-card__items strong {
    display: block;
    margin-bottom: 5px;
    color: var(--color-primary-deep);
    font-size: 0.94rem;
    font-weight: 950;
}

.protocol-help-card__items p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.protocol-help-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.protocol-help-card__link {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
}

.protocol-help-card__link:hover {
    text-decoration: underline;
}


/* =========================================================
   RESULTADO DO PROTOCOLO — AJUSTE PREMIUM
========================================================= */

.protocol-result--premium {
    width: min(1180px, calc(100% - 44px));
    max-width: 1180px;
    margin: 0 auto;
    border-radius: 32px;
    box-shadow:
        0 22px 56px rgba(7, 42, 83, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
}


/* =========================================================
   RESPONSIVO — CONSULTA DE PROTOCOLO
========================================================= */

@media (max-width: 980px) {
    .protocol-hero {
        min-height: 390px;
        background-position: center;
    }

    .protocol-consult-layout {
        grid-template-columns: 1fr;
        margin-top: -54px;
    }

    .protocol-help-card {
        padding: 24px;
    }
}

@media (max-width: 720px) {
    .protocol-page--custom {
        padding-bottom: 52px;
    }

    .protocol-hero {
        min-height: 360px;
        background:
            linear-gradient(
                180deg,
                rgba(0, 42, 82, 0.92) 0%,
                rgba(0, 63, 124, 0.78) 58%,
                rgba(0, 86, 166, 0.28) 100%
            ),
            var(--protocol-hero-image);
        background-size: cover;
        background-position: center;
    }

    .protocol-hero__content,
    .protocol-consult-layout,
    .protocol-result--premium {
        width: min(100% - 24px, 1180px);
    }

    .protocol-hero h1 {
        font-size: clamp(2.15rem, 12vw, 3.2rem);
    }

    .protocol-hero__badges {
        display: none;
    }

    .protocol-consult-card,
    .protocol-help-card,
    .protocol-result--premium {
        border-radius: 24px;
    }

    .protocol-consult-card__header {
        flex-direction: column;
    }

    .protocol-form--premium .protocol-form__row {
        grid-template-columns: 1fr;
    }

    .protocol-form__button {
        width: 100%;
        justify-content: center;
    }

    .protocol-help-card__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .protocol-help-card__actions .btn,
    .protocol-help-card__link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 460px) {
    .protocol-hero {
        min-height: 330px;
    }

    .protocol-consult-layout {
        margin-top: -42px;
    }

    .protocol-consult-card,
    .protocol-help-card {
        padding: 20px;
    }

    .protocol-consult-card__icon,
    .protocol-help-card__icon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .protocol-form__field input {
        min-height: 54px;
        border-radius: 18px;
    }

    .protocol-form__button {
        min-height: 54px;
    }
}

/* =========================================================
   MOBILE — CONSULTA DE PROTOCOLO COM HERO-ARARA
========================================================= */

@media (max-width: 820px) {
    .protocol-page--custom {
        padding-bottom: 48px;
        overflow-x: hidden;
    }

    .protocol-hero {
        min-height: 380px;
        align-items: flex-end;
        padding: 72px 0 92px;
        background:
            linear-gradient(
                180deg,
                rgba(0, 42, 82, 0.58) 0%,
                rgba(0, 42, 82, 0.78) 48%,
                rgba(0, 42, 82, 0.94) 100%
            ),
            var(--protocol-hero-image);
        background-size: cover;
        background-position: 34% center;
    }

    .protocol-hero__content {
        width: min(100% - 28px, 1180px);
    }

    .protocol-hero__chip {
        min-height: 34px;
        padding: 0 12px;
        font-size: 0.74rem;
    }

    .protocol-hero h1 {
        max-width: 100%;
        margin: 14px 0 10px;
        font-size: clamp(2.1rem, 12vw, 3.3rem);
        line-height: 1;
        letter-spacing: -0.045em;
    }

    .protocol-hero p {
        max-width: 100%;
        font-size: 0.98rem;
        line-height: 1.62;
    }

    .protocol-hero__badges {
        display: none;
    }

    .protocol-consult-layout {
        width: min(100% - 24px, 1180px);
        margin: -66px auto 28px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .protocol-consult-card,
    .protocol-help-card,
    .protocol-result--premium {
        border-radius: 24px;
    }

    .protocol-consult-card {
        padding: 22px;
    }

    .protocol-help-card {
        padding: 22px;
    }

    .protocol-consult-card__header {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 20px;
    }

    .protocol-consult-card__icon,
    .protocol-help-card__icon {
        width: 50px;
        height: 50px;
        border-radius: 17px;
    }

    .protocol-consult-card__icon svg,
    .protocol-help-card__icon svg {
        width: 23px;
        height: 23px;
    }

    .protocol-consult-card__header h2 {
        margin: 10px 0 8px;
        font-size: 1.55rem;
        line-height: 1.12;
    }

    .protocol-consult-card__header p {
        font-size: 0.94rem;
        line-height: 1.58;
    }

    .protocol-form--premium .protocol-form__row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .protocol-form__field input {
        min-height: 54px;
        border-radius: 18px;
        font-size: 0.95rem;
    }

    .protocol-form__button {
        width: 100%;
        min-height: 54px;
        justify-content: center;
        border-radius: 999px;
    }

    .protocol-help-card h2 {
        margin: 14px 0 14px;
        font-size: 1.18rem;
    }

    .protocol-help-card__items {
        gap: 10px;
    }

    .protocol-help-card__items div {
        padding: 13px;
        border-radius: 16px;
    }

    .protocol-help-card__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .protocol-help-card__actions .btn,
    .protocol-help-card__link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .protocol-result--premium {
        width: min(100% - 24px, 1180px);
        padding: 20px;
    }
}

@media (max-width: 560px) {
    .protocol-hero {
        min-height: 340px;
        padding: 62px 0 86px;
        background-position: 30% center;
    }

    .protocol-hero__content {
        width: min(100% - 22px, 1180px);
    }

    .protocol-hero h1 {
        font-size: clamp(2rem, 13vw, 2.75rem);
    }

    .protocol-hero p {
        font-size: 0.94rem;
        line-height: 1.56;
    }

    .protocol-consult-layout {
        width: min(100% - 20px, 1180px);
        margin-top: -58px;
    }

    .protocol-consult-card,
    .protocol-help-card,
    .protocol-result--premium {
        border-radius: 22px;
    }

    .protocol-consult-card,
    .protocol-help-card {
        padding: 18px;
    }

    .protocol-consult-card__header h2 {
        font-size: 1.38rem;
    }

    .protocol-form__field > i,
    .protocol-form__field > svg {
        left: 15px;
        width: 18px;
        height: 18px;
    }

    .protocol-form__field input {
        padding-left: 46px;
    }

    .protocol-result--premium {
        width: min(100% - 20px, 1180px);
        padding: 18px;
    }

    .protocol-result__top {
        gap: 12px;
    }

    .protocol-result__top strong {
        font-size: 1.18rem;
        word-break: break-word;
    }

    .protocol-result__top em {
        width: fit-content;
    }

    .protocol-result__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .protocol-download-card {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .protocol-download-card .btn {
        width: 100%;
        justify-content: center;
    }

    .protocol-result__footer {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .protocol-result__footer .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .protocol-hero {
        min-height: 315px;
        padding: 54px 0 80px;
        background-position: 28% center;
    }

    .protocol-hero__chip {
        min-height: 32px;
        font-size: 0.68rem;
        letter-spacing: 0.035em;
    }

    .protocol-hero h1 {
        font-size: 2.15rem;
    }

    .protocol-hero p {
        font-size: 0.9rem;
    }

    .protocol-consult-layout {
        margin-top: -52px;
    }

    .protocol-consult-card,
    .protocol-help-card {
        padding: 16px;
    }

    .protocol-consult-card__icon,
    .protocol-help-card__icon {
        width: 46px;
        height: 46px;
        border-radius: 15px;
    }

    .protocol-consult-card__header h2 {
        font-size: 1.28rem;
    }

    .protocol-form__field input {
        min-height: 52px;
        border-radius: 16px;
    }

    .protocol-form__button {
        min-height: 52px;
    }
}

/* =========================================================
   SOLICITAÇÃO — MAPA OTIMIZADO WEB/MOBILE
   Complemento para nova.html
========================================================= */

.request-map-panel {
    overflow: hidden;
}

.request-map-topbar {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
    gap: 12px;
    align-items: center;
    margin: 18px 0 12px;
}

.request-map-topbar .request-map-layer-row {
    margin: 0;
}

.request-map-search {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
    gap: 8px;
}

.request-map-search input {
    width: 100%;
    min-width: 0;
    height: 42px;
    border: 1px solid rgba(191, 211, 234, 0.95);
    border-radius: 999px;
    padding: 0 14px;
    background: #ffffff;
    color: var(--color-primary-deep);
    font-size: 0.86rem;
    font-weight: 800;
    outline: none;
    box-shadow:
        0 8px 18px rgba(7, 42, 83, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.request-map-search input:focus {
    border-color: rgba(15, 91, 181, 0.46);
    box-shadow:
        0 0 0 4px rgba(15, 91, 181, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.request-map-search button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f5bb5, #073f7d);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(7, 42, 83, 0.18);
}

.request-map-search button svg {
    width: 16px;
    height: 16px;
}

.request-map-tools--below {
    width: 100%;
    margin: 10px 0 0;
    padding: 10px 12px;
    border: 1px solid rgba(191, 211, 234, 0.92);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(15, 91, 181, 0.06), transparent 34%),
        #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow:
        0 10px 24px rgba(7, 42, 83, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.request-map-tools__title {
    flex: 0 0 auto;
    min-width: max-content;
}

.request-map-tools__title span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--color-primary);
    background: rgba(15, 91, 181, 0.08);
    border: 1px solid rgba(15, 91, 181, 0.12);
    font-size: 0.7rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.request-map-tools__actions {
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.request-map-tools--below .map-tool-btn {
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid rgba(191, 211, 234, 0.95);
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-primary-dark);
    font-size: 0.76rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow:
        0 7px 16px rgba(7, 42, 83, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        color 0.22s ease;
}

.request-map-tools--below .map-tool-btn:hover,
.request-map-tools--below .map-tool-btn.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #0f5bb5, #073f7d);
    border-color: rgba(15, 91, 181, 0.34);
    transform: translateY(-1px);
    box-shadow:
        0 11px 22px rgba(7, 42, 83, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.request-map-tools--below .map-tool-btn svg {
    width: 13px;
    height: 13px;
    stroke-width: 2.35;
}

.request-map-tools--below .map-tool-btn--danger {
    color: #991b1b;
    border-color: rgba(220, 38, 38, 0.22);
    background: #fff5f5;
}

.request-map-tools--below .map-tool-btn--danger:hover,
.request-map-tools--below .map-tool-btn--danger.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-color: rgba(220, 38, 38, 0.32);
}

.request-map {
    width: 100%;
    min-height: 460px;
    border-radius: 22px;
    overflow: hidden;
    border: 3px solid rgba(0, 86, 166, 0.18);
    background: #eef5fb;
    box-shadow:
        0 14px 34px rgba(7, 42, 83, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.request-map.leaflet-container {
    font-family: "Inter", Arial, sans-serif;
}

.request-map-footer {
    margin-top: 10px;
}


/* =========================================================
   SOLICITAÇÃO — MAPA MOBILE
========================================================= */

@media (max-width: 768px) {
    .request-map-topbar {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 14px;
    }

    .request-map-layer-row {
        width: 100%;
        display: grid;
        gap: 7px;
        justify-items: start;
    }

    .request-map-search {
        grid-template-columns: minmax(0, 1fr) 40px;
    }

    .request-map-search input {
        height: 40px;
        font-size: 0.8rem;
    }

    .request-map-search button {
        width: 40px;
        height: 40px;
    }

    .request-map {
        min-height: 370px;
        border-radius: 18px;
        border-width: 2px;
    }

    .request-map-tools--below {
        margin-top: 9px;
        padding: 9px;
        border-radius: 16px;
        display: grid;
        gap: 8px;
    }

    .request-map-tools__title {
        min-width: 0;
    }

    .request-map-tools__title span {
        width: 100%;
        min-height: 24px;
        justify-content: center;
        font-size: 0.66rem;
    }

    .request-map-tools__actions {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 7px;
    }

    .request-map-tools--below .map-tool-btn {
        flex: 0 0 54px;
        width: 54px;
        min-height: 48px;
        padding: 5px 4px;
        border-radius: 14px;
        flex-direction: column;
        gap: 3px;
        font-size: 0.66rem;
        line-height: 1.05;
        white-space: normal;
    }

    .request-map-tools--below .map-tool-btn svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
    }

    .request-map-footer {
        display: grid;
        gap: 6px;
        font-size: 0.78rem;
    }
}

@media (max-width: 520px) {
    .request-map {
        min-height: 340px;
        border-radius: 16px;
    }

    .request-map-tools--below {
        padding: 8px;
    }

    .request-map-tools__actions {
        gap: 6px;
    }

    .request-map-tools--below .map-tool-btn {
        flex: 0 0 50px;
        width: 50px;
        min-height: 44px;
        padding: 4px 3px;
        border-radius: 13px;
        font-size: 0.62rem;
    }

    .request-map-tools--below .map-tool-btn svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 390px) {
    .request-map-tools--below .map-tool-btn {
        flex: 0 0 48px;
        width: 48px;
        min-height: 42px;
        font-size: 0.58rem;
        border-radius: 12px;
    }

    .request-map {
        min-height: 320px;
    }
}

/* =========================================================
   SOLICITAÇÃO — TELA CHEIA DO MAPA
========================================================= */

body.is-request-map-fullscreen-active {
    overflow: hidden;
}

.request-map-fullscreen-exit {
    display: none;
}

.request-map-panel.is-request-map-fullscreen {
    position: fixed !important;
    inset: 10px !important;
    z-index: 9999 !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: #eef5fb !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42) !important;
}

.request-map-panel.is-request-map-fullscreen .request-map-panel__header {
    display: none;
}

.request-map-panel.is-request-map-fullscreen .request-map {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 24px !important;
    box-shadow: none !important;
}

.request-map-panel.is-request-map-fullscreen .leaflet-container {
    border-radius: 24px !important;
}

.request-map-panel.is-request-map-fullscreen .request-map-fullscreen-exit {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10005;
    min-height: 38px;
    padding: 0 13px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f5bb5, #073f7d);
    color: #ffffff;
    font-weight: 900;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 86, 166, 0.35);
}

.request-map-panel.is-request-map-fullscreen .request-map-fullscreen-exit svg {
    width: 15px;
    height: 15px;
}

.request-map-panel.is-request-map-fullscreen .request-map-topbar {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10004;
    width: min(560px, calc(100vw - 180px));
    margin: 0;
    padding: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    gap: 10px;
    align-items: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(191, 211, 234, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 44px rgba(7, 42, 83, 0.22);
}

.request-map-panel.is-request-map-fullscreen .request-map-layer-row {
    margin: 0;
}

.request-map-panel.is-request-map-fullscreen .request-map-layer-row label {
    font-size: 0.78rem;
}

.request-map-panel.is-request-map-fullscreen #mapLoadStatus {
    font-size: 0.72rem;
}

.request-map-panel.is-request-map-fullscreen .request-map-search input {
    height: 38px;
    font-size: 0.78rem;
}

.request-map-panel.is-request-map-fullscreen .request-map-search button {
    width: 38px;
    height: 38px;
}

.request-map-panel.is-request-map-fullscreen .request-map-tools--below {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 10004;
    width: auto;
    max-width: calc(100vw - 28px);
    margin: 0;
    padding: 8px;
    transform: translateX(-50%);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(191, 211, 234, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 44px rgba(7, 42, 83, 0.22);
}

.request-map-panel.is-request-map-fullscreen .request-map-tools__title {
    display: none;
}

.request-map-panel.is-request-map-fullscreen .request-map-tools__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.request-map-panel.is-request-map-fullscreen .request-map-tools--below .map-tool-btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.74rem;
}

.request-map-panel.is-request-map-fullscreen .request-map-tools--below .map-tool-btn svg {
    width: 13px;
    height: 13px;
}

.request-map-panel.is-request-map-fullscreen .request-map-footer {
    position: absolute;
    left: 14px;
    bottom: 74px;
    z-index: 10003;
    margin: 0;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(191, 211, 234, 0.92);
    color: var(--color-muted);
    font-size: 0.74rem;
    font-weight: 800;
    display: inline-flex;
    gap: 12px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 34px rgba(7, 42, 83, 0.18);
}

.request-map-panel.is-request-map-fullscreen .selected-geo-element {
    position: absolute;
    right: 14px;
    bottom: 74px;
    z-index: 10003;
    max-width: min(420px, calc(100vw - 28px));
    margin: 0;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(191, 211, 234, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 34px rgba(7, 42, 83, 0.18);
}


/* =========================================================
   SOLICITAÇÃO — TELA CHEIA MOBILE
========================================================= */

@media (max-width: 768px) {
    .request-map-panel.is-request-map-fullscreen {
        inset: 5px !important;
        border-radius: 18px !important;
    }

    .request-map-panel.is-request-map-fullscreen .request-map,
    .request-map-panel.is-request-map-fullscreen .leaflet-container {
        border-radius: 18px !important;
    }

    .request-map-panel.is-request-map-fullscreen .request-map-fullscreen-exit {
        top: 10px;
        right: 10px;
        min-height: 36px;
        padding: 0 11px;
        font-size: 0.74rem;
    }

    .request-map-panel.is-request-map-fullscreen .request-map-topbar {
        top: 56px;
        left: 8px;
        right: 8px;
        width: auto;
        padding: 8px;
        grid-template-columns: 1fr;
        gap: 8px;
        border-radius: 18px;
    }

    .request-map-panel.is-request-map-fullscreen .request-map-layer-row {
        display: grid;
        gap: 4px;
    }

    .request-map-panel.is-request-map-fullscreen .request-map-layer-row label {
        font-size: 0.74rem;
    }

    .request-map-panel.is-request-map-fullscreen #mapLoadStatus {
        font-size: 0.68rem;
    }

    .request-map-panel.is-request-map-fullscreen .request-map-search {
        grid-template-columns: minmax(0, 1fr) 36px;
    }

    .request-map-panel.is-request-map-fullscreen .request-map-search input {
        height: 36px;
        font-size: 0.74rem;
    }

    .request-map-panel.is-request-map-fullscreen .request-map-search button {
        width: 36px;
        height: 36px;
    }

    .request-map-panel.is-request-map-fullscreen .request-map-tools--below {
        left: 8px;
        right: 8px;
        bottom: 10px;
        width: auto;
        max-width: none;
        transform: none;
        padding: 8px;
        border-radius: 18px;
    }

    .request-map-panel.is-request-map-fullscreen .request-map-tools__actions {
        gap: 6px;
    }

    .request-map-panel.is-request-map-fullscreen .request-map-tools--below .map-tool-btn {
        flex: 0 0 54px;
        width: 54px;
        min-height: 46px;
        padding: 4px 3px;
        border-radius: 13px;
        flex-direction: column;
        gap: 3px;
        font-size: 0.62rem;
        white-space: normal;
    }

    .request-map-panel.is-request-map-fullscreen .request-map-tools--below .map-tool-btn svg {
        width: 12px;
        height: 12px;
    }

    .request-map-panel.is-request-map-fullscreen .request-map-footer {
        left: 8px;
        right: 8px;
        bottom: 78px;
        width: auto;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 16px;
        font-size: 0.68rem;
    }

    .request-map-panel.is-request-map-fullscreen .selected-geo-element {
        left: 8px;
        right: 8px;
        bottom: 128px;
        max-width: none;
        border-radius: 16px;
        font-size: 0.76rem;
    }
}

@media (max-width: 430px) {
    .request-map-panel.is-request-map-fullscreen .request-map-topbar {
        top: 54px;
    }

    .request-map-panel.is-request-map-fullscreen .request-map-tools--below .map-tool-btn {
        flex: 0 0 50px;
        width: 50px;
        min-height: 44px;
        font-size: 0.58rem;
    }

    .request-map-panel.is-request-map-fullscreen .selected-geo-element {
        bottom: 124px;
    }

    .request-map-panel.is-request-map-fullscreen .request-map-footer {
        bottom: 74px;
    }
}

/* =========================================================
   AJUSTE FINAL — OUTRO + BOTÃO LOCALIZAÇÃO MOBILE
   e-Serviços Amambai
========================================================= */

/* Mantém o botão de localização em uma linha no layout normal */
.location-button {
    white-space: nowrap;
    text-align: center;
}

.location-button svg,
.location-button i {
    flex-shrink: 0;
}


/* =========================================================
   CAMPO "OUTRO" — ALINHAMENTO WEB/MOBILE
========================================================= */

.problem-select-option--other {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    row-gap: 8px;
}

.problem-select-option--other .problem-select-option__marker {
    grid-column: 1;
    grid-row: 1;
}

.problem-select-option--other .problem-select-option__text {
    grid-column: 2;
    grid-row: 1;
    white-space: nowrap;
}

.problem-select-option--other .problem-select-option__control {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    margin-left: 0;
}

.problem-select-option--other .problem-select-option__input {
    width: 100%;
    min-width: 0;
}


/* =========================================================
   MOBILE — AJUSTE DE "OUTRO" E LOCALIZAÇÃO
========================================================= */

@media (max-width: 760px) {
    .problem-select-option--other {
        grid-template-columns: 24px auto minmax(0, 1fr);
        align-items: center;
        column-gap: 9px;
        row-gap: 8px;
    }

    .problem-select-option--other .problem-select-option__marker {
        grid-column: 1;
        grid-row: 1;
    }

    .problem-select-option--other .problem-select-option__text {
        grid-column: 2;
        grid-row: 1;
        font-size: 0.92rem;
        white-space: nowrap;
    }

    .problem-select-option--other .problem-select-option__control {
        grid-column: 3;
        grid-row: 1;
        margin-left: 0;
    }

    .problem-select-option--other .problem-select-option__control > i,
    .problem-select-option--other .problem-select-option__control > svg {
        left: 10px;
        width: 15px;
        height: 15px;
    }

    .problem-select-option--other .problem-select-option__input {
        min-height: 38px;
        padding: 7px 4px 7px 32px;
        font-size: 0.86rem;
    }

    .location-button {
        width: fit-content;
        max-width: 100%;
        min-height: 44px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 18px;
        font-size: 0.9rem;
        line-height: 1;
        white-space: nowrap;
    }
}

@media (max-width: 520px) {
    .problem-select-option--other {
        grid-template-columns: 24px auto minmax(0, 1fr);
        column-gap: 8px;
    }

    .problem-select-option--other .problem-select-option__text {
        font-size: 0.88rem;
    }

    .problem-select-option--other .problem-select-option__input {
        font-size: 0.8rem;
        padding-left: 30px;
    }

    .location-button {
        width: 100%;
        max-width: 310px;
        min-height: 42px;
        padding: 0 14px;
        font-size: 0.86rem;
        gap: 7px;
    }

    .location-button svg,
    .location-button i {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 430px) {
    .problem-select-option--other {
        grid-template-columns: 22px auto minmax(0, 1fr);
        column-gap: 7px;
    }

    .problem-select-option--other .problem-select-option__text {
        font-size: 0.84rem;
    }

    .problem-select-option--other .problem-select-option__control > i,
    .problem-select-option--other .problem-select-option__control > svg {
        left: 8px;
        width: 14px;
        height: 14px;
    }

    .problem-select-option--other .problem-select-option__input {
        min-height: 36px;
        padding-left: 27px;
        font-size: 0.76rem;
    }

    .location-button {
        max-width: 292px;
        font-size: 0.82rem;
        padding: 0 12px;
    }
}

@media (max-width: 380px) {
    .location-button {
        max-width: 276px;
        font-size: 0.78rem;
        padding: 0 10px;
        gap: 6px;
    }

    .location-button svg,
    .location-button i {
        width: 15px;
        height: 15px;
    }
}
