/* shared/tokens.css */
/* Exportação do design system ❖ Design System Core / Colors. Casa=SENAI.
   Brand/SENAI/Pure: a1b79686f5475b89d9364adf3c57faceaa08d35b
   Brand/SENAI/Dark: d3156da8e4d01bf54253216996614939cd0e5426 */
:root {
    --ds-brand-senai-pure: #e84910;

    --ds-brand-senai-dark: #c13a0d;
}

/* shared/styles.css */
@font-face {
    font-family: Inter;
    src: url("../assets/fonts/Inter.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --senai: var(--ds-brand-senai-pure);
    --brand-accent: var(--ds-brand-senai-pure);
    --brand-accent-hover: var(--ds-brand-senai-dark);
    --blue: #164194;
    --text: #646464;
    --line: #f2f2f2;
    --surface: #fff;
    --gap: 32px;
    --section-y: 64px;
    --gutter: 0px;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text);
    font-optical-sizing: none;
}

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #fff;
}
button,
input,
select,
textarea {
    font: inherit;
}
a {
    color: var(--brand-accent);
    text-underline-offset: 3px;
}
button,
.button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    padding: 12px 16px;
    background: var(--senai);
    color: #fff;
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.1s ease-out,
        color 0.1s ease-out;
}
button:hover,
.button:hover {
    background: var(--brand-accent-hover);
}
button:disabled {
    cursor: default;
    opacity: 0.45;
}
.outline {
    border: 2px solid var(--senai);
    padding: 10px 14px;
    color: var(--senai);
    background: transparent;
}
.outline:hover {
    color: #fff;
    background: var(--senai);
}
.text-button {
    color: var(--senai);
    background: none;
    padding: 0;
    min-height: 24px;
    border-radius: 0;
    font-weight: 400;
}
.text-button:hover {
    background: none;
    color: var(--brand-accent-hover);
}
.icon-button {
    padding: 0;
    width: 40px;
    height: 40px;
    min-height: 40px;
    background: transparent;
    border-radius: 50%;
}
.icon-button:hover {
    background: #f2f2f2;
}
.ui-icon {
    display: block;
    flex: none;
}
.icon-button .ui-icon {
    max-width: 24px;
    max-height: 24px;
}
.container {
    width: 100%;
    max-width: 1216px;
    margin: 0 auto;
}
.page-section {
    padding: var(--section-y) var(--gutter);
}
.sac-section {
    background: linear-gradient(
        55.292573deg,
        rgba(203, 223, 237, 0.24) 33.171%,
        rgba(255, 247, 234, 0.24) 66.829%
    );
}
.top-spacer {
    height: 35.964px;
    margin-bottom: 24px;
}
.layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: var(--gap);
    align-items: start;
}
.sidebar {
    width: 280px;
}
.sidebar p {
    margin: 0 0 32px;
    line-height: 24px;
}
.shortcuts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.shortcuts .button {
    white-space: nowrap;
    width: max-content;
    max-width: 100%;
}
.page-content {
    min-width: 0;
    width: 100%;
    max-width: 902px;
}
.home-content,
.tracking-content {
    max-width: 800px;
}
.page-heading {
    font-size: 32px;
    line-height: 44px;
    color: var(--blue);
    font-weight: 700;
    margin: 0 0 16px;
}
.intro {
    margin: 0 0 32px;
    line-height: 24px;
    max-width: 610px;
}
.eyebrow {
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--senai);
    margin: 0 0 16px;
}
h1,
h2,
h3,
h4,
p {
    overflow-wrap: break-word;
}
h2,
h3,
h4 {
    color: var(--blue);
}
p {
    margin: 0 0 16px;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 384px));
    gap: var(--gap);
    align-items: start;
}
.card {
    border: 0;
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    min-width: 0;
}
.channel-card {
    min-height: 252px;
}
.channel-card:nth-child(1),
.channel-card:nth-child(2),
.channel-card:nth-child(3),
.channel-card:nth-child(4) {
    height: 252px;
}
.channel-card:nth-child(6) {
    min-height: 332px;
}
.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    box-shadow: inset 0 -1px 0 var(--line);
    min-height: 72px;
}
.card-icon {
    width: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.card-header h2 {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}
.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
}
.card-body p {
    margin: 0;
}
.card-body .button {
    width: 100%;
}
.channel-card:nth-child(5) .card-header,
.channel-card:nth-child(6) .card-header {
    min-height: 88px;
}
.privacy-extra p {
    margin: 0 0 16px;
}
.privacy-extra p:last-child {
    margin: 0;
}
.monitoring-contacts {
    display: grid;
    gap: 12px;
    font-size: 14px;
    line-height: 20px;
}
.contact-line {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 8px;
}
.contact-line img {
    flex: none;
    max-width: 16px;
    max-height: 16px;
    margin-top: 2px;
}
.monitoring-contacts a {
    color: var(--text);
    text-decoration: none;
}
.card-body .expand-button .ui-icon {
    width: auto;
    height: auto;
}
.faq-section {
    padding: 64px var(--gutter);
    background: #fff;
}
.faq-layout {
    display: grid;
    grid-template-columns: 488px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}
