[hidden]{display:none!important}
html{scroll-padding-top:9rem}
body,.guest-body,.workspace{min-height:100dvh}
.access{display:grid;min-height:100svh;place-items:center;padding:22px 14px;background:linear-gradient(180deg,#02071325 0%,#050d1c75 55%,#020916 95%),url(armageddon-hintergrund.webp) center/cover}
.sheet,.guest-home .guest-section.sheet{padding:clamp(18px,4vw,32px);border-radius:12px;border:1px solid #47749a;border-top:3px solid #86d9fb;background:#0c243ced;color:#eff8ff;overflow-wrap:anywhere}
.access .sheet{width:min(100%,460px);box-shadow:0 18px 65px #0009;border-top-color:#e0594e}
.access-title,.inline-actions,.invitation,.preview-strip{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.access-title{font-size:18px;color:#c6e7fc;margin-bottom:18px}
.sheet h1,.sheet h2{font-size:clamp(21px,4.5vw,29px);line-height:1.2;letter-spacing:.012em;margin:0 0 16px}
.sheet p,.sheet small,.management .record{color:#c8e1ef;line-height:1.65;font-size:14px}
.sheet p{margin:10px 0 16px}
.stack{display:grid;gap:18px;margin-top:20px;min-width:0;grid-template-columns:minmax(0,1fr)}
.stack label{display:grid;gap:8px;min-width:0;font-weight:600;font-size:15px}
.stack :is(input:not([type=checkbox]),select,textarea){font-size:16px;min-height:46px;width:100%;min-width:0;max-width:100%;padding:11px 12px;color:#f1f8ff;background-color:#071a2a;border:1px solid #6598b9;border-radius:7px;font-family:inherit}
.stack textarea{min-height:92px;resize:vertical}
.stack p{margin:0}
.stack label.check{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:38px;cursor:pointer}
.check input{margin:0;width:21px;height:21px;flex-shrink:0;accent-color:#b22537}
.stack button:not([data-remove]){justify-self:start}
.stack [data-remove]{background:transparent;color:#ffdad6;font-size:26px;border:0;min-width:42px;min-height:44px}
.pair,.moderation,.gallery{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}
.gallery{gap:9px;grid-template-columns:repeat(3,minmax(0,1fr))}
.moderation{margin-top:22px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.moderation .sheet{padding:16px;margin:0}
.gallery img,.moderation img{display:block;width:100%;object-fit:cover;aspect-ratio:1;border-radius:7px}
.moderation img{aspect-ratio:4/3}
.management .host-content{max-width:1000px}
.management .topbar{display:flex;justify-content:space-between;gap:10px}
.management .sheet{margin-bottom:18px}
.management .entry{padding-block:0}
.entry summary{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;cursor:pointer;font-size:18px;font-weight:600;padding:20px 0}
.entry summary:after{content:'⌄';color:#a8dcfc;margin-left:auto}
.entry[open] summary:after{transform:rotate(180deg)}
.entry[open]{padding-bottom:24px}
.entry summary span{flex:1 1 210px}
.entry .inline-actions,.record{margin-top:20px;padding-top:18px;border-top:1px solid #476887}
.record p{margin:4px 0}
.record strong{color:white}
.stat{display:grid;grid-template-columns:1fr auto;gap:6px;margin:18px 0}
.stat progress{grid-column:1/-1;width:100%;accent-color:#7fccec}
.invitation{justify-content:space-between}
#qr svg{display:block;width:152px;height:152px;background:white}
.msg,.preview-strip,.sheet .warning{margin-bottom:18px;padding:12px 16px;border-left:3px solid #91dbff;background:#133653;color:#e4f6ff}
.sheet .warning{border-color:#fe7169;background:#612331}
.plain{color:inherit;background:transparent;border:none;padding:0}
.guest-footer{flex-wrap:wrap;align-items:center}
.guest-home .hero-copy .custom-heading{font-size:.78em;overflow-wrap:anywhere;color:#f7e6cf}
.guest-home .poll-answer-form .field{display:grid;gap:8px;margin:18px 0}
.guest-home .poll-answer-form textarea{font-size:16px;width:100%}
.poll-accordion,.announcement-card,.public-response-list,.guest-footer{overflow-wrap:anywhere}
.guest-home .hero-playback{display:grid;place-items:center;width:42px;height:42px;font-size:15px;padding:0}
.management .side-nav a{overflow-wrap:anywhere}
@media(max-width:760px){
 .management .side-nav{display:flex;overflow-x:auto;gap:6px;padding:0 0 5px}
 .management .side-nav a{flex:0 0 auto;padding:10px;font-size:13px;min-height:42px;justify-content:center}
 .management .sidebar{position:static;height:auto;display:block;max-width:100vw;padding:15px 12px 6px}
 .management .sidebar .brand{margin-bottom:12px}
 .management .host-content{padding:22px 12px}
 .management .topbar{padding:10px 12px}
 .sheet .btn,.management .btn{font-size:13px;white-space:normal;max-width:100%;text-align:center}
 .sheet .inline-actions{gap:8px}
 .guest-home .guest-section.sheet{margin:20px 12px}
 .guest-footer{flex-direction:column}
 .sheet h1,.sheet h2,.entry summary{overflow-wrap:anywhere}
 .stack input[type=file]{font-size:13px}
}

/* Keep both navigation rows in normal flow on small phones. */
@media(max-width:599.98px){
 html:has(.guest-body){scroll-padding-top:12px}
 .guest-body .guest-top{position:static}
 .guest-top .guest-header{padding:8px 16px 4px;gap:2px 12px}
 .guest-top .header-upload{min-height:42px}
 .guest-top .guest-section-nav{gap:18px}
 .guest-top .guest-section-nav a{min-height:34px}
 .guest-home .hero-copy{padding-top:22px}
}

.guest-top .guest-header > a:first-child,.workspace .sidebar > a:first-child{display:block;min-width:0;width:100%;max-width:232px}
.ti-recs-logo{display:block;width:100%;height:auto;max-height:42px;object-fit:contain;object-position:left center}
.workspace .sidebar > a:first-child{max-width:170px}
@media(max-width:760px){
 .workspace .sidebar > a:first-child{margin-bottom:12px}
}
