/* v2.91.24 – Stern-Ansicht am KI-Kern neu gestaltet: Benachrichtigungen, Entscheidungen & Freigaben, Wissenskonflikte, Vertrauen
   und das Lesefenster „Auftrag abnehmen“. Nur Aussehen – die Fenster selbst (v0.26/v0.27/v0.48) und ihre Schnittstellen bleiben, wie sie sind.
   Ziel: ruhig, gut lesbar, klare Farben: Rot = du musst eingreifen, Gelb = wartet auf dich, Grün = nur zur Info. */
.holo-w.type-notifyHub,.holo-w.type-decisions,.holo-w.type-conflicts27,.holo-w.type-trust27{
  --st-rot:#ff6b7a;--st-gelb:#ffd166;--st-gruen:#6fe6aa;--st-blau:#6fd0ff;--st-flaeche:rgba(14,22,36,.86);--st-rand:rgba(140,190,230,.16);
  padding:0 20px 20px;border-radius:18px;cursor:default;
  background:linear-gradient(180deg,rgba(26,38,60,.94),rgba(10,15,26,.96));
  box-shadow:0 18px 60px rgba(0,0,0,.55),inset 0 0 0 1px var(--st-rand);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.holo-w.type-notifyHub:hover,.holo-w.type-decisions:hover,.holo-w.type-conflicts27:hover,.holo-w.type-trust27:hover{box-shadow:0 18px 60px rgba(0,0,0,.55),inset 0 0 0 1px rgba(140,190,230,.28)}
.holo-w.type-notifyHub .holo-head,.holo-w.type-decisions .holo-head,.holo-w.type-conflicts27 .holo-head,.holo-w.type-trust27 .holo-head{
  margin:0 -20px 14px;padding:14px 20px 12px;border-radius:18px 18px 0 0;border-bottom:1px solid var(--st-rand);
  background:linear-gradient(90deg,rgba(111,208,255,.16),rgba(255,209,102,.06) 60%,transparent)}
.holo-w.type-notifyHub .holo-head h3,.holo-w.type-decisions .holo-head h3,.holo-w.type-conflicts27 .holo-head h3,.holo-w.type-trust27 .holo-head h3{font-size:20px;letter-spacing:.02em;text-shadow:none}
.holo-w.type-notifyHub .holo-body,.holo-w.type-decisions .holo-body,.holo-w.type-conflicts27 .holo-body,.holo-w.type-trust27 .holo-body{font-size:15px;line-height:1.45}

/* die alten Eck-Winkel des Fensterrahmens passen nicht zu den runden Karten */
.holo-w.type-notifyHub::after,.holo-w.type-decisions::after,.holo-w.type-conflicts27::after,.holo-w.type-trust27::after{display:none}

/* Knöpfe in diesen Fenstern: rund, ruhig, mit klarem Hover */
.holo-w.type-notifyHub .holo-body button,.holo-w.type-decisions .holo-body button,.holo-w.type-conflicts27 .holo-body button,.holo-w.type-trust27 .holo-body button{
  min-height:34px;padding:6px 14px;border-radius:999px;border:1px solid rgba(140,190,230,.32);background:rgba(111,208,255,.08);color:#e6f4ff;
  font:600 13px system-ui,"Segoe UI",sans-serif;letter-spacing:.01em;cursor:pointer;transition:background .15s,border-color .15s,transform .1s}
.holo-w.type-notifyHub .holo-body button:hover,.holo-w.type-decisions .holo-body button:hover,.holo-w.type-conflicts27 .holo-body button:hover,.holo-w.type-trust27 .holo-body button:hover{
  background:rgba(111,208,255,.2);border-color:var(--st-blau)}
.holo-w.type-notifyHub .holo-body button:active,.holo-w.type-decisions .holo-body button:active{transform:scale(.97)}
.holo-w.type-notifyHub .holo-body button:focus-visible,.holo-w.type-decisions .holo-body button:focus-visible,.holo-w.type-conflicts27 .holo-body button:focus-visible,.holo-w.type-trust27 .holo-body button:focus-visible{
  outline:2px solid var(--st-blau);outline-offset:2px}

/* ---------- Benachrichtigungen */
.type-notifyHub .v27-tabs{gap:8px;margin:0 0 14px}
.holo-w.type-notifyHub .holo-body .v27-tab{--c:var(--st-blau);padding:7px 14px;border:1px solid color-mix(in srgb,var(--c) 55%,transparent);background:color-mix(in srgb,var(--c) 8%,transparent);color:#dcecf8}
.holo-w.type-notifyHub .holo-body .v27-tab.on{background:color-mix(in srgb,var(--c) 30%,transparent);border-color:var(--c);color:#fff;box-shadow:0 0 14px color-mix(in srgb,var(--c) 35%,transparent)}
.type-notifyHub .v27-sec{--c:var(--st-blau);margin:0 0 14px;padding:14px 16px;border:1px solid var(--st-rand);border-left:4px solid var(--c);border-radius:14px;
  background:linear-gradient(120deg,color-mix(in srgb,var(--c) 9%,transparent),var(--st-flaeche) 45%)}
.type-notifyHub .v27-sec h4{margin:0 0 10px;font:700 16px system-ui,"Segoe UI",sans-serif;color:#fff;letter-spacing:.01em}
.type-notifyHub .v27-dot{width:10px;height:10px;box-shadow:0 0 12px var(--c)}
.type-notifyHub .v27-group{margin:12px 0 6px;font:700 12px system-ui,"Segoe UI",sans-serif;letter-spacing:.08em;text-transform:uppercase;opacity:1}
.type-notifyHub .v27-group.rot{color:var(--st-rot)}.type-notifyHub .v27-group.gelb{color:var(--st-gelb)}.type-notifyHub .v27-group.gruen{color:var(--st-gruen)}
.holo-w.type-notifyHub .v27-row{--c:rgba(140,190,230,.5);gap:12px;margin:0 0 6px;padding:10px 12px;border:1px solid var(--st-rand);border-left:3px solid var(--c);border-radius:10px;
  background:rgba(8,13,22,.55);font-size:15px;transition:background .15s}
.holo-w.type-notifyHub .v27-row:hover{background:rgba(111,208,255,.07)}
.holo-w.type-notifyHub .v27-row.rot{--c:var(--st-rot)}.holo-w.type-notifyHub .v27-row.gelb,.holo-w.type-notifyHub .v27-row.leicht{--c:var(--st-gelb)}
.holo-w.type-notifyHub .v27-row.gruen{--c:var(--st-gruen)}.holo-w.type-notifyHub .v27-row.grundlegend{--c:var(--st-rot)}
.type-notifyHub .v27-row-dot{display:none}
.type-notifyHub .v27-row-text{color:#eaf3fb;overflow-wrap:anywhere}
.type-notifyHub .v27-row .lib-meta{flex:none;font-size:12px;color:#8fb0c6;opacity:1}
.holo-w.type-notifyHub .holo-body .v27-row button{flex:none;min-height:32px;padding:5px 13px;font-size:13px;border-color:color-mix(in srgb,var(--c) 70%,transparent);background:color-mix(in srgb,var(--c) 14%,transparent)}
.holo-w.type-notifyHub .holo-body .v27-row button:hover{background:color-mix(in srgb,var(--c) 30%,transparent);border-color:var(--c)}
.type-notifyHub .lib-unknown{margin:4px 0;padding:8px 0;font-style:normal;color:#8fb0c6;opacity:1}
.type-notifyHub .lib-unknown::before{content:"✓ ";color:var(--st-gruen)}
.type-notifyHub .lib-actions{gap:8px;margin-top:10px;padding-top:10px;border-top:1px dashed var(--st-rand)}
.holo-w.type-notifyHub .holo-body .st-auftrag{border-color:var(--st-gelb);background:rgba(255,209,102,.14);color:#fff3cf}
.holo-w.type-notifyHub .holo-body .st-auftrag:hover{background:rgba(255,209,102,.28);border-color:var(--st-gelb)}
.type-notifyHub .v27-row.st-geister{--c:#c9a2ff}

/* ---------- Entscheidungen & Freigaben */
.type-decisions .dec-card{gap:8px;margin:0 0 12px;padding:14px 16px;border:1px solid var(--st-rand);border-left:4px solid var(--st-gelb);border-radius:14px;background:var(--st-flaeche)}
.type-decisions .dec-card.k-zugriff{border-left-color:var(--st-blau)}.type-decisions .dec-card.k-material{border-left-color:#ff9fb0}
.type-decisions .dec-card.k-schleife,.type-decisions .dec-card.k-budget{border-left-color:#ffb27e}
.type-decisions .dec-card.s-entschieden,.type-decisions .dec-card.s-verworfen{border-left-color:rgba(140,190,230,.35);opacity:.72}
.type-decisions .dec-card h3{font:700 16px system-ui,"Segoe UI",sans-serif;color:#fff}
.type-decisions .dec-title{font-size:15px;color:#eaf3fb}
.type-decisions .dec-proposal{padding:9px 12px;border:1px solid rgba(255,209,102,.45);border-radius:10px;background:rgba(255,209,102,.07);font-size:14px;color:#ffeccb}
.type-decisions .dec-item{gap:6px;padding:10px 0;border-top:1px solid var(--st-rand)}
.type-decisions .dec-prop{font-size:13px;color:#ffe2a0}.type-decisions .dec-given{font-size:13px;color:var(--st-gruen)}
.type-decisions .dec-opts{gap:8px}
.type-decisions .holo-body .dec-opt.proposed{border-style:solid!important;border-color:var(--st-gelb)!important;box-shadow:0 0 0 1px rgba(255,209,102,.25)}
.type-decisions .holo-body .dec-opt.on,.type-decisions .holo-body .dec-spec-q button.on{border-color:var(--st-gruen)!important;color:#eafff4!important;background:rgba(111,230,170,.2)!important}
.type-decisions .dec-extra textarea,.type-decisions .dec-extra input{padding:9px 11px;border:1px solid rgba(140,190,230,.3);border-radius:10px;background:rgba(4,8,14,.6);color:#fff;font:14px system-ui,"Segoe UI",sans-serif}
.type-decisions .dec-extra textarea:focus,.type-decisions .dec-extra input:focus{outline:none;border-color:var(--st-blau)}
.type-decisions .dec-spec{padding:8px 0;border-bottom:1px solid var(--st-rand);font-size:14px}

/* ---------- Wissenskonflikte und Vertrauen */
.type-conflicts27 .v27-conf,.type-trust27 .v27-trust{margin:0 0 12px;padding:14px 16px;border:1px solid var(--st-rand);border-radius:14px;background:var(--st-flaeche)}
.type-conflicts27 .v27-ab{gap:10px}
.type-conflicts27 .v27-ab>*{padding:10px 12px;border:1px solid var(--st-rand);border-radius:10px;background:rgba(4,8,14,.5)}
.type-conflicts27 textarea,.type-trust27 input,.type-trust27 select{padding:8px 10px;border:1px solid rgba(140,190,230,.3);border-radius:10px;background:rgba(4,8,14,.6);color:#fff;font:14px system-ui,"Segoe UI",sans-serif}

/* ---------- Lesefenster „Auftrag lesen & abnehmen“ */
.v48-review{background:radial-gradient(120% 80% at 50% 0%,rgba(30,42,66,.98),rgba(8,12,20,.995))}
@media (min-width:900px){.v48-review{border-radius:20px;overflow:hidden;border:1px solid rgba(140,190,230,.22);box-shadow:0 30px 90px rgba(0,0,0,.7)}}
.v48-head{padding:20px 24px 14px;border-bottom:1px solid rgba(140,190,230,.16);background:linear-gradient(90deg,rgba(255,209,102,.1),transparent 70%)}
.v48-kicker{font:700 12px system-ui,"Segoe UI",sans-serif;letter-spacing:.1em}
.v48-head h2{font:700 24px/1.2 system-ui,"Segoe UI",sans-serif}
.v48-meta{font:13px system-ui,"Segoe UI",sans-serif;color:#9fbccd}
.v48-x{border-color:rgba(140,190,230,.3);background:rgba(8,13,22,.6)}
.v48-x:hover{border-color:#6fd0ff}
.v48-brief{margin:0 24px;font-size:14px}
.v48-brief summary{font:700 12px system-ui,"Segoe UI",sans-serif;letter-spacing:.08em}
.v48-body{padding:18px 24px 30px}
.v48-doc{font:400 17px/1.65 system-ui,"Segoe UI",sans-serif}
.v48-doc pre{border-radius:10px;border-color:rgba(140,190,230,.18)}
.v48-feedback{padding:14px 24px;border-top:1px solid rgba(255,209,102,.3)}
.v48-feedback textarea{border-radius:10px;font:15px system-ui,"Segoe UI",sans-serif;padding:10px}
.v48-acts{gap:10px;padding:14px 24px calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid rgba(140,190,230,.16);background:rgba(8,12,20,.94)}
.v48-acts button,.v48-fb-row button{border-radius:999px;padding:0 20px;border-color:rgba(140,190,230,.32);background:rgba(111,208,255,.08);font:600 14px system-ui,"Segoe UI",sans-serif;letter-spacing:.01em;transition:background .15s,border-color .15s}
.v48-acts button:hover,.v48-fb-row button:hover{background:rgba(111,208,255,.2);border-color:#6fd0ff}
.v48-acts button.primary,.v48-fb-row button.primary{background:rgba(111,230,170,.2);border-color:#6fe6aa;color:#eafff4}
.v48-acts button.primary:hover,.v48-fb-row button.primary:hover{background:rgba(111,230,170,.34)}
.v48-acts button.quiet{border-color:rgba(255,107,122,.4);color:#ffc0c7}
.v48-acts button.quiet:hover{background:rgba(255,107,122,.16);border-color:#ff6b7a}

@media (max-width:780px){
  .holo-w.type-notifyHub,.holo-w.type-decisions,.holo-w.type-conflicts27,.holo-w.type-trust27{padding:0 14px 16px;border-radius:14px}
  .holo-w.type-notifyHub .holo-head,.holo-w.type-decisions .holo-head,.holo-w.type-conflicts27 .holo-head,.holo-w.type-trust27 .holo-head{margin:0 -14px 12px;padding:12px 14px 10px;border-radius:14px 14px 0 0}
  .holo-w.type-notifyHub .v27-row{flex-wrap:wrap}
  .holo-w.type-notifyHub .holo-body .v27-row button{min-height:40px}
}
@media (prefers-reduced-motion:reduce){.holo-w.type-notifyHub .holo-body button,.holo-w.type-decisions .holo-body button{transition:none}}

/* ---------- v2.91.35: Benachrichtigungen als eigenes Fenster (stern.js) */
.stf-huelle{--st-rot:#ff6b7a;--st-gelb:#ffd166;--st-gruen:#6fe6aa;--st-blau:#6fd0ff;--st-rand:rgba(140,190,230,.16);
  position:fixed;inset:0;z-index:2147482000;display:flex;align-items:center;justify-content:center;padding:24px 16px;
  background:rgba(3,6,12,.66);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:stf-ein .18s ease-out}
@keyframes stf-ein{from{opacity:0}to{opacity:1}}
.stf-fenster{width:min(1040px,100%);max-height:min(760px,100%);display:flex;flex-direction:column;border-radius:20px;overflow:hidden;
  background:linear-gradient(180deg,#152033,#0a101b);color:#e8f2fb;font:15px/1.45 system-ui,"Segoe UI",sans-serif;
  box-shadow:0 24px 80px rgba(0,0,0,.6),inset 0 0 0 1px var(--st-rand)}
.stf-kopf{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px 14px;border-bottom:1px solid var(--st-rand);
  background:linear-gradient(90deg,rgba(111,208,255,.14),transparent 70%)}
.stf-titel h2{margin:0;font:700 22px system-ui,"Segoe UI",sans-serif;letter-spacing:.01em}
.stf-titel p{margin:2px 0 0;color:#8fb0c6;font-size:13px}
.stf-huelle button{font:600 13px system-ui,"Segoe UI",sans-serif;cursor:pointer}
.stf-zu{flex:none;width:38px;height:38px;border-radius:12px;border:1px solid var(--st-rand);background:rgba(255,255,255,.04);color:#e8f2fb;font-size:16px}
.stf-zu:hover,.stf-zu:focus-visible{background:rgba(255,255,255,.1);outline:none;border-color:var(--st-blau)}
.stf-rumpf{flex:1;min-height:0;display:grid;grid-template-columns:260px 1fr}
.stf-laedt,.stf-fehler{grid-column:1/-1;margin:0;padding:40px;text-align:center;color:#8fb0c6}
.stf-fehler{color:var(--st-rot)}
.stf-kacheln{display:flex;flex-direction:column;gap:10px;padding:16px;border-right:1px solid var(--st-rand);background:rgba(4,8,14,.35);overflow:auto}
.stf-kachel{--c:#5b6773;display:flex;flex-direction:column;gap:4px;padding:12px 14px;text-align:left;border-radius:14px;
  border:1px solid color-mix(in srgb,var(--c) 40%,transparent);background:color-mix(in srgb,var(--c) 7%,rgba(10,16,27,.8));color:#e8f2fb;transition:background .15s,border-color .15s,transform .1s}
.stf-kachel:hover{background:color-mix(in srgb,var(--c) 16%,rgba(10,16,27,.8))}
.stf-kachel:focus-visible{outline:2px solid var(--st-blau);outline-offset:2px}
.stf-kachel.an{border-color:var(--c);background:color-mix(in srgb,var(--c) 22%,rgba(10,16,27,.8));box-shadow:0 0 18px color-mix(in srgb,var(--c) 30%,transparent)}
.stf-kachel.f-rot{--c:var(--st-rot)}.stf-kachel.f-gelb{--c:var(--st-gelb)}.stf-kachel.f-gruen{--c:var(--st-gruen)}.stf-kachel.f-blau{--c:var(--st-blau)}
.stf-kachel-kopf{display:flex;align-items:center;gap:10px}
.stf-kachel-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--c) 22%,transparent);color:#fff;font-size:15px}
.stf-kachel{min-width:0}
.stf-kachel-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 16px system-ui,"Segoe UI",sans-serif}
.stf-zahl{min-width:28px;padding:2px 8px;border-radius:999px;text-align:center;background:color-mix(in srgb,var(--c) 85%,#000);color:#0a101b;font:800 13px/18px system-ui,"Segoe UI",sans-serif}
.stf-kachel.f-ruhig .stf-zahl{background:rgba(255,255,255,.08);color:#8fb0c6}
.stf-kachel.puls .stf-zahl{animation:stf-puls 1.6s ease-in-out infinite}
@keyframes stf-puls{50%{box-shadow:0 0 0 5px color-mix(in srgb,var(--c) 25%,transparent)}}
.stf-kachel-satz{color:#9db6c9;font-size:12.5px;line-height:1.3}
.stf-inhalt{min-width:0;display:flex;flex-direction:column;gap:16px;padding:18px 22px 22px;overflow:auto}
.stf-inhalt-kopf{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px}
.stf-inhalt-titel h3{margin:0;font:700 19px system-ui,"Segoe UI",sans-serif}
.stf-inhalt-titel p{margin:2px 0 0;color:#8fb0c6;font-size:13px}
.stf-werkzeuge{display:flex;flex-wrap:wrap;gap:8px}
.stf-werkzeuge button,.stf-tun{min-height:34px;padding:6px 14px;border-radius:999px;border:1px solid rgba(140,190,230,.32);background:rgba(111,208,255,.08);color:#e6f4ff;transition:background .15s,border-color .15s}
.stf-werkzeuge button:hover,.stf-tun:hover{background:rgba(111,208,255,.2);border-color:var(--st-blau)}
.stf-werkzeuge button:focus-visible,.stf-tun:focus-visible{outline:2px solid var(--st-blau);outline-offset:2px}
.stf-werkzeuge .stf-haupt{border-color:var(--st-gelb);background:rgba(255,209,102,.16);color:#fff3cf}
.stf-werkzeuge .stf-haupt:hover{background:rgba(255,209,102,.3);border-color:var(--st-gelb)}
.stf-gruppe{--c:var(--st-blau);display:flex;flex-direction:column;gap:8px}
.stf-gruppe.s-rot{--c:var(--st-rot)}.stf-gruppe.s-gelb{--c:var(--st-gelb)}.stf-gruppe.s-gruen{--c:var(--st-gruen)}
.stf-gruppe h4{margin:0;color:var(--c);font:700 12px system-ui,"Segoe UI",sans-serif;letter-spacing:.08em;text-transform:uppercase}
.stf-karte{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:12px;border:1px solid var(--st-rand);border-left:4px solid var(--c);background:rgba(8,13,22,.6)}
.stf-karte-text{flex:1;min-width:0}
.stf-karte-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:3px;font-size:12px;color:#8fb0c6}
.stf-marke{padding:1px 8px;border-radius:999px;background:color-mix(in srgb,var(--c) 18%,transparent);color:var(--c);font-weight:700}
.stf-von{color:#cfe2f0;font-weight:600}
.stf-satz{margin:0;color:#eef5fb;overflow-wrap:anywhere}
.stf-tun{flex:none;border-color:color-mix(in srgb,var(--c) 70%,transparent);background:color-mix(in srgb,var(--c) 14%,transparent)}
.stf-tun:hover{background:color-mix(in srgb,var(--c) 30%,transparent);border-color:var(--c)}
.stf-leer{display:flex;flex-direction:column;align-items:center;gap:8px;margin:auto;padding:40px 16px;color:#8fb0c6;text-align:center}
.stf-leer p{margin:0}
.stf-leer-haken{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:rgba(111,230,170,.12);color:var(--st-gruen);font-size:24px}
@media (max-width:720px){
  .stf-huelle{padding:0;align-items:stretch}
  .stf-fenster{max-height:none;border-radius:0}
  .stf-rumpf{grid-template-columns:1fr;grid-template-rows:auto 1fr}
  .stf-kacheln{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-right:0;border-bottom:1px solid var(--st-rand);padding:12px}
  .stf-kachel-satz{display:none}
  .stf-kachel{padding:10px}
  .stf-kachel-kopf{gap:7px}
  .stf-kachel-icon{width:24px;height:24px;font-size:13px}
  .stf-kachel-name{font-size:14.5px}
  .stf-zahl{min-width:22px;padding:1px 6px}
  .stf-karte{flex-direction:column;align-items:stretch}
  .stf-tun{align-self:flex-start}
}
@media (prefers-reduced-motion:reduce){.stf-huelle,.stf-kachel.puls .stf-zahl{animation:none}}
