/* Tappito — pagine documentali (informative, cookie policy).
   Estratto dallo <style> in linea di site-informativa-form.html per non
   ripeterlo su ogni documento. Caricato dopo site3-1.css, che definisce
   le variabili. Tenere sotto i 14 KB. */

    body { background: var(--paper-2); color: var(--text); }

    .doc-top {
        background: var(--ink); color: #fff;
        padding: 34px var(--pad) 58px;
        position: relative; isolation: isolate; overflow: hidden;
    }
    .doc-top::before {
        content: ''; position: absolute; inset: 0; z-index: -1;
        background: radial-gradient(700px 380px at 78% 0%, rgba(37,71,240,.42), transparent 66%);
    }
    .doc-top-in { max-width: 860px; margin: 0 auto; }
    .doc-top .brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; }
    .doc-top .brand img { height: 30px; width: 30px; flex-shrink: 0; }
    .doc-top .brand span { font-size: 1.06rem; font-weight: 800; letter-spacing: .14em; }
    .doc-kicker {
        margin-top: 40px;
        font-family: var(--mono);
        font-size: .74rem; font-weight: 700;
        letter-spacing: .16em; text-transform: uppercase;
        color: #8DA6FF;
    }
    .doc-top h1 {
        margin-top: 14px;
        font-size: clamp(1.7rem, 3.6vw, 2.5rem);
        font-weight: 800; letter-spacing: -0.038em; line-height: 1.1;
        text-wrap: balance;
    }
    .doc-top p { margin-top: 16px; color: var(--on-ink-2); font-size: 1rem; max-width: 46em; }

    .doc {
        max-width: 860px;
        margin: -30px auto 72px;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: var(--r-lg);
        box-shadow: var(--sh-md);
        padding: clamp(26px, 4vw, 54px);
        position: relative;
    }
    .doc h2 {
        margin-top: 42px;
        font-size: 1.25rem; font-weight: 800; font-stretch: 96%;
        letter-spacing: -0.025em;
        padding-bottom: 11px;
        border-bottom: 2px solid var(--line);
    }
    .doc h2:first-of-type { margin-top: 0; }
    .doc h3 {
        margin-top: 26px;
        font-size: 1rem; font-weight: 700;
        letter-spacing: -0.015em;
    }
    .doc p { margin-top: 14px; font-size: .96rem; line-height: 1.68; color: var(--text-2); }
    .doc p strong, .doc li strong { color: var(--text); font-weight: 600; }
    .doc a { color: var(--blue); text-underline-offset: 3px; }
    .doc ul { margin: 14px 0 0 0; padding-left: 0; list-style: none; display: grid; gap: 11px; }
    .doc ul li {
        position: relative; padding-left: 22px;
        font-size: .96rem; line-height: 1.62; color: var(--text-2);
    }
    .doc ul li::before {
        content: ''; position: absolute; left: 3px; top: .62em;
        width: 7px; height: 7px; border-radius: 50%;
        background: var(--accent);
    }

    .doc-tab-wrap {
        margin-top: 20px;
        overflow-x: auto;
        border: 1px solid var(--line);
        border-radius: var(--r-sm);
        -webkit-overflow-scrolling: touch;
    }
    .doc-tab {
        width: 100%; border-collapse: collapse;
        font-size: .89rem; min-width: 520px;
    }
    .doc-tab th, .doc-tab td {
        padding: 12px 16px; text-align: left; vertical-align: top;
        border-bottom: 1px solid var(--line);
    }
    .doc-tab thead th {
        font-size: .73rem; font-weight: 700; font-stretch: 90%;
        letter-spacing: .07em; text-transform: uppercase;
        color: var(--text-2); background: var(--paper-2);
    }
    .doc-tab tbody tr:last-child th, .doc-tab tbody tr:last-child td { border-bottom: 0; }
    .doc-tab tbody th { font-weight: 600; color: var(--text); width: 34%; }
    .doc-tab td { color: var(--text-2); }
    .doc-tab .c { text-align: center; }
    .doc-tab .si { color: #087556; font-weight: 700; }
    .doc-tab .no { color: var(--text-2); }

    .doc-box {
        margin-top: 20px;
        padding: 18px 20px;
        border-left: 3px solid var(--blue);
        background: var(--blue-soft);
        border-radius: 0 var(--r-sm) var(--r-sm) 0;
    }
    .doc-box p { margin-top: 0; color: var(--text-2); }
    .doc-box p + p { margin-top: 10px; }

    .doc-fine {
        margin-top: 46px; padding-top: 24px;
        border-top: 1px solid var(--line);
        display: flex; flex-wrap: wrap; gap: 14px 28px;
        align-items: center; justify-content: space-between;
        font-size: .84rem; color: var(--text-2);
    }
    .doc-fine .ver { font-family: var(--mono); font-weight: 700; }
    .doc-fine a { color: var(--text-2); text-decoration: none; font-weight: 600; }
    .doc-fine a:hover { color: var(--blue); }

    :focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* Aggiunte per le pagine informativa e cookie policy */
.doc-note {
    margin-top: 20px; padding: 16px 20px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    font-size: .9rem; line-height: 1.6; color: var(--text-2);
}
.doc-note strong { color: var(--text); }
.doc-sub {
    margin-top: 8px;
    font-family: var(--mono);
    font-size: .72rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--text-3);
}
.doc-tab td code, .doc p code {
    font-family: var(--mono); font-size: .84em;
    background: var(--paper-3); padding: 2px 6px; border-radius: 5px;
    color: var(--text);
}
.doc-tab .cat {
    display: inline-block; font-family: var(--mono);
    font-size: .68rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
    background: var(--paper-3); color: var(--text-2);
}
.doc-tab .cat.f { background: #E6F5EF; color: #087556; }
.doc-tab .cat.s { background: var(--blue-soft); color: var(--blue); }
.doc-tab .cat.p { background: var(--accent-soft); color: #B4530A; }
.doc-azione {
    margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.doc-azione button {
    padding: 12px 20px; border-radius: 999px;
    border: 1px solid var(--text); background: var(--paper);
    color: var(--text); font: inherit; font-size: .92rem; font-weight: 700;
    cursor: pointer;
}
.doc-azione button:hover { background: var(--paper-2); }
.doc-top .doc-crumb { margin-top: 26px; font-size: .84rem; color: var(--on-ink-2); }
.doc-top .doc-crumb a { color: var(--on-ink-2); text-decoration: none; font-weight: 600; }
.doc-top .doc-crumb a:hover { color: #fff; }
