/* Loaded only by the tasks and events preview. */
.rb-next-preview .rb-nav-note{display:none}
.rb-next-preview .rb-nav{gap:28px}
.rb-next-preview .rb-task-section{background:#f3f6f8}
.rb-next-preview .rb-task-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.rb-next-preview .rb-task-card{display:block;background:#fff;border:1px solid var(--rb-line);transition:border-color .2s ease}
.rb-next-preview .rb-task-card:hover{border-color:var(--rb-blue)}
.rb-next-preview .rb-task-art{height:190px;display:flex;align-items:center;justify-content:center;color:var(--rb-blue);background:linear-gradient(135deg,#fff,#edf3f7)}
.rb-next-preview .rb-task-art svg{height:132px;width:120px}
.rb-next-preview .rb-task-label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:23px 22px;border-top:1px solid var(--rb-line)}
.rb-next-preview .rb-task-label h3{font-size:17px;line-height:1.4;text-transform:uppercase;overflow-wrap:anywhere}
.rb-next-preview .rb-task-label>.rb-icon{width:18px;color:var(--rb-blue)}
.rb-next-preview .rb-events-intro{margin-top:14px;color:var(--rb-muted);font-size:14px;max-width:570px}
.rb-next-preview .rb-events-section h1{font-size:58px;line-height:1.15;letter-spacing:-1.8px}
.rb-next-preview .rb-event-feature{display:grid;grid-template-columns:1.15fr 1fr;border:1px solid var(--rb-line);background:#f6f8fa}
.rb-next-preview .rb-event-poster{display:flex;align-items:center;justify-content:center;background:#fff;min-width:0}
.rb-next-preview .rb-event-poster img{width:100%;height:auto}
.rb-next-preview .rb-event-copy{padding:38px 42px;align-self:center;min-width:0}
.rb-next-preview .rb-event-status{display:inline-block;padding:5px 11px;color:var(--rb-blue-dark);background:#e4eef5;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:17px}
.rb-next-preview .rb-event-copy h2,.rb-next-preview .rb-event-copy h3{font-size:32px;line-height:1.2;letter-spacing:-.7px;margin-bottom:18px}
.rb-next-preview .rb-event-summary{color:var(--rb-muted);font-size:12px}
.rb-next-preview .rb-event-facts{margin:22px 0;font-size:12px}
.rb-next-preview .rb-event-facts>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--rb-line)}
.rb-next-preview .rb-event-facts dt{color:var(--rb-muted)}
.rb-next-preview .rb-event-facts dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.rb-next-preview .rb-event-feature-full{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.rb-next-preview .rb-event-feature-full .rb-event-poster{padding:24px}
.rb-next-preview .rb-event-feature-full .rb-event-poster img{max-width:480px}
.rb-next-preview .rb-event-feature-full .rb-event-copy{align-self:start;padding-top:60px}
.rb-next-preview .rb-events-note{font-size:12px;color:var(--rb-muted);margin-top:24px}
.rb-next-preview .rb-event-updates{margin-top:48px}
.rb-next-preview .rb-event-updates>h2{font-size:28px;margin-bottom:28px}
@media(max-width:1250px){.rb-next-preview .rb-nav{gap:20px;font-size:11px}.rb-next-preview .rb-event-copy{padding:28px}.rb-next-preview .rb-task-label{padding:20px 16px}.rb-next-preview .rb-task-label h3{font-size:15px}}
@media(max-width:900px){.rb-next-preview .rb-task-grid{gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.rb-next-preview .rb-event-feature{grid-template-columns:1fr}.rb-next-preview .rb-event-poster img{max-width:700px}.rb-next-preview .rb-event-feature-full .rb-event-copy{padding-top:28px}}
@media(max-width:760px){.rb-next-preview .rb-task-art{height:145px}.rb-next-preview .rb-task-art svg{height:110px;width:100px}.rb-next-preview .rb-task-label{padding:18px 12px;gap:6px}.rb-next-preview .rb-task-label h3{font-size:12px}.rb-next-preview .rb-task-label>.rb-icon{width:16px}.rb-next-preview .rb-event-copy{padding:26px 22px}.rb-next-preview .rb-event-copy h2,.rb-next-preview .rb-event-copy h3{font-size:29px}.rb-next-preview .rb-events-section h1{font-size:43px}.rb-next-preview .rb-events-intro{font-size:13px}.rb-next-preview .rb-event-feature-full .rb-event-poster{padding:14px}.rb-next-preview .rb-event-facts>div{grid-template-columns:65px minmax(0,1fr)}.rb-next-preview .rb-nav{gap:0}}
@media(prefers-reduced-motion:reduce){.rb-next-preview .rb-task-card{transition:none}}

/* Abstract tool models: a quiet studio stage within each existing task link. */
.rb-next-preview .rb-task-motion-controls{display:flex;justify-content:flex-end;margin:-12px 0 18px;min-height:44px}
.rb-next-preview .rb-tool-motion-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 12px;color:var(--rb-blue-dark);background:transparent;border:1px solid #b4c9d8;border-radius:2px;font-size:11px;font-weight:600;line-height:1.5}
.rb-next-preview .rb-tool-motion-toggle:hover{background:#e7eff5}
.rb-next-preview .rb-tool-play-icon{display:none}
.rb-next-preview .rb-tool-motion-toggle[aria-pressed=true] .rb-tool-pause-icon{display:none}
.rb-next-preview .rb-tool-motion-toggle[aria-pressed=true] .rb-tool-play-icon{display:block}
.rb-next-preview .rb-task-art{position:relative;height:235px;isolation:isolate;background:#f5f8fa;overflow:hidden}
.rb-next-preview .rb-tool-canvas{position:absolute;inset:0;display:none;width:100%;height:100%;pointer-events:none;z-index:1}
.rb-next-preview .rb-task-art.is-ready .rb-tool-canvas{display:block}
.rb-next-preview .rb-tool-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.rb-next-preview .rb-task-art.is-ready .rb-tool-fallback{display:none}
.rb-next-preview .rb-tool-shadow{display:none;position:absolute;bottom:20px;left:22%;width:56%;height:15px;border-radius:50%;background:radial-gradient(ellipse,rgba(35,69,90,.18),rgba(35,69,90,0) 70%);pointer-events:none}
.rb-next-preview .rb-task-art.is-ready .rb-tool-shadow{display:block}
@media(max-width:760px){.rb-next-preview .rb-task-art{height:185px}.rb-next-preview .rb-tool-shadow{bottom:14px}.rb-next-preview .rb-task-motion-controls{margin-top:0}.rb-next-preview .rb-tool-motion-toggle{font-size:10px}}

/* Keep long German event labels readable on narrow phones. */
@media(max-width:760px){
  html[lang="de"] .rb-next-preview .rb-events-section h1{font-size:clamp(26px,8vw,43px)}
  html[lang="de"] .rb-next-preview .rb-event-facts>div{grid-template-columns:82px minmax(0,1fr)}
}
