:root{--g:#3f7a55;--g2:#edf7f0;--line:#d9eadf;--txt:#203328;--card:#fff;--warn:#b44242;--shadow:0 12px 30px rgba(43,85,55,.12)}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f6fbf7;color:var(--txt)}a{color:var(--g);text-decoration:none}.app{display:flex;min-height:100vh}.side{width:270px;background:#fff;border-right:1px solid var(--line);padding:18px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:22px;color:var(--g);margin-bottom:22px}.brand img{width:54px;height:54px;object-fit:contain;border-radius:14px}nav a{display:block;padding:12px 14px;border-radius:16px;margin:5px 0;color:var(--txt)}nav a:hover{background:var(--g2)}nav b{float:right;background:#d9534f;color:white;border-radius:999px;padding:2px 7px;font-size:12px}.sidefoot{position:absolute;bottom:15px;color:#6b7c70;font-size:13px;line-height:1.5}.main{flex:1}.top{height:72px;background:rgba(255,255,255,.9);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:2;backdrop-filter:blur(8px)}.top button{display:none}.top h1{font-size:24px;color:var(--g)}.content{padding:24px;max-width:1300px;margin:auto}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:var(--card);border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:var(--shadow);margin-bottom:18px}.hero{background:linear-gradient(135deg,#fff,#e8f5ec);border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:var(--shadow)}.btn,button,input[type=submit]{background:var(--g);color:white;border:0;border-radius:999px;padding:11px 17px;font-weight:700;cursor:pointer}.btn.light{background:white;color:var(--g);border:1px solid var(--g)}.btn.warn{background:var(--warn)}input,textarea,select{width:100%;border:1px solid var(--line);border-radius:14px;padding:12px;margin:7px 0 12px;font-size:16px;background:#fbfffc}textarea{min-height:110px;resize:vertical}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px}.chatbox{height:65vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px}.msg{max-width:760px;background:#f1f8f3;border:1px solid var(--line);border-radius:18px;padding:12px;margin:10px 0}.msg.me{margin-left:auto;background:#e5f0ff}.msg small{display:block;color:#637367}.composer{position:sticky;bottom:0;background:#fff;padding:14px;border:1px solid var(--line);border-radius:22px;margin-top:12px}.people li{padding:9px;border-bottom:1px solid #eef5f0}.table{width:100%;border-collapse:collapse}.table th,.table td{border-bottom:1px solid var(--line);padding:10px;text-align:left}.notice{padding:12px 16px;border-radius:16px;background:#edf7f0;border:1px solid var(--line);margin-bottom:14px}.danger{background:#fff0f0;border-color:#f3c2c2}.legal{max-width:900px;line-height:1.65}.footer-links{margin-top:22px;color:#68796e}@media(max-width:900px){.side{position:fixed;left:-290px;z-index:5;transition:.2s}.open .side{left:0}.top button{display:block}.content{padding:14px}.grid,.chat-layout{grid-template-columns:1fr}.chatbox{height:62vh}.top h1{font-size:18px}.top{padding:0 12px}.sidefoot{position:static;margin-top:24px}}

/* Version 9.3: neue Verwaltungszentrale */
.admin-body{background:radial-gradient(circle at top left,#edf7f0 0,#f7fbf8 42%,#f8fbf8 100%)}
.admin-menu{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px;padding:10px;background:rgba(255,255,255,.75);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}
.admin-menu a{padding:10px 14px;border-radius:999px;color:var(--txt);background:#fff;border:1px solid #edf4ee;font-weight:700}
.admin-menu a:hover{background:var(--g2);color:var(--g)}
.admin-hero{background:linear-gradient(135deg,#ffffff 0%,#edf7f0 58%,#fff8ea 100%);border:1px solid var(--line);border-radius:32px;padding:30px;box-shadow:var(--shadow);margin-bottom:20px;position:relative;overflow:hidden}
.admin-hero:after{content:"";position:absolute;right:-50px;top:-50px;width:180px;height:180px;border-radius:50%;background:rgba(63,122,85,.10)}
.admin-hero h2{font-size:30px;color:var(--g);margin:0 0 8px}.admin-hero p{max-width:820px;line-height:1.55;font-size:17px}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.stat{background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:var(--shadow)}.stat strong{display:block;font-size:32px;color:var(--g);margin-top:4px}.stat span{color:#637367;font-weight:700}
.admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.admin-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:22px;box-shadow:var(--shadow);min-height:180px}.admin-card h3{margin-top:0;color:var(--g);font-size:22px}.admin-card p{line-height:1.5;color:#4d6254}.admin-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.pill{display:inline-block;padding:5px 10px;border-radius:999px;background:var(--g2);border:1px solid var(--line);font-size:13px;font-weight:700}.pill.red{background:#fff0f0;border-color:#f3c2c2;color:#9b2f2f}.pill.blue{background:#eef5ff;border-color:#ccddff;color:#28558a}.pill.gray{background:#f2f4f2;color:#607166}.user-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.user-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:var(--shadow)}.user-card header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.avatar{width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,var(--g),#83b990);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800;margin-right:10px}.user-title{display:flex;align-items:center}.room-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.room-admin-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:var(--shadow)}.room-admin-card h3{margin:0;color:var(--g)}.room-meta{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.split{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.soft-box{background:#fbfffc;border:1px solid var(--line);border-radius:20px;padding:16px}.compact-table td,.compact-table th{font-size:14px}.danger-zone{border:1px solid #f2b8b8;background:#fff8f8;border-radius:22px;padding:18px}.admin-search{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;margin-bottom:14px}.badge-ok{color:#246b3d;font-weight:800}.badge-bad{color:#a33;font-weight:800}.timeline{border-left:3px solid var(--line);padding-left:16px}.timeline div{margin:0 0 13px}.timeline small{color:#68796e}.admin-note{background:#fffbea;border:1px solid #f0df9a;border-radius:20px;padding:15px;margin-bottom:16px}
@media(max-width:1050px){.stat-grid{grid-template-columns:repeat(2,1fr)}.admin-grid,.user-cards,.room-cards,.split{grid-template-columns:1fr}}
@media(max-width:600px){.stat-grid{grid-template-columns:1fr}.admin-hero{padding:22px}.admin-menu{overflow:auto;flex-wrap:nowrap}.admin-menu a{white-space:nowrap}.user-card header{display:block}.admin-search{grid-template-columns:1fr}}

/* Version 9.4: Passwort vergessen & Avatare */
.top-user{display:inline-flex;align-items:center;gap:7px;vertical-align:middle}.avatar-img{width:42px;height:42px;border-radius:50%;object-fit:cover;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--g),#83b990);color:#fff;font-weight:800;border:2px solid #fff;box-shadow:0 4px 12px rgba(43,85,55,.16)}.avatar-img.big{width:96px;height:96px;font-size:34px;border-radius:28px}.avatar-fallback{font-size:16px}.profile-preview{display:flex;gap:18px;align-items:center;background:#fbfffc;border:1px solid var(--line);border-radius:24px;padding:18px;margin-bottom:18px}.auth-card{max-width:680px;margin:auto}.small{font-size:13px;color:#68796e;line-height:1.5}.profile-card{max-width:780px}.user-card .avatar-img{margin-right:10px}.user-card .avatar{display:none}
@media(max-width:600px){.profile-preview{align-items:flex-start}.avatar-img.big{width:78px;height:78px;border-radius:22px}.top-user .avatar-img{display:none}}

/* PsychConnect 10.0 Campus Edition */
:root{--pc-green:#1f6b2e;--pc-green2:#3f8c4b;--pc-soft:#eef8ef;--pc-cream:#fbfaf5;--pc-line:#dcebdc;--pc-shadow:0 18px 45px rgba(31,107,46,.10);--pc-radius:22px}
body{background:linear-gradient(135deg,#fbfaf5 0%,#f1f8ef 45%,#fff 100%)}
.app.campus{min-height:100vh;background:radial-gradient(circle at 88% 8%,rgba(143,207,130,.22),transparent 26%),radial-gradient(circle at 2% 95%,rgba(143,207,130,.20),transparent 23%)}
.side{background:rgba(255,255,255,.88);backdrop-filter:blur(12px);border-right:1px solid var(--pc-line)}
.brand{gap:12px}.brand img{max-width:150px;border-radius:14px}.brand span{display:flex;flex-direction:column;color:var(--pc-green);font-size:23px;line-height:1.05}.brand small{font-size:13px;color:#4f6454;font-weight:400;margin-top:4px}.side nav a{border-radius:14px;margin:4px 10px;padding:12px 14px}.side nav a:hover,.side nav a.active{background:var(--pc-soft);color:var(--pc-green)}.side nav b{background:var(--pc-green);color:#fff;border-radius:999px;padding:2px 8px;font-size:12px;float:right}.sidefoot{margin:18px;padding:18px;border-radius:18px;background:linear-gradient(135deg,#eef8ef,#fff);border:1px solid var(--pc-line);color:#45614a}.top{position:sticky;top:0;z-index:6;background:rgba(255,255,255,.82);backdrop-filter:blur(14px);border-bottom:1px solid var(--pc-line);box-shadow:0 8px 20px rgba(0,0,0,.03)}.top h1{color:#173d1f;margin-bottom:0}.top-sub{margin:2px 0 0;color:#5f6f63;font-size:14px}.hamb{border-radius:12px}.content{max-width:1280px;margin:auto}.card{border:1px solid var(--pc-line);border-radius:var(--pc-radius);box-shadow:var(--pc-shadow);background:rgba(255,255,255,.92)}.notice{background:#edf8ef;border:1px solid #cbe8cf;color:#1f6b2e;border-radius:14px;padding:12px;margin:12px 0}.muted,.small{color:#627068}.pill{display:inline-block;border-radius:999px;padding:4px 10px;background:#edf4ff}.pill.blue{color:#225c92}.avatar-img{width:38px;height:38px;object-fit:cover;border-radius:50%;vertical-align:middle;border:2px solid #e3efe4;background:#efeae2}.avatar-img.big{width:118px;height:118px;border:4px solid #2f7d3b;box-shadow:0 14px 30px rgba(31,107,46,.18)}.avatar-fallback{display:inline-flex;align-items:center;justify-content:center;background:#e5f2e7;color:#1f6b2e;font-weight:700}.profile-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px}.profile-preview{display:flex;gap:18px;align-items:center;margin:20px 0}.tabs-soft{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--pc-line);border-radius:14px;overflow:hidden;margin:18px 0}.tabs-soft span{padding:14px;text-align:center;background:#fff}.tabs-soft span:first-child{background:#eef8ef;color:var(--pc-green);font-weight:700}.avatar-gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin:12px 0 26px}.avatar-choice{position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%;transition:.18s}.avatar-choice input{display:none}.avatar-choice img{width:112px;height:112px;border-radius:50%;border:3px solid transparent;box-shadow:0 8px 22px rgba(0,0,0,.08);transition:.18s;background:#efeae2}.avatar-choice:hover img{transform:translateY(-4px) scale(1.03);box-shadow:0 16px 34px rgba(31,107,46,.16)}.avatar-choice span{display:none;position:absolute;right:6px;bottom:6px;background:#2f7d3b;color:#fff;width:34px;height:34px;border-radius:50%;align-items:center;justify-content:center;font-weight:800;box-shadow:0 8px 18px rgba(31,107,46,.22)}.avatar-choice.selected img,.avatar-choice:has(input:checked) img{border-color:#2f7d3b}.avatar-choice.selected span,.avatar-choice:has(input:checked) span{display:flex}.form-actions{display:flex;gap:12px;justify-content:flex-end;align-items:center}.info-card h2,.grow-card h2{color:#183e20}.checklist{list-style:none;padding-left:0}.checklist li{margin:8px 0}.checklist li:before{content:'✓';color:#1f6b2e;font-weight:800;margin-right:8px}.grow-card{background:linear-gradient(135deg,#eef8ef,#fff 55%,#e8f6e5)}
.room-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;background:linear-gradient(135deg,#eef8ef,#fff 65%);overflow:hidden}.room-hero h2{font-size:34px;color:#173d1f;margin:.2em 0}.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:12px;color:#1f6b2e;font-weight:800}.room-stats{display:flex;flex-wrap:wrap;gap:10px}.room-stats span{background:#fff;border:1px solid var(--pc-line);border-radius:999px;padding:9px 12px;white-space:nowrap}.chat-layout.chat-focus{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px}.chat-main{min-width:0}.chat-info-grid details summary{cursor:pointer;font-weight:800;color:#1f6b2e}.context-card h3{color:#173d1f}.messenger{height:56vh;min-height:460px;overflow:auto;padding:18px;background:rgba(255,255,255,.62);border-radius:22px;border:1px solid var(--pc-line);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.msg{display:flex;gap:10px;margin:14px 0;align-items:flex-start}.msg.me{flex-direction:row-reverse}.msg-bubble{max-width:min(720px,80%);background:#fff;border:1px solid var(--pc-line);border-radius:18px;padding:12px 14px;box-shadow:0 6px 16px rgba(0,0,0,.04)}.msg.me .msg-bubble{background:#ecf8ee;border-color:#cfe8d4}.msg b{display:block;color:#183e20}.msg small{display:block;color:#7b887f;margin:2px 0 8px}.reactions{opacity:.65;margin-top:8px;font-size:14px}.sticky-composer{position:sticky;bottom:0;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);padding:12px;border:1px solid var(--pc-line);border-radius:22px;margin-top:12px}.composer textarea{min-height:88px;border-radius:18px}.quick-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.quick-row button:last-child{margin-left:auto}.people{list-style:none;padding-left:0}.people li{display:block;padding:10px;border-bottom:1px solid #edf2ed}.people .avatar-img{margin-right:8px}.btn.light{background:#fff;color:#1f6b2e;border:1px solid var(--pc-line)}
@media(max-width:900px){.profile-grid,.chat-layout.chat-focus{grid-template-columns:1fr}.avatar-gallery{grid-template-columns:repeat(3,1fr)}.room-side{order:-1}.messenger{height:58vh;min-height:360px}.room-hero{display:block}.quick-row button:last-child{margin-left:0}.tabs-soft{grid-template-columns:1fr}.avatar-choice img{width:92px;height:92px}}
@media(max-width:560px){.avatar-gallery{grid-template-columns:repeat(2,1fr)}.msg-bubble{max-width:85%}.room-hero h2{font-size:27px}.content{padding:12px}.card{border-radius:18px}}

/* Version 10.1 – Avatare kleiner und harmonischer */
.avatar-img.big{
  width:82px !important;
  height:82px !important;
  border-radius:50% !important;
  border:3px solid #2f7d3b !important;
  box-shadow:0 8px 20px rgba(31,107,46,.16) !important;
}
.profile-preview{
  gap:14px !important;
  padding:14px !important;
}
.avatar-gallery{
  display:grid !important;
  grid-template-columns:repeat(5, minmax(68px, 1fr)) !important;
  gap:18px !important;
  align-items:center !important;
  margin:10px 0 24px !important;
}
.avatar-choice{
  width:78px !important;
  height:78px !important;
  justify-self:center !important;
}
.avatar-choice img{
  width:74px !important;
  height:74px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  border:2px solid transparent !important;
  box-shadow:0 5px 15px rgba(0,0,0,.08) !important;
}
.avatar-choice:hover img{
  transform:translateY(-3px) scale(1.03) !important;
  box-shadow:0 10px 22px rgba(31,107,46,.15) !important;
}
.avatar-choice span{
  right:-2px !important;
  bottom:-2px !important;
  width:24px !important;
  height:24px !important;
  font-size:14px !important;
}
.avatar-page h3{
  margin-top:22px !important;
  margin-bottom:8px !important;
}
.msg .avatar-img,
.people .avatar-img,
.user-card .avatar-img,
.top-user .avatar-img{
  width:36px !important;
  height:36px !important;
}
@media(max-width:900px){
  .avatar-gallery{grid-template-columns:repeat(5, minmax(54px, 1fr)) !important;gap:12px !important;}
  .avatar-choice{width:64px !important;height:64px !important;}
  .avatar-choice img{width:60px !important;height:60px !important;}
}
@media(max-width:560px){
  .avatar-gallery{grid-template-columns:repeat(3, 1fr) !important;gap:14px !important;}
  .avatar-choice{width:72px !important;height:72px !important;}
  .avatar-choice img{width:68px !important;height:68px !important;}
  .avatar-img.big{width:72px !important;height:72px !important;}
}

/* Version 10.2: Avatar-Galerie entfernt, eigene Profilbilder */
.brand span{font-size:18px !important;line-height:1.1 !important;}
.brand small{font-size:12px !important;}
.brand img{max-width:92px !important;}
.top h1{font-size:26px !important;line-height:1.15 !important;}
.top-sub{font-size:13px !important;}
.avatar-img.big{width:88px !important;height:88px !important;border-radius:50% !important;border:4px solid #2f7d3b !important;}
.photo-page h2{margin-bottom:6px;}
.upload-card{background:#fbfffc;border:1px dashed #b8d8bf;border-radius:22px;padding:18px;margin:18px 0;}
.upload-card h3{margin-top:0;color:#173d1f;}
.upload-card input[type=file]{background:#fff;border:1px solid var(--pc-line);border-radius:14px;padding:12px;width:100%;}
.msg .avatar-img,.people .avatar-img,.user-card .avatar-img,.top-user .avatar-img{width:40px !important;height:40px !important;border-radius:50% !important;}
@media(max-width:600px){.top h1{font-size:21px !important}.brand img{max-width:72px !important}.avatar-img.big{width:74px !important;height:74px !important}}
/* Version 11 – Kommunikation, Dokumente, Moderation */
.chat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.reply-hint{background:#eef8f0;border:1px solid #cce8d4;border-radius:14px;padding:10px 12px;margin-bottom:8px;color:#2f6c44}.reply-hint button{float:right;border:0;background:transparent;font-size:18px;cursor:pointer}.quoted{border-left:4px solid var(--green,#3f7a55);background:#f4fbf6;border-radius:10px;margin:8px 0;padding:8px 10px;font-size:14px;opacity:.9}.msg-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:10px}.inline{display:inline}.mini{font-size:12px!important;padding:6px 9px!important}.react-count{display:inline-block;background:#eef7f0;border-radius:999px;padding:4px 8px;margin:3px 3px 0 0}.report-box{display:inline-block;position:relative}.report-box summary{cursor:pointer;border:1px solid #ead0d0;color:#9a2f2f;background:#fff5f5;border-radius:999px;padding:6px 10px;font-size:12px}.report-box form{position:absolute;z-index:20;right:0;top:32px;width:260px;background:white;border:1px solid #e4d8d8;border-radius:16px;box-shadow:0 14px 30px rgba(0,0,0,.15);padding:12px}.report-box textarea{min-height:70px}.doc-layout{display:grid;grid-template-columns:360px 1fr;gap:18px}.doc-list{display:grid;gap:12px}.doc-card{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dbece0;background:#fff;border-radius:18px;padding:16px;box-shadow:0 8px 20px rgba(40,80,55,.08)}.doc-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.doc-card p{margin:8px 0 0}.pill.red{background:#ffe9e9;color:#8d2424}.pill.gray{background:#eef0ef;color:#59645d}.room-stats span{display:inline-block;margin:4px;padding:8px 12px;background:#eef8f0;border-radius:999px}.danger{background:#fff0f0!important;border-color:#ffd0d0!important;color:#8d2424!important}@media(max-width:900px){.doc-layout{grid-template-columns:1fr}.doc-card{align-items:flex-start;flex-direction:column}.report-box form{right:auto;left:0}}

/* Version 11.1 – informative Startseite & Community-Rechtliches */
.home-hero{display:grid;grid-template-columns:minmax(0,1.25fr) 360px;gap:28px;align-items:center;background:linear-gradient(135deg,#ffffff 0%,#eef8ef 62%,#fff8ea 100%)}
.home-hero h2{font-size:34px;color:#173d1f;margin:.2em 0}.home-hero p{font-size:17px;line-height:1.6;max-width:780px}.home-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.home-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.home-stats span{background:#fff;border:1px solid var(--pc-line);border-radius:20px;padding:18px;box-shadow:0 8px 20px rgba(31,107,46,.08)}.home-stats b{display:block;color:#1f6b2e;font-size:30px}.home-stats small{color:#627068;font-weight:700}.home-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;margin:18px 0}.home-grid.two-wide{grid-template-columns:1fr 1fr}.info-card h3{margin-top:0;color:#173d1f;font-size:22px}.clean-list{list-style:none;padding:0;margin:0}.clean-list li{padding:12px 0;border-bottom:1px solid #eef3ee}.clean-list li:last-child{border-bottom:0}.quote{font-size:22px;line-height:1.45;color:#1f6b2e;font-weight:800}.section-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:12px}.section-head h3{margin:.2em 0 0;font-size:26px;color:#173d1f}.campus-room-card{background:#fff;border:1px solid var(--pc-line);border-radius:24px;padding:20px;box-shadow:var(--pc-shadow)}.campus-room-card .room-icon{width:54px;height:54px;border-radius:18px;background:#eef8ef;display:flex;align-items:center;justify-content:center;font-size:28px;margin-bottom:12px}.campus-room-card h3{margin:0 0 8px;color:#173d1f}.campus-room-card p{line-height:1.5;color:#526457}.room-tags{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.room-tags span{font-size:12px;background:#f1f8f3;border:1px solid #dcebdc;border-radius:999px;padding:5px 8px;color:#416149}.search-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.search-tiles a{display:block;text-align:center;background:#f7fbf8;border:1px solid var(--pc-line);border-radius:16px;padding:14px 10px;font-weight:800;color:#173d1f}.search-tiles a:hover{background:#eef8ef;color:#1f6b2e}.legal h3{color:#173d1f;margin-top:24px}.legal ul{line-height:1.7}.side nav a[href$="nutzungsbedingungen.php"]{font-size:14px}
@media(max-width:1050px){.home-hero{grid-template-columns:1fr}.home-grid,.home-grid.two-wide{grid-template-columns:1fr}.home-stats{grid-template-columns:repeat(2,1fr)}.section-head{display:block}.search-tiles{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.home-hero h2{font-size:27px}.home-stats{grid-template-columns:1fr}.search-tiles{grid-template-columns:1fr}.home-actions .btn{width:100%;text-align:center}}

/* Version 11.2: freundlichere Anmeldung/Passwort-Seiten */
.auth-wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:stretch;margin-top:12px}
.auth-hero{background:linear-gradient(135deg,#eaf7ee,#fff);border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:var(--shadow)}
.auth-hero h2{font-size:32px;margin-top:0;color:var(--green)}
.soft-info{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 16px;margin-top:18px;color:#456252}
.inline-form{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.inline-form input{min-width:230px;flex:1}.table-card{overflow:auto}.small{font-size:14px;color:#66776b;line-height:1.5}
@media(max-width:850px){.auth-wrap{grid-template-columns:1fr}.auth-hero h2{font-size:26px}}


/* Version 11.4: informative Login-Seite und Admin-Freischaltung */
.login-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
.login-info-grid div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:0 8px 18px rgba(31,107,46,.07)}
.login-info-grid small{color:#5f7064;line-height:1.45}.auth-card h2{color:#173d1f;margin-top:0}.auth-card form .btn{margin-top:8px;display:inline-block}.admin-search{grid-template-columns:1fr 230px auto!important}.inline{display:inline-block!important;margin:0!important}
@media(max-width:900px){.login-info-grid{grid-template-columns:1fr}.admin-search{grid-template-columns:1fr!important}}


/* Version 11.5 – Abschlussprüfung: mobile App-Feinschliff und Dokumentenrechte */
.checkline{display:flex;align-items:flex-start;gap:9px;margin:12px 0;color:#41584a;line-height:1.4}.checkline input{width:auto;margin-top:4px}.badge-ok,.badge-bad{display:inline-block;border-radius:999px;padding:6px 10px;font-weight:800}.badge-ok{background:#e9f8ef;color:#236b39}.badge-bad{background:#ffecec;color:#8b2020}.system-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.system-card{border:1px solid var(--pc-line);border-radius:18px;padding:16px;background:#fff}.system-card strong{display:block;font-size:22px;color:#173d1f}.install-note{background:#eef8ef;border:1px solid #d1ead8;border-radius:18px;padding:14px;margin:14px 0;color:#31563b}
@media(max-width:780px){
  body.open .side{transform:translateX(0)}
  .app{display:block}.side{position:fixed;z-index:50;left:0;top:0;bottom:0;width:82vw;max-width:330px;transform:translateX(-105%);transition:.25s;overflow:auto}.main{margin-left:0}.top{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);padding:10px 12px}.top h1{font-size:20px!important}.top-sub{display:none}.hamb{display:inline-flex!important}.content{padding:12px}.chat-layout,.chat-focus{display:block}.room-side{margin-top:14px}.chatbox.messenger{height:58vh;min-height:360px}.sticky-composer{position:sticky;bottom:0;background:#fff;border-radius:20px 20px 0 0;box-shadow:0 -12px 26px rgba(31,107,46,.10);padding:10px}.composer textarea{min-height:72px}.quick-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.quick-row button:last-child{grid-column:1/-1}.doc-layout{display:block}.doc-layout .card{margin-bottom:14px}.doc-card{padding:14px}.auth-wrap{display:block}.login-info-grid{grid-template-columns:1fr!important}.home-hero{display:block}.home-grid,.home-grid.two-wide,.system-grid{grid-template-columns:1fr}.brand img{max-width:64px!important}.brand span strong{font-size:17px!important}.brand small{font-size:11px!important}
}
@media(max-width:420px){.top{gap:8px}.top-user a{display:none}.btn,button{width:auto}.doc-actions .btn,.doc-actions button{width:100%;}.doc-actions{width:100%;display:grid}.msg-bubble{max-width:92%}.report-box form{position:fixed;left:12px;right:12px;top:25%;width:auto}.quick-row{grid-template-columns:1fr}.chatbox.messenger{height:55vh}}

/* Version 11.6 – Direktnachrichten mit Emojis, Anhängen und Rundnachricht */
.direct-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px}.direct-toolbar h2,.direct-toolbar p{margin:0}.direct-toolbar p{margin-top:7px;color:#607166}.direct-layout{grid-template-columns:290px minmax(0,1fr)!important;align-items:start}.direct-members{padding:14px;max-height:calc(100vh - 190px);overflow:auto;position:sticky;top:92px}.direct-members h3{padding:4px 8px}.direct-person{display:flex;align-items:center;gap:11px;padding:10px;border-radius:15px;color:var(--txt);margin:4px 0}.direct-person:hover,.direct-person.active{background:#eaf6ed;color:#205f32}.direct-person .avatar-img,.direct-icon{width:42px!important;height:42px!important;min-width:42px;border-radius:50%;display:flex;align-items:center;justify-content:center}.direct-icon{background:#dff1e4;font-size:21px}.direct-person span:last-child{min-width:0}.direct-person b,.direct-person small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.direct-person small{font-size:12px;color:#6b7d70;margin-top:3px}.direct-all{border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:10px}.direct-chat-column{min-width:0}.direct-chat-head{padding:14px 20px;margin-bottom:10px;display:flex;align-items:center;gap:12px}.direct-chat-head h3,.direct-chat-head small{margin:0}.mobile-member-back{display:none}.direct-chatbox{height:58vh;min-height:390px;scroll-behavior:smooth}.direct-chatbox .msg{width:max-content;min-width:190px;max-width:min(78%,760px);overflow-wrap:anywhere}.direct-message-text{margin-top:7px;line-height:1.5;white-space:normal}.chat-attachment{display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.75);border:1px solid #cfe2d4;color:#244b31;max-width:430px}.chat-attachment>span:first-child{font-size:25px}.chat-attachment b,.chat-attachment small{display:block;overflow-wrap:anywhere}.empty-chat,.direct-empty{text-align:center;color:#687a6d;padding:45px 20px}.direct-empty>div{font-size:50px}.broadcast-info{background:#fff8e8;border-color:#ead8a7}.direct-composer{position:sticky;bottom:0;z-index:4}.direct-composer textarea{min-height:80px;margin-bottom:8px}.direct-compose-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.direct-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.file-button{position:relative;overflow:hidden;display:inline-flex;align-items:center}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0}.selected-file{font-size:13px;color:#627267;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.emoji-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px;margin-bottom:8px;box-shadow:0 10px 24px rgba(30,70,40,.12)}.emoji-choice{background:transparent;color:inherit;padding:7px;border-radius:9px;font-size:22px}.emoji-choice:hover{background:#eef7f0}.upload-note{display:block;margin-top:8px;color:#708076}.send-direct{min-width:145px}
@media(max-width:900px){.direct-toolbar{align-items:flex-start;flex-direction:column}.direct-layout{display:block}.direct-members{position:static;max-height:none}.direct-chat-column:has(.direct-chatbox)~*{display:none}.mobile-member-back{display:inline-block}.direct-chatbox{height:55vh;min-height:330px}.direct-compose-actions,.direct-tools{align-items:stretch}.send-direct{width:100%}.selected-file{max-width:100%}}
@media(max-width:520px){.direct-tools{display:grid;grid-template-columns:1fr 1fr;width:100%}.selected-file{grid-column:1/-1}.direct-tools .btn{justify-content:center;text-align:center}.direct-chatbox .msg{max-width:90%}.emoji-choice{font-size:20px;padding:6px}}


/* PsychConnect 12 Professional – konfliktfreier Direktchat */
.direct-v12-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px}.direct-v12-toolbar h2,.direct-v12-toolbar p{margin:0}.direct-v12-toolbar p{margin-top:7px;color:#607166}.direct-v12-shell{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}.direct-v12-members{padding:14px;position:sticky;top:92px;max-height:calc(100vh - 120px);overflow-y:auto}.direct-v12-members-title{display:flex;justify-content:space-between;align-items:end;padding:4px 8px 10px}.direct-v12-members-title h3{margin:0}.direct-v12-members-title small{color:#6a7b70}.direct-v12-person{display:flex;align-items:center;gap:11px;padding:11px;border-radius:16px;color:#203328;margin:4px 0;min-width:0}.direct-v12-person:hover,.direct-v12-person.active{background:#e8f5ec;color:#1f6b2e}.direct-v12-person .avatar-img,.direct-v12-avatar{width:43px!important;height:43px!important;min-width:43px;border-radius:50%!important;display:flex;align-items:center;justify-content:center}.direct-v12-avatar.broadcast{background:#fff1c9;font-size:21px}.direct-v12-person>span:last-child{min-width:0}.direct-v12-person b,.direct-v12-person small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.direct-v12-person small{font-size:12px;color:#6b7b70;margin-top:3px}.direct-v12-main{min-width:0}.direct-v12-head{display:flex;align-items:center;gap:14px;padding:14px 18px;margin-bottom:10px}.direct-v12-head h3,.direct-v12-head small{margin:0}.direct-v12-back{display:none}.direct-v12-stream{height:clamp(420px,58vh,720px);overflow-y:auto;overscroll-behavior:contain;background:#edf5ef;border:1px solid #d5e7d9;border-radius:24px;padding:20px;scroll-behavior:smooth}.direct-v12-row{display:flex!important;width:100%!important;max-width:none!important;margin:12px 0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}.direct-v12-row.mine{justify-content:flex-end!important}.direct-v12-row.theirs{justify-content:flex-start!important}.direct-v12-bubble{display:block!important;width:auto!important;min-width:180px;max-width:min(76%,760px);padding:13px 15px;border-radius:19px;background:#fff;border:1px solid #d8e8dc;box-shadow:0 6px 16px rgba(31,75,42,.06);color:#203328;overflow-wrap:anywhere;word-break:break-word}.direct-v12-row.mine .direct-v12-bubble{background:#dff1ff;border-color:#c4dfef}.direct-v12-bubble header{display:flex;justify-content:space-between;gap:18px;align-items:baseline;margin-bottom:7px}.direct-v12-bubble header b{color:#173d1f}.direct-v12-bubble time{font-size:12px;color:#6d7c72;white-space:nowrap}.direct-v12-text{font-size:16px;line-height:1.55;color:#1e3025;white-space:normal}.direct-v12-file{display:flex;align-items:center;gap:10px;margin-top:10px;padding:11px 12px;border-radius:14px;background:rgba(255,255,255,.78);border:1px solid #c8ded0;color:#244b31}.direct-v12-file>span:first-child{font-size:24px}.direct-v12-file b,.direct-v12-file small{display:block}.direct-v12-report{margin-top:10px;font-size:12px}.direct-v12-report summary{cursor:pointer;color:#9a2f2f;display:inline-block}.direct-v12-report form{margin-top:8px;background:#fff7f7;border:1px solid #efd1d1;border-radius:14px;padding:12px}.direct-v12-report textarea{min-height:70px}.direct-v12-empty,.direct-v12-welcome{text-align:center;color:#687a6d;padding:48px 20px}.direct-v12-welcome>div{font-size:50px}.direct-v12-broadcast{background:#fff8e8;border-color:#ead8a7}.direct-v12-composer{position:sticky;bottom:8px;z-index:5;padding:13px;margin-top:10px;background:rgba(255,255,255,.97);backdrop-filter:blur(10px)}.direct-v12-composer textarea{min-height:82px;margin:0 0 9px;font-size:16px}.direct-v12-composebar{display:flex;justify-content:space-between;align-items:center;gap:12px}.direct-v12-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.direct-v12-upload{position:relative;overflow:hidden}.direct-v12-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0}.direct-v12-tools>span{font-size:13px;color:#627267;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.direct-v12-send{min-width:145px}.direct-v12-note{display:block;margin-top:8px;color:#708076}.direct-v12-emoji{background:#fff;border:1px solid #dbe9de;border-radius:16px;padding:8px;margin-bottom:8px;box-shadow:0 10px 24px rgba(30,70,40,.12)}.direct-v12-emoji button{background:transparent;color:inherit;padding:7px;border-radius:9px;font-size:22px}.direct-v12-emoji button:hover{background:#eef7f0}
@media(max-width:900px){.direct-v12-toolbar{align-items:flex-start;flex-direction:column}.direct-v12-shell{display:block}.direct-v12-members{position:static;max-height:none}.direct-v12-main:not(:empty){margin-top:12px}.direct-v12-back{display:inline-block}.direct-v12-stream{height:55vh;min-height:350px;padding:12px}.direct-v12-bubble{max-width:88%}.direct-v12-composebar{align-items:stretch;flex-direction:column}.direct-v12-send{width:100%}}
@media(max-width:520px){.direct-v12-members{padding:10px}.direct-v12-bubble{max-width:94%;min-width:140px;padding:11px 12px}.direct-v12-bubble header{display:block}.direct-v12-bubble time{display:block;margin-top:2px}.direct-v12-tools{display:grid;grid-template-columns:1fr 1fr;width:100%}.direct-v12-tools>span{grid-column:1/-1;max-width:100%}.direct-v12-tools .btn{text-align:center;justify-content:center}.direct-v12-stream{border-radius:18px}.direct-v12-composer{border-radius:18px;bottom:0}}

/* Version 12.1 – aufgeräumte Mitgliederübersicht im Direktchat */
.direct-v12-members{padding:0;overflow:hidden;background:linear-gradient(180deg,#ffffff 0%,#f8fbf8 100%)}
.direct-v12-members-title{padding:20px 20px 13px;align-items:center;border-bottom:1px solid #e3ece5}
.direct-v12-members-title>div{min-width:0}
.direct-v12-kicker{display:block;margin-bottom:3px;color:#6f8175;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.direct-v12-members-title h3{font-size:22px;line-height:1.1}
.direct-v12-count{display:grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border-radius:999px;background:#e5f3e8;color:#246638;font-weight:800}
.direct-v12-search{display:flex;align-items:center;gap:9px;margin:14px 14px 10px;padding:0 12px;border:1px solid #dce9df;border-radius:14px;background:#fff;box-shadow:0 4px 12px rgba(36,83,48,.04)}
.direct-v12-search:focus-within{border-color:#7eb18a;box-shadow:0 0 0 3px rgba(78,145,94,.12)}
.direct-v12-search input{width:100%;margin:0;padding:11px 0;border:0!important;outline:0;background:transparent;box-shadow:none!important;font-size:14px}
.direct-v12-list{padding:0 10px 14px;max-height:calc(100vh - 245px);overflow-y:auto;scrollbar-width:thin}
.direct-v12-section-label{padding:13px 9px 7px;color:#7a897f;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.direct-v12-person{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 18px;gap:11px;align-items:center;margin:5px 0;padding:10px 9px;border:1px solid transparent;border-radius:16px;background:transparent;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.direct-v12-person:hover{transform:translateY(-1px);background:#fff;border-color:#dbe9de;box-shadow:0 7px 17px rgba(35,79,46,.07)}
.direct-v12-person.active{background:#e8f5ec;border-color:#bcdcc4;box-shadow:inset 4px 0 0 #3e8b50,0 7px 16px rgba(35,79,46,.06)}
.direct-v12-person.active b{color:#1d6330}
.direct-v12-person-copy{display:block;min-width:0}
.direct-v12-person-copy b{display:block;overflow:hidden;color:#263c2d;font-size:14px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.direct-v12-person-copy small{display:block;margin-top:4px;overflow:hidden;color:#77867c;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.direct-v12-chevron{color:#9aa89e;font-size:23px;line-height:1;text-align:center}
.direct-v12-person.active .direct-v12-chevron{color:#39804a}
.direct-v12-avatar-wrap{position:relative;display:block;width:46px;height:46px}
.direct-v12-avatar-wrap .avatar-img,.direct-v12-avatar{width:46px!important;height:46px!important;min-width:46px;object-fit:cover;border:2px solid #fff;border-radius:14px!important;box-shadow:0 3px 10px rgba(34,73,44,.13)}
.direct-v12-status{position:absolute;right:-1px;bottom:-1px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:#56ad68}
.direct-v12-avatar.broadcast{border-radius:14px!important;background:linear-gradient(135deg,#fff1c9,#ffe2a3);font-size:21px}
.direct-v12-broadcast-person{margin-bottom:7px;background:#fffaf0;border-color:#f0dfb7}
.direct-v12-broadcast-person:hover,.direct-v12-broadcast-person.active{background:#fff3d7;border-color:#e8cb83}
.direct-v12-no-results{margin:16px 4px;padding:18px 12px;border:1px dashed #ceddd2;border-radius:14px;color:#748278;text-align:center}

@media(max-width:900px){
  .direct-v12-members{max-height:none}
  .direct-v12-list{max-height:360px}
  .direct-v12-shell:has(.direct-v12-head) .direct-v12-members{display:none}
  .direct-v12-shell:has(.direct-v12-broadcast) .direct-v12-members{display:none}
}
@media(max-width:520px){
  .direct-v12-members-title{padding:17px 15px 12px}
  .direct-v12-search{margin:12px 10px 8px}
  .direct-v12-list{padding:0 7px 10px;max-height:none}
  .direct-v12-person{grid-template-columns:44px minmax(0,1fr) 16px;padding:9px 8px}
  .direct-v12-avatar-wrap,.direct-v12-avatar-wrap .avatar-img,.direct-v12-avatar{width:42px!important;height:42px!important;min-width:42px}
}

/* PsychConnect 13 – Live-Treffpunkt */
.live-hero{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#fff,#e9f7ed)}.live-hero h2{font-size:30px;margin:6px 0}.live-hero p{margin:0;color:#53675a}.live-status{display:flex;gap:8px;flex-wrap:wrap}.live-status span{background:#fff;border:1px solid var(--line);padding:9px 12px;border-radius:999px;font-weight:700}.live-status span:first-child{color:#19853a}.live-shell{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.live-center{min-width:0}.live-toolbar{display:flex;justify-content:space-between;align-items:center;padding:15px 18px}.live-toolbar small{display:block;color:#68796e;margin-top:4px}.live-toolbar-actions,.voice-actions,.live-tools,.live-compose-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.live-messages{height:58vh;min-height:430px;overflow-y:auto;background:#edf4ef;border:1px solid var(--line);border-radius:24px;padding:18px;scroll-behavior:smooth}.live-msg{width:max-content;max-width:min(78%,760px);background:#fff;border:1px solid #d8e8dd;border-radius:8px 20px 20px 20px;padding:12px 14px;margin:10px 0;box-shadow:0 7px 18px rgba(35,80,48,.08);overflow-wrap:anywhere}.live-msg.me{margin-left:auto;background:#daf0df;border-radius:20px 8px 20px 20px}.live-msg-head{display:flex;gap:14px;justify-content:space-between;color:#496151;font-size:13px}.live-msg-text{font-size:16px;line-height:1.55;margin-top:7px}.live-msg audio{width:min(330px,100%);margin-top:10px}.live-image{max-width:330px;max-height:260px;border-radius:15px;margin-top:10px}.live-composer{position:sticky;bottom:0;margin-top:12px;z-index:5;padding:14px}.live-composer textarea{min-height:78px;margin:0 0 9px}.live-compose-row{justify-content:space-between}.live-side{position:sticky;top:90px;max-height:calc(100vh - 110px);overflow:auto}.meeting-list{display:grid;gap:10px}.meeting-card{padding:13px;background:#f7fbf8;border:1px solid var(--line);border-radius:16px}.meeting-card time,.meeting-card b,.meeting-card small{display:block}.meeting-card time{font-size:13px;color:#24703b;font-weight:800}.meeting-card b{margin:5px 0}.meeting-card small,.muted{color:#6a796f}.meeting-card p{margin:7px 0 0;font-size:14px}.live-member-list{display:grid;gap:6px;max-height:360px;overflow:auto}.live-member{display:flex;align-items:center;gap:10px;padding:8px;border-radius:14px;color:var(--txt)}.live-member:hover{background:#edf7f0}.live-member b,.live-member small{display:block}.live-member small{color:#718077;font-size:12px}.voice-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff8e8;border-color:#ecd8a5}.voice-panel p{margin:5px 0 0}.meeting-dialog{border:0;border-radius:24px;padding:0;width:min(650px,calc(100% - 24px));box-shadow:0 25px 70px rgba(0,0,0,.25)}.meeting-dialog::backdrop{background:rgba(20,35,25,.55)}.meeting-dialog form{padding:22px}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-close{background:transparent;color:#344a3b;font-size:28px;padding:4px 10px}.form-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.file-button input{display:block}
@media(max-width:1000px){.live-shell{grid-template-columns:1fr}.live-side{position:static;max-height:none}.live-member-list{max-height:250px}.live-messages{height:55vh}.live-hero,.live-toolbar,.voice-panel{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.live-msg{max-width:92%}.live-toolbar-actions,.live-toolbar-actions .btn,.live-compose-row>button{width:100%}.live-tools{display:grid;grid-template-columns:1fr 1fr;width:100%}.live-tools .btn{justify-content:center;text-align:center}.live-tools #recordStatus{grid-column:1/-1}.form-grid{grid-template-columns:1fr}.live-messages{height:52vh;min-height:350px;padding:10px}.live-hero h2{font-size:25px}}


/* PsychConnect Campus 15 – Fachraum-Videochat */
.video-hero{display:flex;justify-content:space-between;align-items:center;gap:22px;background:linear-gradient(135deg,#edf7ff,#fff 62%)}.video-hero h2{font-size:32px;margin:.2em 0;color:#193957}.video-hero p{margin:0;color:#526779}.video-room-state{display:flex;gap:9px;flex-wrap:wrap}.video-room-state span{padding:9px 12px;border-radius:999px;background:#fff;border:1px solid var(--line);font-weight:750;color:#28516f}.video-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.video-stage{padding:16px;background:#17232d}.video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;min-height:420px;align-content:center}.video-tile{position:relative;min-height:230px;background:#243541;border:1px solid #415664;border-radius:20px;overflow:hidden;color:#fff}.video-tile video{display:block;width:100%;height:100%;min-height:230px;object-fit:cover;background:#1d2b35}.video-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;background:radial-gradient(circle at center,#314b5d,#1d2c36)}.video-placeholder[hidden]{display:none}.video-placeholder span{font-size:48px}.video-placeholder small{color:#bac9d3}.video-tile footer{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;gap:12px;padding:10px 12px;background:linear-gradient(transparent,rgba(0,0,0,.78));font-size:13px}.video-controls{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;padding-top:15px}.video-side{display:grid;gap:14px;position:sticky;top:90px}.video-side .btn{display:block;margin-top:8px;text-align:center}.video-participants{display:grid;gap:8px}.video-person{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:9px 10px;background:#f4f8fb;border-radius:13px}.video-person small{color:#6f7e88}.online-dot{width:10px;height:10px;background:#27a34a;border-radius:50%;box-shadow:0 0 0 4px #dff4e5}.btn.warn{background:#a93636;color:#fff}.meta{font-size:13px;color:#6d7d73}
@media(max-width:980px){.video-layout{grid-template-columns:1fr}.video-side{position:static}.video-hero{align-items:flex-start;flex-direction:column}.video-grid{min-height:340px}}
@media(max-width:560px){.video-stage{padding:8px}.video-grid{grid-template-columns:1fr;min-height:280px}.video-tile,.video-tile video{min-height:210px}.video-controls .btn{flex:1 1 145px}.video-hero h2{font-size:26px}}