.faq-intro h1,
.faq-intro h2 {
    font-size: 32px;
    line-height: 44px;
    margin: 0 0 16px;
}
.faq-intro p {
    margin: 0;
}
.faq-list {
    position: relative;
    min-width: 0;
}
.faq-item {
    border-bottom: 1px solid #c2c2c2;
}
.faq-item summary {
    list-style: none;
    position: relative;
    color: var(--senai);
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    cursor: pointer;
    padding: 16px 40px 16px 16px;
    min-height: 60px;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary:after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 22px;
    font-weight: 400;
}
.faq-item[open] summary:after {
    content: "−";
}
.faq-answer {
    padding: 0 16px 20px;
    font-size: 14px;
    line-height: 20px;
}
.faq-answer p {
    white-space: pre-line;
    margin: 0 0 12px;
}
.faq-subject {
    display: block;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}
.faq-more {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 96px;
    background: #fff;
}
.faq-more:before {
    content: "";
    position: absolute;
    inset: -48px 0 0;
    background: url("../assets/faq-gradiente.png") center bottom/100% 100%
        no-repeat;
    pointer-events: none;
}
.faq-more button {
    position: relative;
    background: transparent;
    color: var(--senai);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    gap: 12px;
}
.faq-more img {
    max-width: 16px;
    max-height: 16px;
}
.filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 56px;
    gap: 16px;
    align-items: start;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.field label,
