/* =========================================================
   Livigo Living Platform
   Reset and Browser Normalization
   Path: /assets/css/reset.css
   ========================================================= */

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

html {
    min-width: 20rem;
    min-height: 100%;
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    min-width: 20rem;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    overflow-x: hidden;
    background: var(--livigo-background);
    color: var(--livigo-text);
    font-family: var(--livigo-font-sans);
    font-size: var(--livigo-font-size-base);
    font-weight: var(--livigo-font-weight-regular);
    line-height: var(--livigo-line-height-normal);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: inherit;
    font-family: var(--livigo-font-display);
    font-weight: var(--livigo-font-weight-bold);
    line-height: var(--livigo-line-height-heading);
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}

button,
input,
textarea,
select,
optgroup {
    margin: 0;
    color: inherit;
    font: inherit;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    border: 0;
    background: none;
    cursor: pointer;
    appearance: button;
    -webkit-appearance: button;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

input,
textarea,
select {
    min-width: 0;
    border-radius: 0;
}

textarea {
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: var(--livigo-text-soft);
    opacity: 1;
}

input[type="search"] {
    appearance: textfield;
    -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
    appearance: none;
    -webkit-appearance: none;
}

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

legend {
    padding: 0;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img,
video {
    height: auto;
}

svg {
    flex-shrink: 0;
}

iframe {
    display: block;
    max-width: 100%;
    border: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    height: 0;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--livigo-border);
    color: inherit;
}

address {
    font-style: normal;
}

summary {
    cursor: pointer;
}

details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

[hidden] {
    display: none !important;
}

[aria-disabled="true"] {
    cursor: not-allowed;
}

::selection {
    background: var(--livigo-lime-500);
    color: var(--livigo-navy-950);
}

:focus {
    outline: none;
}

:focus-visible {
    border-radius: var(--livigo-radius-xs);
    outline: 2px solid var(--livigo-lime-500);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}