/* @feature: public-site */
/* Strumento «Ferie 2027» (blog/ferie-2027.html). Colori del marchio: --primary #2563EB, --accent #F97316.
   Ogni regola parte da .growth-panel.ferie-tool: public-growth.css, caricato dopo, imposta margin e
   padding di .growth-panel e il colore di ".growth-panel p", e con una sola classe perderemmo. */
.growth-panel.ferie-tool { margin:28px 0; padding:24px; min-width:0; }
.growth-panel.ferie-tool h2 { margin:0 0 16px; padding:0; border:0; font-size:clamp(22px,3vw,28px); }
.growth-panel.ferie-tool .ferie-form { display:grid; gap:18px; min-width:0; }
.growth-panel.ferie-tool .ferie-field { display:grid; gap:6px; min-width:0; margin:0; padding:0; border:0; }
.growth-panel.ferie-tool .ferie-field label, .growth-panel.ferie-tool .ferie-field legend { font-weight:700; color:#122641; font-size:15px; padding:0; }
.growth-panel.ferie-tool .ferie-field select, .growth-panel.ferie-tool .ferie-field input[type="number"] { width:100%; min-width:0; box-sizing:border-box; min-height:48px; padding:10px 14px; border:1px solid #64748b; border-radius:12px; font:inherit; font-size:16px; color:#0f172a; background:#fff; }
.growth-panel.ferie-tool .ferie-week { display:flex; flex-wrap:wrap; gap:8px 24px; }
.growth-panel.ferie-tool .ferie-week legend { width:100%; margin-bottom:4px; }
.growth-panel.ferie-tool .ferie-week label { display:inline-flex; align-items:center; gap:8px; min-height:44px; font-weight:500; }
.growth-panel.ferie-tool .ferie-week input { width:20px; height:20px; accent-color:#2563eb; }
.growth-panel.ferie-tool .ferie-submit { width:100%; }
@media (min-width:640px) { .growth-panel.ferie-tool .ferie-submit { width:auto; justify-self:start; } }
.growth-panel.ferie-tool .ferie-error { margin:12px 0 0; color:#b91c1c; font-weight:600; }
/* Il totale: la frase che conta, grande e marcata, con i due numeri nel colore del marchio. */
.growth-panel.ferie-tool .ferie-total { font-family:'DM Sans',system-ui,sans-serif; font-size:clamp(28px,7vw,40px); line-height:1.15; font-weight:800; color:#122641; margin:28px 0 12px; }
.growth-panel.ferie-tool .ferie-total:empty { margin:0; }
.growth-panel.ferie-tool .ferie-total .ferie-num { color:#2563eb; }
.growth-panel.ferie-tool .ferie-leftover { margin:0 0 16px; }
.growth-panel.ferie-tool .ferie-result { margin-top:0; min-width:0; }
.growth-panel.ferie-tool .ferie-result h3 { margin:24px 0 12px; font-size:18px; }
.growth-panel.ferie-tool .ferie-bridges, .growth-panel.ferie-tool .ferie-free { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.growth-panel.ferie-tool .ferie-bridge { display:grid; gap:4px; padding:16px; border:1px solid #cddcee; border-radius:14px; background:#fff; min-width:0; overflow-wrap:anywhere; }
.growth-panel.ferie-tool .ferie-bridge-title { font-weight:700; color:#122641; }
.growth-panel.ferie-tool .ferie-bridge-dates { font-size:18px; font-weight:800; color:#2563eb; }
.growth-panel.ferie-tool .ferie-bridge-detail { color:#52627a; font-size:15px; }
.growth-panel.ferie-tool .ferie-bridge .button { margin-top:8px; justify-self:start; max-width:100%; text-align:center; }
.growth-panel.ferie-tool .ferie-free li { margin:0; padding:10px 14px; border-radius:12px; background:#fff; border:1px solid #dbe5f3; color:#52627a; overflow-wrap:anywhere; }
.growth-panel.ferie-tool .ferie-patron { margin:20px 0 0; padding:14px 16px; border-left:4px solid #f97316; background:#fff7ed; border-radius:0 12px 12px 0; color:#7c2d12; font-size:15px; }
.growth-panel.ferie-tool .ferie-share .actions .button { flex:1 1 150px; min-width:0; }
.growth-panel.ferie-tool .ferie-card-preview { display:block; width:100%; max-width:270px; height:auto; margin:0 0 16px; border:1px solid #dbe5f3; border-radius:16px; }
.growth-panel.ferie-tool .ferie-status { min-height:1.5em; margin:12px 0 0; font-size:14px; }
.ferie-holidays { margin:8px 0 0 !important; columns:2 220px; }
.ferie-patroni td:nth-child(5) { min-width:180px; }
.ferie-patroni td:last-child { white-space:nowrap; }
.table-scroll .budget-table.ferie-patroni { min-width:760px; }
/* Solo in questa pagina: lo strumento viene prima dell'indice (l'articolo gemello lo mette sopra). */
@media (max-width:768px) {
  .article-layout .sidebar { order:1; }
}