label {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    color: var(--blue);
}
input,
select,
textarea {
    width: 100%;
    border: 2px solid #e0e0e0;
    background: transparent;
    border-radius: 4px;
    padding: 14px;
    color: var(--text);
    height: 56px;
    font-size: 16px;
    line-height: 24px;
    min-width: 0;
}
input::placeholder,
textarea::placeholder {
    color: #a3a3a3;
    opacity: 1;
}
select {
    appearance: none;
    background-image: url("../assets/seletor.svg");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 40px;
}
select:disabled,
input:disabled {
    opacity: 0.45;
    cursor: default;
}
textarea {
    height: 124px;
    min-height: 124px;
    resize: vertical;
}
.field-error {
    font-size: 12px;
    line-height: 16px;
    color: #cf1d11;
}
.field-error:empty {
    display: none;
}
[aria-invalid="true"] {
    border-color: #df4136;
}
.search-button {
    border-radius: 50%;
    width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 16px;
    margin-top: 28px;
}
.search-button .ui-icon {
    max-width: 24px;
    max-height: 24px;
}
.filter-help {
    font-size: 12px;
    line-height: 16px;
    color: #a3a3a3;
    margin: 0;
}
.search-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    margin-top: 56px;
    min-height: 400px;
}
.illustration-slot {
    height: 400px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 1;
}
.illustration-slot > img {
    display: block;
    width: auto;
    height: 400px;
    max-width: none;
    flex: none;
}
.search-notes {
    width: 280px;
    flex: none;
    font-size: 12px;
    line-height: 16px;
    color: #303a52;
}
.search-notes p {
    margin: 0 0 32px;
}
.units-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    margin: 32px 0 16px;
}
.units-note {
    padding: 8px 32px;
    font-size: 12px;
    line-height: 16px;
    margin: 10px 0 0;
}
.units-visual .illustration-slot {
    width: 100%;
    flex: none;
}
.units-visual {
    display: block;
    margin-top: 56px;
}
.unit-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.unit-results:empty {
    display: none;
}
.unit-card h2 {
    font-size: 20px;
    line-height: 28px;
    margin: 0 0 16px;
}
.unit-card .card-body {
    gap: 16px;
}
.notice {
    border: 1px solid #cbddec;
    background: #f5f9fd;
    border-radius: 8px;
    padding: 16px;
    line-height: 20px;
    font-size: 14px;
    margin: 16px 0;
    overflow-wrap: anywhere;
}
.notice.warning {
    background: #fff8eb;
    border-color: #e5b36f;
    color: #975c0d;
}
.notice.error {
    background: #fff4f3;
    border-color: #efa49d;
    color: #b02d23;
}
.notice.success {
    background: #f0faeb;
    border-color: #a1d68c;
    color: #398b22;
}
.notice:empty {
    display: none;
}
.tracking-form {
    max-width: 744px;
    margin-bottom: 32px;
}
.tracking-search {
    display: grid;
    grid-template-columns: minmax(0, 570px) 158px;
    gap: 16px;
    align-items: start;
}
.tracking-search .button {
    height: 56px;
    margin-top: 28px;
}
.tracking-search .ui-icon {
    max-width: 20px;
    max-height: 20px;
}
.recovery-trigger {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    justify-content: flex-start;
    min-height: 24px;
    margin-top: 8px;
}
.guidance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}
.guidance-card h2 {
    font-size: 20px;
    line-height: 28px;
    margin: 0;
    padding: 16px;
}
.guidance-card ol {
    margin: 0;
    padding: 0 16px 16px 40px;
    font-size: 16px;
    line-height: 24px;
}
.guidance-card li + li {
    margin-top: 24px;
}
.guidance-card footer {
    padding: 16px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    line-height: 20px;
}
.guidance-card footer p:last-child {
    margin-bottom: 0;
}
.page-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 32px 0 0;
    flex-wrap: wrap;
}
.course-list {
    padding: 0;
    list-style: none;
    display: grid;
    gap: 16px;
    margin: 32px 0;
}
.course-list h2 {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
}
.course-list .card-body {
    gap: 16px;
}
.course-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0 0 24px;
}
.course-table th,
.course-table td {
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    vertical-align: top;
    overflow-wrap: anywhere;
    text-align: left;
}
.course-table th {
    background: #f2f2f2;
    width: 36%;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}
