/* ver documentation/decisoes/Web.Admin.md#o-painel-sem-bootstrap */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

hr {
    margin: 1rem 0;
    border: 0;
    border-top: 1px solid var(--borda);
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

h1 { font-size: calc(1.375rem + 1.5vw); }
h2 { font-size: calc(1.325rem + .9vw); }
h3 { font-size: calc(1.3rem + .6vw); }
h4 { font-size: calc(1.275rem + .3vw); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (min-width: 1200px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.5rem; }
}

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

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: .5rem;
    margin-left: 0;
}

blockquote { margin: 0 0 1rem; }

b, strong { font-weight: bolder; }

small { font-size: .875em; }

/* Atenção: :where zera o peso: com a:hover simples, o texto dos botões que são link pegava a cor do fundo e sumia */
:where(a) {
    color: var(--accent);
    text-decoration: underline;
}

:where(a:hover) { color: var(--accent-forte); }

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

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

pre {
    display: block;
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
    font-size: .875em;
}

code {
    font-size: .875em;
    word-wrap: break-word;
}

figure { margin: 0 0 1rem; }

img, svg { vertical-align: middle; }

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

caption {
    padding: .5rem 0;
    color: var(--texto-suave);
    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; }

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;
    margin: 0;
    padding: 0;
    border: 0;
}

legend {
    float: left;
    width: 100%;
    margin-bottom: .5rem;
    padding: 0;
    font-size: calc(1.275rem + .3vw);
    line-height: inherit;
}

legend + * { clear: left; }

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

iframe { border: 0; }

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

progress { vertical-align: baseline; }

[hidden] { display: none !important; }
