html:has(.nre-app),body:has(.nre-app){background:#070a11!important}
.nre-app{--o:#ff8b00;--os:#ffbd42;--p:#9147ff;--c:#00dfe9;--bg:#070a11;--panel:#0d121c;--panel2:#121925;--text:#f4f6fb;--muted:#aeb6c5;--dim:#747f8f;--line:rgba(255,255,255,.085);position:relative;width:100%;max-width:none;margin:0;color:var(--text);font-family:Inter,Poppins,Arial,sans-serif;background:radial-gradient(circle at 10% 0,rgba(255,139,0,.11),transparent 28%),radial-gradient(circle at 82% 2%,rgba(145,71,255,.13),transparent 31%),linear-gradient(180deg,#080b12,#070a11);overflow:hidden}.nre-app,.nre-app *{box-sizing:border-box}.nre-app a{text-decoration:none!important}.nre-page-shell{width:min(100%,1520px);margin:0 auto;padding:44px 34px 80px}.nre-topbar{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:24px}.nre-eyebrow,.nre-section-label{display:inline-block;color:var(--os);font-size:11px;font-weight:900;letter-spacing:1.5px;text-transform:uppercase}.nre-topbar h1{max-width:920px;margin:12px 0 8px;color:#fff;font-size:clamp(38px,5vw,72px);line-height:.98;letter-spacing:-2.8px}.nre-topbar p{max-width:760px;margin:0;color:var(--muted);font-size:15px;line-height:1.65}.nre-user{display:flex;align-items:center;gap:11px;flex:0 0 auto;padding:8px 12px;border:1px solid var(--line);border-radius:15px;background:rgba(13,18,28,.88)}.nre-user img{display:block!important;width:42px!important;height:42px!important;min-width:42px!important;margin:0!important;border-radius:50%!important;object-fit:cover!important}.nre-user strong,.nre-user span{display:block}.nre-user span{color:var(--c);font-size:11px}.nre-notice{display:flex;gap:12px;align-items:center;margin:18px 0;padding:14px 16px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.035)}.nre-notice strong{color:#fff}.nre-notice span{color:var(--muted)}.nre-notice--success{border-color:rgba(0,223,233,.3);background:rgba(0,223,233,.06)}.nre-notice--error{border-color:rgba(255,85,105,.35);background:rgba(255,85,105,.08)}.nre-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:25px 0}.nre-tabs a{padding:11px 15px;border:1px solid var(--line);border-radius:10px;color:var(--muted)!important;background:rgba(255,255,255,.025);font-size:12px;font-weight:850}.nre-tabs a:hover,.nre-tabs a.is-active{color:#fff!important;border-color:rgba(255,139,0,.42);background:linear-gradient(100deg,rgba(255,139,0,.15),rgba(145,71,255,.12))}.nre-section{margin-top:24px;padding:24px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,rgba(15,20,31,.96),rgba(8,11,19,.96));box-shadow:0 22px 55px rgba(0,0,0,.24)}.nre-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.nre-section h2{margin:7px 0 0;color:#fff;font-size:26px}.nre-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.nre-event-card{display:block;padding:19px;border:1px solid var(--line);border-radius:16px;color:#fff!important;background:var(--panel2);transition:.2s}.nre-event-card:hover{transform:translateY(-3px);border-color:rgba(145,71,255,.5);box-shadow:0 18px 38px rgba(0,0,0,.25)}.nre-event-card__top,.nre-event-card footer{display:flex;justify-content:space-between;gap:12px;align-items:center}.nre-event-card__top span{padding:5px 8px;border-radius:999px;color:#fff;background:linear-gradient(100deg,#ff8b00,#9147ff);font-size:10px;font-weight:900}.nre-event-card__top small,.nre-event-card footer span{color:var(--dim)}.nre-event-card h3{margin:22px 0 6px;font-size:20px}.nre-event-card p{margin:0 0 25px;color:var(--muted)}.nre-event-card footer{padding-top:14px;border-top:1px solid var(--line);font-size:12px}.nre-event-card footer b{color:var(--c)}.nre-empty{text-align:center;padding:45px 20px;border:1px dashed rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.018)}.nre-empty--small{padding:25px}.nre-empty__icon{font-size:34px}.nre-empty h3{margin:10px 0 6px}.nre-empty p{margin:0;color:var(--muted)}.nre-split-card,.nre-invite-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.7fr);gap:26px;align-items:center}.nre-split-card p,.nre-invite-card p{color:var(--muted);line-height:1.6}.nre-inline-form,.nre-copy-row,.nre-team-form{display:flex;gap:10px;align-items:center}.nre-app input,.nre-app textarea,.nre-app select{width:100%;border:1px solid var(--line);border-radius:10px;background:#0a0f18;color:#fff;padding:12px 13px;font:inherit;outline:none}.nre-app input:focus,.nre-app textarea:focus,.nre-app select:focus{border-color:rgba(0,223,233,.55);box-shadow:0 0 0 3px rgba(0,223,233,.08)}.nre-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid transparent;border-radius:10px;color:#fff!important;font-weight:900;cursor:pointer;white-space:nowrap}.nre-button--primary{background:linear-gradient(100deg,#ff9500,#ff6418 55%,#9c3fda);box-shadow:0 12px 30px rgba(255,98,16,.15)}.nre-button--ghost{border-color:rgba(145,71,255,.5);background:rgba(255,255,255,.025)}.nre-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.nre-form label span{display:block;margin-bottom:7px;color:#d9dde5;font-size:12px;font-weight:800}.nre-form-wide,.nre-form-actions{grid-column:1/-1}.nre-form-actions{display:flex;justify-content:flex-end}.nre-back{display:inline-flex;margin:0 0 18px;color:var(--c)!important;font-size:12px;font-weight:850}.nre-event-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(380px,.8fr);gap:26px;padding:27px;border:1px solid var(--line);border-radius:22px;background:radial-gradient(circle at 100% 0,rgba(145,71,255,.17),transparent 35%),linear-gradient(145deg,#111723,#090d15)}.nre-badges{display:flex;gap:8px}.nre-badges span{padding:6px 9px;border-radius:999px;background:rgba(255,139,0,.12);color:var(--os);font-size:10px;font-weight:900}.nre-event-hero h2{margin:15px 0 9px;color:#fff;font-size:clamp(32px,4vw,54px);line-height:1}.nre-event-hero p{margin:0;color:var(--muted);line-height:1.65}.nre-event-meta{display:grid;gap:10px}.nre-event-meta div{padding:14px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.025)}.nre-event-meta small,.nre-event-meta strong{display:block}.nre-event-meta small{color:var(--dim);font-size:10px;text-transform:uppercase;letter-spacing:1px}.nre-event-meta strong{margin-top:5px}.nre-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.nre-card{padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.nre-card h3{margin:8px 0 12px}.nre-card p,.nre-richtext{color:var(--muted);line-height:1.7}.nre-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.nre-team{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid var(--line);border-radius:13px;background:var(--panel2)}.nre-team-dot{width:12px;height:12px;border-radius:50%;background:var(--team);box-shadow:0 0 14px var(--team)}.nre-team strong,.nre-team small{display:block}.nre-team small{margin-top:3px;color:var(--dim)}.nre-team-form{margin-top:15px}.nre-team-form input[type=color]{width:56px;min-width:56px;height:44px;padding:4px}.nre-message{max-width:600px;margin:90px auto;padding:34px;text-align:center;border:1px solid var(--line);border-radius:22px;background:var(--panel)}.nre-message p{color:var(--muted)}@media(max-width:980px){.nre-event-grid,.nre-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nre-event-hero,.nre-split-card,.nre-invite-card{grid-template-columns:1fr}.nre-topbar{align-items:flex-start;flex-direction:column}.nre-user{width:100%}}@media(max-width:650px){.nre-page-shell{padding:26px 15px 55px}.nre-event-grid,.nre-team-grid,.nre-detail-grid,.nre-form{grid-template-columns:1fr}.nre-form-wide,.nre-form-actions{grid-column:auto}.nre-inline-form,.nre-copy-row,.nre-team-form{align-items:stretch;flex-direction:column}.nre-team-form input[type=color]{width:100%}.nre-topbar h1{font-size:40px;letter-spacing:-1.6px}.nre-section{padding:18px}}
.nre-invite-options{display:grid;gap:14px}.nre-copy-block label{display:block;margin:0 0 7px;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.8px}.nre-code-input{font-size:18px!important;font-weight:900!important;letter-spacing:2px!important;color:var(--os)!important}.nre-participants{margin-top:28px;padding-top:25px;border-top:1px solid var(--line)}.nre-section-head--participants{margin-bottom:14px}.nre-count-badge{display:inline-flex;min-width:34px;height:34px;align-items:center;justify-content:center;border:1px solid rgba(0,223,233,.28);border-radius:999px;background:rgba(0,223,233,.08);color:var(--c);font-weight:900}.nre-participant-list{display:grid;gap:10px}.nre-participant{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:var(--panel2)}.nre-participant-person{display:flex;align-items:center;gap:12px;min-width:220px}.nre-participant-person img,.nre-avatar-fallback{width:44px!important;height:44px!important;min-width:44px!important;border-radius:50%!important;object-fit:cover!important}.nre-avatar-fallback{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--o),var(--p));color:#fff;font-weight:900}.nre-participant-person strong,.nre-participant-person small{display:block}.nre-participant-person small{margin-top:3px;color:var(--dim)}.nre-assign-form{display:grid;grid-template-columns:minmax(230px,1fr) auto;gap:9px;align-items:center;min-width:min(100%,480px)}.nre-member-team{padding:8px 11px;border-radius:9px;background:rgba(255,255,255,.04);color:var(--muted);font-size:12px}@media(max-width:760px){.nre-participant{align-items:stretch;flex-direction:column}.nre-assign-form{width:100%;min-width:0;grid-template-columns:1fr}.nre-copy-row{display:grid;grid-template-columns:1fr auto}.nre-invite-options{width:100%}}@media(max-width:520px){.nre-copy-row{grid-template-columns:1fr}}

/* Smooth live actions */
.nre-team-form.is-saving,
.nre-assign-form.is-saving { opacity:.65; pointer-events:none; }
.nre-team--new { animation:nre-pop .32s ease both; }
.nre-participant.is-saved { box-shadow:0 0 0 1px rgba(31,220,135,.65),0 0 24px rgba(31,220,135,.12); }
.nre-assign-form select { transition:border-color .2s ease,box-shadow .2s ease,opacity .2s ease; }
.nre-live-toast { position:fixed; right:24px; bottom:24px; z-index:999999; max-width:min(390px,calc(100vw - 32px)); padding:14px 18px; border-radius:12px; background:#18202f; color:#fff; border:1px solid rgba(255,255,255,.12); box-shadow:0 18px 60px rgba(0,0,0,.38); opacity:0; transform:translateY(12px); pointer-events:none; transition:opacity .2s ease,transform .2s ease; font-weight:700; }
.nre-live-toast.is-visible { opacity:1; transform:translateY(0); }
.nre-live-toast.is-success { border-color:rgba(31,220,135,.55); }
.nre-live-toast.is-error { border-color:rgba(255,84,112,.65); }
@keyframes nre-pop { from { opacity:0; transform:translateY(8px) scale(.98); } to { opacity:1; transform:none; } }
@media (max-width:700px){.nre-live-toast{right:16px;bottom:16px;left:16px;max-width:none}}

/* v0.2.3 – automatic assignment and team personalization */
.nre-assign-form{display:block;min-width:min(100%,360px)}
.nre-assign-form select{width:100%}
.nre-team{display:block}
.nre-team-summary{display:flex;align-items:center;gap:12px}
.nre-team-icon{display:flex;width:42px;height:42px;min-width:42px;align-items:center;justify-content:center;border:1px solid color-mix(in srgb,var(--team) 45%,transparent);border-radius:12px;background:color-mix(in srgb,var(--team) 12%,transparent);overflow:hidden}
.nre-team-icon img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}
.nre-team-customize{margin-top:13px;padding-top:12px;border-top:1px solid var(--line)}
.nre-team-customize summary{cursor:pointer;color:var(--c);font-size:12px;font-weight:850;user-select:none}
.nre-team-edit-form{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:10px;margin-top:12px}
.nre-team-edit-form label span{display:block;margin:0 0 6px;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.7px}
.nre-team-edit-form input[type=color]{height:44px;padding:4px}
.nre-team-icon-field,.nre-team-edit-form button{grid-column:1/-1}
@media(max-width:650px){.nre-team-edit-form{grid-template-columns:1fr}.nre-team-icon-field,.nre-team-edit-form button{grid-column:auto}}
.nre-team-icon-field small{display:block;margin-top:6px;color:var(--dim);font-size:10px;line-height:1.45}
.nre-team-edit-form input[type=file]{padding:9px;background:rgba(255,255,255,.025)}
.nre-remove-icon{display:flex!important;grid-column:1/-1;align-items:center;gap:8px;color:var(--muted);font-size:11px}
.nre-remove-icon input{width:auto!important}
.nre-remove-icon span{margin:0!important;text-transform:none!important;letter-spacing:0!important}

/* v0.3.0 – Event Center, public discovery and protected invitations */
.nre-button--danger{border-color:rgba(255,84,112,.55);background:rgba(255,84,112,.09);color:#ff879d!important}
.nre-invite-toolbar{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.nre-secret-row{grid-template-columns:minmax(0,1fr) auto auto}
.nre-secret{filter:blur(7px);user-select:none;transition:filter .18s ease,opacity .18s ease}
.nre-secret.is-visible{filter:none;user-select:text}
.nre-invite-card.is-presentation .nre-secret{filter:blur(11px)!important;opacity:.58}
.nre-invite-card.is-presentation [data-nre-copy],.nre-invite-card.is-presentation [data-nre-reveal]{opacity:.45}
.nre-security-note{display:block;color:var(--dim);font-size:11px;line-height:1.55}
.nre-event-card--public{display:flex;flex-direction:column}
.nre-event-card--public footer{margin-top:auto}
.nre-event-card--public .nre-button{min-height:38px;padding:0 13px;text-decoration:none!important}
.nre-card-join-form{margin:0}
@media(max-width:760px){.nre-secret-row{grid-template-columns:1fr 1fr}.nre-secret-row input{grid-column:1/-1}}
@media(max-width:520px){.nre-secret-row{grid-template-columns:1fr}.nre-secret-row input{grid-column:auto}.nre-invite-toolbar{flex-direction:column}.nre-invite-toolbar .nre-button{width:100%}}
/* NixHub UI Kit integration */
.nre-invite-section{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.nre-invite-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);gap:26px;align-items:center;padding:24px}.nre-invite-danger{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 15px;border:1px solid rgba(255,85,112,.22);border-radius:13px;background:rgba(255,85,112,.055)}.nre-invite-danger strong,.nre-invite-danger span{display:block}.nre-invite-danger strong{color:#fff}.nre-invite-danger span{margin-top:3px;color:var(--muted);font-size:12px}.nre-app .nxui-button{font-family:inherit}.nre-invite-section.is-presentation .nxui-stream-guard{border-color:rgba(37,216,138,.36);background:linear-gradient(110deg,rgba(37,216,138,.1),rgba(0,223,233,.07))}.nre-invite-section.is-presentation .nre-secret{filter:blur(11px)!important;opacity:.52}.nre-invite-section.is-presentation [data-nx-sensitive-action]{pointer-events:none;opacity:.38}@media(max-width:980px){.nre-invite-card{grid-template-columns:1fr}}@media(max-width:760px){.nre-invite-danger{align-items:stretch;flex-direction:column}.nre-invite-danger .nxui-button{width:100%}}


/* v0.3.2 – UI Kit must visually win over WordPress/theme defaults */
.nre-app .nxui-button{background-image:none}
.nre-app .nxui-stream-guard--hero{margin-top:2px;margin-bottom:24px}
.nre-app .nre-invite-card{border-color:rgba(255,255,255,.1)}
.nre-app .nre-invite-options label{color:var(--os);font-size:10px;font-weight:900;letter-spacing:1.05px;text-transform:uppercase}
.nre-app .nre-invite-danger .nxui-button--danger{flex:0 0 auto}
@media(max-width:720px){.nre-app .nre-invite-danger .nxui-button--danger{width:100%!important}}

/* v0.4.0 beta – Event Center control shell */
.nre-control-center{display:grid;grid-template-columns:230px minmax(0,1fr);gap:22px;align-items:start}
.nre-control-sidebar{position:sticky;top:105px;padding:16px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:linear-gradient(180deg,rgba(19,25,39,.96),rgba(10,14,24,.96));box-shadow:0 18px 55px rgba(0,0,0,.22)}
.nre-control-sidebar .nre-back{display:block;margin:0 0 14px;padding:8px 10px;color:var(--muted)!important;text-decoration:none!important;font-size:12px;font-weight:800}
.nre-control-nav{display:grid;gap:5px}.nre-control-nav a{display:flex;min-height:42px;align-items:center;padding:0 12px;border:1px solid transparent;border-radius:11px;color:var(--muted)!important;text-decoration:none!important;font-size:13px;font-weight:800;transition:.18s ease}.nre-control-nav a:hover,.nre-control-nav a.is-active{border-color:rgba(255,139,0,.25);background:linear-gradient(100deg,rgba(255,139,0,.14),rgba(141,84,255,.1));color:#fff!important}
.nre-control-main{min-width:0}.nre-control-section{display:none}.nre-control-section.is-active{display:block;animation:nre-section-in .22s ease both}@keyframes nre-section-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.nre-presentation-hero{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:20px;align-items:center;margin:0 0 22px;padding:22px 24px;border:1px solid rgba(255,184,0,.25);border-radius:18px;background:linear-gradient(110deg,rgba(255,139,0,.09),rgba(141,84,255,.08));box-shadow:0 15px 45px rgba(0,0,0,.18)}
.nre-presentation-hero__icon{display:flex;width:58px;height:58px;align-items:center;justify-content:center;justify-self:center;border:1px solid rgba(255,184,0,.34);border-radius:17px;background:rgba(255,184,0,.1);font-size:28px;line-height:1}
.nre-presentation-hero__copy{display:grid;gap:4px}.nre-presentation-hero__copy strong{font-size:19px;color:#fff}.nre-presentation-hero__copy>span:last-child{color:var(--muted);font-size:12px;line-height:1.55}.nre-presentation-hero__status{display:inline-flex;width:max-content;padding:4px 8px;border-radius:999px;background:rgba(255,184,0,.12);color:#ffc55c;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.8px}
.nre-app .nre-button,.nre-app button.nre-button,.nre-app a.nre-button{appearance:none!important;display:inline-flex!important;min-height:42px!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 16px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:11px!important;background:#171e2d!important;background-image:none!important;box-shadow:none!important;color:#fff!important;text-decoration:none!important;text-shadow:none!important;font:800 13px/1 inherit!important;cursor:pointer!important;transition:transform .16s ease,border-color .16s ease,filter .16s ease!important}
.nre-app .nre-button:hover{transform:translateY(-1px)!important;filter:brightness(1.08)!important}.nre-app .nre-button--primary{border-color:rgba(255,139,0,.42)!important;background:linear-gradient(110deg,#ff8b00,#8d54ff)!important}.nre-app .nre-button--secondary{border-color:rgba(141,84,255,.38)!important;background:rgba(141,84,255,.14)!important;color:#d9c8ff!important}.nre-app .nre-button--ghost{background:rgba(255,255,255,.045)!important;color:#d8deea!important}.nre-app .nre-button--danger{border-color:rgba(255,84,112,.5)!important;background:rgba(255,84,112,.12)!important;color:#ff9aac!important}.nre-app .nre-button[disabled]{opacity:.48!important;cursor:not-allowed!important;transform:none!important}
.nre-event-meta{grid-template-columns:repeat(4,minmax(0,1fr))!important}.nre-event-meta>div{display:flex;min-height:108px;flex-direction:column;justify-content:center}.nre-event-meta small{display:block;color:var(--dim);font-size:10px;font-weight:900;letter-spacing:.8px;text-transform:uppercase}.nre-event-meta strong{display:block;margin-top:7px;color:#fff;font-size:16px}.nre-event-meta span{display:block;margin-top:6px;color:var(--dim);font-size:10px;line-height:1.4}
.nre-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.nre-resource-card{padding:20px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(255,255,255,.035)}.nre-resource-card>span{font-size:24px}.nre-resource-card h3{margin:12px 0 6px}.nre-resource-card p{min-height:54px;color:var(--muted);font-size:12px;line-height:1.55}
.nre-companion-card{display:grid;grid-template-columns:72px minmax(0,1fr) minmax(240px,.7fr);gap:20px;align-items:center;padding:24px;border:1px solid rgba(0,223,233,.2);border-radius:18px;background:linear-gradient(115deg,rgba(0,223,233,.08),rgba(141,84,255,.07))}.nre-companion-card__icon{display:flex;width:62px;height:62px;align-items:center;justify-content:center;border-radius:17px;background:linear-gradient(135deg,#ff8b00,#8d54ff);font-size:28px;font-weight:1000}.nre-companion-status{padding:15px;border:1px solid rgba(255,255,255,.09);border-radius:13px;background:rgba(0,0,0,.16)}.nre-companion-status strong,.nre-companion-status span{display:block}.nre-companion-status span{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.5}
@media(max-width:1050px){.nre-control-center{grid-template-columns:1fr}.nre-control-sidebar{position:static}.nre-control-nav{display:flex;overflow:auto;padding-bottom:4px}.nre-control-nav a{flex:0 0 auto}.nre-event-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}.nre-companion-card{grid-template-columns:62px 1fr}.nre-companion-status{grid-column:1/-1}}
@media(max-width:700px){.nre-presentation-hero{grid-template-columns:1fr;text-align:center}.nre-presentation-hero__copy{justify-items:center}.nre-presentation-hero .nre-button{width:100%!important}.nre-event-meta,.nre-resource-grid{grid-template-columns:1fr!important}.nre-companion-card{grid-template-columns:1fr;text-align:center}.nre-companion-card__icon{justify-self:center}}

/* v0.4.0-beta.2: usable full workspace */
.nre-page-shell{width:min(96vw,1680px)!important;max-width:1680px!important;padding-left:24px!important;padding-right:24px!important}
.nre-control-center{display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;gap:22px!important;align-items:start!important}
.nre-control-sidebar{position:sticky!important;top:92px!important;min-height:560px!important}
.nre-control-main{min-width:0!important;width:100%!important}
.nre-control-section{display:none!important;min-height:560px!important;animation:nrePanelIn .18s ease-out}
.nre-control-section.is-active{display:block!important}
@keyframes nrePanelIn{from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:none}}
.nre-section--workspace,.nre-control-section>.nre-section{width:100%!important;margin:0!important;padding:28px!important}
.nre-workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px;padding:4px 2px 18px;border-bottom:1px solid var(--line)}
.nre-workspace-head h2{margin:7px 0 5px;font-size:30px;color:#fff}.nre-workspace-head p{margin:0;color:var(--muted)}
.nre-status-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.035);color:var(--muted);font-size:12px;font-weight:900}.nre-status-pill.is-online,.nre-status-pill.is-live{border-color:rgba(0,223,233,.36);background:rgba(0,223,233,.09);color:#70f5fb}
.nre-participant-list{display:grid;gap:10px}.nre-participant{display:grid!important;grid-template-columns:minmax(240px,1fr) minmax(260px,.65fr)!important;align-items:center!important;gap:18px!important;padding:15px 17px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:#111824!important}.nre-participant-person{display:flex;align-items:center;gap:12px}.nre-participant-person img,.nre-avatar-fallback{width:44px!important;height:44px!important;border-radius:50%!important;object-fit:cover!important}.nre-participant-person strong,.nre-participant-person small{display:block}.nre-participant-person small{margin-top:3px;color:var(--dim)}
.nre-resource-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 20px;padding:20px;border:1px solid rgba(255,139,0,.28);border-radius:17px;background:linear-gradient(145deg,rgba(255,139,0,.06),rgba(145,71,255,.06))}.nre-resource-form[hidden]{display:none!important}.nre-resource-form label span,.nre-settings-form label span{display:block;margin:0 0 7px;color:#dde3ee;font-size:12px;font-weight:800}.nre-resource-form__actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px}
.nre-resource-list{display:grid;gap:12px}.nre-resource-item{display:grid;grid-template-columns:52px minmax(0,1fr);gap:14px;padding:18px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#121925,#0d131d)}.nre-resource-item__icon{display:grid;place-items:center;width:52px;height:52px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.035);font-size:23px}.nre-resource-item__top{display:flex;justify-content:space-between;gap:14px}.nre-resource-item__top small{color:var(--os)}.nre-resource-item p{margin:9px 0;color:var(--muted);line-height:1.55}.nre-resource-item__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.nre-device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.nre-device-card{display:flex;align-items:flex-start;gap:13px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#111824}.nre-device-card strong,.nre-device-card span,.nre-device-card small{display:block}.nre-device-card span{margin-top:4px;color:var(--muted)}.nre-device-card small{margin-top:7px;color:var(--dim)}.nre-device-state{width:11px;height:11px;margin-top:5px;border-radius:50%;background:#6d7582}.nre-device-state.is-online{background:#00dfe9;box-shadow:0 0 14px rgba(0,223,233,.75)}
.nre-live-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.nre-live-stats article{padding:17px;border:1px solid var(--line);border-radius:15px;background:#111824}.nre-live-stats small,.nre-live-stats strong{display:block}.nre-live-stats small{color:var(--dim)}.nre-live-stats strong{margin-top:8px;font-size:22px;color:#fff}.nre-live-list{display:grid;gap:10px}.nre-live-row{display:grid;grid-template-columns:minmax(220px,1fr) 90px repeat(3,minmax(100px,.45fr));align-items:center;gap:14px;padding:15px;border:1px solid var(--line);border-radius:14px;background:#111824}.nre-live-user{display:flex;align-items:center;gap:11px}.nre-live-user img{width:40px!important;height:40px!important;border-radius:50%!important}.nre-live-user strong,.nre-live-user span,.nre-live-row small,.nre-live-row>div>strong{display:block}.nre-live-user span,.nre-live-row small{color:var(--dim);font-size:11px}.nre-online-dot{font-size:11px;font-weight:900;color:#8b94a4}.nre-online-dot.is-online{color:#70f5fb}
.nre-settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:24px;padding:22px;border:1px solid var(--line);border-radius:17px;background:#101722}.nre-settings-form .nre-form-wide{grid-column:1/-1}.nre-settings-form .nre-form-actions{display:flex;justify-content:flex-end}
.nre-app .nre-button,.nre-app button.nre-button,.nre-app a.nre-button{background-color:#171e2d!important;background-image:none!important;border-color:rgba(255,255,255,.14)!important;color:#fff!important}
.nre-app .nre-button--primary{background-image:linear-gradient(110deg,#ff8b00 0%,#d75a28 48%,#8d54ff 100%)!important;border-color:rgba(255,139,0,.48)!important}
.nre-app .nre-button--secondary{background:linear-gradient(110deg,rgba(145,71,255,.22),rgba(0,223,233,.12))!important;border-color:rgba(145,71,255,.48)!important;color:#f0eaff!important}
.nre-app .nre-button--ghost{background:rgba(255,255,255,.045)!important;border-color:rgba(0,223,233,.24)!important;color:#dffcff!important}
.nre-app .nre-button--danger{background:rgba(255,70,94,.13)!important;border-color:rgba(255,70,94,.5)!important;color:#ff9aaa!important}
@media(max-width:1050px){.nre-control-center{grid-template-columns:1fr!important}.nre-control-sidebar{position:static!important;min-height:0!important}.nre-control-nav{display:flex!important;overflow-x:auto!important}.nre-control-nav a{white-space:nowrap!important}.nre-live-row{grid-template-columns:1fr 90px repeat(2,minmax(90px,.4fr))}.nre-live-row>div:last-child{display:none}.nre-resource-form{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.nre-page-shell{width:100%!important;padding:22px 13px 55px!important}.nre-live-stats,.nre-device-grid,.nre-resource-form,.nre-settings-form{grid-template-columns:1fr!important}.nre-live-row,.nre-participant{grid-template-columns:1fr!important}.nre-resource-form__actions,.nre-settings-form .nre-form-wide{grid-column:auto}.nre-workspace-head{flex-direction:column}.nre-resource-item{grid-template-columns:1fr}.nre-resource-item__icon{width:44px;height:44px}}


/* v0.4.0-beta.3: final event-center button theme and compact overview */
html body .nre-app .nre-button,
html body .nre-app button.nre-button,
html body .nre-app a.nre-button,
html body .nre-app input[type="submit"].nre-button{
  -webkit-appearance:none!important;appearance:none!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:42px!important;padding:0 16px!important;
  border:1px solid rgba(255,255,255,.13)!important;border-radius:11px!important;
  background:#161d29!important;background-image:none!important;
  color:#eef3fb!important;box-shadow:none!important;text-shadow:none!important;
  font:800 13px/1 Inter,Poppins,Arial,sans-serif!important;letter-spacing:0!important;
  transition:transform .16s ease,border-color .16s ease,filter .16s ease!important;
}
html body .nre-app .nre-button:hover{transform:translateY(-1px)!important;filter:brightness(1.08)!important}
html body .nre-app .nre-button--primary{
  background:#ff8b00!important;
  background-image:linear-gradient(105deg,#ff9700 0%,#ef6c22 52%,#8e4df2 100%)!important;
  border-color:rgba(255,166,51,.7)!important;color:#fff!important;
  box-shadow:0 10px 24px rgba(255,105,24,.17)!important;
}
html body .nre-app .nre-button--secondary{
  background:#242033!important;background-image:linear-gradient(110deg,rgba(145,71,255,.30),rgba(0,223,233,.11))!important;
  border-color:rgba(145,71,255,.55)!important;color:#f3ecff!important;
}
html body .nre-app .nre-button--ghost{
  background:#111925!important;background-image:none!important;
  border-color:rgba(0,223,233,.30)!important;color:#bffaff!important;
}
html body .nre-app .nre-button--danger{
  background:#2a141c!important;background-image:none!important;
  border-color:rgba(255,80,106,.58)!important;color:#ff9cad!important;
}
.nre-event-hero{grid-template-columns:minmax(0,1.45fr) minmax(520px,.9fr)!important}
.nre-event-meta{grid-template-columns:1.25fr 1fr 1fr .65fr!important;align-items:stretch!important}
.nre-event-meta>div{min-width:0!important;padding:15px!important}
.nre-event-meta strong{font-size:15px!important;overflow-wrap:anywhere!important;word-break:normal!important}
.nre-event-meta span{font-size:10px!important}
@media(max-width:1180px){.nre-event-hero{grid-template-columns:1fr!important}.nre-event-meta{grid-template-columns:repeat(4,minmax(120px,1fr))!important}}

.nre-pairing-card{max-width:680px;margin:60px auto;padding:34px;border-radius:24px;background:linear-gradient(145deg,rgba(23,26,36,.98),rgba(12,14,20,.98));border:1px solid rgba(255,255,255,.12);text-align:center;box-shadow:0 24px 70px rgba(0,0,0,.35)}
.nre-pairing-card h1{margin:8px 0 12px}.nre-pair-device{display:flex;flex-direction:column;gap:4px;margin:24px 0;padding:18px;border-radius:16px;background:rgba(255,255,255,.05)}.nre-pair-device span{opacity:.72}.nre-pair-code{font:800 34px/1.2 monospace;letter-spacing:.12em;margin:22px 0;color:#fff}.nre-btn--primary{background:linear-gradient(135deg,#ff8a1f,#8b5cf6)!important;color:#fff!important;border:0!important;border-radius:12px!important;padding:13px 20px!important}

/* Teilnehmer-Status statt technischer Geräteliste */
.nre-participant-status-card{align-items:center}.nre-participant-status-card__avatar{position:relative;flex:0 0 52px;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#202939;overflow:visible}.nre-participant-status-card__avatar img{width:52px;height:52px;border-radius:50%;object-fit:cover}.nre-participant-status-card__avatar>span{font-size:20px;font-weight:800}.nre-participant-status-card__avatar .nre-device-state{position:absolute;right:-1px;bottom:1px;width:13px;height:13px;margin:0;border:3px solid #111824}.nre-participant-status-card__body{min-width:0;flex:1}.nre-participant-status-card__body>span{color:var(--muted)}.nre-participant-status-card__body small.is-connected{color:#59e5a9}.nre-participant-status-card__body small.is-missing{color:#ffb7b7}.nre-participant-status-card details{margin-top:9px;color:var(--dim);font-size:12px}.nre-participant-status-card summary{cursor:pointer;color:var(--muted)}.nre-participant-status-card details div{margin-top:5px}

.nre-participant{grid-template-columns:minmax(240px,1fr) minmax(220px,.8fr) minmax(190px,.65fr);gap:12px}.nre-role-form select{width:100%}.nre-role-form{margin:0}@media(max-width:900px){.nre-participant{grid-template-columns:1fr}.nre-role-form,.nre-assign-form{width:100%}}


/* v0.4.3 tracking studio */
.nre-profile-summary{margin-top:18px;padding:16px;border:1px solid rgba(2,183,5,.35);border-radius:14px;background:rgba(2,183,5,.08);display:flex;flex-direction:column;gap:5px}.nre-profile-summary strong{font-size:18px}.nre-form-card textarea{font-family:inherit}.nre-form-card textarea[name="memory_map"]{font-family:Consolas,monospace;font-size:13px;line-height:1.5}.nre-form-card small{display:block;margin-top:6px;color:var(--nre-muted,#9ca6b5)}


/* v0.4.4 Event-Assistent und verständliche Spielprofile */
.nre-wizard-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0 24px}.nre-wizard-progress span{padding:11px 12px;border-radius:12px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.09);font-size:12px;color:var(--muted);text-align:center}.nre-wizard-progress .is-active{color:#fff;border-color:rgba(255,145,32,.55);background:linear-gradient(110deg,rgba(255,139,0,.22),rgba(142,77,242,.16))}.nre-wizard-step-title{display:flex;gap:12px;align-items:center;margin:8px 0 2px;padding:14px;border-radius:15px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08)}.nre-wizard-step-title b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#ff9700,#8e4df2);color:#fff}.nre-wizard-step-title strong,.nre-wizard-step-title small{display:block}.nre-wizard-step-title small{margin-top:3px;color:var(--muted)}.nre-tech-warning{padding:12px 14px;border-radius:12px;background:rgba(255,183,77,.08);border:1px solid rgba(255,183,77,.25);color:#ffd5a0}.nre-technical-profile{opacity:.82}.nre-technical-profile:hover{opacity:1}@media(max-width:760px){.nre-wizard-progress{grid-template-columns:1fr 1fr}}

/* v0.4.5 tracking test */
.nre-tracking-test-card{margin-top:18px;padding:18px;border:1px solid rgba(0,223,233,.22);border-radius:14px;background:linear-gradient(120deg,rgba(0,223,233,.06),rgba(145,71,255,.07));display:flex;justify-content:space-between;gap:20px;align-items:center}.nre-tracking-test-card h3{margin:4px 0 6px}.nre-tracking-test-card p{margin:0;color:#aab7c7}.nre-tracking-test-actions{display:flex;gap:10px;flex-wrap:wrap}.nre-tracking-results{display:grid;gap:9px;margin-top:12px}.nre-tracking-results>div{display:flex;justify-content:space-between;gap:16px;padding:11px 13px;border-radius:10px;background:#111821}.nre-tracking-results .is-ok strong{color:#73e59a}.nre-tracking-results .is-error strong{color:#ff9cad}.nre-tracking-results span{color:#9eacbc;text-align:right}@media(max-width:760px){.nre-tracking-test-card{align-items:flex-start;flex-direction:column}.nre-tracking-results>div{flex-direction:column}.nre-tracking-results span{text-align:left}}

/* v0.4.6 event flow and goal engine */
.nre-event-flow-card{margin-top:18px;display:grid;gap:18px}.nre-event-flow-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1fr) auto;gap:12px;align-items:end}.nre-event-flow-form label{display:grid;gap:7px}.nre-host-controls{display:flex;flex-wrap:wrap;gap:10px}.nre-host-controls form{margin:0}.nre-goal-definition-list{display:grid;gap:8px;margin:14px 0 18px;padding:14px;border:1px solid rgba(0,223,233,.16);border-radius:12px;background:rgba(10,15,22,.6)}.nre-goal-definition-list h4{margin:0 0 4px}.nre-goal-definition-list>div{display:grid;grid-template-columns:30px minmax(180px,1fr) minmax(190px,.8fr);gap:10px;align-items:center;padding:9px 10px;border-radius:9px;background:rgba(255,255,255,.025)}.nre-goal-definition-list>div>span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:rgba(255,151,0,.15);color:#ffc062;font-weight:800}.nre-goal-definition-list small{color:#9eabc0}@media(max-width:800px){.nre-event-flow-form{grid-template-columns:1fr}.nre-goal-definition-list>div{grid-template-columns:30px 1fr}.nre-goal-definition-list small{grid-column:2}}
.nre-team-standings{display:grid;gap:10px;margin:16px 0 18px}.nre-team-standings h3{margin:0}.nre-team-standings article{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:14px;align-items:center;padding:13px 15px;border-left:4px solid var(--team);border-radius:11px;background:#161d28}.nre-team-standings article span{font-size:18px;font-weight:800}.nre-team-standings article small{color:#9eabc0}@media(max-width:700px){.nre-team-standings article{grid-template-columns:1fr auto}.nre-team-standings article small{grid-column:1/-1}}
.nre-member-role-fixed{display:inline-flex;align-items:center;min-height:42px;padding:0 13px;border-radius:10px;background:rgba(255,151,0,.12);border:1px solid rgba(255,151,0,.28);font-weight:750;color:#ffd18a}


/* Host-Korrektur einzelner Teilnehmer */
.nre-participant-correction{grid-column:1/-1;margin-top:10px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(8,11,16,.35)}
.nre-participant-correction>summary{cursor:pointer;padding:10px 12px;font-weight:700;color:#9eeef7;list-style:none}
.nre-participant-correction>summary::-webkit-details-marker{display:none}
.nre-participant-correction-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 12px 12px}
.nre-participant-correction-form label{display:grid;gap:6px}
.nre-participant-correction-form label span{font-size:.76rem;color:#9eabc0}
.nre-participant-correction-form select,.nre-participant-correction-form input{width:100%;min-height:42px}
.nre-participant-correction-actions{display:flex;align-items:end}
.nre-member-session-missing{grid-column:1/-1;font-size:.78rem;color:#e3a7a7}
@media(max-width:800px){.nre-participant-correction-form{grid-template-columns:1fr}}

/* v0.4.9-beta.2: visible game-template library */
.nre-template-library{margin:18px 0 22px;padding:22px;border:1px solid rgba(255,139,0,.26);border-radius:19px;background:linear-gradient(145deg,rgba(255,139,0,.075),rgba(145,71,255,.065) 56%,rgba(0,223,233,.035))}
.nre-template-library__head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.nre-template-library__head h3{margin:7px 0 6px;color:#fff;font-size:22px}.nre-template-library__head p{max-width:800px;margin:0;color:var(--muted);line-height:1.6}.nre-template-library__count{flex:0 0 auto;padding:7px 10px;border:1px solid rgba(0,223,233,.25);border-radius:999px;color:var(--c);background:rgba(0,223,233,.07);font-size:11px;font-weight:900}
.nre-template-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,330px);gap:24px;align-items:center;padding:20px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,#121a27,#0b1019)}.nre-template-card--hgss{box-shadow:inset 4px 0 0 #ffbd42}.nre-template-card__eyebrow{color:var(--os);font-size:11px;font-weight:900;letter-spacing:1px;text-transform:uppercase}.nre-template-card h3{margin:7px 0 8px;color:#fff;font-size:23px}.nre-template-card p{margin:0;color:var(--muted);line-height:1.62}.nre-template-card__facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.nre-template-card__facts span{padding:6px 9px;border-radius:999px;background:rgba(145,71,255,.12);color:#dccaff;font-size:10px;font-weight:850}.nre-template-card__details{margin-top:13px;color:var(--muted)}.nre-template-card__details summary{cursor:pointer;color:var(--c);font-size:12px;font-weight:850}.nre-template-card__details ol{columns:2;column-gap:28px;margin:12px 0 0;padding-left:22px}.nre-template-card__details li{break-inside:avoid;margin:0 0 6px;color:#cfd5df;font-size:12px}.nre-template-card__action{display:flex;flex-direction:column;gap:9px;align-items:stretch}.nre-template-card__action .nre-button{width:100%}.nre-template-card__action small{color:var(--dim);font-size:10px;line-height:1.5;text-align:center}
@media(max-width:800px){.nre-template-card{grid-template-columns:1fr}.nre-template-library__head{flex-direction:column}.nre-template-card__details ol{columns:1}}

/* Entwicklerrollen / Diagnose */
.nre-nav-divider{display:block;margin:18px 12px 6px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#02b705}
.nre-diagnostic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}
.nre-diagnostic-grid .nre-card strong{display:block;margin:8px 0;font-size:18px}
.nre-signal-status-list{display:grid;gap:10px;margin-top:14px}.nre-signal-status-list>div{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.04)}

.nre-pairing-success{max-width:760px!important;padding:42px!important}.nre-pair-success-icon{width:72px;height:72px;margin:0 auto 18px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,#16a66a,#22c55e);color:#fff;font-size:36px;font-weight:900;box-shadow:0 16px 45px rgba(34,197,94,.2)}.nre-pairing-success h1{font-size:34px;margin-top:10px}.nre-pair-lead{font-size:17px;opacity:.82;margin:0 auto 24px;max-width:560px}.nre-pair-next{display:grid;gap:10px;text-align:left;margin:24px 0}.nre-pair-next>div{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;padding:14px 16px;border-radius:15px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08)}.nre-pair-next b{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(255,138,31,.16);color:#ff9a3c}.nre-pair-next span{display:flex;flex-direction:column;gap:3px}.nre-pair-next small{opacity:.66;line-height:1.45}.nre-pair-close{opacity:.62;font-size:13px;margin:18px 0}

/* 0.5.3-beta.1 – Live Center: eine klare Zeit-/Fortschrittsquelle */
.nre-live-stats{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.nre-team-standings{gap:8px!important;margin:20px 0 22px!important}
.nre-team-standings h3{font-size:20px!important;margin:0 0 4px!important}
.nre-team-standings article{display:grid!important;grid-template-columns:minmax(150px,.6fr) minmax(240px,1fr)!important;grid-template-rows:auto auto!important;column-gap:22px!important;row-gap:8px!important;padding:14px 16px!important;border:1px solid rgba(255,255,255,.07)!important;border-left:4px solid var(--team)!important;background:linear-gradient(90deg,color-mix(in srgb,var(--team) 8%,#151b25),#151b25 28%)!important}
.nre-team-rank{display:flex;align-items:center;gap:10px;min-width:0}.nre-team-rank b{font-size:18px;color:#fff}.nre-team-rank strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nre-team-progress{display:grid;grid-template-columns:minmax(120px,1fr) 72px;gap:12px;align-items:center}.nre-team-progress>span{height:8px;border-radius:999px;background:#283244;overflow:hidden}.nre-team-progress i{display:block;height:100%;border-radius:inherit;background:var(--team)}.nre-team-progress b{text-align:right;font-size:17px}
.nre-team-standings article>small{grid-column:1/-1;color:#9eabc0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nre-live-row{background:#151b25!important;border-color:rgba(255,255,255,.07)!important}
@media(max-width:1150px){.nre-live-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:720px){.nre-live-stats{grid-template-columns:1fr 1fr!important}.nre-team-standings article{grid-template-columns:1fr!important}.nre-team-progress{grid-column:1}.nre-team-standings article>small{white-space:normal}}

/* 0.5.4 live center: individual progress and checkpoint visibility */
.nre-player-progress em{display:block;height:7px;margin-top:7px;background:#283242;border-radius:999px;overflow:hidden}.nre-player-progress em i{display:block;height:100%;background:linear-gradient(90deg,#ff9500,#ffb13b);border-radius:inherit}.nre-player-progress>span{display:block;margin-top:2px;color:#8fa5c4;font-size:11px}.nre-player-checkpoint strong{max-width:280px;white-space:normal;line-height:1.3}.nre-live-row{grid-template-columns:minmax(250px,1.15fr) 90px minmax(170px,.7fr) minmax(240px,1fr) minmax(110px,.45fr)!important}.nre-live-row>div>strong{color:#fff}.nre-live-row>div{min-width:0}.nre-live-row .nre-player-checkpoint strong{overflow-wrap:anywhere}@media(max-width:1200px){.nre-live-row{grid-template-columns:1fr 90px minmax(150px,.7fr) minmax(200px,1fr)!important}.nre-live-row>div:last-child{display:none}}

/* Overlay manager */
.nre-overlay-manager{display:grid;gap:18px;margin-top:20px}
.nre-overlay-team-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:16px}
.nre-overlay-manager-card{--team:#18c9ff;background:linear-gradient(135deg,rgba(16,22,35,.96),rgba(12,18,31,.96));border:1px solid rgba(255,255,255,.08);border-left:4px solid var(--team);border-radius:18px;padding:20px;display:grid;gap:16px}
.nre-overlay-manager-card--all{--team:#ff8b00}
.nre-overlay-manager-card h3{margin:4px 0 6px;font-size:22px}.nre-overlay-manager-card p{margin:0;color:#aebdd1;line-height:1.55}.nre-overlay-manager-card>small{color:#7f94ae}
.nre-overlay-manager-team-head{display:flex;gap:14px;align-items:center}.nre-overlay-manager-team-head img,.nre-overlay-manager-team-head .nre-team-dot{width:56px;height:56px;flex:0 0 56px;border-radius:14px;object-fit:cover}.nre-overlay-manager-team-head .nre-team-dot{display:block;background:var(--team);box-shadow:0 0 22px color-mix(in srgb,var(--team) 45%,transparent)}
.nre-overlay-url{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.nre-overlay-url input{min-width:0;width:100%;background:#0b101b;border:1px solid rgba(255,255,255,.12);border-radius:10px;color:#9fe7ff;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}
@media(max-width:760px){.nre-overlay-team-list{grid-template-columns:1fr}.nre-overlay-url{grid-template-columns:1fr 1fr}.nre-overlay-url input{grid-column:1/-1}}

/* 0.5.21 – globally readable Event Center dropdowns */
.nre-app select{
  color-scheme:dark;
  min-height:44px;
  padding:11px 42px 11px 13px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:10px!important;
  background-color:#111827!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f4f6fb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 13px center!important;
  background-size:15px 15px!important;
  color:#f7f8fb!important;
  -webkit-text-fill-color:#f7f8fb;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  font-weight:700;
  line-height:1.35;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.nre-app select:hover{
  border-color:rgba(255,189,66,.48)!important;
  background-color:#151d2a!important;
}
.nre-app select:focus,
.nre-app select:focus-visible{
  border-color:#ff9a16!important;
  background-color:#151d2a!important;
  box-shadow:0 0 0 3px rgba(255,139,0,.16),inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.nre-app select:disabled{
  opacity:.58;
  cursor:not-allowed;
  color:#aeb6c5!important;
  -webkit-text-fill-color:#aeb6c5;
}
.nre-app select option,
.nre-app select optgroup{
  background:#111827!important;
  color:#f7f8fb!important;
  font:inherit;
}
.nre-app select option{
  padding:10px 12px;
  font-weight:650;
}
.nre-app select option:checked{
  background:#ff8b00!important;
  color:#080b12!important;
}
.nre-app select option:disabled{
  color:#6f7989!important;
}
.nre-app select optgroup{
  color:#ffbd42!important;
  font-weight:900;
}
@media (forced-colors:active){
  .nre-app select{appearance:auto;-webkit-appearance:auto;background-image:none!important;padding-right:13px!important}
}

/* v0.5.22: Event-Rollen verständlich und an echte Code-Rechte gekoppelt */
.nre-role-control,.nre-role-form{min-width:0}
.nre-role-form{display:grid;gap:8px}
.nre-role-explainer{display:grid;gap:9px;padding:11px 12px;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:linear-gradient(145deg,rgba(13,18,27,.9),rgba(25,25,38,.82));box-shadow:inset 3px 0 0 rgba(0,223,233,.48)}
.nre-role-explainer.is-manager{box-shadow:inset 3px 0 0 rgba(255,151,0,.7);margin-top:8px}
.nre-role-explainer__head{display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;align-items:start}
.nre-role-explainer__icon{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:rgba(0,223,233,.1);border:1px solid rgba(0,223,233,.22);color:#77edf4;font-size:12px;font-weight:900}
.nre-role-explainer.is-manager .nre-role-explainer__icon{background:rgba(255,151,0,.12);border-color:rgba(255,151,0,.28);color:#ffd18a}
.nre-role-explainer__head strong{display:block;color:#f7f9fc;font-size:12px;line-height:1.3;margin:0 0 3px}
.nre-role-explainer__head small{display:block;color:#aab4c3;font-size:10.5px;line-height:1.48;margin:0}
.nre-role-explainer__badges{display:flex;flex-wrap:wrap;gap:5px;padding-left:37px}
.nre-role-explainer__badges span{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border-radius:999px;background:rgba(145,71,255,.09);border:1px solid rgba(145,71,255,.18);color:#ddd1ff;font-size:9px;font-weight:800;line-height:1.2}
.nre-role-form.is-role-updating .nre-role-explainer{opacity:.72}
@media(max-width:900px){.nre-role-explainer__head small{font-size:11px}.nre-role-explainer__badges{padding-left:0}}

/* 0.5.23 – dauerhaft sichtbare Rollenübersicht */
.nre-role-guide{margin:0 0 18px;padding:16px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:linear-gradient(145deg,rgba(18,23,33,.96),rgba(21,20,34,.92));box-shadow:0 14px 34px rgba(0,0,0,.16)}
.nre-role-guide__head{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(320px,1.3fr);gap:20px;align-items:end;margin-bottom:14px}
.nre-role-guide__head h3{margin:3px 0 0;color:#f7f9fc;font-size:18px;line-height:1.2}.nre-role-guide__head p{margin:0;color:#9da9b8;font-size:12px;line-height:1.55}
.nre-role-guide__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.nre-role-guide-card{min-width:0;padding:12px;border:1px solid rgba(255,255,255,.075);border-radius:12px;background:rgba(8,12,19,.34)}
.nre-role-guide-card__title{display:flex;align-items:center;gap:8px;margin-bottom:7px}.nre-role-guide-card__title strong{color:#f5f7fb;font-size:12px}.nre-role-guide-card__icon{flex:0 0 24px;width:24px;height:24px;display:grid;place-items:center;border-radius:7px;background:rgba(0,223,233,.09);border:1px solid rgba(0,223,233,.18);color:#78edf4;font-size:10px;font-weight:900}
.nre-role-guide-card p,.nre-role-guide__owner p{margin:0;color:#aab4c3;font-size:10.5px;line-height:1.48}
.nre-role-guide-card__badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.nre-role-guide-card__badges span{display:inline-flex;align-items:center;min-height:21px;padding:3px 7px;border-radius:999px;background:rgba(145,71,255,.08);border:1px solid rgba(145,71,255,.17);color:#ddd2ff;font-size:8.5px;font-weight:800;line-height:1.2}
.nre-role-guide-card--cohost .nre-role-guide-card__icon,.nre-role-guide__owner .nre-role-guide-card__icon{background:rgba(255,151,0,.11);border-color:rgba(255,151,0,.26);color:#ffd18a}.nre-role-guide-card--spectator .nre-role-guide-card__icon{background:rgba(151,162,179,.08);border-color:rgba(151,162,179,.18);color:#c1cad6}
.nre-role-guide__owner{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:9px 10px;align-items:start;margin-top:10px;padding:11px 12px;border:1px solid rgba(255,151,0,.18);border-radius:12px;background:rgba(255,151,0,.045)}.nre-role-guide__owner strong{display:block;color:#ffe0a9;font-size:11px;margin-bottom:2px}.nre-role-guide__owner .nre-role-guide-card__badges{margin:0;justify-content:flex-end}
.nre-role-current-note{display:block;margin-top:5px;color:#8e99a9;font-size:9.5px;line-height:1.35}.nre-role-control--fixed .nre-role-current-note{margin-left:1px}
@media(max-width:1050px){.nre-role-guide__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nre-role-guide__owner{grid-template-columns:24px minmax(0,1fr)}.nre-role-guide__owner .nre-role-guide-card__badges{grid-column:2;justify-content:flex-start}}
@media(max-width:700px){.nre-role-guide__head{grid-template-columns:1fr;gap:7px}.nre-role-guide__grid{grid-template-columns:1fr}.nre-role-guide{padding:13px}}

/* v0.5.25 resource editor */
.nre-resource-type-help{grid-column:1/-1;padding:11px 13px;border:1px solid rgba(0,223,233,.18);border-radius:11px;background:rgba(0,223,233,.055);color:#aebbd0;font-size:12px;line-height:1.5}
.nre-resource-form [data-nre-resource-field][hidden]{display:none!important}
.nre-resource-form input[type="file"]{min-height:42px;padding:7px 9px}
.nre-resource-form input[type="file"]::file-selector-button{margin-right:10px;padding:7px 11px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#202a39;color:#eef3fb;font-weight:700;cursor:pointer}

/* v0.5.27 autosave feedback */
.nre-autosave-status{display:inline-flex;align-items:center;gap:6px;margin:8px 0 0;color:#8fa0b7;font-size:12px;font-weight:700;line-height:1.3}
.nre-autosave-status::before{content:'●';font-size:8px;color:#00d9a6}
.is-saving .nre-autosave-status::before{color:#ff9a18;animation:nreAutosavePulse .8s ease-in-out infinite alternate}
.is-autosaved .nre-autosave-status{color:#a8eadb}
@keyframes nreAutosavePulse{to{opacity:.35}}

/* 0.5.29 event cards + finished event deletion */
.nre-event-card-wrap{position:relative;min-width:0}
.nre-event-card-wrap .nre-event-card{display:block;height:100%}
.nre-event-delete{margin-top:10px;width:100%;min-height:38px;border:1px solid rgba(255,80,106,.45);border-radius:10px;background:#24141a;color:#ff9cad;font:inherit;font-weight:800;cursor:pointer;transition:.18s ease}
.nre-event-delete:hover{border-color:rgba(255,80,106,.8);background:#31151e}
.nre-event-delete.is-armed{background:#451622;color:#fff;border-color:#ff506a}
.nre-event-recovery{max-width:900px;margin:20px auto}


/* v0.5.31 stable tracking profiles + safe create action */
.nre-control-section#nre-tracking .nre-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}
.nre-new-profile-action{flex:0 0 auto;margin-top:2px}
@media(max-width:700px){.nre-new-profile-action{width:100%;justify-content:center}}

/* v0.5.33 – detail workspace cleanup: one shell, one grid, no layout drift */
.nre-app{overflow:visible!important}
.nre-page-shell--detail{
  width:min(100%,1440px)!important;
  max-width:1440px!important;
  margin:0 auto!important;
  padding:24px 28px 72px!important;
}
.nre-page-shell--detail>.nre-notice{margin:0 0 18px!important}
.nre-page-shell--detail .nre-control-center{
  display:grid!important;
  grid-template-columns:210px minmax(0,1fr)!important;
  gap:24px!important;
  align-items:start!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.nre-page-shell--detail .nre-control-sidebar{
  position:sticky!important;
  top:112px!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:14px!important;
}
.nre-page-shell--detail .nre-control-nav{width:100%!important;min-width:0!important}
.nre-page-shell--detail .nre-control-nav a{width:100%!important;min-width:0!important}
.nre-page-shell--detail .nre-control-main{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
.nre-page-shell--detail .nre-control-section{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
}
.nre-page-shell--detail .nre-control-section.is-active{display:block!important}
.nre-page-shell--detail .nre-presentation-hero,
.nre-page-shell--detail .nre-event-hero,
.nre-page-shell--detail .nre-card,
.nre-page-shell--detail .nre-section,
.nre-page-shell--detail .nre-section--workspace,
.nre-page-shell--detail .nre-settings-form,
.nre-page-shell--detail .nre-resource-form{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.nre-page-shell--detail .nre-event-hero{grid-template-columns:minmax(0,1fr) minmax(360px,.72fr)!important}
.nre-page-shell--detail .nre-event-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.nre-page-shell--detail .nre-event-hero h2{font-size:clamp(30px,3.2vw,48px)!important;letter-spacing:-1.4px!important}
.nre-page-shell--detail .nre-workspace-head,
.nre-page-shell--detail .nre-section-heading{max-width:100%!important}
.nre-page-shell--detail img{max-width:100%}
.nre-page-shell--detail table{max-width:100%}
.nre-page-shell--detail input,
.nre-page-shell--detail select,
.nre-page-shell--detail textarea{min-width:0!important;max-width:100%!important}
/* Defensive: if a theme/page-builder header/footer is accidentally injected into shortcode output, never render it a second time. */
.nre-app .site-header,
.nre-app #masthead,
.nre-app .elementor-location-header,
.nre-app .site-footer,
.nre-app #colophon,
.nre-app .elementor-location-footer{display:none!important}
@media(max-width:1100px){
  .nre-page-shell--detail{padding:20px 20px 64px!important}
  .nre-page-shell--detail .nre-control-center{grid-template-columns:1fr!important;gap:16px!important}
  .nre-page-shell--detail .nre-control-sidebar{position:static!important;padding:12px!important}
  .nre-page-shell--detail .nre-control-nav{display:flex!important;gap:6px!important;overflow-x:auto!important;scrollbar-width:thin}
  .nre-page-shell--detail .nre-control-nav a{width:auto!important;flex:0 0 auto!important;white-space:nowrap!important}
  .nre-page-shell--detail .nre-nav-divider{display:none!important}
}
@media(max-width:760px){
  .nre-page-shell--detail{width:100%!important;padding:14px 12px 52px!important}
  .nre-page-shell--detail .nre-event-hero{grid-template-columns:1fr!important;padding:20px!important}
  .nre-page-shell--detail .nre-event-meta{grid-template-columns:1fr 1fr!important}
  .nre-page-shell--detail .nre-presentation-hero{padding:18px!important}
}
@media(max-width:520px){
  .nre-page-shell--detail .nre-event-meta{grid-template-columns:1fr!important}
}


/* v0.5.34 – robust full-width event workspace + tracking/settings repair */
/* The shortcode can live inside narrow theme/page-builder containers. Break the Event Center
   out to the viewport so every event tab always receives a predictable workspace width. */
.nre-app{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  overflow-x:clip!important;
}
.nre-page-shell--detail{
  width:min(calc(100vw - 48px),1440px)!important;
  max-width:1440px!important;
  min-width:0!important;
  margin-inline:auto!important;
  padding:24px 28px 72px!important;
}
.nre-page-shell--detail .nre-control-center{
  grid-template-columns:220px minmax(0,1fr)!important;
  width:100%!important;
  min-width:0!important;
}
.nre-page-shell--detail .nre-control-main,
.nre-page-shell--detail .nre-control-section,
.nre-page-shell--detail .nre-control-section>*{
  min-width:0!important;
  max-width:100%!important;
}
/* Tracking is an editor, not a dashboard. Stacking prevents two complex forms from crushing
   each other when WordPress or browser zoom changes the available width. */
.nre-page-shell--detail #nre-tracking .nre-detail-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:18px!important;
  width:100%!important;
}
.nre-page-shell--detail #nre-tracking .nre-template-library,
.nre-page-shell--detail #nre-tracking .nre-card,
.nre-page-shell--detail #nre-tracking .nre-form-card,
.nre-page-shell--detail #nre-tracking form,
.nre-page-shell--detail #nre-settings .nre-settings-form,
.nre-page-shell--detail #nre-settings .nre-invite-section{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
.nre-page-shell--detail #nre-tracking .nre-form-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}
.nre-page-shell--detail #nre-tracking .nre-form-wide{grid-column:1/-1!important}
.nre-page-shell--detail #nre-tracking .nre-goal-definition-list,
.nre-page-shell--detail #nre-tracking .nre-tracking-test-card,
.nre-page-shell--detail #nre-tracking .nre-tracking-results,
.nre-page-shell--detail #nre-tracking .nre-profile-summary{width:100%!important;min-width:0!important}
/* Never let long status/help text dictate column width. */
.nre-page-shell--detail #nre-tracking h1,
.nre-page-shell--detail #nre-tracking h2,
.nre-page-shell--detail #nre-tracking h3,
.nre-page-shell--detail #nre-tracking h4,
.nre-page-shell--detail #nre-tracking p,
.nre-page-shell--detail #nre-tracking span,
.nre-page-shell--detail #nre-tracking small,
.nre-page-shell--detail #nre-settings h2,
.nre-page-shell--detail #nre-settings h3,
.nre-page-shell--detail #nre-settings p{overflow-wrap:break-word;word-break:normal!important}
/* Settings must always become a normal full-width panel when activated. */
.nre-page-shell--detail #nre-settings.is-active{display:block!important;width:100%!important;min-width:0!important}
.nre-page-shell--detail #nre-settings .nre-settings-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:1100px){
  .nre-page-shell--detail{width:min(calc(100vw - 28px),1440px)!important;padding:18px 14px 60px!important}
  .nre-page-shell--detail .nre-control-center{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .nre-page-shell--detail{width:100%!important;padding:14px 12px 52px!important}
  .nre-page-shell--detail #nre-tracking .nre-form-grid,
  .nre-page-shell--detail #nre-settings .nre-settings-form{grid-template-columns:1fr!important}
  .nre-page-shell--detail #nre-tracking .nre-form-wide,
  .nre-page-shell--detail #nre-settings .nre-form-wide{grid-column:auto!important}
}

/* v0.5.35 – hard reset for the event workspace and stable profile/settings tabs */
.nre-app{
  position:relative!important;
  left:50%!important;
  width:100vw!important;
  max-width:none!important;
  margin-left:-50vw!important;
  margin-right:0!important;
  overflow-x:clip!important;
}
.nre-app .nre-page-shell--detail{
  width:min(1500px,calc(100vw - 48px))!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:28px 24px 72px!important;
}
.nre-app .nre-page-shell--detail .nre-control-center{
  display:grid!important;
  grid-template-columns:230px minmax(0,1fr)!important;
  gap:26px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
.nre-app .nre-page-shell--detail .nre-control-sidebar{width:230px!important;max-width:230px!important}
.nre-app .nre-control-nav button{
  appearance:none!important;
  display:block!important;
  width:100%!important;
  min-height:38px!important;
  padding:9px 10px!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  background:transparent!important;
  color:var(--c)!important;
  font:inherit!important;
  font-size:12px!important;
  font-weight:850!important;
  text-align:left!important;
  cursor:pointer!important;
}
.nre-app .nre-control-nav button:hover{background:rgba(255,255,255,.035)!important;color:#fff!important}
.nre-app .nre-control-nav button.is-active{border-color:rgba(255,139,0,.35)!important;background:linear-gradient(100deg,rgba(255,139,0,.12),rgba(145,71,255,.10))!important;color:#fff!important}
.nre-app .nre-page-shell--detail .nre-control-main{width:100%!important;min-width:0!important;max-width:none!important}
.nre-app .nre-page-shell--detail .nre-control-section{display:none!important;width:100%!important;min-width:0!important;max-width:none!important}
.nre-app .nre-page-shell--detail .nre-control-section.is-active{display:block!important}
.nre-app .nre-page-shell--detail .nre-control-section[hidden]{display:none!important}

/* Spielprofil: real editor hierarchy instead of one long narrow card. */
.nre-app #nre-tracking{width:100%!important}
.nre-app #nre-tracking .nre-section-heading{margin-bottom:20px!important}
.nre-app #nre-tracking .nre-template-library{margin-bottom:20px!important}
.nre-app #nre-tracking .nre-detail-grid{display:grid!important;grid-template-columns:1fr!important;gap:20px!important;width:100%!important}
.nre-app #nre-tracking .nre-card,.nre-app #nre-tracking .nre-template-library{width:100%!important;max-width:none!important}
.nre-app #nre-tracking .nre-form-grid.nre-profile-editor-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;width:100%!important}
.nre-app #nre-tracking .nre-profile-form-heading{margin:10px 0 0;padding:16px 18px;border:1px solid rgba(255,255,255,.075);border-radius:13px;background:rgba(255,255,255,.025)}
.nre-app #nre-tracking .nre-profile-form-heading:first-child{margin-top:0}
.nre-app #nre-tracking .nre-profile-form-heading h4{margin:5px 0 4px;color:#fff;font-size:18px}
.nre-app #nre-tracking .nre-profile-form-heading p{margin:0;color:var(--muted);font-size:12px}
.nre-app #nre-tracking textarea{resize:vertical;min-height:110px}
.nre-app #nre-tracking textarea[name="checkpoints"]{min-height:190px}
.nre-app #nre-tracking .nre-profile-summary{display:flex!important;flex-wrap:wrap!important;gap:8px 14px!important;align-items:center!important;margin-top:14px!important;padding:14px!important;border-radius:12px!important;background:rgba(0,223,233,.045)!important}
.nre-app #nre-tracking .nre-profile-summary strong{flex-basis:100%;font-size:16px}

/* Settings: full workspace including access/invite data. */
.nre-app #nre-settings .nre-settings-form{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;width:100%!important;margin-bottom:20px!important;padding:22px!important}
.nre-app #nre-settings .nre-form-wide{grid-column:1/-1!important}
.nre-app #nre-settings .nre-invite-section,.nre-app #nre-settings .nre-invite-card{width:100%!important;max-width:none!important}
.nre-app #nre-settings .nre-invite-card{grid-template-columns:minmax(240px,.55fr) minmax(0,1.45fr)!important}
.nre-app #nre-settings .nre-copy-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:9px!important}

@media(max-width:1120px){
  .nre-app .nre-page-shell--detail{width:calc(100vw - 28px)!important;padding:18px 14px 60px!important}
  .nre-app .nre-page-shell--detail .nre-control-center{grid-template-columns:1fr!important}
  .nre-app .nre-page-shell--detail .nre-control-sidebar{position:static!important;width:100%!important;max-width:none!important}
  .nre-app .nre-control-nav{display:flex!important;gap:7px!important;overflow-x:auto!important}
  .nre-app .nre-control-nav button{width:auto!important;flex:0 0 auto!important;white-space:nowrap!important}
  .nre-app #nre-settings .nre-settings-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .nre-app .nre-page-shell--detail{width:100vw!important;padding:14px 12px 52px!important}
  .nre-app #nre-tracking .nre-form-grid.nre-profile-editor-grid,.nre-app #nre-settings .nre-settings-form{grid-template-columns:1fr!important}
  .nre-app #nre-tracking .nre-form-wide,.nre-app #nre-settings .nre-form-wide{grid-column:auto!important}
  .nre-app #nre-settings .nre-invite-card{grid-template-columns:1fr!important}
  .nre-app #nre-settings .nre-copy-row{grid-template-columns:1fr!important}
}

/* v0.5.36 – stable navigation, full-width settings and a real profile studio */
.nre-app .nre-page-shell--detail{
  width:min(1540px,calc(100vw - 40px))!important;
  max-width:1540px!important;
  padding:24px 20px 72px!important;
}
.nre-app .nre-page-shell--detail .nre-control-center{
  grid-template-columns:230px minmax(0,1fr)!important;
  gap:24px!important;
  align-items:start!important;
}
.nre-app .nre-page-shell--detail .nre-control-sidebar{
  width:230px!important;max-width:230px!important;min-width:230px!important;
  background:linear-gradient(180deg,rgba(18,24,36,.98),rgba(10,14,23,.98))!important;
}
/* Use links instead of native buttons so WordPress/theme button colors cannot turn the navigation blue. */
.nre-app .nre-control-nav .nre-event-tab-link,
.nre-app .nre-control-nav a.nre-event-tab-link:link,
.nre-app .nre-control-nav a.nre-event-tab-link:visited{
  display:flex!important;align-items:center!important;width:100%!important;min-height:40px!important;
  padding:9px 11px!important;margin:0!important;border:1px solid transparent!important;border-radius:10px!important;
  background:rgba(255,255,255,.018)!important;background-image:none!important;box-shadow:none!important;
  color:#b7c0cf!important;font-size:12px!important;font-weight:850!important;line-height:1.25!important;
  text-decoration:none!important;transition:background .16s ease,border-color .16s ease,color .16s ease!important;
}
.nre-app .nre-control-nav a.nre-event-tab-link:hover{
  color:#fff!important;background:rgba(255,255,255,.045)!important;border-color:rgba(255,255,255,.08)!important;
}
.nre-app .nre-control-nav a.nre-event-tab-link.is-active{
  color:#fff!important;border-color:rgba(255,139,0,.42)!important;
  background:linear-gradient(100deg,rgba(255,139,0,.15),rgba(145,71,255,.13))!important;
  box-shadow:inset 3px 0 0 #ff9b18!important;
}
.nre-app .nre-page-shell--detail .nre-control-main,
.nre-app .nre-page-shell--detail .nre-control-section{min-width:0!important;width:100%!important;max-width:none!important}

/* Profile studio – information and editor are intentionally separated. */
.nre-app #nre-tracking{width:100%!important}
.nre-app #nre-tracking .nre-section-heading{
  display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:20px!important;
  margin:0 0 18px!important;padding:0!important;
}
.nre-app #nre-tracking .nre-template-library{width:100%!important;margin:0 0 18px!important}
.nre-app #nre-tracking .nre-template-card{grid-template-columns:minmax(0,1.5fr) minmax(260px,.5fr)!important;gap:20px!important}
.nre-app #nre-tracking .nre-detail-grid{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;margin-top:0!important;width:100%!important}
.nre-app #nre-tracking .nre-form-card{width:100%!important;max-width:none!important;padding:22px!important;overflow:visible!important}
.nre-app #nre-tracking .nre-form-card>h3{font-size:21px!important;margin:0 0 14px!important}
.nre-app #nre-tracking form[data-nre-ajax="assign-tracking-profile"]{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:end!important}
.nre-app #nre-tracking form[data-nre-ajax="assign-tracking-profile"] .nre-form-actions{grid-column:auto!important;align-self:end!important;padding-bottom:3px!important}
.nre-app #nre-tracking .nre-profile-summary{margin:16px 0 0!important}
.nre-app #nre-tracking .nre-goal-definition-list{
  margin-top:16px!important;padding:16px!important;border:1px solid rgba(255,255,255,.075)!important;border-radius:14px!important;
  background:rgba(255,255,255,.018)!important;max-height:360px!important;overflow:auto!important;
}
.nre-app #nre-tracking .nre-tracking-test-card{margin-top:16px!important}
.nre-app #nre-tracking .nre-profile-editor-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 16px!important;width:100%!important;
}
.nre-app #nre-tracking .nre-profile-form-heading{
  grid-column:1/-1!important;margin:12px 0 0!important;padding:15px 17px!important;
  border:1px solid rgba(255,139,0,.16)!important;border-radius:13px!important;
  background:linear-gradient(100deg,rgba(255,139,0,.07),rgba(145,71,255,.045))!important;
}
.nre-app #nre-tracking .nre-profile-form-heading:first-child{margin-top:0!important}
.nre-app #nre-tracking .nre-profile-editor-grid>label{min-width:0!important;margin:0!important;padding:0!important}
.nre-app #nre-tracking .nre-profile-editor-grid>label.nre-form-wide{grid-column:1/-1!important}
.nre-app #nre-tracking .nre-profile-editor-grid label>span,
.nre-app #nre-settings .nre-settings-form label>span{display:block!important;margin:0 0 7px!important;color:#e4e8ef!important;font-size:12px!important;font-weight:800!important}
.nre-app #nre-tracking input,.nre-app #nre-tracking textarea,.nre-app #nre-tracking select,
.nre-app #nre-settings input,.nre-app #nre-settings textarea,.nre-app #nre-settings select{
  min-width:0!important;width:100%!important;max-width:none!important;background:#0a1019!important;color:#f7f8fb!important;
}
.nre-app #nre-tracking textarea[name="checkpoints"]{min-height:230px!important}
.nre-app #nre-tracking textarea[name="preparation"],
.nre-app #nre-tracking textarea[name="profile_rules"],
.nre-app #nre-tracking textarea[name="goals"]{min-height:140px!important}
.nre-app #nre-tracking textarea[name="tips"]{min-height:110px!important}

/* Settings is a normal first-class workspace, not a hidden side panel. */
.nre-app #nre-settings{width:100%!important;min-width:0!important}
.nre-app #nre-settings .nre-settings-form{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important;
  width:100%!important;max-width:none!important;padding:22px!important;margin:0 0 18px!important;
  border:1px solid rgba(255,255,255,.085)!important;border-radius:18px!important;background:#0d121c!important;
}
.nre-app #nre-settings .nre-settings-form .nre-form-wide{grid-column:1/-1!important}
.nre-app #nre-settings .nre-invite-section,.nre-app #nre-settings .nre-invite-card{width:100%!important;max-width:none!important}

@media(max-width:1120px){
  .nre-app .nre-page-shell--detail{width:calc(100vw - 22px)!important;padding:14px 11px 56px!important}
  .nre-app .nre-page-shell--detail .nre-control-center{grid-template-columns:1fr!important}
  .nre-app .nre-page-shell--detail .nre-control-sidebar{position:static!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:0!important}
  .nre-app .nre-control-nav{display:flex!important;overflow-x:auto!important;gap:7px!important;padding-bottom:4px!important}
  .nre-app .nre-control-nav .nre-event-tab-link{width:auto!important;flex:0 0 auto!important;white-space:nowrap!important}
  .nre-app #nre-settings .nre-settings-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .nre-app .nre-page-shell--detail{width:100vw!important;padding:10px 10px 48px!important}
  .nre-app #nre-tracking .nre-section-heading{flex-direction:column!important}
  .nre-app #nre-tracking .nre-template-card{grid-template-columns:1fr!important}
  .nre-app #nre-tracking .nre-profile-editor-grid,.nre-app #nre-settings .nre-settings-form{grid-template-columns:1fr!important}
  .nre-app #nre-tracking .nre-profile-editor-grid>label.nre-form-wide,.nre-app #nre-settings .nre-settings-form .nre-form-wide{grid-column:auto!important}
  .nre-app #nre-tracking form[data-nre-ajax="assign-tracking-profile"]{grid-template-columns:1fr!important}
}
.nre-app .nre-goal-editor{padding:18px!important;border:1px solid rgba(0,223,233,.13)!important;border-radius:15px!important;background:rgba(0,223,233,.025)!important}
.nre-app .nre-goal-editor__head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;margin-bottom:14px!important}
.nre-app .nre-goal-editor__head h4{margin:4px 0!important;font-size:18px!important}.nre-app .nre-goal-editor__head p{margin:0!important;color:var(--muted)!important;font-size:12px!important}
.nre-app .nre-goal-editor__list{display:grid!important;gap:9px!important}
.nre-app .nre-goal-editor__row{display:grid!important;grid-template-columns:60px minmax(220px,1.5fr) 130px 100px 90px 150px 82px 105px 36px!important;gap:8px!important;align-items:end!important;padding:12px!important;border:1px solid rgba(255,255,255,.075)!important;border-radius:12px!important;background:#0b111b!important}
.nre-app .nre-goal-editor__row label{min-width:0!important}.nre-app .nre-goal-editor__row label>span{font-size:10px!important;color:var(--muted)!important;margin-bottom:5px!important}
.nre-app .nre-goal-editor__order{align-self:center;text-align:center}.nre-app .nre-goal-editor__order strong{display:block;font-size:19px;color:var(--os)}.nre-app .nre-goal-editor__order span{font-size:9px;color:var(--dim);text-transform:uppercase}
.nre-app .nre-goal-editor__check{display:flex!important;align-items:center!important;gap:6px!important;min-height:42px!important}.nre-app .nre-goal-editor__check input{width:auto!important}.nre-app .nre-goal-editor__check span{margin:0!important;white-space:nowrap!important}
.nre-app .nre-goal-editor__remove{width:36px!important;height:42px!important;border:1px solid rgba(255,84,112,.35)!important;border-radius:9px!important;background:rgba(255,84,112,.07)!important;color:#ff879d!important;font-size:20px!important;cursor:pointer!important}
.nre-app .nre-goal-editor>small{display:block;margin-top:10px;color:var(--dim);line-height:1.5}
@media(max-width:1350px){.nre-app .nre-goal-editor__row{grid-template-columns:50px minmax(220px,1.5fr) 120px 90px 90px 145px!important}.nre-app .nre-goal-editor__check,.nre-app .nre-goal-editor__remove{grid-row:2}.nre-app .nre-goal-editor__check{justify-content:flex-start!important}}
@media(max-width:850px){.nre-app .nre-goal-editor__head{align-items:flex-start!important;flex-direction:column!important}.nre-app .nre-goal-editor__row{grid-template-columns:44px 1fr!important}.nre-app .nre-goal-editor__row>*{grid-column:2!important}.nre-app .nre-goal-editor__order{grid-column:1!important;grid-row:1/10!important;align-self:start!important;padding-top:18px}.nre-app .nre-goal-editor__check,.nre-app .nre-goal-editor__remove{grid-row:auto!important}}

/* v0.5.37 – authoritative workspace layout + server-side tabs + profile studio rebuild */
.nre-app .nre-page-shell--detail{
  box-sizing:border-box!important;
  width:min(1560px,calc(100vw - 32px))!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:auto!important;margin-right:auto!important;
  padding:22px 16px 72px!important;
}
.nre-app .nre-page-shell--detail .nre-control-center{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:220px minmax(760px,1fr)!important;
  gap:24px!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  align-items:start!important;
}
.nre-app .nre-page-shell--detail .nre-control-main{
  box-sizing:border-box!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  overflow:visible!important;
}
/* Native links only; never inherit WordPress button blue. */
.nre-app .nre-control-nav a.nre-event-tab-link,
.nre-app .nre-control-nav a.nre-event-tab-link:link,
.nre-app .nre-control-nav a.nre-event-tab-link:visited{
  appearance:none!important;-webkit-appearance:none!important;
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  color:#c7d0dc!important;border:1px solid transparent!important;box-shadow:none!important;
  display:flex!important;align-items:center!important;width:100%!important;min-height:40px!important;
  padding:9px 11px!important;border-radius:10px!important;text-decoration:none!important;
  font-size:12px!important;font-weight:800!important;line-height:1.25!important;
}
.nre-app .nre-control-nav a.nre-event-tab-link:hover{background:rgba(255,255,255,.045)!important;color:#fff!important}
.nre-app .nre-control-nav a.nre-event-tab-link.is-active{
  color:#fff!important;border-color:rgba(255,139,0,.38)!important;
  background:linear-gradient(100deg,rgba(255,139,0,.13),rgba(145,71,255,.10))!important;
  box-shadow:inset 3px 0 0 #ff9b18!important;
}
/* Only PHP decides the visible section. */
.nre-app .nre-page-shell--detail .nre-control-section{display:none!important;width:100%!important;max-width:none!important;min-width:0!important}
.nre-app .nre-page-shell--detail .nre-control-section.is-active{display:block!important}

/* Spielprofil is a full editor, not a tiny dashboard column. */
.nre-app #nre-tracking.nre-profile-studio-v537{box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important}
.nre-app #nre-tracking.nre-profile-studio-v537 > *{box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important}
.nre-app #nre-tracking .nre-detail-grid{display:block!important;width:100%!important;max-width:none!important}
.nre-app #nre-tracking .nre-form-card{display:block!important;width:100%!important;max-width:none!important;padding:24px!important}
.nre-app #nre-tracking .nre-profile-editor-grid{
  display:block!important;width:100%!important;max-width:none!important;
}
.nre-app #nre-tracking .nre-profile-block{
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;width:100%!important;max-width:none!important;
  margin:0 0 18px!important;padding:20px!important;
  border:1px solid rgba(255,255,255,.085)!important;border-radius:16px!important;
  background:linear-gradient(145deg,rgba(16,22,34,.96),rgba(10,15,24,.96))!important;
}
.nre-app #nre-tracking .nre-profile-block legend{
  display:grid!important;gap:2px!important;width:auto!important;max-width:calc(100% - 20px)!important;
  padding:0 10px!important;margin-left:-4px!important;color:#fff!important;
}
.nre-app #nre-tracking .nre-profile-block legend span{font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.12em!important;color:#ffad35!important}
.nre-app #nre-tracking .nre-profile-block legend strong{font-size:18px!important;line-height:1.2!important}
.nre-app #nre-tracking .nre-profile-block legend small{font-size:12px!important;color:#9eaabd!important;font-weight:500!important}
.nre-app #nre-tracking .nre-profile-block > label,
.nre-app #nre-tracking .nre-profile-block > .nre-goal-editor{min-width:0!important;width:100%!important;max-width:none!important}
.nre-app #nre-tracking .nre-profile-block > .nre-form-wide,
.nre-app #nre-tracking .nre-profile-block > .nre-goal-editor{grid-column:1/-1!important}
.nre-app #nre-tracking .nre-profile-block input,
.nre-app #nre-tracking .nre-profile-block select,
.nre-app #nre-tracking .nre-profile-block textarea{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important}
.nre-app #nre-tracking .nre-goal-editor{overflow-x:auto!important}
.nre-app #nre-tracking .nre-goal-editor__row{min-width:920px!important}

/* Settings must also be a normal server-rendered workspace. */
.nre-app #nre-settings.is-active{display:block!important;width:100%!important;max-width:none!important;min-width:0!important}
.nre-app #nre-settings .nre-settings-form{width:100%!important;max-width:none!important;box-sizing:border-box!important}

@media(max-width:1050px){
  .nre-app .nre-page-shell--detail .nre-control-center{grid-template-columns:1fr!important}
  .nre-app .nre-page-shell--detail .nre-control-sidebar{position:static!important;width:100%!important;max-width:none!important;min-width:0!important}
  .nre-app .nre-control-nav{display:flex!important;overflow-x:auto!important;gap:7px!important}
  .nre-app .nre-control-nav a.nre-event-tab-link{width:auto!important;flex:0 0 auto!important;white-space:nowrap!important}
}
@media(max-width:760px){
  .nre-app .nre-page-shell--detail{width:100vw!important;padding:12px 10px 48px!important}
  .nre-app #nre-tracking .nre-profile-block{grid-template-columns:1fr!important;padding:16px!important}
  .nre-app #nre-tracking .nre-profile-block > .nre-form-wide,.nre-app #nre-tracking .nre-profile-block > .nre-goal-editor{grid-column:auto!important}
}

/* v0.5.38 – final navigation guard: never WordPress-blue and always compact. */
.nre-app .nre-control-nav .nre-event-tab-link,
.nre-app .nre-control-nav .nre-event-tab-link:link,
.nre-app .nre-control-nav .nre-event-tab-link:visited{
  background:#111722!important;background-image:none!important;
  border:1px solid transparent!important;color:#cbd4df!important;
  box-shadow:none!important;text-shadow:none!important;
}
.nre-app .nre-control-nav .nre-event-tab-link:hover{background:#171e2b!important;border-color:rgba(255,255,255,.08)!important;color:#fff!important}
.nre-app .nre-control-nav .nre-event-tab-link.is-active{
  background:linear-gradient(100deg,rgba(255,145,0,.15),rgba(151,65,255,.11))!important;
  border-color:rgba(255,145,0,.42)!important;color:#fff!important;box-shadow:inset 3px 0 0 #ff9500!important;
}
/* Keep the profile editor readable even when a theme gives the shortcode a narrow parent. */
.nre-app .nre-page-shell--detail{position:relative!important;left:50%!important;right:50%!important;margin-left:-50vw!important;margin-right:-50vw!important;width:100vw!important;max-width:100vw!important;padding-left:max(22px,calc((100vw - 1540px)/2))!important;padding-right:max(22px,calc((100vw - 1540px)/2))!important}
.nre-app .nre-page-shell--detail .nre-control-center{grid-template-columns:220px minmax(0,1fr)!important;width:100%!important;max-width:1540px!important;margin:0 auto!important}
.nre-app #nre-tracking .nre-form-card{max-width:none!important}
@media(max-width:1050px){.nre-app .nre-page-shell--detail{left:auto!important;right:auto!important;margin-left:0!important;margin-right:0!important;width:100%!important;padding-left:12px!important;padding-right:12px!important}.nre-app .nre-page-shell--detail .nre-control-center{max-width:none!important}}


/* v0.5.39 – stable detail workspace, profile editor and navigation */
html body .nre-app.nre-app--detail{
  overflow:visible!important;
  position:relative!important;
  left:50%!important;
  margin-left:-50vw!important;
  width:100vw!important;
  max-width:100vw!important;
  min-width:0!important;
}
html body .nre-app.nre-app--detail .nre-page-shell--detail{
  position:static!important;left:auto!important;right:auto!important;
  margin:0 auto!important;
  width:100%!important;max-width:1640px!important;min-width:0!important;
  padding:24px clamp(18px,2.2vw,38px) 72px!important;
}
html body .nre-app.nre-app--detail .nre-control-center{
  display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;
  gap:26px!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;
}
html body .nre-app.nre-app--detail .nre-control-main{width:100%!important;max-width:none!important;min-width:0!important;overflow:visible!important}
html body .nre-app.nre-app--detail .nre-control-section{width:100%!important;max-width:none!important;min-width:0!important}
html body .nre-app.nre-app--detail .nre-control-sidebar{width:220px!important;min-width:220px!important;max-width:220px!important}
html body .nre-app.nre-app--detail .nre-control-nav a.nre-event-tab-link,
html body .nre-app.nre-app--detail .nre-control-nav a.nre-event-tab-link:link,
html body .nre-app.nre-app--detail .nre-control-nav a.nre-event-tab-link:visited{
  background:#111722!important;background-image:none!important;color:#cbd4df!important;
  border:1px solid transparent!important;border-radius:10px!important;box-shadow:none!important;
  min-height:40px!important;padding:9px 11px!important;
}
html body .nre-app.nre-app--detail .nre-control-nav a.nre-event-tab-link.is-active{
  background:linear-gradient(100deg,rgba(255,145,0,.15),rgba(151,65,255,.11))!important;
  border-color:rgba(255,145,0,.42)!important;color:#fff!important;box-shadow:inset 3px 0 0 #ff9500!important;
}
/* Assigned profiles open as editor immediately. Template creation is optional and collapsed. */
html body .nre-app #nre-tracking .nre-template-library--optional{display:block!important;margin:0 0 18px!important;padding:0!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:14px!important;background:#0e141f!important;overflow:hidden!important}
html body .nre-app #nre-tracking .nre-template-library--optional>summary{cursor:pointer!important;list-style:none!important;padding:14px 18px!important;color:#cbd4df!important;font-size:12px!important;font-weight:850!important}
html body .nre-app #nre-tracking .nre-template-library--optional>summary::-webkit-details-marker{display:none!important}
html body .nre-app #nre-tracking .nre-template-library--optional[open]>summary{border-bottom:1px solid rgba(255,255,255,.08)!important;color:#fff!important}
html body .nre-app #nre-tracking .nre-template-library--optional .nre-template-library__head,
html body .nre-app #nre-tracking .nre-template-library--optional .nre-template-card{margin:16px!important}
html body .nre-app #nre-tracking .nre-detail-grid{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;width:100%!important;max-width:none!important}
html body .nre-app #nre-tracking .nre-form-card{width:100%!important;max-width:none!important;min-width:0!important;padding:22px!important}
html body .nre-app #nre-tracking .nre-profile-editor-grid{display:block!important;width:100%!important;max-width:none!important}
html body .nre-app #nre-tracking .nre-profile-block{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;width:100%!important;max-width:none!important;margin:0 0 18px!important}
html body .nre-app #nre-tracking .nre-profile-block>.nre-form-wide,
html body .nre-app #nre-tracking .nre-profile-block>.nre-goal-editor{grid-column:1/-1!important}
html body .nre-app #nre-tracking .nre-goal-editor{width:100%!important;max-width:none!important;overflow-x:auto!important}
html body .nre-app #nre-tracking .nre-goal-editor__row{min-width:960px!important}
html body .nre-app #nre-settings .nre-settings-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-width:none!important}
html body .nre-app #nre-settings .nre-invite-section{width:100%!important;max-width:none!important}
@media(max-width:1050px){
 html body .nre-app.nre-app--detail{left:auto!important;margin-left:0!important;width:100%!important;max-width:none!important}
 html body .nre-app.nre-app--detail .nre-control-center{grid-template-columns:1fr!important}
 html body .nre-app.nre-app--detail .nre-control-sidebar{width:100%!important;min-width:0!important;max-width:none!important;position:static!important}
 html body .nre-app.nre-app--detail .nre-control-nav{display:flex!important;overflow-x:auto!important;gap:7px!important}
 html body .nre-app.nre-app--detail .nre-control-nav a.nre-event-tab-link{width:auto!important;flex:0 0 auto!important;white-space:nowrap!important}
}
@media(max-width:760px){
 html body .nre-app #nre-tracking .nre-profile-block,html body .nre-app #nre-settings .nre-settings-form{grid-template-columns:1fr!important}
 html body .nre-app #nre-tracking .nre-profile-block>.nre-form-wide,html body .nre-app #nre-tracking .nre-profile-block>.nre-goal-editor{grid-column:auto!important}
}


/* 0.5.40 - hard event-area visibility guard.
   Inline state is authoritative; this prevents themes/old cached CSS from forcing overview visible. */
.nre-app.nre-app--detail .nre-control-section[hidden]{display:none!important;visibility:hidden!important;}
.nre-app.nre-app--detail .nre-control-section.is-active:not([hidden]){display:block!important;visibility:visible!important;width:100%!important;}

/* 0.5.43 – separate stable settings/profile workspaces */
html body .nre-app.nre-app--detail .nre-special-workspace{display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;gap:24px!important;width:min(1540px,calc(100vw - 48px))!important;max-width:none!important;margin:0 auto!important;align-items:start!important}
.nre-special-workspace .nre-control-main{width:100%!important;min-width:0!important;max-width:none!important}
.nre-special-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:20px!important;margin-bottom:18px!important;padding:4px 2px!important}
.nre-special-head h2{margin:4px 0 5px!important;font-size:30px!important}.nre-special-head p{margin:0!important;color:var(--muted)!important}
.nre-settings-workspace,.nre-tracking-workspace{display:flex!important;flex-direction:column!important;gap:18px!important}
.nre-settings-card,.nre-access-card,.nre-profile-selector-card,.nre-profile-editor,.nre-tracking-status-card{width:100%!important;max-width:none!important}
.nre-settings-card__head{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:18px!important;margin-bottom:18px!important}.nre-settings-card__head h3{margin:4px 0 5px!important;font-size:22px!important}.nre-settings-card__head p{margin:0!important}
.nre-settings-form--full{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}.nre-settings-form--full .nre-form-wide{grid-column:1/-1!important}
.nre-access-grid{display:grid!important;grid-template-columns:1fr 1.35fr!important;gap:16px!important}.nre-access-card .nre-copy-block{padding:16px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:rgba(255,255,255,.025)!important}.nre-access-card .nre-copy-block>label{display:block!important;margin-bottom:8px!important;font-weight:850!important}.nre-presentation-hero--settings{margin:18px 0!important}.nre-invite-danger{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:18px!important;padding:17px!important;border:1px solid rgba(255,85,105,.24)!important;border-radius:14px!important;background:rgba(255,85,105,.045)!important}.nre-invite-danger strong,.nre-invite-danger span{display:block!important}.nre-invite-danger span{margin-top:3px!important;color:var(--muted)!important}
.nre-profile-select-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:end!important}.nre-profile-select-form label span{display:block!important;margin-bottom:7px!important;font-size:12px!important;font-weight:800!important}
.nre-profile-editor--standalone{display:flex!important;flex-direction:column!important;gap:18px!important;width:100%!important;padding:0!important;background:transparent!important}
.nre-profile-section{width:100%!important;padding:22px!important;border:1px solid var(--line)!important;border-radius:18px!important;background:linear-gradient(145deg,#101722,#0b111b)!important}.nre-profile-section__head{display:flex!important;align-items:flex-start!important;gap:13px!important;margin-bottom:18px!important}.nre-profile-section__head>span{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:10px!important;color:var(--os)!important;background:rgba(255,139,0,.10)!important;border:1px solid rgba(255,139,0,.22)!important;font-weight:900!important}.nre-profile-section__head h3{margin:0 0 3px!important;font-size:21px!important}.nre-profile-section__head p{margin:0!important;color:var(--muted)!important}.nre-profile-section__grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.nre-profile-section__grid .nre-form-wide{grid-column:1/-1!important}.nre-profile-section label>span,.nre-checkpoint-textarea>span{display:block!important;margin:0 0 7px!important;color:#e5e9f1!important;font-size:12px!important;font-weight:800!important}
.nre-goal-editor--standalone{margin-top:18px!important;width:100%!important;overflow:visible!important}.nre-goal-editor--standalone .nre-goal-editor__list{display:flex!important;flex-direction:column!important;gap:9px!important;max-height:none!important;overflow:visible!important}.nre-goal-editor--standalone .nre-goal-editor__row{grid-template-columns:56px minmax(220px,2fr) minmax(120px,.8fr) 105px 90px minmax(150px,1fr) 72px 92px 38px!important;width:100%!important;min-width:1050px!important}.nre-goal-editor--standalone{overflow-x:auto!important;padding-bottom:6px!important}
.nre-profile-editor__footer{display:flex!important;justify-content:flex-end!important;align-items:center!important;min-height:44px!important}.nre-tracking-status-card{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:18px!important}.nre-tracking-status-card h3{margin:5px 0!important}
@media(max-width:1050px){html body .nre-app.nre-app--detail .nre-special-workspace{grid-template-columns:1fr!important;width:100%!important}.nre-settings-form--full{grid-template-columns:repeat(2,minmax(0,1fr))!important}.nre-access-grid{grid-template-columns:1fr!important}}
@media(max-width:720px){.nre-settings-form--full,.nre-profile-section__grid{grid-template-columns:1fr!important}.nre-settings-form--full .nre-form-wide,.nre-profile-section__grid .nre-form-wide{grid-column:auto!important}.nre-special-head,.nre-invite-danger,.nre-tracking-status-card{flex-direction:column!important;align-items:stretch!important}.nre-profile-select-form{grid-template-columns:1fr!important}}


/* 0.5.44-beta.1 – ruhige interne Event-Navigation */
.nre-control-main{position:relative;min-width:0}
.nre-control-main.is-navigating{min-height:var(--nre-nav-min-height,220px);pointer-events:none}
.nre-control-main.is-navigating::after{content:"";position:absolute;inset:0;z-index:50;border-radius:18px;background:linear-gradient(90deg,rgba(255,255,255,.015),rgba(255,255,255,.045),rgba(255,255,255,.015));background-size:220% 100%;animation:nre-nav-shimmer .85s linear infinite;pointer-events:none}
@keyframes nre-nav-shimmer{to{background-position:-220% 0}}
.nre-inline-nav-error{display:grid;grid-template-columns:1fr auto;gap:4px 16px;align-items:center;margin:0 0 16px;padding:14px 16px;border:1px solid rgba(255,92,92,.42);border-radius:14px;background:rgba(120,20,25,.18)}
.nre-inline-nav-error strong,.nre-inline-nav-error span{grid-column:1}.nre-inline-nav-error button{grid-column:2;grid-row:1/3;border:1px solid rgba(255,255,255,.18);border-radius:10px;padding:9px 12px;background:#171d28;color:#fff;cursor:pointer}
