html,
body.speak-up-theme,
body.main-body.speak-up-theme,
body.speak-up-body.speak-up-theme {
    margin: 0;
    --speak-brand-bar-height: 72px;
    background: #eef5ef !important;
}

.speak-brand-bar {
    width: 100%;
    min-height: var(--speak-brand-bar-height);
    top: 0;
    left: 0;
    position: fixed;
    display: flex;
    align-items: center;
    background-color: #057043;
    padding: 8px 16px;
    box-sizing: border-box;
    z-index: 20;
    box-shadow: 0 10px 24px rgba(18, 53, 36, 0.14);
}

.speak-brand-inner {
    width: min(1380px, calc(100% - 64px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.speak-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.speak-brand-logo {
    width: clamp(180px, 28vw, 220px);
    max-width: 100%;
    height: clamp(52px, 10vw, 64px);
    object-fit: contain;
}

.speak-page-shell {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: 92px 0 132px;
}

.speak-surface {
    background: linear-gradient(135deg, #ffffff 0%, #f3f8ef 100%);
    border: 1px solid rgba(5, 112, 67, 0.10);
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(5, 112, 67, 0.10);
}

.speak-hero-panel {
    padding: 28px;
    margin-bottom: 28px;
}

.speak-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: rgba(5, 112, 67, 0.10);
    color: #057043;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.speak-title {
    margin: 16px 0 10px;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.05;
    font-weight: 700;
    color: #123524;
}

.speak-title span {
    color: #057043;
}

.speak-description {
    max-width: 760px;
    margin: 0;
    color: #476052;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
}

.speak-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.speak-highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 14px;
    background-color: #ffffff;
    border: 1px solid rgba(118, 166, 62, 0.22);
    color: #294536;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(18, 53, 36, 0.06);
}

.speak-steps-shell {
    margin-bottom: 18px;
    padding: 4px 0 10px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.speak-steps-shell .ui-steps {
    width: 100%;
}

.speak-incident-steps {
    overflow-x: auto;
    padding-bottom: 6px;
}

.speak-incident-steps .ui-steps ul {
    min-width: 880px;
    flex-wrap: nowrap;
    gap: 10px;
}

.speak-steps-shell .ui-steps ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background: transparent;
}

.speak-steps-shell .ui-steps ul:before,
.speak-steps-shell .ui-steps-item:before {
    display: none;
}

.speak-steps-shell .ui-steps-item {
    flex: 1 1 0;
    min-width: 0;
}

.speak-steps-shell .ui-menuitem-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 16px;
    border: none;
    box-shadow: none;
}

.speak-steps-shell .ui-steps-item .ui-steps-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    border-radius: 999px;
    background: rgba(5, 112, 67, 0.10);
    color: #057043;
    font-weight: 700;
}

.speak-steps-shell .ui-steps-item .ui-steps-title {
    color: #294536;
    font-weight: 600;
}

.speak-steps-shell .ui-steps-item.ui-state-highlight .ui-menuitem-link {
    box-shadow: none;
}

.speak-steps-shell .ui-steps-item.ui-state-highlight .ui-steps-number {
    background: #057043;
    color: #ffffff;
}

.speak-content-shell {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.speak-stage-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.speak-stage-section {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(5, 112, 67, 0.12);
}

.speak-stage-section:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.speak-section-heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.speak-section-title {
    margin: 0;
    color: #173928;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.speak-section-text {
    margin: 0;
    color: #51685b;
    font-size: 15px;
    line-height: 1.7;
}

.speak-review-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.speak-review-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.speak-review-card {
    padding: 24px 26px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(5, 112, 67, 0.10);
    box-shadow: 0 18px 36px rgba(18, 53, 36, 0.08);
}

.speak-summary-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.speak-summary-label {
    display: block;
    color: #294536;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.speak-summary-value {
    display: block;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #e1ebe3;
    border-radius: 14px;
    background: #f8fbf8;
    color: #20372a;
    line-height: 1.6;
}

.speak-summary-value--multiline {
    min-height: 132px;
    white-space: pre-wrap;
}

.speak-final-layout {
    align-items: center;
    text-align: center;
    padding-top: 24px;
}

.speak-final-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 4px;
    border-radius: 999px;
    background: rgba(118, 166, 62, 0.16);
    color: #057043;
    font-size: 38px;
}

