/* SITE Network – integrazioni a Bootstrap Italia */
.siten { --siten-primary: var(--bs-primary, #0066cc); }
.siten-alert { margin-bottom: 1.5rem; }
.siten-badge { font-weight: 600; letter-spacing: .02em; }
.siten-prose p:last-child { margin-bottom: 0; }
.siten-mini { font-size: .8rem; font-weight: 600; color: #5d7083; display: block; margin-bottom: .2rem; }
.siten-legend { font-size: 1rem; font-weight: 600; margin-bottom: .75rem; float: none; width: auto; padding: 0; }
.siten-form .form-group { margin-bottom: 1.75rem; }
.siten-checks .form-check { margin-bottom: .25rem; }

.siten-card { height: 100%; }
.siten-card .card-title a { text-decoration: none; }
.siten-card .card-title a:hover { text-decoration: underline; }
.siten-side-card .card-title { margin-bottom: 1rem; }

.siten-dl dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #5d7083; font-weight: 600; }
.siten-dl dd { margin-bottom: .75rem; }
.siten-dl-inline { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1.5rem; }
.siten-dl-inline dd { margin: 0; }

.siten-kpi { background: #f2f7fc; border-left: 4px solid var(--siten-primary); padding: 1rem 1.25rem; height: 100%; }
.siten-kpi-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #5d7083; font-weight: 600; }
.siten-kpi-value { font-size: 1.5rem; font-weight: 700; color: #17324d; }

.siten-step-box { background: #f2f7fc; padding: 1.25rem; height: 100%; position: relative; padding-left: 4.25rem; }
.siten-step-n { position: absolute; left: 1.25rem; top: 1.15rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--siten-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.siten-step-box strong { display: block; margin-bottom: .25rem; }

.siten-login-side { padding: 1.5rem; background: #f2f7fc; height: 100%; }

.siten-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: #5d7083; }
.siten-table td { vertical-align: middle; }
.btn-xs { padding: .2rem .55rem; font-size: .78rem; line-height: 1.4; }
.siten-collapsed { display: none; }

.siten-list { padding-left: 1.1rem; }
.siten-checklist li { margin-bottom: .35rem; }

.siten-event-date { min-width: 74px; text-align: center; background: var(--siten-primary); color: #fff; padding: .5rem; align-self: flex-start; }
.siten-event-date .d { display: block; font-size: 1.6rem; font-weight: 700; line-height: 1; }
.siten-event-date .m { font-size: .75rem; text-transform: uppercase; }

/* Gantt */
.siten-gantt-wrap { border: 1px solid #dfe4ea; }
.siten-gantt { border-collapse: collapse; width: 100%; font-size: .75rem; }
.siten-gantt th, .siten-gantt td { border: 1px solid #e8edf2; padding: 0; height: 26px; min-width: 22px; text-align: center; }
.siten-gantt thead th { background: #f5f7fa; font-weight: 600; color: #5d7083; }
.siten-gantt .siten-gantt-label { text-align: left; padding: 2px 8px; min-width: 240px; max-width: 320px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 400; background: #fff; position: sticky; left: 0; z-index: 1; }
.siten-gantt-wp .siten-gantt-label { font-weight: 700; }
.siten-gantt td.on { background: var(--siten-primary); }
.siten-gantt td.on.task { background: #7fb2e5; }

/* Wizard */
.siten-wizard .steppers-header li a { color: inherit; text-decoration: none; }
.siten-wizard-nav { border-top: 1px solid #dfe4ea; }
.siten-wp-edit { border-left: 4px solid var(--siten-primary); }
.siten-budget-table td { padding: .3rem .25rem; }

/* Sala */
.siten-jitsi.active { min-height: 560px; background: #1b1b1b; }
.siten-jitsi iframe { border: 0; }

.siten-filters .form-group { margin-bottom: 1.25rem; }
.siten-filters-inline .form-group { margin-bottom: 1.5rem; }
.siten-event h3 { font-size: 1.1rem; line-height: 1.35; }
.siten-event h3 a { text-decoration: none; }
.siten-event h3 a:hover { text-decoration: underline; }
.siten-form > div:first-of-type { margin-top: 1.75rem; }

/* ---------- v1.1: componenti grafici ---------- */
.siten-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--siten-primary); margin-bottom: .35rem; }
.siten-box { background: #fff; border: 1px solid #e3e8ee; border-radius: 6px; padding: 1.4rem 1.5rem; box-shadow: 0 2px 10px rgba(23,50,77,.05); }
.siten-box h2 .icon, .siten-box h3 .icon { fill: var(--siten-primary); }
.siten-empty { text-align: center; padding: 3rem 1rem; background: #f5f8fb; border-radius: 6px; color: #5d7083; }
.siten-empty .icon { fill: #9db3c8; margin-bottom: .5rem; }

/* Rete */
.siten-sidebar-filters { background: #f2f7fc; border-radius: 6px; padding: 1.25rem; position: sticky; top: 1rem; }
.siten-sidebar-filters .form-control, .siten-sidebar-filters .form-select { background-color: #fff; border: 1px solid #c5d0db; border-radius: 4px; height: auto; padding: .45rem .6rem; font-size: .92rem; box-shadow: none; }
.siten-sidebar-filters .form-check label { font-size: .9rem; }
.siten-member { background: #fff; border: 1px solid #e3e8ee; border-radius: 8px; padding: 1.1rem 1.2rem; height: 100%; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.siten-member:hover { box-shadow: 0 8px 24px rgba(23,50,77,.12); transform: translateY(-2px); }
.siten-member-head { display: flex; gap: .8rem; align-items: center; margin-bottom: .7rem; }
.siten-member-head a { text-decoration: none; color: #17324d; }
.siten-member-head a:hover { text-decoration: underline; color: var(--siten-primary); }
.siten-member-text { color: #33485c; flex-grow: 1; }
.siten-member-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-top: 1px solid #eef2f6; padding-top: .6rem; margin-top: .4rem; }
.siten-member-foot .icon { fill: #5d7083; }
.siten-avatar { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: #0066cc; flex-shrink: 0; font-size: .95rem; }
.siten-avatar-universita, .siten-avatar-ente_ricerca { background: #5c2d91; }
.siten-avatar-pmi, .siten-avatar-grande_impresa, .siten-avatar-startup { background: #00855f; }
.siten-avatar-pa_centrale, .siten-avatar-regione, .siten-avatar-ente_locale, .siten-avatar-ente_pubblico { background: #0066cc; }
.siten-avatar-terzo_settore, .siten-avatar-cluster { background: #a66300; }
.siten-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .5rem; }
.siten-chip { background: #eef4fa; color: #0b4a8b; border-radius: 999px; padding: .15rem .6rem; font-size: .75rem; font-weight: 600; }
.siten-landing-panel { background: #fff; border: 1px solid #e3e8ee; border-radius: 8px; padding: 2rem; height: 100%; }
.siten-landing-stats { background: linear-gradient(140deg, #003366, #0066cc); color: #fff; border-radius: 8px; padding: 2rem; height: 100%; }
.siten-landing-stats h3 { color: #fff; }
.siten-landing-stats .siten-bars .l, .siten-landing-stats .siten-bars .v { color: #fff; }
.siten-landing-stats .siten-bars .b { background: rgba(255,255,255,.2); }
.siten-landing-stats .siten-bars .b span { background: #fff; }
.siten-landing-big .n { display: block; font-size: 3.2rem; font-weight: 700; line-height: 1; }
.siten-check-list { list-style: none; padding: 0; }
.siten-check-list li { margin-bottom: .5rem; }

/* Barre */
.siten-bars { list-style: none; padding: 0; margin: 0; }
.siten-bars li { display: grid; grid-template-columns: minmax(110px, 38%) 1fr auto; gap: .6rem; align-items: center; margin-bottom: .45rem; font-size: .88rem; }
.siten-bars .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #33485c; }
.siten-bars .b { background: #eef2f6; height: 10px; border-radius: 5px; overflow: hidden; }
.siten-bars .b span { display: block; height: 100%; background: var(--siten-primary); border-radius: 5px; }
.siten-bars .v { font-weight: 700; color: #17324d; min-width: 2rem; text-align: right; }

/* Aree di servizio */
.siten-area-card { border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid #e3e8ee; height: 100%; display: flex; flex-direction: column; box-shadow: 0 2px 12px rgba(23,50,77,.06); }
.siten-area-card-head { background: var(--area); padding: 1.2rem 1.4rem; display: flex; justify-content: space-between; align-items: center; }
.siten-area-card-head .icon { width: 36px; height: 36px; }
.siten-area-n { color: rgba(255,255,255,.55); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.siten-area-card-body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.siten-area-card-body h3 a { color: #17324d; text-decoration: none; }
.siten-area-card-body h3 a:hover { color: var(--area); text-decoration: underline; }
.siten-area-list { padding-left: 1.1rem; font-size: .9rem; color: #33485c; flex-grow: 1; }
.siten-area-list li { margin-bottom: .3rem; }
.siten-area-list li::marker { color: var(--area); }
.siten-area-more { font-weight: 600; color: var(--area); text-decoration: none; }
.siten-area-more .icon { fill: var(--area); }
.siten-area-intro { display: flex; gap: 1.2rem; align-items: center; border-left: 6px solid var(--area); background: #f5f8fb; padding: 1.4rem 1.6rem; border-radius: 0 6px 6px 0; }
.siten-area-intro .icon { fill: var(--area); flex-shrink: 0; }
.siten-service { border: 1px solid #e3e8ee; border-top: 4px solid var(--area); border-radius: 6px; padding: 1.4rem; height: 100%; display: flex; flex-direction: column; background: #fff; }
.siten-request { background: #f2f7fc; border-radius: 8px; padding: 2rem; }
.siten-area-nav { display: flex; flex-wrap: wrap; gap: .75rem; }
.siten-area-nav a { border: 1px solid #d6dee6; border-left: 5px solid var(--area); padding: .6rem 1rem; border-radius: 4px; text-decoration: none; color: #17324d; font-weight: 600; background: #fff; }
.siten-area-nav a .icon { fill: var(--area); }

/* Il progetto */
.siten-site-intro { background: #f2f7fc; border-radius: 8px; padding: 2rem; }
.siten-site-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.siten-site-facts > div { background: #fff; border-radius: 6px; padding: 1.1rem; box-shadow: 0 2px 8px rgba(23,50,77,.06); }
.siten-site-facts .n { display: block; font-size: 2.2rem; font-weight: 700; color: var(--siten-primary); line-height: 1.1; }
.siten-site-facts span:not(.n) { font-size: .88rem; color: #33485c; }
.siten-issue { border-left: 4px solid #cc334d; background: #fff7f8; padding: 1.1rem 1.2rem; border-radius: 0 6px 6px 0; height: 100%; }
.siten-issue .icon { fill: #cc334d; margin-bottom: .4rem; }
.siten-goals { counter-reset: g; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.siten-goals li { counter-increment: g; background: #fff; border: 1px solid #e3e8ee; border-radius: 6px; padding: 1.1rem 1.1rem 1.1rem 3.6rem; position: relative; }
.siten-goals li::before { content: counter(g); position: absolute; left: 1rem; top: 1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--siten-primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.siten-site-platform { background: linear-gradient(140deg, #003366, #0066cc); color: #fff; border-radius: 8px; padding: 2rem; }
.siten-site-platform h2, .siten-site-platform p { color: #fff; }
.siten-platform-item { display: flex; flex-direction: column; gap: .25rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 1rem; color: #fff; text-decoration: none; height: 100%; }
.siten-platform-item:hover { background: rgba(255,255,255,.2); color: #fff; }
.siten-platform-item .icon { fill: #fff; }
.siten-links { padding-left: 1.1rem; }
.siten-links li { margin-bottom: .45rem; }

/* Tour eventi */
.siten-tour { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .8rem; }
.siten-tour li { background: #fff; border: 1px solid #e3e8ee; border-radius: 6px; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .15rem; position: relative; }
.siten-tour li.next { border-color: var(--siten-primary); box-shadow: 0 0 0 1px var(--siten-primary) inset; }
.siten-tour li.past { opacity: .78; }
.siten-tour-date { font-weight: 700; color: var(--siten-primary); text-transform: uppercase; font-size: .85rem; }
.siten-tour-city { font-size: 1.15rem; font-weight: 700; color: #17324d; }
.siten-tour-type { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: #5d7083; }
.siten-tour a { font-size: .88rem; }

/* Timeline aggiornamenti bando */
.siten-timeline { border-left: 3px solid #d6e4f2; margin-left: .4rem; padding-left: 1.2rem; }
.siten-timeline-item { position: relative; margin-bottom: 1rem; }
.siten-timeline-item::before { content: ""; position: absolute; left: -1.62rem; top: .3rem; width: .75rem; height: .75rem; border-radius: 50%; background: var(--siten-primary); }
.siten-timeline-date { font-size: .78rem; font-weight: 700; color: #5d7083; }