.course-table td {
    font-size: 14px;
    line-height: 20px;
    white-space: pre-line;
}
.course-title {
    font-size: 20px;
    line-height: 28px;
    background: var(--ds-brand-senai-pure);
    color: #fff;
    padding: 16px;
    margin: 0;
}
.overlay-open {
    overflow: hidden;
}
dialog {
    padding: 0;
    color: var(--text);
    border: 1px solid var(--line);
    background: #fff;
    overflow: visible;
    max-height: calc(100dvh - 48px);
    width: min(632px, calc(100% - 32px));
    max-width: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px #00000018;
}
dialog::backdrop {
    background: transparent;
}
dialog.with-shade::backdrop {
    background: rgba(0, 0, 0, 0.12);
}
dialog[open] {
    display: flex;
    flex-direction: column;
}
.overlay-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    flex: none;
}
.overlay-header > div {
    flex: 1;
    min-width: 0;
}
.overlay-header h2 {
    margin: 0;
    font-size: 24px;
    line-height: 36px;
    font-weight: 700;
    color: var(--blue);
}
.overlay-header p {
    font-size: 16px;
    line-height: 24px;
    margin: 4px 0 0;
}
.overlay-body {
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    min-height: 0;
    flex: 1;
}
.overlay-body > p:last-child {
    margin-bottom: 0;
}
.overlay-footer {
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--line);
    flex: none;
}
.drawer {
    position: fixed;
    inset: 0 0 0 auto;
    margin: 0;
    width: 696px;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border-width: 0 0 0 1px;
    box-shadow: -8px 0 32px #0000000f;
}
.drawer .overlay-body {
    padding: 12px 24px;
}
.drawer .overlay-footer {
    justify-content: flex-start;
    font-size: 14px;
    line-height: 20px;
    padding: 24px;
    gap: 8px;
}
.drawer .overlay-footer img {
    max-width: 16px;
    max-height: 16px;
}
.drawer.protocol-drawer {
    width: 648px;
}
.protocol-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 32px;
}
.protocol-summary dt {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}
.protocol-summary dd {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
}
.protocol-response {
    padding: 24px 16px;
    border-bottom: 1px solid var(--line);
}
.protocol-response h3 {
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 16px;
}
.protocol-response p {
    margin: 0;
}
.protocol-appeal {
    border-top: 1px solid var(--line);
    padding: 24px 0;
}
.protocol-appeal h3 {
    font-size: 20px;
    line-height: 28px;
}
.protocol-footer-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.muted,
small {
    font-size: 12px;
    line-height: 16px;
    color: #a3a3a3;
}
.contact {
    margin: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
}
.contact dt {
    font-weight: 700;
}
.contact dd {
    margin: 0;
    overflow-wrap: anywhere;
}
.contact a {
    color: var(--text);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip {
    position: fixed;
    left: 16px;
    top: -100px;
    padding: 12px;
    background: white;
    z-index: 100;
    color: var(--blue);
}
.skip:focus {
    top: 8px;
}
:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}
[hidden] {
    display: none !important;
}