.speak-final-code-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 8px auto 0;
}

.speak-final-code {
    width: 180px;
}

.speak-final-code.ui-inputfield {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #a02222;
    background: #fff6bf !important;
    border-color: #f0da72 !important;
}

.speak-copy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(5, 112, 67, 0.14);
    color: #057043;
    text-decoration: none;
}

.speak-copy-link .pi {
    font-size: 1.35rem;
}

.speak-final-note {
    max-width: 640px;
    margin: 0 auto;
}

.speak-final-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.speak-incident-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.speak-summary-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(5, 112, 67, 0.10);
}

.speak-summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.speak-summary-item-label {
    color: #648072;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.speak-summary-item-value {
    color: #173928;
    font-size: 15px;
    font-weight: 600;
}

.speak-choice-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.speak-choice-item {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(5, 112, 67, 0.10);
}

.speak-choice-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.speak-choice-header .ui-radiobutton {
    margin-top: 2px;
}

.speak-choice-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.speak-choice-title {
    color: #173928;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.speak-choice-description {
    margin: 0;
    color: #51685b;
    font-size: 14px;
    line-height: 1.6;
}

.speak-risk-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.speak-risk-row .ui-chkbox-label {
    color: #294536;
    font-weight: 600;
}

.speak-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 14px;
    align-items: end;
}

.speak-table-shell {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(5, 112, 67, 0.10);
    background: rgba(255, 255, 255, 0.74);
}

.speak-table-shell .ui-datatable table {
    border-collapse: separate;
    border-spacing: 0;
}

.speak-table-shell .ui-datatable thead th {
    background: #eef5e8;
    color: #294536;
    border: none;
    font-weight: 700;
}

.speak-table-shell .ui-datatable tbody td {
    border-left: none;
    border-right: none;
}

.speak-upload-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.speak-upload-toolbar .ui-button {
    min-width: 220px;
}

.speak-muted-note {
    margin: 0;
    color: #648072;
    font-size: 14px;
    line-height: 1.6;
}

.speak-disclaimer-shell {
    width: 100%;
    margin: 0;
    padding-top: 40px;
}

.speak-disclaimer-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.speak-disclaimer-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(5, 112, 67, 0.10);
    color: #173928;
}

.speak-disclaimer-highlight .pi {
    color: #057043;
    font-size: 1.5rem;
    margin-top: 2px;
}

.speak-disclaimer-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.speak-panel-card,
.panel_info_geral {
    padding: 28px;
}

.speak-panel-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.panel_info_geral {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.speak-panel-heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.speak-panel-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background-color: rgba(118, 166, 62, 0.14);
    color: #365140;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.speak-panel-title {
    margin: 0;
    color: #173928;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
    font-weight: 700;
}

.speak-panel-description {
    margin: 0;
    color: #51685b;
    font-size: 15px;
    line-height: 1.7;
}

.mspkp-report-page {
    width: 100%;
    min-height: calc(100vh - var(--speak-brand-bar-height));
    padding: 104px 0 132px;
    background: #eef1ec;
    box-sizing: border-box;
    overflow-x: hidden;
}

.mspkp-report-shell {
    width: min(1380px, calc(100% - 64px));
    margin: 0 auto;
    min-width: 0;
    box-sizing: border-box;
}

.mspkp-report-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mspkp-report-layout .speak-stage-section {
    padding-bottom: 0;
    border-bottom: none;
}

.mspkp-report-layout .speak-panel-heading {
    gap: 10px;
}

.mspkp-report-layout .speak-panel-kicker {
    margin-bottom: 0;
}

.mspkp-report-layout .speak-panel-description {
    max-width: 980px;
}

