/* Base tipográfica, tokens e resets compartilhados. Derivação MIT: docs/licenses/normalized-base.txt. */

:root {
    --ui-blue: #0d6efd;
    --ui-indigo: #6610f2;
    --ui-purple: #6f42c1;
    --ui-pink: #d63384;
    --ui-red: #dc3545;
    --ui-orange: #fd7e14;
    --ui-yellow: #ffc107;
    --ui-green: #198754;
    --ui-teal: #20c997;
    --ui-cyan: #0dcaf0;
    --ui-black: #000;
    --ui-white: #fff;
    --ui-gray: #6c757d;
    --ui-gray-dark: #343a40;
    --ui-gray-100: #f8f9fa;
    --ui-gray-200: #e9ecef;
    --ui-gray-300: #dee2e6;
    --ui-gray-400: #ced4da;
    --ui-gray-500: #adb5bd;
    --ui-gray-600: #6c757d;
    --ui-gray-700: #495057;
    --ui-gray-800: #343a40;
    --ui-gray-900: #212529;
    --ui-primary: #0d6efd;
    --ui-secondary: #6c757d;
    --ui-success: #198754;
    --ui-info: #0dcaf0;
    --ui-warning: #ffc107;
    --ui-danger: #dc3545;
    --ui-light: #f8f9fa;
    --ui-dark: #212529;
    --ui-primary-rgb: 13, 110, 253;
    --ui-secondary-rgb: 108, 117, 125;
    --ui-success-rgb: 25, 135, 84;
    --ui-info-rgb: 13, 202, 240;
    --ui-warning-rgb: 255, 193, 7;
    --ui-danger-rgb: 220, 53, 69;
    --ui-light-rgb: 248, 249, 250;
    --ui-dark-rgb: 33, 37, 41;
    --ui-primary-text-emphasis: #052c65;
    --ui-secondary-text-emphasis: #2b2f32;
    --ui-success-text-emphasis: #0a3622;
    --ui-info-text-emphasis: #055160;
    --ui-warning-text-emphasis: #664d03;
    --ui-danger-text-emphasis: #58151c;
    --ui-light-text-emphasis: #495057;
    --ui-dark-text-emphasis: #495057;
    --ui-primary-bg-subtle: #cfe2ff;
    --ui-secondary-bg-subtle: #e2e3e5;
    --ui-success-bg-subtle: #d1e7dd;
    --ui-info-bg-subtle: #cff4fc;
    --ui-warning-bg-subtle: #fff3cd;
    --ui-danger-bg-subtle: #f8d7da;
    --ui-light-bg-subtle: #fcfcfd;
    --ui-dark-bg-subtle: #ced4da;
    --ui-primary-border-subtle: #9ec5fe;
    --ui-secondary-border-subtle: #c4c8cb;
    --ui-success-border-subtle: #a3cfbb;
    --ui-info-border-subtle: #9eeaf9;
    --ui-warning-border-subtle: #ffe69c;
    --ui-danger-border-subtle: #f1aeb5;
    --ui-light-border-subtle: #e9ecef;
    --ui-dark-border-subtle: #adb5bd;
    --ui-white-rgb: 255, 255, 255;
    --ui-black-rgb: 0, 0, 0;
    --ui-font-sans-serif:
        system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial,
        sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    --ui-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    --ui-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --ui-body-font-family: var(--ui-font-sans-serif);
    --ui-body-font-size: 1rem;
    --ui-body-font-weight: 400;
    --ui-body-line-height: 1.5;
    --ui-body-color: #212529;
    --ui-body-color-rgb: 33, 37, 41;
    --ui-body-bg: #fff;
    --ui-body-bg-rgb: 255, 255, 255;
    --ui-emphasis-color: #000;
    --ui-emphasis-color-rgb: 0, 0, 0;
    --ui-secondary-color: rgba(33, 37, 41, 0.75);
    --ui-secondary-color-rgb: 33, 37, 41;
    --ui-secondary-bg: #e9ecef;
    --ui-secondary-bg-rgb: 233, 236, 239;
    --ui-tertiary-color: rgba(33, 37, 41, 0.5);
    --ui-tertiary-color-rgb: 33, 37, 41;
    --ui-tertiary-bg: #f8f9fa;
    --ui-tertiary-bg-rgb: 248, 249, 250;
    --ui-heading-color: inherit;
    --ui-link-color: #0d6efd;
    --ui-link-color-rgb: 13, 110, 253;
    --ui-link-decoration: underline;
    --ui-link-hover-color: #0a58ca;
    --ui-link-hover-color-rgb: 10, 88, 202;
    --ui-code-color: #d63384;
    --ui-highlight-color: #212529;
    --ui-highlight-bg: #fff3cd;
    --ui-border-width: 1px;
    --ui-border-style: solid;
    --ui-border-color: #dee2e6;
    --ui-border-color-translucent: rgba(0, 0, 0, 0.175);
    --ui-border-radius: 0.375rem;
    --ui-border-radius-sm: 0.25rem;
    --ui-border-radius-lg: 0.5rem;
    --ui-border-radius-xl: 1rem;
    --ui-border-radius-xxl: 2rem;
    --ui-border-radius-2xl: var(--ui-border-radius-xxl);
    --ui-border-radius-pill: 50rem;
    --ui-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --ui-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --ui-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --ui-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --ui-focus-ring-width: 0.25rem;
    --ui-focus-ring-opacity: 0.25;
    --ui-focus-ring-color: rgba(13, 110, 253, 0.25);
    --ui-form-valid-color: #198754;
    --ui-form-valid-border-color: #198754;
    --ui-form-invalid-color: #dc3545;
    --ui-form-invalid-border-color: #dc3545;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    font-family: var(--ui-body-font-family);
    font-size: var(--ui-body-font-size);
    font-weight: var(--ui-body-font-weight);
    line-height: var(--ui-body-line-height);
    color: var(--ui-body-color);
    text-align: var(--ui-body-text-align);
    background-color: var(--ui-body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: var(--ui-border-width) solid;
    opacity: 0.25;
}

h6,
h5,
h4,
h3,
h2,
h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--ui-heading-color);
}

