:root {
    html {
        font-size: 16px;
    }
    body {
        margin: 0;
        font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
        color: var(--text);
        background: radial-gradient(1000px 600px at 20% -10%, #1f2937 0%, transparent 60%),
            radial-gradient(800px 500px at 100% 0%, #0f172a 0%, transparent 60%),
            var(--bg);
    }
    .container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 1rem;
    }
    .header {
        background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
        border-bottom: 1px solid rgba(255,255,255,0.08);
        position: sticky;
        top: 0;
        backdrop-filter: blur(6px);
    }
    .header-inner {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: .75rem 1rem;
    }
    .logo {
        font-weight: 700;
        letter-spacing: .3px;
    }
    .logo small {
        color: var(--muted);
        font-weight: 500;
    }


    .breadcrumb {
        font-size: .95rem;
        color: var(--muted);
        margin: .75rem 0 1.25rem;
    }
    .breadcrumb a {
        color: var(--accent);
        text-decoration: none;
    }
    .breadcrumb a:hover {
        text-decoration: underline;
    }


    .card {
        background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 16px;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    }
    .grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 1rem;
    }
    .col-12 {
        grid-column: span 12;
    }
    .col-6 {
        grid-column: span 6;
    }
    @media (max-width: 800px) {
        .col-6 {
            grid-column: span 12;
        }
    }


    h1, h2, h3 {
        margin: .2rem 0 .6rem;
    }
    h1 {
        font-size: 1.6rem;
    }
    h2 {
        font-size: 1.25rem;
        color: var(--muted);
    }
    .section-title {
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:.5rem
    }


    .list {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        padding: .3rem 1rem;
        border-radius: 12px;
    }
    .item + .item {
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .item a {
        color: var(--text);
        font-weight: 600;
    }
    .item a:hover {
        color: var(--accent);
    }
    .meta {
        color: var(--muted);
        font-size: .9rem;
    }


    .badge {
        font-size: .75rem;
        padding: .2rem .5rem;
        border-radius: 999px;
        border:1px solid rgba(255,255,255,0.15);
        color: var(--muted);
    }


    .btn {
        appearance: none;
        border: 1px solid rgba(255,255,255,0.15);
        background: rgba(255,255,255,0.04);
        color: var(--text);
        padding: .6rem .9rem;
        border-radius: 10px;
        cursor: pointer;
        font-weight: 600;
    }
    .btn:hover {
        border-color: rgba(255,255,255,0.4);
    }
    .btn:focus {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }


    .skip {
        position: absolute;
        left: -9999px;
        top: auto;
        width: 1px;
        height: 1px;
        overflow: hidden;
    }
    .skip:focus {
        position: static;
        width: auto;
        height: auto;
        background: #111827;
        padding:.5rem;
        border-radius:8px;
    }


    .file-list {
        margin-top: .5rem;
    }
    .file {
        display:flex;
        align-items:center;
        gap:.6rem;
        padding:.6rem .8rem;
        border-radius:10px;
    }
    .file:hover {
        background: rgba(255,255,255,0.04);
    }
    .file .name {
        font-weight:600;
    }
    .file .size {
        font-size:.85rem;
        color: var(--muted);
    }
    .icon {
        opacity:.8
    }


    .footer {
        color: var(--muted);
        font-size: .9rem;
        margin: 2rem 0 1rem;
        text-align: center;
    }
    ol.list a {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        display: inline;
        line-height: 1.3;

        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 2px;
        text-decoration-color: #aaa; /* 👈 sottolineatura grigia */
    }

    ol.list a:hover {
        text-decoration-color: #666; /* 👈 leggermente più scura al passaggio del mouse */
    }
    
    