.mspkp-report-card {
    padding: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
    border: 1px solid rgba(5, 112, 67, 0.10);
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(18, 53, 36, 0.08);
    min-width: 0;
}

.mspkp-report-card.speak-panel-card {
    gap: 20px;
}

.mspkp-report-card .speak-section-heading {
    gap: 6px;
    margin-bottom: 20px;
}

.mspkp-report-card .speak-section-title {
    font-size: 22px;
}

.mspkp-report-card .speak-table-shell {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(5, 112, 67, 0.10);
    box-shadow: 0 12px 24px rgba(18, 53, 36, 0.04);
    overflow-x: auto;
    overflow-y: hidden;
}

.mspkp-report-card .speak-table-shell .ui-datatable,
.mspkp-report-card .speak-table-shell .ui-datatable-tablewrapper,
.mspkp-report-card .ui-tabview-panels,
.mspkp-report-card .ui-tabview-panel {
    min-width: 0;
}

.mspkp-report-card .ui-tabview .ui-tabview-nav {
    border: none;
    background: transparent;
    padding: 0;
}

.mspkp-report-card .ui-tabview .ui-tabview-panels {
    background: transparent;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.mspkp-report-card .card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
    border: 1px solid rgba(5, 112, 67, 0.10);
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(18, 53, 36, 0.08);
}

.speak-tip-box {
    padding: 14px 16px;
    border-radius: 8px;
    background: #eef5e8;
    border-left: 4px solid #76A63E;
    color: #365140;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 12px;
}

.speak-form-grid .field {
    margin-bottom: 0;
}

.speak-form-grid .ui-outputlabel,
.speak-field-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #294536;
    font-size: 13px;
    font-weight: 700;
}

.obrigatorio_point {
    width: 8px;
    margin: 0 5px;
    align-items: center;
    height: 8px;
    background-color: #de3e36;
    border-radius: 100%;
    display: inline-flex;
}

.speak-panel-card .ui-inputfield,
.speak-panel-card .ui-selectonemenu,
.speak-panel-card .ui-selectonemenu .ui-selectonemenu-label,
.panel_info_geral .ui-inputfield,
.panel_info_geral .ui-selectonemenu,
.panel_info_geral .ui-selectonemenu .ui-selectonemenu-label {
    border-radius: 14px !important;
    border-color: #d5e4d8 !important;
    background-color: #fbfdfb !important;
    box-shadow: none !important;
}

.speak-panel-card .ui-inputfield,
.panel_info_geral .ui-inputfield {
    padding: 12px 14px !important;
    color: #20372a;
}

.speak-panel-card .ui-inputfield:focus,
.speak-panel-card .ui-selectonemenu.ui-state-focus,
.panel_info_geral .ui-inputfield:focus,
.panel_info_geral .ui-selectonemenu.ui-state-focus {
    border-color: #76A63E !important;
    box-shadow: 0 0 0 3px rgba(118, 166, 62, 0.16) !important;
}

.speak-section-divider {
    margin: 4px 0 0;
}

.panel_bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: #ffffff;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    z-index: 15;
}

.panel_bottom_single {
    justify-content: center;
}

.botao_avancar_grande,
.botao_retroceder_grande {
    min-width: 0;
}

.panel_bottom .ui-button,
.panel_bottom .ui-button.ui-state-default {
    text-decoration: none !important;
    width: auto !important;
    min-width: 104px;
    max-width: 136px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    margin: 0 !important;
    padding: 0 18px !important;
    line-height: 1;
}

.panel_bottom .ui-button .ui-button-text,
.panel_bottom .ui-button.ui-state-default .ui-button-text {
    display: block;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1;
}

.panel_bottom .ui-button .ui-button-icon-left,
.panel_bottom .ui-button .ui-button-icon-right,
.panel_bottom .ui-button.ui-state-default .ui-button-icon-left,
.panel_bottom .ui-button.ui-state-default .ui-button-icon-right {
    display: none !important;
}