@media (min-width: 1280px) and (max-width: 1439px) {
    :root {
        --gutter: 24px;
    }
    .container {
        max-width: 1231px;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    :root {
        --section-y: 56px;
        --gutter: 24px;
        --gap: 24px;
    }
    .container {
        max-width: 1231px;
    }
    .drawer {
        width: 629px;
    }
    .page-content {
        max-width: 902px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    :root {
        --section-y: 48px;
        --gutter: 16px;
        --gap: 16px;
    }
    .drawer {
        width: 553px;
    }
    .home-content {
        max-width: 655px;
    }
    .faq-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 16px;
    }
    .filters {
        grid-template-columns: repeat(3, minmax(0, 1fr)) 56px;
    }
    .tracking-search {
        grid-template-columns: minmax(0, 1fr) 158px;
    }
    .channel-card:nth-child(1),
    .channel-card:nth-child(2) {
        height: 268px;
    }
    .channel-card:nth-child(1) .card-header,
    .channel-card:nth-child(2) .card-header {
        min-height: 88px;
    }
    .channel-card:nth-child(5) {
        min-height: 268px;
    }
    .search-visual {
        flex-direction: column;
    }
    .search-notes {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .illustration-slot {
        width: 100%;
        flex: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    .channel-card:nth-child(1) .card-header,
    .channel-card:nth-child(2) .card-header,
    .channel-card:nth-child(5) .card-header,
    .channel-card:nth-child(6) .card-header {
        min-height: 72px;
    }
    .filters {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .filters > .field,
    .filters > .search-button {
        width: 100%;
    }
    .search-button {
        margin-top: 8px;
        border-radius: 8px;
    }
    .illustration-slot {
        overflow: hidden;
    }
    .search-notes {
        display: block;
    }
    .guidance-grid {
        grid-template-columns: 1fr;
    }
    .tracking-search {
        display: block;
    }
    .tracking-search .button {
        width: 100%;
        margin-top: 24px;
    }
    .unit-results {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    :root {
        --section-y: 40px;
        --gutter: 16px;
        --gap: 16px;
    }
    .layout {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
    .sidebar {
        width: min(280px, 100%);
    }
    .page-content,
    .home-content {
        max-width: none;
        width: 100%;
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
    .channel-card:nth-child(1) {
        height: 292px;
    }
    .channel-card:nth-child(2) {
        height: 268px;
    }
    .channel-card:nth-child(3) {
        height: 276px;
    }
    .channel-card:nth-child(4) {
        height: 252px;
    }
    .channel-card:nth-child(5) {
        min-height: 292px;
    }
    .channel-card:nth-child(6) {
        min-height: 332px;
    }
    .card-header {
        min-height: 88px;
    }
    .channel-card:nth-child(3) .card-header {
        min-height: 72px;
    }
    .channel-card:nth-child(5) .card-header,
    .channel-card:nth-child(6) .card-header {
        min-height: 88px;
    }
    .faq-section {
        padding: 40px 16px;
    }
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .faq-intro h1,
    .faq-intro h2 {
        font-size: 32px;
        line-height: 44px;
    }
    .faq-item summary {
        padding-left: 0;
        font-size: 16px;
    }
    .faq-answer {
        padding-left: 0;
    }
    .filters {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .filters > .field,
    .filters > .search-button {
        width: 100%;
    }
    .search-button {
        margin-top: 8px;
        border-radius: 8px;
    }
    .search-visual {
        display: block;
        margin-top: 56px;
        min-height: 0;
    }
    .illustration-slot {
        height: auto;
        aspect-ratio: 436/400;
        width: 100%;
        overflow: hidden;
    }
    .illustration-slot > img {
        height: auto;
        max-height: 400px;
        width: 100%;
        max-width: 436px;
    }
    .search-notes {
        width: 100%;
        margin-top: 16px;
    }
    .search-notes p {
        margin-bottom: 24px;
    }
    .units-note {
        padding: 8px 32px;
    }
    .tracking-search {
        display: block;
    }
    .tracking-search .button {
        width: 100%;
        margin-top: 24px;
    }
    .guidance-grid {
        grid-template-columns: 1fr;
    }
    .drawer,
    .drawer.protocol-drawer {
        width: calc(100% - 32px);
    }
    .drawer .overlay-header {
        padding: 24px 16px;
        align-items: flex-start;
    }
    .drawer .overlay-header .icon-button {
        margin-right: -8px;
    }
    .drawer .overlay-body {
        padding: 12px 16px;
    }
    .drawer .overlay-footer {
        padding: 24px 16px;
    }
    .overlay-body {
        padding: 20px 16px;
    }
    .overlay-header {
        padding: 20px 16px;
    }
    .overlay-footer {
        padding: 16px;
        flex-wrap: wrap;
    }
    .protocol-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .protocol-summary div {
        display: flex;
        justify-content: space-between;
        gap: 16px;
    }
    .protocol-summary dt {
        margin: 0;
    }
    .unit-results {
        grid-template-columns: 1fr;
    }
    .contact {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .contact dd {
        margin-bottom: 12px;
    }
    .course-table th,
    .course-table td {
        padding: 10px 8px;
    }
    .page-actions .button {
        flex: 1;
    }
    .page-heading {
        font-size: 32px;
        line-height: 44px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    dialog[open].drawer {
        animation: drawer-in 0.3s ease-out;
    }
    dialog[open].modal {
        animation: modal-in 0.15s ease-out;
    }
    @keyframes drawer-in {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(0);
        }
    }
    @keyframes modal-in {
        from {
            opacity: 0;
            transform: translateY(8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.channel-card:nth-child(6) .card-body > p {
    min-height: 96px;
}
.protocol-footer-actions {
    width: 100%;
}
.receipt-protocol {
    font-size: 24px;
    line-height: 36px;
    font-weight: 700;
    color: var(--blue);
}

@media (min-width: 768px) and (max-width: 991px) {
    .channel-card:nth-child(6) .card-body > p {
        min-height: 72px;
    }
}

.illustration-slot {
    height: 400px;
    aspect-ratio: auto;
}
.illustration-slot > img {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    transform-origin: top center;
    align-self: flex-start;
}
.contact-line img {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}
.expand-button img {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}
.faq-more img {
    max-width: none;
    max-height: none;
}

.modal {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 16px 48px #00000014;
}
.modal .overlay-header {
    padding: 16px;
    background: #fef4e5;
    border: 0;
}
.modal .overlay-header h2 {
    font-size: 20px;
    line-height: 28px;
    color: #804c00;
}
.modal .close-overlay {
    width: 28px;
    height: 28px;
    min-height: 28px;
}
.modal .close-overlay img {
    width: 20px;
    height: 20px;
}
.modal .overlay-body {
    padding: 8px 16px;
    color: #575756;
}
.modal .overlay-body > p {
    padding: 4px 0;
    margin: 0;
    white-space: pre-line;
}
.modal .overlay-footer {
    padding: 16px;
    border: 0;
    gap: 32px;
}
.modal .overlay-footer .button {
    min-width: 133px;
    min-height: 56px;
    font-size: 16px;
    line-height: 24px;
}
.recovery-form {
    margin-top: 8px;
}
.recovery-form .field {
    gap: 0;
}
.recovery-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.receipt-modal {
    width: min(538px, calc(100% - 32px));
}
.receipt-modal .overlay-header {
    padding: 16px 24px;
    background: white;
}
.receipt-modal .overlay-header h2 {
    font-size: 24px;
    line-height: 36px;
    color: var(--blue);
}
.receipt-modal .close-overlay {
    display: none;
}
.receipt-modal .overlay-body {
    text-align: center;
    padding: 24px;
}
.receipt-modal .overlay-body > p {
    padding: 0;
    margin: 0 0 16px;
}
.receipt-modal .receipt-protocol {
    font-size: 32px;
    line-height: 44px;
    color: #646464;
}
.receipt-modal .overlay-footer {
    padding: 24px;
}
.receipt-modal .overlay-footer .button {
    width: 100%;
}

/* Resultados de Unidades: componente 6137:286238 do protótipo. */
.unit-results {
    max-width: 906px;
    margin: 56px auto 0;
    gap: 12px;
}
.unit-card {
    box-shadow: inset 0 0 0 1px #f2f2f2;
    display: flex;
    flex-direction: column;
}
.unit-card .card-body {
    font-size: 14px;
    line-height: 20px;
    gap: 20px;
    flex: 1;
}
.unit-card .card-body h2 {
    margin: 0 0 -4px;
}
.unit-card footer {
    border-top: 1px solid #f2f2f2;
    padding: 16px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}
.unit-card footer a {
    color: var(--text);
    text-decoration: none;
}
.unit-results:not(:empty) + .units-note {
    margin-top: 32px;
}
.recovery-form .field {
    margin: 0;
}

.faq-group-title {
    font-size: 16px;
    line-height: 24px;
    color: var(--blue);
    margin: 24px 16px 8px;
}
.faq-group:first-child .faq-group-title {
    margin-top: 0;
}

.units-title {
    color: var(--text);
}

/* Controles de demonstração: área separada da interface de referência. */
.simulation-panel {
    margin-top: 40px;
    padding: 16px;
    border: 1px dashed #646464;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
}

.simulation-panel summary {
    cursor: pointer;
    font-weight: 600;
    color: #164194;
}

.simulation-panel p {
    margin: 12px 0;
}

.simulation-panel label {
    display: block;
    margin-bottom: 4px;
}

.simulation-panel select {
    width: 100%;
    max-width: 400px;
}

/* Espaçamentos dos filtros e notas conforme os frames revisados. */
.filters .field {
    gap: 4px;
}

.filters .filter-help {
    margin-top: 12px;
}

.filters .search-button {
    margin-top: 24px;
}

.filters .field:has(select:disabled) {
    opacity: 0.45;
}

.filters .field select:disabled {
    opacity: 1;
}

.units-note {
    padding: 24px 32px;
}

.simulation-protocols {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.simulation-protocols .button {
    white-space: normal;
    text-align: left;
}

/* canais/styles.css */
.form-intro {
    font-size: 12px;
    line-height: 16px;
    margin: 0 0 32px;
}
.form-intro strong {
    display: block;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
}
.form-intro ol {
    padding-left: 18px;
    margin: 0;
}
.form-intro li {
    margin: 0;
}
.manifestation {
    background: #fffbf6;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}
.form-fields {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 32px;
}
.form-fields .field label {
    color: var(--senai);
}
.form-fields .wide {
    grid-column: 1/-1;
}
.form-fields .cpf-field {
    grid-column: 1;
}
.form-fields .name-field {
    grid-column: 2;
    grid-row: 1;
}
.form-fields .check {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text);
    margin-top: -16px;
}
.form-fields input[type="checkbox"] {
    width: 24px;
    height: 24px;
    accent-color: var(--senai);
    margin: 0;
    flex: none;
}
.document-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.company-field {
    grid-column: 1/-1;
}
.message-field small {
    margin-top: 0;
}
.dropzone {
    padding: 24px;
    border: 2px dashed #e0e0e0;
    text-align: center;
    background: #fff;
}
.dropzone p {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 16px;
}
.dropzone.dragover {
    border-color: var(--senai);
    background: #f4fbea;
}
.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.file-picker {
    background: transparent;
    color: var(--senai);
    border: 2px solid var(--senai);
    min-height: 40px;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 16px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
}
.file-picker:hover {
    background: #f1faec;
}
.attachment-policy {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    line-height: 16px;
    color: #a3a3a3;
}
.file-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
    font-size: 12px;
    line-height: 16px;
}
.file-list li {
    padding: 8px 0;
}
.file-list button {
    font-size: 12px;
}
.form-submit-bar {
    background: #f1f9ed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px;
    flex-wrap: wrap;
}
.form-submit-bar .button {
    background: transparent;
    border: 2px solid var(--senai);
    color: var(--senai);
}
.form-submit-bar .button:hover {
    background: var(--senai);
    color: white;
}
.captcha-unavailable {
    max-width: 280px;
    font-size: 12px;
    line-height: 16px;
    color: #757575;
}
.other-channels {
    padding: 32px 8px;
}
.other-channels h3 {
    font-size: 20px;
    line-height: 28px;
    margin: 0 0 16px;
}
.other-channels > p {
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 16px;
}
.other-channel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.other-channel-grid .card {
    padding: 16px;
}
.other-channel-grid h4 {
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 16px;
}
.other-channel-grid .contact {
    display: block;
    font-size: 14px;
    line-height: 20px;
}
.other-channel-grid dt {
    margin-top: 12px;
    font-weight: 400;
}
.other-channel-grid dd {
    margin: 4px 0 0;
}
.physical-form {
    display: block;
    font-size: 14px;
    line-height: 20px;
    margin-top: 16px;
}
.ombudsman-presentation {
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 32px;
}
.ombudsman-presentation h3 {
    font-size: 20px;
    line-height: 28px;
    margin: 0 0 16px;
}
.ombudsman-presentation .contact {
    font-size: 14px;
    line-height: 20px;
}
.appeal-form label {
    display: block;
    margin: 24px 0 8px;
}
.appeal-form .form-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
}
.appeal-receipt {
    white-space: pre-wrap;
}
.recovery-form .field {
    margin: 0;
}
.recovery-form .form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}
@media (max-width: 767px) {
    .form-fields {
        grid-template-columns: 1fr;
        padding: 24px 16px;
        gap: 24px;
    }
    .form-fields .name-field {
        grid-column: 1;
        grid-row: auto;
    }
    .form-fields .check {
        margin-top: -8px;
    }
    .form-fields .wide {
        grid-column: 1;
    }
    .form-fields .cpf-field {
        grid-column: 1;
    }
    .document-fields {
        grid-template-columns: 1fr;
    }
    .other-channel-grid {
        grid-template-columns: 1fr;
    }
    .form-submit-bar {
        padding: 16px;
    }
    .dropzone {
        padding: 20px 12px;
    }
    .form-submit-bar .button {
        margin-left: auto;
    }
}

.drawer-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 12px 8px 24px;
    font-size: 14px;
    line-height: 20px;
}
.channel-intro {
    padding: 0 8px;
}
.other-channels {
    scroll-margin-top: 16px;
}
.ombudsman-presentation {
    padding: 0 8px;
}
.monitoring-authority {
    margin: 0;
}
.faq-group[hidden] {
    display: none !important;
}