h1 {
    font-size: calc(1.375rem + 1.5vw);
}
@media (min-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }
}

h2 {
    font-size: calc(1.325rem + 0.9vw);
}
@media (min-width: 1200px) {
    h2 {
        font-size: 2rem;
    }
}

h3 {
    font-size: calc(1.3rem + 0.6vw);
}
@media (min-width: 1200px) {
    h3 {
        font-size: 1.75rem;
    }
}

h4 {
    font-size: calc(1.275rem + 0.3vw);
}
@media (min-width: 1200px) {
    h4 {
        font-size: 1.5rem;
    }
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

abbr[title] {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
    cursor: help;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
}

address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: inherit;
}

ol,
ul {
    padding-left: 2rem;
}

ol,
ul,
dl {
    margin-top: 0;
    margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
    margin-bottom: 0;
}

dt {
    font-weight: 700;
}

dd {
    margin-bottom: 0.5rem;
    margin-left: 0;
}

blockquote {
    margin: 0 0 1rem;
}

b,
strong {
    font-weight: bolder;
}

small {
    font-size: 0.875em;
}

mark {
    padding: 0.1875em;
    color: var(--ui-highlight-color);
    background-color: var(--ui-highlight-bg);
}

sub,
sup {
    position: relative;
    font-size: 0.75em;
    line-height: 0;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

a {
    color: rgba(var(--ui-link-color-rgb), var(--ui-link-opacity, 1));
    text-decoration: underline;
}
a:hover {
    --ui-link-color-rgb: var(--ui-link-hover-color-rgb);
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    color: inherit;
    text-decoration: none;
}

pre,
code,
kbd,
samp {
    font-family: var(--ui-font-monospace);
    font-size: 1em;
}

pre {
    display: block;
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
    font-size: 0.875em;
}
pre code {
    font-size: inherit;
    color: inherit;
    word-break: normal;
}

code {
    font-size: 0.875em;
    color: var(--ui-code-color);
    word-wrap: break-word;
}
a > code {
    color: inherit;
}

kbd {
    padding: 0.1875rem 0.375rem;
    font-size: 0.875em;
    color: var(--ui-body-bg);
    background-color: var(--ui-body-color);
    border-radius: 0.25rem;
}
kbd kbd {
    padding: 0;
    font-size: 1em;
}

figure {
    margin: 0 0 1rem;
}

img,
svg {
    vertical-align: middle;
}

table {
    caption-side: bottom;
    border-collapse: collapse;
}

caption {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: var(--ui-secondary-color);
    text-align: left;
}

th {
    text-align: inherit;
    text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

label {
    display: inline-block;
}

button {
    border-radius: 0;
}

button:focus:not(:focus-visible) {
    outline: 0;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
select {
    text-transform: none;
}

[role='button'] {
    cursor: pointer;
}

select {
    word-wrap: normal;
}
select:disabled {
    opacity: 1;
}

[list]:not([type='date']):not([type='datetime-local']):not([type='month']):not([type='week']):not(
        [type='time']
    )::-webkit-calendar-picker-indicator {
    display: none !important;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
}
button:not(:disabled),
[type='button']:not(:disabled),
[type='reset']:not(:disabled),
[type='submit']:not(:disabled) {
    cursor: pointer;
}

::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

textarea {
    resize: vertical;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    float: left;
    width: 100%;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: calc(1.275rem + 0.3vw);
    line-height: inherit;
}
@media (min-width: 1200px) {
    legend {
        font-size: 1.5rem;
    }
}
legend + * {
    clear: left;
}

::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
    padding: 0;
}

::-webkit-inner-spin-button {
    height: auto;
}

[type='search'] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}
::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
    padding: 0;
}

::-webkit-file-upload-button {
    font: inherit;
    -webkit-appearance: button;
}

::file-selector-button {
    font: inherit;
    -webkit-appearance: button;
}

output {
    display: inline-block;
}

iframe {
    border: 0;
}

summary {
    display: list-item;
    cursor: pointer;
}

progress {
    vertical-align: baseline;
}

[hidden] {
    display: none !important;
}
:root {
    --ui-breakpoint-xs: 0;
    --ui-breakpoint-sm: 576px;
    --ui-breakpoint-md: 768px;
    --ui-breakpoint-lg: 992px;
    --ui-breakpoint-xl: 1200px;
    --ui-breakpoint-xxl: 1400px;
}
[hidden] {
    display: none !important;
}
