:root{--ted-green:#2E4120;--ted-olive:#7A684B;--ted-cream:#f7f3e8;--ted-paper:#fffdf7;--ted-fuchsia:#e90070}
.ted-wrap{font-family:inherit;color:var(--ted-green);margin:0 0 20px}.ted-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:18px;background:linear-gradient(135deg,#f8f3e7,#eee4d0);border:1px solid rgba(46,65,32,.13);margin-bottom:14px}.ted-brand{display:flex;align-items:center;gap:14px}.ted-book-symbol{width:48px;height:48px;border-radius:50%;background:var(--ted-olive);color:white;display:grid;place-items:center;font-size:25px}.ted-kicker{display:block;font-size:11px;letter-spacing:.13em;font-weight:800;color:var(--ted-olive)}.ted-head h2{margin:4px 0 0;font-size:21px}.ted-contests-button{border:0;border-radius:13px;background:var(--ted-green);color:white;padding:9px 12px;display:flex;gap:9px;align-items:center;cursor:pointer}.ted-contests-button strong{background:white;color:var(--ted-green);min-width:24px;height:24px;border-radius:50%;display:grid;place-items:center}.ted-featured{background:var(--ted-paper);border:1px solid rgba(46,65,32,.14);border-radius:18px;padding:18px 18px 20px;margin-bottom:14px}.ted-section-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:14px}.ted-section-head h3{margin:3px 0;font-size:24px}.ted-section-head p{margin:4px 0 0;opacity:.72}.ted-book-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,290px);gap:14px;overflow-x:auto;padding:3px 2px 10px;scroll-snap-type:x proximity}.ted-book-card{background:white;border:1px solid rgba(46,65,32,.13);border-radius:14px;overflow:hidden;cursor:pointer;scroll-snap-align:start;box-shadow:0 5px 20px rgba(46,65,32,.06);transition:transform .15s ease,box-shadow .15s ease}.ted-book-card:hover,.ted-book-card:focus{transform:translateY(-2px);box-shadow:0 9px 25px rgba(46,65,32,.11);outline:none}.ted-cover-wrap{aspect-ratio:4/3;background:#e9e0cf;overflow:hidden}.ted-cover-wrap img{width:100%;height:100%;object-fit:cover;display:block}.ted-cover-placeholder,.ted-detail-cover-placeholder{width:100%;height:100%;min-height:160px;display:grid;place-items:center;background:linear-gradient(145deg,#8b7658,#5f503d);color:white;font-weight:800;letter-spacing:.15em}.ted-book-copy{padding:11px}.ted-source-badge{display:inline-block;font-size:9px;letter-spacing:.08em;font-weight:800;color:var(--ted-olive);margin-bottom:5px}.ted-book-copy h4{font-size:16px;line-height:1.15;margin:0 0 5px}.ted-book-copy p{font-size:13px;margin:0;opacity:.7}.ted-contest-banner{display:flex;justify-content:space-between;align-items:center;gap:15px;border-radius:15px;padding:14px 17px;background:#eef1e7;border:1px solid rgba(46,65,32,.13);margin-bottom:14px}.ted-contest-banner strong,.ted-contest-banner small{display:block}.ted-contest-banner strong{margin:3px 0}.ted-contest-banner small{opacity:.72}.ted-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:0;border-radius:11px;padding:9px 13px;background:var(--ted-green);color:white!important;font-weight:700;cursor:pointer}.ted-btn-secondary{background:white!important;color:var(--ted-green)!important;border:1px solid rgba(46,65,32,.2)}.ted-agenda-note{display:flex;gap:12px;align-items:baseline;padding:12px 4px 5px}.ted-agenda-note strong{white-space:nowrap}.ted-agenda-note span{font-size:13px;opacity:.72}.ted-empty{padding:18px;border-radius:12px;background:#f6f2e8}.ted-modal{display:none;position:fixed;inset:0;z-index:100000;background:rgba(21,28,17,.66);padding:24px;overflow:auto}.ted-modal.is-open{display:flex;align-items:center;justify-content:center}.ted-modal-panel{position:relative;width:min(760px,100%);max-height:88vh;overflow:auto;background:var(--ted-paper);border-radius:18px;padding:24px;box-shadow:0 24px 80px rgba(0,0,0,.3)}.ted-modal-close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:30px;cursor:pointer;color:var(--ted-green)}.ted-book-detail{display:grid;grid-template-columns:minmax(150px,220px) 1fr;gap:24px}.ted-detail-cover img{width:100%;border-radius:10px;display:block;box-shadow:0 12px 30px rgba(0,0,0,.14)}.ted-detail-copy h2{font-size:28px;line-height:1.08;margin:5px 0 7px}.ted-detail-copy h3{font-size:17px;font-weight:500;margin:0 0 13px}.ted-detail-meta{font-size:12px;opacity:.66}.ted-detail-description{line-height:1.55;margin:16px 0 20px}.ted-amazon{background:#232f3e!important}.ted-contest-list{display:grid;gap:12px;margin-top:16px}.ted-contest-card{border:1px solid rgba(46,65,32,.14);border-radius:14px;padding:15px;background:white}.ted-contest-card h3{margin:8px 0}.ted-contest-top{display:flex;justify-content:space-between;font-size:11px;font-weight:800;letter-spacing:.06em;color:var(--ted-olive)}.ted-muted{opacity:.7}body.ted-modal-open{overflow:hidden}html[dir="rtl"] #treeend-design{direction:rtl}
@media(max-width:720px){.ted-head,.ted-contest-banner{align-items:flex-start;flex-direction:column}.ted-book-detail{grid-template-columns:1fr}.ted-detail-cover{max-width:220px;margin:auto}.ted-agenda-note{flex-direction:column;gap:4px}}

.ted-auto-feed{display:flex;justify-content:space-between;align-items:center;gap:18px;border-radius:15px;padding:14px 17px;background:#f5f0e4;border:1px solid rgba(46,65,32,.13);margin-bottom:14px}.ted-auto-feed strong,.ted-auto-feed small{display:block}.ted-auto-feed strong{margin:3px 0}.ted-auto-feed small{opacity:.72;max-width:720px}.ted-auto-stats{display:flex;gap:8px;flex-wrap:wrap}.ted-auto-stats span{background:white;border:1px solid rgba(46,65,32,.12);border-radius:999px;padding:7px 10px;font-size:12px;white-space:nowrap}.ted-auto-stats b{font-size:15px;margin-right:3px}@media(max-width:720px){.ted-auto-feed{align-items:flex-start;flex-direction:column}}

.ted-events-explorer{display:flex;justify-content:space-between;align-items:center;gap:18px;border-radius:15px;padding:14px 17px;background:#eef1e7;border:1px solid rgba(46,65,32,.13);margin-bottom:14px}.ted-events-explorer strong,.ted-events-explorer small{display:block}.ted-events-explorer strong{margin:3px 0}.ted-events-explorer small{opacity:.72}.ted-events-actions{display:flex;gap:8px;flex-wrap:wrap}.ted-events-actions .ted-btn b{margin-left:7px;background:rgba(255,255,255,.18);padding:2px 7px;border-radius:999px}.ted-events-actions .ted-btn-secondary b{background:rgba(46,65,32,.08)}.ted-event-list{display:grid;gap:12px;margin-top:16px}.ted-event-card{display:grid;grid-template-columns:92px 1fr;gap:14px;padding:14px;border:1px solid rgba(46,65,32,.14);border-radius:14px;background:#fff}.ted-event-date{display:flex;flex-direction:column;gap:4px;padding-right:12px;border-right:1px solid rgba(46,65,32,.12)}.ted-event-date b{font-size:15px}.ted-event-date span{font-size:12px;opacity:.65}.ted-event-copy h3{margin:4px 0 7px}.ted-event-copy p{margin:4px 0 8px}.ted-event-copy .ted-btn{margin-top:8px}@media(max-width:720px){.ted-events-explorer{align-items:flex-start;flex-direction:column}.ted-event-card{grid-template-columns:1fr}.ted-event-date{border-right:0;border-bottom:1px solid rgba(46,65,32,.12);padding:0 0 8px}}

.ted-favorites-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;border-radius:15px;padding:14px 17px;background:#f3edf1;border:1px solid rgba(233,0,112,.15);margin-bottom:14px}.ted-favorites-bar strong,.ted-favorites-bar small{display:block}.ted-favorites-bar strong{margin:3px 0}.ted-favorites-bar small{opacity:.72;max-width:760px}.ted-favorites-bar .ted-btn b{margin-left:7px;background:rgba(46,65,32,.08);padding:2px 7px;border-radius:999px}.ted-favorite-form{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.ted-favorite-form input{flex:1;min-width:220px;border:1px solid rgba(46,65,32,.22);border-radius:10px;padding:10px 12px}.ted-favorite-chips{display:flex;gap:8px;flex-wrap:wrap}.ted-favorite-chip{border:1px solid rgba(46,65,32,.16);background:white;color:var(--ted-green);border-radius:999px;padding:7px 10px;cursor:pointer}.ted-event-card.is-favorite{border-color:rgba(233,0,112,.45);box-shadow:0 0 0 2px rgba(233,0,112,.08)}.ted-favorite-badge{display:inline-block;background:var(--ted-fuchsia);color:white;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800;margin:0 7px 5px 0}@media(max-width:720px){.ted-favorites-bar{align-items:flex-start;flex-direction:column}}

.ted-favorite-results{margin-top:20px;border-top:1px solid rgba(46,65,32,.12);padding-top:15px}.ted-favorite-results h3{margin:0 0 10px}.ted-favorite-result{display:grid;grid-template-columns:110px 1fr;gap:12px;padding:11px 0;border-bottom:1px solid rgba(46,65,32,.1)}.ted-favorite-result time{font-size:12px;opacity:.62}.ted-favorite-result strong,.ted-favorite-result small,.ted-favorite-result a{display:block}.ted-favorite-result small{margin:4px 0;opacity:.66}.ted-favorite-result a{font-size:12px}@media(max-width:620px){.ted-favorite-result{grid-template-columns:1fr}}

/* Parità funzionale con TreeEnd Music */
.ted-discovery-bar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:14px;align-items:center;border-radius:16px;padding:15px 17px;background:#f5f3ef;border:1px solid rgba(46,65,32,.14);margin-bottom:14px}.ted-discovery-copy strong,.ted-discovery-copy span,.ted-discovery-copy small{display:block}.ted-discovery-copy span{font-size:12px;margin:3px 0}.ted-discovery-copy small{font-size:11px;opacity:.65}.ted-radius-label{font-size:11px;font-weight:700}.ted-radius-label select{display:block;margin-top:4px;border:1px solid rgba(46,65,32,.2);border-radius:10px;padding:8px;background:white}.ted-discovery-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ted-link-btn,.ted-mini-link{border:0;background:transparent;color:var(--ted-green);text-decoration:underline;cursor:pointer;padding:5px}.ted-grid{display:grid;gap:14px;margin-bottom:16px}.ted-grid-2{grid-template-columns:1fr 1fr}.ted-card{border:1px solid rgba(46,65,32,.14);border-radius:16px;background:#fff;padding:16px}.ted-card h3{font-size:22px;margin:0 0 8px}.ted-inline-form{display:flex;gap:8px;margin:14px 0 9px}.ted-inline-form input{flex:1;min-width:0;border:1px solid rgba(46,65,32,.22);border-radius:10px;padding:10px 12px}.ted-chips{display:flex;gap:7px;flex-wrap:wrap}.ted-chip{border:1px solid rgba(46,65,32,.18);background:#fff;border-radius:999px;padding:6px 10px;color:var(--ted-green);cursor:pointer}.ted-suggestions-section,.ted-lab-section{margin:18px 0}.ted-suggestions-title{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:10px}.ted-suggestions-title h3{font-size:21px;margin:0}.ted-filter-chips{display:flex;gap:7px;flex-wrap:wrap}.ted-filter-chips button{border:1px solid rgba(46,65,32,.16);background:white;color:var(--ted-green);border-radius:999px;padding:6px 10px;cursor:pointer}.ted-filter-chips button.is-active{background:var(--ted-green);color:white}.ted-suggestions-list{display:grid;gap:8px}.ted-suggestion-card{display:grid;grid-template-columns:58px 1fr;gap:12px;padding:13px 15px;border-left:3px solid var(--ted-fuchsia);border-radius:12px;background:#fff;box-shadow:0 2px 12px rgba(46,65,32,.05)}.ted-suggestion-date{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#eef1e7;border-radius:10px;min-height:56px}.ted-suggestion-date b{font-size:20px}.ted-suggestion-date span{font-size:10px}.ted-suggestion-copy small{font-size:10px;color:var(--ted-fuchsia);font-weight:800;text-transform:uppercase}.ted-suggestion-copy h3{margin:3px 0 5px;font-size:17px}.ted-suggestion-copy p{margin:4px 0;font-size:12px;opacity:.75}.ted-suggestion-copy a{font-size:11px;font-weight:700}.ted-ideas{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.ted-idea{text-align:left;border:1px solid rgba(46,65,32,.14);border-radius:13px;background:#fff;padding:12px;color:var(--ted-green);cursor:pointer}.ted-idea span,.ted-idea strong,.ted-idea p,.ted-idea time{display:block}.ted-idea span{font-size:10px;font-weight:800;color:var(--ted-fuchsia)}.ted-idea strong{margin:4px 0}.ted-idea p{font-size:12px;opacity:.72}.ted-idea time{font-size:10px;opacity:.55}[data-ted-idea-form]{display:grid;gap:12px}[data-ted-idea-form] label{display:grid;gap:5px;font-weight:700}[data-ted-idea-form] input,[data-ted-idea-form] select,[data-ted-idea-form] textarea{width:100%;border:1px solid rgba(46,65,32,.22);border-radius:10px;padding:10px;background:#fff}.ted-modal-actions{display:flex;gap:8px;justify-content:flex-end}.ted-btn-danger{background:#8a2832!important}@media(max-width:820px){.ted-discovery-bar{grid-template-columns:1fr}.ted-grid-2{grid-template-columns:1fr}.ted-suggestions-title{align-items:flex-start;flex-direction:column}}

/* ========================================================================== 
   TreeEnd Design 1.4.0 — renderer nativo Music-style
   Il layout visibile è uno solo: Design. Nessun blocco Libri può restare montato
   quando il Layer Design è attivo.
   ========================================================================== */
body.treeend-design-layer-active #treeend-next-discovery-intro{display:none!important}
body.treeend-design-layer-active .teb-footer-mount{display:none!important}

#treeend-design.ted-wrap{max-width:1180px;margin:28px auto;padding:0 16px;box-sizing:border-box;color:#263021}
#treeend-design .ted-head{background:transparent;border:0;border-radius:0;padding:0;margin:0 0 18px;align-items:flex-end}
#treeend-design .ted-brand{display:flex;align-items:center;gap:14px}
#treeend-design .ted-design-symbol{width:54px;height:54px;display:grid;place-items:center;flex:0 0 54px;background:#2E4120;color:#F7F3E8;border-radius:12px;font-size:28px;font-weight:800}
#treeend-design .ted-kicker{color:#e90070;font-size:12px;letter-spacing:.13em;font-weight:850}
#treeend-design .ted-head h2{margin:.25rem 0 0;font-size:clamp(22px,3vw,34px);line-height:1.18;color:#2E4120}
#treeend-design .ted-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
#treeend-design .ted-system-badge{border:1px solid rgba(46,65,32,.2);border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800;color:#2E4120;background:#fff}
#treeend-design .ted-contests-button{border:1px solid rgba(46,65,32,.2);background:#fff;color:#2E4120;border-radius:999px;padding:6px 8px 6px 12px}
#treeend-design .ted-contests-button strong{background:#e90070;color:#fff}
#treeend-design .ted-layer{display:grid;gap:18px}

#treeend-design .ted-design-valley-hero{display:grid;grid-template-columns:92px 1fr;align-items:center;gap:16px;background:#2E4120;color:#fff;border-radius:22px;padding:18px 20px;position:relative;overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,.08)}
#treeend-design .ted-design-valley-hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:#e90070}
#treeend-design .ted-hero-mark{width:72px;height:72px;border-radius:14px;background:#F7F3E8;color:#2E4120;display:grid;place-items:center;font-size:25px;font-weight:900;letter-spacing:.04em}
#treeend-design .ted-hero-copy{min-width:0}
#treeend-design .ted-hero-label{display:block;font-size:11px;font-weight:850;letter-spacing:.13em;opacity:.82;margin-bottom:7px}
#treeend-design .ted-hero-project{display:flex;align-items:center;gap:14px;border:0;background:transparent;color:#fff;padding:0;text-align:left;cursor:pointer;font:inherit;max-width:100%}
#treeend-design .ted-hero-project img{width:66px;height:66px;object-fit:cover;border-radius:12px;flex:0 0 66px}
#treeend-design .ted-hero-project span{display:grid;gap:3px;min-width:0}
#treeend-design .ted-hero-project strong{font-size:21px;line-height:1.2;color:#fff}
#treeend-design .ted-hero-project small{font-size:13px;color:#fff;opacity:.8}
#treeend-design .ted-hero-copy>strong{display:block;font-size:21px;margin-bottom:4px}
#treeend-design .ted-hero-copy>small{opacity:.8}

#treeend-design .ted-contest-banner{margin:0;border-radius:18px;background:linear-gradient(135deg,#fff,#f6f7f2);border:1px solid #d9ddd4;padding:15px 17px}
#treeend-design .ted-discovery-bar{margin:0;border-radius:18px;background:#f4f2ed;border:1px solid #d9ddd4;padding:15px 17px}
#treeend-design .ted-discovery-copy strong{color:#2E4120}
#treeend-design .ted-discovery-copy small{color:#6d7468;opacity:1}
#treeend-design .ted-btn{background:#2E4120}
#treeend-design .ted-btn-secondary{background:#fff!important;border:1px solid #2E4120;color:#2E4120!important}
#treeend-design .ted-btn-location{border:2px solid #2E4120!important;background:#f5f1dc!important;color:#2E4120!important}
#treeend-design .ted-link-btn,#treeend-design .ted-mini-link{color:#2E4120}

#treeend-design .ted-grid{margin:0;gap:16px}
#treeend-design .ted-card{border:1px solid #d9ddd4;border-radius:18px;background:#fff;padding:18px}
#treeend-design .ted-card h3{font-size:23px;color:#2E4120}
#treeend-design .ted-muted{color:#6d7468;opacity:1}
#treeend-design input,#treeend-design select,#treeend-design textarea{border:1px solid #cfd5ca;border-radius:10px;background:#fff}
#treeend-design .ted-chip{border:1px solid #2E4120;color:#2E4120}
#treeend-design .ted-chip span{color:#e90070}

#treeend-design .ted-suggestions-section,#treeend-design .ted-selected-section,#treeend-design .ted-lab-section{margin:0}
#treeend-design .ted-suggestions-title,#treeend-design .ted-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}
#treeend-design .ted-suggestions-title h3,#treeend-design .ted-section-title h3{margin:0;font-size:23px;color:#2E4120}
#treeend-design .ted-suggestions-actions{display:grid;gap:8px;justify-items:end}
#treeend-design .ted-filter-chips{justify-content:flex-end}
#treeend-design .ted-filter-chips button{border:1px solid #d9ddd4;background:#fff;color:#2E4120}
#treeend-design .ted-filter-chips button.is-active{background:#2E4120;border-color:#2E4120;color:#fff}
#treeend-design .ted-event-links{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
#treeend-design .ted-event-links button{border:0;background:transparent;color:#2E4120;text-decoration:underline;cursor:pointer;font:inherit;font-size:11px;padding:3px}
#treeend-design .ted-event-links b{color:#e90070;text-decoration:none}
#treeend-design .ted-suggestions-list{display:grid;gap:10px}
#treeend-design .ted-suggestion-card{grid-template-columns:72px 1fr;border-left:4px solid #e90070;border-radius:12px;background:#fff;padding:14px 16px;box-shadow:0 3px 14px rgba(0,0,0,.04)}
#treeend-design .ted-suggestion-date{background:transparent;border-radius:0;min-height:0}
#treeend-design .ted-suggestion-date b{font-size:28px;color:#2E4120;line-height:1}
#treeend-design .ted-suggestion-date span{font-size:11px;letter-spacing:.1em}
#treeend-design .ted-suggestion-copy small{color:#e90070}
#treeend-design .ted-suggestion-copy h3{font-size:18px;color:#263021}
#treeend-design .ted-suggestion-copy p{color:#6d7468;opacity:1}

#treeend-design .ted-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#treeend-design .ted-project-card{border:1px solid #d9ddd4;border-radius:16px;background:#fff;overflow:hidden;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
#treeend-design .ted-project-card:hover,#treeend-design .ted-project-card:focus-visible{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.08);outline:2px solid rgba(46,65,32,.12);outline-offset:2px}
#treeend-design .ted-project-image{aspect-ratio:4/3;background:#eef1e8;display:grid;place-items:center;overflow:hidden;color:#2E4120;font-weight:900;letter-spacing:.1em}
#treeend-design .ted-project-image img{width:100%;height:100%;object-fit:cover;display:block}
#treeend-design .ted-project-copy{padding:12px;display:grid;gap:4px}
#treeend-design .ted-project-copy small{color:#e90070;font-size:10px;font-weight:850;letter-spacing:.06em}
#treeend-design .ted-project-copy strong{color:#2E4120;font-size:16px;line-height:1.25}
#treeend-design .ted-project-copy span{color:#6d7468;font-size:13px}

#treeend-design .ted-ideas{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#treeend-design .ted-idea{border:1px solid #d9ddd4;border-radius:14px;padding:14px;color:#263021}
#treeend-design .ted-idea span{color:#e90070}
#treeend-design .ted-idea strong{color:#2E4120}
#treeend-design .ted-idea p{color:#6d7468;opacity:1}
#treeend-design .ted-agenda-note{border-top:1px solid #d9ddd4;padding:14px 4px 0;margin-top:2px}

/* Il modal tecnico conserva i data-attribute storici, ma è visualmente Design. */
#treeend-design .ted-book-detail{grid-template-columns:minmax(180px,260px) 1fr}
#treeend-design .ted-detail-cover-placeholder{background:#2E4120;color:#F7F3E8}
#treeend-design .ted-amazon{background:#2E4120!important}

@media(max-width:820px){
  #treeend-design .ted-head{align-items:flex-start;flex-direction:column}
  #treeend-design .ted-head-actions{justify-content:flex-start}
  #treeend-design .ted-design-valley-hero{grid-template-columns:1fr}
  #treeend-design .ted-hero-mark{width:58px;height:58px}
  #treeend-design .ted-grid-2,#treeend-design .ted-project-grid,#treeend-design .ted-ideas{grid-template-columns:1fr}
  #treeend-design .ted-suggestions-title,#treeend-design .ted-section-title{flex-direction:column}
  #treeend-design .ted-suggestions-actions{justify-items:start}
  #treeend-design .ted-filter-chips,#treeend-design .ted-event-links{justify-content:flex-start}
}

/* Design 1.5: vetrina e laboratorio, senza alterare le sezioni esistenti */
.ted-valley-showcase{margin:16px 0 24px}.ted-valley-showcase .te-design{max-width:100%}.ted-creative-hub{margin:24px 0}.ted-creative-hub>.ted-grid{margin-top:14px}.ted-creative-hub .ted-card{min-width:0}

.ted-design-nav{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.ted-design-nav a{padding:9px 12px;border:1px solid currentColor;border-radius:18px;text-decoration:none;font-weight:600;font-size:13px}.ted-design-nav a:hover{opacity:.7}

/* Navigazione testuale Design: isolata per non interferire con i menu personali TreeEnd. */
#treeend-design .ted-word-nav{display:flex;flex-wrap:wrap;gap:6px 16px;margin:7px 0 0;font-size:clamp(19px,2.3vw,28px);font-weight:700;line-height:1.4}
#treeend-design .ted-word-nav a,#treeend-design .ted-word-nav a:visited{color:#2E4120!important;text-decoration:none!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;border-radius:0!important;transition:color .15s}
#treeend-design .ted-word-nav a:hover,#treeend-design .ted-word-nav a:focus-visible,#treeend-design .ted-word-nav a:active{color:#d00082!important;text-decoration:none!important}
#treeend-design .ted-word-nav a:focus-visible{outline:2px solid #d00082;outline-offset:3px}
#treeend-design .ted-brand>div{min-width:0}

/* Design 2.0 · Lab, proposal and sharing. Strictly inside Design. */
#treeend-design .ted-word-nav{display:flex;flex-wrap:wrap;gap:clamp(9px,1.5vw,20px);align-items:center;margin:10px 0 0}
#treeend-design .ted-word-nav a{font-weight:750;text-decoration:none!important;border:0!important;background:none!important;color:#2E4120!important;font-size:clamp(12px,1.35vw,16px);padding:5px 0;transition:color .16s}
#treeend-design .ted-word-nav a:hover,#treeend-design .ted-word-nav a:focus-visible{color:#e90070!important}
#treeend-design .ted-word-nav a.is-active{color:#e90070!important}
#treeend-design .ted-tools-workspace{display:grid;gap:15px;grid-template-columns:1fr 1fr}
#treeend-design .ted-tool-column{background:#f5f6f1;padding:12px;border:1px solid #e2e7dc;border-radius:14px;min-width:0}
#treeend-design .ted-tool-column h4{margin:0 0 6px;font-size:17px}
#treeend-design .ted-tool-chips{display:flex;flex-wrap:wrap;gap:6px}
#treeend-design .ted-tool-chips span{padding:6px 8px;background:#fff;border:1px solid #dae2d8;border-radius:30px;font-size:12px}
#treeend-design .ted-card-wide{grid-column:1/-1}
#treeend-design [data-ted-tool-form]{display:flex;flex-wrap:wrap;gap:6px}
#treeend-design [data-ted-tool-form] input{flex:1;min-width:135px;padding:9px}
#treeend-design .ted-tool-list{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:7px}
#treeend-design .ted-tool-list li{display:flex;align-items:center;gap:8px;padding:5px 9px;background:white;border-radius:12px}
#treeend-design .ted-tool-list li button{border:0;background:none;cursor:pointer;color:#a4224b;font-size:19px}
#treeend-design .ted-design-proposal{display:grid;gap:12px;max-width:840px}
#treeend-design .ted-design-proposal label{display:grid;gap:5px;font-weight:650}
#treeend-design .ted-design-proposal :is(input:not([type=checkbox]),select,textarea){width:100%;padding:9px 12px}
#treeend-design .ted-design-proposal .ted-rights{display:flex;align-items:flex-start;gap:8px;font-size:13px;font-weight:400}
#treeend-design .ted-rights input{flex:0 0 auto;margin-top:4px}
#treeend-design .ted-design-publish,#treeend-design .ted-design-share{background:#fff;border-radius:18px;border:1px solid #d9ddd4;padding:18px}
#treeend-design .ted-design-share{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
#treeend-design .ted-design-share h3{flex-basis:100%;margin:0}
#treeend-design .ted-design-share p{flex-basis:100%;margin:0}
@media(max-width:680px){#treeend-design .ted-tools-workspace{grid-template-columns:1fr}}

/* 2.0.6: feed news Design, discreto come SEGUI di Music, max 10 per caricamento. */
#treeend-design .ted-news-box{margin-top:18px;padding-top:14px;border-top:1px solid #e1e9e0;}
#treeend-design .ted-news-box h3{margin:0 0 5px;font-size:clamp(16px,1.7vw,19px);}
#treeend-design .ted-news-list{display:grid;gap:10px;margin:12px 0;}
#treeend-design .ted-news-entry{display:flex;gap:12px;align-items:flex-start;border-left:3px solid #438d5a;background:#fdfefd;border-radius:0 10px 10px 0;padding:12px;box-shadow:0 1px 5px #172c1610;}
#treeend-design .ted-news-entry>img{width:88px;height:74px;object-fit:cover;border-radius:6px;flex:none;}
#treeend-design .ted-news-entry-content{display:grid;gap:4px;min-width:0;}
#treeend-design .ted-news-entry-content>small{font-size:11px;color:#60705d;}
#treeend-design .ted-news-entry-content>strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere;}
#treeend-design .ted-news-entry-content>p{font-size:12px;line-height:1.45;color:#52604f;margin:0;}
#treeend-design .ted-news-entry-content>a{font-size:12px;font-weight:650;color:#2c7044;text-decoration:none;}
@media(max-width:520px){#treeend-design .ted-news-entry{padding:9px;gap:9px;}#treeend-design .ted-news-entry>img{width:65px;height:65px;}}


/* 2.0.8: layout SEGUI = persone sopra, notizie seguite sotto.
   ISPIRATI rimane indipendente, senza riproporre i preferiti. */
#treeend-design #ted-follow{min-width:0;}
#treeend-design .ted-follow-people h4,
#treeend-design .ted-followed-news h4,
#treeend-design .ted-followed-events h4{font-size:clamp(15px,1.65vw,19px);margin:0 0 10px;color:#2e4120;}
#treeend-design .ted-followed-news{margin-top:22px;padding-top:16px;border-top:1px solid #e1e9e0;}
#treeend-design .ted-followed-news .ted-news-list{margin:10px 0;}
#treeend-design .ted-followed-events{margin-top:20px;padding-top:16px;border-top:1px solid #e1e9e0;}
#treeend-design .ted-followed-events .ted-suggestions-list{margin-top:10px;}

/* DESIGN 2.0.10 · Incontra / Agenda in posizione corretta. Solo layout. */
#treeend-next-portal.teae-on #treeend-design.ted-layer-active .ted-head{display:none!important}
#treeend-design .ted-incontra{padding:18px;border-radius:16px;background:#f8faf6;border:1px solid #dfe8dc;margin-bottom:18px}
#treeend-design .ted-incontra-intro h3{font-size:clamp(19px,2.2vw,26px);margin:5px 0 6px;color:#2e4120}
#treeend-design .ted-incontra-intro p{margin:0 0 16px;color:#566451;font-size:14px;line-height:1.55;max-width:850px}
#treeend-design .ted-incontra-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#treeend-design .ted-incontra-card{background:#fff;border:1px solid #dfe8dc;border-radius:12px;padding:16px;display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:8px}
#treeend-design .ted-incontra-icon{font-size:25px;line-height:1;color:#37754a}
#treeend-design .ted-incontra-card h4{font-size:17px;line-height:1.35;margin:2px 0;color:#30472c}
#treeend-design .ted-incontra-card p{font-size:13px;line-height:1.55;color:#52634e;margin:0 0 auto}
#treeend-design .ted-incontra-card .ted-btn{font-size:12px;margin-top:10px;text-align:center;white-space:normal}
#treeend-design .ted-incontra-disclaimer{color:#647160;font-size:12px;margin:14px 0 0}
#treeend-design .ted-agenda-anchor{margin:24px 0 10px;padding:0 0 12px;display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px}
#treeend-design .ted-agenda-anchor .ted-agenda-link{font-weight:750;font-size:clamp(21px,2.25vw,27px);color:#2e4120;text-decoration:none}
#treeend-design .ted-agenda-anchor .ted-agenda-link:hover,#treeend-design .ted-agenda-anchor .ted-agenda-link:focus-visible{color:#2e6946;text-decoration:underline}
#treeend-design .ted-agenda-anchor>span{font-size:13px;line-height:1.45;color:#596955;font-weight:400}
#treeend-design [data-ted-match-form]{display:grid;gap:11px;margin-top:15px}
#treeend-design [data-ted-match-form] label{display:grid;gap:5px;font-weight:650;color:#2e4120;font-size:14px}
#treeend-design [data-ted-match-form] :is(input:not([type=checkbox]),textarea,select){width:100%;box-sizing:border-box;border:1px solid #ccd8c9;border-radius:9px;padding:10px 12px;background:#fff;font:inherit}
#treeend-design [data-ted-match-form] label.ted-rights{display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-weight:400;line-height:1.4;font-size:12px}
#treeend-design .ted-incontra-trap{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
#treeend-design [data-ted-match-form] [data-ted-match-budget][hidden]{display:none!important}
#treeend-design [data-ted-match-form] [data-ted-match-status]{font-size:13px;color:#2e6946;margin:0}
@media(max-width:850px){#treeend-design .ted-incontra-grid{grid-template-columns:1fr}}

#treeend-design .ted-agenda-anchor{scroll-margin-top:calc(var(--teae-toolbar-height,70px) + var(--teae-admin-offset,0px) + 20px)}