.panel_bottom .ui-button.ui-button-secondary,
.panel_bottom .ui-button.ui-button-secondary.ui-state-default {
    background: #e6efe6 !important;
    color: #294536 !important;
    box-shadow: none;
}

.panel_bottom .botao_avancar_grande.ui-button,
.panel_bottom .botao_avancar_grande.ui-button.ui-state-default,
.panel_bottom .botao_avancar_grande .ui-button,
.panel_bottom .botao_avancar_grande .ui-button.ui-state-default {
    background: #057043 !important;
    color: #ffffff !important;
}

.panel_bottom .botao_avancar_grande.ui-button:hover,
.panel_bottom .botao_avancar_grande.ui-button.ui-state-hover,
.panel_bottom .botao_avancar_grande.ui-button:focus,
.panel_bottom .botao_avancar_grande.ui-button.ui-state-focus {
    background: #045a36 !important;
    color: #ffffff !important;
}

.grid-radio td,
.legend {
    vertical-align: middle;
}

.grid-radio td {
    padding: .5rem;
}

.legend {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: .25rem;
}

@media screen and (max-width: 799px) {
    body.speak-up-theme,
    body.main-body.speak-up-theme,
    body.speak-up-body.speak-up-theme {
        --speak-brand-bar-height: 64px;
    }

    .speak-brand-inner {
        width: calc(100% - 32px);
    }

    .speak-page-shell {
        width: calc(100% - 32px);
        padding-top: 84px;
        padding-bottom: 118px;
    }

    .mspkp-report-page {
        padding: 92px 0 120px;
    }

    .mspkp-report-shell {
        width: calc(100% - 32px);
    }

    .speak-hero-panel,
    .speak-panel-card,
    .panel_info_geral,
    .speak-steps-shell {
        padding: 20px;
    }

    .mspkp-report-card {
        padding: 20px;
    }

    .speak-steps-shell {
        padding: 0 0 8px;
    }

    .speak-steps-shell .ui-steps ul {
        gap: 8px;
    }

    .speak-incident-steps .ui-steps ul {
        min-width: 780px;
    }

    .speak-steps-shell .ui-menuitem-link {
        min-height: 48px;
        padding: 0 10px;
    }

    .speak-steps-shell .ui-steps-item .ui-steps-number {
        width: 24px;
        height: 24px;
        margin-right: 8px;
        font-size: 12px;
    }

    .speak-steps-shell .ui-steps-item .ui-steps-title {
        font-size: 12px;
    }

    .speak-summary-strip {
        grid-template-columns: 1fr;
    }

    .speak-action-row {
        grid-template-columns: 1fr;
    }

    .speak-upload-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .speak-upload-toolbar .ui-button {
        min-width: 0;
        width: 100%;
    }

    .speak-disclaimer-shell {
        padding-top: 16px;
    }

    .speak-disclaimer-actions {
        grid-template-columns: 1fr;
    }

    .speak-review-card {
        padding: 20px;
    }

    .speak-final-code-wrap {
        width: 100%;
        justify-content: center;
    }

    .panel_bottom {
        width: 100%;
        padding: 10px 12px;
        gap: 8px;
    }

    .panel_bottom_single {
        justify-content: center;
    }

    .panel_bottom .ui-button,
    .panel_bottom .ui-button.ui-state-default {
        min-width: 100px;
        max-width: 128px;
        min-height: 40px;
        font-size: 14px;
    }
}

@media screen and (min-width: 1200px) {
    .speak-brand-inner {
        width: min(1380px, calc(100% - 64px));
    }

    .speak-page-shell {
        width: min(1380px, calc(100% - 64px));
    }

    .panel_info_geral {
        flex-direction: row;
        align-items: flex-start;
    }
}

@media screen and (min-width: 800px) and (max-width: 1199px) {
    .speak-brand-inner {
        width: min(960px, calc(100% - 80px));
    }

    .speak-page-shell {
        width: min(960px, calc(100% - 80px));
    }

    .mspkp-report-shell {
        width: min(960px, calc(100% - 80px));
    }
}
