/*
 * Trasllats — regles globals de la pàgina de l'eina (NOMÉS index.php). trasllats.css no en té cap de global perquè
 * també s'injecta a la pàgina del web que conté l'iframe (calaix i finestres): allà només hi entren classes .tr-*.
 */

:root {
    --n-0: #fff;
    --n-50: #fafaf9;
    --n-100: #f5f5f4;
    --n-150: #f0efec;
    --n-200: #eceae6;
    --n-300: #d6d3d1;
    --n-400: #9ca3af;
    --n-500: #686f7c;
    --n-600: #4b5563;
    --n-700: #374151;
    --n-800: #1f2937;
    --n-900: #121926;
    --line: #e6e4de;
    --verd-900: #0b3d2e;
    --verd-800: #0e5c45;
    --verd-700: #1f6f55;
    --verd-600: #2e8466;
    --verd-300: #a9d3c1;
    --verd-200: #cfe6db;
    --verd-100: #e4f1ea;
    --verd-50: #f2f8f5;
    --llima: #96d701;
    --llima-suau: #f1f9dc;
    --ok: #1f7a3f;
    --ok-fons: #eaf6ee;
    --avis: #8a5a00;
    --avis-fons: #fdf4e0;
    --ko: #b42318;
    --ko-fons: #fdecea;
    --r-ctl: 8px;
    --r-card: 12px;
    --ombra: 0 1px 2px rgba(15, 17, 23, .04), 0 8px 24px -12px rgba(15, 17, 23, .18);
    --ring: 0 0 0 3px rgba(150, 215, 1, .35);
    --fletxa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23686f7c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--n-50);
}

body.tr-incrustat {
    background: transparent;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--n-900);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    font-variant-numeric: tabular-nums;
}

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

a {
    color: var(--n-900);
    text-underline-offset: 2px;
}

:focus-visible {
    outline: 2px solid var(--verd-800);
    outline-offset: 2px;
}

[hidden] {
    display: none !important;
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 650;
    letter-spacing: -.01em;
    line-height: 1.25;
}

p {
    margin: 0;
}
